@pablo-amberflo/ui-kit-test
Version:
Amberflo UI Kit
35 lines • 98.5 kB
JavaScript
import*as e from"react";import t,{Children as r,isValidElement as n,cloneElement as o}from"react";import{Button as a,Typography as i,Tooltip as c,Paper as s}from"@mui/material";import{withStyles as l}from"@mui/styles";import u from"@emotion/styled";import{keyframes as p}from"@emotion/react";import{Chart as f,CategoryScale as d,LinearScale as m,BarElement as y,Title as h,Tooltip as b,Legend as g}from"chart.js";import{Bar as v}from"react-chartjs-2";function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(this,arguments)}function S(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}var k={exports:{}},w={exports:{}},$={},E="function"==typeof Symbol&&Symbol.for,O=E?Symbol.for("react.element"):60103,C=E?Symbol.for("react.portal"):60106,T=E?Symbol.for("react.fragment"):60107,R=E?Symbol.for("react.strict_mode"):60108,N=E?Symbol.for("react.profiler"):60114,j=E?Symbol.for("react.provider"):60109,_=E?Symbol.for("react.context"):60110,P=E?Symbol.for("react.async_mode"):60111,M=E?Symbol.for("react.concurrent_mode"):60111,I=E?Symbol.for("react.forward_ref"):60112,D=E?Symbol.for("react.suspense"):60113,z=E?Symbol.for("react.suspense_list"):60120,A=E?Symbol.for("react.memo"):60115,B=E?Symbol.for("react.lazy"):60116,V=E?Symbol.for("react.block"):60121,F=E?Symbol.for("react.fundamental"):60117,L=E?Symbol.for("react.responder"):60118,W=E?Symbol.for("react.scope"):60119;function U(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case O:switch(e=e.type){case P:case M:case T:case N:case R:case D:return e;default:switch(e=e&&e.$$typeof){case _:case I:case B:case A:case j:return e;default:return t}}case C:return t}}}function K(e){return U(e)===M}$.AsyncMode=P,$.ConcurrentMode=M,$.ContextConsumer=_,$.ContextProvider=j,$.Element=O,$.ForwardRef=I,$.Fragment=T,$.Lazy=B,$.Memo=A,$.Portal=C,$.Profiler=N,$.StrictMode=R,$.Suspense=D,$.isAsyncMode=function(e){return K(e)||U(e)===P},$.isConcurrentMode=K,$.isContextConsumer=function(e){return U(e)===_},$.isContextProvider=function(e){return U(e)===j},$.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===O},$.isForwardRef=function(e){return U(e)===I},$.isFragment=function(e){return U(e)===T},$.isLazy=function(e){return U(e)===B},$.isMemo=function(e){return U(e)===A},$.isPortal=function(e){return U(e)===C},$.isProfiler=function(e){return U(e)===N},$.isStrictMode=function(e){return U(e)===R},$.isSuspense=function(e){return U(e)===D},$.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===T||e===M||e===N||e===R||e===D||e===z||"object"==typeof e&&null!==e&&(e.$$typeof===B||e.$$typeof===A||e.$$typeof===j||e.$$typeof===_||e.$$typeof===I||e.$$typeof===F||e.$$typeof===L||e.$$typeof===W||e.$$typeof===V)},$.typeOf=U;var H={};
/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var y=e.type;switch(y){case s:case l:case n:case a:case o:case p:return y;default:var h=y&&y.$$typeof;switch(h){case c:case u:case m:case d:case i:return h;default:return f}}case r:return f}}}var x=s,S=l,k=c,w=i,$=t,E=u,O=n,C=m,T=d,R=r,N=a,j=o,_=p,P=!1;function M(e){return v(e)===l}H.AsyncMode=x,H.ConcurrentMode=S,H.ContextConsumer=k,H.ContextProvider=w,H.Element=$,H.ForwardRef=E,H.Fragment=O,H.Lazy=C,H.Memo=T,H.Portal=R,H.Profiler=N,H.StrictMode=j,H.Suspense=_,H.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(e)||v(e)===s},H.isConcurrentMode=M,H.isContextConsumer=function(e){return v(e)===c},H.isContextProvider=function(e){return v(e)===i},H.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},H.isForwardRef=function(e){return v(e)===u},H.isFragment=function(e){return v(e)===n},H.isLazy=function(e){return v(e)===m},H.isMemo=function(e){return v(e)===d},H.isPortal=function(e){return v(e)===r},H.isProfiler=function(e){return v(e)===a},H.isStrictMode=function(e){return v(e)===o},H.isSuspense=function(e){return v(e)===p},H.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===l||e===a||e===o||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===d||e.$$typeof===i||e.$$typeof===c||e.$$typeof===u||e.$$typeof===h||e.$$typeof===b||e.$$typeof===g||e.$$typeof===y)},H.typeOf=v}(),"production"===process.env.NODE_ENV?w.exports=$:w.exports=H
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/;var Y=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;function X(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var J=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,o=X(e),a=1;a<arguments.length;a++){for(var i in r=Object(arguments[a]))q.call(r,i)&&(o[i]=r[i]);if(Y){n=Y(r);for(var c=0;c<n.length;c++)G.call(r,n[c])&&(o[n[c]]=r[n[c]])}}return o},Z="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Q=Function.call.bind(Object.prototype.hasOwnProperty),ee=function(){};if("production"!==process.env.NODE_ENV){var te=Z,re={},ne=Q;ee=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function oe(e,t,r,n,o){if("production"!==process.env.NODE_ENV)for(var a in e)if(ne(e,a)){var i;try{if("function"!=typeof e[a]){var c=Error((n||"React class")+": "+r+" 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 c.name="Invariant Violation",c}i=e[a](t,a,n,r,null,te)}catch(e){i=e}if(!i||i instanceof Error||ee((n||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in re)){re[i.message]=!0;var s=o?o():"";ee("Failed "+r+" type: "+i.message+(null!=s?s:""))}}}oe.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(re={})};var ae=oe,ie=w.exports,ce=J,se=Z,le=Q,ue=ae,pe=function(){};function fe(){return null}"production"!==process.env.NODE_ENV&&(pe=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});function de(){}function me(){}me.resetWarningCache=de;if("production"!==process.env.NODE_ENV){var ye=w.exports;k.exports=function(e,t){var r="function"==typeof Symbol&&Symbol.iterator,n="<<anonymous>>",o={array:s("array"),bigint:s("bigint"),bool:s("boolean"),func:s("function"),number:s("number"),object:s("object"),string:s("string"),symbol:s("symbol"),any:c(fe),arrayOf:function(e){return c((function(t,r,n,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var c=t[r];if(!Array.isArray(c))return new i("Invalid "+o+" `"+a+"` of type `"+p(c)+"` supplied to `"+n+"`, expected an array.");for(var s=0;s<c.length;s++){var l=e(c,s,n,o,a+"["+s+"]",se);if(l instanceof Error)return l}return null}))},element:c((function(t,r,n,o,a){var c=t[r];return e(c)?null:new i("Invalid "+o+" `"+a+"` of type `"+p(c)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:c((function(e,t,r,n,o){var a=e[t];return ie.isValidElementType(a)?null:new i("Invalid "+n+" `"+o+"` of type `"+p(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return c((function(t,r,o,a,c){if(!(t[r]instanceof e)){var s=e.name||n;return new i("Invalid "+a+" `"+c+"` of type `"+((l=t[r]).constructor&&l.constructor.name?l.constructor.name:n)+"` supplied to `"+o+"`, expected instance of `"+s+"`.")}var l;return null}))},node:c((function(e,t,r,n,o){return u(e[t])?null:new i("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return c((function(t,r,n,o,a){if("function"!=typeof e)return new i("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var c=t[r],s=p(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected an object.");for(var l in c)if(le(c,l)){var u=e(c,l,n,o,a+"."+l,se);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&pe(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),fe;function t(t,r,n,o,c){for(var s=t[r],l=0;l<e.length;l++)if(a(s,e[l]))return null;var u=JSON.stringify(e,(function(e,t){return"symbol"===f(t)?String(t):t}));return new i("Invalid "+o+" `"+c+"` of value `"+String(s)+"` supplied to `"+n+"`, expected one of "+u+".")}return c(t)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&pe("Invalid argument supplied to oneOfType, expected an instance of array."),fe;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return pe("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+d(r)+" at index "+t+"."),fe}return c((function(t,r,n,o,a){for(var c=[],s=0;s<e.length;s++){var l=(0,e[s])(t,r,n,o,a,se);if(null==l)return null;l.data&&le(l.data,"expectedType")&&c.push(l.data.expectedType)}return new i("Invalid "+o+" `"+a+"` supplied to `"+n+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")}))},shape:function(e){return c((function(t,r,n,o,a){var c=t[r],s=p(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");for(var u in e){var d=e[u];if("function"!=typeof d)return l(n,o,a,u,f(d));var m=d(c,u,n,o,a+"."+u,se);if(m)return m}return null}))},exact:function(e){return c((function(t,r,n,o,a){var c=t[r],s=p(c);if("object"!==s)return new i("Invalid "+o+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");var u=ce({},t[r],e);for(var d in u){var m=e[d];if(le(e,d)&&"function"!=typeof m)return l(n,o,a,d,f(m));if(!m)return new i("Invalid "+o+" `"+a+"` key `"+d+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var y=m(c,d,n,o,a+"."+d,se);if(y)return y}return null}))}};function a(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function i(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function c(e){if("production"!==process.env.NODE_ENV)var r={},o=0;function a(a,c,s,l,u,p,f){if(l=l||n,p=p||s,f!==se){if(t){var d=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=l+":"+s;!r[m]&&o<3&&(pe("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[m]=!0,o++)}}return null==c[s]?a?null===c[s]?new i("The "+u+" `"+p+"` is marked as required in `"+l+"`, but its value is `null`."):new i("The "+u+" `"+p+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(c,s,l,u,p)}var c=a.bind(null,!1);return c.isRequired=a.bind(null,!0),c}function s(e){return c((function(t,r,n,o,a,c){var s=t[r];return p(s)!==e?new i("Invalid "+o+" `"+a+"` of type `"+f(s)+"` supplied to `"+n+"`, expected `"+e+"`.",{expectedType:e}):null}))}function l(e,t,r,n,o){return new i((e||"React class")+": "+t+" type `"+r+"."+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function u(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(u);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(!n)return!1;var o,a=n.call(t);if(n!==t.entries){for(;!(o=a.next()).done;)if(!u(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!u(i[1]))return!1}return!0;default:return!1}}function p(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function f(e){if(null==e)return""+e;var t=p(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function d(e){var t=f(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return i.prototype=Error.prototype,o.checkPropTypes=ue,o.resetWarningCache=ue.resetWarningCache,o.PropTypes=o,o}(ye.isElement,!0)}else k.exports=function(){function e(e,t,r,n,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:me,resetWarningCache:de};return r.PropTypes=r,r}();var he=k.exports,be={exports:{}},ge={},ve=t,xe=60103;if(ge.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var Se=Symbol.for;xe=Se("react.element"),ge.Fragment=Se("react.fragment")}var ke=ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,we=Object.prototype.hasOwnProperty,$e={key:!0,ref:!0,__self:!0,__source:!0};function Ee(e,t,r){var n,o={},a=null,i=null;for(n in void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)we.call(t,n)&&!$e.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:xe,type:e,key:a,ref:i,props:o,_owner:ke.current}}ge.jsx=Ee,ge.jsxs=Ee;var Oe,Ce={};
/** @license React v17.0.2
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/Oe=Ce,"production"!==process.env.NODE_ENV&&function(){var e=t,r=J,n=60103,o=60106;Oe.Fragment=60107;var a=60108,i=60114,c=60109,s=60110,l=60112,u=60113,p=60120,f=60115,d=60116,m=60121,y=60122,h=60117,b=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var v=Symbol.for;n=v("react.element"),o=v("react.portal"),Oe.Fragment=v("react.fragment"),a=v("react.strict_mode"),i=v("react.profiler"),c=v("react.provider"),s=v("react.context"),l=v("react.forward_ref"),u=v("react.suspense"),p=v("react.suspense_list"),f=v("react.memo"),d=v("react.lazy"),m=v("react.block"),y=v("react.server.block"),h=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),b=v("react.debug_trace_mode"),v("react.offscreen"),g=v("react.legacy_hidden")}var x="function"==typeof Symbol&&Symbol.iterator,S=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];w("error",e,r)}function w(e,t,r){var n=S.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}function $(e){return e.displayName||"Context"}function E(e){if(null==e)return null;if("number"==typeof e.tag&&k("Received an unexpected object in getComponentName(). 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 Oe.Fragment:return"Fragment";case o:return"Portal";case i:return"Profiler";case a:return"StrictMode";case u:return"Suspense";case p:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return $(e)+".Consumer";case c:return $(e._context)+".Provider";case l:return y=e,h=e.render,b="ForwardRef",g=h.displayName||h.name||"",y.displayName||(""!==g?b+"("+g+")":b);case f:return E(e.type);case m:return E(e._render);case d:var t=e,r=t._payload,n=t._init;try{return E(n(r))}catch(e){return null}}var y,h,b,g;return null}var O,C,T,R,N,j,_,P=0;function M(){}M.__reactDisabledLog=!0;var I,D=S.ReactCurrentDispatcher;function z(e,t,r){if(void 0===I)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);I=n&&n[1]||""}return"\n"+I+e}var A,B=!1,V="function"==typeof WeakMap?WeakMap:Map;function F(e,t){if(!e||B)return"";var n,o=A.get(e);if(void 0!==o)return o;B=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=D.current,D.current=null,function(){if(0===P){O=console.log,C=console.info,T=console.warn,R=console.error,N=console.group,j=console.groupCollapsed,_=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})}P++}();try{if(t){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(c,[])}catch(e){n=e}Reflect.construct(e,[],c)}else{try{c.call()}catch(e){n=e}e.call(c.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),l=n.stack.split("\n"),u=s.length-1,p=l.length-1;u>=1&&p>=0&&s[u]!==l[p];)p--;for(;u>=1&&p>=0;u--,p--)if(s[u]!==l[p]){if(1!==u||1!==p)do{if(u--,--p<0||s[u]!==l[p]){var f="\n"+s[u].replace(" at new "," at ");return"function"==typeof e&&A.set(e,f),f}}while(u>=1&&p>=0);break}}}finally{B=!1,D.current=a,function(){if(0==--P){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:r({},e,{value:O}),info:r({},e,{value:C}),warn:r({},e,{value:T}),error:r({},e,{value:R}),group:r({},e,{value:N}),groupCollapsed:r({},e,{value:j}),groupEnd:r({},e,{value:_})})}P<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var d=e?e.displayName||e.name:"",m=d?z(d):"";return"function"==typeof e&&A.set(e,m),m}function L(e,t,r){return F(e,!1)}function W(e,t,r){if(null==e)return"";if("function"==typeof e)return F(e,!(!(n=e.prototype)||!n.isReactComponent));var n;if("string"==typeof e)return z(e);switch(e){case u:return z("Suspense");case p:return z("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case l:return L(e.render);case f:return W(e.type,t,r);case m:return L(e._render);case d:var o=e,a=o._payload,i=o._init;try{return W(i(a),t,r)}catch(e){}}return""}A=new V;var U={},K=S.ReactDebugCurrentFrame;function H(e){if(e){var t=e._owner,r=W(e.type,e._source,t?t.type:null);K.setExtraStackFrame(r)}else K.setExtraStackFrame(null)}var Y,q,G,X=S.ReactCurrentOwner,Z=Object.prototype.hasOwnProperty,Q={key:!0,ref:!0,__self:!0,__source:!0};function ee(e,t,r,o,a){var i,c={},s=null,l=null;for(i in void 0!==r&&(s=""+r),function(e){if(Z.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(t)&&(s=""+t.key),function(e){if(Z.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&&X.current&&t&&X.current.stateNode!==t){var r=E(X.current.type);G[r]||(k('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',E(X.current.type),e.ref),G[r]=!0)}}(t,a)),t)Z.call(t,i)&&!Q.hasOwnProperty(i)&&(c[i]=t[i]);if(e&&e.defaultProps){var u=e.defaultProps;for(i in u)void 0===c[i]&&(c[i]=u[i])}if(s||l){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;s&&function(e,t){var r=function(){Y||(Y=!0,k("%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))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(c,p),l&&function(e,t){var r=function(){q||(q=!0,k("%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))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}(c,p)}return function(e,t,r,o,a,i,c){var s={$$typeof:n,type:e,key:t,ref:r,props:c,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}(e,s,l,a,o,X.current,c)}G={};var te,re=S.ReactCurrentOwner,ne=S.ReactDebugCurrentFrame;function oe(e){if(e){var t=e._owner,r=W(e.type,e._source,t?t.type:null);ne.setExtraStackFrame(r)}else ne.setExtraStackFrame(null)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}function ie(){if(re.current){var e=E(re.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}te=!1;var ce={};function se(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=ie();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!ce[r]){ce[r]=!0;var n="";e&&e._owner&&e._owner!==re.current&&(n=" It was passed a child from "+E(e._owner.type)+"."),oe(e),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),oe(null)}}}function le(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ae(n)&&se(n,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var o=function(e){if(null===e||"object"!=typeof e)return null;var t=x&&e[x]||e["@@iterator"];return"function"==typeof t?t:null}(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ae(a.value)&&se(a.value,t)}}function ue(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==l&&r.$$typeof!==f)return;t=r.propTypes}if(t){var n=E(r);!function(e,t,r,n,o){var a=Function.call.bind(Object.prototype.hasOwnProperty);for(var i in e)if(a(e,i)){var c=void 0;try{if("function"!=typeof e[i]){var s=Error((n||"React class")+": "+r+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}c=e[i](t,i,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){c=e}!c||c instanceof Error||(H(o),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,i,typeof c),H(null)),c instanceof Error&&!(c.message in U)&&(U[c.message]=!0,H(o),k("Failed %s type: %s",r,c.message),H(null))}}(t,e.props,"prop",n,e)}else void 0===r.PropTypes||te||(te=!0,k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",E(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function pe(e,t,r,o,v,x){var S=function(e){return"string"==typeof e||"function"==typeof e||e===Oe.Fragment||e===i||e===b||e===a||e===u||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===f||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.$$typeof===m||e[0]===y)}(e);if(!S){var w="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(w+=" 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 $,O=function(e){return void 0!==e?"\n\nCheck your code at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+".":""}(v);w+=O||ie(),null===e?$="null":Array.isArray(e)?$="array":void 0!==e&&e.$$typeof===n?($="<"+(E(e.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):$=typeof e,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$,w)}var C=ee(e,t,r,v,x);if(null==C)return C;if(S){var T=t.children;if(void 0!==T)if(o)if(Array.isArray(T)){for(var R=0;R<T.length;R++)le(T[R],e);Object.freeze&&Object.freeze(T)}else k("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(T,e)}return e===Oe.Fragment?function(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){oe(e),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),oe(null);break}}null!==e.ref&&(oe(e),k("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}(C):ue(C),C}var fe=function(e,t,r){return pe(e,t,r,!1)},de=function(e,t,r){return pe(e,t,r,!0)};Oe.jsx=fe,Oe.jsxs=de}(),"production"===process.env.NODE_ENV?be.exports=ge:be.exports=Ce
/** @license MUI v5.3.0
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/;var Te="production"!==process.env.NODE_ENV?he.oneOfType([he.number,he.string,he.object,he.array]):{};function Re(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function Ne(e,t,r={clone:!0}){const n=r.clone?x({},e):e;return Re(e)&&Re(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(Re(t[o])&&o in e&&Re(e[o])?n[o]=Ne(e[o],t[o],r):n[o]=t[o])})),n}var je,_e,Pe=(je=he.elementType,_e=function(e,t,r,n,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let c;return"function"!=typeof a||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(a)||(c="Did you accidentally provide a plain function component instead?"),void 0!==c?new Error(`Invalid ${n} \`${i}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null},"production"===process.env.NODE_ENV?()=>null:function(...e){return je(...e)||_e(...e)});function Me(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."}var Ie={exports:{}},De={},ze=60103,Ae=60106,Be=60107,Ve=60108,Fe=60114,Le=60109,We=60110,Ue=60112,Ke=60113,He=60120,Ye=60115,qe=60116,Ge=60121,Xe=60122,Je=60117,Ze=60129,Qe=60131;if("function"==typeof Symbol&&Symbol.for){var et=Symbol.for;ze=et("react.element"),Ae=et("react.portal"),Be=et("react.fragment"),Ve=et("react.strict_mode"),Fe=et("react.profiler"),Le=et("react.provider"),We=et("react.context"),Ue=et("react.forward_ref"),Ke=et("react.suspense"),He=et("react.suspense_list"),Ye=et("react.memo"),qe=et("react.lazy"),Ge=et("react.block"),Xe=et("react.server.block"),Je=et("react.fundamental"),Ze=et("react.debug_trace_mode"),Qe=et("react.legacy_hidden")}function tt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ze:switch(e=e.type){case Be:case Fe:case Ve:case Ke:case He:return e;default:switch(e=e&&e.$$typeof){case We:case Ue:case qe:case Ye:case Le:return e;default:return t}}case Ae:return t}}}var rt=Le,nt=ze,ot=Ue,at=Be,it=qe,ct=Ye,st=Ae,lt=Fe,ut=Ve,pt=Ke;De.ContextConsumer=We,De.ContextProvider=rt,De.Element=nt,De.ForwardRef=ot,De.Fragment=at,De.Lazy=it,De.Memo=ct,De.Portal=st,De.Profiler=lt,De.StrictMode=ut,De.Suspense=pt,De.isAsyncMode=function(){return!1},De.isConcurrentMode=function(){return!1},De.isContextConsumer=function(e){return tt(e)===We},De.isContextProvider=function(e){return tt(e)===Le},De.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ze},De.isForwardRef=function(e){return tt(e)===Ue},De.isFragment=function(e){return tt(e)===Be},De.isLazy=function(e){return tt(e)===qe},De.isMemo=function(e){return tt(e)===Ye},De.isPortal=function(e){return tt(e)===Ae},De.isProfiler=function(e){return tt(e)===Fe},De.isStrictMode=function(e){return tt(e)===Ve},De.isSuspense=function(e){return tt(e)===Ke},De.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Be||e===Fe||e===Ze||e===Ve||e===Ke||e===He||e===Qe||"object"==typeof e&&null!==e&&(e.$$typeof===qe||e.$$typeof===Ye||e.$$typeof===Le||e.$$typeof===We||e.$$typeof===Ue||e.$$typeof===Je||e.$$typeof===Ge||e[0]===Xe)},De.typeOf=tt;var ft={};
/** @license React v17.0.2
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/"production"!==process.env.NODE_ENV&&function(){var e=60103,t=60106,r=60107,n=60108,o=60114,a=60109,i=60110,c=60112,s=60113,l=60120,u=60115,p=60116,f=60121,d=60122,m=60117,y=60129,h=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;e=b("react.element"),t=b("react.portal"),r=b("react.fragment"),n=b("react.strict_mode"),o=b("react.profiler"),a=b("react.provider"),i=b("react.context"),c=b("react.forward_ref"),s=b("react.suspense"),l=b("react.suspense_list"),u=b("react.memo"),p=b("react.lazy"),f=b("react.block"),d=b("react.server.block"),m=b("react.fundamental"),b("react.scope"),b("react.opaque.id"),y=b("react.debug_trace_mode"),b("react.offscreen"),h=b("react.legacy_hidden")}function g(f){if("object"==typeof f&&null!==f){var d=f.$$typeof;switch(d){case e:var m=f.type;switch(m){case r:case o:case n:case s:case l:return m;default:var y=m&&m.$$typeof;switch(y){case i:case c:case p:case u:case a:return y;default:return d}}case t:return d}}}var v=i,x=a,S=e,k=c,w=r,$=p,E=u,O=t,C=o,T=n,R=s,N=!1,j=!1;ft.ContextConsumer=v,ft.ContextProvider=x,ft.Element=S,ft.ForwardRef=k,ft.Fragment=w,ft.Lazy=$,ft.Memo=E,ft.Portal=O,ft.Profiler=C,ft.StrictMode=T,ft.Suspense=R,ft.isAsyncMode=function(e){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ft.isConcurrentMode=function(e){return j||(j=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ft.isContextConsumer=function(e){return g(e)===i},ft.isContextProvider=function(e){return g(e)===a},ft.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},ft.isForwardRef=function(e){return g(e)===c},ft.isFragment=function(e){return g(e)===r},ft.isLazy=function(e){return g(e)===p},ft.isMemo=function(e){return g(e)===u},ft.isPortal=function(e){return g(e)===t},ft.isProfiler=function(e){return g(e)===o},ft.isStrictMode=function(e){return g(e)===n},ft.isSuspense=function(e){return g(e)===s},ft.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||(e===r||e===o||e===y||e===n||e===s||e===l||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===i||e.$$typeof===c||e.$$typeof===m||e.$$typeof===f||e[0]===d))},ft.typeOf=g}(),"production"===process.env.NODE_ENV?Ie.exports=De:Ie.exports=ft;const dt=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function mt(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(dt);return t&&t[1]||""}(e)||t}function yt(e,t,r){const n=mt(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var ht=he.oneOfType([he.func,he.object]);function bt(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Me(7));return e.charAt(0).toUpperCase()+e.slice(1)}function gt(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var vt="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function xt(t){const r=e.useRef(t);return vt((()=>{r.current=t})),e.useCallback(((...e)=>(0,r.current)(...e)),[])}function St(t,r){return e.useMemo((()=>null==t&&null==r?null:e=>{gt(t,e),gt(r,e)}),[t,r])}let kt,wt=!0,$t=!1;const Et={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ot(e){e.metaKey||e.altKey||e.ctrlKey||(wt=!0)}function Ct(){wt=!1}function Tt(){"hidden"===this.visibilityState&&$t&&(wt=!0)}function Rt(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return wt||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!Et[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function Nt(){const t=e.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ot,!0),t.addEventListener("mousedown",Ct,!0),t.addEventListener("pointerdown",Ct,!0),t.addEventListener("touchstart",Ct,!0),t.addEventListener("visibilitychange",Tt,!0))}),[]),r=e.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(e){return!!Rt(e)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&($t=!0,window.clearTimeout(kt),kt=window.setTimeout((()=>{$t=!1}),100),r.current=!1,!0)},ref:t}}function jt(e,t){return t?Ne(e,t,{clone:!1}):e}const _t={xs:0,sm:600,md:900,lg:1200,xl:1536},Pt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${_t[e]}px)`};function Mt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Pt;return t.reduce(((n,o,a)=>(n[e.up(e.keys[a])]=r(t[a]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Pt;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||_t).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function It(e,t){return t&&"string"==typeof t?t.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e):null}function Dt(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:It(e,r)||n,t&&(o=t(o)),o}function zt(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=It(e.theme,n)||{};return Mt(e,a,(e=>{let n=Dt(i,o,e);return e===n&&"string"==typeof e&&(n=Dt(i,o,`${t}${"default"===e?"":bt(e)}`,e)),!1===r?n:{[r]:n}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:Te}:{},a.filterProps=[t],a}function At(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?jt(r,t[n](e)):r),{});return r.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}const Bt={m:"margin",p:"padding"},Vt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ft={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Lt=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!Ft[e])return[e];e=Ft[e]}const[t,r]=e.split(""),n=Bt[t],o=Vt[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),Wt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ut=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Kt=[...Wt,...Ut];function Ht(e,t,r,n){const o=It(e,t)||r;return"number"==typeof o?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${e}.`),o*e):Array.isArray(o)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>o.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${e} > ${o.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"))),o[e]):"function"==typeof o?o:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Yt(e){return Ht(e,"spacing",8,"spacing")}function qt(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Gt(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=qt(t,r),e)),{})}(Lt(r),n);return Mt(e,e[r],o)}function Xt(e){return function(e,t){const r=Yt(e.theme);return Object.keys(e).map((n=>Gt(e,t,n,r))).reduce(jt,{})}(e,Kt)}function Jt(e){return"number"!=typeof e?e:`${e}px solid`}"production"===process.env.NODE_ENV||Wt.reduce(((e,t)=>(e[t]=Te,e)),{}),"production"===process.env.NODE_ENV||Ut.reduce(((e,t)=>(e[t]=Te,e)),{}),Xt.propTypes="production"!==process.env.NODE_ENV?Kt.reduce(((e,t)=>(e[t]=Te,e)),{}):{},Xt.filterProps=Kt;const Zt=zt({prop:"border",themeKey:"borders",transform:Jt}),Qt=zt({prop:"borderTop",themeKey:"borders",transform:Jt}),er=zt({prop:"borderRight",themeKey:"borders",transform:Jt}),tr=zt({prop:"borderBottom",themeKey:"borders",transform:Jt}),rr=zt({prop:"borderLeft",themeKey:"borders",transform:Jt}),nr=zt({prop:"borderColor",themeKey:"palette"}),or=zt({prop:"borderTopColor",themeKey:"palette"}),ar=zt({prop:"borderRightColor",themeKey:"palette"}),ir=zt({prop:"borderBottomColor",themeKey:"palette"}),cr=zt({prop:"borderLeftColor",themeKey:"palette"}),sr=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Ht(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:qt(t,e)});return Mt(e,e.borderRadius,r)}return null};sr.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Te}:{},sr.filterProps=["borderRadius"];var lr=At(Zt,Qt,er,tr,rr,nr,or,ar,ir,cr,sr);var ur=At(zt({prop:"displayPrint",cssProperty:!1,transform:e=>({"@media print":{display:e}})}),zt({prop:"display"}),zt({prop:"overflow"}),zt({prop:"textOverflow"}),zt({prop:"visibility"}),zt({prop:"whiteSpace"}));var pr=At(zt({prop:"flexBasis"}),zt({prop:"flexDirection"}),zt({prop:"flexWrap"}),zt({prop:"justifyContent"}),zt({prop:"alignItems"}),zt({prop:"alignContent"}),zt({prop:"order"}),zt({prop:"flex"}),zt({prop:"flexGrow"}),zt({prop:"flexShrink"}),zt({prop:"alignSelf"}),zt({prop:"justifyItems"}),zt({prop:"justifySelf"}));const fr=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Ht(e.theme,"spacing",8,"gap"),r=e=>({gap:qt(t,e)});return Mt(e,e.gap,r)}return null};fr.propTypes="production"!==process.env.NODE_ENV?{gap:Te}:{},fr.filterProps=["gap"];const dr=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Ht(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:qt(t,e)});return Mt(e,e.columnGap,r)}return null};dr.propTypes="production"!==process.env.NODE_ENV?{columnGap:Te}:{},dr.filterProps=["columnGap"];const mr=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Ht(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:qt(t,e)});return Mt(e,e.rowGap,r)}return null};mr.propTypes="production"!==process.env.NODE_ENV?{rowGap:Te}:{},mr.filterProps=["rowGap"];var yr=At(fr,dr,mr,zt({prop:"gridColumn"}),zt({prop:"gridRow"}),zt({prop:"gridAutoFlow"}),zt({prop:"gridAutoColumns"}),zt({prop:"gridAutoRows"}),zt({prop:"gridTemplateColumns"}),zt({prop:"gridTemplateRows"}),zt({prop:"gridTemplateAreas"}),zt({prop:"gridArea"}));var hr=At(zt({prop:"color",themeKey:"palette"}),zt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),zt({prop:"backgroundColor",themeKey:"palette"}));var br=At(zt({prop:"position"}),zt({prop:"zIndex",themeKey:"zIndex"}),zt({prop:"top"}),zt({prop:"right"}),zt({prop:"bottom"}),zt({prop:"left"}));var gr=zt({prop:"boxShadow",themeKey:"shadows"});function vr(e){return e<=1&&0!==e?100*e+"%":e}const xr=zt({prop:"width",transform:vr}),Sr=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n,o;return{maxWidth:(null==(r=e.theme)||null==(n=r.breakpoints)||null==(o=n.values)?void 0:o[t])||_t[t]||vr(t)}};return Mt(e,e.maxWidth,t)}return null};Sr.filterProps=["maxWidth"];const kr=zt({prop:"minWidth",transform:vr}),wr=zt({prop:"height",transform:vr}),$r=zt({prop:"maxHeight",transform:vr}),Er=zt({prop:"minHeight",transform:vr});zt({prop:"size",cssProperty:"width",transform:vr}),zt({prop:"size",cssProperty:"height",transform:vr});var Or=At(xr,Sr,kr,wr,$r,Er,zt({prop:"boxSizing"}));const Cr=zt({prop:"fontFamily",themeKey:"typography"}),Tr=zt({prop:"fontSize",themeKey:"typography"}),Rr=zt({prop:"fontStyle",themeKey:"typography"}),Nr=zt({prop:"fontWeight",themeKey:"typography"}),jr=zt({prop:"letterSpacing"}),_r=zt({prop:"textTransform"}),Pr=zt({prop:"lineHeight"}),Mr=zt({prop:"textAlign"});var Ir=At(zt({prop:"typography",cssProperty:!1,themeKey:"typography"}),Cr,Tr,Rr,Nr,jr,Pr,Mr,_r);const Dr={borders:lr.filterProps,display:ur.filterProps,flexbox:pr.filterProps,grid:yr.filterProps,positions:br.filterProps,palette:hr.filterProps,shadows:gr.filterProps,sizing:Or.filterProps,spacing:Xt.filterProps,typography:Ir.filterProps},zr={borders:lr,display:ur,flexbox:pr,grid:yr,positions:br,palette:hr,shadows:gr,sizing:Or,spacing:Xt,typography:Ir},Ar=Object.keys(Dr).reduce(((e,t)=>(Dr[t].forEach((r=>{e[r]=zr[t]})),e)),{});function Br(e,t,r){const n={[e]:t,theme:r},o=Ar[e];return o?o(n):{[e]:t}}function Vr(e){const{sx:t,theme:r={}}=e||{};if(!t)return null;function n(e){let t=e;if("function"==typeof e)t=e(r);else if("object"!=typeof e)return e;const n=function(e={}){var t;return(null==e||null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}(r.breakpoints),o=Object.keys(n);let a=n;return Object.keys(t).forEach((e=>{const n=(o=t[e],i=r,"function"==typeof o?o(i):o);var o,i;if(null!=n)if("object"==typeof n)if(Ar[e])a=jt(a,Br(e,n,r));else{const t=Mt({theme:r},n,(t=>({[e]:t})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(t,n)?a=jt(a,t):a[e]=Vr({sx:n,theme:r})}else a=jt(a,Br(e,n,r))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(o,a)}return Array.isArray(t)?t.map(n):n(t)}function Fr(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=Fr(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Lr(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Fr(e))&&(n&&(n+=" "),n+=t);return n}Vr.filterProps=["sx"];const Wr=["values","unit","step"];var Ur={borderRadius:4};const Kr=["breakpoints","palette","spacing","shape"];function Hr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=S(e,Kr),c=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=S(e,Wr),a=Object.keys(t);function i(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function c(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function s(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return x({keys:a,values:t,up:i,down:c,between:s,only:function(e){return a.indexOf(e)+1<a.length?s(e,a[a.indexOf(e)+1]):i(e)},not:function(e){const t=a.indexOf(e);return 0===t?i(a[1]):t===a.length-1?c(a[t]):s(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}(r),s=function(e=8){if(e.mui)return e;const t=Yt({spacing:e}),r=(...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 r=t(e);return"number"==typeof r?`${r}px`:r})).join(" "));return r.mui=!0,r}(o);let l=Ne({breakpoints:c,direction:"ltr",components:{},palette:x({mode:"light"},n),spacing:s,shape:x({},Ur,a)},i);return l=t.reduce(((e,t)=>Ne(e,t)),l),l}const Yr=e.createContext(null);"production"!==process.env.NODE_ENV&&(Yr.displayName="ThemeContext");var qr=Yr;function Gr(t=null){const r=function(){const t=e.useContext(qr);return"production"!==process.env.NODE_ENV&&e.useDebugValue(t),t}();return r&&(n=r,0!==Object.keys(n).length)?r:t;var n}const Xr=Hr();const Jr=["variant"];function Zr(e){return 0===e.length}function Qr(e){const{variant:t}=e,r=S(e,Jr);let n=t||"";return Object.keys(r).sort().forEach((t=>{n+="color"===t?Zr(n)?e[t]:bt(e[t]):`${Zr(n)?t:bt(t)}${bt(e[t].toString())}`})),n}const en=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],tn=["theme"],rn=["theme"];function nn(e){return 0===Object.keys(e).length}function on(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const an=Hr();function cn(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?function(e,t){const r=x({},t);return Object.keys(e).forEach((t=>{void 0===r[t]&&(r[t]=e[t])})),r}(t.components[r].defaultProps,n):n}function sn({props:e,name:t,defaultTheme:r}){const n=function(e=Xr){return Gr(e)}(r);return cn({theme:n,name:t,props:e})}function ln(e,t=0,r=1){return"production"!==process.env.NODE_ENV&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function un(e){if(e.type)return e;if("#"===e.charAt(0))return un(function(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Me(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Me(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function pn(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function fn(e){let t="hsl"===(e=un(e)).type?un(function(e){e=un(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let c="rg