@secondstaxorg/sscomp 1.1.6 → 1.1.8
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/dist/index.es.js +445 -187
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1097 -488
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +441 -183
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/DateRangePicker/DateRangePicker.d.ts +4 -0
- package/types/components/DisplayField/DisplayField.d.ts +4 -0
- package/types/components/index.d.ts +3 -2
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,n={},r={};function o(){if(i)return r;i=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,g={};function b(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||m}function _(){}function C(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||m}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var v=C.prototype=new _;v.constructor=C,p(v,b.prototype),v.isPureReactComponent=!0;var x=Array.isArray,N=Object.prototype.hasOwnProperty,w={current:null},y={key:!0,ref:!0,__self:!0,__source:!0};function E(t,i,n){var r,o={},s=null,l=null;if(null!=i)for(r in void 0!==i.ref&&(l=i.ref),void 0!==i.key&&(s=""+i.key),i)N.call(i,r)&&!y.hasOwnProperty(r)&&(o[r]=i[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var c=Array(a),d=0;d<a;d++)c[d]=arguments[d+2];o.children=c}if(t&&t.defaultProps)for(r in a=t.defaultProps)void 0===o[r]&&(o[r]=a[r]);return{$$typeof:e,type:t,key:s,ref:l,props:o,_owner:w.current}}function A(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var D=/\/+/g;function k(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 M(i,n,r,o,s){var l=typeof i;"undefined"!==l&&"boolean"!==l||(i=null);var a=!1;if(null===i)a=!0;else switch(l){case"string":case"number":a=!0;break;case"object":switch(i.$$typeof){case e:case t:a=!0}}if(a)return s=s(a=i),i=""===o?"."+k(a,0):o,x(s)?(r="",null!=i&&(r=i.replace(D,"$&/")+"/"),M(s,n,r,"",(function(e){return e}))):null!=s&&(A(s)&&(s=function(t,i){return{$$typeof:e,type:t.type,key:i,ref:t.ref,props:t.props,_owner:t._owner}}(s,r+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(D,"$&/")+"/")+i)),n.push(s)),1;if(a=0,o=""===o?".":o+":",x(i))for(var c=0;c<i.length;c++){var d=o+k(l=i[c],c);a+=M(l,n,r,d,s)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(i),"function"==typeof d)for(i=d.call(i),c=0;!(l=i.next()).done;)a+=M(l=l.value,n,r,d=o+k(l,c++),s);else if("object"===l)throw n=String(i),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(i).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return a}function B(e,t,i){if(null==e)return e;var n=[],r=0;return M(e,n,"","",(function(e){return t.call(i,e,r++)})),n}function P(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 H={current:null},L={transition:null},O={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:L,ReactCurrentOwner:w};return r.Children={map:B,forEach:function(e,t,i){B(e,(function(){t.apply(this,arguments)}),i)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=b,r.Fragment=n,r.Profiler=s,r.PureComponent=C,r.StrictMode=o,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,r.cloneElement=function(t,i,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var r=p({},t.props),o=t.key,s=t.ref,l=t._owner;if(null!=i){if(void 0!==i.ref&&(s=i.ref,l=w.current),void 0!==i.key&&(o=""+i.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(c in i)N.call(i,c)&&!y.hasOwnProperty(c)&&(r[c]=void 0===i[c]&&void 0!==a?a[c]:i[c])}var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){a=Array(c);for(var d=0;d<c;d++)a[d]=arguments[d+2];r.children=a}return{$$typeof:e,type:t.type,key:o,ref:s,props:r,_owner:l}},r.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},r.createElement=E,r.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:c,render:e}},r.isValidElement=A,r.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},r.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.useCallback=function(e,t){return H.current.useCallback(e,t)},r.useContext=function(e){return H.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return H.current.useDeferredValue(e)},r.useEffect=function(e,t){return H.current.useEffect(e,t)},r.useId=function(){return H.current.useId()},r.useImperativeHandle=function(e,t,i){return H.current.useImperativeHandle(e,t,i)},r.useInsertionEffect=function(e,t){return H.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return H.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return H.current.useMemo(e,t)},r.useReducer=function(e,t,i){return H.current.useReducer(e,t,i)},r.useRef=function(e){return H.current.useRef(e)},r.useState=function(e){return H.current.useState(e)},r.useSyncExternalStore=function(e,t,i){return H.current.useSyncExternalStore(e,t,i)},r.useTransition=function(){return H.current.useTransition()},r.version="18.2.0",r}var s,l,a={},c={get exports(){return a},set exports(e){a=e}};function d(){return s||(s=1,e=c,t=a,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),p=Symbol.iterator,g="@@iterator";function b(e){if(null===e||"object"!=typeof e)return null;var t=p&&e[p]||e[g];return"function"==typeof t?t:null}var _={current:null},C={transition:null},v={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},x={current:null},N={},w=null;function y(e){w=e}N.setExtraStackFrame=function(e){w=e},N.getCurrentStack=null,N.getStackAddendum=function(){var e="";w&&(e+=w);var t=N.getCurrentStack;return t&&(e+=t()||""),e};var E=!1,A=!1,D=!1,k=!1,M=!1,B={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:C,ReactCurrentOwner:x};function P(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];L("warn",e,i)}function H(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];L("error",e,i)}function L(e,t,i){var n=B.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",i=i.concat([n]));var r=i.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}B.ReactDebugCurrentFrame=N,B.ReactCurrentActQueue=v;var O={};function I(e,t){var i=e.constructor,n=i&&(i.displayName||i.name)||"ReactClass",r=n+"."+t;O[r]||(H("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),O[r]=!0)}var S={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,i){I(e,"forceUpdate")},enqueueReplaceState:function(e,t,i,n){I(e,"replaceState")},enqueueSetState:function(e,t,i,n){I(e,"setState")}},R=Object.assign,F={};function Q(e,t,i){this.props=e,this.context=t,this.refs=F,this.updater=i||S}Object.freeze(F),Q.prototype.isReactComponent={},Q.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new 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")},Q.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var z={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},j=function(e,t){Object.defineProperty(Q.prototype,e,{get:function(){P("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var V in z)z.hasOwnProperty(V)&&j(V,z[V]);function T(){}function Y(e,t,i){this.props=e,this.context=t,this.refs=F,this.updater=i||S}T.prototype=Q.prototype;var X=Y.prototype=new T;X.constructor=Y,R(X,Q.prototype),X.isPureReactComponent=!0;var W=Array.isArray;function Z(e){return W(e)}function G(e){return""+e}function U(e){if(function(e){try{return G(e),!1}catch(e){return!0}}(e))return H("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),G(e)}function K(e){return e.displayName||"Context"}function J(e){if(null==e)return null;if("number"==typeof e.tag&&H("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case a:return K(e)+".Consumer";case l:return K(e._context)+".Provider";case c:return function(e,t,i){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?i+"("+r+")":i}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:J(e.type)||"Memo";case h:var i=e,m=i._payload,p=i._init;try{return J(p(m))}catch(e){return null}}return null}var q,$,ee,te=Object.prototype.hasOwnProperty,ie={key:!0,ref:!0,__self:!0,__source:!0};function ne(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function re(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var oe=function(e,t,n,r,o,s,l){var a={$$typeof:i,type:e,key:t,ref:n,props:l,_owner:s,_store:{}};return Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function se(e,t,i){var n,r={},o=null,s=null,l=null,a=null;if(null!=t)for(n in ne(t)&&(s=t.ref,function(e){if("string"==typeof e.ref&&x.current&&e.__self&&x.current.stateNode!==e.__self){var t=J(x.current.type);ee[t]||(H('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),ee[t]=!0)}}(t)),re(t)&&(U(t.key),o=""+t.key),l=void 0===t.__self?null:t.__self,a=void 0===t.__source?null:t.__source,t)te.call(t,n)&&!ie.hasOwnProperty(n)&&(r[n]=t[n]);var c=arguments.length-2;if(1===c)r.children=i;else if(c>1){for(var d=Array(c),u=0;u<c;u++)d[u]=arguments[u+2];Object.freeze&&Object.freeze(d),r.children=d}if(e&&e.defaultProps){var f=e.defaultProps;for(n in f)void 0===r[n]&&(r[n]=f[n])}if(o||s){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;o&&function(e,t){var i=function(){q||(q=!0,H("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}(r,h),s&&function(e,t){var i=function(){$||($=!0,H("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};i.isReactWarning=!0,Object.defineProperty(e,"ref",{get:i,configurable:!0})}(r,h)}return oe(e,o,s,l,a,x.current,r)}function le(e,t,i){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n,r,o=R({},e.props),s=e.key,l=e.ref,a=e._self,c=e._source,d=e._owner;if(null!=t)for(n in ne(t)&&(l=t.ref,d=x.current),re(t)&&(U(t.key),s=""+t.key),e.type&&e.type.defaultProps&&(r=e.type.defaultProps),t)te.call(t,n)&&!ie.hasOwnProperty(n)&&(void 0===t[n]&&void 0!==r?o[n]=r[n]:o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=i;else if(u>1){for(var f=Array(u),h=0;h<u;h++)f[h]=arguments[h+2];o.children=f}return oe(e.type,s,l,a,c,d,o)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var ce=".",de=":",ue=!1,fe=/\/+/g;function he(e){return e.replace(fe,"$&/")}function me(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(U(e.key),i=""+e.key,n={"=":"=0",":":"=2"},"$"+i.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var i,n}function pe(e,t,r,o,s){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var a,c,d,u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case n:u=!0}}if(u){var f=e,h=s(f),m=""===o?ce+me(f,0):o;if(Z(h)){var p="";null!=m&&(p=he(m)+"/"),pe(h,t,p,"",(function(e){return e}))}else null!=h&&(ae(h)&&(!h.key||f&&f.key===h.key||U(h.key),a=h,c=r+(!h.key||f&&f.key===h.key?"":he(""+h.key)+"/")+m,h=oe(a.type,c,a.ref,a._self,a._source,a._owner,a.props)),t.push(h));return 1}var g=0,_=""===o?ce:o+de;if(Z(e))for(var C=0;C<e.length;C++)g+=pe(d=e[C],t,r,_+me(d,C),s);else{var v=b(e);if("function"==typeof v){var x=e;v===x.entries&&(ue||P("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ue=!0);for(var N,w=v.call(x),y=0;!(N=w.next()).done;)g+=pe(d=N.value,t,r,_+me(d,y++),s)}else if("object"===l){var E=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}}return g}function ge(e,t,i){if(null==e)return e;var n=[],r=0;return pe(e,n,"","",(function(e){return t.call(i,e,r++)})),n}var be,_e=-1,Ce=0,ve=1,xe=2;function Ne(e){if(e._status===_e){var t=(0,e._result)();if(t.then((function(t){if(e._status===Ce||e._status===_e){var i=e;i._status=ve,i._result=t}}),(function(t){if(e._status===Ce||e._status===_e){var i=e;i._status=xe,i._result=t}})),e._status===_e){var i=e;i._status=Ce,i._result=t}}if(e._status===ve){var n=e._result;return void 0===n&&H("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",n),"default"in n||H("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",n),n.default}throw e._result}function we(e){return"string"==typeof e||"function"==typeof e||!!(e===r||e===s||M||e===o||e===d||e===u||k||e===m||E||A||D)||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===a||e.$$typeof===c||e.$$typeof===be||void 0!==e.getModuleId)}function ye(){var e=_.current;return null===e&&H("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}be=Symbol.for("react.module.reference");var Ee,Ae,De,ke,Me,Be,Pe,He=0;function Le(){}Le.__reactDisabledLog=!0;var Oe,Ie=B.ReactCurrentDispatcher;function Se(e,t,i){if(void 0===Oe)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);Oe=n&&n[1]||""}return"\n"+Oe+e}var Re,Fe=!1,Qe="function"==typeof WeakMap?WeakMap:Map;function ze(e,t){if(!e||Fe)return"";var i,n=Re.get(e);if(void 0!==n)return n;Fe=!0;var r,o=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=Ie.current,Ie.current=null,function(){if(0===He){Ee=console.log,Ae=console.info,De=console.warn,ke=console.error,Me=console.group,Be=console.groupCollapsed,Pe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}He++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){i=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){i=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){i=e}e()}}catch(t){if(t&&i&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),a=i.stack.split("\n"),c=l.length-1,d=a.length-1;c>=1&&d>=0&&l[c]!==a[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==a[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==a[d]){var u="\n"+l[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&Re.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{Fe=!1,Ie.current=r,function(){if(0==--He){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:Ee}),info:R({},e,{value:Ae}),warn:R({},e,{value:De}),error:R({},e,{value:ke}),group:R({},e,{value:Me}),groupCollapsed:R({},e,{value:Be}),groupEnd:R({},e,{value:Pe})})}He<0&&H("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var f=e?e.displayName||e.name:"",h=f?Se(f):"";return"function"==typeof e&&Re.set(e,h),h}function je(e,t,i){if(null==e)return"";if("function"==typeof e)return ze(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Se(e);switch(e){case d:return Se("Suspense");case u:return Se("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return ze(e.render,!1);case f:return je(e.type,t,i);case h:var n=e,r=n._payload,o=n._init;try{return je(o(r),t,i)}catch(e){}}return""}Re=new Qe;var Ve,Te={},Ye=B.ReactDebugCurrentFrame;function Xe(e){if(e){var t=e._owner,i=je(e.type,e._source,t?t.type:null);Ye.setExtraStackFrame(i)}else Ye.setExtraStackFrame(null)}function We(e){if(e){var t=e._owner;y(je(e.type,e._source,t?t.type:null))}else y(null)}function Ze(){if(x.current){var e=J(x.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Ve=!1;var Ge={};function Ue(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var i=function(e){var t=Ze();if(!t){var i="string"==typeof e?e:e.displayName||e.name;i&&(t="\n\nCheck the top-level render call using <"+i+">.")}return t}(t);if(!Ge[i]){Ge[i]=!0;var n="";e&&e._owner&&e._owner!==x.current&&(n=" It was passed a child from "+J(e._owner.type)+"."),We(e),H('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,n),We(null)}}}function Ke(e,t){if("object"==typeof e)if(Z(e))for(var i=0;i<e.length;i++){var n=e[i];ae(n)&&Ue(n,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var r=b(e);if("function"==typeof r&&r!==e.entries)for(var o,s=r.call(e);!(o=s.next()).done;)ae(o.value)&&Ue(o.value,t)}}function Je(e){var t,i=e.type;if(null!=i&&"string"!=typeof i){if("function"==typeof i)t=i.propTypes;else{if("object"!=typeof i||i.$$typeof!==c&&i.$$typeof!==f)return;t=i.propTypes}if(t){var n=J(i);!function(e,t,i,n,r){var o=Function.call.bind(te);for(var s in e)if(o(e,s)){var l=void 0;try{if("function"!=typeof e[s]){var a=Error((n||"React class")+": "+i+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw a.name="Invariant Violation",a}l=e[s](t,s,n,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(Xe(r),H("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",i,s,typeof l),Xe(null)),l instanceof Error&&!(l.message in Te)&&(Te[l.message]=!0,Xe(r),H("Failed %s type: %s",i,l.message),Xe(null))}}(t,e.props,"prop",n,e)}else void 0===i.PropTypes||Ve||(Ve=!0,H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J(i)||"Unknown"));"function"!=typeof i.getDefaultProps||i.getDefaultProps.isReactClassApproved||H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qe(e,t,n){var o,s,l=we(e);if(!l){var a="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c,d=null!=(o=t)&&void 0!==(s=o.__source)?"\n\nCheck your code at "+s.fileName.replace(/^.*[\\\/]/,"")+":"+s.lineNumber+".":"";a+=d||Ze(),null===e?c="null":Z(e)?c="array":void 0!==e&&e.$$typeof===i?(c="<"+(J(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,H("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,a)}var u=se.apply(this,arguments);if(null==u)return u;if(l)for(var f=2;f<arguments.length;f++)Ke(arguments[f],e);return e===r?function(e){for(var t=Object.keys(e.props),i=0;i<t.length;i++){var n=t[i];if("children"!==n&&"key"!==n){We(e),H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),We(null);break}}null!==e.ref&&(We(e),H("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}(u):Je(u),u}var $e=!1,et=!1,tt=null,it=0,nt=!1;function rt(e){e!==it-1&&H("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),it=e}function ot(t,i,n){var r=v.current;if(null!==r)try{lt(r),function(t){if(null===tt)try{var i=("require"+Math.random()).slice(0,7),n=e&&e[i];tt=n.call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&H("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}tt(t)}((function(){0===r.length?(v.current=null,i(t)):ot(t,i,n)}))}catch(e){n(e)}else i(t)}var st=!1;function lt(e){if(!st){st=!0;var t=0;try{for(;t<e.length;t++){var i=e[t];do{i=i(!0)}while(null!==i)}e.length=0}catch(i){throw e=e.slice(t+1),i}finally{st=!1}}}var at=qe,ct=function(e,t,i){for(var n=le.apply(this,arguments),r=2;r<arguments.length;r++)Ke(arguments[r],n.type);return Je(n),n},dt=function(e){var t=qe.bind(null,e);return t.type=e,$e||($e=!0,P("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return P("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ut={map:ge,forEach:function(e,t,i){ge(e,(function(){t.apply(this,arguments)}),i)},count:function(e){var t=0;return ge(e,(function(){t++})),t},toArray:function(e){return ge(e,(function(e){return e}))||[]},only:function(e){if(!ae(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ut,t.Component=Q,t.Fragment=r,t.Profiler=s,t.PureComponent=Y,t.StrictMode=o,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=ct,t.createContext=function(e){var t={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:l,_context:t};var i=!1,n=!1,r=!1,o={$$typeof:a,_context:t};return Object.defineProperties(o,{Provider:{get:function(){return n||(n=!0,H("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return i||(i=!0,H("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){r||(P("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),r=!0)}}}),t.Consumer=o,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=at,t.createFactory=dt,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===f?H("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?H("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&H("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||H("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,i={$$typeof:c,render:e};return Object.defineProperty(i,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(i){t=i,e.name||e.displayName||(e.displayName=i)}}),i},t.isValidElement=ae,t.lazy=function(e){var t,i,n={$$typeof:h,_payload:{_status:_e,_result:e},_init:Ne};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){H("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return i},set:function(e){H("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),i=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},t.memo=function(e,t){we(e)||H("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var i,n={$$typeof:f,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return i},set:function(t){i=t,e.name||e.displayName||(e.displayName=t)}}),n},t.startTransition=function(e,t){var i=C.transition;C.transition={};var n=C.transition;C.transition._updatedFibers=new Set;try{e()}finally{C.transition=i,null===i&&n._updatedFibers&&(n._updatedFibers.size>10&&P("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),n._updatedFibers.clear())}},t.unstable_act=function(e){var t=it;it++,null===v.current&&(v.current=[]);var i,n=v.isBatchingLegacy;try{if(v.isBatchingLegacy=!0,i=e(),!n&&v.didScheduleLegacyUpdate){var r=v.current;null!==r&&(v.didScheduleLegacyUpdate=!1,lt(r))}}catch(e){throw rt(t),e}finally{v.isBatchingLegacy=n}if(null!==i&&"object"==typeof i&&"function"==typeof i.then){var o=i,s=!1,l={then:function(e,i){s=!0,o.then((function(n){rt(t),0===it?ot(n,e,i):e(n)}),(function(e){rt(t),i(e)}))}};return nt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){s||(nt=!0,H("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),l}var a=i;if(rt(t),0===it){var c=v.current;null!==c&&(lt(c),v.current=null);var d={then:function(e,t){null===v.current?(v.current=[],ot(a,e,t)):e(a)}};return d}var u={then:function(e,t){e(a)}};return u},t.useCallback=function(e,t){return ye().useCallback(e,t)},t.useContext=function(e){var t=ye();if(void 0!==e._context){var i=e._context;i.Consumer===e?H("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):i.Provider===e&&H("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return ye().useDebugValue(e,t)},t.useDeferredValue=function(e){return ye().useDeferredValue(e)},t.useEffect=function(e,t){return ye().useEffect(e,t)},t.useId=function(){return ye().useId()},t.useImperativeHandle=function(e,t,i){return ye().useImperativeHandle(e,t,i)},t.useInsertionEffect=function(e,t){return ye().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return ye().useLayoutEffect(e,t)},t.useMemo=function(e,t){return ye().useMemo(e,t)},t.useReducer=function(e,t,i){return ye().useReducer(e,t,i)},t.useRef=function(e){return ye().useRef(e)},t.useState=function(e){return ye().useState(e)},t.useSyncExternalStore=function(e,t,i){return ye().useSyncExternalStore(e,t,i)},t.useTransition=function(){return ye().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),a;var e,t}l={get exports(){return n},set exports(e){n=e}},"production"===process.env.NODE_ENV?l.exports=o():l.exports=d();var u=t(n);const f={white:"#FFFFFF",black:"#000000","black-100":"#09101D","neutral-50":"#F7F9FC","neutral-100":"#E8EEF7","neutral-200":"#D2DDEE","neutral-300":"#BBCCE6","neutral-400":"#A4BBDD","neutral-500":"#365B91","neutral-600":"#29446D","neutral-700":"#1B2D49","neutral-800":"#0E1724","neutral-900":"#070B12","primary-50":"#F5F5FE","primary-100":"#E2E2FD","primary-200":"#C6C6FB","primary-300":"#A9A9F9","primary-400":"#8C8CF7","primary-500":"#4040F2","primary-600":"#0F0FD7","primary-700":"#0A0A8F","primary-800":"#050548","primary-900":"#020224","success-50":"#F0FFF7","success-100":"#D1FEE8","success-200":"#A3FCD1","success-300":"#74FBBA","success-400":"#46F9A3","success-500":"#06BA63","success-600":"#058B4A","success-700":"#035D32","success-800":"#022F19","success-900":"#01170C","warning-50":"#FFFAF2","warning-100":"#FFEFD8","warning-200":"#FFE0B0","warning-300":"#FFD089","warning-400":"#FFC062","warning-500":"#F89500","warning-600":"#BA7000","warning-700":"#7C4A00","warning-800":"#3E2500","warning-900":"#1F1300","error-50":"#FFF2F2","error-100":"#FFD8D8","error-200":"#FFB0B0","error-300":"#FF8989","error-400":"#FF6262","error-500":"#F80000","error-600":"#BA0000","error-700":"#7C0000","error-800":"#3E0000","error-900":"#1F0000"},h=e.button`
|
|
1
|
+
import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var i,n={},r={};function o(){if(i)return r;i=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,g={};function b(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||m}function _(){}function C(e,t,i){this.props=e,this.context=t,this.refs=g,this.updater=i||m}b.prototype.isReactComponent={},b.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")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=b.prototype;var v=C.prototype=new _;v.constructor=C,p(v,b.prototype),v.isPureReactComponent=!0;var x=Array.isArray,N=Object.prototype.hasOwnProperty,w={current:null},y={key:!0,ref:!0,__self:!0,__source:!0};function E(t,i,n){var r,o={},s=null,l=null;if(null!=i)for(r in void 0!==i.ref&&(l=i.ref),void 0!==i.key&&(s=""+i.key),i)N.call(i,r)&&!y.hasOwnProperty(r)&&(o[r]=i[r]);var a=arguments.length-2;if(1===a)o.children=n;else if(1<a){for(var c=Array(a),d=0;d<a;d++)c[d]=arguments[d+2];o.children=c}if(t&&t.defaultProps)for(r in a=t.defaultProps)void 0===o[r]&&(o[r]=a[r]);return{$$typeof:e,type:t,key:s,ref:l,props:o,_owner:w.current}}function A(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var D=/\/+/g;function k(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 M(i,n,r,o,s){var l=typeof i;"undefined"!==l&&"boolean"!==l||(i=null);var a=!1;if(null===i)a=!0;else switch(l){case"string":case"number":a=!0;break;case"object":switch(i.$$typeof){case e:case t:a=!0}}if(a)return s=s(a=i),i=""===o?"."+k(a,0):o,x(s)?(r="",null!=i&&(r=i.replace(D,"$&/")+"/"),M(s,n,r,"",(function(e){return e}))):null!=s&&(A(s)&&(s=function(t,i){return{$$typeof:e,type:t.type,key:i,ref:t.ref,props:t.props,_owner:t._owner}}(s,r+(!s.key||a&&a.key===s.key?"":(""+s.key).replace(D,"$&/")+"/")+i)),n.push(s)),1;if(a=0,o=""===o?".":o+":",x(i))for(var c=0;c<i.length;c++){var d=o+k(l=i[c],c);a+=M(l,n,r,d,s)}else if(d=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(i),"function"==typeof d)for(i=d.call(i),c=0;!(l=i.next()).done;)a+=M(l=l.value,n,r,d=o+k(l,c++),s);else if("object"===l)throw n=String(i),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(i).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return a}function B(e,t,i){if(null==e)return e;var n=[],r=0;return M(e,n,"","",(function(e){return t.call(i,e,r++)})),n}function P(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 H={current:null},L={transition:null},O={ReactCurrentDispatcher:H,ReactCurrentBatchConfig:L,ReactCurrentOwner:w};return r.Children={map:B,forEach:function(e,t,i){B(e,(function(){t.apply(this,arguments)}),i)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=b,r.Fragment=n,r.Profiler=s,r.PureComponent=C,r.StrictMode=o,r.Suspense=d,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=O,r.cloneElement=function(t,i,n){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var r=p({},t.props),o=t.key,s=t.ref,l=t._owner;if(null!=i){if(void 0!==i.ref&&(s=i.ref,l=w.current),void 0!==i.key&&(o=""+i.key),t.type&&t.type.defaultProps)var a=t.type.defaultProps;for(c in i)N.call(i,c)&&!y.hasOwnProperty(c)&&(r[c]=void 0===i[c]&&void 0!==a?a[c]:i[c])}var c=arguments.length-2;if(1===c)r.children=n;else if(1<c){a=Array(c);for(var d=0;d<c;d++)a[d]=arguments[d+2];r.children=a}return{$$typeof:e,type:t.type,key:o,ref:s,props:r,_owner:l}},r.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},r.createElement=E,r.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:c,render:e}},r.isValidElement=A,r.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},r.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},r.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.useCallback=function(e,t){return H.current.useCallback(e,t)},r.useContext=function(e){return H.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return H.current.useDeferredValue(e)},r.useEffect=function(e,t){return H.current.useEffect(e,t)},r.useId=function(){return H.current.useId()},r.useImperativeHandle=function(e,t,i){return H.current.useImperativeHandle(e,t,i)},r.useInsertionEffect=function(e,t){return H.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return H.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return H.current.useMemo(e,t)},r.useReducer=function(e,t,i){return H.current.useReducer(e,t,i)},r.useRef=function(e){return H.current.useRef(e)},r.useState=function(e){return H.current.useState(e)},r.useSyncExternalStore=function(e,t,i){return H.current.useSyncExternalStore(e,t,i)},r.useTransition=function(){return H.current.useTransition()},r.version="18.2.0",r}var s,l,a={},c={get exports(){return a},set exports(e){a=e}};function d(){return s||(s=1,e=c,t=a,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var i=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),p=Symbol.iterator,g="@@iterator";function b(e){if(null===e||"object"!=typeof e)return null;var t=p&&e[p]||e[g];return"function"==typeof t?t:null}var _={current:null},C={transition:null},v={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},x={current:null},N={},w=null;function y(e){w=e}N.setExtraStackFrame=function(e){w=e},N.getCurrentStack=null,N.getStackAddendum=function(){var e="";w&&(e+=w);var t=N.getCurrentStack;return t&&(e+=t()||""),e};var E=!1,A=!1,D=!1,k=!1,M=!1,B={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:C,ReactCurrentOwner:x};function P(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];L("warn",e,i)}function H(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];L("error",e,i)}function L(e,t,i){var n=B.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",i=i.concat([n]));var r=i.map((function(e){return String(e)}));r.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,r)}B.ReactDebugCurrentFrame=N,B.ReactCurrentActQueue=v;var O={};function S(e,t){var i=e.constructor,n=i&&(i.displayName||i.name)||"ReactClass",r=n+"."+t;O[r]||(H("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),O[r]=!0)}var I={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,i){S(e,"forceUpdate")},enqueueReplaceState:function(e,t,i,n){S(e,"replaceState")},enqueueSetState:function(e,t,i,n){S(e,"setState")}},R=Object.assign,F={};function z(e,t,i){this.props=e,this.context=t,this.refs=F,this.updater=i||I}Object.freeze(F),z.prototype.isReactComponent={},z.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new 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")},z.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Q={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},j=function(e,t){Object.defineProperty(z.prototype,e,{get:function(){P("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var V in Q)Q.hasOwnProperty(V)&&j(V,Q[V]);function T(){}function Y(e,t,i){this.props=e,this.context=t,this.refs=F,this.updater=i||I}T.prototype=z.prototype;var X=Y.prototype=new T;X.constructor=Y,R(X,z.prototype),X.isPureReactComponent=!0;var W=Array.isArray;function Z(e){return W(e)}function G(e){return""+e}function U(e){if(function(e){try{return G(e),!1}catch(e){return!0}}(e))return H("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),G(e)}function K(e){return e.displayName||"Context"}function J(e){if(null==e)return null;if("number"==typeof e.tag&&H("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case r:return"Fragment";case n:return"Portal";case s:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case a:return K(e)+".Consumer";case l:return K(e._context)+".Provider";case c:return function(e,t,i){var n=e.displayName;if(n)return n;var r=t.displayName||t.name||"";return""!==r?i+"("+r+")":i}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:J(e.type)||"Memo";case h:var i=e,m=i._payload,p=i._init;try{return J(p(m))}catch(e){return null}}return null}var q,$,ee,te=Object.prototype.hasOwnProperty,ie={key:!0,ref:!0,__self:!0,__source:!0};function ne(e){if(te.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function re(e){if(te.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}ee={};var oe=function(e,t,n,r,o,s,l){var a={$$typeof:i,type:e,key:t,ref:n,props:l,_owner:s,_store:{}};return Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function se(e,t,i){var n,r={},o=null,s=null,l=null,a=null;if(null!=t)for(n in ne(t)&&(s=t.ref,function(e){if("string"==typeof e.ref&&x.current&&e.__self&&x.current.stateNode!==e.__self){var t=J(x.current.type);ee[t]||(H('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),ee[t]=!0)}}(t)),re(t)&&(U(t.key),o=""+t.key),l=void 0===t.__self?null:t.__self,a=void 0===t.__source?null:t.__source,t)te.call(t,n)&&!ie.hasOwnProperty(n)&&(r[n]=t[n]);var c=arguments.length-2;if(1===c)r.children=i;else if(c>1){for(var d=Array(c),u=0;u<c;u++)d[u]=arguments[u+2];Object.freeze&&Object.freeze(d),r.children=d}if(e&&e.defaultProps){var f=e.defaultProps;for(n in f)void 0===r[n]&&(r[n]=f[n])}if(o||s){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;o&&function(e,t){var i=function(){q||(q=!0,H("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};i.isReactWarning=!0,Object.defineProperty(e,"key",{get:i,configurable:!0})}(r,h),s&&function(e,t){var i=function(){$||($=!0,H("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};i.isReactWarning=!0,Object.defineProperty(e,"ref",{get:i,configurable:!0})}(r,h)}return oe(e,o,s,l,a,x.current,r)}function le(e,t,i){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n,r,o=R({},e.props),s=e.key,l=e.ref,a=e._self,c=e._source,d=e._owner;if(null!=t)for(n in ne(t)&&(l=t.ref,d=x.current),re(t)&&(U(t.key),s=""+t.key),e.type&&e.type.defaultProps&&(r=e.type.defaultProps),t)te.call(t,n)&&!ie.hasOwnProperty(n)&&(void 0===t[n]&&void 0!==r?o[n]=r[n]:o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=i;else if(u>1){for(var f=Array(u),h=0;h<u;h++)f[h]=arguments[h+2];o.children=f}return oe(e.type,s,l,a,c,d,o)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var ce=".",de=":",ue=!1,fe=/\/+/g;function he(e){return e.replace(fe,"$&/")}function me(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(U(e.key),i=""+e.key,n={"=":"=0",":":"=2"},"$"+i.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var i,n}function pe(e,t,r,o,s){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var a,c,d,u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case i:case n:u=!0}}if(u){var f=e,h=s(f),m=""===o?ce+me(f,0):o;if(Z(h)){var p="";null!=m&&(p=he(m)+"/"),pe(h,t,p,"",(function(e){return e}))}else null!=h&&(ae(h)&&(!h.key||f&&f.key===h.key||U(h.key),a=h,c=r+(!h.key||f&&f.key===h.key?"":he(""+h.key)+"/")+m,h=oe(a.type,c,a.ref,a._self,a._source,a._owner,a.props)),t.push(h));return 1}var g=0,_=""===o?ce:o+de;if(Z(e))for(var C=0;C<e.length;C++)g+=pe(d=e[C],t,r,_+me(d,C),s);else{var v=b(e);if("function"==typeof v){var x=e;v===x.entries&&(ue||P("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ue=!0);for(var N,w=v.call(x),y=0;!(N=w.next()).done;)g+=pe(d=N.value,t,r,_+me(d,y++),s)}else if("object"===l){var E=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}}return g}function ge(e,t,i){if(null==e)return e;var n=[],r=0;return pe(e,n,"","",(function(e){return t.call(i,e,r++)})),n}var be,_e=-1,Ce=0,ve=1,xe=2;function Ne(e){if(e._status===_e){var t=(0,e._result)();if(t.then((function(t){if(e._status===Ce||e._status===_e){var i=e;i._status=ve,i._result=t}}),(function(t){if(e._status===Ce||e._status===_e){var i=e;i._status=xe,i._result=t}})),e._status===_e){var i=e;i._status=Ce,i._result=t}}if(e._status===ve){var n=e._result;return void 0===n&&H("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",n),"default"in n||H("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",n),n.default}throw e._result}function we(e){return"string"==typeof e||"function"==typeof e||!!(e===r||e===s||M||e===o||e===d||e===u||k||e===m||E||A||D)||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===a||e.$$typeof===c||e.$$typeof===be||void 0!==e.getModuleId)}function ye(){var e=_.current;return null===e&&H("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}be=Symbol.for("react.module.reference");var Ee,Ae,De,ke,Me,Be,Pe,He=0;function Le(){}Le.__reactDisabledLog=!0;var Oe,Se=B.ReactCurrentDispatcher;function Ie(e,t,i){if(void 0===Oe)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);Oe=n&&n[1]||""}return"\n"+Oe+e}var Re,Fe=!1,ze="function"==typeof WeakMap?WeakMap:Map;function Qe(e,t){if(!e||Fe)return"";var i,n=Re.get(e);if(void 0!==n)return n;Fe=!0;var r,o=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=Se.current,Se.current=null,function(){if(0===He){Ee=console.log,Ae=console.info,De=console.warn,ke=console.error,Me=console.group,Be=console.groupCollapsed,Pe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}He++}();try{if(t){var s=function(){throw Error()};if(Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(s,[])}catch(e){i=e}Reflect.construct(e,[],s)}else{try{s.call()}catch(e){i=e}e.call(s.prototype)}}else{try{throw Error()}catch(e){i=e}e()}}catch(t){if(t&&i&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),a=i.stack.split("\n"),c=l.length-1,d=a.length-1;c>=1&&d>=0&&l[c]!==a[d];)d--;for(;c>=1&&d>=0;c--,d--)if(l[c]!==a[d]){if(1!==c||1!==d)do{if(c--,--d<0||l[c]!==a[d]){var u="\n"+l[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&Re.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{Fe=!1,Se.current=r,function(){if(0==--He){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:Ee}),info:R({},e,{value:Ae}),warn:R({},e,{value:De}),error:R({},e,{value:ke}),group:R({},e,{value:Me}),groupCollapsed:R({},e,{value:Be}),groupEnd:R({},e,{value:Pe})})}He<0&&H("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var f=e?e.displayName||e.name:"",h=f?Ie(f):"";return"function"==typeof e&&Re.set(e,h),h}function je(e,t,i){if(null==e)return"";if("function"==typeof e)return Qe(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ie(e);switch(e){case d:return Ie("Suspense");case u:return Ie("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return Qe(e.render,!1);case f:return je(e.type,t,i);case h:var n=e,r=n._payload,o=n._init;try{return je(o(r),t,i)}catch(e){}}return""}Re=new ze;var Ve,Te={},Ye=B.ReactDebugCurrentFrame;function Xe(e){if(e){var t=e._owner,i=je(e.type,e._source,t?t.type:null);Ye.setExtraStackFrame(i)}else Ye.setExtraStackFrame(null)}function We(e){if(e){var t=e._owner;y(je(e.type,e._source,t?t.type:null))}else y(null)}function Ze(){if(x.current){var e=J(x.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}Ve=!1;var Ge={};function Ue(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var i=function(e){var t=Ze();if(!t){var i="string"==typeof e?e:e.displayName||e.name;i&&(t="\n\nCheck the top-level render call using <"+i+">.")}return t}(t);if(!Ge[i]){Ge[i]=!0;var n="";e&&e._owner&&e._owner!==x.current&&(n=" It was passed a child from "+J(e._owner.type)+"."),We(e),H('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',i,n),We(null)}}}function Ke(e,t){if("object"==typeof e)if(Z(e))for(var i=0;i<e.length;i++){var n=e[i];ae(n)&&Ue(n,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var r=b(e);if("function"==typeof r&&r!==e.entries)for(var o,s=r.call(e);!(o=s.next()).done;)ae(o.value)&&Ue(o.value,t)}}function Je(e){var t,i=e.type;if(null!=i&&"string"!=typeof i){if("function"==typeof i)t=i.propTypes;else{if("object"!=typeof i||i.$$typeof!==c&&i.$$typeof!==f)return;t=i.propTypes}if(t){var n=J(i);!function(e,t,i,n,r){var o=Function.call.bind(te);for(var s in e)if(o(e,s)){var l=void 0;try{if("function"!=typeof e[s]){var a=Error((n||"React class")+": "+i+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw a.name="Invariant Violation",a}l=e[s](t,s,n,i,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(Xe(r),H("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",i,s,typeof l),Xe(null)),l instanceof Error&&!(l.message in Te)&&(Te[l.message]=!0,Xe(r),H("Failed %s type: %s",i,l.message),Xe(null))}}(t,e.props,"prop",n,e)}else void 0===i.PropTypes||Ve||(Ve=!0,H("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",J(i)||"Unknown"));"function"!=typeof i.getDefaultProps||i.getDefaultProps.isReactClassApproved||H("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qe(e,t,n){var o,s,l=we(e);if(!l){var a="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var c,d=null!=(o=t)&&void 0!==(s=o.__source)?"\n\nCheck your code at "+s.fileName.replace(/^.*[\\\/]/,"")+":"+s.lineNumber+".":"";a+=d||Ze(),null===e?c="null":Z(e)?c="array":void 0!==e&&e.$$typeof===i?(c="<"+(J(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,H("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,a)}var u=se.apply(this,arguments);if(null==u)return u;if(l)for(var f=2;f<arguments.length;f++)Ke(arguments[f],e);return e===r?function(e){for(var t=Object.keys(e.props),i=0;i<t.length;i++){var n=t[i];if("children"!==n&&"key"!==n){We(e),H("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),We(null);break}}null!==e.ref&&(We(e),H("Invalid attribute `ref` supplied to `React.Fragment`."),We(null))}(u):Je(u),u}var $e=!1,et=!1,tt=null,it=0,nt=!1;function rt(e){e!==it-1&&H("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),it=e}function ot(t,i,n){var r=v.current;if(null!==r)try{lt(r),function(t){if(null===tt)try{var i=("require"+Math.random()).slice(0,7),n=e&&e[i];tt=n.call(e,"timers").setImmediate}catch(e){tt=function(e){!1===et&&(et=!0,"undefined"==typeof MessageChannel&&H("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}tt(t)}((function(){0===r.length?(v.current=null,i(t)):ot(t,i,n)}))}catch(e){n(e)}else i(t)}var st=!1;function lt(e){if(!st){st=!0;var t=0;try{for(;t<e.length;t++){var i=e[t];do{i=i(!0)}while(null!==i)}e.length=0}catch(i){throw e=e.slice(t+1),i}finally{st=!1}}}var at=qe,ct=function(e,t,i){for(var n=le.apply(this,arguments),r=2;r<arguments.length;r++)Ke(arguments[r],n.type);return Je(n),n},dt=function(e){var t=qe.bind(null,e);return t.type=e,$e||($e=!0,P("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return P("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ut={map:ge,forEach:function(e,t,i){ge(e,(function(){t.apply(this,arguments)}),i)},count:function(e){var t=0;return ge(e,(function(){t++})),t},toArray:function(e){return ge(e,(function(e){return e}))||[]},only:function(e){if(!ae(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ut,t.Component=z,t.Fragment=r,t.Profiler=s,t.PureComponent=Y,t.StrictMode=o,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=ct,t.createContext=function(e){var t={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:l,_context:t};var i=!1,n=!1,r=!1,o={$$typeof:a,_context:t};return Object.defineProperties(o,{Provider:{get:function(){return n||(n=!0,H("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return i||(i=!0,H("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){r||(P("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),r=!0)}}}),t.Consumer=o,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=at,t.createFactory=dt,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===f?H("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?H("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&H("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||H("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,i={$$typeof:c,render:e};return Object.defineProperty(i,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(i){t=i,e.name||e.displayName||(e.displayName=i)}}),i},t.isValidElement=ae,t.lazy=function(e){var t,i,n={$$typeof:h,_payload:{_status:_e,_result:e},_init:Ne};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){H("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return i},set:function(e){H("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),i=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},t.memo=function(e,t){we(e)||H("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var i,n={$$typeof:f,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return i},set:function(t){i=t,e.name||e.displayName||(e.displayName=t)}}),n},t.startTransition=function(e,t){var i=C.transition;C.transition={};var n=C.transition;C.transition._updatedFibers=new Set;try{e()}finally{C.transition=i,null===i&&n._updatedFibers&&(n._updatedFibers.size>10&&P("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),n._updatedFibers.clear())}},t.unstable_act=function(e){var t=it;it++,null===v.current&&(v.current=[]);var i,n=v.isBatchingLegacy;try{if(v.isBatchingLegacy=!0,i=e(),!n&&v.didScheduleLegacyUpdate){var r=v.current;null!==r&&(v.didScheduleLegacyUpdate=!1,lt(r))}}catch(e){throw rt(t),e}finally{v.isBatchingLegacy=n}if(null!==i&&"object"==typeof i&&"function"==typeof i.then){var o=i,s=!1,l={then:function(e,i){s=!0,o.then((function(n){rt(t),0===it?ot(n,e,i):e(n)}),(function(e){rt(t),i(e)}))}};return nt||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){s||(nt=!0,H("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),l}var a=i;if(rt(t),0===it){var c=v.current;null!==c&&(lt(c),v.current=null);var d={then:function(e,t){null===v.current?(v.current=[],ot(a,e,t)):e(a)}};return d}var u={then:function(e,t){e(a)}};return u},t.useCallback=function(e,t){return ye().useCallback(e,t)},t.useContext=function(e){var t=ye();if(void 0!==e._context){var i=e._context;i.Consumer===e?H("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):i.Provider===e&&H("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return ye().useDebugValue(e,t)},t.useDeferredValue=function(e){return ye().useDeferredValue(e)},t.useEffect=function(e,t){return ye().useEffect(e,t)},t.useId=function(){return ye().useId()},t.useImperativeHandle=function(e,t,i){return ye().useImperativeHandle(e,t,i)},t.useInsertionEffect=function(e,t){return ye().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return ye().useLayoutEffect(e,t)},t.useMemo=function(e,t){return ye().useMemo(e,t)},t.useReducer=function(e,t,i){return ye().useReducer(e,t,i)},t.useRef=function(e){return ye().useRef(e)},t.useState=function(e){return ye().useState(e)},t.useSyncExternalStore=function(e,t,i){return ye().useSyncExternalStore(e,t,i)},t.useTransition=function(){return ye().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),a;var e,t}l={get exports(){return n},set exports(e){n=e}},"production"===process.env.NODE_ENV?l.exports=o():l.exports=d();var u=t(n);const f={white:"#FFFFFF",black:"#000000","black-100":"#09101D","neutral-50":"#F7F9FC","neutral-100":"#E8EEF7","neutral-200":"#D2DDEE","neutral-300":"#BBCCE6","neutral-400":"#A4BBDD","neutral-500":"#365B91","neutral-600":"#29446D","neutral-700":"#1B2D49","neutral-800":"#0E1724","neutral-900":"#070B12","primary-50":"#F5F5FE","primary-100":"#E2E2FD","primary-200":"#C6C6FB","primary-300":"#A9A9F9","primary-400":"#8C8CF7","primary-500":"#4040F2","primary-600":"#0F0FD7","primary-700":"#0A0A8F","primary-800":"#050548","primary-900":"#020224","success-50":"#F0FFF7","success-100":"#D1FEE8","success-200":"#A3FCD1","success-300":"#74FBBA","success-400":"#46F9A3","success-500":"#06BA63","success-600":"#058B4A","success-700":"#035D32","success-800":"#022F19","success-900":"#01170C","warning-50":"#FFFAF2","warning-100":"#FFEFD8","warning-200":"#FFE0B0","warning-300":"#FFD089","warning-400":"#FFC062","warning-500":"#F89500","warning-600":"#BA7000","warning-700":"#7C4A00","warning-800":"#3E2500","warning-900":"#1F1300","error-50":"#FFF2F2","error-100":"#FFD8D8","error-200":"#FFB0B0","error-300":"#FF8989","error-400":"#FF6262","error-500":"#F80000","error-600":"#BA0000","error-700":"#7C0000","error-800":"#3E0000","error-900":"#1F0000"},h=e.button`
|
|
2
2
|
background: none;
|
|
3
3
|
color:${f["neutral-900"]};
|
|
4
4
|
border-radius: 8px;
|
|
@@ -420,7 +420,7 @@ import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"unde
|
|
|
420
420
|
font-weight: 400;
|
|
421
421
|
line-height: 19px;
|
|
422
422
|
}
|
|
423
|
-
`,
|
|
423
|
+
`,S=e.div`
|
|
424
424
|
display: flex;
|
|
425
425
|
justify-content: center;
|
|
426
426
|
align-items: center;
|
|
@@ -428,7 +428,7 @@ import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"unde
|
|
|
428
428
|
height: 300px;
|
|
429
429
|
background: ${f.white};
|
|
430
430
|
border-radius: 8px;
|
|
431
|
-
`,
|
|
431
|
+
`,I=e.div`
|
|
432
432
|
display: flex;
|
|
433
433
|
align-items: center;
|
|
434
434
|
flex-direction: column;
|
|
@@ -439,9 +439,9 @@ import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"unde
|
|
|
439
439
|
line-height: 19px;
|
|
440
440
|
margin: 0;
|
|
441
441
|
}
|
|
442
|
-
`,R="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AppFormsTable\\AppFormsTable.tsx",F=e=>{const{forms:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.formName<t.formName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(L,{__self:void 0,__source:{fileName:R,lineNumber:58}},u.createElement(O,{__self:void 0,__source:{fileName:R,lineNumber:59}},u.createElement("thead",{__self:void 0,__source:{fileName:R,lineNumber:60}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:R,lineNumber:61}},u.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:62}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.formName<t.formName?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.formName<e.formName?-1:1)))},__self:void 0,__source:{fileName:R,lineNumber:63}},"Form Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:68}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:69}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:76}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:77}}))))),u.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:83}},"Form Code"),u.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:84}},"Authorised User Type"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:R,lineNumber:88}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:R,lineNumber:90}},u.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:91}},e.formName),u.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:92}},e.formCode),u.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:93}},u.createElement("div",{__self:void 0,__source:{fileName:R,lineNumber:94}},e.userType,u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:96}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:R,lineNumber:97}}))))))))),c&&0===c.length&&m&&u.createElement(
|
|
442
|
+
`,R="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AppFormsTable\\AppFormsTable.tsx",F=e=>{const{forms:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.formName<t.formName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(L,{__self:void 0,__source:{fileName:R,lineNumber:58}},u.createElement(O,{__self:void 0,__source:{fileName:R,lineNumber:59}},u.createElement("thead",{__self:void 0,__source:{fileName:R,lineNumber:60}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:R,lineNumber:61}},u.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:62}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.formName<t.formName?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.formName<e.formName?-1:1)))},__self:void 0,__source:{fileName:R,lineNumber:63}},"Form Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:68}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:69}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:76}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:R,lineNumber:77}}))))),u.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:83}},"Form Code"),u.createElement("th",{__self:void 0,__source:{fileName:R,lineNumber:84}},"Authorised User Type"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:R,lineNumber:88}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:R,lineNumber:90}},u.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:91}},e.formName),u.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:92}},e.formCode),u.createElement("td",{__self:void 0,__source:{fileName:R,lineNumber:93}},u.createElement("div",{__self:void 0,__source:{fileName:R,lineNumber:94}},e.userType,u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:96}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:R,lineNumber:97}}))))))))),c&&0===c.length&&m&&u.createElement(S,{__self:void 0,__source:{fileName:R,lineNumber:107}},u.createElement(I,{__self:void 0,__source:{fileName:R,lineNumber:108}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:R,lineNumber:109}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:R,lineNumber:110}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:R,lineNumber:111}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:112}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:113}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:114}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:115}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:R,lineNumber:116}})),u.createElement("defs",{__self:void 0,__source:{fileName:R,lineNumber:118}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:R,lineNumber:119}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:R,lineNumber:120}})))),u.createElement("p",{__self:void 0,__source:{fileName:R,lineNumber:124}},"App forms will be displayed here when you have any.")))),u.createElement("div",{className:"mt-[12px]",__self:void 0,__source:{fileName:R,lineNumber:129}},u.createElement(B,{currPageNum:o,itemsPerPage:10,totalItems:f.length,returnedPageNum:e=>{s(e)},__self:void 0,__source:{fileName:R,lineNumber:130}})))},z=e.div`
|
|
443
443
|
overflow-x: auto;
|
|
444
|
-
`,
|
|
444
|
+
`,Q=e.table`
|
|
445
445
|
width: 100%;
|
|
446
446
|
border-collapse: separate;
|
|
447
447
|
border-spacing: 0 8px;
|
|
@@ -510,7 +510,7 @@ import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"unde
|
|
|
510
510
|
line-height: 19px;
|
|
511
511
|
margin: 0;
|
|
512
512
|
}
|
|
513
|
-
`,T="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AppModulesTable\\AppModulesTable.tsx",Y=e=>{const{modules:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.moduleName<t.moduleName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(
|
|
513
|
+
`,T="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\AppModulesTable\\AppModulesTable.tsx",Y=e=>{const{modules:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.moduleName<t.moduleName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(z,{__self:void 0,__source:{fileName:T,lineNumber:58}},u.createElement(Q,{__self:void 0,__source:{fileName:T,lineNumber:59}},u.createElement("thead",{__self:void 0,__source:{fileName:T,lineNumber:60}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:T,lineNumber:61}},u.createElement("th",{__self:void 0,__source:{fileName:T,lineNumber:62}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.moduleName<t.moduleName?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.moduleName<e.moduleName?-1:1)))},__self:void 0,__source:{fileName:T,lineNumber:63}},"Module Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:T,lineNumber:68}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:T,lineNumber:69}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:T,lineNumber:76}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:T,lineNumber:77}}))))),u.createElement("th",{__self:void 0,__source:{fileName:T,lineNumber:83}},"Module Code"),u.createElement("th",{__self:void 0,__source:{fileName:T,lineNumber:84}},"Remarks"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:T,lineNumber:88}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:T,lineNumber:90}},u.createElement("td",{__self:void 0,__source:{fileName:T,lineNumber:91}},e.moduleName),u.createElement("td",{__self:void 0,__source:{fileName:T,lineNumber:92}},e.moduleCode),u.createElement("td",{__self:void 0,__source:{fileName:T,lineNumber:93}},u.createElement("div",{__self:void 0,__source:{fileName:T,lineNumber:94}},e.remarks?e.remarks:"-",u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:T,lineNumber:96}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:T,lineNumber:97}}))))))))),c&&0===c.length&&m&&u.createElement(j,{__self:void 0,__source:{fileName:T,lineNumber:107}},u.createElement(V,{__self:void 0,__source:{fileName:T,lineNumber:108}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:T,lineNumber:109}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:T,lineNumber:110}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:T,lineNumber:111}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:T,lineNumber:112}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:T,lineNumber:113}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:T,lineNumber:114}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:T,lineNumber:115}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:T,lineNumber:116}})),u.createElement("defs",{__self:void 0,__source:{fileName:T,lineNumber:118}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:T,lineNumber:119}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:T,lineNumber:120}})))),u.createElement("p",{__self:void 0,__source:{fileName:T,lineNumber:124}},"App modules will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:T,lineNumber:129}}))},X=e.div`
|
|
514
514
|
position: relative;
|
|
515
515
|
padding: 8px 16px 40px 16px;
|
|
516
516
|
`,W=e.div`
|
|
@@ -908,20 +908,20 @@ import e from"styled-components";"undefined"!=typeof globalThis?globalThis:"unde
|
|
|
908
908
|
* (c) 2022 Chart.js Contributors
|
|
909
909
|
* Released under the MIT License
|
|
910
910
|
*/
|
|
911
|
-
function ye(){}const Ee=function(){let e=0;return function(){return e++}}();function Ae(e){return null==e}function De(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function ke(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const Me=e=>("number"==typeof e||e instanceof Number)&&isFinite(+e);function Be(e,t){return Me(e)?e:t}function Pe(e,t){return void 0===e?t:e}const He=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Le(e,t,i){if(e&&"function"==typeof e.call)return e.apply(i,t)}function Oe(e,t,i,n){let r,o,s;if(De(e))if(o=e.length,n)for(r=o-1;r>=0;r--)t.call(i,e[r],r);else for(r=0;r<o;r++)t.call(i,e[r],r);else if(ke(e))for(s=Object.keys(e),o=s.length,r=0;r<o;r++)t.call(i,e[s[r]],s[r])}function
|
|
911
|
+
function ye(){}const Ee=function(){let e=0;return function(){return e++}}();function Ae(e){return null==e}function De(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function ke(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}const Me=e=>("number"==typeof e||e instanceof Number)&&isFinite(+e);function Be(e,t){return Me(e)?e:t}function Pe(e,t){return void 0===e?t:e}const He=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Le(e,t,i){if(e&&"function"==typeof e.call)return e.apply(i,t)}function Oe(e,t,i,n){let r,o,s;if(De(e))if(o=e.length,n)for(r=o-1;r>=0;r--)t.call(i,e[r],r);else for(r=0;r<o;r++)t.call(i,e[r],r);else if(ke(e))for(s=Object.keys(e),o=s.length,r=0;r<o;r++)t.call(i,e[s[r]],s[r])}function Se(e,t){let i,n,r,o;if(!e||!t||e.length!==t.length)return!1;for(i=0,n=e.length;i<n;++i)if(r=e[i],o=t[i],r.datasetIndex!==o.datasetIndex||r.index!==o.index)return!1;return!0}function Ie(e){if(De(e))return e.map(Ie);if(ke(e)){const t=Object.create(null),i=Object.keys(e),n=i.length;let r=0;for(;r<n;++r)t[i[r]]=Ie(e[i[r]]);return t}return e}function Re(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Fe(e,t,i,n){if(!Re(e))return;const r=t[e],o=i[e];ke(r)&&ke(o)?ze(r,o,n):t[e]=Ie(o)}function ze(e,t,i){const n=De(t)?t:[t],r=n.length;if(!ke(e))return e;const o=(i=i||{}).merger||Fe;for(let s=0;s<r;++s){if(!ke(t=n[s]))continue;const r=Object.keys(t);for(let n=0,s=r.length;n<s;++n)o(r[n],e,t,i)}return e}function Qe(e,t){return ze(e,t,{merger:je})}function je(e,t,i){if(!Re(e))return;const n=t[e],r=i[e];ke(n)&&ke(r)?Qe(n,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Ie(r))}const Ve={"":e=>e,x:e=>e.x,y:e=>e.y};function Te(e,t){const i=Ve[t]||(Ve[t]=function(e){const t=function(e){const t=e.split("."),i=[];let n="";for(const e of t)n+=e,n.endsWith("\\")?n=n.slice(0,-1)+".":(i.push(n),n="");return i}(e);return e=>{for(const i of t){if(""===i)break;e=e&&e[i]}return e}}(t));return i(e)}function Ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Xe=e=>void 0!==e,We=e=>"function"==typeof e,Ze=(e,t)=>{if(e.size!==t.size)return!1;for(const i of e)if(!t.has(i))return!1;return!0};const Ge=Math.PI,Ue=2*Ge,Ke=Ue+Ge,Je=Number.POSITIVE_INFINITY,qe=Ge/180,$e=Ge/2,et=Ge/4,tt=2*Ge/3,it=Math.log10,nt=Math.sign;function rt(e){const t=Math.round(e);e=st(e,t,e/1e3)?t:e;const i=Math.pow(10,Math.floor(it(e))),n=e/i;return(n<=1?1:n<=2?2:n<=5?5:10)*i}function ot(e){return!isNaN(parseFloat(e))&&isFinite(e)}function st(e,t,i){return Math.abs(e-t)<i}function lt(e,t,i){let n,r,o;for(n=0,r=e.length;n<r;n++)o=e[n][i],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}function at(e){return e*(Ge/180)}function ct(e){return e*(180/Ge)}function dt(e){if(!Me(e))return;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i++;return i}function ut(e,t){const i=t.x-e.x,n=t.y-e.y,r=Math.sqrt(i*i+n*n);let o=Math.atan2(n,i);return o<-.5*Ge&&(o+=Ue),{angle:o,distance:r}}function ft(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function ht(e,t){return(e-t+Ke)%Ue-Ge}function mt(e){return(e%Ue+Ue)%Ue}function pt(e,t,i,n){const r=mt(e),o=mt(t),s=mt(i),l=mt(o-r),a=mt(s-r),c=mt(r-o),d=mt(r-s);return r===o||r===s||n&&o===s||l>a&&c<d}function gt(e,t,i){return Math.max(t,Math.min(i,e))}function bt(e,t,i,n=1e-6){return e>=Math.min(t,i)-n&&e<=Math.max(t,i)+n}function _t(e,t,i){i=i||(i=>e[i]<t);let n,r=e.length-1,o=0;for(;r-o>1;)n=o+r>>1,i(n)?o=n:r=n;return{lo:o,hi:r}}const Ct=(e,t,i,n)=>_t(e,i,n?n=>e[n][t]<=i:n=>e[n][t]<i),vt=(e,t,i)=>_t(e,i,(n=>e[n][t]>=i));const xt=["push","pop","shift","splice","unshift"];function Nt(e,t){const i=e._chartjs;if(!i)return;const n=i.listeners,r=n.indexOf(t);-1!==r&&n.splice(r,1),n.length>0||(xt.forEach((t=>{delete e[t]})),delete e._chartjs)}function wt(e){const t=new Set;let i,n;for(i=0,n=e.length;i<n;++i)t.add(e[i]);return t.size===n?e:Array.from(t)}const yt="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function Et(e,t,i){const n=i||(e=>Array.prototype.slice.call(e));let r=!1,o=[];return function(...i){o=n(i),r||(r=!0,yt.call(window,(()=>{r=!1,e.apply(t,o)})))}}const At=e=>"start"===e?"left":"end"===e?"right":"center",Dt=(e,t,i)=>"start"===e?t:"end"===e?i:(t+i)/2;function kt(e,t,i){const n=t.length;let r=0,o=n;if(e._sorted){const{iScale:s,_parsed:l}=e,a=s.axis,{min:c,max:d,minDefined:u,maxDefined:f}=s.getUserBounds();u&&(r=gt(Math.min(Ct(l,s.axis,c).lo,i?n:Ct(t,a,s.getPixelForValue(c)).lo),0,n-1)),o=f?gt(Math.max(Ct(l,s.axis,d,!0).hi+1,i?0:Ct(t,a,s.getPixelForValue(d),!0).hi+1),r,n)-r:n-r}return{start:r,count:o}}function Mt(e){const{xScale:t,yScale:i,_scaleRanges:n}=e,r={xmin:t.min,xmax:t.max,ymin:i.min,ymax:i.max};if(!n)return e._scaleRanges=r,!0;const o=n.xmin!==t.min||n.xmax!==t.max||n.ymin!==i.min||n.ymax!==i.max;return Object.assign(n,r),o}const Bt=e=>0===e||1===e,Pt=(e,t,i)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ue/i),Ht=(e,t,i)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ue/i)+1,Lt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*$e),easeOutSine:e=>Math.sin(e*$e),easeInOutSine:e=>-.5*(Math.cos(Ge*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>Bt(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>Bt(e)?e:Pt(e,.075,.3),easeOutElastic:e=>Bt(e)?e:Ht(e,.075,.3),easeInOutElastic(e){const t=.1125;return Bt(e)?e:e<.5?.5*Pt(2*e,t,.45):.5+.5*Ht(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-Lt.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,i=2.75;return e<1/i?t*e*e:e<2/i?t*(e-=1.5/i)*e+.75:e<2.5/i?t*(e-=2.25/i)*e+.9375:t*(e-=2.625/i)*e+.984375},easeInOutBounce:e=>e<.5?.5*Lt.easeInBounce(2*e):.5*Lt.easeOutBounce(2*e-1)+.5};
|
|
912
912
|
/*!
|
|
913
913
|
* @kurkle/color v0.2.1
|
|
914
914
|
* https://github.com/kurkle/color#readme
|
|
915
915
|
* (c) 2022 Jukka Kurkela
|
|
916
916
|
* Released under the MIT License
|
|
917
917
|
*/
|
|
918
|
-
function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);function St(e){return It(Ot(2.55*e),0,255)}function Rt(e){return It(Ot(255*e),0,255)}function Ft(e){return It(Ot(e/2.55)/100,0,1)}function Qt(e){return It(Ot(100*e),0,100)}const zt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},jt=[..."0123456789ABCDEF"],Vt=e=>jt[15&e],Tt=e=>jt[(240&e)>>4]+jt[15&e],Yt=e=>(240&e)>>4==(15&e);function Xt(e){var t=(e=>Yt(e.r)&&Yt(e.g)&&Yt(e.b)&&Yt(e.a))(e)?Vt:Tt;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const Wt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Zt(e,t,i){const n=t*Math.min(i,1-i),r=(t,r=(t+e/30)%12)=>i-n*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function Gt(e,t,i){const n=(n,r=(n+e/60)%6)=>i-i*t*Math.max(Math.min(r,4-r,1),0);return[n(5),n(3),n(1)]}function Ut(e,t,i){const n=Zt(e,1,.5);let r;for(t+i>1&&(r=1/(t+i),t*=r,i*=r),r=0;r<3;r++)n[r]*=1-t-i,n[r]+=t;return n}function Kt(e){const t=e.r/255,i=e.g/255,n=e.b/255,r=Math.max(t,i,n),o=Math.min(t,i,n),s=(r+o)/2;let l,a,c;return r!==o&&(c=r-o,a=s>.5?c/(2-r-o):c/(r+o),l=function(e,t,i,n,r){return e===r?(t-i)/n+(t<i?6:0):t===r?(i-e)/n+2:(e-t)/n+4}(t,i,n,c,r),l=60*l+.5),[0|l,a||0,s]}function Jt(e,t,i,n){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,n)).map(Rt)}function qt(e,t,i){return Jt(Zt,e,t,i)}function $t(e){return(e%360+360)%360}function ei(e){const t=Wt.exec(e);let i,n=255;if(!t)return;t[5]!==i&&(n=t[6]?St(+t[5]):Rt(+t[5]));const r=$t(+t[2]),o=+t[3]/100,s=+t[4]/100;return i="hwb"===t[1]?function(e,t,i){return Jt(Ut,e,t,i)}(r,o,s):"hsv"===t[1]?function(e,t,i){return Jt(Gt,e,t,i)}(r,o,s):qt(r,o,s),{r:i[0],g:i[1],b:i[2],a:n}}const ti={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},ii={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let ni;function ri(e){ni||(ni=function(){const e={},t=Object.keys(ii),i=Object.keys(ti);let n,r,o,s,l;for(n=0;n<t.length;n++){for(s=l=t[n],r=0;r<i.length;r++)o=i[r],l=l.replace(o,ti[o]);o=parseInt(ii[s],16),e[l]=[o>>16&255,o>>8&255,255&o]}return e}(),ni.transparent=[0,0,0,0]);const t=ni[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const oi=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const si=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,li=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ai(e,t,i){if(e){let n=Kt(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*i,0===t?360:1)),n=qt(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function ci(e,t){return e?Object.assign(t||{},e):e}function di(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Rt(e[3]))):(t=ci(e,{r:0,g:0,b:0,a:1})).a=Rt(t.a),t}function ui(e){return"r"===e.charAt(0)?function(e){const t=oi.exec(e);let i,n,r,o=255;if(t){if(t[7]!==i){const e=+t[7];o=t[8]?St(e):It(255*e,0,255)}return i=+t[1],n=+t[3],r=+t[5],i=255&(t[2]?St(i):It(i,0,255)),n=255&(t[4]?St(n):It(n,0,255)),r=255&(t[6]?St(r):It(r,0,255)),{r:i,g:n,b:r,a:o}}}(e):ei(e)}class fi{constructor(e){if(e instanceof fi)return e;const t=typeof e;let i;var n,r,o;"object"===t?i=di(e):"string"===t&&(o=(n=e).length,"#"===n[0]&&(4===o||5===o?r={r:255&17*zt[n[1]],g:255&17*zt[n[2]],b:255&17*zt[n[3]],a:5===o?17*zt[n[4]]:255}:7!==o&&9!==o||(r={r:zt[n[1]]<<4|zt[n[2]],g:zt[n[3]]<<4|zt[n[4]],b:zt[n[5]]<<4|zt[n[6]],a:9===o?zt[n[7]]<<4|zt[n[8]]:255})),i=r||ri(e)||ui(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=ci(this._rgb);return e&&(e.a=Ft(e.a)),e}set rgb(e){this._rgb=di(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Ft(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?Xt(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Kt(e),i=t[0],n=Qt(t[1]),r=Qt(t[2]);return e.a<255?`hsla(${i}, ${n}%, ${r}%, ${Ft(e.a)})`:`hsl(${i}, ${n}%, ${r}%)`}(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,n=e.rgb;let r;const o=t===r?.5:t,s=2*o-1,l=i.a-n.a,a=((s*l==-1?s:(s+l)/(1+s*l))+1)/2;r=1-a,i.r=255&a*i.r+r*n.r+.5,i.g=255&a*i.g+r*n.g+.5,i.b=255&a*i.b+r*n.b+.5,i.a=o*i.a+(1-o)*n.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,i){const n=li(Ft(e.r)),r=li(Ft(e.g)),o=li(Ft(e.b));return{r:Rt(si(n+i*(li(Ft(t.r))-n))),g:Rt(si(r+i*(li(Ft(t.g))-r))),b:Rt(si(o+i*(li(Ft(t.b))-o))),a:e.a+i*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new fi(this.rgb)}alpha(e){return this._rgb.a=Rt(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Ot(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ai(this._rgb,2,e),this}darken(e){return ai(this._rgb,2,-e),this}saturate(e){return ai(this._rgb,1,e),this}desaturate(e){return ai(this._rgb,1,-e),this}rotate(e){return function(e,t){var i=Kt(e);i[0]=$t(i[0]+t),i=qt(i),e.r=i[0],e.g=i[1],e.b=i[2]}(this._rgb,e),this}}function hi(e){return new fi(e)}function mi(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function pi(e){return mi(e)?e:hi(e)}function gi(e){return mi(e)?e:hi(e).saturate(.5).darken(.1).hexString()}const bi=Object.create(null),_i=Object.create(null);function Ci(e,t){if(!t)return e;const i=t.split(".");for(let t=0,n=i.length;t<n;++t){const n=i[t];e=e[n]||(e[n]=Object.create(null))}return e}function vi(e,t,i){return"string"==typeof t?Qe(Ci(e,t),i):Qe(Ci(e,""),t)}var xi=new class{constructor(e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>gi(t.backgroundColor),this.hoverBorderColor=(e,t)=>gi(t.borderColor),this.hoverColor=(e,t)=>gi(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return vi(this,e,t)}get(e){return Ci(this,e)}describe(e,t){return vi(_i,e,t)}override(e,t){return vi(bi,e,t)}route(e,t,i,n){const r=Ci(this,e),o=Ci(this,i),s="_"+t;Object.defineProperties(r,{[s]:{value:r[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[s],t=o[n];return ke(e)?Object.assign({},t,e):Pe(e,t)},set(e){this[s]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Ni(e,t,i,n,r){let o=t[r];return o||(o=t[r]=e.measureText(r).width,i.push(r)),o>n&&(n=o),n}function wi(e,t,i,n){let r=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(r=n.data={},o=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let s=0;const l=i.length;let a,c,d,u,f;for(a=0;a<l;a++)if(u=i[a],null!=u&&!0!==De(u))s=Ni(e,r,o,s,u);else if(De(u))for(c=0,d=u.length;c<d;c++)f=u[c],null==f||De(f)||(s=Ni(e,r,o,s,f));e.restore();const h=o.length/2;if(h>i.length){for(a=0;a<h;a++)delete r[o[a]];o.splice(0,h)}return s}function yi(e,t,i){const n=e.currentDevicePixelRatio,r=0!==i?Math.max(i/2,.5):0;return Math.round((t-r)*n)/n+r}function Ei(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function Ai(e,t,i,n){Di(e,t,i,n,null)}function Di(e,t,i,n,r){let o,s,l,a,c,d;const u=t.pointStyle,f=t.rotation,h=t.radius;let m=(f||0)*qe;if(u&&"object"==typeof u&&(o=u.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(i,n),e.rotate(m),e.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),void e.restore();if(!(isNaN(h)||h<=0)){switch(e.beginPath(),u){default:r?e.ellipse(i,n,r/2,h,0,0,Ue):e.arc(i,n,h,0,Ue),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(m)*h,n-Math.cos(m)*h),m+=tt,e.lineTo(i+Math.sin(m)*h,n-Math.cos(m)*h),m+=tt,e.lineTo(i+Math.sin(m)*h,n-Math.cos(m)*h),e.closePath();break;case"rectRounded":c=.516*h,a=h-c,s=Math.cos(m+et)*a,l=Math.sin(m+et)*a,e.arc(i-s,n-l,c,m-Ge,m-$e),e.arc(i+l,n-s,c,m-$e,m),e.arc(i+s,n+l,c,m,m+$e),e.arc(i-l,n+s,c,m+$e,m+Ge),e.closePath();break;case"rect":if(!f){a=Math.SQRT1_2*h,d=r?r/2:a,e.rect(i-d,n-a,2*d,2*a);break}m+=et;case"rectRot":s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+l,n-s),e.lineTo(i+s,n+l),e.lineTo(i-l,n+s),e.closePath();break;case"crossRot":m+=et;case"cross":s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i+l,n-s),e.lineTo(i-l,n+s);break;case"star":s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i+l,n-s),e.lineTo(i-l,n+s),m+=et,s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i+l,n-s),e.lineTo(i-l,n+s);break;case"line":s=r?r/2:Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l);break;case"dash":e.moveTo(i,n),e.lineTo(i+Math.cos(m)*h,n+Math.sin(m)*h)}e.fill(),t.borderWidth>0&&e.stroke()}}function ki(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function Mi(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Bi(e){e.restore()}function Pi(e,t,i,n,r){if(!t)return e.lineTo(i.x,i.y);if("middle"===r){const n=(t.x+i.x)/2;e.lineTo(n,t.y),e.lineTo(n,i.y)}else"after"===r!=!!n?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}function Hi(e,t,i,n){if(!t)return e.lineTo(i.x,i.y);e.bezierCurveTo(n?t.cp1x:t.cp2x,n?t.cp1y:t.cp2y,n?i.cp2x:i.cp1x,n?i.cp2y:i.cp1y,i.x,i.y)}function Li(e,t,i,n,r,o={}){const s=De(t)?t:[t],l=o.strokeWidth>0&&""!==o.strokeColor;let a,c;for(e.save(),e.font=r.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]);Ae(t.rotation)||e.rotate(t.rotation);t.color&&(e.fillStyle=t.color);t.textAlign&&(e.textAlign=t.textAlign);t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),a=0;a<s.length;++a)c=s[a],l&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),Ae(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,i,n,o.maxWidth)),e.fillText(c,i,n,o.maxWidth),Oi(e,i,n,c,o),n+=r.lineHeight;e.restore()}function Oi(e,t,i,n,r){if(r.strikethrough||r.underline){const o=e.measureText(n),s=t-o.actualBoundingBoxLeft,l=t+o.actualBoundingBoxRight,a=i-o.actualBoundingBoxAscent,c=i+o.actualBoundingBoxDescent,d=r.strikethrough?(a+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(s,d),e.lineTo(l,d),e.stroke()}}function Ii(e,t){const{x:i,y:n,w:r,h:o,radius:s}=t;e.arc(i+s.topLeft,n+s.topLeft,s.topLeft,-$e,Ge,!0),e.lineTo(i,n+o-s.bottomLeft),e.arc(i+s.bottomLeft,n+o-s.bottomLeft,s.bottomLeft,Ge,$e,!0),e.lineTo(i+r-s.bottomRight,n+o),e.arc(i+r-s.bottomRight,n+o-s.bottomRight,s.bottomRight,$e,0,!0),e.lineTo(i+r,n+s.topRight),e.arc(i+r-s.topRight,n+s.topRight,s.topRight,0,-$e,!0),e.lineTo(i+s.topLeft,n)}const Si=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Ri=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Fi(e,t){const i=(""+e).match(Si);if(!i||"normal"===i[1])return 1.2*t;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100}return t*e}const Qi=e=>+e||0;function zi(e,t){const i={},n=ke(t),r=n?Object.keys(t):t,o=ke(e)?n?i=>Pe(e[i],e[t[i]]):t=>e[t]:()=>e;for(const e of r)i[e]=Qi(o(e));return i}function ji(e){return zi(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Vi(e){return zi(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Ti(e){const t=ji(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Yi(e,t){e=e||{},t=t||xi.font;let i=Pe(e.size,t.size);"string"==typeof i&&(i=parseInt(i,10));let n=Pe(e.style,t.style);n&&!(""+n).match(Ri)&&(console.warn('Invalid font style specified: "'+n+'"'),n="");const r={family:Pe(e.family,t.family),lineHeight:Fi(Pe(e.lineHeight,t.lineHeight),i),size:i,style:n,weight:Pe(e.weight,t.weight),string:""};return r.string=function(e){return!e||Ae(e.size)||Ae(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r}function Xi(e,t,i,n){let r,o,s,l=!0;for(r=0,o=e.length;r<o;++r)if(s=e[r],void 0!==s&&(void 0!==t&&"function"==typeof s&&(s=s(t),l=!1),void 0!==i&&De(s)&&(s=s[i%s.length],l=!1),void 0!==s))return n&&!l&&(n.cacheable=!1),s}function Wi(e,t){return Object.assign(Object.create(e),t)}function Zi(e,t=[""],i=e,n,r=(()=>e[0])){Xe(n)||(n=on("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:n,_getTarget:r,override:r=>Zi([r,...e],t,i,n)};return new Proxy(o,{deleteProperty:(t,i)=>(delete t[i],delete t._keys,delete e[0][i],!0),get:(i,n)=>qi(i,n,(()=>function(e,t,i,n){let r;for(const o of t)if(r=on(Ki(o,e),i),Xe(r))return Ji(e,r)?nn(i,n,e,r):r}(n,t,e,i))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>sn(e).includes(t),ownKeys:e=>sn(e),set(e,t,i){const n=e._storage||(e._storage=r());return e[t]=n[t]=i,delete e._keys,!0}})}function Gi(e,t,i,n){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:Ui(e,n),setContext:t=>Gi(e,t,i,n),override:r=>Gi(e.override(r),t,i,n)};return new Proxy(r,{deleteProperty:(t,i)=>(delete t[i],delete e[i],!0),get:(e,t,i)=>qi(e,t,(()=>function(e,t,i){const{_proxy:n,_context:r,_subProxy:o,_descriptors:s}=e;let l=n[t];We(l)&&s.isScriptable(t)&&(l=function(e,t,i,n){const{_proxy:r,_context:o,_subProxy:s,_stack:l}=i;if(l.has(e))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+e);l.add(e),t=t(o,s||n),l.delete(e),Ji(e,t)&&(t=nn(r._scopes,r,e,t));return t}(t,l,e,i));De(l)&&l.length&&(l=function(e,t,i,n){const{_proxy:r,_context:o,_subProxy:s,_descriptors:l}=i;if(Xe(o.index)&&n(e))t=t[o.index%t.length];else if(ke(t[0])){const i=t,n=r._scopes.filter((e=>e!==i));t=[];for(const a of i){const i=nn(n,r,e,a);t.push(Gi(i,o,s&&s[e],l))}}return t}(t,l,e,s.isIndexable));Ji(t,l)&&(l=Gi(l,r,o&&o[t],s));return l}(e,t,i))),getOwnPropertyDescriptor:(t,i)=>t._descriptors.allKeys?Reflect.has(e,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,i),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,i)=>Reflect.has(e,i),ownKeys:()=>Reflect.ownKeys(e),set:(t,i,n)=>(e[i]=n,delete t[i],!0)})}function Ui(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:n=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:i,indexable:n,isScriptable:We(i)?i:()=>i,isIndexable:We(n)?n:()=>n}}const Ki=(e,t)=>e?e+Ye(t):t,Ji=(e,t)=>ke(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function qi(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const n=i();return e[t]=n,n}function $i(e,t,i){return We(e)?e(t,i):e}const en=(e,t)=>!0===e?t:"string"==typeof e?Te(t,e):void 0;function tn(e,t,i,n,r){for(const o of t){const t=en(i,o);if(t){e.add(t);const o=$i(t._fallback,i,r);if(Xe(o)&&o!==i&&o!==n)return o}else if(!1===t&&Xe(n)&&i!==n)return null}return!1}function nn(e,t,i,n){const r=t._rootScopes,o=$i(t._fallback,i,n),s=[...e,...r],l=new Set;l.add(n);let a=rn(l,s,i,o||i,n);return null!==a&&((!Xe(o)||o===i||(a=rn(l,s,o,a,n),null!==a))&&Zi(Array.from(l),[""],r,o,(()=>function(e,t,i){const n=e._getTarget();t in n||(n[t]={});const r=n[t];if(De(r)&&ke(i))return i;return r}(t,i,n))))}function rn(e,t,i,n,r){for(;i;)i=tn(e,t,i,n,r);return i}function on(e,t){for(const i of t){if(!i)continue;const t=i[e];if(Xe(t))return t}}function sn(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const i of e)for(const e of Object.keys(i).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function ln(e,t,i,n){const{iScale:r}=e,{key:o="r"}=this._parsing,s=new Array(n);let l,a,c,d;for(l=0,a=n;l<a;++l)c=l+i,d=t[c],s[l]={r:r.parse(Te(d,o),c)};return s}const an=Number.EPSILON||1e-14,cn=(e,t)=>t<e.length&&!e[t].skip&&e[t],dn=e=>"x"===e?"y":"x";function un(e,t,i,n){const r=e.skip?t:e,o=t,s=i.skip?t:i,l=ft(o,r),a=ft(s,o);let c=l/(l+a),d=a/(l+a);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=n*c,f=n*d;return{previous:{x:o.x-u*(s.x-r.x),y:o.y-u*(s.y-r.y)},next:{x:o.x+f*(s.x-r.x),y:o.y+f*(s.y-r.y)}}}function fn(e,t="x"){const i=dn(t),n=e.length,r=Array(n).fill(0),o=Array(n);let s,l,a,c=cn(e,0);for(s=0;s<n;++s)if(l=a,a=c,c=cn(e,s+1),a){if(c){const e=c[t]-a[t];r[s]=0!==e?(c[i]-a[i])/e:0}o[s]=l?c?nt(r[s-1])!==nt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}!function(e,t,i){const n=e.length;let r,o,s,l,a,c=cn(e,0);for(let d=0;d<n-1;++d)a=c,c=cn(e,d+1),a&&c&&(st(t[d],0,an)?i[d]=i[d+1]=0:(r=i[d]/t[d],o=i[d+1]/t[d],l=Math.pow(r,2)+Math.pow(o,2),l<=9||(s=3/Math.sqrt(l),i[d]=r*s*t[d],i[d+1]=o*s*t[d])))}(e,r,o),function(e,t,i="x"){const n=dn(i),r=e.length;let o,s,l,a=cn(e,0);for(let c=0;c<r;++c){if(s=l,l=a,a=cn(e,c+1),!l)continue;const r=l[i],d=l[n];s&&(o=(r-s[i])/3,l[`cp1${i}`]=r-o,l[`cp1${n}`]=d-o*t[c]),a&&(o=(a[i]-r)/3,l[`cp2${i}`]=r+o,l[`cp2${n}`]=d+o*t[c])}}(e,o,t)}function hn(e,t,i){return Math.max(Math.min(e,i),t)}function mn(e,t,i,n,r){let o,s,l,a;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)fn(e,r);else{let i=n?e[e.length-1]:e[0];for(o=0,s=e.length;o<s;++o)l=e[o],a=un(i,l,e[Math.min(o+1,s-(n?0:1))%s],t.tension),l.cp1x=a.previous.x,l.cp1y=a.previous.y,l.cp2x=a.next.x,l.cp2y=a.next.y,i=l}t.capBezierPoints&&function(e,t){let i,n,r,o,s,l=ki(e[0],t);for(i=0,n=e.length;i<n;++i)s=o,o=l,l=i<n-1&&ki(e[i+1],t),o&&(r=e[i],s&&(r.cp1x=hn(r.cp1x,t.left,t.right),r.cp1y=hn(r.cp1y,t.top,t.bottom)),l&&(r.cp2x=hn(r.cp2x,t.left,t.right),r.cp2y=hn(r.cp2y,t.top,t.bottom)))}(e,i)}function pn(){return"undefined"!=typeof window&&"undefined"!=typeof document}function gn(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function bn(e,t,i){let n;return"string"==typeof e?(n=parseInt(e,10),-1!==e.indexOf("%")&&(n=n/100*t.parentNode[i])):n=e,n}const _n=e=>window.getComputedStyle(e,null);const Cn=["top","right","bottom","left"];function vn(e,t,i){const n={};i=i?"-"+i:"";for(let r=0;r<4;r++){const o=Cn[r];n[o]=parseFloat(e[t+"-"+o+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const xn=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function Nn(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:n}=t,r=_n(i),o="border-box"===r.boxSizing,s=vn(r,"padding"),l=vn(r,"border","width"),{x:a,y:c,box:d}=function(e,t){const i=e.touches,n=i&&i.length?i[0]:e,{offsetX:r,offsetY:o}=n;let s,l,a=!1;if(xn(r,o,e.target))s=r,l=o;else{const e=t.getBoundingClientRect();s=n.clientX-e.left,l=n.clientY-e.top,a=!0}return{x:s,y:l,box:a}}(e,i),u=s.left+(d&&l.left),f=s.top+(d&&l.top);let{width:h,height:m}=t;return o&&(h-=s.width+l.width,m-=s.height+l.height),{x:Math.round((a-u)/h*i.width/n),y:Math.round((c-f)/m*i.height/n)}}const wn=e=>Math.round(10*e)/10;function yn(e,t,i,n){const r=_n(e),o=vn(r,"margin"),s=bn(r.maxWidth,e,"clientWidth")||Je,l=bn(r.maxHeight,e,"clientHeight")||Je,a=function(e,t,i){let n,r;if(void 0===t||void 0===i){const o=gn(e);if(o){const e=o.getBoundingClientRect(),s=_n(o),l=vn(s,"border","width"),a=vn(s,"padding");t=e.width-a.width-l.width,i=e.height-a.height-l.height,n=bn(s.maxWidth,o,"clientWidth"),r=bn(s.maxHeight,o,"clientHeight")}else t=e.clientWidth,i=e.clientHeight}return{width:t,height:i,maxWidth:n||Je,maxHeight:r||Je}}(e,t,i);let{width:c,height:d}=a;if("content-box"===r.boxSizing){const e=vn(r,"border","width"),t=vn(r,"padding");c-=t.width+e.width,d-=t.height+e.height}return c=Math.max(0,c-o.width),d=Math.max(0,n?Math.floor(c/n):d-o.height),c=wn(Math.min(c,s,a.maxWidth)),d=wn(Math.min(d,l,a.maxHeight)),c&&!d&&(d=wn(c/2)),{width:c,height:d}}function En(e,t,i){const n=t||1,r=Math.floor(e.height*n),o=Math.floor(e.width*n);e.height=r/n,e.width=o/n;const s=e.canvas;return s.style&&(i||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==n||s.height!==r||s.width!==o)&&(e.currentDevicePixelRatio=n,s.height=r,s.width=o,e.ctx.setTransform(n,0,0,n,0,0),!0)}const An=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function Dn(e,t){const i=function(e,t){return _n(e).getPropertyValue(t)}(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function kn(e,t,i,n){return{x:e.x+i*(t.x-e.x),y:e.y+i*(t.y-e.y)}}function Mn(e,t,i,n){return{x:e.x+i*(t.x-e.x),y:"middle"===n?i<.5?e.y:t.y:"after"===n?i<1?e.y:t.y:i>0?t.y:e.y}}function Bn(e,t,i,n){const r={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},s=kn(e,r,i),l=kn(r,o,i),a=kn(o,t,i),c=kn(s,l,i),d=kn(l,a,i);return kn(c,d,i)}const Pn=new Map;function Hn(e,t,i){return function(e,t){t=t||{};const i=e+JSON.stringify(t);let n=Pn.get(i);return n||(n=new Intl.NumberFormat(e,t),Pn.set(i,n)),n}(t,i).format(e)}function Ln(e,t,i){return e?function(e,t){return{x:i=>e+e+t-i,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,i):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function On(e,t){let i,n;"ltr"!==t&&"rtl"!==t||(i=e.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=n)}function In(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Sn(e){return"angle"===e?{between:pt,compare:ht,normalize:mt}:{between:bt,compare:(e,t)=>e-t,normalize:e=>e}}function Rn({start:e,end:t,count:i,loop:n,style:r}){return{start:e%i,end:t%i,loop:n&&(t-e+1)%i==0,style:r}}function Fn(e,t,i){if(!i)return[e];const{property:n,start:r,end:o}=i,s=t.length,{compare:l,between:a,normalize:c}=Sn(n),{start:d,end:u,loop:f,style:h}=function(e,t,i){const{property:n,start:r,end:o}=i,{between:s,normalize:l}=Sn(n),a=t.length;let c,d,{start:u,end:f,loop:h}=e;if(h){for(u+=a,f+=a,c=0,d=a;c<d&&s(l(t[u%a][n]),r,o);++c)u--,f--;u%=a,f%=a}return f<u&&(f+=a),{start:u,end:f,loop:h,style:e.style}}(e,t,i),m=[];let p,g,b,_=!1,C=null;const v=()=>_||a(r,b,p)&&0!==l(r,b),x=()=>!_||0===l(o,p)||a(o,b,p);for(let e=d,i=d;e<=u;++e)g=t[e%s],g.skip||(p=c(g[n]),p!==b&&(_=a(p,r,o),null===C&&v()&&(C=0===l(p,r)?e:i),null!==C&&x()&&(m.push(Rn({start:C,end:e,loop:f,count:s,style:h})),C=null),i=e,b=p));return null!==C&&m.push(Rn({start:C,end:u,loop:f,count:s,style:h})),m}function Qn(e,t){const i=[],n=e.segments;for(let r=0;r<n.length;r++){const o=Fn(n[r],e.points,t);o.length&&i.push(...o)}return i}function zn(e,t,i,n){return n&&n.setContext&&i?function(e,t,i,n){const r=e._chart.getContext(),o=jn(e.options),{_datasetIndex:s,options:{spanGaps:l}}=e,a=i.length,c=[];let d=o,u=t[0].start,f=u;function h(e,t,n,r){const o=l?-1:1;if(e!==t){for(e+=a;i[e%a].skip;)e-=o;for(;i[t%a].skip;)t+=o;e%a!=t%a&&(c.push({start:e%a,end:t%a,loop:n,style:r}),d=r,u=t%a)}}for(const e of t){u=l?u:e.start;let t,o=i[u%a];for(f=u+1;f<=e.end;f++){const l=i[f%a];t=jn(n.setContext(Wi(r,{type:"segment",p0:o,p1:l,p0DataIndex:(f-1)%a,p1DataIndex:f%a,datasetIndex:s}))),Vn(t,d)&&h(u,f-1,e.loop,d),o=l,d=t}u<f-1&&h(u,f-1,e.loop,d)}return c}(e,t,i,n):t}function jn(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Vn(e,t){return t&&JSON.stringify(e)!==JSON.stringify(t)}
|
|
918
|
+
function Ot(e){return e+.5|0}const St=(e,t,i)=>Math.max(Math.min(e,i),t);function It(e){return St(Ot(2.55*e),0,255)}function Rt(e){return St(Ot(255*e),0,255)}function Ft(e){return St(Ot(e/2.55)/100,0,1)}function zt(e){return St(Ot(100*e),0,100)}const Qt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},jt=[..."0123456789ABCDEF"],Vt=e=>jt[15&e],Tt=e=>jt[(240&e)>>4]+jt[15&e],Yt=e=>(240&e)>>4==(15&e);function Xt(e){var t=(e=>Yt(e.r)&&Yt(e.g)&&Yt(e.b)&&Yt(e.a))(e)?Vt:Tt;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const Wt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Zt(e,t,i){const n=t*Math.min(i,1-i),r=(t,r=(t+e/30)%12)=>i-n*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function Gt(e,t,i){const n=(n,r=(n+e/60)%6)=>i-i*t*Math.max(Math.min(r,4-r,1),0);return[n(5),n(3),n(1)]}function Ut(e,t,i){const n=Zt(e,1,.5);let r;for(t+i>1&&(r=1/(t+i),t*=r,i*=r),r=0;r<3;r++)n[r]*=1-t-i,n[r]+=t;return n}function Kt(e){const t=e.r/255,i=e.g/255,n=e.b/255,r=Math.max(t,i,n),o=Math.min(t,i,n),s=(r+o)/2;let l,a,c;return r!==o&&(c=r-o,a=s>.5?c/(2-r-o):c/(r+o),l=function(e,t,i,n,r){return e===r?(t-i)/n+(t<i?6:0):t===r?(i-e)/n+2:(e-t)/n+4}(t,i,n,c,r),l=60*l+.5),[0|l,a||0,s]}function Jt(e,t,i,n){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,i,n)).map(Rt)}function qt(e,t,i){return Jt(Zt,e,t,i)}function $t(e){return(e%360+360)%360}function ei(e){const t=Wt.exec(e);let i,n=255;if(!t)return;t[5]!==i&&(n=t[6]?It(+t[5]):Rt(+t[5]));const r=$t(+t[2]),o=+t[3]/100,s=+t[4]/100;return i="hwb"===t[1]?function(e,t,i){return Jt(Ut,e,t,i)}(r,o,s):"hsv"===t[1]?function(e,t,i){return Jt(Gt,e,t,i)}(r,o,s):qt(r,o,s),{r:i[0],g:i[1],b:i[2],a:n}}const ti={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},ii={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let ni;function ri(e){ni||(ni=function(){const e={},t=Object.keys(ii),i=Object.keys(ti);let n,r,o,s,l;for(n=0;n<t.length;n++){for(s=l=t[n],r=0;r<i.length;r++)o=i[r],l=l.replace(o,ti[o]);o=parseInt(ii[s],16),e[l]=[o>>16&255,o>>8&255,255&o]}return e}(),ni.transparent=[0,0,0,0]);const t=ni[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const oi=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const si=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,li=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ai(e,t,i){if(e){let n=Kt(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*i,0===t?360:1)),n=qt(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function ci(e,t){return e?Object.assign(t||{},e):e}function di(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Rt(e[3]))):(t=ci(e,{r:0,g:0,b:0,a:1})).a=Rt(t.a),t}function ui(e){return"r"===e.charAt(0)?function(e){const t=oi.exec(e);let i,n,r,o=255;if(t){if(t[7]!==i){const e=+t[7];o=t[8]?It(e):St(255*e,0,255)}return i=+t[1],n=+t[3],r=+t[5],i=255&(t[2]?It(i):St(i,0,255)),n=255&(t[4]?It(n):St(n,0,255)),r=255&(t[6]?It(r):St(r,0,255)),{r:i,g:n,b:r,a:o}}}(e):ei(e)}class fi{constructor(e){if(e instanceof fi)return e;const t=typeof e;let i;var n,r,o;"object"===t?i=di(e):"string"===t&&(o=(n=e).length,"#"===n[0]&&(4===o||5===o?r={r:255&17*Qt[n[1]],g:255&17*Qt[n[2]],b:255&17*Qt[n[3]],a:5===o?17*Qt[n[4]]:255}:7!==o&&9!==o||(r={r:Qt[n[1]]<<4|Qt[n[2]],g:Qt[n[3]]<<4|Qt[n[4]],b:Qt[n[5]]<<4|Qt[n[6]],a:9===o?Qt[n[7]]<<4|Qt[n[8]]:255})),i=r||ri(e)||ui(e)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var e=ci(this._rgb);return e&&(e.a=Ft(e.a)),e}set rgb(e){this._rgb=di(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Ft(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?Xt(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Kt(e),i=t[0],n=zt(t[1]),r=zt(t[2]);return e.a<255?`hsla(${i}, ${n}%, ${r}%, ${Ft(e.a)})`:`hsl(${i}, ${n}%, ${r}%)`}(this._rgb):void 0}mix(e,t){if(e){const i=this.rgb,n=e.rgb;let r;const o=t===r?.5:t,s=2*o-1,l=i.a-n.a,a=((s*l==-1?s:(s+l)/(1+s*l))+1)/2;r=1-a,i.r=255&a*i.r+r*n.r+.5,i.g=255&a*i.g+r*n.g+.5,i.b=255&a*i.b+r*n.b+.5,i.a=o*i.a+(1-o)*n.a,this.rgb=i}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,i){const n=li(Ft(e.r)),r=li(Ft(e.g)),o=li(Ft(e.b));return{r:Rt(si(n+i*(li(Ft(t.r))-n))),g:Rt(si(r+i*(li(Ft(t.g))-r))),b:Rt(si(o+i*(li(Ft(t.b))-o))),a:e.a+i*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new fi(this.rgb)}alpha(e){return this._rgb.a=Rt(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Ot(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ai(this._rgb,2,e),this}darken(e){return ai(this._rgb,2,-e),this}saturate(e){return ai(this._rgb,1,e),this}desaturate(e){return ai(this._rgb,1,-e),this}rotate(e){return function(e,t){var i=Kt(e);i[0]=$t(i[0]+t),i=qt(i),e.r=i[0],e.g=i[1],e.b=i[2]}(this._rgb,e),this}}function hi(e){return new fi(e)}function mi(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function pi(e){return mi(e)?e:hi(e)}function gi(e){return mi(e)?e:hi(e).saturate(.5).darken(.1).hexString()}const bi=Object.create(null),_i=Object.create(null);function Ci(e,t){if(!t)return e;const i=t.split(".");for(let t=0,n=i.length;t<n;++t){const n=i[t];e=e[n]||(e[n]=Object.create(null))}return e}function vi(e,t,i){return"string"==typeof t?ze(Ci(e,t),i):ze(Ci(e,""),t)}var xi=new class{constructor(e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>gi(t.backgroundColor),this.hoverBorderColor=(e,t)=>gi(t.borderColor),this.hoverColor=(e,t)=>gi(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e)}set(e,t){return vi(this,e,t)}get(e){return Ci(this,e)}describe(e,t){return vi(_i,e,t)}override(e,t){return vi(bi,e,t)}route(e,t,i,n){const r=Ci(this,e),o=Ci(this,i),s="_"+t;Object.defineProperties(r,{[s]:{value:r[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[s],t=o[n];return ke(e)?Object.assign({},t,e):Pe(e,t)},set(e){this[s]=e}}})}}({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function Ni(e,t,i,n,r){let o=t[r];return o||(o=t[r]=e.measureText(r).width,i.push(r)),o>n&&(n=o),n}function wi(e,t,i,n){let r=(n=n||{}).data=n.data||{},o=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(r=n.data={},o=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let s=0;const l=i.length;let a,c,d,u,f;for(a=0;a<l;a++)if(u=i[a],null!=u&&!0!==De(u))s=Ni(e,r,o,s,u);else if(De(u))for(c=0,d=u.length;c<d;c++)f=u[c],null==f||De(f)||(s=Ni(e,r,o,s,f));e.restore();const h=o.length/2;if(h>i.length){for(a=0;a<h;a++)delete r[o[a]];o.splice(0,h)}return s}function yi(e,t,i){const n=e.currentDevicePixelRatio,r=0!==i?Math.max(i/2,.5):0;return Math.round((t-r)*n)/n+r}function Ei(e,t){(t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function Ai(e,t,i,n){Di(e,t,i,n,null)}function Di(e,t,i,n,r){let o,s,l,a,c,d;const u=t.pointStyle,f=t.rotation,h=t.radius;let m=(f||0)*qe;if(u&&"object"==typeof u&&(o=u.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(i,n),e.rotate(m),e.drawImage(u,-u.width/2,-u.height/2,u.width,u.height),void e.restore();if(!(isNaN(h)||h<=0)){switch(e.beginPath(),u){default:r?e.ellipse(i,n,r/2,h,0,0,Ue):e.arc(i,n,h,0,Ue),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(m)*h,n-Math.cos(m)*h),m+=tt,e.lineTo(i+Math.sin(m)*h,n-Math.cos(m)*h),m+=tt,e.lineTo(i+Math.sin(m)*h,n-Math.cos(m)*h),e.closePath();break;case"rectRounded":c=.516*h,a=h-c,s=Math.cos(m+et)*a,l=Math.sin(m+et)*a,e.arc(i-s,n-l,c,m-Ge,m-$e),e.arc(i+l,n-s,c,m-$e,m),e.arc(i+s,n+l,c,m,m+$e),e.arc(i-l,n+s,c,m+$e,m+Ge),e.closePath();break;case"rect":if(!f){a=Math.SQRT1_2*h,d=r?r/2:a,e.rect(i-d,n-a,2*d,2*a);break}m+=et;case"rectRot":s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+l,n-s),e.lineTo(i+s,n+l),e.lineTo(i-l,n+s),e.closePath();break;case"crossRot":m+=et;case"cross":s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i+l,n-s),e.lineTo(i-l,n+s);break;case"star":s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i+l,n-s),e.lineTo(i-l,n+s),m+=et,s=Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l),e.moveTo(i+l,n-s),e.lineTo(i-l,n+s);break;case"line":s=r?r/2:Math.cos(m)*h,l=Math.sin(m)*h,e.moveTo(i-s,n-l),e.lineTo(i+s,n+l);break;case"dash":e.moveTo(i,n),e.lineTo(i+Math.cos(m)*h,n+Math.sin(m)*h)}e.fill(),t.borderWidth>0&&e.stroke()}}function ki(e,t,i){return i=i||.5,!t||e&&e.x>t.left-i&&e.x<t.right+i&&e.y>t.top-i&&e.y<t.bottom+i}function Mi(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Bi(e){e.restore()}function Pi(e,t,i,n,r){if(!t)return e.lineTo(i.x,i.y);if("middle"===r){const n=(t.x+i.x)/2;e.lineTo(n,t.y),e.lineTo(n,i.y)}else"after"===r!=!!n?e.lineTo(t.x,i.y):e.lineTo(i.x,t.y);e.lineTo(i.x,i.y)}function Hi(e,t,i,n){if(!t)return e.lineTo(i.x,i.y);e.bezierCurveTo(n?t.cp1x:t.cp2x,n?t.cp1y:t.cp2y,n?i.cp2x:i.cp1x,n?i.cp2y:i.cp1y,i.x,i.y)}function Li(e,t,i,n,r,o={}){const s=De(t)?t:[t],l=o.strokeWidth>0&&""!==o.strokeColor;let a,c;for(e.save(),e.font=r.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]);Ae(t.rotation)||e.rotate(t.rotation);t.color&&(e.fillStyle=t.color);t.textAlign&&(e.textAlign=t.textAlign);t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),a=0;a<s.length;++a)c=s[a],l&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),Ae(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,i,n,o.maxWidth)),e.fillText(c,i,n,o.maxWidth),Oi(e,i,n,c,o),n+=r.lineHeight;e.restore()}function Oi(e,t,i,n,r){if(r.strikethrough||r.underline){const o=e.measureText(n),s=t-o.actualBoundingBoxLeft,l=t+o.actualBoundingBoxRight,a=i-o.actualBoundingBoxAscent,c=i+o.actualBoundingBoxDescent,d=r.strikethrough?(a+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(s,d),e.lineTo(l,d),e.stroke()}}function Si(e,t){const{x:i,y:n,w:r,h:o,radius:s}=t;e.arc(i+s.topLeft,n+s.topLeft,s.topLeft,-$e,Ge,!0),e.lineTo(i,n+o-s.bottomLeft),e.arc(i+s.bottomLeft,n+o-s.bottomLeft,s.bottomLeft,Ge,$e,!0),e.lineTo(i+r-s.bottomRight,n+o),e.arc(i+r-s.bottomRight,n+o-s.bottomRight,s.bottomRight,$e,0,!0),e.lineTo(i+r,n+s.topRight),e.arc(i+r-s.topRight,n+s.topRight,s.topRight,0,-$e,!0),e.lineTo(i+s.topLeft,n)}const Ii=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),Ri=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function Fi(e,t){const i=(""+e).match(Ii);if(!i||"normal"===i[1])return 1.2*t;switch(e=+i[2],i[3]){case"px":return e;case"%":e/=100}return t*e}const zi=e=>+e||0;function Qi(e,t){const i={},n=ke(t),r=n?Object.keys(t):t,o=ke(e)?n?i=>Pe(e[i],e[t[i]]):t=>e[t]:()=>e;for(const e of r)i[e]=zi(o(e));return i}function ji(e){return Qi(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Vi(e){return Qi(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Ti(e){const t=ji(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function Yi(e,t){e=e||{},t=t||xi.font;let i=Pe(e.size,t.size);"string"==typeof i&&(i=parseInt(i,10));let n=Pe(e.style,t.style);n&&!(""+n).match(Ri)&&(console.warn('Invalid font style specified: "'+n+'"'),n="");const r={family:Pe(e.family,t.family),lineHeight:Fi(Pe(e.lineHeight,t.lineHeight),i),size:i,style:n,weight:Pe(e.weight,t.weight),string:""};return r.string=function(e){return!e||Ae(e.size)||Ae(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r}function Xi(e,t,i,n){let r,o,s,l=!0;for(r=0,o=e.length;r<o;++r)if(s=e[r],void 0!==s&&(void 0!==t&&"function"==typeof s&&(s=s(t),l=!1),void 0!==i&&De(s)&&(s=s[i%s.length],l=!1),void 0!==s))return n&&!l&&(n.cacheable=!1),s}function Wi(e,t){return Object.assign(Object.create(e),t)}function Zi(e,t=[""],i=e,n,r=(()=>e[0])){Xe(n)||(n=on("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:i,_fallback:n,_getTarget:r,override:r=>Zi([r,...e],t,i,n)};return new Proxy(o,{deleteProperty:(t,i)=>(delete t[i],delete t._keys,delete e[0][i],!0),get:(i,n)=>qi(i,n,(()=>function(e,t,i,n){let r;for(const o of t)if(r=on(Ki(o,e),i),Xe(r))return Ji(e,r)?nn(i,n,e,r):r}(n,t,e,i))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>sn(e).includes(t),ownKeys:e=>sn(e),set(e,t,i){const n=e._storage||(e._storage=r());return e[t]=n[t]=i,delete e._keys,!0}})}function Gi(e,t,i,n){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:i,_stack:new Set,_descriptors:Ui(e,n),setContext:t=>Gi(e,t,i,n),override:r=>Gi(e.override(r),t,i,n)};return new Proxy(r,{deleteProperty:(t,i)=>(delete t[i],delete e[i],!0),get:(e,t,i)=>qi(e,t,(()=>function(e,t,i){const{_proxy:n,_context:r,_subProxy:o,_descriptors:s}=e;let l=n[t];We(l)&&s.isScriptable(t)&&(l=function(e,t,i,n){const{_proxy:r,_context:o,_subProxy:s,_stack:l}=i;if(l.has(e))throw new Error("Recursion detected: "+Array.from(l).join("->")+"->"+e);l.add(e),t=t(o,s||n),l.delete(e),Ji(e,t)&&(t=nn(r._scopes,r,e,t));return t}(t,l,e,i));De(l)&&l.length&&(l=function(e,t,i,n){const{_proxy:r,_context:o,_subProxy:s,_descriptors:l}=i;if(Xe(o.index)&&n(e))t=t[o.index%t.length];else if(ke(t[0])){const i=t,n=r._scopes.filter((e=>e!==i));t=[];for(const a of i){const i=nn(n,r,e,a);t.push(Gi(i,o,s&&s[e],l))}}return t}(t,l,e,s.isIndexable));Ji(t,l)&&(l=Gi(l,r,o&&o[t],s));return l}(e,t,i))),getOwnPropertyDescriptor:(t,i)=>t._descriptors.allKeys?Reflect.has(e,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,i),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,i)=>Reflect.has(e,i),ownKeys:()=>Reflect.ownKeys(e),set:(t,i,n)=>(e[i]=n,delete t[i],!0)})}function Ui(e,t={scriptable:!0,indexable:!0}){const{_scriptable:i=t.scriptable,_indexable:n=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:i,indexable:n,isScriptable:We(i)?i:()=>i,isIndexable:We(n)?n:()=>n}}const Ki=(e,t)=>e?e+Ye(t):t,Ji=(e,t)=>ke(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function qi(e,t,i){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const n=i();return e[t]=n,n}function $i(e,t,i){return We(e)?e(t,i):e}const en=(e,t)=>!0===e?t:"string"==typeof e?Te(t,e):void 0;function tn(e,t,i,n,r){for(const o of t){const t=en(i,o);if(t){e.add(t);const o=$i(t._fallback,i,r);if(Xe(o)&&o!==i&&o!==n)return o}else if(!1===t&&Xe(n)&&i!==n)return null}return!1}function nn(e,t,i,n){const r=t._rootScopes,o=$i(t._fallback,i,n),s=[...e,...r],l=new Set;l.add(n);let a=rn(l,s,i,o||i,n);return null!==a&&((!Xe(o)||o===i||(a=rn(l,s,o,a,n),null!==a))&&Zi(Array.from(l),[""],r,o,(()=>function(e,t,i){const n=e._getTarget();t in n||(n[t]={});const r=n[t];if(De(r)&&ke(i))return i;return r}(t,i,n))))}function rn(e,t,i,n,r){for(;i;)i=tn(e,t,i,n,r);return i}function on(e,t){for(const i of t){if(!i)continue;const t=i[e];if(Xe(t))return t}}function sn(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const i of e)for(const e of Object.keys(i).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function ln(e,t,i,n){const{iScale:r}=e,{key:o="r"}=this._parsing,s=new Array(n);let l,a,c,d;for(l=0,a=n;l<a;++l)c=l+i,d=t[c],s[l]={r:r.parse(Te(d,o),c)};return s}const an=Number.EPSILON||1e-14,cn=(e,t)=>t<e.length&&!e[t].skip&&e[t],dn=e=>"x"===e?"y":"x";function un(e,t,i,n){const r=e.skip?t:e,o=t,s=i.skip?t:i,l=ft(o,r),a=ft(s,o);let c=l/(l+a),d=a/(l+a);c=isNaN(c)?0:c,d=isNaN(d)?0:d;const u=n*c,f=n*d;return{previous:{x:o.x-u*(s.x-r.x),y:o.y-u*(s.y-r.y)},next:{x:o.x+f*(s.x-r.x),y:o.y+f*(s.y-r.y)}}}function fn(e,t="x"){const i=dn(t),n=e.length,r=Array(n).fill(0),o=Array(n);let s,l,a,c=cn(e,0);for(s=0;s<n;++s)if(l=a,a=c,c=cn(e,s+1),a){if(c){const e=c[t]-a[t];r[s]=0!==e?(c[i]-a[i])/e:0}o[s]=l?c?nt(r[s-1])!==nt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}!function(e,t,i){const n=e.length;let r,o,s,l,a,c=cn(e,0);for(let d=0;d<n-1;++d)a=c,c=cn(e,d+1),a&&c&&(st(t[d],0,an)?i[d]=i[d+1]=0:(r=i[d]/t[d],o=i[d+1]/t[d],l=Math.pow(r,2)+Math.pow(o,2),l<=9||(s=3/Math.sqrt(l),i[d]=r*s*t[d],i[d+1]=o*s*t[d])))}(e,r,o),function(e,t,i="x"){const n=dn(i),r=e.length;let o,s,l,a=cn(e,0);for(let c=0;c<r;++c){if(s=l,l=a,a=cn(e,c+1),!l)continue;const r=l[i],d=l[n];s&&(o=(r-s[i])/3,l[`cp1${i}`]=r-o,l[`cp1${n}`]=d-o*t[c]),a&&(o=(a[i]-r)/3,l[`cp2${i}`]=r+o,l[`cp2${n}`]=d+o*t[c])}}(e,o,t)}function hn(e,t,i){return Math.max(Math.min(e,i),t)}function mn(e,t,i,n,r){let o,s,l,a;if(t.spanGaps&&(e=e.filter((e=>!e.skip))),"monotone"===t.cubicInterpolationMode)fn(e,r);else{let i=n?e[e.length-1]:e[0];for(o=0,s=e.length;o<s;++o)l=e[o],a=un(i,l,e[Math.min(o+1,s-(n?0:1))%s],t.tension),l.cp1x=a.previous.x,l.cp1y=a.previous.y,l.cp2x=a.next.x,l.cp2y=a.next.y,i=l}t.capBezierPoints&&function(e,t){let i,n,r,o,s,l=ki(e[0],t);for(i=0,n=e.length;i<n;++i)s=o,o=l,l=i<n-1&&ki(e[i+1],t),o&&(r=e[i],s&&(r.cp1x=hn(r.cp1x,t.left,t.right),r.cp1y=hn(r.cp1y,t.top,t.bottom)),l&&(r.cp2x=hn(r.cp2x,t.left,t.right),r.cp2y=hn(r.cp2y,t.top,t.bottom)))}(e,i)}function pn(){return"undefined"!=typeof window&&"undefined"!=typeof document}function gn(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function bn(e,t,i){let n;return"string"==typeof e?(n=parseInt(e,10),-1!==e.indexOf("%")&&(n=n/100*t.parentNode[i])):n=e,n}const _n=e=>window.getComputedStyle(e,null);const Cn=["top","right","bottom","left"];function vn(e,t,i){const n={};i=i?"-"+i:"";for(let r=0;r<4;r++){const o=Cn[r];n[o]=parseFloat(e[t+"-"+o+i])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const xn=(e,t,i)=>(e>0||t>0)&&(!i||!i.shadowRoot);function Nn(e,t){if("native"in e)return e;const{canvas:i,currentDevicePixelRatio:n}=t,r=_n(i),o="border-box"===r.boxSizing,s=vn(r,"padding"),l=vn(r,"border","width"),{x:a,y:c,box:d}=function(e,t){const i=e.touches,n=i&&i.length?i[0]:e,{offsetX:r,offsetY:o}=n;let s,l,a=!1;if(xn(r,o,e.target))s=r,l=o;else{const e=t.getBoundingClientRect();s=n.clientX-e.left,l=n.clientY-e.top,a=!0}return{x:s,y:l,box:a}}(e,i),u=s.left+(d&&l.left),f=s.top+(d&&l.top);let{width:h,height:m}=t;return o&&(h-=s.width+l.width,m-=s.height+l.height),{x:Math.round((a-u)/h*i.width/n),y:Math.round((c-f)/m*i.height/n)}}const wn=e=>Math.round(10*e)/10;function yn(e,t,i,n){const r=_n(e),o=vn(r,"margin"),s=bn(r.maxWidth,e,"clientWidth")||Je,l=bn(r.maxHeight,e,"clientHeight")||Je,a=function(e,t,i){let n,r;if(void 0===t||void 0===i){const o=gn(e);if(o){const e=o.getBoundingClientRect(),s=_n(o),l=vn(s,"border","width"),a=vn(s,"padding");t=e.width-a.width-l.width,i=e.height-a.height-l.height,n=bn(s.maxWidth,o,"clientWidth"),r=bn(s.maxHeight,o,"clientHeight")}else t=e.clientWidth,i=e.clientHeight}return{width:t,height:i,maxWidth:n||Je,maxHeight:r||Je}}(e,t,i);let{width:c,height:d}=a;if("content-box"===r.boxSizing){const e=vn(r,"border","width"),t=vn(r,"padding");c-=t.width+e.width,d-=t.height+e.height}return c=Math.max(0,c-o.width),d=Math.max(0,n?Math.floor(c/n):d-o.height),c=wn(Math.min(c,s,a.maxWidth)),d=wn(Math.min(d,l,a.maxHeight)),c&&!d&&(d=wn(c/2)),{width:c,height:d}}function En(e,t,i){const n=t||1,r=Math.floor(e.height*n),o=Math.floor(e.width*n);e.height=r/n,e.width=o/n;const s=e.canvas;return s.style&&(i||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==n||s.height!==r||s.width!==o)&&(e.currentDevicePixelRatio=n,s.height=r,s.width=o,e.ctx.setTransform(n,0,0,n,0,0),!0)}const An=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}();function Dn(e,t){const i=function(e,t){return _n(e).getPropertyValue(t)}(e,t),n=i&&i.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function kn(e,t,i,n){return{x:e.x+i*(t.x-e.x),y:e.y+i*(t.y-e.y)}}function Mn(e,t,i,n){return{x:e.x+i*(t.x-e.x),y:"middle"===n?i<.5?e.y:t.y:"after"===n?i<1?e.y:t.y:i>0?t.y:e.y}}function Bn(e,t,i,n){const r={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},s=kn(e,r,i),l=kn(r,o,i),a=kn(o,t,i),c=kn(s,l,i),d=kn(l,a,i);return kn(c,d,i)}const Pn=new Map;function Hn(e,t,i){return function(e,t){t=t||{};const i=e+JSON.stringify(t);let n=Pn.get(i);return n||(n=new Intl.NumberFormat(e,t),Pn.set(i,n)),n}(t,i).format(e)}function Ln(e,t,i){return e?function(e,t){return{x:i=>e+e+t-i,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,i):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function On(e,t){let i,n;"ltr"!==t&&"rtl"!==t||(i=e.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",t,"important"),e.prevTextDirection=n)}function Sn(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function In(e){return"angle"===e?{between:pt,compare:ht,normalize:mt}:{between:bt,compare:(e,t)=>e-t,normalize:e=>e}}function Rn({start:e,end:t,count:i,loop:n,style:r}){return{start:e%i,end:t%i,loop:n&&(t-e+1)%i==0,style:r}}function Fn(e,t,i){if(!i)return[e];const{property:n,start:r,end:o}=i,s=t.length,{compare:l,between:a,normalize:c}=In(n),{start:d,end:u,loop:f,style:h}=function(e,t,i){const{property:n,start:r,end:o}=i,{between:s,normalize:l}=In(n),a=t.length;let c,d,{start:u,end:f,loop:h}=e;if(h){for(u+=a,f+=a,c=0,d=a;c<d&&s(l(t[u%a][n]),r,o);++c)u--,f--;u%=a,f%=a}return f<u&&(f+=a),{start:u,end:f,loop:h,style:e.style}}(e,t,i),m=[];let p,g,b,_=!1,C=null;const v=()=>_||a(r,b,p)&&0!==l(r,b),x=()=>!_||0===l(o,p)||a(o,b,p);for(let e=d,i=d;e<=u;++e)g=t[e%s],g.skip||(p=c(g[n]),p!==b&&(_=a(p,r,o),null===C&&v()&&(C=0===l(p,r)?e:i),null!==C&&x()&&(m.push(Rn({start:C,end:e,loop:f,count:s,style:h})),C=null),i=e,b=p));return null!==C&&m.push(Rn({start:C,end:u,loop:f,count:s,style:h})),m}function zn(e,t){const i=[],n=e.segments;for(let r=0;r<n.length;r++){const o=Fn(n[r],e.points,t);o.length&&i.push(...o)}return i}function Qn(e,t,i,n){return n&&n.setContext&&i?function(e,t,i,n){const r=e._chart.getContext(),o=jn(e.options),{_datasetIndex:s,options:{spanGaps:l}}=e,a=i.length,c=[];let d=o,u=t[0].start,f=u;function h(e,t,n,r){const o=l?-1:1;if(e!==t){for(e+=a;i[e%a].skip;)e-=o;for(;i[t%a].skip;)t+=o;e%a!=t%a&&(c.push({start:e%a,end:t%a,loop:n,style:r}),d=r,u=t%a)}}for(const e of t){u=l?u:e.start;let t,o=i[u%a];for(f=u+1;f<=e.end;f++){const l=i[f%a];t=jn(n.setContext(Wi(r,{type:"segment",p0:o,p1:l,p0DataIndex:(f-1)%a,p1DataIndex:f%a,datasetIndex:s}))),Vn(t,d)&&h(u,f-1,e.loop,d),o=l,d=t}u<f-1&&h(u,f-1,e.loop,d)}return c}(e,t,i,n):t}function jn(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Vn(e,t){return t&&JSON.stringify(e)!==JSON.stringify(t)}
|
|
919
919
|
/*!
|
|
920
920
|
* Chart.js v3.9.1
|
|
921
921
|
* https://www.chartjs.org
|
|
922
922
|
* (c) 2022 Chart.js Contributors
|
|
923
923
|
* Released under the MIT License
|
|
924
|
-
*/var Tn=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,n){const r=t.listeners[n],o=t.duration;r.forEach((n=>n({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(i-t.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=yt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((i,n)=>{if(!i.running||!i.items.length)return;const r=i.items;let o,s=r.length-1,l=!1;for(;s>=0;--s)o=r[s],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(e),l=!0):(r[s]=r[r.length-1],r.pop());l&&(n.draw(),this._notify(n,i,e,"progress")),r.length||(i.running=!1,this._notify(n,i,e,"complete"),i.initial=!1),t+=r.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let n=i.length-1;for(;n>=0;--n)i[n].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const Yn="transparent",Xn={boolean:(e,t,i)=>i>.5?t:e,color(e,t,i){const n=pi(e||Yn),r=n.valid&&pi(t||Yn);return r&&r.valid?r.mix(n,i).hexString():t},number:(e,t,i)=>e+(t-e)*i};class Wn{constructor(e,t,i,n){const r=t[i];n=Xi([e.to,n,r,e.from]);const o=Xi([e.from,r,n]);this._active=!0,this._fn=e.fn||Xn[e.type||typeof o],this._easing=Lt[e.easing]||Lt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=o,this._to=n,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const n=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=Xi([e.to,t,n,e.from]),this._from=Xi([e.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,n=this._prop,r=this._from,o=this._loop,s=this._to;let l;if(this._active=r!==s&&(o||t<i),!this._active)return this._target[n]=s,void this._notify(!0);t<0?this._target[n]=r:(l=t/i%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(r,s,l))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,i)=>{e.push({res:t,rej:i})}))}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let e=0;e<i.length;e++)i[e][t]()}}xi.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Zn=Object.keys(xi.animation);xi.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),xi.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),xi.describe("animations",{_fallback:"animation"}),xi.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}});class Gn{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!ke(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach((i=>{const n=e[i];if(!ke(n))return;const r={};for(const e of Zn)r[e]=n[e];(De(n.properties)&&n.properties||[i]).forEach((e=>{e!==i&&t.has(e)||t.set(e,r)}))}))}_animateOptions(e,t){const i=t.options,n=function(e,t){if(!t)return;let i=e.options;if(!i)return void(e.options=t);i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(e,i);if(!n)return[];const r=this._createAnimations(n,i);return i.$shared&&function(e,t){const i=[],n=Object.keys(t);for(let t=0;t<n.length;t++){const r=e[n[t]];r&&r.active()&&i.push(r.wait())}return Promise.all(i)}(e.options.$animations,i).then((()=>{e.options=i}),(()=>{})),r}_createAnimations(e,t){const i=this._properties,n=[],r=e.$animations||(e.$animations={}),o=Object.keys(t),s=Date.now();let l;for(l=o.length-1;l>=0;--l){const a=o[l];if("$"===a.charAt(0))continue;if("options"===a){n.push(...this._animateOptions(e,t));continue}const c=t[a];let d=r[a];const u=i.get(a);if(d){if(u&&d.active()){d.update(u,c,s);continue}d.cancel()}u&&u.duration?(r[a]=d=new Wn(u,e,a,c),n.push(d)):e[a]=c}return n}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const i=this._createAnimations(e,t);return i.length?(Tn.add(this._chart,i),!0):void 0}}function Un(e,t){const i=e&&e.options||{},n=i.reverse,r=void 0===i.min?t:0,o=void 0===i.max?t:0;return{start:n?o:r,end:n?r:o}}function Kn(e,t){const i=[],n=e._getSortedDatasetMetas(t);let r,o;for(r=0,o=n.length;r<o;++r)i.push(n[r].index);return i}function Jn(e,t,i,n={}){const r=e.keys,o="single"===n.mode;let s,l,a,c;if(null!==t){for(s=0,l=r.length;s<l;++s){if(a=+r[s],a===i){if(n.all)continue;break}c=e.values[a],Me(c)&&(o||0===t||nt(t)===nt(c))&&(t+=c)}return t}}function qn(e,t){const i=e&&e.options.stacked;return i||void 0===i&&void 0!==t.stack}function $n(e,t,i){const n=e[t]||(e[t]={});return n[i]||(n[i]={})}function er(e,t,i,n){for(const r of t.getMatchingVisibleMetas(n).reverse()){const t=e[r.index];if(i&&t>0||!i&&t<0)return r.index}return null}function tr(e,t){const{chart:i,_cachedMeta:n}=e,r=i._stacks||(i._stacks={}),{iScale:o,vScale:s,index:l}=n,a=o.axis,c=s.axis,d=function(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}(o,s,n),u=t.length;let f;for(let e=0;e<u;++e){const i=t[e],{[a]:o,[c]:u}=i;f=(i._stacks||(i._stacks={}))[c]=$n(r,d,o),f[l]=u,f._top=er(f,s,!0,n.type),f._bottom=er(f,s,!1,n.type)}}function ir(e,t){const i=e.scales;return Object.keys(i).filter((e=>i[e].axis===t)).shift()}function nr(e,t){const i=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[n]||void 0===t[n][i])return;delete t[n][i]}}}const rr=e=>"reset"===e||"none"===e,or=(e,t)=>t?e:Object.assign({},e);class sr{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=qn(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&nr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),n=(e,t,i,n)=>"x"===e?t:"r"===e?n:i,r=t.xAxisID=Pe(i.xAxisID,ir(e,"x")),o=t.yAxisID=Pe(i.yAxisID,ir(e,"y")),s=t.rAxisID=Pe(i.rAxisID,ir(e,"r")),l=t.indexAxis,a=t.iAxisID=n(l,r,o,s),c=t.vAxisID=n(l,o,r,s);t.xScale=this.getScaleForId(r),t.yScale=this.getScaleForId(o),t.rScale=this.getScaleForId(s),t.iScale=this.getScaleForId(a),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Nt(this._data,this),e._stacked&&nr(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(ke(t))this._data=function(e){const t=Object.keys(e),i=new Array(t.length);let n,r,o;for(n=0,r=t.length;n<r;++n)o=t[n],i[n]={x:o,y:e[o]};return i}(t);else if(i!==t){if(i){Nt(i,this);const e=this._cachedMeta;nr(e),e._parsed=[]}t&&Object.isExtensible(t)&&(r=this,(n=t)._chartjs?n._chartjs.listeners.push(r):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[r]}}),xt.forEach((e=>{const t="_onData"+Ye(e),i=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...e){const r=i.apply(this,e);return n._chartjs.listeners.forEach((i=>{"function"==typeof i[t]&&i[t](...e)})),r}})})))),this._syncList=[],this._data=t}var n,r}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,i=this.getDataset();let n=!1;this._dataCheck();const r=t._stacked;t._stacked=qn(t.vScale,t),t.stack!==i.stack&&(n=!0,nr(t),t.stack=i.stack),this._resyncElements(e),(n||r!==t._stacked)&&tr(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:n}=this,{iScale:r,_stacked:o}=i,s=r.axis;let l,a,c,d=0===e&&t===n.length||i._sorted,u=e>0&&i._parsed[e-1];if(!1===this._parsing)i._parsed=n,i._sorted=!0,c=n;else{c=De(n[e])?this.parseArrayData(i,n,e,t):ke(n[e])?this.parseObjectData(i,n,e,t):this.parsePrimitiveData(i,n,e,t);const r=()=>null===a[s]||u&&a[s]<u[s];for(l=0;l<t;++l)i._parsed[l+e]=a=c[l],d&&(r()&&(d=!1),u=a);i._sorted=d}o&&tr(this,c)}parsePrimitiveData(e,t,i,n){const{iScale:r,vScale:o}=e,s=r.axis,l=o.axis,a=r.getLabels(),c=r===o,d=new Array(n);let u,f,h;for(u=0,f=n;u<f;++u)h=u+i,d[u]={[s]:c||r.parse(a[h],h),[l]:o.parse(t[h],h)};return d}parseArrayData(e,t,i,n){const{xScale:r,yScale:o}=e,s=new Array(n);let l,a,c,d;for(l=0,a=n;l<a;++l)c=l+i,d=t[c],s[l]={x:r.parse(d[0],c),y:o.parse(d[1],c)};return s}parseObjectData(e,t,i,n){const{xScale:r,yScale:o}=e,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,a=new Array(n);let c,d,u,f;for(c=0,d=n;c<d;++c)u=c+i,f=t[u],a[c]={x:r.parse(Te(f,s),u),y:o.parse(Te(f,l),u)};return a}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){const n=this.chart,r=this._cachedMeta,o=t[e.axis];return Jn({keys:Kn(n,!0),values:t._stacks[e.axis]},o,r.index,{mode:i})}updateRangeFromParsed(e,t,i,n){const r=i[t.axis];let o=null===r?NaN:r;const s=n&&i._stacks[t.axis];n&&s&&(n.values=s,o=Jn(n,r,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const i=this._cachedMeta,n=i._parsed,r=i._sorted&&e===i.iScale,o=n.length,s=this._getOtherScale(e),l=((e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:Kn(i,!0),values:null})(t,i,this.chart),a={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(e){const{min:t,max:i,minDefined:n,maxDefined:r}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:r?i:Number.POSITIVE_INFINITY}}(s);let u,f;function h(){f=n[u];const t=f[s.axis];return!Me(f[e.axis])||c>t||d<t}for(u=0;u<o&&(h()||(this.updateRangeFromParsed(a,e,f,l),!r));++u);if(r)for(u=o-1;u>=0;--u)if(!h()){this.updateRangeFromParsed(a,e,f,l);break}return a}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let n,r,o;for(n=0,r=t.length;n<r;++n)o=t[n][e.axis],Me(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,i=t.iScale,n=t.vScale,r=this.getParsed(e);return{label:i?""+i.getLabelForValue(r[i.axis]):"",value:n?""+n.getLabelForValue(r[n.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,i,n,r;return ke(e)?(t=e.top,i=e.right,n=e.bottom,r=e.left):t=i=n=r=e,{top:t,right:i,bottom:n,left:r,disabled:!1===e}}(Pe(this.options.clip,function(e,t,i){if(!1===i)return!1;const n=Un(e,i),r=Un(t,i);return{top:r.end,right:n.end,bottom:r.start,left:n.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,i=this._cachedMeta,n=i.data||[],r=t.chartArea,o=[],s=this._drawStart||0,l=this._drawCount||n.length-s,a=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(e,r,s,l),c=s;c<s+l;++c){const t=n[c];t.hidden||(t.active&&a?o.push(t):t.draw(e,r))}for(c=0;c<o.length;++c)o[c].draw(e,r)}getStyle(e,t){const i=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){const n=this.getDataset();let r;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];r=t.$context||(t.$context=function(e,t,i){return Wi(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),r.parsed=this.getParsed(e),r.raw=n.data[e],r.index=r.dataIndex=e}else r=this.$context||(this.$context=function(e,t){return Wi(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),r.dataset=n,r.index=r.datasetIndex=this.index;return r.active=!!t,r.mode=i,r}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){const n="active"===t,r=this._cachedDataOpts,o=e+"-"+t,s=r[o],l=this.enableOptionSharing&&Xe(i);if(s)return or(s,l);const a=this.chart.config,c=a.datasetElementScopeKeys(this._type,e),d=n?[`${e}Hover`,"hover",e,""]:[e,""],u=a.getOptionScopes(this.getDataset(),c),f=Object.keys(xi.elements[e]),h=a.resolveNamedOptions(u,f,(()=>this.getContext(i,n)),d);return h.$shared&&(h.$shared=l,r[o]=Object.freeze(or(h,l))),h}_resolveAnimations(e,t,i){const n=this.chart,r=this._cachedDataOpts,o=`animation-${t}`,s=r[o];if(s)return s;let l;if(!1!==n.options.animation){const n=this.chart.config,r=n.datasetAnimationScopeKeys(this._type,t),o=n.getOptionScopes(this.getDataset(),r);l=n.createResolver(o,this.getContext(e,i,t))}const a=new Gn(n,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(a)),a}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||rr(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),n=this._sharedOptions,r=this.getSharedOptions(i),o=this.includeOptions(t,r)||r!==n;return this.updateSharedOptions(r,t,i),{sharedOptions:r,includeOptions:o}}updateElement(e,t,i,n){rr(n)?Object.assign(e,i):this._resolveAnimations(t,n).update(e,i)}updateSharedOptions(e,t,i){e&&!rr(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,n){e.active=n;const r=this.getStyle(t,n);this._resolveAnimations(t,i,n).update(e,{options:!n&&this.getSharedOptions(r)||r})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,i=this._cachedMeta.data;for(const[e,t,i]of this._syncList)this[e](t,i);this._syncList=[];const n=i.length,r=t.length,o=Math.min(r,n);o&&this.parse(0,o),r>n?this._insertElements(n,r-n,e):r<n&&this._removeElements(r,n-r)}_insertElements(e,t,i=!0){const n=this._cachedMeta,r=n.data,o=e+t;let s;const l=e=>{for(e.length+=t,s=e.length-1;s>=o;s--)e[s]=e[s-t]};for(l(r),s=e;s<o;++s)r[s]=new this.dataElementType;this._parsing&&l(n._parsed),this.parse(e,t),i&&this.updateElements(r,e,t,"reset")}updateElements(e,t,i,n){}_removeElements(e,t){const i=this._cachedMeta;if(this._parsing){const n=i._parsed.splice(e,t);i._stacked&&nr(i,n)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,i,n]=e;this[t](i,n)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function lr(e){const t=e.iScale,i=function(e,t){if(!e._cache.$bar){const i=e.getMatchingVisibleMetas(t);let n=[];for(let t=0,r=i.length;t<r;t++)n=n.concat(i[t].controller.getAllParsedValues(e));e._cache.$bar=wt(n.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let n,r,o,s,l=t._length;const a=()=>{32767!==o&&-32768!==o&&(Xe(s)&&(l=Math.min(l,Math.abs(o-s)||l)),s=o)};for(n=0,r=i.length;n<r;++n)o=t.getPixelForValue(i[n]),a();for(s=void 0,n=0,r=t.ticks.length;n<r;++n)o=t.getPixelForTick(n),a();return l}function ar(e,t,i,n){return De(e)?function(e,t,i,n){const r=i.parse(e[0],n),o=i.parse(e[1],n),s=Math.min(r,o),l=Math.max(r,o);let a=s,c=l;Math.abs(s)>Math.abs(l)&&(a=l,c=s),t[i.axis]=c,t._custom={barStart:a,barEnd:c,start:r,end:o,min:s,max:l}}(e,t,i,n):t[i.axis]=i.parse(e,n),t}function cr(e,t,i,n){const r=e.iScale,o=e.vScale,s=r.getLabels(),l=r===o,a=[];let c,d,u,f;for(c=i,d=i+n;c<d;++c)f=t[c],u={},u[r.axis]=l||r.parse(s[c],c),a.push(ar(f,u,o,c));return a}function dr(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function ur(e,t,i,n){let r=t.borderSkipped;const o={};if(!r)return void(e.borderSkipped=o);if(!0===r)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:s,end:l,reverse:a,top:c,bottom:d}=function(e){let t,i,n,r,o;return e.horizontal?(t=e.base>e.x,i="left",n="right"):(t=e.base<e.y,i="bottom",n="top"),t?(r="end",o="start"):(r="start",o="end"),{start:i,end:n,reverse:t,top:r,bottom:o}}(e);"middle"===r&&i&&(e.enableBorderRadius=!0,(i._top||0)===n?r=c:(i._bottom||0)===n?r=d:(o[fr(d,s,l,a)]=!0,r=c)),o[fr(r,s,l,a)]=!0,e.borderSkipped=o}function fr(e,t,i,n){var r,o,s;return n?(s=i,e=hr(e=(r=e)===(o=t)?s:r===s?o:r,i,t)):e=hr(e,t,i),e}function hr(e,t,i){return"start"===e?t:"end"===e?i:e}function mr(e,{inflateAmount:t},i){e.inflateAmount="auto"===t?1===i?.33:0:t}sr.defaults={},sr.prototype.datasetElementType=null,sr.prototype.dataElementType=null;class pr extends sr{parsePrimitiveData(e,t,i,n){return cr(e,t,i,n)}parseArrayData(e,t,i,n){return cr(e,t,i,n)}parseObjectData(e,t,i,n){const{iScale:r,vScale:o}=e,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,a="x"===r.axis?s:l,c="x"===o.axis?s:l,d=[];let u,f,h,m;for(u=i,f=i+n;u<f;++u)m=t[u],h={},h[r.axis]=r.parse(Te(m,a),u),d.push(ar(Te(m,c),h,o,u));return d}updateRangeFromParsed(e,t,i,n){super.updateRangeFromParsed(e,t,i,n);const r=i._custom;r&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:i,vScale:n}=t,r=this.getParsed(e),o=r._custom,s=dr(o)?"["+o.start+", "+o.end+"]":""+n.getLabelForValue(r[n.axis]);return{label:""+i.getLabelForValue(r[i.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,i,n){const r="reset"===n,{index:o,_cachedMeta:{vScale:s}}=this,l=s.getBasePixel(),a=s.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(t,n);for(let f=t;f<t+i;f++){const t=this.getParsed(f),i=r||Ae(t[s.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),h=this._calculateBarIndexPixels(f,c),m=(t._stacks||{})[s.axis],p={horizontal:a,base:i.base,enableBorderRadius:!m||dr(t._custom)||o===m._top||o===m._bottom,x:a?i.head:h.center,y:a?h.center:i.head,height:a?h.size:Math.abs(i.size),width:a?Math.abs(i.size):h.size};u&&(p.options=d||this.resolveDataElementOptions(f,e[f].active?"active":n));const g=p.options||e[f].options;ur(p,g,m,o),mr(p,g,c.ratio),this.updateElement(e[f],f,p,n)}}_getStacks(e,t){const{iScale:i}=this._cachedMeta,n=i.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),r=i.options.stacked,o=[],s=e=>{const i=e.controller.getParsed(t),n=i&&i[e.vScale.axis];if(Ae(n)||isNaN(n))return!0};for(const i of n)if((void 0===t||!s(i))&&((!1===r||-1===o.indexOf(i.stack)||void 0===r&&void 0===i.stack)&&o.push(i.stack),i.index===e))break;return o.length||o.push(void 0),o}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,i){const n=this._getStacks(e,i),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r}_getRuler(){const e=this.options,t=this._cachedMeta,i=t.iScale,n=[];let r,o;for(r=0,o=t.data.length;r<o;++r)n.push(i.getPixelForValue(this.getParsed(r)[i.axis],r));const s=e.barThickness;return{min:s||lr(t),pixels:n,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:e.grouped,ratio:s?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:i},options:{base:n,minBarLength:r}}=this,o=n||0,s=this.getParsed(e),l=s._custom,a=dr(l);let c,d,u=s[t.axis],f=0,h=i?this.applyStack(t,s,i):u;h!==u&&(f=h-u,h=u),a&&(u=l.barStart,h=l.barEnd-l.barStart,0!==u&&nt(u)!==nt(l.barEnd)&&(f=0),f+=u);const m=Ae(n)||a?f:n;let p=t.getPixelForValue(m);if(c=this.chart.getDataVisibility(e)?t.getPixelForValue(f+h):p,d=c-p,Math.abs(d)<r){d=function(e,t,i){return 0!==e?nt(e):(t.isHorizontal()?1:-1)*(t.min>=i?1:-1)}(d,t,o)*r,u===o&&(p-=d/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),n=Math.min(e,i),s=Math.max(e,i);p=Math.max(Math.min(p,s),n),c=p+d}if(p===t.getPixelForValue(o)){const e=nt(d)*t.getLineWidthForValue(o)/2;p+=e,d-=e}return{size:d,base:p,head:c,center:c+d/2}}_calculateBarIndexPixels(e,t){const i=t.scale,n=this.options,r=n.skipNull,o=Pe(n.maxBarThickness,1/0);let s,l;if(t.grouped){const i=r?this._getStackCount(e):t.stackCount,a="flex"===n.barThickness?function(e,t,i,n){const r=t.pixels,o=r[e];let s=e>0?r[e-1]:null,l=e<r.length-1?r[e+1]:null;const a=i.categoryPercentage;null===s&&(s=o-(null===l?t.end-t.start:l-o)),null===l&&(l=o+o-s);const c=o-(o-Math.min(s,l))/2*a;return{chunk:Math.abs(l-s)/2*a/n,ratio:i.barPercentage,start:c}}(e,t,n,i):function(e,t,i,n){const r=i.barThickness;let o,s;return Ae(r)?(o=t.min*i.categoryPercentage,s=i.barPercentage):(o=r*n,s=1),{chunk:o/n,ratio:s,start:t.pixels[e]-o/2}}(e,t,n,i),c=this._getStackIndex(this.index,this._cachedMeta.stack,r?e:void 0);s=a.start+a.chunk*c+a.chunk/2,l=Math.min(o,a.chunk*a.ratio)}else s=i.getPixelForValue(this.getParsed(e)[i.axis],e),l=Math.min(o,t.min*t.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const e=this._cachedMeta,t=e.vScale,i=e.data,n=i.length;let r=0;for(;r<n;++r)null!==this.getParsed(r)[t.axis]&&i[r].draw(this._ctx)}}pr.id="bar",pr.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},pr.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class gr extends sr{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,i,n){const r=super.parsePrimitiveData(e,t,i,n);for(let e=0;e<r.length;e++)r[e]._custom=this.resolveDataElementOptions(e+i).radius;return r}parseArrayData(e,t,i,n){const r=super.parseArrayData(e,t,i,n);for(let e=0;e<r.length;e++){const n=t[i+e];r[e]._custom=Pe(n[2],this.resolveDataElementOptions(e+i).radius)}return r}parseObjectData(e,t,i,n){const r=super.parseObjectData(e,t,i,n);for(let e=0;e<r.length;e++){const n=t[i+e];r[e]._custom=Pe(n&&n.r&&+n.r,this.resolveDataElementOptions(e+i).radius)}return r}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:i,yScale:n}=t,r=this.getParsed(e),o=i.getLabelForValue(r.x),s=n.getLabelForValue(r.y),l=r._custom;return{label:t.label,value:"("+o+", "+s+(l?", "+l:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,i,n){const r="reset"===n,{iScale:o,vScale:s}=this._cachedMeta,{sharedOptions:l,includeOptions:a}=this._getSharedOptions(t,n),c=o.axis,d=s.axis;for(let u=t;u<t+i;u++){const t=e[u],i=!r&&this.getParsed(u),f={},h=f[c]=r?o.getPixelForDecimal(.5):o.getPixelForValue(i[c]),m=f[d]=r?s.getBasePixel():s.getPixelForValue(i[d]);f.skip=isNaN(h)||isNaN(m),a&&(f.options=l||this.resolveDataElementOptions(u,t.active?"active":n),r&&(f.options.radius=0)),this.updateElement(t,u,f,n)}}resolveDataElementOptions(e,t){const i=this.getParsed(e);let n=super.resolveDataElementOptions(e,t);n.$shared&&(n=Object.assign({},n,{$shared:!1}));const r=n.radius;return"active"!==t&&(n.radius=0),n.radius+=Pe(i&&i._custom,r),n}}gr.id="bubble",gr.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},gr.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class br extends sr{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const i=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=i;else{let r,o,s=e=>+i[e];if(ke(i[e])){const{key:e="value"}=this._parsing;s=t=>+Te(i[t],e)}for(r=e,o=e+t;r<o;++r)n._parsed[r]=s(r)}}_getRotation(){return at(this.options.rotation-90)}_getCircumference(){return at(this.options.circumference)}_getRotationExtents(){let e=Ue,t=-Ue;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const n=this.chart.getDatasetMeta(i).controller,r=n._getRotation(),o=n._getCircumference();e=Math.min(e,r),t=Math.max(t,r+o)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:i}=t,n=this._cachedMeta,r=n.data,o=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,s=Math.max((Math.min(i.width,i.height)-o)/2,0),l=Math.min((a=this.options.cutout,c=s,"string"==typeof a&&a.endsWith("%")?parseFloat(a)/100:a/c),1);var a,c;const d=this._getRingWeight(this.index),{circumference:u,rotation:f}=this._getRotationExtents(),{ratioX:h,ratioY:m,offsetX:p,offsetY:g}=function(e,t,i){let n=1,r=1,o=0,s=0;if(t<Ue){const l=e,a=l+t,c=Math.cos(l),d=Math.sin(l),u=Math.cos(a),f=Math.sin(a),h=(e,t,n)=>pt(e,l,a,!0)?1:Math.max(t,t*i,n,n*i),m=(e,t,n)=>pt(e,l,a,!0)?-1:Math.min(t,t*i,n,n*i),p=h(0,c,u),g=h($e,d,f),b=m(Ge,c,u),_=m(Ge+$e,d,f);n=(p-b)/2,r=(g-_)/2,o=-(p+b)/2,s=-(g+_)/2}return{ratioX:n,ratioY:r,offsetX:o,offsetY:s}}(f,u,l),b=(i.width-o)/h,_=(i.height-o)/m,C=Math.max(Math.min(b,_)/2,0),v=He(this.options.radius,C),x=(v-Math.max(v*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*v,this.offsetY=g*v,n.total=this.calculateTotal(),this.outerRadius=v-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*d,0),this.updateElements(r,0,r.length,e)}_circumference(e,t){const i=this.options,n=this._cachedMeta,r=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||null===n._parsed[e]||n.data[e].hidden?0:this.calculateCircumference(n._parsed[e]*r/Ue)}updateElements(e,t,i,n){const r="reset"===n,o=this.chart,s=o.chartArea,l=o.options.animation,a=(s.left+s.right)/2,c=(s.top+s.bottom)/2,d=r&&l.animateScale,u=d?0:this.innerRadius,f=d?0:this.outerRadius,{sharedOptions:h,includeOptions:m}=this._getSharedOptions(t,n);let p,g=this._getRotation();for(p=0;p<t;++p)g+=this._circumference(p,r);for(p=t;p<t+i;++p){const t=this._circumference(p,r),i=e[p],o={x:a+this.offsetX,y:c+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:f,innerRadius:u};m&&(o.options=h||this.resolveDataElementOptions(p,i.active?"active":n)),g+=t,this.updateElement(i,p,o,n)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let i,n=0;for(i=0;i<t.length;i++){const r=e._parsed[i];null===r||isNaN(r)||!this.chart.getDataVisibility(i)||t[i].hidden||(n+=Math.abs(r))}return n}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?Ue*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,n=i.data.labels||[],r=Hn(t._parsed[e],i.options.locale);return{label:n[e]||"",value:r}}getMaxBorderWidth(e){let t=0;const i=this.chart;let n,r,o,s,l;if(!e)for(n=0,r=i.data.datasets.length;n<r;++n)if(i.isDatasetVisible(n)){o=i.getDatasetMeta(n),e=o.data,s=o.controller;break}if(!e)return 0;for(n=0,r=e.length;n<r;++n)l=s.resolveDataElementOptions(n),"inner"!==l.borderAlign&&(t=Math.max(t,l.borderWidth||0,l.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let i=0,n=e.length;i<n;++i){const e=this.resolveDataElementOptions(i);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(Pe(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}br.id="doughnut",br.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},br.descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e},br.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,n)=>{const r=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(e){let t=e.label;const i=": "+e.formattedValue;return De(t)?(t=t.slice(),t[0]+=i):t+=i,t}}}}};class _r extends sr{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:i,data:n=[],_dataset:r}=t,o=this.chart._animationsDisabled;let{start:s,count:l}=kt(t,n,o);this._drawStart=s,this._drawCount=l,Mt(t)&&(s=0,l=n.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!r._decimated,i.points=n;const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),a.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:a},e),this.updateElements(n,s,l,e)}updateElements(e,t,i,n){const r="reset"===n,{iScale:o,vScale:s,_stacked:l,_dataset:a}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(t,n),u=o.axis,f=s.axis,{spanGaps:h,segment:m}=this.options,p=ot(h)?h:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||r||"none"===n;let b=t>0&&this.getParsed(t-1);for(let h=t;h<t+i;++h){const t=e[h],i=this.getParsed(h),_=g?t:{},C=Ae(i[f]),v=_[u]=o.getPixelForValue(i[u],h),x=_[f]=r||C?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,i,l):i[f],h);_.skip=isNaN(v)||isNaN(x)||C,_.stop=h>0&&Math.abs(i[u]-b[u])>p,m&&(_.parsed=i,_.raw=a.data[h]),d&&(_.options=c||this.resolveDataElementOptions(h,t.active?"active":n)),g||this.updateElement(t,h,_,n),b=i}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,i=t.options&&t.options.borderWidth||0,n=e.data||[];if(!n.length)return i;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,r,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}_r.id="line",_r.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},_r.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Cr extends sr{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,n=i.data.labels||[],r=Hn(t._parsed[e].r,i.options.locale);return{label:n[e]||"",value:r}}parseObjectData(e,t,i,n){return ln.bind(this)(e,t,i,n)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,i)=>{const n=this.getParsed(i).r;!isNaN(n)&&this.chart.getDataVisibility(i)&&(n<t.min&&(t.min=n),n>t.max&&(t.max=n))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,i=e.options,n=Math.min(t.right-t.left,t.bottom-t.top),r=Math.max(n/2,0),o=(r-Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=r-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(e,t,i,n){const r="reset"===n,o=this.chart,s=o.options.animation,l=this._cachedMeta.rScale,a=l.xCenter,c=l.yCenter,d=l.getIndexAngle(0)-.5*Ge;let u,f=d;const h=360/this.countVisibleElements();for(u=0;u<t;++u)f+=this._computeAngle(u,n,h);for(u=t;u<t+i;u++){const t=e[u];let i=f,m=f+this._computeAngle(u,n,h),p=o.getDataVisibility(u)?l.getDistanceFromCenterForValue(this.getParsed(u).r):0;f=m,r&&(s.animateScale&&(p=0),s.animateRotate&&(i=m=d));const g={x:a,y:c,innerRadius:0,outerRadius:p,startAngle:i,endAngle:m,options:this.resolveDataElementOptions(u,t.active?"active":n)};this.updateElement(t,u,g,n)}}countVisibleElements(){const e=this._cachedMeta;let t=0;return e.data.forEach(((e,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&t++})),t}_computeAngle(e,t,i){return this.chart.getDataVisibility(e)?at(this.resolveDataElementOptions(e,t).angle||i):0}}Cr.id="polarArea",Cr.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Cr.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,n)=>{const r=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:e=>e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class vr extends br{}vr.id="pie",vr.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class xr extends sr{getLabelAndValue(e){const t=this._cachedMeta.vScale,i=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(i[t.axis])}}parseObjectData(e,t,i,n){return ln.bind(this)(e,t,i,n)}update(e){const t=this._cachedMeta,i=t.dataset,n=t.data||[],r=t.iScale.getLabels();if(i.points=n,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const o={_loop:!0,_fullLoop:r.length===n.length,options:t};this.updateElement(i,void 0,o,e)}this.updateElements(n,0,n.length,e)}updateElements(e,t,i,n){const r=this._cachedMeta.rScale,o="reset"===n;for(let s=t;s<t+i;s++){const t=e[s],i=this.resolveDataElementOptions(s,t.active?"active":n),l=r.getPointPositionForValue(s,this.getParsed(s).r),a=o?r.xCenter:l.x,c=o?r.yCenter:l.y,d={x:a,y:c,angle:l.angle,skip:isNaN(a)||isNaN(c),options:i};this.updateElement(t,s,d,n)}}}xr.id="radar",xr.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},xr.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Nr{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return ot(this.x)&&ot(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const n={};return e.forEach((e=>{n[e]=i[e]&&i[e].active()?i[e]._to:this[e]})),n}}Nr.defaults={},Nr.defaultRoutes=void 0;const wr={values:e=>De(e)?e:""+e,numeric(e,t,i){if(0===e)return"0";const n=this.chart.options.locale;let r,o=e;if(i.length>1){const t=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(t<1e-4||t>1e15)&&(r="scientific"),o=function(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e));return i}(e,i)}const s=it(Math.abs(o)),l=Math.max(Math.min(-1*Math.floor(s),20),0),a={notation:r,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(a,this.options.ticks.format),Hn(e,n,a)},logarithmic(e,t,i){if(0===e)return"0";const n=e/Math.pow(10,Math.floor(it(e)));return 1===n||2===n||5===n?wr.numeric.call(this,e,t,i):""}};var yr={formatters:wr};function Er(e,t){const i=e.options.ticks,n=i.maxTicksLimit||function(e){const t=e.options.offset,i=e._tickSize(),n=e._length/i+(t?0:1),r=e._maxLength/i;return Math.floor(Math.min(n,r))}(e),r=i.major.enabled?function(e){const t=[];let i,n;for(i=0,n=e.length;i<n;i++)e[i].major&&t.push(i);return t}(t):[],o=r.length,s=r[0],l=r[o-1],a=[];if(o>n)return function(e,t,i,n){let r,o=0,s=i[0];for(n=Math.ceil(n),r=0;r<e.length;r++)r===s&&(t.push(e[r]),o++,s=i[o*n])}(t,a,r,o/n),a;const c=function(e,t,i){const n=function(e){const t=e.length;let i,n;if(t<2)return!1;for(n=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==n)return!1;return n}(e),r=t.length/i;if(!n)return Math.max(r,1);const o=function(e){const t=[],i=Math.sqrt(e);let n;for(n=1;n<i;n++)e%n==0&&(t.push(n),t.push(e/n));return i===(0|i)&&t.push(i),t.sort(((e,t)=>e-t)).pop(),t}(n);for(let e=0,t=o.length-1;e<t;e++){const t=o[e];if(t>r)return t}return Math.max(r,1)}(r,t,n);if(o>0){let e,i;const n=o>1?Math.round((l-s)/(o-1)):null;for(Ar(t,a,c,Ae(n)?0:s-n,s),e=0,i=o-1;e<i;e++)Ar(t,a,c,r[e],r[e+1]);return Ar(t,a,c,l,Ae(n)?t.length:l+n),a}return Ar(t,a,c),a}function Ar(e,t,i,n,r){const o=Pe(n,0),s=Math.min(Pe(r,e.length),e.length);let l,a,c,d=0;for(i=Math.ceil(i),r&&(l=r-n,i=l/Math.floor(l/i)),c=o;c<0;)d++,c=Math.round(o+d*i);for(a=Math.max(o,0);a<s;a++)a===c&&(t.push(e[a]),d++,c=Math.round(o+d*i))}xi.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:yr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),xi.route("scale.ticks","color","","color"),xi.route("scale.grid","color","","borderColor"),xi.route("scale.grid","borderColor","","borderColor"),xi.route("scale.title","color","","color"),xi.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e}),xi.describe("scales",{_fallback:"scale"}),xi.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e});const Dr=(e,t,i)=>"top"===t||"left"===t?e[t]+i:e[t]-i;function kr(e,t){const i=[],n=e.length/t,r=e.length;let o=0;for(;o<r;o+=n)i.push(e[Math.floor(o)]);return i}function Mr(e,t,i){const n=e.ticks.length,r=Math.min(t,n-1),o=e._startPixel,s=e._endPixel,l=1e-6;let a,c=e.getPixelForTick(r);if(!(i&&(a=1===n?Math.max(c-o,s-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(r-1))/2,c+=r<t?a:-a,c<o-l||c>s+l)))return c}function Br(e){return e.drawTicks?e.tickLength:0}function Pr(e,t){if(!e.display)return 0;const i=Yi(e.font,t),n=Ti(e.padding);return(De(e.text)?e.text.length:1)*i.lineHeight+n.height}function Hr(e,t,i){let n=At(e);return(i&&"right"!==t||!i&&"right"===t)&&(n=(e=>"left"===e?"right":"right"===e?"left":e)(n)),n}class Lr extends Nr{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:n}=this;return e=Be(e,Number.POSITIVE_INFINITY),t=Be(t,Number.NEGATIVE_INFINITY),i=Be(i,Number.POSITIVE_INFINITY),n=Be(n,Number.NEGATIVE_INFINITY),{min:Be(e,i),max:Be(t,n),minDefined:Me(e),maxDefined:Me(t)}}getMinMax(e){let t,{min:i,max:n,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:i,max:n};const s=this.getMatchingVisibleMetas();for(let l=0,a=s.length;l<a;++l)t=s[l].controller.getMinMax(this,e),r||(i=Math.min(i,t.min)),o||(n=Math.max(n,t.max));return i=o&&i>n?n:i,n=r&&i>n?i:n,{min:Be(i,Be(n,i)),max:Be(n,Be(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Le(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:n,grace:r,ticks:o}=this.options,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,i){const{min:n,max:r}=e,o=He(t,(r-n)/2),s=(e,t)=>i&&0===e?0:e+t;return{min:s(n,-Math.abs(o)),max:s(r,o)}}(this,r,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=s<this.ticks.length;this._convertTicksToLabels(l?kr(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=Er(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,i=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,i=!i),this._startPixel=e,this._endPixel=t,this._reversePixels=i,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Le(this.options.afterUpdate,[this])}beforeSetDimensions(){Le(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Le(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Le(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Le(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let i,n,r;for(i=0,n=e.length;i<n;i++)r=e[i],r.label=Le(t.callback,[r.value,i,e],this)}afterTickToLabelConversion(){Le(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Le(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,i=this.ticks.length,n=t.minRotation||0,r=t.maxRotation;let o,s,l,a=n;if(!this._isVisible()||!t.display||n>=r||i<=1||!this.isHorizontal())return void(this.labelRotation=n);const c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,f=gt(this.chart.width-d,0,this.maxWidth);o=e.offset?this.maxWidth/i:f/(i-1),d+6>o&&(o=f/(i-(e.offset?.5:1)),s=this.maxHeight-Br(e.grid)-t.padding-Pr(e.title,this.chart.options.font),l=Math.sqrt(d*d+u*u),a=ct(Math.min(Math.asin(gt((c.highest.height+6)/o,-1,1)),Math.asin(gt(s/l,-1,1))-Math.asin(gt(u/l,-1,1)))),a=Math.max(n,Math.min(r,a))),this.labelRotation=a}afterCalculateLabelRotation(){Le(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Le(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:n,grid:r}}=this,o=this._isVisible(),s=this.isHorizontal();if(o){const o=Pr(n,t.options.font);if(s?(e.width=this.maxWidth,e.height=Br(r)+o):(e.height=this.maxHeight,e.width=Br(r)+o),i.display&&this.ticks.length){const{first:t,last:n,widest:r,highest:o}=this._getLabelSizes(),l=2*i.padding,a=at(this.labelRotation),c=Math.cos(a),d=Math.sin(a);if(s){const t=i.mirror?0:d*r.width+c*o.height;e.height=Math.min(this.maxHeight,e.height+t+l)}else{const t=i.mirror?0:c*r.width+d*o.height;e.width=Math.min(this.maxWidth,e.width+t+l)}this._calculatePadding(t,n,d,c)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,n){const{ticks:{align:r,padding:o},position:s}=this.options,l=0!==this.labelRotation,a="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,u=0;l?a?(d=n*e.width,u=i*t.height):(d=i*e.height,u=n*t.width):"start"===r?u=t.width:"end"===r?d=e.width:"inner"!==r&&(d=e.width/2,u=t.width/2),this.paddingLeft=Math.max((d-s+o)*this.width/(this.width-s),0),this.paddingRight=Math.max((u-c+o)*this.width/(this.width-c),0)}else{let i=t.height/2,n=e.height/2;"start"===r?(i=0,n=e.height):"end"===r&&(i=t.height,n=0),this.paddingTop=i+o,this.paddingBottom=n+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Le(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,i=e.length;t<i;t++)Ae(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let i=this.ticks;t<i.length&&(i=kr(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length)}return e}_computeLabelSizes(e,t){const{ctx:i,_longestTextCache:n}=this,r=[],o=[];let s,l,a,c,d,u,f,h,m,p,g,b=0,_=0;for(s=0;s<t;++s){if(c=e[s].label,d=this._resolveTickFontOptions(s),i.font=u=d.string,f=n[u]=n[u]||{data:{},gc:[]},h=d.lineHeight,m=p=0,Ae(c)||De(c)){if(De(c))for(l=0,a=c.length;l<a;++l)g=c[l],Ae(g)||De(g)||(m=Ni(i,f.data,f.gc,m,g),p+=h)}else m=Ni(i,f.data,f.gc,m,c),p=h;r.push(m),o.push(p),b=Math.max(m,b),_=Math.max(p,_)}!function(e,t){Oe(e,(e=>{const i=e.gc,n=i.length/2;let r;if(n>t){for(r=0;r<n;++r)delete e.data[i[r]];i.splice(0,n)}}))}(n,t);const C=r.indexOf(b),v=o.indexOf(_),x=e=>({width:r[e]||0,height:o[e]||0});return{first:x(0),last:x(t-1),widest:x(C),highest:x(v),widths:r,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return gt(this._alignToPixels?yi(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const i=t[e];return i.$context||(i.$context=function(e,t,i){return Wi(e,{tick:i,index:t,type:"tick"})}(this.getContext(),e,i))}return this.$context||(this.$context=Wi(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=at(this.labelRotation),i=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),r=this._getLabelSizes(),o=e.autoSkipPadding||0,s=r?r.widest.width+o:0,l=r?r.highest.height+o:0;return this.isHorizontal()?l*i>s*n?s/i:l/n:l*n<s*i?l/i:s/n}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,i=this.chart,n=this.options,{grid:r,position:o}=n,s=r.offset,l=this.isHorizontal(),a=this.ticks.length+(s?1:0),c=Br(r),d=[],u=r.setContext(this.getContext()),f=u.drawBorder?u.borderWidth:0,h=f/2,m=function(e){return yi(i,e,f)};let p,g,b,_,C,v,x,N,w,y,E,A;if("top"===o)p=m(this.bottom),v=this.bottom-c,N=p-h,y=m(e.top)+h,A=e.bottom;else if("bottom"===o)p=m(this.top),y=e.top,A=m(e.bottom)-h,v=p+h,N=this.top+c;else if("left"===o)p=m(this.right),C=this.right-c,x=p-h,w=m(e.left)+h,E=e.right;else if("right"===o)p=m(this.left),w=e.left,E=m(e.right)-h,C=p+h,x=this.left+c;else if("x"===t){if("center"===o)p=m((e.top+e.bottom)/2+.5);else if(ke(o)){const e=Object.keys(o)[0],t=o[e];p=m(this.chart.scales[e].getPixelForValue(t))}y=e.top,A=e.bottom,v=p+h,N=v+c}else if("y"===t){if("center"===o)p=m((e.left+e.right)/2);else if(ke(o)){const e=Object.keys(o)[0],t=o[e];p=m(this.chart.scales[e].getPixelForValue(t))}C=p-h,x=C-c,w=e.left,E=e.right}const D=Pe(n.ticks.maxTicksLimit,a),k=Math.max(1,Math.ceil(a/D));for(g=0;g<a;g+=k){const e=r.setContext(this.getContext(g)),t=e.lineWidth,n=e.color,o=e.borderDash||[],a=e.borderDashOffset,c=e.tickWidth,u=e.tickColor,f=e.tickBorderDash||[],h=e.tickBorderDashOffset;b=Mr(this,g,s),void 0!==b&&(_=yi(i,b,t),l?C=x=w=E=_:v=N=y=A=_,d.push({tx1:C,ty1:v,tx2:x,ty2:N,x1:w,y1:y,x2:E,y2:A,width:t,color:n,borderDash:o,borderDashOffset:a,tickWidth:c,tickColor:u,tickBorderDash:f,tickBorderDashOffset:h}))}return this._ticksLength=a,this._borderValue=p,d}_computeLabelItems(e){const t=this.axis,i=this.options,{position:n,ticks:r}=i,o=this.isHorizontal(),s=this.ticks,{align:l,crossAlign:a,padding:c,mirror:d}=r,u=Br(i.grid),f=u+c,h=d?-c:f,m=-at(this.labelRotation),p=[];let g,b,_,C,v,x,N,w,y,E,A,D,k="middle";if("top"===n)x=this.bottom-h,N=this._getXAxisLabelAlignment();else if("bottom"===n)x=this.top+h,N=this._getXAxisLabelAlignment();else if("left"===n){const e=this._getYAxisLabelAlignment(u);N=e.textAlign,v=e.x}else if("right"===n){const e=this._getYAxisLabelAlignment(u);N=e.textAlign,v=e.x}else if("x"===t){if("center"===n)x=(e.top+e.bottom)/2+f;else if(ke(n)){const e=Object.keys(n)[0],t=n[e];x=this.chart.scales[e].getPixelForValue(t)+f}N=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===n)v=(e.left+e.right)/2-f;else if(ke(n)){const e=Object.keys(n)[0],t=n[e];v=this.chart.scales[e].getPixelForValue(t)}N=this._getYAxisLabelAlignment(u).textAlign}"y"===t&&("start"===l?k="top":"end"===l&&(k="bottom"));const M=this._getLabelSizes();for(g=0,b=s.length;g<b;++g){_=s[g],C=_.label;const e=r.setContext(this.getContext(g));w=this.getPixelForTick(g)+r.labelOffset,y=this._resolveTickFontOptions(g),E=y.lineHeight,A=De(C)?C.length:1;const t=A/2,i=e.color,l=e.textStrokeColor,c=e.textStrokeWidth;let u,f=N;if(o?(v=w,"inner"===N&&(f=g===b-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),D="top"===n?"near"===a||0!==m?-A*E+E/2:"center"===a?-M.highest.height/2-t*E+E:-M.highest.height+E/2:"near"===a||0!==m?E/2:"center"===a?M.highest.height/2-t*E:M.highest.height-A*E,d&&(D*=-1)):(x=w,D=(1-A)*E/2),e.showLabelBackdrop){const t=Ti(e.backdropPadding),i=M.heights[g],n=M.widths[g];let r=x+D-t.top,o=v-t.left;switch(k){case"middle":r-=i/2;break;case"bottom":r-=i}switch(N){case"center":o-=n/2;break;case"right":o-=n}u={left:o,top:r,width:n+t.width,height:i+t.height,color:e.backdropColor}}p.push({rotation:m,label:C,font:y,color:i,strokeColor:l,strokeWidth:c,textOffset:D,textAlign:f,textBaseline:k,translation:[v,x],backdrop:u})}return p}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-at(this.labelRotation))return"top"===e?"left":"right";let i="center";return"start"===t.align?i="left":"end"===t.align?i="right":"inner"===t.align&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:n,padding:r}}=this.options,o=e+r,s=this._getLabelSizes().widest.width;let l,a;return"left"===t?n?(a=this.right+r,"near"===i?l="left":"center"===i?(l="center",a+=s/2):(l="right",a+=s)):(a=this.right-o,"near"===i?l="right":"center"===i?(l="center",a-=s/2):(l="left",a=this.left)):"right"===t?n?(a=this.left+r,"near"===i?l="right":"center"===i?(l="center",a-=s/2):(l="left",a-=s)):(a=this.left+o,"near"===i?l="left":"center"===i?(l="center",a+=s/2):(l="right",a=this.right)):l="right",{textAlign:l,x:a}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:n,width:r,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,n,r,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const i=this.ticks.findIndex((t=>t.value===e));if(i>=0){return t.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,i=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let r,o;const s=(e,t,n)=>{n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.stroke(),i.restore())};if(t.display)for(r=0,o=n.length;r<o;++r){const e=n[r];t.drawOnChartArea&&s({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&s({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{grid:i}}=this,n=i.setContext(this.getContext()),r=i.drawBorder?n.borderWidth:0;if(!r)return;const o=i.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,a,c,d;this.isHorizontal()?(l=yi(e,this.left,r)-r/2,a=yi(e,this.right,o)+o/2,c=d=s):(c=yi(e,this.top,r)-r/2,d=yi(e,this.bottom,o)+o/2,l=a=s),t.save(),t.lineWidth=n.borderWidth,t.strokeStyle=n.borderColor,t.beginPath(),t.moveTo(l,c),t.lineTo(a,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,i=this._computeLabelArea();i&&Mi(t,i);const n=this._labelItems||(this._labelItems=this._computeLabelItems(e));let r,o;for(r=0,o=n.length;r<o;++r){const e=n[r],i=e.font,o=e.label;e.backdrop&&(t.fillStyle=e.backdrop.color,t.fillRect(e.backdrop.left,e.backdrop.top,e.backdrop.width,e.backdrop.height)),Li(t,o,0,e.textOffset,i,e)}i&&Bi(t)}drawTitle(){const{ctx:e,options:{position:t,title:i,reverse:n}}=this;if(!i.display)return;const r=Yi(i.font),o=Ti(i.padding),s=i.align;let l=r.lineHeight/2;"bottom"===t||"center"===t||ke(t)?(l+=o.bottom,De(i.text)&&(l+=r.lineHeight*(i.text.length-1))):l+=o.top;const{titleX:a,titleY:c,maxWidth:d,rotation:u}=function(e,t,i,n){const{top:r,left:o,bottom:s,right:l,chart:a}=e,{chartArea:c,scales:d}=a;let u,f,h,m=0;const p=s-r,g=l-o;if(e.isHorizontal()){if(f=Dt(n,o,l),ke(i)){const e=Object.keys(i)[0],n=i[e];h=d[e].getPixelForValue(n)+p-t}else h="center"===i?(c.bottom+c.top)/2+p-t:Dr(e,i,t);u=l-o}else{if(ke(i)){const e=Object.keys(i)[0],n=i[e];f=d[e].getPixelForValue(n)-g+t}else f="center"===i?(c.left+c.right)/2-g+t:Dr(e,i,t);h=Dt(n,s,r),m="left"===i?-$e:$e}return{titleX:f,titleY:h,maxWidth:u,rotation:m}}(this,l,t,s);Li(e,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:u,textAlign:Hr(s,t,n),textBaseline:"middle",translation:[a,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,i=Pe(e.grid&&e.grid.z,-1);return this._isVisible()&&this.draw===Lr.prototype.draw?[{z:i,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",n=[];let r,o;for(r=0,o=t.length;r<o;++r){const o=t[r];o[i]!==this.id||e&&o.type!==e||n.push(o)}return n}_resolveTickFontOptions(e){return Yi(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Or{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let i;(function(e){return"id"in e&&"defaults"in e})(t)&&(i=this.register(t));const n=this.items,r=e.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+e);return r in n||(n[r]=e,function(e,t,i){const n=Qe(Object.create(null),[i?xi.get(i):{},xi.get(t),e.defaults]);xi.set(t,n),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((i=>{const n=i.split("."),r=n.pop(),o=[e].concat(n).join("."),s=t[i].split("."),l=s.pop(),a=s.join(".");xi.route(o,r,a,l)}))}(t,e.defaultRoutes);e.descriptors&&xi.describe(t,e.descriptors)}(e,o,i),this.override&&xi.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,n=this.scope;i in t&&delete t[i],n&&i in xi[n]&&(delete xi[n][i],this.override&&delete bi[i])}}var Ir=new class{constructor(){this.controllers=new Or(sr,"datasets",!0),this.elements=new Or(Nr,"elements"),this.plugins=new Or(Object,"plugins"),this.scales=new Or(Lr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach((t=>{const n=i||this._getRegistryForType(t);i||n.isForType(t)||n===this.plugins&&t.id?this._exec(e,n,t):Oe(t,(t=>{const n=i||this._getRegistryForType(t);this._exec(e,n,t)}))}))}_exec(e,t,i){const n=Ye(e);Le(i["before"+n],[],i),t[e](i),Le(i["after"+n],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){const n=t.get(e);if(void 0===n)throw new Error('"'+e+'" is not a registered '+i+".");return n}};class Sr extends sr{update(e){const t=this._cachedMeta,{data:i=[]}=t,n=this.chart._animationsDisabled;let{start:r,count:o}=kt(t,i,n);if(this._drawStart=r,this._drawCount=o,Mt(t)&&(r=0,o=i.length),this.options.showLine){const{dataset:r,_dataset:o}=t;r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const s=this.resolveDatasetElementOptions(e);s.segment=this.options.segment,this.updateElement(r,void 0,{animated:!n,options:s},e)}this.updateElements(i,r,o,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=Ir.getElement("line")),super.addElements()}updateElements(e,t,i,n){const r="reset"===n,{iScale:o,vScale:s,_stacked:l,_dataset:a}=this._cachedMeta,c=this.resolveDataElementOptions(t,n),d=this.getSharedOptions(c),u=this.includeOptions(n,d),f=o.axis,h=s.axis,{spanGaps:m,segment:p}=this.options,g=ot(m)?m:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||r||"none"===n;let _=t>0&&this.getParsed(t-1);for(let c=t;c<t+i;++c){const t=e[c],i=this.getParsed(c),m=b?t:{},C=Ae(i[h]),v=m[f]=o.getPixelForValue(i[f],c),x=m[h]=r||C?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,i,l):i[h],c);m.skip=isNaN(v)||isNaN(x)||C,m.stop=c>0&&Math.abs(i[f]-_[f])>g,p&&(m.parsed=i,m.raw=a.data[c]),u&&(m.options=d||this.resolveDataElementOptions(c,t.active?"active":n)),b||this.updateElement(t,c,m,n),_=i}this.updateSharedOptions(d,n,c)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}const i=e.dataset,n=i.options&&i.options.borderWidth||0;if(!t.length)return n;const r=t[0].size(this.resolveDataElementOptions(0)),o=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(n,r,o)/2}}Sr.id="scatter",Sr.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},Sr.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:e=>"("+e.label+", "+e.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Rr=Object.freeze({__proto__:null,BarController:pr,BubbleController:gr,DoughnutController:br,LineController:_r,PolarAreaController:Cr,PieController:vr,RadarController:xr,ScatterController:Sr});function Fr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Qr{constructor(e){this.options=e||{}}init(e){}formats(){return Fr()}parse(e,t){return Fr()}format(e,t){return Fr()}add(e,t,i){return Fr()}diff(e,t,i){return Fr()}startOf(e,t,i){return Fr()}endOf(e,t){return Fr()}}Qr.override=function(e){Object.assign(Qr.prototype,e)};var zr={_date:Qr};function jr(e,t,i,n){const{controller:r,data:o,_sorted:s}=e,l=r._cachedMeta.iScale;if(l&&t===l.axis&&"r"!==t&&s&&o.length){const e=l._reversePixels?vt:Ct;if(!n)return e(o,t,i);if(r._sharedOptions){const n=o[0],r="function"==typeof n.getRange&&n.getRange(t);if(r){const n=e(o,t,i-r),s=e(o,t,i+r);return{lo:n.lo,hi:s.hi}}}}return{lo:0,hi:o.length-1}}function Vr(e,t,i,n,r){const o=e.getSortedVisibleDatasetMetas(),s=i[t];for(let e=0,i=o.length;e<i;++e){const{index:i,data:l}=o[e],{lo:a,hi:c}=jr(o[e],t,s,r);for(let e=a;e<=c;++e){const t=l[e];t.skip||n(t,i,e)}}}function Tr(e,t,i,n,r){const o=[];if(!r&&!e.isPointInArea(t))return o;return Vr(e,i,t,(function(i,s,l){(r||ki(i,e.chartArea,0))&&i.inRange(t.x,t.y,n)&&o.push({element:i,datasetIndex:s,index:l})}),!0),o}function Yr(e,t,i,n,r,o){let s=[];const l=function(e){const t=-1!==e.indexOf("x"),i=-1!==e.indexOf("y");return function(e,n){const r=t?Math.abs(e.x-n.x):0,o=i?Math.abs(e.y-n.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}(i);let a=Number.POSITIVE_INFINITY;return Vr(e,i,t,(function(i,c,d){const u=i.inRange(t.x,t.y,r);if(n&&!u)return;const f=i.getCenterPoint(r);if(!(!!o||e.isPointInArea(f))&&!u)return;const h=l(t,f);h<a?(s=[{element:i,datasetIndex:c,index:d}],a=h):h===a&&s.push({element:i,datasetIndex:c,index:d})})),s}function Xr(e,t,i,n,r,o){return o||e.isPointInArea(t)?"r"!==i||n?Yr(e,t,i,n,r,o):function(e,t,i,n){let r=[];return Vr(e,i,t,(function(e,i,o){const{startAngle:s,endAngle:l}=e.getProps(["startAngle","endAngle"],n),{angle:a}=ut(e,{x:t.x,y:t.y});pt(a,s,l)&&r.push({element:e,datasetIndex:i,index:o})})),r}(e,t,i,r):[]}function Wr(e,t,i,n,r){const o=[],s="x"===i?"inXRange":"inYRange";let l=!1;return Vr(e,i,t,((e,n,a)=>{e[s](t[i],r)&&(o.push({element:e,datasetIndex:n,index:a}),l=l||e.inRange(t.x,t.y,r))})),n&&!l?[]:o}var Zr={evaluateInteractionItems:Vr,modes:{index(e,t,i,n){const r=Nn(t,e),o=i.axis||"x",s=i.includeInvisible||!1,l=i.intersect?Tr(e,r,o,n,s):Xr(e,r,o,!1,n,s),a=[];return l.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=l[0].index,i=e.data[t];i&&!i.skip&&a.push({element:i,datasetIndex:e.index,index:t})})),a):[]},dataset(e,t,i,n){const r=Nn(t,e),o=i.axis||"xy",s=i.includeInvisible||!1;let l=i.intersect?Tr(e,r,o,n,s):Xr(e,r,o,!1,n,s);if(l.length>0){const t=l[0].datasetIndex,i=e.getDatasetMeta(t).data;l=[];for(let e=0;e<i.length;++e)l.push({element:i[e],datasetIndex:t,index:e})}return l},point:(e,t,i,n)=>Tr(e,Nn(t,e),i.axis||"xy",n,i.includeInvisible||!1),nearest(e,t,i,n){const r=Nn(t,e),o=i.axis||"xy",s=i.includeInvisible||!1;return Xr(e,r,o,i.intersect,n,s)},x:(e,t,i,n)=>Wr(e,Nn(t,e),"x",i.intersect,n),y:(e,t,i,n)=>Wr(e,Nn(t,e),"y",i.intersect,n)}};const Gr=["left","top","right","bottom"];function Ur(e,t){return e.filter((e=>e.pos===t))}function Kr(e,t){return e.filter((e=>-1===Gr.indexOf(e.pos)&&e.box.axis===t))}function Jr(e,t){return e.sort(((e,i)=>{const n=t?i:e,r=t?e:i;return n.weight===r.weight?n.index-r.index:n.weight-r.weight}))}function qr(e,t){const i=function(e){const t={};for(const i of e){const{stack:e,pos:n,stackWeight:r}=i;if(!e||!Gr.includes(n))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return t}(e),{vBoxMaxWidth:n,hBoxMaxHeight:r}=t;let o,s,l;for(o=0,s=e.length;o<s;++o){l=e[o];const{fullSize:s}=l.box,a=i[l.stack],c=a&&l.stackWeight/a.weight;l.horizontal?(l.width=c?c*n:s&&t.availableWidth,l.height=r):(l.width=n,l.height=c?c*r:s&&t.availableHeight)}return i}function $r(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function eo(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function to(e,t,i,n){const{pos:r,box:o}=i,s=e.maxPadding;if(!ke(r)){i.size&&(e[r]-=i.size);const t=n[i.stack]||{size:0,count:1};t.size=Math.max(t.size,i.horizontal?o.height:o.width),i.size=t.size/t.count,e[r]+=i.size}o.getPadding&&eo(s,o.getPadding());const l=Math.max(0,t.outerWidth-$r(s,e,"left","right")),a=Math.max(0,t.outerHeight-$r(s,e,"top","bottom")),c=l!==e.w,d=a!==e.h;return e.w=l,e.h=a,i.horizontal?{same:c,other:d}:{same:d,other:c}}function io(e,t){const i=t.maxPadding;function n(e){const n={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{n[e]=Math.max(t[e],i[e])})),n}return n(e?["left","right"]:["top","bottom"])}function no(e,t,i,n){const r=[];let o,s,l,a,c,d;for(o=0,s=e.length,c=0;o<s;++o){l=e[o],a=l.box,a.update(l.width||t.w,l.height||t.h,io(l.horizontal,t));const{same:s,other:u}=to(t,i,l,n);c|=s&&r.length,d=d||u,a.fullSize||r.push(l)}return c&&no(r,t,i,n)||d}function ro(e,t,i,n,r){e.top=i,e.left=t,e.right=t+n,e.bottom=i+r,e.width=n,e.height=r}function oo(e,t,i,n){const r=i.padding;let{x:o,y:s}=t;for(const l of e){const e=l.box,a=n[l.stack]||{count:1,placed:0,weight:1},c=l.stackWeight/a.weight||1;if(l.horizontal){const n=t.w*c,o=a.size||e.height;Xe(a.start)&&(s=a.start),e.fullSize?ro(e,r.left,s,i.outerWidth-r.right-r.left,o):ro(e,t.left+a.placed,s,n,o),a.start=s,a.placed+=n,s=e.bottom}else{const n=t.h*c,s=a.size||e.width;Xe(a.start)&&(o=a.start),e.fullSize?ro(e,o,r.top,s,i.outerHeight-r.bottom-r.top):ro(e,o,t.top+a.placed,s,n),a.start=o,a.placed+=n,o=e.right}}t.x=o,t.y=s}xi.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var so={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;-1!==i&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,n){if(!e)return;const r=Ti(e.options.layout.padding),o=Math.max(t-r.width,0),s=Math.max(i-r.height,0),l=function(e){const t=function(e){const t=[];let i,n,r,o,s,l;for(i=0,n=(e||[]).length;i<n;++i)r=e[i],({position:o,options:{stack:s,stackWeight:l=1}}=r),t.push({index:i,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&o+s,stackWeight:l});return t}(e),i=Jr(t.filter((e=>e.box.fullSize)),!0),n=Jr(Ur(t,"left"),!0),r=Jr(Ur(t,"right")),o=Jr(Ur(t,"top"),!0),s=Jr(Ur(t,"bottom")),l=Kr(t,"x"),a=Kr(t,"y");return{fullSize:i,leftAndTop:n.concat(o),rightAndBottom:r.concat(a).concat(s).concat(l),chartArea:Ur(t,"chartArea"),vertical:n.concat(r).concat(a),horizontal:o.concat(s).concat(l)}}(e.boxes),a=l.vertical,c=l.horizontal;Oe(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const d=a.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,u=Object.freeze({outerWidth:t,outerHeight:i,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/d,hBoxMaxHeight:s/2}),f=Object.assign({},r);eo(f,Ti(n));const h=Object.assign({maxPadding:f,w:o,h:s,x:r.left,y:r.top},r),m=qr(a.concat(c),u);no(l.fullSize,h,u,m),no(a,h,u,m),no(c,h,u,m)&&no(a,h,u,m),function(e){const t=e.maxPadding;function i(i){const n=Math.max(t[i]-e[i],0);return e[i]+=n,n}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}(h),oo(l.leftAndTop,h,u,m),h.x+=h.w,h.y+=h.h,oo(l.rightAndBottom,h,u,m),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Oe(l.chartArea,(t=>{const i=t.box;Object.assign(i,e.chartArea),i.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})}))}};class lo{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,n){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,n?Math.floor(t/n):i)}}isAttached(e){return!0}updateConfig(e){}}class ao extends lo{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const co="$chartjs",uo={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},fo=e=>null===e||""===e;const ho=!!An&&{passive:!0};function mo(e,t,i){e.canvas.removeEventListener(t,i,ho)}function po(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function go(e,t,i){const n=e.canvas,r=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||po(i.addedNodes,n),t=t&&!po(i.removedNodes,n);t&&i()}));return r.observe(document,{childList:!0,subtree:!0}),r}function bo(e,t,i){const n=e.canvas,r=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||po(i.removedNodes,n),t=t&&!po(i.addedNodes,n);t&&i()}));return r.observe(document,{childList:!0,subtree:!0}),r}const _o=new Map;let Co=0;function vo(){const e=window.devicePixelRatio;e!==Co&&(Co=e,_o.forEach(((t,i)=>{i.currentDevicePixelRatio!==e&&t()})))}function xo(e,t,i){const n=e.canvas,r=n&&gn(n);if(!r)return;const o=Et(((e,t)=>{const n=r.clientWidth;i(e,t),n<r.clientWidth&&i()}),window),s=new ResizeObserver((e=>{const t=e[0],i=t.contentRect.width,n=t.contentRect.height;0===i&&0===n||o(i,n)}));return s.observe(r),function(e,t){_o.size||window.addEventListener("resize",vo),_o.set(e,t)}(e,o),s}function No(e,t,i){i&&i.disconnect(),"resize"===t&&function(e){_o.delete(e),_o.size||window.removeEventListener("resize",vo)}(e)}function wo(e,t,i){const n=e.canvas,r=Et((t=>{null!==e.ctx&&i(function(e,t){const i=uo[e.type]||e.type,{x:n,y:r}=Nn(e,t);return{type:i,chart:t,native:e,x:void 0!==n?n:null,y:void 0!==r?r:null}}(t,e))}),e,(e=>{const t=e[0];return[t,t.offsetX,t.offsetY]}));return function(e,t,i){e.addEventListener(t,i,ho)}(n,t,r),r}class yo extends lo{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(function(e,t){const i=e.style,n=e.getAttribute("height"),r=e.getAttribute("width");if(e[co]={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",fo(r)){const t=Dn(e,"width");void 0!==t&&(e.width=t)}if(fo(n))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Dn(e,"height");void 0!==t&&(e.height=t)}}(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[co])return!1;const i=t[co].initial;["height","width"].forEach((e=>{const n=i[e];Ae(n)?t.removeAttribute(e):t.setAttribute(e,n)}));const n=i.style||{};return Object.keys(n).forEach((e=>{t.style[e]=n[e]})),t.width=t.width,delete t[co],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const n=e.$proxies||(e.$proxies={}),r={attach:go,detach:bo,resize:xo}[t]||wo;n[t]=r(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),n=i[t];if(!n)return;({attach:No,detach:No,resize:No}[t]||mo)(e,t,n),i[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,n){return yn(e,t,i,n)}isAttached(e){const t=gn(e);return!(!t||!t.isConnected)}}class Eo{constructor(){this._init=[]}notify(e,t,i,n){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const r=n?this._descriptors(e).filter(n):this._descriptors(e),o=this._notify(r,e,t,i);return"afterDestroy"===t&&(this._notify(r,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,t,i,n){n=n||{};for(const r of e){const e=r.plugin;if(!1===Le(e[i],[t,n,r.options],e)&&n.cancelable)return!1}return!0}invalidate(){Ae(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const i=e&&e.config,n=Pe(i.options&&i.options.plugins,{}),r=function(e){const t={},i=[],n=Object.keys(Ir.plugins.items);for(let e=0;e<n.length;e++)i.push(Ir.getPlugin(n[e]));const r=e.plugins||[];for(let e=0;e<r.length;e++){const n=r[e];-1===i.indexOf(n)&&(i.push(n),t[n.id]=!0)}return{plugins:i,localIds:t}}(i);return!1!==n||t?function(e,{plugins:t,localIds:i},n,r){const o=[],s=e.getContext();for(const l of t){const t=l.id,a=Ao(n[t],r);null!==a&&o.push({plugin:l,options:Do(e.config,{plugin:l,local:i[t]},a,s)})}return o}(e,r,n,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],i=this._cache,n=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(n(t,i),e,"stop"),this._notify(n(i,t),e,"start")}}function Ao(e,t){return t||!1!==e?!0===e?{}:e:null}function Do(e,{plugin:t,local:i},n,r){const o=e.pluginScopeKeys(t),s=e.getOptionScopes(n,o);return i&&t.defaults&&s.push(t.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ko(e,t){const i=xi.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function Mo(e,t){return"x"===e||"y"===e?e:t.axis||("top"===(i=t.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||e.charAt(0).toLowerCase();var i}function Bo(e){const t=e.options||(e.options={});t.plugins=Pe(t.plugins,{}),t.scales=function(e,t){const i=bi[e.type]||{scales:{}},n=t.scales||{},r=ko(e.type,t),o=Object.create(null),s=Object.create(null);return Object.keys(n).forEach((e=>{const t=n[e];if(!ke(t))return console.error(`Invalid scale configuration for scale: ${e}`);if(t._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=Mo(e,t),a=function(e,t){return e===t?"_index_":"_value_"}(l,r),c=i.scales||{};o[l]=o[l]||e,s[e]=ze(Object.create(null),[{axis:l},t,c[l],c[a]])})),e.data.datasets.forEach((i=>{const r=i.type||e.type,l=i.indexAxis||ko(r,t),a=(bi[r]||{}).scales||{};Object.keys(a).forEach((e=>{const t=function(e,t){let i=e;return"_index_"===e?i=t:"_value_"===e&&(i="x"===t?"y":"x"),i}(e,l),r=i[t+"AxisID"]||o[t]||t;s[r]=s[r]||Object.create(null),ze(s[r],[{axis:t},n[r],a[e]])}))})),Object.keys(s).forEach((e=>{const t=s[e];ze(t,[xi.scales[t.type],xi.scale])})),s}(e,t)}function Po(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Ho=new Map,Lo=new Set;function Oo(e,t){let i=Ho.get(e);return i||(i=t(),Ho.set(e,i),Lo.add(i)),i}const Io=(e,t,i)=>{const n=Te(t,i);void 0!==n&&e.add(n)};class So{constructor(e){this._config=function(e){return(e=e||{}).data=Po(e.data),Bo(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Po(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Bo(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Oo(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Oo(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Oo(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Oo(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const i=this._scopeCache;let n=i.get(e);return n&&!t||(n=new Map,i.set(e,n)),n}getOptionScopes(e,t,i){const{options:n,type:r}=this,o=this._cachedScopes(e,i),s=o.get(t);if(s)return s;const l=new Set;t.forEach((t=>{e&&(l.add(e),t.forEach((t=>Io(l,e,t)))),t.forEach((e=>Io(l,n,e))),t.forEach((e=>Io(l,bi[r]||{},e))),t.forEach((e=>Io(l,xi,e))),t.forEach((e=>Io(l,_i,e)))}));const a=Array.from(l);return 0===a.length&&a.push(Object.create(null)),Lo.has(t)&&o.set(t,a),a}chartOptionScopes(){const{options:e,type:t}=this;return[e,bi[t]||{},xi.datasets[t]||{},{type:t},xi,_i]}resolveNamedOptions(e,t,i,n=[""]){const r={$shared:!0},{resolver:o,subPrefixes:s}=Ro(this._resolverCache,e,n);let l=o;if(function(e,t){const{isScriptable:i,isIndexable:n}=Ui(e);for(const r of t){const t=i(r),o=n(r),s=(o||t)&&e[r];if(t&&(We(s)||Fo(s))||o&&De(s))return!0}return!1}(o,t)){r.$shared=!1;l=Gi(o,i=We(i)?i():i,this.createResolver(e,i,s))}for(const e of t)r[e]=l[e];return r}createResolver(e,t,i=[""],n){const{resolver:r}=Ro(this._resolverCache,e,i);return ke(t)?Gi(r,t,void 0,n):r}}function Ro(e,t,i){let n=e.get(t);n||(n=new Map,e.set(t,n));const r=i.join();let o=n.get(r);if(!o){o={resolver:Zi(t,i),subPrefixes:i.filter((e=>!e.toLowerCase().includes("hover")))},n.set(r,o)}return o}const Fo=e=>ke(e)&&Object.getOwnPropertyNames(e).reduce(((t,i)=>t||We(e[i])),!1);const Qo=["top","bottom","left","right","chartArea"];function zo(e,t){return"top"===e||"bottom"===e||-1===Qo.indexOf(e)&&"x"===t}function jo(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}function Vo(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),Le(i&&i.onComplete,[e],t)}function To(e){const t=e.chart,i=t.options.animation;Le(i&&i.onProgress,[e],t)}function Yo(e){return pn()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Xo={},Wo=e=>{const t=Yo(e);return Object.values(Xo).filter((e=>e.canvas===t)).pop()};function Zo(e,t,i){const n=Object.keys(e);for(const r of n){const n=+r;if(n>=t){const o=e[r];delete e[r],(i>0||n>t)&&(e[n+i]=o)}}}let Go=class{constructor(e,t){const i=this.config=new So(t),n=Yo(e),r=Wo(n);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(e){return!pn()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?ao:yo}(n)),this.platform.updateConfig(i);const s=this.platform.acquireContext(n,o.aspectRatio),l=s&&s.canvas,a=l&&l.height,c=l&&l.width;this.id=Ee(),this.ctx=s,this.canvas=l,this.width=c,this.height=a,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Eo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let i;return function(...n){return t?(clearTimeout(i),i=setTimeout(e,t,n)):e.apply(this,n),t}}((e=>this.update(e)),o.resizeDelay||0),this._dataChanges=[],Xo[this.id]=this,s&&l?(Tn.listen(this,"complete",Vo),Tn.listen(this,"progress",To),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:n,_aspectRatio:r}=this;return Ae(e)?t&&r?r:n?i/n:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():En(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ei(this.canvas,this.ctx),this}stop(){return Tn.stop(this),this}resize(e,t){Tn.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,n=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(n,e,t,r),s=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,En(this,s,!0)&&(this.notifyPlugins("resize",{size:o}),Le(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){Oe(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,n=Object.keys(i).reduce(((e,t)=>(e[t]=!1,e)),{});let r=[];t&&(r=r.concat(Object.keys(t).map((e=>{const i=t[e],n=Mo(e,i),r="r"===n,o="x"===n;return{options:i,dposition:r?"chartArea":o?"bottom":"left",dtype:r?"radialLinear":o?"category":"linear"}})))),Oe(r,(t=>{const r=t.options,o=r.id,s=Mo(o,r),l=Pe(r.type,t.dtype);void 0!==r.position&&zo(r.position,s)===zo(t.dposition)||(r.position=t.dposition),n[o]=!0;let a=null;if(o in i&&i[o].type===l)a=i[o];else{a=new(Ir.getScale(l))({id:o,type:l,ctx:this.ctx,chart:this}),i[a.id]=a}a.init(r,e)})),Oe(n,((e,t)=>{e||delete i[t]})),Oe(i,(e=>{so.configure(this,e,e.options),so.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort(((e,t)=>e.index-t.index)),i>t){for(let e=t;e<i;++e)this._destroyDatasetMeta(e);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(jo("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,i)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,n;for(this._removeUnreferencedMetasets(),i=0,n=t.length;i<n;i++){const n=t[i];let r=this.getDatasetMeta(i);const o=n.type||this.config.type;if(r.type&&r.type!==o&&(this._destroyDatasetMeta(i),r=this.getDatasetMeta(i)),r.type=o,r.indexAxis=n.indexAxis||ko(o,this.options),r.order=n.order||0,r.index=i,r.label=""+n.label,r.visible=this.isDatasetVisible(i),r.controller)r.controller.updateIndex(i),r.controller.linkScales();else{const t=Ir.getController(o),{datasetElementType:n,dataElementType:s}=xi.datasets[o];Object.assign(t.prototype,{dataElementType:Ir.getElement(s),datasetElementType:n&&Ir.getElement(n)}),r.controller=new t(this,i),e.push(r.controller)}}return this._updateMetasets(),e}_resetElements(){Oe(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),i=!n&&-1===r.indexOf(t);t.buildOrUpdateElements(i),o=Math.max(+t.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),n||Oe(r,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(jo("z","_idx"));const{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){Oe(this.scales,(e=>{so.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);Ze(t,i)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:n,count:r}of t){Zo(e,n,"_removeElements"===i?-r:r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),n=i(0);for(let e=1;e<t;e++)if(!Ze(n,i(e)))return;return Array.from(n).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;so.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],Oe(this.boxes,(e=>{i&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,We(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const i=this.getDatasetMeta(e),n={meta:i,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",n)&&(i.controller._update(t),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Tn.has(this)?this.attached&&!Tn.running(this)&&Tn.start(this):(this.draw(),Vo({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,i=[];let n,r;for(n=0,r=t.length;n<r;++n){const r=t[n];e&&!r.visible||i.push(r)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i=e._clip,n=!i.disabled,r=this.chartArea,o={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(n&&Mi(t,{left:!1===i.left?0:r.left-i.left,right:!1===i.right?this.width:r.right+i.right,top:!1===i.top?0:r.top-i.top,bottom:!1===i.bottom?this.height:r.bottom+i.bottom}),e.controller.draw(),n&&Bi(t),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return ki(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,n){const r=Zr.modes[t];return"function"==typeof r?r(this,e,i,n):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let n=i.filter((e=>e&&e._dataset===t)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(n)),n}getContext(){return this.$context||(this.$context=Wi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return"boolean"==typeof i.hidden?!i.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){const n=i?"show":"hide",r=this.getDatasetMeta(e),o=r.controller._resolveAnimations(void 0,n);Xe(t)?(r.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),o.update(r,{visible:i}),this.update((t=>t.datasetIndex===e?n:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Tn.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Ei(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete Xo[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,i=(i,n)=>{t.addEventListener(this,i,n),e[i]=n},n=(e,t,i)=>{e.offsetX=t,e.offsetY=i,this._eventHandler(e)};Oe(this.options.events,(e=>i(e,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(i,n)=>{t.addEventListener(this,i,n),e[i]=n},n=(i,n)=>{e[i]&&(t.removeEventListener(this,i,n),delete e[i])},r=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const s=()=>{n("attach",s),this.attached=!0,this.resize(),i("resize",r),i("detach",o)};o=()=>{this.attached=!1,n("resize",r),this._stop(),this._resize(0,0),i("attach",s)},t.isAttached(this.canvas)?s():o()}unbindEvents(){Oe(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},Oe(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const n=i?"set":"remove";let r,o,s,l;for("dataset"===t&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+n+"DatasetHoverStyle"]()),s=0,l=e.length;s<l;++s){o=e[s];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[n+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],i=e.map((({datasetIndex:e,index:t})=>{const i=this.getDatasetMeta(e);if(!i)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:i.data[t],index:t}}));!Ie(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}_updateHoverStyles(e,t,i){const n=this.options.hover,r=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=r(t,e),s=i?e:r(e,t);o.length&&this.updateHoverStyle(o,n.mode,!1),s.length&&n.mode&&this.updateHoverStyle(s,n.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},n=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",i,n))return;const r=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,n),(r||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:n=[],options:r}=this,o=t,s=this._getActiveElements(e,n,i,o),l=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),a=function(e,t,i,n){return i&&"mouseout"!==e.type?n?t:e:null}(e,this._lastEvent,i,l);i&&(this._lastEvent=null,Le(r.onHover,[e,s,this],this),l&&Le(r.onClick,[e,s,this],this));const c=!Ie(s,n);return(c||t)&&(this._active=s,this._updateHoverStyles(s,n,t)),this._lastEvent=a,c}_getActiveElements(e,t,i,n){if("mouseout"===e.type)return[];if(!i)return t;const r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,n)}};const Uo=()=>Oe(Go.instances,(e=>e._plugins.invalidate())),Ko=!0;function Jo(e,t,i){const{startAngle:n,pixelMargin:r,x:o,y:s,outerRadius:l,innerRadius:a}=t;let c=r/l;e.beginPath(),e.arc(o,s,l,n-c,i+c),a>r?(c=r/a,e.arc(o,s,a,i+c,n-c,!0)):e.arc(o,s,r,i+$e,n-$e),e.closePath(),e.clip()}function qo(e,t,i,n){const r=zi(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-t)/2,s=Math.min(o,n*t/2),l=e=>{const t=(i-Math.min(o,e))*n/2;return gt(e,0,Math.min(o,t))};return{outerStart:l(r.outerStart),outerEnd:l(r.outerEnd),innerStart:gt(r.innerStart,0,s),innerEnd:gt(r.innerEnd,0,s)}}function $o(e,t,i,n){return{x:i+e*Math.cos(t),y:n+e*Math.sin(t)}}function es(e,t,i,n,r,o){const{x:s,y:l,startAngle:a,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+n+i-c,0),f=d>0?d+n+i+c:0;let h=0;const m=r-a;if(n){const e=((d>0?d-n:0)+(u>0?u-n:0))/2;h=(m-(0!==e?m*e/(e+n):m))/2}const p=(m-Math.max(.001,m*u-i/Ge)/u)/2,g=a+p+h,b=r-p-h,{outerStart:_,outerEnd:C,innerStart:v,innerEnd:x}=qo(t,f,u,b-g),N=u-_,w=u-C,y=g+_/N,E=b-C/w,A=f+v,D=f+x,k=g+v/A,M=b-x/D;if(e.beginPath(),o){if(e.arc(s,l,u,y,E),C>0){const t=$o(w,E,s,l);e.arc(t.x,t.y,C,E,b+$e)}const t=$o(D,b,s,l);if(e.lineTo(t.x,t.y),x>0){const t=$o(D,M,s,l);e.arc(t.x,t.y,x,b+$e,M+Math.PI)}if(e.arc(s,l,f,b-x/f,g+v/f,!0),v>0){const t=$o(A,k,s,l);e.arc(t.x,t.y,v,k+Math.PI,g-$e)}const i=$o(N,g,s,l);if(e.lineTo(i.x,i.y),_>0){const t=$o(N,y,s,l);e.arc(t.x,t.y,_,g-$e,y)}}else{e.moveTo(s,l);const t=Math.cos(y)*u+s,i=Math.sin(y)*u+l;e.lineTo(t,i);const n=Math.cos(E)*u+s,r=Math.sin(E)*u+l;e.lineTo(n,r)}e.closePath()}function ts(e,t,i,n,r,o){const{options:s}=t,{borderWidth:l,borderJoinStyle:a}=s,c="inner"===s.borderAlign;l&&(c?(e.lineWidth=2*l,e.lineJoin=a||"round"):(e.lineWidth=l,e.lineJoin=a||"bevel"),t.fullCircles&&function(e,t,i){const{x:n,y:r,startAngle:o,pixelMargin:s,fullCircles:l}=t,a=Math.max(t.outerRadius-s,0),c=t.innerRadius+s;let d;for(i&&Jo(e,t,o+Ue),e.beginPath(),e.arc(n,r,c,o+Ue,o,!0),d=0;d<l;++d)e.stroke();for(e.beginPath(),e.arc(n,r,a,o,o+Ue),d=0;d<l;++d)e.stroke()}(e,t,c),c&&Jo(e,t,r),es(e,t,i,n,r,o),e.stroke())}Object.defineProperties(Go,{defaults:{enumerable:Ko,value:xi},instances:{enumerable:Ko,value:Xo},overrides:{enumerable:Ko,value:bi},registry:{enumerable:Ko,value:Ir},version:{enumerable:Ko,value:"3.9.1"},getChart:{enumerable:Ko,value:Wo},register:{enumerable:Ko,value:(...e)=>{Ir.add(...e),Uo()}},unregister:{enumerable:Ko,value:(...e)=>{Ir.remove(...e),Uo()}}});class is extends Nr{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,i){const n=this.getProps(["x","y"],i),{angle:r,distance:o}=ut(n,{x:e,y:t}),{startAngle:s,endAngle:l,innerRadius:a,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,f=Pe(d,l-s)>=Ue||pt(r,s,l),h=bt(o,a+u,c+u);return f&&h}getCenterPoint(e){const{x:t,y:i,startAngle:n,endAngle:r,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:l,spacing:a}=this.options,c=(n+r)/2,d=(o+s+a+l)/2;return{x:t+Math.cos(c)*d,y:i+Math.sin(c)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:i}=this,n=(t.offset||0)/2,r=(t.spacing||0)/2,o=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=i>Ue?Math.floor(i/Ue):0,0===i||this.innerRadius<0||this.outerRadius<0)return;e.save();let s=0;if(n){s=n/2;const t=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(t)*s,Math.sin(t)*s),this.circumference>=Ge&&(s=n)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const l=function(e,t,i,n,r){const{fullCircles:o,startAngle:s,circumference:l}=t;let a=t.endAngle;if(o){es(e,t,i,n,s+Ue,r);for(let t=0;t<o;++t)e.fill();isNaN(l)||(a=s+l%Ue,l%Ue==0&&(a+=Ue))}return es(e,t,i,n,a,r),e.fill(),a}(e,this,s,r,o);ts(e,this,s,r,l,o),e.restore()}}function ns(e,t,i=t){e.lineCap=Pe(i.borderCapStyle,t.borderCapStyle),e.setLineDash(Pe(i.borderDash,t.borderDash)),e.lineDashOffset=Pe(i.borderDashOffset,t.borderDashOffset),e.lineJoin=Pe(i.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Pe(i.borderWidth,t.borderWidth),e.strokeStyle=Pe(i.borderColor,t.borderColor)}function rs(e,t,i){e.lineTo(i.x,i.y)}function os(e,t,i={}){const n=e.length,{start:r=0,end:o=n-1}=i,{start:s,end:l}=t,a=Math.max(r,s),c=Math.min(o,l),d=r<s&&o<s||r>l&&o>l;return{count:n,start:a,loop:t.loop,ilen:c<a&&!d?n+c-a:c-a}}function ss(e,t,i,n){const{points:r,options:o}=t,{count:s,start:l,loop:a,ilen:c}=os(r,i,n),d=function(e){return e.stepped?Pi:e.tension||"monotone"===e.cubicInterpolationMode?Hi:rs}(o);let u,f,h,{move:m=!0,reverse:p}=n||{};for(u=0;u<=c;++u)f=r[(l+(p?c-u:u))%s],f.skip||(m?(e.moveTo(f.x,f.y),m=!1):d(e,h,f,p,o.stepped),h=f);return a&&(f=r[(l+(p?c:0))%s],d(e,h,f,p,o.stepped)),!!a}function ls(e,t,i,n){const r=t.points,{count:o,start:s,ilen:l}=os(r,i,n),{move:a=!0,reverse:c}=n||{};let d,u,f,h,m,p,g=0,b=0;const _=e=>(s+(c?l-e:e))%o,C=()=>{h!==m&&(e.lineTo(g,m),e.lineTo(g,h),e.lineTo(g,p))};for(a&&(u=r[_(0)],e.moveTo(u.x,u.y)),d=0;d<=l;++d){if(u=r[_(d)],u.skip)continue;const t=u.x,i=u.y,n=0|t;n===f?(i<h?h=i:i>m&&(m=i),g=(b*g+t)/++b):(C(),e.lineTo(t,i),f=n,b=0,h=m=i),p=i}C()}function as(e){const t=e.options,i=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||i)?ls:ss}is.id="arc",is.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},is.defaultRoutes={backgroundColor:"backgroundColor"};const cs="function"==typeof Path2D;function ds(e,t,i,n){cs&&!t.options.segment?function(e,t,i,n){let r=t._path;r||(r=t._path=new Path2D,t.path(r,i,n)&&r.closePath()),ns(e,t.options),e.stroke(r)}(e,t,i,n):function(e,t,i,n){const{segments:r,options:o}=t,s=as(t);for(const l of r)ns(e,o,l.style),e.beginPath(),s(e,t,l,{start:i,end:i+n-1})&&e.closePath(),e.stroke()}(e,t,i,n)}class us extends Nr{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const n=i.spanGaps?this._loop:this._fullLoop;mn(this._points,i,e,n,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const i=e.points,n=e.options.spanGaps,r=i.length;if(!r)return[];const o=!!e._loop,{start:s,end:l}=function(e,t,i,n){let r=0,o=t-1;if(i&&!n)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,i&&(o+=r);o>r&&e[o%t].skip;)o--;return o%=t,{start:r,end:o}}(i,r,o,n);return zn(e,!0===n?[{start:s,end:l,loop:o}]:function(e,t,i,n){const r=e.length,o=[];let s,l=t,a=e[t];for(s=t+1;s<=i;++s){const i=e[s%r];i.skip||i.stop?a.skip||(n=!1,o.push({start:t%r,end:(s-1)%r,loop:n}),t=l=i.stop?s:null):(l=s,a.skip&&(t=s)),a=i}return null!==l&&o.push({start:t%r,end:l%r,loop:n}),o}(i,s,l<s?l+r:l,!!e._fullLoop&&0===s&&l===r-1),i,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,i=e.length;return i&&t[e[i-1].end]}interpolate(e,t){const i=this.options,n=e[t],r=this.points,o=Qn(this,{property:t,start:n,end:n});if(!o.length)return;const s=[],l=function(e){return e.stepped?Mn:e.tension||"monotone"===e.cubicInterpolationMode?Bn:kn}(i);let a,c;for(a=0,c=o.length;a<c;++a){const{start:c,end:d}=o[a],u=r[c],f=r[d];if(u===f){s.push(u);continue}const h=l(u,f,Math.abs((n-u[t])/(f[t]-u[t])),i.stepped);h[t]=e[t],s.push(h)}return 1===s.length?s[0]:s}pathSegment(e,t,i){return as(this)(e,this,t,i)}path(e,t,i){const n=this.segments,r=as(this);let o=this._loop;t=t||0,i=i||this.points.length-t;for(const s of n)o&=r(e,this,s,{start:t,end:t+i-1});return!!o}draw(e,t,i,n){const r=this.options||{};(this.points||[]).length&&r.borderWidth&&(e.save(),ds(e,this,i,n),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function fs(e,t,i,n){const r=e.options,{[i]:o}=e.getProps([i],n);return Math.abs(t-o)<r.radius+r.hitRadius}us.id="line",us.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},us.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},us.descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};class hs extends Nr{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,i){const n=this.options,{x:r,y:o}=this.getProps(["x","y"],i);return Math.pow(e-r,2)+Math.pow(t-o,2)<Math.pow(n.hitRadius+n.radius,2)}inXRange(e,t){return fs(this,e,"x",t)}inYRange(e,t){return fs(this,e,"y",t)}getCenterPoint(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const i=this.options;this.skip||i.radius<.1||!ki(this,t,this.size(i)/2)||(e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.fillStyle=i.backgroundColor,Ai(e,i,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function ms(e,t){const{x:i,y:n,base:r,width:o,height:s}=e.getProps(["x","y","base","width","height"],t);let l,a,c,d,u;return e.horizontal?(u=s/2,l=Math.min(i,r),a=Math.max(i,r),c=n-u,d=n+u):(u=o/2,l=i-u,a=i+u,c=Math.min(n,r),d=Math.max(n,r)),{left:l,top:c,right:a,bottom:d}}function ps(e,t,i,n){return e?0:gt(t,i,n)}function gs(e){const t=ms(e),i=t.right-t.left,n=t.bottom-t.top,r=function(e,t,i){const n=e.options.borderWidth,r=e.borderSkipped,o=ji(n);return{t:ps(r.top,o.top,0,i),r:ps(r.right,o.right,0,t),b:ps(r.bottom,o.bottom,0,i),l:ps(r.left,o.left,0,t)}}(e,i/2,n/2),o=function(e,t,i){const{enableBorderRadius:n}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,o=Vi(r),s=Math.min(t,i),l=e.borderSkipped,a=n||ke(r);return{topLeft:ps(!a||l.top||l.left,o.topLeft,0,s),topRight:ps(!a||l.top||l.right,o.topRight,0,s),bottomLeft:ps(!a||l.bottom||l.left,o.bottomLeft,0,s),bottomRight:ps(!a||l.bottom||l.right,o.bottomRight,0,s)}}(e,i/2,n/2);return{outer:{x:t.left,y:t.top,w:i,h:n,radius:o},inner:{x:t.left+r.l,y:t.top+r.t,w:i-r.l-r.r,h:n-r.t-r.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,o.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(r.b,r.r))}}}}function bs(e,t,i,n){const r=null===t,o=null===i,s=e&&!(r&&o)&&ms(e,n);return s&&(r||bt(t,s.left,s.right))&&(o||bt(i,s.top,s.bottom))}function _s(e,t){e.rect(t.x,t.y,t.w,t.h)}function Cs(e,t,i={}){const n=e.x!==i.x?-t:0,r=e.y!==i.y?-t:0,o=(e.x+e.w!==i.x+i.w?t:0)-n,s=(e.y+e.h!==i.y+i.h?t:0)-r;return{x:e.x+n,y:e.y+r,w:e.w+o,h:e.h+s,radius:e.radius}}hs.id="point",hs.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},hs.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class vs extends Nr{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:i,backgroundColor:n}}=this,{inner:r,outer:o}=gs(this),s=(l=o.radius).topLeft||l.topRight||l.bottomLeft||l.bottomRight?Ii:_s;var l;e.save(),o.w===r.w&&o.h===r.h||(e.beginPath(),s(e,Cs(o,t,r)),e.clip(),s(e,Cs(r,-t,o)),e.fillStyle=i,e.fill("evenodd")),e.beginPath(),s(e,Cs(r,t)),e.fillStyle=n,e.fill(),e.restore()}inRange(e,t,i){return bs(this,e,t,i)}inXRange(e,t){return bs(this,e,null,t)}inYRange(e,t){return bs(this,null,e,t)}getCenterPoint(e){const{x:t,y:i,base:n,horizontal:r}=this.getProps(["x","y","base","horizontal"],e);return{x:r?(t+n)/2:t,y:r?i:(i+n)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}vs.id="bar",vs.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},vs.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var xs=Object.freeze({__proto__:null,ArcElement:is,LineElement:us,PointElement:hs,BarElement:vs});function Ns(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function ws(e){e.data.datasets.forEach((e=>{Ns(e)}))}var ys={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,i)=>{if(!i.enabled)return void ws(e);const n=e.width;e.data.datasets.forEach(((t,r)=>{const{_data:o,indexAxis:s}=t,l=e.getDatasetMeta(r),a=o||t.data;if("y"===Xi([s,e.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=e.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(e.options.parsing)return;let{start:d,count:u}=function(e,t){const i=t.length;let n,r=0;const{iScale:o}=e,{min:s,max:l,minDefined:a,maxDefined:c}=o.getUserBounds();return a&&(r=gt(Ct(t,o.axis,s).lo,0,i-1)),n=c?gt(Ct(t,o.axis,l).hi+1,r,i)-r:i-r,{start:r,count:n}}(l,a);if(u<=(i.threshold||4*n))return void Ns(t);let f;switch(Ae(o)&&(t._data=a,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),i.algorithm){case"lttb":f=function(e,t,i,n,r){const o=r.samples||n;if(o>=i)return e.slice(t,t+i);const s=[],l=(i-2)/(o-2);let a=0;const c=t+i-1;let d,u,f,h,m,p=t;for(s[a++]=e[p],d=0;d<o-2;d++){let n,r=0,o=0;const c=Math.floor((d+1)*l)+1+t,g=Math.min(Math.floor((d+2)*l)+1,i)+t,b=g-c;for(n=c;n<g;n++)r+=e[n].x,o+=e[n].y;r/=b,o/=b;const _=Math.floor(d*l)+1+t,C=Math.min(Math.floor((d+1)*l)+1,i)+t,{x:v,y:x}=e[p];for(f=h=-1,n=_;n<C;n++)h=.5*Math.abs((v-r)*(e[n].y-x)-(v-e[n].x)*(o-x)),h>f&&(f=h,u=e[n],m=n);s[a++]=u,p=m}return s[a++]=e[c],s}(a,d,u,n,i);break;case"min-max":f=function(e,t,i,n){let r,o,s,l,a,c,d,u,f,h,m=0,p=0;const g=[],b=t+i-1,_=e[t].x,C=e[b].x-_;for(r=t;r<t+i;++r){o=e[r],s=(o.x-_)/C*n,l=o.y;const t=0|s;if(t===a)l<f?(f=l,c=r):l>h&&(h=l,d=r),m=(p*m+o.x)/++p;else{const i=r-1;if(!Ae(c)&&!Ae(d)){const t=Math.min(c,d),n=Math.max(c,d);t!==u&&t!==i&&g.push({...e[t],x:m}),n!==u&&n!==i&&g.push({...e[n],x:m})}r>0&&i!==u&&g.push(e[i]),g.push(o),a=t,p=0,f=h=l,c=d=u=r}}return g}(a,d,u,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}t._decimated=f}))},destroy(e){ws(e)}};function Es(e,t,i,n){if(n)return;let r=t[e],o=i[e];return"angle"===e&&(r=mt(r),o=mt(o)),{property:e,start:r,end:o}}function As(e,t,i){for(;t>e;t--){const e=i[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Ds(e,t,i,n){return e&&t?n(e[i],t[i]):e?e[i]:t?t[i]:0}function ks(e,t){let i=[],n=!1;return De(e)?(n=!0,i=e):i=function(e,t){const{x:i=null,y:n=null}=e||{},r=t.points,o=[];return t.segments.forEach((({start:e,end:t})=>{t=As(e,t,r);const s=r[e],l=r[t];null!==n?(o.push({x:s.x,y:n}),o.push({x:l.x,y:n})):null!==i&&(o.push({x:i,y:s.y}),o.push({x:i,y:l.y}))})),o}(e,t),i.length?new us({points:i,options:{tension:0},_loop:n,_fullLoop:n}):null}function Ms(e){return e&&!1!==e.fill}function Bs(e,t,i){let n=e[t].fill;const r=[t];let o;if(!i)return n;for(;!1!==n&&-1===r.indexOf(n);){if(!Me(n))return n;if(o=e[n],!o)return!1;if(o.visible)return n;r.push(n),n=o.fill}return!1}function Ps(e,t,i){const n=function(e){const t=e.options,i=t.fill;let n=Pe(i&&i.target,i);void 0===n&&(n=!!t.backgroundColor);if(!1===n||null===n)return!1;if(!0===n)return"origin";return n}(e);if(ke(n))return!isNaN(n.value)&&n;let r=parseFloat(n);return Me(r)&&Math.floor(r)===r?function(e,t,i,n){"-"!==e&&"+"!==e||(i=t+i);if(i===t||i<0||i>=n)return!1;return i}(n[0],t,r,i):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function Hs(e,t,i){const n=[];for(let r=0;r<i.length;r++){const o=i[r],{first:s,last:l,point:a}=Ls(o,t,"x");if(!(!a||s&&l))if(s)n.unshift(a);else if(e.push(a),!l)break}e.push(...n)}function Ls(e,t,i){const n=e.interpolate(t,i);if(!n)return{};const r=n[i],o=e.segments,s=e.points;let l=!1,a=!1;for(let e=0;e<o.length;e++){const t=o[e],n=s[t.start][i],c=s[t.end][i];if(bt(r,n,c)){l=r===n,a=r===c;break}}return{first:l,last:a,point:n}}class Os{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,i){const{x:n,y:r,radius:o}=this;return t=t||{start:0,end:Ue},e.arc(n,r,o,t.end,t.start,!0),!i.bounds}interpolate(e){const{x:t,y:i,radius:n}=this,r=e.angle;return{x:t+Math.cos(r)*n,y:i+Math.sin(r)*n,angle:r}}}function Is(e){const{chart:t,fill:i,line:n}=e;if(Me(i))return function(e,t){const i=e.getDatasetMeta(t),n=i&&e.isDatasetVisible(t);return n?i.dataset:null}(t,i);if("stack"===i)return function(e){const{scale:t,index:i,line:n}=e,r=[],o=n.segments,s=n.points,l=function(e,t){const i=[],n=e.getMatchingVisibleMetas("line");for(let e=0;e<n.length;e++){const r=n[e];if(r.index===t)break;r.hidden||i.unshift(r.dataset)}return i}(t,i);l.push(ks({x:null,y:t.bottom},n));for(let e=0;e<o.length;e++){const t=o[e];for(let e=t.start;e<=t.end;e++)Hs(r,s[e],l)}return new us({points:r,options:{}})}(e);if("shape"===i)return!0;const r=function(e){const t=e.scale||{};if(t.getPointPositionForValue)return function(e){const{scale:t,fill:i}=e,n=t.options,r=t.getLabels().length,o=n.reverse?t.max:t.min,s=function(e,t,i){let n;return n="start"===e?i:"end"===e?t.options.reverse?t.min:t.max:ke(e)?e.value:t.getBaseValue(),n}(i,t,o),l=[];if(n.grid.circular){const e=t.getPointPositionForValue(0,o);return new Os({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(s)})}for(let e=0;e<r;++e)l.push(t.getPointPositionForValue(e,s));return l}(e);return function(e){const{scale:t={},fill:i}=e,n=function(e,t){let i=null;return"start"===e?i=t.bottom:"end"===e?i=t.top:ke(e)?i=t.getPixelForValue(e.value):t.getBasePixel&&(i=t.getBasePixel()),i}(i,t);if(Me(n)){const e=t.isHorizontal();return{x:e?n:null,y:e?null:n}}return null}(e)}(e);return r instanceof Os?r:ks(r,n)}function Ss(e,t,i){const n=Is(t),{line:r,scale:o,axis:s}=t,l=r.options,a=l.fill,c=l.backgroundColor,{above:d=c,below:u=c}=a||{};n&&r.points.length&&(Mi(e,i),function(e,t){const{line:i,target:n,above:r,below:o,area:s,scale:l}=t,a=i._loop?"angle":t.axis;e.save(),"x"===a&&o!==r&&(Rs(e,n,s.top),Fs(e,{line:i,target:n,color:r,scale:l,property:a}),e.restore(),e.save(),Rs(e,n,s.bottom));Fs(e,{line:i,target:n,color:o,scale:l,property:a}),e.restore()}(e,{line:r,target:n,above:d,below:u,area:i,scale:o,axis:s}),Bi(e))}function Rs(e,t,i){const{segments:n,points:r}=t;let o=!0,s=!1;e.beginPath();for(const l of n){const{start:n,end:a}=l,c=r[n],d=r[As(n,a,r)];o?(e.moveTo(c.x,c.y),o=!1):(e.lineTo(c.x,i),e.lineTo(c.x,c.y)),s=!!t.pathSegment(e,l,{move:s}),s?e.closePath():e.lineTo(d.x,i)}e.lineTo(t.first().x,i),e.closePath(),e.clip()}function Fs(e,t){const{line:i,target:n,property:r,color:o,scale:s}=t,l=function(e,t,i){const n=e.segments,r=e.points,o=t.points,s=[];for(const e of n){let{start:n,end:l}=e;l=As(n,l,r);const a=Es(i,r[n],r[l],e.loop);if(!t.segments){s.push({source:e,target:a,start:r[n],end:r[l]});continue}const c=Qn(t,a);for(const t of c){const n=Es(i,o[t.start],o[t.end],t.loop),l=Fn(e,r,n);for(const e of l)s.push({source:e,target:t,start:{[i]:Ds(a,n,"start",Math.max)},end:{[i]:Ds(a,n,"end",Math.min)}})}}return s}(i,n,r);for(const{source:t,target:a,start:c,end:d}of l){const{style:{backgroundColor:l=o}={}}=t,u=!0!==n;e.save(),e.fillStyle=l,Qs(e,s,u&&Es(r,c,d)),e.beginPath();const f=!!i.pathSegment(e,t);let h;if(u){f?e.closePath():zs(e,n,d,r);const t=!!n.pathSegment(e,a,{move:f,reverse:!0});h=f&&t,h||zs(e,n,c,r)}e.closePath(),e.fill(h?"evenodd":"nonzero"),e.restore()}}function Qs(e,t,i){const{top:n,bottom:r}=t.chart.chartArea,{property:o,start:s,end:l}=i||{};"x"===o&&(e.beginPath(),e.rect(s,n,l-s,r-n),e.clip())}function zs(e,t,i,n){const r=t.interpolate(i,n);r&&e.lineTo(r.x,r.y)}var js={id:"filler",afterDatasetsUpdate(e,t,i){const n=(e.data.datasets||[]).length,r=[];let o,s,l,a;for(s=0;s<n;++s)o=e.getDatasetMeta(s),l=o.dataset,a=null,l&&l.options&&l instanceof us&&(a={visible:e.isDatasetVisible(s),index:s,fill:Ps(l,s,n),chart:e,axis:o.controller.options.indexAxis,scale:o.vScale,line:l}),o.$filler=a,r.push(a);for(s=0;s<n;++s)a=r[s],a&&!1!==a.fill&&(a.fill=Bs(r,s,i.propagate))},beforeDraw(e,t,i){const n="beforeDraw"===i.drawTime,r=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let t=r.length-1;t>=0;--t){const i=r[t].$filler;i&&(i.line.updateControlPoints(o,i.axis),n&&i.fill&&Ss(e.ctx,i,o))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"!==i.drawTime)return;const n=e.getSortedVisibleDatasetMetas();for(let t=n.length-1;t>=0;--t){const i=n[t].$filler;Ms(i)&&Ss(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,i){const n=t.meta.$filler;Ms(n)&&"beforeDatasetDraw"===i.drawTime&&Ss(e.ctx,n,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Vs=(e,t)=>{let{boxHeight:i=t,boxWidth:n=t}=e;return e.usePointStyle&&(i=Math.min(i,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:i,itemHeight:Math.max(t,i)}};class Ts extends Nr{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Le(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,i)=>e.sort(t,i,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const i=e.labels,n=Yi(i.font),r=n.size,o=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=Vs(i,r);let a,c;t.font=n.string,this.isHorizontal()?(a=this.maxWidth,c=this._fitRows(o,r,s,l)+10):(c=this.maxHeight,a=this._fitCols(o,r,s,l)+10),this.width=Math.min(a,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,n){const{ctx:r,maxWidth:o,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],a=this.lineWidths=[0],c=n+s;let d=e;r.textAlign="left",r.textBaseline="middle";let u=-1,f=-c;return this.legendItems.forEach(((e,h)=>{const m=i+t/2+r.measureText(e.text).width;(0===h||a[a.length-1]+m+2*s>o)&&(d+=c,a[a.length-(h>0?0:1)]=0,f+=c,u++),l[h]={left:0,top:f,row:u,width:m,height:n},a[a.length-1]+=m+s})),d}_fitCols(e,t,i,n){const{ctx:r,maxHeight:o,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],a=this.columnSizes=[],c=o-e;let d=s,u=0,f=0,h=0,m=0;return this.legendItems.forEach(((e,o)=>{const p=i+t/2+r.measureText(e.text).width;o>0&&f+n+2*s>c&&(d+=u+s,a.push({width:u,height:f}),h+=u+s,m++,u=f=0),l[o]={left:h,top:f,col:m,width:p,height:n},u=Math.max(u,p),f+=n+s})),d+=u,a.push({width:u,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:n},rtl:r}}=this,o=Ln(r,this.left,this.width);if(this.isHorizontal()){let r=0,s=Dt(i,this.left+n,this.right-this.lineWidths[r]);for(const l of t)r!==l.row&&(r=l.row,s=Dt(i,this.left+n,this.right-this.lineWidths[r])),l.top+=this.top+e+n,l.left=o.leftForLtr(o.x(s),l.width),s+=l.width+n}else{let r=0,s=Dt(i,this.top+e+n,this.bottom-this.columnSizes[r].height);for(const l of t)l.col!==r&&(r=l.col,s=Dt(i,this.top+e+n,this.bottom-this.columnSizes[r].height)),l.top=s,l.left+=this.left+n,l.left=o.leftForLtr(o.x(l.left),l.width),s+=l.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Mi(e,this),this._draw(),Bi(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:n}=this,{align:r,labels:o}=e,s=xi.color,l=Ln(e.rtl,this.left,this.width),a=Yi(o.font),{color:c,padding:d}=o,u=a.size,f=u/2;let h;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=a.string;const{boxWidth:m,boxHeight:p,itemHeight:g}=Vs(o,u),b=this.isHorizontal(),_=this._computeTitleHeight();h=b?{x:Dt(r,this.left+d,this.right-i[0]),y:this.top+d+_,line:0}:{x:this.left+d,y:Dt(r,this.top+_+d,this.bottom-t[0].height),line:0},On(this.ctx,e.textDirection);const C=g+d;this.legendItems.forEach(((v,x)=>{n.strokeStyle=v.fontColor||c,n.fillStyle=v.fontColor||c;const N=n.measureText(v.text).width,w=l.textAlign(v.textAlign||(v.textAlign=o.textAlign)),y=m+f+N;let E=h.x,A=h.y;l.setWidth(this.width),b?x>0&&E+y+d>this.right&&(A=h.y+=C,h.line++,E=h.x=Dt(r,this.left+d,this.right-i[h.line])):x>0&&A+C>this.bottom&&(E=h.x=E+t[h.line].width+d,h.line++,A=h.y=Dt(r,this.top+_+d,this.bottom-t[h.line].height));!function(e,t,i){if(isNaN(m)||m<=0||isNaN(p)||p<0)return;n.save();const r=Pe(i.lineWidth,1);if(n.fillStyle=Pe(i.fillStyle,s),n.lineCap=Pe(i.lineCap,"butt"),n.lineDashOffset=Pe(i.lineDashOffset,0),n.lineJoin=Pe(i.lineJoin,"miter"),n.lineWidth=r,n.strokeStyle=Pe(i.strokeStyle,s),n.setLineDash(Pe(i.lineDash,[])),o.usePointStyle){const s={radius:p*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:r},a=l.xPlus(e,m/2);Di(n,s,a,t+f,o.pointStyleWidth&&m)}else{const o=t+Math.max((u-p)/2,0),s=l.leftForLtr(e,m),a=Vi(i.borderRadius);n.beginPath(),Object.values(a).some((e=>0!==e))?Ii(n,{x:s,y:o,w:m,h:p,radius:a}):n.rect(s,o,m,p),n.fill(),0!==r&&n.stroke()}n.restore()}(l.x(E),A,v),E=((e,t,i,n)=>e===(n?"left":"right")?i:"center"===e?(t+i)/2:t)(w,E+m+f,b?E+y:this.right,e.rtl),function(e,t,i){Li(n,i.text,e,t+g/2,a,{strikethrough:i.hidden,textAlign:l.textAlign(i.textAlign)})}(l.x(E),A,v),b?h.x+=y+d:h.y+=C})),In(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=Yi(t.font),n=Ti(t.padding);if(!t.display)return;const r=Ln(e.rtl,this.left,this.width),o=this.ctx,s=t.position,l=i.size/2,a=n.top+l;let c,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),c=this.top+a,d=Dt(e.align,d,this.right-u);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=a+Dt(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=Dt(s,d,d+u);o.textAlign=r.textAlign(At(s)),o.textBaseline="middle",o.strokeStyle=t.color,o.fillStyle=t.color,o.font=i.string,Li(o,t.text,f,c,i)}_computeTitleHeight(){const e=this.options.title,t=Yi(e.font),i=Ti(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,n,r;if(bt(e,this.left,this.right)&&bt(t,this.top,this.bottom))for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(n=r[i],bt(e,n.left,n.left+n.width)&&bt(t,n.top,n.top+n.height))return this.legendItems[i];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const i=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const o=this._hoveredItem,s=(r=i,null!==(n=o)&&null!==r&&n.datasetIndex===r.datasetIndex&&n.index===r.index);o&&!s&&Le(t.onLeave,[e,o,this],this),this._hoveredItem=i,i&&!s&&Le(t.onHover,[e,i,this],this)}else i&&Le(t.onClick,[e,i,this],this);var n,r}}var Ys={id:"legend",_element:Ts,start(e,t,i){const n=e.legend=new Ts({ctx:e.ctx,options:i,chart:e});so.configure(e,n,i),so.addBox(e,n)},stop(e){so.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){const n=e.legend;so.configure(e,n,i),n.options=i},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){const n=t.datasetIndex,r=i.chart;r.isDatasetVisible(n)?(r.hide(n),t.hidden=!0):(r.show(n),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:n,textAlign:r,color:o}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const s=e.controller.getStyle(i?0:void 0),l=Ti(s.borderWidth);return{text:t[e.index].label,fillStyle:s.backgroundColor,fontColor:o,hidden:!e.visible,lineCap:s.borderCapStyle,lineDash:s.borderDash,lineDashOffset:s.borderDashOffset,lineJoin:s.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:s.borderColor,pointStyle:n||s.pointStyle,rotation:s.rotation,textAlign:r||s.textAlign,borderRadius:0,datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Xs extends Nr{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const n=De(i.text)?i.text.length:1;this._padding=Ti(i.padding);const r=n*Yi(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:i,bottom:n,right:r,options:o}=this,s=o.align;let l,a,c,d=0;return this.isHorizontal()?(a=Dt(s,i,r),c=t+e,l=r-i):("left"===o.position?(a=i+e,c=Dt(s,n,t),d=-.5*Ge):(a=r-e,c=Dt(s,t,n),d=.5*Ge),l=n-t),{titleX:a,titleY:c,maxWidth:l,rotation:d}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const i=Yi(t.font),n=i.lineHeight/2+this._padding.top,{titleX:r,titleY:o,maxWidth:s,rotation:l}=this._drawArgs(n);Li(e,t.text,0,0,i,{color:t.color,maxWidth:s,rotation:l,textAlign:At(t.align),textBaseline:"middle",translation:[r,o]})}}var Ws={id:"title",_element:Xs,start(e,t,i){!function(e,t){const i=new Xs({ctx:e.ctx,options:t,chart:e});so.configure(e,i,t),so.addBox(e,i),e.titleBlock=i}(e,i)},stop(e){const t=e.titleBlock;so.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){const n=e.titleBlock;so.configure(e,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Zs=new WeakMap;var Gs={id:"subtitle",start(e,t,i){const n=new Xs({ctx:e.ctx,options:i,chart:e});so.configure(e,n,i),so.addBox(e,n),Zs.set(e,n)},stop(e){so.removeBox(e,Zs.get(e)),Zs.delete(e)},beforeUpdate(e,t,i){const n=Zs.get(e);so.configure(e,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Us={average(e){if(!e.length)return!1;let t,i,n=0,r=0,o=0;for(t=0,i=e.length;t<i;++t){const i=e[t].element;if(i&&i.hasValue()){const e=i.tooltipPosition();n+=e.x,r+=e.y,++o}}return{x:n/o,y:r/o}},nearest(e,t){if(!e.length)return!1;let i,n,r,o=t.x,s=t.y,l=Number.POSITIVE_INFINITY;for(i=0,n=e.length;i<n;++i){const n=e[i].element;if(n&&n.hasValue()){const e=ft(t,n.getCenterPoint());e<l&&(l=e,r=n)}}if(r){const e=r.tooltipPosition();o=e.x,s=e.y}return{x:o,y:s}}};function Ks(e,t){return t&&(De(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Js(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function qs(e,t){const{element:i,datasetIndex:n,index:r}=t,o=e.getDatasetMeta(n).controller,{label:s,value:l}=o.getLabelAndValue(r);return{chart:e,label:s,parsed:o.getParsed(r),raw:e.data.datasets[n].data[r],formattedValue:l,dataset:o.getDataset(),dataIndex:r,datasetIndex:n,element:i}}function $s(e,t){const i=e.chart.ctx,{body:n,footer:r,title:o}=e,{boxWidth:s,boxHeight:l}=t,a=Yi(t.bodyFont),c=Yi(t.titleFont),d=Yi(t.footerFont),u=o.length,f=r.length,h=n.length,m=Ti(t.padding);let p=m.height,g=0,b=n.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(b+=e.beforeBody.length+e.afterBody.length,u&&(p+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),b){p+=h*(t.displayColors?Math.max(l,a.lineHeight):a.lineHeight)+(b-h)*a.lineHeight+(b-1)*t.bodySpacing}f&&(p+=t.footerMarginTop+f*d.lineHeight+(f-1)*t.footerSpacing);let _=0;const C=function(e){g=Math.max(g,i.measureText(e).width+_)};return i.save(),i.font=c.string,Oe(e.title,C),i.font=a.string,Oe(e.beforeBody.concat(e.afterBody),C),_=t.displayColors?s+2+t.boxPadding:0,Oe(n,(e=>{Oe(e.before,C),Oe(e.lines,C),Oe(e.after,C)})),_=0,i.font=d.string,Oe(e.footer,C),i.restore(),g+=m.width,{width:g,height:p}}function el(e,t,i,n){const{x:r,width:o}=i,{width:s,chartArea:{left:l,right:a}}=e;let c="center";return"center"===n?c=r<=(l+a)/2?"left":"right":r<=o/2?c="left":r>=s-o/2&&(c="right"),function(e,t,i,n){const{x:r,width:o}=n,s=i.caretSize+i.caretPadding;return"left"===e&&r+o+s>t.width||"right"===e&&r-o-s<0||void 0}(c,e,t,i)&&(c="center"),c}function tl(e,t,i){const n=i.yAlign||t.yAlign||function(e,t){const{y:i,height:n}=t;return i<n/2?"top":i>e.height-n/2?"bottom":"center"}(e,i);return{xAlign:i.xAlign||t.xAlign||el(e,t,i,n),yAlign:n}}function il(e,t,i,n){const{caretSize:r,caretPadding:o,cornerRadius:s}=e,{xAlign:l,yAlign:a}=i,c=r+o,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:h}=Vi(s);let m=function(e,t){let{x:i,width:n}=e;return"right"===t?i-=n:"center"===t&&(i-=n/2),i}(t,l);const p=function(e,t,i){let{y:n,height:r}=e;return"top"===t?n+=i:n-="bottom"===t?r+i:r/2,n}(t,a,c);return"center"===a?"left"===l?m+=c:"right"===l&&(m-=c):"left"===l?m-=Math.max(d,f)+r:"right"===l&&(m+=Math.max(u,h)+r),{x:gt(m,0,n.width-t.width),y:gt(p,0,n.height-t.height)}}function nl(e,t,i){const n=Ti(i.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-n.right:e.x+n.left}function rl(e){return Ks([],Js(e))}function ol(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}class sl extends Nr{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),n=i.enabled&&t.options.animation&&i.animations,r=new Gn(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,i=this._tooltipItems,Wi(e,{tooltip:t,tooltipItems:i,type:"tooltip"})));var e,t,i}getTitle(e,t){const{callbacks:i}=t,n=i.beforeTitle.apply(this,[e]),r=i.title.apply(this,[e]),o=i.afterTitle.apply(this,[e]);let s=[];return s=Ks(s,Js(n)),s=Ks(s,Js(r)),s=Ks(s,Js(o)),s}getBeforeBody(e,t){return rl(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:i}=t,n=[];return Oe(e,(e=>{const t={before:[],lines:[],after:[]},r=ol(i,e);Ks(t.before,Js(r.beforeLabel.call(this,e))),Ks(t.lines,r.label.call(this,e)),Ks(t.after,Js(r.afterLabel.call(this,e))),n.push(t)})),n}getAfterBody(e,t){return rl(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:i}=t,n=i.beforeFooter.apply(this,[e]),r=i.footer.apply(this,[e]),o=i.afterFooter.apply(this,[e]);let s=[];return s=Ks(s,Js(n)),s=Ks(s,Js(r)),s=Ks(s,Js(o)),s}_createItems(e){const t=this._active,i=this.chart.data,n=[],r=[],o=[];let s,l,a=[];for(s=0,l=t.length;s<l;++s)a.push(qs(this.chart,t[s]));return e.filter&&(a=a.filter(((t,n,r)=>e.filter(t,n,r,i)))),e.itemSort&&(a=a.sort(((t,n)=>e.itemSort(t,n,i)))),Oe(a,(t=>{const i=ol(e.callbacks,t);n.push(i.labelColor.call(this,t)),r.push(i.labelPointStyle.call(this,t)),o.push(i.labelTextColor.call(this,t))})),this.labelColors=n,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(e,t){const i=this.options.setContext(this.getContext()),n=this._active;let r,o=[];if(n.length){const e=Us[i.position].call(this,n,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const t=this._size=$s(this,i),s=Object.assign({},e,t),l=tl(this.chart,i,s),a=il(i,s,l,this.chart);this.xAlign=l.xAlign,this.yAlign=l.yAlign,r={opacity:1,x:a.x,y:a.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,n){const r=this.getCaretPosition(e,i,n);t.lineTo(r.x1,r.y1),t.lineTo(r.x2,r.y2),t.lineTo(r.x3,r.y3)}getCaretPosition(e,t,i){const{xAlign:n,yAlign:r}=this,{caretSize:o,cornerRadius:s}=i,{topLeft:l,topRight:a,bottomLeft:c,bottomRight:d}=Vi(s),{x:u,y:f}=e,{width:h,height:m}=t;let p,g,b,_,C,v;return"center"===r?(C=f+m/2,"left"===n?(p=u,g=p-o,_=C+o,v=C-o):(p=u+h,g=p+o,_=C-o,v=C+o),b=p):(g="left"===n?u+Math.max(l,c)+o:"right"===n?u+h-Math.max(a,d)-o:this.caretX,"top"===r?(_=f,C=_-o,p=g-o,b=g+o):(_=f+m,C=_+o,p=g+o,b=g-o),v=_),{x1:p,x2:g,x3:b,y1:_,y2:C,y3:v}}drawTitle(e,t,i){const n=this.title,r=n.length;let o,s,l;if(r){const a=Ln(i.rtl,this.x,this.width);for(e.x=nl(this,i.titleAlign,i),t.textAlign=a.textAlign(i.titleAlign),t.textBaseline="middle",o=Yi(i.titleFont),s=i.titleSpacing,t.fillStyle=i.titleColor,t.font=o.string,l=0;l<r;++l)t.fillText(n[l],a.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+s,l+1===r&&(e.y+=i.titleMarginBottom-s)}}_drawColorBox(e,t,i,n,r){const o=this.labelColors[i],s=this.labelPointStyles[i],{boxHeight:l,boxWidth:a,boxPadding:c}=r,d=Yi(r.bodyFont),u=nl(this,"left",r),f=n.x(u),h=l<d.lineHeight?(d.lineHeight-l)/2:0,m=t.y+h;if(r.usePointStyle){const t={radius:Math.min(a,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},i=n.leftForLtr(f,a)+a/2,c=m+l/2;e.strokeStyle=r.multiKeyBackground,e.fillStyle=r.multiKeyBackground,Ai(e,t,i,c),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,Ai(e,t,i,c)}else{e.lineWidth=ke(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const t=n.leftForLtr(f,a-c),i=n.leftForLtr(n.xPlus(f,1),a-c-2),s=Vi(o.borderRadius);Object.values(s).some((e=>0!==e))?(e.beginPath(),e.fillStyle=r.multiKeyBackground,Ii(e,{x:t,y:m,w:a,h:l,radius:s}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),Ii(e,{x:i,y:m+1,w:a-2,h:l-2,radius:s}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(t,m,a,l),e.strokeRect(t,m,a,l),e.fillStyle=o.backgroundColor,e.fillRect(i,m+1,a-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:n}=this,{bodySpacing:r,bodyAlign:o,displayColors:s,boxHeight:l,boxWidth:a,boxPadding:c}=i,d=Yi(i.bodyFont);let u=d.lineHeight,f=0;const h=Ln(i.rtl,this.x,this.width),m=function(i){t.fillText(i,h.x(e.x+f),e.y+u/2),e.y+=u+r},p=h.textAlign(o);let g,b,_,C,v,x,N;for(t.textAlign=o,t.textBaseline="middle",t.font=d.string,e.x=nl(this,p,i),t.fillStyle=i.bodyColor,Oe(this.beforeBody,m),f=s&&"right"!==p?"center"===o?a/2+c:a+2+c:0,C=0,x=n.length;C<x;++C){for(g=n[C],b=this.labelTextColors[C],t.fillStyle=b,Oe(g.before,m),_=g.lines,s&&_.length&&(this._drawColorBox(t,e,C,h,i),u=Math.max(d.lineHeight,l)),v=0,N=_.length;v<N;++v)m(_[v]),u=d.lineHeight;Oe(g.after,m)}f=0,u=d.lineHeight,Oe(this.afterBody,m),e.y-=r}drawFooter(e,t,i){const n=this.footer,r=n.length;let o,s;if(r){const l=Ln(i.rtl,this.x,this.width);for(e.x=nl(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=l.textAlign(i.footerAlign),t.textBaseline="middle",o=Yi(i.footerFont),t.fillStyle=i.footerColor,t.font=o.string,s=0;s<r;++s)t.fillText(n[s],l.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+i.footerSpacing}}drawBackground(e,t,i,n){const{xAlign:r,yAlign:o}=this,{x:s,y:l}=e,{width:a,height:c}=i,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:h}=Vi(n.cornerRadius);t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.beginPath(),t.moveTo(s+d,l),"top"===o&&this.drawCaret(e,t,i,n),t.lineTo(s+a-u,l),t.quadraticCurveTo(s+a,l,s+a,l+u),"center"===o&&"right"===r&&this.drawCaret(e,t,i,n),t.lineTo(s+a,l+c-h),t.quadraticCurveTo(s+a,l+c,s+a-h,l+c),"bottom"===o&&this.drawCaret(e,t,i,n),t.lineTo(s+f,l+c),t.quadraticCurveTo(s,l+c,s,l+c-f),"center"===o&&"left"===r&&this.drawCaret(e,t,i,n),t.lineTo(s,l+d),t.quadraticCurveTo(s,l,s+d,l),t.closePath(),t.fill(),n.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,n=i&&i.x,r=i&&i.y;if(n||r){const i=Us[e.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=$s(this,e),s=Object.assign({},i,this._size),l=tl(t,e,s),a=il(e,s,l,t);n._to===a.x&&r._to===a.y||(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,a))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const n={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Ti(t.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&s&&(e.save(),e.globalAlpha=i,this.drawBackground(r,e,n,t),On(e,t.textDirection),r.y+=o.top,this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),In(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,n=e.map((({datasetIndex:e,index:t})=>{const i=this.chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[t],index:t}})),r=!Ie(i,n),o=this._positionChanged(n,t);(r||o)&&(this._active=n,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,r=this._active||[],o=this._getActiveElements(e,r,t,i),s=this._positionChanged(o,e),l=t||!Ie(o,r)||s;return l&&(this._active=o,(n.enabled||n.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),l}_getActiveElements(e,t,i,n){const r=this.options;if("mouseout"===e.type)return[];if(!n)return t;const o=this.chart.getElementsAtEventForMode(e,r.mode,r,i);return r.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:i,caretY:n,options:r}=this,o=Us[r.position].call(this,e,t);return!1!==o&&(i!==o.x||n!==o.y)}}sl.positioners=Us;var ll={id:"tooltip",_element:sl,positioners:Us,afterInit(e,t,i){i&&(e.tooltip=new sl({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",i))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:ye,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,n=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex<n)return i[t.dataIndex]}return""},afterTitle:ye,beforeBody:ye,beforeLabel:ye,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return Ae(i)||(t+=i),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:ye,afterBody:ye,beforeFooter:ye,footer:ye,afterFooter:ye}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},al=Object.freeze({__proto__:null,Decimation:ys,Filler:js,Legend:Ys,SubTitle:Gs,Title:Ws,Tooltip:ll});function cl(e,t,i,n){const r=e.indexOf(t);if(-1===r)return((e,t,i,n)=>("string"==typeof t?(i=e.push(t)-1,n.unshift({index:i,label:t})):isNaN(t)&&(i=null),i))(e,t,i,n);return r!==e.lastIndexOf(t)?i:r}class dl extends Lr{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:i,label:n}of t)e[i]===n&&e.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(Ae(e))return null;const i=this.getLabels();return((e,t)=>null===e?null:gt(Math.round(e),0,t))(t=isFinite(t)&&i[t]===e?t:cl(i,e,Pe(t,e),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:i,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(i=0),t||(n=this.getLabels().length-1)),this.min=i,this.max=n}buildTicks(){const e=this.min,t=this.max,i=this.options.offset,n=[];let r=this.getLabels();r=0===e&&t===r.length-1?r:r.slice(e,t+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=e;i<=t;i++)n.push({value:i});return n}getLabelForValue(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function ul(e,t){const i=[],{bounds:n,step:r,min:o,max:s,precision:l,count:a,maxTicks:c,maxDigits:d,includeBounds:u}=e,f=r||1,h=c-1,{min:m,max:p}=t,g=!Ae(o),b=!Ae(s),_=!Ae(a),C=(p-m)/(d+1);let v,x,N,w,y=rt((p-m)/h/f)*f;if(y<1e-14&&!g&&!b)return[{value:m},{value:p}];w=Math.ceil(p/y)-Math.floor(m/y),w>h&&(y=rt(w*y/h/f)*f),Ae(l)||(v=Math.pow(10,l),y=Math.ceil(y*v)/v),"ticks"===n?(x=Math.floor(m/y)*y,N=Math.ceil(p/y)*y):(x=m,N=p),g&&b&&r&&function(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}((s-o)/r,y/1e3)?(w=Math.round(Math.min((s-o)/y,c)),y=(s-o)/w,x=o,N=s):_?(x=g?o:x,N=b?s:N,w=a-1,y=(N-x)/w):(w=(N-x)/y,w=st(w,Math.round(w),y/1e3)?Math.round(w):Math.ceil(w));const E=Math.max(dt(y),dt(x));v=Math.pow(10,Ae(l)?E:l),x=Math.round(x*v)/v,N=Math.round(N*v)/v;let A=0;for(g&&(u&&x!==o?(i.push({value:o}),x<o&&A++,st(Math.round((x+A*y)*v)/v,o,fl(o,C,e))&&A++):x<o&&A++);A<w;++A)i.push({value:Math.round((x+A*y)*v)/v});return b&&u&&N!==s?i.length&&st(i[i.length-1].value,s,fl(s,C,e))?i[i.length-1].value=s:i.push({value:s}):b&&N!==s||i.push({value:N}),i}function fl(e,t,{horizontal:i,minRotation:n}){const r=at(n),o=(i?Math.sin(r):Math.cos(r))||.001,s=.75*t*(""+e).length;return Math.min(t/o,s)}dl.id="category",dl.defaults={ticks:{callback:dl.prototype.getLabelForValue}};class hl extends Lr{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Ae(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:n,max:r}=this;const o=e=>n=t?n:e,s=e=>r=i?r:e;if(e){const e=nt(n),t=nt(r);e<0&&t<0?s(0):e>0&&t>0&&o(0)}if(n===r){let t=1;(r>=Number.MAX_SAFE_INTEGER||n<=Number.MIN_SAFE_INTEGER)&&(t=Math.abs(.05*r)),s(r+t),e||o(n-t)}this.min=n,this.max=r}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:i,stepSize:n}=e;return n?(t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=ul({maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&<(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const n=(i-t)/Math.max(e.length-1,1)/2;t-=n,i+=n}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return Hn(e,this.chart.options.locale,this.options.ticks.format)}}class ml extends hl{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Me(e)?e:0,this.max=Me(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=at(this.options.ticks.minRotation),n=(e?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,r.lineHeight/n))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function pl(e){return 1===e/Math.pow(10,Math.floor(it(e)))}ml.id="linear",ml.defaults={ticks:{callback:yr.formatters.numeric}};class gl extends Lr{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=hl.prototype.parse.apply(this,[e,t]);if(0!==i)return Me(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Me(e)?Math.max(0,e):null,this.max=Me(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,n=this.max;const r=t=>i=e?i:t,o=e=>n=t?n:e,s=(e,t)=>Math.pow(10,Math.floor(it(e))+t);i===n&&(i<=0?(r(1),o(10)):(r(s(i,-1)),o(s(n,1)))),i<=0&&r(s(n,-1)),n<=0&&o(s(i,1)),this._zero&&this.min!==this._suggestedMin&&i===s(this.min,0)&&r(s(i,-1)),this.min=i,this.max=n}buildTicks(){const e=this.options,t=function(e,t){const i=Math.floor(it(t.max)),n=Math.ceil(t.max/Math.pow(10,i)),r=[];let o=Be(e.min,Math.pow(10,Math.floor(it(t.min)))),s=Math.floor(it(o)),l=Math.floor(o/Math.pow(10,s)),a=s<0?Math.pow(10,Math.abs(s)):1;do{r.push({value:o,major:pl(o)}),++l,10===l&&(l=1,++s,a=s>=0?1:a),o=Math.round(l*Math.pow(10,s)*a)/a}while(s<i||s===i&&l<n);const c=Be(e.max,o);return r.push({value:c,major:pl(o)}),r}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&<(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Hn(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=it(e),this._valueRange=it(this.max)-it(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(it(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function bl(e){const t=e.ticks;if(t.display&&e.display){const e=Ti(t.backdropPadding);return Pe(t.font&&t.font.size,xi.font.size)+e.height}return 0}function _l(e,t,i,n,r){return e===n||e===r?{start:t-i/2,end:t+i/2}:e<n||e>r?{start:t-i,end:t}:{start:t,end:t+i}}function Cl(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),n=[],r=[],o=e._pointLabels.length,s=e.options.pointLabels,l=s.centerPointLabels?Ge/o:0;for(let u=0;u<o;u++){const o=s.setContext(e.getPointLabelContext(u));r[u]=o.padding;const f=e.getPointPosition(u,e.drawingArea+r[u],l),h=Yi(o.font),m=(a=e.ctx,c=h,d=De(d=e._pointLabels[u])?d:[d],{w:wi(a,c.string,d),h:d.length*c.lineHeight});n[u]=m;const p=mt(e.getIndexAngle(u)+l),g=Math.round(ct(p));vl(i,t,p,_l(g,f.x,m.w,0,180),_l(g,f.y,m.h,90,270))}var a,c,d;e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=function(e,t,i){const n=[],r=e._pointLabels.length,o=e.options,s=bl(o)/2,l=e.drawingArea,a=o.pointLabels.centerPointLabels?Ge/r:0;for(let o=0;o<r;o++){const r=e.getPointPosition(o,l+s+i[o],a),c=Math.round(ct(mt(r.angle+$e))),d=t[o],u=wl(r.y,d.h,c),f=xl(c),h=Nl(r.x,d.w,f);n.push({x:r.x,y:u,textAlign:f,left:h,top:u,right:h+d.w,bottom:u+d.h})}return n}(e,n,r)}function vl(e,t,i,n,r){const o=Math.abs(Math.sin(i)),s=Math.abs(Math.cos(i));let l=0,a=0;n.start<t.l?(l=(t.l-n.start)/o,e.l=Math.min(e.l,t.l-l)):n.end>t.r&&(l=(n.end-t.r)/o,e.r=Math.max(e.r,t.r+l)),r.start<t.t?(a=(t.t-r.start)/s,e.t=Math.min(e.t,t.t-a)):r.end>t.b&&(a=(r.end-t.b)/s,e.b=Math.max(e.b,t.b+a))}function xl(e){return 0===e||180===e?"center":e<180?"left":"right"}function Nl(e,t,i){return"right"===i?e-=t:"center"===i&&(e-=t/2),e}function wl(e,t,i){return 90===i||270===i?e-=t/2:(i>270||i<90)&&(e-=t),e}function yl(e,t,i,n){const{ctx:r}=e;if(i)r.arc(e.xCenter,e.yCenter,t,0,Ue);else{let i=e.getPointPosition(0,t);r.moveTo(i.x,i.y);for(let o=1;o<n;o++)i=e.getPointPosition(o,t),r.lineTo(i.x,i.y)}}gl.id="logarithmic",gl.defaults={ticks:{callback:yr.formatters.logarithmic,major:{enabled:!0}}};class El extends hl{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Ti(bl(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=Me(e)&&!isNaN(e)?e:0,this.max=Me(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/bl(this.options))}generateTickLabels(e){hl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const i=Le(this.options.pointLabels.callback,[e,t],this);return i||0===i?i:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?Cl(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,n){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,n))}getIndexAngle(e){return mt(e*(Ue/(this._pointLabels.length||1))+at(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(Ae(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(Ae(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const i=t[e];return function(e,t,i){return Wi(e,{label:i,index:t,type:"pointLabel"})}(this.getContext(),e,i)}}getPointPosition(e,t,i=0){const n=this.getIndexAngle(e)-$e+i;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter,angle:n}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:i,right:n,bottom:r}=this._pointLabelItems[e];return{left:t,top:i,right:n,bottom:r}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),yl(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:i,grid:n}=t,r=this._pointLabels.length;let o,s,l;if(t.pointLabels.display&&function(e,t){const{ctx:i,options:{pointLabels:n}}=e;for(let r=t-1;r>=0;r--){const t=n.setContext(e.getPointLabelContext(r)),o=Yi(t.font),{x:s,y:l,textAlign:a,left:c,top:d,right:u,bottom:f}=e._pointLabelItems[r],{backdropColor:h}=t;if(!Ae(h)){const e=Vi(t.borderRadius),n=Ti(t.backdropPadding);i.fillStyle=h;const r=c-n.left,o=d-n.top,s=u-c+n.width,l=f-d+n.height;Object.values(e).some((e=>0!==e))?(i.beginPath(),Ii(i,{x:r,y:o,w:s,h:l,radius:e}),i.fill()):i.fillRect(r,o,s,l)}Li(i,e._pointLabels[r],s,l+o.lineHeight/2,o,{color:t.color,textAlign:a,textBaseline:"middle"})}}(this,r),n.display&&this.ticks.forEach(((e,t)=>{if(0!==t){s=this.getDistanceFromCenterForValue(e.value);!function(e,t,i,n){const r=e.ctx,o=t.circular,{color:s,lineWidth:l}=t;!o&&!n||!s||!l||i<0||(r.save(),r.strokeStyle=s,r.lineWidth=l,r.setLineDash(t.borderDash),r.lineDashOffset=t.borderDashOffset,r.beginPath(),yl(e,i,o,n),r.closePath(),r.stroke(),r.restore())}(this,n.setContext(this.getContext(t-1)),s,r)}})),i.display){for(e.save(),o=r-1;o>=0;o--){const n=i.setContext(this.getPointLabelContext(o)),{color:r,lineWidth:a}=n;a&&r&&(e.lineWidth=a,e.strokeStyle=r,e.setLineDash(n.borderDash),e.lineDashOffset=n.borderDashOffset,s=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),l=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const n=this.getIndexAngle(0);let r,o;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(n),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((n,s)=>{if(0===s&&!t.reverse)return;const l=i.setContext(this.getContext(s)),a=Yi(l.font);if(r=this.getDistanceFromCenterForValue(this.ticks[s].value),l.showLabelBackdrop){e.font=a.string,o=e.measureText(n.label).width,e.fillStyle=l.backdropColor;const t=Ti(l.backdropPadding);e.fillRect(-o/2-t.left,-r-a.size/2-t.top,o+t.width,a.size+t.height)}Li(e,n.label,0,-r,a,{color:l.color})})),e.restore()}drawTitle(){}}El.id="radialLinear",El.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:yr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}},El.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},El.descriptors={angleLines:{_fallback:"grid"}};const Al={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Dl=Object.keys(Al);function kl(e,t){return e-t}function Ml(e,t){if(Ae(t))return null;const i=e._adapter,{parser:n,round:r,isoWeekday:o}=e._parseOpts;let s=t;return"function"==typeof n&&(s=n(s)),Me(s)||(s="string"==typeof n?i.parse(s,n):i.parse(s)),null===s?null:(r&&(s="week"!==r||!ot(o)&&!0!==o?i.startOf(s,r):i.startOf(s,"isoWeek",o)),+s)}function Bl(e,t,i,n){const r=Dl.length;for(let o=Dl.indexOf(e);o<r-1;++o){const e=Al[Dl[o]],r=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((i-t)/(r*e.size))<=n)return Dl[o]}return Dl[r-1]}function Pl(e,t,i){if(i){if(i.length){const{lo:n,hi:r}=_t(i,t);e[i[n]>=t?i[n]:i[r]]=!0}}else e[t]=!0}function Hl(e,t,i){const n=[],r={},o=t.length;let s,l;for(s=0;s<o;++s)l=t[s],r[l]=s,n.push({value:l,major:!1});return 0!==o&&i?function(e,t,i,n){const r=e._adapter,o=+r.startOf(t[0].value,n),s=t[t.length-1].value;let l,a;for(l=o;l<=s;l=+r.add(l,1,n))a=i[l],a>=0&&(t[a].major=!0);return t}(e,n,r,i):n}class Ll extends Lr{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const i=e.time||(e.time={}),n=this._adapter=new zr._date(e.adapters.date);n.init(t),ze(i.displayFormats,n.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Ml(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:n,max:r,minDefined:o,maxDefined:s}=this.getUserBounds();function l(e){o||isNaN(e.min)||(n=Math.min(n,e.min)),s||isNaN(e.max)||(r=Math.max(r,e.max))}o&&s||(l(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||l(this.getMinMax(!1))),n=Me(n)&&!isNaN(n)?n:+t.startOf(Date.now(),i),r=Me(r)&&!isNaN(r)?r:+t.endOf(Date.now(),i)+1,this.min=Math.min(n,r-1),this.max=Math.max(n+1,r)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,n="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const r=this.min,o=function(e,t,i){let n=0,r=e.length;for(;n<r&&e[n]<t;)n++;for(;r>n&&e[r-1]>i;)r--;return n>0||r<e.length?e.slice(n,r):e}(n,r,this.max);return this._unit=t.unit||(i.autoSkip?Bl(t.minUnit,this.min,this.max,this._getLabelCapacity(r)):function(e,t,i,n,r){for(let o=Dl.length-1;o>=Dl.indexOf(i);o--){const i=Dl[o];if(Al[i].common&&e._adapter.diff(r,n,i)>=t-1)return i}return Dl[i?Dl.indexOf(i):0]}(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(e){for(let t=Dl.indexOf(e)+1,i=Dl.length;t<i;++t)if(Al[Dl[t]].common)return Dl[t]}(this._unit):void 0,this.initOffsets(n),e.reverse&&o.reverse(),Hl(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(e){let t,i,n=0,r=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),n=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,i=this.getDecimalForValue(e[e.length-1]),r=1===e.length?i:(i-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;n=gt(n,0,o),r=gt(r,0,o),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,t=this.min,i=this.max,n=this.options,r=n.time,o=r.unit||Bl(r.minUnit,t,i,this._getLabelCapacity(t)),s=Pe(r.stepSize,1),l="week"===o&&r.isoWeekday,a=ot(l)||!0===l,c={};let d,u,f=t;if(a&&(f=+e.startOf(f,"isoWeek",l)),f=+e.startOf(f,a?"day":o),e.diff(i,t,o)>1e5*s)throw new Error(t+" and "+i+" are too far apart with stepSize of "+s+" "+o);const h="data"===n.ticks.source&&this.getDataTimestamps();for(d=f,u=0;d<i;d=+e.add(d,s,o),u++)Pl(c,d,h);return d!==i&&"ticks"!==n.bounds&&1!==u||Pl(c,d,h),Object.keys(c).sort(((e,t)=>e-t)).map((e=>+e))}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}_tickFormatFunction(e,t,i,n){const r=this.options,o=r.time.displayFormats,s=this._unit,l=this._majorUnit,a=s&&o[s],c=l&&o[l],d=i[t],u=l&&c&&d&&d.major,f=this._adapter.format(e,n||(u?c:a)),h=r.ticks.callback;return h?Le(h,[f,t,i],this):f}generateTickLabels(e){let t,i,n;for(t=0,i=e.length;t<i;++t)n=e[t],n.label=this._tickFormatFunction(n.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,i=this.ctx.measureText(e).width,n=at(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(n),o=Math.sin(n),s=this._resolveTickFontOptions(0).size;return{w:i*r+s*o,h:i*o+s*r}}_getLabelCapacity(e){const t=this.options.time,i=t.displayFormats,n=i[t.unit]||i.millisecond,r=this._tickFormatFunction(e,0,Hl(this,[e],this._majorUnit),n),o=this._getLabelSize(r),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return s>0?s:1}getDataTimestamps(){let e,t,i=this._cache.data||[];if(i.length)return i;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,t=n.length;e<t;++e)i=i.concat(n[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const e=this._cache.labels||[];let t,i;if(e.length)return e;const n=this.getLabels();for(t=0,i=n.length;t<i;++t)e.push(Ml(this,n[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return wt(e.sort(kl))}}function Ol(e,t,i){let n,r,o,s,l=0,a=e.length-1;i?(t>=e[l].pos&&t<=e[a].pos&&({lo:l,hi:a}=Ct(e,"pos",t)),({pos:n,time:o}=e[l]),({pos:r,time:s}=e[a])):(t>=e[l].time&&t<=e[a].time&&({lo:l,hi:a}=Ct(e,"time",t)),({time:n,pos:o}=e[l]),({time:r,pos:s}=e[a]));const c=r-n;return c?o+(s-o)*(t-n)/c:o}Ll.id="time",Ll.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Il extends Ll{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Ol(t,this.min),this._tableRange=Ol(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,n=[],r=[];let o,s,l,a,c;for(o=0,s=e.length;o<s;++o)a=e[o],a>=t&&a<=i&&n.push(a);if(n.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(o=0,s=n.length;o<s;++o)c=n[o+1],l=n[o-1],a=n[o],Math.round((c+l)/2)!==a&&r.push({time:a,pos:o/(s-1)});return r}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return e=t.length&&i.length?this.normalize(t.concat(i)):t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Ol(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return Ol(this._table,i*this._tableRange+this._minPos,!0)}}Il.id="timeseries",Il.defaults=Ll.defaults;const Sl=[Rr,xs,al,Object.freeze({__proto__:null,CategoryScale:dl,LinearScale:ml,LogarithmicScale:gl,RadialLinearScale:El,TimeScale:Ll,TimeSeriesScale:Il})],Rl="label";function Fl(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Ql(e,t){e.labels=t}function zl(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rl;const n=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[i]===t[i]));return r&&t.data&&!n.includes(r)?(n.push(r),Object.assign(r,t),r):{...t}}))}function jl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl;const i={labels:[],datasets:[]};return Ql(i,e.labels),zl(i,e.datasets,t),i}function Vl(e,t){let{height:i=150,width:r=300,redraw:o=!1,datasetIdKey:s,type:l,data:a,options:c,plugins:d=[],fallbackContent:f,updateMode:h,...m}=e;const p=n.useRef(null),g=n.useRef(),b=()=>{p.current&&(g.current=new Go(p.current,{type:l,data:jl(a,s),options:c&&{...c},plugins:d}),Fl(t,g.current))},_=()=>{Fl(t,null),g.current&&(g.current.destroy(),g.current=null)};return n.useEffect((()=>{var e,t;!o&&g.current&&c&&(e=g.current,t=c,Object.assign(e.options,t))}),[o,c]),n.useEffect((()=>{!o&&g.current&&Ql(g.current.config.data,a.labels)}),[o,a.labels]),n.useEffect((()=>{!o&&g.current&&a.datasets&&zl(g.current.config.data,a.datasets,s)}),[o,a.datasets]),n.useEffect((()=>{g.current&&(o?(_(),setTimeout(b)):g.current.update(h))}),[o,c,a.labels,a.datasets,h]),n.useEffect((()=>{g.current&&(_(),setTimeout(b))}),[l]),n.useEffect((()=>(b(),()=>_())),[]),u.createElement("canvas",Object.assign({ref:p,role:"img",height:i,width:r},m),f)}const Tl=n.forwardRef(Vl);function Yl(e,t){return Go.register(t),n.forwardRef(((t,i)=>u.createElement(Tl,Object.assign({},t,{ref:i,type:e}))))}const Xl=Yl("line",_r);var Wl={};({get exports(){return Wl},set exports(e){Wl=e}}).exports=function(){var e=1e3,t=6e4,i=36e5,n="millisecond",r="second",o="minute",s="hour",l="day",a="week",c="month",d="quarter",u="year",f="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}},b=function(e,t,i){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(i)+e},_={s:b,z:function(e){var t=-e.utcOffset(),i=Math.abs(t),n=Math.floor(i/60),r=i%60;return(t<=0?"+":"-")+b(n,2,"0")+":"+b(r,2,"0")},m:function e(t,i){if(t.date()<i.date())return-e(i,t);var n=12*(i.year()-t.year())+(i.month()-t.month()),r=t.clone().add(n,c),o=i-r<0,s=t.clone().add(n+(o?-1:1),c);return+(-(n+(i-r)/(o?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:u,w:a,d:l,D:f,h:s,m:o,s:r,ms:n,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},C="en",v={};v[C]=g;var x=function(e){return e instanceof E},N=function e(t,i,n){var r;if(!t)return C;if("string"==typeof t){var o=t.toLowerCase();v[o]&&(r=o),i&&(v[o]=i,r=o);var s=t.split("-");if(!r&&s.length>1)return e(s[0])}else{var l=t.name;v[l]=t,r=l}return!n&&r&&(C=r),r||!n&&C},w=function(e,t){if(x(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new E(i)},y=_;y.l=N,y.i=x,y.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=N(e.locale,null,!0),this.parse(e)}var b=g.prototype;return b.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(m);if(n){var r=n[2]-1||0,o=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},b.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},b.$utils=function(){return y},b.isValid=function(){return!(this.$d.toString()===h)},b.isSame=function(e,t){var i=w(e);return this.startOf(t)<=i&&i<=this.endOf(t)},b.isAfter=function(e,t){return w(e)<this.startOf(t)},b.isBefore=function(e,t){return this.endOf(t)<w(e)},b.$g=function(e,t,i){return y.u(e)?this[t]:this.set(i,e)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(e,t){var i=this,n=!!y.u(t)||t,d=y.p(e),h=function(e,t){var r=y.w(i.$u?Date.UTC(i.$y,t,e):new Date(i.$y,t,e),i);return n?r:r.endOf(l)},m=function(e,t){return y.w(i.toDate()[e].apply(i.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),i)},p=this.$W,g=this.$M,b=this.$D,_="set"+(this.$u?"UTC":"");switch(d){case u:return n?h(1,0):h(31,11);case c:return n?h(1,g):h(0,g+1);case a:var C=this.$locale().weekStart||0,v=(p<C?p+7:p)-C;return h(n?b-v:b+(6-v),g);case l:case f:return m(_+"Hours",0);case s:return m(_+"Minutes",1);case o:return m(_+"Seconds",2);case r:return m(_+"Milliseconds",3);default:return this.clone()}},b.endOf=function(e){return this.startOf(e,!1)},b.$set=function(e,t){var i,a=y.p(e),d="set"+(this.$u?"UTC":""),h=(i={},i[l]=d+"Date",i[f]=d+"Date",i[c]=d+"Month",i[u]=d+"FullYear",i[s]=d+"Hours",i[o]=d+"Minutes",i[r]=d+"Seconds",i[n]=d+"Milliseconds",i)[a],m=a===l?this.$D+(t-this.$W):t;if(a===c||a===u){var p=this.clone().set(f,1);p.$d[h](m),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},b.set=function(e,t){return this.clone().$set(e,t)},b.get=function(e){return this[y.p(e)]()},b.add=function(n,d){var f,h=this;n=Number(n);var m=y.p(d),p=function(e){var t=w(h);return y.w(t.date(t.date()+Math.round(e*n)),h)};if(m===c)return this.set(c,this.$M+n);if(m===u)return this.set(u,this.$y+n);if(m===l)return p(1);if(m===a)return p(7);var g=(f={},f[o]=t,f[s]=i,f[r]=e,f)[m]||1,b=this.$d.getTime()+n*g;return y.w(b,this)},b.subtract=function(e,t){return this.add(-1*e,t)},b.format=function(e){var t=this,i=this.$locale();if(!this.isValid())return i.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=y.z(this),o=this.$H,s=this.$m,l=this.$M,a=i.weekdays,c=i.months,d=function(e,i,r,o){return e&&(e[i]||e(t,n))||r[i].slice(0,o)},u=function(e){return y.s(o%12||12,e,"0")},f=i.meridiem||function(e,t,i){var n=e<12?"AM":"PM";return i?n.toLowerCase():n},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:l+1,MM:y.s(l+1,2,"0"),MMM:d(i.monthsShort,l,c,3),MMMM:d(c,l),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:d(i.weekdaysMin,this.$W,a,2),ddd:d(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(o),HH:y.s(o,2,"0"),h:u(1),hh:u(2),a:f(o,s,!0),A:f(o,s,!1),m:String(s),mm:y.s(s,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:r};return n.replace(p,(function(e,t){return t||m[e]||r.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(n,f,h){var m,p=y.p(f),g=w(n),b=(g.utcOffset()-this.utcOffset())*t,_=this-g,C=y.m(this,g);return C=(m={},m[u]=C/12,m[c]=C,m[d]=C/3,m[a]=(_-b)/6048e5,m[l]=(_-b)/864e5,m[s]=_/i,m[o]=_/t,m[r]=_/e,m)[p]||_,h?C:y.a(C)},b.daysInMonth=function(){return this.endOf(c).$D},b.$locale=function(){return v[this.$L]},b.locale=function(e,t){if(!e)return this.$L;var i=this.clone(),n=N(e,t,!0);return n&&(i.$L=n),i},b.clone=function(){return y.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},g}(),A=E.prototype;return w.prototype=A,[["$ms",n],["$s",r],["$m",o],["$H",s],["$W",l],["$M",c],["$y",u],["$D",f]].forEach((function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,E,w),e.$i=!0),w},w.locale=N,w.isDayjs=x,w.unix=function(e){return w(1e3*e)},w.en=v[C],w.Ls=v,w.p={},w}();var Zl=Wl;const Gl=e.div`
|
|
924
|
+
*/var Tn=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,i,n){const r=t.listeners[n],o=t.duration;r.forEach((n=>n({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(i-t.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=yt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((i,n)=>{if(!i.running||!i.items.length)return;const r=i.items;let o,s=r.length-1,l=!1;for(;s>=0;--s)o=r[s],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(e),l=!0):(r[s]=r[r.length-1],r.pop());l&&(n.draw(),this._notify(n,i,e,"progress")),r.length||(i.running=!1,this._notify(n,i,e,"complete"),i.initial=!1),t+=r.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let i=t.get(e);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,i)),i}listen(e,t,i){this._getAnims(e).listeners[t].push(i)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const i=t.items;let n=i.length-1;for(;n>=0;--n)i[n].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}};const Yn="transparent",Xn={boolean:(e,t,i)=>i>.5?t:e,color(e,t,i){const n=pi(e||Yn),r=n.valid&&pi(t||Yn);return r&&r.valid?r.mix(n,i).hexString():t},number:(e,t,i)=>e+(t-e)*i};class Wn{constructor(e,t,i,n){const r=t[i];n=Xi([e.to,n,r,e.from]);const o=Xi([e.from,r,n]);this._active=!0,this._fn=e.fn||Xn[e.type||typeof o],this._easing=Lt[e.easing]||Lt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=i,this._from=o,this._to=n,this._promises=void 0}active(){return this._active}update(e,t,i){if(this._active){this._notify(!1);const n=this._target[this._prop],r=i-this._start,o=this._duration-r;this._start=i,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=Xi([e.to,t,n,e.from]),this._from=Xi([e.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,i=this._duration,n=this._prop,r=this._from,o=this._loop,s=this._to;let l;if(this._active=r!==s&&(o||t<i),!this._active)return this._target[n]=s,void this._notify(!0);t<0?this._target[n]=r:(l=t/i%2,l=o&&l>1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[n]=this._fn(r,s,l))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,i)=>{e.push({res:t,rej:i})}))}_notify(e){const t=e?"res":"rej",i=this._promises||[];for(let e=0;e<i.length;e++)i[e][t]()}}xi.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Zn=Object.keys(xi.animation);xi.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),xi.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),xi.describe("animations",{_fallback:"animation"}),xi.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}});class Gn{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!ke(e))return;const t=this._properties;Object.getOwnPropertyNames(e).forEach((i=>{const n=e[i];if(!ke(n))return;const r={};for(const e of Zn)r[e]=n[e];(De(n.properties)&&n.properties||[i]).forEach((e=>{e!==i&&t.has(e)||t.set(e,r)}))}))}_animateOptions(e,t){const i=t.options,n=function(e,t){if(!t)return;let i=e.options;if(!i)return void(e.options=t);i.$shared&&(e.options=i=Object.assign({},i,{$shared:!1,$animations:{}}));return i}(e,i);if(!n)return[];const r=this._createAnimations(n,i);return i.$shared&&function(e,t){const i=[],n=Object.keys(t);for(let t=0;t<n.length;t++){const r=e[n[t]];r&&r.active()&&i.push(r.wait())}return Promise.all(i)}(e.options.$animations,i).then((()=>{e.options=i}),(()=>{})),r}_createAnimations(e,t){const i=this._properties,n=[],r=e.$animations||(e.$animations={}),o=Object.keys(t),s=Date.now();let l;for(l=o.length-1;l>=0;--l){const a=o[l];if("$"===a.charAt(0))continue;if("options"===a){n.push(...this._animateOptions(e,t));continue}const c=t[a];let d=r[a];const u=i.get(a);if(d){if(u&&d.active()){d.update(u,c,s);continue}d.cancel()}u&&u.duration?(r[a]=d=new Wn(u,e,a,c),n.push(d)):e[a]=c}return n}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const i=this._createAnimations(e,t);return i.length?(Tn.add(this._chart,i),!0):void 0}}function Un(e,t){const i=e&&e.options||{},n=i.reverse,r=void 0===i.min?t:0,o=void 0===i.max?t:0;return{start:n?o:r,end:n?r:o}}function Kn(e,t){const i=[],n=e._getSortedDatasetMetas(t);let r,o;for(r=0,o=n.length;r<o;++r)i.push(n[r].index);return i}function Jn(e,t,i,n={}){const r=e.keys,o="single"===n.mode;let s,l,a,c;if(null!==t){for(s=0,l=r.length;s<l;++s){if(a=+r[s],a===i){if(n.all)continue;break}c=e.values[a],Me(c)&&(o||0===t||nt(t)===nt(c))&&(t+=c)}return t}}function qn(e,t){const i=e&&e.options.stacked;return i||void 0===i&&void 0!==t.stack}function $n(e,t,i){const n=e[t]||(e[t]={});return n[i]||(n[i]={})}function er(e,t,i,n){for(const r of t.getMatchingVisibleMetas(n).reverse()){const t=e[r.index];if(i&&t>0||!i&&t<0)return r.index}return null}function tr(e,t){const{chart:i,_cachedMeta:n}=e,r=i._stacks||(i._stacks={}),{iScale:o,vScale:s,index:l}=n,a=o.axis,c=s.axis,d=function(e,t,i){return`${e.id}.${t.id}.${i.stack||i.type}`}(o,s,n),u=t.length;let f;for(let e=0;e<u;++e){const i=t[e],{[a]:o,[c]:u}=i;f=(i._stacks||(i._stacks={}))[c]=$n(r,d,o),f[l]=u,f._top=er(f,s,!0,n.type),f._bottom=er(f,s,!1,n.type)}}function ir(e,t){const i=e.scales;return Object.keys(i).filter((e=>i[e].axis===t)).shift()}function nr(e,t){const i=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[n]||void 0===t[n][i])return;delete t[n][i]}}}const rr=e=>"reset"===e||"none"===e,or=(e,t)=>t?e:Object.assign({},e);class sr{constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=qn(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&nr(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,i=this.getDataset(),n=(e,t,i,n)=>"x"===e?t:"r"===e?n:i,r=t.xAxisID=Pe(i.xAxisID,ir(e,"x")),o=t.yAxisID=Pe(i.yAxisID,ir(e,"y")),s=t.rAxisID=Pe(i.rAxisID,ir(e,"r")),l=t.indexAxis,a=t.iAxisID=n(l,r,o,s),c=t.vAxisID=n(l,o,r,s);t.xScale=this.getScaleForId(r),t.yScale=this.getScaleForId(o),t.rScale=this.getScaleForId(s),t.iScale=this.getScaleForId(a),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&Nt(this._data,this),e._stacked&&nr(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),i=this._data;if(ke(t))this._data=function(e){const t=Object.keys(e),i=new Array(t.length);let n,r,o;for(n=0,r=t.length;n<r;++n)o=t[n],i[n]={x:o,y:e[o]};return i}(t);else if(i!==t){if(i){Nt(i,this);const e=this._cachedMeta;nr(e),e._parsed=[]}t&&Object.isExtensible(t)&&(r=this,(n=t)._chartjs?n._chartjs.listeners.push(r):(Object.defineProperty(n,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[r]}}),xt.forEach((e=>{const t="_onData"+Ye(e),i=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...e){const r=i.apply(this,e);return n._chartjs.listeners.forEach((i=>{"function"==typeof i[t]&&i[t](...e)})),r}})})))),this._syncList=[],this._data=t}var n,r}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,i=this.getDataset();let n=!1;this._dataCheck();const r=t._stacked;t._stacked=qn(t.vScale,t),t.stack!==i.stack&&(n=!0,nr(t),t.stack=i.stack),this._resyncElements(e),(n||r!==t._stacked)&&tr(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),i=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:i,_data:n}=this,{iScale:r,_stacked:o}=i,s=r.axis;let l,a,c,d=0===e&&t===n.length||i._sorted,u=e>0&&i._parsed[e-1];if(!1===this._parsing)i._parsed=n,i._sorted=!0,c=n;else{c=De(n[e])?this.parseArrayData(i,n,e,t):ke(n[e])?this.parseObjectData(i,n,e,t):this.parsePrimitiveData(i,n,e,t);const r=()=>null===a[s]||u&&a[s]<u[s];for(l=0;l<t;++l)i._parsed[l+e]=a=c[l],d&&(r()&&(d=!1),u=a);i._sorted=d}o&&tr(this,c)}parsePrimitiveData(e,t,i,n){const{iScale:r,vScale:o}=e,s=r.axis,l=o.axis,a=r.getLabels(),c=r===o,d=new Array(n);let u,f,h;for(u=0,f=n;u<f;++u)h=u+i,d[u]={[s]:c||r.parse(a[h],h),[l]:o.parse(t[h],h)};return d}parseArrayData(e,t,i,n){const{xScale:r,yScale:o}=e,s=new Array(n);let l,a,c,d;for(l=0,a=n;l<a;++l)c=l+i,d=t[c],s[l]={x:r.parse(d[0],c),y:o.parse(d[1],c)};return s}parseObjectData(e,t,i,n){const{xScale:r,yScale:o}=e,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,a=new Array(n);let c,d,u,f;for(c=0,d=n;c<d;++c)u=c+i,f=t[u],a[c]={x:r.parse(Te(f,s),u),y:o.parse(Te(f,l),u)};return a}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,i){const n=this.chart,r=this._cachedMeta,o=t[e.axis];return Jn({keys:Kn(n,!0),values:t._stacks[e.axis]},o,r.index,{mode:i})}updateRangeFromParsed(e,t,i,n){const r=i[t.axis];let o=null===r?NaN:r;const s=n&&i._stacks[t.axis];n&&s&&(n.values=s,o=Jn(n,r,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const i=this._cachedMeta,n=i._parsed,r=i._sorted&&e===i.iScale,o=n.length,s=this._getOtherScale(e),l=((e,t,i)=>e&&!t.hidden&&t._stacked&&{keys:Kn(i,!0),values:null})(t,i,this.chart),a={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(e){const{min:t,max:i,minDefined:n,maxDefined:r}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:r?i:Number.POSITIVE_INFINITY}}(s);let u,f;function h(){f=n[u];const t=f[s.axis];return!Me(f[e.axis])||c>t||d<t}for(u=0;u<o&&(h()||(this.updateRangeFromParsed(a,e,f,l),!r));++u);if(r)for(u=o-1;u>=0;--u)if(!h()){this.updateRangeFromParsed(a,e,f,l);break}return a}getAllParsedValues(e){const t=this._cachedMeta._parsed,i=[];let n,r,o;for(n=0,r=t.length;n<r;++n)o=t[n][e.axis],Me(o)&&i.push(o);return i}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,i=t.iScale,n=t.vScale,r=this.getParsed(e);return{label:i?""+i.getLabelForValue(r[i.axis]):"",value:n?""+n.getLabelForValue(r[n.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,i,n,r;return ke(e)?(t=e.top,i=e.right,n=e.bottom,r=e.left):t=i=n=r=e,{top:t,right:i,bottom:n,left:r,disabled:!1===e}}(Pe(this.options.clip,function(e,t,i){if(!1===i)return!1;const n=Un(e,i),r=Un(t,i);return{top:r.end,right:n.end,bottom:r.start,left:n.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,i=this._cachedMeta,n=i.data||[],r=t.chartArea,o=[],s=this._drawStart||0,l=this._drawCount||n.length-s,a=this.options.drawActiveElementsOnTop;let c;for(i.dataset&&i.dataset.draw(e,r,s,l),c=s;c<s+l;++c){const t=n[c];t.hidden||(t.active&&a?o.push(t):t.draw(e,r))}for(c=0;c<o.length;++c)o[c].draw(e,r)}getStyle(e,t){const i=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(i):this.resolveDataElementOptions(e||0,i)}getContext(e,t,i){const n=this.getDataset();let r;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];r=t.$context||(t.$context=function(e,t,i){return Wi(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:i,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),r.parsed=this.getParsed(e),r.raw=n.data[e],r.index=r.dataIndex=e}else r=this.$context||(this.$context=function(e,t){return Wi(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),r.dataset=n,r.index=r.datasetIndex=this.index;return r.active=!!t,r.mode=i,r}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",i){const n="active"===t,r=this._cachedDataOpts,o=e+"-"+t,s=r[o],l=this.enableOptionSharing&&Xe(i);if(s)return or(s,l);const a=this.chart.config,c=a.datasetElementScopeKeys(this._type,e),d=n?[`${e}Hover`,"hover",e,""]:[e,""],u=a.getOptionScopes(this.getDataset(),c),f=Object.keys(xi.elements[e]),h=a.resolveNamedOptions(u,f,(()=>this.getContext(i,n)),d);return h.$shared&&(h.$shared=l,r[o]=Object.freeze(or(h,l))),h}_resolveAnimations(e,t,i){const n=this.chart,r=this._cachedDataOpts,o=`animation-${t}`,s=r[o];if(s)return s;let l;if(!1!==n.options.animation){const n=this.chart.config,r=n.datasetAnimationScopeKeys(this._type,t),o=n.getOptionScopes(this.getDataset(),r);l=n.createResolver(o,this.getContext(e,i,t))}const a=new Gn(n,l&&l.animations);return l&&l._cacheable&&(r[o]=Object.freeze(a)),a}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||rr(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const i=this.resolveDataElementOptions(e,t),n=this._sharedOptions,r=this.getSharedOptions(i),o=this.includeOptions(t,r)||r!==n;return this.updateSharedOptions(r,t,i),{sharedOptions:r,includeOptions:o}}updateElement(e,t,i,n){rr(n)?Object.assign(e,i):this._resolveAnimations(t,n).update(e,i)}updateSharedOptions(e,t,i){e&&!rr(t)&&this._resolveAnimations(void 0,t).update(e,i)}_setStyle(e,t,i,n){e.active=n;const r=this.getStyle(t,n);this._resolveAnimations(t,i,n).update(e,{options:!n&&this.getSharedOptions(r)||r})}removeHoverStyle(e,t,i){this._setStyle(e,i,"active",!1)}setHoverStyle(e,t,i){this._setStyle(e,i,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,i=this._cachedMeta.data;for(const[e,t,i]of this._syncList)this[e](t,i);this._syncList=[];const n=i.length,r=t.length,o=Math.min(r,n);o&&this.parse(0,o),r>n?this._insertElements(n,r-n,e):r<n&&this._removeElements(r,n-r)}_insertElements(e,t,i=!0){const n=this._cachedMeta,r=n.data,o=e+t;let s;const l=e=>{for(e.length+=t,s=e.length-1;s>=o;s--)e[s]=e[s-t]};for(l(r),s=e;s<o;++s)r[s]=new this.dataElementType;this._parsing&&l(n._parsed),this.parse(e,t),i&&this.updateElements(r,e,t,"reset")}updateElements(e,t,i,n){}_removeElements(e,t){const i=this._cachedMeta;if(this._parsing){const n=i._parsed.splice(e,t);i._stacked&&nr(i,n)}i.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,i,n]=e;this[t](i,n)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const i=arguments.length-2;i&&this._sync(["_insertElements",e,i])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function lr(e){const t=e.iScale,i=function(e,t){if(!e._cache.$bar){const i=e.getMatchingVisibleMetas(t);let n=[];for(let t=0,r=i.length;t<r;t++)n=n.concat(i[t].controller.getAllParsedValues(e));e._cache.$bar=wt(n.sort(((e,t)=>e-t)))}return e._cache.$bar}(t,e.type);let n,r,o,s,l=t._length;const a=()=>{32767!==o&&-32768!==o&&(Xe(s)&&(l=Math.min(l,Math.abs(o-s)||l)),s=o)};for(n=0,r=i.length;n<r;++n)o=t.getPixelForValue(i[n]),a();for(s=void 0,n=0,r=t.ticks.length;n<r;++n)o=t.getPixelForTick(n),a();return l}function ar(e,t,i,n){return De(e)?function(e,t,i,n){const r=i.parse(e[0],n),o=i.parse(e[1],n),s=Math.min(r,o),l=Math.max(r,o);let a=s,c=l;Math.abs(s)>Math.abs(l)&&(a=l,c=s),t[i.axis]=c,t._custom={barStart:a,barEnd:c,start:r,end:o,min:s,max:l}}(e,t,i,n):t[i.axis]=i.parse(e,n),t}function cr(e,t,i,n){const r=e.iScale,o=e.vScale,s=r.getLabels(),l=r===o,a=[];let c,d,u,f;for(c=i,d=i+n;c<d;++c)f=t[c],u={},u[r.axis]=l||r.parse(s[c],c),a.push(ar(f,u,o,c));return a}function dr(e){return e&&void 0!==e.barStart&&void 0!==e.barEnd}function ur(e,t,i,n){let r=t.borderSkipped;const o={};if(!r)return void(e.borderSkipped=o);if(!0===r)return void(e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:s,end:l,reverse:a,top:c,bottom:d}=function(e){let t,i,n,r,o;return e.horizontal?(t=e.base>e.x,i="left",n="right"):(t=e.base<e.y,i="bottom",n="top"),t?(r="end",o="start"):(r="start",o="end"),{start:i,end:n,reverse:t,top:r,bottom:o}}(e);"middle"===r&&i&&(e.enableBorderRadius=!0,(i._top||0)===n?r=c:(i._bottom||0)===n?r=d:(o[fr(d,s,l,a)]=!0,r=c)),o[fr(r,s,l,a)]=!0,e.borderSkipped=o}function fr(e,t,i,n){var r,o,s;return n?(s=i,e=hr(e=(r=e)===(o=t)?s:r===s?o:r,i,t)):e=hr(e,t,i),e}function hr(e,t,i){return"start"===e?t:"end"===e?i:e}function mr(e,{inflateAmount:t},i){e.inflateAmount="auto"===t?1===i?.33:0:t}sr.defaults={},sr.prototype.datasetElementType=null,sr.prototype.dataElementType=null;class pr extends sr{parsePrimitiveData(e,t,i,n){return cr(e,t,i,n)}parseArrayData(e,t,i,n){return cr(e,t,i,n)}parseObjectData(e,t,i,n){const{iScale:r,vScale:o}=e,{xAxisKey:s="x",yAxisKey:l="y"}=this._parsing,a="x"===r.axis?s:l,c="x"===o.axis?s:l,d=[];let u,f,h,m;for(u=i,f=i+n;u<f;++u)m=t[u],h={},h[r.axis]=r.parse(Te(m,a),u),d.push(ar(Te(m,c),h,o,u));return d}updateRangeFromParsed(e,t,i,n){super.updateRangeFromParsed(e,t,i,n);const r=i._custom;r&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const t=this._cachedMeta,{iScale:i,vScale:n}=t,r=this.getParsed(e),o=r._custom,s=dr(o)?"["+o.start+", "+o.end+"]":""+n.getLabelForValue(r[n.axis]);return{label:""+i.getLabelForValue(r[i.axis]),value:s}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(e){const t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,i,n){const r="reset"===n,{index:o,_cachedMeta:{vScale:s}}=this,l=s.getBasePixel(),a=s.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:u}=this._getSharedOptions(t,n);for(let f=t;f<t+i;f++){const t=this.getParsed(f),i=r||Ae(t[s.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),h=this._calculateBarIndexPixels(f,c),m=(t._stacks||{})[s.axis],p={horizontal:a,base:i.base,enableBorderRadius:!m||dr(t._custom)||o===m._top||o===m._bottom,x:a?i.head:h.center,y:a?h.center:i.head,height:a?h.size:Math.abs(i.size),width:a?Math.abs(i.size):h.size};u&&(p.options=d||this.resolveDataElementOptions(f,e[f].active?"active":n));const g=p.options||e[f].options;ur(p,g,m,o),mr(p,g,c.ratio),this.updateElement(e[f],f,p,n)}}_getStacks(e,t){const{iScale:i}=this._cachedMeta,n=i.getMatchingVisibleMetas(this._type).filter((e=>e.controller.options.grouped)),r=i.options.stacked,o=[],s=e=>{const i=e.controller.getParsed(t),n=i&&i[e.vScale.axis];if(Ae(n)||isNaN(n))return!0};for(const i of n)if((void 0===t||!s(i))&&((!1===r||-1===o.indexOf(i.stack)||void 0===r&&void 0===i.stack)&&o.push(i.stack),i.index===e))break;return o.length||o.push(void 0),o}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,i){const n=this._getStacks(e,i),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r}_getRuler(){const e=this.options,t=this._cachedMeta,i=t.iScale,n=[];let r,o;for(r=0,o=t.data.length;r<o;++r)n.push(i.getPixelForValue(this.getParsed(r)[i.axis],r));const s=e.barThickness;return{min:s||lr(t),pixels:n,start:i._startPixel,end:i._endPixel,stackCount:this._getStackCount(),scale:i,grouped:e.grouped,ratio:s?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:t,_stacked:i},options:{base:n,minBarLength:r}}=this,o=n||0,s=this.getParsed(e),l=s._custom,a=dr(l);let c,d,u=s[t.axis],f=0,h=i?this.applyStack(t,s,i):u;h!==u&&(f=h-u,h=u),a&&(u=l.barStart,h=l.barEnd-l.barStart,0!==u&&nt(u)!==nt(l.barEnd)&&(f=0),f+=u);const m=Ae(n)||a?f:n;let p=t.getPixelForValue(m);if(c=this.chart.getDataVisibility(e)?t.getPixelForValue(f+h):p,d=c-p,Math.abs(d)<r){d=function(e,t,i){return 0!==e?nt(e):(t.isHorizontal()?1:-1)*(t.min>=i?1:-1)}(d,t,o)*r,u===o&&(p-=d/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),n=Math.min(e,i),s=Math.max(e,i);p=Math.max(Math.min(p,s),n),c=p+d}if(p===t.getPixelForValue(o)){const e=nt(d)*t.getLineWidthForValue(o)/2;p+=e,d-=e}return{size:d,base:p,head:c,center:c+d/2}}_calculateBarIndexPixels(e,t){const i=t.scale,n=this.options,r=n.skipNull,o=Pe(n.maxBarThickness,1/0);let s,l;if(t.grouped){const i=r?this._getStackCount(e):t.stackCount,a="flex"===n.barThickness?function(e,t,i,n){const r=t.pixels,o=r[e];let s=e>0?r[e-1]:null,l=e<r.length-1?r[e+1]:null;const a=i.categoryPercentage;null===s&&(s=o-(null===l?t.end-t.start:l-o)),null===l&&(l=o+o-s);const c=o-(o-Math.min(s,l))/2*a;return{chunk:Math.abs(l-s)/2*a/n,ratio:i.barPercentage,start:c}}(e,t,n,i):function(e,t,i,n){const r=i.barThickness;let o,s;return Ae(r)?(o=t.min*i.categoryPercentage,s=i.barPercentage):(o=r*n,s=1),{chunk:o/n,ratio:s,start:t.pixels[e]-o/2}}(e,t,n,i),c=this._getStackIndex(this.index,this._cachedMeta.stack,r?e:void 0);s=a.start+a.chunk*c+a.chunk/2,l=Math.min(o,a.chunk*a.ratio)}else s=i.getPixelForValue(this.getParsed(e)[i.axis],e),l=Math.min(o,t.min*t.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const e=this._cachedMeta,t=e.vScale,i=e.data,n=i.length;let r=0;for(;r<n;++r)null!==this.getParsed(r)[t.axis]&&i[r].draw(this._ctx)}}pr.id="bar",pr.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},pr.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class gr extends sr{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,t,i,n){const r=super.parsePrimitiveData(e,t,i,n);for(let e=0;e<r.length;e++)r[e]._custom=this.resolveDataElementOptions(e+i).radius;return r}parseArrayData(e,t,i,n){const r=super.parseArrayData(e,t,i,n);for(let e=0;e<r.length;e++){const n=t[i+e];r[e]._custom=Pe(n[2],this.resolveDataElementOptions(e+i).radius)}return r}parseObjectData(e,t,i,n){const r=super.parseObjectData(e,t,i,n);for(let e=0;e<r.length;e++){const n=t[i+e];r[e]._custom=Pe(n&&n.r&&+n.r,this.resolveDataElementOptions(e+i).radius)}return r}getMaxOverflow(){const e=this._cachedMeta.data;let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,{xScale:i,yScale:n}=t,r=this.getParsed(e),o=i.getLabelForValue(r.x),s=n.getLabelForValue(r.y),l=r._custom;return{label:t.label,value:"("+o+", "+s+(l?", "+l:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,i,n){const r="reset"===n,{iScale:o,vScale:s}=this._cachedMeta,{sharedOptions:l,includeOptions:a}=this._getSharedOptions(t,n),c=o.axis,d=s.axis;for(let u=t;u<t+i;u++){const t=e[u],i=!r&&this.getParsed(u),f={},h=f[c]=r?o.getPixelForDecimal(.5):o.getPixelForValue(i[c]),m=f[d]=r?s.getBasePixel():s.getPixelForValue(i[d]);f.skip=isNaN(h)||isNaN(m),a&&(f.options=l||this.resolveDataElementOptions(u,t.active?"active":n),r&&(f.options.radius=0)),this.updateElement(t,u,f,n)}}resolveDataElementOptions(e,t){const i=this.getParsed(e);let n=super.resolveDataElementOptions(e,t);n.$shared&&(n=Object.assign({},n,{$shared:!1}));const r=n.radius;return"active"!==t&&(n.radius=0),n.radius+=Pe(i&&i._custom,r),n}}gr.id="bubble",gr.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},gr.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:()=>""}}}};class br extends sr{constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const i=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=i;else{let r,o,s=e=>+i[e];if(ke(i[e])){const{key:e="value"}=this._parsing;s=t=>+Te(i[t],e)}for(r=e,o=e+t;r<o;++r)n._parsed[r]=s(r)}}_getRotation(){return at(this.options.rotation-90)}_getCircumference(){return at(this.options.circumference)}_getRotationExtents(){let e=Ue,t=-Ue;for(let i=0;i<this.chart.data.datasets.length;++i)if(this.chart.isDatasetVisible(i)){const n=this.chart.getDatasetMeta(i).controller,r=n._getRotation(),o=n._getCircumference();e=Math.min(e,r),t=Math.max(t,r+o)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:i}=t,n=this._cachedMeta,r=n.data,o=this.getMaxBorderWidth()+this.getMaxOffset(r)+this.options.spacing,s=Math.max((Math.min(i.width,i.height)-o)/2,0),l=Math.min((a=this.options.cutout,c=s,"string"==typeof a&&a.endsWith("%")?parseFloat(a)/100:a/c),1);var a,c;const d=this._getRingWeight(this.index),{circumference:u,rotation:f}=this._getRotationExtents(),{ratioX:h,ratioY:m,offsetX:p,offsetY:g}=function(e,t,i){let n=1,r=1,o=0,s=0;if(t<Ue){const l=e,a=l+t,c=Math.cos(l),d=Math.sin(l),u=Math.cos(a),f=Math.sin(a),h=(e,t,n)=>pt(e,l,a,!0)?1:Math.max(t,t*i,n,n*i),m=(e,t,n)=>pt(e,l,a,!0)?-1:Math.min(t,t*i,n,n*i),p=h(0,c,u),g=h($e,d,f),b=m(Ge,c,u),_=m(Ge+$e,d,f);n=(p-b)/2,r=(g-_)/2,o=-(p+b)/2,s=-(g+_)/2}return{ratioX:n,ratioY:r,offsetX:o,offsetY:s}}(f,u,l),b=(i.width-o)/h,_=(i.height-o)/m,C=Math.max(Math.min(b,_)/2,0),v=He(this.options.radius,C),x=(v-Math.max(v*l,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*v,this.offsetY=g*v,n.total=this.calculateTotal(),this.outerRadius=v-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*d,0),this.updateElements(r,0,r.length,e)}_circumference(e,t){const i=this.options,n=this._cachedMeta,r=this._getCircumference();return t&&i.animation.animateRotate||!this.chart.getDataVisibility(e)||null===n._parsed[e]||n.data[e].hidden?0:this.calculateCircumference(n._parsed[e]*r/Ue)}updateElements(e,t,i,n){const r="reset"===n,o=this.chart,s=o.chartArea,l=o.options.animation,a=(s.left+s.right)/2,c=(s.top+s.bottom)/2,d=r&&l.animateScale,u=d?0:this.innerRadius,f=d?0:this.outerRadius,{sharedOptions:h,includeOptions:m}=this._getSharedOptions(t,n);let p,g=this._getRotation();for(p=0;p<t;++p)g+=this._circumference(p,r);for(p=t;p<t+i;++p){const t=this._circumference(p,r),i=e[p],o={x:a+this.offsetX,y:c+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:f,innerRadius:u};m&&(o.options=h||this.resolveDataElementOptions(p,i.active?"active":n)),g+=t,this.updateElement(i,p,o,n)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let i,n=0;for(i=0;i<t.length;i++){const r=e._parsed[i];null===r||isNaN(r)||!this.chart.getDataVisibility(i)||t[i].hidden||(n+=Math.abs(r))}return n}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?Ue*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,n=i.data.labels||[],r=Hn(t._parsed[e],i.options.locale);return{label:n[e]||"",value:r}}getMaxBorderWidth(e){let t=0;const i=this.chart;let n,r,o,s,l;if(!e)for(n=0,r=i.data.datasets.length;n<r;++n)if(i.isDatasetVisible(n)){o=i.getDatasetMeta(n),e=o.data,s=o.controller;break}if(!e)return 0;for(n=0,r=e.length;n<r;++n)l=s.resolveDataElementOptions(n),"inner"!==l.borderAlign&&(t=Math.max(t,l.borderWidth||0,l.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let i=0,n=e.length;i<n;++i){const e=this.resolveDataElementOptions(i);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let i=0;i<e;++i)this.chart.isDatasetVisible(i)&&(t+=this._getRingWeight(i));return t}_getRingWeight(e){return Math.max(Pe(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}br.id="doughnut",br.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},br.descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e},br.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,n)=>{const r=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(e){let t=e.label;const i=": "+e.formattedValue;return De(t)?(t=t.slice(),t[0]+=i):t+=i,t}}}}};class _r extends sr{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:i,data:n=[],_dataset:r}=t,o=this.chart._animationsDisabled;let{start:s,count:l}=kt(t,n,o);this._drawStart=s,this._drawCount=l,Mt(t)&&(s=0,l=n.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!r._decimated,i.points=n;const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),a.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:a},e),this.updateElements(n,s,l,e)}updateElements(e,t,i,n){const r="reset"===n,{iScale:o,vScale:s,_stacked:l,_dataset:a}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(t,n),u=o.axis,f=s.axis,{spanGaps:h,segment:m}=this.options,p=ot(h)?h:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||r||"none"===n;let b=t>0&&this.getParsed(t-1);for(let h=t;h<t+i;++h){const t=e[h],i=this.getParsed(h),_=g?t:{},C=Ae(i[f]),v=_[u]=o.getPixelForValue(i[u],h),x=_[f]=r||C?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,i,l):i[f],h);_.skip=isNaN(v)||isNaN(x)||C,_.stop=h>0&&Math.abs(i[u]-b[u])>p,m&&(_.parsed=i,_.raw=a.data[h]),d&&(_.options=c||this.resolveDataElementOptions(h,t.active?"active":n)),g||this.updateElement(t,h,_,n),b=i}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,i=t.options&&t.options.borderWidth||0,n=e.data||[];if(!n.length)return i;const r=n[0].size(this.resolveDataElementOptions(0)),o=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,r,o)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}_r.id="line",_r.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},_r.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class Cr extends sr{constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,i=this.chart,n=i.data.labels||[],r=Hn(t._parsed[e].r,i.options.locale);return{label:n[e]||"",value:r}}parseObjectData(e,t,i,n){return ln.bind(this)(e,t,i,n)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,i)=>{const n=this.getParsed(i).r;!isNaN(n)&&this.chart.getDataVisibility(i)&&(n<t.min&&(t.min=n),n>t.max&&(t.max=n))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,i=e.options,n=Math.min(t.right-t.left,t.bottom-t.top),r=Math.max(n/2,0),o=(r-Math.max(i.cutoutPercentage?r/100*i.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=r-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(e,t,i,n){const r="reset"===n,o=this.chart,s=o.options.animation,l=this._cachedMeta.rScale,a=l.xCenter,c=l.yCenter,d=l.getIndexAngle(0)-.5*Ge;let u,f=d;const h=360/this.countVisibleElements();for(u=0;u<t;++u)f+=this._computeAngle(u,n,h);for(u=t;u<t+i;u++){const t=e[u];let i=f,m=f+this._computeAngle(u,n,h),p=o.getDataVisibility(u)?l.getDistanceFromCenterForValue(this.getParsed(u).r):0;f=m,r&&(s.animateScale&&(p=0),s.animateRotate&&(i=m=d));const g={x:a,y:c,innerRadius:0,outerRadius:p,startAngle:i,endAngle:m,options:this.resolveDataElementOptions(u,t.active?"active":n)};this.updateElement(t,u,g,n)}}countVisibleElements(){const e=this._cachedMeta;let t=0;return e.data.forEach(((e,i)=>{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&t++})),t}_computeAngle(e,t,i){return this.chart.getDataVisibility(e)?at(this.resolveDataElementOptions(e,t).angle||i):0}}Cr.id="polarArea",Cr.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Cr.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:i}}=e.legend.options;return t.labels.map(((t,n)=>{const r=e.getDatasetMeta(0).controller.getStyle(n);return{text:t,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,pointStyle:i,hidden:!e.getDataVisibility(n),index:n}}))}return[]}},onClick(e,t,i){i.chart.toggleDataVisibility(t.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:e=>e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class vr extends br{}vr.id="pie",vr.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class xr extends sr{getLabelAndValue(e){const t=this._cachedMeta.vScale,i=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(i[t.axis])}}parseObjectData(e,t,i,n){return ln.bind(this)(e,t,i,n)}update(e){const t=this._cachedMeta,i=t.dataset,n=t.data||[],r=t.iScale.getLabels();if(i.points=n,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const o={_loop:!0,_fullLoop:r.length===n.length,options:t};this.updateElement(i,void 0,o,e)}this.updateElements(n,0,n.length,e)}updateElements(e,t,i,n){const r=this._cachedMeta.rScale,o="reset"===n;for(let s=t;s<t+i;s++){const t=e[s],i=this.resolveDataElementOptions(s,t.active?"active":n),l=r.getPointPositionForValue(s,this.getParsed(s).r),a=o?r.xCenter:l.x,c=o?r.yCenter:l.y,d={x:a,y:c,angle:l.angle,skip:isNaN(a)||isNaN(c),options:i};this.updateElement(t,s,d,n)}}}xr.id="radar",xr.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},xr.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Nr{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}hasValue(){return ot(this.x)&&ot(this.y)}getProps(e,t){const i=this.$animations;if(!t||!i)return this;const n={};return e.forEach((e=>{n[e]=i[e]&&i[e].active()?i[e]._to:this[e]})),n}}Nr.defaults={},Nr.defaultRoutes=void 0;const wr={values:e=>De(e)?e:""+e,numeric(e,t,i){if(0===e)return"0";const n=this.chart.options.locale;let r,o=e;if(i.length>1){const t=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(t<1e-4||t>1e15)&&(r="scientific"),o=function(e,t){let i=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(i)>=1&&e!==Math.floor(e)&&(i=e-Math.floor(e));return i}(e,i)}const s=it(Math.abs(o)),l=Math.max(Math.min(-1*Math.floor(s),20),0),a={notation:r,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(a,this.options.ticks.format),Hn(e,n,a)},logarithmic(e,t,i){if(0===e)return"0";const n=e/Math.pow(10,Math.floor(it(e)));return 1===n||2===n||5===n?wr.numeric.call(this,e,t,i):""}};var yr={formatters:wr};function Er(e,t){const i=e.options.ticks,n=i.maxTicksLimit||function(e){const t=e.options.offset,i=e._tickSize(),n=e._length/i+(t?0:1),r=e._maxLength/i;return Math.floor(Math.min(n,r))}(e),r=i.major.enabled?function(e){const t=[];let i,n;for(i=0,n=e.length;i<n;i++)e[i].major&&t.push(i);return t}(t):[],o=r.length,s=r[0],l=r[o-1],a=[];if(o>n)return function(e,t,i,n){let r,o=0,s=i[0];for(n=Math.ceil(n),r=0;r<e.length;r++)r===s&&(t.push(e[r]),o++,s=i[o*n])}(t,a,r,o/n),a;const c=function(e,t,i){const n=function(e){const t=e.length;let i,n;if(t<2)return!1;for(n=e[0],i=1;i<t;++i)if(e[i]-e[i-1]!==n)return!1;return n}(e),r=t.length/i;if(!n)return Math.max(r,1);const o=function(e){const t=[],i=Math.sqrt(e);let n;for(n=1;n<i;n++)e%n==0&&(t.push(n),t.push(e/n));return i===(0|i)&&t.push(i),t.sort(((e,t)=>e-t)).pop(),t}(n);for(let e=0,t=o.length-1;e<t;e++){const t=o[e];if(t>r)return t}return Math.max(r,1)}(r,t,n);if(o>0){let e,i;const n=o>1?Math.round((l-s)/(o-1)):null;for(Ar(t,a,c,Ae(n)?0:s-n,s),e=0,i=o-1;e<i;e++)Ar(t,a,c,r[e],r[e+1]);return Ar(t,a,c,l,Ae(n)?t.length:l+n),a}return Ar(t,a,c),a}function Ar(e,t,i,n,r){const o=Pe(n,0),s=Math.min(Pe(r,e.length),e.length);let l,a,c,d=0;for(i=Math.ceil(i),r&&(l=r-n,i=l/Math.floor(l/i)),c=o;c<0;)d++,c=Math.round(o+d*i);for(a=Math.max(o,0);a<s;a++)a===c&&(t.push(e[a]),d++,c=Math.round(o+d*i))}xi.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:yr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),xi.route("scale.ticks","color","","color"),xi.route("scale.grid","color","","borderColor"),xi.route("scale.grid","borderColor","","borderColor"),xi.route("scale.title","color","","color"),xi.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e}),xi.describe("scales",{_fallback:"scale"}),xi.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e});const Dr=(e,t,i)=>"top"===t||"left"===t?e[t]+i:e[t]-i;function kr(e,t){const i=[],n=e.length/t,r=e.length;let o=0;for(;o<r;o+=n)i.push(e[Math.floor(o)]);return i}function Mr(e,t,i){const n=e.ticks.length,r=Math.min(t,n-1),o=e._startPixel,s=e._endPixel,l=1e-6;let a,c=e.getPixelForTick(r);if(!(i&&(a=1===n?Math.max(c-o,s-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(r-1))/2,c+=r<t?a:-a,c<o-l||c>s+l)))return c}function Br(e){return e.drawTicks?e.tickLength:0}function Pr(e,t){if(!e.display)return 0;const i=Yi(e.font,t),n=Ti(e.padding);return(De(e.text)?e.text.length:1)*i.lineHeight+n.height}function Hr(e,t,i){let n=At(e);return(i&&"right"!==t||!i&&"right"===t)&&(n=(e=>"left"===e?"right":"right"===e?"left":e)(n)),n}class Lr extends Nr{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:i,_suggestedMax:n}=this;return e=Be(e,Number.POSITIVE_INFINITY),t=Be(t,Number.NEGATIVE_INFINITY),i=Be(i,Number.POSITIVE_INFINITY),n=Be(n,Number.NEGATIVE_INFINITY),{min:Be(e,i),max:Be(t,n),minDefined:Me(e),maxDefined:Me(t)}}getMinMax(e){let t,{min:i,max:n,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:i,max:n};const s=this.getMatchingVisibleMetas();for(let l=0,a=s.length;l<a;++l)t=s[l].controller.getMinMax(this,e),r||(i=Math.min(i,t.min)),o||(n=Math.max(n,t.max));return i=o&&i>n?n:i,n=r&&i>n?i:n,{min:Be(i,Be(n,i)),max:Be(n,Be(i,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Le(this.options.beforeUpdate,[this])}update(e,t,i){const{beginAtZero:n,grace:r,ticks:o}=this.options,s=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,i){const{min:n,max:r}=e,o=He(t,(r-n)/2),s=(e,t)=>i&&0===e?0:e+t;return{min:s(n,-Math.abs(o)),max:s(r,o)}}(this,r,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=s<this.ticks.length;this._convertTicksToLabels(l?kr(this.ticks,s):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=Er(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),l&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,i=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,i=!i),this._startPixel=e,this._endPixel=t,this._reversePixels=i,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Le(this.options.afterUpdate,[this])}beforeSetDimensions(){Le(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Le(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Le(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Le(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let i,n,r;for(i=0,n=e.length;i<n;i++)r=e[i],r.label=Le(t.callback,[r.value,i,e],this)}afterTickToLabelConversion(){Le(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Le(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,i=this.ticks.length,n=t.minRotation||0,r=t.maxRotation;let o,s,l,a=n;if(!this._isVisible()||!t.display||n>=r||i<=1||!this.isHorizontal())return void(this.labelRotation=n);const c=this._getLabelSizes(),d=c.widest.width,u=c.highest.height,f=gt(this.chart.width-d,0,this.maxWidth);o=e.offset?this.maxWidth/i:f/(i-1),d+6>o&&(o=f/(i-(e.offset?.5:1)),s=this.maxHeight-Br(e.grid)-t.padding-Pr(e.title,this.chart.options.font),l=Math.sqrt(d*d+u*u),a=ct(Math.min(Math.asin(gt((c.highest.height+6)/o,-1,1)),Math.asin(gt(s/l,-1,1))-Math.asin(gt(u/l,-1,1)))),a=Math.max(n,Math.min(r,a))),this.labelRotation=a}afterCalculateLabelRotation(){Le(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Le(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:i,title:n,grid:r}}=this,o=this._isVisible(),s=this.isHorizontal();if(o){const o=Pr(n,t.options.font);if(s?(e.width=this.maxWidth,e.height=Br(r)+o):(e.height=this.maxHeight,e.width=Br(r)+o),i.display&&this.ticks.length){const{first:t,last:n,widest:r,highest:o}=this._getLabelSizes(),l=2*i.padding,a=at(this.labelRotation),c=Math.cos(a),d=Math.sin(a);if(s){const t=i.mirror?0:d*r.width+c*o.height;e.height=Math.min(this.maxHeight,e.height+t+l)}else{const t=i.mirror?0:c*r.width+d*o.height;e.width=Math.min(this.maxWidth,e.width+t+l)}this._calculatePadding(t,n,d,c)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,i,n){const{ticks:{align:r,padding:o},position:s}=this.options,l=0!==this.labelRotation,a="top"!==s&&"x"===this.axis;if(this.isHorizontal()){const s=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let d=0,u=0;l?a?(d=n*e.width,u=i*t.height):(d=i*e.height,u=n*t.width):"start"===r?u=t.width:"end"===r?d=e.width:"inner"!==r&&(d=e.width/2,u=t.width/2),this.paddingLeft=Math.max((d-s+o)*this.width/(this.width-s),0),this.paddingRight=Math.max((u-c+o)*this.width/(this.width-c),0)}else{let i=t.height/2,n=e.height/2;"start"===r?(i=0,n=e.height):"end"===r&&(i=t.height,n=0),this.paddingTop=i+o,this.paddingBottom=n+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Le(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,i=e.length;t<i;t++)Ae(e[t].label)&&(e.splice(t,1),i--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let i=this.ticks;t<i.length&&(i=kr(i,t)),this._labelSizes=e=this._computeLabelSizes(i,i.length)}return e}_computeLabelSizes(e,t){const{ctx:i,_longestTextCache:n}=this,r=[],o=[];let s,l,a,c,d,u,f,h,m,p,g,b=0,_=0;for(s=0;s<t;++s){if(c=e[s].label,d=this._resolveTickFontOptions(s),i.font=u=d.string,f=n[u]=n[u]||{data:{},gc:[]},h=d.lineHeight,m=p=0,Ae(c)||De(c)){if(De(c))for(l=0,a=c.length;l<a;++l)g=c[l],Ae(g)||De(g)||(m=Ni(i,f.data,f.gc,m,g),p+=h)}else m=Ni(i,f.data,f.gc,m,c),p=h;r.push(m),o.push(p),b=Math.max(m,b),_=Math.max(p,_)}!function(e,t){Oe(e,(e=>{const i=e.gc,n=i.length/2;let r;if(n>t){for(r=0;r<n;++r)delete e.data[i[r]];i.splice(0,n)}}))}(n,t);const C=r.indexOf(b),v=o.indexOf(_),x=e=>({width:r[e]||0,height:o[e]||0});return{first:x(0),last:x(t-1),widest:x(C),highest:x(v),widths:r,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return gt(this._alignToPixels?yi(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const i=t[e];return i.$context||(i.$context=function(e,t,i){return Wi(e,{tick:i,index:t,type:"tick"})}(this.getContext(),e,i))}return this.$context||(this.$context=Wi(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=at(this.labelRotation),i=Math.abs(Math.cos(t)),n=Math.abs(Math.sin(t)),r=this._getLabelSizes(),o=e.autoSkipPadding||0,s=r?r.widest.width+o:0,l=r?r.highest.height+o:0;return this.isHorizontal()?l*i>s*n?s/i:l/n:l*n<s*i?l/i:s/n}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,i=this.chart,n=this.options,{grid:r,position:o}=n,s=r.offset,l=this.isHorizontal(),a=this.ticks.length+(s?1:0),c=Br(r),d=[],u=r.setContext(this.getContext()),f=u.drawBorder?u.borderWidth:0,h=f/2,m=function(e){return yi(i,e,f)};let p,g,b,_,C,v,x,N,w,y,E,A;if("top"===o)p=m(this.bottom),v=this.bottom-c,N=p-h,y=m(e.top)+h,A=e.bottom;else if("bottom"===o)p=m(this.top),y=e.top,A=m(e.bottom)-h,v=p+h,N=this.top+c;else if("left"===o)p=m(this.right),C=this.right-c,x=p-h,w=m(e.left)+h,E=e.right;else if("right"===o)p=m(this.left),w=e.left,E=m(e.right)-h,C=p+h,x=this.left+c;else if("x"===t){if("center"===o)p=m((e.top+e.bottom)/2+.5);else if(ke(o)){const e=Object.keys(o)[0],t=o[e];p=m(this.chart.scales[e].getPixelForValue(t))}y=e.top,A=e.bottom,v=p+h,N=v+c}else if("y"===t){if("center"===o)p=m((e.left+e.right)/2);else if(ke(o)){const e=Object.keys(o)[0],t=o[e];p=m(this.chart.scales[e].getPixelForValue(t))}C=p-h,x=C-c,w=e.left,E=e.right}const D=Pe(n.ticks.maxTicksLimit,a),k=Math.max(1,Math.ceil(a/D));for(g=0;g<a;g+=k){const e=r.setContext(this.getContext(g)),t=e.lineWidth,n=e.color,o=e.borderDash||[],a=e.borderDashOffset,c=e.tickWidth,u=e.tickColor,f=e.tickBorderDash||[],h=e.tickBorderDashOffset;b=Mr(this,g,s),void 0!==b&&(_=yi(i,b,t),l?C=x=w=E=_:v=N=y=A=_,d.push({tx1:C,ty1:v,tx2:x,ty2:N,x1:w,y1:y,x2:E,y2:A,width:t,color:n,borderDash:o,borderDashOffset:a,tickWidth:c,tickColor:u,tickBorderDash:f,tickBorderDashOffset:h}))}return this._ticksLength=a,this._borderValue=p,d}_computeLabelItems(e){const t=this.axis,i=this.options,{position:n,ticks:r}=i,o=this.isHorizontal(),s=this.ticks,{align:l,crossAlign:a,padding:c,mirror:d}=r,u=Br(i.grid),f=u+c,h=d?-c:f,m=-at(this.labelRotation),p=[];let g,b,_,C,v,x,N,w,y,E,A,D,k="middle";if("top"===n)x=this.bottom-h,N=this._getXAxisLabelAlignment();else if("bottom"===n)x=this.top+h,N=this._getXAxisLabelAlignment();else if("left"===n){const e=this._getYAxisLabelAlignment(u);N=e.textAlign,v=e.x}else if("right"===n){const e=this._getYAxisLabelAlignment(u);N=e.textAlign,v=e.x}else if("x"===t){if("center"===n)x=(e.top+e.bottom)/2+f;else if(ke(n)){const e=Object.keys(n)[0],t=n[e];x=this.chart.scales[e].getPixelForValue(t)+f}N=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===n)v=(e.left+e.right)/2-f;else if(ke(n)){const e=Object.keys(n)[0],t=n[e];v=this.chart.scales[e].getPixelForValue(t)}N=this._getYAxisLabelAlignment(u).textAlign}"y"===t&&("start"===l?k="top":"end"===l&&(k="bottom"));const M=this._getLabelSizes();for(g=0,b=s.length;g<b;++g){_=s[g],C=_.label;const e=r.setContext(this.getContext(g));w=this.getPixelForTick(g)+r.labelOffset,y=this._resolveTickFontOptions(g),E=y.lineHeight,A=De(C)?C.length:1;const t=A/2,i=e.color,l=e.textStrokeColor,c=e.textStrokeWidth;let u,f=N;if(o?(v=w,"inner"===N&&(f=g===b-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),D="top"===n?"near"===a||0!==m?-A*E+E/2:"center"===a?-M.highest.height/2-t*E+E:-M.highest.height+E/2:"near"===a||0!==m?E/2:"center"===a?M.highest.height/2-t*E:M.highest.height-A*E,d&&(D*=-1)):(x=w,D=(1-A)*E/2),e.showLabelBackdrop){const t=Ti(e.backdropPadding),i=M.heights[g],n=M.widths[g];let r=x+D-t.top,o=v-t.left;switch(k){case"middle":r-=i/2;break;case"bottom":r-=i}switch(N){case"center":o-=n/2;break;case"right":o-=n}u={left:o,top:r,width:n+t.width,height:i+t.height,color:e.backdropColor}}p.push({rotation:m,label:C,font:y,color:i,strokeColor:l,strokeWidth:c,textOffset:D,textAlign:f,textBaseline:k,translation:[v,x],backdrop:u})}return p}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-at(this.labelRotation))return"top"===e?"left":"right";let i="center";return"start"===t.align?i="left":"end"===t.align?i="right":"inner"===t.align&&(i="inner"),i}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:i,mirror:n,padding:r}}=this.options,o=e+r,s=this._getLabelSizes().widest.width;let l,a;return"left"===t?n?(a=this.right+r,"near"===i?l="left":"center"===i?(l="center",a+=s/2):(l="right",a+=s)):(a=this.right-o,"near"===i?l="right":"center"===i?(l="center",a-=s/2):(l="left",a=this.left)):"right"===t?n?(a=this.left+r,"near"===i?l="right":"center"===i?(l="center",a-=s/2):(l="left",a-=s)):(a=this.left+o,"near"===i?l="left":"center"===i?(l="center",a+=s/2):(l="right",a=this.right)):l="right",{textAlign:l,x:a}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:i,top:n,width:r,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(i,n,r,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const i=this.ticks.findIndex((t=>t.value===e));if(i>=0){return t.setContext(this.getContext(i)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,i=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let r,o;const s=(e,t,n)=>{n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(e.x,e.y),i.lineTo(t.x,t.y),i.stroke(),i.restore())};if(t.display)for(r=0,o=n.length;r<o;++r){const e=n[r];t.drawOnChartArea&&s({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&s({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{grid:i}}=this,n=i.setContext(this.getContext()),r=i.drawBorder?n.borderWidth:0;if(!r)return;const o=i.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,a,c,d;this.isHorizontal()?(l=yi(e,this.left,r)-r/2,a=yi(e,this.right,o)+o/2,c=d=s):(c=yi(e,this.top,r)-r/2,d=yi(e,this.bottom,o)+o/2,l=a=s),t.save(),t.lineWidth=n.borderWidth,t.strokeStyle=n.borderColor,t.beginPath(),t.moveTo(l,c),t.lineTo(a,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,i=this._computeLabelArea();i&&Mi(t,i);const n=this._labelItems||(this._labelItems=this._computeLabelItems(e));let r,o;for(r=0,o=n.length;r<o;++r){const e=n[r],i=e.font,o=e.label;e.backdrop&&(t.fillStyle=e.backdrop.color,t.fillRect(e.backdrop.left,e.backdrop.top,e.backdrop.width,e.backdrop.height)),Li(t,o,0,e.textOffset,i,e)}i&&Bi(t)}drawTitle(){const{ctx:e,options:{position:t,title:i,reverse:n}}=this;if(!i.display)return;const r=Yi(i.font),o=Ti(i.padding),s=i.align;let l=r.lineHeight/2;"bottom"===t||"center"===t||ke(t)?(l+=o.bottom,De(i.text)&&(l+=r.lineHeight*(i.text.length-1))):l+=o.top;const{titleX:a,titleY:c,maxWidth:d,rotation:u}=function(e,t,i,n){const{top:r,left:o,bottom:s,right:l,chart:a}=e,{chartArea:c,scales:d}=a;let u,f,h,m=0;const p=s-r,g=l-o;if(e.isHorizontal()){if(f=Dt(n,o,l),ke(i)){const e=Object.keys(i)[0],n=i[e];h=d[e].getPixelForValue(n)+p-t}else h="center"===i?(c.bottom+c.top)/2+p-t:Dr(e,i,t);u=l-o}else{if(ke(i)){const e=Object.keys(i)[0],n=i[e];f=d[e].getPixelForValue(n)-g+t}else f="center"===i?(c.left+c.right)/2-g+t:Dr(e,i,t);h=Dt(n,s,r),m="left"===i?-$e:$e}return{titleX:f,titleY:h,maxWidth:u,rotation:m}}(this,l,t,s);Li(e,i.text,0,0,r,{color:i.color,maxWidth:d,rotation:u,textAlign:Hr(s,t,n),textBaseline:"middle",translation:[a,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,i=Pe(e.grid&&e.grid.z,-1);return this._isVisible()&&this.draw===Lr.prototype.draw?[{z:i,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",n=[];let r,o;for(r=0,o=t.length;r<o;++r){const o=t[r];o[i]!==this.id||e&&o.type!==e||n.push(o)}return n}_resolveTickFontOptions(e){return Yi(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Or{constructor(e,t,i){this.type=e,this.scope=t,this.override=i,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let i;(function(e){return"id"in e&&"defaults"in e})(t)&&(i=this.register(t));const n=this.items,r=e.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+e);return r in n||(n[r]=e,function(e,t,i){const n=ze(Object.create(null),[i?xi.get(i):{},xi.get(t),e.defaults]);xi.set(t,n),e.defaultRoutes&&function(e,t){Object.keys(t).forEach((i=>{const n=i.split("."),r=n.pop(),o=[e].concat(n).join("."),s=t[i].split("."),l=s.pop(),a=s.join(".");xi.route(o,r,a,l)}))}(t,e.defaultRoutes);e.descriptors&&xi.describe(t,e.descriptors)}(e,o,i),this.override&&xi.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const t=this.items,i=e.id,n=this.scope;i in t&&delete t[i],n&&i in xi[n]&&(delete xi[n][i],this.override&&delete bi[i])}}var Sr=new class{constructor(){this.controllers=new Or(sr,"datasets",!0),this.elements=new Or(Nr,"elements"),this.plugins=new Or(Object,"plugins"),this.scales=new Or(Lr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,i){[...t].forEach((t=>{const n=i||this._getRegistryForType(t);i||n.isForType(t)||n===this.plugins&&t.id?this._exec(e,n,t):Oe(t,(t=>{const n=i||this._getRegistryForType(t);this._exec(e,n,t)}))}))}_exec(e,t,i){const n=Ye(e);Le(i["before"+n],[],i),t[e](i),Le(i["after"+n],[],i)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const i=this._typedRegistries[t];if(i.isForType(e))return i}return this.plugins}_get(e,t,i){const n=t.get(e);if(void 0===n)throw new Error('"'+e+'" is not a registered '+i+".");return n}};class Ir extends sr{update(e){const t=this._cachedMeta,{data:i=[]}=t,n=this.chart._animationsDisabled;let{start:r,count:o}=kt(t,i,n);if(this._drawStart=r,this._drawCount=o,Mt(t)&&(r=0,o=i.length),this.options.showLine){const{dataset:r,_dataset:o}=t;r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!o._decimated,r.points=i;const s=this.resolveDatasetElementOptions(e);s.segment=this.options.segment,this.updateElement(r,void 0,{animated:!n,options:s},e)}this.updateElements(i,r,o,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=Sr.getElement("line")),super.addElements()}updateElements(e,t,i,n){const r="reset"===n,{iScale:o,vScale:s,_stacked:l,_dataset:a}=this._cachedMeta,c=this.resolveDataElementOptions(t,n),d=this.getSharedOptions(c),u=this.includeOptions(n,d),f=o.axis,h=s.axis,{spanGaps:m,segment:p}=this.options,g=ot(m)?m:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||r||"none"===n;let _=t>0&&this.getParsed(t-1);for(let c=t;c<t+i;++c){const t=e[c],i=this.getParsed(c),m=b?t:{},C=Ae(i[h]),v=m[f]=o.getPixelForValue(i[f],c),x=m[h]=r||C?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,i,l):i[h],c);m.skip=isNaN(v)||isNaN(x)||C,m.stop=c>0&&Math.abs(i[f]-_[f])>g,p&&(m.parsed=i,m.raw=a.data[c]),u&&(m.options=d||this.resolveDataElementOptions(c,t.active?"active":n)),b||this.updateElement(t,c,m,n),_=i}this.updateSharedOptions(d,n,c)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let i=t.length-1;i>=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}const i=e.dataset,n=i.options&&i.options.borderWidth||0;if(!t.length)return n;const r=t[0].size(this.resolveDataElementOptions(0)),o=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(n,r,o)/2}}Ir.id="scatter",Ir.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},Ir.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:e=>"("+e.label+", "+e.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var Rr=Object.freeze({__proto__:null,BarController:pr,BubbleController:gr,DoughnutController:br,LineController:_r,PolarAreaController:Cr,PieController:vr,RadarController:xr,ScatterController:Ir});function Fr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class zr{constructor(e){this.options=e||{}}init(e){}formats(){return Fr()}parse(e,t){return Fr()}format(e,t){return Fr()}add(e,t,i){return Fr()}diff(e,t,i){return Fr()}startOf(e,t,i){return Fr()}endOf(e,t){return Fr()}}zr.override=function(e){Object.assign(zr.prototype,e)};var Qr={_date:zr};function jr(e,t,i,n){const{controller:r,data:o,_sorted:s}=e,l=r._cachedMeta.iScale;if(l&&t===l.axis&&"r"!==t&&s&&o.length){const e=l._reversePixels?vt:Ct;if(!n)return e(o,t,i);if(r._sharedOptions){const n=o[0],r="function"==typeof n.getRange&&n.getRange(t);if(r){const n=e(o,t,i-r),s=e(o,t,i+r);return{lo:n.lo,hi:s.hi}}}}return{lo:0,hi:o.length-1}}function Vr(e,t,i,n,r){const o=e.getSortedVisibleDatasetMetas(),s=i[t];for(let e=0,i=o.length;e<i;++e){const{index:i,data:l}=o[e],{lo:a,hi:c}=jr(o[e],t,s,r);for(let e=a;e<=c;++e){const t=l[e];t.skip||n(t,i,e)}}}function Tr(e,t,i,n,r){const o=[];if(!r&&!e.isPointInArea(t))return o;return Vr(e,i,t,(function(i,s,l){(r||ki(i,e.chartArea,0))&&i.inRange(t.x,t.y,n)&&o.push({element:i,datasetIndex:s,index:l})}),!0),o}function Yr(e,t,i,n,r,o){let s=[];const l=function(e){const t=-1!==e.indexOf("x"),i=-1!==e.indexOf("y");return function(e,n){const r=t?Math.abs(e.x-n.x):0,o=i?Math.abs(e.y-n.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}(i);let a=Number.POSITIVE_INFINITY;return Vr(e,i,t,(function(i,c,d){const u=i.inRange(t.x,t.y,r);if(n&&!u)return;const f=i.getCenterPoint(r);if(!(!!o||e.isPointInArea(f))&&!u)return;const h=l(t,f);h<a?(s=[{element:i,datasetIndex:c,index:d}],a=h):h===a&&s.push({element:i,datasetIndex:c,index:d})})),s}function Xr(e,t,i,n,r,o){return o||e.isPointInArea(t)?"r"!==i||n?Yr(e,t,i,n,r,o):function(e,t,i,n){let r=[];return Vr(e,i,t,(function(e,i,o){const{startAngle:s,endAngle:l}=e.getProps(["startAngle","endAngle"],n),{angle:a}=ut(e,{x:t.x,y:t.y});pt(a,s,l)&&r.push({element:e,datasetIndex:i,index:o})})),r}(e,t,i,r):[]}function Wr(e,t,i,n,r){const o=[],s="x"===i?"inXRange":"inYRange";let l=!1;return Vr(e,i,t,((e,n,a)=>{e[s](t[i],r)&&(o.push({element:e,datasetIndex:n,index:a}),l=l||e.inRange(t.x,t.y,r))})),n&&!l?[]:o}var Zr={evaluateInteractionItems:Vr,modes:{index(e,t,i,n){const r=Nn(t,e),o=i.axis||"x",s=i.includeInvisible||!1,l=i.intersect?Tr(e,r,o,n,s):Xr(e,r,o,!1,n,s),a=[];return l.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=l[0].index,i=e.data[t];i&&!i.skip&&a.push({element:i,datasetIndex:e.index,index:t})})),a):[]},dataset(e,t,i,n){const r=Nn(t,e),o=i.axis||"xy",s=i.includeInvisible||!1;let l=i.intersect?Tr(e,r,o,n,s):Xr(e,r,o,!1,n,s);if(l.length>0){const t=l[0].datasetIndex,i=e.getDatasetMeta(t).data;l=[];for(let e=0;e<i.length;++e)l.push({element:i[e],datasetIndex:t,index:e})}return l},point:(e,t,i,n)=>Tr(e,Nn(t,e),i.axis||"xy",n,i.includeInvisible||!1),nearest(e,t,i,n){const r=Nn(t,e),o=i.axis||"xy",s=i.includeInvisible||!1;return Xr(e,r,o,i.intersect,n,s)},x:(e,t,i,n)=>Wr(e,Nn(t,e),"x",i.intersect,n),y:(e,t,i,n)=>Wr(e,Nn(t,e),"y",i.intersect,n)}};const Gr=["left","top","right","bottom"];function Ur(e,t){return e.filter((e=>e.pos===t))}function Kr(e,t){return e.filter((e=>-1===Gr.indexOf(e.pos)&&e.box.axis===t))}function Jr(e,t){return e.sort(((e,i)=>{const n=t?i:e,r=t?e:i;return n.weight===r.weight?n.index-r.index:n.weight-r.weight}))}function qr(e,t){const i=function(e){const t={};for(const i of e){const{stack:e,pos:n,stackWeight:r}=i;if(!e||!Gr.includes(n))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return t}(e),{vBoxMaxWidth:n,hBoxMaxHeight:r}=t;let o,s,l;for(o=0,s=e.length;o<s;++o){l=e[o];const{fullSize:s}=l.box,a=i[l.stack],c=a&&l.stackWeight/a.weight;l.horizontal?(l.width=c?c*n:s&&t.availableWidth,l.height=r):(l.width=n,l.height=c?c*r:s&&t.availableHeight)}return i}function $r(e,t,i,n){return Math.max(e[i],t[i])+Math.max(e[n],t[n])}function eo(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function to(e,t,i,n){const{pos:r,box:o}=i,s=e.maxPadding;if(!ke(r)){i.size&&(e[r]-=i.size);const t=n[i.stack]||{size:0,count:1};t.size=Math.max(t.size,i.horizontal?o.height:o.width),i.size=t.size/t.count,e[r]+=i.size}o.getPadding&&eo(s,o.getPadding());const l=Math.max(0,t.outerWidth-$r(s,e,"left","right")),a=Math.max(0,t.outerHeight-$r(s,e,"top","bottom")),c=l!==e.w,d=a!==e.h;return e.w=l,e.h=a,i.horizontal?{same:c,other:d}:{same:d,other:c}}function io(e,t){const i=t.maxPadding;function n(e){const n={left:0,top:0,right:0,bottom:0};return e.forEach((e=>{n[e]=Math.max(t[e],i[e])})),n}return n(e?["left","right"]:["top","bottom"])}function no(e,t,i,n){const r=[];let o,s,l,a,c,d;for(o=0,s=e.length,c=0;o<s;++o){l=e[o],a=l.box,a.update(l.width||t.w,l.height||t.h,io(l.horizontal,t));const{same:s,other:u}=to(t,i,l,n);c|=s&&r.length,d=d||u,a.fullSize||r.push(l)}return c&&no(r,t,i,n)||d}function ro(e,t,i,n,r){e.top=i,e.left=t,e.right=t+n,e.bottom=i+r,e.width=n,e.height=r}function oo(e,t,i,n){const r=i.padding;let{x:o,y:s}=t;for(const l of e){const e=l.box,a=n[l.stack]||{count:1,placed:0,weight:1},c=l.stackWeight/a.weight||1;if(l.horizontal){const n=t.w*c,o=a.size||e.height;Xe(a.start)&&(s=a.start),e.fullSize?ro(e,r.left,s,i.outerWidth-r.right-r.left,o):ro(e,t.left+a.placed,s,n,o),a.start=s,a.placed+=n,s=e.bottom}else{const n=t.h*c,s=a.size||e.width;Xe(a.start)&&(o=a.start),e.fullSize?ro(e,o,r.top,s,i.outerHeight-r.bottom-r.top):ro(e,o,t.top+a.placed,s,n),a.start=o,a.placed+=n,o=e.right}}t.x=o,t.y=s}xi.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});var so={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const i=e.boxes?e.boxes.indexOf(t):-1;-1!==i&&e.boxes.splice(i,1)},configure(e,t,i){t.fullSize=i.fullSize,t.position=i.position,t.weight=i.weight},update(e,t,i,n){if(!e)return;const r=Ti(e.options.layout.padding),o=Math.max(t-r.width,0),s=Math.max(i-r.height,0),l=function(e){const t=function(e){const t=[];let i,n,r,o,s,l;for(i=0,n=(e||[]).length;i<n;++i)r=e[i],({position:o,options:{stack:s,stackWeight:l=1}}=r),t.push({index:i,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&o+s,stackWeight:l});return t}(e),i=Jr(t.filter((e=>e.box.fullSize)),!0),n=Jr(Ur(t,"left"),!0),r=Jr(Ur(t,"right")),o=Jr(Ur(t,"top"),!0),s=Jr(Ur(t,"bottom")),l=Kr(t,"x"),a=Kr(t,"y");return{fullSize:i,leftAndTop:n.concat(o),rightAndBottom:r.concat(a).concat(s).concat(l),chartArea:Ur(t,"chartArea"),vertical:n.concat(r).concat(a),horizontal:o.concat(s).concat(l)}}(e.boxes),a=l.vertical,c=l.horizontal;Oe(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const d=a.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,u=Object.freeze({outerWidth:t,outerHeight:i,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/d,hBoxMaxHeight:s/2}),f=Object.assign({},r);eo(f,Ti(n));const h=Object.assign({maxPadding:f,w:o,h:s,x:r.left,y:r.top},r),m=qr(a.concat(c),u);no(l.fullSize,h,u,m),no(a,h,u,m),no(c,h,u,m)&&no(a,h,u,m),function(e){const t=e.maxPadding;function i(i){const n=Math.max(t[i]-e[i],0);return e[i]+=n,n}e.y+=i("top"),e.x+=i("left"),i("right"),i("bottom")}(h),oo(l.leftAndTop,h,u,m),h.x+=h.w,h.y+=h.h,oo(l.rightAndBottom,h,u,m),e.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h,height:h.h,width:h.w},Oe(l.chartArea,(t=>{const i=t.box;Object.assign(i,e.chartArea),i.update(h.w,h.h,{left:0,top:0,right:0,bottom:0})}))}};class lo{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,i){}removeEventListener(e,t,i){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,i,n){return t=Math.max(0,t||e.width),i=i||e.height,{width:t,height:Math.max(0,n?Math.floor(t/n):i)}}isAttached(e){return!0}updateConfig(e){}}class ao extends lo{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const co="$chartjs",uo={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},fo=e=>null===e||""===e;const ho=!!An&&{passive:!0};function mo(e,t,i){e.canvas.removeEventListener(t,i,ho)}function po(e,t){for(const i of e)if(i===t||i.contains(t))return!0}function go(e,t,i){const n=e.canvas,r=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||po(i.addedNodes,n),t=t&&!po(i.removedNodes,n);t&&i()}));return r.observe(document,{childList:!0,subtree:!0}),r}function bo(e,t,i){const n=e.canvas,r=new MutationObserver((e=>{let t=!1;for(const i of e)t=t||po(i.removedNodes,n),t=t&&!po(i.addedNodes,n);t&&i()}));return r.observe(document,{childList:!0,subtree:!0}),r}const _o=new Map;let Co=0;function vo(){const e=window.devicePixelRatio;e!==Co&&(Co=e,_o.forEach(((t,i)=>{i.currentDevicePixelRatio!==e&&t()})))}function xo(e,t,i){const n=e.canvas,r=n&&gn(n);if(!r)return;const o=Et(((e,t)=>{const n=r.clientWidth;i(e,t),n<r.clientWidth&&i()}),window),s=new ResizeObserver((e=>{const t=e[0],i=t.contentRect.width,n=t.contentRect.height;0===i&&0===n||o(i,n)}));return s.observe(r),function(e,t){_o.size||window.addEventListener("resize",vo),_o.set(e,t)}(e,o),s}function No(e,t,i){i&&i.disconnect(),"resize"===t&&function(e){_o.delete(e),_o.size||window.removeEventListener("resize",vo)}(e)}function wo(e,t,i){const n=e.canvas,r=Et((t=>{null!==e.ctx&&i(function(e,t){const i=uo[e.type]||e.type,{x:n,y:r}=Nn(e,t);return{type:i,chart:t,native:e,x:void 0!==n?n:null,y:void 0!==r?r:null}}(t,e))}),e,(e=>{const t=e[0];return[t,t.offsetX,t.offsetY]}));return function(e,t,i){e.addEventListener(t,i,ho)}(n,t,r),r}class yo extends lo{acquireContext(e,t){const i=e&&e.getContext&&e.getContext("2d");return i&&i.canvas===e?(function(e,t){const i=e.style,n=e.getAttribute("height"),r=e.getAttribute("width");if(e[co]={initial:{height:n,width:r,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",fo(r)){const t=Dn(e,"width");void 0!==t&&(e.width=t)}if(fo(n))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Dn(e,"height");void 0!==t&&(e.height=t)}}(e,t),i):null}releaseContext(e){const t=e.canvas;if(!t[co])return!1;const i=t[co].initial;["height","width"].forEach((e=>{const n=i[e];Ae(n)?t.removeAttribute(e):t.setAttribute(e,n)}));const n=i.style||{};return Object.keys(n).forEach((e=>{t.style[e]=n[e]})),t.width=t.width,delete t[co],!0}addEventListener(e,t,i){this.removeEventListener(e,t);const n=e.$proxies||(e.$proxies={}),r={attach:go,detach:bo,resize:xo}[t]||wo;n[t]=r(e,t,i)}removeEventListener(e,t){const i=e.$proxies||(e.$proxies={}),n=i[t];if(!n)return;({attach:No,detach:No,resize:No}[t]||mo)(e,t,n),i[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,i,n){return yn(e,t,i,n)}isAttached(e){const t=gn(e);return!(!t||!t.isConnected)}}class Eo{constructor(){this._init=[]}notify(e,t,i,n){"beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install"));const r=n?this._descriptors(e).filter(n):this._descriptors(e),o=this._notify(r,e,t,i);return"afterDestroy"===t&&(this._notify(r,e,"stop"),this._notify(this._init,e,"uninstall")),o}_notify(e,t,i,n){n=n||{};for(const r of e){const e=r.plugin;if(!1===Le(e[i],[t,n,r.options],e)&&n.cancelable)return!1}return!0}invalidate(){Ae(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const i=e&&e.config,n=Pe(i.options&&i.options.plugins,{}),r=function(e){const t={},i=[],n=Object.keys(Sr.plugins.items);for(let e=0;e<n.length;e++)i.push(Sr.getPlugin(n[e]));const r=e.plugins||[];for(let e=0;e<r.length;e++){const n=r[e];-1===i.indexOf(n)&&(i.push(n),t[n.id]=!0)}return{plugins:i,localIds:t}}(i);return!1!==n||t?function(e,{plugins:t,localIds:i},n,r){const o=[],s=e.getContext();for(const l of t){const t=l.id,a=Ao(n[t],r);null!==a&&o.push({plugin:l,options:Do(e.config,{plugin:l,local:i[t]},a,s)})}return o}(e,r,n,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],i=this._cache,n=(e,t)=>e.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(n(t,i),e,"stop"),this._notify(n(i,t),e,"start")}}function Ao(e,t){return t||!1!==e?!0===e?{}:e:null}function Do(e,{plugin:t,local:i},n,r){const o=e.pluginScopeKeys(t),s=e.getOptionScopes(n,o);return i&&t.defaults&&s.push(t.defaults),e.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ko(e,t){const i=xi.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||i.indexAxis||"x"}function Mo(e,t){return"x"===e||"y"===e?e:t.axis||("top"===(i=t.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||e.charAt(0).toLowerCase();var i}function Bo(e){const t=e.options||(e.options={});t.plugins=Pe(t.plugins,{}),t.scales=function(e,t){const i=bi[e.type]||{scales:{}},n=t.scales||{},r=ko(e.type,t),o=Object.create(null),s=Object.create(null);return Object.keys(n).forEach((e=>{const t=n[e];if(!ke(t))return console.error(`Invalid scale configuration for scale: ${e}`);if(t._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const l=Mo(e,t),a=function(e,t){return e===t?"_index_":"_value_"}(l,r),c=i.scales||{};o[l]=o[l]||e,s[e]=Qe(Object.create(null),[{axis:l},t,c[l],c[a]])})),e.data.datasets.forEach((i=>{const r=i.type||e.type,l=i.indexAxis||ko(r,t),a=(bi[r]||{}).scales||{};Object.keys(a).forEach((e=>{const t=function(e,t){let i=e;return"_index_"===e?i=t:"_value_"===e&&(i="x"===t?"y":"x"),i}(e,l),r=i[t+"AxisID"]||o[t]||t;s[r]=s[r]||Object.create(null),Qe(s[r],[{axis:t},n[r],a[e]])}))})),Object.keys(s).forEach((e=>{const t=s[e];Qe(t,[xi.scales[t.type],xi.scale])})),s}(e,t)}function Po(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Ho=new Map,Lo=new Set;function Oo(e,t){let i=Ho.get(e);return i||(i=t(),Ho.set(e,i),Lo.add(i)),i}const So=(e,t,i)=>{const n=Te(t,i);void 0!==n&&e.add(n)};class Io{constructor(e){this._config=function(e){return(e=e||{}).data=Po(e.data),Bo(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Po(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Bo(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Oo(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Oo(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Oo(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Oo(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const i=this._scopeCache;let n=i.get(e);return n&&!t||(n=new Map,i.set(e,n)),n}getOptionScopes(e,t,i){const{options:n,type:r}=this,o=this._cachedScopes(e,i),s=o.get(t);if(s)return s;const l=new Set;t.forEach((t=>{e&&(l.add(e),t.forEach((t=>So(l,e,t)))),t.forEach((e=>So(l,n,e))),t.forEach((e=>So(l,bi[r]||{},e))),t.forEach((e=>So(l,xi,e))),t.forEach((e=>So(l,_i,e)))}));const a=Array.from(l);return 0===a.length&&a.push(Object.create(null)),Lo.has(t)&&o.set(t,a),a}chartOptionScopes(){const{options:e,type:t}=this;return[e,bi[t]||{},xi.datasets[t]||{},{type:t},xi,_i]}resolveNamedOptions(e,t,i,n=[""]){const r={$shared:!0},{resolver:o,subPrefixes:s}=Ro(this._resolverCache,e,n);let l=o;if(function(e,t){const{isScriptable:i,isIndexable:n}=Ui(e);for(const r of t){const t=i(r),o=n(r),s=(o||t)&&e[r];if(t&&(We(s)||Fo(s))||o&&De(s))return!0}return!1}(o,t)){r.$shared=!1;l=Gi(o,i=We(i)?i():i,this.createResolver(e,i,s))}for(const e of t)r[e]=l[e];return r}createResolver(e,t,i=[""],n){const{resolver:r}=Ro(this._resolverCache,e,i);return ke(t)?Gi(r,t,void 0,n):r}}function Ro(e,t,i){let n=e.get(t);n||(n=new Map,e.set(t,n));const r=i.join();let o=n.get(r);if(!o){o={resolver:Zi(t,i),subPrefixes:i.filter((e=>!e.toLowerCase().includes("hover")))},n.set(r,o)}return o}const Fo=e=>ke(e)&&Object.getOwnPropertyNames(e).reduce(((t,i)=>t||We(e[i])),!1);const zo=["top","bottom","left","right","chartArea"];function Qo(e,t){return"top"===e||"bottom"===e||-1===zo.indexOf(e)&&"x"===t}function jo(e,t){return function(i,n){return i[e]===n[e]?i[t]-n[t]:i[e]-n[e]}}function Vo(e){const t=e.chart,i=t.options.animation;t.notifyPlugins("afterRender"),Le(i&&i.onComplete,[e],t)}function To(e){const t=e.chart,i=t.options.animation;Le(i&&i.onProgress,[e],t)}function Yo(e){return pn()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Xo={},Wo=e=>{const t=Yo(e);return Object.values(Xo).filter((e=>e.canvas===t)).pop()};function Zo(e,t,i){const n=Object.keys(e);for(const r of n){const n=+r;if(n>=t){const o=e[r];delete e[r],(i>0||n>t)&&(e[n+i]=o)}}}let Go=class{constructor(e,t){const i=this.config=new Io(t),n=Yo(e),r=Wo(n);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(e){return!pn()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?ao:yo}(n)),this.platform.updateConfig(i);const s=this.platform.acquireContext(n,o.aspectRatio),l=s&&s.canvas,a=l&&l.height,c=l&&l.width;this.id=Ee(),this.ctx=s,this.canvas=l,this.width=c,this.height=a,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Eo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let i;return function(...n){return t?(clearTimeout(i),i=setTimeout(e,t,n)):e.apply(this,n),t}}((e=>this.update(e)),o.resizeDelay||0),this._dataChanges=[],Xo[this.id]=this,s&&l?(Tn.listen(this,"complete",Vo),Tn.listen(this,"progress",To),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:i,height:n,_aspectRatio:r}=this;return Ae(e)?t&&r?r:n?i/n:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():En(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ei(this.canvas,this.ctx),this}stop(){return Tn.stop(this),this}resize(e,t){Tn.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const i=this.options,n=this.canvas,r=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(n,e,t,r),s=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,En(this,s,!0)&&(this.notifyPlugins("resize",{size:o}),Le(i.onResize,[this,o],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){Oe(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,i=this.scales,n=Object.keys(i).reduce(((e,t)=>(e[t]=!1,e)),{});let r=[];t&&(r=r.concat(Object.keys(t).map((e=>{const i=t[e],n=Mo(e,i),r="r"===n,o="x"===n;return{options:i,dposition:r?"chartArea":o?"bottom":"left",dtype:r?"radialLinear":o?"category":"linear"}})))),Oe(r,(t=>{const r=t.options,o=r.id,s=Mo(o,r),l=Pe(r.type,t.dtype);void 0!==r.position&&Qo(r.position,s)===Qo(t.dposition)||(r.position=t.dposition),n[o]=!0;let a=null;if(o in i&&i[o].type===l)a=i[o];else{a=new(Sr.getScale(l))({id:o,type:l,ctx:this.ctx,chart:this}),i[a.id]=a}a.init(r,e)})),Oe(n,((e,t)=>{e||delete i[t]})),Oe(i,(e=>{so.configure(this,e,e.options),so.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,i=e.length;if(e.sort(((e,t)=>e.index-t.index)),i>t){for(let e=t;e<i;++e)this._destroyDatasetMeta(e);e.splice(t,i-t)}this._sortedMetasets=e.slice(0).sort(jo("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach(((e,i)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let i,n;for(this._removeUnreferencedMetasets(),i=0,n=t.length;i<n;i++){const n=t[i];let r=this.getDatasetMeta(i);const o=n.type||this.config.type;if(r.type&&r.type!==o&&(this._destroyDatasetMeta(i),r=this.getDatasetMeta(i)),r.type=o,r.indexAxis=n.indexAxis||ko(o,this.options),r.order=n.order||0,r.index=i,r.label=""+n.label,r.visible=this.isDatasetVisible(i),r.controller)r.controller.updateIndex(i),r.controller.linkScales();else{const t=Sr.getController(o),{datasetElementType:n,dataElementType:s}=xi.datasets[o];Object.assign(t.prototype,{dataElementType:Sr.getElement(s),datasetElementType:n&&Sr.getElement(n)}),r.controller=new t(this,i),e.push(r.controller)}}return this._updateMetasets(),e}_resetElements(){Oe(this.data.datasets,((e,t)=>{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const i=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),i=!n&&-1===r.indexOf(t);t.buildOrUpdateElements(i),o=Math.max(+t.getMaxOverflow(),o)}o=this._minPadding=i.layout.autoPadding?o:0,this._updateLayout(o),n||Oe(r,(e=>{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(jo("z","_idx"));const{_active:s,_lastEvent:l}=this;l?this._eventHandler(l,!0):s.length&&this._updateHoverStyles(s,s,!0),this.render()}_updateScales(){Oe(this.scales,(e=>{so.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),i=new Set(e.events);Ze(t,i)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:i,start:n,count:r}of t){Zo(e,n,"_removeElements"===i?-r:r)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,i=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),n=i(0);for(let e=1;e<t;e++)if(!Ze(n,i(e)))return;return Array.from(n).map((e=>e.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;so.update(this,this.width,this.height,e);const t=this.chartArea,i=t.width<=0||t.height<=0;this._layers=[],Oe(this.boxes,(e=>{i&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,i=this.data.datasets.length;t<i;++t)this._updateDataset(t,We(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const i=this.getDatasetMeta(e),n={meta:i,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",n)&&(i.controller._update(t),n.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",n))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Tn.has(this)?this.attached&&!Tn.running(this)&&Tn.start(this):(this.draw(),Vo({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,i=[];let n,r;for(n=0,r=t.length;n<r;++n){const r=t[n];e&&!r.visible||i.push(r)}return i}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,i=e._clip,n=!i.disabled,r=this.chartArea,o={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(n&&Mi(t,{left:!1===i.left?0:r.left-i.left,right:!1===i.right?this.width:r.right+i.right,top:!1===i.top?0:r.top-i.top,bottom:!1===i.bottom?this.height:r.bottom+i.bottom}),e.controller.draw(),n&&Bi(t),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return ki(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,i,n){const r=Zr.modes[t];return"function"==typeof r?r(this,e,i,n):[]}getDatasetMeta(e){const t=this.data.datasets[e],i=this._metasets;let n=i.filter((e=>e&&e._dataset===t)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},i.push(n)),n}getContext(){return this.$context||(this.$context=Wi(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const i=this.getDatasetMeta(e);return"boolean"==typeof i.hidden?!i.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,i){const n=i?"show":"hide",r=this.getDatasetMeta(e),o=r.controller._resolveAnimations(void 0,n);Xe(t)?(r.data[t].hidden=!i,this.update()):(this.setDatasetVisibility(e,i),o.update(r,{visible:i}),this.update((t=>t.datasetIndex===e?n:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),Tn.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),Ei(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete Xo[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,i=(i,n)=>{t.addEventListener(this,i,n),e[i]=n},n=(e,t,i)=>{e.offsetX=t,e.offsetY=i,this._eventHandler(e)};Oe(this.options.events,(e=>i(e,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,i=(i,n)=>{t.addEventListener(this,i,n),e[i]=n},n=(i,n)=>{e[i]&&(t.removeEventListener(this,i,n),delete e[i])},r=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const s=()=>{n("attach",s),this.attached=!0,this.resize(),i("resize",r),i("detach",o)};o=()=>{this.attached=!1,n("resize",r),this._stop(),this._resize(0,0),i("attach",s)},t.isAttached(this.canvas)?s():o()}unbindEvents(){Oe(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},Oe(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,i){const n=i?"set":"remove";let r,o,s,l;for("dataset"===t&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+n+"DatasetHoverStyle"]()),s=0,l=e.length;s<l;++s){o=e[s];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[n+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],i=e.map((({datasetIndex:e,index:t})=>{const i=this.getDatasetMeta(e);if(!i)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:i.data[t],index:t}}));!Se(i,t)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,t))}notifyPlugins(e,t,i){return this._plugins.notify(this,e,t,i)}_updateHoverStyles(e,t,i){const n=this.options.hover,r=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),o=r(t,e),s=i?e:r(e,t);o.length&&this.updateHoverStyle(o,n.mode,!1),s.length&&n.mode&&this.updateHoverStyle(s,n.mode,!0)}_eventHandler(e,t){const i={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},n=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",i,n))return;const r=this._handleEvent(e,t,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,n),(r||i.changed)&&this.render(),this}_handleEvent(e,t,i){const{_active:n=[],options:r}=this,o=t,s=this._getActiveElements(e,n,i,o),l=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),a=function(e,t,i,n){return i&&"mouseout"!==e.type?n?t:e:null}(e,this._lastEvent,i,l);i&&(this._lastEvent=null,Le(r.onHover,[e,s,this],this),l&&Le(r.onClick,[e,s,this],this));const c=!Se(s,n);return(c||t)&&(this._active=s,this._updateHoverStyles(s,n,t)),this._lastEvent=a,c}_getActiveElements(e,t,i,n){if("mouseout"===e.type)return[];if(!i)return t;const r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,n)}};const Uo=()=>Oe(Go.instances,(e=>e._plugins.invalidate())),Ko=!0;function Jo(e,t,i){const{startAngle:n,pixelMargin:r,x:o,y:s,outerRadius:l,innerRadius:a}=t;let c=r/l;e.beginPath(),e.arc(o,s,l,n-c,i+c),a>r?(c=r/a,e.arc(o,s,a,i+c,n-c,!0)):e.arc(o,s,r,i+$e,n-$e),e.closePath(),e.clip()}function qo(e,t,i,n){const r=Qi(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(i-t)/2,s=Math.min(o,n*t/2),l=e=>{const t=(i-Math.min(o,e))*n/2;return gt(e,0,Math.min(o,t))};return{outerStart:l(r.outerStart),outerEnd:l(r.outerEnd),innerStart:gt(r.innerStart,0,s),innerEnd:gt(r.innerEnd,0,s)}}function $o(e,t,i,n){return{x:i+e*Math.cos(t),y:n+e*Math.sin(t)}}function es(e,t,i,n,r,o){const{x:s,y:l,startAngle:a,pixelMargin:c,innerRadius:d}=t,u=Math.max(t.outerRadius+n+i-c,0),f=d>0?d+n+i+c:0;let h=0;const m=r-a;if(n){const e=((d>0?d-n:0)+(u>0?u-n:0))/2;h=(m-(0!==e?m*e/(e+n):m))/2}const p=(m-Math.max(.001,m*u-i/Ge)/u)/2,g=a+p+h,b=r-p-h,{outerStart:_,outerEnd:C,innerStart:v,innerEnd:x}=qo(t,f,u,b-g),N=u-_,w=u-C,y=g+_/N,E=b-C/w,A=f+v,D=f+x,k=g+v/A,M=b-x/D;if(e.beginPath(),o){if(e.arc(s,l,u,y,E),C>0){const t=$o(w,E,s,l);e.arc(t.x,t.y,C,E,b+$e)}const t=$o(D,b,s,l);if(e.lineTo(t.x,t.y),x>0){const t=$o(D,M,s,l);e.arc(t.x,t.y,x,b+$e,M+Math.PI)}if(e.arc(s,l,f,b-x/f,g+v/f,!0),v>0){const t=$o(A,k,s,l);e.arc(t.x,t.y,v,k+Math.PI,g-$e)}const i=$o(N,g,s,l);if(e.lineTo(i.x,i.y),_>0){const t=$o(N,y,s,l);e.arc(t.x,t.y,_,g-$e,y)}}else{e.moveTo(s,l);const t=Math.cos(y)*u+s,i=Math.sin(y)*u+l;e.lineTo(t,i);const n=Math.cos(E)*u+s,r=Math.sin(E)*u+l;e.lineTo(n,r)}e.closePath()}function ts(e,t,i,n,r,o){const{options:s}=t,{borderWidth:l,borderJoinStyle:a}=s,c="inner"===s.borderAlign;l&&(c?(e.lineWidth=2*l,e.lineJoin=a||"round"):(e.lineWidth=l,e.lineJoin=a||"bevel"),t.fullCircles&&function(e,t,i){const{x:n,y:r,startAngle:o,pixelMargin:s,fullCircles:l}=t,a=Math.max(t.outerRadius-s,0),c=t.innerRadius+s;let d;for(i&&Jo(e,t,o+Ue),e.beginPath(),e.arc(n,r,c,o+Ue,o,!0),d=0;d<l;++d)e.stroke();for(e.beginPath(),e.arc(n,r,a,o,o+Ue),d=0;d<l;++d)e.stroke()}(e,t,c),c&&Jo(e,t,r),es(e,t,i,n,r,o),e.stroke())}Object.defineProperties(Go,{defaults:{enumerable:Ko,value:xi},instances:{enumerable:Ko,value:Xo},overrides:{enumerable:Ko,value:bi},registry:{enumerable:Ko,value:Sr},version:{enumerable:Ko,value:"3.9.1"},getChart:{enumerable:Ko,value:Wo},register:{enumerable:Ko,value:(...e)=>{Sr.add(...e),Uo()}},unregister:{enumerable:Ko,value:(...e)=>{Sr.remove(...e),Uo()}}});class is extends Nr{constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,i){const n=this.getProps(["x","y"],i),{angle:r,distance:o}=ut(n,{x:e,y:t}),{startAngle:s,endAngle:l,innerRadius:a,outerRadius:c,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),u=this.options.spacing/2,f=Pe(d,l-s)>=Ue||pt(r,s,l),h=bt(o,a+u,c+u);return f&&h}getCenterPoint(e){const{x:t,y:i,startAngle:n,endAngle:r,innerRadius:o,outerRadius:s}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),{offset:l,spacing:a}=this.options,c=(n+r)/2,d=(o+s+a+l)/2;return{x:t+Math.cos(c)*d,y:i+Math.sin(c)*d}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:i}=this,n=(t.offset||0)/2,r=(t.spacing||0)/2,o=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=i>Ue?Math.floor(i/Ue):0,0===i||this.innerRadius<0||this.outerRadius<0)return;e.save();let s=0;if(n){s=n/2;const t=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(t)*s,Math.sin(t)*s),this.circumference>=Ge&&(s=n)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;const l=function(e,t,i,n,r){const{fullCircles:o,startAngle:s,circumference:l}=t;let a=t.endAngle;if(o){es(e,t,i,n,s+Ue,r);for(let t=0;t<o;++t)e.fill();isNaN(l)||(a=s+l%Ue,l%Ue==0&&(a+=Ue))}return es(e,t,i,n,a,r),e.fill(),a}(e,this,s,r,o);ts(e,this,s,r,l,o),e.restore()}}function ns(e,t,i=t){e.lineCap=Pe(i.borderCapStyle,t.borderCapStyle),e.setLineDash(Pe(i.borderDash,t.borderDash)),e.lineDashOffset=Pe(i.borderDashOffset,t.borderDashOffset),e.lineJoin=Pe(i.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Pe(i.borderWidth,t.borderWidth),e.strokeStyle=Pe(i.borderColor,t.borderColor)}function rs(e,t,i){e.lineTo(i.x,i.y)}function os(e,t,i={}){const n=e.length,{start:r=0,end:o=n-1}=i,{start:s,end:l}=t,a=Math.max(r,s),c=Math.min(o,l),d=r<s&&o<s||r>l&&o>l;return{count:n,start:a,loop:t.loop,ilen:c<a&&!d?n+c-a:c-a}}function ss(e,t,i,n){const{points:r,options:o}=t,{count:s,start:l,loop:a,ilen:c}=os(r,i,n),d=function(e){return e.stepped?Pi:e.tension||"monotone"===e.cubicInterpolationMode?Hi:rs}(o);let u,f,h,{move:m=!0,reverse:p}=n||{};for(u=0;u<=c;++u)f=r[(l+(p?c-u:u))%s],f.skip||(m?(e.moveTo(f.x,f.y),m=!1):d(e,h,f,p,o.stepped),h=f);return a&&(f=r[(l+(p?c:0))%s],d(e,h,f,p,o.stepped)),!!a}function ls(e,t,i,n){const r=t.points,{count:o,start:s,ilen:l}=os(r,i,n),{move:a=!0,reverse:c}=n||{};let d,u,f,h,m,p,g=0,b=0;const _=e=>(s+(c?l-e:e))%o,C=()=>{h!==m&&(e.lineTo(g,m),e.lineTo(g,h),e.lineTo(g,p))};for(a&&(u=r[_(0)],e.moveTo(u.x,u.y)),d=0;d<=l;++d){if(u=r[_(d)],u.skip)continue;const t=u.x,i=u.y,n=0|t;n===f?(i<h?h=i:i>m&&(m=i),g=(b*g+t)/++b):(C(),e.lineTo(t,i),f=n,b=0,h=m=i),p=i}C()}function as(e){const t=e.options,i=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||i)?ls:ss}is.id="arc",is.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},is.defaultRoutes={backgroundColor:"backgroundColor"};const cs="function"==typeof Path2D;function ds(e,t,i,n){cs&&!t.options.segment?function(e,t,i,n){let r=t._path;r||(r=t._path=new Path2D,t.path(r,i,n)&&r.closePath()),ns(e,t.options),e.stroke(r)}(e,t,i,n):function(e,t,i,n){const{segments:r,options:o}=t,s=as(t);for(const l of r)ns(e,o,l.style),e.beginPath(),s(e,t,l,{start:i,end:i+n-1})&&e.closePath(),e.stroke()}(e,t,i,n)}class us extends Nr{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const n=i.spanGaps?this._loop:this._fullLoop;mn(this._points,i,e,n,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const i=e.points,n=e.options.spanGaps,r=i.length;if(!r)return[];const o=!!e._loop,{start:s,end:l}=function(e,t,i,n){let r=0,o=t-1;if(i&&!n)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,i&&(o+=r);o>r&&e[o%t].skip;)o--;return o%=t,{start:r,end:o}}(i,r,o,n);return Qn(e,!0===n?[{start:s,end:l,loop:o}]:function(e,t,i,n){const r=e.length,o=[];let s,l=t,a=e[t];for(s=t+1;s<=i;++s){const i=e[s%r];i.skip||i.stop?a.skip||(n=!1,o.push({start:t%r,end:(s-1)%r,loop:n}),t=l=i.stop?s:null):(l=s,a.skip&&(t=s)),a=i}return null!==l&&o.push({start:t%r,end:l%r,loop:n}),o}(i,s,l<s?l+r:l,!!e._fullLoop&&0===s&&l===r-1),i,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,i=e.length;return i&&t[e[i-1].end]}interpolate(e,t){const i=this.options,n=e[t],r=this.points,o=zn(this,{property:t,start:n,end:n});if(!o.length)return;const s=[],l=function(e){return e.stepped?Mn:e.tension||"monotone"===e.cubicInterpolationMode?Bn:kn}(i);let a,c;for(a=0,c=o.length;a<c;++a){const{start:c,end:d}=o[a],u=r[c],f=r[d];if(u===f){s.push(u);continue}const h=l(u,f,Math.abs((n-u[t])/(f[t]-u[t])),i.stepped);h[t]=e[t],s.push(h)}return 1===s.length?s[0]:s}pathSegment(e,t,i){return as(this)(e,this,t,i)}path(e,t,i){const n=this.segments,r=as(this);let o=this._loop;t=t||0,i=i||this.points.length-t;for(const s of n)o&=r(e,this,s,{start:t,end:t+i-1});return!!o}draw(e,t,i,n){const r=this.options||{};(this.points||[]).length&&r.borderWidth&&(e.save(),ds(e,this,i,n),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function fs(e,t,i,n){const r=e.options,{[i]:o}=e.getProps([i],n);return Math.abs(t-o)<r.radius+r.hitRadius}us.id="line",us.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},us.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},us.descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};class hs extends Nr{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,i){const n=this.options,{x:r,y:o}=this.getProps(["x","y"],i);return Math.pow(e-r,2)+Math.pow(t-o,2)<Math.pow(n.hitRadius+n.radius,2)}inXRange(e,t){return fs(this,e,"x",t)}inYRange(e,t){return fs(this,e,"y",t)}getCenterPoint(e){const{x:t,y:i}=this.getProps(["x","y"],e);return{x:t,y:i}}size(e){let t=(e=e||this.options||{}).radius||0;t=Math.max(t,t&&e.hoverRadius||0);return 2*(t+(t&&e.borderWidth||0))}draw(e,t){const i=this.options;this.skip||i.radius<.1||!ki(this,t,this.size(i)/2)||(e.strokeStyle=i.borderColor,e.lineWidth=i.borderWidth,e.fillStyle=i.backgroundColor,Ai(e,i,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}}function ms(e,t){const{x:i,y:n,base:r,width:o,height:s}=e.getProps(["x","y","base","width","height"],t);let l,a,c,d,u;return e.horizontal?(u=s/2,l=Math.min(i,r),a=Math.max(i,r),c=n-u,d=n+u):(u=o/2,l=i-u,a=i+u,c=Math.min(n,r),d=Math.max(n,r)),{left:l,top:c,right:a,bottom:d}}function ps(e,t,i,n){return e?0:gt(t,i,n)}function gs(e){const t=ms(e),i=t.right-t.left,n=t.bottom-t.top,r=function(e,t,i){const n=e.options.borderWidth,r=e.borderSkipped,o=ji(n);return{t:ps(r.top,o.top,0,i),r:ps(r.right,o.right,0,t),b:ps(r.bottom,o.bottom,0,i),l:ps(r.left,o.left,0,t)}}(e,i/2,n/2),o=function(e,t,i){const{enableBorderRadius:n}=e.getProps(["enableBorderRadius"]),r=e.options.borderRadius,o=Vi(r),s=Math.min(t,i),l=e.borderSkipped,a=n||ke(r);return{topLeft:ps(!a||l.top||l.left,o.topLeft,0,s),topRight:ps(!a||l.top||l.right,o.topRight,0,s),bottomLeft:ps(!a||l.bottom||l.left,o.bottomLeft,0,s),bottomRight:ps(!a||l.bottom||l.right,o.bottomRight,0,s)}}(e,i/2,n/2);return{outer:{x:t.left,y:t.top,w:i,h:n,radius:o},inner:{x:t.left+r.l,y:t.top+r.t,w:i-r.l-r.r,h:n-r.t-r.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,o.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(r.b,r.r))}}}}function bs(e,t,i,n){const r=null===t,o=null===i,s=e&&!(r&&o)&&ms(e,n);return s&&(r||bt(t,s.left,s.right))&&(o||bt(i,s.top,s.bottom))}function _s(e,t){e.rect(t.x,t.y,t.w,t.h)}function Cs(e,t,i={}){const n=e.x!==i.x?-t:0,r=e.y!==i.y?-t:0,o=(e.x+e.w!==i.x+i.w?t:0)-n,s=(e.y+e.h!==i.y+i.h?t:0)-r;return{x:e.x+n,y:e.y+r,w:e.w+o,h:e.h+s,radius:e.radius}}hs.id="point",hs.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},hs.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class vs extends Nr{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:t,options:{borderColor:i,backgroundColor:n}}=this,{inner:r,outer:o}=gs(this),s=(l=o.radius).topLeft||l.topRight||l.bottomLeft||l.bottomRight?Si:_s;var l;e.save(),o.w===r.w&&o.h===r.h||(e.beginPath(),s(e,Cs(o,t,r)),e.clip(),s(e,Cs(r,-t,o)),e.fillStyle=i,e.fill("evenodd")),e.beginPath(),s(e,Cs(r,t)),e.fillStyle=n,e.fill(),e.restore()}inRange(e,t,i){return bs(this,e,t,i)}inXRange(e,t){return bs(this,e,null,t)}inYRange(e,t){return bs(this,null,e,t)}getCenterPoint(e){const{x:t,y:i,base:n,horizontal:r}=this.getProps(["x","y","base","horizontal"],e);return{x:r?(t+n)/2:t,y:r?i:(i+n)/2}}getRange(e){return"x"===e?this.width/2:this.height/2}}vs.id="bar",vs.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},vs.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var xs=Object.freeze({__proto__:null,ArcElement:is,LineElement:us,PointElement:hs,BarElement:vs});function Ns(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{value:t})}}function ws(e){e.data.datasets.forEach((e=>{Ns(e)}))}var ys={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,i)=>{if(!i.enabled)return void ws(e);const n=e.width;e.data.datasets.forEach(((t,r)=>{const{_data:o,indexAxis:s}=t,l=e.getDatasetMeta(r),a=o||t.data;if("y"===Xi([s,e.options.indexAxis]))return;if(!l.controller.supportsDecimation)return;const c=e.scales[l.xAxisID];if("linear"!==c.type&&"time"!==c.type)return;if(e.options.parsing)return;let{start:d,count:u}=function(e,t){const i=t.length;let n,r=0;const{iScale:o}=e,{min:s,max:l,minDefined:a,maxDefined:c}=o.getUserBounds();return a&&(r=gt(Ct(t,o.axis,s).lo,0,i-1)),n=c?gt(Ct(t,o.axis,l).hi+1,r,i)-r:i-r,{start:r,count:n}}(l,a);if(u<=(i.threshold||4*n))return void Ns(t);let f;switch(Ae(o)&&(t._data=a,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),i.algorithm){case"lttb":f=function(e,t,i,n,r){const o=r.samples||n;if(o>=i)return e.slice(t,t+i);const s=[],l=(i-2)/(o-2);let a=0;const c=t+i-1;let d,u,f,h,m,p=t;for(s[a++]=e[p],d=0;d<o-2;d++){let n,r=0,o=0;const c=Math.floor((d+1)*l)+1+t,g=Math.min(Math.floor((d+2)*l)+1,i)+t,b=g-c;for(n=c;n<g;n++)r+=e[n].x,o+=e[n].y;r/=b,o/=b;const _=Math.floor(d*l)+1+t,C=Math.min(Math.floor((d+1)*l)+1,i)+t,{x:v,y:x}=e[p];for(f=h=-1,n=_;n<C;n++)h=.5*Math.abs((v-r)*(e[n].y-x)-(v-e[n].x)*(o-x)),h>f&&(f=h,u=e[n],m=n);s[a++]=u,p=m}return s[a++]=e[c],s}(a,d,u,n,i);break;case"min-max":f=function(e,t,i,n){let r,o,s,l,a,c,d,u,f,h,m=0,p=0;const g=[],b=t+i-1,_=e[t].x,C=e[b].x-_;for(r=t;r<t+i;++r){o=e[r],s=(o.x-_)/C*n,l=o.y;const t=0|s;if(t===a)l<f?(f=l,c=r):l>h&&(h=l,d=r),m=(p*m+o.x)/++p;else{const i=r-1;if(!Ae(c)&&!Ae(d)){const t=Math.min(c,d),n=Math.max(c,d);t!==u&&t!==i&&g.push({...e[t],x:m}),n!==u&&n!==i&&g.push({...e[n],x:m})}r>0&&i!==u&&g.push(e[i]),g.push(o),a=t,p=0,f=h=l,c=d=u=r}}return g}(a,d,u,n);break;default:throw new Error(`Unsupported decimation algorithm '${i.algorithm}'`)}t._decimated=f}))},destroy(e){ws(e)}};function Es(e,t,i,n){if(n)return;let r=t[e],o=i[e];return"angle"===e&&(r=mt(r),o=mt(o)),{property:e,start:r,end:o}}function As(e,t,i){for(;t>e;t--){const e=i[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Ds(e,t,i,n){return e&&t?n(e[i],t[i]):e?e[i]:t?t[i]:0}function ks(e,t){let i=[],n=!1;return De(e)?(n=!0,i=e):i=function(e,t){const{x:i=null,y:n=null}=e||{},r=t.points,o=[];return t.segments.forEach((({start:e,end:t})=>{t=As(e,t,r);const s=r[e],l=r[t];null!==n?(o.push({x:s.x,y:n}),o.push({x:l.x,y:n})):null!==i&&(o.push({x:i,y:s.y}),o.push({x:i,y:l.y}))})),o}(e,t),i.length?new us({points:i,options:{tension:0},_loop:n,_fullLoop:n}):null}function Ms(e){return e&&!1!==e.fill}function Bs(e,t,i){let n=e[t].fill;const r=[t];let o;if(!i)return n;for(;!1!==n&&-1===r.indexOf(n);){if(!Me(n))return n;if(o=e[n],!o)return!1;if(o.visible)return n;r.push(n),n=o.fill}return!1}function Ps(e,t,i){const n=function(e){const t=e.options,i=t.fill;let n=Pe(i&&i.target,i);void 0===n&&(n=!!t.backgroundColor);if(!1===n||null===n)return!1;if(!0===n)return"origin";return n}(e);if(ke(n))return!isNaN(n.value)&&n;let r=parseFloat(n);return Me(r)&&Math.floor(r)===r?function(e,t,i,n){"-"!==e&&"+"!==e||(i=t+i);if(i===t||i<0||i>=n)return!1;return i}(n[0],t,r,i):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function Hs(e,t,i){const n=[];for(let r=0;r<i.length;r++){const o=i[r],{first:s,last:l,point:a}=Ls(o,t,"x");if(!(!a||s&&l))if(s)n.unshift(a);else if(e.push(a),!l)break}e.push(...n)}function Ls(e,t,i){const n=e.interpolate(t,i);if(!n)return{};const r=n[i],o=e.segments,s=e.points;let l=!1,a=!1;for(let e=0;e<o.length;e++){const t=o[e],n=s[t.start][i],c=s[t.end][i];if(bt(r,n,c)){l=r===n,a=r===c;break}}return{first:l,last:a,point:n}}class Os{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,i){const{x:n,y:r,radius:o}=this;return t=t||{start:0,end:Ue},e.arc(n,r,o,t.end,t.start,!0),!i.bounds}interpolate(e){const{x:t,y:i,radius:n}=this,r=e.angle;return{x:t+Math.cos(r)*n,y:i+Math.sin(r)*n,angle:r}}}function Ss(e){const{chart:t,fill:i,line:n}=e;if(Me(i))return function(e,t){const i=e.getDatasetMeta(t),n=i&&e.isDatasetVisible(t);return n?i.dataset:null}(t,i);if("stack"===i)return function(e){const{scale:t,index:i,line:n}=e,r=[],o=n.segments,s=n.points,l=function(e,t){const i=[],n=e.getMatchingVisibleMetas("line");for(let e=0;e<n.length;e++){const r=n[e];if(r.index===t)break;r.hidden||i.unshift(r.dataset)}return i}(t,i);l.push(ks({x:null,y:t.bottom},n));for(let e=0;e<o.length;e++){const t=o[e];for(let e=t.start;e<=t.end;e++)Hs(r,s[e],l)}return new us({points:r,options:{}})}(e);if("shape"===i)return!0;const r=function(e){const t=e.scale||{};if(t.getPointPositionForValue)return function(e){const{scale:t,fill:i}=e,n=t.options,r=t.getLabels().length,o=n.reverse?t.max:t.min,s=function(e,t,i){let n;return n="start"===e?i:"end"===e?t.options.reverse?t.min:t.max:ke(e)?e.value:t.getBaseValue(),n}(i,t,o),l=[];if(n.grid.circular){const e=t.getPointPositionForValue(0,o);return new Os({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(s)})}for(let e=0;e<r;++e)l.push(t.getPointPositionForValue(e,s));return l}(e);return function(e){const{scale:t={},fill:i}=e,n=function(e,t){let i=null;return"start"===e?i=t.bottom:"end"===e?i=t.top:ke(e)?i=t.getPixelForValue(e.value):t.getBasePixel&&(i=t.getBasePixel()),i}(i,t);if(Me(n)){const e=t.isHorizontal();return{x:e?n:null,y:e?null:n}}return null}(e)}(e);return r instanceof Os?r:ks(r,n)}function Is(e,t,i){const n=Ss(t),{line:r,scale:o,axis:s}=t,l=r.options,a=l.fill,c=l.backgroundColor,{above:d=c,below:u=c}=a||{};n&&r.points.length&&(Mi(e,i),function(e,t){const{line:i,target:n,above:r,below:o,area:s,scale:l}=t,a=i._loop?"angle":t.axis;e.save(),"x"===a&&o!==r&&(Rs(e,n,s.top),Fs(e,{line:i,target:n,color:r,scale:l,property:a}),e.restore(),e.save(),Rs(e,n,s.bottom));Fs(e,{line:i,target:n,color:o,scale:l,property:a}),e.restore()}(e,{line:r,target:n,above:d,below:u,area:i,scale:o,axis:s}),Bi(e))}function Rs(e,t,i){const{segments:n,points:r}=t;let o=!0,s=!1;e.beginPath();for(const l of n){const{start:n,end:a}=l,c=r[n],d=r[As(n,a,r)];o?(e.moveTo(c.x,c.y),o=!1):(e.lineTo(c.x,i),e.lineTo(c.x,c.y)),s=!!t.pathSegment(e,l,{move:s}),s?e.closePath():e.lineTo(d.x,i)}e.lineTo(t.first().x,i),e.closePath(),e.clip()}function Fs(e,t){const{line:i,target:n,property:r,color:o,scale:s}=t,l=function(e,t,i){const n=e.segments,r=e.points,o=t.points,s=[];for(const e of n){let{start:n,end:l}=e;l=As(n,l,r);const a=Es(i,r[n],r[l],e.loop);if(!t.segments){s.push({source:e,target:a,start:r[n],end:r[l]});continue}const c=zn(t,a);for(const t of c){const n=Es(i,o[t.start],o[t.end],t.loop),l=Fn(e,r,n);for(const e of l)s.push({source:e,target:t,start:{[i]:Ds(a,n,"start",Math.max)},end:{[i]:Ds(a,n,"end",Math.min)}})}}return s}(i,n,r);for(const{source:t,target:a,start:c,end:d}of l){const{style:{backgroundColor:l=o}={}}=t,u=!0!==n;e.save(),e.fillStyle=l,zs(e,s,u&&Es(r,c,d)),e.beginPath();const f=!!i.pathSegment(e,t);let h;if(u){f?e.closePath():Qs(e,n,d,r);const t=!!n.pathSegment(e,a,{move:f,reverse:!0});h=f&&t,h||Qs(e,n,c,r)}e.closePath(),e.fill(h?"evenodd":"nonzero"),e.restore()}}function zs(e,t,i){const{top:n,bottom:r}=t.chart.chartArea,{property:o,start:s,end:l}=i||{};"x"===o&&(e.beginPath(),e.rect(s,n,l-s,r-n),e.clip())}function Qs(e,t,i,n){const r=t.interpolate(i,n);r&&e.lineTo(r.x,r.y)}var js={id:"filler",afterDatasetsUpdate(e,t,i){const n=(e.data.datasets||[]).length,r=[];let o,s,l,a;for(s=0;s<n;++s)o=e.getDatasetMeta(s),l=o.dataset,a=null,l&&l.options&&l instanceof us&&(a={visible:e.isDatasetVisible(s),index:s,fill:Ps(l,s,n),chart:e,axis:o.controller.options.indexAxis,scale:o.vScale,line:l}),o.$filler=a,r.push(a);for(s=0;s<n;++s)a=r[s],a&&!1!==a.fill&&(a.fill=Bs(r,s,i.propagate))},beforeDraw(e,t,i){const n="beforeDraw"===i.drawTime,r=e.getSortedVisibleDatasetMetas(),o=e.chartArea;for(let t=r.length-1;t>=0;--t){const i=r[t].$filler;i&&(i.line.updateControlPoints(o,i.axis),n&&i.fill&&Is(e.ctx,i,o))}},beforeDatasetsDraw(e,t,i){if("beforeDatasetsDraw"!==i.drawTime)return;const n=e.getSortedVisibleDatasetMetas();for(let t=n.length-1;t>=0;--t){const i=n[t].$filler;Ms(i)&&Is(e.ctx,i,e.chartArea)}},beforeDatasetDraw(e,t,i){const n=t.meta.$filler;Ms(n)&&"beforeDatasetDraw"===i.drawTime&&Is(e.ctx,n,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Vs=(e,t)=>{let{boxHeight:i=t,boxWidth:n=t}=e;return e.usePointStyle&&(i=Math.min(i,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:i,itemHeight:Math.max(t,i)}};class Ts extends Nr{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,i){this.maxWidth=e,this.maxHeight=t,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Le(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,i)=>e.sort(t,i,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const i=e.labels,n=Yi(i.font),r=n.size,o=this._computeTitleHeight(),{boxWidth:s,itemHeight:l}=Vs(i,r);let a,c;t.font=n.string,this.isHorizontal()?(a=this.maxWidth,c=this._fitRows(o,r,s,l)+10):(c=this.maxHeight,a=this._fitCols(o,r,s,l)+10),this.width=Math.min(a,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,i,n){const{ctx:r,maxWidth:o,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],a=this.lineWidths=[0],c=n+s;let d=e;r.textAlign="left",r.textBaseline="middle";let u=-1,f=-c;return this.legendItems.forEach(((e,h)=>{const m=i+t/2+r.measureText(e.text).width;(0===h||a[a.length-1]+m+2*s>o)&&(d+=c,a[a.length-(h>0?0:1)]=0,f+=c,u++),l[h]={left:0,top:f,row:u,width:m,height:n},a[a.length-1]+=m+s})),d}_fitCols(e,t,i,n){const{ctx:r,maxHeight:o,options:{labels:{padding:s}}}=this,l=this.legendHitBoxes=[],a=this.columnSizes=[],c=o-e;let d=s,u=0,f=0,h=0,m=0;return this.legendItems.forEach(((e,o)=>{const p=i+t/2+r.measureText(e.text).width;o>0&&f+n+2*s>c&&(d+=u+s,a.push({width:u,height:f}),h+=u+s,m++,u=f=0),l[o]={left:h,top:f,col:m,width:p,height:n},u=Math.max(u,p),f+=n+s})),d+=u,a.push({width:u,height:f}),d}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:i,labels:{padding:n},rtl:r}}=this,o=Ln(r,this.left,this.width);if(this.isHorizontal()){let r=0,s=Dt(i,this.left+n,this.right-this.lineWidths[r]);for(const l of t)r!==l.row&&(r=l.row,s=Dt(i,this.left+n,this.right-this.lineWidths[r])),l.top+=this.top+e+n,l.left=o.leftForLtr(o.x(s),l.width),s+=l.width+n}else{let r=0,s=Dt(i,this.top+e+n,this.bottom-this.columnSizes[r].height);for(const l of t)l.col!==r&&(r=l.col,s=Dt(i,this.top+e+n,this.bottom-this.columnSizes[r].height)),l.top=s,l.left+=this.left+n,l.left=o.leftForLtr(o.x(l.left),l.width),s+=l.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Mi(e,this),this._draw(),Bi(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:i,ctx:n}=this,{align:r,labels:o}=e,s=xi.color,l=Ln(e.rtl,this.left,this.width),a=Yi(o.font),{color:c,padding:d}=o,u=a.size,f=u/2;let h;this.drawTitle(),n.textAlign=l.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=a.string;const{boxWidth:m,boxHeight:p,itemHeight:g}=Vs(o,u),b=this.isHorizontal(),_=this._computeTitleHeight();h=b?{x:Dt(r,this.left+d,this.right-i[0]),y:this.top+d+_,line:0}:{x:this.left+d,y:Dt(r,this.top+_+d,this.bottom-t[0].height),line:0},On(this.ctx,e.textDirection);const C=g+d;this.legendItems.forEach(((v,x)=>{n.strokeStyle=v.fontColor||c,n.fillStyle=v.fontColor||c;const N=n.measureText(v.text).width,w=l.textAlign(v.textAlign||(v.textAlign=o.textAlign)),y=m+f+N;let E=h.x,A=h.y;l.setWidth(this.width),b?x>0&&E+y+d>this.right&&(A=h.y+=C,h.line++,E=h.x=Dt(r,this.left+d,this.right-i[h.line])):x>0&&A+C>this.bottom&&(E=h.x=E+t[h.line].width+d,h.line++,A=h.y=Dt(r,this.top+_+d,this.bottom-t[h.line].height));!function(e,t,i){if(isNaN(m)||m<=0||isNaN(p)||p<0)return;n.save();const r=Pe(i.lineWidth,1);if(n.fillStyle=Pe(i.fillStyle,s),n.lineCap=Pe(i.lineCap,"butt"),n.lineDashOffset=Pe(i.lineDashOffset,0),n.lineJoin=Pe(i.lineJoin,"miter"),n.lineWidth=r,n.strokeStyle=Pe(i.strokeStyle,s),n.setLineDash(Pe(i.lineDash,[])),o.usePointStyle){const s={radius:p*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:r},a=l.xPlus(e,m/2);Di(n,s,a,t+f,o.pointStyleWidth&&m)}else{const o=t+Math.max((u-p)/2,0),s=l.leftForLtr(e,m),a=Vi(i.borderRadius);n.beginPath(),Object.values(a).some((e=>0!==e))?Si(n,{x:s,y:o,w:m,h:p,radius:a}):n.rect(s,o,m,p),n.fill(),0!==r&&n.stroke()}n.restore()}(l.x(E),A,v),E=((e,t,i,n)=>e===(n?"left":"right")?i:"center"===e?(t+i)/2:t)(w,E+m+f,b?E+y:this.right,e.rtl),function(e,t,i){Li(n,i.text,e,t+g/2,a,{strikethrough:i.hidden,textAlign:l.textAlign(i.textAlign)})}(l.x(E),A,v),b?h.x+=y+d:h.y+=C})),Sn(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,i=Yi(t.font),n=Ti(t.padding);if(!t.display)return;const r=Ln(e.rtl,this.left,this.width),o=this.ctx,s=t.position,l=i.size/2,a=n.top+l;let c,d=this.left,u=this.width;if(this.isHorizontal())u=Math.max(...this.lineWidths),c=this.top+a,d=Dt(e.align,d,this.right-u);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);c=a+Dt(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const f=Dt(s,d,d+u);o.textAlign=r.textAlign(At(s)),o.textBaseline="middle",o.strokeStyle=t.color,o.fillStyle=t.color,o.font=i.string,Li(o,t.text,f,c,i)}_computeTitleHeight(){const e=this.options.title,t=Yi(e.font),i=Ti(e.padding);return e.display?t.lineHeight+i.height:0}_getLegendItemAt(e,t){let i,n,r;if(bt(e,this.left,this.right)&&bt(t,this.top,this.bottom))for(r=this.legendHitBoxes,i=0;i<r.length;++i)if(n=r[i],bt(e,n.left,n.left+n.width)&&bt(t,n.top,n.top+n.height))return this.legendItems[i];return null}handleEvent(e){const t=this.options;if(!function(e,t){if(("mousemove"===e||"mouseout"===e)&&(t.onHover||t.onLeave))return!0;if(t.onClick&&("click"===e||"mouseup"===e))return!0;return!1}(e.type,t))return;const i=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const o=this._hoveredItem,s=(r=i,null!==(n=o)&&null!==r&&n.datasetIndex===r.datasetIndex&&n.index===r.index);o&&!s&&Le(t.onLeave,[e,o,this],this),this._hoveredItem=i,i&&!s&&Le(t.onHover,[e,i,this],this)}else i&&Le(t.onClick,[e,i,this],this);var n,r}}var Ys={id:"legend",_element:Ts,start(e,t,i){const n=e.legend=new Ts({ctx:e.ctx,options:i,chart:e});so.configure(e,n,i),so.addBox(e,n)},stop(e){so.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,i){const n=e.legend;so.configure(e,n,i),n.options=i},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,i){const n=t.datasetIndex,r=i.chart;r.isDatasetVisible(n)?(r.hide(n),t.hidden=!0):(r.show(n),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:i,pointStyle:n,textAlign:r,color:o}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const s=e.controller.getStyle(i?0:void 0),l=Ti(s.borderWidth);return{text:t[e.index].label,fillStyle:s.backgroundColor,fontColor:o,hidden:!e.visible,lineCap:s.borderCapStyle,lineDash:s.borderDash,lineDashOffset:s.borderDashOffset,lineJoin:s.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:s.borderColor,pointStyle:n||s.pointStyle,rotation:s.rotation,textAlign:r||s.textAlign,borderRadius:0,datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class Xs extends Nr{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const n=De(i.text)?i.text.length:1;this._padding=Ti(i.padding);const r=n*Yi(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:i,bottom:n,right:r,options:o}=this,s=o.align;let l,a,c,d=0;return this.isHorizontal()?(a=Dt(s,i,r),c=t+e,l=r-i):("left"===o.position?(a=i+e,c=Dt(s,n,t),d=-.5*Ge):(a=r-e,c=Dt(s,t,n),d=.5*Ge),l=n-t),{titleX:a,titleY:c,maxWidth:l,rotation:d}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const i=Yi(t.font),n=i.lineHeight/2+this._padding.top,{titleX:r,titleY:o,maxWidth:s,rotation:l}=this._drawArgs(n);Li(e,t.text,0,0,i,{color:t.color,maxWidth:s,rotation:l,textAlign:At(t.align),textBaseline:"middle",translation:[r,o]})}}var Ws={id:"title",_element:Xs,start(e,t,i){!function(e,t){const i=new Xs({ctx:e.ctx,options:t,chart:e});so.configure(e,i,t),so.addBox(e,i),e.titleBlock=i}(e,i)},stop(e){const t=e.titleBlock;so.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,i){const n=e.titleBlock;so.configure(e,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Zs=new WeakMap;var Gs={id:"subtitle",start(e,t,i){const n=new Xs({ctx:e.ctx,options:i,chart:e});so.configure(e,n,i),so.addBox(e,n),Zs.set(e,n)},stop(e){so.removeBox(e,Zs.get(e)),Zs.delete(e)},beforeUpdate(e,t,i){const n=Zs.get(e);so.configure(e,n,i),n.options=i},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Us={average(e){if(!e.length)return!1;let t,i,n=0,r=0,o=0;for(t=0,i=e.length;t<i;++t){const i=e[t].element;if(i&&i.hasValue()){const e=i.tooltipPosition();n+=e.x,r+=e.y,++o}}return{x:n/o,y:r/o}},nearest(e,t){if(!e.length)return!1;let i,n,r,o=t.x,s=t.y,l=Number.POSITIVE_INFINITY;for(i=0,n=e.length;i<n;++i){const n=e[i].element;if(n&&n.hasValue()){const e=ft(t,n.getCenterPoint());e<l&&(l=e,r=n)}}if(r){const e=r.tooltipPosition();o=e.x,s=e.y}return{x:o,y:s}}};function Ks(e,t){return t&&(De(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Js(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function qs(e,t){const{element:i,datasetIndex:n,index:r}=t,o=e.getDatasetMeta(n).controller,{label:s,value:l}=o.getLabelAndValue(r);return{chart:e,label:s,parsed:o.getParsed(r),raw:e.data.datasets[n].data[r],formattedValue:l,dataset:o.getDataset(),dataIndex:r,datasetIndex:n,element:i}}function $s(e,t){const i=e.chart.ctx,{body:n,footer:r,title:o}=e,{boxWidth:s,boxHeight:l}=t,a=Yi(t.bodyFont),c=Yi(t.titleFont),d=Yi(t.footerFont),u=o.length,f=r.length,h=n.length,m=Ti(t.padding);let p=m.height,g=0,b=n.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(b+=e.beforeBody.length+e.afterBody.length,u&&(p+=u*c.lineHeight+(u-1)*t.titleSpacing+t.titleMarginBottom),b){p+=h*(t.displayColors?Math.max(l,a.lineHeight):a.lineHeight)+(b-h)*a.lineHeight+(b-1)*t.bodySpacing}f&&(p+=t.footerMarginTop+f*d.lineHeight+(f-1)*t.footerSpacing);let _=0;const C=function(e){g=Math.max(g,i.measureText(e).width+_)};return i.save(),i.font=c.string,Oe(e.title,C),i.font=a.string,Oe(e.beforeBody.concat(e.afterBody),C),_=t.displayColors?s+2+t.boxPadding:0,Oe(n,(e=>{Oe(e.before,C),Oe(e.lines,C),Oe(e.after,C)})),_=0,i.font=d.string,Oe(e.footer,C),i.restore(),g+=m.width,{width:g,height:p}}function el(e,t,i,n){const{x:r,width:o}=i,{width:s,chartArea:{left:l,right:a}}=e;let c="center";return"center"===n?c=r<=(l+a)/2?"left":"right":r<=o/2?c="left":r>=s-o/2&&(c="right"),function(e,t,i,n){const{x:r,width:o}=n,s=i.caretSize+i.caretPadding;return"left"===e&&r+o+s>t.width||"right"===e&&r-o-s<0||void 0}(c,e,t,i)&&(c="center"),c}function tl(e,t,i){const n=i.yAlign||t.yAlign||function(e,t){const{y:i,height:n}=t;return i<n/2?"top":i>e.height-n/2?"bottom":"center"}(e,i);return{xAlign:i.xAlign||t.xAlign||el(e,t,i,n),yAlign:n}}function il(e,t,i,n){const{caretSize:r,caretPadding:o,cornerRadius:s}=e,{xAlign:l,yAlign:a}=i,c=r+o,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:h}=Vi(s);let m=function(e,t){let{x:i,width:n}=e;return"right"===t?i-=n:"center"===t&&(i-=n/2),i}(t,l);const p=function(e,t,i){let{y:n,height:r}=e;return"top"===t?n+=i:n-="bottom"===t?r+i:r/2,n}(t,a,c);return"center"===a?"left"===l?m+=c:"right"===l&&(m-=c):"left"===l?m-=Math.max(d,f)+r:"right"===l&&(m+=Math.max(u,h)+r),{x:gt(m,0,n.width-t.width),y:gt(p,0,n.height-t.height)}}function nl(e,t,i){const n=Ti(i.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-n.right:e.x+n.left}function rl(e){return Ks([],Js(e))}function ol(e,t){const i=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return i?e.override(i):e}class sl extends Nr{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,i=this.options.setContext(this.getContext()),n=i.enabled&&t.options.animation&&i.animations,r=new Gn(this.chart,n);return n._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,i=this._tooltipItems,Wi(e,{tooltip:t,tooltipItems:i,type:"tooltip"})));var e,t,i}getTitle(e,t){const{callbacks:i}=t,n=i.beforeTitle.apply(this,[e]),r=i.title.apply(this,[e]),o=i.afterTitle.apply(this,[e]);let s=[];return s=Ks(s,Js(n)),s=Ks(s,Js(r)),s=Ks(s,Js(o)),s}getBeforeBody(e,t){return rl(t.callbacks.beforeBody.apply(this,[e]))}getBody(e,t){const{callbacks:i}=t,n=[];return Oe(e,(e=>{const t={before:[],lines:[],after:[]},r=ol(i,e);Ks(t.before,Js(r.beforeLabel.call(this,e))),Ks(t.lines,r.label.call(this,e)),Ks(t.after,Js(r.afterLabel.call(this,e))),n.push(t)})),n}getAfterBody(e,t){return rl(t.callbacks.afterBody.apply(this,[e]))}getFooter(e,t){const{callbacks:i}=t,n=i.beforeFooter.apply(this,[e]),r=i.footer.apply(this,[e]),o=i.afterFooter.apply(this,[e]);let s=[];return s=Ks(s,Js(n)),s=Ks(s,Js(r)),s=Ks(s,Js(o)),s}_createItems(e){const t=this._active,i=this.chart.data,n=[],r=[],o=[];let s,l,a=[];for(s=0,l=t.length;s<l;++s)a.push(qs(this.chart,t[s]));return e.filter&&(a=a.filter(((t,n,r)=>e.filter(t,n,r,i)))),e.itemSort&&(a=a.sort(((t,n)=>e.itemSort(t,n,i)))),Oe(a,(t=>{const i=ol(e.callbacks,t);n.push(i.labelColor.call(this,t)),r.push(i.labelPointStyle.call(this,t)),o.push(i.labelTextColor.call(this,t))})),this.labelColors=n,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=a,a}update(e,t){const i=this.options.setContext(this.getContext()),n=this._active;let r,o=[];if(n.length){const e=Us[i.position].call(this,n,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const t=this._size=$s(this,i),s=Object.assign({},e,t),l=tl(this.chart,i,s),a=il(i,s,l,this.chart);this.xAlign=l.xAlign,this.yAlign=l.yAlign,r={opacity:1,x:a.x,y:a.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),e&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,i,n){const r=this.getCaretPosition(e,i,n);t.lineTo(r.x1,r.y1),t.lineTo(r.x2,r.y2),t.lineTo(r.x3,r.y3)}getCaretPosition(e,t,i){const{xAlign:n,yAlign:r}=this,{caretSize:o,cornerRadius:s}=i,{topLeft:l,topRight:a,bottomLeft:c,bottomRight:d}=Vi(s),{x:u,y:f}=e,{width:h,height:m}=t;let p,g,b,_,C,v;return"center"===r?(C=f+m/2,"left"===n?(p=u,g=p-o,_=C+o,v=C-o):(p=u+h,g=p+o,_=C-o,v=C+o),b=p):(g="left"===n?u+Math.max(l,c)+o:"right"===n?u+h-Math.max(a,d)-o:this.caretX,"top"===r?(_=f,C=_-o,p=g-o,b=g+o):(_=f+m,C=_+o,p=g+o,b=g-o),v=_),{x1:p,x2:g,x3:b,y1:_,y2:C,y3:v}}drawTitle(e,t,i){const n=this.title,r=n.length;let o,s,l;if(r){const a=Ln(i.rtl,this.x,this.width);for(e.x=nl(this,i.titleAlign,i),t.textAlign=a.textAlign(i.titleAlign),t.textBaseline="middle",o=Yi(i.titleFont),s=i.titleSpacing,t.fillStyle=i.titleColor,t.font=o.string,l=0;l<r;++l)t.fillText(n[l],a.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+s,l+1===r&&(e.y+=i.titleMarginBottom-s)}}_drawColorBox(e,t,i,n,r){const o=this.labelColors[i],s=this.labelPointStyles[i],{boxHeight:l,boxWidth:a,boxPadding:c}=r,d=Yi(r.bodyFont),u=nl(this,"left",r),f=n.x(u),h=l<d.lineHeight?(d.lineHeight-l)/2:0,m=t.y+h;if(r.usePointStyle){const t={radius:Math.min(a,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},i=n.leftForLtr(f,a)+a/2,c=m+l/2;e.strokeStyle=r.multiKeyBackground,e.fillStyle=r.multiKeyBackground,Ai(e,t,i,c),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,Ai(e,t,i,c)}else{e.lineWidth=ke(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const t=n.leftForLtr(f,a-c),i=n.leftForLtr(n.xPlus(f,1),a-c-2),s=Vi(o.borderRadius);Object.values(s).some((e=>0!==e))?(e.beginPath(),e.fillStyle=r.multiKeyBackground,Si(e,{x:t,y:m,w:a,h:l,radius:s}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),Si(e,{x:i,y:m+1,w:a-2,h:l-2,radius:s}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(t,m,a,l),e.strokeRect(t,m,a,l),e.fillStyle=o.backgroundColor,e.fillRect(i,m+1,a-2,l-2))}e.fillStyle=this.labelTextColors[i]}drawBody(e,t,i){const{body:n}=this,{bodySpacing:r,bodyAlign:o,displayColors:s,boxHeight:l,boxWidth:a,boxPadding:c}=i,d=Yi(i.bodyFont);let u=d.lineHeight,f=0;const h=Ln(i.rtl,this.x,this.width),m=function(i){t.fillText(i,h.x(e.x+f),e.y+u/2),e.y+=u+r},p=h.textAlign(o);let g,b,_,C,v,x,N;for(t.textAlign=o,t.textBaseline="middle",t.font=d.string,e.x=nl(this,p,i),t.fillStyle=i.bodyColor,Oe(this.beforeBody,m),f=s&&"right"!==p?"center"===o?a/2+c:a+2+c:0,C=0,x=n.length;C<x;++C){for(g=n[C],b=this.labelTextColors[C],t.fillStyle=b,Oe(g.before,m),_=g.lines,s&&_.length&&(this._drawColorBox(t,e,C,h,i),u=Math.max(d.lineHeight,l)),v=0,N=_.length;v<N;++v)m(_[v]),u=d.lineHeight;Oe(g.after,m)}f=0,u=d.lineHeight,Oe(this.afterBody,m),e.y-=r}drawFooter(e,t,i){const n=this.footer,r=n.length;let o,s;if(r){const l=Ln(i.rtl,this.x,this.width);for(e.x=nl(this,i.footerAlign,i),e.y+=i.footerMarginTop,t.textAlign=l.textAlign(i.footerAlign),t.textBaseline="middle",o=Yi(i.footerFont),t.fillStyle=i.footerColor,t.font=o.string,s=0;s<r;++s)t.fillText(n[s],l.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+i.footerSpacing}}drawBackground(e,t,i,n){const{xAlign:r,yAlign:o}=this,{x:s,y:l}=e,{width:a,height:c}=i,{topLeft:d,topRight:u,bottomLeft:f,bottomRight:h}=Vi(n.cornerRadius);t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.beginPath(),t.moveTo(s+d,l),"top"===o&&this.drawCaret(e,t,i,n),t.lineTo(s+a-u,l),t.quadraticCurveTo(s+a,l,s+a,l+u),"center"===o&&"right"===r&&this.drawCaret(e,t,i,n),t.lineTo(s+a,l+c-h),t.quadraticCurveTo(s+a,l+c,s+a-h,l+c),"bottom"===o&&this.drawCaret(e,t,i,n),t.lineTo(s+f,l+c),t.quadraticCurveTo(s,l+c,s,l+c-f),"center"===o&&"left"===r&&this.drawCaret(e,t,i,n),t.lineTo(s,l+d),t.quadraticCurveTo(s,l,s+d,l),t.closePath(),t.fill(),n.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,i=this.$animations,n=i&&i.x,r=i&&i.y;if(n||r){const i=Us[e.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=$s(this,e),s=Object.assign({},i,this._size),l=tl(t,e,s),a=il(e,s,l,t);n._to===a.x&&r._to===a.y||(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,a))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(t);const n={width:this.width,height:this.height},r={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Ti(t.padding),s=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&s&&(e.save(),e.globalAlpha=i,this.drawBackground(r,e,n,t),On(e,t.textDirection),r.y+=o.top,this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),Sn(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const i=this._active,n=e.map((({datasetIndex:e,index:t})=>{const i=this.chart.getDatasetMeta(e);if(!i)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:i.data[t],index:t}})),r=!Se(i,n),o=this._positionChanged(n,t);(r||o)&&(this._active=n,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,i=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,r=this._active||[],o=this._getActiveElements(e,r,t,i),s=this._positionChanged(o,e),l=t||!Se(o,r)||s;return l&&(this._active=o,(n.enabled||n.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),l}_getActiveElements(e,t,i,n){const r=this.options;if("mouseout"===e.type)return[];if(!n)return t;const o=this.chart.getElementsAtEventForMode(e,r.mode,r,i);return r.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:i,caretY:n,options:r}=this,o=Us[r.position].call(this,e,t);return!1!==o&&(i!==o.x||n!==o.y)}}sl.positioners=Us;var ll={id:"tooltip",_element:sl,positioners:Us,afterInit(e,t,i){i&&(e.tooltip=new sl({chart:e,options:i}))},beforeUpdate(e,t,i){e.tooltip&&e.tooltip.initialize(i)},reset(e,t,i){e.tooltip&&e.tooltip.initialize(i)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const i={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",i))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",i)}},afterEvent(e,t){if(e.tooltip){const i=t.replay;e.tooltip.handleEvent(t.event,i,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:ye,title(e){if(e.length>0){const t=e[0],i=t.chart.data.labels,n=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex<n)return i[t.dataIndex]}return""},afterTitle:ye,beforeBody:ye,beforeLabel:ye,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const i=e.formattedValue;return Ae(i)||(t+=i),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:ye,afterBody:ye,beforeFooter:ye,footer:ye,afterFooter:ye}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},al=Object.freeze({__proto__:null,Decimation:ys,Filler:js,Legend:Ys,SubTitle:Gs,Title:Ws,Tooltip:ll});function cl(e,t,i,n){const r=e.indexOf(t);if(-1===r)return((e,t,i,n)=>("string"==typeof t?(i=e.push(t)-1,n.unshift({index:i,label:t})):isNaN(t)&&(i=null),i))(e,t,i,n);return r!==e.lastIndexOf(t)?i:r}class dl extends Lr{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:i,label:n}of t)e[i]===n&&e.splice(i,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(Ae(e))return null;const i=this.getLabels();return((e,t)=>null===e?null:gt(Math.round(e),0,t))(t=isFinite(t)&&i[t]===e?t:cl(i,e,Pe(t,e),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:i,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(i=0),t||(n=this.getLabels().length-1)),this.min=i,this.max=n}buildTicks(){const e=this.min,t=this.max,i=this.options.offset,n=[];let r=this.getLabels();r=0===e&&t===r.length-1?r:r.slice(e,t+1),this._valueRange=Math.max(r.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=e;i<=t;i++)n.push({value:i});return n}getLabelForValue(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}function ul(e,t){const i=[],{bounds:n,step:r,min:o,max:s,precision:l,count:a,maxTicks:c,maxDigits:d,includeBounds:u}=e,f=r||1,h=c-1,{min:m,max:p}=t,g=!Ae(o),b=!Ae(s),_=!Ae(a),C=(p-m)/(d+1);let v,x,N,w,y=rt((p-m)/h/f)*f;if(y<1e-14&&!g&&!b)return[{value:m},{value:p}];w=Math.ceil(p/y)-Math.floor(m/y),w>h&&(y=rt(w*y/h/f)*f),Ae(l)||(v=Math.pow(10,l),y=Math.ceil(y*v)/v),"ticks"===n?(x=Math.floor(m/y)*y,N=Math.ceil(p/y)*y):(x=m,N=p),g&&b&&r&&function(e,t){const i=Math.round(e);return i-t<=e&&i+t>=e}((s-o)/r,y/1e3)?(w=Math.round(Math.min((s-o)/y,c)),y=(s-o)/w,x=o,N=s):_?(x=g?o:x,N=b?s:N,w=a-1,y=(N-x)/w):(w=(N-x)/y,w=st(w,Math.round(w),y/1e3)?Math.round(w):Math.ceil(w));const E=Math.max(dt(y),dt(x));v=Math.pow(10,Ae(l)?E:l),x=Math.round(x*v)/v,N=Math.round(N*v)/v;let A=0;for(g&&(u&&x!==o?(i.push({value:o}),x<o&&A++,st(Math.round((x+A*y)*v)/v,o,fl(o,C,e))&&A++):x<o&&A++);A<w;++A)i.push({value:Math.round((x+A*y)*v)/v});return b&&u&&N!==s?i.length&&st(i[i.length-1].value,s,fl(s,C,e))?i[i.length-1].value=s:i.push({value:s}):b&&N!==s||i.push({value:N}),i}function fl(e,t,{horizontal:i,minRotation:n}){const r=at(n),o=(i?Math.sin(r):Math.cos(r))||.001,s=.75*t*(""+e).length;return Math.min(t/o,s)}dl.id="category",dl.defaults={ticks:{callback:dl.prototype.getLabelForValue}};class hl extends Lr{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Ae(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:i}=this.getUserBounds();let{min:n,max:r}=this;const o=e=>n=t?n:e,s=e=>r=i?r:e;if(e){const e=nt(n),t=nt(r);e<0&&t<0?s(0):e>0&&t>0&&o(0)}if(n===r){let t=1;(r>=Number.MAX_SAFE_INTEGER||n<=Number.MIN_SAFE_INTEGER)&&(t=Math.abs(.05*r)),s(r+t),e||o(n-t)}this.min=n,this.max=r}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:i,stepSize:n}=e;return n?(t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let i=this.getTickLimit();i=Math.max(2,i);const n=ul({maxTicks:i,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&<(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const e=this.ticks;let t=this.min,i=this.max;if(super.configure(),this.options.offset&&e.length){const n=(i-t)/Math.max(e.length-1,1)/2;t-=n,i+=n}this._startValue=t,this._endValue=i,this._valueRange=i-t}getLabelForValue(e){return Hn(e,this.chart.options.locale,this.options.ticks.format)}}class ml extends hl{determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Me(e)?e:0,this.max=Me(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,i=at(this.options.ticks.minRotation),n=(e?Math.sin(i):Math.cos(i))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,r.lineHeight/n))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}function pl(e){return 1===e/Math.pow(10,Math.floor(it(e)))}ml.id="linear",ml.defaults={ticks:{callback:yr.formatters.numeric}};class gl extends Lr{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const i=hl.prototype.parse.apply(this,[e,t]);if(0!==i)return Me(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Me(e)?Math.max(0,e):null,this.max=Me(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let i=this.min,n=this.max;const r=t=>i=e?i:t,o=e=>n=t?n:e,s=(e,t)=>Math.pow(10,Math.floor(it(e))+t);i===n&&(i<=0?(r(1),o(10)):(r(s(i,-1)),o(s(n,1)))),i<=0&&r(s(n,-1)),n<=0&&o(s(i,1)),this._zero&&this.min!==this._suggestedMin&&i===s(this.min,0)&&r(s(i,-1)),this.min=i,this.max=n}buildTicks(){const e=this.options,t=function(e,t){const i=Math.floor(it(t.max)),n=Math.ceil(t.max/Math.pow(10,i)),r=[];let o=Be(e.min,Math.pow(10,Math.floor(it(t.min)))),s=Math.floor(it(o)),l=Math.floor(o/Math.pow(10,s)),a=s<0?Math.pow(10,Math.abs(s)):1;do{r.push({value:o,major:pl(o)}),++l,10===l&&(l=1,++s,a=s>=0?1:a),o=Math.round(l*Math.pow(10,s)*a)/a}while(s<i||s===i&&l<n);const c=Be(e.max,o);return r.push({value:c,major:pl(o)}),r}({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&<(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Hn(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=it(e),this._valueRange=it(this.max)-it(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(it(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function bl(e){const t=e.ticks;if(t.display&&e.display){const e=Ti(t.backdropPadding);return Pe(t.font&&t.font.size,xi.font.size)+e.height}return 0}function _l(e,t,i,n,r){return e===n||e===r?{start:t-i/2,end:t+i/2}:e<n||e>r?{start:t-i,end:t}:{start:t,end:t+i}}function Cl(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},i=Object.assign({},t),n=[],r=[],o=e._pointLabels.length,s=e.options.pointLabels,l=s.centerPointLabels?Ge/o:0;for(let u=0;u<o;u++){const o=s.setContext(e.getPointLabelContext(u));r[u]=o.padding;const f=e.getPointPosition(u,e.drawingArea+r[u],l),h=Yi(o.font),m=(a=e.ctx,c=h,d=De(d=e._pointLabels[u])?d:[d],{w:wi(a,c.string,d),h:d.length*c.lineHeight});n[u]=m;const p=mt(e.getIndexAngle(u)+l),g=Math.round(ct(p));vl(i,t,p,_l(g,f.x,m.w,0,180),_l(g,f.y,m.h,90,270))}var a,c,d;e.setCenterPoint(t.l-i.l,i.r-t.r,t.t-i.t,i.b-t.b),e._pointLabelItems=function(e,t,i){const n=[],r=e._pointLabels.length,o=e.options,s=bl(o)/2,l=e.drawingArea,a=o.pointLabels.centerPointLabels?Ge/r:0;for(let o=0;o<r;o++){const r=e.getPointPosition(o,l+s+i[o],a),c=Math.round(ct(mt(r.angle+$e))),d=t[o],u=wl(r.y,d.h,c),f=xl(c),h=Nl(r.x,d.w,f);n.push({x:r.x,y:u,textAlign:f,left:h,top:u,right:h+d.w,bottom:u+d.h})}return n}(e,n,r)}function vl(e,t,i,n,r){const o=Math.abs(Math.sin(i)),s=Math.abs(Math.cos(i));let l=0,a=0;n.start<t.l?(l=(t.l-n.start)/o,e.l=Math.min(e.l,t.l-l)):n.end>t.r&&(l=(n.end-t.r)/o,e.r=Math.max(e.r,t.r+l)),r.start<t.t?(a=(t.t-r.start)/s,e.t=Math.min(e.t,t.t-a)):r.end>t.b&&(a=(r.end-t.b)/s,e.b=Math.max(e.b,t.b+a))}function xl(e){return 0===e||180===e?"center":e<180?"left":"right"}function Nl(e,t,i){return"right"===i?e-=t:"center"===i&&(e-=t/2),e}function wl(e,t,i){return 90===i||270===i?e-=t/2:(i>270||i<90)&&(e-=t),e}function yl(e,t,i,n){const{ctx:r}=e;if(i)r.arc(e.xCenter,e.yCenter,t,0,Ue);else{let i=e.getPointPosition(0,t);r.moveTo(i.x,i.y);for(let o=1;o<n;o++)i=e.getPointPosition(o,t),r.lineTo(i.x,i.y)}}gl.id="logarithmic",gl.defaults={ticks:{callback:yr.formatters.logarithmic,major:{enabled:!0}}};class El extends hl{constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=Ti(bl(this.options)/2),t=this.width=this.maxWidth-e.width,i=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+i/2+e.top),this.drawingArea=Math.floor(Math.min(t,i)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=Me(e)&&!isNaN(e)?e:0,this.max=Me(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/bl(this.options))}generateTickLabels(e){hl.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const i=Le(this.options.pointLabels.callback,[e,t],this);return i||0===i?i:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?Cl(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,i,n){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((i-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,i,n))}getIndexAngle(e){return mt(e*(Ue/(this._pointLabels.length||1))+at(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(Ae(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(Ae(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e<t.length){const i=t[e];return function(e,t,i){return Wi(e,{label:i,index:t,type:"pointLabel"})}(this.getContext(),e,i)}}getPointPosition(e,t,i=0){const n=this.getIndexAngle(e)-$e+i;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter,angle:n}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){const{left:t,top:i,right:n,bottom:r}=this._pointLabelItems[e];return{left:t,top:i,right:n,bottom:r}}drawBackground(){const{backgroundColor:e,grid:{circular:t}}=this.options;if(e){const i=this.ctx;i.save(),i.beginPath(),yl(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),i.closePath(),i.fillStyle=e,i.fill(),i.restore()}}drawGrid(){const e=this.ctx,t=this.options,{angleLines:i,grid:n}=t,r=this._pointLabels.length;let o,s,l;if(t.pointLabels.display&&function(e,t){const{ctx:i,options:{pointLabels:n}}=e;for(let r=t-1;r>=0;r--){const t=n.setContext(e.getPointLabelContext(r)),o=Yi(t.font),{x:s,y:l,textAlign:a,left:c,top:d,right:u,bottom:f}=e._pointLabelItems[r],{backdropColor:h}=t;if(!Ae(h)){const e=Vi(t.borderRadius),n=Ti(t.backdropPadding);i.fillStyle=h;const r=c-n.left,o=d-n.top,s=u-c+n.width,l=f-d+n.height;Object.values(e).some((e=>0!==e))?(i.beginPath(),Si(i,{x:r,y:o,w:s,h:l,radius:e}),i.fill()):i.fillRect(r,o,s,l)}Li(i,e._pointLabels[r],s,l+o.lineHeight/2,o,{color:t.color,textAlign:a,textBaseline:"middle"})}}(this,r),n.display&&this.ticks.forEach(((e,t)=>{if(0!==t){s=this.getDistanceFromCenterForValue(e.value);!function(e,t,i,n){const r=e.ctx,o=t.circular,{color:s,lineWidth:l}=t;!o&&!n||!s||!l||i<0||(r.save(),r.strokeStyle=s,r.lineWidth=l,r.setLineDash(t.borderDash),r.lineDashOffset=t.borderDashOffset,r.beginPath(),yl(e,i,o,n),r.closePath(),r.stroke(),r.restore())}(this,n.setContext(this.getContext(t-1)),s,r)}})),i.display){for(e.save(),o=r-1;o>=0;o--){const n=i.setContext(this.getPointLabelContext(o)),{color:r,lineWidth:a}=n;a&&r&&(e.lineWidth=a,e.strokeStyle=r,e.setLineDash(n.borderDash),e.lineDashOffset=n.borderDashOffset,s=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),l=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(l.x,l.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,i=t.ticks;if(!i.display)return;const n=this.getIndexAngle(0);let r,o;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(n),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((n,s)=>{if(0===s&&!t.reverse)return;const l=i.setContext(this.getContext(s)),a=Yi(l.font);if(r=this.getDistanceFromCenterForValue(this.ticks[s].value),l.showLabelBackdrop){e.font=a.string,o=e.measureText(n.label).width,e.fillStyle=l.backdropColor;const t=Ti(l.backdropPadding);e.fillRect(-o/2-t.left,-r-a.size/2-t.top,o+t.width,a.size+t.height)}Li(e,n.label,0,-r,a,{color:l.color})})),e.restore()}drawTitle(){}}El.id="radialLinear",El.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:yr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:e=>e,padding:5,centerPointLabels:!1}},El.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},El.descriptors={angleLines:{_fallback:"grid"}};const Al={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Dl=Object.keys(Al);function kl(e,t){return e-t}function Ml(e,t){if(Ae(t))return null;const i=e._adapter,{parser:n,round:r,isoWeekday:o}=e._parseOpts;let s=t;return"function"==typeof n&&(s=n(s)),Me(s)||(s="string"==typeof n?i.parse(s,n):i.parse(s)),null===s?null:(r&&(s="week"!==r||!ot(o)&&!0!==o?i.startOf(s,r):i.startOf(s,"isoWeek",o)),+s)}function Bl(e,t,i,n){const r=Dl.length;for(let o=Dl.indexOf(e);o<r-1;++o){const e=Al[Dl[o]],r=e.steps?e.steps:Number.MAX_SAFE_INTEGER;if(e.common&&Math.ceil((i-t)/(r*e.size))<=n)return Dl[o]}return Dl[r-1]}function Pl(e,t,i){if(i){if(i.length){const{lo:n,hi:r}=_t(i,t);e[i[n]>=t?i[n]:i[r]]=!0}}else e[t]=!0}function Hl(e,t,i){const n=[],r={},o=t.length;let s,l;for(s=0;s<o;++s)l=t[s],r[l]=s,n.push({value:l,major:!1});return 0!==o&&i?function(e,t,i,n){const r=e._adapter,o=+r.startOf(t[0].value,n),s=t[t.length-1].value;let l,a;for(l=o;l<=s;l=+r.add(l,1,n))a=i[l],a>=0&&(t[a].major=!0);return t}(e,n,r,i):n}class Ll extends Lr{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t){const i=e.time||(e.time={}),n=this._adapter=new Qr._date(e.adapters.date);n.init(t),Qe(i.displayFormats,n.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Ml(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,i=e.time.unit||"day";let{min:n,max:r,minDefined:o,maxDefined:s}=this.getUserBounds();function l(e){o||isNaN(e.min)||(n=Math.min(n,e.min)),s||isNaN(e.max)||(r=Math.max(r,e.max))}o&&s||(l(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||l(this.getMinMax(!1))),n=Me(n)&&!isNaN(n)?n:+t.startOf(Date.now(),i),r=Me(r)&&!isNaN(r)?r:+t.endOf(Date.now(),i)+1,this.min=Math.min(n,r-1),this.max=Math.max(n+1,r)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],i=e[e.length-1]),{min:t,max:i}}buildTicks(){const e=this.options,t=e.time,i=e.ticks,n="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const r=this.min,o=function(e,t,i){let n=0,r=e.length;for(;n<r&&e[n]<t;)n++;for(;r>n&&e[r-1]>i;)r--;return n>0||r<e.length?e.slice(n,r):e}(n,r,this.max);return this._unit=t.unit||(i.autoSkip?Bl(t.minUnit,this.min,this.max,this._getLabelCapacity(r)):function(e,t,i,n,r){for(let o=Dl.length-1;o>=Dl.indexOf(i);o--){const i=Dl[o];if(Al[i].common&&e._adapter.diff(r,n,i)>=t-1)return i}return Dl[i?Dl.indexOf(i):0]}(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(e){for(let t=Dl.indexOf(e)+1,i=Dl.length;t<i;++t)if(Al[Dl[t]].common)return Dl[t]}(this._unit):void 0,this.initOffsets(n),e.reverse&&o.reverse(),Hl(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((e=>+e.value)))}initOffsets(e){let t,i,n=0,r=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),n=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,i=this.getDecimalForValue(e[e.length-1]),r=1===e.length?i:(i-this.getDecimalForValue(e[e.length-2]))/2);const o=e.length<3?.5:.25;n=gt(n,0,o),r=gt(r,0,o),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const e=this._adapter,t=this.min,i=this.max,n=this.options,r=n.time,o=r.unit||Bl(r.minUnit,t,i,this._getLabelCapacity(t)),s=Pe(r.stepSize,1),l="week"===o&&r.isoWeekday,a=ot(l)||!0===l,c={};let d,u,f=t;if(a&&(f=+e.startOf(f,"isoWeek",l)),f=+e.startOf(f,a?"day":o),e.diff(i,t,o)>1e5*s)throw new Error(t+" and "+i+" are too far apart with stepSize of "+s+" "+o);const h="data"===n.ticks.source&&this.getDataTimestamps();for(d=f,u=0;d<i;d=+e.add(d,s,o),u++)Pl(c,d,h);return d!==i&&"ticks"!==n.bounds&&1!==u||Pl(c,d,h),Object.keys(c).sort(((e,t)=>e-t)).map((e=>+e))}getLabelForValue(e){const t=this._adapter,i=this.options.time;return i.tooltipFormat?t.format(e,i.tooltipFormat):t.format(e,i.displayFormats.datetime)}_tickFormatFunction(e,t,i,n){const r=this.options,o=r.time.displayFormats,s=this._unit,l=this._majorUnit,a=s&&o[s],c=l&&o[l],d=i[t],u=l&&c&&d&&d.major,f=this._adapter.format(e,n||(u?c:a)),h=r.ticks.callback;return h?Le(h,[f,t,i],this):f}generateTickLabels(e){let t,i,n;for(t=0,i=e.length;t<i;++t)n=e[t],n.label=this._tickFormatFunction(n.value,t,e)}getDecimalForValue(e){return null===e?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const t=this._offsets,i=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+i)*t.factor)}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+i*(this.max-this.min)}_getLabelSize(e){const t=this.options.ticks,i=this.ctx.measureText(e).width,n=at(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(n),o=Math.sin(n),s=this._resolveTickFontOptions(0).size;return{w:i*r+s*o,h:i*o+s*r}}_getLabelCapacity(e){const t=this.options.time,i=t.displayFormats,n=i[t.unit]||i.millisecond,r=this._tickFormatFunction(e,0,Hl(this,[e],this._majorUnit),n),o=this._getLabelSize(r),s=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return s>0?s:1}getDataTimestamps(){let e,t,i=this._cache.data||[];if(i.length)return i;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,t=n.length;e<t;++e)i=i.concat(n[e].controller.getAllParsedValues(this));return this._cache.data=this.normalize(i)}getLabelTimestamps(){const e=this._cache.labels||[];let t,i;if(e.length)return e;const n=this.getLabels();for(t=0,i=n.length;t<i;++t)e.push(Ml(this,n[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return wt(e.sort(kl))}}function Ol(e,t,i){let n,r,o,s,l=0,a=e.length-1;i?(t>=e[l].pos&&t<=e[a].pos&&({lo:l,hi:a}=Ct(e,"pos",t)),({pos:n,time:o}=e[l]),({pos:r,time:s}=e[a])):(t>=e[l].time&&t<=e[a].time&&({lo:l,hi:a}=Ct(e,"time",t)),({time:n,pos:o}=e[l]),({time:r,pos:s}=e[a]));const c=r-n;return c?o+(s-o)*(t-n)/c:o}Ll.id="time",Ll.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class Sl extends Ll{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=Ol(t,this.min),this._tableRange=Ol(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:i}=this,n=[],r=[];let o,s,l,a,c;for(o=0,s=e.length;o<s;++o)a=e[o],a>=t&&a<=i&&n.push(a);if(n.length<2)return[{time:t,pos:0},{time:i,pos:1}];for(o=0,s=n.length;o<s;++o)c=n[o+1],l=n[o-1],a=n[o],Math.round((c+l)/2)!==a&&r.push({time:a,pos:o/(s-1)});return r}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),i=this.getLabelTimestamps();return e=t.length&&i.length?this.normalize(t.concat(i)):t.length?t:i,e=this._cache.all=e,e}getDecimalForValue(e){return(Ol(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,i=this.getDecimalForPixel(e)/t.factor-t.end;return Ol(this._table,i*this._tableRange+this._minPos,!0)}}Sl.id="timeseries",Sl.defaults=Ll.defaults;const Il=[Rr,xs,al,Object.freeze({__proto__:null,CategoryScale:dl,LinearScale:ml,LogarithmicScale:gl,RadialLinearScale:El,TimeScale:Ll,TimeSeriesScale:Sl})],Rl="label";function Fl(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function zl(e,t){e.labels=t}function Ql(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Rl;const n=[];e.datasets=t.map((t=>{const r=e.datasets.find((e=>e[i]===t[i]));return r&&t.data&&!n.includes(r)?(n.push(r),Object.assign(r,t),r):{...t}}))}function jl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl;const i={labels:[],datasets:[]};return zl(i,e.labels),Ql(i,e.datasets,t),i}function Vl(e,t){let{height:i=150,width:r=300,redraw:o=!1,datasetIdKey:s,type:l,data:a,options:c,plugins:d=[],fallbackContent:f,updateMode:h,...m}=e;const p=n.useRef(null),g=n.useRef(),b=()=>{p.current&&(g.current=new Go(p.current,{type:l,data:jl(a,s),options:c&&{...c},plugins:d}),Fl(t,g.current))},_=()=>{Fl(t,null),g.current&&(g.current.destroy(),g.current=null)};return n.useEffect((()=>{var e,t;!o&&g.current&&c&&(e=g.current,t=c,Object.assign(e.options,t))}),[o,c]),n.useEffect((()=>{!o&&g.current&&zl(g.current.config.data,a.labels)}),[o,a.labels]),n.useEffect((()=>{!o&&g.current&&a.datasets&&Ql(g.current.config.data,a.datasets,s)}),[o,a.datasets]),n.useEffect((()=>{g.current&&(o?(_(),setTimeout(b)):g.current.update(h))}),[o,c,a.labels,a.datasets,h]),n.useEffect((()=>{g.current&&(_(),setTimeout(b))}),[l]),n.useEffect((()=>(b(),()=>_())),[]),u.createElement("canvas",Object.assign({ref:p,role:"img",height:i,width:r},m),f)}const Tl=n.forwardRef(Vl);function Yl(e,t){return Go.register(t),n.forwardRef(((t,i)=>u.createElement(Tl,Object.assign({},t,{ref:i,type:e}))))}const Xl=Yl("line",_r);var Wl={};({get exports(){return Wl},set exports(e){Wl=e}}).exports=function(){var e=1e3,t=6e4,i=36e5,n="millisecond",r="second",o="minute",s="hour",l="day",a="week",c="month",d="quarter",u="year",f="date",h="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],i=e%100;return"["+e+(t[(i-20)%10]||t[i]||t[0])+"]"}},b=function(e,t,i){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(i)+e},_={s:b,z:function(e){var t=-e.utcOffset(),i=Math.abs(t),n=Math.floor(i/60),r=i%60;return(t<=0?"+":"-")+b(n,2,"0")+":"+b(r,2,"0")},m:function e(t,i){if(t.date()<i.date())return-e(i,t);var n=12*(i.year()-t.year())+(i.month()-t.month()),r=t.clone().add(n,c),o=i-r<0,s=t.clone().add(n+(o?-1:1),c);return+(-(n+(i-r)/(o?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:u,w:a,d:l,D:f,h:s,m:o,s:r,ms:n,Q:d}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},C="en",v={};v[C]=g;var x=function(e){return e instanceof E},N=function e(t,i,n){var r;if(!t)return C;if("string"==typeof t){var o=t.toLowerCase();v[o]&&(r=o),i&&(v[o]=i,r=o);var s=t.split("-");if(!r&&s.length>1)return e(s[0])}else{var l=t.name;v[l]=t,r=l}return!n&&r&&(C=r),r||!n&&C},w=function(e,t){if(x(e))return e.clone();var i="object"==typeof t?t:{};return i.date=e,i.args=arguments,new E(i)},y=_;y.l=N,y.i=x,y.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=N(e.locale,null,!0),this.parse(e)}var b=g.prototype;return b.parse=function(e){this.$d=function(e){var t=e.date,i=e.utc;if(null===t)return new Date(NaN);if(y.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(m);if(n){var r=n[2]-1||0,o=(n[7]||"0").substring(0,3);return i?new Date(Date.UTC(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],r,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},b.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},b.$utils=function(){return y},b.isValid=function(){return!(this.$d.toString()===h)},b.isSame=function(e,t){var i=w(e);return this.startOf(t)<=i&&i<=this.endOf(t)},b.isAfter=function(e,t){return w(e)<this.startOf(t)},b.isBefore=function(e,t){return this.endOf(t)<w(e)},b.$g=function(e,t,i){return y.u(e)?this[t]:this.set(i,e)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(e,t){var i=this,n=!!y.u(t)||t,d=y.p(e),h=function(e,t){var r=y.w(i.$u?Date.UTC(i.$y,t,e):new Date(i.$y,t,e),i);return n?r:r.endOf(l)},m=function(e,t){return y.w(i.toDate()[e].apply(i.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),i)},p=this.$W,g=this.$M,b=this.$D,_="set"+(this.$u?"UTC":"");switch(d){case u:return n?h(1,0):h(31,11);case c:return n?h(1,g):h(0,g+1);case a:var C=this.$locale().weekStart||0,v=(p<C?p+7:p)-C;return h(n?b-v:b+(6-v),g);case l:case f:return m(_+"Hours",0);case s:return m(_+"Minutes",1);case o:return m(_+"Seconds",2);case r:return m(_+"Milliseconds",3);default:return this.clone()}},b.endOf=function(e){return this.startOf(e,!1)},b.$set=function(e,t){var i,a=y.p(e),d="set"+(this.$u?"UTC":""),h=(i={},i[l]=d+"Date",i[f]=d+"Date",i[c]=d+"Month",i[u]=d+"FullYear",i[s]=d+"Hours",i[o]=d+"Minutes",i[r]=d+"Seconds",i[n]=d+"Milliseconds",i)[a],m=a===l?this.$D+(t-this.$W):t;if(a===c||a===u){var p=this.clone().set(f,1);p.$d[h](m),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d}else h&&this.$d[h](m);return this.init(),this},b.set=function(e,t){return this.clone().$set(e,t)},b.get=function(e){return this[y.p(e)]()},b.add=function(n,d){var f,h=this;n=Number(n);var m=y.p(d),p=function(e){var t=w(h);return y.w(t.date(t.date()+Math.round(e*n)),h)};if(m===c)return this.set(c,this.$M+n);if(m===u)return this.set(u,this.$y+n);if(m===l)return p(1);if(m===a)return p(7);var g=(f={},f[o]=t,f[s]=i,f[r]=e,f)[m]||1,b=this.$d.getTime()+n*g;return y.w(b,this)},b.subtract=function(e,t){return this.add(-1*e,t)},b.format=function(e){var t=this,i=this.$locale();if(!this.isValid())return i.invalidDate||h;var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=y.z(this),o=this.$H,s=this.$m,l=this.$M,a=i.weekdays,c=i.months,d=function(e,i,r,o){return e&&(e[i]||e(t,n))||r[i].slice(0,o)},u=function(e){return y.s(o%12||12,e,"0")},f=i.meridiem||function(e,t,i){var n=e<12?"AM":"PM";return i?n.toLowerCase():n},m={YY:String(this.$y).slice(-2),YYYY:this.$y,M:l+1,MM:y.s(l+1,2,"0"),MMM:d(i.monthsShort,l,c,3),MMMM:d(c,l),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:d(i.weekdaysMin,this.$W,a,2),ddd:d(i.weekdaysShort,this.$W,a,3),dddd:a[this.$W],H:String(o),HH:y.s(o,2,"0"),h:u(1),hh:u(2),a:f(o,s,!0),A:f(o,s,!1),m:String(s),mm:y.s(s,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:r};return n.replace(p,(function(e,t){return t||m[e]||r.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(n,f,h){var m,p=y.p(f),g=w(n),b=(g.utcOffset()-this.utcOffset())*t,_=this-g,C=y.m(this,g);return C=(m={},m[u]=C/12,m[c]=C,m[d]=C/3,m[a]=(_-b)/6048e5,m[l]=(_-b)/864e5,m[s]=_/i,m[o]=_/t,m[r]=_/e,m)[p]||_,h?C:y.a(C)},b.daysInMonth=function(){return this.endOf(c).$D},b.$locale=function(){return v[this.$L]},b.locale=function(e,t){if(!e)return this.$L;var i=this.clone(),n=N(e,t,!0);return n&&(i.$L=n),i},b.clone=function(){return y.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},g}(),A=E.prototype;return w.prototype=A,[["$ms",n],["$s",r],["$m",o],["$H",s],["$W",l],["$M",c],["$y",u],["$D",f]].forEach((function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||(e(t,E,w),e.$i=!0),w},w.locale=N,w.isDayjs=x,w.unix=function(e){return w(1e3*e)},w.en=v[C],w.Ls=v,w.p={},w}();var Zl=Wl;const Gl=e.div`
|
|
925
925
|
width: 448px;
|
|
926
926
|
height: 174px;
|
|
927
927
|
border-radius: 8px;
|
|
@@ -981,7 +981,7 @@ function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
981
981
|
font-weight: 400;
|
|
982
982
|
line-height: 17px;
|
|
983
983
|
margin: 0;
|
|
984
|
-
`,ea="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Chart\\Chart.tsx";Go.register(...
|
|
984
|
+
`,ea="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Chart\\Chart.tsx";Go.register(...Il);const ta=e=>{const{ratesData:t,exchCurrFlag:i,baseCurrCode:r,exchCurrName:o,exchCurrCode:s}=e,[l,a]=n.useState({}),[c,d]=n.useState(0),h=e=>e<0?{borderColor:f["error-500"],fillColor:f["error-50"]}:e>0?{borderColor:f["success-500"],fillColor:f["success-50"]}:{borderColor:f["neutral-500"],fillColor:f["neutral-50"]};n.useEffect((()=>{let e={dates:[],data:[],change:0};if(t&&t.length>0)for(let i=0;i<t.length;i++)t[i].exchCurrency===s&&t[i].baseCurrency===r&&e.dates.length<7&&e.data.length<7&&(e.dates.push(Zl(t[i].currDate).format("D MMM")),e.data.push(t[i].rate),e.change=t[i].rateChange,d(t[i].rateChange));let i={labels:e.dates,datasets:[{label:"",data:e.data,borderColor:h(e.change).borderColor,backgroundColor:h(e.change).fillColor,fill:!0,tension:.23,borderWidth:1}]};a(i)}),[t,r,s]);return u.createElement(u.Fragment,null,l.labels&&l.labels.length>0&&u.createElement(Gl,{__self:void 0,__source:{fileName:ea,lineNumber:119}},u.createElement(Kl,{__self:void 0,__source:{fileName:ea,lineNumber:120}},u.createElement(Jl,{__self:void 0,__source:{fileName:ea,lineNumber:121}},u.createElement("img",{src:i,alt:"Base currency flag",__self:void 0,__source:{fileName:ea,lineNumber:122}}),u.createElement("div",{__self:void 0,__source:{fileName:ea,lineNumber:123}},u.createElement("p",{className:"curr-name",__self:void 0,__source:{fileName:ea,lineNumber:124}},o),u.createElement("p",{className:"curr-code",__self:void 0,__source:{fileName:ea,lineNumber:125}},s))),u.createElement("div",{style:{textAlign:"right"},__self:void 0,__source:{fileName:ea,lineNumber:128}},u.createElement(ql,{__self:void 0,__source:{fileName:ea,lineNumber:129}},c<0&&u.createElement("i",{className:"icon-arrow-down-right error",__self:void 0,__source:{fileName:ea,lineNumber:130}}),c>0&&u.createElement("i",{className:"icon-arrow-up-right success",__self:void 0,__source:{fileName:ea,lineNumber:131}}),0===c&&u.createElement("i",{className:"icon-dash neutral",__self:void 0,__source:{fileName:ea,lineNumber:132}}),s," 1.0000 = ",r," ",l.datasets[0].data[l.datasets[0].data.length-1]),u.createElement($l,{__self:void 0,__source:{fileName:ea,lineNumber:135}},`${function(e){const t=Zl(new Date).format("YYYY M D"),i=Zl(e).format("YYYY M D"),n=Zl(t),r=Zl(i);return 0===n.diff(r)?"today, ":6627744e5===n.diff(r)?"yesterday, ":n.diff(r)>864e5?"":void 0}(l.labels[l.labels.length-1])}${Zl(l.labels[l.labels.length-1]).format("MMM D")}`))),u.createElement("div",{__self:void 0,__source:{fileName:ea,lineNumber:138}},u.createElement(Ul,{__self:void 0,__source:{fileName:ea,lineNumber:139}},u.createElement(Xl,{data:l,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},scales:{y:{display:!1},x:{display:!1}},elements:{point:{radius:0}}},__self:void 0,__source:{fileName:ea,lineNumber:140}})),u.createElement("div",{style:{height:"10px",background:h(c).fillColor},__self:void 0,__source:{fileName:ea,lineNumber:142}}))))};const ia=e.div`
|
|
985
985
|
width: 424px;
|
|
986
986
|
height: 118px;
|
|
987
987
|
border-radius: 8px;
|
|
@@ -1042,7 +1042,7 @@ function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1042
1042
|
font-weight: 400;
|
|
1043
1043
|
line-height: 17px;
|
|
1044
1044
|
margin: 0;
|
|
1045
|
-
`,aa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartMedium\\ChartMedium.tsx";Go.register(...
|
|
1045
|
+
`,aa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartMedium\\ChartMedium.tsx";Go.register(...Il);const ca=e=>{const{ratesData:t,exchCurrFlag:i,baseCurrCode:r,exchCurrName:o,exchCurrCode:s}=e,[l,a]=n.useState({}),[c,d]=n.useState(0),h=e=>e<0?{borderColor:f["error-500"],fillColor:f["error-50"]}:e>0?{borderColor:f["success-500"],fillColor:f["success-50"]}:{borderColor:f["neutral-500"],fillColor:f["neutral-50"]};n.useEffect((()=>{let e={dates:[],data:[],change:0};if(t&&t.length>0)for(let i=0;i<t.length;i++)t[i].exchCurrency===s&&t[i].baseCurrency===r&&e.dates.length<7&&e.data.length<7&&(e.dates.push(Zl(t[i].currDate).format("D MMM")),e.data.push(t[i].rate),e.change=t[i].rateChange,d(t[i].rateChange));let i={labels:e.dates,datasets:[{label:"",data:e.data,borderColor:h(e.change).borderColor,backgroundColor:h(e.change).fillColor,fill:!0,tension:.23,borderWidth:1}]};a(i)}),[t,r,s]);return u.createElement(u.Fragment,null,l.labels&&l.labels.length>0&&u.createElement(ia,{__self:void 0,__source:{fileName:aa,lineNumber:119}},u.createElement(ra,{__self:void 0,__source:{fileName:aa,lineNumber:120}},u.createElement(oa,{__self:void 0,__source:{fileName:aa,lineNumber:121}},u.createElement("img",{src:i,alt:"Base currency flag",__self:void 0,__source:{fileName:aa,lineNumber:122}}),u.createElement("div",{__self:void 0,__source:{fileName:aa,lineNumber:123}},u.createElement("p",{className:"curr-name",__self:void 0,__source:{fileName:aa,lineNumber:124}},o),u.createElement("p",{className:"curr-code",__self:void 0,__source:{fileName:aa,lineNumber:125}},s))),u.createElement("div",{style:{textAlign:"right"},__self:void 0,__source:{fileName:aa,lineNumber:128}},u.createElement(sa,{__self:void 0,__source:{fileName:aa,lineNumber:129}},c<0&&u.createElement("i",{className:"icon-arrow-down-right error",__self:void 0,__source:{fileName:aa,lineNumber:130}}),c>0&&u.createElement("i",{className:"icon-arrow-up-right success",__self:void 0,__source:{fileName:aa,lineNumber:131}}),0===c&&u.createElement("i",{className:"icon-dash neutral",__self:void 0,__source:{fileName:aa,lineNumber:132}}),s," 1.0000 = ",r," ",l.datasets[0].data[l.datasets[0].data.length-1]),u.createElement(la,{__self:void 0,__source:{fileName:aa,lineNumber:135}},`${function(e){const t=Zl(new Date).format("YYYY M D"),i=Zl(e).format("YYYY M D"),n=Zl(t),r=Zl(i);return 0===n.diff(r)?"today, ":6627744e5===n.diff(r)?"yesterday, ":n.diff(r)>864e5?"":void 0}(l.labels[l.labels.length-1])}${Zl(l.labels[l.labels.length-1]).format("MMM D")}`))),u.createElement("div",{__self:void 0,__source:{fileName:aa,lineNumber:138}},u.createElement(na,{__self:void 0,__source:{fileName:aa,lineNumber:139}},u.createElement(Xl,{data:l,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},scales:{y:{display:!1},x:{display:!1}},elements:{point:{radius:0}}},__self:void 0,__source:{fileName:aa,lineNumber:140}})),u.createElement("div",{style:{height:"10px",background:h(c).fillColor},__self:void 0,__source:{fileName:aa,lineNumber:142}}))))};const da=e.div`
|
|
1046
1046
|
width: 122px;
|
|
1047
1047
|
height: 101px;
|
|
1048
1048
|
border-radius: 8px;
|
|
@@ -1102,7 +1102,7 @@ function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1102
1102
|
font-weight: 400;
|
|
1103
1103
|
line-height: 17px;
|
|
1104
1104
|
margin: 0;
|
|
1105
|
-
`,pa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartSmall\\ChartSmall.tsx";Go.register(...
|
|
1105
|
+
`,pa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ChartSmall\\ChartSmall.tsx";Go.register(...Il);const ga=e=>{const{ratesData:t,exchCurrFlag:i,baseCurrCode:r,exchCurrName:o,exchCurrCode:s}=e,[l,a]=n.useState({}),[c,d]=n.useState(0),h=e=>e<0?{borderColor:f["error-500"],fillColor:f["error-50"]}:e>0?{borderColor:f["success-500"],fillColor:f["success-50"]}:{borderColor:f["neutral-500"],fillColor:f["neutral-50"]};n.useEffect((()=>{let e={dates:[],data:[],change:0};if(t&&t.length>0)for(let i=0;i<t.length;i++)t[i].exchCurrency===s&&t[i].baseCurrency===r&&e.dates.length<7&&e.data.length<7&&(e.dates.push(Zl(t[i].currDate).format("D MMM")),e.data.push(t[i].rate),e.change=t[i].rateChange,d(t[i].rateChange));let i={labels:e.dates,datasets:[{label:"",data:e.data,borderColor:h(e.change).borderColor,backgroundColor:h(e.change).fillColor,fill:!0,tension:.23,borderWidth:1}]};a(i)}),[t,r,s]);return u.createElement(u.Fragment,null,l.labels&&l.labels.length>0&&u.createElement(da,{__self:void 0,__source:{fileName:pa,lineNumber:119}},u.createElement(fa,{__self:void 0,__source:{fileName:pa,lineNumber:120}},u.createElement(ha,{__self:void 0,__source:{fileName:pa,lineNumber:121}},u.createElement("img",{src:i,alt:"Base currency flag",__self:void 0,__source:{fileName:pa,lineNumber:122}}),u.createElement("div",{__self:void 0,__source:{fileName:pa,lineNumber:123}},u.createElement("p",{className:"curr-code",__self:void 0,__source:{fileName:pa,lineNumber:124}},s," ",l.datasets[0].data[l.datasets[0].data.length-1]),u.createElement(ma,{__self:void 0,__source:{fileName:pa,lineNumber:125}},`${function(e){const t=Zl(new Date).format("YYYY M D"),i=Zl(e).format("YYYY M D"),n=Zl(t),r=Zl(i);return 0===n.diff(r)?"today, ":6627744e5===n.diff(r)?"yesterday, ":n.diff(r)>864e5?"":void 0}(l.labels[l.labels.length-1])}${Zl(l.labels[l.labels.length-1]).format("MMM D")}`)))),u.createElement("div",{__self:void 0,__source:{fileName:pa,lineNumber:129}},u.createElement(ua,{__self:void 0,__source:{fileName:pa,lineNumber:130}},u.createElement(Xl,{data:l,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},title:{display:!1},tooltip:{enabled:!0,intersect:!1,backgroundColor:"#F7F9FC",bodyColor:"#070B12",titleColor:"#070B12",displayColors:!1,titleAlign:"center",bodyAlign:"center",xAlign:"center",caretSize:0,padding:10}},scales:{y:{display:!1},x:{display:!1}},elements:{point:{radius:0}}},__self:void 0,__source:{fileName:pa,lineNumber:131}})),u.createElement("div",{style:{height:"10px",background:h(c).fillColor},__self:void 0,__source:{fileName:pa,lineNumber:133}}))))},ba=e.div`
|
|
1106
1106
|
position: absolute;
|
|
1107
1107
|
bottom: 0;
|
|
1108
1108
|
left: 0;
|
|
@@ -1319,7 +1319,7 @@ function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1319
1319
|
}
|
|
1320
1320
|
`;const Ha="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\CountrySelector\\CountrySelector.tsx",La=e=>{const{options:t,selectedOption:i,initialText:r,initialFlag:o,label:s,placeholder:l,searchable:a,sectionTitle:c}=e,[d,h]=n.useState(!1),[m,p]=n.useState({}),[g,b]=n.useState([]),[_,C]=n.useState([]),[v,x]=n.useState(""),N=n.useRef();let w=o||"data:image/svg+xml,%3csvg width='21' height='15' viewBox='0 0 21 15' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath d='M3.5 14.48H17.5V0.48H3.5V14.48Z' fill='url(%23pattern0)'/%3e%3cdefs%3e%3cpattern id='pattern0' patternContentUnits='objectBoundingBox' width='1' height='1'%3e%3cuse xlink:href='%23image0_122_19220' transform='scale(0.00625)'/%3e%3c/pattern%3e%3cimage id='image0_122_19220' width='160' height='160' xlink:href='data:image/png%3bbase64%2ciVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAACd7UlEQVR4nOz9d7QlWXbXiX/2OSfM9c/mS5/ls7xpV11t1ZK65aUWsggNDPx%2bGiRYMzDMAiFgZs3gBPPDDAjBAoSkYYSREDIt391Sd7Wprqru6vImK7PSu%2bfNtRFxzO%2bPiHvffS%2bzJCHXEkPkennjxg1z4pzv2X7vIyEE/tv237Yv1aa%2b1A34b9v/uzcz3snt7%2b2NA2BdQZYPMabB8sqnefH8q9xy8L006w1euXyalnH0h9dpN%2b/CuQajocKHLWbrG0QywtRvY3mzycVlzcqmxVpPEgsH5xIAokiYaUacvzrk9qN18sJzZXWIiCL4wGY35/BCynDkKGwgToR2XbO%2bnXP3LQ2uLI/oZ447jqa8dLqn8iK0bjlSP/jcazuHbR4WNnay%2bbtu6Rw8c2HrcG9kW0szunFl2TVWVoep9VbhvTjrRQfvm42o6LRroyRRw42N3rCRhN4733ZsdWtQLG9s9tcPLNauvvuRxStvXNheXt/Odt77jkPutTc20QoOLtS4ttKnlmqGQ8viXIKIUBSW6ys7OOto1DXzsw3azRRjhHPnVxiNCm6/bRGtAts7Pba3tllanGEwzGk06xxemuelV14hTRMW5ufIshGDwRAIzM/NYl3A2oKjR47wax/9GIcOHeK%2b%2b%2b6D4Li%2bvMza2hZzczMsLS0w05nl4MEDKKX4veKaSRztAvC/9k1rIY6EWqpIhopu3y3t9O1t568M7z59rn//9bX81o0te2yQbRwdDn3He2p54fjE011AODA/pChy1ropTiu2eobBUCGAhIDqOcLVEdZaNACBJ186SxwJzaZGR9uj3/jcynZswtWZtrm0uZWfhvDy0YO10/VEvZEmermWGu9sIDIK6/7fIRr9VwtAAYwWkricsRtb9mB34O9/5XT/LdfWsreurBf37/TdsW7ftbLcIyKICC4IwQs%2bgGBQEYh4dvpNzl%2bH24467jzuuHjFc%2b6KJokgL4SdviJ4QBJK%2bh8IwUMIFMGTOZ92N11KCEtcHz7yzCs9jFa0atJr17l67GD68sJc/MyRpfoXkzi8MDdTu2I0GKPwzn1pO/P3cfuvCoAiJeiiSGGLoPtDf/cLr/feub6VfeDy8vAt2313607fpQHPKNMlwHRClHoIJdVJjWWu41mYETpNmO0IKkqRALGxHJrXxFJw59II/5DFmIgrq55ffTri0nWD0QGtA9oElBJCgOADWjwmMkgFzHYtp123dPuuudINd11cye5SwX1zuy55p6Eu3H1b%2b6kjS7VPNOryZC3Vp2qpcVGkEZEvdTf/nm7/VQBQK6GeKoYj6A/DyQtv9L58dXP01Wtbg0f7o7C0M1QooaRQKiEERZwILijE50QR6Mhxy9wyj94bceyWWdp1TxwZfLDI6gtcu77OlesZbn2bXuMEqnGQnazOMFdkObTqgSOLgTSG3hC2B0LmhCQOtBuBUa5wPuBcOVFyF6FVoN3SoAJZKhQWhtbFW2v2zrNX1%2b6sRf67O42wfHQp%2bdydtzR/9ZEHDv3GbCc9ncQGpf7rAOIfaQDGkdCoaXLLgadf6n3gzKX%2bN5y5vPP%2b9e38qA0KUQneK5rRFoNMGOQdBI/SGsOQd81/hntP1qnPLDIYbtFueY4cWkArh88juhtbuJ0VuueeY/naNXye0Y1qzN17hEynJEmNxVmhUxcevENhlKeeKNa2HZdWYbsPSiyLnZzlbc2Vdc/yRsTKZoQdajb7CQGFEUszHtKoWQprMDqiKFJs4Vjp5kvLm8MPv/h678NPPLN26f47O4/ff/fcz3da5uP11GxFkSb4P7os%2bo8cAEUgjhRGw/Ja8fCzr%2bYffvHM6jd1%2b/2HtwYaHxSF72Cd5kBjnYcOv0Gn1edi7xhXewkn509xYPvXeXHtXk7I53lr0UXWWqyuX2G9SLjy2gHEKEYasu0V8jzDNk/SOHAMW19kYelWDhw8RtANWrWIEBS9fgbeUtgCQViaj1iaK/DWsrWTYYm47bBhZSvn2pbl9UsRl657Fhs7SHDkXpEVcKS5zNG5jNV%2bi2sbmkgL690aO/0WRRE4vzo8dvry%2bnd/7InlP3Hnsfjp%2b%2b5s/%2bzcfOMjczPpq0n8R24ogT9CABQgMkJshOWN7MtePZv9yWdPdb%2b%2bVbu62OrEdPMFnNcMi4QD9Td4tPZznDy4zUr9ncRG%2bJq7nufqsMXh6A0G9lnWPDSinNNrQ/TMAvHsrTQKzyDX2GYHH4bMzN5P1D5Eki7QrM8wKAJuZ5ts9RwS1%2bimLVRtjlFmyfMCE3KKUR8d11DpDFnuCJRacX99meWrW8y0m3zVg7Os3JrSDhtEwyt0Q8p2Zoi0plnTzM1mnJjPiSLFVr/HZs%2bwut1go6sI3jAcKnn1Io%2b%2bdmHt0aefX/3z73ho/mceun/xJ2o184UkiRiOii/1cP22tz/0ACwpnhBHopbX3YeeuZz/6dOX3detbdNA17i35Wj5N1C%2bxkZ2jAeOnuK77/0p8sEWn7r0fup%2bjgeaT%2bPOvMKcqpHXZokOfxUnQoQLh5D2LGtdR9w%2bzomjh1iIwHuFH/UZjUY0G23CcJXt1aus9yyRK2hoh7ceZwvQCaY%2bjzMxwcSMsiHG9hhZwe%2bskdg1UJ4LVzbYHMQspD18DkuzB0n1Ij5L6K8tk/TWqEVtlJqjkdQwbGMLy%2bGFlMVOxtHZHnkRWNtYZ2drk35nkevbR7iwmhw798vX/sLjTy3/iQdP1n/2g%2b8zP95s159IkuSPhMLyhxiAQhJr0lizvC5f/qlnw5%2b7uNr9ht4oi5uR464jO5jI8WD7Wd53%2bNfZvP0%2bfv3s23nr8VeYrTt%2b5tq30WyPmE8vcbU4wNsObuMxSK3N7IEI3wtc6S3RmV8kmVH0XI2cQC2JCIUjme2Q7yg2dtbZuvQam90hM4vHWWg3sIMe2TAnqkW4fIvCC436QSI3wo/W6XmNlS5N6WH7fbaWL%2bLVLHFnCZERhhxlPBpLLhrSJqGekfkMtq6Qtg8Q1dqEsMNgMGBrELDZgLrOiSMFJkb1TzOjz6JbSyhVBztYeOoL2fe8duq5b3vw3gM/%2bYEPvP9fHj966Nk4in/PDMe/H9sfSgBqpaknwrX17K0//bj98198ZfvblbvQeMvRF7ilvcbhZk6nGYiMpx57XHwfrZUrfO3RC1y0D/Jr597Dfe0rPHToVa5lCYhjYEB5j6kNOb0z5NRGwkziSJMa8606o2AY5QOUtTRTjSOm1VLkQ080s8C9x2JCNsIoS2uhQ9AptI7gCbhsiPJC1h%2bgC0fbOXADrC0I9EgIzM2k5H6D61sDjtktOqmmkBRtYpbmaqxHCxjRhFGXkQWdNGimKTubaxjpUmvVEZ8wEzmSuMbmJrC9QaTO0EgS0jhQ5BmbW4OZZz7z0T975oVf%2bcZXP/CNP37k%2bMl/deL4sfNaa0r75B%2bu7Q8VAAVI4xhQi5974ez3/tqzV76vP%2bLQl9/%2bMRbrp6inBbVklnZrFqJFHJqhy8gG62yqGstyhKbyfMXxpznSWmbdWhbTnNwZzhQtOs2IhXibiJgkmadV24TByyTOkKZL2OZRbHB45wk2INubtEbrKBy1%2bDjSOUjhDGmzhkRN1ja2YdRD2YJRluGKHK8ULokpRgrT65NnV6HWw%2biCucJzeR1eXg0cWHuD9sJxZo%2b/hbjWZEYlGKVQvs5wWGCxBAyd%2bQWM8oyyAXF9Dm8dWq0RmXmCiohck5qBwWiARjgwZ5ltLNHdWTv0iz/zz35gZuG2b/jab/gT/%2bhtb3/X/5OmdTscZn%2boKOIfCgAGIDYKH9V55dKZD28s/%2bL3L19ffec9R0ccnNkg1j2W7TFs4xithsLJkK3hkKZbZ8Zu0RDD0lKLO5I%2bzQDFCC7nGWJgKB3WZJ626pIwQExEjOLW2VUWo8DOUOP6fYriWYrWvbQXjjJavYTolETVKYwlmU3J3Q5pAa32DF08zcEySb7JyuYOc0WfRGlc5ikGO%2bQqY0s0s8U2iazSa2eEepeo0eao9lzoxpwVxdH%2bGdSlHXaSDkhMvblIs71Iuylko02KEAMalTry3ia97T7N5hzNekwtVVAIO9sZKmnQTpoUeUTmahQh0Fg6xnx/nesXX7//J370b/3o0597zzd%2by7f/mb/XbneeKorRl3rIJ9uXHIACNJKEyyvx8WfPnPsry8s/8j8cmD8THX3rvcwlGY18QD8cZtHMsRQtk4Yul4YJMTkHm326bh6DRjXbzEWKTdciaypk1MWiGLoa3iU0k5woeLq5ZnkYWIy3ybzDaCCGWkNRsEF3VMPHBpt1sXFGbGqoJEIzYJRvsrF%2bmY1exoxxNBttOm3H5c2YUGwz20qwtQTt11kgI2vGFHlM1OuSDwoiH6g3O9xTT%2bg5RdRfIV/fII9TcinYuTpiZuYWTOcoeaZQSqins8S1GZIYdpbfoNtfptGcwZiEpYMzpHHB1vo1hra0cCfKkCQ1XJQQpXWOxoK88QLPf%2bEjH37jzIuPvv8rvuMffvCDH/zhNE1H/cGXHohfUgBqpRFV49T1q9/8xGsv/m%2bMPvHwXbecJ6rPEaXrmCDk5gi1kNOS0wxHwtUwy5FZy4E4RqTNzrBFESBWgU2vyfMNkijQaUcULqMT%2bhQW8iJj6AVvMzJfp08dJ4FCFPNRgaiYlkmopz1s1IBmjPYb9EYZA%2buJ05i42UYVnluSnA1XZ2Vrm1v0Fv3oBDVvqUcbtBqaYRYYjHIKHLXI06g38B4gJS80iXO03DaFGlLEnrhQjFoNamkP2XyGzY3XyXUNb2ISc5il4w8xf/gASewYdHuMii5xojHi0WpImkIYDdnMc1oeItVAqOGyjFqtzqETd5KmZ7h44dyh//gf/vE/ePW11973fd/7ff/7gaWFZ7s7X1qTzZcIgAGtDEDr%2bsYXv//F5Rf/lzi%2bnh6f7zHT7NCQIUWScmbnHub1VW5rrxIrQUcHsKM55tLraDGs9jTnNlMaUcZc3ZIDDW0pXCB1Of0sofCGepRhldC3hiQpaIpizS7SinJUcKxIoK4F7zWDYc580icxQuRGqGZMzwrWzNGNYxBHK61jB33S5BJFpHmgs03qFcqnDI2hp1MEoVMMaMeGEENeC%2bA1IRNyG0PaIbeG3lDo2To1Mupeo%2bYaqMwSsnVcWieLaqhiBUKNJLIkC3WyoMlUjBFPNCrQQRCT0sw9UdErPSOugGKbrLuK6AYqXeTQYc9MkfDCs7/8jX/jr5996Fu%2b7bv%2bj6/96g/9WBx/6TTlP3AAlopGk25W3HP6/E/9/xI%2b%2bXWHGik920bVU5JaQRYfpqdPcFt0nQPxCnXVIHiFlhHNaMCmq3OkNsA0DB3JmatZeoVhWCh01EEpIYl7xDoQgqDFEOmImThQ05APEgajmLm5gJg2xnuM7zPwMRZHT2XEKqOvNX2dsGUNM2GNKNvEe2HAkH7ukWaETVM0Q7quz2omXMvbiBbiZguVFVjZIfcDtnIBFDOtHFNYdFA0onnqLtAZ5phhnziHqFA0pWCkPHliid11sus5ZuY4xsDm1XM4ZbASyIJHK6GtoFZLIVEEqxkMC7xyLGf3cn59htn482S6Q6QsnXqXhx86wekzr574R//47/3I5sbWfX/qT33X32006htfChD%2bgQJQRNCmzquXz3/FmUv/7p92zCfubXZaNLyhHnfBxHRZRNXmuUUuUo83CM6QFzViI/RCjEPTTizBGOoqcFttCwlCHMd03RyJChxKewSV4ERwVqCAVHtyNHnQxKmQiqCVQRJNbEdQBGqhR6wdI6tYd5pMhH5m8Xgy3yN4QbQm0RnGJHRzRc322Q4Zq6PA2rDF4VrMwwfm8ekMG91NBt2MfNRnlhEKzY6ucTApaPahkBG9uiEyMaOowSgLJFmGloRhMYDCIhasWkHlFucFYYNi2MeZETvDDoXvkGhHrDbxKiLnIHE8oGau0Vu5j9XiQ%2bTqOOJGJCzQlv8MIePYsSaZLKp/9aMf%2bV8uXrh0/2OPvf0vHD58%2bJRIGcHzB7X9gQFQRNBS5/VrX/j/nLn0oz94S%2be1xXazQx5iatqidcyIBnO1iFhtMMMmkCLGkJkIJCEyEQcZ0NIOG1JcUERKMfAxceSZMSO2bJN1ZjkQjUjJGTpHLgqrTEl%2bg2Im8SjjudKfJ%2b5nzDUDgTpKQ8AyAnpFA/GeRjQiR9NzNQzQCQWF1XiEvo/Y6UcUThMLHG9FtCNb3iHfITZC2mzRYEij1aGXC/gaquiTNTyZOFJXvmPBDnk8T95u0M2GpMUynWGPLDUY7/HFNjYoIg21ds75/AifXf6zDLMlYtkhUtsoyRkW89TNDkdmfh1Un2Z6mbw4iPOaJDlP1Fng4sa99EZtGh2FNhEf/8QXv%2br1M2/8p%2b//y3/xe9M0eSIb/cEFN/wBADCglCY2bbq9J//XreEz/9vdSytmptUkK2LaJoBJudafI41gKdnB%2b4DSdSKtiMRQZAkXdlpoZTlWj7A6ItWgIk2v0CCCoEi15bb6JoMQcylvEXKFD55YHKJKF5tW4IE5U6BMRuEUcVSnCIIKAcGQUJDgCRIoXIvtUYuZeJNUMopgyCVmvYgY%2bYjDNaEea7REpGlEETzbRc4oxGjd5FDrGIluU48NtcKSb63TEQNaGBYj4l4XGwL1NCU4TWr69Bli4zq%2bVsPk21AUDIqADD3N2ZyBtHjh5T/OWvetxGpAHmbLnvYBFQr6o0NsDI4QqSGCoLUlIHgRonaTMLyHXvcOUr1GVNtm8fB9XLn62gM/%2bPd/6Cf/0l/M/ucPfegrfvr68srvPzT4AwCg1nWKfBi/fuU3/lYve/yv3L6YEcdttI6YSYUCTUHKfCuABApJmWkKPgg7IwMSoyPh2GzG0CaQtNgJGkvGQt0SW01uBUEY%2bUAQT8c4ej5nR2IWGhZLSj5yBAWZirDOEWuhHQfyIudY01N4GLmA9ZqVQY2aDPAkXBocohHt0EnABMOWj9DB0tSKmWaL22ahcIbMabwTllpNQjHk0s4OLu9jowbKDSALJOIwskOmHDNkBAVFkqG8UPMxTg9wPqOpLEURyCVC6ZiAx/iAblhUTfHRZ7%2bds9ffTy3qApYy6jWAeAgeHTwhpFgbI%2bQEPCjLQuscTbnCLfNPM%2borhqMjiHKYZIn5A57LV04d/Ts/%2bE9/RJR07r/vnn%2bztrb1%2bw2P318Aah2RFYP6q2f%2bzj%2b4sPbz31dvNplvKqIoKjU5l5JJzKFZiwoZ1/oN0pomMQVZIaRJTKqhaQocESKW%2bVrGtUEL5xJaTUviIMsVo1xTU56AZiiKjtbEBurBE5scH2mM1jgFy9sx23mNhXrGgVogiKI3CkTKkyhPLUlQocZw2CTP28w2uqSRYuRiRBRt7XHG413MZ18%2byoN3bhCbHXYGiu7mGqkMOBAXdEc93E7ZBuc9XRwiGkJOcD0SiQjGE3KHMEDrAqcgsxGZaZJKQaQT8hBh1BaDIuUzp76SF85/kMjkCEBQIJ5Qyhdl9EZQSPCAgyAImhCEes3SrHni5CwcvsYrV7%2bZfLSIEouKFzhwsGBz/Urnb//df/5Df/Z7vqNx/333/lOlfn8TJ3/P7y5UofEGbJGnr73x9//h5s6//b6jc5p6mpDRIolShrSROGWxVRACrI%2baBJPSih0ehYkSkshgJcbqGp2aJokMa1mbhZrjQNNxdmOJ9axJXDOYekKzEVFELaxKOJQ67l4IEKVc7M6yNpqhnYL4OjvFIjt5g6xQoOps2A6brslWXmPLxjQjz%2bE6LHYcxw6tYSIoiLHa0E4UnZrQaVsef/EeXrlwjMXmJjXZYV53afo1GnqTuu7RqUMUFaAyXGJBB%2bZlyKzKwMQ4AfAEE3BRzmrR5OWN42QhEMkOVmVYk%2bP0gFGU8/LGrbx0%2bSHiaAelcjJbp7A1QtCATD4RqT5VuS8BIWGl%2b3YkniNOatTqmyzMPIMXA6oGuomK5pmZO0B/4Gs//C9%2b8h8%2b8eQX/nKjkfL7CcLfcwrog4PgyIvcnHrjn/yfG5s//r2LM23S1LA2SshDCxN3WYwDW0Wg8JpIG9qpJtKBhsSI0cSRkPkIhZCqQCxCasASUTeWgU0Y2g4ttcNMVKBV4PxOh0YUmE083WFCOxQ0YkhiQxLpKknJcPdil34%2b4ovXjnB%2bZ5H7D25y8GCgnw9YGw4J3tLLczrxgFpHOLs5i1OBTpTTqhcMMsMnn3mMZ04/wHe%2b99eIwhpCQj3KkMSRhYgi9yTiQBscZbS0wuGVZtvF%2bODQyuHEYApHokC7hFrdkWpHcCUb7iuH4Om7OncevMJt8/%2bEz7z%2bXk5deoQHb32ZneEcb1x6K5Hp4YgJPkIkryhhBUICWhWsdt/C2ZUL3Hf4cbJYWGxcZrN%2bnWH/IEoNwTRRYZZW29Pv9cxP/Ltf%2bsG52U724Q9/ze8bJZwA0P0uIyUEwePJszV2%2bhe5dv0n//ed/s//j4szHWYbhvVihk4KS/UtIq3IxDLyMW2dMpsKmoByAR8igikVi5oE8ArnI8RApDypV3TzBu3Ic//BTaxVFD7BScRcU3C2INXC7Kzh7FZENwt4chIVcM6wMxI2RjHe1fCuTRT1yfMNgnFEqsWxmYP4IuN6z9HLNjiS9rml08MYy2I85NzqAr/4xUc4d2WJb37fJ3joznO4IsUYhdUK4xXGerQRRIEi4K2QBcFqRbeALChqkhNcIGjBKsH6mNnaiKXGFi7TZEUpB7tgsdbRijxpqnFFn/ff%2b6vcdfzztGvrbOZ1ovoKbhiTxJYXT38QHTQiHiRULDogyiHB8MrVr6Uer3PHgacZjEZo7QgqhhCD8ojpoHxGswm9/lD/i3/1n/7%2b7Eyn/%2bEPf/2/%2bf3IQ/k9poBCIGZn%2b9N/Qbmf/WtH51KMjti2NTZHTe6Z26KlFEMV0SsMczqmoxXKKYIYHDG60midQDDggyEBgmiykJLEQt9rchwqaIoQY4OhHgtH6hnn%2bzGbRUw3ONZtxMCmOBVh9YjXd%2bpc2uogZsixxoD7jm5RBEffGYZDOFgPzCcOo0fUJWbZnuD6cAXsgLW1g3zq%2bgwXNhc5fmSdr3rHsxypb0BhiE3AFh6NwkYxKsqJAFC44PBGEAsNPLlEJConCYG%2b00TiiJUjF9iydSQAkWMoEYnPSIOjh0Y7KKxnVCQE41ic7aLzgI4H3H7LF9hZO8DtB17j%2bvpJrq3cQRptV9TPTyih1gVF0eKFy9/EbOsS9eY2NrRKGEgNRAjiwbQRn9NqKrq9QfqD/%2beP/KNOZ2bzW/7Y1/9MAIri966KwQSAv9voWaHMTuvufOZbit6P/525ppHYJPR8SiIJ989uUVOCKxJA0ZaUtigkCEHFpXDuDEopVAAVhGAUyiuUArRgVPmk3EWMQkRTcgy2NPP4nPWhoq4BEa726xRFQk2lnJjVpIBujrh9LmdtpJlJRhgtbA4Nm0OFUREaQdwmz1%2baY9jVPHz7MsOmY2XYZmdwkJmW4/YT5zg2v0xb54yyGjY4nHiCFgIBowOpKBKnCAZGTmGCRcVCFgKpNmix2CIiMr7UGyhdiHkIdF0TrXPmzAiTO3YKjRFH0JqRLUqp3Rti7/BodvIWrWTE%2be5t5MMO99/6UVY3j%2bF9jFJ5OTihZMOgiEzGMD/M59/4dh448e9p1nbo94%2bjxYAYUAmEJugR3m7SajbY2u61/94/%2bJEfimN95S1vefipdrvzu8LKeIsjg4zdLzvD/u/8TpXQ2%2b8%2b%2b8jm9e//SBxdORpFc%2bSSYCSio31Z0qGICWIgUUiRYrwQtEaLJogqhV1TCtJWIpQRnBeiKBBFpalFOUUeYnaICBKwIjSV5Y1NRebrHG0UeOXZGEWoEKNQNJOYhs6I2ebUtUU2BnXefXKFwjq2MxjYGOdyZo2lHTvObbSRkHOgtYkNmlEAFyz12LFja%2bjC0sscO7mnzBkPODwt7ZjRliaeIJrNokFT9UjpUwRhB03kLPiCrgsMc4fyjlgcTgRxBSujlAGKY/EmeQ69oaewDggMc48gYHMGTrFqWzR9j7lknV965rt59tR7%2bY4v%2b2ucufJuPv/KN5OYHuDABwiuzEsNnhA8tjAcmv8NsqLNxsZJtPTAZ%2bCH5Z/dwRerEDJEaXa2uxw6WH/x7/6tv/TH3v%2b%2b954ZjTKCr2bP73Cbn%2btM1YYper%2bjmwQCWrcYDS8d2Fz%2be/9MootHVbKAszUaoqgrDyRQKIwolFZ4HyEetNagTaWwGTQCSpEpgwoG40CUoIA8aNBCqjyJhVmgUBpLwAdDWksIeUTuIYSYetqhYWA%2bybHOMypiGlGHw7MRhYdUNHGkaGhh6CK8B%2b0tgub%2bQ12GEuhmDZxz5A6cjfC5p6kh08K2jfChHIC2sTREkZqA%2bAixHh0JdeNIgnB95yCknpnaNkY5cmuIg8NFYG1AxOPRGGA%2bzohRbIQ6hSi8KTAMqvPAWUeqHAUzSFDUycldxMljz/Dc6S/njcuP8Za7folrG7dzbeUejBpV9sGSSIRKOTEmY6V7H9gIrRwEDWIIUpq70DWUbxPcNiE4Wu0Wl65sPfAff/IX/68H77/vOxuNVs9if9dB1hMAxib5HVwuiCjyfFv3tv7V30W/8K6oNk8UEsgjouDJdEJkI2omEJSGYIiCIRiDiQwq0hAUSjTOQvCaBF0qcVohumTBIWiCVWU/aiFCiIIHFci9wRQ15iJBKAFWTyxIDWFEI7IkShFIaNRzlqhh9RyxHpI7IcfgHCQqIYhj6ByIpx0pRlojVhATMNYSS6mBNwzUIkeCo24EJULwBoNHpZoQK5o%2bx3hNd2eWttumLsIIjVMBEBRCzSiUitkJGmNH6EioFR6de5wTtlyCc4ZZ2SJKFFZrtlwdi9DRA7p5Skc5jsxdYqa1xtWNu1nYeIOsqKO1pTKMTbThUh4sj4mvEVC7ABUNEhHEIhKBrkEYIb6MG%2by0Z/m1jz/7dQvz//qv/8W/8Gd%2bwEQJWZb9jsG3MD/zuwWgQqmEzc3/9Kfz/Gf%2bTK3eRFwLNYpIQ0CbGK8SEg06EkSXebRKGySJIWqAF3QIBGsREyEqKmU%2bpfBB0FKKPRGGEBSiqs705dQLCnJb4/WVg9x1YIdbZjOGPsG6nMzD6iDQTOrMxhkr/ZSr23CkXVCLIkIAJQVNNSCPBBMibBA8gqEguEBda5pG450jRKXHY9YE5puBgKBdQClDEI/34AqFL0DZgCEi0sL9RzbZGlisheAVQ6fp%2b0Asnlas6SlN3QcCGusCPkCee4Ir6MiAQZLgTB3nFO20YMsa4uEAFTK8Vhidc3HlXoZZk5GPOXXlMbZ7xyrvCLsgZCwLCgENIQEqbVk0BI%2bIJkhEkBiRuLQRhgKCxxhFkrb52V/47F96%2bOF7nvvQhz7wk1qr31XwwgSA9r84u17QKmW7%2b8wjmzv/9m%2bmSSyxb1MMEhIJzLXAqpgQFDqKkSguZTwFqAZE9fKlbUawFnSM0gliGqW84gM69iDQHcYYo0kMDKzBBMFIQLQFBUmsePT4Bh6IVUG/SOjZWY43LVt5IC88Vhnm0oJ2AuDLTguBVCl8XCf1pZ0u94bMOjIrWO9piGAEQlQ6kY2GRlV8yDmHtYZgS7kKo8okpWAJtiifg6AllKmcSiFZIEiEiaEVPFoUA12jLjmdesFOrhmKY5AYijxgsBxpZeRBIdaS%2bIxu4clcwLkIpRxOIp47934Ggzm0ZDSiIXff%2bjivnPlyFB7BVZ4SKvDJeJcJMEVVyorapYQqgZCCHwE5AUjTiG7Xxv/XD/2Hv3filqPPve/dj53Ki7yKJ/wvFwgnAPwvjgWTiKLYrHe3/skPxpw/pDlGGEQ0xTHbcKzZOXRaYzbJQKVIowF5zvWdNnOzDWKphGNVA8kRMUBUvUQEsWejG/Gpc7cQopTDM13iGC6t13jHsWVmGjmfOHuQR5a2WGorFlsF3htyf4BWEtFIAiKa2VjhzRAvGq00Bg%2bUjxYJhGBLZmhi8koubRiHczk%2beIyyKAVKHL5wBBUQEbz1KB/KSBUf8IUriUgMuRJGI1vC1FkEwYQARmHigPYOZxU%2b0xhR1FTE0GrmY0tkCjbzmF7QDE1BXUbgc1RhMTIkD6WYopTHK2hFO6zsHObq6l0YnUEQtnuHqDdXMfGAUJQGIREIQRGCAL5698pMU8o7lUvPAaU8iJRRSEgKwVJW/Ao0mw0uXNq85d//x1/9O%2b942yPflSZp7n6H5UEmAEyj%2bLePPRRaRayt/cv/4cXLF75qceZOTsY9WomlG9X5F098gJ97%2bV38r9/5G7z/jnPgDMOh4sXrx9gsWrxjZkCss/LFRCEUldvIlGxDCwOn%2bA8v3MrCrOKDd/ZJlCX3lqOtPo0kpwiWVs2TSQngQI2cBC8JdRUBAR8yJHiUqiKxQsk2pRLGJVC2AYcPUPgySkWUoJRGE/AIgRyPhbikaB4Q5VCSl1wuKJS1BFdACEQSkzuHBDAmJViLcwWiHEMlOA/iPcZH6ESYM571EHPJJmgfiJWjpQrSOJCNFNkokCaec6sn2B7WWVq8gGSeWOVYn/D0qa9mpzdHbIYQYH3nONvDBWzRQChQY5lPHMpkQIa30yJXBUJU5Tf2FRUsg0FQKYRRBcKSyrU7M/zCLz35LY88%2bJ%2b/589%2bz5/4YUHK636nACT8drXggInqbPdfv/8nPnX9rzh7N2878hIzsePq5iJ/%2b5e/mV97/lG%2b/n3nefj2AlSbzBp%2b8pkHOLd9jB/4hmeJlcNjQAkqmKoVuhSEQ%2blQl5DwnrsH3LW0SU158IGGKhg6Q69IGBUp7zjaZyevMyyEmvGkYkENCES4oNAEkAiPRigIFKULTKLyuaEMRCgpr6JmNOCwqJI6hAEBj1cGCQLYyq8aCARwCi%2bUg6VcOXg%2boDQ0ajHOKkJweIGgHLnWDDKFsaBRiARMgERykqTg2sAxKCAPikQ5RllB3Vi0MhSFQ%2bmAxRByjxbQac7nXv4aXnj9fURqhAj4oPA%2b5v7bfoX17WO8%2bsZ7wEOkhsTxNiIZ%2bahTcTzPrnw4lhErFhzGADSg4lJe9J6xYTuKFKNRzI/82C/8tfe8662fPHn3HS93u33%2bS8zJM50pM4zSv03rdlDkdkP/5JPP/fUXlvWhv/j%2bsxxpbnN9%2bwg/8HP/HU9cuI9/%2bL2f5MNvexZdpGA6nF2Z5ZOnT/JNb10hjRzYOuCxZARv0b5qRvAl2Q9CzTgeOrAKXmGBlWGN2aiB1oGGCURaAQVW%2blwfRbQiQ6QKYm1RWKwXIlVq11pKDdiSosQS8CV7lIjxnBVxaBwhKEzFigRdHvMZClt6CoJUlgdTgldAQkHw4NFgAlqXWnMxUvjRiJ4yeCKMc7SNISjDwAM6x1tLKACTY3zAB0W30AwyaJgCrTW9XFDOcmT2Cu3m9TIRPs04dfU%2bnnz5q0sqbxwEUOLpDebBKb76HT/KfOscV9duZX3zFobDBuKbldIwTkaqlLqwSwUnIESDMkAMPgFyxhE3IQRarTrnL20d/qF//u//xt/8P/6n706S1BWF/S8SBScA1Cr9rbEHCIanXln7un/zC/Vv%2bfYvv8xtR66Ajvn0Syf5yBcf5X/%2blif5lnc8D30P3kA8w%2bG5Hj/wjc9w2wEDLi1f0IOmRk4OCBoISpeGVqjOsWTBcXmnwbbTtGcyVAi4oCm8ZyOL8OKJYzBak0jp5EfFxFFc%2bUEdPpQaphJFqSaUIIQINdkPeAoC4IJHV6wrUHpuAhng8UGVbFyBSFGCD8DE6GAhFATvCD4QaYdLhNhGjAoPRY5SCp9oUmsJRSCIUCjYtDHdrED7nJY4doJhKDFic4xxFFHER194D29cPM49x75Ib9jimVffSzaoE0ejUrYLpf/40IEXabXXiLXlsXt%2bnrNrJ3nqpW%2bl213EqAxwu8EKY%2bqnSstCGCsjovZRwaRURqbYbCkPtviVj37xWz/4lV/4mW/55q/%2bT93%2b8LePvmkAZsXgtwRfbIRBZjv/6uf7f/XV109E5n0tLJqdkPDkmXsgQD225W1VG2ptcDkd06VzOAJmwJpqtmkkgCYhjKtHKo8NttTbpKwWdWGtwS%2b8cJyH7%2bghC5sMQovCOZSUxuRELEoLWgWGhdDLGiw1NIG4ZOW4krPjKU3aArhKkiuAeDIIAYsHLCVwS7ZtKb28Gh8cXgwiAcWgrAUdQHB473B5gQRbGq8LB7gymMAJ3TwQBaFhcwwaLQU6HTFygUERsZnFbI4CdQoQIVYebGkSct7w0S9%2biM898xhFZjhz/n6c0wieyIwo5YCxTdhzaOk0Vzfv4MLVBzi8cIrnz3yQ7a1FIlNMaauV/W8MwOqwVHbCwBQIGSskcWmSmVifA3Fs2B5q8yM//vN//d57bvtks9VeHY1%2be7bB1u0npgH4W9PNNNL84hPd7/71z/vHWg2DjgNKNNc253jh7B3UE8uZ6zNcX53j4GLES1cWONzYYK5uCD4phX40lUOT4C0eQ6wCiMMpw7YtyX9DDJlVHJjxfPujXebqBRISIgk0TAMlroz2DS0gIccx0I40KQ0PgqlAVUYUjynd1Pwl%2bGoiiKGUhwxKHBEBQeFReFLA4/EEMRhy1mzGRq6o%2b8BSYgnOY7MCh2NYBBQKbcCHwCCPudwLdAuNBMMh1WUpzXE68MLVI4wKy/zMNrn1GOVZd3WsDUTBkoSCueaAcxtHeOG1t%2bAyRT0d4L2gJS/b7GUCCFGB4DTXlh9AdMa1lTs5df5dpSkmOMCOUVZdoiip4Xi/iqyeTNRps8zYT5xVICzPDwGarQbPv3jloZ/%2bmd/4ng9/0wf%2b7nCY/7YACFMUcJj/Jmp0gCQSzl4LB//DJ9f/3Hq/yd23r/PgifPESlXG40AaO55%2b4zBPvXGCb1q8ThopkqQJppppQVcTzrK%2bXTCwEY2OoYXFS4InohVZEAc%2bRilDYgwzsYOgKKgxFEdA42gCpalFVXCbVaV26okmYnU5sQsEVRpfGSsRBlHjgj2qOlYZaLEVIFUFYlOd48hJccBcBLaAfoBCPIW2pKog856EnETBtjOcGShs8KA9zucM0phLmeKLZ%2b7i337sfdx77FX%2b%2b6/%2baPl8EyGxIH2H9mXh9HNrx/jEc%2b8jG0UkaUlZlPKlHzYIQcJ4Ppf4Qej353j3I/%2bOI0un%2beKLX4tWw5LiB9lnmL7RQD1mzYIiiAalwU%2bxYjGlnXZq0wqUTvnIL332e7/6Q4/%2b5AMP3PtG/7fJiicAHP0WC4V4anzx7Ct/8oHbf%2bpeorfyTQ%2b%2bwL0LGyAzNGJNbjVHl7r8dx96hQdu64FX3HGgW760b5Uaong8OYKQ1mNiK2hx9IIiVaUgLCgUCUKCYBBfBnQ6SVBSJ8VUxoIxvCpjLzA2soYKZoKrDLG2ZCnVL2AqSVNhGOJxFF5QYlCi8STVfe3k2gBIyMmDZU476lJQqICzHq0KrpnS9NKJMgY2sGNhZRhhbcFc3ZKFiFFXkxUdfuIz7%2bDxJ08S6z4P3HWRZ8/fyxPP3slgFHP80CXe%2b8CzpMkOr1y8nf/8sW9ja71BLRnsetPCGESlfzggYztTNVaKZn2Lu2/5ApubRzh38QFiU45vaXoa%2b4THozsGXvlbyXrHnxUVnLYNku/O7so2WK/HXLi8dexXP/70n3/LWx/8S9YlJYf5bQPQRm96klYx69uDIzPyE9/zvW/7FOodzzIfezYGHZLZgs%2b98gCnrxzkK95%2blT/7oZfK2xb1arzHTnBHkILgI1TQNKIMZzxDp4mVwktKEZoMckM7iTEyQBCGaIxqoEkrSjfWQqspP1FbdiN2VWVecNUrBiI8Bo9FGKIQPA6N4vpAkxpPanL6to8mkEYpQoovw2QrRiSMXMHAD0mipLyf8pgoZuQ1PRuIrCVD08sNO1kZQjVbL2hHjh1X4z8/%2by5ePTXH2labEASlAh///Nu5srzEoBdTZBHbWzFf/tYnadUdBzqb3H/Hq3yh/xDBqZLyVW8cpEKPr0xXFQFTyjMqmmz3D3JX8iLt5iY%2bjFnqPmfDmBqO5cJpbVgpxPtKFqwoYRgrJBUVlOlbBeKkzs9%2b5Mnv/oave9%2bP3n/fXS/1er%2b5XrFn1Opx7U3/0niW1D317ffVv3DHvLRp%2bwgXOiy1cs5cOMA//9UvY5ilxJFQ2BZU4UMTGWIs5AaFCRESFNgIFRrUtEYrIUeDOJoRKBVjVUShIoLUMTQYM8uxCC0VHSw11BJQFosQyJymb0sfpQ3gSSqpTlCUDngBXBAKl%2bBDwhChC2yEwOVBj%2bX%2bMtauIxVVsXgyFdMwDVIJCJaEAiUFAy3kErE80AydEFSEDZpEB7yUpqCGGvD%2bB17ivY%2bepVb3tOtd7r5tld5gltgUNBtDmvUBcWR55tWTvHj%2bJJ32kK9518/zjoeeriaQTAZ91962S8mCN%2bQuZaa9xrHFs1zbPMmF6w9g1JTJhUkH7u7c4C/eZc8iU2MoulRERE/dbyymCPVawuUrm4s//5FP/X8JVe2f3%2bQfTAekcnMKKBJR5JtzreJjf7LTjHHUubizQCuOOGJW%2bMknHuOlC8dp1gveclcPo7swtCA5VNU5hYAEhSiF1eBdhEgZdBB8hISAURqtWojE%2bGApyIlCQk08EkY4CQRiDHqqdaVhdFd%2bEwbOkfmSyUbiK8UjRyp2alFkXohEkztYakIsmn5QfOFKiyzv8%2bDxDbbzwHAw5JbmkIEkeAqaSojQeAI7Nid3BUYsmRi8VwxDTGwdWgKp9tR0IChh5COWBxHzs6t8/dI6NSk43rzEQ3df43Ovn%2bCpV27n6S/ejlaW1Y0j/PQv38rhw%2bf4jq/9JWYbGe9%2by2%2bwsd3htdMnic2oImalMhEqNIp4orRHGnLe/eBHWJi9yqXVO/FO7QJMqmiYaXkPdgnj5PsuAMN%2bZUSZ0rzG/qJGJZDjtMYv/urT3/kt3/yBf3nfPXe9OvotomV2gxGKN1FCVIofPPWNLXnhYedjIg0L9T5r9hjObeOTEU4JC/MD3n7nywgZ0CllFZvjVIwey1yhjpIUp6QCT1FGIUtZLdTj2XE9AgmKWhm8IBYXBgRikpJuUXpNxsRbTTEXRyQBrSwinpH3KAGFJQ8JsYrR5MSiAEPNWMqWaOoS8dCco1sYGiYiEtDesO0VWjypROgwJIgtDeMu5cymEIWcRDlqJmMmVWSjmMQ4tBJSE%2bgXhg0b04hy2koTrOVr3/F5cIpffPpt/MZTt7G9kyK%2b8s8SiLQnG6RkQwUNQ6M25M5bz3D67F2EUILNe02RxzgnOKepp1u8%2b8Ff4sjcaZr1NSIJtOu%2bEtN2AxF2QcgEZCXwwi7wKoN0EKmwPjbHjGXBSg7ETd0HCIFaLebi5c2lj/zip//U4sLcX%2b0Phjdw/vF2263HdgG42du8ySkarXbiaPSJ7%2bqHQFJvYlJNO3Y0TBcjKd/99i8yO1Nw93HHPYtdyBqVTa8UWJWk5XzzZUOVtSSoXYFZewYh4H2O1l0sHi8L1NUCAYsOBQ6NDTFZEFIl4B0ag5ZKIgweJ44yAConqFIJyD2kKBSOSGd4VUYuR1ImQXWtrzwmIJKx2N5kFmHbCkNvCcHjihGHlCKWBjvBsDkcUWhP1yZ4FxO0ouuglgzIrWbkHXhPajRdm7JWaGL6zMcDtNKMvGWzt8CPfOS9fO65o5hgibTFqDFYAkp5CpuC0sRmwHYWEcUWEzlcoSjylNh0OXboddJ4QGKG2BC44/CLzLWX6Q4SvKuRyyzKTLHdMN4tecYeEDJFGdk9b8yGdw3UY2VETxmld%2b%2blRDBRyq9%2b/Nlvf/e7HvzhmZn2pSy7eQm4PQBspDfG%2bdfiiBcvrrzrl5889t5vffhejt02RKSG7m4g2oOa4fbFgv/pltfBzEIxWwpdEiYNl4mMUlEvDyX5FoJWZDh2gme1cLRUTMfEJNoS2MaFBMESe0XhPH0XIHakQBCDiML6vNJ0DRGaoU/w4mgahw8aRVTOTJ1jsfShMuIEel7oF465pFRZtnzMJhovDq8NWWYZOIvDMhP1GPiEV7spucuYS0YcbgvDAJvDiOVeQiIjmnWFEoMTw/pA0VJDbBDO9mosJjnNxHGt32ZrWKMeW8TnqDEBqropAM2ZHju%2bxVOn3sG5S0dYXj5EcEJexMy3L/HYQx/l8IFz9IdthoOUufYafXeIa1fuIB86zl69n%2b3uPDYzKD3F3cbUboyzydhMCZfTHpKxjWeiHY9BqPay8/HtQqCWxpw9v3rrK6%2be%2b%2bbv/Pav%2bqe93pubZKay4vayYBEQET76ef%2btL5w5mv6NDz%2bH1GowUqXhVgxoDfE80CzJjUp2AwvGfsRQhW3L2OMQJr95CgwRRmt2QmDHlZTxeDAEseXgWtAhI9YJDTHkLqep6xjxeJ/jKaNoTCjfQbAEr8kLTyMu7YRaNISIgCNGCBJzHY%2bLcxpxgSNQEDPyiiIERk5VkR2anUwYuSFZzXNtCFvWoJyw5nLSUUEWNEVRhlxZLxgyanWDCHTMiJpxxDhqdU/fGc7vzDGTrvLnvu3n%2bI%2b/9kGefOoo9Xg0UUQBTGTpbnf46K9/Gd2dGUa9lCjK0Crj1iPnOHz4NBv9AwyuNug0N3jlwsPce/zzbPSX%2bNRTX4fG4qwhuDIfWCk3BTRKDXpa7ps8WyZelVL%2bU7uNqkSlMnhj7B3Jp9j5LqC1Fgor/PonX/zj3/QN7/%2bxWj3tvlkm3ZsaopNIOHNlcOyzL3S/7o%2b9%2bywHj4zodWcxZKRRVAbUeQcuhzACU68aUEVZmEa5720lP4zlvhR0AxgQUHhqzPqIY5JxLfJsuBzJY26LG4TgGaAwSpMSE%2bsIHxI0iuBLDSsp073L1S4JpFrYyMslrxqRIGTkeLREJRjxlD6LwCAIwxCjxVGX8jlxnhG8Z0RpJpGgGRYRV4NiJ1fEyqKVJrMpgyKaBCl4hE6aEqeCiEW8o1Uz%2bBAQH9iyilFwZD6hm9do16/ynrc%2bx6nXl9jeiEiTfCqyWMArQq7BBZJ4hAuweOAc73nbZwDDp558D8eWXuHC9klW147zyeXDFEVKKDRBBZRYxJSrdU7bDd9MHps8dyz/TWZEpa9OKN6YAo4jZjxTDZ9Ydeq1Gi%2b%2bfPltn/rMc%2b995OGTv3wzw/ShAwu7AOw0ant%2b7DQ0jz/X/YrBcOeWr3vrJQga6xxKV9TP%2b5ICFhmYCJSr5D61C7xxkKkYgo6q1IMyEkZCQEkHR%2bn0ahpFC%2bGaT8l8YN5bOtqQqJgQdHl%2bAERXkeZSpZIGtAQKPMMisD2KmWt4FhIhc44MwSmgWrEoBMgASyjtXKLYLISuWGItZN7QKwLajbC%2btCU6VcMWHtEBjcF7hxDKfCpfLo7tHYQop14T%2boOIrWGgnlgiBblP6VqhJUNm4y6b0mC7mOPg4iof%2bsALfOzx%2b%2bhtKVQpKCMS8EHTH7TLvlJl0v7G5lGurh7kbfc8SS19jC%2b88EGyPC3rwPgAOKIoq4zVY9vMFPjGW5B9x/dYuKexNHVV6UioWGNlipkOaGWaExPFms2tvnn2%2bbMf/mPf9IFfHo2KPb%2bPtwkAlzd2EaqUsLGD/rXPD77h0Vte4oGDlyCfp2YyIhMBLXC9Mk5M14Bpu1DZEh8E0TVEqcqYWdXnQ5VUkwSvTcUeB%2bSiSYhZMoGLhfDCMOPOeMTBeB6ZcqENCtgpHO24jPILIaLnynp/26PAtV6gkWqG1jEipxbHODzDkJUhUD6noTU2GPpWmIkV1gecC2QmYG3pshqNPOIDIUlII7AVBVNKI7a0SNpQCudBlZ6ZLBeu9zQUllakGNiY1Syg7YD5mmVr1KCbaVQ0ZDiMubJ1lIfufpWN7hy//rETJCabUJD9AepKCf3eDKtrB3j9yn1cWz3GKKtPglBRfopqhTLfGijjF6eBNJYBp0AzdhiMzTtUdG9cY2aiNFYyYBhrw2oXyPvBFQJRFPHUF8581cVL108cWJy/cDM2PAFgd7j7YxoLZ6%2bqk69f7r73B7/zdSQOhKDRRvDBoyIDcQNcgCgqbxOorOMKL4ZRSEgwaKl8rUFTUr4yACAg5AEyLEEETcQsQl15RpFiPcScyj2FzzhoyqqlWitqkSYHfMgZupj1ocUoOKgjmg3HsbZla2h5/krg5DEhkcAoFGR5TuFU6RXxnkg5UikVpURCteJkxAiFKoZlUlSkMaZkuV4gkpI6KRXIRZfj4EOZbqsFT40CQYynKxG9ooEnY%2bAC/Z2CoUsQ16epslL7TeDq6hyryzVM7CaUfRcZfo9yGscZZy8%2bwMWrJ8mGEUmcEfw%2b6rYHBNNfprSOySX7yNb0uWMiGcb%2b8WLqfDVh1Te/vrx3Wks4e371%2bKc%2b8/wHv/Hr3/Mj2zv9PWfPz3Z2PSGHDsjk78hSTM%2btv/9Djz6%2b%2bP5HNkBaiDGIaeG1qQJaolINH7%2bkt%2bXMcKWvNY5iFAXeW8RXUzq4qtGGURDWJWNbcjJS6uMIZmIOKWE2gW6a8qr3vJT3uO57XLFDUJb5JKER1ZhLNMdawvGmohUJiWiEhMgE7jkCOlKs%2bZztIqMfDDs5rPT6jAYjlA0oUfSK0p%2bLh0SpMh3ReZxOKKIILxG5FZQGJVAExdBHeFFEAZTzGBdIKdAm0HOKnmtxbdSinxVkPtAtZui6WYxkGCnoDhOsz1hsbUJwzMwu05rJy5yN8fjLWFPdpS5KgS0SBr3mrltoGmyTYxUV/M0Fvim8VZRuSgYNYyBOe0bGKZ1q7B2Z8pLsvSFQVrLI8sDnv/jGV2WjTBmt2L9NKOChubEnRCGi1Vc%2b8PEv/653/DrtuFVmsSmD1obLK4v89BO38q1vP8eJxY1dX6TNQdVBTOnUrzLxSw9L9RhVAyIIGWtYBlJjiZim15gQ6KucTAkDDJHAvIZRLWHFp6x5jyly0qzLoinTuPNgqEURmkmsLiFALimDyLAgnq4XNlzBwMJQxdhawrYdwHCIKEXXK7xJqUUNjPN4aylUUqaIBkcRqpAlpXEOlHfoUPpc8QoRTxDBSemrjSgINqLpRzifY32BcilaG9LYkQ01WkqLpVjL4YULXFlfYNBPS%2bVlgqux0XgKYwHAo%2bQmPHoPo91vZpnabkoVx5R2mvreBFSTc6ZlwOn77H1YAKLI8NLLl9%2b9srpz2%2bHDC2f22wQnAGzGlVFRDMGt3rrUeP0xk5WhRCaq1Hhx/Ppzx/lnH3mUDzy4zYlkB4bjBvmSwplG9fSSpU38hkGDBHL6bAdNLA0OhkYZOBVKuathIRWPNmBEIxLYCI6uGIKOCTrmjHVczjNS36NGxIGoQSIKrWJihIHrYb0CRhACM8qwXHhyElRaQ6Gx2rDaXaNGTqHrZA5EKQa5YyQGF2lSFXDKMLAeQ0ngjasS0JXHVuDQAk4pvDdQFGgp4%2b5yL9ggtOKC2cY2w1xQPuB06bf2DiwF1zYP8PrrJyiGZQmSPfbhKU4MoFSZPFVmt%2b1D1kSWG%2bNBbgLSfffdj5mJDTCMdd/KFbffLjidOzKOBbsJaAMkScTFKxuHXnn14vtvv/XwmUkb9gPQ%2bipcR2KCO/POrd7mkUaIaTT02OUKKKxLKKxisx8DdUjqIAMoWpTlrIoyckLGsuFYw7IM6LNGRIsZZkMC44gOKvDi0GhqobQ3GUDE06is7k6EflyjG2oMvacbHFsuhwDG5UQIg2DJK5PLSlGQKscwmQEdgQSMBLSOCX6BjLLyfFDCTlCEENEwjtwV5K6M9ujEZRyhdQ4rpS4dnFR9Yqsik0KqLLUoMLIRmSuXT0A5rKqRZRbtHf0swvuc4BWKnNwnfPLJ9/DaqUMkcbbXSrKfIlUa8u6xvQO958JKvgt70Bb26R03uc80fqqk9km41%2bTZU3%2by1064D80AaK0YDAJPPP3a%2b2%2b9denfjPJiMi%2bW3jc3FYwQhhUAA95deOyVcx3uOZSxkHpCNpYKFEcPdBEs//fH7%2badd/dpxI7XLs9z24IjTlJwVZiUrzLuceAdXoSMmMUwS1lvvpIJxyaEIASlQCkaQTMMwohyjY8mHiWaqDSCsCwKpyMMERsmxSLkIWADaNFlzi9CiALboaRQhHySdVx4UEmCEFNkOd5rYhPw4rAS8FpjnRA5hxFLLopAII5BO6E0mQpOysVtxBVljj0COpAoxSgPOC9l5pwr7%2bdwZREm48hsk8898xCvnzpEZPaZKPbjQpcxja4wJeWbZs1vJuZN/z6lHVeDjISw79Kby3G70BqDbvzzWBnZdave%2bPDyZKUUZ95YeZvW%2bsDifGMln4o93U1KMrNAhFH91trm9be/evEQdy9dhCwjBINUEcInj%2b5wbLHL488d4Qd%2bvCCOR2S%2bxj/5718A6YNJKbWUsWFblxq7qxGHQC3Y6vcwpTl7EIOg6eHIdaAVYoZe2KhkwnmElEBPFDaUkYFGyvwRjSIWcAJDqwh4lC4VpFhRxiKiIQRy7yZUwFGaNwKlLBdL6f%2bNJFDo0vY48grnHVp5TKD83ZSWfu/KqgdeFDaYsnCQ5Dgiioqti4RSGPcyTnkminPWdpZ4/fVbsAWIMmXN50oa2QsgKRWSoG4E24RCUYl9pdwYpmzDe6EwfZ1UGm5lkpmQX9kFmN8LxPJjbIqRvb/t2cayYUmao1hz%2bdrGHWvr3YffdvzgR7OiuOFMvNvE%2b00I5%2b/e7m3dY11Kkm/hRw6VRFVjHCbSvOP%2bdVr1nJ96/DZev7LA%2bnaNf/mxO3j8lSUurLbZ7Nd5%2bUqTT7/e4Refm%2bfjrx2gIGLkA5MM%2bspYncmILPLkyjFUDq0DIzyrQEMFZih9vTuiWAeWQ1lCY14KJARaHowXMl8G3eMViVIYAaPAS5WMHsAGj1aKSJUhVYgQRwpjyggXKzFGDOIErCcioHUgqBL0A6cYhhK4Y1elkkBkArHyxKLIitINqHVlpvWK3JfFjzSOZjpg0Fvgi1%2b8m2FPM9PZ5G0PvUq9XuCcmhrOXRLmncY7vWesZf9plEz3pprxDQjcd3HYf2wKcNPYm97GBuk3NcPsbpHRbG4NozfOXn/MlEUeJ1dNKGAUHSw12PDiQ4Nhv5UVMZHkiE4nkS14xcHOiEOzIy6v1/jG9y7zP371M/zlH3snf/ulBzk41%2bfATE6z7tjoJwysoZ8ZDi16Dv/pV7l7tsDbFIvD4MlVn3WtSBF2PNSUYhZHgmIknnVK65OhTNKxQYgkUJOA4GhhOIBwRRyXncE6XQa7UoaJl8EQZXLQmAFFIrjgEFXmkTjKClwxgcEowgkYFfDB4gkYoSqhq3HBI4EyeVMUogqMURQFFM4SfOkPVsqhtGJURKALIgOxshhdcObSLXz6iYe4fLFNrAZ88L3PcODgNqfPn8A7QZkp1LyZeW8adFNKCshNSqyMqdsepP4W2nGYkkHHt5Fd4/aY9E5Y8DSk2HNN2VVlPvXzL55/5L3vuVs5F7zznmNHlnYBWGRnQWpoOfdgloMERdKIkDgqH6BK%2b11i4JaFLb73w6f4vq%2b5yonWNd555yVW%2by1yG3N5PSKsqzJX1wTqMWxsG/6fzy3x/V/pmYkH9F0NEzRaK9rESAjERogFtoNCiSLGk6OwVUi8F0%2bOwVecoYdmUCWdjyiX4rLOUEiZA9cSTV7FCmoJOBypKJR3FCEQqTITzlaJ6OI9sSm9H2UUc1lqwiDElQAynvDKBwof0OJLsEaKPEQ4HN5rmsphElfm2PtAqnr0h20%2b%2b8wDPPvcUXrbMSF47jx%2blbc%2bconPPnuSbreOVkWV3zsFhN9Ekd3NqucGyrf30HT41TTi5CYnVy%2b5X5%2b4QUGa6pDppKZJA8YyY3kvpYVLVzbvUUovzc02r2V5yYanSvQqgh8kyIX7ljcbXNqYQ7QCHcqgg8r46En4tvdu8B2slZfblL/5xz/DodmMf/34W6nFAW0sogTRpbvYEPjY00vUga96YI37DzowZUGisnpJQBPoESgQrIdUCQUwqLwoiYRyeVI0MZ4upZ%2b2LClZ5gh7U1Y0WBvGXFhrcGBuSLNRdo/1BSkeJYYMg6qiiVXV4WP3poiUlEwMRYAslAH8zpdkIwSD%2bBGdKEc0uMKCKKwKpFFRVl6wivXNFt2%2b5vzlOsUIri3PcfbcAuIL0iRnFAy5TTh75RCvnr4F7yp2P6ZON7DFvaM/IXxT5%2b5RnNn3OY0PKvDsCyK4OcUda8D7vu/RhPdfsp8aBqJIs7LeO/HyK5fvPnZ04dooK7jrtql4QFGzBLaOhWL9ru7wIKNMY2JdBhrYqQgIyiwMXEEZVjVLXFN867uX%2bcjzPVa7TerGTbVbyupSLvDa9QZf85brpNGIrSzlcpEw08xJMFigh8eJIUEYBSEXRVEJ1xZFEgKZUwy0w0kJ2r4XVjZieoXCBkd/ELO8lnDqouEb311woGHpUxa0TL0i1RGFwDCURl%2bpIoSFclmvQOmRUQLeaLx3E9kxOFUWfVSKqxsNikJoNnIajRGJ0qytN9na1FxbnuHU6QNsbWj6g6gMiw%2bOyGSl/uUhiR2XVub5uV96J91unUgXN0HQTdAxTkBiKqz0TSnUvlu9KZt9EzI7uaaapJUtZA%2bFftNtLwiN0Wxs9JOt7eF9H/rK45/oD8rc4akSvafBb9yauO6BppnhloPbJDUBK1V9kKmme49YX16tDDDDZ14/xFY/LQtv36Qtxni2ugmbWcSO7/Irrx5CtTxvaebUKJd4iCmDtKwo8lB6N5QIaRASAhZNT0q7XIMy5fyJN2p84tk6pgwIpCjKGWlt4PKq4e4jBQbB4WkEYUE8fZ%2bTY0oPhq9YdCgtSJH40ttEpUQoRR48wohDHVjupjz5cocXnuvQ29HceXyV971nhSe%2beJw3Ttfo9w15VqqzgieObOn8qXzGJVBK%2bhW8ZmOjXYZOTQJS9g1qGB%2bf2mdsFuOm594cGhXFk7Dv6DRzltIicTNcTeP0BpOf3Aj0iX5S7iglFD5w%2bcraPdeurdIfZJw4MhWOpfWtOLd6izCInYuZaw9RfgCuBXFVZWCatJqEoFMEePZCk3/5sVsZFYZm3TJWrieTKEBsAps9ww/9yu0cnj3IxbUW3/E112miyEPpgUjQtFEMq4stpQQwDGXFqkQ8Sgd81ezrO4qXzxoGI2jUS7OCVqGq5wfPnUnoNAruu82V5YEJ5GIZeV%2by1KgsRabweAlQacc%2bFGiloCo8qUURa8/qdsqvfOoYz79cQ3nPKDdcvtbk1JmMq1dTNjcSIuOIjas00pKljoG3O0ChEpMCxpRR4iFww8CHfXvT1c/C/gEPe3b232CMlF2nxUT%2b28eKK1NO6WK98XKqGjR7VeQpW9ANF0x/Ey5c2rhtfWsYaV2m6k3JgAnQO4nxrI9mOXVlHusNJi4NjeUAlsneQsDrWpnWncM//LnbubzeZKZuy4ZPE8ypGZzGjs2tiCvL8xxccCx0chSBAbsKQw70KWsR6BDIJKItgRTHDhpBs90zfPS1BheuR2z3Fa1G2O24ikJoDdYpPvaFFoNiwKP3OlbwrPtAZlJs7gkuEEmJEI0nVkLhyngKE8Y4CWjtGGY1PvLx45w6UyeNLN7CQyev8Y63X2WmndMf1Fi5nlQxfaEE1XQfTCmj4/Eui44rrBWUlEn0by6L7Qp6wj7M7EXIm/w4Dc6boP2m2x4%2bDGNrws3kzDGoA%2bU43KROm4iwut67ZXG%2bPX/o4Mx1mLIDuuJ5FdzVWwmBq6sNXr1yjH5Wo3SDVKl93iI2K3OOKFPzPvNqg1OXOiTRlCTMfuxXrxwgijytusVLwBYKjTCHoLFco1zKoIxpESR4XBUOpBEawM5Q8ctPNvjcSykbOwqjw76%2brKhFCFUomPDCmRrnl2O8CAUGLQoVKRS754QqGkf7MlOv8HqS2I4L5IUwHCg0fpK/ffxoj6OH%2bly%2bNsMrp2aRin2PjT7jd97tAPYoA84p6mmPpaUVkiRHVNg7oDfIb3uYJeMn7R6YQvbNBoGbwG4/KZ3Mjl12vdeC81sAd0JdbziINort7cGhU69fPHrq9YvAFACNnqkFt72ED3QaI6xTZHn1syjEF0jw5aIyJgYsn3%2bjyd/5qXsYZmUq4uQNp//2v3w1KoWFbhGVBdKC0ELRxpEAh1AsEUrNOzh6wDYRp1Zq/KfHO5y9ntCseZJ4umemOn/qcGwCa5uKZ181ZSndACGUlNd5KXOoFKAVuVd4BToKaO2pxZ44UhQ2pm5GfMW7LzEz68hGZfGhzz1zhP/7Pz7IL3/sVnpdjdb7mOZ%2bojMeiwAhCLYQ7r/nFb79w7/EY%2b9%2bGVEa52Ry3Q34kTfZnz7426kQOS2m3%2bwhYf%2bRKXY9/S5v1rg3aYLWisGwaJ69sHXo3KVtYAqAKrq9E3y2hHfctrTCyBqubdbKUHtvwVmCihBlgIwnX0v4qz92H9c3WiSRv1FQnny/USYRBTZXbPQ0fQK6KvyYBMUcgdkARQAfNA3lSSh44rUa/%2bETHS6uxCSRv1F0AW4QpKq%2bVAoS47De4ymQAaxeryielFVgUuVJNESqrJdap6CupJx44hCdcuTAgPe/9RytRk6WawbDiMtXmxUg/T6iVY7CuJ0TyjEBZOnKa9Ry2s0e9548x%2bx8D%2bfG0eVhj5h181G9mX1vdwxulAHGuvO%2b824ktXuvF6bskzf28eRT9uzcsK%2bU0O9nupbopbc9fAswXR9w9PzBUHQX0ILBstWrc62/wEPqYhVgYBBxXF0P/OtfvYvfePE4y5tt6jXLDct87WE7N3ac0pDlMBgIO5RlsZuiiDHUUGzbgm0CdRO42kt46XyLJ16sM8oU9dTv69K9%2b9MdOsa/UoFD8znNSHFhLeLzz6ds9OCbvmyHTieQWV/ms0rA%2bdJobVRZI1VJmSgegsJaw8k7ujQbZ3j8ySNcvNImjstilLsTrnrodOP2TMJy33thdmaLZnPAsGhwfWWefGQmeSH7z9/Tr/v3J%2bfdjN/v396ENYUptL0Jm52A/QYhdMrus2fC7AWiEqGfW/LCH5ubbWio0nXKu/cWvM9qBIejDFAxEaU0j4YoBzb59584wg//4iNc32iXi8Hc8DJ7Nb%2bpujm7/USpAV5crrMZIuqiUN4TgiV4z7rkHDKai2dq/NuPLvDxp9vYQpHGVXEekX3U4eZdPnbKawk8e6rBz366zS8/OcNzF2qsbMds9kv7o3WBDMETaBnLQlT6Lws83kAUC7kN5aI2NubIwSFf84EznDjSJc/1bgMIuxywevE9dbun8FHkmgML17n75Hl6wyV%2b/ROPsbbSLLXi8aDdzK22H9BT54ns6RL2gmmKNsve728isd/k2M3OGf/dXO6bnokigtaaM2cuH/rkp55twnRJKV%2bbCflO7PsDbp29yC1LK1DkkA0hztjsav7xTz/IT336bhY7GY20mLQj%2bCmkwS7/HXfWfjMEYHTg7PkGr15ukOFxAZq%2b9Mm2tcO5wGdPNTl/LSU2Dq2nXnc/m/8tuk8EVrZinnsjYWMbmmm5CtHGdhlmpQpLE1uWwqMsUJ57qtIUZeiSIVAU4FxgNDLMdQre%2bdYr1OoeZ3c7e0yApyNS9o5VJZArz/WVg7z0yu3keUS9NkTrHOcMzukbzTLjA3vEsKlje1lA1ZybUbr9B/Zdc8N%2b2cl7bv9mVPnNhL/xb1Vt6WHm29aVebwTANr82kKwA%2bky4p7bLvLl951maAX0MleuB/7qj72Hf/Az72ZnUCPSbjfEbEyO97zLbpW%2bMQD3AMWD1oF%2bV/HK602uuIBSigaaNChmAuQyoBa70j%2b7r6sCuywvhCqccN/r7uI/IArSFOppwKgAUioj564YrIV2GgiFJh8qnGi2vcfZHAqPzQKjTLAuYH2o5HdHYYX5mT6dVoZ1as/kuDkD220PIWCMpdub4TOfe5CLFxvMzW5w370vcdfJ15md30BrW5VV%2b022N%2bGme3WRN1EOxqLRHpDehOLuOX4TcN5w432sad9mncc63bnr9iMtmAKguGwpMGJNe3IC7zxxhno946NPPsL3/JMP82ufP0mnkZFGtspJYHpCToA33i/7ebzjb06tBDa3DVu2tP3t6IJcwEjCjDa06vkk72laxgrVs/YM%2bhiIFfVxHow42vWinA7jpoWAtyUQz15KeeNcgkSaJ95o8dHH60gWSKNS/BgMHcurhmzkS%2b%2bPBESPA1EFHQXqDctkeYk9Dd03ZpOo8rGtrGxnHA1xhWdttcP6xgGazR6LC5vkeTSlkLCb%2b7M/0G/fg%2bTGQ3sPyP79m4Fr/P03Aed%2bSnjTbb8cWGrCO9s7s5cuX5uDaUO0zeZy6bFuE%2bYHhgcPvMEPP/V1/NQTj7LVq5MmZfh6EhUszvS4ttHBBYP2fooSVoXSbph9Y2TIZFcCGO1Z30hY30rYWhqx7gM1EWZEkFGdK5spSsbnj0dtzHz2Cb5hV%2bIJlGCMtENJmfOry5ZVFfPLOxQ57PTLilRr68ILZxp0h4bFhYyH7t2mkwyIlMVmBRKVMoByHh8CyoD2juB9NRWm27bbkF2qt%2b%2b4E5I0I8tadHuzDIY1rl0%2bRJFp6o0hJ%2b94llExw/lzt6HlxuI%2bwlS86M044g07NwFLoEzrHAuq4ebnjb06Vc/eeJMbFJeba%2byE0ifc7Q%2bbX3zpYvubvu7duxQwhI20r0dsjVIKrfF4Pvnc7VxcnaOZ9nnHXef5svvPMswNK1utMvF8irKFPT6n3ZeeBElWFGAsGwVKOXBj0/C55%2bbZtIoYh4SMGMdLK/DCtZSkMjSX14XxkrcT3%2bqYyoYQdilgdWyUC9u9qWK%2bPkwmrUiZNTAcela7mmurMR7F6Ut1PvX0HB/75DyDIuHI0iZHWhltgcW2JY4t9cSS6Izr1xNWllPUuI1TXTDZZx/4xpRbIEkyclvn6aceJJEN3vOuJ7EhZXl5gfbsJiduuVQWJr0ZMN7M5HcDW546MM1B3ozABbiR7ew7Zzyge%2bSwm23j41M1CgEXJIqTNIEpCliwnWzaQCJDCmdopfDWO64wN5fzp778Gb7skav81Kcf4aPP3kUIFqNDlZNS5U/d4EQf97pMwBlCuUL6rmhY1jY9fbbOhYdSTh7UdHy5hELXBpwtw8EmGf8eUGXGVghUAkT1nMrgNnEThYAPgqsyyEouWYJ2AkgHtQROX2xw8Uq5grlSZQDqxasNHn9qkbfdM%2bK22YwkVVVSAqzvNHnl1YO89Noig6HBKF8pWnsHmlBNwOnx8FAUhoWFa0SRcP3KAQRPFFmOHFsGpTl37gg7vSXW1lt4GybVs8Y3vwFfY5q%2bT3OZTP7xOWMiXU3ScIOTevqm43eZTl%2bakPS950xe7k22qchp5z1GR/G9dx6PYQqA2247GbqAF8i9ol4LfP83f4KkpugseiDh9NU5QhC0eMZ60Z6ojOmXHQu5UxR6PKFkTBGVYExgMNCcv1Zn%2beAqcyqwNTR88rUZlFYEV0WRTKUZjPMYxuVzA%2bNO2X2OUN5fAFuEiTdxIqr5qqpo7Ll0vUFeCElcUkijA4UVXny1xZlzJ3norlXe/a4VBiPP088c5fmX5uh2NXg/UchCGMukUyCEPRwreLCFot3aolYv2NmeATxx7Lly7QSdUxscv32DwdCwuTZHv18jqQ3Jh9FecW1PX0/tTwF1curkWLkjlfzub8Dd9M1k7/E9QN0Lzn1Pu8m2TwkSIS9CMhjaGkwBcOCpquwFnPL06bOgNEo64JuMhhGXVls3Ak4quW8CrlBSZzUG4W6OaXl86h0Ck0ScC1dT7MOeIgj/5rPznFpu8LWPrfDUi23WtlOSxJeh3b5MPhKpKMO08avqu3FIk60iOsYiznTsZOGgUfcsdHLqaZdry4aNTYPRlURXhd%2bvrieMeoHehuHTzx3hpZfaZBllJts4hGoiCrCXxU33ky/veejQCrWG5/KlQ4z6CqPLaJjCCeurCwzyea5fncfmcPKOZxFT47lnH8bIeO2NcUbbmLrewHMnD91jLw7TX6aOTe9MZMEbgVWO5NTzwpiK7EP%2bnitutA1KxRGdLynU7lpx0spN2C0T6zPP2nUQnbHYNpxbnuPc9RniaMrnO/6cyqraO38qEIa9330ow6zG1DAynnPn63z%2bpUWeLyw/89w8996a8WUPbqHE8nOfPIR3Jf9QWiZ95CsgwpRxuuqfag0aXOFxFnQse0Sa4AK1BjgiHr5zm8IpfuHjC1gLSqo1NVWgUStY3mrz0786z6WrKbG2JHFZDWsXbOP39BOw7QruVVt9KfOJiblyeYZ8yG4oFqCVo9erc%2bKWl4l1n9nGBd7%2byBe4tHw3L7/8AHakyjp/Nwx0uMnuzUjluC3l/sSVOS20jhs7YVfT4za%2bx1iIfzP2vQ90EwJRHvceksjkM53aEKYA6Hw9C76Mt8sKhRvGeOvJd0awYnn%2b9ftZ3W5Qi23F4qrEZx9QqjIyVi8wYbPjd6neYf%2bx8QxVKhAK4acfXyBQhkjVa54hEQ%2bfHPHiawPOLjdIk4D3pUV9HHMwZrdBwh6hvJyg5YPKYFXBOaqIrYDWsDPQ/MJvzDN4zHHb0U067TZXrqQ0Gg5dUXCtA5dXGjgLaWInxYimicbEFTc93tP6mA8ErxgM6/R6DTQWrf1EISsKTae5xu13ncWbJp32NR6%2b/wW8xLQam8zO7HDt8kwZ3Dq%2b7T6DYwggqkyMCmPKfzPiOJkwvxnb3NOJY%2bhOXTP9cuNjv5kRepf1aK3wuPzC5ZVszy8izdHYzpVngDbELU3c0DgSnj9/kKLQpQ1wuqOnSXu48W%2baUu959/GxahBEAs6WPlKjYKenGBYwGw%2bp110ZJUJ5vnehXDl0GuDs2gEnn7akjElSigbOlfbBMYCcg60dw0c/vcDKRsKH3n2dtz%2b0jjGB4VBP2q%2bVJ9KesbYd/PT7jjXrMNHyCWMKI%2bAC1kakcY/773uN2fk%2boyzBjb2goczwS2qWCxdO8smPvYfVqx3arT6Xl%2b/kiS%2b8m9HQoJXb88xdkExhwI/zdd/kvIry7V5TkYHx/p5rdqn3HqUjlKsSiEw/eP92c/YLVWkT74vrK2t7A1KLgq26hgYQck9QFp02SEOgT42L67Oo6UZRKSBVR09iEMOENk4oYflZRrwQqtp1FQjHMqBQsr5ywAOr64bPPDOPsrOcuVwnifzuiqJSUp2xHUzGS1ZN2QRLg3OZjTXKFd4GIiyFE4Z5KdRr5UmMY6cX8/hTC3zLhy5yy7Eur5ze4TNPLbGylpYix/SYTGOvon7jAyVnqt7dlxOgsAlGD3n07c/z8MNneeX1LZ555g62NpvYvAzwSNOM7a0ONtfU0x6r68d54unH8LR548xduMyXuSi7uGAyEFNjEcaFoghlMckb2GpFOaeJyPQs3ufAn4gR4/v4coaFsUzxpgC8ORCF0u/eaqb9h%2b85srMHgLlVK7E3tLIINxByFTAdaLQdp643OLc8R2TcpNGBMmO/KqUMY1VDAC8VS9yV/wL7WHD1OdbuxmaVsRxsc/jk59q4IMSRx5jqWdU7iVCWkxHKZ8Gktk6YUvF8xYbzXHHH4T4Pntzh4nJClmvOX2my043QGtbWI1Y3Yg7M9bnrxDb1OOdjnzrE8moDo8fG5t0BD27XgDuh6BMKU5qQAoF2Z4uH7nuF%2b%2b67wrAfc%2bfx12k1N3nq6Qe5dGERCFgb422ZHmCigm5vjk8%2b/iFq6QjxRRkPsodq7dv2T4w9xGl6gkyz0f032H%2bzMPW8MKU2V2zrhqDCMLU/fXxaCxac87Tb7c3jRw%2buwxQLnpu5e3XoDN1Rg6yb4grNaCdHhYznLx9ieatJPAbgNMkeo2ds5J1QcsVkceewmzC9ayje%2b85%2b/F6U9rkQqiTQypvhp2Tfyd944McT1QW8C3sm7dgAriVwbbPO0MZ81Xs3%2bGMfWuEDjy4TRZbRUNHrlwCMIs9goFma63L7LTv4KWo9zd6NzhH8hOUC1arqkBUxUZLznnc9y4e/9lPcd/Iy%2bRBC8Gz2F3nhpXu5emWxfG%2bvCE5XbK3kJlqXSezZqCyJYqKsnOyTvp2awYS9eh5j09gUK56AMEydMX2PqXMmYzJFKYIH3LiTdzt9egBvYLsy9bn7p41G8Nsvn17uwZ6sOLspYgqJQ%2bQkYrjjSeZ6ZMR86vU7KApNPSoXl55QwVCZNiYjJJRl/JlwQ6oBlPHUDFKdFsALXlHWfq7eb3y/4JhovONEmrD/Hcfb9PrL%2b7gOlM/WOtAfKH7lUwtcvFLn3Y%2bscv%2bdWxht%2bfwLC5w%2b1%2bYLL8xzfGmT2c6QwoF1GucU0Zj9VdQ0eIgSi3dRxQnKn4q8jLpO4z6Pvf0F7r//IjYT8mG1mJjEfP7Fh3j5xSNosQi%2boiyVbDkGVijFEWXKOjau0KVyERSEqTK3E%2bwEdvG062qcPi/sB8z0tdMgDLBHwJ7cfzzGTM3%2b8bbPDsZNfqp%2bVaJIE9nRkg1gCoA%2bd%2bvdfGYwk2SdVBts4akvdHlu%2bz4%2b/8YtJLqYtG8iyI5X3an2xx0wNjQHJbuxZ17wUkXZV4M41lrLalbl5NKyux9gtxRdKD/3vHb1%2bHEfjcuV7KGAUxcYHTDieO7lBmvrig9/KOP2Y12WFgc88/IiH//UEh//1BJf/WVXmFvMODDXJVJz2EJhlK9ceeX7DoYJwZdxfcGXkdO33X6JI4fWmW9vsrS4SdY3FAUEZ8tCRT4jVV3Gqx3tDvC%2bhgLeqeoc8N7gnZAkvZJdu6kBH09sJnRt95577E67P0yUppuB7IYAxrB3fwzAPWUZuMk%2buwL7%2bKcgWOu44/Yj17/yyx7uwhQLXpx7%2bPpWvrTeK7rUU8vMUsG1VPgXn3k/6xttElNM2OeE7Uwo4VRGP%2bPZGPa8054JN2anYR/b9uBt2L2N3b2HDxMZeNenPM2Kq3tPWPXUn/fVcVdq2WniuHQ14Wd/9Sgvn24R65x3PnSNb/uaN6g3PL/0yVt44vOHOXFknbc9dBVbSEkUJtQfQigz2Y4dWaXd6jI71%2bXRR0/x8IPnWFrYIs8EVwTw5ULZtgDjRpy87TQzM91SRvRgrSEvDFmeUBQxeZGQZzFx3Ecbi3caCY4DCxeZmV0rFTUnk5eeziPeA779VG0KTLL/iv2AnAjmN5FzmDKA7p0z%2b4A4za7K/RAgiQ1ac2l5vW9higKuda9uzcVuxZniNms8MzXLk5eP8uwrdxObcTRGRWLDmGRVbZvyMJSLE04Z6aZJ1ISCTtmpfOVTDlItdxAoM0BLVi2VcD9mddMpqRNqPH5HtatV7%2bEQU31bWIXzisMHdhiMIj7xuYMcWthmbqbgvjs3uOOY4/S5Di%2bdXuDK1VuJ04JWc8RwEO96gUIgzwwnjpbLLAxHiqww1E3OzlYCNkdCCTwkoEK5pnBA0ah3uf/e13jmC/cyHBiOHz7N4cPXWF%2bbJRsmFM6Q6B3ShuXsuXvwXhOZESeOv0ruWqyvHIYQyrqEMu0U8FU/Tc/om7CBPR3Cvt93329XTh8Lv9UM3n/tDVx3P/iY7PsQaNRTN8r88hefu8Rb7jsxBZ2wOhjZ48ufeO3Rsqijzzl98Vb63VbpdhqDbWLlH7ej3JmOit6dibssIIyrCvmwt0rAFHUrZb1Qaa7ldb5ag4NpyrafAvpKcanyp8Zy8oRT7KOIhEBvkKKVsLMd8/LpOQoL2QhCUNx1%2byZf%2bZ4zzM0Nef30HL5aliFMDU7woMRhlGWmM2BxcQsfyURMGAfJ%2buDLKqrGo2LNMy%2b%2bkxdfvBtrFXNzazRnRmRFAx1BFAUW5ldpzw64vnyCUT9Cq3IVgfXeHCsbB7FOo42lVtsioMmyGnlFPcsHCsGP/Z27YyRT3/crMbtjdZPfxx08ERkmA3UTAN/c9jc2jzgPaWIGhw82rh9aSoEpCrjYecRtbF%2b8MNi2FCNN3rBc3ljCFRoxGZPggzA1GBUVUmPCSCjbKb7siHEwX5CJbFZaKaYAHKQCSpicMBbqpfJ6lFQvjJegKys0jGXFqck2NstMd8Mep3v1TEWg3zf0uoHIWD779BGsFd7ywBVUEAqrSeKMAwtdvD9I4QLOle3UqpR9lPIsr7RZ2aqxtLiDLRIMniAFQ6fKmpvaI1KuWYcJZFLjypUFVlfaNNIuszPbnHnjPnY2Yjozm0RmRFhZZHt7DnEFxhQEr6nVuvR25llfP4qogChPo73M3MxF5hqXGBV1rq7cRb%2b3gDZ9lDiyUQdnFUpytMr3AW6CNHblo/2ArCheVTp5ogGHfXbR8Zcx297DdqegKIItPDOd%2bvKXv/%2b%2bS0cOzuwFYLt1mIXOgVOHOs%2bgMqHfj1jbnqkoWmk8Lu/pd6O4JwhgogSPoy0m0kaoolYmRE0m9sAxC56wdXxVtrSyMYpU4VflHB6/33gJg0mpkArYTEW8TE/s6f4Zg788T9Gq9QgIn3ryCM20y/13bZSKRYBm0uOdj1zgc184gcsLlHbkeYxSHqU8w1GNLzxzF4%2b97VU69R4uC3jvMMojyuO8Jyihpod0%2by2eeeEtbK0nGO2Z6azzjkeeZH5mjWJkmZvrcmnlMJvr82SjCCU5tihL49nckI/isli/KqlRnje4445neOTOT2NzeP3SO/js578Lbz3BWLTuMjd7mW7/IP3uLAqPUjlasgkRgaqPJWcS5UFZ0yaMQThhe/vZys22m7Hf6riU6%2b/NzTXOXV/tr25sZLzlwanqWBevfwrnhucePHDNNqVn1rZnuHb9MErcrnZbyVmlnFcK0eP6hJMBrj5LD8UUCEIooweqoup7SgtXQBQJU0XXKxBO0FPdVslkuQoqU85%2bVf8GEWfcZdMiQvXfIEuppQXBBZ578RDHj2xRiwuyXNGsjXjwnktsbWt6O0KjkfHCS7eSj0LlGtOcfv0wtx%2b9yLGHrtITUwY%2baEdRgM9KtlWr5bx27gTPP3MnkQyQ4Dhy6AoLc6vMdDZY2Vjic597D9eXl5BgiU0XpcsI9LxIcFkLj8LmglIeHVl2tg7x7Etfh80TDi2%2bgVcK5wP93hKHDj3Dffd%2bgvnFN%2bhuH%2bTipYdZ2ThOt3uA0bCJiMPoUZkC6gWlMwgBbxPAIWaIOI2f1IEJ5WD6feC7mUlsn%2bF5bxVV4cjBzvlsOMg3hwUwBcBO6y5G8ew5F//nNeNHBws7h8uiyeiNvQ1jJUMmNg8IlIniJdsNExfbtLISQuUp8eWPE%2bVKyWQhGx/K9RnDdATmGGAyfvcqLAupxJIwYcl7FvwM%2b3YC40XGJ9%2bFMsOt34to1YdsbKV85qljfNljZ4iMJSsUo0Jx/wMX6W3H7PRatDsZRTRibm7E2XNLaO04c/4ocR0SPWJxYYON7QZid5hpbdJpO1zQrK7OokKB94pWfZUHTj6Hci2%2b%2bOLDHDnwKocPXeTi%2baNo8Xhp4b1CqyG3HnmBnd4hBkPh1tteLZUZK1y9di/b2/NcunoLBw%2b8ysHFV7j3zk9y/epR3vXQTzI/e5VhnlCffYOlzmmGo5TN7UUuXX%2bQ5ZWT7PQOktuESA3xtlYK0WO7llMEycoE7slKTFMC9YTk3Ezmqz6nIkOkGnYlwm23LL36wL0nGGWlPXMCwCTqEFR8ccfcfqaxffGgBAfaVsLr2OVUgWVCaSdC2cQOV1K5ULFWVVEtJjMpBBAddq/xpZdjvDh86RcuFxEMU%2b8hunxAKedNhM4JmqaM/OXHtAw%2b3pmifmPzhYTS91wUEcHDCy8fxjrhvY%2b%2bTrM2ZDjUzJgRcwcUH3npNq4vN2gkipW1GkLAaM/5Cwc5e%2b4QzcaQhfkum5t1vLXcc%2btFHrj3Gmevd1hemUXrAhXKCvmnTj/I2x88y5VLJ5hNz/Dw3c9y7twdrK10qjaX79RsdXF06A1n2NlZwllDs75OFA8RP8Owu8iFS4/ggnD84Bd46PZfIDZ9/DDGWIUjJXeeREYszr7B7MxZesfbLK/fxRvn30d36zBKxn5mgaCwrkUcXSZurjDqHcLlCgkOZKwFTyk5NyeDu1sQUGUk0kynVgTcK5/87Cny3PKd3/zotCdkhcjUB6Zx%2b8u9jcffo3WOibKJ4XXizhg7/n2Aqgp8QKqsMdm10kzYbilVqHGx8MmtShCVXp7SfDBm58FXsk5lO5pQN1UFNJYaChP7zxh0474IU4xivxJSDu3uO1XHbFWTRSnPiy8dot/TvOOR8xxc2uRQY%2bf/3957B1uW3Pd9n%2b4Tbnj5TY77Ju7ObJoNsxlxSQRqSYACaRCmYJC2ADGYtGhWqSyalFWUTIq2XCZVJZplkSqZokgzFClmAitkArvE5p1NszuzM7OT08v33pO623909zl975tdLAACBEh3zZ137kn3nNPf8/3F/jWz7YQ/qmJbhsOk1l3k3CAShRDQW01Znt%2bIEBqlJI8tj3Pk5f30VmPiqCSOC4yS9LNxzp7dxFtue5G86vLMc3cx1n2SzdvPsLjYpRrESKkwOuHIC/fbKWGN4fLKOABXzFZimZOmPZZXN/Ls8%2b8my9ucmLmZTbMnmR4/zfb1RxhvX6YoEyKjUSom13aevHa0yu5Nn2dy7DhPPPNRFuZ30k6vgrB%2bxyQ%2bzczMl%2bhnezDe3TOUfOBZMTQ6CLaJoE%2bs/lcWig3bJs48%2bNYbXly3bpwsHynR221NkiRjTI5veWZRd9nUWWXbzCWOnrx%2b2Orx%2bphnQoRlOG2BYbOOw2wXU78IdbKAA1M9j7LX/7zodrmFwlVo8k4EoYyzhh3QfQrOyMs4pP6FFDjKmKEx5Kx4KQxprDj%2b6gbOnJvh0M0nkLcY8okuRRGTZyCMtA7txBBJbaWWihFGkbZKjLH5hlrB6pJEisrpoNZKkrJkZnKVC/ObyXLJytUdfP6xlM5Yz6oGUtfXFEs3j7CwY4nrZ%2b90ijgtqErBxukjlMzw4qtvR5Lzwth93Hrj77Bl%2bihKS4yByChkpdFKoukylV5k786/4CT30csnmR57jonOKQplWFm5gZWFvUgxT7t7iqI3i6r8Sz4aCw6AN7RG1CBUCrZsmnxRGc5dme%2bjlB4G4HLvJJFs0Y7Hn9Xpun4avdo9NPcCn3vuXrSW9dseOp0xDashHTM53apR/wTCJQgQuRuIBEY5MevOI4xZU/fQCGt0eAPIuOqdxoHUW8P%2btjUiVD2oJ3SpjaHmoYXRE8/UzXpDmpQUWcQTT8zx8ivbkKLg4M5XOPRQn5XVFmfOb%2bDo6S2srqZEVIyPrdAftBlkCe24IIpsvRmZ6Cb64yyzdlpy7OxeXr2wB1Xae7t8YQMiWgfKOBVEYJSox640kQ97nUpFCEqEipEmY%2buOF7mydCOry7NEMmN%2bYQ/HXn2A6%2b58ntIk9KuU2JQk0k4OZEyFKSN2b3iUWAx47tj7WV7ei1Yx/WwT/dV1RKLnElwLovYSqj9hcw5H69dcs/mUCKdqIbh%2b/6anO%2b2oWloe1PWEagCOtbcjZUKaTD5/rrv96Gp%2b4rZdG15jvNujt9KhFWtXv851qtBeuXPWsHDl%2bN3Pa2fR2v5sStAG2NCqSV8a0tWcddsYMo0v0N2b3VW6OsmB7luz9EiHNcgLreBghbEMGPook0ihleDyxQ6tRFBu77Bn7xm2zCyi8ld45ug2Llzp0JLL3LnnAnl/nOdPz3L0zEYuLmzk0vwYwggE2tWJNmhjB1oJFJWKkKZCukFeqojt/O/a17AqQdrQW0P0tg8mJs5RFGPk%2bRhxIjh94W6ywQRRnIMRdFvzjI/NY1qSVBUs5GNUxHTEKqsmYSFbT1suMkHGlaU99HuzSJMzGMwiyYhEH4y1AfL%2bLmS8jIgzqAyYFqNsN4I9akNECKrKMD6eqn17Nj6aJDGdTqveNUjJL1C6RMadxYnx/Y9nq5%2b77bqJM1w3e5anFw7QSt0gnNJbG1An6DlnspDW0gkVfZ%2beaguRaqs3aieNtEdiw37CWbum9vU11rxxQJSeLX181rOmo91ax/RsWYNNOFAOD9ipmXEkudTpB7RbCmNivvj49bz86lY2blhl3ewiragiTiq2rV9h6/qCie4Vdu%2b9yNRzK1y8eJ7jZ7Zy%2bvy0jftKQVUJOkkPhGC1P0k7XiESFVnRQqCJ2873JzT5IGa8fZV2p2Jhcb0DsB2zg6xotXPKaoIo1iBjeqvrERTICMoiYdumx9k/9yzHT72Dja0XuG76GPPlOEtFm1cuvpPXTt3DZPs4N%2b/8f5nb8DAXL%2b9ndXkjSbQEVEHgvQJdYkyEEAVaKoTIESrB6LgxCOvn24gw4eYRKUrFzm1TJ6/bMf1kb3XANafqGmtvAgyRjNkyvfPRl14b%2b%2bjGqQF37XqSp08cRGuBxJWniN00QEpBHFlDBa%2bbuUTU2kp1xkVpK%2beLlrU07FBLG5YTxtQMqV3mSxMBwemB1HPjabfckJtYM32a8apA8Gh8BQMTgpAQicGiHlmhNbHUXLo8zvnzkwix2frJNHTbN7J%2buk%2bSVta/hmJ2cgGRaCYnV5GqZNO6y6SpIusJlOlw7EzEuomzbJ1d4vz8OhZWxqyhkCdsmjjH9TecIEng1OU5FhbFkJdECMnCwg7rpHdDBaR02UraEEUZi/0dfOHJD7M4v4l1Y89zz8E/JkpXObs4x6mTb6NYGePC0npa4iqH9v4ae3f8Z1468fdRpbTKK4VlCK2BAlNpoIMUfUS0hNbrGG5Duk%2bNAeEYcP/ejU/OTHfPlZVCRM2%2bTX3AwRUApExJOzsfjVtbLi8vndvw1hu%2bxF%2b8%2bA7Ond9MpzWwijo2LckoY52ZkSegYKop7%2bsL4sFCWplc64c6oBpvgOiGtYYMGndgjW1Dk57lmDJkOC9HQ1A24jncL2C7%2blIbBTEMiWIgjSs7WN591waKQnDy7IRb570G24kjW0cnFhVLq7OkccnS6jjCFFy//SWmOwOOnLqRlZUWVRmRZ4K3H/gkB/fP8/jJWzn12nqWFsfsHCJxVUeSkLIhnvp6nakm7JiNQW8GrQRptMri6nX8xeP/iEhWdu7ICpJ0hVhLLly%2bi6PpOdZPP8PWDZ/k/JV7qPodywSmsh8vSoyECIx2cwEKP8d0AMDQFhGWo5I44sYbtny2022baiWzGd6jAGwsSEXS2fby1NTcX504tfTQni3L3LT9ZU6f3%2bb2i6i0HZQtcQyGdvqeQEfS2SkueuzHiEQu9OF0Q2O8l9CLTWdQeFeOMHXMWzhwGQf82rnuOkFIv2%2bTyoXXDUMdMOgsjGfCa2x36sOQKPZg1cEL5K4qkppOK6x2b2qDDANKCRYXxqwzVmoELU5duI54y3kqFZHlKZGsmJxcokjX8akXbub5Y1uIZEGaFsjUdZAGrW02TxzlGCMpVYuYAoFy12yzz6WsnBpiiKQtvJmkSxRqwgXvDULYKYKOn3kfr51/K%2b32OYRPDEY7AAbefVFh9DiYFK5Rr8ajz0LJit8812zdNHX5xhu2fiYblGg1rJQ3AKzHNyiiZKqanLrxU8Y881DRhwPTr/Bw8oBlOAFj4wPyQWTHqnq5oK2yjQAjZWAJu25SGvyU7b6TcO4X36P2AgIQup2lnzHSA0sMW%2bNBTUd/juFm/L96t7rch78e8XrAczzqr9kTdsDuIUiHGZT6RFFkJ2L055xfmuXS1XWkUWnT3aTCRC0eefE2tKoY6/acu8XpvUBVSSbHLzIzdYWz8zuZGruAqGIuLmylKlIQFanMkRifaA3GUKmE6c4xbtr3BZ545bsZrKa2K4wFoTCGspikzMeQ9BHkICqs4zm0eIVdZ2L7qUVKqANSK%2b1CCIqi4sYDW/5qz64NL2kNUUh/IQCNyoP%2bXGFs4vrPTLe7i33Vn9636SQznWWWVibQCG7eeozxuM%2bnn7ydjszsRXoLuDYM7FxrNRP6HL86/8/lrhk/xK/BTZ3Vb5pj7KLjHSkaP7Q3SMIHoA112nbgbEZ4FrX7Cm/1ImoDpCFJL3YaFaJeDIDVuFiaF2QYuE2meHiTsSyJEnutqgAiaUVmnCH8jAPBBdnAkqSoYjZNn2SytcB1Uy%2byd%2bZVTs7v5MLKehQVV3vXcfy1Qxij8ClYlYbtU0%2bya%2bZFnkvfRc%2b0iRyVW124QkgnbrWfw9lnwpjwQhgWK2L44yWY6wcrfiV3HNrxcLudquWVAaMtEMEBGRpN2t313PTk7kcWF86%2bd9vsRQ5ufYXPPH8XAsHM5Dz3H3icR1%2b8EZXHdpp6gzVCvCgc0kmdpao8UK3Ytrdlhi3dGkA0sVvhVTcHrCA27Q%2bqXTb18/KOveCP9r/ZTHNlQtDU9x%2bAJQBdCM6hUhz1eur9h9LWhhjRnTYwcuoxtvWUEfZTVDFKSVrxAImdffPAlmd527bPM06FRiNNyczMM7B%2bwOnqOv78%2bVuolCQWJRa4kjRaYtvkMcbiVZIkR1UJSdpjONPZW70%2b5WpE/F6ziddZtv2SZYod22Yu3Hnbzo9rrYkjyWgLyrM1N661hqhbjm%2b880%2bUaNFmiTt2Pk2SVBQqQWUpN255kd07j5NVadMLPjmgLu/lAOZk1nBpNdPkADqdaUjs%2bX1rMdfsb5QtGOkzqP1ouDr13sWXjXbJrsH5fe7h0DUE/RBmIPnfNUEf1Tn/urnteoeA7Wqm9R/C8zVINJ4p604UlFVKXgm2zbzELXOPgxDMr06zZ/3jfMfNH2emk6PKCFXF9LOEQZ6ynG/g0ZPfztkrmy34BCA0ysTMdM%2bweeIcZZ4ynl4kTZad5yJIrwpBGBofQ0r0COCEsqJ61A0jJEJEFIXmjlt2fHJu57qXjdEkiRz6QMCAcTI2jMwoZWrjfZ9ovfYn5yr11NaNU5eJo4rpqUUO7zrCBlbZMHsZLaJGacWlFPgcQPxztk5CETmKC/1%2bBvufwIX3RHCbw5PjGYELx2Fz17RGSBdeqXXKQNrVF%2bC/m4AtISw81lxrc4xlTWqLY41%2bGOiGzXrjsTZ8IQGYQ2SGbjQBZGXCVPcMb9//eQ5tPsJUJ%2bNPJ7%2bD507u5P79X2Bz0mN5uQtCoSvr%2bko6FSd6e3nh9CGK1YQ0zh0J2Il%2bOumyLU08qLh3628xlnw7R46/3RkvGuPz/bRnvorh1KJrNYkRfaBCmFagClp/WlkqJsfb%2bvZbtv/BxYvLZrWXrznDjq0bAgDG48NbhWR8cs%2bx2albHi6W/uojmYjJTItD217g7Tu/hBjAdGsZhK6tQtsLgnpik9qScJ2ifXkwJ54c%2bOpOcNZvLZJD/Hj3iVvpJa4Q2k0l24BEeIey34n6Etx1%2bHtsRG09hnlEXFo2NoGR4td7oAWiOJTVQ79by4E15/aPSBtJ3u8yOX6CD971W9y%2b8TWy1RhRCN6z72Hesh2EUAyyDlJXKAymUiAkg37ERnOSe%2bf%2bmCdO3c/i0mZiMpe9XbJ14hXSSNPPIrqtJdpxbrURH%2bKraT8EYMh8voOCtwXAJITWoHDsZ%2bSA/qrkzlu3P/f2tx34TLeTMl1eG9A1ALP%2bxeEtxhAn40yuu/N35hd/678%2buzKVVCpmYXWaK1cn2btugbn1Z0mTHF0JROyoQhvrFkHUFQqE6wKv23kNrHYUu/uqy6cZmtCbGLrlpl8daoWxk0wjJT5repT5hp5lyIhrcivddZvAUvbA0sOnGNY3/b4NoOv1OmBSoDFP/S4CpQxxMmDrumM8cP0j3Dx7nv5ql6yEVFT0VYeqqphilV4lSGJAGbQwKKOoCkPLZNy/4b%2bwe%2bIZvnji2zg%2bf5DV3iY2tJ5j38zTmNImEJdlC0yBFAXGaCe5vN6n3iT72R4VJsHgfIFeiY8uY8wkUrS5586dv611dfXS5f5wF7i2Y8tsA8DO2Oa1PyNjZre94zP9i7f8lSwvP9COM85c2cIjZ29h//pX2bP%2bNNMTCyxcniWK8yZD2luUxuCK%2bIFxNQSFnXXTR02s6HS35BNUfecJe2NGmDps5w2VMCXQGmtmGKnAMAD1tbe5Zk/vXULWUBo6rD5XI2KHRbFploNVjX4YLAfMnFUpN29%2bnPtueAyZaG6ZOUoxSNHaVnPQRpOqFVKhqZQglgYhIspcIWJrkEXSVmgo8haz6gLv3vkbHJm5myOn7%2bbQzMeZbi%2bTFS20MURAt3OFKMowBQiXnNAYHteY%2b6VBxMhX349e6oGgzaAv2bVj5ux3vvfW3x7vdomjmOEskaY1seDqGo5FURLF4/2pTQ/%2b9vqjf/xAO%2bmxtDzDw8fu4537HmXL%2bAVmp65y%2bcIGUtPUTLXs55RcTSNP6xRtu1/tDvHWrzM0DDambDvS6ZbeD1i77rzZTw3kxvQOqSn8HqxiWEI7jna6eMBSQbWpa9ZWGTGRh/Dldb7mBHZRW/ZXxFTGsG/LUR7Y/jSr1TSKDqKtSJQhKjXaCCJToSpNoex0EWhlRWglkIkhHk/QlaZcKcnLFpHU3DzxBNcfeAqhSoq8bec4FYZSKVYGHYqqQ2JWGsZ7Q/a7lrXrle1QREmMmaUscu6/Z9d/3jU3e7woNN044fVaUx0rX7zmDioa0J65//cPbH34x3fOPr/vucUHOHFhB89f2s9br/8s29ad50VzsO4vrSCOFDLSVIW0Y3z9IJDGU%2by6uykxWoPX0ZuuBz8JwlJgQ/1fj0dxfjyfJlSDbhQs4bLx9YTq51k/1JDZ3NUOGx/BgeHKEIsE0RBf0gJQOrYlP7CT4dy/85Pcvek5lhan7BzGMXZiem0LayoF2giqElSlqUqFQSBlRJFXUBqiroQoJukKSCqMgjxTxLGmVCnaVCilyEtBVUXMcIIts0e4dHkOoV3CganAlGuf2ZoHaGhgE7CfSzzN8pLNG8cX3/nW/f/P/Pwqfmb0a7UNM9NBLLg//7o7RsnEuZ2bD/zHt%2b/51M%2b%2bcvZ2VlfbnL66ia7U7N18kk8nlR2tLyBqKaK0wlSRc%2bv4a7dsIENXkDMsmnFvI0zlZLGTijVG6uZ9jjKQyw2drgFc8xDXLo4e0xCbo7RaFI8ALtRj6%2b/Gj4LCICiqNlVlX7ZussTm6St0owG7po7x4L5HmE5KMpViUOhMO8e7DZ9ppVGVnWC7KsGYCNmyKoJWds6TsqgwkUC2JFGSkA9yioFGtCPr3o0lpjAURUVZJUwkl7lj029zRPw9zl7Y7zKuS9aoKUMPJ0KIHCnPoPR2MO0hUrG%2bVclgkPE9D%2b3//cO3zz2W5RWTE/HrnNO2Jhtmasvr7iRlQue67/uNt5z/yY9%2b7uiXdjx67N28Or%2bNPE/YO/Ma3bEexWpCHCuEBK1iykGMjDSmHpZpLTZjvOgcoXXlXDMysIqHWMhjTDjL2biQn2jSqESjVzbi%2btpiePhLU70rNEcaUIa%2bHRNcW7BLuGDAaEGhUpTW7Bw/xvrxJaZaK9y8%2bQW2r7tAR%2ba0dE6lIwZVgtG2EJEREqUs2ERka/Fp4wfrA9pQZZZdlcua0hoqpTCZJunGlKVAVRpTCtJWhGhJImNIM4k2lhVTs8SG8WOcFftBfTn2c2akSTGUwAowDuhGJyciyxWb1o2vfPdDt/3f7U6bSmWviynfGgBObH3jPcc3n9i57c7/8MDuT/3M82fu45GXbuWx/Teyf%2bMJNs9e4vjiLpKoR5XFbqyIbnSp2oLXTRzXCIQvXV93ZMBa/lAPqnq1aTA1NECqeX41tAO2WoPHIWAGLpIhcdpY6/Xpmosd/olAPzRGkKuI9e3zHN72GG/f/QSzYzkCRZqAQqKNoLeaUlY2QUGVyqZ3uUgRwoldbRBS2jo5WqGURitFUUGlDShrRfsUNVXZeZC1kOhCk/cMMnE%2b0iRGViVVUbHSi5DxPO3uefLlFLHGzA%2bfpP8uUWq32%2bLv1QASpGSQ5XzgoUO/e%2bCGLX%2b1uNizL82XaTUAL7z2%2bBvuKGRKPP6WX7tj79Mfnnv52bkjJ%2b7jD595Nz/znn/Nrdue4%2bUTey3JCVUbEkYYV20%2bcOrVrhKPGDl0q7WTOngWwrPQkCFlGjEdfqDx8g89vxGQrRHPYnibyw2r9Zt6mxk%2bXEMgr1Eqop2scv/%2bJ3lg05PMTZ9Hxwl5KTBE9CtZn6aqrAValUAUYUpFNajqaIk2YJx7qSwKDJpKgzYRlVaUpXZJCtSdraV1PoskQihN0VeY2DJpVdnyGJUy5EVMy5xktnuUs8uHiGovwrWs1eb%2bBZ01z1BEkn6m2L5l6vL3vP/Qv0EYKlW%2bzrmGW5OM8IbKJxhd0BrbdWrH9vt/dV3n3L9spRlfOHYrXzx5Fzdtfpk/THOUioh9olytvxkHtsBB7W0FgWVKPzakvuSGzry5MiywR/S5cAcRrIdh2rqGaG92NWsP8UgJAuxGj74HOiBTQ6kjZuJl3rvvC2yMllmtupSlZS%2bEQOnKpiRpMErbqcikxFQaXWmUqagKhRDS1kc0hiq3xyiD9f1pO3GiTA2mMqhKOB%2bfIo4g6UpMKSgLQ97XkBiEVFSloVKgkYg4QpcZHS4SyRyj5AgLiuB//3SEM/QEYdKmJiLLCj74/tt/9fBtu5%2bpKk0nTXkzrRHB46MZrmtbFKVct%2bs9v3bf/j/9vqdOnrspyzfyK1/4frauv0Qa2Vwvg6mHXPqmhXFp9MIRk6gd6I2I81mE1h83CqQm28Q/Hw%2bgoAbh0CNjSCz6s6x5z14Hh6b2Unsd0MfkgpfVE1/wG5US7NtwgvWdFQZZanM2M42qDEjQysbadWnnr7O2mxXBVVWhXXlYg0GVUBk3iMi5rZTRKF0hlEAVPvRpwacSQXssBaFACqpCo12kqcgMSmkKrVHGUGpDqWIm0xOMj%2b1laXknkckDdcf1Ye0OGxU1DpIyZrVfsXdu9vhD77n5VyIZIxPD6/n9RlvjiO5%2beQAaoN3eeOED33byf/vks6/8h%2bfOTctzV9ZzfnETbZFZttKmKSgZghBssSF3L02sWNZM6H17tU7lzyCGUWOGhmI2HFn/mgO6fUNHETZyR0Pi1H2RYviY0L1jmusZckT7XVGsZpMsrbRI44IkTTGVoOwpbA3xJhFCCVBVBYVdXyrdeIEqW5daaZt4USo7V3FVGbSyQxCUsskjlVJoaUgmE6JYUhWKYqCtz9AIikwxyAxGaCqjyHJDUdjzRDIjiZYZ4YzRL/Z7oGfbVRGlksSR4aP/zf2/sH3b7GuXrixd60Ffs23eGLhh0vbMmztKCnbd8K7fed99v/ahF3738nsjuZ4kKqzISCS6VPV4jxHc1DQucJ0XRj2kGd7P%2bBFvga5R/%2b%2bZzRkovr7gUMWEAFkjJDi0IWRIjR3vIgTGOuCo/a317w6fzwTxPKMlnbTHpSrl%2bYWt3Dx1jEpHmFITRfZSC%2bUsWgyV0nU2d1XZCqze4rW3p9FCoWtFxBYNUk5CxG1n7QpoT7WJO7F1WPcVVaXQxlCWmjwzFIWi1JpSWxArY9C6oNDT9LPNSKOaMmfh46rv3YtdD0QBMmZlseC977z%2bz77/e%2b/%2b9VYrpdO5Vqb067dGB9Qrb%2boAowUyTvP3f/ut//LjT79275demp6enMQaHFIgImlTpVxH%2b8wT60trBhoJ4ceHOJaqpW5D%2b8Ml4dz9Y61rW%2bTSx5%2b9PuIA6VHdSE0C2RrcTLPOqnp2rIBxk4mMBj0C2481ADeA0ZRli7E0Y%2bPkJapSY8qcKLH%2bOFO6WtGqQiDQSiNjC2Lt08t82pqxotIYGoe0T2UzNsUMoyEVtKZbtCfbZMsD8sIfY900VWHIM0VZafJKUSmBwriZDSoyNU1WTFIXu1zTAusO65UwgJARvYFm66bJpR/4/nv/hZAyX%2bkNvowlMdzSOA1CceXCmzzMoKuYzdv2f/EfvGfpl46cWPxf8nyGTsdmuvjqqMY0DuIQA00qlAed1xsdToUVK7WfsO5nv3CNWwwYrw7N%2bfXD4YtGhPpr8IzpwoS68iVoxUjyr2PLkCSGRLBx%2bI947exesutTJqf6LC/balTKGIzW6ErhhvQABlUoGme3coWanFWrtLVaK2u5amWnOSuUpjsliCNBpiAdb2MqTTaoEHFMkSvyXFOVhkGvoqgqtE92FZpKa2IBMjUMBuswKkaKN7JaHRGIJuuoQqK14nvfd%2bj/OHRo7tErC6u22sGbU/0AmBzrBrVhiv6bPxLQleRdd8/94p8/evZdf/yX%2bb2tJCGyLkBXZ8U4ZdpZwJ7FPCuJ0FpubtI5cBpGeh23QGO1e1Hsll1MOIxMD4MmYC6aSI2Uvrigz0FsFAbvl6tPNBQVaV4mgEgW9LIxvnDqLvbcfRrRq8jz2DqQjYFWDKXGlArtU8%2bUQWMcSI1Lz/Ji0j1HY5zD2aCUAmJMJJFRhNCGrJchYkHZK1hZLok6EWVRkRUVMhVumGtlrXFlEFFJT21hvnfAdso1xO%2bQ3hfO9ChjlpcLHnxg36e%2b//vu/cWq8lGutRnPX67VRyg32urNfrJK0O5MLf7D9239p7u2qKWVVeu/EpFprFI/7sD3VS2KTZ1Z7DOHjRnuSN%2bxBj8pdmAYhPFaPfx91PC1Nrasw4LemmzOKcD4aWGNfdA%2b8qEta/nlsDqZqa89uBYnFhOpeOrEQU71p%2bjO9CmFJjOgogqdSDIDpbA%2bOaU1sq2JE2FdJBKIDFoaKgOltsaDlPZZgEZqyFcVxUBR5Ypypc9gOaPINGVp0%2bHKfkm/XyKTiNIYlDBooTHCEImKXMVcWL6TqphqqmOFwKvdZsPuGIQVvXPbZi7/2Mfe8T9t3jS1EklbfPwr/UA4TYNof8XoHRSCwzdt/uxHHjI///P//vK/ygYtOl2JjAWqjKipQlsLd3jchgksXreq1t/cLXsW8uKjziekUelwmlltlLi1RgbyPnyz6x9rvrvLwpd%2bC0RrwwuWBetZmIZOGaLf1o4u8xbz/Un2bz3HBH30QNDvS/rZACM0SkduiKKh0lDmChlr0lRiKoWMctJWgUlBa20n71aSXEsqKcgyjSg0ItHkUjHIrBFR9ivyQUVeKogFg35FXlYkXU1pDFWliGTF1f4B%2btkckZ8G1qsm4Y358TY1EK3Va3Rlvu8Dt//ze%2b7a81heVKTJG8d736jVR4qo%2bxUfrIFcCT743p2/9PTR8p4/%2bNTC%2b5OkTRxJjBJoI2sWrFWtOnLACBhFgxUv8XzXm0b9b/DkFhqcOiD6G3IztNc06Y5xf02duc0ImNx27%2brRChP4tLzfrXYj4VOumnuSomSQj/H0y7exd8vLtNs57UhAFKFkjFKaykQYIdFlRdUv6EpFezzCRJIih6VsE5fyzQyKlH4RM9t%2bjanuBaIyJ8okOmpDnqHynAKoStCqIC80pdIoZehnFf1BSdTRZEJS5CWSioViHwurdyONAamDF7T56wuQCiPrnE5lJIOs4kPfffuvfvd33f4rq/2CepjBV9kaAMqvHMUCqBSMd9Psww9t/8mXjg/2vXKmuHF6NkXGAlP6IL8DhpSgdT16pK6GUOuCBjcJcCCJvTvGI7jZ3WqYIThoMOaAZwhW1jtYUWlojB0/vNkzgagrOzD0AvnzmABwzQVYkSyEQZuIs5c3srgkmZ3IkTIm7iqSSqEGgiStKKVAyD5xN2ah2MMrFw6y2O%2bQlR3OLe7k6vI02s3wOdZaZKy9xMGNH2f/xJdQ/R59NUFOC5EtoYqYQhmMjKiMISsqcqUgNpSJIS9LpFZcLW5jqX83qAQhS%2brC2kO9il1vJEjl9mmxvJxz%2b83bHvmh/%2b5t//O2rev18vKgETpfZatRF0WdN9rvdZsQUFZwz61bXv2ZHxI/9pO/8PzvzS%2bVs5NTsa2WVVv3rtOlgMDPVesYNXN5UdYUnxyNPIgAoKZmT1Nj2G4Qzbm838q7fCDQPxsLvIF1A2zj9q1vod5tFNTNOqUjWskKc5ufxcgey1WMjEpaUqOTLqVuo9MCVMFgMMsjr/49nn/tVpZXbBkOjEZSEssSgSZGM%2bh3WVhaR5m9he03P0HVnuTk6kHGO8/RMZqiglLb4QlFqZCJIBGaAk2mNIku6emDLPXvBRUhZMFwgW%2bCBYEv5m3kRYTZzNJKxfV7N576qZ/8jh/dvnX2clUpOu2vXvT61jDgmwydXKv5UOm9h2Y//ZH3b/2pX/z1U7/c7yG7ndhFsUyT5VEzio%2bhNuLXsx0QgCW4rrrPg/UOAL5S60jKSpMxE4qJEddMY/zo%2bjoMuLHHZtiAGtIpzTAA/dmUoNtZojO2zHIxxmTS40o5ycnzt/LM8dtY6ncBRSwzsnycsxe3YypFGvURscYP6K/HpmKIZEE3KVjtT/HUhXcyv7oXZc5xoL0KCZYmC02uNErakW6DSNHLFQmKXnU9V1buByUQImdtmd3A3ycEEKPECoI2g0HM%2bun24j/9x%2b/60bfed%2bApjbYhQ4arHHw1Tfg45qBYO2zuK2lSCFYHJcdOLvLrf3DiZ//ws/M/0%2b6mJHGErmhQCg0AfAIpdns9wxLe8PCHBG9mvb9bFeqQBMBaAwx/ULjdLbyRElMrmOELOgLAa/gdjZFEccb66dNMT8yzPNjI6fO7KDNrnFkSNUgUSZwhnbW/dpyu/9uM3dDkpMk5ZFSyY%2bZz7J16gTxr0e8VaKHpV5qlAeSlYlyW9IpdXFx5EKNajb9PBKATYAHp3DWmjZQ5svUUK6t7acfb1U/%2b92/54Q/%2b/cP/bmJizD2Wr0Hxcy2JkmBYZvS10akQMNGV3HrDJv7X/3H2Z7vtZzb9xz85/7GJ6Q6RkMOxxqGAd6N8mRqggc8NEEMhDbc%2bPKEIQHStBxOyV7guBGy4wQRgXnM6wVDmcP0CgHc5WS9kRZm3OH32AKeMRIiKWGZ0Ujf3sAk%2buA71YGuqHDE0P4ex4UGJRqgOvdWtLMpplsf6ZEpQyQJdwWKWMMgKhG6xIrax2L8bU1lQXVtpc89ZACQIUdLqPE5eamJm%2bK73HPhnh2/f/e/6/YLx8e7XJC1HWyCCv/aTRZEgjSXtNK4%2b9sG5f3L%2bUn/6M0%2bu/FfdbssWrhxKv/dtlLFE3ZEhYYoALGINGBlmoWu1kPFC/0/420OsOXKiuhgnLuYc8Kkx9fAAH9YDW7MvTQtHso4Zcft6MeuPD%2bdhW8N6TizXI9egyKaQpkApw5XlhKoaUFRtsmKcLBOocpqs3EdVbkDSQoo8fKebFjIhKYaItPMsRdli0LuT%2b%2b7Y/rN7ds383Mpqxvp1X7mn5Mu1r12LDJox2DgjmlYaLX3fd279keX%2bKfnEi/3vGeu2kEFKfqN9DClYw8zm9mh0RRqDIUwSJSDVN75C91OaoZ8dDdcNF4yurzKsCFuXgnPnbaZ98OtDhguBFq7z3/3A8HC7r%2bU8LH6b0WslUigWl%2b9kdXULcXyaqpqkKGNisUxVzYFuE/kBR2ssXf8xCCSGFCNWMHKV/mAaU83xsQ/f/6/e%2bba9/zxJW2zYMMXMVIdIRs0p/hraXysAw1YUmjiWVx/6tk0/LOVF8dhzvQ902ilRFLl%2bdUD0432HXk8vBt1%2bQQfWmdT17iNOPL9uDagCAyVcvSZWPPrd/meCA4XT1YbfFdMwd329IZCHRW7tHx0Or9jICw3zUX8PiwaV9qMLtBbkags5M%2bAKR5ai7%2bCVB/fi9b0R5JgYIxKS%2bBRECyz3riOVO7jn9q0/%2b9B7b/rnt968%2b0292l9t%2b7oBECArFO12fOV73rv1Y9Njl/oPP7r44TRNSJN4WMA5hhPemPAi1VcbDR9aOD44iHA0EnZEvK7dw50mgEoonodq/Zq11BqI2KGfGWLSUJwH7FeLV896Tix7MNZM57bXJdI8%2bBzw/AByXSD0AEGJkpeJ5DyR6VOZrQizidetbuVeUmNSpChJ0uNImbO0spdua4N69zv2/LN1s8nPrVyjnstfd/vKo8dfQRNAlmviWMz/ow9d98Mfed%2bWf6PKjCyzFT2F88E1feRjr5q6vFWtgPuwnjt5fZxhqKOH6W140VCzkPF6WQ0aBwg9coCPA4%2bKTty56lixv27c/mEMOQCVE6XGiVfjh7Vpl3Ol3LL2QLNMh87tX%2bWW1QB0H0wORqNVnzR6nDReRJiZYSYfFZcmQpuUOL5Eq30EJFyeP8Dk%2bIblj/7A3f/4tkM7fm6QVU3Y8evYvq4MCJa8Bpmm04l7P/6Rgz%2bR5erin37q/E/3e6ozNpZikI48/FPSDWzcQ2yMDpcdM4qxMBF1yFdnhqT6yEKwPKKj1ZtHrd3giwez32%2bISkcYMGA9Q7M8DEr/koXiNiiXUX8KC0QzAF0ihEBRoLUir%2b5EmF1ACoTpVSECI6BgvP0sUdRnNb%2bJlZVZ9s3Nnvrg997xE7fcNPcHR46c%2boaAD74BAAQLwrLUlBX6vjs2/Nz2Ta2Tv/lHp//3C1cHW7tjLaT0nnffhcHNa6f3CeekDvWuIKox6piu25AXOQBqCDoxsq8O969PNLw45PA2rAWg%2bwjTOJbrGY4843odb8TQWKPzVQ50pWU8nVsgOsVFIknlZtAddw1BVnLtfhJAhBF9Oq2niKI2S73D9Ppd9u%2befPInfvSdP7TjuvWPXbjY%2b2vx8b3Z9g0BoG9VpekPFHfdtv43E6lO/uYfnf4/z14e3JW2W8SxD4CNZh2Hjuew/t%2bQ8sUwMq8BnBpoTbSj2UazTyiSh1hzFJTDLGe3NozYMN3IXz/5c%2b3rC8FmqOfoCMtl6DJgvsx%2b9/py/RQSoGxexjV%2bNZ9gAKU6wOLKRqSI%2bZ7vOvifbr5x%2b09PTHRO5kX1DQUffJ11wGs1rQ15oZicSL/4/ndv/cDb7hz/1aK/Qq%2bX2WRJ52ytP74j6ywaN1dJnTalr/HxDKQb/c3rkjrYT3vnri/OGB4bAKf%2bhO6Q5q%2b3XK1eV2GGKo%2bOuE%2b0woJLBeAK9b0SyBvA6Rz0AHTmxG7B8Avmmr%2bmuoUAlCAiN5PVJItLG5gcS5f%2bwQdv/6kf%2bdi3/eDEeOdkv1%2b8YUDo69W%2boQzomzEwyBRjY%2bmZ%2bw%2bv/%2bjMpHzqsWeX/smJc8vXjY11iJM4kHB2QQhjszUl%2bLBbJBUYiUaypuo9DBGicT68Jndw%2bPz1V3z2tuPhUNSGIcQh/9412DK0dkN9DwdkL3YJATqq85UOgBmWGcOi4QxjLGz1ehdekxIhJFmhKYqKe%2b7Y9ej7v/POn5mZGf8vqtIUZYUQrdc52de3/Y0AECyGqlKTVRX3Hd7yy/fftfWLv/cnx3/68SNLHxgUKe12MuSlN0bbEhVaOjEs6YwvEMUly8ub8cE8RnDhluqVa8YX%2b%2b01aMM6MV5M%2bn1CnTMEnX6d7SEYqwCEii9rcOgCq%2b9ldr/wxuyFjoBeBM/LD2Ww4NNG0usVTE60Bx/50D3/9t0P3vqvkzS%2bePzERSoVsuY3vv2NAdA3Y4ytpr594ukf%2b29v/dBn/vLUP/yjT7z2E%2beuDva1Oh3StGFDO1m1fcBGRPR7k8hIIRwD1drgaF/VnTcKPlP33ZAeGOqNa44b1elovteI18PH1jpdIJZrMayvwXpe1yto6vX5Cw0vNjCs6u8OfMKK3f6gRCC59849X3j/d97587cf2vWnSsHlq0tvsoe%2bvu1vHIBgH2GeK9LxtDx008b/q90Snzp2avl/%2bOwjF39geVF0Ot02SRJTl8xFABVKR6giQkjlBrUFVRIETUQNGlYa%2blUYqnz1OgYG9fHXAN8Qy/ljQ33sWpat1wMdIJUNrVm9z1m5%2bGpVoyAL1YdgdRheExFFqcnzjN3XbTx33917f/nBd9z6K3M7N11dXFkljuK/1oSCr6V9UwDQN6U0yysFU5Odo9/5ng0/sm/XxB9%2b6YmLP/7EcwvvXelHotvtEMUyiETYKQKMAiPs1FBSyjoaN2oxm3DiFR/lCPyPtgVumjUgDEVtyIwjITdCI8WBrwagZzyv/5XW8WxC1nMx5yEXSnMfw8qfB52dGiEvNUWRs352fHD322/83Q%2b8/95fMsY8WVaaXj8bkQB/8%2b2bCoDgfYaKwaBi3771H3/rvdd96tkj57/7jz5%2b/Eeef2Xpbf1eRLvTIomj4FnaWsUGqyMa4VPtjfUfGtxAbjevXQikEGTGnmuoyCXurxnRB72YHdIXA58eoSsl1PcqCzhfkd779ExJHToTYFPiRYA1/ztev/ODrizjVRXkRcHUZFsdvm3uT%2b8%2bvPff3nRw1yc2bZzh1VPnkeKbrquBb0IA%2bmYMDAYVQkTl/ffM/c76de0/P/LChfc9%2beylH3zmhfl3LBZSdMa6pGlTLlYQuX6yIMTNORJm5xvf%2bSG4gKEsZzsvlvvuxkQMgcsf5/U%2b04hV7%2bczwTr/V/si4GVgZJTuNwIROjwyKyC%2bwLgQVhUpClsKbawbF4dv2/3xD3/owV9rj6V/cuq1i2qQlWR5OSKqv7naNy0AfVNKs9or0IaVW2/a/Bv3Ht7x%2b6dOLX7H57546geffP7ygwtLqiWjhFYrJYokxrsenFiqCx4JN0JOWKNgyFfnogR181YrOMCAmy6wAeCQjufXK4b9fxU18PDJBAXoDGMKMMpd5zVS22unuX8RfMayRBnI%2bnb61g3rx3rXX7/lz3duX//vb7px98P33n1j9dRzx8jz8hvuVP5q2jc9AH3T2tAvKrqdVv/%2be/f83jvesvcPP/HJ597x2FNnvvflV5fee/biwrZeJUjTFmkaI4KagyARMnbzFQs7ZLie19dgTAW4zA9fm6YWr54tnVVTA80zYAg859D24rYWwUUDPG2B54t61%2bzqZ%2bz24rUe10ztSilLRZ7npGnE3t0bX73x4I4/O3DD9t/rjrU/d/nKismygtXewJbI%2bBZp3zIA9E0pzepqzsx0p9y2bfoTW7ZMfkIrdeCZI2fe/dIrV77j6KtX77uykI8ZkZIkKUmS2GxsLTHCgTDU5SU2P9VPUwU1MId0vVpUV8E6D0hvEHlncdkAT%2bcYnTvgmVoUCiLAVj0AV1MxKH8hhEATUVaasrBTb62b7a7edcf%2bR/bt3fzHb3/r7X8WxcnxS5evsrC0SlGUfyORjK%2b1fcsB0DelNFluATM92X7x8O1zL77lvt2/cv7C/OGXj118z5NPn3jw9Pn5W64ulh0hOkRxizhpEUVJ47RGOLVKuElqCIDlRakTxybQ78CxVujjc4kCpsQ4V4rWhWNXa20LV/bDD/quxSo4xo5QWlBVoJSdyWh2Znwwd2DL0zfftOvhHTs2Pnz99bseW1lZzbtjXZZXBt8yovb12rcsAH0zxk6M1%2b8XJGkr27Fj4%2bf37dn8%2bfsO7/iFqwsrdxx95exbn3r6lQcuXlq6ZX6p2LiaSUTUJYpTEgdIWRek9MBzRoDRIDQCBaIMrGcLSJvLV2BMDsr57ny%2bHy61Qrj51NxvCGHDYgIbQtTKUFYKpSqUyul0WqyfHb%2b6bdvMk4duvf7zu3dv/8sN66Yfn52dXrmysIJS0O9nlOU3PnHg69G%2b5QEYNq0NeV5SFhDFreW5nROf3r9vx6c3rxftifGJPRcuXT10/sLCXS8efe22q1cHNywuZ%2bsWrvSlkC2iuI0UkiRN0apHJCvipAVEGN1HigFRMoauSqpy4Lw4Xk/MQCQYY8W7dAXObfgwwZjKMZqgqjSGFLC/Nz7eMetmJ%2bbXrZt4%2bZZb9j09NTX%2b2MR4%2b6kkES8dPnw4W1np0e9nrKz2yfOCNHn9WYe%2bFdvfKgCGTSlFlpcUZUmlRDY1Pf389p07nk9i8Z8uXLgw1kpbc1985NH9cZwePHnqzI1nzl6cW13Nti0sLq8brFwaywZLtgq9Mw60LklbbQTCFpgUEiEThIwQRiGi1LKaUWitkMIQxbGdiDCWTIyP0%2bl2%2bmPjEwtj4zNndu/af3zbtm0vKlW9dN%2b9t7%2bstT6xc%2bfWlYWFHq%2beOEmv12NltU%2bWFSiliOOvfRD4N2P7WwvAsBljKIqSwSAnE4Y47vTWb9jw/LZt255/17e/%2bw9efPFFVlaXJw4ePLj%2bkUce3XH06NGt09Oz69vtdMvLR1/ZtLi0uC4bDGZ7g8FYWVbjAsa0VhHGztMkZaxlJLNIiH670x50Op1%2bd2xiKUni%2bd27ds2Pj4%2bfP3f%2bwpmd1%2b06e/jwnWdfPvrKpQ0bZpb37NnPZz77CBs2rmNhYZnl5R79wd8e8fpm2t8JAI42pRR5XlAUJf1BRr%2bf0Wp1V%2bbm9qycPnP%2bxPJKj7e85a3cfNPB%2bFOf/uzE/NX5qd2756ZfO3thoreyMrll84bJsiwSpTSqqqJ2t6MGg7x38eLl3tatW3pzcztXV1Z6y6deO7384DvfthJJmf327/4uGzduYseOHZw8eZp%2bP2MwyCiKkjwv7Jwhfweb%2bLvypv3/7Zuz/X%2b4bAX5UtySrwAAAABJRU5ErkJggg=='/%3e%3c/defs%3e%3c/svg%3e";return n.useEffect((()=>{if(document.addEventListener("keyup",(function(e){d&&"Escape"===e.key&&h(!1),(!d&&document.activeElement.classList.value.includes("country-selector")&&"Enter"===e.code||!d&&document.activeElement.classList.value.includes("country-selector")&&"Space"===e.code)&&h(!0)})),a&&d){document.querySelector(".search-field").focus()}}),[d]),n.useEffect((()=>{b(t),C(t)}),[t]),u.createElement(Ea,{__self:void 0,__source:{fileName:Ha,lineNumber:52}},s&&u.createElement(Aa,{__self:void 0,__source:{fileName:Ha,lineNumber:54}},u.createElement("label",{__self:void 0,__source:{fileName:Ha,lineNumber:55}},s)),u.createElement(Da,{style:{borderColor:m.optionShortName?f["success-500"]:f["neutral-200"]},__self:void 0,__source:{fileName:Ha,lineNumber:58}},u.createElement("button",{ref:N,type:"button",className:"country-selector",onBlur:()=>{a||setTimeout((()=>{h(!1)}),200)},onMouseUp:()=>{d?setTimeout((()=>{h(!1)}),100):h(!0)},__self:void 0,__source:{fileName:Ha,lineNumber:59}}),a&&d&&u.createElement("input",{type:"text",value:v,onChange:e=>{var t;t=e.target.value,x(t),C(g.filter((e=>e.optionName.toLowerCase().includes(t.toLowerCase()))))},className:"country-selector search-field",onFocus:()=>{h(!0)},onBlur:()=>{setTimeout((()=>{h(!1)}),200)},__self:void 0,__source:{fileName:Ha,lineNumber:76}}),u.createElement("div",{style:{display:"flex",gap:"16px",alignItems:"center",overflowX:"hidden"},__self:void 0,__source:{fileName:Ha,lineNumber:82}},u.createElement("img",{src:m.optionFlag?m.optionFlag:w,alt:"flag",__self:void 0,__source:{fileName:Ha,lineNumber:83}}),m.optionName,!m.optionName&&u.createElement(u.Fragment,null,r,!r&&u.createElement(u.Fragment,null,l&&u.createElement("span",{className:"placeholder",__self:void 0,__source:{fileName:Ha,lineNumber:90}},l)))),u.createElement(ka,{className:d?"expanded":"collapsed",onMouseUp:()=>{d||(N.current.focus(),h(!0))},__self:void 0,__source:{fileName:Ha,lineNumber:96}},u.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ha,lineNumber:102}},u.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ha,lineNumber:103}}))),d&&u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Ma,{__self:void 0,__source:{fileName:Ha,lineNumber:109}},c&&u.createElement("div",{className:"section-title",__self:void 0,__source:{fileName:Ha,lineNumber:111}},c),_.map(((e,t)=>u.createElement(u.Fragment,null,!e.subName&&u.createElement(Ba,{key:t,onClick:()=>{p(e),i(e)},onMouseDown:()=>{setTimeout((()=>{p(e),i(e)}),200)},__self:void 0,__source:{fileName:Ha,lineNumber:118}},e.optionFlag?u.createElement("img",{src:e.optionFlag,alt:"Flag",__self:void 0,__source:{fileName:Ha,lineNumber:127}}):u.createElement("div",{className:"empty-flag",__self:void 0,__source:{fileName:Ha,lineNumber:127}}),e.optionName),e.subName&&u.createElement(Pa,{key:t,onClick:()=>{p(e),i(e)},onMouseDown:()=>{setTimeout((()=>{p(e),i(e)}),200)},__self:void 0,__source:{fileName:Ha,lineNumber:132}},u.createElement("span",{__self:void 0,__source:{fileName:Ha,lineNumber:141}},e.optionName),u.createElement("div",{__self:void 0,__source:{fileName:Ha,lineNumber:142}},e.subName,e.optionFlag?u.createElement("img",{src:e.optionFlag,alt:"Flag",__self:void 0,__source:{fileName:Ha,lineNumber:143}}):u.createElement("div",{className:"empty-flag",__self:void 0,__source:{fileName:Ha,lineNumber:143}}))))))))))},Oa=e.div`
|
|
1321
1321
|
overflow-x: auto;
|
|
1322
|
-
`,
|
|
1322
|
+
`,Sa=e.table`
|
|
1323
1323
|
width: 100%;
|
|
1324
1324
|
border-collapse: separate;
|
|
1325
1325
|
border-spacing: 0 8px;
|
|
@@ -1369,7 +1369,7 @@ function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1369
1369
|
font-weight: 400;
|
|
1370
1370
|
line-height: 19px;
|
|
1371
1371
|
}
|
|
1372
|
-
`,
|
|
1372
|
+
`,Ia=e.div`
|
|
1373
1373
|
display: flex;
|
|
1374
1374
|
justify-content: center;
|
|
1375
1375
|
align-items: center;
|
|
@@ -1388,7 +1388,7 @@ function Ot(e){return e+.5|0}const It=(e,t,i)=>Math.max(Math.min(e,i),t);functio
|
|
|
1388
1388
|
line-height: 19px;
|
|
1389
1389
|
margin: 0;
|
|
1390
1390
|
}
|
|
1391
|
-
`,Fa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\CurrencyPairs\\CurrencyPairsTable.tsx",Qa=e=>{const{pairs:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc"),[_,C]=n.useState("desc"),[v,x]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.pairCode<t.pairCode?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(Oa,{__self:void 0,__source:{fileName:Fa,lineNumber:94}},u.createElement(Ia,{__self:void 0,__source:{fileName:Fa,lineNumber:95}},u.createElement("thead",{__self:void 0,__source:{fileName:Fa,lineNumber:96}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Fa,lineNumber:97}},u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:98}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.pairCode<t.pairCode?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.pairCode<e.pairCode?-1:1)))},__self:void 0,__source:{fileName:Fa,lineNumber:99}},"Pair Code","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:104}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:105}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:112}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:113}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:119}},u.createElement("div",{onClick:()=>{"asc"===_&&(C("desc"),c.sort(((e,t)=>e.baseCurrency<t.baseCurrency?-1:1))),"desc"===_&&(C("asc"),c.sort(((e,t)=>t.baseCurrency<e.baseCurrency?-1:1)))},__self:void 0,__source:{fileName:Fa,lineNumber:120}},"Base Currency","desc"===_&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:125}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:126}}))),"asc"===_&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:133}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:134}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:140}},u.createElement("div",{onClick:()=>{"asc"===v&&(x("desc"),c.sort(((e,t)=>e.exchangeCurrency<t.exchangeCurrency?-1:1))),"desc"===v&&(x("asc"),c.sort(((e,t)=>t.exchangeCurrency<e.exchangeCurrency?-1:1)))},__self:void 0,__source:{fileName:Fa,lineNumber:140}},"Exchange Currency","desc"===v&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:145}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:146}}))),"asc"===v&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:153}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:154}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:159}},"Pair Name"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:Fa,lineNumber:163}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:Fa,lineNumber:165}},u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:166}},e.pairCode),u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:167}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Fa,lineNumber:168}},e.baseFlag?u.createElement("img",{src:e.baseFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:Fa,lineNumber:169}}):"",e.baseCurrency)),u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:173}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Fa,lineNumber:174}},e.exchangeFlag?u.createElement("img",{src:e.exchangeFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:Fa,lineNumber:175}}):"",e.exchangeCurrency)),u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:179}},u.createElement("div",{__self:void 0,__source:{fileName:Fa,lineNumber:180}},e.pairName?e.pairName:"-",u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:182}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Fa,lineNumber:183}}))))))))),c&&0===c.length&&m&&u.createElement(Sa,{__self:void 0,__source:{fileName:Fa,lineNumber:193}},u.createElement(Ra,{__self:void 0,__source:{fileName:Fa,lineNumber:194}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:195}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Fa,lineNumber:196}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Fa,lineNumber:197}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:198}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:199}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:200}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:201}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:202}})),u.createElement("defs",{__self:void 0,__source:{fileName:Fa,lineNumber:204}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Fa,lineNumber:205}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Fa,lineNumber:206}})))),u.createElement("p",{__self:void 0,__source:{fileName:Fa,lineNumber:210}},"Currency pairs will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:Fa,lineNumber:215}}))},za=e.div`
|
|
1391
|
+
`,Fa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\CurrencyPairs\\CurrencyPairsTable.tsx",za=e=>{const{pairs:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc"),[_,C]=n.useState("desc"),[v,x]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.pairCode<t.pairCode?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(Oa,{__self:void 0,__source:{fileName:Fa,lineNumber:94}},u.createElement(Sa,{__self:void 0,__source:{fileName:Fa,lineNumber:95}},u.createElement("thead",{__self:void 0,__source:{fileName:Fa,lineNumber:96}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Fa,lineNumber:97}},u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:98}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.pairCode<t.pairCode?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.pairCode<e.pairCode?-1:1)))},__self:void 0,__source:{fileName:Fa,lineNumber:99}},"Pair Code","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:104}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:105}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:112}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:113}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:119}},u.createElement("div",{onClick:()=>{"asc"===_&&(C("desc"),c.sort(((e,t)=>e.baseCurrency<t.baseCurrency?-1:1))),"desc"===_&&(C("asc"),c.sort(((e,t)=>t.baseCurrency<e.baseCurrency?-1:1)))},__self:void 0,__source:{fileName:Fa,lineNumber:120}},"Base Currency","desc"===_&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:125}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:126}}))),"asc"===_&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:133}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:134}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:140}},u.createElement("div",{onClick:()=>{"asc"===v&&(x("desc"),c.sort(((e,t)=>e.exchangeCurrency<t.exchangeCurrency?-1:1))),"desc"===v&&(x("asc"),c.sort(((e,t)=>t.exchangeCurrency<e.exchangeCurrency?-1:1)))},__self:void 0,__source:{fileName:Fa,lineNumber:140}},"Exchange Currency","desc"===v&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:145}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:146}}))),"asc"===v&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:153}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Fa,lineNumber:154}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Fa,lineNumber:159}},"Pair Name"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:Fa,lineNumber:163}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:Fa,lineNumber:165}},u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:166}},e.pairCode),u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:167}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Fa,lineNumber:168}},e.baseFlag?u.createElement("img",{src:e.baseFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:Fa,lineNumber:169}}):"",e.baseCurrency)),u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:173}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Fa,lineNumber:174}},e.exchangeFlag?u.createElement("img",{src:e.exchangeFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:Fa,lineNumber:175}}):"",e.exchangeCurrency)),u.createElement("td",{__self:void 0,__source:{fileName:Fa,lineNumber:179}},u.createElement("div",{__self:void 0,__source:{fileName:Fa,lineNumber:180}},e.pairName?e.pairName:"-",u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:182}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Fa,lineNumber:183}}))))))))),c&&0===c.length&&m&&u.createElement(Ia,{__self:void 0,__source:{fileName:Fa,lineNumber:193}},u.createElement(Ra,{__self:void 0,__source:{fileName:Fa,lineNumber:194}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Fa,lineNumber:195}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Fa,lineNumber:196}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Fa,lineNumber:197}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:198}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:199}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:200}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:201}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Fa,lineNumber:202}})),u.createElement("defs",{__self:void 0,__source:{fileName:Fa,lineNumber:204}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Fa,lineNumber:205}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Fa,lineNumber:206}})))),u.createElement("p",{__self:void 0,__source:{fileName:Fa,lineNumber:210}},"Currency pairs will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:Fa,lineNumber:215}}))},Qa=e.div`
|
|
1392
1392
|
display: flex;
|
|
1393
1393
|
flex-direction: column;
|
|
1394
1394
|
gap: 4px;
|
|
@@ -1568,12 +1568,282 @@ button{
|
|
|
1568
1568
|
background: ${f["neutral-50"]};
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
|
-
`,Ya="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DatePicker\\DatePicker.tsx",Xa=e=>{const{onChange:t,label:i,subtext:r,disablePastDays:o,disableFutureDays:s,placeholder:l}=e,[a,c]=n.useState(null),[d,f]=n.useState(!1),h=n.useRef(null);n.useEffect((()=>{document.addEventListener("click",(function(e){f(h.current.contains(e.target))}))}),[]);return u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12,position:"relative"},__self:void 0,__source:{fileName:Ya,lineNumber:36}},i&&u.createElement(za,{__self:void 0,__source:{fileName:Ya,lineNumber:38}},u.createElement("label",{__self:void 0,__source:{fileName:Ya,lineNumber:39}},i),r&&u.createElement("span",{__self:void 0,__source:{fileName:Ya,lineNumber:40}},r)),u.createElement(ja,{ref:h,className:a?"success":"",__self:void 0,__source:{fileName:Ya,lineNumber:43}},u.createElement(Va,{className:`${a?"success":""} ${d?"focused":""}`,__self:void 0,__source:{fileName:Ya,lineNumber:44}},u.createElement("input",{type:"text",value:a?a.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"",readOnly:!0,placeholder:`${l||"Select date"}`,onClick:()=>{f(!0)},__self:void 0,__source:{fileName:Ya,lineNumber:45}}),u.createElement("button",{type:"button",onClick:()=>{d&&setTimeout((()=>{f(!1)}),50)},__self:void 0,__source:{fileName:Ya,lineNumber:52}},u.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:60}},u.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:61}})))),d&&u.createElement("div",{style:{position:"absolute",marginTop:4},__self:void 0,__source:{fileName:Ya,lineNumber:66}},u.createElement(Wa,{onChange:e=>{c(e),t(e),setTimeout((()=>{f(!1)}),10)},selected:a,disablePastDaysProp:!!o,disableFutureDaysProp:!!s,__self:void 0,__source:{fileName:Ya,lineNumber:67}}))))},Wa=({onChange:e,selected:t,disablePastDaysProp:i,disableFutureDaysProp:r})=>{const[o,s]=n.useState(t||new Date),[l,a]=n.useState((new Date).getFullYear()),[c,d]=n.useState(!0),f=(e,t)=>new Date(e,t+1,0).getDate(),h=t=>{const i=new Date(o.getFullYear(),o.getMonth(),t);e(i)},m=e=>{s(new Date(o.setFullYear(e))),d(!c)};return u.createElement(Ta,{__self:void 0,__source:{fileName:Ya,lineNumber:223}},u.createElement("div",{className:"header",__self:void 0,__source:{fileName:Ya,lineNumber:224}},!c&&u.createElement("button",{type:"button",onClick:()=>{a(l-20)},__self:void 0,__source:{fileName:Ya,lineNumber:226}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:228}},u.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:229}}))),c&&u.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()-1))},__self:void 0,__source:{fileName:Ya,lineNumber:234}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:236}},u.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:237}}))),u.createElement("button",{type:"button",className:"month-year",onClick:()=>{d(!c)},__self:void 0,__source:{fileName:Ya,lineNumber:241}},o.toLocaleString("en-us",{month:"long",year:"numeric"}),u.createElement("svg",{className:c?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:243}},u.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:244}}))),c&&u.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()+1))},__self:void 0,__source:{fileName:Ya,lineNumber:248}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:250}},u.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:251}}))),!c&&u.createElement("button",{type:"button",onClick:()=>{a(l+20)},__self:void 0,__source:{fileName:Ya,lineNumber:256}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:258}},u.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:259}})))),u.createElement("div",{style:{display:c?"block ":"none"},__self:void 0,__source:{fileName:Ya,lineNumber:265}},u.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:Ya,lineNumber:266}},["Su","Mo","Tu","We","Th","Fr","Sa"].map((e=>u.createElement("div",{key:e,className:"weekday",__self:void 0,__source:{fileName:Ya,lineNumber:268}},e)))),u.createElement("div",{className:"days",__self:void 0,__source:{fileName:Ya,lineNumber:273}},(()=>{const e=o.getFullYear(),n=o.getMonth(),s=f(e,n),l=((e,t)=>new Date(e,t,1).getDay())(e,n),a=f(e,0===n?11:n-1),c=[];for(let e=l-1;e>=0;e--){const t=a-e;c.push(u.createElement("div",{key:`previous-day-${t}`,className:"calendar-day previous-month-day",__self:void 0,__source:{fileName:Ya,lineNumber:140}},t))}const d=new Date,m=d.getDate();for(let o=1;o<=s;o++){const s=t&&t.getDate()===o&&t.getMonth()===n&&t.getFullYear()===e,l=o===m&&n===d.getMonth()&&e===d.getFullYear(),a=i&&(e<d.getFullYear()||e===d.getFullYear()&&n<d.getMonth()||e===d.getFullYear()&&n===d.getMonth()&&o<m),f=r&&(e>d.getFullYear()||e===d.getFullYear()&&n>d.getMonth()||e===d.getFullYear()&&n===d.getMonth()&&o>m),p=s?"selected-day":l?"current-day":a?"past-day":f?"future-day":"",g=a||f?()=>{}:()=>h(o);c.push(u.createElement("div",{key:`current-day-${o}`,className:`calendar-day ${p}`,onClick:g,__self:void 0,__source:{fileName:Ya,lineNumber:181}},o))}const p=(7-c.length%7)%7;for(let e=1;e<=p;e++)c.push(u.createElement("div",{key:`next-day-${e}`,className:"calendar-day next-month-day",__self:void 0,__source:{fileName:Ya,lineNumber:196}},e));return c})())),u.createElement("div",{style:{display:c?"none":"block"},__self:void 0,__source:{fileName:Ya,lineNumber:277}},(e=>{const t=[];for(let i=e-10;i<=e+10;i++){const e=i===o.getFullYear()?"selected-year":"";t.push(u.createElement("div",{key:i,onClick:()=>m(i),className:`year-option ${e}`,__self:void 0,__source:{fileName:Ya,lineNumber:209}},i))}return u.createElement("div",{className:"year-picker",__self:void 0,__source:{fileName:Ya,lineNumber:216}},u.createElement("div",{className:"year-options",__self:void 0,__source:{fileName:Ya,lineNumber:217}},t))})(l)))},Za=e.div`
|
|
1571
|
+
`,Ya="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DatePicker\\DatePicker.tsx",Xa=e=>{const{onChange:t,label:i,subtext:r,disablePastDays:o,disableFutureDays:s,placeholder:l}=e,[a,c]=n.useState(null),[d,f]=n.useState(!1),h=n.useRef(null);n.useEffect((()=>{document.addEventListener("click",(function(e){f(h.current.contains(e.target))}))}),[]);return u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:12,position:"relative"},__self:void 0,__source:{fileName:Ya,lineNumber:36}},i&&u.createElement(Qa,{__self:void 0,__source:{fileName:Ya,lineNumber:38}},u.createElement("label",{__self:void 0,__source:{fileName:Ya,lineNumber:39}},i),r&&u.createElement("span",{__self:void 0,__source:{fileName:Ya,lineNumber:40}},r)),u.createElement(ja,{ref:h,className:a?"success":"",__self:void 0,__source:{fileName:Ya,lineNumber:43}},u.createElement(Va,{className:`${a?"success":""} ${d?"focused":""}`,__self:void 0,__source:{fileName:Ya,lineNumber:44}},u.createElement("input",{type:"text",value:a?a.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"",readOnly:!0,placeholder:`${l||"Select date"}`,onClick:()=>{f(!0)},__self:void 0,__source:{fileName:Ya,lineNumber:45}}),u.createElement("button",{type:"button",onClick:()=>{d&&setTimeout((()=>{f(!1)}),50)},__self:void 0,__source:{fileName:Ya,lineNumber:52}},u.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:60}},u.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:61}})))),d&&u.createElement("div",{style:{position:"absolute",marginTop:4},__self:void 0,__source:{fileName:Ya,lineNumber:66}},u.createElement(Wa,{onChange:e=>{c(e),t(e),setTimeout((()=>{f(!1)}),10)},selected:a,disablePastDaysProp:!!o,disableFutureDaysProp:!!s,__self:void 0,__source:{fileName:Ya,lineNumber:67}}))))},Wa=({onChange:e,selected:t,disablePastDaysProp:i,disableFutureDaysProp:r})=>{const[o,s]=n.useState(t||new Date),[l,a]=n.useState((new Date).getFullYear()),[c,d]=n.useState(!0),f=(e,t)=>new Date(e,t+1,0).getDate(),h=t=>{const i=new Date(o.getFullYear(),o.getMonth(),t);e(i)},m=e=>{s(new Date(o.setFullYear(e))),d(!c)};return u.createElement(Ta,{__self:void 0,__source:{fileName:Ya,lineNumber:223}},u.createElement("div",{className:"header",__self:void 0,__source:{fileName:Ya,lineNumber:224}},!c&&u.createElement("button",{type:"button",onClick:()=>{a(l-20)},__self:void 0,__source:{fileName:Ya,lineNumber:226}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:228}},u.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:229}}))),c&&u.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()-1))},__self:void 0,__source:{fileName:Ya,lineNumber:234}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:236}},u.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:237}}))),u.createElement("button",{type:"button",className:"month-year",onClick:()=>{d(!c)},__self:void 0,__source:{fileName:Ya,lineNumber:241}},o.toLocaleString("en-us",{month:"long",year:"numeric"}),u.createElement("svg",{className:c?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:243}},u.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:244}}))),c&&u.createElement("button",{type:"button",onClick:()=>{s(new Date(o.getFullYear(),o.getMonth()+1))},__self:void 0,__source:{fileName:Ya,lineNumber:248}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:250}},u.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:251}}))),!c&&u.createElement("button",{type:"button",onClick:()=>{a(l+20)},__self:void 0,__source:{fileName:Ya,lineNumber:256}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Ya,lineNumber:258}},u.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:Ya,lineNumber:259}})))),u.createElement("div",{style:{display:c?"block ":"none"},__self:void 0,__source:{fileName:Ya,lineNumber:265}},u.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:Ya,lineNumber:266}},["Su","Mo","Tu","We","Th","Fr","Sa"].map((e=>u.createElement("div",{key:e,className:"weekday",__self:void 0,__source:{fileName:Ya,lineNumber:268}},e)))),u.createElement("div",{className:"days",__self:void 0,__source:{fileName:Ya,lineNumber:273}},(()=>{const e=o.getFullYear(),n=o.getMonth(),s=f(e,n),l=((e,t)=>new Date(e,t,1).getDay())(e,n),a=f(e,0===n?11:n-1),c=[];for(let e=l-1;e>=0;e--){const t=a-e;c.push(u.createElement("div",{key:`previous-day-${t}`,className:"calendar-day previous-month-day",__self:void 0,__source:{fileName:Ya,lineNumber:140}},t))}const d=new Date,m=d.getDate();for(let o=1;o<=s;o++){const s=t&&t.getDate()===o&&t.getMonth()===n&&t.getFullYear()===e,l=o===m&&n===d.getMonth()&&e===d.getFullYear(),a=i&&(e<d.getFullYear()||e===d.getFullYear()&&n<d.getMonth()||e===d.getFullYear()&&n===d.getMonth()&&o<m),f=r&&(e>d.getFullYear()||e===d.getFullYear()&&n>d.getMonth()||e===d.getFullYear()&&n===d.getMonth()&&o>m),p=s?"selected-day":l?"current-day":a?"past-day":f?"future-day":"",g=a||f?()=>{}:()=>h(o);c.push(u.createElement("div",{key:`current-day-${o}`,className:`calendar-day ${p}`,onClick:g,__self:void 0,__source:{fileName:Ya,lineNumber:181}},o))}const p=(7-c.length%7)%7;for(let e=1;e<=p;e++)c.push(u.createElement("div",{key:`next-day-${e}`,className:"calendar-day next-month-day",__self:void 0,__source:{fileName:Ya,lineNumber:196}},e));return c})())),u.createElement("div",{style:{display:c?"none":"block"},__self:void 0,__source:{fileName:Ya,lineNumber:277}},(e=>{const t=[];for(let i=e-10;i<=e+10;i++){const e=i===o.getFullYear()?"selected-year":"";t.push(u.createElement("div",{key:i,onClick:()=>m(i),className:`year-option ${e}`,__self:void 0,__source:{fileName:Ya,lineNumber:209}},i))}return u.createElement("div",{className:"year-picker",__self:void 0,__source:{fileName:Ya,lineNumber:216}},u.createElement("div",{className:"year-options",__self:void 0,__source:{fileName:Ya,lineNumber:217}},t))})(l)))},Za=e.div`
|
|
1572
|
+
div.input-field{
|
|
1573
|
+
display: flex;
|
|
1574
|
+
flex-direction: column;
|
|
1575
|
+
gap: 12px;
|
|
1576
|
+
}
|
|
1577
|
+
`,Ga=e.div`
|
|
1578
|
+
display: flex;
|
|
1579
|
+
flex-direction: column;
|
|
1580
|
+
gap: 4px;
|
|
1581
|
+
label{
|
|
1582
|
+
color:${f["primary-900"]};
|
|
1583
|
+
font-weight: 500;
|
|
1584
|
+
font-family: "Circular Book Medium", sans-serif;
|
|
1585
|
+
}
|
|
1586
|
+
span{
|
|
1587
|
+
color: ${f["neutral-600"]};
|
|
1588
|
+
font-size: 14px;
|
|
1589
|
+
line-height: 17px;
|
|
1590
|
+
font-weight: 400;
|
|
1591
|
+
}
|
|
1592
|
+
`,Ua=e.div`
|
|
1593
|
+
border: 1px solid ${f["neutral-200"]};
|
|
1594
|
+
border-radius: 8px;
|
|
1595
|
+
background: #ffffff;
|
|
1596
|
+
display: flex;
|
|
1597
|
+
overflow: hidden;
|
|
1598
|
+
margin-bottom: 4px;
|
|
1599
|
+
transition: 300ms ease-out;
|
|
1600
|
+
&:hover{
|
|
1601
|
+
border-color: ${f["primary-300"]};
|
|
1602
|
+
}
|
|
1603
|
+
&.success{
|
|
1604
|
+
border-color: ${f["success-500"]};
|
|
1605
|
+
}
|
|
1606
|
+
&.focused{
|
|
1607
|
+
border-color: ${f["primary-500"]};
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
input{
|
|
1611
|
+
width: 100%;
|
|
1612
|
+
background: transparent;
|
|
1613
|
+
border: none;
|
|
1614
|
+
padding: 13px 16px;
|
|
1615
|
+
color: ${f["neutral-900"]};
|
|
1616
|
+
font-weight: 400;
|
|
1617
|
+
font-size: 16px;
|
|
1618
|
+
&::placeholder{
|
|
1619
|
+
color: ${f["neutral-400"]};
|
|
1620
|
+
}
|
|
1621
|
+
&:focus-visible{
|
|
1622
|
+
outline: none;
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
button{
|
|
1626
|
+
background: transparent;
|
|
1627
|
+
border: none;
|
|
1628
|
+
cursor: pointer;
|
|
1629
|
+
padding-inline: 16px;
|
|
1630
|
+
}
|
|
1631
|
+
`,Ka=e.div`
|
|
1632
|
+
width: 908px;
|
|
1633
|
+
padding: 16px;
|
|
1634
|
+
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
1635
|
+
border-radius: 16px;
|
|
1636
|
+
overflow: hidden;
|
|
1637
|
+
background: white;
|
|
1638
|
+
position: absolute;
|
|
1639
|
+
|
|
1640
|
+
.calendars{
|
|
1641
|
+
display: flex;
|
|
1642
|
+
gap: 16px;
|
|
1643
|
+
margin-bottom: 16px;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
.calendar {
|
|
1647
|
+
width: 50%;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
.action-buttons{
|
|
1651
|
+
display: flex;
|
|
1652
|
+
justify-content: end;
|
|
1653
|
+
gap: 12px;
|
|
1654
|
+
button:first-of-type{
|
|
1655
|
+
border: 1px solid ${f["primary-500"]};
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
.header {
|
|
1660
|
+
display: flex;
|
|
1661
|
+
align-items: center;
|
|
1662
|
+
justify-content: space-between;
|
|
1663
|
+
margin-bottom: 24px;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
.month-year{
|
|
1667
|
+
width: 150px;
|
|
1668
|
+
text-align: center;
|
|
1669
|
+
font-weight: 500;
|
|
1670
|
+
font-size: 16px;
|
|
1671
|
+
cursor:pointer;
|
|
1672
|
+
border-radius: 50px;
|
|
1673
|
+
padding: 4px 0;
|
|
1674
|
+
display: flex;
|
|
1675
|
+
gap: 4px;
|
|
1676
|
+
&:hover {
|
|
1677
|
+
background: ${f["neutral-50"]};
|
|
1678
|
+
}
|
|
1679
|
+
.year-view {
|
|
1680
|
+
-webkit-transform: rotate(-180deg);
|
|
1681
|
+
transform: rotate(-180deg);
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
.weekday {
|
|
1686
|
+
display: flex;
|
|
1687
|
+
align-items: center;
|
|
1688
|
+
justify-content: center;
|
|
1689
|
+
font-weight: 600;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
.weekdays {
|
|
1693
|
+
display: grid;
|
|
1694
|
+
grid-template-columns: repeat(7, 1fr);
|
|
1695
|
+
margin-bottom: 16px;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
.day{
|
|
1699
|
+
display: flex;
|
|
1700
|
+
align-items: center;
|
|
1701
|
+
justify-content: center;
|
|
1702
|
+
height: 35px;
|
|
1703
|
+
width: 35px;
|
|
1704
|
+
border-radius: 50%;
|
|
1705
|
+
cursor: pointer;
|
|
1706
|
+
font-size: 14px;
|
|
1707
|
+
font-weight: 400;
|
|
1708
|
+
&:hover{
|
|
1709
|
+
background: ${f["neutral-50"]};
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
.calendar-grid {
|
|
1714
|
+
display: grid;
|
|
1715
|
+
grid-template-columns: repeat(7, 1fr);
|
|
1716
|
+
gap: 16px;
|
|
1717
|
+
overflow: hidden;
|
|
1718
|
+
position: relative;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
.day.other-month {
|
|
1722
|
+
background-color: transparent;
|
|
1723
|
+
cursor: default;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
button{
|
|
1727
|
+
background: transparent;
|
|
1728
|
+
border: none;
|
|
1729
|
+
cursor: pointer;
|
|
1730
|
+
width: 35px;
|
|
1731
|
+
height: 35px;
|
|
1732
|
+
display: flex;
|
|
1733
|
+
justify-content: center;
|
|
1734
|
+
align-items: center;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
button.month-year{
|
|
1738
|
+
width: auto;
|
|
1739
|
+
border-radius: 50px;
|
|
1740
|
+
padding: 0 16px;
|
|
1741
|
+
display: flex;
|
|
1742
|
+
gap: 4px;
|
|
1743
|
+
&:hover {
|
|
1744
|
+
background: ${f["neutral-50"]};
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
.year-option {
|
|
1749
|
+
text-align: center;
|
|
1750
|
+
border-radius: 50px;
|
|
1751
|
+
height: 35px;
|
|
1752
|
+
display: flex;
|
|
1753
|
+
justify-content: center;
|
|
1754
|
+
align-items: center;
|
|
1755
|
+
cursor: pointer;
|
|
1756
|
+
&:hover {
|
|
1757
|
+
background: ${f["neutral-50"]};
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
.selected-year,.selected-year:hover{
|
|
1762
|
+
background: ${f["neutral-900"]} !important;
|
|
1763
|
+
color: #ffffff;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
.selected,.selected:hover {
|
|
1767
|
+
background-color: ${f["neutral-900"]};
|
|
1768
|
+
color: #fff;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
/*.start:before,
|
|
1772
|
+
.end:before {
|
|
1773
|
+
content: '';
|
|
1774
|
+
height: 35px;
|
|
1775
|
+
width: 75px;
|
|
1776
|
+
position: absolute;
|
|
1777
|
+
z-index: -1;
|
|
1778
|
+
background: ${f["neutral-50"]};
|
|
1779
|
+
}*/
|
|
1780
|
+
|
|
1781
|
+
.start,.end{
|
|
1782
|
+
position: relative;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/*.start:before {
|
|
1786
|
+
border-radius: 50px 0 0 50px;
|
|
1787
|
+
left: 0;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
.end:before {
|
|
1791
|
+
border-radius: 0 50px 50px 0;
|
|
1792
|
+
right: 0;
|
|
1793
|
+
}*/
|
|
1794
|
+
|
|
1795
|
+
.day.within-range {
|
|
1796
|
+
background-color: ${f["neutral-50"]};
|
|
1797
|
+
border-radius: 20px;
|
|
1798
|
+
/*&:before {
|
|
1799
|
+
width: 95px;
|
|
1800
|
+
height: 35px;
|
|
1801
|
+
background: ${f["neutral-50"]};
|
|
1802
|
+
content: '';
|
|
1803
|
+
position: absolute;
|
|
1804
|
+
z-index: -1;
|
|
1805
|
+
border-radius: 20px;
|
|
1806
|
+
}*/
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
.other-month{
|
|
1810
|
+
color: ${f["neutral-200"]};
|
|
1811
|
+
}
|
|
1812
|
+
`,Ja=e.div`
|
|
1813
|
+
.year-header{
|
|
1814
|
+
display: flex;
|
|
1815
|
+
justify-content: space-between;
|
|
1816
|
+
align-items: center;
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
.years-grid{
|
|
1820
|
+
display: grid;
|
|
1821
|
+
grid-template-columns: repeat(3,1fr);
|
|
1822
|
+
gap: 16px;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
.curr-year{
|
|
1826
|
+
font-weight: 600;
|
|
1827
|
+
}
|
|
1828
|
+
`,qa="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DateRangePicker\\DateRangePicker.tsx",$a=({selectedDateRange:e,label:t,subtext:i,placeholder:r})=>{const[o,s]=n.useState(new Date),[l,a]=n.useState((()=>{const e=new Date;return e.setMonth(e.getMonth()+1),e})),[c,d]=n.useState(null),[f,h]=n.useState(null),[p,g]=n.useState(!1),[b,_]=n.useState(!1),[C,v]=n.useState(!1),x=e=>{const t=new Date(o);if(t.setMonth(o.getMonth()+e),t>=l){const e=new Date(t);e.setMonth(e.getMonth()+1),a(e)}s(t)},N=e=>{const t=new Date(l);if(t.setMonth(l.getMonth()+e),t<=o){const e=new Date(t);e.setMonth(e.getMonth()-1),s(e)}a(t)},w=e=>{const{selYear:t,monthYear:i,isVisible:r}=e,[o,s]=n.useState((new Date).getFullYear());return u.createElement(Ja,{__self:void 0,__source:{fileName:qa,lineNumber:104}},u.createElement("div",{className:"header",__self:void 0,__source:{fileName:qa,lineNumber:105}},u.createElement("button",{type:"button",onClick:()=>{s((e=>e-21))},__self:void 0,__source:{fileName:qa,lineNumber:106}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:107}},u.createElement("path",{d:"M6.29 9.29C6.19896 9.3851 6.12759 9.49725 6.08 9.62C5.97998 9.86346 5.97998 10.1365 6.08 10.38C6.12759 10.5028 6.19896 10.6149 6.29 10.71L9.29 13.71C9.4783 13.8983 9.7337 14.0041 10 14.0041C10.2663 14.0041 10.5217 13.8983 10.71 13.71C10.8983 13.5217 11.0041 13.2663 11.0041 13C11.0041 12.7337 10.8983 12.4783 10.71 12.29L9.41 11H13C13.2652 11 13.5196 10.8946 13.7071 10.7071C13.8946 10.5196 14 10.2652 14 10C14 9.73478 13.8946 9.48043 13.7071 9.29289C13.5196 9.10536 13.2652 9 13 9H9.41L10.71 7.71C10.8037 7.61704 10.8781 7.50644 10.9289 7.38458C10.9797 7.26272 11.0058 7.13201 11.0058 7C11.0058 6.86799 10.9797 6.73728 10.9289 6.61542C10.8781 6.49356 10.8037 6.38296 10.71 6.29C10.617 6.19627 10.5064 6.12188 10.3846 6.07111C10.2627 6.02034 10.132 5.9942 10 5.9942C9.86799 5.9942 9.73728 6.02034 9.61542 6.07111C9.49356 6.12188 9.38296 6.19627 9.29 6.29L6.29 9.29ZM0 10C0 11.9778 0.58649 13.9112 1.6853 15.5557C2.78412 17.2002 4.3459 18.4819 6.17317 19.2388C8.00043 19.9957 10.0111 20.1937 11.9509 19.8079C13.8907 19.422 15.6725 18.4696 17.0711 17.0711C18.4696 15.6725 19.422 13.8907 19.8079 11.9509C20.1937 10.0111 19.9957 8.00043 19.2388 6.17317C18.4819 4.3459 17.2002 2.78412 15.5557 1.6853C13.9112 0.58649 11.9778 0 10 0C8.68678 0 7.38642 0.258658 6.17317 0.761205C4.95991 1.26375 3.85752 2.00035 2.92893 2.92893C1.05357 4.8043 0 7.34784 0 10ZM18 10C18 11.5823 17.5308 13.129 16.6518 14.4446C15.7727 15.7602 14.5233 16.7855 13.0615 17.391C11.5997 17.9965 9.99113 18.155 8.43928 17.8463C6.88743 17.5376 5.46197 16.7757 4.34315 15.6569C3.22433 14.538 2.4624 13.1126 2.15372 11.5607C1.84504 10.0089 2.00346 8.40034 2.60896 6.93853C3.21447 5.47672 4.23984 4.22729 5.55544 3.34824C6.87103 2.46919 8.41775 2 10 2C12.1217 2 14.1566 2.84285 15.6569 4.34315C17.1571 5.84344 18 7.87827 18 10Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:108}}))),u.createElement("button",{type:"button",className:"month-year",onClick:()=>{r(!1)},__self:void 0,__source:{fileName:qa,lineNumber:111}},i,u.createElement("svg",{className:"year-view",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:113}},u.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:114}}))),u.createElement("button",{type:"button",onClick:()=>{s((e=>e+21))},__self:void 0,__source:{fileName:qa,lineNumber:117}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:118}},u.createElement("path",{d:"M13.71 10.71C13.801 10.6149 13.8724 10.5028 13.92 10.38C14.02 10.1365 14.02 9.86347 13.92 9.62C13.8724 9.49725 13.801 9.38511 13.71 9.29L10.71 6.29C10.5217 6.1017 10.2663 5.99591 10 5.99591C9.7337 5.99591 9.47831 6.1017 9.29 6.29C9.1017 6.47831 8.99591 6.7337 8.99591 7C8.99591 7.26631 9.1017 7.5217 9.29 7.71L10.59 9H7C6.73479 9 6.48043 9.10536 6.2929 9.2929C6.10536 9.48043 6 9.73479 6 10C6 10.2652 6.10536 10.5196 6.2929 10.7071C6.48043 10.8946 6.73479 11 7 11H10.59L9.29 12.29C9.19628 12.383 9.12188 12.4936 9.07111 12.6154C9.02034 12.7373 8.99421 12.868 8.99421 13C8.99421 13.132 9.02034 13.2627 9.07111 13.3846C9.12188 13.5064 9.19628 13.617 9.29 13.71C9.38297 13.8037 9.49357 13.8781 9.61543 13.9289C9.73729 13.9797 9.86799 14.0058 10 14.0058C10.132 14.0058 10.2627 13.9797 10.3846 13.9289C10.5064 13.8781 10.617 13.8037 10.71 13.71L13.71 10.71ZM20 10C20 8.02219 19.4135 6.08879 18.3147 4.4443C17.2159 2.79981 15.6541 1.51809 13.8268 0.761209C11.9996 0.00433284 9.98891 -0.193701 8.0491 0.192152C6.10929 0.578004 4.32746 1.53041 2.92894 2.92894C1.53041 4.32746 0.578004 6.10929 0.192152 8.0491C-0.193701 9.98891 0.00433284 11.9996 0.761209 13.8268C1.51809 15.6541 2.79981 17.2159 4.4443 18.3147C6.08879 19.4135 8.02219 20 10 20C12.6522 20 15.1957 18.9464 17.0711 17.0711C18.9464 15.1957 20 12.6522 20 10ZM2 10C2 8.41775 2.4692 6.87104 3.34825 5.55544C4.2273 4.23985 5.47673 3.21447 6.93854 2.60897C8.40035 2.00347 10.0089 1.84504 11.5607 2.15372C13.1126 2.4624 14.538 3.22433 15.6569 4.34315C16.7757 5.46197 17.5376 6.88743 17.8463 8.43928C18.155 9.99113 17.9965 11.5997 17.391 13.0615C16.7855 14.5233 15.7602 15.7727 14.4446 16.6518C13.129 17.5308 11.5823 18 10 18C7.87827 18 5.84344 17.1572 4.34315 15.6569C2.84286 14.1566 2 12.1217 2 10Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:119}})))),u.createElement("div",{className:"years-grid",__self:void 0,__source:{fileName:qa,lineNumber:123}},(()=>{const e=[];for(let i=o-10;i<=o+10;i++)e.push(u.createElement("div",{className:"year-option "+(i===(new Date).getFullYear()?"curr-year":""),key:i,onClick:()=>{t(i),r(!1)},__self:void 0,__source:{fileName:qa,lineNumber:95}},i));return e})()))},y=(t,i)=>{const n=i?o:l,r=n.getMonth(),s=n.getFullYear(),a=new Date(s,r,1),m=new Date(s,r+1,0),p=m.getDate(),g=a.getDay(),b=g+p+(6-m.getDay()),_=[];for(let t=0;t<b;t++){const i=t-g+1,n=new Date(s,r,i),o=t>=g&&t<g+p,l=c&&n.toDateString()===c.toDateString()||f&&n.toDateString()===f.toDateString(),a=c&&f&&n>c&&n<f;let m="";if(!o){const e=new Date(s,r,i);m+="day other-month",i<=0?(e.setMonth(r-1),e.setDate(i)):(e.setMonth(r+1),e.setDate(i-p)),_.push(u.createElement("div",{key:t,className:m,__self:void 0,__source:{fileName:qa,lineNumber:172}},e.getDate()));continue}const b=()=>{return t=n,void(c?f?(d(null),h(null),e({startDate:null,endDate:null})):t>=c?(h(t),e({startDate:c,endDate:t})):(h(c),d(t),e({startDate:t,endDate:c})):(d(t),h(null),e({startDate:t,endDate:null})));var t};l&&(c&&f?n.toDateString()===c.toDateString()?m+=" selected start":n.toDateString()===f.toDateString()?m+=" selected end":m+=" selected":m+=" selected"),_.push(u.createElement("div",{key:t,className:`day ${m} ${a?"within-range":""}`,onClick:b,__self:void 0,__source:{fileName:qa,lineNumber:196}},i))}return u.createElement(u.Fragment,null,u.createElement("div",{className:"weekdays",__self:void 0,__source:{fileName:qa,lineNumber:210}},["Su","Mo","Tu","We","Th","Fr","Sa"].map(((e,t)=>u.createElement("div",{key:t,className:"weekday",__self:void 0,__source:{fileName:qa,lineNumber:212}},e)))),u.createElement("div",{className:"calendar-grid",__self:void 0,__source:{fileName:qa,lineNumber:217}},_))},E=["January","February","March","April","May","June","July","August","September","October","November","December"],A=o.getMonth(),D=o.getFullYear(),k=E[A],M=l.getMonth(),B=l.getFullYear(),P=E[M],H={day:"2-digit",month:"short",year:"numeric"};return u.createElement(Za,{__self:void 0,__source:{fileName:qa,lineNumber:237}},u.createElement("div",{className:"input-field",__self:void 0,__source:{fileName:qa,lineNumber:238}},t&&u.createElement(Ga,{__self:void 0,__source:{fileName:qa,lineNumber:240}},u.createElement("label",{__self:void 0,__source:{fileName:qa,lineNumber:241}},t),i&&u.createElement("span",{__self:void 0,__source:{fileName:qa,lineNumber:242}},i)),u.createElement(Ua,{className:`${p?"focused":""} ${c&&f?"success":""}`,__self:void 0,__source:{fileName:qa,lineNumber:245}},u.createElement("input",{type:"text",value:c?`${c.toLocaleDateString("en-GB",H)} - ${f?f.toLocaleDateString("en-GB",H):""}`:"",readOnly:!0,placeholder:r||"Select a date range",onClick:()=>{g(!0)},__self:void 0,__source:{fileName:qa,lineNumber:246}}),u.createElement("button",{type:"button",onClick:()=>{g(!p)},__self:void 0,__source:{fileName:qa,lineNumber:253}},u.createElement("svg",{width:"21",height:"22",viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:255}},u.createElement("path",{d:"M10.5 18C10.6978 18 10.8911 17.9414 11.0556 17.8315C11.22 17.7216 11.3482 17.5654 11.4239 17.3827C11.4996 17.2 11.5194 16.9989 11.4808 16.8049C11.4422 16.6109 11.347 16.4327 11.2071 16.2929C11.0673 16.153 10.8891 16.0578 10.6951 16.0192C10.5011 15.9806 10.3 16.0004 10.1173 16.0761C9.93459 16.1518 9.77841 16.28 9.66853 16.4444C9.55865 16.6089 9.5 16.8022 9.5 17C9.5 17.2652 9.60536 17.5196 9.79289 17.7071C9.98043 17.8946 10.2348 18 10.5 18ZM15.5 18C15.6978 18 15.8911 17.9414 16.0556 17.8315C16.22 17.7216 16.3482 17.5654 16.4239 17.3827C16.4996 17.2 16.5194 16.9989 16.4808 16.8049C16.4422 16.6109 16.347 16.4327 16.2071 16.2929C16.0673 16.153 15.8891 16.0578 15.6951 16.0192C15.5011 15.9806 15.3 16.0004 15.1173 16.0761C14.9346 16.1518 14.7784 16.28 14.6685 16.4444C14.5586 16.6089 14.5 16.8022 14.5 17C14.5 17.2652 14.6054 17.5196 14.7929 17.7071C14.9804 17.8946 15.2348 18 15.5 18ZM15.5 14C15.6978 14 15.8911 13.9414 16.0556 13.8315C16.22 13.7216 16.3482 13.5654 16.4239 13.3827C16.4996 13.2 16.5194 12.9989 16.4808 12.8049C16.4422 12.6109 16.347 12.4327 16.2071 12.2929C16.0673 12.153 15.8891 12.0578 15.6951 12.0192C15.5011 11.9806 15.3 12.0004 15.1173 12.0761C14.9346 12.1518 14.7784 12.28 14.6685 12.4444C14.5586 12.6089 14.5 12.8022 14.5 13C14.5 13.2652 14.6054 13.5196 14.7929 13.7071C14.9804 13.8946 15.2348 14 15.5 14ZM10.5 14C10.6978 14 10.8911 13.9414 11.0556 13.8315C11.22 13.7216 11.3482 13.5654 11.4239 13.3827C11.4996 13.2 11.5194 12.9989 11.4808 12.8049C11.4422 12.6109 11.347 12.4327 11.2071 12.2929C11.0673 12.153 10.8891 12.0578 10.6951 12.0192C10.5011 11.9806 10.3 12.0004 10.1173 12.0761C9.93459 12.1518 9.77841 12.28 9.66853 12.4444C9.55865 12.6089 9.5 12.8022 9.5 13C9.5 13.2652 9.60536 13.5196 9.79289 13.7071C9.98043 13.8946 10.2348 14 10.5 14ZM17.5 2H16.5V1C16.5 0.734784 16.3946 0.48043 16.2071 0.292893C16.0196 0.105357 15.7652 0 15.5 0C15.2348 0 14.9804 0.105357 14.7929 0.292893C14.6054 0.48043 14.5 0.734784 14.5 1V2H6.5V1C6.5 0.734784 6.39464 0.48043 6.20711 0.292893C6.01957 0.105357 5.76522 0 5.5 0C5.23478 0 4.98043 0.105357 4.79289 0.292893C4.60536 0.48043 4.5 0.734784 4.5 1V2H3.5C2.70435 2 1.94129 2.31607 1.37868 2.87868C0.816071 3.44129 0.5 4.20435 0.5 5V19C0.5 19.7956 0.816071 20.5587 1.37868 21.1213C1.94129 21.6839 2.70435 22 3.5 22H17.5C18.2956 22 19.0587 21.6839 19.6213 21.1213C20.1839 20.5587 20.5 19.7956 20.5 19V5C20.5 4.20435 20.1839 3.44129 19.6213 2.87868C19.0587 2.31607 18.2956 2 17.5 2ZM18.5 19C18.5 19.2652 18.3946 19.5196 18.2071 19.7071C18.0196 19.8946 17.7652 20 17.5 20H3.5C3.23478 20 2.98043 19.8946 2.79289 19.7071C2.60536 19.5196 2.5 19.2652 2.5 19V10H18.5V19ZM18.5 8H2.5V5C2.5 4.73478 2.60536 4.48043 2.79289 4.29289C2.98043 4.10536 3.23478 4 3.5 4H4.5V5C4.5 5.26522 4.60536 5.51957 4.79289 5.70711C4.98043 5.89464 5.23478 6 5.5 6C5.76522 6 6.01957 5.89464 6.20711 5.70711C6.39464 5.51957 6.5 5.26522 6.5 5V4H14.5V5C14.5 5.26522 14.6054 5.51957 14.7929 5.70711C14.9804 5.89464 15.2348 6 15.5 6C15.7652 6 16.0196 5.89464 16.2071 5.70711C16.3946 5.51957 16.5 5.26522 16.5 5V4H17.5C17.7652 4 18.0196 4.10536 18.2071 4.29289C18.3946 4.48043 18.5 4.73478 18.5 5V8ZM5.5 14C5.69778 14 5.89112 13.9414 6.05557 13.8315C6.22002 13.7216 6.34819 13.5654 6.42388 13.3827C6.49957 13.2 6.51937 12.9989 6.48079 12.8049C6.4422 12.6109 6.34696 12.4327 6.20711 12.2929C6.06725 12.153 5.88907 12.0578 5.69509 12.0192C5.50111 11.9806 5.30004 12.0004 5.11732 12.0761C4.93459 12.1518 4.77841 12.28 4.66853 12.4444C4.55865 12.6089 4.5 12.8022 4.5 13C4.5 13.2652 4.60536 13.5196 4.79289 13.7071C4.98043 13.8946 5.23478 14 5.5 14ZM5.5 18C5.69778 18 5.89112 17.9414 6.05557 17.8315C6.22002 17.7216 6.34819 17.5654 6.42388 17.3827C6.49957 17.2 6.51937 16.9989 6.48079 16.8049C6.4422 16.6109 6.34696 16.4327 6.20711 16.2929C6.06725 16.153 5.88907 16.0578 5.69509 16.0192C5.50111 15.9806 5.30004 16.0004 5.11732 16.0761C4.93459 16.1518 4.77841 16.28 4.66853 16.4444C4.55865 16.6089 4.5 16.8022 4.5 17C4.5 17.2652 4.60536 17.5196 4.79289 17.7071C4.98043 17.8946 5.23478 18 5.5 18Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:256}}))))),p&&u.createElement(Ka,{__self:void 0,__source:{fileName:qa,lineNumber:262}},u.createElement("div",{className:"calendars",__self:void 0,__source:{fileName:qa,lineNumber:263}},u.createElement("div",{className:"calendar",__self:void 0,__source:{fileName:qa,lineNumber:264}},!b&&u.createElement(u.Fragment,null,u.createElement("div",{className:"header",__self:void 0,__source:{fileName:qa,lineNumber:267}},u.createElement("button",{type:"button",className:"prev-button",onClick:()=>x(-1),__self:void 0,__source:{fileName:qa,lineNumber:268}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:269}},u.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:270}}))),u.createElement("button",{type:"button",className:"month-year",onClick:()=>{_(!0)},__self:void 0,__source:{fileName:qa,lineNumber:273}},`${k} ${D}`,u.createElement("svg",{className:b?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:275}},u.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:276}}))),u.createElement("button",{type:"button",className:"next-button",onClick:()=>x(1),__self:void 0,__source:{fileName:qa,lineNumber:279}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:280}},u.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:281}})))),y(0,!0)),b&&u.createElement(w,{selYear:e=>{const t=new Date(o);t.setFullYear(e),s(t)},monthYear:`${k} ${D}`,isVisible:e=>{_(e)},__self:void 0,__source:{fileName:qa,lineNumber:289}})),u.createElement("div",{className:"calendar",__self:void 0,__source:{fileName:qa,lineNumber:296}},!C&&u.createElement(u.Fragment,null,u.createElement("div",{className:"header",__self:void 0,__source:{fileName:qa,lineNumber:299}},u.createElement("button",{type:"button",className:"prev-button",onClick:()=>N(-1),__self:void 0,__source:{fileName:qa,lineNumber:300}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:301}},u.createElement("path",{d:"M3.28982 5.99995L6.82982 2.45995C7.01607 2.27259 7.12061 2.01913 7.12061 1.75495C7.12061 1.49076 7.01607 1.23731 6.82982 1.04995C6.73686 0.95622 6.62626 0.881826 6.5044 0.831057C6.38254 0.780288 6.25183 0.75415 6.11982 0.75415C5.98781 0.75415 5.8571 0.780288 5.73524 0.831057C5.61339 0.881826 5.50278 0.95622 5.40982 1.04995L1.16982 5.28995C1.07609 5.38291 1.0017 5.49351 0.950931 5.61537C0.900162 5.73723 0.874023 5.86794 0.874023 5.99995C0.874023 6.13196 0.900162 6.26267 0.950931 6.38453C1.0017 6.50638 1.07609 6.61699 1.16982 6.70995L5.40982 10.9999C5.50326 11.0926 5.61408 11.166 5.73592 11.2157C5.85775 11.2655 5.98821 11.2907 6.11982 11.2899C6.25143 11.2907 6.38189 11.2655 6.50373 11.2157C6.62557 11.166 6.73638 11.0926 6.82982 10.9999C7.01607 10.8126 7.12061 10.5591 7.12061 10.2949C7.12061 10.0308 7.01607 9.77731 6.82982 9.58995L3.28982 5.99995Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:302}}))),u.createElement("button",{type:"button",className:"month-year",onClick:()=>{v(!0)},__self:void 0,__source:{fileName:qa,lineNumber:305}},`${P} ${B}`,u.createElement("svg",{className:C?"year-view":"",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:307}},u.createElement("path",{d:"M11 1.17C10.8126 0.983753 10.5592 0.879211 10.295 0.879211C10.0308 0.879211 9.77737 0.983753 9.59001 1.17L6.00001 4.71L2.46001 1.17C2.27265 0.983753 2.0192 0.879211 1.75501 0.879211C1.49082 0.879211 1.23737 0.983753 1.05001 1.17C0.956281 1.26297 0.881887 1.37357 0.831118 1.49543C0.780349 1.61729 0.754211 1.74799 0.754211 1.88C0.754211 2.01202 0.780349 2.14272 0.831118 2.26458C0.881887 2.38644 0.956281 2.49704 1.05001 2.59L5.29001 6.83C5.38297 6.92373 5.49357 6.99813 5.61543 7.04889C5.73729 7.09966 5.868 7.1258 6.00001 7.1258C6.13202 7.1258 6.26273 7.09966 6.38459 7.04889C6.50645 6.99813 6.61705 6.92373 6.71001 6.83L11 2.59C11.0937 2.49704 11.1681 2.38644 11.2189 2.26458C11.2697 2.14272 11.2958 2.01202 11.2958 1.88C11.2958 1.74799 11.2697 1.61729 11.2189 1.49543C11.1681 1.37357 11.0937 1.26297 11 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:308}}))),u.createElement("button",{type:"button",className:"next-button",onClick:()=>N(1),__self:void 0,__source:{fileName:qa,lineNumber:311}},u.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:qa,lineNumber:312}},u.createElement("path",{d:"M6.83019 5.28995L2.59019 1.04995C2.49722 0.95622 2.38662 0.881826 2.26476 0.831057C2.1429 0.780288 2.0122 0.75415 1.88019 0.75415C1.74818 0.75415 1.61747 0.780288 1.49561 0.831057C1.37375 0.881826 1.26315 0.95622 1.17019 1.04995C0.983936 1.23731 0.879395 1.49076 0.879395 1.75495C0.879395 2.01913 0.983936 2.27259 1.17019 2.45995L4.71019 5.99995L1.17019 9.53995C0.983936 9.72731 0.879395 9.98076 0.879395 10.2449C0.879395 10.5091 0.983936 10.7626 1.17019 10.9499C1.26363 11.0426 1.37444 11.116 1.49628 11.1657C1.61812 11.2155 1.74858 11.2407 1.88019 11.2399C2.01179 11.2407 2.14226 11.2155 2.26409 11.1657C2.38593 11.116 2.49675 11.0426 2.59019 10.9499L6.83019 6.70995C6.92392 6.61699 6.99831 6.50638 7.04908 6.38453C7.09985 6.26267 7.12599 6.13196 7.12599 5.99995C7.12599 5.86794 7.09985 5.73723 7.04908 5.61537C6.99831 5.49351 6.92392 5.38291 6.83019 5.28995Z",fill:"#070B12",__self:void 0,__source:{fileName:qa,lineNumber:313}})))),y(0,!1)),C&&u.createElement(w,{selYear:e=>{const t=new Date(l);t.setFullYear(e),a(t)},monthYear:`${P} ${B}`,isVisible:e=>{v(e)},__self:void 0,__source:{fileName:qa,lineNumber:321}}))),u.createElement("div",{className:"action-buttons",__self:void 0,__source:{fileName:qa,lineNumber:329}},c&&u.createElement(ie,{type:"button",size:"sm",variant:"primary",style:{width:71},onClick:()=>{d(null),h(null),e({startDate:null,endDate:null})},__self:void 0,__source:{fileName:qa,lineNumber:330}},"Reset"),u.createElement(m,{type:"button",size:"sm",variant:"primary",style:{width:71},onClick:()=>{g(!1)},__self:void 0,__source:{fileName:qa,lineNumber:335}},c&&f?"Apply":"Cancel"))))},ec=e.div`
|
|
1829
|
+
display: flex;
|
|
1830
|
+
flex-direction: column;
|
|
1831
|
+
gap: 8px;
|
|
1832
|
+
p{
|
|
1833
|
+
font-weight: bold;
|
|
1834
|
+
font-size: 14px;
|
|
1835
|
+
}
|
|
1836
|
+
div{
|
|
1837
|
+
padding: 16px;
|
|
1838
|
+
background: ${f["neutral-50"]};
|
|
1839
|
+
border-radius: 8px;
|
|
1840
|
+
}
|
|
1841
|
+
`,tc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DisplayField\\DisplayField.tsx",ic=e=>{const{children:t,label:i}=e;return React.createElement(ec,{__self:void 0,__source:{fileName:tc,lineNumber:8}},React.createElement("p",{__self:void 0,__source:{fileName:tc,lineNumber:9}},i),React.createElement("div",{__self:void 0,__source:{fileName:tc,lineNumber:10}},t))},nc=e.div`
|
|
1572
1842
|
display: flex;
|
|
1573
1843
|
flex-direction: column;
|
|
1574
1844
|
gap: 16px;
|
|
1575
1845
|
width: 100%;
|
|
1576
|
-
`,
|
|
1846
|
+
`,rc=e.div`
|
|
1577
1847
|
font-weight: 500;
|
|
1578
1848
|
font-size: 16px;
|
|
1579
1849
|
line-height: 19px;
|
|
@@ -1581,7 +1851,7 @@ button{
|
|
|
1581
1851
|
font-family: "Circular Book Medium",sans-serif;
|
|
1582
1852
|
font-weight: 500;
|
|
1583
1853
|
}
|
|
1584
|
-
`,
|
|
1854
|
+
`,oc=e.div`
|
|
1585
1855
|
position: relative;
|
|
1586
1856
|
display: flex;
|
|
1587
1857
|
justify-content: space-between;
|
|
@@ -1629,7 +1899,7 @@ button{
|
|
|
1629
1899
|
.placeholder{
|
|
1630
1900
|
color:${f["neutral-200"]};
|
|
1631
1901
|
}
|
|
1632
|
-
`,
|
|
1902
|
+
`,sc=e.div`
|
|
1633
1903
|
border: 1px solid ${f["neutral-100"]};
|
|
1634
1904
|
border-radius: 8px;
|
|
1635
1905
|
padding: 0 16px;
|
|
@@ -1645,7 +1915,7 @@ button{
|
|
|
1645
1915
|
*{
|
|
1646
1916
|
margin: 0;
|
|
1647
1917
|
}
|
|
1648
|
-
`,
|
|
1918
|
+
`,lc=e.div`
|
|
1649
1919
|
height: 100%;
|
|
1650
1920
|
display: flex;
|
|
1651
1921
|
align-items: center;
|
|
@@ -1658,7 +1928,7 @@ button{
|
|
|
1658
1928
|
-webkit-transform: rotate(-180deg);
|
|
1659
1929
|
transform: rotate(-180deg);
|
|
1660
1930
|
}
|
|
1661
|
-
`,
|
|
1931
|
+
`,ac=e.div`
|
|
1662
1932
|
border-radius: 8px;
|
|
1663
1933
|
position: absolute;
|
|
1664
1934
|
top: 55px;
|
|
@@ -1694,7 +1964,7 @@ button{
|
|
|
1694
1964
|
transform:scaleY(100%);
|
|
1695
1965
|
}
|
|
1696
1966
|
}
|
|
1697
|
-
|
|
1967
|
+
`,cc=e.div`
|
|
1698
1968
|
padding: 12px 16px;
|
|
1699
1969
|
//border: none;
|
|
1700
1970
|
background: ${f.white};
|
|
@@ -1702,19 +1972,7 @@ button{
|
|
|
1702
1972
|
&:hover{
|
|
1703
1973
|
background: ${f["neutral-50"]};
|
|
1704
1974
|
}
|
|
1705
|
-
`,
|
|
1706
|
-
background: ${f.white};
|
|
1707
|
-
border-radius: 8px;
|
|
1708
|
-
border: 1px solid ${f["neutral-50"]};
|
|
1709
|
-
min-height: 20px;
|
|
1710
|
-
height: 20px;
|
|
1711
|
-
&.withShadow{
|
|
1712
|
-
box-shadow: 0 0 24px rgba(0,0,0,0.04);
|
|
1713
|
-
}
|
|
1714
|
-
&.noShadow{
|
|
1715
|
-
box-shadow: 0 0 0 transparent;
|
|
1716
|
-
}
|
|
1717
|
-
`,nc=e=>{const{children:t,type:i}=e;return u.createElement(ic,{className:i,...e,__self:void 0,__source:{fileName:"D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Dropshadows\\DropShadows.tsx",lineNumber:8}},t)},rc=e.div`
|
|
1975
|
+
`,dc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\DropdownList\\DropdownList.tsx",uc=e=>{const{options:t,returnedSelection:i,initialText:r,disabled:o,label:s,placeholder:l,searchable:a}=e,[c,d]=n.useState(!1),[h,m]=n.useState({}),[p,g]=n.useState(!1),[b,_]=n.useState([]),[C,v]=n.useState([]),[x,N]=n.useState(""),w=n.useRef();return n.useEffect((()=>{if(document.addEventListener("keyup",(function(e){c&&"Escape"===e.code&&d(!1),(!c&&document.activeElement.classList.value.includes("dropdown-field")&&"Enter"===e.code||!c&&document.activeElement.classList.value.includes("dropdown-field")&&"Space"===e.code)&&d(!0)})),a&&c){document.querySelector(".search-field").focus()}}),[c]),n.useEffect((()=>{_(t),v(t)}),[t]),u.createElement(nc,{__self:void 0,__source:{fileName:dc,lineNumber:40}},!o&&u.createElement(u.Fragment,null,s&&u.createElement(rc,{__self:void 0,__source:{fileName:dc,lineNumber:44}},u.createElement("label",{__self:void 0,__source:{fileName:dc,lineNumber:45}},s)),u.createElement(oc,{style:{borderColor:h.value?f["success-500"]:f["neutral-200"]},__self:void 0,__source:{fileName:dc,lineNumber:48}},u.createElement("button",{ref:w,type:"button",className:"dropdown-field "+(p?"error":""),onBlur:()=>{a||setTimeout((()=>{d(!1)}),200)},onMouseUp:()=>{c?setTimeout((()=>{d(!1)}),100):d(!0)},__self:void 0,__source:{fileName:dc,lineNumber:49}}),a&&c&&u.createElement("input",{type:"text",value:x,onChange:e=>{var t;t=e.target.value,N(t),v(b.filter((e=>e.label.toLowerCase().includes(t.toLowerCase()))))},className:"dropdown-field search-field "+(p?"error":""),onFocus:()=>{d(!0)},onBlur:()=>{setTimeout((()=>{d(!1)}),200)},__self:void 0,__source:{fileName:dc,lineNumber:66}}),u.createElement("div",{style:{overflowX:"hidden"},__self:void 0,__source:{fileName:dc,lineNumber:72}},h.label,!h.label&&u.createElement(u.Fragment,null,r,!r&&u.createElement(u.Fragment,null,l&&u.createElement("span",{className:"placeholder",__self:void 0,__source:{fileName:dc,lineNumber:79}},l)))),u.createElement(lc,{className:"dropdown-icon "+(c?"expanded":"collapsed"),onMouseUp:()=>{c||(w.current.focus(),d(!0))},__self:void 0,__source:{fileName:dc,lineNumber:85}},u.createElement("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dc,lineNumber:91}},u.createElement("path",{d:"M10.9999 1.17C10.8126 0.983753 10.5591 0.879211 10.2949 0.879211C10.0308 0.879211 9.77731 0.983753 9.58995 1.17L5.99995 4.71L2.45995 1.17C2.27259 0.983753 2.01913 0.879211 1.75495 0.879211C1.49076 0.879211 1.23731 0.983753 1.04995 1.17C0.95622 1.26297 0.881826 1.37357 0.831057 1.49543C0.780288 1.61729 0.75415 1.74799 0.75415 1.88C0.75415 2.01202 0.780288 2.14272 0.831057 2.26458C0.881826 2.38644 0.95622 2.49704 1.04995 2.59L5.28995 6.83C5.38291 6.92373 5.49351 6.99813 5.61537 7.04889C5.73723 7.09966 5.86794 7.1258 5.99995 7.1258C6.13196 7.1258 6.26267 7.09966 6.38453 7.04889C6.50638 6.99813 6.61699 6.92373 6.70995 6.83L10.9999 2.59C11.0937 2.49704 11.1681 2.38644 11.2188 2.26458C11.2696 2.14272 11.2957 2.01202 11.2957 1.88C11.2957 1.74799 11.2696 1.61729 11.2188 1.49543C11.1681 1.37357 11.0937 1.26297 10.9999 1.17Z",fill:"#070B12",__self:void 0,__source:{fileName:dc,lineNumber:92}}))),c&&u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(ac,{__self:void 0,__source:{fileName:dc,lineNumber:98}},C.map(((e,t)=>u.createElement(cc,{key:t,onClick:()=>{m(e),i(e)},onMouseDown:()=>{setTimeout((()=>{m(e),i(e)}),200)},__self:void 0,__source:{fileName:dc,lineNumber:100}},e.label))))))),o&&u.createElement(sc,{__self:void 0,__source:{fileName:dc,lineNumber:118}},r,u.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dc,lineNumber:120}},u.createElement("path",{d:"M16.9999 9.16994C16.8126 8.98369 16.5591 8.87915 16.2949 8.87915C16.0308 8.87915 15.7773 8.98369 15.5899 9.16994L11.9999 12.7099L8.45995 9.16994C8.27259 8.98369 8.01913 8.87915 7.75495 8.87915C7.49076 8.87915 7.23731 8.98369 7.04995 9.16994C6.95622 9.26291 6.88183 9.37351 6.83106 9.49537C6.78029 9.61723 6.75415 9.74793 6.75415 9.87994C6.75415 10.012 6.78029 10.1427 6.83106 10.2645C6.88183 10.3864 6.95622 10.497 7.04995 10.5899L11.2899 14.8299C11.3829 14.9237 11.4935 14.9981 11.6154 15.0488C11.7372 15.0996 11.8679 15.1257 11.9999 15.1257C12.132 15.1257 12.2627 15.0996 12.3845 15.0488C12.5064 14.9981 12.617 14.9237 12.7099 14.8299L16.9999 10.5899C17.0937 10.497 17.1681 10.3864 17.2188 10.2645C17.2696 10.1427 17.2957 10.012 17.2957 9.87994C17.2957 9.74793 17.2696 9.61723 17.2188 9.49537C17.1681 9.37351 17.0937 9.26291 16.9999 9.16994Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:dc,lineNumber:121}}))))},fc=e.div`
|
|
1718
1976
|
padding: 16px;
|
|
1719
1977
|
border-radius: 8px;
|
|
1720
1978
|
background: ${f.white};
|
|
@@ -1726,14 +1984,14 @@ button{
|
|
|
1726
1984
|
letter-spacing: 0.02em;
|
|
1727
1985
|
font-weight: 400;
|
|
1728
1986
|
}
|
|
1729
|
-
`,
|
|
1987
|
+
`,hc=e.p`
|
|
1730
1988
|
font-size: 16px;
|
|
1731
1989
|
font-weight: 500;
|
|
1732
1990
|
font-family: Circular Book Medium, serif;
|
|
1733
1991
|
line-height: 19px;
|
|
1734
1992
|
color: ${f["neutral-900"]};
|
|
1735
1993
|
margin-bottom:16px;
|
|
1736
|
-
`,
|
|
1994
|
+
`,mc=e.div`
|
|
1737
1995
|
display: grid;
|
|
1738
1996
|
gap: 8px;
|
|
1739
1997
|
align-items: center;
|
|
@@ -1746,16 +2004,16 @@ button{
|
|
|
1746
2004
|
font-size: 14px;
|
|
1747
2005
|
color: ${f["neutral-600"]};
|
|
1748
2006
|
}
|
|
1749
|
-
`,
|
|
2007
|
+
`,pc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ExchangeRates\\ExchangeRates.tsx",gc=e=>{const{baseCurr:t,baseCurrShortName:i,source:n,lastUpdated:r,exchangeCurrs:o}=e;return u.createElement(u.Fragment,null,o&&o.length>0&&u.createElement(fc,{__self:void 0,__source:{fileName:pc,lineNumber:10}},u.createElement(hc,{__self:void 0,__source:{fileName:pc,lineNumber:11}},t," (",i,")"),u.createElement(mc,{__self:void 0,__source:{fileName:pc,lineNumber:12}},o.map(((e,t)=>u.createElement("div",{key:t,className:"exchange-currency",__self:void 0,__source:{fileName:pc,lineNumber:14}},u.createElement("img",{src:e.currFlag,alt:"",__self:void 0,__source:{fileName:pc,lineNumber:15}}),e.currName," 1 = ",e.rate)))),u.createElement("p",{className:"last-updated",__self:void 0,__source:{fileName:pc,lineNumber:20}},"Last updated on ",r," | Source: ",n)))},bc=e.div`
|
|
1750
2008
|
position: relative;
|
|
1751
2009
|
background: ${f["primary-900"]};
|
|
1752
2010
|
color: ${f["neutral-50"]};
|
|
1753
2011
|
margin: 0;
|
|
1754
|
-
`,
|
|
2012
|
+
`,_c=e.div`
|
|
1755
2013
|
padding: 80px 134px;
|
|
1756
2014
|
display: flex;
|
|
1757
2015
|
gap: 120px;
|
|
1758
|
-
`,
|
|
2016
|
+
`,Cc=e.div`
|
|
1759
2017
|
width: 720px;
|
|
1760
2018
|
p{
|
|
1761
2019
|
font-size: 16px;
|
|
@@ -1767,7 +2025,7 @@ button{
|
|
|
1767
2025
|
img{
|
|
1768
2026
|
width: 204px;
|
|
1769
2027
|
}
|
|
1770
|
-
`,
|
|
2028
|
+
`,vc=e.div`
|
|
1771
2029
|
width:250px;
|
|
1772
2030
|
h6{
|
|
1773
2031
|
font-size: 19px;
|
|
@@ -1786,18 +2044,18 @@ button{
|
|
|
1786
2044
|
line-height: 20px;
|
|
1787
2045
|
font-style: normal;
|
|
1788
2046
|
}
|
|
1789
|
-
`,
|
|
2047
|
+
`,xc=e.div`
|
|
1790
2048
|
padding: 24px 134px;
|
|
1791
2049
|
border-top: 1px solid ${f["neutral-600"]};
|
|
1792
|
-
`,
|
|
2050
|
+
`,Nc=e.p`
|
|
1793
2051
|
font-size: 14px;
|
|
1794
2052
|
font-weight: 400;
|
|
1795
2053
|
line-height: 17px;
|
|
1796
|
-
`,
|
|
2054
|
+
`,wc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Footer\\Footer.tsx",yc=()=>u.createElement(bc,{__self:void 0,__source:{fileName:wc,lineNumber:6}},u.createElement(_c,{__self:void 0,__source:{fileName:wc,lineNumber:7}},u.createElement(Cc,{__self:void 0,__source:{fileName:wc,lineNumber:8}},u.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/v1643889560/ssx-linear-logo-light_mdafbc.png",alt:"SSX Logo",__self:void 0,__source:{fileName:wc,lineNumber:10}}),u.createElement("p",{style:{width:"270px"},__self:void 0,__source:{fileName:wc,lineNumber:13}},"A platform you can trust to deliver the latest capital trading news and trends across Africa.")),u.createElement(vc,{__self:void 0,__source:{fileName:wc,lineNumber:15}},u.createElement("h6",{__self:void 0,__source:{fileName:wc,lineNumber:16}},"Contact Us"),u.createElement("p",{__self:void 0,__source:{fileName:wc,lineNumber:17}},"222 Swaniker Street",u.createElement("br",{__self:void 0,__source:{fileName:wc,lineNumber:17}}),"Abelemkpe - Accra",u.createElement("br",{__self:void 0,__source:{fileName:wc,lineNumber:18}}),"+233 (0) 59 284 1131",u.createElement("br",{__self:void 0,__source:{fileName:wc,lineNumber:19}}),"questions@secondstax.info")),u.createElement(vc,{__self:void 0,__source:{fileName:wc,lineNumber:22}},u.createElement("h6",{__self:void 0,__source:{fileName:wc,lineNumber:23}},u.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wc,lineNumber:23}},u.createElement("path",{d:"M7.00001 0.833336C5.68147 0.833336 4.39254 1.22433 3.29621 1.95687C2.19988 2.68941 1.3454 3.73061 0.840816 4.94878C0.336232 6.16695 0.20421 7.5074 0.461445 8.8006C0.718679 10.0938 1.35362 11.2817 2.28597 12.214C3.21832 13.1464 4.4062 13.7813 5.69941 14.0386C6.99262 14.2958 8.33306 14.1638 9.55124 13.6592C10.7694 13.1546 11.8106 12.3001 12.5431 11.2038C13.2757 10.1075 13.6667 8.81854 13.6667 7.5C13.6647 5.7325 12.9617 4.03795 11.7119 2.78813C10.4621 1.53831 8.76752 0.835302 7.00001 0.833336ZM7.00001 12.8333C5.94518 12.8333 4.91403 12.5205 4.03697 11.9345C3.15991 11.3485 2.47632 10.5155 2.07266 9.54098C1.66899 8.56644 1.56337 7.49409 1.76916 6.45952C1.97495 5.42496 2.4829 4.47465 3.22878 3.72877C3.97466 2.98289 4.92497 2.47494 5.95953 2.26915C6.9941 2.06336 8.06645 2.16898 9.04099 2.57265C10.0155 2.97631 10.8485 3.6599 11.4345 4.53696C12.0206 5.41402 12.3333 6.44517 12.3333 7.5C12.3317 8.91399 11.7693 10.2696 10.7695 11.2695C9.76962 12.2693 8.41401 12.8317 7.00001 12.8333ZM7.00001 7.16667C6.8232 7.16667 6.65363 7.23691 6.52861 7.36193C6.40358 7.48696 6.33335 7.65652 6.33335 7.83334V9.83333C6.33335 10.0101 6.40358 10.1797 6.52861 10.3047C6.65363 10.4298 6.8232 10.5 7.00001 10.5C7.17682 10.5 7.34639 10.4298 7.47142 10.3047C7.59644 10.1797 7.66668 10.0101 7.66668 9.83333V7.83334C7.66668 7.65652 7.59644 7.48696 7.47142 7.36193C7.34639 7.23691 7.17682 7.16667 7.00001 7.16667ZM7.00001 4.5C6.8352 4.5 6.67408 4.54888 6.53704 4.64044C6.4 4.73201 6.29319 4.86216 6.23011 5.01443C6.16704 5.1667 6.15054 5.33426 6.18269 5.49591C6.21485 5.65756 6.29421 5.80605 6.41076 5.92259C6.5273 6.03913 6.67579 6.1185 6.83744 6.15066C6.99909 6.18281 7.16664 6.16631 7.31892 6.10323C7.47119 6.04016 7.60134 5.93335 7.6929 5.79631C7.78447 5.65927 7.83335 5.49815 7.83335 5.33334C7.83335 5.11232 7.74555 4.90036 7.58927 4.74408C7.43299 4.5878 7.22103 4.5 7.00001 4.5Z",fill:"#F7F9FC",__self:void 0,__source:{fileName:wc,lineNumber:24}})),"Important Note"),u.createElement("p",{__self:void 0,__source:{fileName:wc,lineNumber:27}},"SecondSTAX does not own rights to some of the content displayed on this website. All content is sourced directly from the outlet."))),u.createElement(xc,{__self:void 0,__source:{fileName:wc,lineNumber:30}},u.createElement(Nc,{__self:void 0,__source:{fileName:wc,lineNumber:31}},"©",(new Date).getFullYear()," SecondSTAX Ltd. All Rights Reserved."))),Ec=e.div`
|
|
1797
2055
|
display: flex;
|
|
1798
2056
|
flex-direction: column;
|
|
1799
2057
|
gap: 8px;
|
|
1800
|
-
`,
|
|
2058
|
+
`,Ac=e.div`
|
|
1801
2059
|
padding: 16px;
|
|
1802
2060
|
border-radius: 8px;
|
|
1803
2061
|
background: ${f.white};
|
|
@@ -1814,31 +2072,31 @@ button{
|
|
|
1814
2072
|
.neutral{
|
|
1815
2073
|
color:${f["neutral-400"]}
|
|
1816
2074
|
}
|
|
1817
|
-
`,
|
|
2075
|
+
`,Dc=e.div`
|
|
1818
2076
|
display: flex;
|
|
1819
2077
|
gap: 14px;
|
|
1820
2078
|
align-items: center;
|
|
1821
2079
|
color: ${f["neutral-900"]};
|
|
1822
2080
|
font-size: 16px;
|
|
1823
2081
|
line-height: 19px;
|
|
1824
|
-
`,
|
|
2082
|
+
`,kc=e.div`
|
|
1825
2083
|
font-size: 14px;
|
|
1826
2084
|
color: ${f["neutral-900"]};
|
|
1827
2085
|
line-height: 17px;
|
|
1828
2086
|
.index-value{
|
|
1829
2087
|
color: ${f["neutral-600"]};
|
|
1830
2088
|
}
|
|
1831
|
-
`,
|
|
2089
|
+
`,Mc=e.p`
|
|
1832
2090
|
font-size: 10px;
|
|
1833
2091
|
font-weight: 400;
|
|
1834
2092
|
line-height: 12px;
|
|
1835
2093
|
color: ${f["neutral-600"]};
|
|
1836
2094
|
margin: 8px 0 0 0;
|
|
1837
|
-
`,
|
|
2095
|
+
`,Bc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Indices\\Indices.tsx",Pc=e=>{const{indices:t,lastUpdated:i,source:n}=e;return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(u.Fragment,null,u.createElement(Ec,{__self:void 0,__source:{fileName:Bc,lineNumber:22}},t.map(((e,t)=>{return u.createElement(Ac,{key:t,__self:void 0,__source:{fileName:Bc,lineNumber:24}},u.createElement(Dc,{__self:void 0,__source:{fileName:Bc,lineNumber:25}},e.changePercent<0&&u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Bc,lineNumber:28}},u.createElement("path",{d:"M9.29 13.71C9.3851 13.801 9.49725 13.8724 9.62 13.92C9.86346 14.02 10.1365 14.02 10.38 13.92C10.5028 13.8724 10.6149 13.801 10.71 13.71L13.71 10.71C13.8983 10.5217 14.0041 10.2663 14.0041 10C14.0041 9.7337 13.8983 9.47831 13.71 9.29C13.5217 9.1017 13.2663 8.99591 13 8.99591C12.7337 8.99591 12.4783 9.1017 12.29 9.29L11 10.59V7C11 6.73479 10.8946 6.48043 10.7071 6.2929C10.5196 6.10536 10.2652 6 10 6C9.73478 6 9.48043 6.10536 9.29289 6.2929C9.10536 6.48043 9 6.73479 9 7V10.59L7.71 9.29C7.61704 9.19628 7.50644 9.12188 7.38458 9.07111C7.26272 9.02034 7.13201 8.99421 7 8.99421C6.86799 8.99421 6.73728 9.02034 6.61542 9.07111C6.49356 9.12188 6.38296 9.19628 6.29 9.29C6.19627 9.38297 6.12188 9.49357 6.07111 9.61543C6.02034 9.73729 5.9942 9.86799 5.9942 10C5.9942 10.132 6.02034 10.2627 6.07111 10.3846C6.12188 10.5064 6.19627 10.617 6.29 10.71L9.29 13.71ZM10 20C11.9778 20 13.9112 19.4135 15.5557 18.3147C17.2002 17.2159 18.4819 15.6541 19.2388 13.8268C19.9957 11.9996 20.1937 9.98891 19.8079 8.0491C19.422 6.10929 18.4696 4.32746 17.0711 2.92894C15.6725 1.53041 13.8907 0.578004 11.9509 0.192152C10.0111 -0.193701 8.00043 0.00433284 6.17317 0.761209C4.3459 1.51809 2.78412 2.79981 1.6853 4.4443C0.58649 6.08879 0 8.02219 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7363 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20V20ZM10 2C11.5823 2 13.129 2.4692 14.4446 3.34825C15.7602 4.2273 16.7855 5.47673 17.391 6.93854C17.9965 8.40035 18.155 10.0089 17.8463 11.5607C17.5376 13.1126 16.7757 14.538 15.6569 15.6569C14.538 16.7757 13.1126 17.5376 11.5607 17.8463C10.0089 18.155 8.40034 17.9965 6.93853 17.391C5.47672 16.7855 4.22729 15.7602 3.34824 14.4446C2.46919 13.129 2 11.5823 2 10C2 7.87827 2.84285 5.84344 4.34315 4.34315C5.84344 2.84286 7.87827 2 10 2V2Z",fill:"#F80000",__self:void 0,__source:{fileName:Bc,lineNumber:29}})),e.changePercent>0&&u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Bc,lineNumber:34}},u.createElement("path",{d:"M10.71 6.29C10.6149 6.19896 10.5028 6.12759 10.38 6.08C10.1365 5.97998 9.86347 5.97998 9.62 6.08C9.49725 6.12759 9.38511 6.19896 9.29 6.29L6.29 9.29C6.1017 9.4783 5.99591 9.7337 5.99591 10C5.99591 10.2663 6.1017 10.5217 6.29 10.71C6.47831 10.8983 6.7337 11.0041 7 11.0041C7.26631 11.0041 7.5217 10.8983 7.71 10.71L9 9.41V13C9 13.2652 9.10536 13.5196 9.2929 13.7071C9.48043 13.8946 9.73479 14 10 14C10.2652 14 10.5196 13.8946 10.7071 13.7071C10.8946 13.5196 11 13.2652 11 13V9.41L12.29 10.71C12.383 10.8037 12.4936 10.8781 12.6154 10.9289C12.7373 10.9797 12.868 11.0058 13 11.0058C13.132 11.0058 13.2627 10.9797 13.3846 10.9289C13.5064 10.8781 13.617 10.8037 13.71 10.71C13.8037 10.617 13.8781 10.5064 13.9289 10.3846C13.9797 10.2627 14.0058 10.132 14.0058 10C14.0058 9.86799 13.9797 9.73728 13.9289 9.61542C13.8781 9.49356 13.8037 9.38296 13.71 9.29L10.71 6.29ZM10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18Z",fill:"#06BA63",__self:void 0,__source:{fileName:Bc,lineNumber:35}})),0==e.changePercent&&u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Bc,lineNumber:40}},u.createElement("path",{d:"M10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0V0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18V18ZM14 9H6C5.73479 9 5.48043 9.10536 5.2929 9.29289C5.10536 9.48043 5 9.73478 5 10C5 10.2652 5.10536 10.5196 5.2929 10.7071C5.48043 10.8946 5.73479 11 6 11H14C14.2652 11 14.5196 10.8946 14.7071 10.7071C14.8946 10.5196 15 10.2652 15 10C15 9.73478 14.8946 9.48043 14.7071 9.29289C14.5196 9.10536 14.2652 9 14 9Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Bc,lineNumber:41}})),e.itemName),u.createElement(kc,{__self:void 0,__source:{fileName:Bc,lineNumber:46}},u.createElement("span",{className:"index-value",__self:void 0,__source:{fileName:Bc,lineNumber:47}},e.value)," / ",u.createElement("span",{className:(i=e.changePercent,i>0?"success":i<0?"error":0==i?"neutral":void 0),__self:void 0,__source:{fileName:Bc,lineNumber:47}},e.changePercent,"%")));var i}))),u.createElement(Mc,{__self:void 0,__source:{fileName:Bc,lineNumber:52}},i&&u.createElement(u.Fragment,null,"Last updated on ",i),i&&n&&u.createElement(u.Fragment,null," | "),n&&u.createElement(u.Fragment,null,"Source: ",n))))},Hc=e.div`
|
|
1838
2096
|
background: ${f["neutral-50"]};
|
|
1839
2097
|
position: relative;
|
|
1840
2098
|
overflow: hidden;
|
|
1841
|
-
`,
|
|
2099
|
+
`,Lc=e.div`
|
|
1842
2100
|
width: 60%;
|
|
1843
2101
|
height: 100%;
|
|
1844
2102
|
background: ${f["neutral-100"]};
|
|
@@ -1855,9 +2113,9 @@ button{
|
|
|
1855
2113
|
left: 110%;
|
|
1856
2114
|
}
|
|
1857
2115
|
}
|
|
1858
|
-
`,
|
|
2116
|
+
`,Oc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LoadingShimmer\\LoadingShimmer.tsx",Sc=e=>{const{shape:t,width:i,height:n}=e;return"circular"==t?u.createElement(Hc,{style:{borderRadius:"100%",width:i||"100%",height:n},__self:void 0,__source:{fileName:Oc,lineNumber:9}},u.createElement(Lc,{__self:void 0,__source:{fileName:Oc,lineNumber:10}})):u.createElement(Hc,{style:{borderRadius:"8px",width:i||"100%",height:n},__self:void 0,__source:{fileName:Oc,lineNumber:15}},u.createElement(Lc,{__self:void 0,__source:{fileName:Oc,lineNumber:16}}))},Ic=e.div`
|
|
1859
2117
|
overflow-x: auto;
|
|
1860
|
-
`,
|
|
2118
|
+
`,Rc=e.table`
|
|
1861
2119
|
width: 100%;
|
|
1862
2120
|
border-collapse: separate;
|
|
1863
2121
|
border-spacing: 0 8px;
|
|
@@ -1928,7 +2186,7 @@ button{
|
|
|
1928
2186
|
gap: 4px;
|
|
1929
2187
|
align-items: center;
|
|
1930
2188
|
}
|
|
1931
|
-
`,
|
|
2189
|
+
`,Fc=e.div`
|
|
1932
2190
|
display: flex;
|
|
1933
2191
|
justify-content: center;
|
|
1934
2192
|
align-items: center;
|
|
@@ -1936,7 +2194,7 @@ button{
|
|
|
1936
2194
|
height: 581px;
|
|
1937
2195
|
background: ${f.white};
|
|
1938
2196
|
border-radius: 8px;
|
|
1939
|
-
`,
|
|
2197
|
+
`,zc=e.div`
|
|
1940
2198
|
display: flex;
|
|
1941
2199
|
align-items: center;
|
|
1942
2200
|
flex-direction: column;
|
|
@@ -1949,7 +2207,7 @@ button{
|
|
|
1949
2207
|
line-height: 19px;
|
|
1950
2208
|
margin: 0;
|
|
1951
2209
|
}
|
|
1952
|
-
`,
|
|
2210
|
+
`,Qc=e.div`
|
|
1953
2211
|
border-radius: 4px;
|
|
1954
2212
|
width: fit-content;
|
|
1955
2213
|
text-align: center;
|
|
@@ -1983,7 +2241,7 @@ button{
|
|
|
1983
2241
|
background:${f["error-50"]};
|
|
1984
2242
|
color: ${f["error-500"]};
|
|
1985
2243
|
}
|
|
1986
|
-
`,
|
|
2244
|
+
`,jc=e=>{const{status:t,label:i,width:n}=e;return u.createElement(Qc,{className:t||"default",style:{width:n},__self:void 0,__source:{fileName:"D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\StatusBadge\\StatusBadge.tsx",lineNumber:8}},i)},Vc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPRequestTable\\LPRequestTable.tsx",Tc=e=>{const{transactions:t,callback:i,newTransactionFxn:n}=e;function r(e){let t={label:e,badgeColor:""};return"NW"===e.toUpperCase()&&(t={label:"New",badgeColor:"neutral"}),"PCP"===e.toUpperCase()&&(t={label:"Pending payment",badgeColor:"warning"}),"PLC"===e.toUpperCase()&&(t={label:"Sent to LP",badgeColor:"primary"}),"PLP"===e.toUpperCase()&&(t={label:"Confirmed with LP",badgeColor:"neutral"}),"PBC"===e.toUpperCase()&&(t={label:"Processing at LP",badgeColor:"neutral"}),"ST"===e.toUpperCase()&&(t={label:"Complete",badgeColor:"success"}),"CAN"===e.toUpperCase()&&(t={label:"Cancelled",badgeColor:"error"}),t}return u.createElement(Ic,{__self:void 0,__source:{fileName:Vc,lineNumber:60}},u.createElement(Rc,{__self:void 0,__source:{fileName:Vc,lineNumber:61}},u.createElement("thead",{__self:void 0,__source:{fileName:Vc,lineNumber:62}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Vc,lineNumber:63}},u.createElement("th",{__self:void 0,__source:{fileName:Vc,lineNumber:64}},"Provider"),u.createElement("th",{__self:void 0,__source:{fileName:Vc,lineNumber:65}},"Transaction amount"),u.createElement("th",{__self:void 0,__source:{fileName:Vc,lineNumber:66}},"Transaction ID"),u.createElement("th",{__self:void 0,__source:{fileName:Vc,lineNumber:67}},"Status"),u.createElement("th",{__self:void 0,__source:{fileName:Vc,lineNumber:68}},"Date"))),t&&t.length>0&&u.createElement("tbody",{__self:void 0,__source:{fileName:Vc,lineNumber:72}},t.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:Vc,lineNumber:86}},u.createElement("td",{__self:void 0,__source:{fileName:Vc,lineNumber:87}},u.createElement("div",{className:"provider",__self:void 0,__source:{fileName:Vc,lineNumber:88}},e.providerLogo?u.createElement("img",{src:e.providerLogo,alt:"provider logo",__self:void 0,__source:{fileName:Vc,lineNumber:89}}):u.createElement("div",{className:"provider-logo-placeholder",__self:void 0,__source:{fileName:Vc,lineNumber:89}}),e.providerName)),u.createElement("td",{__self:void 0,__source:{fileName:Vc,lineNumber:93}},u.createElement("div",{className:"txn-amt",__self:void 0,__source:{fileName:Vc,lineNumber:94}},u.createElement("span",{className:"amt",__self:void 0,__source:{fileName:Vc,lineNumber:95}},u.createElement("img",{src:e.baseCurrFlag,alt:"base flag",__self:void 0,__source:{fileName:Vc,lineNumber:96}}),`${e.baseCurrency} ${e.baseAmount}`),u.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vc,lineNumber:99}},u.createElement("path",{d:"M17.9982 10.0002C17.9982 9.73497 17.8928 9.48062 17.7053 9.29308C17.5178 9.10554 17.2634 9.00019 16.9982 9.00019H5.40819L7.70819 6.71019C7.89649 6.52188 8.00228 6.26649 8.00228 6.00019C8.00228 5.73388 7.89649 5.47849 7.70819 5.29019C7.51988 5.10188 7.26449 4.99609 6.99819 4.99609C6.73188 4.99609 6.47649 5.10188 6.28819 5.29019L2.28819 9.29019C2.14943 9.43081 2.05543 9.60938 2.01806 9.80337C1.98068 9.99736 2.00161 10.1981 2.07819 10.3802C2.15321 10.5628 2.2806 10.7191 2.44432 10.8295C2.60804 10.9398 2.80076 10.9992 2.99819 11.0002H16.9982C17.2634 11.0002 17.5178 10.8948 17.7053 10.7073C17.8928 10.5198 17.9982 10.2654 17.9982 10.0002ZM21.9182 13.6202C21.8432 13.4376 21.7158 13.2812 21.552 13.1709C21.3883 13.0606 21.1956 13.0012 20.9982 13.0002H6.99819C6.73297 13.0002 6.47862 13.1055 6.29108 13.2931C6.10354 13.4806 5.99819 13.735 5.99819 14.0002C5.99819 14.2654 6.10354 14.5198 6.29108 14.7073C6.47862 14.8948 6.73297 15.0002 6.99819 15.0002H18.5882L16.2882 17.2902C16.1945 17.3831 16.1201 17.4937 16.0693 17.6156C16.0185 17.7375 15.9924 17.8682 15.9924 18.0002C15.9924 18.1322 16.0185 18.2629 16.0693 18.3848C16.1201 18.5066 16.1945 18.6172 16.2882 18.7102C16.3812 18.8039 16.4917 18.8783 16.6136 18.9291C16.7355 18.9798 16.8662 19.006 16.9982 19.006C17.1302 19.006 17.2609 18.9798 17.3828 18.9291C17.5046 18.8783 17.6152 18.8039 17.7082 18.7102L21.7082 14.7102C21.8469 14.5696 21.9409 14.391 21.9783 14.197C22.0157 14.003 21.9948 13.8023 21.9182 13.6202Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:Vc,lineNumber:100}})),u.createElement("span",{className:"amt",__self:void 0,__source:{fileName:Vc,lineNumber:102}},u.createElement("img",{src:e.exchangeCurrFlag,alt:"exchange flag",__self:void 0,__source:{fileName:Vc,lineNumber:103}}),`${e.exchangeCurrency} ${e.exchangeAmount}`))),u.createElement("td",{__self:void 0,__source:{fileName:Vc,lineNumber:109}},u.createElement("div",{__self:void 0,__source:{fileName:Vc,lineNumber:110}},e.transactionId)),u.createElement("td",{__self:void 0,__source:{fileName:Vc,lineNumber:114}},u.createElement("div",{__self:void 0,__source:{fileName:Vc,lineNumber:115}},u.createElement(jc,{status:r(e.status).badgeColor,label:r(e.status).label,width:150,__self:void 0,__source:{fileName:Vc,lineNumber:116}}))),u.createElement("td",{__self:void 0,__source:{fileName:Vc,lineNumber:119}},u.createElement("div",{className:"txn-date",__self:void 0,__source:{fileName:Vc,lineNumber:120}},e.date,u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vc,lineNumber:122}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Vc,lineNumber:123}}))))))))),t&&0===t.length&&u.createElement(Fc,{__self:void 0,__source:{fileName:Vc,lineNumber:133}},u.createElement(zc,{__self:void 0,__source:{fileName:Vc,lineNumber:134}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vc,lineNumber:135}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Vc,lineNumber:136}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Vc,lineNumber:137}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Vc,lineNumber:138}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Vc,lineNumber:139}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Vc,lineNumber:140}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Vc,lineNumber:141}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Vc,lineNumber:142}})),u.createElement("defs",{__self:void 0,__source:{fileName:Vc,lineNumber:144}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Vc,lineNumber:145}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Vc,lineNumber:146}})))),u.createElement("p",{__self:void 0,__source:{fileName:Vc,lineNumber:150}},"Your most recent liquidity requests will live here when you have them."),u.createElement(ie,{size:"md",variant:"primary",onClick:()=>{n()},__self:void 0,__source:{fileName:Vc,lineNumber:151}},"Begin Transaction"))))},Yc=e.div`
|
|
1987
2245
|
background: ${f.white};
|
|
1988
2246
|
width: 257px;
|
|
1989
2247
|
padding: 16px 0;
|
|
@@ -1992,19 +2250,19 @@ button{
|
|
|
1992
2250
|
display: flex;
|
|
1993
2251
|
flex-direction: column;
|
|
1994
2252
|
justify-content: space-between;
|
|
1995
|
-
`,
|
|
2253
|
+
`,Xc=e.a`
|
|
1996
2254
|
color: ${f["neutral-900"]};
|
|
1997
2255
|
text-decoration: none;
|
|
1998
|
-
`,
|
|
2256
|
+
`,Wc=e.div`
|
|
1999
2257
|
text-decoration: none;
|
|
2000
2258
|
display: flex;
|
|
2001
2259
|
gap: 8px;
|
|
2002
2260
|
align-items: center;
|
|
2003
|
-
`,
|
|
2261
|
+
`,Zc=e.div`
|
|
2004
2262
|
display: flex;
|
|
2005
2263
|
flex-direction: column;
|
|
2006
2264
|
gap: 24px;
|
|
2007
|
-
`,
|
|
2265
|
+
`,Gc=e.div`
|
|
2008
2266
|
padding: 8px 24px;
|
|
2009
2267
|
display: flex;
|
|
2010
2268
|
justify-content: space-between;
|
|
@@ -2024,7 +2282,7 @@ button{
|
|
|
2024
2282
|
&.indent{
|
|
2025
2283
|
padding-left: 50px;
|
|
2026
2284
|
}
|
|
2027
|
-
`,
|
|
2285
|
+
`,Uc=e.div`
|
|
2028
2286
|
display: flex;
|
|
2029
2287
|
flex-direction: column;
|
|
2030
2288
|
gap: 16px;
|
|
@@ -2036,7 +2294,7 @@ button{
|
|
|
2036
2294
|
overflow: hidden;
|
|
2037
2295
|
display: none;
|
|
2038
2296
|
}
|
|
2039
|
-
`,
|
|
2297
|
+
`,Kc=e.div`
|
|
2040
2298
|
&.active{
|
|
2041
2299
|
border-left: 2px solid ${f["primary-500"]};
|
|
2042
2300
|
background: ${f["primary-50"]};
|
|
@@ -2044,19 +2302,19 @@ button{
|
|
|
2044
2302
|
&.active .cm-main-item{
|
|
2045
2303
|
color: ${f["primary-500"]};
|
|
2046
2304
|
}
|
|
2047
|
-
`;ne('@font-face {\n font-family: \'icomoon\';\n src: url(\'fonts/icomoon.eot?fpuszj\');\n src: url(\'fonts/icomoon.eot?fpuszj#iefix\') format(\'embedded-opentype\'),\n url(\'fonts/icomoon.ttf?fpuszj\') format(\'truetype\'),\n url(\'fonts/icomoon.woff?fpuszj\') format(\'woff\'),\n url(\'fonts/icomoon.svg?fpuszj#icomoon\') format(\'svg\');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^="icon-"], [class*=" icon-"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'icomoon\' !important;\n speak: never;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icons_icon-search__Suq-P:before {\n content: "\\e91a";\n}\n.icons_icon-angle-right-b__HUlDm:before {\n content: "\\e917";\n}\n.icons_icon-angle-left__rFa--:before {\n content: "\\e918";\n}\n.icons_icon-angle-left-b__d-MbM:before {\n content: "\\e919";\n}\n.icons_icon-exclamation-triangle__I6HFk:before {\n content: "\\e916";\n}\n.icons_icon-eye__gR3er:before {\n content: "\\e914";\n}\n.icons_icon-eye-slash__nB-2V:before {\n content: "\\e915";\n}\n.icons_icon-info-circle__E9tZC:before {\n content: "\\e913";\n}\n.icons_icon-arrow-left__0FlZU:before {\n content: "\\e912";\n}\n.icons_icon-check__S6CFf:before {\n content: "\\e911";\n}\n.icons_icon-history__Fg53C:before {\n content: "\\e910";\n}\n.icons_icon-dash__fmxNJ:before {\n content: "\\1f32b";\n}\n.icons_icon-arrow-up-right__H1cka:before {\n content: "\\e90e";\n}\n.icons_icon-arrow-down-right__sQHwe:before {\n content: "\\e90f";\n}\n.icons_icon-arrows-left-right__dmv5o:before {\n content: "\\e90d";\n}\n.icons_icon-angle-up__oiCBz:before {\n content: "\\e90c";\n}\n.icons_icon-user__jooqY:before {\n content: "\\e90a";\n}\n.icons_icon-logout__4kJjS:before {\n content: "\\e90b";\n}\n.icons_icon-angle-right__vgtLv:before {\n content: "\\e907";\n}\n.icons_icon-times__tNdUM:before {\n content: "\\e909";\n}\n.icons_icon-bars__yKP5v:before {\n content: "\\e908";\n}\n.icons_icon-angle-down__jlO4a:before {\n content: "\\e906";\n}\n.icons_icon-bug__kxO8i:before {\n content: "\\e904";\n}\n.icons_icon-notification__fQhv-:before {\n content: "\\e905";\n}\n.icons_icon-settings__pypbX:before {\n content: "\\e903";\n}\n.icons_icon-chart__czcdA:before {\n content: "\\e900";\n}\n.icons_icon-dashboard__g0twC:before {\n content: "\\e901";\n}\n.icons_icon-report__C2wpi:before {\n content: "\\e902";\n}\n.icons_icon-angle-right-b-16__6Zc4l:before {\n content: "\\e91b";\n}\n.icons_icon-angle-left-16__wmprn:before {\n content: "\\e91c";\n}\n.icons_icon-angle-left-b-16__Z8ZYH:before {\n content: "\\e91e";\n}\n.icons_icon-angle-right-16__0tvm-:before {\n content: "\\e91d";\n}\n');const
|
|
2305
|
+
`;ne('@font-face {\n font-family: \'icomoon\';\n src: url(\'fonts/icomoon.eot?fpuszj\');\n src: url(\'fonts/icomoon.eot?fpuszj#iefix\') format(\'embedded-opentype\'),\n url(\'fonts/icomoon.ttf?fpuszj\') format(\'truetype\'),\n url(\'fonts/icomoon.woff?fpuszj\') format(\'woff\'),\n url(\'fonts/icomoon.svg?fpuszj#icomoon\') format(\'svg\');\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^="icon-"], [class*=" icon-"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'icomoon\' !important;\n speak: never;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icons_icon-search__Suq-P:before {\n content: "\\e91a";\n}\n.icons_icon-angle-right-b__HUlDm:before {\n content: "\\e917";\n}\n.icons_icon-angle-left__rFa--:before {\n content: "\\e918";\n}\n.icons_icon-angle-left-b__d-MbM:before {\n content: "\\e919";\n}\n.icons_icon-exclamation-triangle__I6HFk:before {\n content: "\\e916";\n}\n.icons_icon-eye__gR3er:before {\n content: "\\e914";\n}\n.icons_icon-eye-slash__nB-2V:before {\n content: "\\e915";\n}\n.icons_icon-info-circle__E9tZC:before {\n content: "\\e913";\n}\n.icons_icon-arrow-left__0FlZU:before {\n content: "\\e912";\n}\n.icons_icon-check__S6CFf:before {\n content: "\\e911";\n}\n.icons_icon-history__Fg53C:before {\n content: "\\e910";\n}\n.icons_icon-dash__fmxNJ:before {\n content: "\\1f32b";\n}\n.icons_icon-arrow-up-right__H1cka:before {\n content: "\\e90e";\n}\n.icons_icon-arrow-down-right__sQHwe:before {\n content: "\\e90f";\n}\n.icons_icon-arrows-left-right__dmv5o:before {\n content: "\\e90d";\n}\n.icons_icon-angle-up__oiCBz:before {\n content: "\\e90c";\n}\n.icons_icon-user__jooqY:before {\n content: "\\e90a";\n}\n.icons_icon-logout__4kJjS:before {\n content: "\\e90b";\n}\n.icons_icon-angle-right__vgtLv:before {\n content: "\\e907";\n}\n.icons_icon-times__tNdUM:before {\n content: "\\e909";\n}\n.icons_icon-bars__yKP5v:before {\n content: "\\e908";\n}\n.icons_icon-angle-down__jlO4a:before {\n content: "\\e906";\n}\n.icons_icon-bug__kxO8i:before {\n content: "\\e904";\n}\n.icons_icon-notification__fQhv-:before {\n content: "\\e905";\n}\n.icons_icon-settings__pypbX:before {\n content: "\\e903";\n}\n.icons_icon-chart__czcdA:before {\n content: "\\e900";\n}\n.icons_icon-dashboard__g0twC:before {\n content: "\\e901";\n}\n.icons_icon-report__C2wpi:before {\n content: "\\e902";\n}\n.icons_icon-angle-right-b-16__6Zc4l:before {\n content: "\\e91b";\n}\n.icons_icon-angle-left-16__wmprn:before {\n content: "\\e91c";\n}\n.icons_icon-angle-left-b-16__Z8ZYH:before {\n content: "\\e91e";\n}\n.icons_icon-angle-right-16__0tvm-:before {\n content: "\\e91d";\n}\n');const Jc="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPSideNav\\LPSideNav.tsx",qc=e=>{const{mainNavLinks:t,codeMaintenanceLinks:i,currentPage:n}=e;return u.createElement(Yc,{__self:void 0,__source:{fileName:Jc,lineNumber:27}},t&&t.length>0&&u.createElement(Zc,{__self:void 0,__source:{fileName:Jc,lineNumber:29}},t.map(((e,t)=>u.createElement(u.Fragment,null,e.LinkComponent?u.createElement(e.LinkComponent,{url:e.url,__self:void 0,__source:{fileName:Jc,lineNumber:33}},u.createElement(u.Fragment,null,u.createElement(Gc,{className:n===e.pageName?"active":"",__self:void 0,__source:{fileName:Jc,lineNumber:35}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:36}},u.createElement("i",{className:e.iconClass,__self:void 0,__source:{fileName:Jc,lineNumber:37}}),e.label),u.createElement("i",{className:"icon-angle-right",__self:void 0,__source:{fileName:Jc,lineNumber:40}})))):u.createElement(Xc,{key:t,href:e.url,__self:void 0,__source:{fileName:Jc,lineNumber:45}},u.createElement(Gc,{className:n===e.pageName?"active":"",__self:void 0,__source:{fileName:Jc,lineNumber:46}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:47}},u.createElement("i",{className:e.iconClass,__self:void 0,__source:{fileName:Jc,lineNumber:48}}),e.label),u.createElement("i",{className:"icon-angle-right",__self:void 0,__source:{fileName:Jc,lineNumber:51}}))))))),i&&u.createElement("div",{__self:void 0,__source:{fileName:Jc,lineNumber:61}},u.createElement("hr",{style:{margin:"16px",border:`1px solid ${f["neutral-100"]}`},__self:void 0,__source:{fileName:Jc,lineNumber:62}}),u.createElement(Kc,{className:"active",__self:void 0,__source:{fileName:Jc,lineNumber:63}},u.createElement(Xc,{href:"#",onClick:e=>{e.preventDefault(),document.querySelector("#codeMaintenanceMenu").classList.toggle("collapsed")},__self:void 0,__source:{fileName:Jc,lineNumber:64}},u.createElement(Gc,{__self:void 0,__source:{fileName:Jc,lineNumber:68}},u.createElement(Wc,{className:"cm-main-item",__self:void 0,__source:{fileName:Jc,lineNumber:69}},u.createElement("i",{className:"icon-settings",__self:void 0,__source:{fileName:Jc,lineNumber:70}}),"Code Maintenance"))),u.createElement(Uc,{className:"collapsed",id:"codeMaintenanceMenu",__self:void 0,__source:{fileName:Jc,lineNumber:75}},u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:76}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:77}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:78}},"Users"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:83}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:84}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:85}},"Brokers"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:90}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:91}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:92}},"Liquidity Providers"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:97}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:98}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:99}},"App Actions"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:104}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:105}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:106}},"App Forms"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:111}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:112}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:113}},"App Modules"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:118}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:119}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:120}},"Currency Pairs"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:125}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:126}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:127}},"Payment Methods"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:132}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:133}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:134}},"System Config"))),u.createElement(Xc,{href:"#",__self:void 0,__source:{fileName:Jc,lineNumber:139}},u.createElement(Gc,{className:"indent",__self:void 0,__source:{fileName:Jc,lineNumber:140}},u.createElement(Wc,{__self:void 0,__source:{fileName:Jc,lineNumber:141}},"User Roles")))))))},$c=e.div`
|
|
2048
2306
|
background: ${f.white};
|
|
2049
2307
|
display: flex;
|
|
2050
2308
|
justify-content: space-between;
|
|
2051
2309
|
align-items: center;
|
|
2052
2310
|
position: relative;
|
|
2053
2311
|
//height: 120px;
|
|
2054
|
-
`,
|
|
2312
|
+
`,ed=e.div`
|
|
2055
2313
|
padding: 16px 32px;
|
|
2056
2314
|
img{
|
|
2057
2315
|
width: 193px;
|
|
2058
2316
|
}
|
|
2059
|
-
`,
|
|
2317
|
+
`,td=e.div`
|
|
2060
2318
|
padding: 16px 32px;
|
|
2061
2319
|
display: flex;
|
|
2062
2320
|
gap: 24px;
|
|
@@ -2088,7 +2346,7 @@ button{
|
|
|
2088
2346
|
display: flex;
|
|
2089
2347
|
gap: 16px;
|
|
2090
2348
|
}
|
|
2091
|
-
`,
|
|
2349
|
+
`,id=e.button`
|
|
2092
2350
|
background: ${f.white};
|
|
2093
2351
|
border-radius: 8px;
|
|
2094
2352
|
border: none;
|
|
@@ -2119,7 +2377,7 @@ button{
|
|
|
2119
2377
|
right: 0;
|
|
2120
2378
|
top: 0;
|
|
2121
2379
|
}
|
|
2122
|
-
`,
|
|
2380
|
+
`,nd=e.button`
|
|
2123
2381
|
display: flex;
|
|
2124
2382
|
align-items: center;
|
|
2125
2383
|
gap: 4px;
|
|
@@ -2156,7 +2414,7 @@ button{
|
|
|
2156
2414
|
rotate: 0deg;
|
|
2157
2415
|
}
|
|
2158
2416
|
}
|
|
2159
|
-
`,
|
|
2417
|
+
`,rd=e.div`
|
|
2160
2418
|
width: 430px;
|
|
2161
2419
|
min-height: 321px;
|
|
2162
2420
|
background: ${f.white};
|
|
@@ -2165,7 +2423,7 @@ button{
|
|
|
2165
2423
|
right: 32px;
|
|
2166
2424
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
2167
2425
|
border-radius: 8px;
|
|
2168
|
-
`,
|
|
2426
|
+
`,od=e.div`
|
|
2169
2427
|
width: 460px;
|
|
2170
2428
|
background: ${f.white};
|
|
2171
2429
|
position: absolute;
|
|
@@ -2173,7 +2431,7 @@ button{
|
|
|
2173
2431
|
right: 32px;
|
|
2174
2432
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
2175
2433
|
border-radius: 8px;
|
|
2176
|
-
`,
|
|
2434
|
+
`,sd=e.div`
|
|
2177
2435
|
border-bottom: 1px solid ${f["neutral-100"]};
|
|
2178
2436
|
padding: 12px 16px;font-family: Circular Book Medium, sans-serif;
|
|
2179
2437
|
font-weight: 500;
|
|
@@ -2182,7 +2440,7 @@ button{
|
|
|
2182
2440
|
h4{
|
|
2183
2441
|
margin: 0 !important;
|
|
2184
2442
|
}
|
|
2185
|
-
|
|
2443
|
+
`,ld=e.div`
|
|
2186
2444
|
padding: 12px 16px;font-family: Circular Book Medium, sans-serif;
|
|
2187
2445
|
font-weight: 500;
|
|
2188
2446
|
font-size: 16px;
|
|
@@ -2190,7 +2448,7 @@ button{
|
|
|
2190
2448
|
h4{
|
|
2191
2449
|
margin: 0 !important;
|
|
2192
2450
|
}
|
|
2193
|
-
`,
|
|
2451
|
+
`,ad=e.div`
|
|
2194
2452
|
display: flex;
|
|
2195
2453
|
flex-direction: column;
|
|
2196
2454
|
gap: 16px;
|
|
@@ -2228,10 +2486,10 @@ button{
|
|
|
2228
2486
|
font-weight: 400;
|
|
2229
2487
|
line-height: 17px;
|
|
2230
2488
|
}
|
|
2231
|
-
`,
|
|
2489
|
+
`,cd=e.div`
|
|
2232
2490
|
overflow-y: auto;
|
|
2233
2491
|
max-height: 749px;
|
|
2234
|
-
`,
|
|
2492
|
+
`,dd=e.div`
|
|
2235
2493
|
background: ${f["primary-50"]};
|
|
2236
2494
|
cursor: pointer;
|
|
2237
2495
|
padding: 16px;
|
|
@@ -2257,7 +2515,7 @@ button{
|
|
|
2257
2515
|
color: ${f["primary-500"]};
|
|
2258
2516
|
margin: 0;
|
|
2259
2517
|
}
|
|
2260
|
-
`,
|
|
2518
|
+
`,ud=e.div`
|
|
2261
2519
|
background: ${f.white};
|
|
2262
2520
|
cursor: pointer;
|
|
2263
2521
|
padding: 16px;
|
|
@@ -2285,7 +2543,7 @@ button{
|
|
|
2285
2543
|
color: ${f["primary-500"]};
|
|
2286
2544
|
margin: 0;
|
|
2287
2545
|
}
|
|
2288
|
-
`,
|
|
2546
|
+
`,fd=e.div`
|
|
2289
2547
|
width: 290px;
|
|
2290
2548
|
background: ${f.white};
|
|
2291
2549
|
position: absolute;
|
|
@@ -2293,7 +2551,7 @@ button{
|
|
|
2293
2551
|
right: 32px;
|
|
2294
2552
|
box-shadow: 0 0 24px rgba(0, 0, 0, 0.04);
|
|
2295
2553
|
border-radius: 8px;
|
|
2296
|
-
`,
|
|
2554
|
+
`,hd=e.a`
|
|
2297
2555
|
display: flex;
|
|
2298
2556
|
gap: 16px;
|
|
2299
2557
|
justify-content: space-between;
|
|
@@ -2307,19 +2565,19 @@ button{
|
|
|
2307
2565
|
&:hover{
|
|
2308
2566
|
background: ${f["neutral-50"]};
|
|
2309
2567
|
}
|
|
2310
|
-
`,
|
|
2568
|
+
`,md=e.div`
|
|
2311
2569
|
position: absolute;
|
|
2312
2570
|
width: 100%;
|
|
2313
2571
|
height: 100%;
|
|
2314
2572
|
display: flex;
|
|
2315
2573
|
justify-content: center;
|
|
2316
2574
|
align-items: center;
|
|
2317
|
-
`,
|
|
2575
|
+
`,pd=e.div`
|
|
2318
2576
|
display: flex;
|
|
2319
2577
|
justify-content: center;
|
|
2320
2578
|
align-items: center;
|
|
2321
2579
|
height: 477px;
|
|
2322
|
-
`,
|
|
2580
|
+
`,gd=e.div`
|
|
2323
2581
|
display: flex;
|
|
2324
2582
|
flex-direction: column;
|
|
2325
2583
|
gap: 16px;
|
|
@@ -2337,41 +2595,41 @@ button{
|
|
|
2337
2595
|
font-size: 14px;
|
|
2338
2596
|
margin: 0;
|
|
2339
2597
|
}
|
|
2340
|
-
`,
|
|
2598
|
+
`,bd=e.div`
|
|
2341
2599
|
color: ${f["neutral-500"]};
|
|
2342
2600
|
font-size: 12px;
|
|
2343
2601
|
text-align: right;
|
|
2344
2602
|
width: 40px;
|
|
2345
|
-
`;var dd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALjSURBVHgBtVZLKG1RGP7OdsqbU0gkrkeY6Q4MKGFMuaUU8kxJmZgokpkyMGdiQJmY6BZFkqtk4NE9kVeKQpxzOu9H59R5/Hf9P0cmR7ec/dVqrb3XWt//WN+/9gYUiOiHavuquSg52GBO5ja8D/6qZkJy4VbtJxvYUINf0Ad/2ABBP7j1NgANOkMXAzs7Ozg5OXkzwBny+/34nKlIJIJgMPhfZOFwGD6f7+M5Fothe3sbx8fHiEajwPj4ODU3N1NfXx95vV66vb2l3t5eamlpodHRUZqcnKTz83Nqb28XgZvNZhoYGKBQKERHR0fU1dUl+0dGRshisRDzNTY2UlNTE3V0dJDGoayurmJiYgKZmZmYnZ1FWVkZ1tbWUFxcDLvdLp69vLxIr4hlbLPZMD09jdbWVtmfkZGBqakpzMzMoK6uDm1tbVhcXIRWWFgI5TG2trbgdDrx8PCAwcFBIa+qqkqYmtfXV6iIoTxHaWkpOjs78fT0hOzsbKSnp0tfVFQEbWlpCfPz89jc3MTd3Z1MXF1dCQkbZKSlpUnvdrvh8XiEoKCgAJqm4fr6WubOzs6Ql5cnkfB7jpRh7OnpQUlJiZBUV1eju7sbc3NzWF9fh9VqlXTxfG1tLYaGhuRAOeLy8nL09/djbGxMIri/v8fCwoKQ8tqVlRVcXFzA4HA46PHxUTbk5ubKAg6VvT09PcXh4SGWl5dFZZeXlzCZTGLwc6rYkcrKSok+Ds6GRPHVlagOmoaHh+k7MOIL1NfXo6KiAt+B7ndRwggODg5EKXzInE9WB6vH5XIhKysLBoMBNzc3kneuHz4/XpOfn4+9vT00NDRAnW9iA0zCZb+7u4uUlBSpC1YaFx4rjI2zeoxGo1wJLGl2JicnB6qipa7EkUQpitdAamqq3FWsqrjKOJJAICDkXNH8zGP2/vn5WdbX1NSIYTbgQvI/lx/g69oM/fBb94++jOjtt2WDkgP+9dl/dxz/AC0iYjxOw7vYAAAAAElFTkSuQmCC";const ud="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPTopBar\\LPTopBar.tsx",fd=e=>{const{userName:t,requestLpUrl:i,notifications:r,myProfileUrl:o,signOutApiUrl:s}=e,[l,a]=n.useState(!1),[c,d]=n.useState(!1),[h,p]=n.useState(!1),[g,b]=n.useState(1),[_,C]=n.useState(!1);return u.createElement(Xc,{__self:void 0,__source:{fileName:ud,lineNumber:46}},u.createElement(Wc,{__self:void 0,__source:{fileName:ud,lineNumber:47}},u.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/v1663283686/dashboard-logo_a7i59z.svg",alt:"SSX Logo",__self:void 0,__source:{fileName:ud,lineNumber:48}})),u.createElement(Zc,{__self:void 0,__source:{fileName:ud,lineNumber:50}},u.createElement("a",{href:i,className:"trade-button",__self:void 0,__source:{fileName:ud,lineNumber:51}},"Request LP"),u.createElement("div",{className:"vt-divider",__self:void 0,__source:{fileName:ud,lineNumber:52}}),u.createElement("div",{className:"icon-buttons",__self:void 0,__source:{fileName:ud,lineNumber:53}},u.createElement(Gc,{className:""+(l?"active-item":""),onClick:()=>{a(!l),d(!1),p(!1),b(1)},__self:void 0,__source:{fileName:ud,lineNumber:54}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:61}},u.createElement("path",{d:"M17 12H19C19.2652 12 19.5196 11.8946 19.7071 11.7071C19.8946 11.5196 20 11.2652 20 11C20 10.7348 19.8946 10.4804 19.7071 10.2929C19.5196 10.1054 19.2652 10 19 10H17V9C16.9912 8.53931 16.9205 8.0819 16.79 7.64C17.73 7.27962 18.5393 6.64391 19.112 5.81603C19.6847 4.98815 19.9942 4.00667 20 3C20 2.73478 19.8946 2.48043 19.7071 2.29289C19.5196 2.10536 19.2652 2 19 2C18.7348 2 18.4804 2.10536 18.2929 2.29289C18.1054 2.48043 18 2.73478 18 3C17.9991 3.64484 17.7905 4.27224 17.405 4.7892C17.0196 5.30615 16.4778 5.68515 15.86 5.87C15.3668 5.23797 14.7289 4.7338 14 4.4C14.0104 4.26687 14.0104 4.13313 14 4C14 2.93913 13.5786 1.92172 12.8284 1.17157C12.0783 0.421427 11.0609 0 10 0C8.93913 0 7.92172 0.421427 7.17157 1.17157C6.42143 1.92172 6 2.93913 6 4C5.98965 4.13313 5.98965 4.26687 6 4.4C5.25662 4.72831 4.60446 5.23288 4.1 5.87C3.48968 5.67807 2.9567 5.29604 2.5789 4.77971C2.2011 4.26338 1.99826 3.63979 2 3C2 2.73478 1.89464 2.48043 1.70711 2.29289C1.51957 2.10536 1.26522 2 1 2C0.734784 2 0.48043 2.10536 0.292893 2.29289C0.105357 2.48043 0 2.73478 0 3C0.00576615 4.00667 0.315265 4.98815 0.888 5.81603C1.46074 6.64391 2.27003 7.27962 3.21 7.64C3.07948 8.0819 3.00885 8.53931 3 9V10H1C0.734784 10 0.48043 10.1054 0.292893 10.2929C0.105357 10.4804 0 10.7348 0 11C0 11.2652 0.105357 11.5196 0.292893 11.7071C0.48043 11.8946 0.734784 12 1 12H3V13C3.00086 13.4635 3.04776 13.9258 3.14 14.38C2.21628 14.7502 1.42404 15.3876 0.864657 16.2106C0.305279 17.0336 0.00421571 18.0049 0 19C0 19.2652 0.105357 19.5196 0.292893 19.7071C0.48043 19.8946 0.734784 20 1 20C1.26522 20 1.51957 19.8946 1.70711 19.7071C1.89464 19.5196 2 19.2652 2 19C2.0027 18.4168 2.17535 17.847 2.49681 17.3604C2.81828 16.8737 3.27462 16.4913 3.81 16.26C4.40471 17.3862 5.29541 18.3289 6.38616 18.9864C7.47692 19.6439 8.72639 19.9914 10 19.9914C11.2736 19.9914 12.5231 19.6439 13.6138 18.9864C14.7046 18.3289 15.5953 17.3862 16.19 16.26C16.7254 16.4913 17.1817 16.8737 17.5032 17.3604C17.8247 17.847 17.9973 18.4168 18 19C18 19.2652 18.1054 19.5196 18.2929 19.7071C18.4804 19.8946 18.7348 20 19 20C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19C19.9958 18.0049 19.6947 17.0336 19.1353 16.2106C18.576 15.3876 17.7837 14.7502 16.86 14.38C16.9522 13.9258 16.9991 13.4635 17 13V12ZM9 17.9C7.87064 17.6695 6.8556 17.0558 6.12669 16.1629C5.39778 15.27 4.99976 14.1527 5 13V9C5 8.20435 5.31607 7.44129 5.87868 6.87868C6.44129 6.31607 7.20435 6 8 6H9V17.9ZM8 4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2C10.5304 2 11.0391 2.21071 11.4142 2.58579C11.7893 2.96086 12 3.46957 12 4H8ZM15 13C15.0002 14.1527 14.6022 15.27 13.8733 16.1629C13.1444 17.0558 12.1294 17.6695 11 17.9V6H12C12.7956 6 13.5587 6.31607 14.1213 6.87868C14.6839 7.44129 15 8.20435 15 9V13Z",fill:"#070B12",__self:void 0,__source:{fileName:ud,lineNumber:62}}))),u.createElement(Gc,{className:""+(c?"active-item":""),onClick:()=>{a(!1),d(!c),p(!1)},__self:void 0,__source:{fileName:ud,lineNumber:66}},u.createElement("div",{className:"notification-dot",__self:void 0,__source:{fileName:ud,lineNumber:71}}),u.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:73}},u.createElement("path",{d:"M14 11.18V8C13.9986 6.58312 13.4958 5.21247 12.5806 4.13077C11.6655 3.04908 10.3971 2.32615 9 2.09V1C9 0.734784 8.89464 0.48043 8.70711 0.292893C8.51957 0.105357 8.26522 0 8 0C7.73478 0 7.48043 0.105357 7.29289 0.292893C7.10536 0.48043 7 0.734784 7 1V2.09C5.60294 2.32615 4.33452 3.04908 3.41939 4.13077C2.50425 5.21247 2.00144 6.58312 2 8V11.18C1.41645 11.3863 0.910998 11.7681 0.552938 12.2729C0.194879 12.7778 0.00173951 13.3811 0 14V16C0 16.2652 0.105357 16.5196 0.292893 16.7071C0.48043 16.8946 0.734784 17 1 17H4.14C4.37028 17.8474 4.873 18.5954 5.5706 19.1287C6.26819 19.6621 7.1219 19.951 8 19.951C8.8781 19.951 9.73181 19.6621 10.4294 19.1287C11.127 18.5954 11.6297 17.8474 11.86 17H15C15.2652 17 15.5196 16.8946 15.7071 16.7071C15.8946 16.5196 16 16.2652 16 16V14C15.9983 13.3811 15.8051 12.7778 15.4471 12.2729C15.089 11.7681 14.5835 11.3863 14 11.18ZM4 8C4 6.93913 4.42143 5.92172 5.17157 5.17157C5.92172 4.42143 6.93913 4 8 4C9.06087 4 10.0783 4.42143 10.8284 5.17157C11.5786 5.92172 12 6.93913 12 8V11H4V8ZM8 18C7.65097 17.9979 7.30857 17.9045 7.00683 17.7291C6.70509 17.5536 6.45451 17.3023 6.28 17H9.72C9.54549 17.3023 9.29491 17.5536 8.99317 17.7291C8.69143 17.9045 8.34903 17.9979 8 18ZM14 15H2V14C2 13.7348 2.10536 13.4804 2.29289 13.2929C2.48043 13.1054 2.73478 13 3 13H13C13.2652 13 13.5196 13.1054 13.7071 13.2929C13.8946 13.4804 14 13.7348 14 14V15Z",fill:"#070B12",__self:void 0,__source:{fileName:ud,lineNumber:74}})))),u.createElement(Uc,{onClick:()=>{a(!1),d(!1),p(!h)},__self:void 0,__source:{fileName:ud,lineNumber:78}},u.createElement("div",{className:"profile-pic",__self:void 0,__source:{fileName:ud,lineNumber:83}}),u.createElement("svg",{className:h?"rotate-icon-180":"rotate-icon-0",width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:85}},u.createElement("path",{d:"M7.33334 1.1133C7.20843 0.989128 7.03946 0.919434 6.86334 0.919434C6.68722 0.919434 6.51825 0.989128 6.39334 1.1133L4.00001 3.4733L1.64001 1.1133C1.5151 0.989128 1.34613 0.919434 1.17001 0.919434C0.993883 0.919434 0.824915 0.989128 0.700006 1.1133C0.637521 1.17527 0.587925 1.249 0.554079 1.33024C0.520233 1.41148 0.502808 1.49862 0.502808 1.58663C0.502808 1.67464 0.520233 1.76177 0.554079 1.84301C0.587925 1.92425 0.637521 1.99799 0.700006 2.05996L3.52667 4.88663C3.58865 4.94911 3.66238 4.99871 3.74362 5.03256C3.82486 5.0664 3.912 5.08383 4.00001 5.08383C4.08801 5.08383 4.17515 5.0664 4.25639 5.03256C4.33763 4.99871 4.41136 4.94911 4.47334 4.88663L7.33334 2.05996C7.39582 1.99799 7.44542 1.92425 7.47927 1.84301C7.51311 1.76177 7.53054 1.67464 7.53054 1.58663C7.53054 1.49862 7.51311 1.41148 7.47927 1.33024C7.44542 1.249 7.39582 1.17527 7.33334 1.1133Z",fill:"#070B12",__self:void 0,__source:{fileName:ud,lineNumber:86}})))),l&&u.createElement(Kc,{__self:void 0,__source:{fileName:ud,lineNumber:92}},1===g&&u.createElement(u.Fragment,null,u.createElement(qc,{__self:void 0,__source:{fileName:ud,lineNumber:95}},u.createElement("h4",{className:"heading",__self:void 0,__source:{fileName:ud,lineNumber:96}},"Report Bug")),u.createElement(ed,{__self:void 0,__source:{fileName:ud,lineNumber:98}},u.createElement("textarea",{__self:void 0,__source:{fileName:ud,lineNumber:99}}),u.createElement("div",{className:"info-text",__self:void 0,__source:{fileName:ud,lineNumber:100}},u.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:102}},u.createElement("path",{d:"M6.99968 0.333252C5.68114 0.333252 4.3922 0.724245 3.29588 1.45679C2.19955 2.18933 1.34506 3.23052 0.840481 4.4487C0.335896 5.66687 0.203874 7.00731 0.461109 8.30052C0.718344 9.59373 1.35328 10.7816 2.28563 11.714C3.21798 12.6463 4.40587 13.2813 5.69908 13.5385C6.99228 13.7957 8.33273 13.6637 9.5509 13.1591C10.7691 12.6545 11.8103 11.8 12.5428 10.7037C13.2754 9.60739 13.6663 8.31846 13.6663 6.99992C13.6644 5.23241 12.9614 3.53786 11.7116 2.28804C10.4617 1.03823 8.76718 0.335218 6.99968 0.333252ZM6.99968 12.3333C5.94484 12.3333 4.9137 12.0205 4.03664 11.4344C3.15957 10.8484 2.47599 10.0154 2.07232 9.0409C1.66865 8.06636 1.56304 6.994 1.76882 5.95944C1.97461 4.92487 2.48256 3.97456 3.22844 3.22868C3.97432 2.4828 4.92463 1.97485 5.9592 1.76906C6.99376 1.56328 8.06612 1.66889 9.04066 2.07256C10.0152 2.47623 10.8481 3.15982 11.4342 4.03688C12.0202 4.91394 12.333 5.94508 12.333 6.99992C12.3314 8.41391 11.769 9.76952 10.7691 10.7694C9.76928 11.7692 8.41367 12.3316 6.99968 12.3333ZM6.99968 6.66658C6.82287 6.66658 6.6533 6.73682 6.52827 6.86185C6.40325 6.98687 6.33301 7.15644 6.33301 7.33325V9.33325C6.33301 9.51006 6.40325 9.67963 6.52827 9.80466C6.6533 9.92968 6.82287 9.99992 6.99968 9.99992C7.17649 9.99992 7.34606 9.92968 7.47108 9.80466C7.59611 9.67963 7.66634 9.51006 7.66634 9.33325V7.33325C7.66634 7.15644 7.59611 6.98687 7.47108 6.86185C7.34606 6.73682 7.17649 6.66658 6.99968 6.66658ZM6.99968 3.99992C6.83486 3.99992 6.67374 4.04879 6.5367 4.14036C6.39966 4.23193 6.29285 4.36208 6.22978 4.51435C6.16671 4.66662 6.1502 4.83418 6.18236 4.99583C6.21451 5.15748 6.29388 5.30596 6.41042 5.42251C6.52697 5.53905 6.67545 5.61842 6.8371 5.65057C6.99875 5.68273 7.16631 5.66622 7.31858 5.60315C7.47085 5.54008 7.601 5.43327 7.69257 5.29623C7.78414 5.15919 7.83301 4.99807 7.83301 4.83325C7.83301 4.61224 7.74521 4.40028 7.58893 4.244C7.43265 4.08772 7.22069 3.99992 6.99968 3.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:ud,lineNumber:103}})),u.createElement("p",{__self:void 0,__source:{fileName:ud,lineNumber:105}},"By submitting a report you agree to your current browser tab and LP system information being captured.")),!_&&u.createElement(m,{size:"md",variant:"primary",onClick:function(){C(!0),setTimeout((()=>{b(g+1),C(!1)}),2e3)},__self:void 0,__source:{fileName:ud,lineNumber:107}},"Report Bug"),_&&u.createElement(m,{size:"md",variant:"primary",disabled:!0,__self:void 0,__source:{fileName:ud,lineNumber:108}},u.createElement(oe,{variant:"primary",__self:void 0,__source:{fileName:ud,lineNumber:108}})))),2===g&&u.createElement(sd,{__self:void 0,__source:{fileName:ud,lineNumber:113}},u.createElement(N,{headingText:"Bug report sent",__self:void 0,__source:{fileName:ud,lineNumber:114}}))),c&&u.createElement(Jc,{__self:void 0,__source:{fileName:ud,lineNumber:121}},r&&r.length>0&&u.createElement(u.Fragment,null,u.createElement(qc,{__self:void 0,__source:{fileName:ud,lineNumber:124}},u.createElement("h4",{__self:void 0,__source:{fileName:ud,lineNumber:125}},"Notifications")),u.createElement(td,{__self:void 0,__source:{fileName:ud,lineNumber:127}},r.map(((e,t)=>e.notifRead?e.notifRead?u.createElement(nd,{key:t,__self:void 0,__source:{fileName:ud,lineNumber:164}},u.createElement("div",{__self:void 0,__source:{fileName:ud,lineNumber:165}},u.createElement("img",{src:dd,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"client logo",__self:void 0,__source:{fileName:ud,lineNumber:165}})),u.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:ud,lineNumber:166}},u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:ud,lineNumber:167}},u.createElement("div",{__self:void 0,__source:{fileName:ud,lineNumber:168}},u.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:ud,lineNumber:169}},e.notifTitle),u.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:ud,lineNumber:170}},e.lpProvider," • #",e.transactionNumber)),u.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:ud,lineNumber:172}},u.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:ud,lineNumber:173}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ud,lineNumber:174}},u.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:ud,lineNumber:175}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ud,lineNumber:176}},e.baseCurrencyCode," 12,900.99")),u.createElement("div",{__self:void 0,__source:{fileName:ud,lineNumber:178}},u.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:ud,lineNumber:179}})),u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ud,lineNumber:181}},u.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:ud,lineNumber:182}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ud,lineNumber:183}},e.exchCurrencyCode," 1,228.08"))))),u.createElement(cd,{__self:void 0,__source:{fileName:ud,lineNumber:188}},e.notifTime))):void 0:u.createElement(id,{key:t,__self:void 0,__source:{fileName:ud,lineNumber:132}},u.createElement("div",{__self:void 0,__source:{fileName:ud,lineNumber:133}},u.createElement("img",{src:dd,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"Provider logo",__self:void 0,__source:{fileName:ud,lineNumber:133}})),u.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:ud,lineNumber:134}},u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:ud,lineNumber:135}},u.createElement("div",{__self:void 0,__source:{fileName:ud,lineNumber:136}},u.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:ud,lineNumber:137}},e.notifTitle),u.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:ud,lineNumber:138}},e.lpProvider," • #",e.transactionNumber)),u.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:ud,lineNumber:140}},u.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:ud,lineNumber:141}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ud,lineNumber:142}},u.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:ud,lineNumber:143}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ud,lineNumber:144}},e.baseCurrencyCode," ",e.baseAmount)),u.createElement("div",{__self:void 0,__source:{fileName:ud,lineNumber:146}},u.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:ud,lineNumber:147}})),u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:ud,lineNumber:149}},u.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:ud,lineNumber:150}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:ud,lineNumber:151}},e.exchCurrencyCode," ",e.exchAmount))))),u.createElement(cd,{__self:void 0,__source:{fileName:ud,lineNumber:156}},e.notifTime))))))),r&&0===r.length&&u.createElement(ld,{__self:void 0,__source:{fileName:ud,lineNumber:198}},u.createElement(ad,{__self:void 0,__source:{fileName:ud,lineNumber:199}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:200}},u.createElement("g",{clipPath:"url(#clip0_499_2669)",__self:void 0,__source:{fileName:ud,lineNumber:201}},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46 26.5003C46 26.5003 46 28.3139 46 24.5001C46 16.768 39.732 10.501 32 10.501C24.268 10.501 18 16.768 18 24.5001C18 28.3139 18 26.5003 18 26.5003",fill:"#E8EEF7",__self:void 0,__source:{fileName:ud,lineNumber:202}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.521 48.5003H37C38.104 48.5003 39 49.397 39 50.5006C39 51.6041 38.104 52.5008 37 52.5008H12C11.253 52.5008 10.567 52.0834 10.224 51.4198C9.87998 50.7562 9.93499 49.9559 10.367 49.3459C10.367 49.3459 16 41.4092 16 32.501V24.5001C16 15.6644 23.163 8.50076 32 8.50076C40.837 8.50076 48 15.6644 48 24.5001C48 28.3139 48 28.4982 48 32.501C48 41.4092 53.633 49.3459 53.633 49.3459C54.065 49.9559 54.12 50.7562 53.776 51.4198C53.433 52.0834 52.747 52.5008 52 52.5008H46C44.896 52.5008 44 51.6041 44 50.5006C44 49.397 44.896 48.5003 46 48.5003H48.479C46.601 44.997 44 38.9726 44 32.501C44 28.4982 44 28.3139 44 24.5001C44 17.8728 38.627 12.5 32 12.5C25.373 12.5 20 17.8728 20 24.5001V32.501C20 38.9726 17.399 44.997 15.521 48.5003Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ud,lineNumber:203}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.658 50.5C37.88 51.126 38 51.799 38 52.5C38 55.811 35.311 58.5 32 58.5C28.689 58.5 26 55.811 26 52.5C26 51.799 26.12 51.126 26.342 50.5H37.658Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:ud,lineNumber:204}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.543 49.833C39.261 49.034 38.505 48.5 37.658 48.5H26.342C25.495 48.5 24.739 49.034 24.457 49.833C24.161 50.667 24 51.565 24 52.5C24 56.915 27.585 60.5 32 60.5C36.415 60.5 40 56.915 40 52.5C40 51.565 39.839 50.667 39.543 49.833ZM28.005 52.706C28.113 54.818 29.861 56.5 32 56.5C34.208 56.5 36 54.708 36 52.5H28L28.005 52.706ZM30 6.5V10.5C30 11.604 30.896 12.5 32 12.5C33.104 12.5 34 11.604 34 10.5V6.5C34 5.396 33.104 4.5 32 4.5C30.896 4.5 30 5.396 30 6.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ud,lineNumber:205}})),u.createElement("defs",{__self:void 0,__source:{fileName:ud,lineNumber:207}},u.createElement("clipPath",{id:"clip0_499_2669",__self:void 0,__source:{fileName:ud,lineNumber:208}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:ud,lineNumber:209}})))),u.createElement("div",{className:"text-center",__self:void 0,__source:{fileName:ud,lineNumber:213}},u.createElement("h3",{className:"text-neutral-900 text-heading",__self:void 0,__source:{fileName:ud,lineNumber:214}},"No Notifications"),u.createElement("p",{className:"subtext",__self:void 0,__source:{fileName:ud,lineNumber:215}},"Your notifications will show up here when you have them"))))),h&&u.createElement(rd,{__self:void 0,__source:{fileName:ud,lineNumber:224}},u.createElement($c,{__self:void 0,__source:{fileName:ud,lineNumber:225}},u.createElement("h4",{__self:void 0,__source:{fileName:ud,lineNumber:226}},t)),u.createElement(od,{href:o,__self:void 0,__source:{fileName:ud,lineNumber:228}},u.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:ud,lineNumber:229}},u.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:231}},u.createElement("path",{d:"M9.47333 7.47325C10.1269 6.95903 10.604 6.25387 10.8382 5.45588C11.0723 4.6579 11.0519 3.80676 10.7799 3.0209C10.5078 2.23503 9.9975 1.55352 9.32005 1.07116C8.64259 0.5888 7.83163 0.32959 7 0.32959C6.16836 0.32959 5.35741 0.5888 4.67995 1.07116C4.00249 1.55352 3.49223 2.23503 3.22014 3.0209C2.94805 3.80676 2.92767 4.6579 3.16184 5.45588C3.396 6.25387 3.87307 6.95903 4.52666 7.47325C3.40672 7.92195 2.42952 8.66615 1.69926 9.62653C0.968996 10.5869 0.51304 11.7275 0.379998 12.9266C0.370368 13.0141 0.378075 13.1027 0.402681 13.1873C0.427287 13.2719 0.468309 13.3508 0.523405 13.4195C0.634677 13.5582 0.79652 13.6471 0.973331 13.6666C1.15014 13.686 1.32744 13.6345 1.46621 13.5232C1.60499 13.4119 1.69388 13.2501 1.71333 13.0733C1.85972 11.77 2.48112 10.5665 3.45881 9.69245C4.4365 8.81844 5.70193 8.33527 7.01333 8.33527C8.32473 8.33527 9.59016 8.81844 10.5679 9.69245C11.5455 10.5665 12.1669 11.77 12.3133 13.0733C12.3315 13.2371 12.4096 13.3884 12.5327 13.4979C12.6559 13.6075 12.8152 13.6676 12.98 13.6666H13.0533C13.2281 13.6465 13.3878 13.5581 13.4977 13.4208C13.6076 13.2834 13.6587 13.1082 13.64 12.9333C13.5063 11.7307 13.0479 10.5872 12.3139 9.62539C11.5799 8.66354 10.5979 7.91957 9.47333 7.47325V7.47325ZM7 6.99992C6.47258 6.99992 5.95701 6.84352 5.51848 6.55051C5.07995 6.25749 4.73815 5.84101 4.53632 5.35374C4.33449 4.86647 4.28168 4.3303 4.38457 3.81301C4.48746 3.29573 4.74144 2.82058 5.11438 2.44764C5.48732 2.0747 5.96247 1.82072 6.47976 1.71783C6.99704 1.61493 7.53322 1.66774 8.02049 1.86958C8.50776 2.07141 8.92423 2.4132 9.21725 2.85173C9.51027 3.29026 9.66667 3.80584 9.66667 4.33325C9.66667 5.0405 9.38571 5.71878 8.88562 6.21887C8.38552 6.71897 7.70724 6.99992 7 6.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:ud,lineNumber:232}})),"My Profile"),u.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:237}},u.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:ud,lineNumber:238}}))),u.createElement(od,{href:"#",__self:void 0,__source:{fileName:ud,lineNumber:241}},u.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:ud,lineNumber:242}},u.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:244}},u.createElement("path",{d:"M0.666992 7.00016C0.666992 7.17697 0.73723 7.34654 0.862254 7.47157C0.987279 7.59659 1.15685 7.66683 1.33366 7.66683H6.39366L4.86033 9.1935C4.79784 9.25547 4.74824 9.3292 4.7144 9.41044C4.68055 9.49168 4.66313 9.57882 4.66313 9.66683C4.66313 9.75484 4.68055 9.84197 4.7144 9.92321C4.74824 10.0045 4.79784 10.0782 4.86033 10.1402C4.9223 10.2026 4.99604 10.2522 5.07727 10.2861C5.15851 10.3199 5.24565 10.3374 5.33366 10.3374C5.42167 10.3374 5.5088 10.3199 5.59004 10.2861C5.67128 10.2522 5.74502 10.2026 5.80699 10.1402L8.47366 7.4735C8.53435 7.41009 8.58193 7.33533 8.61366 7.2535C8.68034 7.09119 8.68034 6.90914 8.61366 6.74683C8.58193 6.66499 8.53435 6.59023 8.47366 6.52683L5.80699 3.86016C5.74483 3.798 5.67104 3.7487 5.58983 3.71506C5.50861 3.68142 5.42157 3.6641 5.33366 3.6641C5.24575 3.6641 5.15871 3.68142 5.07749 3.71506C4.99628 3.7487 4.92248 3.798 4.86033 3.86016C4.79817 3.92232 4.74886 3.99611 4.71522 4.07733C4.68158 4.15854 4.66426 4.24559 4.66426 4.3335C4.66426 4.4214 4.68158 4.50845 4.71522 4.58966C4.74886 4.67088 4.79817 4.74467 4.86033 4.80683L6.39366 6.3335H1.33366C1.15685 6.3335 0.987279 6.40373 0.862254 6.52876C0.73723 6.65378 0.666992 6.82335 0.666992 7.00016ZM9.33366 0.333496H2.66699C2.13656 0.333496 1.62785 0.54421 1.25278 0.919283C0.877706 1.29436 0.666992 1.80306 0.666992 2.3335V4.3335C0.666992 4.51031 0.73723 4.67988 0.862254 4.8049C0.987279 4.92992 1.15685 5.00016 1.33366 5.00016C1.51047 5.00016 1.68004 4.92992 1.80506 4.8049C1.93009 4.67988 2.00033 4.51031 2.00033 4.3335V2.3335C2.00033 2.15668 2.07056 1.98712 2.19559 1.86209C2.32061 1.73707 2.49018 1.66683 2.66699 1.66683H9.33366C9.51047 1.66683 9.68004 1.73707 9.80506 1.86209C9.93009 1.98712 10.0003 2.15668 10.0003 2.3335V11.6668C10.0003 11.8436 9.93009 12.0132 9.80506 12.1382C9.68004 12.2633 9.51047 12.3335 9.33366 12.3335H2.66699C2.49018 12.3335 2.32061 12.2633 2.19559 12.1382C2.07056 12.0132 2.00033 11.8436 2.00033 11.6668V9.66683C2.00033 9.49002 1.93009 9.32045 1.80506 9.19542C1.68004 9.0704 1.51047 9.00016 1.33366 9.00016C1.15685 9.00016 0.987279 9.0704 0.862254 9.19542C0.73723 9.32045 0.666992 9.49002 0.666992 9.66683V11.6668C0.666992 12.1973 0.877706 12.706 1.25278 13.081C1.62785 13.4561 2.13656 13.6668 2.66699 13.6668H9.33366C9.86409 13.6668 10.3728 13.4561 10.7479 13.081C11.1229 12.706 11.3337 12.1973 11.3337 11.6668V2.3335C11.3337 1.80306 11.1229 1.29436 10.7479 0.919283C10.3728 0.54421 9.86409 0.333496 9.33366 0.333496Z",fill:"#070B12",__self:void 0,__source:{fileName:ud,lineNumber:245}})),"Sign Out"),u.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ud,lineNumber:251}},u.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:ud,lineNumber:252}})))))},hd=e.div`
|
|
2603
|
+
`;var _d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALjSURBVHgBtVZLKG1RGP7OdsqbU0gkrkeY6Q4MKGFMuaUU8kxJmZgokpkyMGdiQJmY6BZFkqtk4NE9kVeKQpxzOu9H59R5/Hf9P0cmR7ec/dVqrb3XWt//WN+/9gYUiOiHavuquSg52GBO5ja8D/6qZkJy4VbtJxvYUINf0Ad/2ABBP7j1NgANOkMXAzs7Ozg5OXkzwBny+/34nKlIJIJgMPhfZOFwGD6f7+M5Fothe3sbx8fHiEajwPj4ODU3N1NfXx95vV66vb2l3t5eamlpodHRUZqcnKTz83Nqb28XgZvNZhoYGKBQKERHR0fU1dUl+0dGRshisRDzNTY2UlNTE3V0dJDGoayurmJiYgKZmZmYnZ1FWVkZ1tbWUFxcDLvdLp69vLxIr4hlbLPZMD09jdbWVtmfkZGBqakpzMzMoK6uDm1tbVhcXIRWWFgI5TG2trbgdDrx8PCAwcFBIa+qqkqYmtfXV6iIoTxHaWkpOjs78fT0hOzsbKSnp0tfVFQEbWlpCfPz89jc3MTd3Z1MXF1dCQkbZKSlpUnvdrvh8XiEoKCgAJqm4fr6WubOzs6Ql5cnkfB7jpRh7OnpQUlJiZBUV1eju7sbc3NzWF9fh9VqlXTxfG1tLYaGhuRAOeLy8nL09/djbGxMIri/v8fCwoKQ8tqVlRVcXFzA4HA46PHxUTbk5ubKAg6VvT09PcXh4SGWl5dFZZeXlzCZTGLwc6rYkcrKSok+Ds6GRPHVlagOmoaHh+k7MOIL1NfXo6KiAt+B7ndRwggODg5EKXzInE9WB6vH5XIhKysLBoMBNzc3kneuHz4/XpOfn4+9vT00NDRAnW9iA0zCZb+7u4uUlBSpC1YaFx4rjI2zeoxGo1wJLGl2JicnB6qipa7EkUQpitdAamqq3FWsqrjKOJJAICDkXNH8zGP2/vn5WdbX1NSIYTbgQvI/lx/g69oM/fBb94++jOjtt2WDkgP+9dl/dxz/AC0iYjxOw7vYAAAAAElFTkSuQmCC";const Cd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LPTopBar\\LPTopBar.tsx",vd=e=>{const{userName:t,requestLpUrl:i,notifications:r,myProfileUrl:o,signOutApiUrl:s}=e,[l,a]=n.useState(!1),[c,d]=n.useState(!1),[h,p]=n.useState(!1),[g,b]=n.useState(1),[_,C]=n.useState(!1);return u.createElement($c,{__self:void 0,__source:{fileName:Cd,lineNumber:46}},u.createElement(ed,{__self:void 0,__source:{fileName:Cd,lineNumber:47}},u.createElement("img",{src:"https://res.cloudinary.com/dxivfczqg/image/upload/v1663283686/dashboard-logo_a7i59z.svg",alt:"SSX Logo",__self:void 0,__source:{fileName:Cd,lineNumber:48}})),u.createElement(td,{__self:void 0,__source:{fileName:Cd,lineNumber:50}},u.createElement("a",{href:i,className:"trade-button",__self:void 0,__source:{fileName:Cd,lineNumber:51}},"Request LP"),u.createElement("div",{className:"vt-divider",__self:void 0,__source:{fileName:Cd,lineNumber:52}}),u.createElement("div",{className:"icon-buttons",__self:void 0,__source:{fileName:Cd,lineNumber:53}},u.createElement(id,{className:""+(l?"active-item":""),onClick:()=>{a(!l),d(!1),p(!1),b(1)},__self:void 0,__source:{fileName:Cd,lineNumber:54}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:61}},u.createElement("path",{d:"M17 12H19C19.2652 12 19.5196 11.8946 19.7071 11.7071C19.8946 11.5196 20 11.2652 20 11C20 10.7348 19.8946 10.4804 19.7071 10.2929C19.5196 10.1054 19.2652 10 19 10H17V9C16.9912 8.53931 16.9205 8.0819 16.79 7.64C17.73 7.27962 18.5393 6.64391 19.112 5.81603C19.6847 4.98815 19.9942 4.00667 20 3C20 2.73478 19.8946 2.48043 19.7071 2.29289C19.5196 2.10536 19.2652 2 19 2C18.7348 2 18.4804 2.10536 18.2929 2.29289C18.1054 2.48043 18 2.73478 18 3C17.9991 3.64484 17.7905 4.27224 17.405 4.7892C17.0196 5.30615 16.4778 5.68515 15.86 5.87C15.3668 5.23797 14.7289 4.7338 14 4.4C14.0104 4.26687 14.0104 4.13313 14 4C14 2.93913 13.5786 1.92172 12.8284 1.17157C12.0783 0.421427 11.0609 0 10 0C8.93913 0 7.92172 0.421427 7.17157 1.17157C6.42143 1.92172 6 2.93913 6 4C5.98965 4.13313 5.98965 4.26687 6 4.4C5.25662 4.72831 4.60446 5.23288 4.1 5.87C3.48968 5.67807 2.9567 5.29604 2.5789 4.77971C2.2011 4.26338 1.99826 3.63979 2 3C2 2.73478 1.89464 2.48043 1.70711 2.29289C1.51957 2.10536 1.26522 2 1 2C0.734784 2 0.48043 2.10536 0.292893 2.29289C0.105357 2.48043 0 2.73478 0 3C0.00576615 4.00667 0.315265 4.98815 0.888 5.81603C1.46074 6.64391 2.27003 7.27962 3.21 7.64C3.07948 8.0819 3.00885 8.53931 3 9V10H1C0.734784 10 0.48043 10.1054 0.292893 10.2929C0.105357 10.4804 0 10.7348 0 11C0 11.2652 0.105357 11.5196 0.292893 11.7071C0.48043 11.8946 0.734784 12 1 12H3V13C3.00086 13.4635 3.04776 13.9258 3.14 14.38C2.21628 14.7502 1.42404 15.3876 0.864657 16.2106C0.305279 17.0336 0.00421571 18.0049 0 19C0 19.2652 0.105357 19.5196 0.292893 19.7071C0.48043 19.8946 0.734784 20 1 20C1.26522 20 1.51957 19.8946 1.70711 19.7071C1.89464 19.5196 2 19.2652 2 19C2.0027 18.4168 2.17535 17.847 2.49681 17.3604C2.81828 16.8737 3.27462 16.4913 3.81 16.26C4.40471 17.3862 5.29541 18.3289 6.38616 18.9864C7.47692 19.6439 8.72639 19.9914 10 19.9914C11.2736 19.9914 12.5231 19.6439 13.6138 18.9864C14.7046 18.3289 15.5953 17.3862 16.19 16.26C16.7254 16.4913 17.1817 16.8737 17.5032 17.3604C17.8247 17.847 17.9973 18.4168 18 19C18 19.2652 18.1054 19.5196 18.2929 19.7071C18.4804 19.8946 18.7348 20 19 20C19.2652 20 19.5196 19.8946 19.7071 19.7071C19.8946 19.5196 20 19.2652 20 19C19.9958 18.0049 19.6947 17.0336 19.1353 16.2106C18.576 15.3876 17.7837 14.7502 16.86 14.38C16.9522 13.9258 16.9991 13.4635 17 13V12ZM9 17.9C7.87064 17.6695 6.8556 17.0558 6.12669 16.1629C5.39778 15.27 4.99976 14.1527 5 13V9C5 8.20435 5.31607 7.44129 5.87868 6.87868C6.44129 6.31607 7.20435 6 8 6H9V17.9ZM8 4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2C10.5304 2 11.0391 2.21071 11.4142 2.58579C11.7893 2.96086 12 3.46957 12 4H8ZM15 13C15.0002 14.1527 14.6022 15.27 13.8733 16.1629C13.1444 17.0558 12.1294 17.6695 11 17.9V6H12C12.7956 6 13.5587 6.31607 14.1213 6.87868C14.6839 7.44129 15 8.20435 15 9V13Z",fill:"#070B12",__self:void 0,__source:{fileName:Cd,lineNumber:62}}))),u.createElement(id,{className:""+(c?"active-item":""),onClick:()=>{a(!1),d(!c),p(!1)},__self:void 0,__source:{fileName:Cd,lineNumber:66}},u.createElement("div",{className:"notification-dot",__self:void 0,__source:{fileName:Cd,lineNumber:71}}),u.createElement("svg",{width:"16",height:"20",viewBox:"0 0 16 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:73}},u.createElement("path",{d:"M14 11.18V8C13.9986 6.58312 13.4958 5.21247 12.5806 4.13077C11.6655 3.04908 10.3971 2.32615 9 2.09V1C9 0.734784 8.89464 0.48043 8.70711 0.292893C8.51957 0.105357 8.26522 0 8 0C7.73478 0 7.48043 0.105357 7.29289 0.292893C7.10536 0.48043 7 0.734784 7 1V2.09C5.60294 2.32615 4.33452 3.04908 3.41939 4.13077C2.50425 5.21247 2.00144 6.58312 2 8V11.18C1.41645 11.3863 0.910998 11.7681 0.552938 12.2729C0.194879 12.7778 0.00173951 13.3811 0 14V16C0 16.2652 0.105357 16.5196 0.292893 16.7071C0.48043 16.8946 0.734784 17 1 17H4.14C4.37028 17.8474 4.873 18.5954 5.5706 19.1287C6.26819 19.6621 7.1219 19.951 8 19.951C8.8781 19.951 9.73181 19.6621 10.4294 19.1287C11.127 18.5954 11.6297 17.8474 11.86 17H15C15.2652 17 15.5196 16.8946 15.7071 16.7071C15.8946 16.5196 16 16.2652 16 16V14C15.9983 13.3811 15.8051 12.7778 15.4471 12.2729C15.089 11.7681 14.5835 11.3863 14 11.18ZM4 8C4 6.93913 4.42143 5.92172 5.17157 5.17157C5.92172 4.42143 6.93913 4 8 4C9.06087 4 10.0783 4.42143 10.8284 5.17157C11.5786 5.92172 12 6.93913 12 8V11H4V8ZM8 18C7.65097 17.9979 7.30857 17.9045 7.00683 17.7291C6.70509 17.5536 6.45451 17.3023 6.28 17H9.72C9.54549 17.3023 9.29491 17.5536 8.99317 17.7291C8.69143 17.9045 8.34903 17.9979 8 18ZM14 15H2V14C2 13.7348 2.10536 13.4804 2.29289 13.2929C2.48043 13.1054 2.73478 13 3 13H13C13.2652 13 13.5196 13.1054 13.7071 13.2929C13.8946 13.4804 14 13.7348 14 14V15Z",fill:"#070B12",__self:void 0,__source:{fileName:Cd,lineNumber:74}})))),u.createElement(nd,{onClick:()=>{a(!1),d(!1),p(!h)},__self:void 0,__source:{fileName:Cd,lineNumber:78}},u.createElement("div",{className:"profile-pic",__self:void 0,__source:{fileName:Cd,lineNumber:83}}),u.createElement("svg",{className:h?"rotate-icon-180":"rotate-icon-0",width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:85}},u.createElement("path",{d:"M7.33334 1.1133C7.20843 0.989128 7.03946 0.919434 6.86334 0.919434C6.68722 0.919434 6.51825 0.989128 6.39334 1.1133L4.00001 3.4733L1.64001 1.1133C1.5151 0.989128 1.34613 0.919434 1.17001 0.919434C0.993883 0.919434 0.824915 0.989128 0.700006 1.1133C0.637521 1.17527 0.587925 1.249 0.554079 1.33024C0.520233 1.41148 0.502808 1.49862 0.502808 1.58663C0.502808 1.67464 0.520233 1.76177 0.554079 1.84301C0.587925 1.92425 0.637521 1.99799 0.700006 2.05996L3.52667 4.88663C3.58865 4.94911 3.66238 4.99871 3.74362 5.03256C3.82486 5.0664 3.912 5.08383 4.00001 5.08383C4.08801 5.08383 4.17515 5.0664 4.25639 5.03256C4.33763 4.99871 4.41136 4.94911 4.47334 4.88663L7.33334 2.05996C7.39582 1.99799 7.44542 1.92425 7.47927 1.84301C7.51311 1.76177 7.53054 1.67464 7.53054 1.58663C7.53054 1.49862 7.51311 1.41148 7.47927 1.33024C7.44542 1.249 7.39582 1.17527 7.33334 1.1133Z",fill:"#070B12",__self:void 0,__source:{fileName:Cd,lineNumber:86}})))),l&&u.createElement(rd,{__self:void 0,__source:{fileName:Cd,lineNumber:92}},1===g&&u.createElement(u.Fragment,null,u.createElement(sd,{__self:void 0,__source:{fileName:Cd,lineNumber:95}},u.createElement("h4",{className:"heading",__self:void 0,__source:{fileName:Cd,lineNumber:96}},"Report Bug")),u.createElement(ad,{__self:void 0,__source:{fileName:Cd,lineNumber:98}},u.createElement("textarea",{__self:void 0,__source:{fileName:Cd,lineNumber:99}}),u.createElement("div",{className:"info-text",__self:void 0,__source:{fileName:Cd,lineNumber:100}},u.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:102}},u.createElement("path",{d:"M6.99968 0.333252C5.68114 0.333252 4.3922 0.724245 3.29588 1.45679C2.19955 2.18933 1.34506 3.23052 0.840481 4.4487C0.335896 5.66687 0.203874 7.00731 0.461109 8.30052C0.718344 9.59373 1.35328 10.7816 2.28563 11.714C3.21798 12.6463 4.40587 13.2813 5.69908 13.5385C6.99228 13.7957 8.33273 13.6637 9.5509 13.1591C10.7691 12.6545 11.8103 11.8 12.5428 10.7037C13.2754 9.60739 13.6663 8.31846 13.6663 6.99992C13.6644 5.23241 12.9614 3.53786 11.7116 2.28804C10.4617 1.03823 8.76718 0.335218 6.99968 0.333252ZM6.99968 12.3333C5.94484 12.3333 4.9137 12.0205 4.03664 11.4344C3.15957 10.8484 2.47599 10.0154 2.07232 9.0409C1.66865 8.06636 1.56304 6.994 1.76882 5.95944C1.97461 4.92487 2.48256 3.97456 3.22844 3.22868C3.97432 2.4828 4.92463 1.97485 5.9592 1.76906C6.99376 1.56328 8.06612 1.66889 9.04066 2.07256C10.0152 2.47623 10.8481 3.15982 11.4342 4.03688C12.0202 4.91394 12.333 5.94508 12.333 6.99992C12.3314 8.41391 11.769 9.76952 10.7691 10.7694C9.76928 11.7692 8.41367 12.3316 6.99968 12.3333ZM6.99968 6.66658C6.82287 6.66658 6.6533 6.73682 6.52827 6.86185C6.40325 6.98687 6.33301 7.15644 6.33301 7.33325V9.33325C6.33301 9.51006 6.40325 9.67963 6.52827 9.80466C6.6533 9.92968 6.82287 9.99992 6.99968 9.99992C7.17649 9.99992 7.34606 9.92968 7.47108 9.80466C7.59611 9.67963 7.66634 9.51006 7.66634 9.33325V7.33325C7.66634 7.15644 7.59611 6.98687 7.47108 6.86185C7.34606 6.73682 7.17649 6.66658 6.99968 6.66658ZM6.99968 3.99992C6.83486 3.99992 6.67374 4.04879 6.5367 4.14036C6.39966 4.23193 6.29285 4.36208 6.22978 4.51435C6.16671 4.66662 6.1502 4.83418 6.18236 4.99583C6.21451 5.15748 6.29388 5.30596 6.41042 5.42251C6.52697 5.53905 6.67545 5.61842 6.8371 5.65057C6.99875 5.68273 7.16631 5.66622 7.31858 5.60315C7.47085 5.54008 7.601 5.43327 7.69257 5.29623C7.78414 5.15919 7.83301 4.99807 7.83301 4.83325C7.83301 4.61224 7.74521 4.40028 7.58893 4.244C7.43265 4.08772 7.22069 3.99992 6.99968 3.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:Cd,lineNumber:103}})),u.createElement("p",{__self:void 0,__source:{fileName:Cd,lineNumber:105}},"By submitting a report you agree to your current browser tab and LP system information being captured.")),!_&&u.createElement(m,{size:"md",variant:"primary",onClick:function(){C(!0),setTimeout((()=>{b(g+1),C(!1)}),2e3)},__self:void 0,__source:{fileName:Cd,lineNumber:107}},"Report Bug"),_&&u.createElement(m,{size:"md",variant:"primary",disabled:!0,__self:void 0,__source:{fileName:Cd,lineNumber:108}},u.createElement(oe,{variant:"primary",__self:void 0,__source:{fileName:Cd,lineNumber:108}})))),2===g&&u.createElement(md,{__self:void 0,__source:{fileName:Cd,lineNumber:113}},u.createElement(N,{headingText:"Bug report sent",__self:void 0,__source:{fileName:Cd,lineNumber:114}}))),c&&u.createElement(od,{__self:void 0,__source:{fileName:Cd,lineNumber:121}},r&&r.length>0&&u.createElement(u.Fragment,null,u.createElement(sd,{__self:void 0,__source:{fileName:Cd,lineNumber:124}},u.createElement("h4",{__self:void 0,__source:{fileName:Cd,lineNumber:125}},"Notifications")),u.createElement(cd,{__self:void 0,__source:{fileName:Cd,lineNumber:127}},r.map(((e,t)=>e.notifRead?e.notifRead?u.createElement(ud,{key:t,__self:void 0,__source:{fileName:Cd,lineNumber:164}},u.createElement("div",{__self:void 0,__source:{fileName:Cd,lineNumber:165}},u.createElement("img",{src:_d,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"client logo",__self:void 0,__source:{fileName:Cd,lineNumber:165}})),u.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:Cd,lineNumber:166}},u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:Cd,lineNumber:167}},u.createElement("div",{__self:void 0,__source:{fileName:Cd,lineNumber:168}},u.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:Cd,lineNumber:169}},e.notifTitle),u.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:Cd,lineNumber:170}},e.lpProvider," • #",e.transactionNumber)),u.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:Cd,lineNumber:172}},u.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:Cd,lineNumber:173}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Cd,lineNumber:174}},u.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:Cd,lineNumber:175}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:Cd,lineNumber:176}},e.baseCurrencyCode," 12,900.99")),u.createElement("div",{__self:void 0,__source:{fileName:Cd,lineNumber:178}},u.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:Cd,lineNumber:179}})),u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Cd,lineNumber:181}},u.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:Cd,lineNumber:182}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:Cd,lineNumber:183}},e.exchCurrencyCode," 1,228.08"))))),u.createElement(bd,{__self:void 0,__source:{fileName:Cd,lineNumber:188}},e.notifTime))):void 0:u.createElement(dd,{key:t,__self:void 0,__source:{fileName:Cd,lineNumber:132}},u.createElement("div",{__self:void 0,__source:{fileName:Cd,lineNumber:133}},u.createElement("img",{src:_d,style:{width:"24px",height:"24px",borderRadius:"4px"},alt:"Provider logo",__self:void 0,__source:{fileName:Cd,lineNumber:133}})),u.createElement("div",{style:{display:"flex",width:"100%"},__self:void 0,__source:{fileName:Cd,lineNumber:134}},u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px",width:"87%"},__self:void 0,__source:{fileName:Cd,lineNumber:135}},u.createElement("div",{__self:void 0,__source:{fileName:Cd,lineNumber:136}},u.createElement("p",{className:"request-status",__self:void 0,__source:{fileName:Cd,lineNumber:137}},e.notifTitle),u.createElement("p",{className:"lp-info-txn-no",__self:void 0,__source:{fileName:Cd,lineNumber:138}},e.lpProvider," • #",e.transactionNumber)),u.createElement("div",{className:"txn-amts",__self:void 0,__source:{fileName:Cd,lineNumber:140}},u.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"16px"},__self:void 0,__source:{fileName:Cd,lineNumber:141}},u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Cd,lineNumber:142}},u.createElement("img",{src:e.baseCurrFlag,alt:"Base currency flag",__self:void 0,__source:{fileName:Cd,lineNumber:143}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:Cd,lineNumber:144}},e.baseCurrencyCode," ",e.baseAmount)),u.createElement("div",{__self:void 0,__source:{fileName:Cd,lineNumber:146}},u.createElement("i",{className:"icon-arrows-left-right",__self:void 0,__source:{fileName:Cd,lineNumber:147}})),u.createElement("div",{style:{display:"flex",gap:"8px"},__self:void 0,__source:{fileName:Cd,lineNumber:149}},u.createElement("img",{src:e.exchCurrFlag,alt:"Exchange currency flag",__self:void 0,__source:{fileName:Cd,lineNumber:150}}),u.createElement("p",{style:{color:f["neutral-900"],fontSize:"14px"},__self:void 0,__source:{fileName:Cd,lineNumber:151}},e.exchCurrencyCode," ",e.exchAmount))))),u.createElement(bd,{__self:void 0,__source:{fileName:Cd,lineNumber:156}},e.notifTime))))))),r&&0===r.length&&u.createElement(pd,{__self:void 0,__source:{fileName:Cd,lineNumber:198}},u.createElement(gd,{__self:void 0,__source:{fileName:Cd,lineNumber:199}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:200}},u.createElement("g",{clipPath:"url(#clip0_499_2669)",__self:void 0,__source:{fileName:Cd,lineNumber:201}},u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M46 26.5003C46 26.5003 46 28.3139 46 24.5001C46 16.768 39.732 10.501 32 10.501C24.268 10.501 18 16.768 18 24.5001C18 28.3139 18 26.5003 18 26.5003",fill:"#E8EEF7",__self:void 0,__source:{fileName:Cd,lineNumber:202}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.521 48.5003H37C38.104 48.5003 39 49.397 39 50.5006C39 51.6041 38.104 52.5008 37 52.5008H12C11.253 52.5008 10.567 52.0834 10.224 51.4198C9.87998 50.7562 9.93499 49.9559 10.367 49.3459C10.367 49.3459 16 41.4092 16 32.501V24.5001C16 15.6644 23.163 8.50076 32 8.50076C40.837 8.50076 48 15.6644 48 24.5001C48 28.3139 48 28.4982 48 32.501C48 41.4092 53.633 49.3459 53.633 49.3459C54.065 49.9559 54.12 50.7562 53.776 51.4198C53.433 52.0834 52.747 52.5008 52 52.5008H46C44.896 52.5008 44 51.6041 44 50.5006C44 49.397 44.896 48.5003 46 48.5003H48.479C46.601 44.997 44 38.9726 44 32.501C44 28.4982 44 28.3139 44 24.5001C44 17.8728 38.627 12.5 32 12.5C25.373 12.5 20 17.8728 20 24.5001V32.501C20 38.9726 17.399 44.997 15.521 48.5003Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Cd,lineNumber:203}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.658 50.5C37.88 51.126 38 51.799 38 52.5C38 55.811 35.311 58.5 32 58.5C28.689 58.5 26 55.811 26 52.5C26 51.799 26.12 51.126 26.342 50.5H37.658Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Cd,lineNumber:204}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.543 49.833C39.261 49.034 38.505 48.5 37.658 48.5H26.342C25.495 48.5 24.739 49.034 24.457 49.833C24.161 50.667 24 51.565 24 52.5C24 56.915 27.585 60.5 32 60.5C36.415 60.5 40 56.915 40 52.5C40 51.565 39.839 50.667 39.543 49.833ZM28.005 52.706C28.113 54.818 29.861 56.5 32 56.5C34.208 56.5 36 54.708 36 52.5H28L28.005 52.706ZM30 6.5V10.5C30 11.604 30.896 12.5 32 12.5C33.104 12.5 34 11.604 34 10.5V6.5C34 5.396 33.104 4.5 32 4.5C30.896 4.5 30 5.396 30 6.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Cd,lineNumber:205}})),u.createElement("defs",{__self:void 0,__source:{fileName:Cd,lineNumber:207}},u.createElement("clipPath",{id:"clip0_499_2669",__self:void 0,__source:{fileName:Cd,lineNumber:208}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:Cd,lineNumber:209}})))),u.createElement("div",{className:"text-center",__self:void 0,__source:{fileName:Cd,lineNumber:213}},u.createElement("h3",{className:"text-neutral-900 text-heading",__self:void 0,__source:{fileName:Cd,lineNumber:214}},"No Notifications"),u.createElement("p",{className:"subtext",__self:void 0,__source:{fileName:Cd,lineNumber:215}},"Your notifications will show up here when you have them"))))),h&&u.createElement(fd,{__self:void 0,__source:{fileName:Cd,lineNumber:224}},u.createElement(ld,{__self:void 0,__source:{fileName:Cd,lineNumber:225}},u.createElement("h4",{__self:void 0,__source:{fileName:Cd,lineNumber:226}},t)),u.createElement(hd,{href:o,__self:void 0,__source:{fileName:Cd,lineNumber:228}},u.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:Cd,lineNumber:229}},u.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:231}},u.createElement("path",{d:"M9.47333 7.47325C10.1269 6.95903 10.604 6.25387 10.8382 5.45588C11.0723 4.6579 11.0519 3.80676 10.7799 3.0209C10.5078 2.23503 9.9975 1.55352 9.32005 1.07116C8.64259 0.5888 7.83163 0.32959 7 0.32959C6.16836 0.32959 5.35741 0.5888 4.67995 1.07116C4.00249 1.55352 3.49223 2.23503 3.22014 3.0209C2.94805 3.80676 2.92767 4.6579 3.16184 5.45588C3.396 6.25387 3.87307 6.95903 4.52666 7.47325C3.40672 7.92195 2.42952 8.66615 1.69926 9.62653C0.968996 10.5869 0.51304 11.7275 0.379998 12.9266C0.370368 13.0141 0.378075 13.1027 0.402681 13.1873C0.427287 13.2719 0.468309 13.3508 0.523405 13.4195C0.634677 13.5582 0.79652 13.6471 0.973331 13.6666C1.15014 13.686 1.32744 13.6345 1.46621 13.5232C1.60499 13.4119 1.69388 13.2501 1.71333 13.0733C1.85972 11.77 2.48112 10.5665 3.45881 9.69245C4.4365 8.81844 5.70193 8.33527 7.01333 8.33527C8.32473 8.33527 9.59016 8.81844 10.5679 9.69245C11.5455 10.5665 12.1669 11.77 12.3133 13.0733C12.3315 13.2371 12.4096 13.3884 12.5327 13.4979C12.6559 13.6075 12.8152 13.6676 12.98 13.6666H13.0533C13.2281 13.6465 13.3878 13.5581 13.4977 13.4208C13.6076 13.2834 13.6587 13.1082 13.64 12.9333C13.5063 11.7307 13.0479 10.5872 12.3139 9.62539C11.5799 8.66354 10.5979 7.91957 9.47333 7.47325V7.47325ZM7 6.99992C6.47258 6.99992 5.95701 6.84352 5.51848 6.55051C5.07995 6.25749 4.73815 5.84101 4.53632 5.35374C4.33449 4.86647 4.28168 4.3303 4.38457 3.81301C4.48746 3.29573 4.74144 2.82058 5.11438 2.44764C5.48732 2.0747 5.96247 1.82072 6.47976 1.71783C6.99704 1.61493 7.53322 1.66774 8.02049 1.86958C8.50776 2.07141 8.92423 2.4132 9.21725 2.85173C9.51027 3.29026 9.66667 3.80584 9.66667 4.33325C9.66667 5.0405 9.38571 5.71878 8.88562 6.21887C8.38552 6.71897 7.70724 6.99992 7 6.99992Z",fill:"#070B12",__self:void 0,__source:{fileName:Cd,lineNumber:232}})),"My Profile"),u.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:237}},u.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Cd,lineNumber:238}}))),u.createElement(hd,{href:"#",__self:void 0,__source:{fileName:Cd,lineNumber:241}},u.createElement("div",{style:{display:"flex",gap:"16px"},__self:void 0,__source:{fileName:Cd,lineNumber:242}},u.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:244}},u.createElement("path",{d:"M0.666992 7.00016C0.666992 7.17697 0.73723 7.34654 0.862254 7.47157C0.987279 7.59659 1.15685 7.66683 1.33366 7.66683H6.39366L4.86033 9.1935C4.79784 9.25547 4.74824 9.3292 4.7144 9.41044C4.68055 9.49168 4.66313 9.57882 4.66313 9.66683C4.66313 9.75484 4.68055 9.84197 4.7144 9.92321C4.74824 10.0045 4.79784 10.0782 4.86033 10.1402C4.9223 10.2026 4.99604 10.2522 5.07727 10.2861C5.15851 10.3199 5.24565 10.3374 5.33366 10.3374C5.42167 10.3374 5.5088 10.3199 5.59004 10.2861C5.67128 10.2522 5.74502 10.2026 5.80699 10.1402L8.47366 7.4735C8.53435 7.41009 8.58193 7.33533 8.61366 7.2535C8.68034 7.09119 8.68034 6.90914 8.61366 6.74683C8.58193 6.66499 8.53435 6.59023 8.47366 6.52683L5.80699 3.86016C5.74483 3.798 5.67104 3.7487 5.58983 3.71506C5.50861 3.68142 5.42157 3.6641 5.33366 3.6641C5.24575 3.6641 5.15871 3.68142 5.07749 3.71506C4.99628 3.7487 4.92248 3.798 4.86033 3.86016C4.79817 3.92232 4.74886 3.99611 4.71522 4.07733C4.68158 4.15854 4.66426 4.24559 4.66426 4.3335C4.66426 4.4214 4.68158 4.50845 4.71522 4.58966C4.74886 4.67088 4.79817 4.74467 4.86033 4.80683L6.39366 6.3335H1.33366C1.15685 6.3335 0.987279 6.40373 0.862254 6.52876C0.73723 6.65378 0.666992 6.82335 0.666992 7.00016ZM9.33366 0.333496H2.66699C2.13656 0.333496 1.62785 0.54421 1.25278 0.919283C0.877706 1.29436 0.666992 1.80306 0.666992 2.3335V4.3335C0.666992 4.51031 0.73723 4.67988 0.862254 4.8049C0.987279 4.92992 1.15685 5.00016 1.33366 5.00016C1.51047 5.00016 1.68004 4.92992 1.80506 4.8049C1.93009 4.67988 2.00033 4.51031 2.00033 4.3335V2.3335C2.00033 2.15668 2.07056 1.98712 2.19559 1.86209C2.32061 1.73707 2.49018 1.66683 2.66699 1.66683H9.33366C9.51047 1.66683 9.68004 1.73707 9.80506 1.86209C9.93009 1.98712 10.0003 2.15668 10.0003 2.3335V11.6668C10.0003 11.8436 9.93009 12.0132 9.80506 12.1382C9.68004 12.2633 9.51047 12.3335 9.33366 12.3335H2.66699C2.49018 12.3335 2.32061 12.2633 2.19559 12.1382C2.07056 12.0132 2.00033 11.8436 2.00033 11.6668V9.66683C2.00033 9.49002 1.93009 9.32045 1.80506 9.19542C1.68004 9.0704 1.51047 9.00016 1.33366 9.00016C1.15685 9.00016 0.987279 9.0704 0.862254 9.19542C0.73723 9.32045 0.666992 9.49002 0.666992 9.66683V11.6668C0.666992 12.1973 0.877706 12.706 1.25278 13.081C1.62785 13.4561 2.13656 13.6668 2.66699 13.6668H9.33366C9.86409 13.6668 10.3728 13.4561 10.7479 13.081C11.1229 12.706 11.3337 12.1973 11.3337 11.6668V2.3335C11.3337 1.80306 11.1229 1.29436 10.7479 0.919283C10.3728 0.54421 9.86409 0.333496 9.33366 0.333496Z",fill:"#070B12",__self:void 0,__source:{fileName:Cd,lineNumber:245}})),"Sign Out"),u.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Cd,lineNumber:251}},u.createElement("path",{d:"M5.36015 4.52685L1.58682 0.760187C1.52484 0.697702 1.45111 0.648106 1.36987 0.61426C1.28863 0.580414 1.20149 0.562988 1.11348 0.562988C1.02548 0.562988 0.938339 0.580414 0.8571 0.61426C0.77586 0.648106 0.702126 0.697702 0.640151 0.760187C0.515983 0.885095 0.446289 1.05406 0.446289 1.23019C0.446289 1.40631 0.515983 1.57528 0.640151 1.70019L3.94015 5.03352L0.640151 8.33352C0.515983 8.45843 0.446289 8.6274 0.446289 8.80352C0.446289 8.97964 0.515983 9.14861 0.640151 9.27352C0.701894 9.33651 0.775524 9.38663 0.856774 9.42096C0.938024 9.45529 1.02528 9.47315 1.11348 9.47352C1.20169 9.47315 1.28894 9.45529 1.37019 9.42096C1.45144 9.38663 1.52507 9.33651 1.58682 9.27352L5.36015 5.50685C5.42782 5.44443 5.48183 5.36866 5.51876 5.28432C5.5557 5.19999 5.57477 5.10892 5.57477 5.01685C5.57477 4.92479 5.5557 4.83372 5.51876 4.74938C5.48183 4.66505 5.42782 4.58928 5.36015 4.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Cd,lineNumber:252}})))))},xd=e.div`
|
|
2346
2604
|
display: flex;
|
|
2347
2605
|
flex-direction: column;
|
|
2348
2606
|
gap: 8px;
|
|
2349
|
-
`,
|
|
2607
|
+
`,Nd=e.div`
|
|
2350
2608
|
border-radius: 8px;
|
|
2351
2609
|
padding: 16px;
|
|
2352
2610
|
border: 1px solid ${f["neutral-100"]};
|
|
2353
2611
|
background: ${f.white};
|
|
2354
|
-
`,
|
|
2612
|
+
`,wd=e.div`
|
|
2355
2613
|
display: flex;
|
|
2356
2614
|
justify-content: space-between;
|
|
2357
2615
|
align-items: center;
|
|
2358
2616
|
margin-bottom: 24px;
|
|
2359
|
-
`,
|
|
2617
|
+
`,yd=e.p`
|
|
2360
2618
|
margin: 0;
|
|
2361
2619
|
font-size: 16px;
|
|
2362
2620
|
color: ${f["neutral-900"]};
|
|
2363
2621
|
font-weight: 500;
|
|
2364
2622
|
font-family: Circular Book Medium, sans-serif;
|
|
2365
2623
|
line-height: 19px;
|
|
2366
|
-
`,
|
|
2624
|
+
`,Ed=e.div`
|
|
2367
2625
|
display: flex;
|
|
2368
2626
|
justify-content: space-between;
|
|
2369
2627
|
align-items: end;
|
|
2370
|
-
`,
|
|
2628
|
+
`,Ad=e.div`
|
|
2371
2629
|
display: flex;
|
|
2372
2630
|
justify-content: space-between;
|
|
2373
2631
|
width: 250px;
|
|
2374
|
-
`,
|
|
2632
|
+
`,Dd=e.div`
|
|
2375
2633
|
small{
|
|
2376
2634
|
font-weight: 400;
|
|
2377
2635
|
color: ${f["neutral-500"]};
|
|
@@ -2386,7 +2644,7 @@ button{
|
|
|
2386
2644
|
line-height: 19px;
|
|
2387
2645
|
font-size: 16px;
|
|
2388
2646
|
};
|
|
2389
|
-
`,
|
|
2647
|
+
`,kd=e.div`
|
|
2390
2648
|
p{
|
|
2391
2649
|
font-size: 10px;
|
|
2392
2650
|
line-height: 12px;
|
|
@@ -2396,11 +2654,11 @@ button{
|
|
|
2396
2654
|
text-align: end;
|
|
2397
2655
|
margin: 0;
|
|
2398
2656
|
}
|
|
2399
|
-
`,
|
|
2657
|
+
`,Md="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\MarketData\\MarketData.tsx",Bd=e=>{const{marketData:t}=e;return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(xd,{__self:void 0,__source:{fileName:Md,lineNumber:17}},t.map(((e,t)=>u.createElement(Nd,{key:t,__self:void 0,__source:{fileName:Md,lineNumber:19}},u.createElement(wd,{__self:void 0,__source:{fileName:Md,lineNumber:20}},u.createElement(yd,{__self:void 0,__source:{fileName:Md,lineNumber:21}},e.market),u.createElement("img",{src:e.marketCountryFlag,alt:"Country flag",__self:void 0,__source:{fileName:Md,lineNumber:22}})),u.createElement(Ed,{__self:void 0,__source:{fileName:Md,lineNumber:25}},u.createElement(Ad,{__self:void 0,__source:{fileName:Md,lineNumber:26}},u.createElement(Dd,{__self:void 0,__source:{fileName:Md,lineNumber:27}},u.createElement("small",{__self:void 0,__source:{fileName:Md,lineNumber:28}},"Volume"),u.createElement("p",{__self:void 0,__source:{fileName:Md,lineNumber:29}},e.volume)),u.createElement(Dd,{__self:void 0,__source:{fileName:Md,lineNumber:31}},u.createElement("small",{__self:void 0,__source:{fileName:Md,lineNumber:32}},"Market Cap"),u.createElement("p",{__self:void 0,__source:{fileName:Md,lineNumber:33}},e.marketCap))),u.createElement(kd,{__self:void 0,__source:{fileName:Md,lineNumber:36}},u.createElement("p",{__self:void 0,__source:{fileName:Md,lineNumber:37}},"Last updated:",u.createElement("br",{__self:void 0,__source:{fileName:Md,lineNumber:38}}),e.lastUpdated))))))))},Pd=e.div`
|
|
2400
2658
|
display: flex;
|
|
2401
2659
|
flex-direction: column;
|
|
2402
2660
|
gap: 8px;
|
|
2403
|
-
`,
|
|
2661
|
+
`,Hd=e.div`
|
|
2404
2662
|
padding: 16px;
|
|
2405
2663
|
border-radius: 8px;
|
|
2406
2664
|
border: 1px solid ${f["neutral-100"]};
|
|
@@ -2409,12 +2667,12 @@ button{
|
|
|
2409
2667
|
gap: 14px;
|
|
2410
2668
|
align-items: center;
|
|
2411
2669
|
//height: 76px;
|
|
2412
|
-
`,
|
|
2670
|
+
`,Ld=e.div`
|
|
2413
2671
|
display: flex;
|
|
2414
2672
|
justify-content: space-between;
|
|
2415
2673
|
align-items: center;
|
|
2416
2674
|
width: 100%;
|
|
2417
|
-
`,
|
|
2675
|
+
`,Od=e.div`
|
|
2418
2676
|
display: flex;
|
|
2419
2677
|
flex-direction: column;
|
|
2420
2678
|
gap: 8px;
|
|
@@ -2455,7 +2713,7 @@ button{
|
|
|
2455
2713
|
.error{
|
|
2456
2714
|
color: ${f["error-500"]};
|
|
2457
2715
|
}
|
|
2458
|
-
`,
|
|
2716
|
+
`,Sd=e.p`
|
|
2459
2717
|
color: ${f["neutral-600"]};
|
|
2460
2718
|
font-weight: 400;
|
|
2461
2719
|
font-size: 10px;
|
|
@@ -2464,9 +2722,9 @@ button{
|
|
|
2464
2722
|
margin: 0;
|
|
2465
2723
|
text-align: right;
|
|
2466
2724
|
padding: 0 8px 0 0;
|
|
2467
|
-
`,
|
|
2725
|
+
`,Id=e.div`
|
|
2468
2726
|
display: flex;
|
|
2469
|
-
`,
|
|
2727
|
+
`,Rd=e.div`
|
|
2470
2728
|
width: 100%;
|
|
2471
2729
|
height: 51px;
|
|
2472
2730
|
display: flex;
|
|
@@ -2496,19 +2754,19 @@ button{
|
|
|
2496
2754
|
}
|
|
2497
2755
|
}
|
|
2498
2756
|
}
|
|
2499
|
-
`,
|
|
2757
|
+
`,Fd=e.div`
|
|
2500
2758
|
color: ${f["neutral-900"]};
|
|
2501
2759
|
padding: 8px 0;
|
|
2502
2760
|
position: relative;
|
|
2503
2761
|
display: flex;
|
|
2504
2762
|
flex-direction: column;
|
|
2505
2763
|
flex: 1;
|
|
2506
|
-
`,
|
|
2764
|
+
`,zd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Tab\\Tab.tsx",Qd=e=>{const{tabs:t,bgHexColor:i,inactiveTabBgHexColor:r,selectedTab:o}=e,[s,l]=n.useState(0);return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Id,{style:{background:r},__self:void 0,__source:{fileName:zd,lineNumber:12}},t.map(((e,t)=>u.createElement(Rd,{key:t,className:s===t?"active":"",style:{background:s===t?e.activeBgHexColor:""},onClick:()=>{l(t),o&&o(t)},__self:void 0,__source:{fileName:zd,lineNumber:15}},e.tabName)))),u.createElement(Fd,{style:{background:i},__self:void 0,__source:{fileName:zd,lineNumber:23}},t&&u.createElement(u.Fragment,null,t[s].tabComponent)))},jd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\MarketMovers\\MarketMovers.tsx",Vd=e=>{const{movers:t,lastUpdated:i}=e,n=[{tabName:"Gainers",tabComponent:u.createElement((e=>{const{movers:t}=e;return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Pd,{__self:void 0,__source:{fileName:jd,lineNumber:14}},t.map(((e,t)=>{if("top"===e.type.toLowerCase())return u.createElement(Hd,{key:t,__self:void 0,__source:{fileName:jd,lineNumber:18}},u.createElement("div",{__self:void 0,__source:{fileName:jd,lineNumber:19}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:jd,lineNumber:20}},u.createElement("path",{d:"M10.71 6.29C10.6149 6.19896 10.5028 6.12759 10.38 6.08C10.1365 5.97998 9.86347 5.97998 9.62 6.08C9.49725 6.12759 9.38511 6.19896 9.29 6.29L6.29 9.29C6.1017 9.4783 5.99591 9.7337 5.99591 10C5.99591 10.2663 6.1017 10.5217 6.29 10.71C6.47831 10.8983 6.7337 11.0041 7 11.0041C7.26631 11.0041 7.5217 10.8983 7.71 10.71L9 9.41V13C9 13.2652 9.10536 13.5196 9.2929 13.7071C9.48043 13.8946 9.73479 14 10 14C10.2652 14 10.5196 13.8946 10.7071 13.7071C10.8946 13.5196 11 13.2652 11 13V9.41L12.29 10.71C12.383 10.8037 12.4936 10.8781 12.6154 10.9289C12.7373 10.9797 12.868 11.0058 13 11.0058C13.132 11.0058 13.2627 10.9797 13.3846 10.9289C13.5064 10.8781 13.617 10.8037 13.71 10.71C13.8037 10.617 13.8781 10.5064 13.9289 10.3846C13.9797 10.2627 14.0058 10.132 14.0058 10C14.0058 9.86799 13.9797 9.73728 13.9289 9.61542C13.8781 9.49356 13.8037 9.38296 13.71 9.29L10.71 6.29ZM10 0C8.02219 0 6.08879 0.58649 4.4443 1.6853C2.79981 2.78412 1.51809 4.3459 0.761209 6.17317C0.00433284 8.00043 -0.193701 10.0111 0.192152 11.9509C0.578004 13.8907 1.53041 15.6725 2.92894 17.0711C4.32746 18.4696 6.10929 19.422 8.0491 19.8079C9.98891 20.1937 11.9996 19.9957 13.8268 19.2388C15.6541 18.4819 17.2159 17.2002 18.3147 15.5557C19.4135 13.9112 20 11.9778 20 10C20 8.68678 19.7413 7.38642 19.2388 6.17317C18.7363 4.95991 17.9997 3.85752 17.0711 2.92893C16.1425 2.00035 15.0401 1.26375 13.8268 0.761205C12.6136 0.258658 11.3132 0 10 0ZM10 18C8.41775 18 6.87104 17.5308 5.55544 16.6518C4.23985 15.7727 3.21447 14.5233 2.60897 13.0615C2.00347 11.5997 1.84504 9.99113 2.15372 8.43928C2.4624 6.88743 3.22433 5.46197 4.34315 4.34315C5.46197 3.22433 6.88743 2.4624 8.43928 2.15372C9.99113 1.84504 11.5997 2.00346 13.0615 2.60896C14.5233 3.21447 15.7727 4.23984 16.6518 5.55544C17.5308 6.87103 18 8.41775 18 10C18 12.1217 17.1572 14.1566 15.6569 15.6569C14.1566 17.1571 12.1217 18 10 18Z",fill:"#06BA63",__self:void 0,__source:{fileName:jd,lineNumber:21}}))),u.createElement(Od,{__self:void 0,__source:{fileName:jd,lineNumber:24}},u.createElement(Ld,{__self:void 0,__source:{fileName:jd,lineNumber:25}},u.createElement("div",{className:"entity-short-name",__self:void 0,__source:{fileName:jd,lineNumber:26}},u.createElement("p",{__self:void 0,__source:{fileName:jd,lineNumber:27}},e.entityShortName)),u.createElement("div",{className:"changeRatio",__self:void 0,__source:{fileName:jd,lineNumber:29}},u.createElement("span",{className:"success",__self:void 0,__source:{fileName:jd,lineNumber:30}},e.changeAmount)," / ",u.createElement("span",{className:"success",__self:void 0,__source:{fileName:jd,lineNumber:30}},e.changePercent,"%"))),u.createElement(Ld,{__self:void 0,__source:{fileName:jd,lineNumber:33}},u.createElement("div",{className:"entity-long-name",__self:void 0,__source:{fileName:jd,lineNumber:34}},u.createElement("p",{__self:void 0,__source:{fileName:jd,lineNumber:35}},e.entityName),u.createElement("img",{src:e.marketFlag,alt:"Market flag",__self:void 0,__source:{fileName:jd,lineNumber:36}})),u.createElement("div",{className:"entity-price",__self:void 0,__source:{fileName:jd,lineNumber:38}},e.entityPrice))))}))))}),{movers:t,__self:void 0,__source:{fileName:jd,lineNumber:100}})},{tabName:"Losers",tabComponent:u.createElement((e=>{const{movers:t}=e;return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Pd,{__self:void 0,__source:{fileName:jd,lineNumber:58}},t.map(((e,t)=>{if("worst"===e.type.toLowerCase())return u.createElement(Hd,{key:t,__self:void 0,__source:{fileName:jd,lineNumber:62}},u.createElement("div",{__self:void 0,__source:{fileName:jd,lineNumber:63}},u.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:jd,lineNumber:64}},u.createElement("path",{d:"M9.29 13.71C9.3851 13.801 9.49725 13.8724 9.62 13.92C9.86346 14.02 10.1365 14.02 10.38 13.92C10.5028 13.8724 10.6149 13.801 10.71 13.71L13.71 10.71C13.8983 10.5217 14.0041 10.2663 14.0041 10C14.0041 9.7337 13.8983 9.47831 13.71 9.29C13.5217 9.1017 13.2663 8.99591 13 8.99591C12.7337 8.99591 12.4783 9.1017 12.29 9.29L11 10.59V7C11 6.73479 10.8946 6.48043 10.7071 6.2929C10.5196 6.10536 10.2652 6 10 6C9.73478 6 9.48043 6.10536 9.29289 6.2929C9.10536 6.48043 9 6.73479 9 7V10.59L7.71 9.29C7.61704 9.19628 7.50644 9.12188 7.38458 9.07111C7.26272 9.02034 7.13201 8.99421 7 8.99421C6.86799 8.99421 6.73728 9.02034 6.61542 9.07111C6.49356 9.12188 6.38296 9.19628 6.29 9.29C6.19627 9.38297 6.12188 9.49357 6.07111 9.61543C6.02034 9.73729 5.9942 9.86799 5.9942 10C5.9942 10.132 6.02034 10.2627 6.07111 10.3846C6.12188 10.5064 6.19627 10.617 6.29 10.71L9.29 13.71ZM10 20C11.9778 20 13.9112 19.4135 15.5557 18.3147C17.2002 17.2159 18.4819 15.6541 19.2388 13.8268C19.9957 11.9996 20.1937 9.98891 19.8079 8.0491C19.422 6.10929 18.4696 4.32746 17.0711 2.92894C15.6725 1.53041 13.8907 0.578004 11.9509 0.192152C10.0111 -0.193701 8.00043 0.00433284 6.17317 0.761209C4.3459 1.51809 2.78412 2.79981 1.6853 4.4443C0.58649 6.08879 0 8.02219 0 10C0 12.6522 1.05357 15.1957 2.92893 17.0711C3.85752 17.9997 4.95991 18.7363 6.17317 19.2388C7.38642 19.7413 8.68678 20 10 20V20ZM10 2C11.5823 2 13.129 2.4692 14.4446 3.34825C15.7602 4.2273 16.7855 5.47673 17.391 6.93854C17.9965 8.40035 18.155 10.0089 17.8463 11.5607C17.5376 13.1126 16.7757 14.538 15.6569 15.6569C14.538 16.7757 13.1126 17.5376 11.5607 17.8463C10.0089 18.155 8.40034 17.9965 6.93853 17.391C5.47672 16.7855 4.22729 15.7602 3.34824 14.4446C2.46919 13.129 2 11.5823 2 10C2 7.87827 2.84285 5.84344 4.34315 4.34315C5.84344 2.84286 7.87827 2 10 2V2Z",fill:"#F80000",__self:void 0,__source:{fileName:jd,lineNumber:65}}))),u.createElement(Od,{__self:void 0,__source:{fileName:jd,lineNumber:68}},u.createElement(Ld,{__self:void 0,__source:{fileName:jd,lineNumber:69}},u.createElement("div",{className:"entity-short-name",__self:void 0,__source:{fileName:jd,lineNumber:70}},u.createElement("p",{__self:void 0,__source:{fileName:jd,lineNumber:71}},e.entityShortName)),u.createElement("div",{className:"changeRatio",__self:void 0,__source:{fileName:jd,lineNumber:73}},u.createElement("span",{className:"error",__self:void 0,__source:{fileName:jd,lineNumber:74}},e.changeAmount)," / ",u.createElement("span",{className:"error",__self:void 0,__source:{fileName:jd,lineNumber:74}},e.changePercent,"%"))),u.createElement(Ld,{__self:void 0,__source:{fileName:jd,lineNumber:77}},u.createElement("div",{className:"entity-long-name",__self:void 0,__source:{fileName:jd,lineNumber:78}},u.createElement("p",{__self:void 0,__source:{fileName:jd,lineNumber:79}},e.entityName),u.createElement("img",{src:e.marketFlag,alt:"Market flag",__self:void 0,__source:{fileName:jd,lineNumber:80}})),u.createElement("div",{className:"entity-price",__self:void 0,__source:{fileName:jd,lineNumber:82}},e.entityPrice))))}))))}),{movers:t,__self:void 0,__source:{fileName:jd,lineNumber:104}})}];return u.createElement(u.Fragment,null,u.createElement(Qd,{tabs:n,__self:void 0,__source:{fileName:jd,lineNumber:110}}),i&&u.createElement(Sd,{__self:void 0,__source:{fileName:jd,lineNumber:111}},"Last updated on ",i))},Td=e.div`
|
|
2507
2765
|
display: flex;
|
|
2508
2766
|
justify-content: space-around;
|
|
2509
2767
|
align-items: center;
|
|
2510
2768
|
background: ${f.white};
|
|
2511
|
-
`,
|
|
2769
|
+
`,Yd=e.div`
|
|
2512
2770
|
display: flex;
|
|
2513
2771
|
gap: 8px;
|
|
2514
2772
|
align-items: center;
|
|
@@ -2529,7 +2787,7 @@ button{
|
|
|
2529
2787
|
border-bottom: 1px solid ${f["primary-500"]};
|
|
2530
2788
|
color: ${f["primary-500"]};
|
|
2531
2789
|
}
|
|
2532
|
-
`,
|
|
2790
|
+
`,Xd="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\MenuBar\\MenuBar.tsx",Wd=e=>{const{menuItems:t,currentPageName:i}=e;return u.createElement(u.Fragment,null,t&&t.length&&u.createElement(Td,{__self:void 0,__source:{fileName:Xd,lineNumber:11}},u.createElement(Yd,{__self:void 0,__source:{fileName:Xd,lineNumber:12}},t.map(((e,t)=>u.createElement("a",{key:t,href:e.url,className:"menu-item "+(e.pageName&&e.pageName.toLowerCase()===i&&i.toLowerCase()?"active":""),__self:void 0,__source:{fileName:Xd,lineNumber:14}},e.label))))))},Zd=e.div`
|
|
2533
2791
|
padding: 24px;
|
|
2534
2792
|
border-radius: 8px;
|
|
2535
2793
|
background:${f.white};
|
|
@@ -2539,7 +2797,7 @@ button{
|
|
|
2539
2797
|
a{
|
|
2540
2798
|
text-decoration: none;
|
|
2541
2799
|
}
|
|
2542
|
-
`,
|
|
2800
|
+
`,Gd=e.div`
|
|
2543
2801
|
border-radius: 8px;
|
|
2544
2802
|
overflow: hidden;
|
|
2545
2803
|
width: 300px;
|
|
@@ -2549,7 +2807,7 @@ button{
|
|
|
2549
2807
|
width: 300px;
|
|
2550
2808
|
height: 210px;
|
|
2551
2809
|
}
|
|
2552
|
-
`,
|
|
2810
|
+
`,Ud=e.div`
|
|
2553
2811
|
background: ${f["neutral-50"]};
|
|
2554
2812
|
border-radius: 8px;
|
|
2555
2813
|
display: inline-flex;
|
|
@@ -2564,21 +2822,21 @@ button{
|
|
|
2564
2822
|
.tag:first-of-type{
|
|
2565
2823
|
border-right: 2px solid ${f["neutral-100"]};
|
|
2566
2824
|
}
|
|
2567
|
-
`,
|
|
2825
|
+
`,Kd=e.h5`
|
|
2568
2826
|
margin: 16px 0;
|
|
2569
2827
|
font-weight: 700;
|
|
2570
2828
|
font-size: 23px;
|
|
2571
2829
|
line-height: 28px;
|
|
2572
2830
|
letter-spacing: 0.02em;
|
|
2573
2831
|
color: ${f["neutral-900"]};
|
|
2574
|
-
`,
|
|
2832
|
+
`,Jd=e.p`
|
|
2575
2833
|
font-weight: 400;
|
|
2576
2834
|
font-size: 16px;
|
|
2577
2835
|
line-height: 19px;
|
|
2578
2836
|
color:${f["neutral-900"]};
|
|
2579
|
-
`,
|
|
2837
|
+
`,qd=e.div`
|
|
2580
2838
|
width: 555px;
|
|
2581
|
-
|
|
2839
|
+
`,$d="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsCard\\NewsCard.tsx",eu=e=>{const{featuredImg:t,excerpt:i,source:n,sourceCountryFlag:r,title:o,date:s,storyUrl:l}=e;return u.createElement(Zd,{__self:void 0,__source:{fileName:$d,lineNumber:8}},u.createElement(qd,{__self:void 0,__source:{fileName:$d,lineNumber:9}},u.createElement(Ud,{__self:void 0,__source:{fileName:$d,lineNumber:10}},u.createElement("div",{className:"tag",__self:void 0,__source:{fileName:$d,lineNumber:11}},u.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:$d,lineNumber:12}},u.createElement("img",{src:r,alt:"Source flag",__self:void 0,__source:{fileName:$d,lineNumber:13}})),n),u.createElement("div",{className:"tag",__self:void 0,__source:{fileName:$d,lineNumber:17}},s)),u.createElement("a",{href:l,__self:void 0,__source:{fileName:$d,lineNumber:19}},u.createElement(Kd,{__self:void 0,__source:{fileName:$d,lineNumber:19}},o)),u.createElement(Jd,{__self:void 0,__source:{fileName:$d,lineNumber:20}},`${i.substring(0,140)}...`)),u.createElement(Gd,{__self:void 0,__source:{fileName:$d,lineNumber:22}},u.createElement("a",{href:l,__self:void 0,__source:{fileName:$d,lineNumber:23}},u.createElement("img",{src:t,alt:"Featured image",className:"featured-img",loading:"lazy",__self:void 0,__source:{fileName:$d,lineNumber:23}}))))},tu=e.div`
|
|
2582
2840
|
background: ${f["neutral-900"]};
|
|
2583
2841
|
padding: 11px 16px;
|
|
2584
2842
|
border-radius: 8px;
|
|
@@ -2594,13 +2852,13 @@ button{
|
|
|
2594
2852
|
line-height: 19px;
|
|
2595
2853
|
margin: 0;
|
|
2596
2854
|
}
|
|
2597
|
-
`,
|
|
2855
|
+
`,iu=e.div`
|
|
2598
2856
|
display: flex;
|
|
2599
2857
|
gap: 16px;
|
|
2600
2858
|
.filterContainer{
|
|
2601
2859
|
width: 200px;
|
|
2602
2860
|
}
|
|
2603
|
-
`,
|
|
2861
|
+
`,nu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsFilterBar\\NewsFilterBar.tsx",ru=e=>{const{countries:t,outlets:i,selectedCountryFxn:n,selectedOutletFxn:r}=e;return u.createElement(tu,{...e,__self:void 0,__source:{fileName:nu,lineNumber:10}},u.createElement("h4",{className:"title-bar-text",__self:void 0,__source:{fileName:nu,lineNumber:11}},"News"),u.createElement(iu,{__self:void 0,__source:{fileName:nu,lineNumber:12}},t&&t.length>0&&u.createElement("div",{className:"filterContainer",__self:void 0,__source:{fileName:nu,lineNumber:14}},u.createElement(uc,{options:t,returnedSelection:e=>{n&&n(e)},initialText:"Select Country",__self:void 0,__source:{fileName:nu,lineNumber:15}})),i&&i.length>0&&u.createElement("div",{className:"filterContainer",__self:void 0,__source:{fileName:nu,lineNumber:21}},u.createElement(uc,{options:i,returnedSelection:e=>{r&&r(e)},initialText:"Select Outlet",__self:void 0,__source:{fileName:nu,lineNumber:22}}))))},ou=e.div`
|
|
2604
2862
|
background: ${f["neutral-50"]};
|
|
2605
2863
|
border-radius: 8px;
|
|
2606
2864
|
display: inline-flex;
|
|
@@ -2615,7 +2873,7 @@ button{
|
|
|
2615
2873
|
.tag:first-of-type{
|
|
2616
2874
|
border-right: 2px solid ${f["neutral-100"]};
|
|
2617
2875
|
}
|
|
2618
|
-
`,
|
|
2876
|
+
`,su="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsSourceTag\\NewsSourceTag.tsx",lu=e=>{const{source:t,date:i,flag:n}=e;return u.createElement(ou,{__self:void 0,__source:{fileName:su,lineNumber:9}},u.createElement("div",{className:"tag",__self:void 0,__source:{fileName:su,lineNumber:10}},u.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:su,lineNumber:11}},u.createElement("img",{src:n,alt:"Source flag",__self:void 0,__source:{fileName:su,lineNumber:12}})),t),u.createElement("div",{className:"tag",__self:void 0,__source:{fileName:su,lineNumber:16}},i))},au=e.div`
|
|
2619
2877
|
background: ${f["neutral-900"]};
|
|
2620
2878
|
padding: 11px 16px;
|
|
2621
2879
|
border-radius: 8px;
|
|
@@ -2630,7 +2888,7 @@ button{
|
|
|
2630
2888
|
line-height: 19px;
|
|
2631
2889
|
margin: 0;
|
|
2632
2890
|
}
|
|
2633
|
-
`,
|
|
2891
|
+
`,cu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsTitleBar\\NewsTitleBar.tsx",du=e=>{const{title:t}=e;return u.createElement(au,{...e,__self:void 0,__source:{fileName:cu,lineNumber:9}},u.createElement("h4",{className:"title-bar-text",__self:void 0,__source:{fileName:cu,lineNumber:10}},t))},uu=e.div`
|
|
2634
2892
|
display: flex;
|
|
2635
2893
|
gap: 4px;
|
|
2636
2894
|
flex-direction: column;
|
|
@@ -2645,7 +2903,7 @@ button{
|
|
|
2645
2903
|
.disabled{
|
|
2646
2904
|
color: ${f["neutral-100"]};
|
|
2647
2905
|
}
|
|
2648
|
-
`,
|
|
2906
|
+
`,fu=e.input`
|
|
2649
2907
|
border: none;
|
|
2650
2908
|
width: 100%;
|
|
2651
2909
|
height: 50px;
|
|
@@ -2666,7 +2924,7 @@ button{
|
|
|
2666
2924
|
&:disabled &::placeholder{
|
|
2667
2925
|
color: ${f["neutral-100"]};
|
|
2668
2926
|
}
|
|
2669
|
-
`,
|
|
2927
|
+
`,hu=e.div`
|
|
2670
2928
|
height: 50px;
|
|
2671
2929
|
width: 100%;
|
|
2672
2930
|
border-radius: 8px;
|
|
@@ -2693,22 +2951,22 @@ button{
|
|
|
2693
2951
|
&.disabled input{
|
|
2694
2952
|
cursor: not-allowed !important;
|
|
2695
2953
|
}
|
|
2696
|
-
`,
|
|
2954
|
+
`,mu=e.button`
|
|
2697
2955
|
border: none;
|
|
2698
2956
|
background: ${f.white};
|
|
2699
2957
|
cursor:pointer;
|
|
2700
2958
|
height: 100%;
|
|
2701
2959
|
padding: 13px 8px;
|
|
2702
|
-
`,
|
|
2960
|
+
`,pu=e.p`
|
|
2703
2961
|
color: ${f["error-500"]};
|
|
2704
2962
|
margin: 0;
|
|
2705
2963
|
display: flex;
|
|
2706
2964
|
gap: 4px;
|
|
2707
2965
|
justify-content: start;
|
|
2708
2966
|
align-items: center;
|
|
2709
|
-
`,
|
|
2967
|
+
`,gu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PasswordField\\PasswordField.tsx",bu=e=>{const{label:t,subtext:i,disabled:r,errMsg:o,setValue:s}=e,[l,a]=n.useState(""),[c,d]=n.useState(""),[f,h]=n.useState(!1),[m,p]=n.useState(!1);n.useEffect((()=>{s(""),a("")}),[]);return u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:gu,lineNumber:35}},t&&u.createElement(uu,{__self:void 0,__source:{fileName:gu,lineNumber:37}},u.createElement("label",{className:r?"disabled":"",__self:void 0,__source:{fileName:gu,lineNumber:38}},t),u.createElement("span",{className:r?"disabled":"",__self:void 0,__source:{fileName:gu,lineNumber:39}},i)),u.createElement(hu,{className:`${c} ${r?"disabled":""}`,__self:void 0,__source:{fileName:gu,lineNumber:42}},u.createElement(fu,{type:m?"text":"password",value:l,onChange:e=>{s(e.target.value),a(e.target.value)},onBlur:()=>{l?(d("success"),h(!1)):(d("error"),h(!0))},disabled:r,...e,required:!0,__self:void 0,__source:{fileName:gu,lineNumber:43}}),u.createElement(mu,{type:"button",onClick:()=>{p(!m)},__self:void 0,__source:{fileName:gu,lineNumber:47}},m?u.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gu,lineNumber:55}},u.createElement("path",{d:"M9.94018 5.07994C10.2909 5.02617 10.6453 4.99943 11.0002 4.99994C14.1802 4.99994 17.1702 7.28994 18.9102 10.9999C18.6441 11.5645 18.3435 12.1122 18.0102 12.6399C17.9044 12.8038 17.8487 12.9949 17.8502 13.1899C17.8524 13.4082 17.926 13.6197 18.0596 13.7922C18.1933 13.9647 18.3798 14.0888 18.5905 14.1455C18.8013 14.2021 19.0248 14.1883 19.227 14.106C19.4291 14.0238 19.5988 13.8776 19.7102 13.6899C20.1761 12.9579 20.5808 12.1886 20.9202 11.3899C20.9738 11.2652 21.0015 11.1308 21.0015 10.9949C21.0015 10.8591 20.9738 10.7247 20.9202 10.5999C18.9002 5.90994 15.1002 2.99994 11.0002 2.99994C10.5309 2.99758 10.0623 3.03774 9.60019 3.11994C9.46886 3.14227 9.34322 3.19024 9.23044 3.26112C9.11766 3.332 9.01994 3.4244 8.94287 3.53304C8.8658 3.64169 8.81088 3.76445 8.78125 3.89432C8.75162 4.02419 8.74786 4.15862 8.77018 4.28994C8.79251 4.42126 8.84048 4.5469 8.91136 4.65968C8.98224 4.77247 9.07464 4.87018 9.18329 4.94726C9.29193 5.02433 9.41469 5.07925 9.54456 5.10888C9.67443 5.13851 9.80886 5.14227 9.94018 5.11994V5.07994ZM2.71019 1.28994C2.61695 1.1967 2.50626 1.12274 2.38443 1.07228C2.26261 1.02182 2.13204 0.99585 2.00019 0.99585C1.86833 0.99585 1.73776 1.02182 1.61594 1.07228C1.49411 1.12274 1.38342 1.1967 1.29019 1.28994C1.10188 1.47824 0.996094 1.73364 0.996094 1.99994C0.996094 2.26624 1.10188 2.52164 1.29019 2.70994L4.39019 5.79994C2.97576 7.16147 1.85004 8.79393 1.08019 10.5999C1.02512 10.7261 0.996701 10.8623 0.996701 10.9999C0.996701 11.1376 1.02512 11.2738 1.08019 11.3999C3.10019 16.0899 6.90019 18.9999 11.0002 18.9999C12.7973 18.9875 14.552 18.4524 16.0502 17.4599L19.2902 20.7099C19.3831 20.8037 19.4937 20.8781 19.6156 20.9288C19.7375 20.9796 19.8682 21.0057 20.0002 21.0057C20.1322 21.0057 20.2629 20.9796 20.3848 20.9288C20.5066 20.8781 20.6172 20.8037 20.7102 20.7099C20.8039 20.617 20.8783 20.5064 20.9291 20.3845C20.9798 20.2627 21.006 20.132 21.006 19.9999C21.006 19.8679 20.9798 19.7372 20.9291 19.6154C20.8783 19.4935 20.8039 19.3829 20.7102 19.2899L2.71019 1.28994ZM9.07018 10.4799L11.5202 12.9299C11.3512 12.9784 11.176 13.002 11.0002 12.9999C10.4698 12.9999 9.96104 12.7892 9.58597 12.4142C9.2109 12.0391 9.00019 11.5304 9.00019 10.9999C8.99814 10.8241 9.02172 10.649 9.07018 10.4799ZM11.0002 16.9999C7.82018 16.9999 4.83019 14.7099 3.10019 10.9999C3.74627 9.57369 4.66326 8.28652 5.80019 7.20994L7.57019 8.99994C7.15443 9.75874 6.99592 10.6319 7.11844 11.4884C7.24096 12.3449 7.6379 13.1386 8.24971 13.7504C8.86152 14.3622 9.65522 14.7592 10.5117 14.8817C11.3682 15.0042 12.2414 14.8457 13.0002 14.4299L14.5902 15.9999C13.5013 16.6408 12.2636 16.9856 11.0002 16.9999Z",fill:"#070B12",__self:void 0,__source:{fileName:gu,lineNumber:56}})):u.createElement("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gu,lineNumber:50}},u.createElement("path",{d:"M20.9201 7.6C18.9001 2.91 15.1001 0 11.0001 0C6.90007 0 3.10007 2.91 1.08007 7.6C1.025 7.72617 0.996582 7.86234 0.996582 8C0.996582 8.13766 1.025 8.27383 1.08007 8.4C3.10007 13.09 6.90007 16 11.0001 16C15.1001 16 18.9001 13.09 20.9201 8.4C20.9751 8.27383 21.0036 8.13766 21.0036 8C21.0036 7.86234 20.9751 7.72617 20.9201 7.6ZM11.0001 14C7.83007 14 4.83007 11.71 3.10007 8C4.83007 4.29 7.83007 2 11.0001 2C14.1701 2 17.1701 4.29 18.9001 8C17.1701 11.71 14.1701 14 11.0001 14ZM11.0001 4C10.2089 4 9.43558 4.2346 8.77779 4.67412C8.11999 5.11365 7.6073 5.73836 7.30455 6.46927C7.0018 7.20017 6.92258 8.00444 7.07693 8.78036C7.23127 9.55628 7.61223 10.269 8.17164 10.8284C8.73105 11.3878 9.44378 11.7688 10.2197 11.9231C10.9956 12.0775 11.7999 11.9983 12.5308 11.6955C13.2617 11.3928 13.8864 10.8801 14.3259 10.2223C14.7655 9.56448 15.0001 8.79113 15.0001 8C15.0001 6.93913 14.5786 5.92172 13.8285 5.17157C13.0783 4.42143 12.0609 4 11.0001 4ZM11.0001 10C10.6045 10 10.2178 9.8827 9.88893 9.66294C9.56003 9.44318 9.30368 9.13082 9.15231 8.76537C9.00093 8.39991 8.96133 7.99778 9.0385 7.60982C9.11567 7.22186 9.30615 6.86549 9.58585 6.58579C9.86556 6.30608 10.2219 6.1156 10.6099 6.03843C10.9978 5.96126 11.4 6.00087 11.7654 6.15224C12.1309 6.30362 12.4432 6.55996 12.663 6.88886C12.8828 7.21776 13.0001 7.60444 13.0001 8C13.0001 8.53043 12.7894 9.03914 12.4143 9.41421C12.0392 9.78929 11.5305 10 11.0001 10Z",fill:"#070B12",__self:void 0,__source:{fileName:gu,lineNumber:51}})))),!l&&f&&u.createElement(pu,{__self:void 0,__source:{fileName:gu,lineNumber:63}},u.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:gu,lineNumber:65}},u.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:gu,lineNumber:66}})),o||"This field is required"))},_u=e.div`
|
|
2710
2968
|
overflow-x: auto;
|
|
2711
|
-
`,
|
|
2969
|
+
`,Cu=e.table`
|
|
2712
2970
|
width: 100%;
|
|
2713
2971
|
border-collapse: separate;
|
|
2714
2972
|
border-spacing: 0 8px;
|
|
@@ -2758,7 +3016,7 @@ button{
|
|
|
2758
3016
|
font-weight: 400;
|
|
2759
3017
|
line-height: 19px;
|
|
2760
3018
|
}
|
|
2761
|
-
`,
|
|
3019
|
+
`,vu=e.div`
|
|
2762
3020
|
display: flex;
|
|
2763
3021
|
justify-content: center;
|
|
2764
3022
|
align-items: center;
|
|
@@ -2766,7 +3024,7 @@ button{
|
|
|
2766
3024
|
height: 300px;
|
|
2767
3025
|
background: ${f.white};
|
|
2768
3026
|
border-radius: 8px;
|
|
2769
|
-
`,
|
|
3027
|
+
`,xu=e.div`
|
|
2770
3028
|
display: flex;
|
|
2771
3029
|
align-items: center;
|
|
2772
3030
|
flex-direction: column;
|
|
@@ -2777,9 +3035,9 @@ button{
|
|
|
2777
3035
|
line-height: 19px;
|
|
2778
3036
|
margin: 0;
|
|
2779
3037
|
}
|
|
2780
|
-
`,
|
|
3038
|
+
`,Nu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\PaymentMethodsTable\\PaymentMethods.tsx",wu=e=>{const{methods:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.pymtModeName<t.pymtModeName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(_u,{__self:void 0,__source:{fileName:Nu,lineNumber:58}},u.createElement(Cu,{__self:void 0,__source:{fileName:Nu,lineNumber:59}},u.createElement("thead",{__self:void 0,__source:{fileName:Nu,lineNumber:60}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Nu,lineNumber:61}},u.createElement("th",{__self:void 0,__source:{fileName:Nu,lineNumber:62}},"Code"),u.createElement("th",{__self:void 0,__source:{fileName:Nu,lineNumber:63}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.pymtModeName<t.pymtModeName?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.pymtModeName<e.pymtModeName?-1:1)))},__self:void 0,__source:{fileName:Nu,lineNumber:64}},"Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Nu,lineNumber:69}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Nu,lineNumber:70}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Nu,lineNumber:77}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Nu,lineNumber:78}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Nu,lineNumber:84}},"Short Name"),u.createElement("th",{__self:void 0,__source:{fileName:Nu,lineNumber:85}},"Remarks"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:Nu,lineNumber:89}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:Nu,lineNumber:91}},u.createElement("td",{__self:void 0,__source:{fileName:Nu,lineNumber:92}},e.pymtModeCode),u.createElement("td",{__self:void 0,__source:{fileName:Nu,lineNumber:93}},e.pymtModeName),u.createElement("td",{__self:void 0,__source:{fileName:Nu,lineNumber:94}},e.pymtModeShortName),u.createElement("td",{__self:void 0,__source:{fileName:Nu,lineNumber:95}},u.createElement("div",{__self:void 0,__source:{fileName:Nu,lineNumber:96}},e.remarks?e.remarks:"-",u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Nu,lineNumber:98}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Nu,lineNumber:99}}))))))))),c&&0===c.length&&m&&u.createElement(vu,{__self:void 0,__source:{fileName:Nu,lineNumber:109}},u.createElement(xu,{__self:void 0,__source:{fileName:Nu,lineNumber:110}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Nu,lineNumber:111}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Nu,lineNumber:112}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Nu,lineNumber:113}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Nu,lineNumber:114}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Nu,lineNumber:115}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Nu,lineNumber:116}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Nu,lineNumber:117}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Nu,lineNumber:118}})),u.createElement("defs",{__self:void 0,__source:{fileName:Nu,lineNumber:120}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Nu,lineNumber:121}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Nu,lineNumber:122}})))),u.createElement("p",{__self:void 0,__source:{fileName:Nu,lineNumber:126}},"Payment methods will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:Nu,lineNumber:131}}))},yu=e.div`
|
|
2781
3039
|
overflow-x: auto;
|
|
2782
|
-
`,
|
|
3040
|
+
`,Eu=e.table`
|
|
2783
3041
|
width: 100%;
|
|
2784
3042
|
border-collapse: separate;
|
|
2785
3043
|
border-spacing: 0 8px;
|
|
@@ -2829,7 +3087,7 @@ button{
|
|
|
2829
3087
|
font-weight: 400;
|
|
2830
3088
|
line-height: 19px;
|
|
2831
3089
|
}
|
|
2832
|
-
`,
|
|
3090
|
+
`,Au=e.div`
|
|
2833
3091
|
display: flex;
|
|
2834
3092
|
justify-content: center;
|
|
2835
3093
|
align-items: center;
|
|
@@ -2837,7 +3095,7 @@ button{
|
|
|
2837
3095
|
height: 300px;
|
|
2838
3096
|
background: ${f.white};
|
|
2839
3097
|
border-radius: 8px;
|
|
2840
|
-
`,
|
|
3098
|
+
`,Du=e.div`
|
|
2841
3099
|
display: flex;
|
|
2842
3100
|
align-items: center;
|
|
2843
3101
|
flex-direction: column;
|
|
@@ -2848,18 +3106,18 @@ button{
|
|
|
2848
3106
|
line-height: 19px;
|
|
2849
3107
|
margin: 0;
|
|
2850
3108
|
}
|
|
2851
|
-
`,
|
|
3109
|
+
`,ku="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\ProvidersTable\\ProvidersTable.tsx",Mu=e=>{const{providers:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.name<t.name?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(yu,{__self:void 0,__source:{fileName:ku,lineNumber:59}},u.createElement(Eu,{__self:void 0,__source:{fileName:ku,lineNumber:60}},u.createElement("thead",{__self:void 0,__source:{fileName:ku,lineNumber:61}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:ku,lineNumber:62}},u.createElement("th",{__self:void 0,__source:{fileName:ku,lineNumber:63}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.name<t.name?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.name<e.name?-1:1)))},__self:void 0,__source:{fileName:ku,lineNumber:64}},"Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ku,lineNumber:69}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:ku,lineNumber:70}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ku,lineNumber:77}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:ku,lineNumber:78}}))))),u.createElement("th",{__self:void 0,__source:{fileName:ku,lineNumber:84}},"Email"),u.createElement("th",{__self:void 0,__source:{fileName:ku,lineNumber:85}},"Phone"),u.createElement("th",{__self:void 0,__source:{fileName:ku,lineNumber:86}},"Status"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:ku,lineNumber:90}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:ku,lineNumber:92}},u.createElement("td",{__self:void 0,__source:{fileName:ku,lineNumber:93}},e.name),u.createElement("td",{__self:void 0,__source:{fileName:ku,lineNumber:94}},e.email),u.createElement("td",{__self:void 0,__source:{fileName:ku,lineNumber:95}},e.phone),u.createElement("td",{__self:void 0,__source:{fileName:ku,lineNumber:96}},u.createElement("div",{__self:void 0,__source:{fileName:ku,lineNumber:97}},u.createElement(jc,{status:"active"===e.status?"success":"error",label:e.status.toUpperCase(),__self:void 0,__source:{fileName:ku,lineNumber:98}}),u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ku,lineNumber:99}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:ku,lineNumber:100}}))))))))),c&&0===c.length&&m&&u.createElement(Au,{__self:void 0,__source:{fileName:ku,lineNumber:110}},u.createElement(Du,{__self:void 0,__source:{fileName:ku,lineNumber:111}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ku,lineNumber:112}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:ku,lineNumber:113}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:ku,lineNumber:114}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ku,lineNumber:115}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ku,lineNumber:116}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ku,lineNumber:117}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ku,lineNumber:118}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ku,lineNumber:119}})),u.createElement("defs",{__self:void 0,__source:{fileName:ku,lineNumber:121}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:ku,lineNumber:122}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:ku,lineNumber:123}})))),u.createElement("p",{__self:void 0,__source:{fileName:ku,lineNumber:127}},"Providers will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:ku,lineNumber:132}}))},Bu=e.div`
|
|
2852
3110
|
display: flex;
|
|
2853
3111
|
flex-direction: column;
|
|
2854
3112
|
gap: 8px;
|
|
2855
|
-
`,
|
|
3113
|
+
`,Pu=e.div`
|
|
2856
3114
|
border-radius: 8px;
|
|
2857
3115
|
padding: 16px;
|
|
2858
3116
|
background: ${f["neutral-50"]};
|
|
2859
3117
|
display: flex;
|
|
2860
3118
|
flex-direction: column;
|
|
2861
3119
|
gap: 16px;
|
|
2862
|
-
`,
|
|
3120
|
+
`,Hu=e.div`
|
|
2863
3121
|
display: flex;
|
|
2864
3122
|
gap: 26px;
|
|
2865
3123
|
align-items: center;
|
|
@@ -2874,7 +3132,7 @@ button{
|
|
|
2874
3132
|
line-height: 19px;
|
|
2875
3133
|
color: ${f["neutral-900"]};
|
|
2876
3134
|
}
|
|
2877
|
-
`,
|
|
3135
|
+
`,Lu=e.div`
|
|
2878
3136
|
display: flex;
|
|
2879
3137
|
gap: 16px;
|
|
2880
3138
|
align-items: center;
|
|
@@ -2886,7 +3144,7 @@ button{
|
|
|
2886
3144
|
line-height: 19px;
|
|
2887
3145
|
color: ${f["neutral-900"]};
|
|
2888
3146
|
}
|
|
2889
|
-
`,
|
|
3147
|
+
`,Ou=e.div`
|
|
2890
3148
|
display: flex;
|
|
2891
3149
|
gap: 12px;
|
|
2892
3150
|
font-weight: 400;
|
|
@@ -2896,14 +3154,14 @@ button{
|
|
|
2896
3154
|
*{
|
|
2897
3155
|
margin: 0;
|
|
2898
3156
|
}
|
|
2899
|
-
`,
|
|
3157
|
+
`,Su=e.div`
|
|
2900
3158
|
display: flex;
|
|
2901
3159
|
flex-direction: column;
|
|
2902
3160
|
gap: 8px;
|
|
2903
3161
|
align-items: center;
|
|
2904
3162
|
justify-content: center;
|
|
2905
3163
|
height: 300px;
|
|
2906
|
-
`,
|
|
3164
|
+
`,Iu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\RateHistory\\RateHistory.tsx",Ru=e=>{const{ratePairs:t}=e;return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Bu,{__self:void 0,__source:{fileName:Iu,lineNumber:11}},t.map(((e,t)=>u.createElement(Pu,{key:t,__self:void 0,__source:{fileName:Iu,lineNumber:20}},u.createElement(Hu,{__self:void 0,__source:{fileName:Iu,lineNumber:21}},u.createElement("div",{className:"currency",__self:void 0,__source:{fileName:Iu,lineNumber:23}},e.baseFlag&&u.createElement("img",{src:e.baseFlag,alt:"",__self:void 0,__source:{fileName:Iu,lineNumber:24}})," ",e.baseCurrency),u.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Iu,lineNumber:28}},u.createElement("path",{d:"M17.9999 10C17.9999 9.73479 17.8945 9.48043 17.707 9.2929C17.5195 9.10536 17.2651 9 16.9999 9H5.4099L7.7099 6.71C7.8982 6.5217 8.00399 6.2663 8.00399 6C8.00399 5.7337 7.8982 5.47831 7.7099 5.29C7.52159 5.1017 7.2662 4.99591 6.9999 4.99591C6.73359 4.99591 6.4782 5.1017 6.2899 5.29L2.2899 9.29C2.15114 9.43063 2.05714 9.6092 2.01977 9.80319C1.98239 9.99718 2.00332 10.1979 2.0799 10.38C2.15492 10.5626 2.28231 10.7189 2.44603 10.8293C2.60975 10.9396 2.80247 10.999 2.9999 11H16.9999C17.2651 11 17.5195 10.8946 17.707 10.7071C17.8945 10.5196 17.9999 10.2652 17.9999 10ZM21.9199 13.62C21.8449 13.4374 21.7175 13.2811 21.5538 13.1707C21.39 13.0604 21.1973 13.001 20.9999 13H6.9999C6.73468 13 6.48033 13.1054 6.29279 13.2929C6.10525 13.4804 5.9999 13.7348 5.9999 14C5.9999 14.2652 6.10525 14.5196 6.29279 14.7071C6.48033 14.8946 6.73468 15 6.9999 15H18.5899L16.2899 17.29C16.1962 17.383 16.1218 17.4936 16.071 17.6154C16.0202 17.7373 15.9941 17.868 15.9941 18C15.9941 18.132 16.0202 18.2627 16.071 18.3846C16.1218 18.5064 16.1962 18.617 16.2899 18.71C16.3829 18.8037 16.4935 18.8781 16.6153 18.9289C16.7372 18.9797 16.8679 19.0058 16.9999 19.0058C17.1319 19.0058 17.2626 18.9797 17.3845 18.9289C17.5063 18.8781 17.6169 18.8037 17.7099 18.71L21.7099 14.71C21.8487 14.5694 21.9426 14.3908 21.98 14.1968C22.0174 14.0028 21.9965 13.8021 21.9199 13.62Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:Iu,lineNumber:29}})),u.createElement("div",{className:"currency",__self:void 0,__source:{fileName:Iu,lineNumber:31}},e.exchangeFlag&&u.createElement("img",{src:e.exchangeFlag,alt:"",__self:void 0,__source:{fileName:Iu,lineNumber:32}})," ",e.exchangeCurrency)),u.createElement(Lu,{__self:void 0,__source:{fileName:Iu,lineNumber:35}},u.createElement("p",{__self:void 0,__source:{fileName:Iu,lineNumber:36}},"Buy Rate: ",Number(e.baseRate).toFixed(4))," | ",u.createElement("p",{__self:void 0,__source:{fileName:Iu,lineNumber:36}},"Sell Rate: ",Number(e.exchangeRate).toFixed(4))),u.createElement(Ou,{__self:void 0,__source:{fileName:Iu,lineNumber:38}},u.createElement("p",{__self:void 0,__source:{fileName:Iu,lineNumber:39}},e.startDate)," to ",u.createElement("p",{__self:void 0,__source:{fileName:Iu,lineNumber:39}},e.endDate)))))),t&&0===t.length&&u.createElement(Su,{__self:void 0,__source:{fileName:Iu,lineNumber:46}},u.createElement("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Iu,lineNumber:47}},u.createElement("g",{clipPath:"url(#clip0_1126_91)",__self:void 0,__source:{fileName:Iu,lineNumber:48}},u.createElement("path",{d:"M39 6H25V14H39V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Iu,lineNumber:49}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0006 6C41.0006 4.895 40.1046 4 39 4H25C23.8954 4 22.9994 4.895 22.9994 6V14C22.9994 15.105 23.8954 16 25 16H39C40.1046 16 41.0006 15.105 41.0006 14V6ZM27.0006 8V12H36.9994V8H27.0006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Iu,lineNumber:50}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56C49 54.896 49.896 54 51 54C52.104 54 53 54.896 53 56V58C53 59.105 52.105 60 51 60H13C11.895 60 11 59.105 11 58V10C11 8.895 11.895 8 13 8H25C26.105 8 27 8.895 27 10V12H37V10C37 8.895 37.895 8 39 8H51C52.105 8 53 8.895 53 10V48C53 49.104 52.104 50 51 50C49.896 50 49 49.104 49 48V12H41V14C41 15.105 40.105 16 39 16H25C23.895 16 23 15.105 23 14V12H15V56H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Iu,lineNumber:51}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27H41C42.104 27 43 26.104 43 25C43 23.896 42.104 23 41 23H23C21.896 23 21 23.896 21 25C21 26.104 21.896 27 23 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Iu,lineNumber:52}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38H41C42.104 38 43 37.104 43 36C43 34.896 42.104 34 41 34H23C21.896 34 21 34.896 21 36C21 37.104 21.896 38 23 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Iu,lineNumber:53}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49H41C42.104 49 43 48.104 43 47C43 45.896 42.104 45 41 45H23C21.896 45 21 45.896 21 47C21 48.104 21.896 49 23 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Iu,lineNumber:54}})),u.createElement("defs",{__self:void 0,__source:{fileName:Iu,lineNumber:56}},u.createElement("clipPath",{id:"clip0_1126_91",__self:void 0,__source:{fileName:Iu,lineNumber:57}},u.createElement("rect",{width:"64",height:"64",fill:"white",__self:void 0,__source:{fileName:Iu,lineNumber:58}})))),"Rates history shall be displayed here when available"))},Fu=e.div`
|
|
2907
3165
|
padding: 24px;
|
|
2908
3166
|
//border-radius: 8px;
|
|
2909
3167
|
gap: 24px;
|
|
@@ -2913,7 +3171,7 @@ button{
|
|
|
2913
3171
|
align-items: end;
|
|
2914
3172
|
//background: ${f.white};
|
|
2915
3173
|
|
|
2916
|
-
`,
|
|
3174
|
+
`,zu=e.div`
|
|
2917
3175
|
display: flex;
|
|
2918
3176
|
gap: 12px;
|
|
2919
3177
|
flex-direction: column;
|
|
@@ -2924,7 +3182,7 @@ button{
|
|
|
2924
3182
|
font-size: 16px;
|
|
2925
3183
|
line-height: 19px;
|
|
2926
3184
|
}
|
|
2927
|
-
`,
|
|
3185
|
+
`,Qu=e.div`
|
|
2928
3186
|
display: flex;
|
|
2929
3187
|
flex-direction: column;
|
|
2930
3188
|
gap: 4px;
|
|
@@ -2939,7 +3197,7 @@ button{
|
|
|
2939
3197
|
line-height: 17px;
|
|
2940
3198
|
font-weight: 400;
|
|
2941
3199
|
}
|
|
2942
|
-
`,
|
|
3200
|
+
`,ju=e.input`
|
|
2943
3201
|
border: none;
|
|
2944
3202
|
left: 0;
|
|
2945
3203
|
right: 0;
|
|
@@ -2962,7 +3220,7 @@ button{
|
|
|
2962
3220
|
&:disabled &::placeholder{
|
|
2963
3221
|
color: ${f["neutral-100"]};
|
|
2964
3222
|
}
|
|
2965
|
-
`,
|
|
3223
|
+
`,Vu=e.div`
|
|
2966
3224
|
position: relative;
|
|
2967
3225
|
height: 50px;
|
|
2968
3226
|
width: 100%;
|
|
@@ -2989,20 +3247,20 @@ button{
|
|
|
2989
3247
|
.disabled{
|
|
2990
3248
|
pointer-events: none;
|
|
2991
3249
|
}
|
|
2992
|
-
`,
|
|
3250
|
+
`,Tu=e.p`
|
|
2993
3251
|
color: ${f["error-500"]};
|
|
2994
3252
|
margin: 0;
|
|
2995
3253
|
display: flex;
|
|
2996
3254
|
gap: 4px;
|
|
2997
3255
|
justify-content: start;
|
|
2998
3256
|
align-items: center;
|
|
2999
|
-
`,
|
|
3257
|
+
`,Yu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TextField\\TextField.tsx",Xu=e=>{let{label:t,subtext:i,errMsg:r,disabled:o,required:s,value:l}=e;const[a,c]=n.useState(""),[d,f]=n.useState(!1),h=n.useRef();return u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:Yu,lineNumber:32}},t&&u.createElement(Qu,{__self:void 0,__source:{fileName:Yu,lineNumber:34}},u.createElement("label",{__self:void 0,__source:{fileName:Yu,lineNumber:35}},t),i&&u.createElement("span",{__self:void 0,__source:{fileName:Yu,lineNumber:36}},i)),u.createElement(Vu,{className:`${a} ${o?"disabled":""}`,__self:void 0,__source:{fileName:Yu,lineNumber:39}},u.createElement(ju,{ref:h,onBlur:()=>{l?(c("success"),f(!1)):s&&(c("error"),f(!0))},...e,__self:void 0,__source:{fileName:Yu,lineNumber:40}})),!l&&s&&d&&u.createElement(Tu,{__self:void 0,__source:{fileName:Yu,lineNumber:43}},u.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Yu,lineNumber:45}},u.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:Yu,lineNumber:46}})),r||"This field is required"))},Wu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\RequestForm\\RequestForm.tsx",Zu=e=>{const{symbols:t,currencies:i,returnedData:r}=e,[o,s]=n.useState({}),[l,a]=n.useState(""),[c,d]=n.useState({}),[f,h]=n.useState(""),[p,g]=n.useState([]),[b,_]=n.useState([]);return n.useEffect((()=>{let e=[];t.forEach((t=>{let i={optionName:t.name,optionShortName:t.shortName,optionFlag:t.countryFlag,price:t.price};e.push(i)})),g(e)}),[t]),n.useEffect((()=>{let e=[];i.forEach((t=>{let i={optionName:t.currencyLongName,optionShortName:t.currencyShortName,optionFlag:t.countryFlag};e.push(i)})),_(e)}),[i]),u.createElement(Fu,{__self:void 0,__source:{fileName:Wu,lineNumber:57}},u.createElement(zu,{__self:void 0,__source:{fileName:Wu,lineNumber:58}},u.createElement("label",{__self:void 0,__source:{fileName:Wu,lineNumber:59}},"Symbol"),u.createElement(La,{options:p,selectedOption:e=>{s(e),h(e.price)},initialText:"Select a symbol",__self:void 0,__source:{fileName:Wu,lineNumber:60}})),u.createElement(zu,{__self:void 0,__source:{fileName:Wu,lineNumber:65}},u.createElement("label",{__self:void 0,__source:{fileName:Wu,lineNumber:66}},"Price"),u.createElement(Xu,{required:!1,value:f,disabled:!0,__self:void 0,__source:{fileName:Wu,lineNumber:67}})),u.createElement(zu,{__self:void 0,__source:{fileName:Wu,lineNumber:69}},u.createElement("label",{__self:void 0,__source:{fileName:Wu,lineNumber:70}},"Quantity"),u.createElement(Xu,{required:!1,onChange:e=>{isNaN(Number(e.target.value))||a(e.target.value)},value:l,__self:void 0,__source:{fileName:Wu,lineNumber:71}})),u.createElement(zu,{__self:void 0,__source:{fileName:Wu,lineNumber:76}},u.createElement("label",{__self:void 0,__source:{fileName:Wu,lineNumber:78}},"Currency I have"),u.createElement(La,{options:b,selectedOption:e=>{d(e)},initialText:"Select a currency",__self:void 0,__source:{fileName:Wu,lineNumber:79}})),u.createElement(zu,{__self:void 0,__source:{fileName:Wu,lineNumber:81}},u.createElement(m,{size:"lg",variant:"primary",onClick:function(){if(Object.keys(o).length>0&&Object.keys(c).length>0&&l){const e={symbol:o,quantity:Number(l),baseCurrency:c};r(e)}},__self:void 0,__source:{fileName:Wu,lineNumber:82}},"View Offers")))},Gu=e.div`
|
|
3000
3258
|
border: 1px solid ${f["primary-500"]};
|
|
3001
3259
|
border-radius: 100px;
|
|
3002
3260
|
//display: inline-block;
|
|
3003
3261
|
overflow: hidden;
|
|
3004
3262
|
min-width: 784px;
|
|
3005
|
-
`,
|
|
3263
|
+
`,Uu=e.a`
|
|
3006
3264
|
display: inline-block;
|
|
3007
3265
|
padding: 16px;
|
|
3008
3266
|
text-decoration: none;
|
|
@@ -3024,11 +3282,11 @@ button{
|
|
|
3024
3282
|
background:${f["primary-500"]};
|
|
3025
3283
|
color: white;
|
|
3026
3284
|
}
|
|
3027
|
-
`,
|
|
3285
|
+
`,Ku="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Ribbon\\Ribbon.tsx",Ju=e=>{const{links:t,bgColor:i}=e;return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Gu,{__self:void 0,__source:{fileName:Ku,lineNumber:11}},t.map(((e,t)=>u.createElement(Uu,{key:t,href:e.url,target:"_blank",className:i,__self:void 0,__source:{fileName:Ku,lineNumber:13}},e.label)))))},qu=e.div`
|
|
3028
3286
|
display: flex;
|
|
3029
3287
|
gap: 8px;
|
|
3030
3288
|
justify-content: space-between;
|
|
3031
|
-
|
|
3289
|
+
`,$u=e.input`
|
|
3032
3290
|
padding: 13px 16px;
|
|
3033
3291
|
height: 48px;
|
|
3034
3292
|
width: 100%;
|
|
@@ -3042,7 +3300,7 @@ button{
|
|
|
3042
3300
|
&:focus-within,&:focus{
|
|
3043
3301
|
outline: none;
|
|
3044
3302
|
}
|
|
3045
|
-
`,
|
|
3303
|
+
`,ef=e.button`
|
|
3046
3304
|
width: 60px;
|
|
3047
3305
|
height: 48px;
|
|
3048
3306
|
background: ${f["primary-500"]};
|
|
@@ -3051,7 +3309,7 @@ button{
|
|
|
3051
3309
|
border-radius: 8px;
|
|
3052
3310
|
border: none;
|
|
3053
3311
|
cursor: pointer;
|
|
3054
|
-
`,
|
|
3312
|
+
`,tf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SearchBar\\SearchBar.tsx",nf=e=>{const{value:t,submitFxn:i}=e;return u.createElement("form",{onSubmit:e=>{e.preventDefault(),i()},__self:void 0,__source:{fileName:tf,lineNumber:10}},u.createElement(qu,{__self:void 0,__source:{fileName:tf,lineNumber:14}},u.createElement($u,{type:"search",placeholder:"Search",value:t,...e,__self:void 0,__source:{fileName:tf,lineNumber:15}}),u.createElement(ef,{type:"submit",__self:void 0,__source:{fileName:tf,lineNumber:16}},u.createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:tf,lineNumber:17}},u.createElement("path",{d:"M20.21 19.29L16.5 15.61C17.9401 13.8144 18.6375 11.5353 18.4488 9.2413C18.2601 6.9473 17.1997 4.81278 15.4855 3.27664C13.7714 1.74051 11.5338 0.91951 9.23292 0.98247C6.93203 1.04543 4.74272 1.98756 3.11514 3.61514C1.48756 5.24272 0.545427 7.43204 0.482466 9.73292C0.419506 12.0338 1.2405 14.2714 2.77664 15.9855C4.31278 17.6997 6.4473 18.7601 8.7413 18.9488C11.0353 19.1375 13.3144 18.4401 15.11 17L18.79 20.68C18.883 20.7737 18.9936 20.8481 19.1154 20.8989C19.2373 20.9497 19.368 20.9758 19.5 20.9758C19.632 20.9758 19.7627 20.9497 19.8846 20.8989C20.0064 20.8481 20.117 20.7737 20.21 20.68C20.3902 20.4935 20.491 20.2443 20.491 19.985C20.491 19.7257 20.3902 19.4765 20.21 19.29V19.29ZM9.5 17C8.11553 17 6.76215 16.5895 5.611 15.8203C4.45986 15.0511 3.56265 13.9579 3.03284 12.6788C2.50303 11.3997 2.3644 9.99223 2.6345 8.63437C2.9046 7.2765 3.57128 6.02922 4.55025 5.05025C5.52922 4.07128 6.7765 3.4046 8.13436 3.1345C9.49223 2.86441 10.8997 3.00303 12.1788 3.53284C13.4579 4.06266 14.5511 4.95986 15.3203 6.11101C16.0895 7.26215 16.5 8.61553 16.5 10C16.5 11.8565 15.7625 13.637 14.4497 14.9497C13.137 16.2625 11.3565 17 9.5 17V17Z",fill:"#F7F9FC",__self:void 0,__source:{fileName:tf,lineNumber:18}})))))},rf=e.div`
|
|
3055
3313
|
height: 72px;
|
|
3056
3314
|
background: ${f["neutral-900"]};
|
|
3057
3315
|
padding: 11px 16px;
|
|
@@ -3071,7 +3329,7 @@ button{
|
|
|
3071
3329
|
font-weight: 400;
|
|
3072
3330
|
line-height: 17px;
|
|
3073
3331
|
}
|
|
3074
|
-
`,
|
|
3332
|
+
`,of="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SearchResultsBar\\SearchResultsBar.tsx",sf=e=>{const{title:t,resultsDisplayed:i,totalRes:n}=e;return u.createElement(rf,{__self:void 0,__source:{fileName:of,lineNumber:9}},u.createElement("div",{className:"search-term",__self:void 0,__source:{fileName:of,lineNumber:10}},'Search Term: "',t,'"'),u.createElement("div",{className:"results-count",__self:void 0,__source:{fileName:of,lineNumber:13}},"Showing ",i," of ",n," results"))},lf=e.div`
|
|
3075
3333
|
position: absolute;
|
|
3076
3334
|
width: 100%;
|
|
3077
3335
|
height: 100%;
|
|
@@ -3079,7 +3337,7 @@ button{
|
|
|
3079
3337
|
top: 0;
|
|
3080
3338
|
background: rgb(0 0 0 / 40%);
|
|
3081
3339
|
z-index: 9999;
|
|
3082
|
-
|
|
3340
|
+
`,af=e.div`
|
|
3083
3341
|
position: absolute;
|
|
3084
3342
|
right: 0;
|
|
3085
3343
|
top: 0;
|
|
@@ -3088,14 +3346,14 @@ button{
|
|
|
3088
3346
|
background: ${f.white};
|
|
3089
3347
|
padding: 0;
|
|
3090
3348
|
margin: 0;
|
|
3091
|
-
`,
|
|
3349
|
+
`,cf=e.div`
|
|
3092
3350
|
display: flex;
|
|
3093
3351
|
justify-content: space-between;
|
|
3094
3352
|
align-items: center;
|
|
3095
3353
|
background: ${f.white};
|
|
3096
3354
|
border-bottom: 1px solid ${f["neutral-100"]};
|
|
3097
3355
|
padding: 32px 38px;
|
|
3098
|
-
`,
|
|
3356
|
+
`,df=e.button`
|
|
3099
3357
|
background: transparent;
|
|
3100
3358
|
border: none;
|
|
3101
3359
|
cursor: pointer;
|
|
@@ -3107,9 +3365,9 @@ button{
|
|
|
3107
3365
|
cursor: not-allowed;
|
|
3108
3366
|
color: ${f["neutral-100"]};
|
|
3109
3367
|
}
|
|
3110
|
-
`,
|
|
3368
|
+
`,uf=e.div`
|
|
3111
3369
|
padding: 32px;
|
|
3112
|
-
`,
|
|
3370
|
+
`,ff=e.div`
|
|
3113
3371
|
display: flex;
|
|
3114
3372
|
flex-direction: column;
|
|
3115
3373
|
gap: 4px;
|
|
@@ -3128,7 +3386,7 @@ button{
|
|
|
3128
3386
|
font-style: normal;
|
|
3129
3387
|
font-family: Circular, sans-serif;
|
|
3130
3388
|
}
|
|
3131
|
-
`,
|
|
3389
|
+
`,hf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SideModal\\SideModal.tsx",mf=e=>{const{disabledNav:t,modalTitle:i,modalSubText:n,closeModal:r,children:o}=e;return u.createElement(lf,{__self:void 0,__source:{fileName:hf,lineNumber:8}},u.createElement(af,{__self:void 0,__source:{fileName:hf,lineNumber:9}},u.createElement(cf,{__self:void 0,__source:{fileName:hf,lineNumber:10}},u.createElement(df,{disabled:t,__self:void 0,__source:{fileName:hf,lineNumber:11}},!t&&u.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hf,lineNumber:14}},u.createElement("path",{d:"M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z",fill:"#070B12",__self:void 0,__source:{fileName:hf,lineNumber:15}})),t&&u.createElement("svg",{width:"12",height:"14",viewBox:"0 0 12 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hf,lineNumber:19}},u.createElement("path",{d:"M11 6H3.41L6.71 2.71C6.89831 2.5217 7.00409 2.2663 7.00409 2C7.00409 1.7337 6.89831 1.47831 6.71 1.29C6.5217 1.1017 6.2663 0.995911 6 0.995911C5.7337 0.995911 5.47831 1.1017 5.29 1.29L0.290003 6.29C0.198963 6.38511 0.127598 6.49725 0.0800031 6.62C-0.0200149 6.86346 -0.0200149 7.13654 0.0800031 7.38C0.127598 7.50275 0.198963 7.6149 0.290003 7.71L5.29 12.71C5.38297 12.8037 5.49357 12.8781 5.61543 12.9289C5.73729 12.9797 5.86799 13.0058 6 13.0058C6.13202 13.0058 6.26272 12.9797 6.38458 12.9289C6.50644 12.8781 6.61704 12.8037 6.71 12.71C6.80373 12.617 6.87813 12.5064 6.92889 12.3846C6.97966 12.2627 7.0058 12.132 7.0058 12C7.0058 11.868 6.97966 11.7373 6.92889 11.6154C6.87813 11.4936 6.80373 11.383 6.71 11.29L3.41 8H11C11.2652 8 11.5196 7.89465 11.7071 7.70711C11.8946 7.51957 12 7.26522 12 7C12 6.73479 11.8946 6.48043 11.7071 6.2929C11.5196 6.10536 11.2652 6 11 6Z",fill:"#070B12",__self:void 0,__source:{fileName:hf,lineNumber:20}})),"Go Back"),u.createElement(df,{onClick:()=>{r(!1)},__self:void 0,__source:{fileName:hf,lineNumber:25}},u.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:hf,lineNumber:27}},u.createElement("path",{d:"M7.4 6L11.7 1.7C12.1 1.3 12.1 0.7 11.7 0.3C11.3 -0.1 10.7 -0.1 10.3 0.3L6 4.6L1.7 0.3C1.3 -0.1 0.7 -0.1 0.3 0.3C-0.0999998 0.7 -0.0999998 1.3 0.3 1.7L4.6 6L0.3 10.3C0.1 10.5 0 10.7 0 11C0 11.6 0.4 12 1 12C1.3 12 1.5 11.9 1.7 11.7L6 7.4L10.3 11.7C10.5 11.9 10.7 12 11 12C11.3 12 11.5 11.9 11.7 11.7C12.1 11.3 12.1 10.7 11.7 10.3L7.4 6Z",fill:"#070B12",__self:void 0,__source:{fileName:hf,lineNumber:28}})))),u.createElement(uf,{__self:void 0,__source:{fileName:hf,lineNumber:32}},i&&u.createElement(ff,{__self:void 0,__source:{fileName:hf,lineNumber:34}},u.createElement("h3",{className:"title",__self:void 0,__source:{fileName:hf,lineNumber:35}},i),u.createElement("p",{className:"sub-text",__self:void 0,__source:{fileName:hf,lineNumber:36}},n)),o)))},pf=e.div`
|
|
3132
3390
|
padding: 16px;
|
|
3133
3391
|
border-radius: 8px;
|
|
3134
3392
|
background: ${f.white};
|
|
@@ -3139,13 +3397,13 @@ button{
|
|
|
3139
3397
|
a{
|
|
3140
3398
|
text-decoration: none;
|
|
3141
3399
|
}
|
|
3142
|
-
`,
|
|
3400
|
+
`,gf=e.img`
|
|
3143
3401
|
width: 113px;
|
|
3144
3402
|
height: 102px;
|
|
3145
3403
|
border-radius: 8px;
|
|
3146
3404
|
object-fit: cover;
|
|
3147
3405
|
max-width: none;
|
|
3148
|
-
`,
|
|
3406
|
+
`,bf=e.h6`
|
|
3149
3407
|
font-size: 19px;
|
|
3150
3408
|
font-weight: 500;
|
|
3151
3409
|
line-height: 23px;
|
|
@@ -3153,11 +3411,11 @@ button{
|
|
|
3153
3411
|
font-family: Circular Book Medium, sans-serif;
|
|
3154
3412
|
color: ${f["neutral-900"]};
|
|
3155
3413
|
margin: 0;
|
|
3156
|
-
`,
|
|
3414
|
+
`,_f=e.div`
|
|
3157
3415
|
display: flex;
|
|
3158
3416
|
flex-direction: column;
|
|
3159
3417
|
gap: 16px;
|
|
3160
|
-
`,
|
|
3418
|
+
`,Cf=e.div`
|
|
3161
3419
|
background: ${f["neutral-50"]};
|
|
3162
3420
|
border-radius: 8px;
|
|
3163
3421
|
width: fit-content;
|
|
@@ -3175,7 +3433,7 @@ button{
|
|
|
3175
3433
|
.tag:first-of-type{
|
|
3176
3434
|
border-right: 2px solid ${f["neutral-100"]};
|
|
3177
3435
|
}
|
|
3178
|
-
`,
|
|
3436
|
+
`,vf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SmallNewsCard\\SmallNewsCard.tsx",xf=e=>{const{title:t,date:i,source:n,sourceCountryFlagUrl:r,featuredImgUrl:o,storyUrl:s}=e;return u.createElement(pf,{__self:void 0,__source:{fileName:vf,lineNumber:9}},u.createElement("a",{href:s,__self:void 0,__source:{fileName:vf,lineNumber:10}},u.createElement(gf,{src:o,__self:void 0,__source:{fileName:vf,lineNumber:10}})),u.createElement(_f,{__self:void 0,__source:{fileName:vf,lineNumber:11}},u.createElement("a",{href:s,__self:void 0,__source:{fileName:vf,lineNumber:12}},u.createElement(bf,{__self:void 0,__source:{fileName:vf,lineNumber:12}},t)),u.createElement(Cf,{__self:void 0,__source:{fileName:vf,lineNumber:13}},u.createElement("div",{className:"tag",__self:void 0,__source:{fileName:vf,lineNumber:14}},u.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:vf,lineNumber:15}},u.createElement("img",{src:r,alt:"Source flag",__self:void 0,__source:{fileName:vf,lineNumber:16}})),n),u.createElement("div",{className:"tag",__self:void 0,__source:{fileName:vf,lineNumber:20}},i))))};var Nf={};Object.defineProperty(Nf,"__esModule",{value:!0});var wf=n;function yf(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Ef=yf(wf),Af=function(){return Af=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Af.apply(this,arguments)};
|
|
3179
3437
|
/*! *****************************************************************************
|
|
3180
3438
|
Copyright (c) Microsoft Corporation.
|
|
3181
3439
|
|
|
@@ -3189,7 +3447,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
3189
3447
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
3190
3448
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3191
3449
|
PERFORMANCE OF THIS SOFTWARE.
|
|
3192
|
-
***************************************************************************** */!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n overflow-x: hidden !important;\n display: flex !important;\n flex-direction: row !important;\n position: relative;\n width: 100%;\n}\n.marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.overlay::before, .overlay::after {\n background: linear-gradient(to right, var(--gradient-color));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n}\n.overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.overlay::before {\n left: 0;\n top: 0;\n}\n\n.marquee {\n flex: 0 0 auto;\n min-width: 100%;\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}');var
|
|
3450
|
+
***************************************************************************** */!function(e){if(!e||"undefined"==typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.marquee-container {\n overflow-x: hidden !important;\n display: flex !important;\n flex-direction: row !important;\n position: relative;\n width: 100%;\n}\n.marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.overlay::before, .overlay::after {\n background: linear-gradient(to right, var(--gradient-color));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n}\n.overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.overlay::before {\n left: 0;\n top: 0;\n}\n\n.marquee {\n flex: 0 0 auto;\n min-width: 100%;\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}');var Df=Nf.default=function(e){var t,i,n,r,o=e.style,s=void 0===o?{}:o,l=e.className,a=void 0===l?"":l,c=e.play,d=void 0===c||c,u=e.pauseOnHover,f=void 0!==u&&u,h=e.pauseOnClick,m=void 0!==h&&h,p=e.direction,g=void 0===p?"left":p,b=e.speed,_=void 0===b?20:b,C=e.delay,v=void 0===C?0:C,x=e.loop,N=void 0===x?0:x,w=e.gradient,y=void 0===w||w,E=e.gradientColor,A=void 0===E?[255,255,255]:E,D=e.gradientWidth,k=void 0===D?200:D,M=e.onFinish,B=e.onCycleComplete,P=e.children,H=wf.useState(0),L=H[0],O=H[1],S=wf.useState(0),I=S[0],R=S[1],F=wf.useState(!1),z=F[0],Q=F[1],j=wf.useRef(null),V=wf.useRef(null);wf.useEffect((function(){if(z){var e=function(){V.current&&j.current&&(O(j.current.getBoundingClientRect().width),R(V.current.getBoundingClientRect().width))};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}}),[z]),wf.useEffect((function(){Q(!0)}),[]);var T="rgba("+A[0]+", "+A[1]+", "+A[2],Y=I<L?L/_:I/_;return Ef.default.createElement(wf.Fragment,null,z?Ef.default.createElement("div",{ref:j,style:Af(Af({},s),(t={},t["--pause-on-hover"]=!d||f?"paused":"running",t["--pause-on-click"]=!d||f&&!m||m?"paused":"running",t)),className:a+" marquee-container"},y&&Ef.default.createElement("div",{style:(i={},i["--gradient-color"]=T+", 1), "+T+", 0)",i["--gradient-width"]="number"==typeof k?k+"px":k,i),className:"overlay"}),Ef.default.createElement("div",{ref:V,style:(n={},n["--play"]=d?"running":"paused",n["--direction"]="left"===g?"normal":"reverse",n["--duration"]=Y+"s",n["--delay"]=v+"s",n["--iteration-count"]=N?""+N:"infinite",n),className:"marquee",onAnimationIteration:B,onAnimationEnd:M},P),Ef.default.createElement("div",{style:(r={},r["--play"]=d?"running":"paused",r["--direction"]="left"===g?"normal":"reverse",r["--duration"]=Y+"s",r["--delay"]=v+"s",r["--iteration-count"]=N?""+N:"infinite",r),className:"marquee","aria-hidden":"true"},P)):null)};const kf=e.div`
|
|
3193
3451
|
// background: ${f["neutral-700"]};
|
|
3194
3452
|
color: ${f["neutral-50"]};
|
|
3195
3453
|
font-size: 14px;
|
|
@@ -3222,11 +3480,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3222
3480
|
height: 0;
|
|
3223
3481
|
width: 0;
|
|
3224
3482
|
}
|
|
3225
|
-
`,
|
|
3483
|
+
`,Mf=e.div`
|
|
3226
3484
|
border-left: 1px solid ${f["neutral-400"]};
|
|
3227
|
-
`,
|
|
3485
|
+
`,Bf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\StocksTicker\\StocksTicker.tsx",Pf=e=>{const{stocksData:t}=e;function i(e){return e<0?"error":e>0?"success":""}return u.createElement(u.Fragment,null,t&&t.length>0&&u.createElement(Df,{speed:30,pauseOnHover:!0,pauseOnClick:!0,gradient:!1,style:{background:"#1B2D49"},__self:void 0,__source:{fileName:Bf,lineNumber:34}},u.createElement(kf,{__self:void 0,__source:{fileName:Bf,lineNumber:35}},t.map(((e,t)=>{return u.createElement("span",{key:t,__self:void 0,__source:{fileName:Bf,lineNumber:44}},e.price&&e.changeValue&&e.changePercent&&u.createElement(Mf,{__self:void 0,__source:{fileName:Bf,lineNumber:46}},u.createElement("span",{className:"market-item",__self:void 0,__source:{fileName:Bf,lineNumber:47}},"success"===i(Number(e.changeValue))&&u.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Bf,lineNumber:49}},u.createElement("path",{d:"M7.47335 5.02667C7.40994 4.96598 7.33518 4.9184 7.25335 4.88667C7.09104 4.81999 6.90899 4.81999 6.74668 4.88667C6.66485 4.9184 6.59008 4.96598 6.52668 5.02667L4.52668 7.02667C4.40114 7.1522 4.33062 7.32247 4.33062 7.5C4.33062 7.67754 4.40114 7.8478 4.52668 7.97334C4.65222 8.09887 4.82248 8.1694 5.00001 8.1694C5.17755 8.1694 5.34781 8.09887 5.47335 7.97334L6.33335 7.10667V9.5C6.33335 9.67681 6.40358 9.84638 6.52861 9.97141C6.65363 10.0964 6.8232 10.1667 7.00001 10.1667C7.17682 10.1667 7.34639 10.0964 7.47142 9.97141C7.59644 9.84638 7.66668 9.67681 7.66668 9.5V7.10667L8.52668 7.97334C8.58866 8.03582 8.66239 8.08542 8.74363 8.11926C8.82487 8.15311 8.91201 8.17053 9.00001 8.17053C9.08802 8.17053 9.17516 8.15311 9.2564 8.11926C9.33764 8.08542 9.41137 8.03582 9.47335 7.97334C9.53583 7.91136 9.58543 7.83763 9.61927 7.75639C9.65312 7.67515 9.67055 7.58801 9.67055 7.5C9.67055 7.41199 9.65312 7.32486 9.61927 7.24362C9.58543 7.16238 9.53583 7.08864 9.47335 7.02667L7.47335 5.02667ZM7.00001 0.833336C5.68147 0.833336 4.39254 1.22433 3.29621 1.95687C2.19988 2.68941 1.3454 3.73061 0.840816 4.94878C0.336232 6.16695 0.20421 7.5074 0.461445 8.8006C0.718679 10.0938 1.35362 11.2817 2.28597 12.214C3.21832 13.1464 4.4062 13.7813 5.69941 14.0386C6.99262 14.2958 8.33306 14.1638 9.55124 13.6592C10.7694 13.1546 11.8106 12.3001 12.5431 11.2038C13.2757 10.1075 13.6667 8.81854 13.6667 7.5C13.6667 6.62452 13.4942 5.75762 13.1592 4.94878C12.8242 4.13994 12.3331 3.40501 11.7141 2.78596C11.095 2.1669 10.3601 1.67584 9.55124 1.34081C8.7424 1.00577 7.87549 0.833336 7.00001 0.833336ZM7.00001 12.8333C5.94518 12.8333 4.91403 12.5205 4.03697 11.9345C3.15991 11.3485 2.47632 10.5155 2.07266 9.54098C1.66899 8.56644 1.56337 7.49409 1.76916 6.45952C1.97495 5.42496 2.4829 4.47465 3.22878 3.72877C3.97466 2.98289 4.92497 2.47494 5.95953 2.26915C6.9941 2.06336 8.06645 2.16898 9.04099 2.57265C10.0155 2.97631 10.8485 3.6599 11.4345 4.53696C12.0206 5.41402 12.3333 6.44517 12.3333 7.5C12.3333 8.91449 11.7714 10.271 10.7712 11.2712C9.77106 12.2714 8.4145 12.8333 7.00001 12.8333Z",fill:"#06BA63",__self:void 0,__source:{fileName:Bf,lineNumber:50}})),"error"===i(Number(e.changeValue))&&u.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Bf,lineNumber:54}},u.createElement("path",{d:"M6.52667 9.97333C6.59007 10.034 6.66483 10.0816 6.74667 10.1133C6.90898 10.18 7.09103 10.18 7.25334 10.1133C7.33517 10.0816 7.40993 10.034 7.47334 9.97333L9.47334 7.97333C9.59887 7.8478 9.6694 7.67753 9.6694 7.5C9.6694 7.32246 9.59887 7.1522 9.47334 7.02666C9.3478 6.90113 9.17754 6.8306 9 6.8306C8.82247 6.8306 8.6522 6.90113 8.52667 7.02666L7.66667 7.89333V5.5C7.66667 5.32319 7.59643 5.15362 7.47141 5.02859C7.34638 4.90357 7.17681 4.83333 7 4.83333C6.82319 4.83333 6.65362 4.90357 6.5286 5.02859C6.40357 5.15362 6.33334 5.32319 6.33334 5.5V7.89333L5.47334 7.02666C5.41136 6.96418 5.33763 6.91458 5.25639 6.88074C5.17515 6.84689 5.08801 6.82947 5 6.82947C4.91199 6.82947 4.82486 6.84689 4.74362 6.88074C4.66238 6.91458 4.58864 6.96418 4.52667 7.02666C4.46418 7.08864 4.41459 7.16237 4.38074 7.24361C4.3469 7.32485 4.32947 7.41199 4.32947 7.5C4.32947 7.58801 4.3469 7.67514 4.38074 7.75638C4.41459 7.83762 4.46418 7.91136 4.52667 7.97333L6.52667 9.97333ZM7 14.1667C8.31854 14.1667 9.60748 13.7757 10.7038 13.0431C11.8001 12.3106 12.6546 11.2694 13.1592 10.0512C13.6638 8.83305 13.7958 7.4926 13.5386 6.1994C13.2813 4.90619 12.6464 3.7183 11.714 2.78595C10.7817 1.8536 9.59381 1.21866 8.3006 0.961429C7.0074 0.704195 5.66695 0.836217 4.44878 1.3408C3.23061 1.84539 2.18941 2.69987 1.45687 3.7962C0.724329 4.89252 0.333336 6.18146 0.333336 7.5C0.333336 9.26811 1.03571 10.9638 2.28596 12.214C2.90501 12.8331 3.63994 13.3242 4.44878 13.6592C5.25762 13.9942 6.12452 14.1667 7 14.1667ZM7 2.16666C8.05484 2.16666 9.08598 2.47946 9.96304 3.06549C10.8401 3.65153 11.5237 4.48448 11.9274 5.45902C12.331 6.43356 12.4366 7.50591 12.2309 8.54048C12.0251 9.57505 11.5171 10.5254 10.7712 11.2712C10.0254 12.0171 9.07505 12.5251 8.04048 12.7309C7.00592 12.9366 5.93356 12.831 4.95902 12.4274C3.98448 12.0237 3.15153 11.3401 2.5655 10.463C1.97946 9.58598 1.66667 8.55483 1.66667 7.5C1.66667 6.08551 2.22857 4.72896 3.22877 3.72876C4.22896 2.72857 5.58551 2.16666 7 2.16666Z",fill:"#F80000",__self:void 0,__source:{fileName:Bf,lineNumber:55}})),""===i(Number(e.changeValue))&&u.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Bf,lineNumber:59}},u.createElement("path",{d:"M7.00017 0.333374C5.68162 0.333374 4.39269 0.724367 3.29636 1.45691C2.20004 2.18945 1.34555 3.23064 0.840969 4.44882C0.336385 5.66699 0.204362 7.00744 0.461597 8.30064C0.718832 9.59385 1.35377 10.7817 2.28612 11.7141C3.21847 12.6464 4.40636 13.2814 5.69956 13.5386C6.99277 13.7958 8.33322 13.6638 9.55139 13.1592C10.7696 12.6547 11.8108 11.8002 12.5433 10.7038C13.2758 9.60751 13.6668 8.31858 13.6668 7.00004C13.6668 6.12456 13.4944 5.25765 13.1594 4.44882C12.8243 3.63998 12.3333 2.90505 11.7142 2.286C11.0952 1.66694 10.3602 1.17588 9.55139 0.840844C8.74255 0.505812 7.87565 0.333374 7.00017 0.333374ZM7.00017 12.3334C5.94533 12.3334 4.91419 12.0206 4.03712 11.4345C3.16006 10.8485 2.47648 10.0156 2.07281 9.04102C1.66914 8.06648 1.56352 6.99412 1.76931 5.95956C1.9751 4.92499 2.48305 3.97468 3.22893 3.2288C3.97481 2.48292 4.92512 1.97497 5.95968 1.76919C6.99425 1.5634 8.06661 1.66902 9.04114 2.07268C10.0157 2.47635 10.8486 3.15994 11.4347 4.037C12.0207 4.91406 12.3335 5.94521 12.3335 7.00004C12.3335 8.41453 11.7716 9.77108 10.7714 10.7713C9.77121 11.7715 8.41465 12.3334 7.00017 12.3334ZM9.66683 6.33337H4.3335C4.15669 6.33337 3.98712 6.40361 3.86209 6.52864C3.73707 6.65366 3.66683 6.82323 3.66683 7.00004C3.66683 7.17685 3.73707 7.34642 3.86209 7.47144C3.98712 7.59647 4.15669 7.66671 4.3335 7.66671H9.66683C9.84364 7.66671 10.0132 7.59647 10.1382 7.47144C10.2633 7.34642 10.3335 7.17685 10.3335 7.00004C10.3335 6.82323 10.2633 6.65366 10.1382 6.52864C10.0132 6.40361 9.84364 6.33337 9.66683 6.33337Z",fill:"#F7F9FC",__self:void 0,__source:{fileName:Bf,lineNumber:60}})),e.symbolShortName," (","GH"===(n=e.market)?"GSE":"KE"===n?"KSE":"NG"===n?"NGX":void 0,") ",u.createElement("span",{className:i(Number(e.changeValue)),__self:void 0,__source:{fileName:Bf,lineNumber:63}},`${e.changePercent}%`," (",e.price,")")),u.createElement("div",{className:"ticker-divider",__self:void 0,__source:{fileName:Bf,lineNumber:65}})));var n})))))},Hf=e.div`
|
|
3228
3486
|
overflow-x: auto;
|
|
3229
|
-
`,
|
|
3487
|
+
`,Lf=e.table`
|
|
3230
3488
|
width: 100%;
|
|
3231
3489
|
border-collapse: separate;
|
|
3232
3490
|
border-spacing: 0 8px;
|
|
@@ -3276,7 +3534,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3276
3534
|
font-weight: 400;
|
|
3277
3535
|
line-height: 19px;
|
|
3278
3536
|
}
|
|
3279
|
-
`,
|
|
3537
|
+
`,Of=e.div`
|
|
3280
3538
|
display: flex;
|
|
3281
3539
|
justify-content: center;
|
|
3282
3540
|
align-items: center;
|
|
@@ -3284,7 +3542,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3284
3542
|
height: 300px;
|
|
3285
3543
|
background: ${f.white};
|
|
3286
3544
|
border-radius: 8px;
|
|
3287
|
-
`,
|
|
3545
|
+
`,Sf=e.div`
|
|
3288
3546
|
display: flex;
|
|
3289
3547
|
align-items: center;
|
|
3290
3548
|
flex-direction: column;
|
|
@@ -3295,7 +3553,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3295
3553
|
line-height: 19px;
|
|
3296
3554
|
margin: 0;
|
|
3297
3555
|
}
|
|
3298
|
-
`,
|
|
3556
|
+
`,If="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SystemConfigTable\\SystemConfigTable.tsx",Rf=e=>{const{configs:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.configName<t.configName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(Hf,{__self:void 0,__source:{fileName:If,lineNumber:58}},u.createElement(Lf,{__self:void 0,__source:{fileName:If,lineNumber:59}},u.createElement("thead",{__self:void 0,__source:{fileName:If,lineNumber:60}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:If,lineNumber:61}},u.createElement("th",{__self:void 0,__source:{fileName:If,lineNumber:62}},"Code"),u.createElement("th",{__self:void 0,__source:{fileName:If,lineNumber:63}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.configName<t.configName?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.configName<e.configName?-1:1)))},__self:void 0,__source:{fileName:If,lineNumber:64}},"Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:If,lineNumber:69}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:If,lineNumber:70}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:If,lineNumber:77}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:If,lineNumber:78}}))))),u.createElement("th",{__self:void 0,__source:{fileName:If,lineNumber:84}},"Value"),u.createElement("th",{__self:void 0,__source:{fileName:If,lineNumber:85}},"Remarks"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:If,lineNumber:89}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:If,lineNumber:91}},u.createElement("td",{__self:void 0,__source:{fileName:If,lineNumber:92}},e.configCode),u.createElement("td",{__self:void 0,__source:{fileName:If,lineNumber:93}},e.configName),u.createElement("td",{__self:void 0,__source:{fileName:If,lineNumber:94}},e.configValue),u.createElement("td",{__self:void 0,__source:{fileName:If,lineNumber:95}},u.createElement("div",{__self:void 0,__source:{fileName:If,lineNumber:96}},e.remarks,u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:If,lineNumber:98}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:If,lineNumber:99}}))))))))),c&&0===c.length&&m&&u.createElement(Of,{__self:void 0,__source:{fileName:If,lineNumber:109}},u.createElement(Sf,{__self:void 0,__source:{fileName:If,lineNumber:110}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:If,lineNumber:111}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:If,lineNumber:112}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:If,lineNumber:113}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:If,lineNumber:114}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:If,lineNumber:115}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:If,lineNumber:116}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:If,lineNumber:117}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:If,lineNumber:118}})),u.createElement("defs",{__self:void 0,__source:{fileName:If,lineNumber:120}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:If,lineNumber:121}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:If,lineNumber:122}})))),u.createElement("p",{__self:void 0,__source:{fileName:If,lineNumber:126}},"System configs will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:If,lineNumber:131}}))},Ff=e.table`
|
|
3299
3557
|
.btn {
|
|
3300
3558
|
padding: 0.6rem 1rem;
|
|
3301
3559
|
background: transparent;
|
|
@@ -3357,7 +3615,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3357
3615
|
}
|
|
3358
3616
|
}
|
|
3359
3617
|
}
|
|
3360
|
-
`;function Pf(e){let t=e.split("");return t[0]=t[0].toUpperCase(),t.join("").replace("_"," ")}var Hf=n.forwardRef((function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z",clipRule:"evenodd"}))}));var Lf=n.forwardRef((function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}));const Of="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Table\\table.tsx",If=e=>{const{title:t,data:i,columns:r=[],columnSort:o=!1,config:s,onRowClick:l,rowExpand:a=!1,onRowExpandComponent:c,itemsPerPage:d,hasSearch:u=!1,formatData:f}=e,[h,m]=n.useState([]),[p,g]=n.useState([]),[b,_]=n.useState(1),[C,v]=n.useState(10),[x,N]=n.useState(""),[w,y]=n.useState(""),[E,A]=n.useState([]),[D,k]=n.useState(!1),[M,B]=n.useState([]),[P,H]=n.useState([]);n.useEffect((()=>{if(E.length>0)return void m(E.slice((b-1)*C,b*C));let e=p.slice((b-1)*C,b*C);m(e)}),[b]),n.useEffect((()=>{let e=p.slice((b-1)*C,b*C);m(e)}),[D]);return n.useEffect((()=>{x&&m(E.slice(0,C))}),[E]),n.useEffect((()=>{m(p.slice(0,C))}),[M]),n.useEffect((()=>{(e=>{if(!e)return A([]),y(""),void(1!=b?_(1):k(!D));if(w){let t=p.filter((t=>t[w].toString().includes(e)));A(t)}else{let t=p.filter((t=>{for(let i in t)if(t[i].toString().includes(e))return!0;return!1}));A(t)}N(e),_(1)})(x)}),[x]),n.useEffect((()=>{v(d||p.length-1)}),[]),n.useEffect((()=>{(async function(e,t){if(Array.isArray(e))return e;if(/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/gm.test(e)){const i=await fetch(e,t);return await i.json()}return[]})(i,s).then((e=>{if(f&&(e=e.map((e=>f(e)))),g(e),0==r.length&&e.length>0){let t=Object.keys(e[0]).map((e=>({title:Pf(e),field:e,sortable:o})));B(t)}else B(r.map(((e,t)=>({sortable:o,...e}))))})).catch((()=>{g([])}))}),[i]),n.createElement("div",{className:"s-data-table",__self:void 0,__source:{fileName:Of,lineNumber:178}},n.createElement("div",{className:"s-data-table_header",__self:void 0,__source:{fileName:Of,lineNumber:179}},n.createElement("h5",{__self:void 0,__source:{fileName:Of,lineNumber:180}},t),u&&n.createElement("div",{__self:void 0,__source:{fileName:Of,lineNumber:183}},n.createElement("input",{type:"text",value:x,placeholder:"Search",onChange:e=>{N(e.target.value)},__self:void 0,__source:{fileName:Of,lineNumber:184}}),x&&n.createElement(Lf,{onClick:()=>{N("")},className:"s-datatable-icon",__self:void 0,__source:{fileName:Of,lineNumber:193}}))),n.createElement(Bf,{__self:void 0,__source:{fileName:Of,lineNumber:201}},n.createElement("thead",{className:"s-data-table_head h-[66px]",__self:void 0,__source:{fileName:Of,lineNumber:202}},n.createElement("tr",{__self:void 0,__source:{fileName:Of,lineNumber:203}},M&&M.length>0&&M.map(((e,t)=>n.createElement("th",{style:{width:e.width?e.width:1/M.length*100+"%"},className:""+(w==e.field?"s-data-table_head-selected":""),key:t,onClick:()=>{y(e.field)},__self:void 0,__source:{fileName:Of,lineNumber:208}},n.createElement("div",{__self:void 0,__source:{fileName:Of,lineNumber:224}},n.createElement("span",{className:"text-white",__self:void 0,__source:{fileName:Of,lineNumber:225}},e.title),n.createElement("span",{__self:void 0,__source:{fileName:Of,lineNumber:226}},e.sortable&&n.createElement(Hf,{className:"s-datatable-icon",__self:void 0,__source:{fileName:Of,lineNumber:228}})))))))),n.createElement("tbody",{__self:void 0,__source:{fileName:Of,lineNumber:237}},h&&h.length>0&&h.map(((e,t)=>n.createElement(n.Fragment,null,n.createElement("tr",{className:"h-[62px]",style:{cursor:l?"pointer":""},onClick:()=>{return t=e,l&&l(t),void(a&&-1===P.indexOf(t.id)?H([...P,t.id]):a&&H(P.filter((e=>e!==t.id))));var t},key:e.id,__self:void 0,__source:{fileName:Of,lineNumber:243}},M.map(((t,i)=>n.createElement("td",{className:"font-semibold",key:i,__self:void 0,__source:{fileName:Of,lineNumber:251}},e[t.field])))),a&&P.length>0&&P.indexOf(e.id)>-1&&c&&n.createElement("tr",{__self:void 0,__source:{fileName:Of,lineNumber:261}},n.createElement("td",{colSpan:M.length,__self:void 0,__source:{fileName:Of,lineNumber:262}},n.createElement("div",{key:t,__self:void 0,__source:{fileName:Of,lineNumber:263}},c(e))))))),h&&0===h.length&&n.createElement("tr",{__self:void 0,__source:{fileName:Of,lineNumber:271}},n.createElement("td",{colSpan:r.length,__self:void 0,__source:{fileName:Of,lineNumber:272}},"No data found"))),n.createElement("tfoot",{__self:void 0,__source:{fileName:Of,lineNumber:276}},n.createElement("tr",{__self:void 0,__source:{fileName:Of,lineNumber:277}},n.createElement("td",{colSpan:r.length,__self:void 0,__source:{fileName:Of,lineNumber:278}},n.createElement("div",{className:"s-datatable-foot_summary w-full flex",__self:void 0,__source:{fileName:Of,lineNumber:279}},n.createElement("button",{onClick:()=>{_(b-1)},disabled:1==b,className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:Of,lineNumber:280}},1==b?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:288}},n.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Of,lineNumber:295}})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:301}},n.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#070B12",__self:void 0,__source:{fileName:Of,lineNumber:308}}))),Math.ceil(p.length/C)>1&&Array.from({length:Math.ceil(p.length/C)},((e,t)=>t+1)).map(((e,t)=>e>b+2&&e<Math.ceil(p.length/C)-2||e<b-2?null:n.createElement("button",{key:e,onClick:()=>{_(e)},className:" p-1 h-[32px] w-[32px] shadow-md rounded-md mx-1 "+(b==e?"bg-slate-900 text-white":"bg-white text-slate-900"),__self:void 0,__source:{fileName:Of,lineNumber:328}},e))),n.createElement("button",{onClick:()=>{_(b+1)},disabled:b==Math.ceil(p.length/C),className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:Of,lineNumber:343}},b==Math.ceil(p.length/C)?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:353}},n.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Of,lineNumber:360}})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Of,lineNumber:366}},n.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#070B12",__self:void 0,__source:{fileName:Of,lineNumber:373}})))),n.createElement("div",{className:"s-datable-foot_pagination",__self:void 0,__source:{fileName:Of,lineNumber:384}}))))))},Sf=e.div`
|
|
3618
|
+
`;function zf(e){let t=e.split("");return t[0]=t[0].toUpperCase(),t.join("").replace("_"," ")}var Qf=n.forwardRef((function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z",clipRule:"evenodd"}))}));var jf=n.forwardRef((function({title:e,titleId:t,...i},r){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},i),e?n.createElement("title",{id:t},e):null,n.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 011.06 0L12 10.94l5.47-5.47a.75.75 0 111.06 1.06L13.06 12l5.47 5.47a.75.75 0 11-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 01-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 010-1.06z",clipRule:"evenodd"}))}));const Vf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\Table\\table.tsx",Tf=e=>{const{title:t,data:i,columns:r=[],columnSort:o=!1,config:s,onRowClick:l,rowExpand:a=!1,onRowExpandComponent:c,itemsPerPage:d,hasSearch:u=!1,formatData:f}=e,[h,m]=n.useState([]),[p,g]=n.useState([]),[b,_]=n.useState(1),[C,v]=n.useState(10),[x,N]=n.useState(""),[w,y]=n.useState(""),[E,A]=n.useState([]),[D,k]=n.useState(!1),[M,B]=n.useState([]),[P,H]=n.useState([]);n.useEffect((()=>{if(E.length>0)return void m(E.slice((b-1)*C,b*C));let e=p.slice((b-1)*C,b*C);m(e)}),[b]),n.useEffect((()=>{let e=p.slice((b-1)*C,b*C);m(e)}),[D]);return n.useEffect((()=>{x&&m(E.slice(0,C))}),[E]),n.useEffect((()=>{m(p.slice(0,C))}),[M]),n.useEffect((()=>{(e=>{if(!e)return A([]),y(""),void(1!=b?_(1):k(!D));if(w){let t=p.filter((t=>t[w].toString().includes(e)));A(t)}else{let t=p.filter((t=>{for(let i in t)if(t[i].toString().includes(e))return!0;return!1}));A(t)}N(e),_(1)})(x)}),[x]),n.useEffect((()=>{v(d||p.length-1)}),[]),n.useEffect((()=>{(async function(e,t){if(Array.isArray(e))return e;if(/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/gm.test(e)){const i=await fetch(e,t);return await i.json()}return[]})(i,s).then((e=>{if(f&&(e=e.map((e=>f(e)))),g(e),0==r.length&&e.length>0){let t=Object.keys(e[0]).map((e=>({title:zf(e),field:e,sortable:o})));B(t)}else B(r.map(((e,t)=>({sortable:o,...e}))))})).catch((()=>{g([])}))}),[i]),n.createElement("div",{className:"s-data-table",__self:void 0,__source:{fileName:Vf,lineNumber:178}},n.createElement("div",{className:"s-data-table_header",__self:void 0,__source:{fileName:Vf,lineNumber:179}},n.createElement("h5",{__self:void 0,__source:{fileName:Vf,lineNumber:180}},t),u&&n.createElement("div",{__self:void 0,__source:{fileName:Vf,lineNumber:183}},n.createElement("input",{type:"text",value:x,placeholder:"Search",onChange:e=>{N(e.target.value)},__self:void 0,__source:{fileName:Vf,lineNumber:184}}),x&&n.createElement(jf,{onClick:()=>{N("")},className:"s-datatable-icon",__self:void 0,__source:{fileName:Vf,lineNumber:193}}))),n.createElement(Ff,{__self:void 0,__source:{fileName:Vf,lineNumber:201}},n.createElement("thead",{className:"s-data-table_head h-[66px]",__self:void 0,__source:{fileName:Vf,lineNumber:202}},n.createElement("tr",{__self:void 0,__source:{fileName:Vf,lineNumber:203}},M&&M.length>0&&M.map(((e,t)=>n.createElement("th",{style:{width:e.width?e.width:1/M.length*100+"%"},className:""+(w==e.field?"s-data-table_head-selected":""),key:t,onClick:()=>{y(e.field)},__self:void 0,__source:{fileName:Vf,lineNumber:208}},n.createElement("div",{__self:void 0,__source:{fileName:Vf,lineNumber:224}},n.createElement("span",{className:"text-white",__self:void 0,__source:{fileName:Vf,lineNumber:225}},e.title),n.createElement("span",{__self:void 0,__source:{fileName:Vf,lineNumber:226}},e.sortable&&n.createElement(Qf,{className:"s-datatable-icon",__self:void 0,__source:{fileName:Vf,lineNumber:228}})))))))),n.createElement("tbody",{__self:void 0,__source:{fileName:Vf,lineNumber:237}},h&&h.length>0&&h.map(((e,t)=>n.createElement(n.Fragment,null,n.createElement("tr",{className:"h-[62px]",style:{cursor:l?"pointer":""},onClick:()=>{return t=e,l&&l(t),void(a&&-1===P.indexOf(t.id)?H([...P,t.id]):a&&H(P.filter((e=>e!==t.id))));var t},key:e.id,__self:void 0,__source:{fileName:Vf,lineNumber:243}},M.map(((t,i)=>n.createElement("td",{className:"font-semibold",key:i,__self:void 0,__source:{fileName:Vf,lineNumber:251}},e[t.field])))),a&&P.length>0&&P.indexOf(e.id)>-1&&c&&n.createElement("tr",{__self:void 0,__source:{fileName:Vf,lineNumber:261}},n.createElement("td",{colSpan:M.length,__self:void 0,__source:{fileName:Vf,lineNumber:262}},n.createElement("div",{key:t,__self:void 0,__source:{fileName:Vf,lineNumber:263}},c(e))))))),h&&0===h.length&&n.createElement("tr",{__self:void 0,__source:{fileName:Vf,lineNumber:271}},n.createElement("td",{colSpan:r.length,__self:void 0,__source:{fileName:Vf,lineNumber:272}},"No data found"))),n.createElement("tfoot",{__self:void 0,__source:{fileName:Vf,lineNumber:276}},n.createElement("tr",{__self:void 0,__source:{fileName:Vf,lineNumber:277}},n.createElement("td",{colSpan:r.length,__self:void 0,__source:{fileName:Vf,lineNumber:278}},n.createElement("div",{className:"s-datatable-foot_summary w-full flex",__self:void 0,__source:{fileName:Vf,lineNumber:279}},n.createElement("button",{onClick:()=>{_(b-1)},disabled:1==b,className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:Vf,lineNumber:280}},1==b?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vf,lineNumber:288}},n.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Vf,lineNumber:295}})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vf,lineNumber:301}},n.createElement("path",{d:"M11.29 12L14.83 8.46001C15.0163 8.27265 15.1208 8.0192 15.1208 7.75501C15.1208 7.49082 15.0163 7.23737 14.83 7.05001C14.737 6.95628 14.6264 6.88189 14.5046 6.83112C14.3827 6.78035 14.252 6.75421 14.12 6.75421C13.988 6.75421 13.8573 6.78035 13.7354 6.83112C13.6136 6.88189 13.503 6.95628 13.41 7.05001L9.17 11.29C9.07628 11.383 9.00188 11.4936 8.95111 11.6154C8.90035 11.7373 8.87421 11.868 8.87421 12C8.87421 12.132 8.90035 12.2627 8.95111 12.3846C9.00188 12.5064 9.07628 12.617 9.17 12.71L13.41 17C13.5034 17.0927 13.6143 17.166 13.7361 17.2158C13.8579 17.2655 13.9884 17.2908 14.12 17.29C14.2516 17.2908 14.3821 17.2655 14.5039 17.2158C14.6257 17.166 14.7366 17.0927 14.83 17C15.0163 16.8126 15.1208 16.5592 15.1208 16.295C15.1208 16.0308 15.0163 15.7774 14.83 15.59L11.29 12Z",fill:"#070B12",__self:void 0,__source:{fileName:Vf,lineNumber:308}}))),Math.ceil(p.length/C)>1&&Array.from({length:Math.ceil(p.length/C)},((e,t)=>t+1)).map(((e,t)=>e>b+2&&e<Math.ceil(p.length/C)-2||e<b-2?null:n.createElement("button",{key:e,onClick:()=>{_(e)},className:" p-1 h-[32px] w-[32px] shadow-md rounded-md mx-1 "+(b==e?"bg-slate-900 text-white":"bg-white text-slate-900"),__self:void 0,__source:{fileName:Vf,lineNumber:328}},e))),n.createElement("button",{onClick:()=>{_(b+1)},disabled:b==Math.ceil(p.length/C),className:"bg-white p-1 rounded-sm",__self:void 0,__source:{fileName:Vf,lineNumber:343}},b==Math.ceil(p.length/C)?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vf,lineNumber:353}},n.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Vf,lineNumber:360}})):n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Vf,lineNumber:366}},n.createElement("path",{d:"M14.83 11.29L10.59 7.05001C10.497 6.95628 10.3864 6.88189 10.2646 6.83112C10.1427 6.78035 10.012 6.75421 9.88 6.75421C9.74799 6.75421 9.61729 6.78035 9.49543 6.83112C9.37357 6.88189 9.26297 6.95628 9.17 7.05001C8.98375 7.23737 8.87921 7.49082 8.87921 7.75501C8.87921 8.0192 8.98375 8.27265 9.17 8.46001L12.71 12L9.17 15.54C8.98375 15.7274 8.87921 15.9808 8.87921 16.245C8.87921 16.5092 8.98375 16.7626 9.17 16.95C9.26344 17.0427 9.37426 17.116 9.4961 17.1658C9.61794 17.2155 9.7484 17.2408 9.88 17.24C10.0116 17.2408 10.1421 17.2155 10.2639 17.1658C10.3857 17.116 10.4966 17.0427 10.59 16.95L14.83 12.71C14.9237 12.617 14.9981 12.5064 15.0489 12.3846C15.0997 12.2627 15.1258 12.132 15.1258 12C15.1258 11.868 15.0997 11.7373 15.0489 11.6154C14.9981 11.4936 14.9237 11.383 14.83 11.29Z",fill:"#070B12",__self:void 0,__source:{fileName:Vf,lineNumber:373}})))),n.createElement("div",{className:"s-datable-foot_pagination",__self:void 0,__source:{fileName:Vf,lineNumber:384}}))))))},Yf=e.div`
|
|
3361
3619
|
display: flex;
|
|
3362
3620
|
gap: 4px;
|
|
3363
3621
|
flex-direction: column;
|
|
@@ -3369,7 +3627,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3369
3627
|
span{
|
|
3370
3628
|
color: ${f["neutral-600"]};
|
|
3371
3629
|
}
|
|
3372
|
-
`,
|
|
3630
|
+
`,Xf=e.textarea`
|
|
3373
3631
|
border: none;
|
|
3374
3632
|
height: 75px;
|
|
3375
3633
|
font-size: 16px;
|
|
@@ -3389,7 +3647,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3389
3647
|
&:disabled &::placeholder{
|
|
3390
3648
|
color: ${f["neutral-100"]};
|
|
3391
3649
|
}
|
|
3392
|
-
`,
|
|
3650
|
+
`,Wf=e.div`
|
|
3393
3651
|
position: relative;
|
|
3394
3652
|
height: auto;
|
|
3395
3653
|
width: 100%;
|
|
@@ -3416,19 +3674,19 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3416
3674
|
.disabled{
|
|
3417
3675
|
pointer-events: none;
|
|
3418
3676
|
}
|
|
3419
|
-
`,
|
|
3677
|
+
`,Zf=e.p`
|
|
3420
3678
|
color: ${f["error-500"]};
|
|
3421
3679
|
margin: 0;
|
|
3422
3680
|
display: flex;
|
|
3423
3681
|
gap: 4px;
|
|
3424
3682
|
justify-content: start;
|
|
3425
3683
|
align-items: center;
|
|
3426
|
-
`,
|
|
3684
|
+
`,Gf="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TextArea\\TextArea.tsx",Uf=e=>{let{label:t,subtext:i,errMsg:r,disabled:o,required:s,value:l}=e;const[a,c]=n.useState(""),[d,f]=n.useState(!1),h=n.useRef();return u.createElement("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},__self:void 0,__source:{fileName:Gf,lineNumber:32}},t&&u.createElement(Yf,{__self:void 0,__source:{fileName:Gf,lineNumber:34}},u.createElement("label",{__self:void 0,__source:{fileName:Gf,lineNumber:35}},t),i&&u.createElement("span",{__self:void 0,__source:{fileName:Gf,lineNumber:36}},i)),u.createElement(Wf,{className:`${a} ${o?"disabled":""}`,__self:void 0,__source:{fileName:Gf,lineNumber:39}},u.createElement(Xf,{ref:h,onBlur:()=>{l?(c("success"),f(!1)):s&&(c("error"),f(!0))},...e,__self:void 0,__source:{fileName:Gf,lineNumber:40}})),!l&&s&&d&&u.createElement(Zf,{__self:void 0,__source:{fileName:Gf,lineNumber:43}},u.createElement("svg",{width:"16",height:"14",viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Gf,lineNumber:45}},u.createElement("path",{d:"M8.00006 9.66669C7.86821 9.66669 7.73931 9.70578 7.62968 9.77904C7.52005 9.85229 7.4346 9.95641 7.38414 10.0782C7.33368 10.2 7.32048 10.3341 7.3462 10.4634C7.37193 10.5927 7.43542 10.7115 7.52866 10.8048C7.62189 10.898 7.74068 10.9615 7.87 10.9872C7.99932 11.0129 8.13336 10.9997 8.25518 10.9493C8.377 10.8988 8.48112 10.8134 8.55437 10.7037C8.62763 10.5941 8.66673 10.4652 8.66673 10.3334C8.66673 10.1565 8.59649 9.98697 8.47146 9.86195C8.34644 9.73692 8.17687 9.66669 8.00006 9.66669ZM15.1134 10.6467L9.74673 1.31335C9.57326 1.00236 9.31992 0.743323 9.01285 0.562997C8.70579 0.382672 8.35615 0.287598 8.00006 0.287598C7.64396 0.287598 7.29433 0.382672 6.98726 0.562997C6.6802 0.743323 6.42686 1.00236 6.25339 1.31335L0.92006 10.6467C0.74059 10.9494 0.644155 11.294 0.640489 11.6459C0.636824 11.9978 0.726058 12.3444 0.899184 12.6507C1.07231 12.9571 1.3232 13.2123 1.62652 13.3907C1.92984 13.5691 2.27485 13.6643 2.62673 13.6667H13.3734C13.7281 13.6702 14.0773 13.5793 14.3853 13.4033C14.6933 13.2273 14.949 12.9726 15.126 12.6652C15.3031 12.3579 15.3953 12.009 15.3931 11.6542C15.3908 11.2995 15.2943 10.9518 15.1134 10.6467ZM13.9601 11.98C13.9016 12.084 13.8164 12.1704 13.7132 12.2302C13.61 12.29 13.4927 12.321 13.3734 12.32H2.62673C2.50747 12.321 2.39013 12.29 2.28694 12.2302C2.18375 12.1704 2.0985 12.084 2.04006 11.98C1.98155 11.8787 1.95074 11.7637 1.95074 11.6467C1.95074 11.5297 1.98155 11.4147 2.04006 11.3134L7.37339 1.98002C7.42934 1.87082 7.51433 1.77917 7.61902 1.71518C7.72371 1.65119 7.84403 1.61733 7.96673 1.61733C8.08942 1.61733 8.20974 1.65119 8.31443 1.71518C8.41912 1.77917 8.50411 1.87082 8.56006 1.98002L13.9267 11.3134C13.9929 11.4132 14.0309 11.5291 14.0367 11.6488C14.0426 11.7684 14.0161 11.8875 13.9601 11.9934V11.98ZM8.00006 4.33335C7.82325 4.33335 7.65368 4.40359 7.52866 4.52861C7.40363 4.65364 7.33339 4.82321 7.33339 5.00002V7.66669C7.33339 7.8435 7.40363 8.01307 7.52866 8.13809C7.65368 8.26311 7.82325 8.33335 8.00006 8.33335C8.17687 8.33335 8.34644 8.26311 8.47146 8.13809C8.59649 8.01307 8.66673 7.8435 8.66673 7.66669V5.00002C8.66673 4.82321 8.59649 4.65364 8.47146 4.52861C8.34644 4.40359 8.17687 4.33335 8.00006 4.33335Z",fill:"#F80000",__self:void 0,__source:{fileName:Gf,lineNumber:46}})),r||"This field is required"))},Kf=e.div`
|
|
3427
3685
|
display: flex;
|
|
3428
3686
|
flex-direction: column;
|
|
3429
3687
|
gap: 40px;
|
|
3430
3688
|
position: relative;
|
|
3431
|
-
`,
|
|
3689
|
+
`,Jf=e.div`
|
|
3432
3690
|
display: flex;
|
|
3433
3691
|
flex-direction: column;
|
|
3434
3692
|
gap: 8px;
|
|
@@ -3488,12 +3746,12 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3488
3746
|
align-items: center;
|
|
3489
3747
|
gap: 8px;
|
|
3490
3748
|
}
|
|
3491
|
-
`;function
|
|
3749
|
+
`;function qf(e,t){return new Intl.NumberFormat("en-US",{style:"currency",currency:t,currencyDisplay:"code"}).format(e)}const $f="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TransactionDetails\\TransactionDetails.tsx",eh=e=>{const{amount:t,provider:i,requestDate:n,requestedBy:r}=e;return u.createElement(Kf,{__self:void 0,__source:{fileName:$f,lineNumber:10}},u.createElement(Jf,{__self:void 0,__source:{fileName:$f,lineNumber:11}},u.createElement("p",{__self:void 0,__source:{fileName:$f,lineNumber:12}},"Requested By"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:$f,lineNumber:13}},r)),u.createElement(Jf,{__self:void 0,__source:{fileName:$f,lineNumber:17}},u.createElement("p",{__self:void 0,__source:{fileName:$f,lineNumber:18}},"Request Date"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:$f,lineNumber:19}},n)),u.createElement(Jf,{__self:void 0,__source:{fileName:$f,lineNumber:23}},u.createElement("p",{__self:void 0,__source:{fileName:$f,lineNumber:24}},"Amount"),u.createElement("div",{className:"field-dets amt-dets",__self:void 0,__source:{fileName:$f,lineNumber:25}},u.createElement("div",{__self:void 0,__source:{fileName:$f,lineNumber:26}},u.createElement("img",{src:t.baseFlag,alt:"flag",__self:void 0,__source:{fileName:$f,lineNumber:27}}),`${qf(t.baseAmount,t.baseCurr)}`),u.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:$f,lineNumber:32}},u.createElement("path",{d:"M17.9982 10.0002C17.9982 9.73497 17.8928 9.48062 17.7053 9.29308C17.5178 9.10554 17.2634 9.00019 16.9982 9.00019H5.40819L7.70819 6.71019C7.89649 6.52188 8.00228 6.26649 8.00228 6.00019C8.00228 5.73388 7.89649 5.47849 7.70819 5.29019C7.51988 5.10188 7.26449 4.99609 6.99819 4.99609C6.73188 4.99609 6.47649 5.10188 6.28819 5.29019L2.28819 9.29019C2.14943 9.43081 2.05543 9.60938 2.01806 9.80337C1.98068 9.99736 2.00161 10.1981 2.07819 10.3802C2.15321 10.5628 2.2806 10.7191 2.44432 10.8295C2.60804 10.9398 2.80076 10.9992 2.99819 11.0002H16.9982C17.2634 11.0002 17.5178 10.8948 17.7053 10.7073C17.8928 10.5198 17.9982 10.2654 17.9982 10.0002ZM21.9182 13.6202C21.8432 13.4376 21.7158 13.2812 21.552 13.1709C21.3883 13.0606 21.1956 13.0012 20.9982 13.0002H6.99819C6.73297 13.0002 6.47862 13.1055 6.29108 13.2931C6.10354 13.4806 5.99819 13.735 5.99819 14.0002C5.99819 14.2654 6.10354 14.5198 6.29108 14.7073C6.47862 14.8948 6.73297 15.0002 6.99819 15.0002H18.5882L16.2882 17.2902C16.1945 17.3831 16.1201 17.4937 16.0693 17.6156C16.0185 17.7375 15.9924 17.8682 15.9924 18.0002C15.9924 18.1322 16.0185 18.2629 16.0693 18.3848C16.1201 18.5066 16.1945 18.6172 16.2882 18.7102C16.3812 18.8039 16.4917 18.8783 16.6136 18.9291C16.7355 18.9798 16.8662 19.006 16.9982 19.006C17.1302 19.006 17.2609 18.9798 17.3828 18.9291C17.5046 18.8783 17.6152 18.8039 17.7082 18.7102L21.7082 14.7102C21.8469 14.5696 21.9409 14.391 21.9783 14.197C22.0157 14.003 21.9948 13.8023 21.9182 13.6202Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:$f,lineNumber:33}})),u.createElement("div",{__self:void 0,__source:{fileName:$f,lineNumber:35}},u.createElement("img",{src:t.exchFlag,alt:"flag",__self:void 0,__source:{fileName:$f,lineNumber:36}}),`${qf(t.exchAmount,t.exchCurr)}`)),u.createElement("p",{className:"exch-rate",__self:void 0,__source:{fileName:$f,lineNumber:42}},t.baseCurr," 1.0000 = ",`${t.exchCurr} ${t.exchRate}`)),u.createElement(Jf,{__self:void 0,__source:{fileName:$f,lineNumber:44}},u.createElement("p",{__self:void 0,__source:{fileName:$f,lineNumber:45}},"Provider"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:$f,lineNumber:46}},i.logo?u.createElement("img",{src:i.logo,alt:"Provider logo",__self:void 0,__source:{fileName:$f,lineNumber:48}}):u.createElement("div",{className:"w-[44px] h-[44px] rounded-[8px] bg-neutral-100",__self:void 0,__source:{fileName:$f,lineNumber:50}}),i.name)))},th=e.div`
|
|
3492
3750
|
display: flex;
|
|
3493
3751
|
flex-direction: column;
|
|
3494
3752
|
gap: 40px;
|
|
3495
3753
|
position: relative;
|
|
3496
|
-
`,
|
|
3754
|
+
`,ih=e.div`
|
|
3497
3755
|
display: flex;
|
|
3498
3756
|
flex-direction: column;
|
|
3499
3757
|
gap: 8px;
|
|
@@ -3537,11 +3795,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3537
3795
|
align-items: center;
|
|
3538
3796
|
gap: 8px;
|
|
3539
3797
|
}
|
|
3540
|
-
`;const
|
|
3798
|
+
`;const nh="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\TransactionDetailsWithPayment\\TransactionDetailsWithPayment.tsx",rh=e=>{const{amount:t,provider:i,paymentDets:n,requestedBy:r,requestDate:o}=e;return u.createElement(th,{__self:void 0,__source:{fileName:nh,lineNumber:11}},u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:12}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:13}},"Amount"),u.createElement("div",{className:"field-dets amt-dets",__self:void 0,__source:{fileName:nh,lineNumber:14}},u.createElement("div",{__self:void 0,__source:{fileName:nh,lineNumber:15}},u.createElement("img",{src:t.baseFlag,alt:"flag",__self:void 0,__source:{fileName:nh,lineNumber:16}}),`${t.baseCurr} ${t.baseAmount}`),u.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:nh,lineNumber:21}},u.createElement("path",{d:"M17.9982 10.0002C17.9982 9.73497 17.8928 9.48062 17.7053 9.29308C17.5178 9.10554 17.2634 9.00019 16.9982 9.00019H5.40819L7.70819 6.71019C7.89649 6.52188 8.00228 6.26649 8.00228 6.00019C8.00228 5.73388 7.89649 5.47849 7.70819 5.29019C7.51988 5.10188 7.26449 4.99609 6.99819 4.99609C6.73188 4.99609 6.47649 5.10188 6.28819 5.29019L2.28819 9.29019C2.14943 9.43081 2.05543 9.60938 2.01806 9.80337C1.98068 9.99736 2.00161 10.1981 2.07819 10.3802C2.15321 10.5628 2.2806 10.7191 2.44432 10.8295C2.60804 10.9398 2.80076 10.9992 2.99819 11.0002H16.9982C17.2634 11.0002 17.5178 10.8948 17.7053 10.7073C17.8928 10.5198 17.9982 10.2654 17.9982 10.0002ZM21.9182 13.6202C21.8432 13.4376 21.7158 13.2812 21.552 13.1709C21.3883 13.0606 21.1956 13.0012 20.9982 13.0002H6.99819C6.73297 13.0002 6.47862 13.1055 6.29108 13.2931C6.10354 13.4806 5.99819 13.735 5.99819 14.0002C5.99819 14.2654 6.10354 14.5198 6.29108 14.7073C6.47862 14.8948 6.73297 15.0002 6.99819 15.0002H18.5882L16.2882 17.2902C16.1945 17.3831 16.1201 17.4937 16.0693 17.6156C16.0185 17.7375 15.9924 17.8682 15.9924 18.0002C15.9924 18.1322 16.0185 18.2629 16.0693 18.3848C16.1201 18.5066 16.1945 18.6172 16.2882 18.7102C16.3812 18.8039 16.4917 18.8783 16.6136 18.9291C16.7355 18.9798 16.8662 19.006 16.9982 19.006C17.1302 19.006 17.2609 18.9798 17.3828 18.9291C17.5046 18.8783 17.6152 18.8039 17.7082 18.7102L21.7082 14.7102C21.8469 14.5696 21.9409 14.391 21.9783 14.197C22.0157 14.003 21.9948 13.8023 21.9182 13.6202Z",fill:"#BBCCE6",__self:void 0,__source:{fileName:nh,lineNumber:22}})),u.createElement("div",{__self:void 0,__source:{fileName:nh,lineNumber:24}},u.createElement("img",{src:t.exchFlag,alt:"flag",__self:void 0,__source:{fileName:nh,lineNumber:25}}),`${t.exchCurr} ${t.exchAmount}`)),u.createElement("p",{className:"exch-rate",__self:void 0,__source:{fileName:nh,lineNumber:31}},t.exchCurr," 1.0000 = ",`${t.baseCurr} ${t.exchRate}`)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:33}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:34}},"Provider"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:35}},u.createElement("img",{src:i.logo?i.logo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN3SURBVHgBvZddbFRFFMd/c/duW5sW1MRGxWol8UESImqsRjBuLbGNUb7iA4YHon3wxURfkFZFdoMi2MTY+CoEaEgITaGhSaE00EK2QICQ9gUaCGmBtgsLJeWrwN72Dme2gWzYwt6lu/t7uJkzc/8zZ2bOnTtH8TgLdQDFEiwWi1VGMhO4LKJDtTHUvQn0d6RC0yN99hBzQrxZMZDYpB6VAvp58lkrpZ9IzZgol7FPtTMU/k/sH/CK4l/uxx0ZnTQfDp5Hp1jz8M49mVmAdnWcSLhZykvT0JrVqDBOWHHTzDy9wQ0FojlAlS7nJitlLlvS0M4j329WW7qo1mXifT/PTkT0X1HX1ctb/nbp8TPPSldXWBJQQabHKzLofuoDsyksWCb29jS0SywRv8P0eZFxOlj+finX7nwv9mFPKkvNNzGQ7t5PjeL1eEys+rxUAkw+YflCUouKLDJLiTixl5rATIrtFWh1IpXAlhhYS6axqWTGh5vpC1dSrLrkJHrvSa8qss3V8Ks4Eh+aOcmNqs+mdlUnWUMd5KUF6xg6Xo2KtYoTSQFvo1SA7BFg9eo8ZpWv4eaZSm6N9ErdrMQXMh2EyVj6N2p//oMZb49gOQtkFfpy64BB8St1tVv4JjRIXl6F1JzNrQNx3JV8XN5ASfllnIlqqbiYYwfi3Io/lTUqqzKeWwcUIdb/XcvgsdfwK/NZzjbVNjlBb2B9fZBoZxGO0yYn5NyHLTlYAbWGv+rrOLmnkJj/oNhzE1vNChwiW2j5L2zYuJHrHTMZK2iWbfjg8VeyfxT3d8p1z98kpYXJjeYoLln6O5nGZ/cTaWrkXFs+ft/WqQefRI5iK0Qm0XJFG7/7KTpcLKVGsRc97fXMBqHmHD65E0ZbzzOsG8RenEpiHLhAZhiRP14VkeY+hru3yf5+m1riXhcH3Bami+IS2q3kSmu/JCr/S80Kb0LrrFxKfdN1QK7l9hdEd/cyGP5H7BrPypgV8nH79ABFc14Q8yPSZwxtfUl05ykiRyRF0z96VmqJkTfm75gMwucmgph0KR00N7DcKqJNR2XP/8R1veeHqB6coqApTTow0DIqTpj/dIPHHkax9dcM7+qWwdfJbH7BK2bmsULJC99NSE4TeXl5Ga4TRGnJF9RUSYsjndQQ3dUoAWcOMQ/niL6Aa7XEA770k67ElgfvFxf0wKvTiwAAAABJRU5ErkJggg==",alt:"Provider logo",__self:void 0,__source:{fileName:nh,lineNumber:36}})," ",i.name)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:39}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:40}},"Requested By"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:41}},r)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:45}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:46}},"Request Date"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:47}},o)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:51}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:52}},"Payment Method"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:53}},o)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:57}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:58}},"Payee Name"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:59}},n.payeeName)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:63}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:64}},"Bank Name"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:65}},n.bankName)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:69}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:70}},"Bank Country"),u.createElement("div",{className:"field-dets bank-ctry-dets",__self:void 0,__source:{fileName:nh,lineNumber:71}},u.createElement("img",{src:n.bankCountryFlag,alt:"Bank country flag",__self:void 0,__source:{fileName:nh,lineNumber:72}})," ",n.bankCountry)),u.createElement(ih,{__self:void 0,__source:{fileName:nh,lineNumber:75}},u.createElement("p",{__self:void 0,__source:{fileName:nh,lineNumber:76}},"Remarks"),u.createElement("div",{className:"field-dets",__self:void 0,__source:{fileName:nh,lineNumber:77}},n.paymentRemarks)))},oh=e.div`
|
|
3541
3799
|
display: flex;
|
|
3542
3800
|
flex-direction: column;
|
|
3543
3801
|
gap: 34px;
|
|
3544
|
-
`,
|
|
3802
|
+
`,sh=e.div`
|
|
3545
3803
|
display: flex;
|
|
3546
3804
|
flex-direction: column;
|
|
3547
3805
|
gap: 12px;
|
|
@@ -3553,7 +3811,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3553
3811
|
font-family: Circular Book Medium,sans-serif;
|
|
3554
3812
|
margin: 0;
|
|
3555
3813
|
}
|
|
3556
|
-
|
|
3814
|
+
`,lh=e.div`
|
|
3557
3815
|
padding: 8px;
|
|
3558
3816
|
border-radius: 8px;
|
|
3559
3817
|
border: 1px solid ${f["neutral-200"]};
|
|
@@ -3568,7 +3826,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3568
3826
|
&.scroll-bar-show{
|
|
3569
3827
|
overflow: auto;
|
|
3570
3828
|
}
|
|
3571
|
-
`,
|
|
3829
|
+
`,ah=e.div`
|
|
3572
3830
|
padding: 8px;
|
|
3573
3831
|
border-radius: 8px;
|
|
3574
3832
|
display: flex;
|
|
@@ -3600,7 +3858,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3600
3858
|
font-size: 16px;
|
|
3601
3859
|
line-height: 22.4px;
|
|
3602
3860
|
}
|
|
3603
|
-
`,
|
|
3861
|
+
`,ch=e.div`
|
|
3604
3862
|
height: 346px;
|
|
3605
3863
|
display: flex;
|
|
3606
3864
|
justify-content: center;
|
|
@@ -3614,11 +3872,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3614
3872
|
line-height: 19px;
|
|
3615
3873
|
color: #0F1B4C;
|
|
3616
3874
|
}
|
|
3617
|
-
`,
|
|
3875
|
+
`,dh="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UpdateUserActions\\UpdateUserActions.tsx",uh=e=>{const{currentOptions:t,availableOptions:i,selOptions:r,titleAvailable:o,titleCurrent:s}=e,[l,a]=n.useState(i),[c,d]=n.useState(t),[f,h]=n.useState({added:[],removed:[]});return n.useEffect((()=>{r(f)}),[]),n.useEffect((()=>{document.querySelectorAll(".actionsList").forEach((e=>{e.addEventListener("mouseover",(function(){e.classList.add("scroll-bar-show"),e.classList.remove("scroll-bar-hidden")})),e.addEventListener("mouseout",(function(){e.classList.add("scroll-bar-hidden"),e.classList.remove("scroll-bar-show")}))}))}),[]),u.createElement(oh,{__self:void 0,__source:{fileName:dh,lineNumber:80}},u.createElement(sh,{__self:void 0,__source:{fileName:dh,lineNumber:81}},u.createElement("h4",{__self:void 0,__source:{fileName:dh,lineNumber:82}},o||"Available Options"),u.createElement(lh,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:dh,lineNumber:83}},l&&l.length>0&&l.map((e=>{if(0===t.filter((t=>t.optionId===e.optionId&&!f.added.includes(e.optionId))).length)return u.createElement(ah,{key:e.optionId,__self:void 0,__source:{fileName:dh,lineNumber:87}},u.createElement("p",{__self:void 0,__source:{fileName:dh,lineNumber:88}},e.optionName),u.createElement("button",{onClick:()=>{!function(e){if(0===t.filter((t=>t.optionId===e.optionId)).length){let t=f;t.added.includes(e.optionId)||t.added.push(e.optionId),h(t)}if(t.filter((t=>t.optionId===e.optionId)).length>0){let t=f;t.removed=f.removed.filter((t=>t!==e.optionId)),h(t)}a(l.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),d([...c,e]),r(f)}(e)},__self:void 0,__source:{fileName:dh,lineNumber:89}},u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dh,lineNumber:93}},u.createElement("path",{d:"M12.6667 7.33332H8.66675V3.33332C8.66675 3.15651 8.59651 2.98694 8.47149 2.86192C8.34646 2.73689 8.17689 2.66666 8.00008 2.66666C7.82327 2.66666 7.6537 2.73689 7.52868 2.86192C7.40365 2.98694 7.33342 3.15651 7.33342 3.33332V7.33332H3.33341C3.1566 7.33332 2.98703 7.40356 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.1768 2.73699 8.34637 2.86201 8.47139C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H7.33342V12.6667C7.33342 12.8435 7.40365 13.013 7.52868 13.1381C7.6537 13.2631 7.82327 13.3333 8.00008 13.3333C8.17689 13.3333 8.34646 13.2631 8.47149 13.1381C8.59651 13.013 8.66675 12.8435 8.66675 12.6667V8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.47139C13.2632 8.34637 13.3334 8.1768 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40356 12.8436 7.33332 12.6667 7.33332Z",fill:"#070B12",__self:void 0,__source:{fileName:dh,lineNumber:95}}))))})),0===l.length&&u.createElement(ch,{__self:void 0,__source:{fileName:dh,lineNumber:104}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dh,lineNumber:105}},u.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:dh,lineNumber:106}},u.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:dh,lineNumber:107}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:108}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:109}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:110}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:111}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:112}})),u.createElement("defs",{__self:void 0,__source:{fileName:dh,lineNumber:114}},u.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:dh,lineNumber:115}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:dh,lineNumber:116}})))),u.createElement("p",{__self:void 0,__source:{fileName:dh,lineNumber:120}},"No options available")))),u.createElement(sh,{__self:void 0,__source:{fileName:dh,lineNumber:125}},u.createElement("h4",{__self:void 0,__source:{fileName:dh,lineNumber:126}},s||"Current Options"),u.createElement(lh,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:dh,lineNumber:127}},c.length>0&&c.map((e=>u.createElement(ah,{key:e.optionId,__self:void 0,__source:{fileName:dh,lineNumber:129}},u.createElement("p",{__self:void 0,__source:{fileName:dh,lineNumber:130}},e.optionName),u.createElement("button",{onClick:()=>{!function(e){if(d(c.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),a([...l,e]),i.filter((t=>t.optionId===e.optionId)).length>0){let t=f;t.added=f.added.filter((t=>t!==e.optionId)),h(t)}if(t.filter((t=>t.optionId.includes(e.optionId))).length>0){let t=f;t.removed.includes(e.optionId)||t.removed.push(e.optionId),h(t)}r(f)}(e)},__self:void 0,__source:{fileName:dh,lineNumber:131}},u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dh,lineNumber:133}},u.createElement("path",{d:"M12.6667 7.33333H3.33341C3.1566 7.33333 2.98703 7.40357 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.17681 2.73699 8.34638 2.86201 8.4714C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.4714C13.2632 8.34638 13.3334 8.17681 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40357 12.8436 7.33333 12.6667 7.33333Z",fill:"#070B12",__self:void 0,__source:{fileName:dh,lineNumber:134}})))))),0===c.length&&u.createElement(ch,{__self:void 0,__source:{fileName:dh,lineNumber:140}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:dh,lineNumber:141}},u.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:dh,lineNumber:142}},u.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:dh,lineNumber:143}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:144}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:145}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:146}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:147}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:dh,lineNumber:148}})),u.createElement("defs",{__self:void 0,__source:{fileName:dh,lineNumber:150}},u.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:dh,lineNumber:151}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:dh,lineNumber:152}})))),u.createElement("p",{__self:void 0,__source:{fileName:dh,lineNumber:156}},"No options available")))))},fh=e.div`
|
|
3618
3876
|
display: flex;
|
|
3619
3877
|
flex-direction: column;
|
|
3620
3878
|
gap: 34px;
|
|
3621
|
-
`,
|
|
3879
|
+
`,hh=e.div`
|
|
3622
3880
|
display: flex;
|
|
3623
3881
|
flex-direction: column;
|
|
3624
3882
|
gap: 12px;
|
|
@@ -3630,7 +3888,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3630
3888
|
font-family: Circular Book Medium,sans-serif;
|
|
3631
3889
|
margin: 0;
|
|
3632
3890
|
}
|
|
3633
|
-
`,
|
|
3891
|
+
`,mh=e.div`
|
|
3634
3892
|
padding: 8px;
|
|
3635
3893
|
border-radius: 8px;
|
|
3636
3894
|
border: 1px solid ${f["neutral-200"]};
|
|
@@ -3645,7 +3903,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3645
3903
|
&.scroll-bar-show{
|
|
3646
3904
|
overflow: auto;
|
|
3647
3905
|
}
|
|
3648
|
-
`,
|
|
3906
|
+
`,ph=e.div`
|
|
3649
3907
|
padding: 8px;
|
|
3650
3908
|
border-radius: 8px;
|
|
3651
3909
|
display: flex;
|
|
@@ -3680,7 +3938,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3680
3938
|
font-size: 16px;
|
|
3681
3939
|
line-height: 22.4px;
|
|
3682
3940
|
}
|
|
3683
|
-
`,
|
|
3941
|
+
`,gh=e.div`
|
|
3684
3942
|
height: 346px;
|
|
3685
3943
|
display: flex;
|
|
3686
3944
|
justify-content: center;
|
|
@@ -3694,9 +3952,9 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3694
3952
|
line-height: 19px;
|
|
3695
3953
|
color: #0F1B4C;
|
|
3696
3954
|
}
|
|
3697
|
-
`,ch="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UserActions\\UserActions.tsx",dh=e=>{const{currentOptions:t,availableOptions:i,supplementaryOptions:r,selOptions:o,titleAvailable:s,titleCurrent:l}=e,[a,c]=n.useState(i),[d,f]=n.useState(r),[h,m]=n.useState(t),[p,g]=n.useState({added:[],removed:[]});return n.useEffect((()=>{o(p)}),[]),n.useEffect((()=>{document.querySelectorAll(".actionsList").forEach((e=>{e.addEventListener("mouseover",(function(){e.classList.add("scroll-bar-show"),e.classList.remove("scroll-bar-hidden")})),e.addEventListener("mouseout",(function(){e.classList.add("scroll-bar-hidden"),e.classList.remove("scroll-bar-show")}))}))}),[]),u.createElement(rh,{__self:void 0,__source:{fileName:ch,lineNumber:81}},u.createElement(oh,{__self:void 0,__source:{fileName:ch,lineNumber:82}},u.createElement("h4",{__self:void 0,__source:{fileName:ch,lineNumber:83}},s||"Available Options"),u.createElement(sh,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:ch,lineNumber:84}},a&&a.length>0&&a.map((e=>{if(0===t.filter((t=>t.optionId===e.optionId&&!p.added.includes(e.optionId))).length)return u.createElement(lh,{key:e.optionId,__self:void 0,__source:{fileName:ch,lineNumber:88}},u.createElement("p",{__self:void 0,__source:{fileName:ch,lineNumber:89}},e.optionName),u.createElement("button",{onClick:()=>{!function(e){if(0===d.filter((t=>t.optionId===e.optionId)).length){let t=p;t.added.includes(e.optionId)||t.added.push(e.optionId),g(t)}if(d.filter((t=>t.optionId===e.optionId)).length>0){let t=p;t.removed=p.removed.filter((t=>t!==e.optionId)),g(t)}c(a.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),f([...d,e]),o(p)}(e)},__self:void 0,__source:{fileName:ch,lineNumber:90}},u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ch,lineNumber:94}},u.createElement("path",{d:"M12.6667 7.33332H8.66675V3.33332C8.66675 3.15651 8.59651 2.98694 8.47149 2.86192C8.34646 2.73689 8.17689 2.66666 8.00008 2.66666C7.82327 2.66666 7.6537 2.73689 7.52868 2.86192C7.40365 2.98694 7.33342 3.15651 7.33342 3.33332V7.33332H3.33341C3.1566 7.33332 2.98703 7.40356 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.1768 2.73699 8.34637 2.86201 8.47139C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H7.33342V12.6667C7.33342 12.8435 7.40365 13.013 7.52868 13.1381C7.6537 13.2631 7.82327 13.3333 8.00008 13.3333C8.17689 13.3333 8.34646 13.2631 8.47149 13.1381C8.59651 13.013 8.66675 12.8435 8.66675 12.6667V8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.47139C13.2632 8.34637 13.3334 8.1768 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40356 12.8436 7.33332 12.6667 7.33332Z",fill:"#070B12",__self:void 0,__source:{fileName:ch,lineNumber:96}}))))})),0===a.length&&u.createElement(ah,{__self:void 0,__source:{fileName:ch,lineNumber:105}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ch,lineNumber:106}},u.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:ch,lineNumber:107}},u.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:ch,lineNumber:108}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:109}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:110}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:111}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:112}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:113}})),u.createElement("defs",{__self:void 0,__source:{fileName:ch,lineNumber:115}},u.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:ch,lineNumber:116}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:ch,lineNumber:117}})))),u.createElement("p",{__self:void 0,__source:{fileName:ch,lineNumber:121}},"No options available")))),u.createElement(oh,{__self:void 0,__source:{fileName:ch,lineNumber:126}},u.createElement("h4",{__self:void 0,__source:{fileName:ch,lineNumber:127}},l||"Current Options"),u.createElement(sh,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:ch,lineNumber:128}},h.length>0&&h.map((e=>u.createElement(lh,{key:e.optionId,className:"current-action",__self:void 0,__source:{fileName:ch,lineNumber:130}},u.createElement("p",{__self:void 0,__source:{fileName:ch,lineNumber:131}},e.optionName)))),d.length>0&&d.map((e=>u.createElement(lh,{key:e.optionId,__self:void 0,__source:{fileName:ch,lineNumber:135}},u.createElement("p",{__self:void 0,__source:{fileName:ch,lineNumber:136}},e.optionName),u.createElement("button",{onClick:()=>{!function(e){if(f(d.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),c([...a,e]),i.filter((t=>t.optionId===e.optionId)).length>0){let t=p;t.added=p.added.filter((t=>t!==e.optionId)),g(t)}if(d.filter((t=>t.optionId.includes(e.optionId))).length>0){let t=p;t.removed.includes(e.optionId)||t.removed.push(e.optionId),g(t)}o(p)}(e)},__self:void 0,__source:{fileName:ch,lineNumber:137}},u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ch,lineNumber:139}},u.createElement("path",{d:"M12.6667 7.33333H3.33341C3.1566 7.33333 2.98703 7.40357 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.17681 2.73699 8.34638 2.86201 8.4714C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.4714C13.2632 8.34638 13.3334 8.17681 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40357 12.8436 7.33333 12.6667 7.33333Z",fill:"#070B12",__self:void 0,__source:{fileName:ch,lineNumber:140}})))))),0===d.length&&0===h.length&&u.createElement(ah,{__self:void 0,__source:{fileName:ch,lineNumber:146}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:ch,lineNumber:147}},u.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:ch,lineNumber:148}},u.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:ch,lineNumber:149}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:150}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:151}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:152}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:153}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:ch,lineNumber:154}})),u.createElement("defs",{__self:void 0,__source:{fileName:ch,lineNumber:156}},u.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:ch,lineNumber:157}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:ch,lineNumber:158}})))),u.createElement("p",{__self:void 0,__source:{fileName:ch,lineNumber:162}},"No options available")))))},uh=e.div`
|
|
3955
|
+
`,bh="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UserActions\\UserActions.tsx",_h=e=>{const{currentOptions:t,availableOptions:i,supplementaryOptions:r,selOptions:o,titleAvailable:s,titleCurrent:l}=e,[a,c]=n.useState(i),[d,f]=n.useState(r),[h,m]=n.useState(t),[p,g]=n.useState({added:[],removed:[]});return n.useEffect((()=>{o(p)}),[]),n.useEffect((()=>{document.querySelectorAll(".actionsList").forEach((e=>{e.addEventListener("mouseover",(function(){e.classList.add("scroll-bar-show"),e.classList.remove("scroll-bar-hidden")})),e.addEventListener("mouseout",(function(){e.classList.add("scroll-bar-hidden"),e.classList.remove("scroll-bar-show")}))}))}),[]),u.createElement(fh,{__self:void 0,__source:{fileName:bh,lineNumber:81}},u.createElement(hh,{__self:void 0,__source:{fileName:bh,lineNumber:82}},u.createElement("h4",{__self:void 0,__source:{fileName:bh,lineNumber:83}},s||"Available Options"),u.createElement(mh,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:bh,lineNumber:84}},a&&a.length>0&&a.map((e=>{if(0===t.filter((t=>t.optionId===e.optionId&&!p.added.includes(e.optionId))).length)return u.createElement(ph,{key:e.optionId,__self:void 0,__source:{fileName:bh,lineNumber:88}},u.createElement("p",{__self:void 0,__source:{fileName:bh,lineNumber:89}},e.optionName),u.createElement("button",{onClick:()=>{!function(e){if(0===d.filter((t=>t.optionId===e.optionId)).length){let t=p;t.added.includes(e.optionId)||t.added.push(e.optionId),g(t)}if(d.filter((t=>t.optionId===e.optionId)).length>0){let t=p;t.removed=p.removed.filter((t=>t!==e.optionId)),g(t)}c(a.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),f([...d,e]),o(p)}(e)},__self:void 0,__source:{fileName:bh,lineNumber:90}},u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bh,lineNumber:94}},u.createElement("path",{d:"M12.6667 7.33332H8.66675V3.33332C8.66675 3.15651 8.59651 2.98694 8.47149 2.86192C8.34646 2.73689 8.17689 2.66666 8.00008 2.66666C7.82327 2.66666 7.6537 2.73689 7.52868 2.86192C7.40365 2.98694 7.33342 3.15651 7.33342 3.33332V7.33332H3.33341C3.1566 7.33332 2.98703 7.40356 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.1768 2.73699 8.34637 2.86201 8.47139C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H7.33342V12.6667C7.33342 12.8435 7.40365 13.013 7.52868 13.1381C7.6537 13.2631 7.82327 13.3333 8.00008 13.3333C8.17689 13.3333 8.34646 13.2631 8.47149 13.1381C8.59651 13.013 8.66675 12.8435 8.66675 12.6667V8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.47139C13.2632 8.34637 13.3334 8.1768 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40356 12.8436 7.33332 12.6667 7.33332Z",fill:"#070B12",__self:void 0,__source:{fileName:bh,lineNumber:96}}))))})),0===a.length&&u.createElement(gh,{__self:void 0,__source:{fileName:bh,lineNumber:105}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bh,lineNumber:106}},u.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:bh,lineNumber:107}},u.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:bh,lineNumber:108}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:109}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:110}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:111}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:112}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:113}})),u.createElement("defs",{__self:void 0,__source:{fileName:bh,lineNumber:115}},u.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:bh,lineNumber:116}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:bh,lineNumber:117}})))),u.createElement("p",{__self:void 0,__source:{fileName:bh,lineNumber:121}},"No options available")))),u.createElement(hh,{__self:void 0,__source:{fileName:bh,lineNumber:126}},u.createElement("h4",{__self:void 0,__source:{fileName:bh,lineNumber:127}},l||"Current Options"),u.createElement(mh,{className:"actionsList scroll-bar-hidden",__self:void 0,__source:{fileName:bh,lineNumber:128}},h.length>0&&h.map((e=>u.createElement(ph,{key:e.optionId,className:"current-action",__self:void 0,__source:{fileName:bh,lineNumber:130}},u.createElement("p",{__self:void 0,__source:{fileName:bh,lineNumber:131}},e.optionName)))),d.length>0&&d.map((e=>u.createElement(ph,{key:e.optionId,__self:void 0,__source:{fileName:bh,lineNumber:135}},u.createElement("p",{__self:void 0,__source:{fileName:bh,lineNumber:136}},e.optionName),u.createElement("button",{onClick:()=>{!function(e){if(f(d.filter((t=>!t.optionId.toLowerCase().includes(e.optionId.toLowerCase())))),c([...a,e]),i.filter((t=>t.optionId===e.optionId)).length>0){let t=p;t.added=p.added.filter((t=>t!==e.optionId)),g(t)}if(d.filter((t=>t.optionId.includes(e.optionId))).length>0){let t=p;t.removed.includes(e.optionId)||t.removed.push(e.optionId),g(t)}o(p)}(e)},__self:void 0,__source:{fileName:bh,lineNumber:137}},u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bh,lineNumber:139}},u.createElement("path",{d:"M12.6667 7.33333H3.33341C3.1566 7.33333 2.98703 7.40357 2.86201 7.52859C2.73699 7.65361 2.66675 7.82318 2.66675 7.99999C2.66675 8.17681 2.73699 8.34638 2.86201 8.4714C2.98703 8.59642 3.1566 8.66666 3.33341 8.66666H12.6667C12.8436 8.66666 13.0131 8.59642 13.1382 8.4714C13.2632 8.34638 13.3334 8.17681 13.3334 7.99999C13.3334 7.82318 13.2632 7.65361 13.1382 7.52859C13.0131 7.40357 12.8436 7.33333 12.6667 7.33333Z",fill:"#070B12",__self:void 0,__source:{fileName:bh,lineNumber:140}})))))),0===d.length&&0===h.length&&u.createElement(gh,{__self:void 0,__source:{fileName:bh,lineNumber:146}},u.createElement("svg",{width:"64",height:"65",viewBox:"0 0 64 65",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:bh,lineNumber:147}},u.createElement("g",{clipPath:"url(#clip0_814_3248)",__self:void 0,__source:{fileName:bh,lineNumber:148}},u.createElement("path",{d:"M39 6.5H25V14.5H39V6.5Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:bh,lineNumber:149}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.0007 6.5C41.0007 5.395 40.1047 4.5 39.0001 4.5H25.0001C23.8955 4.5 22.9995 5.395 22.9995 6.5V14.5C22.9995 15.605 23.8955 16.5 25.0001 16.5H39.0001C40.1047 16.5 41.0007 15.605 41.0007 14.5V6.5ZM27.0007 8.5V12.5H36.9995V8.5H27.0007Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:150}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49 56.5C49 55.396 49.896 54.5 51 54.5C52.104 54.5 53 55.396 53 56.5V58.5C53 59.605 52.105 60.5 51 60.5H13C11.895 60.5 11 59.605 11 58.5V10.5C11 9.395 11.895 8.5 13 8.5H25C26.105 8.5 27 9.395 27 10.5V12.5H37V10.5C37 9.395 37.895 8.5 39 8.5H51C52.105 8.5 53 9.395 53 10.5V48.5C53 49.604 52.104 50.5 51 50.5C49.896 50.5 49 49.604 49 48.5V12.5H41V14.5C41 15.605 40.105 16.5 39 16.5H25C23.895 16.5 23 15.605 23 14.5V12.5H15V56.5H49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:151}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 27.5H41C42.104 27.5 43 26.604 43 25.5C43 24.396 42.104 23.5 41 23.5H23C21.896 23.5 21 24.396 21 25.5C21 26.604 21.896 27.5 23 27.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:152}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 38.5H41C42.104 38.5 43 37.604 43 36.5C43 35.396 42.104 34.5 41 34.5H23C21.896 34.5 21 35.396 21 36.5C21 37.604 21.896 38.5 23 38.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:153}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 49.5H41C42.104 49.5 43 48.604 43 47.5C43 46.396 42.104 45.5 41 45.5H23C21.896 45.5 21 46.396 21 47.5C21 48.604 21.896 49.5 23 49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:bh,lineNumber:154}})),u.createElement("defs",{__self:void 0,__source:{fileName:bh,lineNumber:156}},u.createElement("clipPath",{id:"clip0_814_3248",__self:void 0,__source:{fileName:bh,lineNumber:157}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.5)",__self:void 0,__source:{fileName:bh,lineNumber:158}})))),u.createElement("p",{__self:void 0,__source:{fileName:bh,lineNumber:162}},"No options available")))))},Ch=e.div`
|
|
3698
3956
|
overflow-x: auto;
|
|
3699
|
-
`,
|
|
3957
|
+
`,vh=e.table`
|
|
3700
3958
|
width: 100%;
|
|
3701
3959
|
border-collapse: separate;
|
|
3702
3960
|
border-spacing: 0 8px;
|
|
@@ -3746,7 +4004,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3746
4004
|
font-weight: 400;
|
|
3747
4005
|
line-height: 19px;
|
|
3748
4006
|
}
|
|
3749
|
-
`,
|
|
4007
|
+
`,xh=e.div`
|
|
3750
4008
|
display: flex;
|
|
3751
4009
|
justify-content: center;
|
|
3752
4010
|
align-items: center;
|
|
@@ -3754,7 +4012,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3754
4012
|
height: 300px;
|
|
3755
4013
|
background: ${f.white};
|
|
3756
4014
|
border-radius: 8px;
|
|
3757
|
-
`,
|
|
4015
|
+
`,Nh=e.div`
|
|
3758
4016
|
display: flex;
|
|
3759
4017
|
align-items: center;
|
|
3760
4018
|
flex-direction: column;
|
|
@@ -3765,9 +4023,9 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3765
4023
|
line-height: 19px;
|
|
3766
4024
|
margin: 0;
|
|
3767
4025
|
}
|
|
3768
|
-
`,
|
|
4026
|
+
`,wh="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UserRolesTable\\UserRolesTable.tsx",yh=e=>{const{roles:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.roleName<t.roleName?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(Ch,{__self:void 0,__source:{fileName:wh,lineNumber:59}},u.createElement(vh,{__self:void 0,__source:{fileName:wh,lineNumber:60}},u.createElement("thead",{__self:void 0,__source:{fileName:wh,lineNumber:61}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:wh,lineNumber:62}},u.createElement("th",{__self:void 0,__source:{fileName:wh,lineNumber:63}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.roleName<t.roleName?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.roleName<e.roleName?-1:1)))},__self:void 0,__source:{fileName:wh,lineNumber:64}},"Title","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wh,lineNumber:69}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:wh,lineNumber:70}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wh,lineNumber:77}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:wh,lineNumber:78}}))))),u.createElement("th",{__self:void 0,__source:{fileName:wh,lineNumber:84}},"Code"),u.createElement("th",{__self:void 0,__source:{fileName:wh,lineNumber:85}},"Clearance Level"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:wh,lineNumber:89}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:wh,lineNumber:91}},u.createElement("td",{__self:void 0,__source:{fileName:wh,lineNumber:92}},e.roleName),u.createElement("td",{__self:void 0,__source:{fileName:wh,lineNumber:93}},e.roleCode),u.createElement("td",{__self:void 0,__source:{fileName:wh,lineNumber:94}},u.createElement("div",{__self:void 0,__source:{fileName:wh,lineNumber:95}},e.clearanceLevel,u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wh,lineNumber:97}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:wh,lineNumber:98}}))))))))),c&&0===c.length&&m&&u.createElement(xh,{__self:void 0,__source:{fileName:wh,lineNumber:108}},u.createElement(Nh,{__self:void 0,__source:{fileName:wh,lineNumber:109}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:wh,lineNumber:110}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:wh,lineNumber:111}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:wh,lineNumber:112}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wh,lineNumber:113}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wh,lineNumber:114}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wh,lineNumber:115}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wh,lineNumber:116}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:wh,lineNumber:117}})),u.createElement("defs",{__self:void 0,__source:{fileName:wh,lineNumber:119}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:wh,lineNumber:120}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:wh,lineNumber:121}})))),u.createElement("p",{__self:void 0,__source:{fileName:wh,lineNumber:125}},"User roles will be displayed here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:wh,lineNumber:130}}))},Eh=e.div`
|
|
3769
4027
|
overflow-x: auto;
|
|
3770
|
-
`,
|
|
4028
|
+
`,Ah=e.table`
|
|
3771
4029
|
width: 100%;
|
|
3772
4030
|
border-collapse: separate;
|
|
3773
4031
|
border-spacing: 0 8px;
|
|
@@ -3817,7 +4075,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3817
4075
|
font-weight: 400;
|
|
3818
4076
|
line-height: 19px;
|
|
3819
4077
|
}
|
|
3820
|
-
`,
|
|
4078
|
+
`,Dh=e.div`
|
|
3821
4079
|
display: flex;
|
|
3822
4080
|
justify-content: center;
|
|
3823
4081
|
align-items: center;
|
|
@@ -3825,7 +4083,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3825
4083
|
height: 300px;
|
|
3826
4084
|
background: ${f.white};
|
|
3827
4085
|
border-radius: 8px;
|
|
3828
|
-
`,
|
|
4086
|
+
`,kh=e.div`
|
|
3829
4087
|
display: flex;
|
|
3830
4088
|
align-items: center;
|
|
3831
4089
|
flex-direction: column;
|
|
@@ -3836,7 +4094,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3836
4094
|
line-height: 19px;
|
|
3837
4095
|
margin: 0;
|
|
3838
4096
|
}
|
|
3839
|
-
`,
|
|
4097
|
+
`,Mh="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\UsersTable\\UsersTable.tsx",Bh=e=>{const{users:t,callback:i,srchActive:r}=e,[o,s]=n.useState(1),[l,a]=n.useState(10),[c,d]=n.useState([]),[f,h]=n.useState(t),[m,p]=n.useState(!1),[g,b]=n.useState("desc");return n.useEffect((()=>{if(f.length>0){const e=o*l,t=e-l;d(f.slice(t,e))}0===f.length&&d(f),p(!0)}),[f,o]),n.useEffect((()=>{h(t.sort(((e,t)=>e.name<t.name?-1:1)))}),[t]),n.useEffect((()=>{r&&s(1)}),[r]),u.createElement(u.Fragment,null,u.createElement(Eh,{__self:void 0,__source:{fileName:Mh,lineNumber:59}},u.createElement(Ah,{__self:void 0,__source:{fileName:Mh,lineNumber:60}},u.createElement("thead",{__self:void 0,__source:{fileName:Mh,lineNumber:61}},u.createElement("tr",{className:"rounded-row",__self:void 0,__source:{fileName:Mh,lineNumber:62}},u.createElement("th",{__self:void 0,__source:{fileName:Mh,lineNumber:63}},u.createElement("div",{onClick:()=>{"asc"===g&&(b("desc"),c.sort(((e,t)=>e.name<t.name?-1:1))),"desc"===g&&(b("asc"),c.sort(((e,t)=>t.name<e.name?-1:1)))},__self:void 0,__source:{fileName:Mh,lineNumber:64}},"Name","desc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mh,lineNumber:69}},u.createElement("path",{d:"M8.80671 3.52664L5.47338 0.193305C5.40997 0.132611 5.33521 0.0850345 5.25338 0.0533049C5.09107 -0.0133738 4.90902 -0.0133738 4.74671 0.0533049C4.66487 0.0850345 4.59011 0.132611 4.52671 0.193305L1.19338 3.52664C1.13122 3.5888 1.08191 3.66259 1.04827 3.74381C1.01463 3.82502 0.997314 3.91207 0.997314 3.99997C0.997314 4.17751 1.06784 4.34777 1.19338 4.47331C1.31891 4.59884 1.48917 4.66937 1.66671 4.66937C1.84424 4.66937 2.01451 4.59884 2.14004 4.47331L4.33338 2.2733V7.3333C4.33338 7.51012 4.40361 7.67969 4.52864 7.80471C4.65366 7.92973 4.82323 7.99997 5.00004 7.99997C5.17685 7.99997 5.34642 7.92973 5.47145 7.80471C5.59647 7.67969 5.66671 7.51012 5.66671 7.3333V2.2733L7.86004 4.47331C7.92202 4.53579 7.99575 4.58539 8.07699 4.61923C8.15823 4.65308 8.24537 4.6705 8.33337 4.6705C8.42138 4.6705 8.50852 4.65308 8.58976 4.61923C8.671 4.58539 8.74473 4.53579 8.80671 4.47331C8.86919 4.41133 8.91879 4.3376 8.95264 4.25636C8.98648 4.17512 9.00391 4.08798 9.00391 3.99997C9.00391 3.91196 8.98648 3.82483 8.95264 3.74359C8.91879 3.66235 8.86919 3.58861 8.80671 3.52664Z",fill:"#ffffff",__self:void 0,__source:{fileName:Mh,lineNumber:70}}))),"asc"===g&&u.createElement(u.Fragment,null,u.createElement("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mh,lineNumber:77}},u.createElement("path",{d:"M8.80671 3.52667C8.74473 3.46418 8.671 3.41459 8.58976 3.38074C8.50852 3.34689 8.42138 3.32947 8.33337 3.32947C8.24537 3.32947 8.15823 3.34689 8.07699 3.38074C7.99575 3.41459 7.92202 3.46418 7.86004 3.52667L5.66671 5.72667V0.666667C5.66671 0.489856 5.59647 0.320287 5.47145 0.195262C5.34642 0.070238 5.17685 0 5.00004 0C4.82323 0 4.65366 0.070238 4.52864 0.195262C4.40361 0.320287 4.33338 0.489856 4.33338 0.666667V5.72667L2.14004 3.52667C2.01451 3.40113 1.84424 3.33061 1.66671 3.33061C1.48917 3.33061 1.31891 3.40113 1.19338 3.52667C1.06784 3.6522 0.997314 3.82247 0.997314 4C0.997314 4.17753 1.06784 4.3478 1.19338 4.47333L4.52671 7.80667C4.59011 7.86736 4.66487 7.91494 4.74671 7.94667C4.82651 7.98194 4.91279 8.00016 5.00004 8.00016C5.08729 8.00016 5.17357 7.98194 5.25338 7.94667C5.33521 7.91494 5.40997 7.86736 5.47338 7.80667L8.80671 4.47333C8.86919 4.41136 8.91879 4.33762 8.95264 4.25638C8.98648 4.17515 9.00391 4.08801 9.00391 4C9.00391 3.91199 8.98648 3.82486 8.95264 3.74362C8.91879 3.66238 8.86919 3.58864 8.80671 3.52667Z",fill:"#ffffff",__self:void 0,__source:{fileName:Mh,lineNumber:78}}))))),u.createElement("th",{__self:void 0,__source:{fileName:Mh,lineNumber:85}},"Organisation"),u.createElement("th",{__self:void 0,__source:{fileName:Mh,lineNumber:86}},"Email"),u.createElement("th",{__self:void 0,__source:{fileName:Mh,lineNumber:87}},"Role"),u.createElement("th",{__self:void 0,__source:{fileName:Mh,lineNumber:88}},"Status"))),c&&c.length>0&&m&&u.createElement("tbody",{__self:void 0,__source:{fileName:Mh,lineNumber:92}},c.map(((e,t)=>u.createElement("tr",{key:t,className:"rounded-row",onClick:()=>{i(e)},__self:void 0,__source:{fileName:Mh,lineNumber:94}},u.createElement("td",{__self:void 0,__source:{fileName:Mh,lineNumber:95}},e.name),u.createElement("td",{__self:void 0,__source:{fileName:Mh,lineNumber:96}},e.organisation),u.createElement("td",{__self:void 0,__source:{fileName:Mh,lineNumber:97}},e.email),u.createElement("td",{__self:void 0,__source:{fileName:Mh,lineNumber:98}},e.role),u.createElement("td",{__self:void 0,__source:{fileName:Mh,lineNumber:99}},u.createElement("div",{__self:void 0,__source:{fileName:Mh,lineNumber:100}},u.createElement(jc,{status:"ACTIVE"===e.status.toUpperCase()?"success":"error",label:e.status,__self:void 0,__source:{fileName:Mh,lineNumber:101}}),u.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mh,lineNumber:102}},u.createElement("path",{d:"M10.3592 7.52685L6.58584 3.76019C6.52387 3.6977 6.45013 3.64811 6.36889 3.61426C6.28765 3.58041 6.20052 3.56299 6.11251 3.56299C6.0245 3.56299 5.93736 3.58041 5.85612 3.61426C5.77488 3.64811 5.70115 3.6977 5.63917 3.76019C5.51501 3.8851 5.44531 4.05406 5.44531 4.23019C5.44531 4.40631 5.51501 4.57528 5.63917 4.70019L8.93917 8.03352L5.63917 11.3335C5.51501 11.4584 5.44531 11.6274 5.44531 11.8035C5.44531 11.9796 5.51501 12.1486 5.63917 12.2735C5.70092 12.3365 5.77455 12.3866 5.8558 12.421C5.93705 12.4553 6.0243 12.4732 6.11251 12.4735C6.20071 12.4732 6.28797 12.4553 6.36922 12.421C6.45047 12.3866 6.5241 12.3365 6.58584 12.2735L10.3592 8.50685C10.4268 8.44443 10.4808 8.36866 10.5178 8.28432C10.5547 8.19999 10.5738 8.10892 10.5738 8.01685C10.5738 7.92479 10.5547 7.83372 10.5178 7.74938C10.4808 7.66505 10.4268 7.58928 10.3592 7.52685Z",fill:"#A4BBDD",__self:void 0,__source:{fileName:Mh,lineNumber:103}}))))))))),c&&0===c.length&&m&&u.createElement(Dh,{__self:void 0,__source:{fileName:Mh,lineNumber:113}},u.createElement(kh,{__self:void 0,__source:{fileName:Mh,lineNumber:114}},u.createElement("svg",{width:"65",height:"64",viewBox:"0 0 65 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Mh,lineNumber:115}},u.createElement("g",{clipPath:"url(#clip0_651_2393)",__self:void 0,__source:{fileName:Mh,lineNumber:116}},u.createElement("path",{d:"M39.5 6H25.5V14H39.5V6Z",fill:"#E8EEF7",__self:void 0,__source:{fileName:Mh,lineNumber:117}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.5006 6C41.5006 4.895 40.6046 4 39.5 4H25.5C24.3954 4 23.4994 4.895 23.4994 6V14C23.4994 15.105 24.3954 16 25.5 16H39.5C40.6046 16 41.5006 15.105 41.5006 14V6ZM27.5006 8V12H37.4994V8H27.5006Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mh,lineNumber:118}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.5 56C49.5 54.896 50.396 54 51.5 54C52.604 54 53.5 54.896 53.5 56V58C53.5 59.105 52.605 60 51.5 60H13.5C12.395 60 11.5 59.105 11.5 58V10C11.5 8.895 12.395 8 13.5 8H25.5C26.605 8 27.5 8.895 27.5 10V12H37.5V10C37.5 8.895 38.395 8 39.5 8H51.5C52.605 8 53.5 8.895 53.5 10V48C53.5 49.104 52.604 50 51.5 50C50.396 50 49.5 49.104 49.5 48V12H41.5V14C41.5 15.105 40.605 16 39.5 16H25.5C24.395 16 23.5 15.105 23.5 14V12H15.5V56H49.5Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mh,lineNumber:119}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 27H41.5C42.604 27 43.5 26.104 43.5 25C43.5 23.896 42.604 23 41.5 23H23.5C22.396 23 21.5 23.896 21.5 25C21.5 26.104 22.396 27 23.5 27Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mh,lineNumber:120}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 38H41.5C42.604 38 43.5 37.104 43.5 36C43.5 34.896 42.604 34 41.5 34H23.5C22.396 34 21.5 34.896 21.5 36C21.5 37.104 22.396 38 23.5 38Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mh,lineNumber:121}}),u.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23.5 49H41.5C42.604 49 43.5 48.104 43.5 47C43.5 45.896 42.604 45 41.5 45H23.5C22.396 45 21.5 45.896 21.5 47C21.5 48.104 22.396 49 23.5 49Z",fill:"#D2DDEE",__self:void 0,__source:{fileName:Mh,lineNumber:122}})),u.createElement("defs",{__self:void 0,__source:{fileName:Mh,lineNumber:124}},u.createElement("clipPath",{id:"clip0_651_2393",__self:void 0,__source:{fileName:Mh,lineNumber:125}},u.createElement("rect",{width:"64",height:"64",fill:"white",transform:"translate(0.5)",__self:void 0,__source:{fileName:Mh,lineNumber:126}})))),u.createElement("p",{__self:void 0,__source:{fileName:Mh,lineNumber:130}},"Users will live here when you have any.")))),u.createElement(B,{itemsPerPage:10,totalItems:t.length,returnedPageNum:e=>{s(e)},currPageNum:o,__self:void 0,__source:{fileName:Mh,lineNumber:135}}))},Ph=e.div`
|
|
3840
4098
|
display: flex;
|
|
3841
4099
|
align-items: center;
|
|
3842
4100
|
padding: 11px 16px;
|
|
@@ -3849,5 +4107,5 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
3849
4107
|
line-height: 19px;
|
|
3850
4108
|
font-weight: 500;
|
|
3851
4109
|
font-family: Circular Book Medium, sans-serif;
|
|
3852
|
-
`,
|
|
4110
|
+
`,Hh=e=>{const{title:t}=e;return u.createElement(Ph,{...e,__self:void 0,__source:{fileName:"D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\WidgetTitle\\WidgetTitle.tsx",lineNumber:8}},t)};export{_ as ActionFailed,N as ActionSuccess,H as AppActionsTable,F as AppFormsTable,Y as AppModulesTable,K as AuditLog,le as BankAccounts,he as BankSelector,ge as BreadcrumbBar,we as BrokersTable,m as Button,ie as ButtonOutline,ta as Chart,ca as ChartMedium,ga as ChartSmall,ya as CookieConsent,La as CountrySelector,za as CurrencyPairs,Xa as DatePicker,$a as DateRangePicker,ic as DisplayField,uc as DropdownList,gc as ExchangeRates,yc as Footer,Pc as Indices,Tc as LPRequestTable,qc as LPSideNav,vd as LPTopBar,Sc as LoadingShimmer,oe as LoadingSpinner,Bd as MarketData,Vd as MarketMovers,Wd as MenuBar,eu as NewsCard,ru as NewsFilterBar,lu as NewsSourceTag,du as NewsTitleBar,bu as PasswordField,wu as PaymentMethodsTable,Mu as ProvidersTable,Ru as RateHistory,Zu as RequestForm,Ju as Ribbon,nf as SearchBar,sf as SearchResultsBar,mf as SideModal,xf as SmallNewsCard,jc as StatusBadge,Pf as StocksTicker,Rf as SystemConfigTable,Qd as Tab,Tf as Table,Uf as TextArea,Xu as TextField,eh as TransactionDetails,rh as TransactionDetailsWithPayment,uh as UpdateUserActions,_h as UserActions,yh as UserRolesTable,Bh as UsersTable,Hh as WidgetTitle};
|
|
3853
4111
|
//# sourceMappingURL=index.es.js.map
|