asma-core-ui 3.1.21 → 3.1.23-beta
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/asma-core-ui.es.js +3 -3
- package/dist/src/components/icons/Indeterminate icon/IndeterminateIcon.d.ts +2 -0
- package/dist/src/components/icons/Indeterminate icon/index.d.ts +1 -0
- package/dist/src/components/inputs/switch/StyledSwitch.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/asma-core-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{forwardRef as o,createElement as r,useState as n,useEffect as i,useLayoutEffect as a,useRef as s,useCallback as l}from"react";import{Badge as c,Chip as d,Tooltip as u,Typography as p,Dialog as h,DialogActions as f,DialogContent as m,DialogTitle as g,Checkbox as y,TextField as x,Select as b,MenuItem as v,Autocomplete as w,Paper as j,Slider as k,Switch as C,Radio as N,RadioGroup as _,FormControl as S,FormControlLabel as T,FormHelperText as E,InputLabel as O,FormGroup as M,Drawer as I,Menu as R,MenuList as z,Tab as L,Tabs as $,Accordion as P,AccordionSummary as D,AccordionDetails as F,Popover as A}from"@mui/material";import{Avatar as B,ClickAwayListener as
|
|
1
|
+
import*as e from"react";import t,{forwardRef as o,createElement as r,useState as n,useEffect as i,useLayoutEffect as a,useRef as s,useCallback as l}from"react";import{Badge as c,Chip as d,Tooltip as u,Typography as p,Dialog as h,DialogActions as f,DialogContent as m,DialogTitle as g,Checkbox as y,TextField as x,Select as b,MenuItem as v,Autocomplete as w,Paper as j,Slider as k,Switch as C,Radio as N,RadioGroup as _,FormControl as S,FormControlLabel as T,FormHelperText as E,InputLabel as O,FormGroup as M,Drawer as I,Menu as R,MenuList as z,Tab as L,Tabs as $,Accordion as P,AccordionSummary as D,AccordionDetails as F,Popover as A}from"@mui/material";import{Avatar as B,ClickAwayListener as V,Container as q,Fade as H,FormLabel as W,Paper as U,Popper as K,Skeleton as G,Stack as Y}from"@mui/material";import{twMerge as X}from"tailwind-merge";import J from"prop-types";import{ThemeContext as Z}from"@emotion/react";import Q from"react-dom";const ee=(e,t)=>Object.fromEntries(Object.entries(e).filter((([e])=>!t.includes(e))));function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oe(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function re(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function ne(e){re(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===te(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function ie(e,t){return(ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function ae(e,t){re(2,arguments);var o=ne(e),r=oe(t),n=o.getFullYear(),i=o.getDate(),a=new Date(0);a.setFullYear(n,r,15),a.setHours(0,0,0,0);var s=function(e){re(1,arguments);var t=ne(e),o=t.getFullYear(),r=t.getMonth(),n=new Date(0);return n.setFullYear(o,r+1,0),n.setHours(0,0,0,0),n.getDate()}(a);return o.setMonth(r,Math.min(i,s)),o}function se(e,t){if(re(2,arguments),"object"!==te(t)||null===t)throw new RangeError("values parameter must be an object");var o=ne(e);return isNaN(o.getTime())?new Date(NaN):(null!=t.year&&o.setFullYear(t.year),null!=t.month&&(o=ae(o,t.month)),null!=t.date&&o.setDate(oe(t.date)),null!=t.hours&&o.setHours(oe(t.hours)),null!=t.minutes&&o.setMinutes(oe(t.minutes)),null!=t.seconds&&o.setSeconds(oe(t.seconds)),null!=t.milliseconds&&o.setMilliseconds(oe(t.milliseconds)),o)}const le=e=>se(e,{hours:23,minutes:59,seconds:59,milliseconds:59}),ce=e=>se(e,{hours:0,minutes:0,seconds:0,milliseconds:0});function de(e){return o((function(t,o){const{ownerState:n,...i}=t;return r(e,{...i,ref:o})}))}var ue,pe={exports:{}},he={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
@@ -16,7 +16,7 @@ import*as e from"react";import t,{forwardRef as o,createElement as r,useState as
|
|
|
16
16
|
*
|
|
17
17
|
* This source code is licensed under the MIT license found in the
|
|
18
18
|
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/"production"===process.env.NODE_ENV?pe.exports=function(){if(ue)return he;ue=1;var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,l={},c=null,d=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)n.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return he.Fragment=r,he.jsx=s,he.jsxs=s,he}():pe.exports=(fe||(fe=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];!function(e,t,o){var r=y.ReactDebugCurrentFrame,n=r.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var i=o.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,o)}var b,v=!1,w=!1,j=!1,k=!1,C=!1;function N(e){return e.displayName||"Context"}function _(e){if(null==e)return null;if("number"==typeof e.tag&&x("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 n:return"Fragment";case r:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return N(e)+".Consumer";case s:return N(e._context)+".Provider";case c:return function(e,t,o){var r=e.displayName;if(r)return r;var n=t.displayName||t.name||"";return""!==n?o+"("+n+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:_(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return _(m(f))}catch{return null}}return null}b=Symbol.for("react.module.reference");var S,T,E,O,M,I,R,z=Object.assign,L=0;function $(){}$.__reactDisabledLog=!0;var P,D=y.ReactCurrentDispatcher;function F(e,t,o){if(void 0===P)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return"\n"+P+e}var A,B=!1,q="function"==typeof WeakMap?WeakMap:Map;function V(e,t){if(!e||B)return"";var o,r=A.get(e);if(void 0!==r)return r;B=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=D.current,D.current=null,function(){if(0===L){S=console.log,T=console.info,E=console.warn,O=console.error,M=console.group,I=console.groupCollapsed,R=console.groupEnd;var e={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}L++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=o.stack.split("\n"),c=s.length-1,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&A.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{B=!1,D.current=n,function(){if(0==--L){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:S}),info:z({},e,{value:T}),warn:z({},e,{value:E}),error:z({},e,{value:O}),group:z({},e,{value:M}),groupCollapsed:z({},e,{value:I}),groupEnd:z({},e,{value:R})})}L<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?F(p):"";return"function"==typeof e&&A.set(e,h),h}function H(e,t,o){if(null==e)return"";if("function"==typeof e)return V(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return F(e);switch(e){case d:return F("Suspense");case u:return F("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return V(e,!1)}(e.render);case p:return H(e.type,t,o);case h:var r=e,n=r._payload,i=r._init;try{return H(i(n),t,o)}catch{}}return""}A=new q;var W=Object.prototype.hasOwnProperty,U={},K=y.ReactDebugCurrentFrame;function G(e){if(e){var t=e._owner,o=H(e.type,e._source,t?t.type:null);K.setExtraStackFrame(o)}else K.setExtraStackFrame(null)}var Y=Array.isArray;function X(e){return Y(e)}function J(e){return""+e}function Z(e){if(function(e){try{return J(e),!1}catch{return!0}}(e))return x("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)),J(e)}var Q,ee,te,oe=y.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0};te={};var ne=function(e,t,r,n,i,a,s){var l={$$typeof:o,type:e,key:t,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ie(e,t,o,r,n){var i,a={},s=null,l=null;for(i in void 0!==o&&(Z(o),s=""+o),function(e){if(W.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Z(t.key),s=""+t.key),function(e){if(W.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&oe.current&&t&&oe.current.stateNode!==t){var o=_(oe.current.type);te[o]||(x('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',_(oe.current.type),e.ref),te[o]=!0)}}(t,n)),t)W.call(t,i)&&!re.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===a[i]&&(a[i]=c[i])}if(s||l){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var o=function(){Q||(Q=!0,x("%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))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(a,d),l&&function(e,t){var o=function(){ee||(ee=!0,x("%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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(a,d)}return ne(e,s,l,n,r,oe.current,a)}var ae,se=y.ReactCurrentOwner,le=y.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,o=H(e.type,e._source,t?t.type:null);le.setExtraStackFrame(o)}else le.setExtraStackFrame(null)}function de(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ue(){if(se.current){var e=_(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!1;var pe={};function he(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ue();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!pe[o]){pe[o]=!0;var r="";e&&e._owner&&e._owner!==se.current&&(r=" It was passed a child from "+_(e._owner.type)+"."),ce(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,r),ce(null)}}}function fe(e,t){if("object"==typeof e)if(X(e))for(var o=0;o<e.length;o++){var r=e[o];de(r)&&he(r,t)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var n=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof n&&n!==e.entries)for(var i,a=n.call(e);!(i=a.next()).done;)de(i.value)&&he(i.value,t)}}function ge(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var r=_(o);!function(e,t,o,r,n){var i=Function.call.bind(W);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(G(n),x("%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).",r||"React class",o,a,typeof s),G(null)),s instanceof Error&&!(s.message in U)&&(U[s.message]=!0,G(n),x("Failed %s type: %s",o,s.message),G(null))}}(t,e.props,"prop",r,e)}else void 0===o.PropTypes||ae||(ae=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ye(e,t,r,m,g,y){var N=function(e){return!!("string"==typeof e||"function"==typeof e||e===n||e===a||C||e===i||e===d||e===u||k||e===f||v||w||j||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===b||void 0!==e.getModuleId))}(e);if(!N){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" 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 T,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);S+=E||ue(),null===e?T="null":X(e)?T="array":void 0!==e&&e.$$typeof===o?(T="<"+(_(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,S)}var O=ie(e,t,r,g,y);if(null==O)return O;if(N){var M=t.children;if(void 0!==M)if(m)if(X(M)){for(var I=0;I<M.length;I++)fe(M[I],e);Object.freeze&&Object.freeze(M)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else fe(M,e)}return e===n?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var r=t[o];if("children"!==r&&"key"!==r){ce(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ce(null);break}}null!==e.ref&&(ce(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(O):ge(O),O}var xe=function(e,t,o){return ye(e,t,o,!1)},be=function(e,t,o){return ye(e,t,o,!0)};me.Fragment=n,me.jsx=xe,me.jsxs=be}()),me);var ge=pe.exports;const ye=({color:e="primary",dataTest:t,...o})=>ge.jsx(c,{color:e,"data-test":t,...o,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...o.sx}}),xe=/^[a-z0-9]+(-[a-z0-9]+)*$/,be=(e,t,o,r="")=>{const n=e.split(":");if("@"===e.slice(0,1)){if(n.length<2||n.length>3)return null;r=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){const e=n.pop(),o=n.pop(),i={provider:n.length>0?n[0]:r,prefix:o,name:e};return t&&!ve(i)?null:i}const i=n[0],a=i.split("-");if(a.length>1){const e={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!ve(e)?null:e}if(o&&""===r){const e={provider:r,prefix:"",name:i};return t&&!ve(e,o)?null:e}return null},ve=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(xe)||!(t&&""===e.prefix||e.prefix.match(xe))||!e.name.match(xe)),we=Object.freeze({left:0,top:0,width:16,height:16}),je=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ke=Object.freeze({...we,...je}),Ce=Object.freeze({...ke,body:"",hidden:!1});function Ne(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(o.rotate=r),o}(e,t);for(const r in Ce)r in je?r in e&&!(r in o)&&(o[r]=je[r]):r in t?o[r]=t[r]:r in e&&(o[r]=e[r]);return o}function _e(e,t,o){const r=e.icons,n=e.aliases||Object.create(null);let i={};function a(e){i=Ne(r[e]||n[e],i)}return a(t),o.forEach(a),Ne(e,i)}function Se(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),o.push(e)}));const r=function(e,t){const o=e.icons,r=e.aliases||Object.create(null),n=Object.create(null);return(t||Object.keys(o).concat(Object.keys(r))).forEach((function e(t){if(o[t])return n[t]=[];if(!(t in n)){n[t]=null;const o=r[t]&&r[t].parent,i=o&&e(o);i&&(n[t]=[o].concat(i))}return n[t]})),n}(e);for(const n in r){const i=r[n];i&&(t(n,_e(e,n,i)),o.push(n))}return o}const Te={provider:"",aliases:{},not_found:{},...we};function Ee(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function Oe(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Ee(e,Te))return null;const o=t.icons;for(const e in o){const t=o[e];if(!e.match(xe)||"string"!=typeof t.body||!Ee(t,Ce))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],n=t.parent;if(!e.match(xe)||"string"!=typeof n||!o[n]&&!r[n]||!Ee(t,Ce))return null}return t}const Me=Object.create(null);function Ie(e,t){const o=Me[e]||(Me[e]=Object.create(null));return o[t]||(o[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Re(e,t){return Oe(t)?Se(t,((t,o)=>{o?e.icons[t]=o:e.missing.add(t)})):[]}let ze=!1;function Le(e){return"boolean"==typeof e&&(ze=e),ze}function $e(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),ze&&!t&&!e.prefix){let t=!1;return Oe(e)&&(e.prefix="",Se(e,((e,o)=>{o&&function(e,t){const o=be(e,!0,ze);return!!o&&function(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch{}return!1}(Ie(o.provider,o.prefix),o.name,t)}(e,o)&&(t=!0)}))),t}const o=e.prefix;if(!ve({provider:t,prefix:o,name:"a"}))return!1;return!!Re(Ie(t,o),e)}const Pe=Object.freeze({width:null,height:null}),De=Object.freeze({...Pe,...je}),Fe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ae=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Be(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const r=e.split(Fe);if(null===r||!r.length)return e;const n=[];let i=r.shift(),a=Ae.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?n.push(i):n.push(Math.ceil(e*t*o)/o)}else n.push(i);if(i=r.shift(),void 0===i)return n.join("");a=!a}}const qe=/\sid="(\S+)"/g,Ve="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let He=0;function We(e,t=Ve){const o=[];let r;for(;r=qe.exec(e);)o.push(r[1]);if(!o.length)return e;const n="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach((o=>{const r="function"==typeof t?t(o):t+(He++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+n+"$3")})),e=e.replace(new RegExp(n,"g"),"")}const Ue=Object.create(null);function Ke(e){return Ue[e]||Ue[""]}function Ge(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Ye=Object.create(null),Xe=["https://api.simplesvg.com","https://api.unisvg.com"],Je=[];for(;Xe.length>0;)1===Xe.length||Math.random()>.5?Je.push(Xe.shift()):Je.push(Xe.pop());function Ze(e,t){const o=Ge(t);return null!==o&&(Ye[e]=o,!0)}function Qe(e){return Ye[e]}Ye[""]=Ge({resources:["https://api.iconify.design"].concat(Je)});let et=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const tt={prepare:(e,t,o)=>{const r=[],n=function(e,t){const o=Qe(e);if(!o)return 0;let r;if(o.maxURL){let e=0;o.resources.forEach((t=>{e=Math.max(e,t.length)}));const n=t+".json?icons=";r=o.maxURL-e-o.path.length-n.length}else r=0;return r}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return o.forEach(((o,l)=>{s+=o.length+1,s>=n&&l>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=o.length),a.icons.push(o)})),r.push(a),r},send:(e,t,o)=>{if(!et)return void o("abort",424);let r=function(e){if("string"==typeof e){const t=Qe(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let n=503;et(e+r).then((e=>{const t=e.status;if(200===t)return n=501,e.json();setTimeout((()=>{o(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{o("success",e)})):setTimeout((()=>{404===e?o("abort",e):o("next",n)}))})).catch((()=>{o("next",n)}))}};function ot(e,t){e.forEach((e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter((e=>e.id!==t)))}))}let rt=0;var nt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function it(e,t,o,r){const n=e.resources.length,i=e.random?Math.floor(Math.random()*n):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l,c="pending",d=0,u=null,p=[],h=[];function f(){u&&(clearTimeout(u),u=null)}function m(){"pending"===c&&(c="aborted"),f(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function y(){c="failed",h.forEach((e=>{e(void 0,l)}))}function x(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function b(){if("pending"!==c)return;f();const r=a.shift();if(void 0===r)return p.length?void(u=setTimeout((()=>{f(),"pending"===c&&(x(),y())}),e.timeout)):void y();const n={status:"pending",resource:r,callback:(t,o)=>{!function(t,o,r){const n="success"!==o;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(n||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return l=r,void y();if(n)return l=r,void(p.length||(a.length?b():y()));if(f(),x(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}c="completed",h.forEach((e=>{e(r)}))}(n,t,o)}};p.push(n),d++,u=setTimeout(b,e.rotate),o(r,t,n.callback)}return"function"==typeof r&&h.push(r),setTimeout(b),function(){return{startTime:s,payload:t,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:m}}}function at(e){const t={...nt,...e};let o=[];function r(){o=o.filter((e=>"pending"===e().status))}return{query:function(e,n,i){const a=it(t,e,n,((e,t)=>{r(),i&&i(e,t)}));return o.push(a),a},find:function(e){return o.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function st(){}const lt=Object.create(null);function ct(e,t,o){let r,n;if("string"==typeof e){const t=Ke(e);if(!t)return o(void 0,424),st;n=t.send;const i=function(e){if(!lt[e]){const t=Qe(e);if(!t)return;const o={config:t,redundancy:at(t)};lt[e]=o}return lt[e]}(e);i&&(r=i.redundancy)}else{const t=Ge(e);if(t){r=at(t);const o=Ke(e.resources?e.resources[0]:"");o&&(n=o.send)}}return r&&n?r.query(t,n,o)().abort:(o(void 0,424),st)}const dt="iconify2",ut="iconify",pt=ut+"-count",ht=ut+"-version",ft=36e5,mt=168;function gt(e,t){try{return e.getItem(t)}catch{}}function yt(e,t,o){try{return e.setItem(t,o),!0}catch{}}function xt(e,t){try{e.removeItem(t)}catch{}}function bt(e,t){return yt(e,pt,t.toString())}function vt(e){return parseInt(gt(e,pt))||0}const wt={local:!0,session:!0},jt={local:new Set,session:new Set};let kt=!1;let Ct=typeof window>"u"?{}:window;function Nt(e){const t=e+"Storage";try{if(Ct&&Ct[t]&&"number"==typeof Ct[t].length)return Ct[t]}catch{}wt[e]=!1}function _t(e,t){const o=Nt(e);if(!o)return;const r=gt(o,ht);if(r!==dt){if(r){const e=vt(o);for(let t=0;t<e;t++)xt(o,ut+t.toString())}return yt(o,ht,dt),void bt(o,0)}const n=Math.floor(Date.now()/ft)-mt,i=e=>{const r=ut+e.toString(),i=gt(o,r);if("string"==typeof i){try{const o=JSON.parse(i);if("object"==typeof o&&"number"==typeof o.cached&&o.cached>n&&"string"==typeof o.provider&&"object"==typeof o.data&&"string"==typeof o.data.prefix&&t(o,e))return!0}catch{}xt(o,r)}};let a=vt(o);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,bt(o,a)):jt[e].add(t))}function St(){if(!kt){kt=!0;for(const e in wt)_t(e,(e=>{const t=e.data,o=Ie(e.provider,t.prefix);if(!Re(o,t).length)return!1;const r=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,r):r,!0}))}}function Tt(e,t){function o(o){let r;if(!wt[o]||!(r=Nt(o)))return;const n=jt[o];let i;if(n.size)n.delete(i=Array.from(n).shift());else if(i=vt(r),!bt(r,i+1))return;const a={cached:Math.floor(Date.now()/ft),provider:e.provider,data:t};return yt(r,ut+i.toString(),JSON.stringify(a))}kt||St(),t.lastModified&&!function(e,t){const o=e.lastModifiedCached;if(o&&o>=t)return o===t;if(e.lastModifiedCached=t,o)for(const o in wt)_t(o,(o=>{const r=o.data;return o.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,o("local")||o("session"))}function Et(){}function Ot(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const r=e.provider,n=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==n)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:r,prefix:n,name:a});else{if(!e.missing.has(a))return o=!0,!0;i.missing.push({provider:r,prefix:n,name:a})}return!1})),i.pending.length!==a&&(o||ot([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const Mt=(e,t)=>{const o=function(e,t=!0,o=!1){const r=[];return e.forEach((e=>{const n="string"==typeof e?be(e,t,o):e;n&&r.push(n)})),r}(e,!0,Le()),r=function(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let r={provider:"",prefix:"",name:""};return e.forEach((e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const n=e.provider,i=e.prefix,a=e.name,s=o[n]||(o[n]=Object.create(null)),l=s[i]||(s[i]=Ie(n,i));let c;c=a in l.icons?t.loaded:""===i||l.missing.has(a)?t.missing:t.pending;const d={provider:n,prefix:i,name:a};c.push(d)})),t}(o);if(!r.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(r.loaded,r.missing,r.pending,Et)})),()=>{e=!1}}const n=Object.create(null),i=[];let a,s;return r.pending.forEach((e=>{const{provider:t,prefix:o}=e;if(o===s&&t===a)return;a=t,s=o,i.push(Ie(t,o));const r=n[t]||(n[t]=Object.create(null));r[o]||(r[o]=[])})),r.pending.forEach((e=>{const{provider:t,prefix:o,name:r}=e,i=Ie(t,o),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(r)||(a.add(r),n[t][o].push(r))})),i.forEach((e=>{const{provider:t,prefix:o}=e;n[t][o].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:o}=e,r=e.iconsToLoad;let n;delete e.iconsToLoad,r&&(n=Ke(t))&&n.prepare(t,o,r).forEach((o=>{ct(t,o,(t=>{if("object"!=typeof t)o.icons.forEach((t=>{e.missing.add(t)}));else try{const o=Re(e,t);if(!o.length)return;const r=e.pendingIcons;r&&o.forEach((e=>{r.delete(e)})),Tt(e,t)}catch(e){console.error(e)}Ot(e)}))}))})))}(e,n[t][o])})),t?function(e,t,o){const r=rt++,n=ot.bind(null,o,r);if(!t.pending.length)return n;const i={id:r,icons:t,callback:e,abort:n};return o.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),n}(t,r,i):Et};const It=/[\s,]+/;function Rt(e,t){t.split(It).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function zt(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:r(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let n=parseFloat(e.slice(0,e.length-o.length));return isNaN(n)?0:(n/=t,n%1==0?r(n):0)}}return t}function Lt(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let $t;function Pt(e){return void 0===$t&&function(){try{$t=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{$t=null}}(),$t?$t.createHTML(e):e}const Dt={...De,inline:!1},Ft={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},At={display:"inline-block"},Bt={backgroundColor:"currentColor"},qt={backgroundColor:"transparent"},Vt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ht={WebkitMask:Bt,mask:Bt,background:qt};for(const e in Ht){const t=Ht[e];for(const o in Vt)t[e+o]=Vt[o]}const Wt={...Dt,inline:!0};function Ut(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Kt=(e,o,r,n)=>{const i=r?Wt:Dt,a=function(e,t){const o={...e};for(const e in t){const r=t[e],n=typeof r;e in Pe?(null===r||r&&("string"===n||"number"===n))&&(o[e]=r):n===typeof o[e]&&(o[e]="rotate"===e?r%4:r)}return o}(i,o),s=o.mode||"svg",l={},c=o.style||{},d={..."svg"===s?Ft:{},ref:n};for(let e in o){const t=o[e];if(void 0!==t)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":a[e]=!0===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&Rt(a,t);break;case"color":l.color=t;break;case"rotate":"string"==typeof t?a[e]=zt(t):"number"==typeof t&&(a[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete d["aria-hidden"];break;default:void 0===i[e]&&(d[e]=t)}}const u=function(e,t){const o={...ke,...e},r={...De,...t},n={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,r].forEach((e=>{const t=[],o=e.hFlip,r=e.vFlip;let a,s=e.rotate;switch(o?r?s+=2:(t.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),t.push("scale(-1 1)"),n.top=n.left=0):r&&(t.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),t.push("scale(1 -1)"),n.top=n.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=n.height/2+n.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:a=n.width/2+n.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(n.left!==n.top&&(a=n.left,n.left=n.top,n.top=a),n.width!==n.height&&(a=n.width,n.width=n.height,n.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=r.width,s=r.height,l=n.width,c=n.height;let d,u;null===a?(u=null===s?"1em":"auto"===s?c:s,d=Be(u,l/c)):(d="auto"===a?l:a,u=null===s?Be(d,c/l):"auto"===s?c:s);const p={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return h("width",d),h("height",u),p.viewBox=n.left.toString()+" "+n.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=u.attributes;if(a.inline&&(l.verticalAlign="-0.125em"),"svg"===s){d.style={...l,...c},Object.assign(d,p);let e=0,r=o.id;return"string"==typeof r&&(r=r.replace(/-/g,"_")),d.dangerouslySetInnerHTML={__html:Pt(We(u.body,r?()=>r+"ID"+e++:"iconifyReact"))},t.createElement("svg",d)}const{body:h,width:f,height:m}=e,g="mask"===s||"bg"!==s&&-1!==h.indexOf("currentColor"),y=function(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)o+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}(h,{...p,width:f+"",height:m+""});return d.style={...l,"--svg":Lt(y),width:Ut(p.width),height:Ut(p.height),...At,...g?Bt:qt,...c},t.createElement("span",d)};var Gt;if(Le(!0),Gt=tt,Ue[""]=Gt,typeof document<"u"&&typeof window<"u"){St();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!$e(e))&&console.error(o)}catch{console.error(o)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;Ze(e,r)||console.error(o)}catch{console.error(o)}}}}class Yt extends t.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,o=this.props.icon;if("object"==typeof o&&null!==o&&"string"==typeof o.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:o}));let r;if("string"!=typeof o||null===(r=be(o,!1,!0)))return this._abortLoading(),void this._setData(null);const n=function(e){const t="string"==typeof e?be(e,!0,ze):e;if(t){const e=Ie(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}(r);if(n){if(this._icon!==o||null===t.icon){this._abortLoading(),this._icon=o;const e=["iconify"];""!==r.prefix&&e.push("iconify--"+r.prefix),""!==r.provider&&e.push("iconify--"+r.provider),this._setData({data:n,classes:e}),this.props.onLoad&&this.props.onLoad(o)}}else(!this._loading||this._loading.name!==o)&&(this._abortLoading(),this._icon="",this._setData(null),null!==n&&(this._loading={name:o,abort:Mt([r],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,o=this.state.icon;if(null===o)return e.children?e.children:t.createElement("span",{});let r=e;return o.classes&&(r={...e,className:("string"==typeof e.className?e.className+" ":"")+o.classes.join(" ")}),Kt({...ke,...o.data},r,e._inline,e._ref)}}const Xt=t.forwardRef((function(e,o){const r={...e,_ref:o,_inline:!1};return t.createElement(Yt,r)}));t.forwardRef((function(e,o){const r={...e,_ref:o,_inline:!0};return t.createElement(Yt,r)}));const Jt="_icon_1czju_5",Zt=({width:e=20,height:t=20,className:o="",icon:r,onClick:n,color:i,vFlip:a=!1})=>ge.jsx(Xt,{onClick:n,icon:r,width:e,height:t,className:`${Jt} ${o}`,color:i,vFlip:a}),Qt=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:bell-outline",width:e,height:t,className:o,onClick:r,color:n}),eo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:bell",width:e,height:t,className:o,onClick:r,color:n}),to=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"charm:menu-hamburger",width:e,height:t,className:o,onClick:r,color:n}),oo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-right",width:e,height:t,className:o,onClick:r,color:n}),ro=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-left",width:e,height:t,className:o,onClick:r,color:n}),no=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-double-left",width:e,height:t,className:o,onClick:r,color:n}),io=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-double-right",width:e,height:t,className:o,onClick:r,color:n}),ao=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:o,onClick:r,color:n}),so=({width:e=20,height:t=20,className:o="",onClick:r,color:n=""})=>ge.jsx(Zt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:o,onClick:r,color:n}),lo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:view-dashboard",width:e,height:t,className:o,onClick:r,color:n}),co=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:o,onClick:r,color:n}),uo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-people-alt",width:e,height:t,className:o,onClick:r,color:n}),po=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:sharp-people",width:e,height:t,className:o,onClick:r,color:n});function ho(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4zM12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8"})})}function fo(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm0-2h16V5H4zm5-2q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9zM4 19V5z"})})}function mo(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm5-4q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9z"})})}const go=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:calendar-blank",width:e,height:t,className:o,onClick:r,color:n}),yo=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),xo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:calendar-range",width:e,height:t,className:o,onClick:r,color:n}),bo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-assignment",width:e,height:t,className:o,onClick:r,color:n}),vo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:o,onClick:r,color:n}),wo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:o,onClick:r,color:n}),jo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:message-processing",width:e,height:t,className:o,onClick:r,color:n}),ko=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:message-processing-outline",width:e,height:t,className:o,onClick:r,color:n}),Co=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:report-box",width:e,height:t,className:o,onClick:r,color:n}),No=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:report-box-outline",width:e,height:t,className:o,onClick:r,color:n}),_o=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:settings",width:e,height:t,className:o,onClick:r,color:n}),So=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:settings-outline",width:e,height:t,className:o,onClick:r,color:n}),To=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-sync",width:e,height:t,className:o,onClick:r,color:n,vFlip:!0}),Eo=({color:e="black",size:t="20",className:o=""})=>ge.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:o,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[ge.jsx("path",{d:"M14.9875 14.1667C16.1366 14.1667 17.0691 13.2334 17.0691 12.0834C17.0691 10.9334 16.1366 10.0001 14.9875 10.0001C13.8385 10.0001 12.9059 10.9334 12.9059 12.0834C12.9059 13.2334 13.8385 14.1667 14.9875 14.1667ZM14.9875 15.2084C13.597 15.2084 10.8243 15.9084 10.8243 17.2917V17.8167C10.8243 18.1001 11.0575 18.3417 11.3489 18.3417H18.6345C18.9176 18.3417 19.159 18.1084 19.159 17.8167V17.2917C19.159 15.9084 16.3863 15.2084 14.9958 15.2084H14.9875Z",fill:e}),ge.jsx("path",{d:"M4.99584 5.83342C6.14488 5.83342 7.07744 4.90008 7.07744 3.75008C7.07744 2.60008 6.14488 1.66675 4.99584 1.66675C3.8468 1.66675 2.91424 2.60008 2.91424 3.75008C2.91424 4.90008 3.8468 5.83342 4.99584 5.83342ZM4.99584 6.87508C3.60533 6.87508 0.832642 7.57508 0.832642 8.95842V9.48342C0.832642 9.76675 1.06578 10.0084 1.3572 10.0084H8.6428C8.9259 10.0084 9.16736 9.77508 9.16736 9.48342V8.95842C9.16736 7.57508 6.39467 6.87508 5.00417 6.87508H4.99584Z",fill:e}),ge.jsx("path",{d:"M9.15156 16.4036V16.2574H6.61874C6.14757 16.2574 5.75868 15.8773 5.75868 15.4167V12.8729L7.04503 14.101L7.77047 13.3773L5.10802 10.8334L2.49792 13.4431L3.23832 14.1521L4.4798 12.9094H4.49476V15.4167C4.49476 16.5644 5.45204 17.5001 6.62622 17.5001H9.15904V16.4036H9.15156Z",fill:e}),ge.jsx("path",{d:"M9.99915 3.59657V3.74277H13.3646C13.8358 3.74277 14.2247 4.12289 14.2247 4.58341V7.12727L12.9383 5.8992L12.2129 6.62289L14.8753 9.16675L17.4854 6.5571L16.745 5.84803L15.5035 7.09072H15.4886V4.58341C15.4886 3.43575 14.5313 2.50008 13.3571 2.50008H9.99168V3.59657H9.99915Z",fill:e})]}),Oo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:round-person",width:e,height:t,className:o,onClick:r,color:n}),Mo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:round-person-outline",width:e,height:t,className:o,onClick:r,color:n}),Io=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:dots-vertical",width:e,height:t,className:o,onClick:r,color:n}),Ro=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-search",width:e,height:t,className:o,onClick:r,color:n}),zo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:o,onClick:r,color:n}),Lo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:o,onClick:r,color:n}),$o=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:o,onClick:r,color:n}),Po=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"eva:archive-fill",width:e,height:t,className:o,onClick:r,color:n}),Do=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-download",width:e,height:t,className:o,onClick:r,color:n}),Fo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:o,onClick:r,color:n}),Ao=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-down",width:e,height:t,className:o,onClick:r,color:n}),Bo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-up",width:e,height:t,className:o,onClick:r,color:n}),qo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-close",width:e,height:t,className:o,onClick:r,color:n}),Vo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-check",width:e,height:t,className:o,onClick:r,color:n}),Ho=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:perm-media",width:e,height:t,className:o,onClick:r,color:n}),Wo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:o,onClick:r,color:n}),Uo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:inbox",width:e,height:t,className:o,onClick:r,color:n}),Ko=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:inbox-outline",width:e,height:t,className:o,onClick:r,color:n}),Go=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:sharp-topic",width:e,height:t,className:o,onClick:r,color:n}),Yo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:o,onClick:r,color:n}),Xo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:o,onClick:r,color:n}),Jo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:delete-outline",width:e,height:t,className:o,onClick:r,color:n}),Zo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:filter-variant",width:e,height:t,className:o,onClick:r,color:n}),Qo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:lock-outline",width:e,height:t,className:o,onClick:r,color:n}),er=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-dvr",width:e,height:t,className:o,onClick:r,color:n}),tr=({width:e=20,height:t=20,className:o="",onClick:r,color:n="var(--colors-error-500)"})=>ge.jsx(Zt,{icon:"mdi:error-outline",width:e,height:t,className:o,onClick:r,color:n}),or=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:replay",width:e,height:t,className:o,onClick:r,color:n}),rr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:o,onClick:r,color:n}),nr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-link",width:e,height:t,className:o,onClick:r,color:n}),ir=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:o,onClick:r,color:n}),ar=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:o,onClick:r,color:n}),sr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:list-status",width:e,height:t,className:o,onClick:r,color:n}),lr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:o,onClick:r,color:n}),cr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ri:list-settings-line",width:e,height:t,className:o,onClick:r,color:n}),dr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"pajamas:earth",width:e,height:t,className:o,onClick:r,color:n}),ur=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:o,onClick:r,color:n}),pr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:pencil-outline",width:e,height:t,className:o,onClick:r,color:n});function hr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const fr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-calendar-month",width:e,height:t,className:o,onClick:r,color:n});function mr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.86 10.31C16.23 21.22 14.28 22.45 12 23c-2.56-.61-4.7-2.07-6.42-4.37C3.86 16.34 3 13.8 3 11V5l9-4l9 4v6c0 2.39-.64 4.61-1.92 6.67l-2.91-2.91c.52-.79.83-1.76.83-2.76a5 5 0 0 0-5-5a5 5 0 0 0-5 5a5 5 0 0 0 5 5c1 0 1.97-.31 2.76-.83z"})})}const gr=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),yr=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function xr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18 8H6V6h12zm0 3H6V9h12zm0 3H6v-2h12zm4-10a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14l4 4z"})})}function br(e){return ge.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[ge.jsx("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),ge.jsx("path",{fill:"currentColor",d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"}),ge.jsx("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),ge.jsx("path",{fill:"currentColor",d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"})]})}function vr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4q0 .375-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"})})}function wr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18 12.998h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5v-5a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2"})})}function jr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"})})}function kr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062m0-2.375l.725-.725L15.9 15.2l-.725.725zM5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22m0-2.4l4.25-4.25v-.725H8.65l-4.25 4.25zm0 0l-.725-.725l.375.35zm13.725 0l.725-.725z"})})}function Cr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062M5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22"})})}function Nr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"})})}function _r(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M20 6c.58 0 1.05.2 1.42.59c.38.41.58.86.58 1.41v11c0 .55-.2 1-.58 1.41c-.37.39-.84.59-1.42.59H4c-.58 0-1.05-.2-1.42-.59C2.2 20 2 19.55 2 19V8c0-.55.2-1 .58-1.41C2.95 6.2 3.42 6 4 6h4V4c0-.58.2-1.05.58-1.42C8.95 2.2 9.42 2 10 2h4c.58 0 1.05.2 1.42.58c.38.37.58.84.58 1.42v2zM4 8v11h16V8zm10-2V4h-4v2z"})})}const Sr=({dataTest:e,readOnly:t,...o})=>ge.jsx(d,{...o,"data-test":e,deleteIcon:ge.jsx(qo,{height:18,width:18}),sx:{border:"1px solid",backgroundColor:"white",borderColor:"var(--colors-delta-200)",color:"var(--colors-delta-800)",...t?{pointerEvents:"none","&:hover":{borderColor:"var(--colors-delta-200)",backgroundColor:"white"}}:{"&:hover":{borderColor:"var(--colors-gama-200)",backgroundColor:"var(--colors-gama-50)"},"&:focus":{outline:"none",borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)"},"&:active":{borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 2px inset var(--colors-gama-400)"},"& .MuiChip-deleteIcon":{border:"1px solid",borderColor:"var(--colors-delta-100)",color:"var(--colors-delta-700)",backgroundColor:"var(--colors-delta-50)",borderRadius:"50%","&:hover":{borderColor:"var(--colors-delta-100)",backgroundColor:"var(--colors-delta-50)",color:"var(--colors-delta-700)"}}},...o.sx}}),Tr=({type:e="checkbox",checked:t,...o})=>{const r="checkbox"===e,n=r?Sa:Fa,i=!o.readOnly&&!r&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return ge.jsx(Sr,{avatar:ge.jsx(n,{dataTest:o.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...o,sx:{...i&&{outline:"none",borderColor:"var(--colors-gama-400)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)","&:hover":a},...o.readOnly&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-delta-300)"},"& .MuiCheckbox-root, & .MuiRadio-root":{color:"var(--colors-delta-300)"},"& .Mui-checked":{color:"var(--colors-delta-300)"}}},...t&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-gama-500)"}}},"&:focus:hover":a,...o.sx}})};function Er(){return Er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Er.apply(this,arguments)}function Or(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const Mr=!1;var Ir="production"!==process.env.NODE_ENV?J.oneOfType([J.number,J.shape({enter:J.number,exit:J.number,appear:J.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&J.oneOfType([J.string,J.shape({enter:J.string,exit:J.string,active:J.string}),J.shape({enter:J.string,enterDone:J.string,enterActive:J.string,exit:J.string,exitDone:J.string,exitActive:J.string})]);const Rr=t.createContext(null);var zr="unmounted",Lr="exited",$r="entering",Pr="entered",Dr="exiting",Fr=function(e){function o(t,o){var r;r=e.call(this,t,o)||this;var n,i=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(n=Lr,r.appearStatus=$r):n=Pr:n=t.unmountOnExit||t.mountOnEnter?zr:Lr,r.state={status:n},r.nextCallback=null,r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ie(e,t)}(o,e),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===zr?{status:Lr}:null};var r=o.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==$r&&o!==Pr&&(t=$r):(o===$r||o===Pr)&&(t=Dr)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,o,r=this.props.timeout;return e=t=o=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,o=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:o}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===$r){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this);o&&function(e){e.scrollTop}(o)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lr&&this.setState({status:zr})},r.performEnter=function(e){var t=this,o=this.props.enter,r=this.context?this.context.isMounting:e,n=this.props.nodeRef?[r]:[Q.findDOMNode(this),r],i=n[0],a=n[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!o||Mr?this.safeSetState({status:Pr},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:$r},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Pr},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),r=this.props.nodeRef?void 0:Q.findDOMNode(this);t&&!Mr?(this.props.onExit(r),this.safeSetState({status:Dr},(function(){e.props.onExiting(r),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:Lr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Lr},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(r){o&&(o=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(o&&!r){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=n[0],a=n[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===zr)return null;var o=this.props,r=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var n=Or(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Rr.Provider,{value:null},"function"==typeof r?r(e,n):t.cloneElement(t.Children.only(r),n))},o}(t.Component);function Ar(){}Fr.contextType=Rr,Fr.propTypes="production"!==process.env.NODE_ENV?{nodeRef:J.shape({current:typeof Element>"u"?J.any:function(e,t,o,r,n,i){var a=e[t];return J.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,o,r,n,i)}}),children:J.oneOfType([J.func.isRequired,J.element.isRequired]).isRequired,in:J.bool,mountOnEnter:J.bool,unmountOnExit:J.bool,appear:J.bool,enter:J.bool,exit:J.bool,timeout:function(e){var t=Ir;e.addEndListener||(t=t.isRequired);for(var o=arguments.length,r=new Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return t.apply(void 0,[e].concat(r))},addEndListener:J.func,onEnter:J.func,onEntering:J.func,onEntered:J.func,onExit:J.func,onExiting:J.func,onExited:J.func}:{},Fr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ar,onEntering:Ar,onEntered:Ar,onExit:Ar,onExiting:Ar,onExited:Ar},Fr.UNMOUNTED=zr,Fr.EXITED=Lr,Fr.ENTERING=$r,Fr.ENTERED=Pr,Fr.EXITING=Dr;const Br=Fr;function qr(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function Vr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Hr(e){if(!Vr(e))return e;const t={};return Object.keys(e).forEach((o=>{t[o]=Hr(e[o])})),t}function Wr(e,t,o={clone:!0}){const r=o.clone?Er({},e):e;return Vr(e)&&Vr(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(Vr(t[n])&&n in e&&Vr(e[n])?r[n]=Wr(e[n],t[n],o):o.clone?r[n]=Vr(t[n])?Hr(t[n]):t[n]:r[n]=t[n])})),r}function Ur(e,t,o,r,n){const i=e[t],a=n||t;if(null==i||typeof window>"u")return null;let s;const l=i.type;return"function"==typeof l&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(l)&&(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Kr=qr(J.element,Ur);Kr.isRequired=qr(J.element.isRequired,Ur);const Gr=Kr;function Yr(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Xr(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Yr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Jr=e=>e,Zr=(()=>{let e=Jr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Jr}}})(),Qr=Zr,en={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function tn(e,t,o="Mui"){const r=en[t];return r?`${o}-${r}`:`${Qr.generate(e)}-${t}`}const on=["values","unit","step"],rn=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Er({},e,{[t.key]:t.val})),{})};const nn={borderRadius:4},an="production"!==process.env.NODE_ENV?J.oneOfType([J.number,J.string,J.object,J.array]):{};function sn(e,t){return t?Wr(e,t,{clone:!1}):e}const ln={xs:0,sm:600,md:900,lg:1200,xl:1536},cn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ln[e]}px)`};function dn(e,t,o){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||cn;return t.reduce(((r,n,i)=>(r[e.up(e.keys[i])]=o(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||cn;return Object.keys(t).reduce(((r,n)=>{if(-1!==Object.keys(e.values||ln).indexOf(n)){r[e.up(n)]=o(t[n],n)}else{const e=n;r[e]=t[e]}return r}),{})}return o(t)}function un(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=o)return o}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function pn(e,t,o,r=o){let n;return n="function"==typeof e?e(o):Array.isArray(e)?e[o]||r:un(e,o)||r,t&&(n=t(n,r,e)),n}function hn(e){const{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=un(e.theme,r)||{};return dn(e,i,(e=>{let r=pn(a,n,e);return e===r&&"string"==typeof e&&(r=pn(a,n,`${t}${"default"===e?"":Xr(e)}`,e)),!1===o?r:{[o]:r}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:an}:{},i.filterProps=[t],i}const fn={m:"margin",p:"padding"},mn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},gn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yn=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!gn[e])return[e];e=gn[e]}const[t,o]=e.split(""),r=fn[t],n=mn[o]||"";return Array.isArray(n)?n.map((e=>r+e)):[r+n]})),xn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vn=[...xn,...bn];function wn(e,t,o,r){var n;const i=null!=(n=un(e,t,!1))?n:o;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function jn(e){return wn(e,"spacing",8,"spacing")}function kn(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function Cn(e,t,o,r){if(-1===t.indexOf(o))return null;const n=function(e,t){return o=>e.reduce(((e,r)=>(e[r]=kn(t,o),e)),{})}(yn(o),r);return dn(e,e[o],n)}function Nn(e,t){const o=jn(e.theme);return Object.keys(e).map((r=>Cn(e,t,r,o))).reduce(sn,{})}function _n(e){return Nn(e,xn)}function Sn(e){return Nn(e,bn)}function Tn(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,r)=>t[r]?sn(o,t[r](e)):o),{});return o.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function En(e){return"number"!=typeof e?e:`${e}px solid`}_n.propTypes="production"!==process.env.NODE_ENV?xn.reduce(((e,t)=>(e[t]=an,e)),{}):{},_n.filterProps=xn,Sn.propTypes="production"!==process.env.NODE_ENV?bn.reduce(((e,t)=>(e[t]=an,e)),{}):{},Sn.filterProps=bn,"production"!==process.env.NODE_ENV&&vn.reduce(((e,t)=>(e[t]=an,e)),{});const On=hn({prop:"border",themeKey:"borders",transform:En}),Mn=hn({prop:"borderTop",themeKey:"borders",transform:En}),In=hn({prop:"borderRight",themeKey:"borders",transform:En}),Rn=hn({prop:"borderBottom",themeKey:"borders",transform:En}),zn=hn({prop:"borderLeft",themeKey:"borders",transform:En}),Ln=hn({prop:"borderColor",themeKey:"palette"}),$n=hn({prop:"borderTopColor",themeKey:"palette"}),Pn=hn({prop:"borderRightColor",themeKey:"palette"}),Dn=hn({prop:"borderBottomColor",themeKey:"palette"}),Fn=hn({prop:"borderLeftColor",themeKey:"palette"}),An=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=wn(e.theme,"shape.borderRadius",4,"borderRadius"),o=e=>({borderRadius:kn(t,e)});return dn(e,e.borderRadius,o)}return null};An.propTypes="production"!==process.env.NODE_ENV?{borderRadius:an}:{},An.filterProps=["borderRadius"],Tn(On,Mn,In,Rn,zn,Ln,$n,Pn,Dn,Fn,An);const Bn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=wn(e.theme,"spacing",8,"gap"),o=e=>({gap:kn(t,e)});return dn(e,e.gap,o)}return null};Bn.propTypes="production"!==process.env.NODE_ENV?{gap:an}:{},Bn.filterProps=["gap"];const qn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=wn(e.theme,"spacing",8,"columnGap"),o=e=>({columnGap:kn(t,e)});return dn(e,e.columnGap,o)}return null};qn.propTypes="production"!==process.env.NODE_ENV?{columnGap:an}:{},qn.filterProps=["columnGap"];const Vn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=wn(e.theme,"spacing",8,"rowGap"),o=e=>({rowGap:kn(t,e)});return dn(e,e.rowGap,o)}return null};Vn.propTypes="production"!==process.env.NODE_ENV?{rowGap:an}:{},Vn.filterProps=["rowGap"];function Hn(e,t){return"grey"===t?t:e}Tn(Bn,qn,Vn,hn({prop:"gridColumn"}),hn({prop:"gridRow"}),hn({prop:"gridAutoFlow"}),hn({prop:"gridAutoColumns"}),hn({prop:"gridAutoRows"}),hn({prop:"gridTemplateColumns"}),hn({prop:"gridTemplateRows"}),hn({prop:"gridTemplateAreas"}),hn({prop:"gridArea"}));function Wn(e){return e<=1&&0!==e?100*e+"%":e}Tn(hn({prop:"color",themeKey:"palette",transform:Hn}),hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Hn}),hn({prop:"backgroundColor",themeKey:"palette",transform:Hn}));const Un=hn({prop:"width",transform:Wn}),Kn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,r,n;return{maxWidth:(null==(o=e.theme)||null==(r=o.breakpoints)||null==(n=r.values)?void 0:n[t])||ln[t]||Wn(t)}};return dn(e,e.maxWidth,t)}return null};Kn.filterProps=["maxWidth"];const Gn=hn({prop:"minWidth",transform:Wn}),Yn=hn({prop:"height",transform:Wn}),Xn=hn({prop:"maxHeight",transform:Wn}),Jn=hn({prop:"minHeight",transform:Wn});hn({prop:"size",cssProperty:"width",transform:Wn}),hn({prop:"size",cssProperty:"height",transform:Wn});Tn(Un,Kn,Gn,Yn,Xn,Jn,hn({prop:"boxSizing"}));const Zn={border:{themeKey:"borders",transform:En},borderTop:{themeKey:"borders",transform:En},borderRight:{themeKey:"borders",transform:En},borderBottom:{themeKey:"borders",transform:En},borderLeft:{themeKey:"borders",transform:En},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:An},color:{themeKey:"palette",transform:Hn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Hn},backgroundColor:{themeKey:"palette",transform:Hn},p:{style:Sn},pt:{style:Sn},pr:{style:Sn},pb:{style:Sn},pl:{style:Sn},px:{style:Sn},py:{style:Sn},padding:{style:Sn},paddingTop:{style:Sn},paddingRight:{style:Sn},paddingBottom:{style:Sn},paddingLeft:{style:Sn},paddingX:{style:Sn},paddingY:{style:Sn},paddingInline:{style:Sn},paddingInlineStart:{style:Sn},paddingInlineEnd:{style:Sn},paddingBlock:{style:Sn},paddingBlockStart:{style:Sn},paddingBlockEnd:{style:Sn},m:{style:_n},mt:{style:_n},mr:{style:_n},mb:{style:_n},ml:{style:_n},mx:{style:_n},my:{style:_n},margin:{style:_n},marginTop:{style:_n},marginRight:{style:_n},marginBottom:{style:_n},marginLeft:{style:_n},marginX:{style:_n},marginY:{style:_n},marginInline:{style:_n},marginInlineStart:{style:_n},marginInlineEnd:{style:_n},marginBlock:{style:_n},marginBlockStart:{style:_n},marginBlockEnd:{style:_n},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Bn},rowGap:{style:Vn},columnGap:{style:qn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wn},maxWidth:{style:Kn},minWidth:{transform:Wn},height:{transform:Wn},maxHeight:{transform:Wn},minHeight:{transform:Wn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Qn=Zn;const ei=function(){function e(e,t,o,r){const n={[e]:t,theme:o},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const d=un(o,s)||{};return c?c(n):dn(n,t,(t=>{let o=pn(d,l,t);return t===o&&"string"==typeof t&&(o=pn(d,l,`${e}${"default"===t?"":Xr(t)}`,t)),!1===a?o:{[a]:o}}))}return function t(o){var r;const{sx:n,theme:i={}}=o||{};if(!n)return null;const a=null!=(r=i.unstable_sxConfig)?r:Qn;function s(o){let r=o;if("function"==typeof o)r=o(i);else if("object"!=typeof o)return o;if(!r)return null;const n=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(n);let l=n;return Object.keys(r).forEach((o=>{const n=function(e,t){return"function"==typeof e?e(t):e}(r[o],i);if(null!=n)if("object"==typeof n)if(a[o])l=sn(l,e(o,n,i,a));else{const e=dn({theme:i},n,(e=>({[o]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(e,n)?l=sn(l,e):l[o]=t({sx:n,theme:i})}else l=sn(l,e(o,n,i,a))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(n)?n.map(s):s(n)}}();ei.filterProps=["sx"];const ti=ei,oi=["breakpoints","palette","spacing","shape"];function ri(e={},...t){const{breakpoints:o={},palette:r={},spacing:n,shape:i={}}=e,a=Or(e,oi),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5}=e,n=Or(e,on),i=rn(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${o})`}function c(e,n){const i=a.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:n)-r/100}${o})`}return Er({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},n)}(o),l=function(e=8){if(e.mui)return e;const t=jn({spacing:e}),o=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" "));return o.mui=!0,o}(n);let c=Wr({breakpoints:s,direction:"ltr",components:{},palette:Er({mode:"light"},r),spacing:l,shape:Er({},nn,i)},a);return c=t.reduce(((e,t)=>Wr(e,t)),c),c.unstable_sxConfig=Er({},Qn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}function ni(t=null){const o=e.useContext(Z);return!o||function(e){return 0===Object.keys(e).length}(o)?t:o}const ii=ri();function ai(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=ai(e[t]))&&(r&&(r+=" "),r+=o);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function si(){for(var e,t,o=0,r="";o<arguments.length;)(e=arguments[o++])&&(t=ai(e))&&(r&&(r+=" "),r+=t);return r}function li(e,t=0,o=1){return"production"!==process.env.NODE_ENV&&(e<t||e>o)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${o}].`),Math.min(Math.max(t,e),o)}function ci(e){if(e.type)return e;if("#"===e.charAt(0))return ci(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Yr(9,e));let r,n=e.substring(t+1,e.length-1);if("color"===o){if(n=n.split(" "),r=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Yr(10,r))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:o,values:n,colorSpace:r}}function di(e){const{type:t,colorSpace:o}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${o} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function ui(e){let t="hsl"===(e=ci(e)).type||"hsla"===e.type?ci(function(e){e=ci(e);const{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,i=r*Math.min(n,1-n),a=(e,t=(e+o/30)%12)=>n-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),di({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function pi(e,t){const o=ui(e),r=ui(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function hi(e,t){return Er({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fi={black:"#000",white:"#fff"},mi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},yi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},xi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},bi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},vi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},wi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ji=["mode","contrastThreshold","tonalOffset"],ki={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fi.white,default:fi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ci={text:{primary:fi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ni(e,t,o,r){const n=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return di(e)}(e.main,n):"dark"===t&&(e.dark=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return di(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2}=e,n=Or(e,ji),i=e.primary||function(e="light"){return"dark"===e?{main:bi[200],light:bi[50],dark:bi[400]}:{main:bi[700],light:bi[400],dark:bi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[500],light:gi[300],dark:gi[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:yi[500],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[400],dark:yi[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:vi[400],light:vi[300],dark:vi[700]}:{main:vi[700],light:vi[500],dark:vi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:wi[400],light:wi[300],dark:wi[700]}:{main:wi[800],light:wi[500],dark:wi[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:xi[400],light:xi[300],dark:xi[700]}:{main:"#ed6c02",light:xi[500],dark:xi[900]}}(t);function u(e){const t=pi(e,Ci.text.primary)>=o?Ci.text.primary:ki.text.primary;if("production"!==process.env.NODE_ENV){const o=pi(e,t);o<3&&console.error([`MUI: The contrast ratio of ${o}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:o=500,lightShade:n=300,darkShade:i=700})=>{if(!(e=Er({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${o}\` property.`:Yr(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Yr(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ni(e,"light",n,r),Ni(e,"dark",i,r),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:Ci,light:ki};return"production"!==process.env.NODE_ENV&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Wr(Er({common:Er({},fi),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:mi,contrastThreshold:o,getContrastText:u,augmentColor:p,tonalOffset:r},h[t]),n)}const Si=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ti(e){return Math.round(1e5*e)/1e5}const Ei={textTransform:"uppercase"},Oi='"Roboto", "Helvetica", "Arial", sans-serif';function Mi(e,t){const o="function"==typeof t?t(e):t,{fontFamily:r=Oi,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=Or(o,Si);"production"!==process.env.NODE_ENV&&("number"!=typeof n&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,f=u||(e=>e/c*h+"rem"),m=(e,t,o,n,i)=>Er({fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:o},r===Oi?{letterSpacing:`${Ti(n/t)}em`}:{},i,d),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Ei),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ei),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Wr(Er({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Ii(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ri=["none",Ii(0,2,1,-1,0,1,1,0,0,1,3,0),Ii(0,3,1,-2,0,2,2,0,0,1,5,0),Ii(0,3,3,-2,0,3,4,0,0,1,8,0),Ii(0,2,4,-1,0,4,5,0,0,1,10,0),Ii(0,3,5,-1,0,5,8,0,0,1,14,0),Ii(0,3,5,-1,0,6,10,0,0,1,18,0),Ii(0,4,5,-2,0,7,10,1,0,2,16,1),Ii(0,5,5,-3,0,8,10,1,0,3,14,2),Ii(0,5,6,-3,0,9,12,1,0,3,16,2),Ii(0,6,6,-3,0,10,14,1,0,4,18,3),Ii(0,6,7,-4,0,11,15,1,0,4,20,3),Ii(0,7,8,-4,0,12,17,2,0,5,22,4),Ii(0,7,8,-4,0,13,19,2,0,5,24,4),Ii(0,7,9,-4,0,14,21,2,0,5,26,4),Ii(0,8,9,-5,0,15,22,2,0,6,28,5),Ii(0,8,10,-5,0,16,24,2,0,6,30,5),Ii(0,8,11,-5,0,17,26,2,0,6,32,5),Ii(0,9,11,-5,0,18,28,2,0,7,34,6),Ii(0,9,12,-6,0,19,29,2,0,7,36,6),Ii(0,10,13,-6,0,20,31,3,0,8,38,7),Ii(0,10,13,-6,0,21,33,3,0,8,40,7),Ii(0,10,14,-6,0,22,35,3,0,8,42,7),Ii(0,11,14,-7,0,23,36,3,0,9,44,8),Ii(0,11,15,-7,0,24,38,3,0,9,46,8)],zi=["duration","easing","delay"],Li={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Pi(e){return`${Math.round(e)}ms`}function Di(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fi(e){const t=Er({},Li,e.easing),o=Er({},$i,e.duration);return Er({getAutoHeightDuration:Di,create:(e=["all"],r={})=>{const{duration:n=o.standard,easing:i=t.easeInOut,delay:a=0}=r,s=Or(r,zi);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,o=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!o(n)&&!t(n)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${n}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!o(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof n?n:Pi(n)} ${i} ${"string"==typeof a?a:Pi(a)}`)).join(",")}},e,{easing:t,duration:o})}const Ai={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Bi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const qi=function(e={},...t){const{mixins:o={},palette:r={},transitions:n={},typography:i={}}=e,a=Or(e,Bi);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Yr(18));const s=_i(r),l=ri(e);let c=Wr(l,{mixins:hi(l.breakpoints,o),palette:s,shadows:Ri.slice(),typography:Mi(s,i),transitions:Fi(n),zIndex:Er({},Ai)});if(c=Wr(c,a),c=t.reduce(((e,t)=>Wr(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,o)=>{let r;for(r in t){const n=t[r];if(-1!==e.indexOf(r)&&Object.keys(n).length>0){if("production"!==process.env.NODE_ENV){const e=tn("",r);console.error([`MUI: The \`${o}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:n}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(c.components).forEach((e=>{const o=c.components[e].styleOverrides;o&&0===e.indexOf("Mui")&&t(o,e)}))}return c.unstable_sxConfig=Er({},Qn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}(),Vi=qi;function Hi(){const t=function(e=ii){return ni(e)}(Vi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function Wi(e,t){var o,r;const{timeout:n,easing:i,style:a={}}=e;return{duration:null!=(o=a.transitionDuration)?o:"number"==typeof n?n:n[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Ui=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ki={entering:{opacity:1},entered:{opacity:1}},Gi=e.forwardRef((function(t,o){const r=Hi(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:u,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:y=n,TransitionComponent:x=Br}=t,b=Or(t,Ui),v=e.useRef(null),w=function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)}))}),t)}(v,s.ref,o),j=e=>t=>{if(e){const o=v.current;void 0===t?e(o):e(o,t)}},k=j(p),C=j(((e,t)=>{(e=>{e.scrollTop})(e);const o=Wi({style:g,timeout:y,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",o),e.style.transition=r.transitions.create("opacity",o),d&&d(e,t)})),N=j(u),_=j(m),S=j((e=>{const t=Wi({style:g,timeout:y,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),h&&h(e)})),T=j(f);return ge.jsx(x,Er({appear:a,in:c,nodeRef:v,onEnter:C,onEntered:N,onEntering:k,onExit:S,onExited:T,onExiting:_,addEndListener:e=>{i&&i(v.current,e)},timeout:y},b,{children:(t,o)=>e.cloneElement(s,Er({style:Er({opacity:0,visibility:"exited"!==t||c?void 0:"hidden"},Ki[t],g,s.props.style),ref:w},o))}))}));"production"!==process.env.NODE_ENV&&(Gi.propTypes={addEndListener:J.func,appear:J.bool,children:Gr.isRequired,easing:J.oneOfType([J.shape({enter:J.string,exit:J.string}),J.string]),in:J.bool,onEnter:J.func,onEntered:J.func,onEntering:J.func,onExit:J.func,onExited:J.func,onExiting:J.func,style:J.object,timeout:J.oneOfType([J.number,J.shape({appear:J.number,enter:J.number,exit:J.number})])});const Yi=Gi,Xi=e=>ge.jsx(u,{TransitionComponent:Yi,TransitionProps:{timeout:300},arrow:!0,placement:"top",componentsProps:{tooltip:{sx:{borderRadius:"3px !important","& .MuiTooltip-arrow":{color:"#363E4A !important"},color:"white !important",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",display:"flex !important",padding:"4px 8px !important",alignItems:"center !important",fontSize:"12px !important",lineHeight:"16px !important",letterSpacing:" 0.24px !important",bgcolor:"#363E4A !important",wordBreak:"break-word !important"}}},...e}),Ji=e=>ge.jsx(p,{...e}),Zi="_styled-label-md_jbn3o_1",Qi="_styled-label-base_jbn3o_10",ea="_styled-label-lg_jbn3o_19",ta="_styled-label-xl_jbn3o_27",oa=({title:e,onClick:t,className:o,dataTest:r,size:n="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Zi;case"lg":return ea;case"xl":return ta;default:return Qi}})({size:n});return ge.jsx("div",{className:si(i,o),onClick:t,"data-test":r,children:e})},ra="_asma-core-ui-button_1r2np_1",na={contained:"_contained_1r2np_27",outlined:"_outlined_1r2np_141",text:"_text_1r2np_255",textGray:"_textGray_1r2np_369",textWhite:"_textWhite_1r2np_426",large:"_large_1r2np_79",small:"_small_1r2np_74",medium:"_medium_1r2np_69",error:"_error_1r2np_84",common:"_common_1r2np_27"},ia=({variant:e="contained",className:t="",size:o="medium",children:r,refLink:n,startIcon:i,endIcon:a,dataTest:s,error:l,...c})=>{const d="large"===o||"medium"===o,u=l?"error":"common";return ge.jsxs("button",{...c,className:si(ra,na[e],na[u],na[o],t),ref:n,"data-test":s,children:[i,r&&ge.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:d?"8px":"4px",paddingLeft:d?"8px":"4px",paddingRight:d?"8px":"4px"},children:r}),a]})},aa="_styled-dialog-root_1st3i_1",sa="_styled-top-header_1st3i_6",la="_styled-dialog-close_1st3i_13",ca="_styled-dialog-info_1st3i_20",da="_styled-dialog-label_1st3i_27",ua="_styled-dialog-title_1st3i_37";function pa(){const e=function(){const[e,t]=n(window.innerWidth),o=()=>{t(window.innerWidth)};return i((()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const ha=({onCloseText:e,children:t,dataTest:o,showCloseIcon:r=!0,dialogLabel:n,dialogTitle:i,dialogHeaderNode:a,...s})=>{const l=pa();return ge.jsxs(h,{...s,"data-test":o,style:{zIndex:999,...s.style},fullScreen:!!l||s.fullScreen,children:[ge.jsx("div",{className:aa,children:ge.jsxs("div",{className:sa,children:[ge.jsxs("div",{className:ca,children:[n&&ge.jsx("div",{className:da,children:n}),i&&ge.jsx("div",{className:ua,children:i})]}),r&&ge.jsxs("div",{className:la,children:[a,ge.jsx(ia,{dataTest:`close-button-${o}`,variant:"textGray",size:"small",endIcon:ge.jsx(qo,{width:24,height:24}),onClick:e=>{s.onClose&&s.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]})}),t]})},fa="_styled-dialog-actions-root_1yp8r_1",ma="_styled-dialog-actions_1yp8r_1",ga="_action-button-wrapper_1yp8r_17";function ya(...e){return X(si(e))}const xa=e=>ge.jsx(f,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:fa},children:ge.jsx("div",{className:ya(ma,e.className),children:t.Children.map(e.children,(e=>ge.jsx("div",{className:ga,children:e})))})}),ba="_styled-dialog-content_d2vki_1",va=({children:e,classes:t,className:o,...r})=>ge.jsx(m,{...r,"data-test":"styled-dialog-content",classes:{...t,root:ba},className:o,children:e}),wa="_styled-dialog-title-root_mcspk_1",ja=({children:e,...t})=>e?ge.jsx(g,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:wa},children:e}):null;function ka(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7 9H2V7h5zm0 3H2v2h5zm13.59 7l-3.83-3.83c-.8.52-1.74.83-2.76.83c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3M2 19h10v-2H2z"})})}const Ca=({emptyText:e,isEmpty:t=!0,className:o=""})=>t?ge.jsxs("div",{"data-test":"empty-page-container",className:`flex animate-opacity-in items-center w-full h-full justify-center gap-2 duration-300 text-gray-600 text-sm ${o}`,children:[ge.jsx(ka,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),ge.jsx("p",{className:"font-normal",children:e})]}):null,Na={small:16,medium:24,large:32},_a=({isLoading:e,className:t="",size:o="medium"})=>{if(!e)return null;const r=Na[o];return ge.jsx("div",{className:si("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:ge.jsx(zo,{width:r,height:r})})},Sa=({dataTest:e,...t})=>ge.jsx(y,{...t,"data-test":e,sx:{...t.sx,"&.MuiCheckbox-root":{color:"var(--colors-delta-500) !important"},"&.MuiCheckbox-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.MuiCheckbox-indeterminate":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.Mui-disabled":{color:"var(--colors-delta-200) !important"},"&.MuiCheckbox-root .PrivateSwitchBase-input":{height:"100% !important",width:"100% !important"}}}),Ta=({allowClear:e,onClear:t,readOnly:o,disabled:r,dataTest:n,...i})=>ge.jsx(x,{...i,"data-test":n,disabled:r||o,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:ge.jsx("div",{className:"z-40 hover:bg-gama-100 duration-300 absolute right-4 p-[2px] rounded-full flex items-center justify-center",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==t||t()},children:ge.jsx(qo,{width:18,height:18})})}:i.InputProps,sx:{"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)":{backgroundColor:"#e8f0fe !important"},"& input":{backgroundColor:"transparent"},"& .MuiInputBase-root":{backgroundColor:"transparent"},"& .MuiInputBase-colorPrimary fieldset":{borderColor:"var(--colors-delta-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary:hover fieldset":{borderColor:"var(--colors-gama-300) !important",borderWidth:"2px !important"},"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset":{borderWidth:"1px !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused.Mui-error fieldset":{borderColor:"#d3302f !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-300) !important"},"& label.Mui-focused":{color:"var(--colors-gama-500) !important"},"& label":{color:"var(--colors-delta-500) !important"},"& label.Mui-focused.Mui-error":{color:"#d3302f !important"},"& label.Mui-disabled":{color:"var(--colors-gray-300) !important"},"& .MuiOutlinedInput-input::placeholder":{color:"var(--colors-delta-500) !important",opacity:"1 !important"},"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-300) !important"},...o&&{"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-800) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled":{backgroundColor:"var(--colors-delta-10) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-200) !important"},"& label.Mui-disabled":{color:"var(--colors-gray-800) !important"}},...i.sx}}),Ea=({value:e,onClear:t,...o})=>{const[r,i]=n(!1),a=r||e;return ge.jsxs("div",{className:"relative w-fit",children:[ge.jsx(Ta,{size:"small",variant:"outlined",value:e,onFocus:()=>i(!0),onBlur:()=>i(!1),InputProps:{className:ya("transition-[padding] duration-300",a?"pl-0":"pl-5",e?"pr-5":"pr-0"),sx:{"& input":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},InputLabelProps:{sx:{transform:"translate(34px, 9px) scale(1)",width:a?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...o,sx:{width:160,...o.sx}}),ge.jsx(Ro,{width:24,height:24,className:ya("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",a?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),ge.jsx("div",{className:ya("absolute w-6 h-6 right-2 top-2 cursor-pointer bg-delta-50 rounded-full","flex items-center justify-center","transform-gpu transition-all duration-300 ease-in-out",e?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==t||t()},children:ge.jsx(qo,{width:20,height:20,color:"var(--colors-delta-700)",className:"pointer-events-none"})})]})},Oa={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Ma=({id:e,variant:t="active",label:o="",labelClassName:r="",description:l="",value:c="",minRows:d=3,maxRows:u=1/0,disabled:p,error:h,errorMessage:f,containerClassName:m="",className:g="",maxLength:y=1/0,counter:x,refLink:b,dataTest:v,counterLimit:w,...j})=>{const k=s(null),C=b||k,N=!(!x||!w),[_,S]=n(!1);i((()=>{S(!0)}),[]),((e,t,o,r,n,i)=>{a((()=>{if(e){const t=i?32:0;e.style.height="auto";const o=20,n=e.scrollHeight-24;Math.ceil(n/o)>r?e.style.height=`${o*r+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,o,r,n,i])})(C.current,c,d,u,_,N),u<d&&(d=u);const[T,E]=n(c.length);i((()=>{E(c.length)}),[c]);const O=h?"error":"active",M=h?"error":p?"disabled":"active";return ge.jsxs("div",{className:`flex flex-col gap-1 relative ${m}`,"data-test":v,children:[ge.jsx("label",{htmlFor:e,className:`${Oa.label} ${Oa[M]} ${r}`,children:o}),ge.jsx("span",{className:`${Oa.description} ${Oa[M]}`,children:h?f:l}),"view_only"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:c}):"not_editable"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:c}):ge.jsx("textarea",{...j,id:e,ref:C,className:`${Oa.textarea} ${Oa[O]} ${g} ${N?"pb-[32px]":""}`,wrap:"soft",value:c,disabled:p,maxLength:y}),N&&ge.jsxs("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[T,"/",w]})]})},Ia=({dataTest:e,allowClear:t,...o})=>ge.jsx(b,{...o,"data-test":e,value:o.value,IconComponent:e=>ge.jsx(Xt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si(e.className,"select-custom-icon")}),endAdornment:t&&o.value?ge.jsx("div",{className:"hover:bg-gama-100 duration-300 absolute right-8 p-[2px] rounded-full flex items-center justify-center",onClick:()=>{var e;null==(e=o.onChange)||e.call(o,{target:{value:""}},null)},children:ge.jsx(qo,{width:18,height:18})}):null,sx:{".MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-delta-500) !important"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"&.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"2px solid var(--colors-gama-300) !important"},"& .select-custom-icon":{marginTop:"-3.5px !important"},...o.sx}}),Ra=e=>ge.jsxs(v,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[ge.jsx("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&ge.jsx(Xt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{children:e.children})]}),za="_styledSelectAutocompleteWrapper_lfbvb_1",La="_select-custom-icon_lfbvb_5";function $a({dataTest:e,autoHeight:t,getOptionLabel:o,wrapperClassName:r,...a}){const[l,c]=n("auto"),d=s(null);i((()=>{var e,o;const r=(null==(e=d.current)?void 0:e.getBoundingClientRect().height)??0,n=(null==(o=d.current)?void 0:o.getBoundingClientRect().top)??0,i=window.innerHeight-n-r-40;t&&c(i>0?i:"auto")}),[t]);const u=t?{style:{maxHeight:"auto"===l?"auto":`${l}px`}}:{},p=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return ge.jsx("div",{className:ya(za,r),ref:d,children:ge.jsx(w,{...a,getOptionLabel:o,ListboxProps:{...u,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:si("!text-sm",a.className),popupIcon:a.popupIcon||ge.jsx(Xt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si(La)}),"data-test":e,PaperComponent:({children:t})=>ge.jsx(j,{"data-test":`paper-${e}`,sx:{padding:"0 !important",marginTop:"0px !important","& .MuiAutocomplete-option.Mui-focused":{background:"var(--colors-delta-50) !important"},"& li[aria-selected=true]":{background:"var(--colors-gama-50) !important"},"& li[aria-selected=true].MuiAutocomplete-option.Mui-focused":{background:"var(--colors-gama-50) !important"}},children:t}),renderOption:(null==a?void 0:a.renderOption)||((e,t,{selected:r})=>ge.jsxs("li",{...e,children:[ge.jsx("span",{style:{width:"24px",height:"22px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:r&&ge.jsx(Xt,{icon:"mdi:tick",width:20,height:20,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{className:"flex-1 text-sm truncate",children:(null==o?void 0:o(t))||p(t)})]})),sx:{...a.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const Pa=({dataTest:e,...t})=>{var o,r,n;return ge.jsx(k,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:si("w-4 h-4","before:shadow-none","vertical"===t.orientation?"ml-0 mb-1":"ml-1",t.disabled||!t.value?"bg-delta-200":"bg-gama-600"),...null==(o=t.slotProps)?void 0:o.thumb},rail:{className:"bg-delta-200",...null==(r=t.slotProps)?void 0:r.rail},markLabel:{className:si("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(n=t.slotProps)?void 0:n.markLabel}},sx:{...t.sx,"& .MuiSlider-track":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)"},"& .MuiSlider-mark":{backgroundColor:"white",border:"1px solid var(--colors-gray-200)",borderRadius:"50%",height:"8px",width:"8px","&.MuiSlider-markActive":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",border:"1px solid",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",opacity:1}}}})},Da=({dataTest:e,...t})=>ge.jsx(C,{...t,"data-test":e,sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .MuiSwitch-track":{backgroundColor:"var(--colors-delta-400) !important",opacity:"1 !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important",outline:"1px solid var(--colors-delta-200)"},"& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-delta-200) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-delta-50) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-100) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-300) !important",opacity:"1 !important"}}}),Fa=({dataTest:e,...t})=>ge.jsx(N,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),Aa=({dataTest:e,...t})=>ge.jsx(_,{"data-test":e,...t}),Ba=({children:e,onClick:t,className:o,dataTest:r,style:n})=>ge.jsx("div",{className:si("_styled-label_1fp95_1",o),style:n,onClick:t,"data-test":r,children:e}),qa=e=>ge.jsx(S,{...e,sx:{...e.sx,"& label.MuiInputLabel-shrink":{background:"white !important",color:"var(--colors-delta-500) !important"},"& label.MuiInputLabel-shrink.Mui-focused":{background:"white !important",color:"var(--colors-gama-500) !important"},"& label.MuiInputLabel-shrink.Mui-error.Mui-focused":{background:"white !important",color:"var(--colors-red-500) !important"}}}),Va=({sx:e,...t})=>ge.jsx(T,{...t,sx:{color:"var(--colors-delta-700)","& .MuiFormControlLabel-label":{fontSize:"14px",lineHeight:"20px"},"&.Mui-disabled .MuiFormControlLabel-label":{color:"var(--colors-delta-300)"},...e}}),Ha=e=>ge.jsx(E,{...e}),Wa=e=>ge.jsx(O,{...e}),Ua=e=>ge.jsx(M,{...e}),Ka=e=>ge.jsx(I,{...e}),Ga=e=>{var t,o;return ge.jsx(R,{...e,classes:{paper:si("border border-solid border-delta-300 shadow-[0px_2px_4px_0px_rgba(34,_33,_51,_0.15)]",null==(t=e.classes)?void 0:t.paper),list:si("py-1",null==(o=e.classes)?void 0:o.list),...e.classes}})},Ya=e=>{var t;return ge.jsx(v,{...e,classes:{root:si("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},Xa=e=>ge.jsx(z,{...e}),Ja="_styled-link_hyb3l_1",Za="_styled-link-disabled_hyb3l_16",Qa="_styled-link-xs_hyb3l_32",es="_styled-link-small_hyb3l_37",ts="_styled-link-large_hyb3l_42",os=({href:e,disabled:t,size:o="large",dataTest:r,reflink:n,className:i,content:a,contentNode:s,...l})=>{let c=ts;switch(o){case"small":c=es;break;case"xs":c=Qa;break;default:c=ts}return t?ge.jsxs("span",{className:si(Ja,Za,c,i),children:[a,s]}):ge.jsxs("a",{...l,"data-test":r,ref:n,href:e,className:si(Ja,c,i),children:[a,s]})},rs=e=>ge.jsx(L,{...e,sx:{letterSpacing:"normal","&.MuiTab-textColorPrimary.Mui-selected":{color:"var(--colors-gama-500)"},"&.MuiTab-textColorPrimary":{color:"var(--colors-gray-500)"},"&.MuiTab-textColorPrimary.Mui-disabled":{color:"var(--colors-gray-300)"}}}),ns=e=>ge.jsx($,{...e,TabIndicatorProps:{style:{background:"var(--colors-gama-500)",color:"var(--colors-gama-500)"}},sx:{"& .MuiTabs-scrollButtons":{border:"1px solid var(--colors-delta-500)",width:40,height:40,borderRadius:"10%",display:"none",justifyContent:"center",alignItems:"center",position:"relative",top:2,"& svg":{fontSize:24,color:"var(--colors-delta-700)"},"&:hover":{backgroundColor:"var(--colors-gama-50)"},"&:first-of-type":{marginRight:"8px"},"&:last-of-type":{marginLeft:"8px"},transition:"opacity 0.3s ease, transform 0.3s ease",opacity:0,transform:"scale(0)"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiTabs-scrollButtons:not(.Mui-disabled)":{display:"flex",opacity:1,transform:"scale(1)"}}}),is=e=>ge.jsx(P,{...e}),as=e=>ge.jsx(D,{...e,className:si("flex-row-reverse gap-2.5",e.className),expandIcon:ge.jsx(Ao,{width:24,height:24}),sx:{...e.sx,backgroundColor:"transparent !important","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-expandIconWrapper:not(.Mui-expanded)":{transform:"rotate(0deg)"}}}),ss=e=>ge.jsx(F,{...e}),ls=e=>ge.jsx(A,{...e}),cs=({filterIsActive:e,label:t,size:o="large",variant:r="outlined",...n})=>ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"w-fit h-fit relative",children:[ge.jsx(ia,{...n,type:"button",startIcon:ge.jsx(Zo,{width:"large"===o?24:20,height:"large"===o?24:20}),variant:r,size:o,children:t||"Filter"}),e&&ge.jsx("div",{className:si("h-2 w-2 bg-gama-400 rounded-full absolute","large"===o?"top-2 right-2":"top-1 right-1")})]})}),ds=()=>{const[e,t]=n(null),o=()=>{t((()=>null))};return{anchorEl:e,onClose:o,onAnchorClick:r=>{e?o():(e=>{t((()=>e.currentTarget))})(r)}}},us=e=>t.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),ps=({filterIsActive:e,popoverContent:o,dataTest:r,disabled:n,size:i="large",variant:a="outlined",popoverProps:s,anchorNode:l,label:c})=>{const{onAnchorClick:d,onClose:u,anchorEl:p}=ds();return ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:"w-fit h-fit relative",children:[l?t.cloneElement(l({isOpen:!!p,onClose:u}),{onClick:d}):ge.jsx(ia,{type:"button",disabled:n,variant:a,startIcon:ge.jsx(Zo,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:d,size:i,dataTest:r,children:c||"Filter"}),e&&ge.jsx("div",{className:si("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),ge.jsx(ls,{...s,open:!!p,anchorEl:p,onClose:u,anchorOrigin:(null==s?void 0:s.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==s?void 0:s.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==s?void 0:s.className)||"my-1",children:us(o)?o:o({isOpen:!!p,onClose:u})})]})};var hs,fs,ms={exports:{}},gs={},ys={};
|
|
19
|
+
*/"production"===process.env.NODE_ENV?pe.exports=function(){if(ue)return he;ue=1;var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,l={},c=null,d=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)n.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return he.Fragment=r,he.jsx=s,he.jsxs=s,he}():pe.exports=(fe||(fe=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];!function(e,t,o){var r=y.ReactDebugCurrentFrame,n=r.getStackAddendum();""!==n&&(t+="%s",o=o.concat([n]));var i=o.map((function(e){return String(e)}));i.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,i)}("error",e,o)}var b,v=!1,w=!1,j=!1,k=!1,C=!1;function N(e){return e.displayName||"Context"}function _(e){if(null==e)return null;if("number"==typeof e.tag&&x("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 n:return"Fragment";case r:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return N(e)+".Consumer";case s:return N(e._context)+".Provider";case c:return function(e,t,o){var r=e.displayName;if(r)return r;var n=t.displayName||t.name||"";return""!==n?o+"("+n+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:_(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return _(m(f))}catch{return null}}return null}b=Symbol.for("react.module.reference");var S,T,E,O,M,I,R,z=Object.assign,L=0;function $(){}$.__reactDisabledLog=!0;var P,D=y.ReactCurrentDispatcher;function F(e,t,o){if(void 0===P)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return"\n"+P+e}var A,B=!1,V="function"==typeof WeakMap?WeakMap:Map;function q(e,t){if(!e||B)return"";var o,r=A.get(e);if(void 0!==r)return r;B=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=D.current,D.current=null,function(){if(0===L){S=console.log,T=console.info,E=console.warn,O=console.error,M=console.group,I=console.groupCollapsed,R=console.groupEnd;var e={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}L++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=o.stack.split("\n"),c=s.length-1,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&A.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{B=!1,D.current=n,function(){if(0==--L){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},e,{value:S}),info:z({},e,{value:T}),warn:z({},e,{value:E}),error:z({},e,{value:O}),group:z({},e,{value:M}),groupCollapsed:z({},e,{value:I}),groupEnd:z({},e,{value:R})})}L<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?F(p):"";return"function"==typeof e&&A.set(e,h),h}function H(e,t,o){if(null==e)return"";if("function"==typeof e)return q(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return F(e);switch(e){case d:return F("Suspense");case u:return F("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return q(e,!1)}(e.render);case p:return H(e.type,t,o);case h:var r=e,n=r._payload,i=r._init;try{return H(i(n),t,o)}catch{}}return""}A=new V;var W=Object.prototype.hasOwnProperty,U={},K=y.ReactDebugCurrentFrame;function G(e){if(e){var t=e._owner,o=H(e.type,e._source,t?t.type:null);K.setExtraStackFrame(o)}else K.setExtraStackFrame(null)}var Y=Array.isArray;function X(e){return Y(e)}function J(e){return""+e}function Z(e){if(function(e){try{return J(e),!1}catch{return!0}}(e))return x("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)),J(e)}var Q,ee,te,oe=y.ReactCurrentOwner,re={key:!0,ref:!0,__self:!0,__source:!0};te={};var ne=function(e,t,r,n,i,a,s){var l={$$typeof:o,type:e,key:t,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ie(e,t,o,r,n){var i,a={},s=null,l=null;for(i in void 0!==o&&(Z(o),s=""+o),function(e){if(W.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(Z(t.key),s=""+t.key),function(e){if(W.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(l=t.ref,function(e,t){if("string"==typeof e.ref&&oe.current&&t&&oe.current.stateNode!==t){var o=_(oe.current.type);te[o]||(x('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',_(oe.current.type),e.ref),te[o]=!0)}}(t,n)),t)W.call(t,i)&&!re.hasOwnProperty(i)&&(a[i]=t[i]);if(e&&e.defaultProps){var c=e.defaultProps;for(i in c)void 0===a[i]&&(a[i]=c[i])}if(s||l){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var o=function(){Q||(Q=!0,x("%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))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}(a,d),l&&function(e,t){var o=function(){ee||(ee=!0,x("%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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(a,d)}return ne(e,s,l,n,r,oe.current,a)}var ae,se=y.ReactCurrentOwner,le=y.ReactDebugCurrentFrame;function ce(e){if(e){var t=e._owner,o=H(e.type,e._source,t?t.type:null);le.setExtraStackFrame(o)}else le.setExtraStackFrame(null)}function de(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ue(){if(se.current){var e=_(se.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ae=!1;var pe={};function he(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ue();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!pe[o]){pe[o]=!0;var r="";e&&e._owner&&e._owner!==se.current&&(r=" It was passed a child from "+_(e._owner.type)+"."),ce(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,r),ce(null)}}}function fe(e,t){if("object"==typeof e)if(X(e))for(var o=0;o<e.length;o++){var r=e[o];de(r)&&he(r,t)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var n=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof n&&n!==e.entries)for(var i,a=n.call(e);!(i=a.next()).done;)de(i.value)&&he(i.value,t)}}function ge(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var r=_(o);!function(e,t,o,r,n){var i=Function.call.bind(W);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(G(n),x("%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).",r||"React class",o,a,typeof s),G(null)),s instanceof Error&&!(s.message in U)&&(U[s.message]=!0,G(n),x("Failed %s type: %s",o,s.message),G(null))}}(t,e.props,"prop",r,e)}else void 0===o.PropTypes||ae||(ae=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",_(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ye(e,t,r,m,g,y){var N=function(e){return!!("string"==typeof e||"function"==typeof e||e===n||e===a||C||e===i||e===d||e===u||k||e===f||v||w||j||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===b||void 0!==e.getModuleId))}(e);if(!N){var S="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(S+=" 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 T,E=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);S+=E||ue(),null===e?T="null":X(e)?T="array":void 0!==e&&e.$$typeof===o?(T="<"+(_(e.type)||"Unknown")+" />",S=" Did you accidentally export a JSX literal instead of a component?"):T=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",T,S)}var O=ie(e,t,r,g,y);if(null==O)return O;if(N){var M=t.children;if(void 0!==M)if(m)if(X(M)){for(var I=0;I<M.length;I++)fe(M[I],e);Object.freeze&&Object.freeze(M)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else fe(M,e)}return e===n?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var r=t[o];if("children"!==r&&"key"!==r){ce(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ce(null);break}}null!==e.ref&&(ce(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),ce(null))}(O):ge(O),O}var xe=function(e,t,o){return ye(e,t,o,!1)},be=function(e,t,o){return ye(e,t,o,!0)};me.Fragment=n,me.jsx=xe,me.jsxs=be}()),me);var ge=pe.exports;const ye=({color:e="primary",dataTest:t,...o})=>ge.jsx(c,{color:e,"data-test":t,...o,sx:{"& .MuiBadge-colorPrimary":{backgroundColor:"var(--colors-lime-500)",color:"var(--colors-gama-900)"},...o.sx}}),xe=/^[a-z0-9]+(-[a-z0-9]+)*$/,be=(e,t,o,r="")=>{const n=e.split(":");if("@"===e.slice(0,1)){if(n.length<2||n.length>3)return null;r=n.shift().slice(1)}if(n.length>3||!n.length)return null;if(n.length>1){const e=n.pop(),o=n.pop(),i={provider:n.length>0?n[0]:r,prefix:o,name:e};return t&&!ve(i)?null:i}const i=n[0],a=i.split("-");if(a.length>1){const e={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!ve(e)?null:e}if(o&&""===r){const e={provider:r,prefix:"",name:i};return t&&!ve(e,o)?null:e}return null},ve=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(xe)||!(t&&""===e.prefix||e.prefix.match(xe))||!e.name.match(xe)),we=Object.freeze({left:0,top:0,width:16,height:16}),je=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ke=Object.freeze({...we,...je}),Ce=Object.freeze({...ke,body:"",hidden:!1});function Ne(e,t){const o=function(e,t){const o={};!e.hFlip!=!t.hFlip&&(o.hFlip=!0),!e.vFlip!=!t.vFlip&&(o.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(o.rotate=r),o}(e,t);for(const r in Ce)r in je?r in e&&!(r in o)&&(o[r]=je[r]):r in t?o[r]=t[r]:r in e&&(o[r]=e[r]);return o}function _e(e,t,o){const r=e.icons,n=e.aliases||Object.create(null);let i={};function a(e){i=Ne(r[e]||n[e],i)}return a(t),o.forEach(a),Ne(e,i)}function Se(e,t){const o=[];if("object"!=typeof e||"object"!=typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),o.push(e)}));const r=function(e,t){const o=e.icons,r=e.aliases||Object.create(null),n=Object.create(null);return(t||Object.keys(o).concat(Object.keys(r))).forEach((function e(t){if(o[t])return n[t]=[];if(!(t in n)){n[t]=null;const o=r[t]&&r[t].parent,i=o&&e(o);i&&(n[t]=[o].concat(i))}return n[t]})),n}(e);for(const n in r){const i=r[n];i&&(t(n,_e(e,n,i)),o.push(n))}return o}const Te={provider:"",aliases:{},not_found:{},...we};function Ee(e,t){for(const o in t)if(o in e&&typeof e[o]!=typeof t[o])return!1;return!0}function Oe(e){if("object"!=typeof e||null===e)return null;const t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons||!Ee(e,Te))return null;const o=t.icons;for(const e in o){const t=o[e];if(!e.match(xe)||"string"!=typeof t.body||!Ee(t,Ce))return null}const r=t.aliases||Object.create(null);for(const e in r){const t=r[e],n=t.parent;if(!e.match(xe)||"string"!=typeof n||!o[n]&&!r[n]||!Ee(t,Ce))return null}return t}const Me=Object.create(null);function Ie(e,t){const o=Me[e]||(Me[e]=Object.create(null));return o[t]||(o[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function Re(e,t){return Oe(t)?Se(t,((t,o)=>{o?e.icons[t]=o:e.missing.add(t)})):[]}let ze=!1;function Le(e){return"boolean"==typeof e&&(ze=e),ze}function $e(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),ze&&!t&&!e.prefix){let t=!1;return Oe(e)&&(e.prefix="",Se(e,((e,o)=>{o&&function(e,t){const o=be(e,!0,ze);return!!o&&function(e,t,o){try{if("string"==typeof o.body)return e.icons[t]={...o},!0}catch{}return!1}(Ie(o.provider,o.prefix),o.name,t)}(e,o)&&(t=!0)}))),t}const o=e.prefix;if(!ve({provider:t,prefix:o,name:"a"}))return!1;return!!Re(Ie(t,o),e)}const Pe=Object.freeze({width:null,height:null}),De=Object.freeze({...Pe,...je}),Fe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Ae=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Be(e,t,o){if(1===t)return e;if(o=o||100,"number"==typeof e)return Math.ceil(e*t*o)/o;if("string"!=typeof e)return e;const r=e.split(Fe);if(null===r||!r.length)return e;const n=[];let i=r.shift(),a=Ae.test(i);for(;;){if(a){const e=parseFloat(i);isNaN(e)?n.push(i):n.push(Math.ceil(e*t*o)/o)}else n.push(i);if(i=r.shift(),void 0===i)return n.join("");a=!a}}const Ve=/\sid="(\S+)"/g,qe="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let He=0;function We(e,t=qe){const o=[];let r;for(;r=Ve.exec(e);)o.push(r[1]);if(!o.length)return e;const n="suffix"+(16777216*Math.random()|Date.now()).toString(16);return o.forEach((o=>{const r="function"==typeof t?t(o):t+(He++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+r+n+"$3")})),e=e.replace(new RegExp(n,"g"),"")}const Ue=Object.create(null);function Ke(e){return Ue[e]||Ue[""]}function Ge(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const Ye=Object.create(null),Xe=["https://api.simplesvg.com","https://api.unisvg.com"],Je=[];for(;Xe.length>0;)1===Xe.length||Math.random()>.5?Je.push(Xe.shift()):Je.push(Xe.pop());function Ze(e,t){const o=Ge(t);return null!==o&&(Ye[e]=o,!0)}function Qe(e){return Ye[e]}Ye[""]=Ge({resources:["https://api.iconify.design"].concat(Je)});let et=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch{}})();const tt={prepare:(e,t,o)=>{const r=[],n=function(e,t){const o=Qe(e);if(!o)return 0;let r;if(o.maxURL){let e=0;o.resources.forEach((t=>{e=Math.max(e,t.length)}));const n=t+".json?icons=";r=o.maxURL-e-o.path.length-n.length}else r=0;return r}(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return o.forEach(((o,l)=>{s+=o.length+1,s>=n&&l>0&&(r.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=o.length),a.icons.push(o)})),r.push(a),r},send:(e,t,o)=>{if(!et)return void o("abort",424);let r=function(e){if("string"==typeof e){const t=Qe(e);if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":{const e=t.prefix,o=t.icons.join(",");r+=e+".json?"+new URLSearchParams({icons:o}).toString();break}case"custom":{const e=t.uri;r+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void o("abort",400)}let n=503;et(e+r).then((e=>{const t=e.status;if(200===t)return n=501,e.json();setTimeout((()=>{o(function(e){return 404===e}(t)?"abort":"next",t)}))})).then((e=>{"object"==typeof e&&null!==e?setTimeout((()=>{o("success",e)})):setTimeout((()=>{404===e?o("abort",e):o("next",n)}))})).catch((()=>{o("next",n)}))}};function ot(e,t){e.forEach((e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter((e=>e.id!==t)))}))}let rt=0;var nt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function it(e,t,o,r){const n=e.resources.length,i=e.random?Math.floor(Math.random()*n):e.index;let a;if(e.random){let t=e.resources.slice(0);for(a=[];t.length>1;){const e=Math.floor(Math.random()*t.length);a.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}a=a.concat(t)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l,c="pending",d=0,u=null,p=[],h=[];function f(){u&&(clearTimeout(u),u=null)}function m(){"pending"===c&&(c="aborted"),f(),p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function g(e,t){t&&(h=[]),"function"==typeof e&&h.push(e)}function y(){c="failed",h.forEach((e=>{e(void 0,l)}))}function x(){p.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),p=[]}function b(){if("pending"!==c)return;f();const r=a.shift();if(void 0===r)return p.length?void(u=setTimeout((()=>{f(),"pending"===c&&(x(),y())}),e.timeout)):void y();const n={status:"pending",resource:r,callback:(t,o)=>{!function(t,o,r){const n="success"!==o;switch(p=p.filter((e=>e!==t)),c){case"pending":break;case"failed":if(n||!e.dataAfterTimeout)return;break;default:return}if("abort"===o)return l=r,void y();if(n)return l=r,void(p.length||(a.length?b():y()));if(f(),x(),!e.random){const o=e.resources.indexOf(t.resource);-1!==o&&o!==e.index&&(e.index=o)}c="completed",h.forEach((e=>{e(r)}))}(n,t,o)}};p.push(n),d++,u=setTimeout(b,e.rotate),o(r,t,n.callback)}return"function"==typeof r&&h.push(r),setTimeout(b),function(){return{startTime:s,payload:t,status:c,queriesSent:d,queriesPending:p.length,subscribe:g,abort:m}}}function at(e){const t={...nt,...e};let o=[];function r(){o=o.filter((e=>"pending"===e().status))}return{query:function(e,n,i){const a=it(t,e,n,((e,t)=>{r(),i&&i(e,t)}));return o.push(a),a},find:function(e){return o.find((t=>e(t)))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function st(){}const lt=Object.create(null);function ct(e,t,o){let r,n;if("string"==typeof e){const t=Ke(e);if(!t)return o(void 0,424),st;n=t.send;const i=function(e){if(!lt[e]){const t=Qe(e);if(!t)return;const o={config:t,redundancy:at(t)};lt[e]=o}return lt[e]}(e);i&&(r=i.redundancy)}else{const t=Ge(e);if(t){r=at(t);const o=Ke(e.resources?e.resources[0]:"");o&&(n=o.send)}}return r&&n?r.query(t,n,o)().abort:(o(void 0,424),st)}const dt="iconify2",ut="iconify",pt=ut+"-count",ht=ut+"-version",ft=36e5,mt=168;function gt(e,t){try{return e.getItem(t)}catch{}}function yt(e,t,o){try{return e.setItem(t,o),!0}catch{}}function xt(e,t){try{e.removeItem(t)}catch{}}function bt(e,t){return yt(e,pt,t.toString())}function vt(e){return parseInt(gt(e,pt))||0}const wt={local:!0,session:!0},jt={local:new Set,session:new Set};let kt=!1;let Ct=typeof window>"u"?{}:window;function Nt(e){const t=e+"Storage";try{if(Ct&&Ct[t]&&"number"==typeof Ct[t].length)return Ct[t]}catch{}wt[e]=!1}function _t(e,t){const o=Nt(e);if(!o)return;const r=gt(o,ht);if(r!==dt){if(r){const e=vt(o);for(let t=0;t<e;t++)xt(o,ut+t.toString())}return yt(o,ht,dt),void bt(o,0)}const n=Math.floor(Date.now()/ft)-mt,i=e=>{const r=ut+e.toString(),i=gt(o,r);if("string"==typeof i){try{const o=JSON.parse(i);if("object"==typeof o&&"number"==typeof o.cached&&o.cached>n&&"string"==typeof o.provider&&"object"==typeof o.data&&"string"==typeof o.data.prefix&&t(o,e))return!0}catch{}xt(o,r)}};let a=vt(o);for(let t=a-1;t>=0;t--)i(t)||(t===a-1?(a--,bt(o,a)):jt[e].add(t))}function St(){if(!kt){kt=!0;for(const e in wt)_t(e,(e=>{const t=e.data,o=Ie(e.provider,t.prefix);if(!Re(o,t).length)return!1;const r=t.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,r):r,!0}))}}function Tt(e,t){function o(o){let r;if(!wt[o]||!(r=Nt(o)))return;const n=jt[o];let i;if(n.size)n.delete(i=Array.from(n).shift());else if(i=vt(r),!bt(r,i+1))return;const a={cached:Math.floor(Date.now()/ft),provider:e.provider,data:t};return yt(r,ut+i.toString(),JSON.stringify(a))}kt||St(),t.lastModified&&!function(e,t){const o=e.lastModifiedCached;if(o&&o>=t)return o===t;if(e.lastModifiedCached=t,o)for(const o in wt)_t(o,(o=>{const r=o.data;return o.provider!==e.provider||r.prefix!==e.prefix||r.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,o("local")||o("session"))}function Et(){}function Ot(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((()=>{e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let o=!1;const r=e.provider,n=e.prefix;t.forEach((t=>{const i=t.icons,a=i.pending.length;i.pending=i.pending.filter((t=>{if(t.prefix!==n)return!0;const a=t.name;if(e.icons[a])i.loaded.push({provider:r,prefix:n,name:a});else{if(!e.missing.has(a))return o=!0,!0;i.missing.push({provider:r,prefix:n,name:a})}return!1})),i.pending.length!==a&&(o||ot([e],t.id),t.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),t.abort))}))})))}(e)})))}const Mt=(e,t)=>{const o=function(e,t=!0,o=!1){const r=[];return e.forEach((e=>{const n="string"==typeof e?be(e,t,o):e;n&&r.push(n)})),r}(e,!0,Le()),r=function(e){const t={loaded:[],missing:[],pending:[]},o=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let r={provider:"",prefix:"",name:""};return e.forEach((e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;const n=e.provider,i=e.prefix,a=e.name,s=o[n]||(o[n]=Object.create(null)),l=s[i]||(s[i]=Ie(n,i));let c;c=a in l.icons?t.loaded:""===i||l.missing.has(a)?t.missing:t.pending;const d={provider:n,prefix:i,name:a};c.push(d)})),t}(o);if(!r.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(r.loaded,r.missing,r.pending,Et)})),()=>{e=!1}}const n=Object.create(null),i=[];let a,s;return r.pending.forEach((e=>{const{provider:t,prefix:o}=e;if(o===s&&t===a)return;a=t,s=o,i.push(Ie(t,o));const r=n[t]||(n[t]=Object.create(null));r[o]||(r[o]=[])})),r.pending.forEach((e=>{const{provider:t,prefix:o,name:r}=e,i=Ie(t,o),a=i.pendingIcons||(i.pendingIcons=new Set);a.has(r)||(a.add(r),n[t][o].push(r))})),i.forEach((e=>{const{provider:t,prefix:o}=e;n[t][o].length&&function(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((()=>{e.iconsQueueFlag=!1;const{provider:t,prefix:o}=e,r=e.iconsToLoad;let n;delete e.iconsToLoad,r&&(n=Ke(t))&&n.prepare(t,o,r).forEach((o=>{ct(t,o,(t=>{if("object"!=typeof t)o.icons.forEach((t=>{e.missing.add(t)}));else try{const o=Re(e,t);if(!o.length)return;const r=e.pendingIcons;r&&o.forEach((e=>{r.delete(e)})),Tt(e,t)}catch(e){console.error(e)}Ot(e)}))}))})))}(e,n[t][o])})),t?function(e,t,o){const r=rt++,n=ot.bind(null,o,r);if(!t.pending.length)return n;const i={id:r,icons:t,callback:e,abort:n};return o.forEach((e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(i)})),n}(t,r,i):Et};const It=/[\s,]+/;function Rt(e,t){t.split(It).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function zt(e,t=0){const o=e.replace(/^-?[0-9.]*/,"");function r(e){for(;e<0;)e+=4;return e%4}if(""===o){const t=parseInt(e);return isNaN(t)?0:r(t)}if(o!==e){let t=0;switch(o){case"%":t=25;break;case"deg":t=90}if(t){let n=parseFloat(e.slice(0,e.length-o.length));return isNaN(n)?0:(n/=t,n%1==0?r(n):0)}}return t}function Lt(e){return'url("'+function(e){return"data:image/svg+xml,"+function(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}(e)}(e)+'")'}let $t;function Pt(e){return void 0===$t&&function(){try{$t=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch{$t=null}}(),$t?$t.createHTML(e):e}const Dt={...De,inline:!1},Ft={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},At={display:"inline-block"},Bt={backgroundColor:"currentColor"},Vt={backgroundColor:"transparent"},qt={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ht={WebkitMask:Bt,mask:Bt,background:Vt};for(const e in Ht){const t=Ht[e];for(const o in qt)t[e+o]=qt[o]}const Wt={...Dt,inline:!0};function Ut(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Kt=(e,o,r,n)=>{const i=r?Wt:Dt,a=function(e,t){const o={...e};for(const e in t){const r=t[e],n=typeof r;e in Pe?(null===r||r&&("string"===n||"number"===n))&&(o[e]=r):n===typeof o[e]&&(o[e]="rotate"===e?r%4:r)}return o}(i,o),s=o.mode||"svg",l={},c=o.style||{},d={..."svg"===s?Ft:{},ref:n};for(let e in o){const t=o[e];if(void 0!==t)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"_ref":case"_inline":break;case"inline":case"hFlip":case"vFlip":a[e]=!0===t||"true"===t||1===t;break;case"flip":"string"==typeof t&&Rt(a,t);break;case"color":l.color=t;break;case"rotate":"string"==typeof t?a[e]=zt(t):"number"==typeof t&&(a[e]=t);break;case"ariaHidden":case"aria-hidden":!0!==t&&"true"!==t&&delete d["aria-hidden"];break;default:void 0===i[e]&&(d[e]=t)}}const u=function(e,t){const o={...ke,...e},r={...De,...t},n={left:o.left,top:o.top,width:o.width,height:o.height};let i=o.body;[o,r].forEach((e=>{const t=[],o=e.hFlip,r=e.vFlip;let a,s=e.rotate;switch(o?r?s+=2:(t.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),t.push("scale(-1 1)"),n.top=n.left=0):r&&(t.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),t.push("scale(1 -1)"),n.top=n.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:a=n.height/2+n.top,t.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:t.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:a=n.width/2+n.left,t.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}s%2==1&&(n.left!==n.top&&(a=n.left,n.left=n.top,n.top=a),n.width!==n.height&&(a=n.width,n.width=n.height,n.height=a)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")}));const a=r.width,s=r.height,l=n.width,c=n.height;let d,u;null===a?(u=null===s?"1em":"auto"===s?c:s,d=Be(u,l/c)):(d="auto"===a?l:a,u=null===s?Be(d,c/l):"auto"===s?c:s);const p={},h=(e,t)=>{(e=>"unset"===e||"undefined"===e||"none"===e)(t)||(p[e]=t.toString())};return h("width",d),h("height",u),p.viewBox=n.left.toString()+" "+n.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:p,body:i}}(e,a),p=u.attributes;if(a.inline&&(l.verticalAlign="-0.125em"),"svg"===s){d.style={...l,...c},Object.assign(d,p);let e=0,r=o.id;return"string"==typeof r&&(r=r.replace(/-/g,"_")),d.dangerouslySetInnerHTML={__html:Pt(We(u.body,r?()=>r+"ID"+e++:"iconifyReact"))},t.createElement("svg",d)}const{body:h,width:f,height:m}=e,g="mask"===s||"bg"!==s&&-1!==h.indexOf("currentColor"),y=function(e,t){let o=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const e in t)o+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+o+">"+e+"</svg>"}(h,{...p,width:f+"",height:m+""});return d.style={...l,"--svg":Lt(y),width:Ut(p.width),height:Ut(p.height),...At,...g?Bt:Vt,...c},t.createElement("span",d)};var Gt;if(Le(!0),Gt=tt,Ue[""]=Gt,typeof document<"u"&&typeof window<"u"){St();const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,o="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!$e(e))&&console.error(o)}catch{console.error(o)}}))}if(void 0!==e.IconifyProviders){const t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if("object"!=typeof r||!r||void 0===r.resources)continue;Ze(e,r)||console.error(o)}catch{console.error(o)}}}}class Yt extends t.Component{constructor(e){super(e),this.state={icon:null}}_abortLoading(){this._loading&&(this._loading.abort(),this._loading=null)}_setData(e){this.state.icon!==e&&this.setState({icon:e})}_checkIcon(e){const t=this.state,o=this.props.icon;if("object"==typeof o&&null!==o&&"string"==typeof o.body)return this._icon="",this._abortLoading(),void((e||null===t.icon)&&this._setData({data:o}));let r;if("string"!=typeof o||null===(r=be(o,!1,!0)))return this._abortLoading(),void this._setData(null);const n=function(e){const t="string"==typeof e?be(e,!0,ze):e;if(t){const e=Ie(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}(r);if(n){if(this._icon!==o||null===t.icon){this._abortLoading(),this._icon=o;const e=["iconify"];""!==r.prefix&&e.push("iconify--"+r.prefix),""!==r.provider&&e.push("iconify--"+r.provider),this._setData({data:n,classes:e}),this.props.onLoad&&this.props.onLoad(o)}}else(!this._loading||this._loading.name!==o)&&(this._abortLoading(),this._icon="",this._setData(null),null!==n&&(this._loading={name:o,abort:Mt([r],this._checkIcon.bind(this,!1))}))}componentDidMount(){this._checkIcon(!1)}componentDidUpdate(e){e.icon!==this.props.icon&&this._checkIcon(!0)}componentWillUnmount(){this._abortLoading()}render(){const e=this.props,o=this.state.icon;if(null===o)return e.children?e.children:t.createElement("span",{});let r=e;return o.classes&&(r={...e,className:("string"==typeof e.className?e.className+" ":"")+o.classes.join(" ")}),Kt({...ke,...o.data},r,e._inline,e._ref)}}const Xt=t.forwardRef((function(e,o){const r={...e,_ref:o,_inline:!1};return t.createElement(Yt,r)}));t.forwardRef((function(e,o){const r={...e,_ref:o,_inline:!0};return t.createElement(Yt,r)}));const Jt="_icon_1czju_5",Zt=({width:e=20,height:t=20,className:o="",icon:r,onClick:n,color:i,vFlip:a=!1})=>ge.jsx(Xt,{onClick:n,icon:r,width:e,height:t,className:`${Jt} ${o}`,color:i,vFlip:a}),Qt=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:bell-outline",width:e,height:t,className:o,onClick:r,color:n}),eo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:bell",width:e,height:t,className:o,onClick:r,color:n}),to=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"charm:menu-hamburger",width:e,height:t,className:o,onClick:r,color:n}),oo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-right",width:e,height:t,className:o,onClick:r,color:n}),ro=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-left",width:e,height:t,className:o,onClick:r,color:n}),no=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-double-left",width:e,height:t,className:o,onClick:r,color:n}),io=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-double-right",width:e,height:t,className:o,onClick:r,color:n}),ao=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"fluent:document-bullet-list-24-filled",width:e,height:t,className:o,onClick:r,color:n}),so=({width:e=20,height:t=20,className:o="",onClick:r,color:n=""})=>ge.jsx(Zt,{icon:"fluent:document-pdf-20-filled",width:e,height:t,className:o,onClick:r,color:n}),lo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:view-dashboard",width:e,height:t,className:o,onClick:r,color:n}),co=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:view-dashboard-outline",width:e,height:t,className:o,onClick:r,color:n}),uo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-people-alt",width:e,height:t,className:o,onClick:r,color:n}),po=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:sharp-people",width:e,height:t,className:o,onClick:r,color:n});function ho(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"m10.6 16.6l7.05-7.05l-1.4-1.4l-5.65 5.65l-2.85-2.85l-1.4 1.4zM12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q2.075 0 3.9.788t3.175 2.137q1.35 1.35 2.138 3.175T22 12q0 2.075-.788 3.9t-2.137 3.175q-1.35 1.35-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12q0-3.35-2.325-5.675T12 4Q8.65 4 6.325 6.325T4 12q0 3.35 2.325 5.675T12 20m0-8"})})}function fo(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm0-2h16V5H4zm5-2q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9zM4 19V5z"})})}function mo(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M4 21q-.825 0-1.412-.587T2 19V5q0-.825.588-1.412T4 3h16q.825 0 1.413.588T22 5v14q0 .825-.587 1.413T20 21zm5-4q.425 0 .713-.288T10 16q0-.425-.288-.712T9 15H6q-.425 0-.712.288T5 16q0 .425.288.713T6 17zm5.55-4.825l-.725-.725q-.3-.3-.7-.287t-.7.312q-.275.3-.288.7t.288.7L13.85 14.3q.3.3.7.3t.7-.3l3.55-3.55q.3-.3.3-.7t-.3-.7q-.3-.3-.712-.3t-.713.3zM9 13q.425 0 .713-.288T10 12q0-.425-.288-.712T9 11H6q-.425 0-.712.288T5 12q0 .425.288.713T6 13zm0-4q.425 0 .713-.288T10 8q0-.425-.288-.712T9 7H6q-.425 0-.712.288T5 8q0 .425.288.713T6 9z"})})}const go=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:calendar-blank",width:e,height:t,className:o,onClick:r,color:n}),yo=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 4V1.5h2V4h8V1.5h2V4h4v18H2V4zM4 6v3h16V6zm16 5H4v9h16z"})}),xo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:calendar-range",width:e,height:t,className:o,onClick:r,color:n}),bo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-assignment",width:e,height:t,className:o,onClick:r,color:n}),vo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:assignment-outline",width:e,height:t,className:o,onClick:r,color:n}),wo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-format-list-numbered",width:e,height:t,className:o,onClick:r,color:n}),jo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:message-processing",width:e,height:t,className:o,onClick:r,color:n}),ko=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:message-processing-outline",width:e,height:t,className:o,onClick:r,color:n}),Co=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:report-box",width:e,height:t,className:o,onClick:r,color:n}),No=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:report-box-outline",width:e,height:t,className:o,onClick:r,color:n}),_o=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:settings",width:e,height:t,className:o,onClick:r,color:n}),So=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:settings-outline",width:e,height:t,className:o,onClick:r,color:n}),To=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-sync",width:e,height:t,className:o,onClick:r,color:n,vFlip:!0}),Eo=({color:e="black",size:t="20",className:o=""})=>ge.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,className:o,viewBox:`0 0 ${t} ${t}`,fill:"none",children:[ge.jsx("path",{d:"M14.9875 14.1667C16.1366 14.1667 17.0691 13.2334 17.0691 12.0834C17.0691 10.9334 16.1366 10.0001 14.9875 10.0001C13.8385 10.0001 12.9059 10.9334 12.9059 12.0834C12.9059 13.2334 13.8385 14.1667 14.9875 14.1667ZM14.9875 15.2084C13.597 15.2084 10.8243 15.9084 10.8243 17.2917V17.8167C10.8243 18.1001 11.0575 18.3417 11.3489 18.3417H18.6345C18.9176 18.3417 19.159 18.1084 19.159 17.8167V17.2917C19.159 15.9084 16.3863 15.2084 14.9958 15.2084H14.9875Z",fill:e}),ge.jsx("path",{d:"M4.99584 5.83342C6.14488 5.83342 7.07744 4.90008 7.07744 3.75008C7.07744 2.60008 6.14488 1.66675 4.99584 1.66675C3.8468 1.66675 2.91424 2.60008 2.91424 3.75008C2.91424 4.90008 3.8468 5.83342 4.99584 5.83342ZM4.99584 6.87508C3.60533 6.87508 0.832642 7.57508 0.832642 8.95842V9.48342C0.832642 9.76675 1.06578 10.0084 1.3572 10.0084H8.6428C8.9259 10.0084 9.16736 9.77508 9.16736 9.48342V8.95842C9.16736 7.57508 6.39467 6.87508 5.00417 6.87508H4.99584Z",fill:e}),ge.jsx("path",{d:"M9.15156 16.4036V16.2574H6.61874C6.14757 16.2574 5.75868 15.8773 5.75868 15.4167V12.8729L7.04503 14.101L7.77047 13.3773L5.10802 10.8334L2.49792 13.4431L3.23832 14.1521L4.4798 12.9094H4.49476V15.4167C4.49476 16.5644 5.45204 17.5001 6.62622 17.5001H9.15904V16.4036H9.15156Z",fill:e}),ge.jsx("path",{d:"M9.99915 3.59657V3.74277H13.3646C13.8358 3.74277 14.2247 4.12289 14.2247 4.58341V7.12727L12.9383 5.8992L12.2129 6.62289L14.8753 9.16675L17.4854 6.5571L16.745 5.84803L15.5035 7.09072H15.4886V4.58341C15.4886 3.43575 14.5313 2.50008 13.3571 2.50008H9.99168V3.59657H9.99915Z",fill:e})]}),Oo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:round-person",width:e,height:t,className:o,onClick:r,color:n}),Mo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:round-person-outline",width:e,height:t,className:o,onClick:r,color:n}),Io=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:dots-vertical",width:e,height:t,className:o,onClick:r,color:n}),Ro=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-search",width:e,height:t,className:o,onClick:r,color:n}),zo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"line-md:loading-twotone-loop",width:e,height:t,className:o,onClick:r,color:n}),Lo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-up",width:e,height:t,className:o,onClick:r,color:n}),$o=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-arrow-drop-down",width:e,height:t,className:o,onClick:r,color:n}),Po=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"eva:archive-fill",width:e,height:t,className:o,onClick:r,color:n}),Do=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-download",width:e,height:t,className:o,onClick:r,color:n}),Fo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:checkbox-marked-outline",width:e,height:t,className:o,onClick:r,color:n}),Ao=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-down",width:e,height:t,className:o,onClick:r,color:n}),Bo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:chevron-up",width:e,height:t,className:o,onClick:r,color:n}),Vo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-close",width:e,height:t,className:o,onClick:r,color:n}),qo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-check",width:e,height:t,className:o,onClick:r,color:n}),Ho=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:perm-media",width:e,height:t,className:o,onClick:r,color:n}),Wo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:perm-media-outline",width:e,height:t,className:o,onClick:r,color:n}),Uo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:inbox",width:e,height:t,className:o,onClick:r,color:n}),Ko=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:inbox-outline",width:e,height:t,className:o,onClick:r,color:n}),Go=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:sharp-topic",width:e,height:t,className:o,onClick:r,color:n}),Yo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"akar-icons:drag-horizontal",width:e,height:t,className:o,onClick:r,color:n}),Xo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"fa6-regular:file-pdf",width:e,height:t,className:o,onClick:r,color:n}),Jo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:delete-outline",width:e,height:t,className:o,onClick:r,color:n}),Zo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:filter-variant",width:e,height:t,className:o,onClick:r,color:n}),Qo=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:lock-outline",width:e,height:t,className:o,onClick:r,color:n}),er=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:baseline-dvr",width:e,height:t,className:o,onClick:r,color:n}),tr=({width:e=20,height:t=20,className:o="",onClick:r,color:n="var(--colors-error-500)"})=>ge.jsx(Zt,{icon:"mdi:error-outline",width:e,height:t,className:o,onClick:r,color:n}),or=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:replay",width:e,height:t,className:o,onClick:r,color:n}),rr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:calendar-blank-outline",width:e,height:t,className:o,onClick:r,color:n}),nr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-link",width:e,height:t,className:o,onClick:r,color:n}),ir=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:fact-check-outline",width:e,height:t,className:o,onClick:r,color:n}),ar=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"material-symbols:unknown-document-outline-rounded",width:e,height:t,className:o,onClick:r,color:n}),sr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:list-status",width:e,height:t,className:o,onClick:r,color:n}),lr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:text-box-check-outline",width:e,height:t,className:o,onClick:r,color:n}),cr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ri:list-settings-line",width:e,height:t,className:o,onClick:r,color:n}),dr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"pajamas:earth",width:e,height:t,className:o,onClick:r,color:n}),ur=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"streamline:interface-setting-menu-1-button-parallel-horizontal-lines-menu-navigation-three-hamburger",width:e,height:t,className:o,onClick:r,color:n}),pr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"mdi:pencil-outline",width:e,height:t,className:o,onClick:r,color:n});function hr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M12 5.99L19.53 19H4.47zM12 2L1 21h22zm1 14h-2v2h2zm0-6h-2v4h2z"})})}const fr=({width:e=20,height:t=20,className:o="",onClick:r,color:n})=>ge.jsx(Zt,{icon:"ic:outline-calendar-month",width:e,height:t,className:o,onClick:r,color:n});function mr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M12 9a3 3 0 0 1 3 3a3 3 0 0 1-3 3a3 3 0 0 1-3-3a3 3 0 0 1 3-3m5.86 10.31C16.23 21.22 14.28 22.45 12 23c-2.56-.61-4.7-2.07-6.42-4.37C3.86 16.34 3 13.8 3 11V5l9-4l9 4v6c0 2.39-.64 4.61-1.92 6.67l-2.91-2.91c.52-.79.83-1.76.83-2.76a5 5 0 0 0-5-5a5 5 0 0 0-5 5a5 5 0 0 0 5 5c1 0 1.97-.31 2.76-.83z"})})}const gr=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 21v-2h12v2z"})}),yr=e=>ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M6 18v-2h12v2zm6-12.4l6 6l-1.4 1.4L12 8.4L7.4 13L6 11.6z"})});function xr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18 8H6V6h12zm0 3H6V9h12zm0 3H6v-2h12zm4-10a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h14l4 4z"})})}function br(e){return ge.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:[ge.jsx("path",{fill:"currentColor",d:"M14 12h4v1.5h-4zm0 3h4v1.5h-4z"}),ge.jsx("path",{fill:"currentColor",d:"M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m-9 0V4h2v5h-2zm9 13H4V9h5c0 1.1.9 2 2 2h2c1.1 0 2-.9 2-2h5z"}),ge.jsx("circle",{cx:9,cy:13.5,r:1.5,fill:"currentColor"}),ge.jsx("path",{fill:"currentColor",d:"M11.08 16.18c-.64-.28-1.34-.43-2.08-.43s-1.44.15-2.08.43c-.56.24-.92.78-.92 1.39V18h6v-.43c0-.61-.36-1.15-.92-1.39"})]})}function vr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M5 21q-.825 0-1.412-.587T3 19V5q0-.825.588-1.412T5 3h8.925l-2 2H5v14h14v-6.95l2-2V19q0 .825-.587 1.413T19 21zm4-6v-4.25l9.175-9.175q.3-.3.675-.45t.75-.15q.4 0 .763.15t.662.45L22.425 3q.275.3.425.663T23 4.4q0 .375-.137.738t-.438.662L13.25 15zM21.025 4.4l-1.4-1.4zM11 13h1.4l5.8-5.8l-.7-.7l-.725-.7L11 11.575zm6.5-6.5l-.725-.7zl.7.7z"})})}function wr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18 12.998h-5v5a1 1 0 0 1-2 0v-5H6a1 1 0 0 1 0-2h5v-5a1 1 0 0 1 2 0v5h5a1 1 0 0 1 0 2"})})}function jr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M11 17h2v-4h4v-2h-4V7h-2v4H7v2h4zm1 5q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9T2 12t.788-3.9t2.137-3.175T8.1 2.788T12 2t3.9.788t3.175 2.137T21.213 8.1T22 12t-.788 3.9t-2.137 3.175t-3.175 2.138T12 22m0-2q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4T6.325 6.325T4 12t2.325 5.675T12 20m0-8"})})}function kr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062m0-2.375l.725-.725L15.9 15.2l-.725.725zM5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22m0-2.4l4.25-4.25v-.725H8.65l-4.25 4.25zm0 0l-.725-.725l.375.35zm13.725 0l.725-.725z"})})}function Cr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M18.85 21.975q-.2 0-.375-.062t-.325-.213l-5.1-5.1q-.15-.15-.213-.325t-.062-.375t.063-.375t.212-.325l2.125-2.125q.15-.15.325-.212t.375-.063t.375.063t.325.212l5.1 5.1q.15.15.213.325t.062.375t-.062.375t-.213.325L19.55 21.7q-.15.15-.325.213t-.375.062M5.125 22q-.2 0-.387-.075T4.4 21.7l-2.1-2.1q-.15-.15-.225-.338T2 18.876t.075-.375t.225-.325l5.3-5.3h2.125l.85-.85L6.45 7.9H5.025L2 4.875L4.825 2.05L7.85 5.075V6.5l4.125 4.125l2.9-2.9L13.8 6.65l1.4-1.4h-2.825l-.7-.7L15.225 1l.7.7v2.825l1.4-1.4l3.55 3.55q.425.425.65.963t.225 1.137t-.225 1.15t-.65.975L18.75 8.775l-1.4 1.4l-1.05-1.05l-5.175 5.175v2.1l-5.3 5.3q-.15.15-.325.225T5.125 22"})})}function Nr(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16 9V4h2V2H6v2h2v5c0 1.66-1.34 3-3 3v2h5.97v7l1 1l1-1v-7H19v-2c-1.66 0-3-1.34-3-3"})})}function _r(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M20 6c.58 0 1.05.2 1.42.59c.38.41.58.86.58 1.41v11c0 .55-.2 1-.58 1.41c-.37.39-.84.59-1.42.59H4c-.58 0-1.05-.2-1.42-.59C2.2 20 2 19.55 2 19V8c0-.55.2-1 .58-1.41C2.95 6.2 3.42 6 4 6h4V4c0-.58.2-1.05.58-1.42C8.95 2.2 9.42 2 10 2h4c.58 0 1.05.2 1.42.58c.38.37.58.84.58 1.42v2zM4 8v11h16V8zm10-2V4h-4v2z"})})}const Sr=({dataTest:e,readOnly:t,...o})=>ge.jsx(d,{...o,"data-test":e,deleteIcon:ge.jsx(Vo,{height:18,width:18}),sx:{border:"1px solid",backgroundColor:"white",borderColor:"var(--colors-delta-200)",color:"var(--colors-delta-800)",...t?{pointerEvents:"none","&:hover":{borderColor:"var(--colors-delta-200)",backgroundColor:"white"}}:{"&:hover":{borderColor:"var(--colors-gama-200)",backgroundColor:"var(--colors-gama-50)"},"&:focus":{outline:"none",borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)"},"&:active":{borderColor:"var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)",boxShadow:"0 0 0 2px inset var(--colors-gama-400)"},"& .MuiChip-deleteIcon":{border:"1px solid",borderColor:"var(--colors-delta-100)",color:"var(--colors-delta-700)",backgroundColor:"var(--colors-delta-50)",borderRadius:"50%","&:hover":{borderColor:"var(--colors-delta-100)",backgroundColor:"var(--colors-delta-50)",color:"var(--colors-delta-700)"}}},...o.sx}}),Tr=({type:e="checkbox",checked:t,...o})=>{const r="checkbox"===e,n=r?Sa:Za,i=!o.readOnly&&!r&&t,a={borderColor:"var(--colors-gama-300)",backgroundColor:"var(--colors-gama-25)",boxShadow:"0 0 0 1px inset var(--colors-gama-300)"};return ge.jsx(Sr,{avatar:ge.jsx(n,{dataTest:o.dataTest,disableRipple:!0,checked:t,size:"small",sx:{pointerEvents:"none"}}),clickable:!0,...o,sx:{...i&&{outline:"none",borderColor:"var(--colors-gama-400)",boxShadow:"0 0 0 1px inset var(--colors-gama-400)",backgroundColor:"var(--colors-gama-50)","&:hover":a},...o.readOnly&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-delta-300)"},"& .MuiCheckbox-root, & .MuiRadio-root":{color:"var(--colors-delta-300)"},"& .Mui-checked":{color:"var(--colors-delta-300)"}}},...t&&{"& .MuiChip-avatar":{"& .MuiSvgIcon-root":{color:"var(--colors-gama-500)"}}},"&:focus:hover":a,...o.sx}})};function Er(){return Er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Er.apply(this,arguments)}function Or(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const Mr=!1;var Ir="production"!==process.env.NODE_ENV?J.oneOfType([J.number,J.shape({enter:J.number,exit:J.number,appear:J.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&J.oneOfType([J.string,J.shape({enter:J.string,exit:J.string,active:J.string}),J.shape({enter:J.string,enterDone:J.string,enterActive:J.string,exit:J.string,exitDone:J.string,exitActive:J.string})]);const Rr=t.createContext(null);var zr="unmounted",Lr="exited",$r="entering",Pr="entered",Dr="exiting",Fr=function(e){function o(t,o){var r;r=e.call(this,t,o)||this;var n,i=o&&!o.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(n=Lr,r.appearStatus=$r):n=Pr:n=t.unmountOnExit||t.mountOnEnter?zr:Lr,r.state={status:n},r.nextCallback=null,r}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ie(e,t)}(o,e),o.getDerivedStateFromProps=function(e,t){return e.in&&t.status===zr?{status:Lr}:null};var r=o.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var o=this.state.status;this.props.in?o!==$r&&o!==Pr&&(t=$r):(o===$r||o===Pr)&&(t=Dr)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,o,r=this.props.timeout;return e=t=o=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,o=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:o}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===$r){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this);o&&function(e){e.scrollTop}(o)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lr&&this.setState({status:zr})},r.performEnter=function(e){var t=this,o=this.props.enter,r=this.context?this.context.isMounting:e,n=this.props.nodeRef?[r]:[Q.findDOMNode(this),r],i=n[0],a=n[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!o||Mr?this.safeSetState({status:Pr},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:$r},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:Pr},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,o=this.getTimeouts(),r=this.props.nodeRef?void 0:Q.findDOMNode(this);t&&!Mr?(this.props.onExit(r),this.safeSetState({status:Dr},(function(){e.props.onExiting(r),e.onTransitionEnd(o.exit,(function(){e.safeSetState({status:Lr},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:Lr},(function(){e.props.onExited(r)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,o=!0;return this.nextCallback=function(r){o&&(o=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var o=this.props.nodeRef?this.props.nodeRef.current:Q.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(o&&!r){if(this.props.addEndListener){var n=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],i=n[0],a=n[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===zr)return null;var o=this.props,r=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var n=Or(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return t.createElement(Rr.Provider,{value:null},"function"==typeof r?r(e,n):t.cloneElement(t.Children.only(r),n))},o}(t.Component);function Ar(){}Fr.contextType=Rr,Fr.propTypes="production"!==process.env.NODE_ENV?{nodeRef:J.shape({current:typeof Element>"u"?J.any:function(e,t,o,r,n,i){var a=e[t];return J.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,o,r,n,i)}}),children:J.oneOfType([J.func.isRequired,J.element.isRequired]).isRequired,in:J.bool,mountOnEnter:J.bool,unmountOnExit:J.bool,appear:J.bool,enter:J.bool,exit:J.bool,timeout:function(e){var t=Ir;e.addEndListener||(t=t.isRequired);for(var o=arguments.length,r=new Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return t.apply(void 0,[e].concat(r))},addEndListener:J.func,onEnter:J.func,onEntering:J.func,onEntered:J.func,onExit:J.func,onExiting:J.func,onExited:J.func}:{},Fr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ar,onEntering:Ar,onEntered:Ar,onExit:Ar,onExiting:Ar,onExited:Ar},Fr.UNMOUNTED=zr,Fr.EXITED=Lr,Fr.ENTERING=$r,Fr.ENTERED=Pr,Fr.EXITING=Dr;const Br=Fr;function Vr(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function qr(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Hr(e){if(!qr(e))return e;const t={};return Object.keys(e).forEach((o=>{t[o]=Hr(e[o])})),t}function Wr(e,t,o={clone:!0}){const r=o.clone?Er({},e):e;return qr(e)&&qr(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(qr(t[n])&&n in e&&qr(e[n])?r[n]=Wr(e[n],t[n],o):o.clone?r[n]=qr(t[n])?Hr(t[n]):t[n]:r[n]=t[n])})),r}function Ur(e,t,o,r,n){const i=e[t],a=n||t;if(null==i||typeof window>"u")return null;let s;const l=i.type;return"function"==typeof l&&!function(e){const{prototype:t={}}=e;return!!t.isReactComponent}(l)&&(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Kr=Vr(J.element,Ur);Kr.isRequired=Vr(J.element.isRequired,Ur);const Gr=Kr;function Yr(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Xr(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Yr(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Jr=e=>e,Zr=(()=>{let e=Jr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Jr}}})(),Qr=Zr,en={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function tn(e,t,o="Mui"){const r=en[t];return r?`${o}-${r}`:`${Qr.generate(e)}-${t}`}const on=["values","unit","step"],rn=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Er({},e,{[t.key]:t.val})),{})};const nn={borderRadius:4},an="production"!==process.env.NODE_ENV?J.oneOfType([J.number,J.string,J.object,J.array]):{};function sn(e,t){return t?Wr(e,t,{clone:!1}):e}const ln={xs:0,sm:600,md:900,lg:1200,xl:1536},cn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ln[e]}px)`};function dn(e,t,o){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||cn;return t.reduce(((r,n,i)=>(r[e.up(e.keys[i])]=o(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||cn;return Object.keys(t).reduce(((r,n)=>{if(-1!==Object.keys(e.values||ln).indexOf(n)){r[e.up(n)]=o(t[n],n)}else{const e=n;r[e]=t[e]}return r}),{})}return o(t)}function un(e,t,o=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&o){const o=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=o)return o}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function pn(e,t,o,r=o){let n;return n="function"==typeof e?e(o):Array.isArray(e)?e[o]||r:un(e,o)||r,t&&(n=t(n,r,e)),n}function hn(e){const{prop:t,cssProperty:o=e.prop,themeKey:r,transform:n}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=un(e.theme,r)||{};return dn(e,i,(e=>{let r=pn(a,n,e);return e===r&&"string"==typeof e&&(r=pn(a,n,`${t}${"default"===e?"":Xr(e)}`,e)),!1===o?r:{[o]:r}}))};return i.propTypes="production"!==process.env.NODE_ENV?{[t]:an}:{},i.filterProps=[t],i}const fn={m:"margin",p:"padding"},mn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},gn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yn=function(e){const t={};return o=>(void 0===t[o]&&(t[o]=e(o)),t[o])}((e=>{if(e.length>2){if(!gn[e])return[e];e=gn[e]}const[t,o]=e.split(""),r=fn[t],n=mn[o]||"";return Array.isArray(n)?n.map((e=>r+e)):[r+n]})),xn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],bn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vn=[...xn,...bn];function wn(e,t,o,r){var n;const i=null!=(n=un(e,t,!1))?n:o;return"number"==typeof i?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),i*e):Array.isArray(i)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>i.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${e} > ${i.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),i[e]):"function"==typeof i?i:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function jn(e){return wn(e,"spacing",8,"spacing")}function kn(e,t){if("string"==typeof t||null==t)return t;const o=e(Math.abs(t));return t>=0?o:"number"==typeof o?-o:`-${o}`}function Cn(e,t,o,r){if(-1===t.indexOf(o))return null;const n=function(e,t){return o=>e.reduce(((e,r)=>(e[r]=kn(t,o),e)),{})}(yn(o),r);return dn(e,e[o],n)}function Nn(e,t){const o=jn(e.theme);return Object.keys(e).map((r=>Cn(e,t,r,o))).reduce(sn,{})}function _n(e){return Nn(e,xn)}function Sn(e){return Nn(e,bn)}function Tn(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((o=>{e[o]=t})),e)),{}),o=e=>Object.keys(e).reduce(((o,r)=>t[r]?sn(o,t[r](e)):o),{});return o.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},o.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),o}function En(e){return"number"!=typeof e?e:`${e}px solid`}_n.propTypes="production"!==process.env.NODE_ENV?xn.reduce(((e,t)=>(e[t]=an,e)),{}):{},_n.filterProps=xn,Sn.propTypes="production"!==process.env.NODE_ENV?bn.reduce(((e,t)=>(e[t]=an,e)),{}):{},Sn.filterProps=bn,"production"!==process.env.NODE_ENV&&vn.reduce(((e,t)=>(e[t]=an,e)),{});const On=hn({prop:"border",themeKey:"borders",transform:En}),Mn=hn({prop:"borderTop",themeKey:"borders",transform:En}),In=hn({prop:"borderRight",themeKey:"borders",transform:En}),Rn=hn({prop:"borderBottom",themeKey:"borders",transform:En}),zn=hn({prop:"borderLeft",themeKey:"borders",transform:En}),Ln=hn({prop:"borderColor",themeKey:"palette"}),$n=hn({prop:"borderTopColor",themeKey:"palette"}),Pn=hn({prop:"borderRightColor",themeKey:"palette"}),Dn=hn({prop:"borderBottomColor",themeKey:"palette"}),Fn=hn({prop:"borderLeftColor",themeKey:"palette"}),An=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=wn(e.theme,"shape.borderRadius",4,"borderRadius"),o=e=>({borderRadius:kn(t,e)});return dn(e,e.borderRadius,o)}return null};An.propTypes="production"!==process.env.NODE_ENV?{borderRadius:an}:{},An.filterProps=["borderRadius"],Tn(On,Mn,In,Rn,zn,Ln,$n,Pn,Dn,Fn,An);const Bn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=wn(e.theme,"spacing",8,"gap"),o=e=>({gap:kn(t,e)});return dn(e,e.gap,o)}return null};Bn.propTypes="production"!==process.env.NODE_ENV?{gap:an}:{},Bn.filterProps=["gap"];const Vn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=wn(e.theme,"spacing",8,"columnGap"),o=e=>({columnGap:kn(t,e)});return dn(e,e.columnGap,o)}return null};Vn.propTypes="production"!==process.env.NODE_ENV?{columnGap:an}:{},Vn.filterProps=["columnGap"];const qn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=wn(e.theme,"spacing",8,"rowGap"),o=e=>({rowGap:kn(t,e)});return dn(e,e.rowGap,o)}return null};qn.propTypes="production"!==process.env.NODE_ENV?{rowGap:an}:{},qn.filterProps=["rowGap"];function Hn(e,t){return"grey"===t?t:e}Tn(Bn,Vn,qn,hn({prop:"gridColumn"}),hn({prop:"gridRow"}),hn({prop:"gridAutoFlow"}),hn({prop:"gridAutoColumns"}),hn({prop:"gridAutoRows"}),hn({prop:"gridTemplateColumns"}),hn({prop:"gridTemplateRows"}),hn({prop:"gridTemplateAreas"}),hn({prop:"gridArea"}));function Wn(e){return e<=1&&0!==e?100*e+"%":e}Tn(hn({prop:"color",themeKey:"palette",transform:Hn}),hn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Hn}),hn({prop:"backgroundColor",themeKey:"palette",transform:Hn}));const Un=hn({prop:"width",transform:Wn}),Kn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var o,r,n;return{maxWidth:(null==(o=e.theme)||null==(r=o.breakpoints)||null==(n=r.values)?void 0:n[t])||ln[t]||Wn(t)}};return dn(e,e.maxWidth,t)}return null};Kn.filterProps=["maxWidth"];const Gn=hn({prop:"minWidth",transform:Wn}),Yn=hn({prop:"height",transform:Wn}),Xn=hn({prop:"maxHeight",transform:Wn}),Jn=hn({prop:"minHeight",transform:Wn});hn({prop:"size",cssProperty:"width",transform:Wn}),hn({prop:"size",cssProperty:"height",transform:Wn});Tn(Un,Kn,Gn,Yn,Xn,Jn,hn({prop:"boxSizing"}));const Zn={border:{themeKey:"borders",transform:En},borderTop:{themeKey:"borders",transform:En},borderRight:{themeKey:"borders",transform:En},borderBottom:{themeKey:"borders",transform:En},borderLeft:{themeKey:"borders",transform:En},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:An},color:{themeKey:"palette",transform:Hn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Hn},backgroundColor:{themeKey:"palette",transform:Hn},p:{style:Sn},pt:{style:Sn},pr:{style:Sn},pb:{style:Sn},pl:{style:Sn},px:{style:Sn},py:{style:Sn},padding:{style:Sn},paddingTop:{style:Sn},paddingRight:{style:Sn},paddingBottom:{style:Sn},paddingLeft:{style:Sn},paddingX:{style:Sn},paddingY:{style:Sn},paddingInline:{style:Sn},paddingInlineStart:{style:Sn},paddingInlineEnd:{style:Sn},paddingBlock:{style:Sn},paddingBlockStart:{style:Sn},paddingBlockEnd:{style:Sn},m:{style:_n},mt:{style:_n},mr:{style:_n},mb:{style:_n},ml:{style:_n},mx:{style:_n},my:{style:_n},margin:{style:_n},marginTop:{style:_n},marginRight:{style:_n},marginBottom:{style:_n},marginLeft:{style:_n},marginX:{style:_n},marginY:{style:_n},marginInline:{style:_n},marginInlineStart:{style:_n},marginInlineEnd:{style:_n},marginBlock:{style:_n},marginBlockStart:{style:_n},marginBlockEnd:{style:_n},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Bn},rowGap:{style:qn},columnGap:{style:Vn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Wn},maxWidth:{style:Kn},minWidth:{transform:Wn},height:{transform:Wn},maxHeight:{transform:Wn},minHeight:{transform:Wn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Qn=Zn;const ei=function(){function e(e,t,o,r){const n={[e]:t,theme:o},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:s,transform:l,style:c}=i;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const d=un(o,s)||{};return c?c(n):dn(n,t,(t=>{let o=pn(d,l,t);return t===o&&"string"==typeof t&&(o=pn(d,l,`${e}${"default"===t?"":Xr(t)}`,t)),!1===a?o:{[a]:o}}))}return function t(o){var r;const{sx:n,theme:i={}}=o||{};if(!n)return null;const a=null!=(r=i.unstable_sxConfig)?r:Qn;function s(o){let r=o;if("function"==typeof o)r=o(i);else if("object"!=typeof o)return o;if(!r)return null;const n=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,o)=>(t[e.up(o)]={},t)),{}))||{}}(i.breakpoints),s=Object.keys(n);let l=n;return Object.keys(r).forEach((o=>{const n=function(e,t){return"function"==typeof e?e(t):e}(r[o],i);if(null!=n)if("object"==typeof n)if(a[o])l=sn(l,e(o,n,i,a));else{const e=dn({theme:i},n,(e=>({[o]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),o=new Set(t);return e.every((e=>o.size===Object.keys(e).length))}(e,n)?l=sn(l,e):l[o]=t({sx:n,theme:i})}else l=sn(l,e(o,n,i,a))})),function(e,t){return e.reduce(((e,t)=>{const o=e[t];return(!o||0===Object.keys(o).length)&&delete e[t],e}),t)}(s,l)}return Array.isArray(n)?n.map(s):s(n)}}();ei.filterProps=["sx"];const ti=ei,oi=["breakpoints","palette","spacing","shape"];function ri(e={},...t){const{breakpoints:o={},palette:r={},spacing:n,shape:i={}}=e,a=Or(e,oi),s=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:r=5}=e,n=Or(e,on),i=rn(t),a=Object.keys(i);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${o})`}function c(e,n){const i=a.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${o}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:n)-r/100}${o})`}return Er({keys:a,values:i,up:s,down:l,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):s(e)},not:function(e){const t=a.indexOf(e);return 0===t?s(a[1]):t===a.length-1?l(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:o},n)}(o),l=function(e=8){if(e.mui)return e;const t=jn({spacing:e}),o=(...e)=>("production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(0===e.length?[1]:e).map((e=>{const o=t(e);return"number"==typeof o?`${o}px`:o})).join(" "));return o.mui=!0,o}(n);let c=Wr({breakpoints:s,direction:"ltr",components:{},palette:Er({mode:"light"},r),spacing:l,shape:Er({},nn,i)},a);return c=t.reduce(((e,t)=>Wr(e,t)),c),c.unstable_sxConfig=Er({},Qn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}function ni(t=null){const o=e.useContext(Z);return!o||function(e){return 0===Object.keys(e).length}(o)?t:o}const ii=ri();function ai(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(o=ai(e[t]))&&(r&&(r+=" "),r+=o);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function si(){for(var e,t,o=0,r="";o<arguments.length;)(e=arguments[o++])&&(t=ai(e))&&(r&&(r+=" "),r+=t);return r}function li(e,t=0,o=1){return"production"!==process.env.NODE_ENV&&(e<t||e>o)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${o}].`),Math.min(Math.max(t,e),o)}function ci(e){if(e.type)return e;if("#"===e.charAt(0))return ci(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let o=e.match(t);return o&&1===o[0].length&&(o=o.map((e=>e+e))),o?`rgb${4===o.length?"a":""}(${o.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),o=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Yr(9,e));let r,n=e.substring(t+1,e.length-1);if("color"===o){if(n=n.split(" "),r=n.shift(),4===n.length&&"/"===n[3].charAt(0)&&(n[3]=n[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Yr(10,r))}else n=n.split(",");return n=n.map((e=>parseFloat(e))),{type:o,values:n,colorSpace:r}}function di(e){const{type:t,colorSpace:o}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${o} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function ui(e){let t="hsl"===(e=ci(e)).type||"hsla"===e.type?ci(function(e){e=ci(e);const{values:t}=e,o=t[0],r=t[1]/100,n=t[2]/100,i=r*Math.min(n,1-n),a=(e,t=(e+o/30)%12)=>n-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),di({type:s,values:l})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function pi(e,t){const o=ui(e),r=ui(t);return(Math.max(o,r)+.05)/(Math.min(o,r)+.05)}function hi(e,t){return Er({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const fi={black:"#000",white:"#fff"},mi={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},gi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},yi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},xi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},bi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},vi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},wi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ji=["mode","contrastThreshold","tonalOffset"],ki={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fi.white,default:fi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ci={text:{primary:fi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ni(e,t,o,r){const n=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(o)?e[t]=e[o]:"light"===t?e.light=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let o=0;o<3;o+=1)e.values[o]+=(255-e.values[o])*t;else if(-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return di(e)}(e.main,n):"dark"===t&&(e.dark=function(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let o=0;o<3;o+=1)e.values[o]*=1-t;return di(e)}(e.main,i)))}function _i(e){const{mode:t="light",contrastThreshold:o=3,tonalOffset:r=.2}=e,n=Or(e,ji),i=e.primary||function(e="light"){return"dark"===e?{main:bi[200],light:bi[50],dark:bi[400]}:{main:bi[700],light:bi[400],dark:bi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[500],light:gi[300],dark:gi[700]}}(t),s=e.error||function(e="light"){return"dark"===e?{main:yi[500],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[400],dark:yi[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:vi[400],light:vi[300],dark:vi[700]}:{main:vi[700],light:vi[500],dark:vi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:wi[400],light:wi[300],dark:wi[700]}:{main:wi[800],light:wi[500],dark:wi[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:xi[400],light:xi[300],dark:xi[700]}:{main:"#ed6c02",light:xi[500],dark:xi[900]}}(t);function u(e){const t=pi(e,Ci.text.primary)>=o?Ci.text.primary:ki.text.primary;if("production"!==process.env.NODE_ENV){const o=pi(e,t);o<3&&console.error([`MUI: The contrast ratio of ${o}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:o=500,lightShade:n=300,darkShade:i=700})=>{if(!(e=Er({},e)).main&&e[o]&&(e.main=e[o]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${o}\` property.`:Yr(11,t?` (${t})`:"",o));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Yr(12,t?` (${t})`:"",JSON.stringify(e.main)));return Ni(e,"light",n,r),Ni(e,"dark",i,r),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:Ci,light:ki};return"production"!==process.env.NODE_ENV&&(h[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Wr(Er({common:Er({},fi),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:mi,contrastThreshold:o,getContrastText:u,augmentColor:p,tonalOffset:r},h[t]),n)}const Si=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ti(e){return Math.round(1e5*e)/1e5}const Ei={textTransform:"uppercase"},Oi='"Roboto", "Helvetica", "Arial", sans-serif';function Mi(e,t){const o="function"==typeof t?t(e):t,{fontFamily:r=Oi,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=o,p=Or(o,Si);"production"!==process.env.NODE_ENV&&("number"!=typeof n&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,f=u||(e=>e/c*h+"rem"),m=(e,t,o,n,i)=>Er({fontFamily:r,fontWeight:e,fontSize:f(t),lineHeight:o},r===Oi?{letterSpacing:`${Ti(n/t)}em`}:{},i,d),g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,Ei),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ei),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Wr(Er({htmlFontSize:c,pxToRem:f,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function Ii(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ri=["none",Ii(0,2,1,-1,0,1,1,0,0,1,3,0),Ii(0,3,1,-2,0,2,2,0,0,1,5,0),Ii(0,3,3,-2,0,3,4,0,0,1,8,0),Ii(0,2,4,-1,0,4,5,0,0,1,10,0),Ii(0,3,5,-1,0,5,8,0,0,1,14,0),Ii(0,3,5,-1,0,6,10,0,0,1,18,0),Ii(0,4,5,-2,0,7,10,1,0,2,16,1),Ii(0,5,5,-3,0,8,10,1,0,3,14,2),Ii(0,5,6,-3,0,9,12,1,0,3,16,2),Ii(0,6,6,-3,0,10,14,1,0,4,18,3),Ii(0,6,7,-4,0,11,15,1,0,4,20,3),Ii(0,7,8,-4,0,12,17,2,0,5,22,4),Ii(0,7,8,-4,0,13,19,2,0,5,24,4),Ii(0,7,9,-4,0,14,21,2,0,5,26,4),Ii(0,8,9,-5,0,15,22,2,0,6,28,5),Ii(0,8,10,-5,0,16,24,2,0,6,30,5),Ii(0,8,11,-5,0,17,26,2,0,6,32,5),Ii(0,9,11,-5,0,18,28,2,0,7,34,6),Ii(0,9,12,-6,0,19,29,2,0,7,36,6),Ii(0,10,13,-6,0,20,31,3,0,8,38,7),Ii(0,10,13,-6,0,21,33,3,0,8,40,7),Ii(0,10,14,-6,0,22,35,3,0,8,42,7),Ii(0,11,14,-7,0,23,36,3,0,9,44,8),Ii(0,11,15,-7,0,24,38,3,0,9,46,8)],zi=["duration","easing","delay"],Li={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Pi(e){return`${Math.round(e)}ms`}function Di(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function Fi(e){const t=Er({},Li,e.easing),o=Er({},$i,e.duration);return Er({getAutoHeightDuration:Di,create:(e=["all"],r={})=>{const{duration:n=o.standard,easing:i=t.easeInOut,delay:a=0}=r,s=Or(r,zi);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,o=e=>!isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error('MUI: Argument "props" must be a string or Array.'),!o(n)&&!t(n)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${n}.`),t(i)||console.error('MUI: Argument "easing" must be a string.'),!o(a)&&!t(a)&&console.error('MUI: Argument "delay" must be a number or a string.'),0!==Object.keys(s).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof n?n:Pi(n)} ${i} ${"string"==typeof a?a:Pi(a)}`)).join(",")}},e,{easing:t,duration:o})}const Ai={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Bi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Vi=function(e={},...t){const{mixins:o={},palette:r={},transitions:n={},typography:i={}}=e,a=Or(e,Bi);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Yr(18));const s=_i(r),l=ri(e);let c=Wr(l,{mixins:hi(l.breakpoints,o),palette:s,shadows:Ri.slice(),typography:Mi(s,i),transitions:Fi(n),zIndex:Er({},Ai)});if(c=Wr(c,a),c=t.reduce(((e,t)=>Wr(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,o)=>{let r;for(r in t){const n=t[r];if(-1!==e.indexOf(r)&&Object.keys(n).length>0){if("production"!==process.env.NODE_ENV){const e=tn("",r);console.error([`MUI: The \`${o}\` component increases the CSS specificity of the \`${r}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:n}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[r]={}}}};Object.keys(c.components).forEach((e=>{const o=c.components[e].styleOverrides;o&&0===e.indexOf("Mui")&&t(o,e)}))}return c.unstable_sxConfig=Er({},Qn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return ti({sx:e,theme:this})},c}(),qi=Vi;function Hi(){const t=function(e=ii){return ni(e)}(qi);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t.$$material||t}function Wi(e,t){var o,r;const{timeout:n,easing:i,style:a={}}=e;return{duration:null!=(o=a.transitionDuration)?o:"number"==typeof n?n:n[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const Ui=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ki={entering:{opacity:1},entered:{opacity:1}},Gi=e.forwardRef((function(t,o){const r=Hi(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:d,onEntered:u,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:y=n,TransitionComponent:x=Br}=t,b=Or(t,Ui),v=e.useRef(null),w=function(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)}))}),t)}(v,s.ref,o),j=e=>t=>{if(e){const o=v.current;void 0===t?e(o):e(o,t)}},k=j(p),C=j(((e,t)=>{(e=>{e.scrollTop})(e);const o=Wi({style:g,timeout:y,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",o),e.style.transition=r.transitions.create("opacity",o),d&&d(e,t)})),N=j(u),_=j(m),S=j((e=>{const t=Wi({style:g,timeout:y,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),h&&h(e)})),T=j(f);return ge.jsx(x,Er({appear:a,in:c,nodeRef:v,onEnter:C,onEntered:N,onEntering:k,onExit:S,onExited:T,onExiting:_,addEndListener:e=>{i&&i(v.current,e)},timeout:y},b,{children:(t,o)=>e.cloneElement(s,Er({style:Er({opacity:0,visibility:"exited"!==t||c?void 0:"hidden"},Ki[t],g,s.props.style),ref:w},o))}))}));"production"!==process.env.NODE_ENV&&(Gi.propTypes={addEndListener:J.func,appear:J.bool,children:Gr.isRequired,easing:J.oneOfType([J.shape({enter:J.string,exit:J.string}),J.string]),in:J.bool,onEnter:J.func,onEntered:J.func,onEntering:J.func,onExit:J.func,onExited:J.func,onExiting:J.func,style:J.object,timeout:J.oneOfType([J.number,J.shape({appear:J.number,enter:J.number,exit:J.number})])});const Yi=Gi,Xi=e=>ge.jsx(u,{TransitionComponent:Yi,TransitionProps:{timeout:300},arrow:!0,placement:"top",componentsProps:{tooltip:{sx:{borderRadius:"3px !important","& .MuiTooltip-arrow":{color:"#363E4A !important"},color:"white !important",boxShadow:"0px 1px 4px 0px rgba(0, 0, 0, 0.25) !important",display:"flex !important",padding:"4px 8px !important",alignItems:"center !important",fontSize:"12px !important",lineHeight:"16px !important",letterSpacing:" 0.24px !important",bgcolor:"#363E4A !important",wordBreak:"break-word !important"}}},...e}),Ji=e=>ge.jsx(p,{...e}),Zi="_styled-label-md_jbn3o_1",Qi="_styled-label-base_jbn3o_10",ea="_styled-label-lg_jbn3o_19",ta="_styled-label-xl_jbn3o_27",oa=({title:e,onClick:t,className:o,dataTest:r,size:n="base"})=>{const i=(({size:e})=>{switch(e){case"md":return Zi;case"lg":return ea;case"xl":return ta;default:return Qi}})({size:n});return ge.jsx("div",{className:si(i,o),onClick:t,"data-test":r,children:e})},ra="_asma-core-ui-button_1r2np_1",na={contained:"_contained_1r2np_27",outlined:"_outlined_1r2np_141",text:"_text_1r2np_255",textGray:"_textGray_1r2np_369",textWhite:"_textWhite_1r2np_426",large:"_large_1r2np_79",small:"_small_1r2np_74",medium:"_medium_1r2np_69",error:"_error_1r2np_84",common:"_common_1r2np_27"},ia=({variant:e="contained",className:t="",size:o="medium",children:r,refLink:n,startIcon:i,endIcon:a,dataTest:s,error:l,...c})=>{const d="large"===o||"medium"===o,u=l?"error":"common";return ge.jsxs("button",{...c,className:si(ra,na[e],na[u],na[o],t),ref:n,"data-test":s,children:[i,r&&ge.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",display:"flex",alignItems:"center",justifyContent:"center",gap:d?"8px":"4px",paddingLeft:d?"8px":"4px",paddingRight:d?"8px":"4px"},children:r}),a]})},aa="_styled-dialog-root_1st3i_1",sa="_styled-top-header_1st3i_6",la="_styled-dialog-close_1st3i_13",ca="_styled-dialog-info_1st3i_20",da="_styled-dialog-label_1st3i_27",ua="_styled-dialog-title_1st3i_37";function pa(){const e=function(){const[e,t]=n(window.innerWidth),o=()=>{t(window.innerWidth)};return i((()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o))),[]),e}();return(e=>e?e<=768:window.innerWidth<768)(e)}const ha=({onCloseText:e,children:t,dataTest:o,showCloseIcon:r=!0,dialogLabel:n,dialogTitle:i,dialogHeaderNode:a,...s})=>{const l=pa();return ge.jsxs(h,{...s,"data-test":o,style:{zIndex:999,...s.style},fullScreen:!!l||s.fullScreen,children:[ge.jsx("div",{className:aa,children:ge.jsxs("div",{className:sa,children:[ge.jsxs("div",{className:ca,children:[n&&ge.jsx("div",{className:da,children:n}),i&&ge.jsx("div",{className:ua,children:i})]}),r&&ge.jsxs("div",{className:la,children:[a,ge.jsx(ia,{dataTest:`close-button-${o}`,variant:"textGray",size:"small",endIcon:ge.jsx(Vo,{width:24,height:24}),onClick:e=>{s.onClose&&s.onClose(e,"escapeKeyDown")},style:{color:"var(--colors-grey-800)"},children:e})]})]})}),t]})},fa="_styled-dialog-actions-root_1yp8r_1",ma="_styled-dialog-actions_1yp8r_1",ga="_action-button-wrapper_1yp8r_17";function ya(...e){return X(si(e))}const xa=e=>ge.jsx(f,{...e,"data-test":"styled-dialog-actions",classes:{...e.classes,root:fa},children:ge.jsx("div",{className:ya(ma,e.className),children:t.Children.map(e.children,(e=>ge.jsx("div",{className:ga,children:e})))})}),ba="_styled-dialog-content_d2vki_1",va=({children:e,classes:t,className:o,...r})=>ge.jsx(m,{...r,"data-test":"styled-dialog-content",classes:{...t,root:ba},className:o,children:e}),wa="_styled-dialog-title-root_mcspk_1",ja=({children:e,...t})=>e?ge.jsx(g,{...t,"data-test":"styled-dialog-title",classes:{...t.classes,root:wa},children:e}):null;function ka(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7 9H2V7h5zm0 3H2v2h5zm13.59 7l-3.83-3.83c-.8.52-1.74.83-2.76.83c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5c0 1.02-.31 1.96-.83 2.75L22 17.59zM17 11c0-1.65-1.35-3-3-3s-3 1.35-3 3s1.35 3 3 3s3-1.35 3-3M2 19h10v-2H2z"})})}const Ca=({emptyText:e,isEmpty:t=!0,className:o=""})=>t?ge.jsxs("div",{"data-test":"empty-page-container",className:`flex animate-opacity-in items-center w-full h-full justify-center gap-2 duration-300 text-gray-600 text-sm ${o}`,children:[ge.jsx(ka,{"data-test":"empty-page-icon",width:24,height:24,className:"text-gray-600 cursor-default"}),ge.jsx("p",{className:"font-normal",children:e})]}):null,Na={small:16,medium:24,large:32},_a=({isLoading:e,className:t="",size:o="medium"})=>{if(!e)return null;const r=Na[o];return ge.jsx("div",{className:si("flex items-center justify-center h-[50px] w-full text-gama-500 animate-opacity-appear-3",t),children:ge.jsx(zo,{width:r,height:r})})},Sa=({dataTest:e,...t})=>ge.jsx(y,{...t,"data-test":e,sx:{...t.sx,"&.MuiCheckbox-root":{color:"var(--colors-delta-500) !important"},"&.MuiCheckbox-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.MuiCheckbox-indeterminate":{color:"var(--colors-gama-500) !important"},"&.MuiCheckbox-root.Mui-disabled":{color:"var(--colors-delta-200) !important"},"&.MuiCheckbox-root .PrivateSwitchBase-input":{height:"100% !important",width:"100% !important"}}}),Ta=({allowClear:e,onClear:t,readOnly:o,disabled:r,dataTest:n,...i})=>ge.jsx(x,{...i,"data-test":n,disabled:r||o,type:i.type||"mui-input",InputProps:e&&i.value?{endAdornment:ge.jsx("div",{className:"z-40 hover:bg-gama-100 duration-300 absolute right-4 p-[2px] rounded-full flex items-center justify-center",onClick:e=>{e.stopPropagation(),e.preventDefault(),null==t||t()},children:ge.jsx(Vo,{width:18,height:18})})}:i.InputProps,sx:{"& input:-webkit-autofill, & .MuiInputBase-root:has(> input:-webkit-autofill)":{backgroundColor:"#e8f0fe !important"},"& input":{backgroundColor:"transparent"},"& .MuiInputBase-root":{backgroundColor:"transparent"},"& .MuiInputBase-colorPrimary fieldset":{borderColor:"var(--colors-delta-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary.Mui-focused:hover fieldset":{borderColor:"var(--colors-gama-400) !important"},"& .MuiInputBase-colorPrimary:hover fieldset":{borderColor:"var(--colors-gama-300) !important",borderWidth:"2px !important"},"& .MuiInputBase-colorPrimary.Mui-disabled:hover fieldset":{borderWidth:"1px !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error:hover fieldset":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-focused.Mui-error fieldset":{borderColor:"#d3302f !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-300) !important"},"& label.Mui-focused":{color:"var(--colors-gama-500) !important"},"& label":{color:"var(--colors-delta-500) !important"},"& label.Mui-focused.Mui-error":{color:"#d3302f !important"},"& label.Mui-disabled":{color:"var(--colors-gray-300) !important"},"& .MuiOutlinedInput-input::placeholder":{color:"var(--colors-delta-500) !important",opacity:"1 !important"},"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-300) !important"},...o&&{"& .MuiOutlinedInput-input.Mui-disabled":{WebkitTextFillColor:"var(--colors-delta-800) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled":{backgroundColor:"var(--colors-delta-10) !important"},"& .MuiInputBase-colorPrimary.Mui-disabled fieldset":{borderColor:"var(--colors-delta-200) !important"},"& label.Mui-disabled":{color:"var(--colors-gray-800) !important"}},...i.sx}}),Ea=({value:e,onClear:t,...o})=>{const[r,i]=n(!1),a=r||e;return ge.jsxs("div",{className:"relative w-fit",children:[ge.jsx(Ta,{size:"small",variant:"outlined",value:e,onFocus:()=>i(!0),onBlur:()=>i(!1),InputProps:{className:ya("transition-[padding] duration-300",a?"pl-0":"pl-5",e?"pr-5":"pr-0"),sx:{"& input":{textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},InputLabelProps:{sx:{transform:"translate(34px, 9px) scale(1)",width:a?void 0:"calc(100% - 42px)","&.MuiInputLabel-shrink":{transform:"translate(16px, -9px) scale(0.75)"}}},...o,sx:{width:160,...o.sx}}),ge.jsx(Ro,{width:24,height:24,className:ya("absolute top-2 left-2","transform-gpu transition-all duration-300 ease-in-out",a?"opacity-0 scale-75 pointer-events-none":"opacity-100 scale-100"),color:"var(--colors-delta-700)"}),ge.jsx("div",{className:ya("absolute w-6 h-6 right-2 top-2 cursor-pointer bg-delta-50 rounded-full","flex items-center justify-center","transform-gpu transition-all duration-300 ease-in-out",e?"opacity-100 scale-100":"opacity-0 scale-75 pointer-events-none"),onClick:e=>{e.preventDefault(),e.stopPropagation(),null==t||t()},children:ge.jsx(Vo,{width:20,height:20,color:"var(--colors-delta-700)",className:"pointer-events-none"})})]})},Oa={textarea:"_textarea_1p8hl_1",active:"_active_1p8hl_1",error:"_error_1p8hl_40",label:"_label_1p8hl_80",disabled:"_disabled_1p8hl_88",description:"_description_1p8hl_93"},Ma=({id:e,variant:t="active",label:o="",labelClassName:r="",description:l="",value:c="",minRows:d=3,maxRows:u=1/0,disabled:p,error:h,errorMessage:f,containerClassName:m="",className:g="",maxLength:y=1/0,counter:x,refLink:b,dataTest:v,counterLimit:w,...j})=>{const k=s(null),C=b||k,N=!(!x||!w),[_,S]=n(!1);i((()=>{S(!0)}),[]),((e,t,o,r,n,i)=>{a((()=>{if(e){const t=i?32:0;e.style.height="auto";const o=20,n=e.scrollHeight-24;Math.ceil(n/o)>r?e.style.height=`${o*r+24+t}px`:e.style.height=`${e.scrollHeight+t}px`}}),[e,t,o,r,n,i])})(C.current,c,d,u,_,N),u<d&&(d=u);const[T,E]=n(c.length);i((()=>{E(c.length)}),[c]);const O=h?"error":"active",M=h?"error":p?"disabled":"active";return ge.jsxs("div",{className:`flex flex-col gap-1 relative ${m}`,"data-test":v,children:[ge.jsx("label",{htmlFor:e,className:`${Oa.label} ${Oa[M]} ${r}`,children:o}),ge.jsx("span",{className:`${Oa.description} ${Oa[M]}`,children:h?f:l}),"view_only"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal pt-3 text-gray-700",children:c}):"not_editable"===t?ge.jsx("div",{className:"font-roboto text-sm font-normal rounded p-3 bg-gray-200 text-gray-700",children:c}):ge.jsx("textarea",{...j,id:e,ref:C,className:`${Oa.textarea} ${Oa[O]} ${g} ${N?"pb-[32px]":""}`,wrap:"soft",value:c,disabled:p,maxLength:y}),N&&ge.jsxs("div",{className:"flex justify-end absolute bottom-3 right-3 text-[10px] font-roboto h-[15px] pointer-events-none",children:[T,"/",w]})]})},Ia=({dataTest:e,allowClear:t,...o})=>ge.jsx(b,{...o,"data-test":e,value:o.value,IconComponent:e=>ge.jsx(Xt,{...e,icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si(e.className,"select-custom-icon")}),endAdornment:t&&o.value?ge.jsx("div",{className:"hover:bg-gama-100 duration-300 absolute right-8 p-[2px] rounded-full flex items-center justify-center",onClick:()=>{var e;null==(e=o.onChange)||e.call(o,{target:{value:""}},null)},children:ge.jsx(Vo,{width:18,height:18})}):null,sx:{".MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-delta-500) !important"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-error-500) !important"},"& .MuiInputBase-colorPrimary.Mui-error fieldset":{borderColor:"var(--colors-error-500) !important"},"&.Mui-focused::after":{borderColor:"var(--colors-gama-400) !important"},"&:hover .MuiOutlinedInput-notchedOutline":{border:"2px solid var(--colors-gama-300) !important"},"& .select-custom-icon":{marginTop:"-3.5px !important"},...o.sx}}),Ra=e=>ge.jsxs(v,{...e,sx:{"&.MuiMenuItem-root":{fontSize:"14px !important",gap:"4px",px:1},"&.Mui-selected":{backgroundColor:"var(--colors-gama-50) !important"}},children:[ge.jsx("span",{style:{width:"24px",justifyContent:"center",display:"flex"},children:e.selected&&ge.jsx(Xt,{icon:"mdi:tick",width:22,height:22,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{children:e.children})]}),za="_styledSelectAutocompleteWrapper_lfbvb_1",La="_select-custom-icon_lfbvb_5";function $a({dataTest:e,autoHeight:t,getOptionLabel:o,wrapperClassName:r,...a}){const[l,c]=n("auto"),d=s(null);i((()=>{var e,o;const r=(null==(e=d.current)?void 0:e.getBoundingClientRect().height)??0,n=(null==(o=d.current)?void 0:o.getBoundingClientRect().top)??0,i=window.innerHeight-n-r-40;t&&c(i>0?i:"auto")}),[t]);const u=t?{style:{maxHeight:"auto"===l?"auto":`${l}px`}}:{},p=e=>"object"==typeof e&&null!==e&&"label"in e?e.label:String(e);return ge.jsx("div",{className:ya(za,r),ref:d,children:ge.jsx(w,{...a,getOptionLabel:o,ListboxProps:{...u,sx:{"& .MuiAutocomplete-option":{paddingLeft:"6px !important"}}},className:si("!text-sm",a.className),popupIcon:a.popupIcon||ge.jsx(Xt,{icon:"material-symbols:expand-more-rounded",width:24,height:24,className:si(La)}),"data-test":e,PaperComponent:({children:t})=>ge.jsx(j,{"data-test":`paper-${e}`,sx:{padding:"0 !important",marginTop:"0px !important","& .MuiAutocomplete-option.Mui-focused":{background:"var(--colors-delta-50) !important"},"& li[aria-selected=true]":{background:"var(--colors-gama-50) !important"},"& li[aria-selected=true].MuiAutocomplete-option.Mui-focused":{background:"var(--colors-gama-50) !important"}},children:t}),renderOption:(null==a?void 0:a.renderOption)||((e,t,{selected:r})=>ge.jsxs("li",{...e,children:[ge.jsx("span",{style:{width:"24px",height:"22px",paddingRight:"4px",justifyContent:"center",alignContent:"center",display:"flex"},children:r&&ge.jsx(Xt,{icon:"mdi:tick",width:20,height:20,style:{color:"var(--colors-gama-500)"}})}),ge.jsx("span",{className:"flex-1 text-sm truncate",children:(null==o?void 0:o(t))||p(t)})]})),sx:{...a.sx,"& .MuiOutlinedInput-notchedOutline":{borderColor:"var(--colors-gama-500) !important"},"& .select-custom-icon":{marginTop:"-0.5px !important"},"& .MuiInputBase-inputSizeSmall":{minHeight:"23px !important"}}})})}const Pa=({dataTest:e,...t})=>{var o,r,n;return ge.jsx(k,{...t,"data-test":e,classes:{...t.classes},slotProps:{...t.slotProps,thumb:{className:si("w-4 h-4","before:shadow-none","vertical"===t.orientation?"ml-0 mb-1":"ml-1",t.disabled||!t.value?"bg-delta-200":"bg-gama-600"),...null==(o=t.slotProps)?void 0:o.thumb},rail:{className:"bg-delta-200",...null==(r=t.slotProps)?void 0:r.rail},markLabel:{className:si("text-delta-600 text-sm font-semibold ml-1","vertical"===t.orientation&&"mb-1"),...null==(n=t.slotProps)?void 0:n.markLabel}},sx:{...t.sx,"& .MuiSlider-track":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)"},"& .MuiSlider-mark":{backgroundColor:"white",border:"1px solid var(--colors-gray-200)",borderRadius:"50%",height:"8px",width:"8px","&.MuiSlider-markActive":{backgroundColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",border:"1px solid",borderColor:t.disabled?"var(--colors-gray-200)":"var(--colors-gama-600)",opacity:1}}}})};var Da,Fa,Aa={exports:{}},Ba={},Va={};
|
|
20
20
|
/**
|
|
21
21
|
* @license React
|
|
22
22
|
* react-jsx-runtime.production.min.js
|
|
@@ -35,4 +35,4 @@ import*as e from"react";import t,{forwardRef as o,createElement as r,useState as
|
|
|
35
35
|
* This source code is licensed under the MIT license found in the
|
|
36
36
|
* LICENSE file in the root directory of this source tree.
|
|
37
37
|
*/
|
|
38
|
-
"production"===process.env.NODE_ENV?ms.exports=function(){if(hs)return gs;hs=1;var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,l={},c=null,d=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)n.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return gs.Fragment=r,gs.jsx=s,gs.jsxs=s,gs}():ms.exports=(fs||(fs=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];!function(e,t,o){var r=y.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",o=o.concat([r]));var n=o.map((function(e){return String(e)}));n.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,n)}(0,e,o)}var b;function v(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&x("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 n:return"Fragment";case r:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return v(e)+".Consumer";case s:return v(e._context)+".Provider";case c:return function(e,t,o){var r=e.displayName;if(r)return r;var n=t.displayName||t.name||"";return""!==n?o+"("+n+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return w(m(f))}catch{return null}}return null}b=Symbol.for("react.module.reference");var j,k,C,N,_,S,T,E=Object.assign,O=0;function M(){}M.__reactDisabledLog=!0;var I,R=y.ReactCurrentDispatcher;function z(e,t,o){if(void 0===I)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);I=r&&r[1]||""}return"\n"+I+e}var L,$=!1,P="function"==typeof WeakMap?WeakMap:Map;function D(e,t){if(!e||$)return"";var o,r=L.get(e);if(void 0!==r)return r;$=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=R.current,R.current=null,function(){if(0===O){j=console.log,k=console.info,C=console.warn,N=console.error,_=console.group,S=console.groupCollapsed,T=console.groupEnd;var e={configurable:!0,enumerable:!0,value:M,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}O++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=o.stack.split("\n"),c=s.length-1,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&L.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{$=!1,R.current=n,function(){if(0==--O){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:j}),info:E({},e,{value:k}),warn:E({},e,{value:C}),error:E({},e,{value:N}),group:E({},e,{value:_}),groupCollapsed:E({},e,{value:S}),groupEnd:E({},e,{value:T})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?z(p):"";return"function"==typeof e&&L.set(e,h),h}function F(e,t,o){if(null==e)return"";if("function"==typeof e)return D(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return z(e);switch(e){case d:return z("Suspense");case u:return z("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return D(e,!1)}(e.render);case p:return F(e.type,t,o);case h:var n=e,i=n._payload,a=n._init;try{return F(a(i),t,o)}catch{}}return""}L=new P;var A=Object.prototype.hasOwnProperty,B={},q=y.ReactDebugCurrentFrame;function V(e){if(e){var t=e._owner,o=F(e.type,e._source,t?t.type:null);q.setExtraStackFrame(o)}else q.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,r,n,i,a,s){var l={$$typeof:o,type:e,key:t,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};var ee,te=y.ReactCurrentOwner,oe=y.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,o=F(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(o)}else oe.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ie();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ae[o]){ae[o]=!0;var r="";e&&e._owner&&e._owner!==te.current&&(r=" It was passed a child from "+w(e._owner.type)+"."),re(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,r),re(null)}}}function le(e,t){if("object"==typeof e)if(W(e))for(var o=0;o<e.length;o++){var r=e[o];ne(r)&&se(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var n=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof n&&n!==e.entries)for(var i,a=n.call(e);!(i=a.next()).done;)ne(i.value)&&se(i.value,t)}}function ce(e,t,r,m,g,y){var v,j=!("string"!=typeof(v=e)&&"function"!=typeof v&&v!==n&&v!==a&&v!==i&&v!==d&&v!==u&&v!==f&&("object"!=typeof v||null===v||v.$$typeof!==h&&v.$$typeof!==p&&v.$$typeof!==s&&v.$$typeof!==l&&v.$$typeof!==c&&v.$$typeof!==b&&void 0===v.getModuleId));if(!j){var k="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(k+=" 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,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);k+=N||ie(),null===e?C="null":W(e)?C="array":void 0!==e&&e.$$typeof===o?(C="<"+(w(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):C=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,k)}var _=function(e,t,o,r,n){var i,a,s,l,c={},d=null,u=null;for(i in void 0!==o&&(K(o),d=""+o),function(e){if(A.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),d=""+t.key),function(e){if(A.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var o=w(J.current.type);X[o]||(x('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',w(J.current.type),e.ref),X[o]=!0)}}(t,n)),t)A.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,s=h,(l=function(){G||(G=!0,x("%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)",s))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:l,configurable:!0})),u&&function(e,t){var o=function(){Y||(Y=!0,x("%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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(c,h)}return Q(e,d,u,n,r,J.current,c)}(e,t,r,g,y);if(null==_)return _;if(j){var S=t.children;if(void 0!==S)if(m)if(W(S)){for(var T=0;T<S.length;T++)le(S[T],e);Object.freeze&&Object.freeze(S)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else le(S,e)}return e===n?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var r=t[o];if("children"!==r&&"key"!==r){re(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),re(null);break}}null!==e.ref&&(re(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}(_):function(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var r=w(o);!function(e,t,o,r,n){var i=Function.call.bind(A);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(V(n),x("%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).",r||"React class",o,a,typeof s),V(null)),s instanceof Error&&!(s.message in B)&&(B[s.message]=!0,V(n),x("Failed %s type: %s",o,s.message),V(null))}}(t,e.props,"prop",r,e)}else void 0===o.PropTypes||ee||(ee=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(_),_}ys.Fragment=n,ys.jsx=function(e,t,o){return ce(e,t,o,!1)},ys.jsxs=function(e,t,o){return ce(e,t,o,!0)}}()),ys);var xs=ms.exports;function bs(e){return xs.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:xs.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:2,children:[xs.jsx("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z",children:xs.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),xs.jsxs("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12",children:[xs.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),xs.jsx("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})}function vs(e){return xs.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:xs.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}const ws=({className:e,contentToCopy:t,locale:o,messageInfo:r,text:n})=>{const i="en"===o?"Copy":"Kopier",a=pa();return ge.jsx(Xi,{title:i,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:ge.jsx(vs,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{r("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(n||i)})})})},js="_copy-wrapper_1gjzc_1",ks="_hidden-copy_1gjzc_1",Cs=({className:e,contentToCopy:t,locale:o,messageInfo:r,children:n})=>ge.jsxs("div",{className:ya("flex items-center gap-2 hover:text-gama-500",js,e),children:[n,ge.jsx(Xi,{title:"no"===o?"Kopier":"Copy",className:ks,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:ge.jsx(vs,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{r("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),Ns="_styled-widget-title_1gze6_1",_s=function(e){return ge.jsx("div",{className:Ns,children:e.children})},Ss="_styled-widget-header_1qk88_1",Ts=({actions:e,title:t,containerClassname:o,actionsClassname:r})=>ge.jsxs("div",{className:ya(Ss,o),children:[ge.jsx(_s,{children:t}),ge.jsx("div",{className:r,children:e})]}),Es="_asma-core-ui-styled-widget_cb7kt_1",Os="_widget-header_cb7kt_13",Ms="_widget-content_cb7kt_19",Is="_widget-footer_cb7kt_29",Rs="_widget-link_cb7kt_34";function zs(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function Ls(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const $s=({children:e,title:t,icon:o,link:r,viewMore:a,persistKey:s,isLoading:l,isEmpty:c,emptyText:d})=>{const[u,p]=n(!1);return i((()=>{if(s){const e=localStorage.getItem(s);p("true"===e)}}),[s]),i((()=>{s&&localStorage.setItem(s,String(u))}),[u,s]),ge.jsxs("div",{className:Es,children:[ge.jsxs("div",{className:Os,children:[o,ge.jsx(_s,{children:t})]}),ge.jsx("div",{className:Ms,children:ge.jsxs(ge.Fragment,{children:[e,ge.jsx(_a,{isLoading:l}),ge.jsx(Ca,{isEmpty:c,emptyText:d})]})}),ge.jsxs("div",{className:Is,children:[!a||null!=a&&a.hide?ge.jsx("div",{}):ge.jsx(ia,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:u?ge.jsx(zs,{width:20,height:20}):ge.jsx(Ls,{width:20,height:20}),onClick:()=>{var e;p(!u),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:u?a.viewLessText:a.viewMoreText}),r&&!r.hide?ge.jsx(os,{dataTest:"go-to-button",className:Rs,size:"small",href:r.href,onClick:r.onClick,content:r.content}):ge.jsx("div",{})]})]})},Ps="_styled-module-title_174mo_1",Ds=function(e){return ge.jsx("h1",{"data-test":e.dataTest,className:Ps,children:e.children})},Fs="_dialog_erjok_1",As="_hidden_erjok_9";function Bs(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function qs(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Vs="object"==typeof global&&global&&global.Object===Object&&global;var Hs="object"==typeof self&&self&&self.Object===Object&&self;const Ws=(Vs||Hs||Function("return this")()).Symbol;var Us=Object.prototype,Ks=Us.hasOwnProperty,Gs=Us.toString,Ys=Ws?Ws.toStringTag:void 0;var Xs=Object.prototype.toString;var Js="[object Null]",Zs="[object Undefined]",Qs=Ws?Ws.toStringTag:void 0;function el(e){return null==e?void 0===e?Zs:Js:Qs&&Qs in Object(e)?function(e){var t=Ks.call(e,Ys),o=e[Ys];try{e[Ys]=void 0;var r=!0}catch{}var n=Gs.call(e);return r&&(t?e[Ys]=o:delete e[Ys]),n}(e):function(e){return Xs.call(e)}(e)}const tl=Array.isArray;function ol(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=el(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const rl=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:r="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:s=!0,showFullScreenIcon:c=!0,title:d,label:u,children:p,open:h,onClose:f,className:m="",primaryButtonText:g,primaryButtonLoading:y=!1,secondaryButtonText:x,onPrimaryButtonClick:b,onSecondaryButtonClick:v,dataTest:w,actionNode:j,extraActions:k,extraActionsText:C,btnContainerClassName:N,footerClassName:_,footerInfo:S,locale:T="en",enableFullscreen:E=!0,fullScreenState:O,handleFullScreenState:M})=>{const[I,R]=n(!1),[z,L]=n(!1),{open:$,anchorEl:P,handleOpen:D,handleClose:F}=(()=>{const[e,t]=n(null),o=!!e,r=l((e=>{t(e.currentTarget)}),[]);return{open:o,handleClose:l((()=>{t(null)}),[]),handleOpen:r,anchorEl:e}})();if(!h)return null;const A=void 0!==O?O:z,B=g||y,q=B||x,V=()=>{R(!I)};return ge.jsxs(ge.Fragment,{children:[A&&!I&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsx("div",{style:{zIndex:51},className:ya(Fs,!I&&As),children:ge.jsxs("div",{className:si("flex items-center justify-between",!I&&"hidden"),"data-test":w,children:[ge.jsx("div",{className:"truncate text-lg font-semibold text-delta-800",children:d}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[s&&ge.jsx(Xi,{title:"en"===T?"Expand":"Utvid",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"text",size:"small",onClick:V,endIcon:s&&ge.jsx(yr,{height:20,width:20,color:"text-gama-500"}),children:o})})}),i&&ge.jsx(Xi,{title:"en"===T?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:f,endIcon:i&&ge.jsx(qo,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),ge.jsxs("div",{className:ya("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",m&&!I?m:"",I&&"!h-0 !w-0 opacity-0 duration-0",A&&!I&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0"),"data-test":w,children:[ge.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ge.jsxs("div",{className:"flex items-center justify-between",children:[u?ge.jsx("div",{className:"text-sm text-delta-700",children:u}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:d}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[j,a&&ge.jsx(Xi,{title:"en"===T?"Minimize":"Minimer",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:V,endIcon:a&&ge.jsx(gr,{height:20,width:20,color:"text-delta-700"}),children:t})})}),E&&c&&ge.jsx(Xi,{title:A?"en"===T?"Exit full screen":"Avslutt fullskjerm":"en"===T?"Full screen":"Fullskjerm",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{void 0!==O&&M?M():L(!z)},endIcon:A?ge.jsx(qs,{width:20,height:20,color:"text-delta-700"}):ge.jsx(Bs,{width:20,height:20,color:"text-delta-700"}),children:r})})}),i&&ge.jsx(Xi,{title:"en"===T?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:f,endIcon:ge.jsx(qo,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),u&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:d})]}),ge.jsxs("div",{className:si("flex flex-col",A&&!I&&"h-[87dvh]"),children:[ge.jsx("div",{className:"flex-grow overflow-y-auto",children:"function"==typeof p?p({fullScreen:A}):p}),(tl(k)&&null!=k&&k.length||ol(k))&&C||S?ge.jsxs("div",{className:ya("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",_),children:[tl(k)&&null!=k&&k.length&&C?ge.jsxs(ge.Fragment,{children:[ge.jsx(ia,{dataTest:"extra-actions-button",variant:"textGray",startIcon:ge.jsx(Io,{width:24,height:24}),onClick:D,children:C}),ge.jsx(Ga,{open:$,anchorEl:P,onClose:F,children:k.map((e=>ge.jsx(Ya,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):C&&ol(k)&&ge.jsx(ia,{dataTest:"extra-action-button",variant:"text",onClick:k,children:C})," ",S,q?ge.jsxs("div",{className:ya("flex justify-end gap-x-4",N),children:[x&&v&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:v,children:x}),B&&b&&ge.jsx(ia,{dataTest:"save-button",startIcon:y&&ge.jsx(bs,{width:24,height:24}),onClick:b,children:g})]}):null]}):ge.jsx(ge.Fragment,{children:q?ge.jsxs("div",{className:ya("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",N),children:[x&&v&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:v,children:x}),B&&b&&ge.jsx(ia,{dataTest:"save-button",startIcon:y&&ge.jsx(bs,{width:24,height:24}),onClick:b,children:g})]}):null})]})]})]})},nl=({showCloseIcon:e,tooltipTitle:t,onClick:o,title:r})=>e?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:o,endIcon:ge.jsx(qo,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null,il=({visibility:e,tooltipTitle:t,onClick:o,title:r,type:n})=>{if(!e)return null;const i="minimize"===n;return"expand"===n?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:o,endIcon:ge.jsx(yr,{height:20,width:20,color:"text-gama-500"}),children:r})})})}):i?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:o,endIcon:ge.jsx(gr,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null},al="_minimized-dialog_1tnc1_5",sl="_dialog_1tnc1_1",ll="_hidden_1tnc1_25",cl=({fullScreen:e,showFullScreenIcon:t,title:o,tooltipTitle:r,onClick:n})=>t?ge.jsx(ge.Fragment,{children:t&&ge.jsx(Xi,{title:r,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:n,endIcon:e?ge.jsx(qs,{width:20,height:20,color:"text-delta-700"}):ge.jsx(Bs,{width:20,height:20,color:"text-delta-700"}),children:o})})})}):null,dl=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:r="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:s=!0,enableFullscreen:l=!0,fullScreenState:c,handleFullScreenState:d,title:u,label:p,children:h,open:f,onClose:m,classNameOverrides:g={maximized:"",minimized:"",fullscreen:""},dataTest:y,actionNode:x,tooltipOverrides:b={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[v,w]=n(!1),[j,k]=n(!1);if(!f)return null;const C=void 0!==c?c:j,N=()=>{w(!v)};return ge.jsxs(ge.Fragment,{children:[ge.jsx("div",{style:{zIndex:51},className:ya(al,!v&&ll,g.minimized),children:ge.jsxs("div",{className:si("flex items-center justify-between",!v&&"hidden"),"data-test":y,children:[ge.jsx("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:ge.jsx(Xi,{title:u,placement:"top",children:ge.jsx("div",{className:"truncate",children:u})})}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[ge.jsx(il,{type:"expand",visibility:s,onClick:N,title:o,tooltipTitle:b.maximized||"Expand"}),ge.jsx(nl,{showCloseIcon:i,onClick:m,title:e,tooltipTitle:b.close||"Close"})]})]})}),C&&!v&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsxs("div",{style:{zIndex:51},className:ya(sl,v&&ll,g.maximized,C&&!v&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0",C&&g.fullscreen),children:[ge.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ge.jsxs("div",{className:"flex items-center justify-between",children:[p?ge.jsx("div",{className:"text-sm text-delta-700",children:p}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:u}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[x,ge.jsx(il,{visibility:a,type:"minimize",onClick:N,title:t,tooltipTitle:b.minimized||"Minimize"}),ge.jsx(cl,{showFullScreenIcon:l,fullScreen:C,onClick:()=>{void 0!==c&&d?d():k(!j)},title:r,tooltipTitle:b.fullscreen||(C?"Exit full screen":"Full screen")}),ge.jsx(nl,{showCloseIcon:i,onClick:m,title:e,tooltipTitle:b.close||"Close"})]})]}),p&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:u})]}),ge.jsx("div",{className:ya(v&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:h})]})]})};export{Po as ArchiveIcon,bo as AssignmentIcon,vo as AssignmentOutlineIcon,B as Avatar,br as BadgeIcon,eo as BellIcon,Qt as BellOutlineIcon,rr as CalendarBlankOutlineIcon,go as CalendarIcon,xo as CalendarRangeIcon,Fo as CheckBoxCheckedIcon,mo as CheckFactIcon,fo as CheckFactOutlineIcon,Vo as CheckIcon,ho as CheckOutlineIcon,no as ChevronDoubleLeftIcon,io as ChevronDoubleRightIcon,Ao as ChevronDownIcon,ro as ChevronLeftIcon,oo as ChevronRightIcon,Bo as ChevronUpIcon,q as ClickAwayListener,qo as CloseIcon,mr as ConsentsIcon,V as Container,ws as CopyButton,Cs as CopyWrapper,lo as DashboardViewIcon,co as DashboardViewOutlineIcon,Jo as DeleteOutlineIcon,Io as DotsVerticalIcon,Do as DownloadIcon,Yo as DragHorizontalIcon,$o as DropDownIcon,Lo as DropUpIcon,er as DvrIcon,dr as EarthIcon,vr as EditSquareIcon,tr as ErrorOutlineIcon,H as Fade,ir as FastCheckOutlineIcon,Xo as FilePdfIcon,Zo as FilterIcon,To as FindReplaceIcon,Eo as FindReplacePeopleIcon,W as FormLabel,to as HamburgerIcon,Cr as HandymanIcon,kr as HandymanOutlineIcon,Uo as InboxOutboxIcon,Ko as InboxOutboxOutlineIcon,yr as KeyboardCapslockIcon,nr as LinkOutlineIcon,wo as ListNumberedIcon,cr as ListSettingsLineIcon,sr as ListStatusIcon,zo as LoadingIcon,Qo as LockIcon,jo as MessageProcessingIcon,ko as MessageProcessingOutlineIcon,xr as MessageReplyIcon,rl as MinimizableDialog,dl as MinimizableDialogV2,gr as MinimizeIcon,yo as NewCalendarIcon,fr as OutlineCalendarMonth,U as Paper,so as PdfIcon,pr as PencilOutlineIcon,po as PeopleIcon,uo as PeopleOutlineIcon,Ho as PermMediaIcon,Wo as PermMediaOutline,Oo as PersonIcon,Mo as PersonOutlineIcon,Nr as PinIcon,wr as PlusIcon,jr as PlusIconCircle,K as Popper,ao as QnrIcon,or as ReplayIcon,Co as ReportBoxIcon,No as ReportBoxOutlineIcon,Ro as SearchIcon,_o as SettingsIcon,ur as SettingsMenuHorizontalIcon,So as SettingsOutlineIcon,G as Skeleton,Y as Stack,is as StyledAccordion,ss as StyledAccordionDetails,as as StyledAccordionSummary,ye as StyledBadge,ia as StyledButton,Sa as StyledCheckbox,Sr as StyledChip,ha as StyledDialog,xa as StyledDialogActions,va as StyledDialogContent,ja as StyledDialogTitle,Ka as StyledDrawer,Ca as StyledEmptyPage,cs as StyledFilterButton,ps as StyledFilterMenu,qa as StyledFormControl,Va as StyledFormControlLabel,Ua as StyledFormGroup,Ha as StyledFormHelperText,oa as StyledFormLabel,Ta as StyledInputField,Wa as StyledInputLabel,Tr as StyledInteractiveChip,Ba as StyledLabel,os as StyledLink,_a as StyledLoading,Ga as StyledMenu,Ya as StyledMenuItem,Xa as StyledMenuList,Ds as StyledModuleTitle,ls as StyledPopover,Fa as StyledRadio,Aa as StyledRadioGroup,Ea as StyledSearchField,Ia as StyledSelect,$a as StyledSelectAutocomplete,Ra as StyledSelectItem,Pa as StyledSlider,Da as StyledSwitch,rs as StyledTab,ns as StyledTabs,Ma as StyledTextarea,Xi as StyledTooltip,Ji as StyledTypography,$s as StyledWidget,Ts as StyledWidgetHeader,_s as StyledWidgetTitle,lr as TextBoxCheckOutlineIcon,Go as TopicIcon,ar as UnknownDocumentOutlineRoundedIcon,hr as WarningAmberOutlineIcon,_r as WorkIcon,ee as omit,de as prepareForSlot,le as setMidnightTime,ce as setZeroTime};
|
|
38
|
+
"production"===process.env.NODE_ENV?Aa.exports=function(){if(Da)return Ba;Da=1;var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,l={},c=null,d=null;for(s in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(d=t.ref),t)n.call(t,s)&&!a.hasOwnProperty(s)&&(l[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===l[s]&&(l[s]=t[s]);return{$$typeof:o,type:e,key:c,ref:d,props:l,_owner:i.current}}return Ba.Fragment=r,Ba.jsx=s,Ba.jsxs=s,Ba}():Aa.exports=(Fa||(Fa=1,"production"!==process.env.NODE_ENV&&function(){var e=t,o=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),m=Symbol.iterator,g="@@iterator",y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];!function(e,t,o){var r=y.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",o=o.concat([r]));var n=o.map((function(e){return String(e)}));n.unshift("Warning: "+t),Function.prototype.apply.call(console.error,console,n)}(0,e,o)}var b;function v(e){return e.displayName||"Context"}function w(e){if(null==e)return null;if("number"==typeof e.tag&&x("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 n:return"Fragment";case r:return"Portal";case a:return"Profiler";case i:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case l:return v(e)+".Consumer";case s:return v(e._context)+".Provider";case c:return function(e,t,o){var r=e.displayName;if(r)return r;var n=t.displayName||t.name||"";return""!==n?o+"("+n+")":o}(e,e.render,"ForwardRef");case p:var t=e.displayName||null;return null!==t?t:w(e.type)||"Memo";case h:var o=e,f=o._payload,m=o._init;try{return w(m(f))}catch{return null}}return null}b=Symbol.for("react.module.reference");var j,k,C,N,_,S,T,E=Object.assign,O=0;function M(){}M.__reactDisabledLog=!0;var I,R=y.ReactCurrentDispatcher;function z(e,t,o){if(void 0===I)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);I=r&&r[1]||""}return"\n"+I+e}var L,$=!1,P="function"==typeof WeakMap?WeakMap:Map;function D(e,t){if(!e||$)return"";var o,r=L.get(e);if(void 0!==r)return r;$=!0;var n,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,n=R.current,R.current=null,function(){if(0===O){j=console.log,k=console.info,C=console.warn,N=console.error,_=console.group,S=console.groupCollapsed,T=console.groupEnd;var e={configurable:!0,enumerable:!0,value:M,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}O++}();try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){o=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){o=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){o=e}e()}}catch(t){if(t&&o&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=o.stack.split("\n"),c=s.length-1,d=l.length-1;c>=1&&d>=0&&s[c]!==l[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==l[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==l[d]){var u="\n"+s[c].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),"function"==typeof e&&L.set(e,u),u}}while(c>=1&&d>=0);break}}}finally{$=!1,R.current=n,function(){if(0==--O){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},e,{value:j}),info:E({},e,{value:k}),warn:E({},e,{value:C}),error:E({},e,{value:N}),group:E({},e,{value:_}),groupCollapsed:E({},e,{value:S}),groupEnd:E({},e,{value:T})})}O<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?z(p):"";return"function"==typeof e&&L.set(e,h),h}function F(e,t,o){if(null==e)return"";if("function"==typeof e)return D(e,!(!(r=e.prototype)||!r.isReactComponent));var r;if("string"==typeof e)return z(e);switch(e){case d:return z("Suspense");case u:return z("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case c:return function(e,t,o){return D(e,!1)}(e.render);case p:return F(e.type,t,o);case h:var n=e,i=n._payload,a=n._init;try{return F(a(i),t,o)}catch{}}return""}L=new P;var A=Object.prototype.hasOwnProperty,B={},V=y.ReactDebugCurrentFrame;function q(e){if(e){var t=e._owner,o=F(e.type,e._source,t?t.type:null);V.setExtraStackFrame(o)}else V.setExtraStackFrame(null)}var H=Array.isArray;function W(e){return H(e)}function U(e){return""+e}function K(e){if(function(e){try{return U(e),!1}catch{return!0}}(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",(t=e,"function"==typeof Symbol&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object")),U(e);var t}var G,Y,X,J=y.ReactCurrentOwner,Z={key:!0,ref:!0,__self:!0,__source:!0};X={};var Q=function(e,t,r,n,i,a,s){var l={$$typeof:o,type:e,key:t,ref:r,props:s,_owner:a,_store:{}};return Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};var ee,te=y.ReactCurrentOwner,oe=y.ReactDebugCurrentFrame;function re(e){if(e){var t=e._owner,o=F(e.type,e._source,t?t.type:null);oe.setExtraStackFrame(o)}else oe.setExtraStackFrame(null)}function ne(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}function ie(){if(te.current){var e=w(te.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}ee=!1;var ae={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var o=function(e){var t=ie();if(!t){var o="string"==typeof e?e:e.displayName||e.name;o&&(t="\n\nCheck the top-level render call using <"+o+">.")}return t}(t);if(!ae[o]){ae[o]=!0;var r="";e&&e._owner&&e._owner!==te.current&&(r=" It was passed a child from "+w(e._owner.type)+"."),re(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,r),re(null)}}}function le(e,t){if("object"==typeof e)if(W(e))for(var o=0;o<e.length;o++){var r=e[o];ne(r)&&se(r,t)}else if(ne(e))e._store&&(e._store.validated=!0);else if(e){var n=function(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e[g];return"function"==typeof t?t:null}(e);if("function"==typeof n&&n!==e.entries)for(var i,a=n.call(e);!(i=a.next()).done;)ne(i.value)&&se(i.value,t)}}function ce(e,t,r,m,g,y){var v,j=!("string"!=typeof(v=e)&&"function"!=typeof v&&v!==n&&v!==a&&v!==i&&v!==d&&v!==u&&v!==f&&("object"!=typeof v||null===v||v.$$typeof!==h&&v.$$typeof!==p&&v.$$typeof!==s&&v.$$typeof!==l&&v.$$typeof!==c&&v.$$typeof!==b&&void 0===v.getModuleId));if(!j){var k="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(k+=" 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,N=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(g);k+=N||ie(),null===e?C="null":W(e)?C="array":void 0!==e&&e.$$typeof===o?(C="<"+(w(e.type)||"Unknown")+" />",k=" Did you accidentally export a JSX literal instead of a component?"):C=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,k)}var _=function(e,t,o,r,n){var i,a,s,l,c={},d=null,u=null;for(i in void 0!==o&&(K(o),d=""+o),function(e){if(A.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(K(t.key),d=""+t.key),function(e){if(A.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}(t)&&(u=t.ref,function(e,t){if("string"==typeof e.ref&&J.current&&t&&J.current.stateNode!==t){var o=w(J.current.type);X[o]||(x('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',w(J.current.type),e.ref),X[o]=!0)}}(t,n)),t)A.call(t,i)&&!Z.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var p=e.defaultProps;for(i in p)void 0===c[i]&&(c[i]=p[i])}if(d||u){var h="function"==typeof e?e.displayName||e.name||"Unknown":e;d&&(a=c,s=h,(l=function(){G||(G=!0,x("%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)",s))}).isReactWarning=!0,Object.defineProperty(a,"key",{get:l,configurable:!0})),u&&function(e,t){var o=function(){Y||(Y=!0,x("%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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}(c,h)}return Q(e,d,u,n,r,J.current,c)}(e,t,r,g,y);if(null==_)return _;if(j){var S=t.children;if(void 0!==S)if(m)if(W(S)){for(var T=0;T<S.length;T++)le(S[T],e);Object.freeze&&Object.freeze(S)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else le(S,e)}return e===n?function(e){for(var t=Object.keys(e.props),o=0;o<t.length;o++){var r=t[o];if("children"!==r&&"key"!==r){re(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),re(null);break}}null!==e.ref&&(re(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),re(null))}(_):function(e){var t,o=e.type;if(null!=o&&"string"!=typeof o){if("function"==typeof o)t=o.propTypes;else{if("object"!=typeof o||o.$$typeof!==c&&o.$$typeof!==p)return;t=o.propTypes}if(t){var r=w(o);!function(e,t,o,r,n){var i=Function.call.bind(A);for(var a in e)if(i(e,a)){var s=void 0;try{if("function"!=typeof e[a]){var l=Error((r||"React class")+": "+o+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw l.name="Invariant Violation",l}s=e[a](t,a,r,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s instanceof Error)&&(q(n),x("%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).",r||"React class",o,a,typeof s),q(null)),s instanceof Error&&!(s.message in B)&&(B[s.message]=!0,q(n),x("Failed %s type: %s",o,s.message),q(null))}}(t,e.props,"prop",r,e)}else void 0===o.PropTypes||ee||(ee=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",w(o)||"Unknown"));"function"==typeof o.getDefaultProps&&!o.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}(_),_}Va.Fragment=n,Va.jsx=function(e,t,o){return ce(e,t,o,!1)},Va.jsxs=function(e,t,o){return ce(e,t,o,!0)}}()),Va);var qa=Aa.exports;function Ha(e){return qa.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:qa.jsxs("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:2,children:[qa.jsx("path",{strokeDasharray:60,strokeDashoffset:60,strokeOpacity:.3,d:"M12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3Z",children:qa.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"1.3s",values:"60;0"})}),qa.jsxs("path",{strokeDasharray:15,strokeDashoffset:15,d:"M12 3C16.9706 3 21 7.02944 21 12",children:[qa.jsx("animate",{fill:"freeze",attributeName:"stroke-dashoffset",dur:"0.3s",values:"15;0"}),qa.jsx("animateTransform",{attributeName:"transform",dur:"1.5s",repeatCount:"indefinite",type:"rotate",values:"0 12 12;360 12 12"})]})]})})}function Wa(e){return qa.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:qa.jsx("path",{fill:"currentColor",d:"M9 16.17L4.83 12l-1.42 1.41L9 19L21 7l-1.41-1.41z"})})}function Ua(e){return qa.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:qa.jsx("path",{fill:"currentColor",d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})})}function Ka(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:ge.jsx("path",{d:"M5.83398 10.8332V9.1665H14.1673V10.8332H5.83398Z",fill:"currentColor"})})}const Ga="_thumb-checked_13s7s_1",Ya="_disabled_13s7s_7",Xa="_thumb-unchecked_13s7s_11",Ja=({dataTest:e,disabled:t,...o})=>ge.jsx(C,{...o,disabled:t,"data-test":e,checkedIcon:ge.jsx("div",{className:ya(Ga,t&&Ya),children:ge.jsx(Wa,{color:"white",height:14,width:14,className:"rounded-full"})}),icon:ge.jsx("div",{className:ya(Xa,t&&Ya),children:ge.jsx(Ka,{color:"var(--colors-delta-600)",height:20,width:20,className:"rounded-full"})}),sx:{"& .MuiButtonBase-root.Mui-checked":{color:"var(--colors-gama-500) !important"},"& .MuiSwitch-track":{backgroundColor:"var(--colors-delta-400) !important",opacity:"1 !important"},"& .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-500) !important"},"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-200) !important"},"& .PrivateSwitchBase-input.MuiSwitch-input":{height:"100% !important"},"& .MuiSwitch-input:not(:checked) ~ .MuiSwitch-thumb":{backgroundColor:"var(--colors-gray-10) !important",outline:"1px solid var(--colors-delta-200) !important",outlineOffset:"0px !important"},"& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-delta-200) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-delta-50) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track":{backgroundColor:"var(--colors-gama-100) !important",opacity:"1 !important"},"& .MuiSwitch-switchBase.Mui-checked.Mui-disabled .MuiSwitch-thumb":{backgroundColor:"var(--colors-gama-300) !important",opacity:"1 !important"}}}),Za=({dataTest:e,...t})=>ge.jsx(N,{...t,"data-test":e,sx:{"&":{color:"var(--colors-delta-500)"},"& input":{height:"100% !important",width:"100% !important"},"&.Mui-checked":{color:"var(--colors-gama-500)"}}}),Qa=({dataTest:e,...t})=>ge.jsx(_,{"data-test":e,...t}),es=({children:e,onClick:t,className:o,dataTest:r,style:n})=>ge.jsx("div",{className:si("_styled-label_1fp95_1",o),style:n,onClick:t,"data-test":r,children:e}),ts=e=>ge.jsx(S,{...e,sx:{...e.sx,"& label.MuiInputLabel-shrink":{background:"white !important",color:"var(--colors-delta-500) !important"},"& label.MuiInputLabel-shrink.Mui-focused":{background:"white !important",color:"var(--colors-gama-500) !important"},"& label.MuiInputLabel-shrink.Mui-error.Mui-focused":{background:"white !important",color:"var(--colors-red-500) !important"}}}),os=({sx:e,...t})=>ge.jsx(T,{...t,sx:{color:"var(--colors-delta-800)",margin:0,"& .MuiFormControlLabel-label":{fontSize:"14px",lineHeight:"20px"},"&.Mui-disabled .MuiFormControlLabel-label":{color:"var(--colors-delta-300)"},...e}}),rs=e=>ge.jsx(E,{...e}),ns=e=>ge.jsx(O,{...e}),is=e=>ge.jsx(M,{...e}),as=e=>ge.jsx(I,{...e}),ss=e=>{var t,o;return ge.jsx(R,{...e,classes:{paper:si("border border-solid border-delta-300 shadow-[0px_2px_4px_0px_rgba(34,_33,_51,_0.15)]",null==(t=e.classes)?void 0:t.paper),list:si("py-1",null==(o=e.classes)?void 0:o.list),...e.classes}})},ls=e=>{var t;return ge.jsx(v,{...e,classes:{root:si("px-3 py-2.5",null==(t=e.classes)?void 0:t.root),...e.classes}})},cs=e=>ge.jsx(z,{...e}),ds="_styled-link_hyb3l_1",us="_styled-link-disabled_hyb3l_16",ps="_styled-link-xs_hyb3l_32",hs="_styled-link-small_hyb3l_37",fs="_styled-link-large_hyb3l_42",ms=({href:e,disabled:t,size:o="large",dataTest:r,reflink:n,className:i,content:a,contentNode:s,...l})=>{let c=fs;switch(o){case"small":c=hs;break;case"xs":c=ps;break;default:c=fs}return t?ge.jsxs("span",{className:si(ds,us,c,i),children:[a,s]}):ge.jsxs("a",{...l,"data-test":r,ref:n,href:e,className:si(ds,c,i),children:[a,s]})},gs=e=>ge.jsx(L,{...e,sx:{letterSpacing:"normal","&.MuiTab-textColorPrimary.Mui-selected":{color:"var(--colors-gama-500)"},"&.MuiTab-textColorPrimary":{color:"var(--colors-gray-500)"},"&.MuiTab-textColorPrimary.Mui-disabled":{color:"var(--colors-gray-300)"}}}),ys=e=>ge.jsx($,{...e,TabIndicatorProps:{style:{background:"var(--colors-gama-500)",color:"var(--colors-gama-500)"}},sx:{"& .MuiTabs-scrollButtons":{border:"1px solid var(--colors-delta-500)",width:40,height:40,borderRadius:"10%",display:"none",justifyContent:"center",alignItems:"center",position:"relative",top:2,"& svg":{fontSize:24,color:"var(--colors-delta-700)"},"&:hover":{backgroundColor:"var(--colors-gama-50)"},"&:first-of-type":{marginRight:"8px"},"&:last-of-type":{marginLeft:"8px"},transition:"opacity 0.3s ease, transform 0.3s ease",opacity:0,transform:"scale(0)"},"& .MuiTabs-scrollButtons.Mui-disabled":{display:"none"},"& .MuiTabs-scrollButtons:not(.Mui-disabled)":{display:"flex",opacity:1,transform:"scale(1)"}}}),xs=e=>ge.jsx(P,{...e}),bs=e=>ge.jsx(D,{...e,className:si("flex-row-reverse gap-2.5",e.className),expandIcon:ge.jsx(Ao,{width:24,height:24}),sx:{...e.sx,backgroundColor:"transparent !important","& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(180deg)"},"& .MuiAccordionSummary-expandIconWrapper:not(.Mui-expanded)":{transform:"rotate(0deg)"}}}),vs=e=>ge.jsx(F,{...e}),ws=e=>ge.jsx(A,{...e}),js=({filterIsActive:e,label:t,size:o="large",variant:r="outlined",...n})=>ge.jsx(ge.Fragment,{children:ge.jsxs("div",{className:"w-fit h-fit relative",children:[ge.jsx(ia,{...n,type:"button",startIcon:ge.jsx(Zo,{width:"large"===o?24:20,height:"large"===o?24:20}),variant:r,size:o,children:t||"Filter"}),e&&ge.jsx("div",{className:si("h-2 w-2 bg-gama-400 rounded-full absolute","large"===o?"top-2 right-2":"top-1 right-1")})]})}),ks=()=>{const[e,t]=n(null),o=()=>{t((()=>null))};return{anchorEl:e,onClose:o,onAnchorClick:r=>{e?o():(e=>{t((()=>e.currentTarget))})(r)}}},Cs=e=>t.isValidElement(e)||"string"==typeof e||"number"==typeof e||null===e||Array.isArray(e),Ns=({filterIsActive:e,popoverContent:o,dataTest:r,disabled:n,size:i="large",variant:a="outlined",popoverProps:s,anchorNode:l,label:c})=>{const{onAnchorClick:d,onClose:u,anchorEl:p}=ks();return ge.jsxs(ge.Fragment,{children:[ge.jsxs("div",{className:"w-fit h-fit relative",children:[l?t.cloneElement(l({isOpen:!!p,onClose:u}),{onClick:d}):ge.jsx(ia,{type:"button",disabled:n,variant:a,startIcon:ge.jsx(Zo,{width:"large"===i?24:20,height:"large"===i?24:20}),onClick:d,size:i,dataTest:r,children:c||"Filter"}),e&&ge.jsx("div",{className:si("h-2 w-2 bg-gama-400 rounded-full absolute","large"===i?"top-2 right-2":"top-1 right-1")})]}),ge.jsx(ws,{...s,open:!!p,anchorEl:p,onClose:u,anchorOrigin:(null==s?void 0:s.anchorOrigin)||{vertical:"bottom",horizontal:"right"},transformOrigin:(null==s?void 0:s.transformOrigin)||{vertical:"top",horizontal:"right"},className:(null==s?void 0:s.className)||"my-1",children:Cs(o)?o:o({isOpen:!!p,onClose:u})})]})},_s=({className:e,contentToCopy:t,locale:o,messageInfo:r,text:n})=>{const i="en"===o?"Copy":"Kopier",a=pa();return ge.jsx(Xi,{title:i,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",className:e,size:"small",variant:"text",startIcon:ge.jsx(Ua,{width:20,height:20}),onClick:()=>{navigator.clipboard.writeText(t).then((()=>{r("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))},children:!a&&(n||i)})})})},Ss="_copy-wrapper_1gjzc_1",Ts="_hidden-copy_1gjzc_1",Es=({className:e,contentToCopy:t,locale:o,messageInfo:r,children:n})=>ge.jsxs("div",{className:ya("flex items-center gap-2 hover:text-gama-500",Ss,e),children:[n,ge.jsx(Xi,{title:"no"===o?"Kopier":"Copy",className:Ts,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"copy-button",size:"small",variant:"text",className:"cursor-pointer",children:ge.jsx(Ua,{width:20,height:20,className:"text-gama-500 hover:text-delta-700",onClick:()=>{navigator.clipboard.writeText(t).then((()=>{r("no"===o?"Kopieres til utklippstavlen":"Copied to clipboard")}))}})})})})]}),Os="_styled-widget-title_1gze6_1",Ms=function(e){return ge.jsx("div",{className:Os,children:e.children})},Is="_styled-widget-header_1qk88_1",Rs=({actions:e,title:t,containerClassname:o,actionsClassname:r})=>ge.jsxs("div",{className:ya(Is,o),children:[ge.jsx(Ms,{children:t}),ge.jsx("div",{className:r,children:e})]}),zs="_asma-core-ui-styled-widget_cb7kt_1",Ls="_widget-header_cb7kt_13",$s="_widget-content_cb7kt_19",Ps="_widget-footer_cb7kt_29",Ds="_widget-link_cb7kt_34";function Fs(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6l-6 6z"})})}function As(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"})})}const Bs=({children:e,title:t,icon:o,link:r,viewMore:a,persistKey:s,isLoading:l,isEmpty:c,emptyText:d})=>{const[u,p]=n(!1);return i((()=>{if(s){const e=localStorage.getItem(s);p("true"===e)}}),[s]),i((()=>{s&&localStorage.setItem(s,String(u))}),[u,s]),ge.jsxs("div",{className:zs,children:[ge.jsxs("div",{className:Ls,children:[o,ge.jsx(Ms,{children:t})]}),ge.jsx("div",{className:$s,children:ge.jsxs(ge.Fragment,{children:[e,ge.jsx(_a,{isLoading:l}),ge.jsx(Ca,{isEmpty:c,emptyText:d})]})}),ge.jsxs("div",{className:Ps,children:[!a||null!=a&&a.hide?ge.jsx("div",{}):ge.jsx(ia,{disabled:a.disabled,dataTest:"view-more",variant:"text",endIcon:u?ge.jsx(Fs,{width:20,height:20}):ge.jsx(As,{width:20,height:20}),onClick:()=>{var e;p(!u),null==(e=null==a?void 0:a.onClick)||e.call(a)},children:u?a.viewLessText:a.viewMoreText}),r&&!r.hide?ge.jsx(ms,{dataTest:"go-to-button",className:Ds,size:"small",href:r.href,onClick:r.onClick,content:r.content}):ge.jsx("div",{})]})]})},Vs="_styled-module-title_174mo_1",qs=function(e){return ge.jsx("h1",{"data-test":e.dataTest,className:Vs,children:e.children})},Hs="_dialog_erjok_1",Ws="_hidden_erjok_9";function Us(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M10 21v-2H6.41l4.5-4.5l-1.41-1.41l-4.5 4.5V14H3v7zm4.5-10.09l4.5-4.5V10h2V3h-7v2h3.59l-4.5 4.5z"})})}function Ks(e){return ge.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...e,children:ge.jsx("path",{fill:"currentColor",d:"M19.5 3.09L15 7.59V4h-2v7h7V9h-3.59l4.5-4.5zM4 13v2h3.59l-4.5 4.5l1.41 1.41l4.5-4.5V20h2v-7z"})})}const Gs="object"==typeof global&&global&&global.Object===Object&&global;var Ys="object"==typeof self&&self&&self.Object===Object&&self;const Xs=(Gs||Ys||Function("return this")()).Symbol;var Js=Object.prototype,Zs=Js.hasOwnProperty,Qs=Js.toString,el=Xs?Xs.toStringTag:void 0;var tl=Object.prototype.toString;var ol="[object Null]",rl="[object Undefined]",nl=Xs?Xs.toStringTag:void 0;function il(e){return null==e?void 0===e?rl:ol:nl&&nl in Object(e)?function(e){var t=Zs.call(e,el),o=e[el];try{e[el]=void 0;var r=!0}catch{}var n=Qs.call(e);return r&&(t?e[el]=o:delete e[el]),n}(e):function(e){return tl.call(e)}(e)}const al=Array.isArray;function sl(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=il(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}const ll=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:r="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:s=!0,showFullScreenIcon:c=!0,title:d,label:u,children:p,open:h,onClose:f,className:m="",primaryButtonText:g,primaryButtonLoading:y=!1,secondaryButtonText:x,onPrimaryButtonClick:b,onSecondaryButtonClick:v,dataTest:w,actionNode:j,extraActions:k,extraActionsText:C,btnContainerClassName:N,footerClassName:_,footerInfo:S,locale:T="en",enableFullscreen:E=!0,fullScreenState:O,handleFullScreenState:M})=>{const[I,R]=n(!1),[z,L]=n(!1),{open:$,anchorEl:P,handleOpen:D,handleClose:F}=(()=>{const[e,t]=n(null),o=!!e,r=l((e=>{t(e.currentTarget)}),[]);return{open:o,handleClose:l((()=>{t(null)}),[]),handleOpen:r,anchorEl:e}})();if(!h)return null;const A=void 0!==O?O:z,B=g||y,V=B||x,q=()=>{R(!I)};return ge.jsxs(ge.Fragment,{children:[A&&!I&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsx("div",{style:{zIndex:51},className:ya(Hs,!I&&Ws),children:ge.jsxs("div",{className:si("flex items-center justify-between",!I&&"hidden"),"data-test":w,children:[ge.jsx("div",{className:"truncate text-lg font-semibold text-delta-800",children:d}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[s&&ge.jsx(Xi,{title:"en"===T?"Expand":"Utvid",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"text",size:"small",onClick:q,endIcon:s&&ge.jsx(yr,{height:20,width:20,color:"text-gama-500"}),children:o})})}),i&&ge.jsx(Xi,{title:"en"===T?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:f,endIcon:i&&ge.jsx(Vo,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]})}),ge.jsxs("div",{className:ya("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300",m&&!I?m:"",I&&"!h-0 !w-0 opacity-0 duration-0",A&&!I&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0"),"data-test":w,children:[ge.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ge.jsxs("div",{className:"flex items-center justify-between",children:[u?ge.jsx("div",{className:"text-sm text-delta-700",children:u}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:d}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[j,a&&ge.jsx(Xi,{title:"en"===T?"Minimize":"Minimer",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"minimize-button",variant:"textGray",size:"small",onClick:q,endIcon:a&&ge.jsx(gr,{height:20,width:20,color:"text-delta-700"}),children:t})})}),E&&c&&ge.jsx(Xi,{title:A?"en"===T?"Exit full screen":"Avslutt fullskjerm":"en"===T?"Full screen":"Fullskjerm",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:()=>{void 0!==O&&M?M():L(!z)},endIcon:A?ge.jsx(Ks,{width:20,height:20,color:"text-delta-700"}):ge.jsx(Us,{width:20,height:20,color:"text-delta-700"}),children:r})})}),i&&ge.jsx(Xi,{title:"en"===T?"Close":"Lukk",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:f,endIcon:ge.jsx(Vo,{height:20,width:20,color:"text-delta-700"}),children:e})})})]})]}),u&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:d})]}),ge.jsxs("div",{className:si("flex flex-col",A&&!I&&"h-[87dvh]"),children:[ge.jsx("div",{className:"flex-grow overflow-y-auto",children:"function"==typeof p?p({fullScreen:A}):p}),(al(k)&&null!=k&&k.length||sl(k))&&C||S?ge.jsxs("div",{className:ya("flex items-center justify-between p-4 border-0 border-t-[1px] border-solid border-delta-200 bg-white",_),children:[al(k)&&null!=k&&k.length&&C?ge.jsxs(ge.Fragment,{children:[ge.jsx(ia,{dataTest:"extra-actions-button",variant:"textGray",startIcon:ge.jsx(Io,{width:24,height:24}),onClick:D,children:C}),ge.jsx(ss,{open:$,anchorEl:P,onClose:F,children:k.map((e=>ge.jsx(ls,{className:e.className,onClick:e.onClick,children:e.label},e.label)))})]}):C&&sl(k)&&ge.jsx(ia,{dataTest:"extra-action-button",variant:"text",onClick:k,children:C})," ",S,V?ge.jsxs("div",{className:ya("flex justify-end gap-x-4",N),children:[x&&v&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:v,children:x}),B&&b&&ge.jsx(ia,{dataTest:"save-button",startIcon:y&&ge.jsx(Ha,{width:24,height:24}),onClick:b,children:g})]}):null]}):ge.jsx(ge.Fragment,{children:V?ge.jsxs("div",{className:ya("flex justify-end gap-x-4 border-t-[1px] border-delta-200 p-4",N),children:[x&&v&&ge.jsx(ia,{dataTest:"cancel-button",variant:"outlined",onClick:v,children:x}),B&&b&&ge.jsx(ia,{dataTest:"save-button",startIcon:y&&ge.jsx(Ha,{width:24,height:24}),onClick:b,children:g})]}):null})]})]})]})},cl=({showCloseIcon:e,tooltipTitle:t,onClick:o,title:r})=>e?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"close-button",variant:"textGray",size:"small",onClick:o,endIcon:ge.jsx(Vo,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null,dl=({visibility:e,tooltipTitle:t,onClick:o,title:r,type:n})=>{if(!e)return null;const i="minimize"===n;return"expand"===n?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"toggle-minimize-btn",variant:"text",size:"small",onClick:o,endIcon:ge.jsx(yr,{height:20,width:20,color:"text-gama-500"}),children:r})})})}):i?ge.jsx("div",{children:ge.jsx(Xi,{title:t,placement:"top",children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"toggle-minimize-btn",variant:"textGray",size:"small",onClick:o,endIcon:ge.jsx(gr,{height:20,width:20,color:"text-delta-700"}),children:r})})})}):null},ul="_minimized-dialog_1tnc1_5",pl="_dialog_1tnc1_1",hl="_hidden_1tnc1_25",fl=({fullScreen:e,showFullScreenIcon:t,title:o,tooltipTitle:r,onClick:n})=>t?ge.jsx(ge.Fragment,{children:t&&ge.jsx(Xi,{title:r,children:ge.jsx("div",{children:ge.jsx(ia,{dataTest:"fullscreen-button",variant:"textGray",size:"small",onClick:n,endIcon:e?ge.jsx(Ks,{width:20,height:20,color:"text-delta-700"}):ge.jsx(Us,{width:20,height:20,color:"text-delta-700"}),children:o})})})}):null,ml=({onCloseText:e="",onMinimizeText:t="",onExpandText:o="",onFullScreenText:r="",showCloseIcon:i=!0,showMinimizeIcon:a=!0,showExpandIcon:s=!0,enableFullscreen:l=!0,fullScreenState:c,handleFullScreenState:d,title:u,label:p,children:h,open:f,onClose:m,classNameOverrides:g={maximized:"",minimized:"",fullscreen:""},dataTest:y,actionNode:x,tooltipOverrides:b={maximized:"",minimized:"",close:"",fullscreen:""}})=>{const[v,w]=n(!1),[j,k]=n(!1);if(!f)return null;const C=void 0!==c?c:j,N=()=>{w(!v)};return ge.jsxs(ge.Fragment,{children:[ge.jsx("div",{style:{zIndex:51},className:ya(ul,!v&&hl,g.minimized),children:ge.jsxs("div",{className:si("flex items-center justify-between",!v&&"hidden"),"data-test":y,children:[ge.jsx("div",{className:"truncate max-w-[303px] text-lg font-semibold text-delta-800 pr-1",children:ge.jsx(Xi,{title:u,placement:"top",children:ge.jsx("div",{className:"truncate",children:u})})}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[ge.jsx(dl,{type:"expand",visibility:s,onClick:N,title:o,tooltipTitle:b.maximized||"Expand"}),ge.jsx(cl,{showCloseIcon:i,onClick:m,title:e,tooltipTitle:b.close||"Close"})]})]})}),C&&!v&&ge.jsx("div",{className:"z-[51] fixed inset-0 bg-[rgb(98,110,126)] bg-opacity-70"}),ge.jsxs("div",{style:{zIndex:51},className:ya(pl,v&&hl,g.maximized,C&&!v&&"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-[1000px] h-[95dvh] duration-0",C&&g.fullscreen),children:[ge.jsxs("div",{className:"flex flex-col gap-y-2 p-4 border-b-[1px] border-delta-200",children:[ge.jsxs("div",{className:"flex items-center justify-between",children:[p?ge.jsx("div",{className:"text-sm text-delta-700",children:p}):ge.jsx("div",{className:"text-2xl font-semibold text-delta-800",children:u}),ge.jsxs("div",{className:"flex items-center gap-x-1",children:[x,ge.jsx(dl,{visibility:a,type:"minimize",onClick:N,title:t,tooltipTitle:b.minimized||"Minimize"}),ge.jsx(fl,{showFullScreenIcon:l,fullScreen:C,onClick:()=>{void 0!==c&&d?d():k(!j)},title:r,tooltipTitle:b.fullscreen||(C?"Exit full screen":"Full screen")}),ge.jsx(cl,{showCloseIcon:i,onClick:m,title:e,tooltipTitle:b.close||"Close"})]})]}),p&&ge.jsx("div",{className:"text-2xl font-semibold text-delta-800 truncate",children:u})]}),ge.jsx("div",{className:ya(v&&"hidden","flex flex-grow flex-col overflow-y-auto"),children:h})]})]})};export{Po as ArchiveIcon,bo as AssignmentIcon,vo as AssignmentOutlineIcon,B as Avatar,br as BadgeIcon,eo as BellIcon,Qt as BellOutlineIcon,rr as CalendarBlankOutlineIcon,go as CalendarIcon,xo as CalendarRangeIcon,Fo as CheckBoxCheckedIcon,mo as CheckFactIcon,fo as CheckFactOutlineIcon,qo as CheckIcon,ho as CheckOutlineIcon,no as ChevronDoubleLeftIcon,io as ChevronDoubleRightIcon,Ao as ChevronDownIcon,ro as ChevronLeftIcon,oo as ChevronRightIcon,Bo as ChevronUpIcon,V as ClickAwayListener,Vo as CloseIcon,mr as ConsentsIcon,q as Container,_s as CopyButton,Es as CopyWrapper,lo as DashboardViewIcon,co as DashboardViewOutlineIcon,Jo as DeleteOutlineIcon,Io as DotsVerticalIcon,Do as DownloadIcon,Yo as DragHorizontalIcon,$o as DropDownIcon,Lo as DropUpIcon,er as DvrIcon,dr as EarthIcon,vr as EditSquareIcon,tr as ErrorOutlineIcon,H as Fade,ir as FastCheckOutlineIcon,Xo as FilePdfIcon,Zo as FilterIcon,To as FindReplaceIcon,Eo as FindReplacePeopleIcon,W as FormLabel,to as HamburgerIcon,Cr as HandymanIcon,kr as HandymanOutlineIcon,Uo as InboxOutboxIcon,Ko as InboxOutboxOutlineIcon,yr as KeyboardCapslockIcon,nr as LinkOutlineIcon,wo as ListNumberedIcon,cr as ListSettingsLineIcon,sr as ListStatusIcon,zo as LoadingIcon,Qo as LockIcon,jo as MessageProcessingIcon,ko as MessageProcessingOutlineIcon,xr as MessageReplyIcon,ll as MinimizableDialog,ml as MinimizableDialogV2,gr as MinimizeIcon,yo as NewCalendarIcon,fr as OutlineCalendarMonth,U as Paper,so as PdfIcon,pr as PencilOutlineIcon,po as PeopleIcon,uo as PeopleOutlineIcon,Ho as PermMediaIcon,Wo as PermMediaOutline,Oo as PersonIcon,Mo as PersonOutlineIcon,Nr as PinIcon,wr as PlusIcon,jr as PlusIconCircle,K as Popper,ao as QnrIcon,or as ReplayIcon,Co as ReportBoxIcon,No as ReportBoxOutlineIcon,Ro as SearchIcon,_o as SettingsIcon,ur as SettingsMenuHorizontalIcon,So as SettingsOutlineIcon,G as Skeleton,Y as Stack,xs as StyledAccordion,vs as StyledAccordionDetails,bs as StyledAccordionSummary,ye as StyledBadge,ia as StyledButton,Sa as StyledCheckbox,Sr as StyledChip,ha as StyledDialog,xa as StyledDialogActions,va as StyledDialogContent,ja as StyledDialogTitle,as as StyledDrawer,Ca as StyledEmptyPage,js as StyledFilterButton,Ns as StyledFilterMenu,ts as StyledFormControl,os as StyledFormControlLabel,is as StyledFormGroup,rs as StyledFormHelperText,oa as StyledFormLabel,Ta as StyledInputField,ns as StyledInputLabel,Tr as StyledInteractiveChip,es as StyledLabel,ms as StyledLink,_a as StyledLoading,ss as StyledMenu,ls as StyledMenuItem,cs as StyledMenuList,qs as StyledModuleTitle,ws as StyledPopover,Za as StyledRadio,Qa as StyledRadioGroup,Ea as StyledSearchField,Ia as StyledSelect,$a as StyledSelectAutocomplete,Ra as StyledSelectItem,Pa as StyledSlider,Ja as StyledSwitch,gs as StyledTab,ys as StyledTabs,Ma as StyledTextarea,Xi as StyledTooltip,Ji as StyledTypography,Bs as StyledWidget,Rs as StyledWidgetHeader,Ms as StyledWidgetTitle,lr as TextBoxCheckOutlineIcon,Go as TopicIcon,ar as UnknownDocumentOutlineRoundedIcon,hr as WarningAmberOutlineIcon,_r as WorkIcon,ee as omit,de as prepareForSlot,le as setMidnightTime,ce as setZeroTime};
|