@codeplex-sac/ui 0.0.17 → 0.0.19

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.
Files changed (4) hide show
  1. package/index.cjs +53 -53
  2. package/index.d.ts +0 -1
  3. package/index.js +11 -12
  4. package/package.json +1 -1
package/index.cjs CHANGED
@@ -1,11 +1,11 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react/jsx-runtime"),le=require("react"),re=require("@mui/system"),Qs=require("@emotion/styled");require("@emotion/react");const W=require("@mui/material"),ur=require("react-dom"),Yo=require("nextstepjs"),Po=require("@mui/icons-material"),Yn=require("@codeplex-sac/inputs"),mt=require("@codeplex-sac/feedback");function sa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const E=sa(le),el=sa(ur),tl={};function rl(){return h.jsx("div",{className:tl.container,children:h.jsx("h1",{children:"Welcome to Ui!"})})}function ol(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ir={exports:{}},Nr={exports:{}},be={};var Kn;function nl(){if(Kn)return be;Kn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(x){if(typeof x=="object"&&x!==null){var w=x.$$typeof;switch(w){case t:switch(x=x.type,x){case c:case u:case n:case a:case i:case m:return x;default:switch(x=x&&x.$$typeof,x){case l:case p:case g:case b:case s:return x;default:return w}}case r:return w}}}function v(x){return S(x)===u}return be.AsyncMode=c,be.ConcurrentMode=u,be.ContextConsumer=l,be.ContextProvider=s,be.Element=t,be.ForwardRef=p,be.Fragment=n,be.Lazy=g,be.Memo=b,be.Portal=r,be.Profiler=a,be.StrictMode=i,be.Suspense=m,be.isAsyncMode=function(x){return v(x)||S(x)===c},be.isConcurrentMode=v,be.isContextConsumer=function(x){return S(x)===l},be.isContextProvider=function(x){return S(x)===s},be.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},be.isForwardRef=function(x){return S(x)===p},be.isFragment=function(x){return S(x)===n},be.isLazy=function(x){return S(x)===g},be.isMemo=function(x){return S(x)===b},be.isPortal=function(x){return S(x)===r},be.isProfiler=function(x){return S(x)===a},be.isStrictMode=function(x){return S(x)===i},be.isSuspense=function(x){return S(x)===m},be.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===u||x===a||x===i||x===m||x===y||typeof x=="object"&&x!==null&&(x.$$typeof===g||x.$$typeof===b||x.$$typeof===s||x.$$typeof===l||x.$$typeof===p||x.$$typeof===C||x.$$typeof===T||x.$$typeof===R||x.$$typeof===d)},be.typeOf=S,be}var ve={};var Xn;function il(){return Xn||(Xn=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(F){return typeof F=="string"||typeof F=="function"||F===n||F===u||F===a||F===i||F===m||F===y||typeof F=="object"&&F!==null&&(F.$$typeof===g||F.$$typeof===b||F.$$typeof===s||F.$$typeof===l||F.$$typeof===p||F.$$typeof===C||F.$$typeof===T||F.$$typeof===R||F.$$typeof===d)}function v(F){if(typeof F=="object"&&F!==null){var ce=F.$$typeof;switch(ce){case t:var ie=F.type;switch(ie){case c:case u:case n:case a:case i:case m:return ie;default:var te=ie&&ie.$$typeof;switch(te){case l:case p:case g:case b:case s:return te;default:return ce}}case r:return ce}}}var x=c,w=u,P=l,I=s,M=t,z=p,B=n,f=g,k=b,$=r,A=a,j=i,V=m,N=!1;function L(F){return N||(N=!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.")),O(F)||v(F)===c}function O(F){return v(F)===u}function _(F){return v(F)===l}function U(F){return v(F)===s}function H(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function Y(F){return v(F)===p}function Z(F){return v(F)===n}function Q(F){return v(F)===g}function ee(F){return v(F)===b}function X(F){return v(F)===r}function ne(F){return v(F)===a}function q(F){return v(F)===i}function oe(F){return v(F)===m}ve.AsyncMode=x,ve.ConcurrentMode=w,ve.ContextConsumer=P,ve.ContextProvider=I,ve.Element=M,ve.ForwardRef=z,ve.Fragment=B,ve.Lazy=f,ve.Memo=k,ve.Portal=$,ve.Profiler=A,ve.StrictMode=j,ve.Suspense=V,ve.isAsyncMode=L,ve.isConcurrentMode=O,ve.isContextConsumer=_,ve.isContextProvider=U,ve.isElement=H,ve.isForwardRef=Y,ve.isFragment=Z,ve.isLazy=Q,ve.isMemo=ee,ve.isPortal=X,ve.isProfiler=ne,ve.isStrictMode=q,ve.isSuspense=oe,ve.isValidElementType=S,ve.typeOf=v})()),ve}var Zn;function la(){return Zn||(Zn=1,process.env.NODE_ENV==="production"?Nr.exports=nl():Nr.exports=il()),Nr.exports}var $o,Jn;function al(){if(Jn)return $o;Jn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(p){u[p]=p}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $o=i()?Object.assign:function(a,s){for(var l,c=n(a),u,p=1;p<arguments.length;p++){l=Object(arguments[p]);for(var m in l)t.call(l,m)&&(c[m]=l[m]);if(e){u=e(l);for(var y=0;y<u.length;y++)r.call(l,u[y])&&(c[u[y]]=l[u[y]])}}return c},$o}var jo,Qn;function xn(){if(Qn)return jo;Qn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return jo=e,jo}var ko,ei;function ca(){return ei||(ei=1,ko=Function.call.bind(Object.prototype.hasOwnProperty)),ko}var Ao,ti;function sl(){if(ti)return Ao;ti=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xn(),r={},n=ca();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(a,s,l,c,u){if(process.env.NODE_ENV!=="production"){for(var p in a)if(n(a,p)){var m;try{if(typeof a[p]!="function"){var y=Error((c||"React class")+": "+l+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}m=a[p](s,p,c,l,null,t)}catch(g){m=g}if(m&&!(m instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in r)){r[m.message]=!0;var b=u?u():"";e("Failed "+l+" type: "+m.message+(b??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Ao=i,Ao}var Mo,ri;function ll(){if(ri)return Mo;ri=1;var e=la(),t=al(),r=xn(),n=ca(),i=sl(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return Mo=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function m(O){var _=O&&(u&&O[u]||O[p]);if(typeof _=="function")return _}var y="<<anonymous>>",b={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:R(),arrayOf:S,element:v(),elementType:x(),instanceOf:w,node:z(),objectOf:I,oneOf:P,oneOfType:M,shape:f,exact:k};function g(O,_){return O===_?O!==0||1/O===1/_:O!==O&&_!==_}function d(O,_){this.message=O,this.data=_&&typeof _=="object"?_:{},this.stack=""}d.prototype=Error.prototype;function C(O){if(process.env.NODE_ENV!=="production")var _={},U=0;function H(Z,Q,ee,X,ne,q,oe){if(X=X||y,q=q||ee,oe!==r){if(c){var F=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 F.name="Invariant Violation",F}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ce=X+":"+ee;!_[ce]&&U<3&&(a("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+X+"`. 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."),_[ce]=!0,U++)}}return Q[ee]==null?Z?Q[ee]===null?new d("The "+ne+" `"+q+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new d("The "+ne+" `"+q+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:O(Q,ee,X,ne,q)}var Y=H.bind(null,!1);return Y.isRequired=H.bind(null,!0),Y}function T(O){function _(U,H,Y,Z,Q,ee){var X=U[H],ne=j(X);if(ne!==O){var q=V(X);return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+q+"` supplied to `"+Y+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return C(_)}function R(){return C(s)}function S(O){function _(U,H,Y,Z,Q){if(typeof O!="function")return new d("Property `"+Q+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var ee=U[H];if(!Array.isArray(ee)){var X=j(ee);return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an array."))}for(var ne=0;ne<ee.length;ne++){var q=O(ee,ne,Y,Z,Q+"["+ne+"]",r);if(q instanceof Error)return q}return null}return C(_)}function v(){function O(_,U,H,Y,Z){var Q=_[U];if(!l(Q)){var ee=j(Q);return new d("Invalid "+Y+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+H+"`, expected a single ReactElement."))}return null}return C(O)}function x(){function O(_,U,H,Y,Z){var Q=_[U];if(!e.isValidElementType(Q)){var ee=j(Q);return new d("Invalid "+Y+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+H+"`, expected a single ReactElement type."))}return null}return C(O)}function w(O){function _(U,H,Y,Z,Q){if(!(U[H]instanceof O)){var ee=O.name||y,X=L(U[H]);return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected ")+("instance of `"+ee+"`."))}return null}return C(_)}function P(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("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])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function _(U,H,Y,Z,Q){for(var ee=U[H],X=0;X<O.length;X++)if(g(ee,O[X]))return null;var ne=JSON.stringify(O,function(oe,F){var ce=V(F);return ce==="symbol"?String(F):F});return new d("Invalid "+Z+" `"+Q+"` of value `"+String(ee)+"` "+("supplied to `"+Y+"`, expected one of "+ne+"."))}return C(_)}function I(O){function _(U,H,Y,Z,Q){if(typeof O!="function")return new d("Property `"+Q+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var ee=U[H],X=j(ee);if(X!=="object")return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an object."));for(var ne in ee)if(n(ee,ne)){var q=O(ee,ne,Y,Z,Q+"."+ne,r);if(q instanceof Error)return q}return null}return C(_)}function M(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var _=0;_<O.length;_++){var U=O[_];if(typeof U!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+N(U)+" at index "+_+"."),s}function H(Y,Z,Q,ee,X){for(var ne=[],q=0;q<O.length;q++){var oe=O[q],F=oe(Y,Z,Q,ee,X,r);if(F==null)return null;F.data&&n(F.data,"expectedType")&&ne.push(F.data.expectedType)}var ce=ne.length>0?", expected one of type ["+ne.join(", ")+"]":"";return new d("Invalid "+ee+" `"+X+"` supplied to "+("`"+Q+"`"+ce+"."))}return C(H)}function z(){function O(_,U,H,Y,Z){return $(_[U])?null:new d("Invalid "+Y+" `"+Z+"` supplied to "+("`"+H+"`, expected a ReactNode."))}return C(O)}function B(O,_,U,H,Y){return new d((O||"React class")+": "+_+" type `"+U+"."+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function f(O){function _(U,H,Y,Z,Q){var ee=U[H],X=j(ee);if(X!=="object")return new d("Invalid "+Z+" `"+Q+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));for(var ne in O){var q=O[ne];if(typeof q!="function")return B(Y,Z,Q,ne,V(q));var oe=q(ee,ne,Y,Z,Q+"."+ne,r);if(oe)return oe}return null}return C(_)}function k(O){function _(U,H,Y,Z,Q){var ee=U[H],X=j(ee);if(X!=="object")return new d("Invalid "+Z+" `"+Q+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));var ne=t({},U[H],O);for(var q in ne){var oe=O[q];if(n(O,q)&&typeof oe!="function")return B(Y,Z,Q,q,V(oe));if(!oe)return new d("Invalid "+Z+" `"+Q+"` key `"+q+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(U[H],null," ")+`
2
- Valid keys: `+JSON.stringify(Object.keys(O),null," "));var F=oe(ee,q,Y,Z,Q+"."+q,r);if(F)return F}return null}return C(_)}function $(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every($);if(O===null||l(O))return!0;var _=m(O);if(_){var U=_.call(O),H;if(_!==O.entries){for(;!(H=U.next()).done;)if(!$(H.value))return!1}else for(;!(H=U.next()).done;){var Y=H.value;if(Y&&!$(Y[1]))return!1}}else return!1;return!0;default:return!1}}function A(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function j(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":A(_,O)?"symbol":_}function V(O){if(typeof O>"u"||O===null)return""+O;var _=j(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function N(O){var _=V(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function L(O){return!O.constructor||!O.constructor.name?y:O.constructor.name}return b.checkPropTypes=i,b.resetWarningCache=i.resetWarningCache,b.PropTypes=b,b},Mo}var Io,oi;function cl(){if(oi)return Io;oi=1;var e=xn();function t(){}function r(){}return r.resetWarningCache=t,Io=function(){function n(s,l,c,u,p,m){if(m!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Io}var ni;function ul(){if(ni)return Ir.exports;if(ni=1,process.env.NODE_ENV!=="production"){var e=la(),t=!0;Ir.exports=ll()(e.isElement,t)}else Ir.exports=cl()();return Ir.exports}var pl=ul();const o=ol(pl);function ua(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=ua(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function se(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=ua(e))&&(n&&(n+=" "),n+=t);return n}function Gr(e,t,r=!1){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const a=i;if(a==="components"||a==="slots")n[a]={...e[a],...n[a]};else if(a==="componentsProps"||a==="slotProps"){const s=e[a],l=t[a];if(!l)n[a]=s||{};else if(!s)n[a]=l;else{n[a]={...l};for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c)){const u=c;n[a][u]=Gr(s[u],l[u],r)}}}else a==="className"&&r&&t.className?n.className=se(e?.className,t?.className):a==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[a]===void 0&&(n[a]=e[a])}return n}function $e(e,t,r=void 0){const n={};for(const i in e){const a=e[i];let s="",l=!0;for(let c=0;c<a.length;c+=1){const u=a[c];u&&(s+=(l===!0?"":" ")+t(u),l=!1,r&&r[u]&&(s+=" "+r[u]))}n[i]=s}return n}const ii=e=>e,dl=()=>{let e=ii;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ii}}},pa=dl();function bt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function G(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":bt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ai(...e){return e.reduce((t,r)=>r==null?t:function(...i){t.apply(this,i),r.apply(this,i)},()=>{})}var Br={exports:{}},Se={};var si;function fl(){if(si)return Se;si=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function g(d){if(typeof d=="object"&&d!==null){var C=d.$$typeof;switch(C){case e:switch(d=d.type,d){case r:case i:case n:case c:case u:case y:return d;default:switch(d=d&&d.$$typeof,d){case s:case l:case m:case p:return d;case a:return d;default:return C}}case t:return C}}}return Se.ContextConsumer=a,Se.ContextProvider=s,Se.Element=e,Se.ForwardRef=l,Se.Fragment=r,Se.Lazy=m,Se.Memo=p,Se.Portal=t,Se.Profiler=i,Se.StrictMode=n,Se.Suspense=c,Se.SuspenseList=u,Se.isContextConsumer=function(d){return g(d)===a},Se.isContextProvider=function(d){return g(d)===s},Se.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},Se.isForwardRef=function(d){return g(d)===l},Se.isFragment=function(d){return g(d)===r},Se.isLazy=function(d){return g(d)===m},Se.isMemo=function(d){return g(d)===p},Se.isPortal=function(d){return g(d)===t},Se.isProfiler=function(d){return g(d)===i},Se.isStrictMode=function(d){return g(d)===n},Se.isSuspense=function(d){return g(d)===c},Se.isSuspenseList=function(d){return g(d)===u},Se.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===i||d===n||d===c||d===u||typeof d=="object"&&d!==null&&(d.$$typeof===m||d.$$typeof===p||d.$$typeof===s||d.$$typeof===a||d.$$typeof===l||d.$$typeof===b||d.getModuleId!==void 0)},Se.typeOf=g,Se}var Oe={};var li;function ml(){return li||(li=1,process.env.NODE_ENV!=="production"&&(function(){function e(d){if(typeof d=="object"&&d!==null){var C=d.$$typeof;switch(C){case t:switch(d=d.type,d){case n:case a:case i:case u:case p:case b:return d;default:switch(d=d&&d.$$typeof,d){case l:case c:case y:case m:return d;case s:return d;default:return C}}case r:return C}}}var t=Symbol.for("react.transitional.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.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");Oe.ContextConsumer=s,Oe.ContextProvider=l,Oe.Element=t,Oe.ForwardRef=c,Oe.Fragment=n,Oe.Lazy=y,Oe.Memo=m,Oe.Portal=r,Oe.Profiler=a,Oe.StrictMode=i,Oe.Suspense=u,Oe.SuspenseList=p,Oe.isContextConsumer=function(d){return e(d)===s},Oe.isContextProvider=function(d){return e(d)===l},Oe.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},Oe.isForwardRef=function(d){return e(d)===c},Oe.isFragment=function(d){return e(d)===n},Oe.isLazy=function(d){return e(d)===y},Oe.isMemo=function(d){return e(d)===m},Oe.isPortal=function(d){return e(d)===r},Oe.isProfiler=function(d){return e(d)===a},Oe.isStrictMode=function(d){return e(d)===i},Oe.isSuspense=function(d){return e(d)===u},Oe.isSuspenseList=function(d){return e(d)===p},Oe.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===n||d===a||d===i||d===u||d===p||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===m||d.$$typeof===l||d.$$typeof===s||d.$$typeof===c||d.$$typeof===g||d.getModuleId!==void 0)},Oe.typeOf=e})()),Oe}var ci;function hl(){return ci||(ci=1,process.env.NODE_ENV==="production"?Br.exports=fl():Br.exports=ml()),Br.exports}var vr=hl();function pt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function da(e){if(E.isValidElement(e)||vr.isValidElementType(e)||!pt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=da(e[r])}),t}function Ze(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return pt(e)&&pt(t)&&Object.keys(t).forEach(i=>{E.isValidElement(t[i])||vr.isValidElementType(t[i])?n[i]=t[i]:pt(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&pt(e[i])?n[i]=Ze(e[i],t[i],r):r.clone?n[i]=pt(t[i])?da(t[i]):t[i]:n[i]=t[i]}),n}function hr(e,t){return t?Ze(e,t,{clone:!1}):e}const $t=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.string,o.object,o.array]):{};function ui(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,i)=>{const a=/min-width:\s*([0-9.]+)/;return+(n.match(a)?.[1]||0)-+(i.match(a)?.[1]||0)});return r.length?r.reduce((n,i)=>{const a=t[i];return delete n[i],n[i]=a,n},{...t}):t}function gl(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function yl(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
3
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:bt(18,`(${t})`));return null}const[,n,i]=r,a=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(a)}function bl(e){const t=(a,s)=>a.replace("@media",s?`@container ${s}`:"@container");function r(a,s){a.up=(...l)=>t(e.breakpoints.up(...l),s),a.down=(...l)=>t(e.breakpoints.down(...l),s),a.between=(...l)=>t(e.breakpoints.between(...l),s),a.only=(...l)=>t(e.breakpoints.only(...l),s),a.not=(...l)=>{const c=t(e.breakpoints.not(...l),s);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const n={},i=a=>(r(n,a),n);return r(i),{...e,containerQueries:i}}const io={xs:0,sm:600,md:900,lg:1200,xl:1536},pi={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${io[e]}px)`},vl={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:io[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function vt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const a=n.breakpoints||pi;return t.reduce((s,l,c)=>(s[a.up(a.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const a=n.breakpoints||pi;return Object.keys(t).reduce((s,l)=>{if(gl(a.keys,l)){const c=yl(n.containerQueries?n:vl,l);c&&(s[c]=r(t[l],l))}else if(Object.keys(a.values||io).includes(l)){const c=a.up(l);s[c]=r(t[l],l)}else{const c=l;s[c]=t[c]}return s},{})}return r(t)}function xl(e={}){return e.keys?.reduce((r,n)=>{const i=e.up(n);return r[i]={},r},{})||{}}function di(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function ao(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function Yr(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=ao(e,r)||n,t&&(i=t(i,n,e)),i}function De(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,a=s=>{if(s[t]==null)return null;const l=s[t],c=s.theme,u=ao(c,n)||{};return vt(s,l,m=>{let y=Yr(u,i,m);return m===y&&typeof m=="string"&&(y=Yr(u,i,`${t}${m==="default"?"":G(m)}`,m)),r===!1?y:{[r]:y}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[t]:$t}:{},a.filterProps=[t],a}function Cl(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Tl={m:"margin",p:"padding"},wl={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},fi={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},El=Cl(e=>{if(e.length>2)if(fi[e])e=fi[e];else return[e];const[t,r]=e.split(""),n=Tl[t],i=wl[r]||"";return Array.isArray(i)?i.map(a=>n+a):[n+i]}),so=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],lo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Sl=[...so,...lo];function Sr(e,t,r,n){const i=ao(e,t,!0)??r;return typeof i=="number"||typeof i=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),typeof i=="string"?i.startsWith("var(")&&a===0?0:i.startsWith("var(")&&a===1?i:`calc(${a} * ${i})`:i*a):Array.isArray(i)?a=>{if(typeof a=="string")return a;const s=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>i.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${s} > ${i.length-1}, you need to add the missing values.`].join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("react/jsx-runtime"),le=require("react"),re=require("@mui/system"),Js=require("@emotion/styled");require("@emotion/react");const W=require("@mui/material"),ur=require("react-dom"),Yo=require("nextstepjs"),Po=require("@mui/icons-material"),mt=require("@codeplex-sac/feedback");function aa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const E=aa(le),Qs=aa(ur),el={};function tl(){return h.jsx("div",{className:el.container,children:h.jsx("h1",{children:"Welcome to Ui!"})})}function rl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ir={exports:{}},Nr={exports:{}},be={};var Yn;function ol(){if(Yn)return be;Yn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(x){if(typeof x=="object"&&x!==null){var w=x.$$typeof;switch(w){case t:switch(x=x.type,x){case c:case u:case n:case a:case i:case m:return x;default:switch(x=x&&x.$$typeof,x){case l:case p:case g:case b:case s:return x;default:return w}}case r:return w}}}function v(x){return S(x)===u}return be.AsyncMode=c,be.ConcurrentMode=u,be.ContextConsumer=l,be.ContextProvider=s,be.Element=t,be.ForwardRef=p,be.Fragment=n,be.Lazy=g,be.Memo=b,be.Portal=r,be.Profiler=a,be.StrictMode=i,be.Suspense=m,be.isAsyncMode=function(x){return v(x)||S(x)===c},be.isConcurrentMode=v,be.isContextConsumer=function(x){return S(x)===l},be.isContextProvider=function(x){return S(x)===s},be.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},be.isForwardRef=function(x){return S(x)===p},be.isFragment=function(x){return S(x)===n},be.isLazy=function(x){return S(x)===g},be.isMemo=function(x){return S(x)===b},be.isPortal=function(x){return S(x)===r},be.isProfiler=function(x){return S(x)===a},be.isStrictMode=function(x){return S(x)===i},be.isSuspense=function(x){return S(x)===m},be.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===u||x===a||x===i||x===m||x===y||typeof x=="object"&&x!==null&&(x.$$typeof===g||x.$$typeof===b||x.$$typeof===s||x.$$typeof===l||x.$$typeof===p||x.$$typeof===C||x.$$typeof===T||x.$$typeof===R||x.$$typeof===d)},be.typeOf=S,be}var ve={};var Kn;function nl(){return Kn||(Kn=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,T=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function S(F){return typeof F=="string"||typeof F=="function"||F===n||F===u||F===a||F===i||F===m||F===y||typeof F=="object"&&F!==null&&(F.$$typeof===g||F.$$typeof===b||F.$$typeof===s||F.$$typeof===l||F.$$typeof===p||F.$$typeof===C||F.$$typeof===T||F.$$typeof===R||F.$$typeof===d)}function v(F){if(typeof F=="object"&&F!==null){var ce=F.$$typeof;switch(ce){case t:var ie=F.type;switch(ie){case c:case u:case n:case a:case i:case m:return ie;default:var te=ie&&ie.$$typeof;switch(te){case l:case p:case g:case b:case s:return te;default:return ce}}case r:return ce}}}var x=c,w=u,P=l,I=s,M=t,z=p,B=n,f=g,k=b,$=r,A=a,j=i,V=m,N=!1;function L(F){return N||(N=!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.")),O(F)||v(F)===c}function O(F){return v(F)===u}function _(F){return v(F)===l}function U(F){return v(F)===s}function H(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function Y(F){return v(F)===p}function Z(F){return v(F)===n}function Q(F){return v(F)===g}function ee(F){return v(F)===b}function X(F){return v(F)===r}function ne(F){return v(F)===a}function q(F){return v(F)===i}function oe(F){return v(F)===m}ve.AsyncMode=x,ve.ConcurrentMode=w,ve.ContextConsumer=P,ve.ContextProvider=I,ve.Element=M,ve.ForwardRef=z,ve.Fragment=B,ve.Lazy=f,ve.Memo=k,ve.Portal=$,ve.Profiler=A,ve.StrictMode=j,ve.Suspense=V,ve.isAsyncMode=L,ve.isConcurrentMode=O,ve.isContextConsumer=_,ve.isContextProvider=U,ve.isElement=H,ve.isForwardRef=Y,ve.isFragment=Z,ve.isLazy=Q,ve.isMemo=ee,ve.isPortal=X,ve.isProfiler=ne,ve.isStrictMode=q,ve.isSuspense=oe,ve.isValidElementType=S,ve.typeOf=v})()),ve}var Xn;function sa(){return Xn||(Xn=1,process.env.NODE_ENV==="production"?Nr.exports=ol():Nr.exports=nl()),Nr.exports}var $o,Zn;function il(){if(Zn)return $o;Zn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(s).map(function(p){return s[p]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(p){u[p]=p}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return $o=i()?Object.assign:function(a,s){for(var l,c=n(a),u,p=1;p<arguments.length;p++){l=Object(arguments[p]);for(var m in l)t.call(l,m)&&(c[m]=l[m]);if(e){u=e(l);for(var y=0;y<u.length;y++)r.call(l,u[y])&&(c[u[y]]=l[u[y]])}}return c},$o}var jo,Jn;function xn(){if(Jn)return jo;Jn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return jo=e,jo}var ko,Qn;function la(){return Qn||(Qn=1,ko=Function.call.bind(Object.prototype.hasOwnProperty)),ko}var Ao,ei;function al(){if(ei)return Ao;ei=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=xn(),r={},n=la();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(a,s,l,c,u){if(process.env.NODE_ENV!=="production"){for(var p in a)if(n(a,p)){var m;try{if(typeof a[p]!="function"){var y=Error((c||"React class")+": "+l+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}m=a[p](s,p,c,l,null,t)}catch(g){m=g}if(m&&!(m instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in r)){r[m.message]=!0;var b=u?u():"";e("Failed "+l+" type: "+m.message+(b??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Ao=i,Ao}var Mo,ti;function sl(){if(ti)return Mo;ti=1;var e=sa(),t=il(),r=xn(),n=la(),i=al(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return Mo=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function m(O){var _=O&&(u&&O[u]||O[p]);if(typeof _=="function")return _}var y="<<anonymous>>",b={array:T("array"),bigint:T("bigint"),bool:T("boolean"),func:T("function"),number:T("number"),object:T("object"),string:T("string"),symbol:T("symbol"),any:R(),arrayOf:S,element:v(),elementType:x(),instanceOf:w,node:z(),objectOf:I,oneOf:P,oneOfType:M,shape:f,exact:k};function g(O,_){return O===_?O!==0||1/O===1/_:O!==O&&_!==_}function d(O,_){this.message=O,this.data=_&&typeof _=="object"?_:{},this.stack=""}d.prototype=Error.prototype;function C(O){if(process.env.NODE_ENV!=="production")var _={},U=0;function H(Z,Q,ee,X,ne,q,oe){if(X=X||y,q=q||ee,oe!==r){if(c){var F=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 F.name="Invariant Violation",F}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ce=X+":"+ee;!_[ce]&&U<3&&(a("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+X+"`. 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."),_[ce]=!0,U++)}}return Q[ee]==null?Z?Q[ee]===null?new d("The "+ne+" `"+q+"` is marked as required "+("in `"+X+"`, but its value is `null`.")):new d("The "+ne+" `"+q+"` is marked as required in "+("`"+X+"`, but its value is `undefined`.")):null:O(Q,ee,X,ne,q)}var Y=H.bind(null,!1);return Y.isRequired=H.bind(null,!0),Y}function T(O){function _(U,H,Y,Z,Q,ee){var X=U[H],ne=j(X);if(ne!==O){var q=V(X);return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+q+"` supplied to `"+Y+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return C(_)}function R(){return C(s)}function S(O){function _(U,H,Y,Z,Q){if(typeof O!="function")return new d("Property `"+Q+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var ee=U[H];if(!Array.isArray(ee)){var X=j(ee);return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an array."))}for(var ne=0;ne<ee.length;ne++){var q=O(ee,ne,Y,Z,Q+"["+ne+"]",r);if(q instanceof Error)return q}return null}return C(_)}function v(){function O(_,U,H,Y,Z){var Q=_[U];if(!l(Q)){var ee=j(Q);return new d("Invalid "+Y+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+H+"`, expected a single ReactElement."))}return null}return C(O)}function x(){function O(_,U,H,Y,Z){var Q=_[U];if(!e.isValidElementType(Q)){var ee=j(Q);return new d("Invalid "+Y+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+H+"`, expected a single ReactElement type."))}return null}return C(O)}function w(O){function _(U,H,Y,Z,Q){if(!(U[H]instanceof O)){var ee=O.name||y,X=L(U[H]);return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected ")+("instance of `"+ee+"`."))}return null}return C(_)}function P(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("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])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function _(U,H,Y,Z,Q){for(var ee=U[H],X=0;X<O.length;X++)if(g(ee,O[X]))return null;var ne=JSON.stringify(O,function(oe,F){var ce=V(F);return ce==="symbol"?String(F):F});return new d("Invalid "+Z+" `"+Q+"` of value `"+String(ee)+"` "+("supplied to `"+Y+"`, expected one of "+ne+"."))}return C(_)}function I(O){function _(U,H,Y,Z,Q){if(typeof O!="function")return new d("Property `"+Q+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var ee=U[H],X=j(ee);if(X!=="object")return new d("Invalid "+Z+" `"+Q+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected an object."));for(var ne in ee)if(n(ee,ne)){var q=O(ee,ne,Y,Z,Q+"."+ne,r);if(q instanceof Error)return q}return null}return C(_)}function M(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var _=0;_<O.length;_++){var U=O[_];if(typeof U!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+N(U)+" at index "+_+"."),s}function H(Y,Z,Q,ee,X){for(var ne=[],q=0;q<O.length;q++){var oe=O[q],F=oe(Y,Z,Q,ee,X,r);if(F==null)return null;F.data&&n(F.data,"expectedType")&&ne.push(F.data.expectedType)}var ce=ne.length>0?", expected one of type ["+ne.join(", ")+"]":"";return new d("Invalid "+ee+" `"+X+"` supplied to "+("`"+Q+"`"+ce+"."))}return C(H)}function z(){function O(_,U,H,Y,Z){return $(_[U])?null:new d("Invalid "+Y+" `"+Z+"` supplied to "+("`"+H+"`, expected a ReactNode."))}return C(O)}function B(O,_,U,H,Y){return new d((O||"React class")+": "+_+" type `"+U+"."+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function f(O){function _(U,H,Y,Z,Q){var ee=U[H],X=j(ee);if(X!=="object")return new d("Invalid "+Z+" `"+Q+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));for(var ne in O){var q=O[ne];if(typeof q!="function")return B(Y,Z,Q,ne,V(q));var oe=q(ee,ne,Y,Z,Q+"."+ne,r);if(oe)return oe}return null}return C(_)}function k(O){function _(U,H,Y,Z,Q){var ee=U[H],X=j(ee);if(X!=="object")return new d("Invalid "+Z+" `"+Q+"` of type `"+X+"` "+("supplied to `"+Y+"`, expected `object`."));var ne=t({},U[H],O);for(var q in ne){var oe=O[q];if(n(O,q)&&typeof oe!="function")return B(Y,Z,Q,q,V(oe));if(!oe)return new d("Invalid "+Z+" `"+Q+"` key `"+q+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(U[H],null," ")+`
2
+ Valid keys: `+JSON.stringify(Object.keys(O),null," "));var F=oe(ee,q,Y,Z,Q+"."+q,r);if(F)return F}return null}return C(_)}function $(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every($);if(O===null||l(O))return!0;var _=m(O);if(_){var U=_.call(O),H;if(_!==O.entries){for(;!(H=U.next()).done;)if(!$(H.value))return!1}else for(;!(H=U.next()).done;){var Y=H.value;if(Y&&!$(Y[1]))return!1}}else return!1;return!0;default:return!1}}function A(O,_){return O==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function j(O){var _=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":A(_,O)?"symbol":_}function V(O){if(typeof O>"u"||O===null)return""+O;var _=j(O);if(_==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return _}function N(O){var _=V(O);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function L(O){return!O.constructor||!O.constructor.name?y:O.constructor.name}return b.checkPropTypes=i,b.resetWarningCache=i.resetWarningCache,b.PropTypes=b,b},Mo}var Io,ri;function ll(){if(ri)return Io;ri=1;var e=xn();function t(){}function r(){}return r.resetWarningCache=t,Io=function(){function n(s,l,c,u,p,m){if(m!==e){var y=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 y.name="Invariant Violation",y}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Io}var oi;function cl(){if(oi)return Ir.exports;if(oi=1,process.env.NODE_ENV!=="production"){var e=sa(),t=!0;Ir.exports=sl()(e.isElement,t)}else Ir.exports=ll()();return Ir.exports}var ul=cl();const o=rl(ul);function ca(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=ca(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function se(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=ca(e))&&(n&&(n+=" "),n+=t);return n}function Gr(e,t,r=!1){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const a=i;if(a==="components"||a==="slots")n[a]={...e[a],...n[a]};else if(a==="componentsProps"||a==="slotProps"){const s=e[a],l=t[a];if(!l)n[a]=s||{};else if(!s)n[a]=l;else{n[a]={...l};for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c)){const u=c;n[a][u]=Gr(s[u],l[u],r)}}}else a==="className"&&r&&t.className?n.className=se(e?.className,t?.className):a==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[a]===void 0&&(n[a]=e[a])}return n}function $e(e,t,r=void 0){const n={};for(const i in e){const a=e[i];let s="",l=!0;for(let c=0;c<a.length;c+=1){const u=a[c];u&&(s+=(l===!0?"":" ")+t(u),l=!1,r&&r[u]&&(s+=" "+r[u]))}n[i]=s}return n}const ni=e=>e,pl=()=>{let e=ni;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ni}}},ua=pl();function bt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function G(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":bt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ii(...e){return e.reduce((t,r)=>r==null?t:function(...i){t.apply(this,i),r.apply(this,i)},()=>{})}var Br={exports:{}},Se={};var ai;function dl(){if(ai)return Se;ai=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");function g(d){if(typeof d=="object"&&d!==null){var C=d.$$typeof;switch(C){case e:switch(d=d.type,d){case r:case i:case n:case c:case u:case y:return d;default:switch(d=d&&d.$$typeof,d){case s:case l:case m:case p:return d;case a:return d;default:return C}}case t:return C}}}return Se.ContextConsumer=a,Se.ContextProvider=s,Se.Element=e,Se.ForwardRef=l,Se.Fragment=r,Se.Lazy=m,Se.Memo=p,Se.Portal=t,Se.Profiler=i,Se.StrictMode=n,Se.Suspense=c,Se.SuspenseList=u,Se.isContextConsumer=function(d){return g(d)===a},Se.isContextProvider=function(d){return g(d)===s},Se.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},Se.isForwardRef=function(d){return g(d)===l},Se.isFragment=function(d){return g(d)===r},Se.isLazy=function(d){return g(d)===m},Se.isMemo=function(d){return g(d)===p},Se.isPortal=function(d){return g(d)===t},Se.isProfiler=function(d){return g(d)===i},Se.isStrictMode=function(d){return g(d)===n},Se.isSuspense=function(d){return g(d)===c},Se.isSuspenseList=function(d){return g(d)===u},Se.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===i||d===n||d===c||d===u||typeof d=="object"&&d!==null&&(d.$$typeof===m||d.$$typeof===p||d.$$typeof===s||d.$$typeof===a||d.$$typeof===l||d.$$typeof===b||d.getModuleId!==void 0)},Se.typeOf=g,Se}var Oe={};var si;function fl(){return si||(si=1,process.env.NODE_ENV!=="production"&&(function(){function e(d){if(typeof d=="object"&&d!==null){var C=d.$$typeof;switch(C){case t:switch(d=d.type,d){case n:case a:case i:case u:case p:case b:return d;default:switch(d=d&&d.$$typeof,d){case l:case c:case y:case m:return d;case s:return d;default:return C}}case r:return C}}}var t=Symbol.for("react.transitional.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.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");Oe.ContextConsumer=s,Oe.ContextProvider=l,Oe.Element=t,Oe.ForwardRef=c,Oe.Fragment=n,Oe.Lazy=y,Oe.Memo=m,Oe.Portal=r,Oe.Profiler=a,Oe.StrictMode=i,Oe.Suspense=u,Oe.SuspenseList=p,Oe.isContextConsumer=function(d){return e(d)===s},Oe.isContextProvider=function(d){return e(d)===l},Oe.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},Oe.isForwardRef=function(d){return e(d)===c},Oe.isFragment=function(d){return e(d)===n},Oe.isLazy=function(d){return e(d)===y},Oe.isMemo=function(d){return e(d)===m},Oe.isPortal=function(d){return e(d)===r},Oe.isProfiler=function(d){return e(d)===a},Oe.isStrictMode=function(d){return e(d)===i},Oe.isSuspense=function(d){return e(d)===u},Oe.isSuspenseList=function(d){return e(d)===p},Oe.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===n||d===a||d===i||d===u||d===p||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===m||d.$$typeof===l||d.$$typeof===s||d.$$typeof===c||d.$$typeof===g||d.getModuleId!==void 0)},Oe.typeOf=e})()),Oe}var li;function ml(){return li||(li=1,process.env.NODE_ENV==="production"?Br.exports=dl():Br.exports=fl()),Br.exports}var vr=ml();function pt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function pa(e){if(E.isValidElement(e)||vr.isValidElementType(e)||!pt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=pa(e[r])}),t}function Ze(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return pt(e)&&pt(t)&&Object.keys(t).forEach(i=>{E.isValidElement(t[i])||vr.isValidElementType(t[i])?n[i]=t[i]:pt(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&pt(e[i])?n[i]=Ze(e[i],t[i],r):r.clone?n[i]=pt(t[i])?pa(t[i]):t[i]:n[i]=t[i]}),n}function hr(e,t){return t?Ze(e,t,{clone:!1}):e}const $t=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.string,o.object,o.array]):{};function ci(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,i)=>{const a=/min-width:\s*([0-9.]+)/;return+(n.match(a)?.[1]||0)-+(i.match(a)?.[1]||0)});return r.length?r.reduce((n,i)=>{const a=t[i];return delete n[i],n[i]=a,n},{...t}):t}function hl(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function gl(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
3
+ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:bt(18,`(${t})`));return null}const[,n,i]=r,a=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(a)}function yl(e){const t=(a,s)=>a.replace("@media",s?`@container ${s}`:"@container");function r(a,s){a.up=(...l)=>t(e.breakpoints.up(...l),s),a.down=(...l)=>t(e.breakpoints.down(...l),s),a.between=(...l)=>t(e.breakpoints.between(...l),s),a.only=(...l)=>t(e.breakpoints.only(...l),s),a.not=(...l)=>{const c=t(e.breakpoints.not(...l),s);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const n={},i=a=>(r(n,a),n);return r(i),{...e,containerQueries:i}}const io={xs:0,sm:600,md:900,lg:1200,xl:1536},ui={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${io[e]}px)`},bl={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:io[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function vt(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const a=n.breakpoints||ui;return t.reduce((s,l,c)=>(s[a.up(a.keys[c])]=r(t[c]),s),{})}if(typeof t=="object"){const a=n.breakpoints||ui;return Object.keys(t).reduce((s,l)=>{if(hl(a.keys,l)){const c=gl(n.containerQueries?n:bl,l);c&&(s[c]=r(t[l],l))}else if(Object.keys(a.values||io).includes(l)){const c=a.up(l);s[c]=r(t[l],l)}else{const c=l;s[c]=t[c]}return s},{})}return r(t)}function vl(e={}){return e.keys?.reduce((r,n)=>{const i=e.up(n);return r[i]={},r},{})||{}}function pi(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function ao(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function Yr(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=ao(e,r)||n,t&&(i=t(i,n,e)),i}function De(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,a=s=>{if(s[t]==null)return null;const l=s[t],c=s.theme,u=ao(c,n)||{};return vt(s,l,m=>{let y=Yr(u,i,m);return m===y&&typeof m=="string"&&(y=Yr(u,i,`${t}${m==="default"?"":G(m)}`,m)),r===!1?y:{[r]:y}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[t]:$t}:{},a.filterProps=[t],a}function xl(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Cl={m:"margin",p:"padding"},Tl={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},di={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},wl=xl(e=>{if(e.length>2)if(di[e])e=di[e];else return[e];const[t,r]=e.split(""),n=Cl[t],i=Tl[r]||"";return Array.isArray(i)?i.map(a=>n+a):[n+i]}),so=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],lo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],El=[...so,...lo];function Sr(e,t,r,n){const i=ao(e,t,!0)??r;return typeof i=="number"||typeof i=="string"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`),typeof i=="string"?i.startsWith("var(")&&a===0?0:i.startsWith("var(")&&a===1?i:`calc(${a} * ${i})`:i*a):Array.isArray(i)?a=>{if(typeof a=="string")return a;const s=Math.abs(a);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>i.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${s} > ${i.length-1}, you need to add the missing values.`].join(`
4
4
  `)):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(`
5
5
  `)));const l=i[s];return a>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
6
- `)),()=>{})}function Cn(e){return Sr(e,"spacing",8,"spacing")}function Or(e,t){return typeof t=="string"||t==null?t:e(t)}function Ol(e,t){return r=>e.reduce((n,i)=>(n[i]=Or(t,r),n),{})}function Rl(e,t,r,n){if(!t.includes(r))return null;const i=El(r),a=Ol(i,n),s=e[r];return vt(e,s,a)}function fa(e,t){const r=Cn(e.theme);return Object.keys(e).map(n=>Rl(e,t,n,r)).reduce(hr,{})}function Me(e){return fa(e,so)}Me.propTypes=process.env.NODE_ENV!=="production"?so.reduce((e,t)=>(e[t]=$t,e),{}):{};Me.filterProps=so;function Ie(e){return fa(e,lo)}Ie.propTypes=process.env.NODE_ENV!=="production"?lo.reduce((e,t)=>(e[t]=$t,e),{}):{};Ie.filterProps=lo;process.env.NODE_ENV!=="production"&&Sl.reduce((e,t)=>(e[t]=$t,e),{});function co(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(a=>{n[a]=i}),n),{}),r=n=>Object.keys(n).reduce((i,a)=>t[a]?hr(i,t[a](n)):i,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,i)=>Object.assign(n,i.propTypes),{}):{},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function et(e){return typeof e!="number"?e:`${e}px solid`}function nt(e,t){return De({prop:e,themeKey:"borders",transform:t})}const Pl=nt("border",et),$l=nt("borderTop",et),jl=nt("borderRight",et),kl=nt("borderBottom",et),Al=nt("borderLeft",et),Ml=nt("borderColor"),Il=nt("borderTopColor"),Nl=nt("borderRightColor"),Bl=nt("borderBottomColor"),Dl=nt("borderLeftColor"),zl=nt("outline",et),Fl=nt("outlineColor"),uo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Sr(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Or(t,n)});return vt(e,e.borderRadius,r)}return null};uo.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:$t}:{};uo.filterProps=["borderRadius"];co(Pl,$l,jl,kl,Al,Ml,Il,Nl,Bl,Dl,uo,zl,Fl);const po=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Sr(e.theme,"spacing",8,"gap"),r=n=>({gap:Or(t,n)});return vt(e,e.gap,r)}return null};po.propTypes=process.env.NODE_ENV!=="production"?{gap:$t}:{};po.filterProps=["gap"];const fo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Sr(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Or(t,n)});return vt(e,e.columnGap,r)}return null};fo.propTypes=process.env.NODE_ENV!=="production"?{columnGap:$t}:{};fo.filterProps=["columnGap"];const mo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Sr(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Or(t,n)});return vt(e,e.rowGap,r)}return null};mo.propTypes=process.env.NODE_ENV!=="production"?{rowGap:$t}:{};mo.filterProps=["rowGap"];const _l=De({prop:"gridColumn"}),Vl=De({prop:"gridRow"}),Ll=De({prop:"gridAutoFlow"}),Wl=De({prop:"gridAutoColumns"}),Hl=De({prop:"gridAutoRows"}),Ul=De({prop:"gridTemplateColumns"}),ql=De({prop:"gridTemplateRows"}),Gl=De({prop:"gridTemplateAreas"}),Yl=De({prop:"gridArea"});co(po,fo,mo,_l,Vl,Ll,Wl,Hl,Ul,ql,Gl,Yl);function Xt(e,t){return t==="grey"?t:e}const Kl=De({prop:"color",themeKey:"palette",transform:Xt}),Xl=De({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xt}),Zl=De({prop:"backgroundColor",themeKey:"palette",transform:Xt});co(Kl,Xl,Zl);function Xe(e){return e<=1&&e!==0?`${e*100}%`:e}const Jl=De({prop:"width",transform:Xe}),Tn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||io[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Xe(r)}};return vt(e,e.maxWidth,t)}return null};Tn.filterProps=["maxWidth"];const Ql=De({prop:"minWidth",transform:Xe}),ec=De({prop:"height",transform:Xe}),tc=De({prop:"maxHeight",transform:Xe}),rc=De({prop:"minHeight",transform:Xe});De({prop:"size",cssProperty:"width",transform:Xe});De({prop:"size",cssProperty:"height",transform:Xe});const oc=De({prop:"boxSizing"});co(Jl,Tn,Ql,ec,tc,rc,oc);const Rr={border:{themeKey:"borders",transform:et},borderTop:{themeKey:"borders",transform:et},borderRight:{themeKey:"borders",transform:et},borderBottom:{themeKey:"borders",transform:et},borderLeft:{themeKey:"borders",transform:et},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:et},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:uo},color:{themeKey:"palette",transform:Xt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xt},backgroundColor:{themeKey:"palette",transform:Xt},p:{style:Ie},pt:{style:Ie},pr:{style:Ie},pb:{style:Ie},pl:{style:Ie},px:{style:Ie},py:{style:Ie},padding:{style:Ie},paddingTop:{style:Ie},paddingRight:{style:Ie},paddingBottom:{style:Ie},paddingLeft:{style:Ie},paddingX:{style:Ie},paddingY:{style:Ie},paddingInline:{style:Ie},paddingInlineStart:{style:Ie},paddingInlineEnd:{style:Ie},paddingBlock:{style:Ie},paddingBlockStart:{style:Ie},paddingBlockEnd:{style:Ie},m:{style:Me},mt:{style:Me},mr:{style:Me},mb:{style:Me},ml:{style:Me},mx:{style:Me},my:{style:Me},margin:{style:Me},marginTop:{style:Me},marginRight:{style:Me},marginBottom:{style:Me},marginLeft:{style:Me},marginX:{style:Me},marginY:{style:Me},marginInline:{style:Me},marginInlineStart:{style:Me},marginInlineEnd:{style:Me},marginBlock:{style:Me},marginBlockStart:{style:Me},marginBlockEnd:{style:Me},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:po},rowGap:{style:mo},columnGap:{style:fo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xe},maxWidth:{style:Tn},minWidth:{transform:Xe},height:{transform:Xe},maxHeight:{transform:Xe},minHeight:{transform:Xe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function nc(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function ic(e,t){return typeof e=="function"?e(t):e}function ac(){function e(r,n,i,a){const s={[r]:n,theme:i},l=a[r];if(!l)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:p,style:m}=l;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const y=ao(i,u)||{};return m?m(s):vt(s,n,g=>{let d=Yr(y,p,g);return g===d&&typeof g=="string"&&(d=Yr(y,p,`${r}${g==="default"?"":G(g)}`,g)),c===!1?d:{[c]:d}})}function t(r){const{sx:n,theme:i={},nested:a}=r||{};if(!n)return null;const s=i.unstable_sxConfig??Rr;function l(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const p=xl(i.breakpoints),m=Object.keys(p);let y=p;return Object.keys(u).forEach(b=>{const g=ic(u[b],i);if(g!=null)if(typeof g=="object")if(s[b])y=hr(y,e(b,g,i,s));else{const d=vt({theme:i},g,C=>({[b]:C}));nc(d,g)?y[b]=t({sx:g,theme:i,nested:!0}):y=hr(y,d)}else y=hr(y,e(b,g,i,s))}),!a&&i.modularCssLayers?{"@layer sx":ui(i,di(m,y))}:ui(i,di(m,y))}return Array.isArray(n)?n.map(l):l(n)}return t}const Zt=ac();Zt.filterProps=["sx"];const sc=e=>{const t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??Rr;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function lc(e){const{sx:t,...r}=e,{systemProps:n,otherProps:i}=sc(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...s)=>{const l=t(...s);return pt(l)?{...n,...l}:n}:a={...n,...t},{...i,sx:a}}function ma(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function wn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),ma(e,t,r)}function cc(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function St(e){if(e.type)return e;if(e.charAt(0)==="#")return St(cc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
6
+ `)),()=>{})}function Cn(e){return Sr(e,"spacing",8,"spacing")}function Or(e,t){return typeof t=="string"||t==null?t:e(t)}function Sl(e,t){return r=>e.reduce((n,i)=>(n[i]=Or(t,r),n),{})}function Ol(e,t,r,n){if(!t.includes(r))return null;const i=wl(r),a=Sl(i,n),s=e[r];return vt(e,s,a)}function da(e,t){const r=Cn(e.theme);return Object.keys(e).map(n=>Ol(e,t,n,r)).reduce(hr,{})}function Me(e){return da(e,so)}Me.propTypes=process.env.NODE_ENV!=="production"?so.reduce((e,t)=>(e[t]=$t,e),{}):{};Me.filterProps=so;function Ie(e){return da(e,lo)}Ie.propTypes=process.env.NODE_ENV!=="production"?lo.reduce((e,t)=>(e[t]=$t,e),{}):{};Ie.filterProps=lo;process.env.NODE_ENV!=="production"&&El.reduce((e,t)=>(e[t]=$t,e),{});function co(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(a=>{n[a]=i}),n),{}),r=n=>Object.keys(n).reduce((i,a)=>t[a]?hr(i,t[a](n)):i,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,i)=>Object.assign(n,i.propTypes),{}):{},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function et(e){return typeof e!="number"?e:`${e}px solid`}function nt(e,t){return De({prop:e,themeKey:"borders",transform:t})}const Rl=nt("border",et),Pl=nt("borderTop",et),$l=nt("borderRight",et),jl=nt("borderBottom",et),kl=nt("borderLeft",et),Al=nt("borderColor"),Ml=nt("borderTopColor"),Il=nt("borderRightColor"),Nl=nt("borderBottomColor"),Bl=nt("borderLeftColor"),Dl=nt("outline",et),zl=nt("outlineColor"),uo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Sr(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Or(t,n)});return vt(e,e.borderRadius,r)}return null};uo.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:$t}:{};uo.filterProps=["borderRadius"];co(Rl,Pl,$l,jl,kl,Al,Ml,Il,Nl,Bl,uo,Dl,zl);const po=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Sr(e.theme,"spacing",8,"gap"),r=n=>({gap:Or(t,n)});return vt(e,e.gap,r)}return null};po.propTypes=process.env.NODE_ENV!=="production"?{gap:$t}:{};po.filterProps=["gap"];const fo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Sr(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Or(t,n)});return vt(e,e.columnGap,r)}return null};fo.propTypes=process.env.NODE_ENV!=="production"?{columnGap:$t}:{};fo.filterProps=["columnGap"];const mo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Sr(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Or(t,n)});return vt(e,e.rowGap,r)}return null};mo.propTypes=process.env.NODE_ENV!=="production"?{rowGap:$t}:{};mo.filterProps=["rowGap"];const Fl=De({prop:"gridColumn"}),_l=De({prop:"gridRow"}),Vl=De({prop:"gridAutoFlow"}),Ll=De({prop:"gridAutoColumns"}),Wl=De({prop:"gridAutoRows"}),Hl=De({prop:"gridTemplateColumns"}),Ul=De({prop:"gridTemplateRows"}),ql=De({prop:"gridTemplateAreas"}),Gl=De({prop:"gridArea"});co(po,fo,mo,Fl,_l,Vl,Ll,Wl,Hl,Ul,ql,Gl);function Xt(e,t){return t==="grey"?t:e}const Yl=De({prop:"color",themeKey:"palette",transform:Xt}),Kl=De({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Xt}),Xl=De({prop:"backgroundColor",themeKey:"palette",transform:Xt});co(Yl,Kl,Xl);function Xe(e){return e<=1&&e!==0?`${e*100}%`:e}const Zl=De({prop:"width",transform:Xe}),Tn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||io[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Xe(r)}};return vt(e,e.maxWidth,t)}return null};Tn.filterProps=["maxWidth"];const Jl=De({prop:"minWidth",transform:Xe}),Ql=De({prop:"height",transform:Xe}),ec=De({prop:"maxHeight",transform:Xe}),tc=De({prop:"minHeight",transform:Xe});De({prop:"size",cssProperty:"width",transform:Xe});De({prop:"size",cssProperty:"height",transform:Xe});const rc=De({prop:"boxSizing"});co(Zl,Tn,Jl,Ql,ec,tc,rc);const Rr={border:{themeKey:"borders",transform:et},borderTop:{themeKey:"borders",transform:et},borderRight:{themeKey:"borders",transform:et},borderBottom:{themeKey:"borders",transform:et},borderLeft:{themeKey:"borders",transform:et},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:et},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:uo},color:{themeKey:"palette",transform:Xt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Xt},backgroundColor:{themeKey:"palette",transform:Xt},p:{style:Ie},pt:{style:Ie},pr:{style:Ie},pb:{style:Ie},pl:{style:Ie},px:{style:Ie},py:{style:Ie},padding:{style:Ie},paddingTop:{style:Ie},paddingRight:{style:Ie},paddingBottom:{style:Ie},paddingLeft:{style:Ie},paddingX:{style:Ie},paddingY:{style:Ie},paddingInline:{style:Ie},paddingInlineStart:{style:Ie},paddingInlineEnd:{style:Ie},paddingBlock:{style:Ie},paddingBlockStart:{style:Ie},paddingBlockEnd:{style:Ie},m:{style:Me},mt:{style:Me},mr:{style:Me},mb:{style:Me},ml:{style:Me},mx:{style:Me},my:{style:Me},margin:{style:Me},marginTop:{style:Me},marginRight:{style:Me},marginBottom:{style:Me},marginLeft:{style:Me},marginX:{style:Me},marginY:{style:Me},marginInline:{style:Me},marginInlineStart:{style:Me},marginInlineEnd:{style:Me},marginBlock:{style:Me},marginBlockStart:{style:Me},marginBlockEnd:{style:Me},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:po},rowGap:{style:mo},columnGap:{style:fo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Xe},maxWidth:{style:Tn},minWidth:{transform:Xe},height:{transform:Xe},maxHeight:{transform:Xe},minHeight:{transform:Xe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function oc(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function nc(e,t){return typeof e=="function"?e(t):e}function ic(){function e(r,n,i,a){const s={[r]:n,theme:i},l=a[r];if(!l)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:p,style:m}=l;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const y=ao(i,u)||{};return m?m(s):vt(s,n,g=>{let d=Yr(y,p,g);return g===d&&typeof g=="string"&&(d=Yr(y,p,`${r}${g==="default"?"":G(g)}`,g)),c===!1?d:{[c]:d}})}function t(r){const{sx:n,theme:i={},nested:a}=r||{};if(!n)return null;const s=i.unstable_sxConfig??Rr;function l(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const p=vl(i.breakpoints),m=Object.keys(p);let y=p;return Object.keys(u).forEach(b=>{const g=nc(u[b],i);if(g!=null)if(typeof g=="object")if(s[b])y=hr(y,e(b,g,i,s));else{const d=vt({theme:i},g,C=>({[b]:C}));oc(d,g)?y[b]=t({sx:g,theme:i,nested:!0}):y=hr(y,d)}else y=hr(y,e(b,g,i,s))}),!a&&i.modularCssLayers?{"@layer sx":ci(i,pi(m,y))}:ci(i,pi(m,y))}return Array.isArray(n)?n.map(l):l(n)}return t}const Zt=ic();Zt.filterProps=["sx"];const ac=e=>{const t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??Rr;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function sc(e){const{sx:t,...r}=e,{systemProps:n,otherProps:i}=ac(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...s)=>{const l=t(...s);return pt(l)?{...n,...l}:n}:a={...n,...t},{...i,sx:a}}function fa(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function wn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),fa(e,t,r)}function lc(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function St(e){if(e.type)return e;if(e.charAt(0)==="#")return St(lc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
7
7
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:bt(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${i}\` color space.
8
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:bt(10,i))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:i}}const uc=e=>{const t=St(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},pr=(e,t)=>{try{return uc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ho(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((i,a)=>a<3?parseInt(i,10):i):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function ha(e){e=St(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),s=(u,p=(u+r/30)%12)=>i-a*Math.max(Math.min(p-3,9-p,1),-1);let l="rgb";const c=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",c.push(t[3])),ho({type:l,values:c})}function Ko(e){e=St(e);let t=e.type==="hsl"||e.type==="hsla"?St(ha(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function mi(e,t){const r=Ko(e),n=Ko(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Kr(e,t){return e=St(e),t=wn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ho(e)}function kt(e,t,r){try{return Kr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function go(e,t){if(e=St(e),t=wn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ho(e)}function xe(e,t,r){try{return go(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function yo(e,t){if(e=St(e),t=wn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ho(e)}function Ce(e,t,r){try{return yo(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function pc(e,t=.15){return Ko(e)>.5?go(e,t):yo(e,t)}function Dr(e,t,r){try{return pc(e,t)}catch{return e}}const xr={black:"#000",white:"#fff"},dc={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"},Wt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ht={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},ar={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ut={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},qt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Gt={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ga(){return{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:xr.white,default:xr.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}}}const ya=ga();function ba(){return{text:{primary:xr.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:xr.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}}}const Xo=ba();function hi(e,t,r,n){const i=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=yo(e.main,i):t==="dark"&&(e.dark=go(e.main,a)))}function gi(e,t,r,n,i){const a=i.light||i,s=i.dark||i*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(s*100).toFixed(0)}%)`))}function fc(e="light"){return e==="dark"?{main:Ut[200],light:Ut[50],dark:Ut[400]}:{main:Ut[700],light:Ut[400],dark:Ut[800]}}function mc(e="light"){return e==="dark"?{main:Wt[200],light:Wt[50],dark:Wt[400]}:{main:Wt[500],light:Wt[300],dark:Wt[700]}}function hc(e="light"){return e==="dark"?{main:Ht[500],light:Ht[300],dark:Ht[700]}:{main:Ht[700],light:Ht[400],dark:Ht[800]}}function gc(e="light"){return e==="dark"?{main:qt[400],light:qt[300],dark:qt[700]}:{main:qt[700],light:qt[500],dark:qt[900]}}function yc(e="light"){return e==="dark"?{main:Gt[400],light:Gt[300],dark:Gt[700]}:{main:Gt[800],light:Gt[500],dark:Gt[900]}}function bc(e="light"){return e==="dark"?{main:ar[400],light:ar[300],dark:ar[700]}:{main:"#ed6c02",light:ar[500],dark:ar[900]}}function vc(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function En(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:i,...a}=e,s=e.primary||fc(t),l=e.secondary||mc(t),c=e.error||hc(t),u=e.info||gc(t),p=e.success||yc(t),m=e.warning||bc(t);function y(C){if(i)return vc(C);const T=mi(C,Xo.text.primary)>=r?Xo.text.primary:ya.text.primary;if(process.env.NODE_ENV!=="production"){const R=mi(C,T);R<3&&console.error([`MUI: The contrast ratio of ${R}:1 for ${T} on ${C}`,"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(`
8
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:bt(10,i))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:i}}const cc=e=>{const t=St(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},pr=(e,t)=>{try{return cc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ho(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((i,a)=>a<3?parseInt(i,10):i):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function ma(e){e=St(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),s=(u,p=(u+r/30)%12)=>i-a*Math.max(Math.min(p-3,9-p,1),-1);let l="rgb";const c=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",c.push(t[3])),ho({type:l,values:c})}function Ko(e){e=St(e);let t=e.type==="hsl"||e.type==="hsla"?St(ma(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function fi(e,t){const r=Ko(e),n=Ko(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Kr(e,t){return e=St(e),t=wn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ho(e)}function kt(e,t,r){try{return Kr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function go(e,t){if(e=St(e),t=wn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return ho(e)}function xe(e,t,r){try{return go(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function yo(e,t){if(e=St(e),t=wn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return ho(e)}function Ce(e,t,r){try{return yo(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function uc(e,t=.15){return Ko(e)>.5?go(e,t):yo(e,t)}function Dr(e,t,r){try{return uc(e,t)}catch{return e}}const xr={black:"#000",white:"#fff"},pc={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"},Wt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ht={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},ar={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ut={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},qt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Gt={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ha(){return{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:xr.white,default:xr.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}}}const ga=ha();function ya(){return{text:{primary:xr.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:xr.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}}}const Xo=ya();function mi(e,t,r,n){const i=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=yo(e.main,i):t==="dark"&&(e.dark=go(e.main,a)))}function hi(e,t,r,n,i){const a=i.light||i,s=i.dark||i*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(s*100).toFixed(0)}%)`))}function dc(e="light"){return e==="dark"?{main:Ut[200],light:Ut[50],dark:Ut[400]}:{main:Ut[700],light:Ut[400],dark:Ut[800]}}function fc(e="light"){return e==="dark"?{main:Wt[200],light:Wt[50],dark:Wt[400]}:{main:Wt[500],light:Wt[300],dark:Wt[700]}}function mc(e="light"){return e==="dark"?{main:Ht[500],light:Ht[300],dark:Ht[700]}:{main:Ht[700],light:Ht[400],dark:Ht[800]}}function hc(e="light"){return e==="dark"?{main:qt[400],light:qt[300],dark:qt[700]}:{main:qt[700],light:qt[500],dark:qt[900]}}function gc(e="light"){return e==="dark"?{main:Gt[400],light:Gt[300],dark:Gt[700]}:{main:Gt[800],light:Gt[500],dark:Gt[900]}}function yc(e="light"){return e==="dark"?{main:ar[400],light:ar[300],dark:ar[700]}:{main:"#ed6c02",light:ar[500],dark:ar[900]}}function bc(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function En(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:i,...a}=e,s=e.primary||dc(t),l=e.secondary||fc(t),c=e.error||mc(t),u=e.info||hc(t),p=e.success||gc(t),m=e.warning||yc(t);function y(C){if(i)return bc(C);const T=fi(C,Xo.text.primary)>=r?Xo.text.primary:ga.text.primary;if(process.env.NODE_ENV!=="production"){const R=fi(C,T);R<3&&console.error([`MUI: The contrast ratio of ${R}:1 for ${T} on ${C}`,"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(`
9
9
  `))}return T}const b=({color:C,name:T,mainShade:R=500,lightShade:S=300,darkShade:v=700})=>{if(C={...C},!C.main&&C[R]&&(C.main=C[R]),!C.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
10
10
  The color object needs to have a \`main\` property or a \`${R}\` property.`:bt(11,T?` (${T})`:"",R));if(typeof C.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
11
11
  \`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
@@ -20,21 +20,21 @@ const theme1 = createTheme({ palette: {
20
20
 
21
21
  const theme2 = createTheme({ palette: {
22
22
  primary: { main: green[500] },
23
- } });`:bt(12,T?` (${T})`:"",JSON.stringify(C.main)));return i?(gi(i,C,"light",S,n),gi(i,C,"dark",v,n)):(hi(C,"light",S,n),hi(C,"dark",v,n)),C.contrastText||(C.contrastText=y(C.main)),C};let g;return t==="light"?g=ga():t==="dark"&&(g=ba()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ze({common:{...xr},mode:t,primary:b({color:s,name:"primary"}),secondary:b({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:c,name:"error"}),warning:b({color:m,name:"warning"}),info:b({color:u,name:"info"}),success:b({color:p,name:"success"}),grey:dc,contrastThreshold:r,getContrastText:y,augmentColor:b,tonalOffset:n,...g},a)}function xc(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Cc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Tc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var wc=/[A-Z]|^ms/g,Ec=/_EMO_([^_]+?)_([^]*?)_EMO_/g,va=function(t){return t.charCodeAt(1)===45},yi=function(t){return t!=null&&typeof t!="boolean"},No=Tc(function(e){return va(e)?e:e.replace(wc,"-$&").toLowerCase()}),bi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ec,function(n,i,a){return Et={name:i,styles:a,next:Et},i})}return Cc[t]!==1&&!va(t)&&typeof r=="number"&&r!==0?r+"px":r};function Xr(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return Et={name:i.name,styles:i.styles,next:Et},i.name;var a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)Et={name:s.name,styles:s.styles,next:Et},s=s.next;var l=a.styles+";";return l}return Sc(e,t,r)}}var c=r;return c}function Sc(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Xr(e,t,r[i])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var l=s;yi(l)&&(n+=No(a)+":"+bi(a,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var c=0;c<s.length;c++)yi(s[c])&&(n+=No(a)+":"+bi(a,s[c])+";");else{var u=Xr(e,t,s);switch(a){case"animation":case"animationName":{n+=No(a)+":"+u+";";break}default:n+=a+"{"+u+"}"}}}return n}var vi=/label:\s*([^\s;{]+)\s*(;|$)/g,Et;function Oc(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";Et=void 0;var a=e[0];if(a==null||a.raw===void 0)n=!1,i+=Xr(r,t,a);else{var s=a;i+=s[0]}for(var l=1;l<e.length;l++)if(i+=Xr(r,t,e[l]),n){var c=a;i+=c[l]}vi.lastIndex=0;for(var u="",p;(p=vi.exec(i))!==null;)u+="-"+p[1];var m=xc(i)+u;return{name:m,styles:i,next:Et}}function Rc(e,t){const r=Qs(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const i=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
24
- `)):n.some(a=>a===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),r(...n)}:r}function Pc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const xi=[];function zt(e){return xi[0]=e,Oc(xi)}const $c="exact-prop: ​";function xa(e){return process.env.NODE_ENV==="production"?e:{...e,[$c]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}}}const Ot=typeof window<"u"?E.useLayoutEffect:E.useEffect,jc=E.createContext();process.env.NODE_ENV!=="production"&&(o.node,o.bool);const bo=()=>E.useContext(jc)??!1,kc=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(o.node,o.object);function Ac(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const i=t.components[r];return i.defaultProps?Gr(i.defaultProps,n,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Gr(i,n,t.components.mergeClassNameAndStyle):n}function Mc({props:e,name:t}){const r=E.useContext(kc);return Ac({props:e,name:t,theme:{components:r}})}let Ci=0;function Ic(e){const[t,r]=E.useState(e),n=e||t;return E.useEffect(()=>{t==null&&(Ci+=1,r(`mui-${Ci}`))},[t]),n}const Nc={...E},Ti=Nc.useId;function Pr(e){if(Ti!==void 0){const t=Ti();return e??t}return Ic(e)}const Bc=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Dc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,a=Bc(t),s=Object.keys(a);function l(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function c(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-n/100}${r})`}function u(y,b){const g=s.indexOf(b);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:b)-n/100}${r})`}function p(y){return s.indexOf(y)+1<s.length?u(y,s[s.indexOf(y)+1]):l(y)}function m(y){const b=s.indexOf(y);return b===0?l(s[1]):b===s.length-1?c(s[b]):u(y,s[s.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:s,values:a,up:l,down:c,between:u,only:p,not:m,unit:r,...i}}const zc={borderRadius:4};function Fc(e=8,t=Cn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(a=>{const s=t(a);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function _c(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function Ca(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:a={},...s}=e,l=Dc(r),c=Fc(i);let u=Ze({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:c,shape:{...zc,...a}},s);return u=bl(u),u.applyStyles=_c,u=t.reduce((p,m)=>Ze(p,m),u),u.unstable_sxConfig={...Rr,...s?.unstable_sxConfig},u.unstable_sx=function(m){return Zt({sx:m,theme:this})},u}const wi=(e,t,r,n=[])=>{let i=e;t.forEach((a,s)=>{s===t.length-1?Array.isArray(i)?i[Number(a)]=r:i&&typeof i=="object"&&(i[a]=r):i&&typeof i=="object"&&(i[a]||(i[a]=n.includes(a)?[]:{}),i=i[a])})},Vc=(e,t,r)=>{function n(i,a=[],s=[]){Object.entries(i).forEach(([l,c])=>{(!r||r&&!r([...a,l]))&&c!=null&&(typeof c=="object"&&Object.keys(c).length>0?n(c,[...a,l],Array.isArray(c)?[...s,l]:s):t([...a,l],c,s))})}n(e)},Lc=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Bo(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},i={},a={},s={};return Vc(e,(l,c,u)=>{if((typeof c=="string"||typeof c=="number")&&(!n||!n(l,c))){const p=`--${r?`${r}-`:""}${l.join("-")}`,m=Lc(l,c);Object.assign(i,{[p]:m}),wi(a,l,`var(${p})`,u),wi(s,l,`var(${p}, ${m})`,u)}},l=>l[0]==="vars"),{css:i,vars:a,varsWithDefaults:s}}function Wc(e,t={}){const{getSelector:r=T,disableCssColorScheme:n,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:s={},components:l,defaultColorScheme:c="light",...u}=e,{vars:p,css:m,varsWithDefaults:y}=Bo(u,t);let b=y;const g={},{[c]:d,...C}=s;if(Object.entries(C||{}).forEach(([v,x])=>{const{vars:w,css:P,varsWithDefaults:I}=Bo(x,t);b=Ze(b,I),g[v]={css:P,vars:w}}),d){const{css:v,vars:x,varsWithDefaults:w}=Bo(d,t);b=Ze(b,w),g[c]={css:v,vars:x}}function T(v,x){let w=i;if(i==="class"&&(w=".%s"),i==="data"&&(w="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(w=`[${i}="%s"]`),v){if(w==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${s[v]?.palette?.mode||v})`]:{":root":x}};if(w)return e.defaultColorScheme===v?`:root, ${w.replace("%s",String(v))}`:w.replace("%s",String(v))}return":root"}return{vars:b,generateThemeVars:()=>{let v={...p};return Object.entries(g).forEach(([,{vars:x}])=>{v=Ze(v,x)}),v},generateStyleSheets:()=>{const v=[],x=e.defaultColorScheme||"light";function w(M,z){Object.keys(z).length&&v.push(typeof M=="string"?{[M]:{...z}}:M)}w(r(void 0,{...m}),m);const{[x]:P,...I}=g;if(P){const{css:M}=P,z=s[x]?.palette?.mode,B=!n&&z?{colorScheme:z,...M}:{...M};w(r(x,{...B}),B)}return Object.entries(I).forEach(([M,{css:z}])=>{const B=s[M]?.palette?.mode,f=!n&&B?{colorScheme:B,...z}:{...z};w(r(M,{...f}),f)}),a&&v.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),v}}}function Hc(e){const t={};return Object.entries(e).forEach(n=>{const[i,a]=n;typeof a=="object"&&(t[i]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Uc(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const qc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Te(e,t,r="Mui"){const n=qc[t];return n?`${r}-${n}`:`${pa.generate(e)}-${t}`}function Gc(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Yc(e){return Math.round(e*1e5)/1e5}const Ei={textTransform:"uppercase"},Si='"Roboto", "Helvetica", "Arial", sans-serif';function Kc(e,t){const{fontFamily:r=Si,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:p,...m}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=n/14,b=p||(C=>`${C/c*y}rem`),g=(C,T,R,S,v)=>({fontFamily:r,fontWeight:C,fontSize:b(T),lineHeight:R,...r===Si?{letterSpacing:`${Yc(S/T)}em`}:{},...v,...u}),d={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(s,14,1.75,.4,Ei),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,Ei),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ze({htmlFontSize:c,pxToRem:b,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l,...d},m,{clone:!1})}const Xc=.2,Zc=.14,Jc=.12;function ke(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Xc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Zc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Jc})`].join(",")}const Qc=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)],eu={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)"},Ta={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Oi(e){return`${Math.round(e)}ms`}function tu(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ru(e){const t={...eu,...e.easing},r={...Ta,...e.duration};return{getAutoHeightDuration:tu,create:(i=["all"],a={})=>{const{duration:s=r.standard,easing:l=t.easeInOut,delay:c=0,...u}=a;if(process.env.NODE_ENV!=="production"){const p=y=>typeof y=="string",m=y=>!Number.isNaN(parseFloat(y));!p(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(s)&&!p(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),p(l)||console.error('MUI: Argument "easing" must be a string.'),!m(c)&&!p(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof a!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
25
- `)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(p=>`${p} ${typeof s=="string"?s:Oi(s)} ${l} ${typeof c=="string"?c:Oi(c)}`).join(",")},...e,easing:t,duration:r}}const ou={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function nu(e){return pt(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function wa(e={}){const t={...e};function r(n){const i=Object.entries(n);for(let a=0;a<i.length;a++){const[s,l]=i[a];!nu(l)||s.startsWith("unstable_")?delete n[s]:pt(l)&&(n[s]={...l},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
23
+ } });`:bt(12,T?` (${T})`:"",JSON.stringify(C.main)));return i?(hi(i,C,"light",S,n),hi(i,C,"dark",v,n)):(mi(C,"light",S,n),mi(C,"dark",v,n)),C.contrastText||(C.contrastText=y(C.main)),C};let g;return t==="light"?g=ha():t==="dark"&&(g=ya()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Ze({common:{...xr},mode:t,primary:b({color:s,name:"primary"}),secondary:b({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:c,name:"error"}),warning:b({color:m,name:"warning"}),info:b({color:u,name:"info"}),success:b({color:p,name:"success"}),grey:pc,contrastThreshold:r,getContrastText:y,augmentColor:b,tonalOffset:n,...g},a)}function vc(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var xc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Cc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Tc=/[A-Z]|^ms/g,wc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ba=function(t){return t.charCodeAt(1)===45},gi=function(t){return t!=null&&typeof t!="boolean"},No=Cc(function(e){return ba(e)?e:e.replace(Tc,"-$&").toLowerCase()}),yi=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(wc,function(n,i,a){return Et={name:i,styles:a,next:Et},i})}return xc[t]!==1&&!ba(t)&&typeof r=="number"&&r!==0?r+"px":r};function Xr(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return Et={name:i.name,styles:i.styles,next:Et},i.name;var a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)Et={name:s.name,styles:s.styles,next:Et},s=s.next;var l=a.styles+";";return l}return Ec(e,t,r)}}var c=r;return c}function Ec(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Xr(e,t,r[i])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var l=s;gi(l)&&(n+=No(a)+":"+yi(a,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var c=0;c<s.length;c++)gi(s[c])&&(n+=No(a)+":"+yi(a,s[c])+";");else{var u=Xr(e,t,s);switch(a){case"animation":case"animationName":{n+=No(a)+":"+u+";";break}default:n+=a+"{"+u+"}"}}}return n}var bi=/label:\s*([^\s;{]+)\s*(;|$)/g,Et;function Sc(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";Et=void 0;var a=e[0];if(a==null||a.raw===void 0)n=!1,i+=Xr(r,t,a);else{var s=a;i+=s[0]}for(var l=1;l<e.length;l++)if(i+=Xr(r,t,e[l]),n){var c=a;i+=c[l]}bi.lastIndex=0;for(var u="",p;(p=bi.exec(i))!==null;)u+="-"+p[1];var m=vc(i)+u;return{name:m,styles:i,next:Et}}function Oc(e,t){const r=Js(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const i=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
24
+ `)):n.some(a=>a===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),r(...n)}:r}function Rc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const vi=[];function zt(e){return vi[0]=e,Sc(vi)}const Pc="exact-prop: ​";function va(e){return process.env.NODE_ENV==="production"?e:{...e,[Pc]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}}}const Ot=typeof window<"u"?E.useLayoutEffect:E.useEffect,$c=E.createContext();process.env.NODE_ENV!=="production"&&(o.node,o.bool);const bo=()=>E.useContext($c)??!1,jc=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(o.node,o.object);function kc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const i=t.components[r];return i.defaultProps?Gr(i.defaultProps,n,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Gr(i,n,t.components.mergeClassNameAndStyle):n}function Ac({props:e,name:t}){const r=E.useContext(jc);return kc({props:e,name:t,theme:{components:r}})}let xi=0;function Mc(e){const[t,r]=E.useState(e),n=e||t;return E.useEffect(()=>{t==null&&(xi+=1,r(`mui-${xi}`))},[t]),n}const Ic={...E},Ci=Ic.useId;function Pr(e){if(Ci!==void 0){const t=Ci();return e??t}return Mc(e)}const Nc=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Bc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,a=Nc(t),s=Object.keys(a);function l(y){return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r})`}function c(y){return`@media (max-width:${(typeof t[y]=="number"?t[y]:y)-n/100}${r})`}function u(y,b){const g=s.indexOf(b);return`@media (min-width:${typeof t[y]=="number"?t[y]:y}${r}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:b)-n/100}${r})`}function p(y){return s.indexOf(y)+1<s.length?u(y,s[s.indexOf(y)+1]):l(y)}function m(y){const b=s.indexOf(y);return b===0?l(s[1]):b===s.length-1?c(s[b]):u(y,s[s.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:s,values:a,up:l,down:c,between:u,only:p,not:m,unit:r,...i}}const Dc={borderRadius:4};function zc(e=8,t=Cn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(a=>{const s=t(a);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function Fc(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function xa(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:a={},...s}=e,l=Bc(r),c=zc(i);let u=Ze({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:c,shape:{...Dc,...a}},s);return u=yl(u),u.applyStyles=Fc,u=t.reduce((p,m)=>Ze(p,m),u),u.unstable_sxConfig={...Rr,...s?.unstable_sxConfig},u.unstable_sx=function(m){return Zt({sx:m,theme:this})},u}const Ti=(e,t,r,n=[])=>{let i=e;t.forEach((a,s)=>{s===t.length-1?Array.isArray(i)?i[Number(a)]=r:i&&typeof i=="object"&&(i[a]=r):i&&typeof i=="object"&&(i[a]||(i[a]=n.includes(a)?[]:{}),i=i[a])})},_c=(e,t,r)=>{function n(i,a=[],s=[]){Object.entries(i).forEach(([l,c])=>{(!r||r&&!r([...a,l]))&&c!=null&&(typeof c=="object"&&Object.keys(c).length>0?n(c,[...a,l],Array.isArray(c)?[...s,l]:s):t([...a,l],c,s))})}n(e)},Vc=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Bo(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},i={},a={},s={};return _c(e,(l,c,u)=>{if((typeof c=="string"||typeof c=="number")&&(!n||!n(l,c))){const p=`--${r?`${r}-`:""}${l.join("-")}`,m=Vc(l,c);Object.assign(i,{[p]:m}),Ti(a,l,`var(${p})`,u),Ti(s,l,`var(${p}, ${m})`,u)}},l=>l[0]==="vars"),{css:i,vars:a,varsWithDefaults:s}}function Lc(e,t={}){const{getSelector:r=T,disableCssColorScheme:n,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:s={},components:l,defaultColorScheme:c="light",...u}=e,{vars:p,css:m,varsWithDefaults:y}=Bo(u,t);let b=y;const g={},{[c]:d,...C}=s;if(Object.entries(C||{}).forEach(([v,x])=>{const{vars:w,css:P,varsWithDefaults:I}=Bo(x,t);b=Ze(b,I),g[v]={css:P,vars:w}}),d){const{css:v,vars:x,varsWithDefaults:w}=Bo(d,t);b=Ze(b,w),g[c]={css:v,vars:x}}function T(v,x){let w=i;if(i==="class"&&(w=".%s"),i==="data"&&(w="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(w=`[${i}="%s"]`),v){if(w==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${s[v]?.palette?.mode||v})`]:{":root":x}};if(w)return e.defaultColorScheme===v?`:root, ${w.replace("%s",String(v))}`:w.replace("%s",String(v))}return":root"}return{vars:b,generateThemeVars:()=>{let v={...p};return Object.entries(g).forEach(([,{vars:x}])=>{v=Ze(v,x)}),v},generateStyleSheets:()=>{const v=[],x=e.defaultColorScheme||"light";function w(M,z){Object.keys(z).length&&v.push(typeof M=="string"?{[M]:{...z}}:M)}w(r(void 0,{...m}),m);const{[x]:P,...I}=g;if(P){const{css:M}=P,z=s[x]?.palette?.mode,B=!n&&z?{colorScheme:z,...M}:{...M};w(r(x,{...B}),B)}return Object.entries(I).forEach(([M,{css:z}])=>{const B=s[M]?.palette?.mode,f=!n&&B?{colorScheme:B,...z}:{...z};w(r(M,{...f}),f)}),a&&v.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),v}}}function Wc(e){const t={};return Object.entries(e).forEach(n=>{const[i,a]=n;typeof a=="object"&&(t[i]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Hc(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Uc={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Te(e,t,r="Mui"){const n=Uc[t];return n?`${r}-${n}`:`${ua.generate(e)}-${t}`}function qc(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Gc(e){return Math.round(e*1e5)/1e5}const wi={textTransform:"uppercase"},Ei='"Roboto", "Helvetica", "Arial", sans-serif';function Yc(e,t){const{fontFamily:r=Ei,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:p,...m}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof c!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=n/14,b=p||(C=>`${C/c*y}rem`),g=(C,T,R,S,v)=>({fontFamily:r,fontWeight:C,fontSize:b(T),lineHeight:R,...r===Ei?{letterSpacing:`${Gc(S/T)}em`}:{},...v,...u}),d={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(s,14,1.75,.4,wi),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,wi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ze({htmlFontSize:c,pxToRem:b,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l,...d},m,{clone:!1})}const Kc=.2,Xc=.14,Zc=.12;function ke(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Kc})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Xc})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Zc})`].join(",")}const Jc=["none",ke(0,2,1,-1,0,1,1,0,0,1,3,0),ke(0,3,1,-2,0,2,2,0,0,1,5,0),ke(0,3,3,-2,0,3,4,0,0,1,8,0),ke(0,2,4,-1,0,4,5,0,0,1,10,0),ke(0,3,5,-1,0,5,8,0,0,1,14,0),ke(0,3,5,-1,0,6,10,0,0,1,18,0),ke(0,4,5,-2,0,7,10,1,0,2,16,1),ke(0,5,5,-3,0,8,10,1,0,3,14,2),ke(0,5,6,-3,0,9,12,1,0,3,16,2),ke(0,6,6,-3,0,10,14,1,0,4,18,3),ke(0,6,7,-4,0,11,15,1,0,4,20,3),ke(0,7,8,-4,0,12,17,2,0,5,22,4),ke(0,7,8,-4,0,13,19,2,0,5,24,4),ke(0,7,9,-4,0,14,21,2,0,5,26,4),ke(0,8,9,-5,0,15,22,2,0,6,28,5),ke(0,8,10,-5,0,16,24,2,0,6,30,5),ke(0,8,11,-5,0,17,26,2,0,6,32,5),ke(0,9,11,-5,0,18,28,2,0,7,34,6),ke(0,9,12,-6,0,19,29,2,0,7,36,6),ke(0,10,13,-6,0,20,31,3,0,8,38,7),ke(0,10,13,-6,0,21,33,3,0,8,40,7),ke(0,10,14,-6,0,22,35,3,0,8,42,7),ke(0,11,14,-7,0,23,36,3,0,9,44,8),ke(0,11,15,-7,0,24,38,3,0,9,46,8)],Qc={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)"},Ca={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Si(e){return`${Math.round(e)}ms`}function eu(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function tu(e){const t={...Qc,...e.easing},r={...Ca,...e.duration};return{getAutoHeightDuration:eu,create:(i=["all"],a={})=>{const{duration:s=r.standard,easing:l=t.easeInOut,delay:c=0,...u}=a;if(process.env.NODE_ENV!=="production"){const p=y=>typeof y=="string",m=y=>!Number.isNaN(parseFloat(y));!p(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!m(s)&&!p(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),p(l)||console.error('MUI: Argument "easing" must be a string.'),!m(c)&&!p(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof a!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
25
+ `)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(p=>`${p} ${typeof s=="string"?s:Si(s)} ${l} ${typeof c=="string"?c:Si(c)}`).join(",")},...e,easing:t,duration:r}}const ru={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ou(e){return pt(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Ta(e={}){const t={...e};function r(n){const i=Object.entries(n);for(let a=0;a<i.length;a++){const[s,l]=i[a];!ou(l)||s.startsWith("unstable_")?delete n[s]:pt(l)&&(n[s]={...l},r(n[s]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
26
26
 
27
27
  const theme = ${JSON.stringify(t,null,2)};
28
28
 
29
29
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
30
30
  theme.transitions = createTransitions(theme.transitions || {});
31
31
 
32
- export default theme;`}function Ri(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const iu=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function au(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:Kr(t,iu(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${Ri(r)})`:yo(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${Ri(r)})`:go(t,r)}})}function Zo(e={},...t){const{breakpoints:r,mixins:n={},spacing:i,palette:a={},transitions:s={},typography:l={},shape:c,colorSpace:u,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":bt(20));const m=En({...a,colorSpace:u}),y=Ca(e);let b=Ze(y,{mixins:Gc(y.breakpoints,n),palette:m,shadows:Qc.slice(),typography:Kc(m,l),transitions:ru(s),zIndex:{...ou}});if(b=Ze(b,p),b=t.reduce((g,d)=>Ze(g,d),b),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],d=(C,T)=>{let R;for(R in C){const S=C[R];if(g.includes(R)&&Object.keys(S).length>0){if(process.env.NODE_ENV!=="production"){const v=Te("",R);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${R}\` internal state.`,"You can not override it like this: ",JSON.stringify(C,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:S}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
33
- `))}C[R]={}}}};Object.keys(b.components).forEach(C=>{const T=b.components[C].styleOverrides;T&&C.startsWith("Mui")&&d(T,C)})}return b.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},b.unstable_sx=function(d){return Zt({sx:d,theme:this})},b.toRuntimeSource=wa,au(b),b}function Jo(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const su=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Jo(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Ea(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Sa(e){return e==="dark"?su:[]}function lu(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:i,...a}=e,s=En({...t,colorSpace:i});return{palette:s,opacity:{...Ea(s.mode),...r},overlays:n||Sa(s.mode),...a}}function cu(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const uu=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],pu=e=>(t,r)=>{const n=e.rootSelector||":root",i=e.colorSchemeSelector;let a=i;if(i==="class"&&(a=".%s"),i==="data"&&(a="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return uu(e.cssVarPrefix).forEach(l=>{s[l]=r[l],delete r[l]}),a==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:a?{[a.replace("%s",t)]:s,[`${n}, ${a.replace("%s",t)}`]:r}:{[n]:{...r,...s}}}if(a&&a!=="media")return`${n}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(a)return a.replace("%s",String(t))}return n};function du(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function D(e,t,r){!e[t]&&r&&(e[t]=r)}function dr(e){return typeof e!="string"||!e.startsWith("hsl")?e:ha(e)}function ht(e,t){`${t}Channel`in e||(e[`${t}Channel`]=pr(dr(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
34
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function fu(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ut=e=>{try{return e()}catch{}},mu=(e="mui")=>re.unstable_createGetCssVar(e);function Do(e,t,r,n,i){if(!r)return;r=r===!0?{}:r;const a=i==="dark"?"dark":"light";if(!n){t[i]=lu({...r,palette:{mode:a,...r?.palette},colorSpace:e});return}const{palette:s,...l}=Zo({...n,palette:{mode:a,...r?.palette},colorSpace:e});return t[i]={...r,palette:s,opacity:{...Ea(a),...r?.opacity},overlays:r?.overlays||Sa(a)},l}function hu(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:i=!1,cssVarPrefix:a="mui",nativeColor:s=!1,shouldSkipGeneratingVar:l=cu,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...p}=e,m=Object.keys(r)[0],y=n||(r.light&&m!=="light"?"light":m),b=mu(a),{[y]:g,light:d,dark:C,...T}=r,R={...T};let S=g;if((y==="dark"&&!("dark"in r)||y==="light"&&!("light"in r))&&(S=!0),!S)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${y}\` option is either missing or invalid.`:bt(21,y));let v;s&&(v="oklch");const x=Do(v,R,S,p,y);d&&!R.light&&Do(v,R,d,void 0,"light"),C&&!R.dark&&Do(v,R,C,void 0,"dark");let w={defaultColorScheme:y,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:u,getCssVar:b,colorSchemes:R,font:{...Hc(x.typography),...x.font},spacing:fu(p.spacing)};Object.keys(w.colorSchemes).forEach(B=>{const f=w.colorSchemes[B].palette,k=A=>{const j=A.split("-"),V=j[1],N=j[2];return b(A,f[V][N])};f.mode==="light"&&(D(f.common,"background","#fff"),D(f.common,"onBackground","#000")),f.mode==="dark"&&(D(f.common,"background","#000"),D(f.common,"onBackground","#fff"));function $(A,j,V){if(v){let N;return A===kt&&(N=`transparent ${((1-V)*100).toFixed(0)}%`),A===xe&&(N=`#000 ${(V*100).toFixed(0)}%`),A===Ce&&(N=`#fff ${(V*100).toFixed(0)}%`),`color-mix(in ${v}, ${j}, ${N})`}return A(j,V)}if(du(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){D(f.Alert,"errorColor",$(xe,f.error.light,.6)),D(f.Alert,"infoColor",$(xe,f.info.light,.6)),D(f.Alert,"successColor",$(xe,f.success.light,.6)),D(f.Alert,"warningColor",$(xe,f.warning.light,.6)),D(f.Alert,"errorFilledBg",k("palette-error-main")),D(f.Alert,"infoFilledBg",k("palette-info-main")),D(f.Alert,"successFilledBg",k("palette-success-main")),D(f.Alert,"warningFilledBg",k("palette-warning-main")),D(f.Alert,"errorFilledColor",ut(()=>f.getContrastText(f.error.main))),D(f.Alert,"infoFilledColor",ut(()=>f.getContrastText(f.info.main))),D(f.Alert,"successFilledColor",ut(()=>f.getContrastText(f.success.main))),D(f.Alert,"warningFilledColor",ut(()=>f.getContrastText(f.warning.main))),D(f.Alert,"errorStandardBg",$(Ce,f.error.light,.9)),D(f.Alert,"infoStandardBg",$(Ce,f.info.light,.9)),D(f.Alert,"successStandardBg",$(Ce,f.success.light,.9)),D(f.Alert,"warningStandardBg",$(Ce,f.warning.light,.9)),D(f.Alert,"errorIconColor",k("palette-error-main")),D(f.Alert,"infoIconColor",k("palette-info-main")),D(f.Alert,"successIconColor",k("palette-success-main")),D(f.Alert,"warningIconColor",k("palette-warning-main")),D(f.AppBar,"defaultBg",k("palette-grey-100")),D(f.Avatar,"defaultBg",k("palette-grey-400")),D(f.Button,"inheritContainedBg",k("palette-grey-300")),D(f.Button,"inheritContainedHoverBg",k("palette-grey-A100")),D(f.Chip,"defaultBorder",k("palette-grey-400")),D(f.Chip,"defaultAvatarColor",k("palette-grey-700")),D(f.Chip,"defaultIconColor",k("palette-grey-700")),D(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(f.LinearProgress,"primaryBg",$(Ce,f.primary.main,.62)),D(f.LinearProgress,"secondaryBg",$(Ce,f.secondary.main,.62)),D(f.LinearProgress,"errorBg",$(Ce,f.error.main,.62)),D(f.LinearProgress,"infoBg",$(Ce,f.info.main,.62)),D(f.LinearProgress,"successBg",$(Ce,f.success.main,.62)),D(f.LinearProgress,"warningBg",$(Ce,f.warning.main,.62)),D(f.Skeleton,"bg",v?$(kt,f.text.primary,.11):`rgba(${k("palette-text-primaryChannel")} / 0.11)`),D(f.Slider,"primaryTrack",$(Ce,f.primary.main,.62)),D(f.Slider,"secondaryTrack",$(Ce,f.secondary.main,.62)),D(f.Slider,"errorTrack",$(Ce,f.error.main,.62)),D(f.Slider,"infoTrack",$(Ce,f.info.main,.62)),D(f.Slider,"successTrack",$(Ce,f.success.main,.62)),D(f.Slider,"warningTrack",$(Ce,f.warning.main,.62));const A=v?$(xe,f.background.default,.6825):Dr(f.background.default,.8);D(f.SnackbarContent,"bg",A),D(f.SnackbarContent,"color",ut(()=>v?Xo.text.primary:f.getContrastText(A))),D(f.SpeedDialAction,"fabHoverBg",Dr(f.background.paper,.15)),D(f.StepConnector,"border",k("palette-grey-400")),D(f.StepContent,"border",k("palette-grey-400")),D(f.Switch,"defaultColor",k("palette-common-white")),D(f.Switch,"defaultDisabledColor",k("palette-grey-100")),D(f.Switch,"primaryDisabledColor",$(Ce,f.primary.main,.62)),D(f.Switch,"secondaryDisabledColor",$(Ce,f.secondary.main,.62)),D(f.Switch,"errorDisabledColor",$(Ce,f.error.main,.62)),D(f.Switch,"infoDisabledColor",$(Ce,f.info.main,.62)),D(f.Switch,"successDisabledColor",$(Ce,f.success.main,.62)),D(f.Switch,"warningDisabledColor",$(Ce,f.warning.main,.62)),D(f.TableCell,"border",$(Ce,$(kt,f.divider,1),.88)),D(f.Tooltip,"bg",$(kt,f.grey[700],.92))}if(f.mode==="dark"){D(f.Alert,"errorColor",$(Ce,f.error.light,.6)),D(f.Alert,"infoColor",$(Ce,f.info.light,.6)),D(f.Alert,"successColor",$(Ce,f.success.light,.6)),D(f.Alert,"warningColor",$(Ce,f.warning.light,.6)),D(f.Alert,"errorFilledBg",k("palette-error-dark")),D(f.Alert,"infoFilledBg",k("palette-info-dark")),D(f.Alert,"successFilledBg",k("palette-success-dark")),D(f.Alert,"warningFilledBg",k("palette-warning-dark")),D(f.Alert,"errorFilledColor",ut(()=>f.getContrastText(f.error.dark))),D(f.Alert,"infoFilledColor",ut(()=>f.getContrastText(f.info.dark))),D(f.Alert,"successFilledColor",ut(()=>f.getContrastText(f.success.dark))),D(f.Alert,"warningFilledColor",ut(()=>f.getContrastText(f.warning.dark))),D(f.Alert,"errorStandardBg",$(xe,f.error.light,.9)),D(f.Alert,"infoStandardBg",$(xe,f.info.light,.9)),D(f.Alert,"successStandardBg",$(xe,f.success.light,.9)),D(f.Alert,"warningStandardBg",$(xe,f.warning.light,.9)),D(f.Alert,"errorIconColor",k("palette-error-main")),D(f.Alert,"infoIconColor",k("palette-info-main")),D(f.Alert,"successIconColor",k("palette-success-main")),D(f.Alert,"warningIconColor",k("palette-warning-main")),D(f.AppBar,"defaultBg",k("palette-grey-900")),D(f.AppBar,"darkBg",k("palette-background-paper")),D(f.AppBar,"darkColor",k("palette-text-primary")),D(f.Avatar,"defaultBg",k("palette-grey-600")),D(f.Button,"inheritContainedBg",k("palette-grey-800")),D(f.Button,"inheritContainedHoverBg",k("palette-grey-700")),D(f.Chip,"defaultBorder",k("palette-grey-700")),D(f.Chip,"defaultAvatarColor",k("palette-grey-300")),D(f.Chip,"defaultIconColor",k("palette-grey-300")),D(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(f.LinearProgress,"primaryBg",$(xe,f.primary.main,.5)),D(f.LinearProgress,"secondaryBg",$(xe,f.secondary.main,.5)),D(f.LinearProgress,"errorBg",$(xe,f.error.main,.5)),D(f.LinearProgress,"infoBg",$(xe,f.info.main,.5)),D(f.LinearProgress,"successBg",$(xe,f.success.main,.5)),D(f.LinearProgress,"warningBg",$(xe,f.warning.main,.5)),D(f.Skeleton,"bg",v?$(kt,f.text.primary,.13):`rgba(${k("palette-text-primaryChannel")} / 0.13)`),D(f.Slider,"primaryTrack",$(xe,f.primary.main,.5)),D(f.Slider,"secondaryTrack",$(xe,f.secondary.main,.5)),D(f.Slider,"errorTrack",$(xe,f.error.main,.5)),D(f.Slider,"infoTrack",$(xe,f.info.main,.5)),D(f.Slider,"successTrack",$(xe,f.success.main,.5)),D(f.Slider,"warningTrack",$(xe,f.warning.main,.5));const A=v?$(Ce,f.background.default,.985):Dr(f.background.default,.98);D(f.SnackbarContent,"bg",A),D(f.SnackbarContent,"color",ut(()=>v?ya.text.primary:f.getContrastText(A))),D(f.SpeedDialAction,"fabHoverBg",Dr(f.background.paper,.15)),D(f.StepConnector,"border",k("palette-grey-600")),D(f.StepContent,"border",k("palette-grey-600")),D(f.Switch,"defaultColor",k("palette-grey-300")),D(f.Switch,"defaultDisabledColor",k("palette-grey-600")),D(f.Switch,"primaryDisabledColor",$(xe,f.primary.main,.55)),D(f.Switch,"secondaryDisabledColor",$(xe,f.secondary.main,.55)),D(f.Switch,"errorDisabledColor",$(xe,f.error.main,.55)),D(f.Switch,"infoDisabledColor",$(xe,f.info.main,.55)),D(f.Switch,"successDisabledColor",$(xe,f.success.main,.55)),D(f.Switch,"warningDisabledColor",$(xe,f.warning.main,.55)),D(f.TableCell,"border",$(xe,$(kt,f.divider,1),.68)),D(f.Tooltip,"bg",$(kt,f.grey[700],.92))}ht(f.background,"default"),ht(f.background,"paper"),ht(f.common,"background"),ht(f.common,"onBackground"),ht(f,"divider"),Object.keys(f).forEach(A=>{const j=f[A];A!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&D(f[A],"mainChannel",pr(dr(j.main))),j.light&&D(f[A],"lightChannel",pr(dr(j.light))),j.dark&&D(f[A],"darkChannel",pr(dr(j.dark))),j.contrastText&&D(f[A],"contrastTextChannel",pr(dr(j.contrastText))),A==="text"&&(ht(f[A],"primary"),ht(f[A],"secondary")),A==="action"&&(j.active&&ht(f[A],"active"),j.selected&&ht(f[A],"selected")))})}),w=t.reduce((B,f)=>Ze(B,f),w);const P={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:l,getSelector:pu(w),enableContrastVars:s},{vars:I,generateThemeVars:M,generateStyleSheets:z}=Wc(w,P);return w.vars=I,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([B,f])=>{w[B]=f}),w.generateThemeVars=M,w.generateStyleSheets=z,w.generateSpacing=function(){return re.createSpacing(p.spacing,Cn(this))},w.getColorSchemeSelector=Uc(c),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=l,w.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},w.unstable_sx=function(f){return Zt({sx:f,theme:this})},w.toRuntimeSource=wa,w}function Pi(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:En({...r===!0?{}:r.palette,mode:t})})}function Oa(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:i=r?void 0:{light:!0},defaultColorScheme:a=r?.mode,...s}=e,l=a||"light",c=i?.[l],u={...i,...r?{[l]:{...typeof c!="boolean"&&c,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Zo(e,...t);let p=r;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));const m=Zo({...e,palette:p},...t);return m.defaultColorScheme=l,m.colorSchemes=u,m.palette.mode==="light"&&(m.colorSchemes.light={...u.light!==!0&&u.light,palette:m.palette},Pi(m,"dark",u.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:m.palette},Pi(m,"light",u.light)),m}return!r&&!("light"in u)&&l==="light"&&(u.light=!0),hu({...s,colorSchemes:u,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Sn=Oa(),vo="$$material";function Ge(){const e=re.useTheme(Sn);return process.env.NODE_ENV!=="production"&&E.useDebugValue(e),e[vo]||e}function Ra(e){return h.jsx(re.GlobalStyles,{...e,defaultTheme:Sn,themeId:vo})}process.env.NODE_ENV!=="production"&&(Ra.propTypes={styles:o.oneOfType([o.array,o.func,o.number,o.object,o.string,o.bool])});function Pa(e,t=""){return e.displayName||e.name||t}function $i(e,t,r){const n=Pa(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function gu(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Pa(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vr.ForwardRef:return $i(e,e.render,"ForwardRef");case vr.Memo:return $i(e,e.type,"memo");default:return}}}function yu(e){const{variants:t,...r}=e,n={variants:t,style:zt(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=zt(i.style))}),n}const bu=Ca();function zo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Nt(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function vu(e){return e?(t,r)=>r[e]:null}function xu(e,t,r){e.theme=Eu(e.theme)?r:e.theme[t]||e.theme}function Ur(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(i=>Ur(e,i,r));if(Array.isArray(n?.variants)){let i;if(n.isProcessed)i=r?Nt(n.style,r):n.style;else{const{variants:a,...s}=n;i=r?Nt(zt(s),r):s}return $a(e,n.variants,[i],r)}return n?.isProcessed?r?Nt(zt(n.style),r):n.style:r?Nt(zt(n),r):n}function $a(e,t,r=[],n=void 0){let i;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(const l in s.props)if(e[l]!==s.props[l]&&e.ownerState?.[l]!==s.props[l])continue e;typeof s.style=="function"?(i??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Nt(zt(s.style(i)),n):s.style(i))):r.push(n?Nt(zt(s.style),n):s.style)}return r}function Cu(e={}){const{themeId:t,defaultTheme:r=bu,rootShouldForwardProp:n=zo,slotShouldForwardProp:i=zo}=e;function a(l){xu(l,t,r)}return(l,c={})=>{Pc(l,w=>w.filter(P=>P!==Zt));const{name:u,slot:p,skipVariantsResolver:m,skipSx:y,overridesResolver:b=vu(ja(p)),...g}=c,d=u&&u.startsWith("Mui")||p?"components":"custom",C=m!==void 0?m:p&&p!=="Root"&&p!=="root"||!1,T=y||!1;let R=zo;p==="Root"||p==="root"?R=n:p?R=i:Su(l)&&(R=void 0);const S=Rc(l,{shouldForwardProp:R,label:wu(u,p),...g}),v=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(I){return Ur(I,w,I.theme.modularCssLayers?d:void 0)};if(pt(w)){const P=yu(w);return function(M){return P.variants?Ur(M,P,M.theme.modularCssLayers?d:void 0):M.theme.modularCssLayers?Nt(P.style,d):P.style}}return w},x=(...w)=>{const P=[],I=w.map(v),M=[];if(P.push(a),u&&b&&M.push(function(k){const A=k.theme.components?.[u]?.styleOverrides;if(!A)return null;const j={};for(const V in A)j[V]=Ur(k,A[V],k.theme.modularCssLayers?"theme":void 0);return b(k,j)}),u&&!C&&M.push(function(k){const A=k.theme?.components?.[u]?.variants;return A?$a(k,A,[],k.theme.modularCssLayers?"theme":void 0):null}),T||M.push(Zt),Array.isArray(I[0])){const f=I.shift(),k=new Array(P.length).fill(""),$=new Array(M.length).fill("");let A;A=[...k,...f,...$],A.raw=[...k,...f.raw,...$],P.unshift(A)}const z=[...P,...I,...M],B=S(...z);return l.muiName&&(B.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(B.displayName=Tu(u,p,l)),B};return S.withConfig&&(x.withConfig=S.withConfig),x}}function Tu(e,t,r){return e?`${e}${G(t||"")}`:`Styled(${gu(r)})`}function wu(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${ja(t||"Root")}`),r}function Eu(e){for(const t in e)return!1;return!0}function Su(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ja(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ka(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Aa=e=>ka(e)&&e!=="classes",J=Cu({themeId:vo,defaultTheme:Sn,rootShouldForwardProp:Aa});function Ou(e){return function(r){return h.jsx(Ra,{styles:typeof e=="function"?n=>e({theme:n,...r}):e})}}function Ru(){return lc}const ye=re.unstable_memoTheme;process.env.NODE_ENV!=="production"&&(o.node,o.object.isRequired);function Re(e){return Mc(e)}function we(e,t,r="Mui"){const n={};return t.forEach(i=>{n[i]=Te(e,i,r)}),n}function Pu(e){return Te("MuiSvgIcon",e)}we("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const $u=e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root",t!=="inherit"&&`color${G(t)}`,`fontSize${G(r)}`]};return $e(i,Pu,n)},ju=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${G(r.color)}`],t[`fontSize${G(r.fontSize)}`]]}})(ye(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Zr=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSvgIcon"}),{children:i,className:a,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:m,viewBox:y="0 0 24 24",...b}=n,g=E.isValidElement(i)&&i.type==="svg",d={...n,color:s,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:y,hasSvgAsChild:g},C={};p||(C.viewBox=y);const T=$u(d);return h.jsxs(ju,{as:l,className:se(T.root,a),focusable:"false",color:u,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r,...C,...b,...g&&i.props,ownerState:d,children:[g?i.props.children:i,m?h.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(Zr.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,fontSize:o.oneOfType([o.oneOf(["inherit","large","medium","small"]),o.string]),htmlColor:o.string,inheritViewBox:o.bool,shapeRendering:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),titleAccess:o.string,viewBox:o.string});Zr.muiName="SvgIcon";function Pe(e,t){function r(n,i){return h.jsx(Zr,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:i,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Zr.muiName,E.memo(E.forwardRef(r))}function Ma(e,t=166){let r;function n(...i){const a=()=>{e.apply(this,i)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function st(e){return e&&e.ownerDocument||document}function Rt(e){return st(e).defaultView||window}function ji(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ia(e){const{controlled:t,default:r,name:n,state:i="value"}=e,{current:a}=E.useRef(t!==void 0),[s,l]=E.useState(r),c=a?t:s;if(process.env.NODE_ENV!=="production"){E.useEffect(()=>{a!==(t!==void 0)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${i} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
32
+ export default theme;`}function Oi(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const nu=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function iu(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:Kr(t,nu(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${Oi(r)})`:yo(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${Oi(r)})`:go(t,r)}})}function Zo(e={},...t){const{breakpoints:r,mixins:n={},spacing:i,palette:a={},transitions:s={},typography:l={},shape:c,colorSpace:u,...p}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":bt(20));const m=En({...a,colorSpace:u}),y=xa(e);let b=Ze(y,{mixins:qc(y.breakpoints,n),palette:m,shadows:Jc.slice(),typography:Yc(m,l),transitions:tu(s),zIndex:{...ru}});if(b=Ze(b,p),b=t.reduce((g,d)=>Ze(g,d),b),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],d=(C,T)=>{let R;for(R in C){const S=C[R];if(g.includes(R)&&Object.keys(S).length>0){if(process.env.NODE_ENV!=="production"){const v=Te("",R);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${R}\` internal state.`,"You can not override it like this: ",JSON.stringify(C,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:S}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
33
+ `))}C[R]={}}}};Object.keys(b.components).forEach(C=>{const T=b.components[C].styleOverrides;T&&C.startsWith("Mui")&&d(T,C)})}return b.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},b.unstable_sx=function(d){return Zt({sx:d,theme:this})},b.toRuntimeSource=Ta,iu(b),b}function Jo(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const au=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Jo(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function wa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ea(e){return e==="dark"?au:[]}function su(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:i,...a}=e,s=En({...t,colorSpace:i});return{palette:s,opacity:{...wa(s.mode),...r},overlays:n||Ea(s.mode),...a}}function lu(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const cu=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],uu=e=>(t,r)=>{const n=e.rootSelector||":root",i=e.colorSchemeSelector;let a=i;if(i==="class"&&(a=".%s"),i==="data"&&(a="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return cu(e.cssVarPrefix).forEach(l=>{s[l]=r[l],delete r[l]}),a==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:s}}:a?{[a.replace("%s",t)]:s,[`${n}, ${a.replace("%s",t)}`]:r}:{[n]:{...r,...s}}}if(a&&a!=="media")return`${n}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(a)return a.replace("%s",String(t))}return n};function pu(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function D(e,t,r){!e[t]&&r&&(e[t]=r)}function dr(e){return typeof e!="string"||!e.startsWith("hsl")?e:ma(e)}function ht(e,t){`${t}Channel`in e||(e[`${t}Channel`]=pr(dr(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
34
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function du(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ut=e=>{try{return e()}catch{}},fu=(e="mui")=>re.unstable_createGetCssVar(e);function Do(e,t,r,n,i){if(!r)return;r=r===!0?{}:r;const a=i==="dark"?"dark":"light";if(!n){t[i]=su({...r,palette:{mode:a,...r?.palette},colorSpace:e});return}const{palette:s,...l}=Zo({...n,palette:{mode:a,...r?.palette},colorSpace:e});return t[i]={...r,palette:s,opacity:{...wa(a),...r?.opacity},overlays:r?.overlays||Ea(a)},l}function mu(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:i=!1,cssVarPrefix:a="mui",nativeColor:s=!1,shouldSkipGeneratingVar:l=lu,colorSchemeSelector:c=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...p}=e,m=Object.keys(r)[0],y=n||(r.light&&m!=="light"?"light":m),b=fu(a),{[y]:g,light:d,dark:C,...T}=r,R={...T};let S=g;if((y==="dark"&&!("dark"in r)||y==="light"&&!("light"in r))&&(S=!0),!S)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${y}\` option is either missing or invalid.`:bt(21,y));let v;s&&(v="oklch");const x=Do(v,R,S,p,y);d&&!R.light&&Do(v,R,d,void 0,"light"),C&&!R.dark&&Do(v,R,C,void 0,"dark");let w={defaultColorScheme:y,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:u,getCssVar:b,colorSchemes:R,font:{...Wc(x.typography),...x.font},spacing:du(p.spacing)};Object.keys(w.colorSchemes).forEach(B=>{const f=w.colorSchemes[B].palette,k=A=>{const j=A.split("-"),V=j[1],N=j[2];return b(A,f[V][N])};f.mode==="light"&&(D(f.common,"background","#fff"),D(f.common,"onBackground","#000")),f.mode==="dark"&&(D(f.common,"background","#000"),D(f.common,"onBackground","#fff"));function $(A,j,V){if(v){let N;return A===kt&&(N=`transparent ${((1-V)*100).toFixed(0)}%`),A===xe&&(N=`#000 ${(V*100).toFixed(0)}%`),A===Ce&&(N=`#fff ${(V*100).toFixed(0)}%`),`color-mix(in ${v}, ${j}, ${N})`}return A(j,V)}if(pu(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){D(f.Alert,"errorColor",$(xe,f.error.light,.6)),D(f.Alert,"infoColor",$(xe,f.info.light,.6)),D(f.Alert,"successColor",$(xe,f.success.light,.6)),D(f.Alert,"warningColor",$(xe,f.warning.light,.6)),D(f.Alert,"errorFilledBg",k("palette-error-main")),D(f.Alert,"infoFilledBg",k("palette-info-main")),D(f.Alert,"successFilledBg",k("palette-success-main")),D(f.Alert,"warningFilledBg",k("palette-warning-main")),D(f.Alert,"errorFilledColor",ut(()=>f.getContrastText(f.error.main))),D(f.Alert,"infoFilledColor",ut(()=>f.getContrastText(f.info.main))),D(f.Alert,"successFilledColor",ut(()=>f.getContrastText(f.success.main))),D(f.Alert,"warningFilledColor",ut(()=>f.getContrastText(f.warning.main))),D(f.Alert,"errorStandardBg",$(Ce,f.error.light,.9)),D(f.Alert,"infoStandardBg",$(Ce,f.info.light,.9)),D(f.Alert,"successStandardBg",$(Ce,f.success.light,.9)),D(f.Alert,"warningStandardBg",$(Ce,f.warning.light,.9)),D(f.Alert,"errorIconColor",k("palette-error-main")),D(f.Alert,"infoIconColor",k("palette-info-main")),D(f.Alert,"successIconColor",k("palette-success-main")),D(f.Alert,"warningIconColor",k("palette-warning-main")),D(f.AppBar,"defaultBg",k("palette-grey-100")),D(f.Avatar,"defaultBg",k("palette-grey-400")),D(f.Button,"inheritContainedBg",k("palette-grey-300")),D(f.Button,"inheritContainedHoverBg",k("palette-grey-A100")),D(f.Chip,"defaultBorder",k("palette-grey-400")),D(f.Chip,"defaultAvatarColor",k("palette-grey-700")),D(f.Chip,"defaultIconColor",k("palette-grey-700")),D(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(f.LinearProgress,"primaryBg",$(Ce,f.primary.main,.62)),D(f.LinearProgress,"secondaryBg",$(Ce,f.secondary.main,.62)),D(f.LinearProgress,"errorBg",$(Ce,f.error.main,.62)),D(f.LinearProgress,"infoBg",$(Ce,f.info.main,.62)),D(f.LinearProgress,"successBg",$(Ce,f.success.main,.62)),D(f.LinearProgress,"warningBg",$(Ce,f.warning.main,.62)),D(f.Skeleton,"bg",v?$(kt,f.text.primary,.11):`rgba(${k("palette-text-primaryChannel")} / 0.11)`),D(f.Slider,"primaryTrack",$(Ce,f.primary.main,.62)),D(f.Slider,"secondaryTrack",$(Ce,f.secondary.main,.62)),D(f.Slider,"errorTrack",$(Ce,f.error.main,.62)),D(f.Slider,"infoTrack",$(Ce,f.info.main,.62)),D(f.Slider,"successTrack",$(Ce,f.success.main,.62)),D(f.Slider,"warningTrack",$(Ce,f.warning.main,.62));const A=v?$(xe,f.background.default,.6825):Dr(f.background.default,.8);D(f.SnackbarContent,"bg",A),D(f.SnackbarContent,"color",ut(()=>v?Xo.text.primary:f.getContrastText(A))),D(f.SpeedDialAction,"fabHoverBg",Dr(f.background.paper,.15)),D(f.StepConnector,"border",k("palette-grey-400")),D(f.StepContent,"border",k("palette-grey-400")),D(f.Switch,"defaultColor",k("palette-common-white")),D(f.Switch,"defaultDisabledColor",k("palette-grey-100")),D(f.Switch,"primaryDisabledColor",$(Ce,f.primary.main,.62)),D(f.Switch,"secondaryDisabledColor",$(Ce,f.secondary.main,.62)),D(f.Switch,"errorDisabledColor",$(Ce,f.error.main,.62)),D(f.Switch,"infoDisabledColor",$(Ce,f.info.main,.62)),D(f.Switch,"successDisabledColor",$(Ce,f.success.main,.62)),D(f.Switch,"warningDisabledColor",$(Ce,f.warning.main,.62)),D(f.TableCell,"border",$(Ce,$(kt,f.divider,1),.88)),D(f.Tooltip,"bg",$(kt,f.grey[700],.92))}if(f.mode==="dark"){D(f.Alert,"errorColor",$(Ce,f.error.light,.6)),D(f.Alert,"infoColor",$(Ce,f.info.light,.6)),D(f.Alert,"successColor",$(Ce,f.success.light,.6)),D(f.Alert,"warningColor",$(Ce,f.warning.light,.6)),D(f.Alert,"errorFilledBg",k("palette-error-dark")),D(f.Alert,"infoFilledBg",k("palette-info-dark")),D(f.Alert,"successFilledBg",k("palette-success-dark")),D(f.Alert,"warningFilledBg",k("palette-warning-dark")),D(f.Alert,"errorFilledColor",ut(()=>f.getContrastText(f.error.dark))),D(f.Alert,"infoFilledColor",ut(()=>f.getContrastText(f.info.dark))),D(f.Alert,"successFilledColor",ut(()=>f.getContrastText(f.success.dark))),D(f.Alert,"warningFilledColor",ut(()=>f.getContrastText(f.warning.dark))),D(f.Alert,"errorStandardBg",$(xe,f.error.light,.9)),D(f.Alert,"infoStandardBg",$(xe,f.info.light,.9)),D(f.Alert,"successStandardBg",$(xe,f.success.light,.9)),D(f.Alert,"warningStandardBg",$(xe,f.warning.light,.9)),D(f.Alert,"errorIconColor",k("palette-error-main")),D(f.Alert,"infoIconColor",k("palette-info-main")),D(f.Alert,"successIconColor",k("palette-success-main")),D(f.Alert,"warningIconColor",k("palette-warning-main")),D(f.AppBar,"defaultBg",k("palette-grey-900")),D(f.AppBar,"darkBg",k("palette-background-paper")),D(f.AppBar,"darkColor",k("palette-text-primary")),D(f.Avatar,"defaultBg",k("palette-grey-600")),D(f.Button,"inheritContainedBg",k("palette-grey-800")),D(f.Button,"inheritContainedHoverBg",k("palette-grey-700")),D(f.Chip,"defaultBorder",k("palette-grey-700")),D(f.Chip,"defaultAvatarColor",k("palette-grey-300")),D(f.Chip,"defaultIconColor",k("palette-grey-300")),D(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(f.LinearProgress,"primaryBg",$(xe,f.primary.main,.5)),D(f.LinearProgress,"secondaryBg",$(xe,f.secondary.main,.5)),D(f.LinearProgress,"errorBg",$(xe,f.error.main,.5)),D(f.LinearProgress,"infoBg",$(xe,f.info.main,.5)),D(f.LinearProgress,"successBg",$(xe,f.success.main,.5)),D(f.LinearProgress,"warningBg",$(xe,f.warning.main,.5)),D(f.Skeleton,"bg",v?$(kt,f.text.primary,.13):`rgba(${k("palette-text-primaryChannel")} / 0.13)`),D(f.Slider,"primaryTrack",$(xe,f.primary.main,.5)),D(f.Slider,"secondaryTrack",$(xe,f.secondary.main,.5)),D(f.Slider,"errorTrack",$(xe,f.error.main,.5)),D(f.Slider,"infoTrack",$(xe,f.info.main,.5)),D(f.Slider,"successTrack",$(xe,f.success.main,.5)),D(f.Slider,"warningTrack",$(xe,f.warning.main,.5));const A=v?$(Ce,f.background.default,.985):Dr(f.background.default,.98);D(f.SnackbarContent,"bg",A),D(f.SnackbarContent,"color",ut(()=>v?ga.text.primary:f.getContrastText(A))),D(f.SpeedDialAction,"fabHoverBg",Dr(f.background.paper,.15)),D(f.StepConnector,"border",k("palette-grey-600")),D(f.StepContent,"border",k("palette-grey-600")),D(f.Switch,"defaultColor",k("palette-grey-300")),D(f.Switch,"defaultDisabledColor",k("palette-grey-600")),D(f.Switch,"primaryDisabledColor",$(xe,f.primary.main,.55)),D(f.Switch,"secondaryDisabledColor",$(xe,f.secondary.main,.55)),D(f.Switch,"errorDisabledColor",$(xe,f.error.main,.55)),D(f.Switch,"infoDisabledColor",$(xe,f.info.main,.55)),D(f.Switch,"successDisabledColor",$(xe,f.success.main,.55)),D(f.Switch,"warningDisabledColor",$(xe,f.warning.main,.55)),D(f.TableCell,"border",$(xe,$(kt,f.divider,1),.68)),D(f.Tooltip,"bg",$(kt,f.grey[700],.92))}ht(f.background,"default"),ht(f.background,"paper"),ht(f.common,"background"),ht(f.common,"onBackground"),ht(f,"divider"),Object.keys(f).forEach(A=>{const j=f[A];A!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&D(f[A],"mainChannel",pr(dr(j.main))),j.light&&D(f[A],"lightChannel",pr(dr(j.light))),j.dark&&D(f[A],"darkChannel",pr(dr(j.dark))),j.contrastText&&D(f[A],"contrastTextChannel",pr(dr(j.contrastText))),A==="text"&&(ht(f[A],"primary"),ht(f[A],"secondary")),A==="action"&&(j.active&&ht(f[A],"active"),j.selected&&ht(f[A],"selected")))})}),w=t.reduce((B,f)=>Ze(B,f),w);const P={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:l,getSelector:uu(w),enableContrastVars:s},{vars:I,generateThemeVars:M,generateStyleSheets:z}=Lc(w,P);return w.vars=I,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([B,f])=>{w[B]=f}),w.generateThemeVars=M,w.generateStyleSheets=z,w.generateSpacing=function(){return re.createSpacing(p.spacing,Cn(this))},w.getColorSchemeSelector=Hc(c),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=l,w.unstable_sxConfig={...Rr,...p?.unstable_sxConfig},w.unstable_sx=function(f){return Zt({sx:f,theme:this})},w.toRuntimeSource=Ta,w}function Ri(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:En({...r===!0?{}:r.palette,mode:t})})}function Sa(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:i=r?void 0:{light:!0},defaultColorScheme:a=r?.mode,...s}=e,l=a||"light",c=i?.[l],u={...i,...r?{[l]:{...typeof c!="boolean"&&c,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Zo(e,...t);let p=r;"palette"in e||u[l]&&(u[l]!==!0?p=u[l].palette:l==="dark"&&(p={mode:"dark"}));const m=Zo({...e,palette:p},...t);return m.defaultColorScheme=l,m.colorSchemes=u,m.palette.mode==="light"&&(m.colorSchemes.light={...u.light!==!0&&u.light,palette:m.palette},Ri(m,"dark",u.dark)),m.palette.mode==="dark"&&(m.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:m.palette},Ri(m,"light",u.light)),m}return!r&&!("light"in u)&&l==="light"&&(u.light=!0),mu({...s,colorSchemes:u,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Sn=Sa(),vo="$$material";function Ge(){const e=re.useTheme(Sn);return process.env.NODE_ENV!=="production"&&E.useDebugValue(e),e[vo]||e}function Oa(e){return h.jsx(re.GlobalStyles,{...e,defaultTheme:Sn,themeId:vo})}process.env.NODE_ENV!=="production"&&(Oa.propTypes={styles:o.oneOfType([o.array,o.func,o.number,o.object,o.string,o.bool])});function Ra(e,t=""){return e.displayName||e.name||t}function Pi(e,t,r){const n=Ra(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function hu(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Ra(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vr.ForwardRef:return Pi(e,e.render,"ForwardRef");case vr.Memo:return Pi(e,e.type,"memo");default:return}}}function gu(e){const{variants:t,...r}=e,n={variants:t,style:zt(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=zt(i.style))}),n}const yu=xa();function zo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Nt(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function bu(e){return e?(t,r)=>r[e]:null}function vu(e,t,r){e.theme=wu(e.theme)?r:e.theme[t]||e.theme}function Ur(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(i=>Ur(e,i,r));if(Array.isArray(n?.variants)){let i;if(n.isProcessed)i=r?Nt(n.style,r):n.style;else{const{variants:a,...s}=n;i=r?Nt(zt(s),r):s}return Pa(e,n.variants,[i],r)}return n?.isProcessed?r?Nt(zt(n.style),r):n.style:r?Nt(zt(n),r):n}function Pa(e,t,r=[],n=void 0){let i;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(i))continue}else for(const l in s.props)if(e[l]!==s.props[l]&&e.ownerState?.[l]!==s.props[l])continue e;typeof s.style=="function"?(i??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Nt(zt(s.style(i)),n):s.style(i))):r.push(n?Nt(zt(s.style),n):s.style)}return r}function xu(e={}){const{themeId:t,defaultTheme:r=yu,rootShouldForwardProp:n=zo,slotShouldForwardProp:i=zo}=e;function a(l){vu(l,t,r)}return(l,c={})=>{Rc(l,w=>w.filter(P=>P!==Zt));const{name:u,slot:p,skipVariantsResolver:m,skipSx:y,overridesResolver:b=bu($a(p)),...g}=c,d=u&&u.startsWith("Mui")||p?"components":"custom",C=m!==void 0?m:p&&p!=="Root"&&p!=="root"||!1,T=y||!1;let R=zo;p==="Root"||p==="root"?R=n:p?R=i:Eu(l)&&(R=void 0);const S=Oc(l,{shouldForwardProp:R,label:Tu(u,p),...g}),v=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(I){return Ur(I,w,I.theme.modularCssLayers?d:void 0)};if(pt(w)){const P=gu(w);return function(M){return P.variants?Ur(M,P,M.theme.modularCssLayers?d:void 0):M.theme.modularCssLayers?Nt(P.style,d):P.style}}return w},x=(...w)=>{const P=[],I=w.map(v),M=[];if(P.push(a),u&&b&&M.push(function(k){const A=k.theme.components?.[u]?.styleOverrides;if(!A)return null;const j={};for(const V in A)j[V]=Ur(k,A[V],k.theme.modularCssLayers?"theme":void 0);return b(k,j)}),u&&!C&&M.push(function(k){const A=k.theme?.components?.[u]?.variants;return A?Pa(k,A,[],k.theme.modularCssLayers?"theme":void 0):null}),T||M.push(Zt),Array.isArray(I[0])){const f=I.shift(),k=new Array(P.length).fill(""),$=new Array(M.length).fill("");let A;A=[...k,...f,...$],A.raw=[...k,...f.raw,...$],P.unshift(A)}const z=[...P,...I,...M],B=S(...z);return l.muiName&&(B.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(B.displayName=Cu(u,p,l)),B};return S.withConfig&&(x.withConfig=S.withConfig),x}}function Cu(e,t,r){return e?`${e}${G(t||"")}`:`Styled(${hu(r)})`}function Tu(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${$a(t||"Root")}`),r}function wu(e){for(const t in e)return!1;return!0}function Eu(e){return typeof e=="string"&&e.charCodeAt(0)>96}function $a(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ja(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ka=e=>ja(e)&&e!=="classes",J=xu({themeId:vo,defaultTheme:Sn,rootShouldForwardProp:ka});function Su(e){return function(r){return h.jsx(Oa,{styles:typeof e=="function"?n=>e({theme:n,...r}):e})}}function Ou(){return sc}const ye=re.unstable_memoTheme;process.env.NODE_ENV!=="production"&&(o.node,o.object.isRequired);function Re(e){return Ac(e)}function we(e,t,r="Mui"){const n={};return t.forEach(i=>{n[i]=Te(e,i,r)}),n}function Ru(e){return Te("MuiSvgIcon",e)}we("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Pu=e=>{const{color:t,fontSize:r,classes:n}=e,i={root:["root",t!=="inherit"&&`color${G(t)}`,`fontSize${G(r)}`]};return $e(i,Ru,n)},$u=J("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${G(r.color)}`],t[`fontSize${G(r.fontSize)}`]]}})(ye(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),Zr=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSvgIcon"}),{children:i,className:a,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:p=!1,titleAccess:m,viewBox:y="0 0 24 24",...b}=n,g=E.isValidElement(i)&&i.type==="svg",d={...n,color:s,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:y,hasSvgAsChild:g},C={};p||(C.viewBox=y);const T=Pu(d);return h.jsxs($u,{as:l,className:se(T.root,a),focusable:"false",color:u,"aria-hidden":m?void 0:!0,role:m?"img":void 0,ref:r,...C,...b,...g&&i.props,ownerState:d,children:[g?i.props.children:i,m?h.jsx("title",{children:m}):null]})});process.env.NODE_ENV!=="production"&&(Zr.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,fontSize:o.oneOfType([o.oneOf(["inherit","large","medium","small"]),o.string]),htmlColor:o.string,inheritViewBox:o.bool,shapeRendering:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),titleAccess:o.string,viewBox:o.string});Zr.muiName="SvgIcon";function Pe(e,t){function r(n,i){return h.jsx(Zr,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:i,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Zr.muiName,E.memo(E.forwardRef(r))}function Aa(e,t=166){let r;function n(...i){const a=()=>{e.apply(this,i)};clearTimeout(r),r=setTimeout(a,t)}return n.clear=()=>{clearTimeout(r)},n}function st(e){return e&&e.ownerDocument||document}function Rt(e){return st(e).defaultView||window}function $i(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Ma(e){const{controlled:t,default:r,name:n,state:i="value"}=e,{current:a}=E.useRef(t!==void 0),[s,l]=E.useState(r),c=a?t:s;if(process.env.NODE_ENV!=="production"){E.useEffect(()=>{a!==(t!==void 0)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${i} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
35
35
  `))},[i,n,t]);const{current:p}=E.useRef(r);E.useEffect(()=>{!a&&JSON.stringify(r)!==JSON.stringify(p)&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
36
- `))},[JSON.stringify(r)])}const u=E.useCallback(p=>{a||l(p)},[]);return[c,u]}function yt(e){const t=E.useRef(e);return Ot(()=>{t.current=e}),E.useRef((...r)=>(0,t.current)(...r)).current}function Le(...e){const t=E.useRef(void 0),r=E.useCallback(n=>{const i=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const s=a,l=s(n);return typeof l=="function"?l:()=>{s(null)}}return a.current=n,()=>{a.current=null}});return()=>{i.forEach(a=>a?.())}},e);return E.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function ku(e,t){const r=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&r>=65&&r<=90&&typeof t=="function"}function Au(e,t){if(!e)return t;function r(s,l){const c={};return Object.keys(l).forEach(u=>{ku(u,l[u])&&typeof s[u]=="function"&&(c[u]=(...p)=>{s[u](...p),l[u](...p)})}),c}if(typeof e=="function"||typeof t=="function")return s=>{const l=typeof t=="function"?t(s):t,c=typeof e=="function"?e({...s,...l}):e,u=se(s?.className,l?.className,c?.className),p=r(c,l);return{...l,...c,...p,...!!u&&{className:u},...l?.style&&c?.style&&{style:{...l.style,...c.style}},...l?.sx&&c?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(c.sx)?c.sx:[c.sx]]}}};const n=t,i=r(e,n),a=se(n?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const $r=o.oneOfType([o.func,o.object]);function it(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Mu(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Iu(e,t,r,n,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;return typeof a=="function"&&!Mu(a)&&(l="Did you accidentally provide a plain function component instead?"),a===E.Fragment&&(l="Did you accidentally provide a React.Fragment instead?"),l!==void 0?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const xo=it(o.elementType,Iu);function Jt(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!window.navigator.userAgent.includes("jsdom")&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
37
- `))}return!1}const ki={};function Na(e,t){const r=E.useRef(ki);return r.current===ki&&(r.current=e(t)),r}class Jr{static create(){return new Jr}static use(){const t=Na(Jr.create).current,[r,n]=E.useState(!1);return t.shouldMount=r,t.setShouldMount=n,E.useEffect(t.mountEffect,[r]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Bu(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function Nu(){return Jr.use()}function Bu(){let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r}function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qo.apply(null,arguments)}function Ba(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function en(e,t){return en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},en(e,t)}function Da(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,en(e,t)}const Ai={disabled:!1};var Du=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.shape({enter:o.number,exit:o.number,appear:o.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&o.oneOfType([o.string,o.shape({enter:o.string,exit:o.string,active:o.string}),o.shape({enter:o.string,enterDone:o.string,enterActive:o.string,exit:o.string,exitDone:o.string,exitActive:o.string})]);const Qr=le.createContext(null);var zu=function(t){return t.scrollTop},fr="unmounted",Mt="exited",It="entering",Kt="entered",tn="exiting",lt=(function(e){Da(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var s=i,l=s&&!s.isMounting?n.enter:n.appear,c;return a.appearStatus=null,n.in?l?(c=Mt,a.appearStatus=It):c=Kt:n.unmountOnExit||n.mountOnEnter?c=fr:c=Mt,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var s=i.in;return s&&a.status===fr?{status:Mt}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==It&&s!==Kt&&(a=It):(s===It||s===Kt)&&(a=tn)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,s,l;return a=s=l=i,i!=null&&typeof i!="number"&&(a=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:a,enter:s,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===It){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:ur.findDOMNode(this);s&&zu(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Mt&&this.setState({status:fr})},r.performEnter=function(i){var a=this,s=this.props.enter,l=this.context?this.context.isMounting:i,c=this.props.nodeRef?[l]:[ur.findDOMNode(this),l],u=c[0],p=c[1],m=this.getTimeouts(),y=l?m.appear:m.enter;if(!i&&!s||Ai.disabled){this.safeSetState({status:Kt},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:It},function(){a.props.onEntering(u,p),a.onTransitionEnd(y,function(){a.safeSetState({status:Kt},function(){a.props.onEntered(u,p)})})})},r.performExit=function(){var i=this,a=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:ur.findDOMNode(this);if(!a||Ai.disabled){this.safeSetState({status:Mt},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:tn},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Mt},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:ur.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=c[0],p=c[1];this.props.addEndListener(u,p)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===fr)return null;var a=this.props,s=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=Ba(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return le.createElement(Qr.Provider,{value:null},typeof s=="function"?s(i,l):le.cloneElement(le.Children.only(s),l))},t})(le.Component);lt.contextType=Qr;lt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:o.shape({current:typeof Element>"u"?o.any:function(e,t,r,n,i,a){var s=e[t];return o.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,r,n,i,a)}}),children:o.oneOfType([o.func.isRequired,o.element.isRequired]).isRequired,in:o.bool,mountOnEnter:o.bool,unmountOnExit:o.bool,appear:o.bool,enter:o.bool,exit:o.bool,timeout:function(t){var r=Du;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return r.apply(void 0,[t].concat(i))},addEndListener:o.func,onEnter:o.func,onEntering:o.func,onEntered:o.func,onExit:o.func,onExiting:o.func,onExited:o.func}:{};function Yt(){}lt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Yt,onEntering:Yt,onEntered:Yt,onExit:Yt,onExiting:Yt,onExited:Yt};lt.UNMOUNTED=fr;lt.EXITED=Mt;lt.ENTERING=It;lt.ENTERED=Kt;lt.EXITING=tn;function Fu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function On(e,t){var r=function(a){return t&&le.isValidElement(a)?t(a):a},n=Object.create(null);return e&&le.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function _u(e,t){e=e||{},t=t||{};function r(p){return p in t?t[p]:e[p]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var s,l={};for(var c in t){if(n[c])for(s=0;s<n[c].length;s++){var u=n[c][s];l[n[c][s]]=r(u)}l[c]=r(c)}for(s=0;s<i.length;s++)l[i[s]]=r(i[s]);return l}function Bt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Vu(e,t){return On(e.children,function(r){return le.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Bt(r,"appear",e),enter:Bt(r,"enter",e),exit:Bt(r,"exit",e)})})}function Lu(e,t,r){var n=On(e.children),i=_u(t,n);return Object.keys(i).forEach(function(a){var s=i[a];if(le.isValidElement(s)){var l=a in t,c=a in n,u=t[a],p=le.isValidElement(u)&&!u.props.in;c&&(!l||p)?i[a]=le.cloneElement(s,{onExited:r.bind(null,s),in:!0,exit:Bt(s,"exit",e),enter:Bt(s,"enter",e)}):!c&&l&&!p?i[a]=le.cloneElement(s,{in:!1}):c&&l&&le.isValidElement(u)&&(i[a]=le.cloneElement(s,{onExited:r.bind(null,s),in:u.props.in,exit:Bt(s,"exit",e),enter:Bt(s,"enter",e)}))}}),i}var Wu=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Hu={component:"div",childFactory:function(t){return t}},Rn=(function(e){Da(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var s=a.handleExited.bind(Fu(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var s=a.children,l=a.handleExited,c=a.firstRender;return{children:c?Vu(i,l):Lu(i,s,l),firstRender:!1}},r.handleExited=function(i,a){var s=On(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(l){var c=Qo({},l.children);return delete c[i.key],{children:c}}))},r.render=function(){var i=this.props,a=i.component,s=i.childFactory,l=Ba(i,["component","childFactory"]),c=this.state.contextValue,u=Wu(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,a===null?le.createElement(Qr.Provider,{value:c},u):le.createElement(Qr.Provider,{value:c},le.createElement(a,l,u))},t})(le.Component);Rn.propTypes=process.env.NODE_ENV!=="production"?{component:o.any,children:o.node,appear:o.bool,enter:o.bool,exit:o.bool,childFactory:o.func}:{};Rn.defaultProps=Hu;const Uu=[];function qu(e){E.useEffect(e,Uu)}class Co{static create(){return new Co}currentId=null;start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Dt(){const e=Na(Co.create).current;return qu(e.disposeEffect),e}function za(e){const{className:t,classes:r,pulsate:n=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:u}=e,[p,m]=E.useState(!1),y=se(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),b={width:s,height:s,top:-(s/2)+a,left:-(s/2)+i},g=se(r.child,p&&r.childLeaving,n&&r.childPulsate);return!l&&!p&&m(!0),E.useEffect(()=>{if(!l&&c!=null){const d=setTimeout(c,u);return()=>{clearTimeout(d)}}},[c,l,u]),h.jsx("span",{className:y,style:b,children:h.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(za.propTypes={classes:o.object.isRequired,className:o.string,in:o.bool,onExited:o.func,pulsate:o.bool,rippleSize:o.number,rippleX:o.number,rippleY:o.number,timeout:o.number.isRequired});const Qe=we("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rn=550,Gu=80,Yu=re.keyframes`
36
+ `))},[JSON.stringify(r)])}const u=E.useCallback(p=>{a||l(p)},[]);return[c,u]}function yt(e){const t=E.useRef(e);return Ot(()=>{t.current=e}),E.useRef((...r)=>(0,t.current)(...r)).current}function Le(...e){const t=E.useRef(void 0),r=E.useCallback(n=>{const i=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const s=a,l=s(n);return typeof l=="function"?l:()=>{s(null)}}return a.current=n,()=>{a.current=null}});return()=>{i.forEach(a=>a?.())}},e);return E.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function ju(e,t){const r=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&r>=65&&r<=90&&typeof t=="function"}function ku(e,t){if(!e)return t;function r(s,l){const c={};return Object.keys(l).forEach(u=>{ju(u,l[u])&&typeof s[u]=="function"&&(c[u]=(...p)=>{s[u](...p),l[u](...p)})}),c}if(typeof e=="function"||typeof t=="function")return s=>{const l=typeof t=="function"?t(s):t,c=typeof e=="function"?e({...s,...l}):e,u=se(s?.className,l?.className,c?.className),p=r(c,l);return{...l,...c,...p,...!!u&&{className:u},...l?.style&&c?.style&&{style:{...l.style,...c.style}},...l?.sx&&c?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(c.sx)?c.sx:[c.sx]]}}};const n=t,i=r(e,n),a=se(n?.className,e?.className);return{...t,...e,...i,...!!a&&{className:a},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const $r=o.oneOfType([o.func,o.object]);function it(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Au(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Mu(e,t,r,n,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;return typeof a=="function"&&!Au(a)&&(l="Did you accidentally provide a plain function component instead?"),a===E.Fragment&&(l="Did you accidentally provide a React.Fragment instead?"),l!==void 0?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const xo=it(o.elementType,Mu);function Jt(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!window.navigator.userAgent.includes("jsdom")&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
37
+ `))}return!1}const ji={};function Ia(e,t){const r=E.useRef(ji);return r.current===ji&&(r.current=e(t)),r}class Jr{static create(){return new Jr}static use(){const t=Ia(Jr.create).current,[r,n]=E.useState(!1);return t.shouldMount=r,t.setShouldMount=n,E.useEffect(t.mountEffect,[r]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Nu(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function Iu(){return Jr.use()}function Nu(){let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r}function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qo.apply(null,arguments)}function Na(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function en(e,t){return en=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},en(e,t)}function Ba(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,en(e,t)}const ki={disabled:!1};var Bu=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.shape({enter:o.number,exit:o.number,appear:o.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&o.oneOfType([o.string,o.shape({enter:o.string,exit:o.string,active:o.string}),o.shape({enter:o.string,enterDone:o.string,enterActive:o.string,exit:o.string,exitDone:o.string,exitActive:o.string})]);const Qr=le.createContext(null);var Du=function(t){return t.scrollTop},fr="unmounted",Mt="exited",It="entering",Kt="entered",tn="exiting",lt=(function(e){Ba(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var s=i,l=s&&!s.isMounting?n.enter:n.appear,c;return a.appearStatus=null,n.in?l?(c=Mt,a.appearStatus=It):c=Kt:n.unmountOnExit||n.mountOnEnter?c=fr:c=Mt,a.state={status:c},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var s=i.in;return s&&a.status===fr?{status:Mt}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==It&&s!==Kt&&(a=It):(s===It||s===Kt)&&(a=tn)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,s,l;return a=s=l=i,i!=null&&typeof i!="number"&&(a=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:a,enter:s,appear:l}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===It){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:ur.findDOMNode(this);s&&Du(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Mt&&this.setState({status:fr})},r.performEnter=function(i){var a=this,s=this.props.enter,l=this.context?this.context.isMounting:i,c=this.props.nodeRef?[l]:[ur.findDOMNode(this),l],u=c[0],p=c[1],m=this.getTimeouts(),y=l?m.appear:m.enter;if(!i&&!s||ki.disabled){this.safeSetState({status:Kt},function(){a.props.onEntered(u)});return}this.props.onEnter(u,p),this.safeSetState({status:It},function(){a.props.onEntering(u,p),a.onTransitionEnd(y,function(){a.safeSetState({status:Kt},function(){a.props.onEntered(u,p)})})})},r.performExit=function(){var i=this,a=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:ur.findDOMNode(this);if(!a||ki.disabled){this.safeSetState({status:Mt},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:tn},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Mt},function(){i.props.onExited(l)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:ur.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=c[0],p=c[1];this.props.addEndListener(u,p)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===fr)return null;var a=this.props,s=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=Na(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return le.createElement(Qr.Provider,{value:null},typeof s=="function"?s(i,l):le.cloneElement(le.Children.only(s),l))},t})(le.Component);lt.contextType=Qr;lt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:o.shape({current:typeof Element>"u"?o.any:function(e,t,r,n,i,a){var s=e[t];return o.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,r,n,i,a)}}),children:o.oneOfType([o.func.isRequired,o.element.isRequired]).isRequired,in:o.bool,mountOnEnter:o.bool,unmountOnExit:o.bool,appear:o.bool,enter:o.bool,exit:o.bool,timeout:function(t){var r=Bu;t.addEndListener||(r=r.isRequired);for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return r.apply(void 0,[t].concat(i))},addEndListener:o.func,onEnter:o.func,onEntering:o.func,onEntered:o.func,onExit:o.func,onExiting:o.func,onExited:o.func}:{};function Yt(){}lt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Yt,onEntering:Yt,onEntered:Yt,onExit:Yt,onExiting:Yt,onExited:Yt};lt.UNMOUNTED=fr;lt.EXITED=Mt;lt.ENTERING=It;lt.ENTERED=Kt;lt.EXITING=tn;function zu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function On(e,t){var r=function(a){return t&&le.isValidElement(a)?t(a):a},n=Object.create(null);return e&&le.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function Fu(e,t){e=e||{},t=t||{};function r(p){return p in t?t[p]:e[p]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var s,l={};for(var c in t){if(n[c])for(s=0;s<n[c].length;s++){var u=n[c][s];l[n[c][s]]=r(u)}l[c]=r(c)}for(s=0;s<i.length;s++)l[i[s]]=r(i[s]);return l}function Bt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function _u(e,t){return On(e.children,function(r){return le.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Bt(r,"appear",e),enter:Bt(r,"enter",e),exit:Bt(r,"exit",e)})})}function Vu(e,t,r){var n=On(e.children),i=Fu(t,n);return Object.keys(i).forEach(function(a){var s=i[a];if(le.isValidElement(s)){var l=a in t,c=a in n,u=t[a],p=le.isValidElement(u)&&!u.props.in;c&&(!l||p)?i[a]=le.cloneElement(s,{onExited:r.bind(null,s),in:!0,exit:Bt(s,"exit",e),enter:Bt(s,"enter",e)}):!c&&l&&!p?i[a]=le.cloneElement(s,{in:!1}):c&&l&&le.isValidElement(u)&&(i[a]=le.cloneElement(s,{onExited:r.bind(null,s),in:u.props.in,exit:Bt(s,"exit",e),enter:Bt(s,"enter",e)}))}}),i}var Lu=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Wu={component:"div",childFactory:function(t){return t}},Rn=(function(e){Ba(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var s=a.handleExited.bind(zu(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var s=a.children,l=a.handleExited,c=a.firstRender;return{children:c?_u(i,l):Vu(i,s,l),firstRender:!1}},r.handleExited=function(i,a){var s=On(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(l){var c=Qo({},l.children);return delete c[i.key],{children:c}}))},r.render=function(){var i=this.props,a=i.component,s=i.childFactory,l=Na(i,["component","childFactory"]),c=this.state.contextValue,u=Lu(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,a===null?le.createElement(Qr.Provider,{value:c},u):le.createElement(Qr.Provider,{value:c},le.createElement(a,l,u))},t})(le.Component);Rn.propTypes=process.env.NODE_ENV!=="production"?{component:o.any,children:o.node,appear:o.bool,enter:o.bool,exit:o.bool,childFactory:o.func}:{};Rn.defaultProps=Wu;const Hu=[];function Uu(e){E.useEffect(e,Hu)}class Co{static create(){return new Co}currentId=null;start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Dt(){const e=Ia(Co.create).current;return Uu(e.disposeEffect),e}function Da(e){const{className:t,classes:r,pulsate:n=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:u}=e,[p,m]=E.useState(!1),y=se(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),b={width:s,height:s,top:-(s/2)+a,left:-(s/2)+i},g=se(r.child,p&&r.childLeaving,n&&r.childPulsate);return!l&&!p&&m(!0),E.useEffect(()=>{if(!l&&c!=null){const d=setTimeout(c,u);return()=>{clearTimeout(d)}}},[c,l,u]),h.jsx("span",{className:y,style:b,children:h.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(Da.propTypes={classes:o.object.isRequired,className:o.string,in:o.bool,onExited:o.func,pulsate:o.bool,rippleSize:o.number,rippleX:o.number,rippleY:o.number,timeout:o.number.isRequired});const Qe=we("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),rn=550,qu=80,Gu=re.keyframes`
38
38
  0% {
39
39
  transform: scale(0);
40
40
  opacity: 0.1;
@@ -44,7 +44,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
44
44
  transform: scale(1);
45
45
  opacity: 0.3;
46
46
  }
47
- `,Ku=re.keyframes`
47
+ `,Yu=re.keyframes`
48
48
  0% {
49
49
  opacity: 1;
50
50
  }
@@ -52,7 +52,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
52
52
  100% {
53
53
  opacity: 0;
54
54
  }
55
- `,Xu=re.keyframes`
55
+ `,Ku=re.keyframes`
56
56
  0% {
57
57
  transform: scale(1);
58
58
  }
@@ -64,14 +64,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
64
64
  100% {
65
65
  transform: scale(1);
66
66
  }
67
- `,Zu=J("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ju=J(za,{name:"MuiTouchRipple",slot:"Ripple"})`
67
+ `,Xu=J("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Zu=J(Da,{name:"MuiTouchRipple",slot:"Ripple"})`
68
68
  opacity: 0;
69
69
  position: absolute;
70
70
 
71
71
  &.${Qe.rippleVisible} {
72
72
  opacity: 0.3;
73
73
  transform: scale(1);
74
- animation-name: ${Yu};
74
+ animation-name: ${Gu};
75
75
  animation-duration: ${rn}ms;
76
76
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
77
77
  }
@@ -91,7 +91,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
91
91
 
92
92
  & .${Qe.childLeaving} {
93
93
  opacity: 0;
94
- animation-name: ${Ku};
94
+ animation-name: ${Yu};
95
95
  animation-duration: ${rn}ms;
96
96
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
97
97
  }
@@ -101,13 +101,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
101
101
  /* @noflip */
102
102
  left: 0px;
103
103
  top: 0;
104
- animation-name: ${Xu};
104
+ animation-name: ${Ku};
105
105
  animation-duration: 2500ms;
106
106
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
107
107
  animation-iteration-count: infinite;
108
108
  animation-delay: 200ms;
109
109
  }
110
- `,Fa=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s,...l}=n,[c,u]=E.useState([]),p=E.useRef(0),m=E.useRef(null);E.useEffect(()=>{m.current&&(m.current(),m.current=null)},[c]);const y=E.useRef(!1),b=Dt(),g=E.useRef(null),d=E.useRef(null),C=E.useCallback(v=>{const{pulsate:x,rippleX:w,rippleY:P,rippleSize:I,cb:M}=v;u(z=>[...z,h.jsx(Ju,{classes:{ripple:se(a.ripple,Qe.ripple),rippleVisible:se(a.rippleVisible,Qe.rippleVisible),ripplePulsate:se(a.ripplePulsate,Qe.ripplePulsate),child:se(a.child,Qe.child),childLeaving:se(a.childLeaving,Qe.childLeaving),childPulsate:se(a.childPulsate,Qe.childPulsate)},timeout:rn,pulsate:x,rippleX:w,rippleY:P,rippleSize:I},p.current)]),p.current+=1,m.current=M},[a]),T=E.useCallback((v={},x={},w=()=>{})=>{const{pulsate:P=!1,center:I=i||x.pulsate,fakeElement:M=!1}=x;if(v?.type==="mousedown"&&y.current){y.current=!1;return}v?.type==="touchstart"&&(y.current=!0);const z=M?null:d.current,B=z?z.getBoundingClientRect():{width:0,height:0,left:0,top:0};let f,k,$;if(I||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)f=Math.round(B.width/2),k=Math.round(B.height/2);else{const{clientX:A,clientY:j}=v.touches&&v.touches.length>0?v.touches[0]:v;f=Math.round(A-B.left),k=Math.round(j-B.top)}if(I)$=Math.sqrt((2*B.width**2+B.height**2)/3),$%2===0&&($+=1);else{const A=Math.max(Math.abs((z?z.clientWidth:0)-f),f)*2+2,j=Math.max(Math.abs((z?z.clientHeight:0)-k),k)*2+2;$=Math.sqrt(A**2+j**2)}v?.touches?g.current===null&&(g.current=()=>{C({pulsate:P,rippleX:f,rippleY:k,rippleSize:$,cb:w})},b.start(Gu,()=>{g.current&&(g.current(),g.current=null)})):C({pulsate:P,rippleX:f,rippleY:k,rippleSize:$,cb:w})},[i,C,b]),R=E.useCallback(()=>{T({},{pulsate:!0})},[T]),S=E.useCallback((v,x)=>{if(b.clear(),v?.type==="touchend"&&g.current){g.current(),g.current=null,b.start(0,()=>{S(v,x)});return}g.current=null,u(w=>w.length>0?w.slice(1):w),m.current=x},[b]);return E.useImperativeHandle(r,()=>({pulsate:R,start:T,stop:S}),[R,T,S]),h.jsx(Zu,{className:se(Qe.root,a.root,s),ref:d,...l,children:h.jsx(Rn,{component:null,exit:!0,children:c})})});process.env.NODE_ENV!=="production"&&(Fa.propTypes={center:o.bool,classes:o.object,className:o.string});function Qu(e){return Te("MuiButtonBase",e)}const ep=we("MuiButtonBase",["root","disabled","focusVisible"]),tp=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,s=$e({root:["root",t&&"disabled",r&&"focusVisible"]},Qu,i);return r&&n&&(s.root+=` ${n}`),s},rp=J("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ep.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),To=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:s,className:l,component:c="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:y=!1,focusVisibleClassName:b,LinkComponent:g="a",onBlur:d,onClick:C,onContextMenu:T,onDragLeave:R,onFocus:S,onFocusVisible:v,onKeyDown:x,onKeyUp:w,onMouseDown:P,onMouseLeave:I,onMouseUp:M,onTouchEnd:z,onTouchMove:B,onTouchStart:f,tabIndex:k=0,TouchRippleProps:$,touchRippleRef:A,type:j,...V}=n,N=E.useRef(null),L=Nu(),O=Le(L.ref,A),[_,U]=E.useState(!1);u&&_&&U(!1),E.useImperativeHandle(i,()=>({focusVisible:()=>{U(!0),N.current.focus()}}),[]);const H=L.shouldMount&&!p&&!u;E.useEffect(()=>{_&&y&&!p&&L.pulsate()},[p,y,_,L]);const Y=gt(L,"start",P,m),Z=gt(L,"stop",T,m),Q=gt(L,"stop",R,m),ee=gt(L,"stop",M,m),X=gt(L,"stop",K=>{_&&K.preventDefault(),I&&I(K)},m),ne=gt(L,"start",f,m),q=gt(L,"stop",z,m),oe=gt(L,"stop",B,m),F=gt(L,"stop",K=>{Jt(K.target)||U(!1),d&&d(K)},!1),ce=yt(K=>{N.current||(N.current=K.currentTarget),Jt(K.target)&&(U(!0),v&&v(K)),S&&S(K)}),ie=()=>{const K=N.current;return c&&c!=="button"&&!(K.tagName==="A"&&K.href)},te=yt(K=>{y&&!K.repeat&&_&&K.key===" "&&L.stop(K,()=>{L.start(K)}),K.target===K.currentTarget&&ie()&&K.key===" "&&K.preventDefault(),x&&x(K),K.target===K.currentTarget&&ie()&&K.key==="Enter"&&!u&&(K.preventDefault(),C&&C(K))}),Ee=yt(K=>{y&&K.key===" "&&_&&!K.defaultPrevented&&L.stop(K,()=>{L.pulsate(K)}),w&&w(K),C&&K.target===K.currentTarget&&ie()&&K.key===" "&&!K.defaultPrevented&&C(K)});let me=c;me==="button"&&(V.href||V.to)&&(me=g);const he={};if(me==="button"){const K=!!V.formAction;he.type=j===void 0&&!K?"button":j,he.disabled=u}else!V.href&&!V.to&&(he.role="button"),u&&(he["aria-disabled"]=u);const Ae=Le(r,N),je={...n,centerRipple:a,component:c,disabled:u,disableRipple:p,disableTouchRipple:m,focusRipple:y,tabIndex:k,focusVisible:_},ae=tp(je);return h.jsxs(rp,{as:me,className:se(ae.root,l),ownerState:je,onBlur:F,onClick:C,onContextMenu:Z,onFocus:ce,onKeyDown:te,onKeyUp:Ee,onMouseDown:Y,onMouseLeave:X,onMouseUp:ee,onDragLeave:Q,onTouchEnd:q,onTouchMove:oe,onTouchStart:ne,ref:Ae,tabIndex:u?-1:k,type:j,...he,...V,children:[s,H?h.jsx(Fa,{ref:O,center:a,...$}):null]})});function gt(e,t,r,n=!1){return yt(i=>(r&&r(i),n||e[t](i),!0))}process.env.NODE_ENV!=="production"&&(To.propTypes={action:$r,centerRipple:o.bool,children:o.node,classes:o.object,className:o.string,component:xo,disabled:o.bool,disableRipple:o.bool,disableTouchRipple:o.bool,focusRipple:o.bool,focusVisibleClassName:o.string,formAction:o.oneOfType([o.func,o.string]),href:o.any,LinkComponent:o.elementType,onBlur:o.func,onClick:o.func,onContextMenu:o.func,onDragLeave:o.func,onFocus:o.func,onFocusVisible:o.func,onKeyDown:o.func,onKeyUp:o.func,onMouseDown:o.func,onMouseLeave:o.func,onMouseUp:o.func,onTouchEnd:o.func,onTouchMove:o.func,onTouchStart:o.func,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number,TouchRippleProps:o.object,touchRippleRef:o.oneOfType([o.func,o.shape({current:o.shape({pulsate:o.func.isRequired,start:o.func.isRequired,stop:o.func.isRequired})})]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string])});function op(e){return typeof e.main=="string"}function np(e,t=[]){if(!op(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Ve(e=[]){return([,t])=>t&&np(t,e)}function ip(e){return Te("MuiCircularProgress",e)}we("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const at=44,on=re.keyframes`
110
+ `,za=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s,...l}=n,[c,u]=E.useState([]),p=E.useRef(0),m=E.useRef(null);E.useEffect(()=>{m.current&&(m.current(),m.current=null)},[c]);const y=E.useRef(!1),b=Dt(),g=E.useRef(null),d=E.useRef(null),C=E.useCallback(v=>{const{pulsate:x,rippleX:w,rippleY:P,rippleSize:I,cb:M}=v;u(z=>[...z,h.jsx(Zu,{classes:{ripple:se(a.ripple,Qe.ripple),rippleVisible:se(a.rippleVisible,Qe.rippleVisible),ripplePulsate:se(a.ripplePulsate,Qe.ripplePulsate),child:se(a.child,Qe.child),childLeaving:se(a.childLeaving,Qe.childLeaving),childPulsate:se(a.childPulsate,Qe.childPulsate)},timeout:rn,pulsate:x,rippleX:w,rippleY:P,rippleSize:I},p.current)]),p.current+=1,m.current=M},[a]),T=E.useCallback((v={},x={},w=()=>{})=>{const{pulsate:P=!1,center:I=i||x.pulsate,fakeElement:M=!1}=x;if(v?.type==="mousedown"&&y.current){y.current=!1;return}v?.type==="touchstart"&&(y.current=!0);const z=M?null:d.current,B=z?z.getBoundingClientRect():{width:0,height:0,left:0,top:0};let f,k,$;if(I||v===void 0||v.clientX===0&&v.clientY===0||!v.clientX&&!v.touches)f=Math.round(B.width/2),k=Math.round(B.height/2);else{const{clientX:A,clientY:j}=v.touches&&v.touches.length>0?v.touches[0]:v;f=Math.round(A-B.left),k=Math.round(j-B.top)}if(I)$=Math.sqrt((2*B.width**2+B.height**2)/3),$%2===0&&($+=1);else{const A=Math.max(Math.abs((z?z.clientWidth:0)-f),f)*2+2,j=Math.max(Math.abs((z?z.clientHeight:0)-k),k)*2+2;$=Math.sqrt(A**2+j**2)}v?.touches?g.current===null&&(g.current=()=>{C({pulsate:P,rippleX:f,rippleY:k,rippleSize:$,cb:w})},b.start(qu,()=>{g.current&&(g.current(),g.current=null)})):C({pulsate:P,rippleX:f,rippleY:k,rippleSize:$,cb:w})},[i,C,b]),R=E.useCallback(()=>{T({},{pulsate:!0})},[T]),S=E.useCallback((v,x)=>{if(b.clear(),v?.type==="touchend"&&g.current){g.current(),g.current=null,b.start(0,()=>{S(v,x)});return}g.current=null,u(w=>w.length>0?w.slice(1):w),m.current=x},[b]);return E.useImperativeHandle(r,()=>({pulsate:R,start:T,stop:S}),[R,T,S]),h.jsx(Xu,{className:se(Qe.root,a.root,s),ref:d,...l,children:h.jsx(Rn,{component:null,exit:!0,children:c})})});process.env.NODE_ENV!=="production"&&(za.propTypes={center:o.bool,classes:o.object,className:o.string});function Ju(e){return Te("MuiButtonBase",e)}const Qu=we("MuiButtonBase",["root","disabled","focusVisible"]),ep=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,s=$e({root:["root",t&&"disabled",r&&"focusVisible"]},Ju,i);return r&&n&&(s.root+=` ${n}`),s},tp=J("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Qu.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),To=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:s,className:l,component:c="button",disabled:u=!1,disableRipple:p=!1,disableTouchRipple:m=!1,focusRipple:y=!1,focusVisibleClassName:b,LinkComponent:g="a",onBlur:d,onClick:C,onContextMenu:T,onDragLeave:R,onFocus:S,onFocusVisible:v,onKeyDown:x,onKeyUp:w,onMouseDown:P,onMouseLeave:I,onMouseUp:M,onTouchEnd:z,onTouchMove:B,onTouchStart:f,tabIndex:k=0,TouchRippleProps:$,touchRippleRef:A,type:j,...V}=n,N=E.useRef(null),L=Iu(),O=Le(L.ref,A),[_,U]=E.useState(!1);u&&_&&U(!1),E.useImperativeHandle(i,()=>({focusVisible:()=>{U(!0),N.current.focus()}}),[]);const H=L.shouldMount&&!p&&!u;E.useEffect(()=>{_&&y&&!p&&L.pulsate()},[p,y,_,L]);const Y=gt(L,"start",P,m),Z=gt(L,"stop",T,m),Q=gt(L,"stop",R,m),ee=gt(L,"stop",M,m),X=gt(L,"stop",K=>{_&&K.preventDefault(),I&&I(K)},m),ne=gt(L,"start",f,m),q=gt(L,"stop",z,m),oe=gt(L,"stop",B,m),F=gt(L,"stop",K=>{Jt(K.target)||U(!1),d&&d(K)},!1),ce=yt(K=>{N.current||(N.current=K.currentTarget),Jt(K.target)&&(U(!0),v&&v(K)),S&&S(K)}),ie=()=>{const K=N.current;return c&&c!=="button"&&!(K.tagName==="A"&&K.href)},te=yt(K=>{y&&!K.repeat&&_&&K.key===" "&&L.stop(K,()=>{L.start(K)}),K.target===K.currentTarget&&ie()&&K.key===" "&&K.preventDefault(),x&&x(K),K.target===K.currentTarget&&ie()&&K.key==="Enter"&&!u&&(K.preventDefault(),C&&C(K))}),Ee=yt(K=>{y&&K.key===" "&&_&&!K.defaultPrevented&&L.stop(K,()=>{L.pulsate(K)}),w&&w(K),C&&K.target===K.currentTarget&&ie()&&K.key===" "&&!K.defaultPrevented&&C(K)});let me=c;me==="button"&&(V.href||V.to)&&(me=g);const he={};if(me==="button"){const K=!!V.formAction;he.type=j===void 0&&!K?"button":j,he.disabled=u}else!V.href&&!V.to&&(he.role="button"),u&&(he["aria-disabled"]=u);const Ae=Le(r,N),je={...n,centerRipple:a,component:c,disabled:u,disableRipple:p,disableTouchRipple:m,focusRipple:y,tabIndex:k,focusVisible:_},ae=ep(je);return h.jsxs(tp,{as:me,className:se(ae.root,l),ownerState:je,onBlur:F,onClick:C,onContextMenu:Z,onFocus:ce,onKeyDown:te,onKeyUp:Ee,onMouseDown:Y,onMouseLeave:X,onMouseUp:ee,onDragLeave:Q,onTouchEnd:q,onTouchMove:oe,onTouchStart:ne,ref:Ae,tabIndex:u?-1:k,type:j,...he,...V,children:[s,H?h.jsx(za,{ref:O,center:a,...$}):null]})});function gt(e,t,r,n=!1){return yt(i=>(r&&r(i),n||e[t](i),!0))}process.env.NODE_ENV!=="production"&&(To.propTypes={action:$r,centerRipple:o.bool,children:o.node,classes:o.object,className:o.string,component:xo,disabled:o.bool,disableRipple:o.bool,disableTouchRipple:o.bool,focusRipple:o.bool,focusVisibleClassName:o.string,formAction:o.oneOfType([o.func,o.string]),href:o.any,LinkComponent:o.elementType,onBlur:o.func,onClick:o.func,onContextMenu:o.func,onDragLeave:o.func,onFocus:o.func,onFocusVisible:o.func,onKeyDown:o.func,onKeyUp:o.func,onMouseDown:o.func,onMouseLeave:o.func,onMouseUp:o.func,onTouchEnd:o.func,onTouchMove:o.func,onTouchStart:o.func,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number,TouchRippleProps:o.object,touchRippleRef:o.oneOfType([o.func,o.shape({current:o.shape({pulsate:o.func.isRequired,start:o.func.isRequired,stop:o.func.isRequired})})]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string])});function rp(e){return typeof e.main=="string"}function op(e,t=[]){if(!rp(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Ve(e=[]){return([,t])=>t&&op(t,e)}function np(e){return Te("MuiCircularProgress",e)}we("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const at=44,on=re.keyframes`
111
111
  0% {
112
112
  transform: rotate(0deg);
113
113
  }
@@ -130,14 +130,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
130
130
  stroke-dasharray: 1px, 200px;
131
131
  stroke-dashoffset: -126px;
132
132
  }
133
- `,ap=typeof on!="string"?re.css`
133
+ `,ip=typeof on!="string"?re.css`
134
134
  animation: ${on} 1.4s linear infinite;
135
- `:null,sp=typeof nn!="string"?re.css`
135
+ `:null,ap=typeof nn!="string"?re.css`
136
136
  animation: ${nn} 1.4s ease-in-out infinite;
137
- `:null,lp=e=>{const{classes:t,variant:r,color:n,disableShrink:i}=e,a={root:["root",r,`color${G(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${G(r)}`,i&&"circleDisableShrink"]};return $e(a,ip,t)},cp=J("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${G(r.color)}`]]}})(ye(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ap||{animation:`${on} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),up=J("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),pp=J("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${G(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(ye(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:sp||{animation:`${nn} 1.4s ease-in-out infinite`}}]}))),dp=J("circle",{name:"MuiCircularProgress",slot:"Track"})(ye(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Ft=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:s=!1,enableTrackSlot:l=!1,size:c=40,style:u,thickness:p=3.6,value:m=0,variant:y="indeterminate",...b}=n,g={...n,color:a,disableShrink:s,size:c,thickness:p,value:m,variant:y,enableTrackSlot:l},d=lp(g),C={},T={},R={};if(y==="determinate"){const S=2*Math.PI*((at-p)/2);C.strokeDasharray=S.toFixed(3),R["aria-valuenow"]=Math.round(m),C.strokeDashoffset=`${((100-m)/100*S).toFixed(3)}px`,T.transform="rotate(-90deg)"}return h.jsx(cp,{className:se(d.root,i),style:{width:c,height:c,...T,...u},ownerState:g,ref:r,role:"progressbar",...R,...b,children:h.jsxs(up,{className:d.svg,ownerState:g,viewBox:`${at/2} ${at/2} ${at} ${at}`,children:[l?h.jsx(dp,{className:d.track,ownerState:g,cx:at,cy:at,r:(at-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,h.jsx(pp,{className:d.circle,style:C,ownerState:g,cx:at,cy:at,r:(at-p)/2,fill:"none",strokeWidth:p})]})})});process.env.NODE_ENV!=="production"&&(Ft.propTypes={classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","error","info","success","warning"]),o.string]),disableShrink:it(o.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:o.bool,size:o.oneOfType([o.number,o.string]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),thickness:o.number,value:o.number,variant:o.oneOf(["determinate","indeterminate"])});function fp(e){return Te("MuiButton",e)}const At=we("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Pn=E.createContext({});process.env.NODE_ENV!=="production"&&(Pn.displayName="ButtonGroupContext");const $n=E.createContext(void 0);process.env.NODE_ENV!=="production"&&($n.displayName="ButtonGroupButtonContext");const mp=e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,loading:s,loadingPosition:l,classes:c}=e,u={root:["root",s&&"loading",a,`${a}${G(t)}`,`size${G(i)}`,`${a}Size${G(i)}`,`color${G(t)}`,r&&"disableElevation",n&&"fullWidth",s&&`loadingPosition${G(l)}`],startIcon:["icon","startIcon",`iconSize${G(i)}`],endIcon:["icon","endIcon",`iconSize${G(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=$e(u,fp,c);return{...c,...p}},_a=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],hp=J(To,{shouldForwardProp:e=>Aa(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${G(r.color)}`],t[`size${G(r.size)}`],t[`${r.variant}Size${G(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(ye(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${At.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${At.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${At.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${At.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ve()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(e.vars||e).palette[n].main,"--variant-outlinedColor":(e.vars||e).palette[n].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[n].main,.5),"--variant-containedColor":(e.vars||e).palette[n].contrastText,"--variant-containedBg":(e.vars||e).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[n].dark,"--variant-textBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[n].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${At.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${At.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${At.loading}`]:{color:"transparent"}}}]}})),gp=J("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${G(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},..._a]})),yp=J("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${G(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},..._a]})),bp=J("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Mi=J("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Va=E.forwardRef(function(t,r){const n=E.useContext(Pn),i=E.useContext($n),a=Gr(n,t),s=Re({props:a,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:p,disabled:m=!1,disableElevation:y=!1,disableFocusRipple:b=!1,endIcon:g,focusVisibleClassName:d,fullWidth:C=!1,id:T,loading:R=null,loadingIndicator:S,loadingPosition:v="center",size:x="medium",startIcon:w,type:P,variant:I="text",...M}=s,z=Pr(T),B=S??h.jsx(Ft,{"aria-labelledby":z,color:"inherit",size:16}),f={...s,color:c,component:u,disabled:m,disableElevation:y,disableFocusRipple:b,fullWidth:C,loading:R,loadingIndicator:B,loadingPosition:v,size:x,type:P,variant:I},k=mp(f),$=(w||R&&v==="start")&&h.jsx(gp,{className:k.startIcon,ownerState:f,children:w||h.jsx(Mi,{className:k.loadingIconPlaceholder,ownerState:f})}),A=(g||R&&v==="end")&&h.jsx(yp,{className:k.endIcon,ownerState:f,children:g||h.jsx(Mi,{className:k.loadingIconPlaceholder,ownerState:f})}),j=i||"",V=typeof R=="boolean"?h.jsx("span",{className:k.loadingWrapper,style:{display:"contents"},children:R&&h.jsx(bp,{className:k.loadingIndicator,ownerState:f,children:B})}):null;return h.jsxs(hp,{ownerState:f,className:se(n.className,k.root,p,j),component:u,disabled:m||R,focusRipple:!b,focusVisibleClassName:se(k.focusVisible,d),ref:r,type:P,id:R?z:T,...M,classes:k,children:[$,v!=="end"&&V,l,v==="end"&&V,A]})});process.env.NODE_ENV!=="production"&&(Va.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","success","error","info","warning"]),o.string]),component:o.elementType,disabled:o.bool,disableElevation:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,endIcon:o.node,focusVisibleClassName:o.string,fullWidth:o.bool,href:o.string,id:o.string,loading:o.bool,loadingIndicator:o.node,loadingPosition:o.oneOf(["center","end","start"]),size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),startIcon:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string]),variant:o.oneOfType([o.oneOf(["contained","outlined","text"]),o.string])});function vp(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function xp(e){return parseFloat(e)}const La=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),Cp=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),Ii=re.keyframes`
137
+ `:null,sp=e=>{const{classes:t,variant:r,color:n,disableShrink:i}=e,a={root:["root",r,`color${G(n)}`],svg:["svg"],track:["track"],circle:["circle",`circle${G(r)}`,i&&"circleDisableShrink"]};return $e(a,np,t)},lp=J("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${G(r.color)}`]]}})(ye(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ip||{animation:`${on} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),cp=J("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),up=J("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${G(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(ye(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:ap||{animation:`${nn} 1.4s ease-in-out infinite`}}]}))),pp=J("circle",{name:"MuiCircularProgress",slot:"Track"})(ye(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),Ft=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCircularProgress"}),{className:i,color:a="primary",disableShrink:s=!1,enableTrackSlot:l=!1,size:c=40,style:u,thickness:p=3.6,value:m=0,variant:y="indeterminate",...b}=n,g={...n,color:a,disableShrink:s,size:c,thickness:p,value:m,variant:y,enableTrackSlot:l},d=sp(g),C={},T={},R={};if(y==="determinate"){const S=2*Math.PI*((at-p)/2);C.strokeDasharray=S.toFixed(3),R["aria-valuenow"]=Math.round(m),C.strokeDashoffset=`${((100-m)/100*S).toFixed(3)}px`,T.transform="rotate(-90deg)"}return h.jsx(lp,{className:se(d.root,i),style:{width:c,height:c,...T,...u},ownerState:g,ref:r,role:"progressbar",...R,...b,children:h.jsxs(cp,{className:d.svg,ownerState:g,viewBox:`${at/2} ${at/2} ${at} ${at}`,children:[l?h.jsx(pp,{className:d.track,ownerState:g,cx:at,cy:at,r:(at-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,h.jsx(up,{className:d.circle,style:C,ownerState:g,cx:at,cy:at,r:(at-p)/2,fill:"none",strokeWidth:p})]})})});process.env.NODE_ENV!=="production"&&(Ft.propTypes={classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","error","info","success","warning"]),o.string]),disableShrink:it(o.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),enableTrackSlot:o.bool,size:o.oneOfType([o.number,o.string]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),thickness:o.number,value:o.number,variant:o.oneOf(["determinate","indeterminate"])});function dp(e){return Te("MuiButton",e)}const At=we("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Pn=E.createContext({});process.env.NODE_ENV!=="production"&&(Pn.displayName="ButtonGroupContext");const $n=E.createContext(void 0);process.env.NODE_ENV!=="production"&&($n.displayName="ButtonGroupButtonContext");const fp=e=>{const{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,loading:s,loadingPosition:l,classes:c}=e,u={root:["root",s&&"loading",a,`${a}${G(t)}`,`size${G(i)}`,`${a}Size${G(i)}`,`color${G(t)}`,r&&"disableElevation",n&&"fullWidth",s&&`loadingPosition${G(l)}`],startIcon:["icon","startIcon",`iconSize${G(i)}`],endIcon:["icon","endIcon",`iconSize${G(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=$e(u,dp,c);return{...c,...p}},Fa=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],mp=J(To,{shouldForwardProp:e=>ka(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${G(r.color)}`],t[`size${G(r.size)}`],t[`${r.variant}Size${G(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})(ye(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],r=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${At.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${At.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${At.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${At.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ve()).map(([n])=>({props:{color:n},style:{"--variant-textColor":(e.vars||e).palette[n].main,"--variant-outlinedColor":(e.vars||e).palette[n].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[n].main,.5),"--variant-containedColor":(e.vars||e).palette[n].contrastText,"--variant-containedBg":(e.vars||e).palette[n].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[n].dark,"--variant-textBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[n].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:r,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${At.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${At.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${At.loading}`]:{color:"transparent"}}}]}})),hp=J("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t[`iconSize${G(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Fa]})),gp=J("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t[`iconSize${G(r.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Fa]})),yp=J("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Ai=J("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),_a=E.forwardRef(function(t,r){const n=E.useContext(Pn),i=E.useContext($n),a=Gr(n,t),s=Re({props:a,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:p,disabled:m=!1,disableElevation:y=!1,disableFocusRipple:b=!1,endIcon:g,focusVisibleClassName:d,fullWidth:C=!1,id:T,loading:R=null,loadingIndicator:S,loadingPosition:v="center",size:x="medium",startIcon:w,type:P,variant:I="text",...M}=s,z=Pr(T),B=S??h.jsx(Ft,{"aria-labelledby":z,color:"inherit",size:16}),f={...s,color:c,component:u,disabled:m,disableElevation:y,disableFocusRipple:b,fullWidth:C,loading:R,loadingIndicator:B,loadingPosition:v,size:x,type:P,variant:I},k=fp(f),$=(w||R&&v==="start")&&h.jsx(hp,{className:k.startIcon,ownerState:f,children:w||h.jsx(Ai,{className:k.loadingIconPlaceholder,ownerState:f})}),A=(g||R&&v==="end")&&h.jsx(gp,{className:k.endIcon,ownerState:f,children:g||h.jsx(Ai,{className:k.loadingIconPlaceholder,ownerState:f})}),j=i||"",V=typeof R=="boolean"?h.jsx("span",{className:k.loadingWrapper,style:{display:"contents"},children:R&&h.jsx(yp,{className:k.loadingIndicator,ownerState:f,children:B})}):null;return h.jsxs(mp,{ownerState:f,className:se(n.className,k.root,p,j),component:u,disabled:m||R,focusRipple:!b,focusVisibleClassName:se(k.focusVisible,d),ref:r,type:P,id:R?z:T,...M,classes:k,children:[$,v!=="end"&&V,l,v==="end"&&V,A]})});process.env.NODE_ENV!=="production"&&(_a.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","success","error","info","warning"]),o.string]),component:o.elementType,disabled:o.bool,disableElevation:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,endIcon:o.node,focusVisibleClassName:o.string,fullWidth:o.bool,href:o.string,id:o.string,loading:o.bool,loadingIndicator:o.node,loadingPosition:o.oneOf(["center","end","start"]),size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),startIcon:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string]),variant:o.oneOfType([o.oneOf(["contained","outlined","text"]),o.string])});function bp(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function vp(e){return parseFloat(e)}const Va=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle"),xp=Pe(h.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),Mi=re.keyframes`
138
138
  from { transform: scale(0); opacity: 0; }
139
139
  to { transform: scale(1); opacity: 1; }
140
- `,Tp=J("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),jn=le.forwardRef(({variante:e="primario",tamano:t="mediano",forma:r="cuadrado",estado:n="inactivo",cargando:i=!1,disabled:a=!1,iconoIzquierda:s,iconoDerecha:l,soloIcono:c=!1,texto:u,textoCargando:p,textoExito:m,textoError:y,children:b,startIcon:g,endIcon:d,sx:C,color:T,alHacerClick:R,anchoCompleto:S,fullWidth:v,...x},w)=>{const P=Ge(),I=i?"cargando":n,M=I==="cargando",z=I==="exito",B=I==="error",f=I==="inactivo"&&!a,k=N=>["contorno","secundario"].includes(N)?"outlined":["fantasma","enlace"].includes(N)?"text":"contained",$=N=>N==="diminuto"||N==="xs"||N==="pequeno"||N==="sm"?"small":N==="mediano"||N==="md"?"medium":N==="grande"||N==="lg"||N==="enorme"||N==="xl"?"large":"medium",A=(N,L)=>{if(L)switch(L){case"primario":return"primary";case"secundario":return"secondary";case"exito":return"success";case"error":return"error";case"info":return"info";case"advertencia":return"warning";case"oscuro":return"inherit";default:return L}switch(N){case"primario":return"primary";case"secundario":return"secondary";case"peligro":return"error";case"exito":return"success";case"advertencia":return"warning";case"info":return"info";case"oscuro":return"inherit";case"contorno":return"primary";case"fantasma":return"inherit";default:return"primary"}},j=()=>{const N={textTransform:"none",fontWeight:600,letterSpacing:"0.01em",boxShadow:"none",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",borderRadius:r==="pildora"?"9999px":r==="circulo"?"50%":"10px",...c&&{minWidth:"auto",width:$(t)==="small"?32:$(t)==="large"?48:40,height:$(t)==="small"?32:$(t)==="large"?48:40,padding:0,borderRadius:r==="cuadrado"?"10px":"50%"},"&:hover":{transform:f?"translateY(-1px)":"none",boxShadow:f&&e!=="fantasma"&&e!=="enlace"?"0 4px 12px rgba(0,0,0,0.1)":"none"},"&:active":{transform:f?"scale(0.98)":"none"}};if(t==="diminuto"||t==="xs"?(N.padding=c?0:"2px 8px",N.fontSize="0.75rem",N.minWidth=c?24:"auto",c&&(N.height=24,N.width=24)):t==="pequeno"||t==="sm"?c&&(N.height=28,N.width=28):(t==="enorme"||t==="xl")&&(N.padding=c?0:"12px 28px",N.fontSize="1.125rem",c&&(N.height=56,N.width=56)),z&&(N.backgroundColor=P.palette.success.main,N.color=P.palette.success.contrastText,N["&:hover"]={backgroundColor:P.palette.success.dark}),B&&(N.backgroundColor=P.palette.error.main,N.color=P.palette.error.contrastText,N["&:hover"]={backgroundColor:P.palette.error.dark}),e==="suave"&&!z&&!B){const L=A("primario",T)||"primary";let O=P.palette.primary.main;L==="error"?O=P.palette.error.main:L==="success"?O=P.palette.success.main:L==="warning"?O=P.palette.warning.main:L==="info"?O=P.palette.info.main:L==="secondary"&&(O=P.palette.secondary.main),N.backgroundColor=re.alpha(O,.1),N.color=O,N.boxShadow="none",N["&:hover"]={...N["&:hover"],backgroundColor:re.alpha(O,.2),boxShadow:"none"}}return e==="fantasma"&&(N.backgroundColor="transparent",N["&:hover"]={...N["&:hover"],backgroundColor:re.alpha(P.palette.action.active,.08)}),e==="enlace"&&(N.padding=0,N.minWidth="auto",N.borderRadius=0,N.verticalAlign="baseline",N["&:hover"]={textDecoration:"underline",backgroundColor:"transparent",transform:"none",boxShadow:"none"},N["&:active"]={transform:"none"}),e==="oscuro"&&!z&&!B&&(N.backgroundColor=P.palette.grey[800],N.color=P.palette.common.white,N["&:hover"]={...N["&:hover"],backgroundColor:P.palette.grey[900]}),e==="claro"&&!z&&!B&&(N.backgroundColor=P.palette.grey[100],N.color=P.palette.grey[800],N["&:hover"]={...N["&:hover"],backgroundColor:P.palette.grey[200]}),N},V=()=>{const N=b||u;return M?h.jsxs(le.Fragment,{children:[h.jsx(Ft,{size:20,color:"inherit",sx:{mr:p?1:0}}),p||N]}):z?h.jsxs(le.Fragment,{children:[h.jsx(La,{sx:{mr:m?1:0,animation:`${Ii} 0.3s ease-out`}}),m||"¡Éxito!"]}):B?h.jsxs(le.Fragment,{children:[h.jsx(Cp,{sx:{mr:y?1:0,animation:`${Ii} 0.3s ease-out`}}),y||"Error"]}):h.jsxs(le.Fragment,{children:[s&&h.jsx("span",{style:{marginRight:N?8:0,display:"flex"},children:s}),N,l&&h.jsx("span",{style:{marginLeft:N?8:0,display:"flex"},children:l})]})};return h.jsx(Va,{ref:w,variant:k(e),color:A(e,T),size:$(t),disabled:a||M,fullWidth:S??v,onClick:R,disableElevation:!0,startIcon:void 0,endIcon:void 0,sx:{...j(),...C},...x,children:V()})});jn.displayName="CodeplexBoton";const wp=jn;function Wa(e){const t=E.useRef({});return E.useEffect(()=>{t.current=e}),t.current}function Ep(e){const{badgeContent:t,invisible:r=!1,max:n=99,showZero:i=!1}=e,a=Wa({badgeContent:t,max:n});let s=r;r===!1&&t===0&&!i&&(s=!0);const{badgeContent:l,max:c=n}=s?a:e,u=l&&Number(l)>c?`${c}+`:l;return{badgeContent:l,invisible:s,max:c,displayValue:u}}function Sp(e){return Te("MuiBadge",e)}const wt=we("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);function eo(e){return typeof e=="string"}function Ha(e,t,r){return e===void 0||eo(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function Ua(e,t,r){return typeof e=="function"?e(t,r):e}function qa(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ni(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function Ga(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:a}=e;if(!t){const b=se(r?.className,a,i?.className,n?.className),g={...r?.style,...i?.style,...n?.style},d={...r,...i,...n};return b.length>0&&(d.className=b),Object.keys(g).length>0&&(d.style=g),{props:d,internalRef:void 0}}const s=qa({...i,...n}),l=Ni(n),c=Ni(i),u=t(s),p=se(u?.className,r?.className,a,i?.className,n?.className),m={...u?.style,...r?.style,...i?.style,...n?.style},y={...u,...r,...c,...l};return p.length>0&&(y.className=p),Object.keys(m).length>0&&(y.style=m),{props:y,internalRef:u.ref}}function ge(e,t){const{className:r,elementType:n,ownerState:i,externalForwardedProps:a,internalForwardedProps:s,shouldForwardComponentProp:l=!1,...c}=t,{component:u,slots:p={[e]:void 0},slotProps:m={[e]:void 0},...y}=a,b=p[e]||n,g=Ua(m[e],i),{props:{component:d,...C},internalRef:T}=Ga({className:r,...c,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:g}),R=Le(T,g?.ref,t.ref),S=e==="root"?d||u:d,v=Ha(b,{...e==="root"&&!u&&!p[e]&&s,...e!=="root"&&!p[e]&&s,...C,...S&&!l&&{as:S},...S&&l&&{component:S},ref:R},i);return[b,v]}const Fo=10,_o=4,Op=e=>{const{color:t,anchorOrigin:r,invisible:n,overlap:i,variant:a,classes:s={}}=e,l={root:["root"],badge:["badge",a,n&&"invisible",`anchorOrigin${G(r.vertical)}${G(r.horizontal)}`,`anchorOrigin${G(r.vertical)}${G(r.horizontal)}${G(i)}`,`overlap${G(i)}`,t!=="default"&&`color${G(t)}`]};return $e(l,Sp,s)},Rp=J("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Pp=J("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.badge,t[r.variant],t[`anchorOrigin${G(r.anchorOrigin.vertical)}${G(r.anchorOrigin.horizontal)}${G(r.overlap)}`],r.color!=="default"&&t[`color${G(r.color)}`],r.invisible&&t.invisible]}})(ye(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Fo*2,lineHeight:1,padding:"0 6px",height:Fo*2,borderRadius:Fo,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:_o,height:_o*2,minWidth:_o*2,padding:0}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function Bi(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const wo=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBadge"}),{anchorOrigin:i,className:a,classes:s,component:l,components:c={},componentsProps:u={},children:p,overlap:m="rectangular",color:y="default",invisible:b=!1,max:g=99,badgeContent:d,slots:C,slotProps:T,showZero:R=!1,variant:S="standard",...v}=n,{badgeContent:x,invisible:w,max:P,displayValue:I}=Ep({max:g,invisible:b,badgeContent:d,showZero:R}),M=Wa({anchorOrigin:Bi(i),color:y,overlap:m,variant:S,badgeContent:d}),z=w||x==null&&S!=="dot",{color:B=y,overlap:f=m,anchorOrigin:k,variant:$=S}=z?M:n,A=Bi(k),j=$!=="dot"?I:void 0,V={...n,badgeContent:x,invisible:z,max:P,displayValue:j,showZero:R,anchorOrigin:A,color:B,overlap:f,variant:$},N=Op(V),L={slots:{root:C?.root??c.Root,badge:C?.badge??c.Badge},slotProps:{root:T?.root??u.root,badge:T?.badge??u.badge}},[O,_]=ge("root",{elementType:Rp,externalForwardedProps:{...L,...v},ownerState:V,className:se(N.root,a),ref:r,additionalProps:{as:l}}),[U,H]=ge("badge",{elementType:Pp,externalForwardedProps:L,ownerState:V,className:N.badge});return h.jsxs(O,{..._,children:[p,h.jsx(U,{...H,children:j})]})});process.env.NODE_ENV!=="production"&&(wo.propTypes={anchorOrigin:o.shape({horizontal:o.oneOf(["left","right"]),vertical:o.oneOf(["bottom","top"])}),badgeContent:o.node,children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,components:o.shape({Badge:o.elementType,Root:o.elementType}),componentsProps:o.shape({badge:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),invisible:o.bool,max:o.number,overlap:o.oneOf(["circular","rectangular"]),showZero:o.bool,slotProps:o.shape({badge:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({badge:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["dot","standard"]),o.string])});const $p=re.keyframes`
140
+ `,Cp=J("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),jn=le.forwardRef(({variante:e="primario",tamano:t="mediano",forma:r="cuadrado",estado:n="inactivo",cargando:i=!1,disabled:a=!1,iconoIzquierda:s,iconoDerecha:l,soloIcono:c=!1,texto:u,textoCargando:p,textoExito:m,textoError:y,children:b,startIcon:g,endIcon:d,sx:C,color:T,alHacerClick:R,anchoCompleto:S,fullWidth:v,...x},w)=>{const P=Ge(),I=i?"cargando":n,M=I==="cargando",z=I==="exito",B=I==="error",f=I==="inactivo"&&!a,k=N=>["contorno","secundario"].includes(N)?"outlined":["fantasma","enlace"].includes(N)?"text":"contained",$=N=>N==="diminuto"||N==="xs"||N==="pequeno"||N==="sm"?"small":N==="mediano"||N==="md"?"medium":N==="grande"||N==="lg"||N==="enorme"||N==="xl"?"large":"medium",A=(N,L)=>{if(L)switch(L){case"primario":return"primary";case"secundario":return"secondary";case"exito":return"success";case"error":return"error";case"info":return"info";case"advertencia":return"warning";case"oscuro":return"inherit";default:return L}switch(N){case"primario":return"primary";case"secundario":return"secondary";case"peligro":return"error";case"exito":return"success";case"advertencia":return"warning";case"info":return"info";case"oscuro":return"inherit";case"contorno":return"primary";case"fantasma":return"inherit";default:return"primary"}},j=()=>{const N={textTransform:"none",fontWeight:600,letterSpacing:"0.01em",boxShadow:"none",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",borderRadius:r==="pildora"?"9999px":r==="circulo"?"50%":"10px",...c&&{minWidth:"auto",width:$(t)==="small"?32:$(t)==="large"?48:40,height:$(t)==="small"?32:$(t)==="large"?48:40,padding:0,borderRadius:r==="cuadrado"?"10px":"50%"},"&:hover":{transform:f?"translateY(-1px)":"none",boxShadow:f&&e!=="fantasma"&&e!=="enlace"?"0 4px 12px rgba(0,0,0,0.1)":"none"},"&:active":{transform:f?"scale(0.98)":"none"}};if(t==="diminuto"||t==="xs"?(N.padding=c?0:"2px 8px",N.fontSize="0.75rem",N.minWidth=c?24:"auto",c&&(N.height=24,N.width=24)):t==="pequeno"||t==="sm"?c&&(N.height=28,N.width=28):(t==="enorme"||t==="xl")&&(N.padding=c?0:"12px 28px",N.fontSize="1.125rem",c&&(N.height=56,N.width=56)),z&&(N.backgroundColor=P.palette.success.main,N.color=P.palette.success.contrastText,N["&:hover"]={backgroundColor:P.palette.success.dark}),B&&(N.backgroundColor=P.palette.error.main,N.color=P.palette.error.contrastText,N["&:hover"]={backgroundColor:P.palette.error.dark}),e==="suave"&&!z&&!B){const L=A("primario",T)||"primary";let O=P.palette.primary.main;L==="error"?O=P.palette.error.main:L==="success"?O=P.palette.success.main:L==="warning"?O=P.palette.warning.main:L==="info"?O=P.palette.info.main:L==="secondary"&&(O=P.palette.secondary.main),N.backgroundColor=re.alpha(O,.1),N.color=O,N.boxShadow="none",N["&:hover"]={...N["&:hover"],backgroundColor:re.alpha(O,.2),boxShadow:"none"}}return e==="fantasma"&&(N.backgroundColor="transparent",N["&:hover"]={...N["&:hover"],backgroundColor:re.alpha(P.palette.action.active,.08)}),e==="enlace"&&(N.padding=0,N.minWidth="auto",N.borderRadius=0,N.verticalAlign="baseline",N["&:hover"]={textDecoration:"underline",backgroundColor:"transparent",transform:"none",boxShadow:"none"},N["&:active"]={transform:"none"}),e==="oscuro"&&!z&&!B&&(N.backgroundColor=P.palette.grey[800],N.color=P.palette.common.white,N["&:hover"]={...N["&:hover"],backgroundColor:P.palette.grey[900]}),e==="claro"&&!z&&!B&&(N.backgroundColor=P.palette.grey[100],N.color=P.palette.grey[800],N["&:hover"]={...N["&:hover"],backgroundColor:P.palette.grey[200]}),N},V=()=>{const N=b||u;return M?h.jsxs(le.Fragment,{children:[h.jsx(Ft,{size:20,color:"inherit",sx:{mr:p?1:0}}),p||N]}):z?h.jsxs(le.Fragment,{children:[h.jsx(Va,{sx:{mr:m?1:0,animation:`${Mi} 0.3s ease-out`}}),m||"¡Éxito!"]}):B?h.jsxs(le.Fragment,{children:[h.jsx(xp,{sx:{mr:y?1:0,animation:`${Mi} 0.3s ease-out`}}),y||"Error"]}):h.jsxs(le.Fragment,{children:[s&&h.jsx("span",{style:{marginRight:N?8:0,display:"flex"},children:s}),N,l&&h.jsx("span",{style:{marginLeft:N?8:0,display:"flex"},children:l})]})};return h.jsx(_a,{ref:w,variant:k(e),color:A(e,T),size:$(t),disabled:a||M,fullWidth:S??v,onClick:R,disableElevation:!0,startIcon:void 0,endIcon:void 0,sx:{...j(),...C},...x,children:V()})});jn.displayName="CodeplexBoton";const Tp=jn;function La(e){const t=E.useRef({});return E.useEffect(()=>{t.current=e}),t.current}function wp(e){const{badgeContent:t,invisible:r=!1,max:n=99,showZero:i=!1}=e,a=La({badgeContent:t,max:n});let s=r;r===!1&&t===0&&!i&&(s=!0);const{badgeContent:l,max:c=n}=s?a:e,u=l&&Number(l)>c?`${c}+`:l;return{badgeContent:l,invisible:s,max:c,displayValue:u}}function Ep(e){return Te("MuiBadge",e)}const wt=we("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]);function eo(e){return typeof e=="string"}function Wa(e,t,r){return e===void 0||eo(e)?t:{...t,ownerState:{...t.ownerState,...r}}}function Ha(e,t,r){return typeof e=="function"?e(t,r):e}function Ua(e,t=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)).forEach(n=>{r[n]=e[n]}),r}function Ii(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{t[r]=e[r]}),t}function qa(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:i,className:a}=e;if(!t){const b=se(r?.className,a,i?.className,n?.className),g={...r?.style,...i?.style,...n?.style},d={...r,...i,...n};return b.length>0&&(d.className=b),Object.keys(g).length>0&&(d.style=g),{props:d,internalRef:void 0}}const s=Ua({...i,...n}),l=Ii(n),c=Ii(i),u=t(s),p=se(u?.className,r?.className,a,i?.className,n?.className),m={...u?.style,...r?.style,...i?.style,...n?.style},y={...u,...r,...c,...l};return p.length>0&&(y.className=p),Object.keys(m).length>0&&(y.style=m),{props:y,internalRef:u.ref}}function ge(e,t){const{className:r,elementType:n,ownerState:i,externalForwardedProps:a,internalForwardedProps:s,shouldForwardComponentProp:l=!1,...c}=t,{component:u,slots:p={[e]:void 0},slotProps:m={[e]:void 0},...y}=a,b=p[e]||n,g=Ha(m[e],i),{props:{component:d,...C},internalRef:T}=qa({className:r,...c,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:g}),R=Le(T,g?.ref,t.ref),S=e==="root"?d||u:d,v=Wa(b,{...e==="root"&&!u&&!p[e]&&s,...e!=="root"&&!p[e]&&s,...C,...S&&!l&&{as:S},...S&&l&&{component:S},ref:R},i);return[b,v]}const Fo=10,_o=4,Sp=e=>{const{color:t,anchorOrigin:r,invisible:n,overlap:i,variant:a,classes:s={}}=e,l={root:["root"],badge:["badge",a,n&&"invisible",`anchorOrigin${G(r.vertical)}${G(r.horizontal)}`,`anchorOrigin${G(r.vertical)}${G(r.horizontal)}${G(i)}`,`overlap${G(i)}`,t!=="default"&&`color${G(t)}`]};return $e(l,Ep,s)},Op=J("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Rp=J("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.badge,t[r.variant],t[`anchorOrigin${G(r.anchorOrigin.vertical)}${G(r.anchorOrigin.horizontal)}${G(r.overlap)}`],r.color!=="default"&&t[`color${G(r.color)}`],r.invisible&&t.invisible]}})(ye(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Fo*2,lineHeight:1,padding:"0 6px",height:Fo*2,borderRadius:Fo,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:_o,height:_o*2,minWidth:_o*2,padding:0}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="right"&&t.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="top"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:t})=>t.anchorOrigin.vertical==="bottom"&&t.anchorOrigin.horizontal==="left"&&t.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${wt.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function Ni(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const wo=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBadge"}),{anchorOrigin:i,className:a,classes:s,component:l,components:c={},componentsProps:u={},children:p,overlap:m="rectangular",color:y="default",invisible:b=!1,max:g=99,badgeContent:d,slots:C,slotProps:T,showZero:R=!1,variant:S="standard",...v}=n,{badgeContent:x,invisible:w,max:P,displayValue:I}=wp({max:g,invisible:b,badgeContent:d,showZero:R}),M=La({anchorOrigin:Ni(i),color:y,overlap:m,variant:S,badgeContent:d}),z=w||x==null&&S!=="dot",{color:B=y,overlap:f=m,anchorOrigin:k,variant:$=S}=z?M:n,A=Ni(k),j=$!=="dot"?I:void 0,V={...n,badgeContent:x,invisible:z,max:P,displayValue:j,showZero:R,anchorOrigin:A,color:B,overlap:f,variant:$},N=Sp(V),L={slots:{root:C?.root??c.Root,badge:C?.badge??c.Badge},slotProps:{root:T?.root??u.root,badge:T?.badge??u.badge}},[O,_]=ge("root",{elementType:Op,externalForwardedProps:{...L,...v},ownerState:V,className:se(N.root,a),ref:r,additionalProps:{as:l}}),[U,H]=ge("badge",{elementType:Rp,externalForwardedProps:L,ownerState:V,className:N.badge});return h.jsxs(O,{..._,children:[p,h.jsx(U,{...H,children:j})]})});process.env.NODE_ENV!=="production"&&(wo.propTypes={anchorOrigin:o.shape({horizontal:o.oneOf(["left","right"]),vertical:o.oneOf(["bottom","top"])}),badgeContent:o.node,children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,components:o.shape({Badge:o.elementType,Root:o.elementType}),componentsProps:o.shape({badge:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),invisible:o.bool,max:o.number,overlap:o.oneOf(["circular","rectangular"]),showZero:o.bool,slotProps:o.shape({badge:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({badge:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["dot","standard"]),o.string])});const Pp=re.keyframes`
141
141
  0% {
142
142
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
143
143
  transform: scale(1);
@@ -151,9 +151,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
151
151
  100% {
152
152
  transform: scale(1);
153
153
  }
154
- `,jp=J(wo,{shouldForwardProp:e=>e!=="animado"&&e!=="borde"})(({theme:e,animado:t,borde:r})=>({"& .MuiBadge-badge":{...r&&{boxShadow:`0 0 0 2px ${e.palette.background.paper}`},...t&&{animation:`${$p} 1.5s infinite ease-in-out`}}})),Ya=({children:e,color:t="primario",contenido:r,variante:n="estandar",maximo:i=99,mostrarCero:a=!1,superposicion:s="rectangular",invisible:l=!1,posicionVertical:c="arriba",posicionHorizontal:u="derecha",animado:p=!1,borde:m=!1,...y})=>{const b=C=>{switch(C){case"primario":return"primary";case"secundario":return"secondary";case"error":return"error";case"info":return"info";case"advertencia":return"warning";case"exito":return"success";default:return"primary"}},g=C=>C==="punto"?"dot":"standard",d=()=>({vertical:c==="arriba"?"top":"bottom",horizontal:u==="derecha"?"right":"left"});return h.jsx(jp,{color:b(t),badgeContent:r,variant:g(n),max:i,showZero:a,overlap:s,invisible:l,anchorOrigin:d(),animado:p,borde:m,...y,children:e})},kp=Ya,Ap=we("MuiBox",["root"]),Mp=Oa(),de=re.createBox({themeId:vo,defaultTheme:Mp,defaultClassName:Ap.root,generateClassName:pa.generate});process.env.NODE_ENV!=="production"&&(de.propTypes={children:o.node,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Ip(e){return Te("MuiTypography",e)}we("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Np={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Bp=Ru(),Dp=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:s}=e,l={root:["root",a,e.align!=="inherit"&&`align${G(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return $e(l,Ip,s)},zp=J("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${G(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(ye(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,r])=>t!=="inherit"&&r&&typeof r=="object").map(([t,r])=>({props:{variant:t},style:r})),...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${G(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Di={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Fe=E.forwardRef(function(t,r){const{color:n,...i}=Re({props:t,name:"MuiTypography"}),a=!Np[n],s=Bp({...i,...a&&{color:n}}),{align:l="inherit",className:c,component:u,gutterBottom:p=!1,noWrap:m=!1,paragraph:y=!1,variant:b="body1",variantMapping:g=Di,...d}=s,C={...s,align:l,color:n,className:c,component:u,gutterBottom:p,noWrap:m,paragraph:y,variant:b,variantMapping:g},T=u||(y?"p":g[b]||Di[b])||"span",R=Dp(C);return h.jsx(zp,{as:T,ref:r,className:se(R.root,c),...d,ownerState:C,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...d.style}})});process.env.NODE_ENV!=="production"&&(Fe.propTypes={align:o.oneOf(["center","inherit","justify","left","right"]),children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),o.string]),component:o.elementType,gutterBottom:o.bool,noWrap:o.bool,paragraph:o.bool,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),o.string]),variantMapping:o.object});const Ka=({tamano:e="md",color:t="primario",tipo:r="borde",etiqueta:n,posicionEtiqueta:i="derecha",pantallaCompleta:a=!1,className:s="",sx:l,...c})=>{const u=Ge(),m=typeof e=="number"?e:{xs:16,sm:24,md:40,lg:56,xl:80}[e],b={primario:"primary",secundario:"secondary",error:"error",info:"info",exito:"success",advertencia:"warning",blanco:"inherit",gris:"inherit"}[t]||"primary",d=t==="blanco"?"#ffffff":t==="gris"?u.palette.grey[500]:u.palette[b]?.main??u.palette.primary.main,C=()=>h.jsx(Ft,{size:m,color:b,className:s,sx:{color:b==="inherit"?d:void 0,...l},...c}),T=()=>h.jsxs(de,{position:"relative",display:"inline-flex",width:m,height:m,className:s,sx:l,children:[h.jsx(Ft,{variant:"determinate",value:100,size:m,sx:{color:u.palette.mode==="dark"?re.alpha(d,.2):re.alpha(d,.1),position:"absolute"}}),h.jsx(Ft,{variant:"indeterminate",disableShrink:!0,size:m,sx:{color:d,animationDuration:"1.2s",position:"absolute",left:0,"& .MuiCircularProgress-circle":{strokeLinecap:"round"}},...c})]}),R=()=>h.jsx(de,{display:"flex",gap:.5,className:s,sx:{height:m,alignItems:"center",...l},children:[0,1,2].map(B=>h.jsx(de,{sx:{width:m/3,height:m/3,borderRadius:"50%",bgcolor:d,animation:"rebote 1.4s infinite ease-in-out both",animationDelay:`${B*.16}s`,"@keyframes rebote":{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}}},B))}),S=()=>h.jsxs(de,{position:"relative",display:"inline-flex",width:m,height:m,className:s,sx:l,children:[h.jsx(de,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:d,opacity:.75,animation:"pulso 1s cubic-bezier(0, 0, 0.2, 1) infinite","@keyframes pulso":{"75%, 100%":{transform:"scale(2)",opacity:0}}}}),h.jsx(de,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:d}})]}),v=()=>{const B=m/2-m*.1;return h.jsx(de,{width:m,height:m,position:"relative",className:s,sx:l,children:[0,1,2,3].map(f=>h.jsx(de,{sx:{position:"absolute",width:B,height:B,borderRadius:"50%",bgcolor:d,top:f<2?0:"auto",bottom:f>=2?0:"auto",left:f%2===0?0:"auto",right:f%2!==0?0:"auto",animation:"cuadricula-fade 1.5s infinite linear",animationDelay:f===1?"-0.4s":f===2?"-0.8s":f===3?"-1.2s":"0s","@keyframes cuadricula-fade":{"0%, 100%":{opacity:1},"50%":{opacity:.3}}}},f))})},x=(B,f,k,$)=>h.jsx(de,{width:m,height:m,position:"relative",className:s,sx:l,children:Array.from({length:B}).map((A,j)=>h.jsx(de,{sx:{transformOrigin:"50% 50%",animation:"spinner-fade 1s linear infinite",animationDelay:`${-1+j/B}s`,transform:`rotate(${j*(360/B)}deg) translate(0, -130%)`,position:"absolute",top:"50%",left:"50%",width:m*f,height:m*k,borderRadius:$,bgcolor:d,"@keyframes spinner-fade":{"0%":{opacity:1},"100%":{opacity:0}}}},j))}),w=()=>x(12,.08,.24,"4px"),P=()=>x(8,.2,.2,"4px"),I=()=>x(12,.15,.15,"50%"),M=()=>{switch(r){case"anillo":return T();case"puntos":return R();case"pulso":return S();case"segmentos":return P();case"lineas":return w();case"puntos-circulo":return I();case"cuadricula":return v();default:return C()}},z=h.jsxs(de,{display:"inline-flex",flexDirection:i==="abajo"?"column":"row",alignItems:"center",justifyContent:"center",gap:1.5,children:[M(),n&&h.jsx(Fe,{variant:"body2",color:"text.secondary",fontWeight:500,whiteSpace:"nowrap",children:n})]});return a?h.jsx(de,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",bgcolor:u.palette.mode==="dark"?"rgba(0,0,0,0.85)":"rgba(255, 255, 255, 0.9)",sx:{backdropFilter:"blur(5px)"},children:z}):z},Fp=Ka,Xa=({teclas:e,tamano:t="md",className:r="",children:n,...i})=>{const a=t==="sm"?"text-[10px] px-1.5 py-0.5":t==="lg"?"text-xs px-2.5 py-1.5":"text-[11px] px-2 py-1",s="inline-flex items-center justify-center rounded border border-gray-300 bg-gray-50 text-gray-800 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-100 font-mono shadow-sm";return e&&e.length>0?h.jsx("span",{className:`inline-flex items-center gap-1 ${r}`,...i,children:e.map((l,c)=>h.jsx("kbd",{className:`${s} ${a}`,children:l},l+c))}):h.jsx("kbd",{className:`${s} ${a} ${r}`,...i,children:n})},_p=Xa,Vp=Pe(h.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Lp(e){return Te("MuiAvatar",e)}const Wp=we("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),Hp=e=>{const{classes:t,variant:r,colorDefault:n}=e;return $e({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},Lp,t)},Up=J("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(ye(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),qp=J("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Gp=J(Vp,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function Yp({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[i,a]=E.useState(!1);return E.useEffect(()=>{if(!r&&!n)return;a(!1);let s=!0;const l=new Image;return l.onload=()=>{s&&a("loaded")},l.onerror=()=>{s&&a("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=r,n&&(l.srcset=n),()=>{s=!1}},[e,t,r,n]),i}const kn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:s,component:l="div",slots:c={},slotProps:u={},imgProps:p,sizes:m,src:y,srcSet:b,variant:g="circular",...d}=n;let C=null;const T={...n,component:l,variant:g},R=Yp({...p,...typeof u.img=="function"?u.img(T):u.img,src:y,srcSet:b}),S=y||b,v=S&&R!=="error";T.colorDefault=!v,delete T.ownerState;const x=Hp(T),[w,P]=ge("root",{ref:r,className:se(x.root,s),elementType:Up,externalForwardedProps:{slots:c,slotProps:u,component:l,...d},ownerState:T}),[I,M]=ge("img",{className:x.img,elementType:qp,externalForwardedProps:{slots:c,slotProps:{img:{...p,...u.img}}},additionalProps:{alt:i,src:y,srcSet:b,sizes:m},ownerState:T}),[z,B]=ge("fallback",{className:x.fallback,elementType:Gp,externalForwardedProps:{slots:c,slotProps:u},shouldForwardComponentProp:!0,ownerState:T});return v?C=h.jsx(I,{...M}):a||a===0?C=a:S&&i?C=i[0]:C=h.jsx(z,{...B}),h.jsx(w,{...P,children:C})});process.env.NODE_ENV!=="production"&&(kn.propTypes={alt:o.string,children:o.node,classes:o.object,className:o.string,component:o.elementType,imgProps:o.object,sizes:o.string,slotProps:o.shape({fallback:o.oneOfType([o.func,o.object]),img:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({fallback:o.elementType,img:o.elementType,root:o.elementType}),src:o.string,srcSet:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["circular","rounded","square"]),o.string])});function Kp(e){return Te("MuiAvatarGroup",e)}const Xp=we("MuiAvatarGroup",["root","avatar"]),Vo={small:-16,medium:-8},Zp=e=>{const{classes:t}=e;return $e({root:["root"],avatar:["avatar"]},Kp,t)},Jp=J("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>[{[`& .${Xp.avatar}`]:t.avatar},t.root]})(ye(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${Wp.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),Za=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAvatarGroup"}),{children:i,className:a,component:s="div",componentsProps:l,max:c=5,renderSurplus:u,slotProps:p={},slots:m={},spacing:y="medium",total:b,variant:g="circular",...d}=n;let C=c<2?2:c;const T={...n,max:c,spacing:y,component:s,variant:g},R=Zp(T),S=E.Children.toArray(i).filter(f=>(process.env.NODE_ENV!=="production"&&vr.isFragment(f)&&console.error(["MUI: The AvatarGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
155
- `)),E.isValidElement(f))),v=b||S.length;v===C&&(C+=1),C=Math.min(v+1,C);const x=Math.min(S.length,C-1),w=Math.max(v-C,v-x,0),P=u?u(w):`+${w}`;let I;T.spacing&&Vo[T.spacing]!==void 0?I=Vo[T.spacing]:T.spacing===0?I=0:I=-T.spacing||Vo.medium;const M={slots:m,slotProps:{surplus:p.additionalAvatar??l?.additionalAvatar,...l,...p}},[z,B]=ge("surplus",{elementType:kn,externalForwardedProps:M,className:R.avatar,ownerState:T,additionalProps:{variant:g}});return h.jsxs(Jp,{as:s,ownerState:T,className:se(R.root,a),ref:r,...d,style:{"--AvatarGroup-spacing":`${I}px`,...d.style},children:[w?h.jsx(z,{...B,children:P}):null,S.slice(0,x).reverse().map(f=>E.cloneElement(f,{className:se(f.props.className,R.avatar),variant:f.props.variant||g}))]})});process.env.NODE_ENV!=="production"&&(Za.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,componentsProps:o.shape({additionalAvatar:o.object}),max:it(o.number,e=>e.max<2?new Error(["MUI: The prop `max` should be equal to 2 or above.","A value below is clamped to 2."].join(`
156
- `)):null),renderSurplus:o.func,slotProps:o.shape({additionalAvatar:o.object,surplus:o.oneOfType([o.func,o.object])}),slots:o.shape({surplus:o.elementType}),spacing:o.oneOfType([o.oneOf(["medium","small"]),o.number]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),total:o.number,variant:o.oneOfType([o.oneOf(["circular","rounded","square"]),o.string])});function Qp(e){return Te("MuiSkeleton",e)}we("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const ed=e=>{const{classes:t,variant:r,animation:n,hasChildren:i,width:a,height:s}=e;return $e({root:["root",r,n,i&&"withChildren",i&&!a&&"fitContent",i&&!s&&"heightAuto"]},Qp,t)},an=re.keyframes`
154
+ `,$p=J(wo,{shouldForwardProp:e=>e!=="animado"&&e!=="borde"})(({theme:e,animado:t,borde:r})=>({"& .MuiBadge-badge":{...r&&{boxShadow:`0 0 0 2px ${e.palette.background.paper}`},...t&&{animation:`${Pp} 1.5s infinite ease-in-out`}}})),Ga=({children:e,color:t="primario",contenido:r,variante:n="estandar",maximo:i=99,mostrarCero:a=!1,superposicion:s="rectangular",invisible:l=!1,posicionVertical:c="arriba",posicionHorizontal:u="derecha",animado:p=!1,borde:m=!1,...y})=>{const b=C=>{switch(C){case"primario":return"primary";case"secundario":return"secondary";case"error":return"error";case"info":return"info";case"advertencia":return"warning";case"exito":return"success";default:return"primary"}},g=C=>C==="punto"?"dot":"standard",d=()=>({vertical:c==="arriba"?"top":"bottom",horizontal:u==="derecha"?"right":"left"});return h.jsx($p,{color:b(t),badgeContent:r,variant:g(n),max:i,showZero:a,overlap:s,invisible:l,anchorOrigin:d(),animado:p,borde:m,...y,children:e})},jp=Ga,kp=we("MuiBox",["root"]),Ap=Sa(),de=re.createBox({themeId:vo,defaultTheme:Ap,defaultClassName:kp.root,generateClassName:ua.generate});process.env.NODE_ENV!=="production"&&(de.propTypes={children:o.node,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Mp(e){return Te("MuiTypography",e)}we("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ip={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Np=Ou(),Bp=e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:s}=e,l={root:["root",a,e.align!=="inherit"&&`align${G(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return $e(l,Mp,s)},Dp=J("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${G(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(ye(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,r])=>t!=="inherit"&&r&&typeof r=="object").map(([t,r])=>({props:{variant:t},style:r})),...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${G(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Bi={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Fe=E.forwardRef(function(t,r){const{color:n,...i}=Re({props:t,name:"MuiTypography"}),a=!Ip[n],s=Np({...i,...a&&{color:n}}),{align:l="inherit",className:c,component:u,gutterBottom:p=!1,noWrap:m=!1,paragraph:y=!1,variant:b="body1",variantMapping:g=Bi,...d}=s,C={...s,align:l,color:n,className:c,component:u,gutterBottom:p,noWrap:m,paragraph:y,variant:b,variantMapping:g},T=u||(y?"p":g[b]||Bi[b])||"span",R=Bp(C);return h.jsx(Dp,{as:T,ref:r,className:se(R.root,c),...d,ownerState:C,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...d.style}})});process.env.NODE_ENV!=="production"&&(Fe.propTypes={align:o.oneOf(["center","inherit","justify","left","right"]),children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),o.string]),component:o.elementType,gutterBottom:o.bool,noWrap:o.bool,paragraph:o.bool,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),o.string]),variantMapping:o.object});const Ya=({tamano:e="md",color:t="primario",tipo:r="borde",etiqueta:n,posicionEtiqueta:i="derecha",pantallaCompleta:a=!1,className:s="",sx:l,...c})=>{const u=Ge(),m=typeof e=="number"?e:{xs:16,sm:24,md:40,lg:56,xl:80}[e],b={primario:"primary",secundario:"secondary",error:"error",info:"info",exito:"success",advertencia:"warning",blanco:"inherit",gris:"inherit"}[t]||"primary",d=t==="blanco"?"#ffffff":t==="gris"?u.palette.grey[500]:u.palette[b]?.main??u.palette.primary.main,C=()=>h.jsx(Ft,{size:m,color:b,className:s,sx:{color:b==="inherit"?d:void 0,...l},...c}),T=()=>h.jsxs(de,{position:"relative",display:"inline-flex",width:m,height:m,className:s,sx:l,children:[h.jsx(Ft,{variant:"determinate",value:100,size:m,sx:{color:u.palette.mode==="dark"?re.alpha(d,.2):re.alpha(d,.1),position:"absolute"}}),h.jsx(Ft,{variant:"indeterminate",disableShrink:!0,size:m,sx:{color:d,animationDuration:"1.2s",position:"absolute",left:0,"& .MuiCircularProgress-circle":{strokeLinecap:"round"}},...c})]}),R=()=>h.jsx(de,{display:"flex",gap:.5,className:s,sx:{height:m,alignItems:"center",...l},children:[0,1,2].map(B=>h.jsx(de,{sx:{width:m/3,height:m/3,borderRadius:"50%",bgcolor:d,animation:"rebote 1.4s infinite ease-in-out both",animationDelay:`${B*.16}s`,"@keyframes rebote":{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}}},B))}),S=()=>h.jsxs(de,{position:"relative",display:"inline-flex",width:m,height:m,className:s,sx:l,children:[h.jsx(de,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:d,opacity:.75,animation:"pulso 1s cubic-bezier(0, 0, 0.2, 1) infinite","@keyframes pulso":{"75%, 100%":{transform:"scale(2)",opacity:0}}}}),h.jsx(de,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:d}})]}),v=()=>{const B=m/2-m*.1;return h.jsx(de,{width:m,height:m,position:"relative",className:s,sx:l,children:[0,1,2,3].map(f=>h.jsx(de,{sx:{position:"absolute",width:B,height:B,borderRadius:"50%",bgcolor:d,top:f<2?0:"auto",bottom:f>=2?0:"auto",left:f%2===0?0:"auto",right:f%2!==0?0:"auto",animation:"cuadricula-fade 1.5s infinite linear",animationDelay:f===1?"-0.4s":f===2?"-0.8s":f===3?"-1.2s":"0s","@keyframes cuadricula-fade":{"0%, 100%":{opacity:1},"50%":{opacity:.3}}}},f))})},x=(B,f,k,$)=>h.jsx(de,{width:m,height:m,position:"relative",className:s,sx:l,children:Array.from({length:B}).map((A,j)=>h.jsx(de,{sx:{transformOrigin:"50% 50%",animation:"spinner-fade 1s linear infinite",animationDelay:`${-1+j/B}s`,transform:`rotate(${j*(360/B)}deg) translate(0, -130%)`,position:"absolute",top:"50%",left:"50%",width:m*f,height:m*k,borderRadius:$,bgcolor:d,"@keyframes spinner-fade":{"0%":{opacity:1},"100%":{opacity:0}}}},j))}),w=()=>x(12,.08,.24,"4px"),P=()=>x(8,.2,.2,"4px"),I=()=>x(12,.15,.15,"50%"),M=()=>{switch(r){case"anillo":return T();case"puntos":return R();case"pulso":return S();case"segmentos":return P();case"lineas":return w();case"puntos-circulo":return I();case"cuadricula":return v();default:return C()}},z=h.jsxs(de,{display:"inline-flex",flexDirection:i==="abajo"?"column":"row",alignItems:"center",justifyContent:"center",gap:1.5,children:[M(),n&&h.jsx(Fe,{variant:"body2",color:"text.secondary",fontWeight:500,whiteSpace:"nowrap",children:n})]});return a?h.jsx(de,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",bgcolor:u.palette.mode==="dark"?"rgba(0,0,0,0.85)":"rgba(255, 255, 255, 0.9)",sx:{backdropFilter:"blur(5px)"},children:z}):z},zp=Ya,Ka=({teclas:e,tamano:t="md",className:r="",children:n,...i})=>{const a=t==="sm"?"text-[10px] px-1.5 py-0.5":t==="lg"?"text-xs px-2.5 py-1.5":"text-[11px] px-2 py-1",s="inline-flex items-center justify-center rounded border border-gray-300 bg-gray-50 text-gray-800 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-100 font-mono shadow-sm";return e&&e.length>0?h.jsx("span",{className:`inline-flex items-center gap-1 ${r}`,...i,children:e.map((l,c)=>h.jsx("kbd",{className:`${s} ${a}`,children:l},l+c))}):h.jsx("kbd",{className:`${s} ${a} ${r}`,...i,children:n})},Fp=Ka,_p=Pe(h.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function Vp(e){return Te("MuiAvatar",e)}const Lp=we("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),Wp=e=>{const{classes:t,variant:r,colorDefault:n}=e;return $e({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},Vp,t)},Hp=J("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(ye(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),Up=J("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),qp=J(_p,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function Gp({crossOrigin:e,referrerPolicy:t,src:r,srcSet:n}){const[i,a]=E.useState(!1);return E.useEffect(()=>{if(!r&&!n)return;a(!1);let s=!0;const l=new Image;return l.onload=()=>{s&&a("loaded")},l.onerror=()=>{s&&a("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=r,n&&(l.srcset=n),()=>{s=!1}},[e,t,r,n]),i}const kn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAvatar"}),{alt:i,children:a,className:s,component:l="div",slots:c={},slotProps:u={},imgProps:p,sizes:m,src:y,srcSet:b,variant:g="circular",...d}=n;let C=null;const T={...n,component:l,variant:g},R=Gp({...p,...typeof u.img=="function"?u.img(T):u.img,src:y,srcSet:b}),S=y||b,v=S&&R!=="error";T.colorDefault=!v,delete T.ownerState;const x=Wp(T),[w,P]=ge("root",{ref:r,className:se(x.root,s),elementType:Hp,externalForwardedProps:{slots:c,slotProps:u,component:l,...d},ownerState:T}),[I,M]=ge("img",{className:x.img,elementType:Up,externalForwardedProps:{slots:c,slotProps:{img:{...p,...u.img}}},additionalProps:{alt:i,src:y,srcSet:b,sizes:m},ownerState:T}),[z,B]=ge("fallback",{className:x.fallback,elementType:qp,externalForwardedProps:{slots:c,slotProps:u},shouldForwardComponentProp:!0,ownerState:T});return v?C=h.jsx(I,{...M}):a||a===0?C=a:S&&i?C=i[0]:C=h.jsx(z,{...B}),h.jsx(w,{...P,children:C})});process.env.NODE_ENV!=="production"&&(kn.propTypes={alt:o.string,children:o.node,classes:o.object,className:o.string,component:o.elementType,imgProps:o.object,sizes:o.string,slotProps:o.shape({fallback:o.oneOfType([o.func,o.object]),img:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({fallback:o.elementType,img:o.elementType,root:o.elementType}),src:o.string,srcSet:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["circular","rounded","square"]),o.string])});function Yp(e){return Te("MuiAvatarGroup",e)}const Kp=we("MuiAvatarGroup",["root","avatar"]),Vo={small:-16,medium:-8},Xp=e=>{const{classes:t}=e;return $e({root:["root"],avatar:["avatar"]},Yp,t)},Zp=J("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,t)=>[{[`& .${Kp.avatar}`]:t.avatar},t.root]})(ye(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${Lp.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),Xa=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAvatarGroup"}),{children:i,className:a,component:s="div",componentsProps:l,max:c=5,renderSurplus:u,slotProps:p={},slots:m={},spacing:y="medium",total:b,variant:g="circular",...d}=n;let C=c<2?2:c;const T={...n,max:c,spacing:y,component:s,variant:g},R=Xp(T),S=E.Children.toArray(i).filter(f=>(process.env.NODE_ENV!=="production"&&vr.isFragment(f)&&console.error(["MUI: The AvatarGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
155
+ `)),E.isValidElement(f))),v=b||S.length;v===C&&(C+=1),C=Math.min(v+1,C);const x=Math.min(S.length,C-1),w=Math.max(v-C,v-x,0),P=u?u(w):`+${w}`;let I;T.spacing&&Vo[T.spacing]!==void 0?I=Vo[T.spacing]:T.spacing===0?I=0:I=-T.spacing||Vo.medium;const M={slots:m,slotProps:{surplus:p.additionalAvatar??l?.additionalAvatar,...l,...p}},[z,B]=ge("surplus",{elementType:kn,externalForwardedProps:M,className:R.avatar,ownerState:T,additionalProps:{variant:g}});return h.jsxs(Zp,{as:s,ownerState:T,className:se(R.root,a),ref:r,...d,style:{"--AvatarGroup-spacing":`${I}px`,...d.style},children:[w?h.jsx(z,{...B,children:P}):null,S.slice(0,x).reverse().map(f=>E.cloneElement(f,{className:se(f.props.className,R.avatar),variant:f.props.variant||g}))]})});process.env.NODE_ENV!=="production"&&(Xa.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,componentsProps:o.shape({additionalAvatar:o.object}),max:it(o.number,e=>e.max<2?new Error(["MUI: The prop `max` should be equal to 2 or above.","A value below is clamped to 2."].join(`
156
+ `)):null),renderSurplus:o.func,slotProps:o.shape({additionalAvatar:o.object,surplus:o.oneOfType([o.func,o.object])}),slots:o.shape({surplus:o.elementType}),spacing:o.oneOfType([o.oneOf(["medium","small"]),o.number]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),total:o.number,variant:o.oneOfType([o.oneOf(["circular","rounded","square"]),o.string])});function Jp(e){return Te("MuiSkeleton",e)}we("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const Qp=e=>{const{classes:t,variant:r,animation:n,hasChildren:i,width:a,height:s}=e;return $e({root:["root",r,n,i&&"withChildren",i&&!a&&"fitContent",i&&!s&&"heightAuto"]},Jp,t)},an=re.keyframes`
157
157
  0% {
158
158
  opacity: 1;
159
159
  }
@@ -178,20 +178,20 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
178
178
  100% {
179
179
  transform: translateX(100%);
180
180
  }
181
- `,td=typeof an!="string"?re.css`
181
+ `,ed=typeof an!="string"?re.css`
182
182
  animation: ${an} 2s ease-in-out 0.5s infinite;
183
- `:null,rd=typeof sn!="string"?re.css`
183
+ `:null,td=typeof sn!="string"?re.css`
184
184
  &::after {
185
185
  animation: ${sn} 2s linear 0.5s infinite;
186
186
  }
187
- `:null,od=J("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.animation!==!1&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(ye(({theme:e})=>{const t=vp(e.shape.borderRadius)||"px",r=xp(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${t}/${Math.round(r/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:n})=>n.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:n})=>n.hasChildren&&!n.width,style:{maxWidth:"fit-content"}},{props:({ownerState:n})=>n.hasChildren&&!n.height,style:{height:"auto"}},{props:{animation:"pulse"},style:td||{animation:`${an} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
187
+ `:null,rd=J("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.animation!==!1&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(ye(({theme:e})=>{const t=bp(e.shape.borderRadius)||"px",r=vp(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,e.palette.mode==="light"?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${t}/${Math.round(r/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:n})=>n.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:n})=>n.hasChildren&&!n.width,style:{maxWidth:"fit-content"}},{props:({ownerState:n})=>n.hasChildren&&!n.height,style:{height:"auto"}},{props:{animation:"pulse"},style:ed||{animation:`${an} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
188
188
  90deg,
189
189
  transparent,
190
190
  ${(e.vars||e).palette.action.hover},
191
191
  transparent
192
- )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:rd||{"&::after":{animation:`${sn} 2s linear 0.5s infinite`}}}]}})),An=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:a,component:s="span",height:l,style:c,variant:u="text",width:p,...m}=n,y={...n,animation:i,component:s,variant:u,hasChildren:!!m.children},b=ed(y);return h.jsx(od,{as:s,ref:r,className:se(b.root,a),ownerState:y,...m,style:{width:p,height:l,...c}})});process.env.NODE_ENV!=="production"&&(An.propTypes={animation:o.oneOf(["pulse","wave",!1]),children:o.node,classes:o.object,className:o.string,component:o.elementType,height:o.oneOfType([o.number,o.string]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["circular","rectangular","rounded","text"]),o.string]),width:o.oneOfType([o.number,o.string])});const ln=e=>typeof e=="number"?e:e&&{xs:24,sm:32,md:40,lg:48,xl:64,xxl:80}[e]||40,nd=e=>{const t=ln(e);return{width:t,height:t,fontSize:t/2}},id=J(wo)(({theme:e})=>({"& .MuiBadge-badge":{backgroundColor:"#44b700",color:"#44b700",boxShadow:`0 0 0 2px ${e.palette.background.paper}`,"&::after":{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"50%",animation:"ripple 1.2s infinite ease-in-out",border:"1px solid currentColor",content:'""'}},"@keyframes ripple":{"0%":{transform:"scale(.8)",opacity:1},"100%":{transform:"scale(2.4)",opacity:0}}})),Ja=({tamano:e="md",variante:t="circular",estado:r,imagen:n,texto:i,cargando:a=!1,insignia:s,colorInsignia:l="error",sx:c,children:u,...p})=>{const m=T=>{switch(T){case"cuadrado":return"square";case"redondeado":return"rounded";default:return"circular"}},y=T=>{switch(T){case"primario":return"primary";case"secundario":return"secondary";case"error":return"error";case"info":return"info";case"advertencia":return"warning";case"exito":return"success";default:return"error"}},b=()=>{if(s)return s},g=()=>r&&!s?"dot":"standard",d=()=>{if(l&&s)return y(l)||"error";switch(r){case"conectado":return"#44b700";case"desconectado":return"#bdbdbd";case"ocupado":return"#f44336";case"ausente":return"#ff9800";default:return"transparent"}};if(a)return h.jsx(An,{variant:t==="circular"?"circular":"rectangular",width:ln(e),height:ln(e),animation:"wave"});const C=h.jsx(kn,{variant:m(t),src:n,alt:i,sx:[nd(e),...Array.isArray(c)?c:[c]],...p,children:u||(i?i.charAt(0).toUpperCase():null)});return!r&&!s?C:r==="conectado"&&!s?h.jsx(id,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},variant:"dot",children:C}):h.jsx(wo,{overlap:t==="circular"?"circular":"rectangular",anchorOrigin:{vertical:"bottom",horizontal:"right"},badgeContent:b(),variant:g(),sx:{"& .MuiBadge-badge":{backgroundColor:s?void 0:d(),color:s?void 0:d()}},color:s?y(l):void 0,children:C})},Qa=({children:e,spacing:t="medium",maximo:r=5,...n})=>h.jsx(Za,{max:r,spacing:t,...n,children:e}),es=e=>{let t=0;for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t);let r="#";for(let n=0;n<3;n+=1){const i=t>>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return{sx:{bgcolor:r},children:`${e.split(" ")[0][0]}${e.split(" ")[1]?.[0]||""}`}},ad=es,sd=Qa,ld=Ja,ts=Pe(h.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined"),Mn=({requisitos:e=[]})=>{const[t,r]=le.useState(!1),n=le.useRef(null),i=W.useTheme();return h.jsx(W.ClickAwayListener,{onClickAway:()=>r(!1),children:h.jsxs(W.Box,{sx:{display:"inline-flex",alignItems:"center",ml:.25},children:[h.jsx(W.Box,{component:"button",ref:n,type:"button",onClick:a=>{a.stopPropagation(),a.preventDefault(),r(s=>!s)},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),"aria-label":"Ver requisitos",sx:{display:"flex",alignItems:"center",justifyContent:"center",color:i.palette.error.main,fontWeight:700,fontSize:18,lineHeight:1,cursor:"help",userSelect:"none",background:"none",border:"none",p:0,transition:i.transitions.create("transform"),"&:hover":{transform:"scale(1.1)"},"&:focus-visible":{outline:`2px solid ${i.palette.primary.main}`,borderRadius:.5}},children:"*"}),h.jsx(W.Popper,{open:t,anchorEl:n.current,placement:"top-start",transition:!0,sx:{zIndex:i.zIndex.tooltip},children:({TransitionProps:a})=>h.jsx(W.Fade,{...a,timeout:150,children:h.jsxs(W.Paper,{elevation:8,sx:{width:256,maxWidth:"85vw",mb:.75,overflow:"hidden",border:`1px solid ${i.palette.divider}`},children:[h.jsx(W.Box,{sx:{px:1.5,py:1,borderBottom:`1px solid ${W.alpha(i.palette.divider,.5)}`,bgcolor:W.alpha(i.palette.background.default,.8),backdropFilter:"blur(8px)"},children:h.jsxs(W.Typography,{variant:"caption",fontWeight:700,color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.05em",display:"flex",alignItems:"center",gap:.75},children:[h.jsx(ts,{sx:{fontSize:12}}),"Requisitos"]})}),h.jsx(W.Box,{component:"ul",sx:{p:.75,m:0,listStyle:"none"},children:e.map((s,l)=>h.jsxs(W.Box,{component:"li",sx:{display:"flex",alignItems:"flex-start",gap:1,px:1,py:.75,borderRadius:1,transition:i.transitions.create("background-color"),"&:hover":{bgcolor:i.palette.action.hover}},children:[h.jsx(W.Typography,{sx:{color:i.palette.primary.main,mt:"1px",fontSize:10},children:"●"}),h.jsx(W.Typography,{variant:"caption",color:"text.secondary",sx:{lineHeight:1.4},children:s})]},l))})]})})})]})})},cd=Mn,rs=({para:e,texto:t,obligatorio:r,requisitos:n,children:i})=>{const a=W.useTheme();return h.jsxs(W.Box,{sx:{display:"flex",alignItems:"center",gap:1,mb:.75},children:[h.jsx(W.Typography,{component:"label",htmlFor:e,variant:"body2",fontWeight:500,sx:{cursor:"pointer",userSelect:"none",color:a.palette.text.primary},children:t}),r&&(n&&n.length>0?h.jsx(Mn,{requisitos:n}):h.jsx(W.Typography,{component:"span",sx:{fontSize:12,color:a.palette.error.main,fontWeight:700,userSelect:"none"},title:"Campo obligatorio",children:"*"})),i]})},ud=rs;function pd(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function os(e,t,r,n){const i=e[t];if(i==null||!Number.isInteger(i)){const a=pd(i);return new RangeError(`Invalid ${n} \`${t}\` of type \`${a}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function ns(e,t,r,n){return e[t]===void 0?null:os(e,t,r,n)}function cn(){return null}ns.isRequired=os;cn.isRequired=cn;const is=process.env.NODE_ENV==="production"?cn:ns;function dd(e){return Te("MuiPaper",e)}we("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const fd=e=>{const{square:t,elevation:r,variant:n,classes:i}=e,a={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return $e(a,dd,i)},md=J("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(ye(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Eo=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaper"}),i=Ge(),{className:a,component:s="div",elevation:l=1,square:c=!1,variant:u="elevation",...p}=n,m={...n,component:s,elevation:l,square:c,variant:u},y=fd(m);return process.env.NODE_ENV!=="production"&&i.shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
193
- `)),h.jsx(md,{as:s,ownerState:m,className:se(y.root,a),ref:r,...p,style:{...u==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[l],...i.vars&&{"--Paper-overlay":i.vars.overlays?.[l]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Kr("#fff",Jo(l))}, ${Kr("#fff",Jo(l))})`}},...p.style}})});process.env.NODE_ENV!=="production"&&(Eo.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,elevation:it(is,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:o.bool,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["elevation","outlined"]),o.string])});function hd(e){return Te("MuiCard",e)}we("MuiCard",["root"]);const gd=e=>{const{classes:t}=e;return $e({root:["root"]},hd,t)},yd=J(Eo,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),as=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCard"}),{className:i,raised:a=!1,...s}=n,l={...n,raised:a},c=gd(l);return h.jsx(yd,{className:se(c.root,i),elevation:a?8:void 0,ref:r,ownerState:l,...s})});process.env.NODE_ENV!=="production"&&(as.propTypes={children:o.node,classes:o.object,className:o.string,raised:it(o.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function bd(e){return Te("MuiCardActionArea",e)}const Lo=we("MuiCardActionArea",["root","focusVisible","focusHighlight"]),vd=e=>{const{classes:t}=e;return $e({root:["root"],focusHighlight:["focusHighlight"]},bd,t)},xd=J(To,{name:"MuiCardActionArea",slot:"Root"})(ye(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${Lo.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${Lo.focusVisible} .${Lo.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),Cd=J("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(ye(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),ss=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardActionArea"}),{children:i,className:a,focusVisibleClassName:s,slots:l={},slotProps:c={},...u}=n,p=n,m=vd(p),y={slots:l,slotProps:c},[b,g]=ge("root",{elementType:xd,externalForwardedProps:{...y,...u},shouldForwardComponentProp:!0,ownerState:p,ref:r,className:se(m.root,a),additionalProps:{focusVisibleClassName:se(s,m.focusVisible)}}),[d,C]=ge("focusHighlight",{elementType:Cd,externalForwardedProps:y,ownerState:p,className:m.focusHighlight});return h.jsxs(b,{...g,children:[i,h.jsx(d,{...C})]})});process.env.NODE_ENV!=="production"&&(ss.propTypes={children:o.node,classes:o.object,className:o.string,focusVisibleClassName:o.string,slotProps:o.shape({focusHighlight:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({focusHighlight:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Td(e){return Te("MuiCardContent",e)}we("MuiCardContent",["root"]);const wd=e=>{const{classes:t}=e;return $e({root:["root"]},Td,t)},Ed=J("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),ls=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardContent"}),{className:i,component:a="div",...s}=n,l={...n,component:a},c=wd(l);return h.jsx(Ed,{as:a,className:se(c.root,i),ownerState:l,ref:r,...s})});process.env.NODE_ENV!=="production"&&(ls.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Sd(e){return Te("MuiCardMedia",e)}we("MuiCardMedia",["root","media","img"]);const Od=e=>{const{classes:t,isMediaComponent:r,isImageComponent:n}=e;return $e({root:["root",r&&"media",n&&"img"]},Sd,t)},Rd=J("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{isMediaComponent:n,isImageComponent:i}=r;return[t.root,n&&t.media,i&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Pd=["video","audio","picture","iframe","img"],$d=["picture","img"],cs=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardMedia"}),{children:i,className:a,component:s="div",image:l,src:c,style:u,...p}=n,m=Pd.includes(s),y=!m&&l?{backgroundImage:`url("${l}")`,...u}:u,b={...n,component:s,isMediaComponent:m,isImageComponent:$d.includes(s)},g=Od(b);return h.jsx(Rd,{className:se(g.root,a),as:s,role:!m&&l?"img":void 0,ref:r,style:y,ownerState:b,src:m?l||c:void 0,...p,children:i})});process.env.NODE_ENV!=="production"&&(cs.propTypes={children:it(o.node,e=>!e.children&&!e.image&&!e.src&&!e.component?new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified."):null),classes:o.object,className:o.string,component:o.elementType,image:o.string,src:o.string,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const us=({variante:e="estandar",relleno:t="m",efectoHover:r,clicable:n,titulo:i,subtitulo:a,accionCabecera:s,multimedia:l,cabecera:c,pie:u,alHacerClick:p,className:m="",children:y,sx:b,...g})=>{const d=Ge(),C=P=>P==="contorno"||P==="suave"?"outlined":"elevation",T=P=>{switch(P){case"ninguno":return 0;case"p":return 1.5;case"g":return 3;default:return 2}},R=n||!!p,S=R?ss:le.Fragment,v=R?{component:"div",onClick:p}:{},x=()=>e==="suave"?{backgroundColor:d.palette.mode==="dark"?re.alpha(d.palette.primary.main,.05):re.alpha(d.palette.primary.main,.03),borderColor:d.palette.mode==="dark"?re.alpha(d.palette.primary.main,.1):re.alpha(d.palette.primary.main,.08)}:e==="estandar"?{backgroundColor:d.palette.background.paper}:{},w=()=>c?h.jsx(de,{sx:{p:T(t),pb:0},children:c}):i?h.jsxs(de,{sx:{p:T(t),pb:0,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1},children:[h.jsxs(de,{sx:{display:"flex",flexDirection:"column"},children:[h.jsx(Fe,{variant:"h6",component:"div",sx:{fontWeight:600,lineHeight:1.2,fontSize:"1rem",color:d.palette.text.primary},children:i}),a&&h.jsx(Fe,{variant:"body2",color:"text.secondary",sx:{mt:.5,fontSize:"0.875rem"},children:a})]}),s&&h.jsx(de,{sx:{mt:-.5,mr:-.5},children:s})]}):null;return h.jsx(as,{variant:C(e)==="outlined"?"outlined":void 0,elevation:e==="estandar"?2:0,className:m,sx:{display:"flex",flexDirection:"column",height:"100%",borderRadius:"12px",...x(),...r&&{transition:"transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{transform:"translateY(-4px)",boxShadow:d.shadows[8],...e!=="estandar"&&{borderColor:d.palette.primary.main}}},...b},...g,children:h.jsxs(S,{...v,children:[typeof l=="string"?h.jsx(cs,{component:"img",image:l,alt:"Multimedia",height:"180",sx:{objectFit:"cover"}}):l,w(),h.jsx(ls,{sx:{p:T(t),flexGrow:1,"&:last-child":{pb:T(t)}},children:y}),u&&h.jsx(de,{sx:{p:T(t),pt:0,mt:"auto",borderTop:e==="contorno"?`1px solid ${d.palette.divider}`:"none",...e==="contorno"&&{pt:T(t)}},children:u})]})})},jd=us,kd={izquierda:"left",left:"left",centro:"center",center:"center"},ps=({antetitulo:e,titulo:t,subtitulo:r,alineacion:n="izquierda",etiquetaPrimaria:i,etiquetaSecundaria:a,alClickPrimario:s,alClickSecundario:l,alturaCompleta:c=!1,urlImagenFondo:u,capaOscura:p=!0,children:m})=>{const y=W.useTheme(),b=kd[n]??"left",g=!!u;return h.jsxs(W.Box,{component:"section",sx:{position:"relative",overflow:"hidden",border:`1px solid ${W.alpha(y.palette.divider,.8)}`,borderRadius:4,px:{xs:3,md:5},py:{xs:5,md:7},boxShadow:y.shadows[1],display:"flex",minHeight:c?"60vh":void 0,...g?{backgroundImage:`url(${u})`,backgroundSize:"cover",backgroundPosition:"center"}:{background:`linear-gradient(to bottom, ${y.palette.background.paper}, ${y.palette.background.default})`}},children:[g&&p&&h.jsx(W.Box,{sx:{position:"absolute",inset:0,bgcolor:W.alpha(y.palette.common.black,.4),backdropFilter:"blur(1px)"}}),h.jsxs(W.Box,{sx:{position:"relative",zIndex:1,maxWidth:720,mx:"auto",display:"flex",flexDirection:"column",gap:3,textAlign:b,alignItems:b==="center"?"center":"flex-start"},children:[e&&h.jsx(W.Chip,{label:e,size:"small",sx:{bgcolor:W.alpha(y.palette.primary.main,.1),color:y.palette.primary.main,fontWeight:500,fontSize:12}}),h.jsxs(W.Box,{sx:{display:"flex",flexDirection:"column",gap:{xs:1.5,md:2}},children:[t&&h.jsx(W.Typography,{variant:"h3",fontWeight:800,letterSpacing:"-0.02em",sx:{fontSize:{xs:28,md:36,lg:44},color:g?y.palette.common.white:y.palette.text.primary},children:t}),r&&h.jsx(W.Typography,{variant:"body1",sx:{maxWidth:560,fontSize:{xs:14,md:16},color:g?W.alpha(y.palette.common.white,.9):y.palette.text.secondary},children:r})]}),(i||a)&&h.jsxs(W.Box,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,mt:1,justifyContent:b==="center"?"center":"flex-start"},children:[i&&s&&h.jsx(W.Button,{variant:"contained",onClick:s,sx:{textTransform:"none",fontWeight:600},children:i}),a&&l&&h.jsx(W.Button,{variant:"outlined",onClick:l,sx:{textTransform:"none",fontWeight:600,...g&&{borderColor:W.alpha(y.palette.common.white,.6),color:y.palette.common.white,"&:hover":{borderColor:y.palette.common.white,bgcolor:W.alpha(y.palette.common.white,.1)}}},children:a})]}),m]})]})},Ad=ps,ds=Pe(h.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Md=Pe(h.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"CheckCircleOutline"),Id=Pe([h.jsx("path",{d:"M12 5.99 19.53 19H4.47zM12 2 1 21h22z"},"0"),h.jsx("path",{d:"M13 16h-2v2h2zm0-6h-2v5h2z"},"1")],"WarningAmber"),In=Pe(h.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline"),Nd=Pe(h.jsx("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2.85 11.1-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1"}),"LightbulbOutlined"),Bd={exito:"exito",success:"exito",advertencia:"advertencia",warning:"advertencia",neutro:"neutro",neutral:"neutro",info:"info",error:"error"},Dd={info:h.jsx(ts,{fontSize:"small"}),exito:h.jsx(Md,{fontSize:"small"}),advertencia:h.jsx(Id,{fontSize:"small"}),error:h.jsx(In,{fontSize:"small"}),neutro:h.jsx(Nd,{fontSize:"small"})},fs=({titulo:e,descripcion:t,variante:r="info",icono:n,cerrable:i=!1,abierto:a,alCerrar:s,anchoCompleto:l=!0,children:c})=>{const[u,p]=le.useState(!0),m=W.useTheme(),y=Bd[r]??"info";if(!(a!==void 0?a:u))return null;const g={info:{fondo:W.alpha(m.palette.info.main,.08),texto:m.palette.info.dark,borde:W.alpha(m.palette.info.main,.3)},exito:{fondo:W.alpha(m.palette.success.main,.08),texto:m.palette.success.dark,borde:W.alpha(m.palette.success.main,.3)},advertencia:{fondo:W.alpha(m.palette.warning.main,.08),texto:m.palette.warning.dark,borde:W.alpha(m.palette.warning.main,.3)},error:{fondo:W.alpha(m.palette.error.main,.08),texto:m.palette.error.dark,borde:W.alpha(m.palette.error.main,.3)},neutro:{fondo:W.alpha(m.palette.text.primary,.04),texto:m.palette.text.primary,borde:m.palette.divider}},d=g[y]??g.info,C=n??Dd[y],T=y==="error"||y==="advertencia"?"alert":"status",R=()=>{a===void 0&&p(!1),s?.()};return h.jsx(W.Box,{sx:{width:l?"100%":"auto",display:l?"block":"inline-flex"},children:h.jsxs(W.Box,{role:T,sx:{display:"flex",width:"100%",alignItems:"flex-start",gap:1.5,border:`1px solid ${d.borde}`,borderRadius:2,px:2,py:1.5,bgcolor:d.fondo,color:d.texto,boxShadow:m.shadows[1]},children:[C&&h.jsx(W.Box,{sx:{mt:.25,flexShrink:0,display:"flex"},children:C}),h.jsxs(W.Box,{sx:{flex:1,minWidth:0},children:[e&&h.jsx(W.Typography,{variant:"body2",fontWeight:600,noWrap:!0,children:e}),t&&h.jsx(W.Typography,{variant:"caption",sx:{mt:.25,display:"block",lineHeight:1.5},children:t}),c]}),i&&h.jsx(W.IconButton,{size:"small",onClick:R,"aria-label":"Cerrar aviso",sx:{flexShrink:0,color:"inherit",opacity:.7,"&:hover":{opacity:1}},children:h.jsx(ds,{sx:{fontSize:16}})})]})})},zd=fs;function Fd(e){return Te("MuiAlert",e)}const zi=we("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function _d(e){return Te("MuiIconButton",e)}const Fi=we("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Vd=e=>{const{classes:t,disabled:r,color:n,edge:i,size:a,loading:s}=e,l={root:["root",s&&"loading",r&&"disabled",n!=="default"&&`color${G(n)}`,i&&`edge${G(i)}`,`size${G(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return $e(l,_d,t)},Ld=J(To,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${G(r.color)}`],r.edge&&t[`edge${G(r.edge)}`],t[`size${G(r.size)}`]]}})(ye(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),ye(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Fi.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Fi.loading}`]:{color:"transparent"}}))),Wd=J("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Nn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:s,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:p="medium",id:m,loading:y=null,loadingIndicator:b,...g}=n,d=Pr(m),C=b??h.jsx(Ft,{"aria-labelledby":d,color:"inherit",size:16}),T={...n,edge:i,color:l,disabled:c,disableFocusRipple:u,loading:y,loadingIndicator:C,size:p},R=Vd(T);return h.jsxs(Ld,{id:y?d:m,className:se(R.root,s),centerRipple:!0,focusRipple:!u,disabled:c||y,ref:r,...g,ownerState:T,children:[typeof y=="boolean"&&h.jsx("span",{className:R.loadingWrapper,style:{display:"contents"},children:h.jsx(Wd,{className:R.loadingIndicator,ownerState:T,children:y&&C})}),a]})});process.env.NODE_ENV!=="production"&&(Nn.propTypes={children:it(o.node,e=>E.Children.toArray(e.children).some(r=>E.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
194
- `)):null),classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,edge:o.oneOf(["end","start",!1]),id:o.string,loading:o.bool,loadingIndicator:o.node,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const Hd=Pe(h.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Ud=Pe(h.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),qd=Pe(h.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Gd=Pe(h.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Yd=Pe(h.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Kd=e=>{const{variant:t,color:r,severity:n,classes:i}=e,a={root:["root",`color${G(r||n)}`,`${t}${G(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return $e(a,Fd,i)},Xd=J(Eo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${G(r.color||r.severity)}`]]}})(ye(({theme:e})=>{const t=e.palette.mode==="light"?e.darken:e.lighten,r=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Ve(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${zi.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Ve(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${zi.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Ve(["dark"])).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${n}FilledColor`],backgroundColor:e.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[n].dark:e.palette[n].main,color:e.palette.getContrastText(e.palette[n].main)}}}))]}})),Zd=J("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Jd=J("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),Qd=J("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ef={success:h.jsx(Hd,{fontSize:"inherit"}),warning:h.jsx(Ud,{fontSize:"inherit"}),error:h.jsx(qd,{fontSize:"inherit"}),info:h.jsx(Gd,{fontSize:"inherit"})},ms=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAlert"}),{action:i,children:a,className:s,closeText:l="Close",color:c,components:u={},componentsProps:p={},icon:m,iconMapping:y=ef,onClose:b,role:g="alert",severity:d="success",slotProps:C={},slots:T={},variant:R="standard",...S}=n,v={...n,color:c,severity:d,variant:R,colorSeverity:c||d},x=Kd(v),w={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...T},slotProps:{...p,...C}},[P,I]=ge("root",{ref:r,shouldForwardComponentProp:!0,className:se(x.root,s),elementType:Xd,externalForwardedProps:{...w,...S},ownerState:v,additionalProps:{role:g,elevation:0}}),[M,z]=ge("icon",{className:x.icon,elementType:Zd,externalForwardedProps:w,ownerState:v}),[B,f]=ge("message",{className:x.message,elementType:Jd,externalForwardedProps:w,ownerState:v}),[k,$]=ge("action",{className:x.action,elementType:Qd,externalForwardedProps:w,ownerState:v}),[A,j]=ge("closeButton",{elementType:Nn,externalForwardedProps:w,ownerState:v}),[V,N]=ge("closeIcon",{elementType:Yd,externalForwardedProps:w,ownerState:v});return h.jsxs(P,{...I,children:[m!==!1?h.jsx(M,{...z,children:m||y[d]}):null,h.jsx(B,{...f,children:a}),i!=null?h.jsx(k,{...$,children:i}):null,i==null&&b?h.jsx(k,{...$,children:h.jsx(A,{size:"small","aria-label":l,title:l,color:"inherit",onClick:b,...j,children:h.jsx(V,{fontSize:"small",...N})})}):null]})});process.env.NODE_ENV!=="production"&&(ms.propTypes={action:o.node,children:o.node,classes:o.object,className:o.string,closeText:o.string,color:o.oneOfType([o.oneOf(["error","info","success","warning"]),o.string]),components:o.shape({CloseButton:o.elementType,CloseIcon:o.elementType}),componentsProps:o.shape({closeButton:o.object,closeIcon:o.object}),icon:o.node,iconMapping:o.shape({error:o.node,info:o.node,success:o.node,warning:o.node}),onClose:o.func,role:o.string,severity:o.oneOfType([o.oneOf(["error","info","success","warning"]),o.string]),slotProps:o.shape({action:o.oneOfType([o.func,o.object]),closeButton:o.oneOfType([o.func,o.object]),closeIcon:o.oneOfType([o.func,o.object]),icon:o.oneOfType([o.func,o.object]),message:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({action:o.elementType,closeButton:o.elementType,closeIcon:o.elementType,icon:o.elementType,message:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["filled","outlined","standard"]),o.string])});function tf(e){return Te("MuiAlertTitle",e)}we("MuiAlertTitle",["root"]);const rf=e=>{const{classes:t}=e;return $e({root:["root"]},tf,t)},of=J(Fe,{name:"MuiAlertTitle",slot:"Root"})(ye(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),hs=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAlertTitle"}),{className:i,...a}=n,s=n,l=rf(s);return h.jsx(of,{gutterBottom:!0,component:"div",ownerState:s,ref:r,className:se(l.root,i),...a})});process.env.NODE_ENV!=="production"&&(hs.propTypes={children:o.node,classes:o.object,className:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const gs=e=>e.scrollTop;function Qt(e,t){const{timeout:r,easing:n,style:i={}}=e;return{duration:i.transitionDuration??(typeof r=="number"?r:r[t.mode]||0),easing:i.transitionTimingFunction??(typeof n=="object"?n[t.mode]:n),delay:i.transitionDelay}}function nf(e){return Te("MuiCollapse",e)}we("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const af=e=>{const{orientation:t,classes:r}=e,n={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return $e(n,nf,r)},sf=J("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],r.state==="entered"&&t.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&t.hidden]}})(ye(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),lf=J("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),cf=J("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),to=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCollapse"}),{addEndListener:i,children:a,className:s,collapsedSize:l="0px",component:c,easing:u,in:p,onEnter:m,onEntered:y,onEntering:b,onExit:g,onExited:d,onExiting:C,orientation:T="vertical",slots:R={},slotProps:S={},style:v,timeout:x=Ta.standard,TransitionComponent:w=lt,...P}=n,I={...n,orientation:T,collapsedSize:l},M=af(I),z=Ge(),B=Dt(),f=E.useRef(null),k=E.useRef(),$=typeof l=="number"?`${l}px`:l,A=T==="horizontal",j=A?"width":"height",V=E.useRef(null),N=Le(r,V),L=te=>Ee=>{if(te){const me=V.current;Ee===void 0?te(me):te(me,Ee)}},O=()=>f.current?f.current[A?"clientWidth":"clientHeight"]:0,_=L((te,Ee)=>{f.current&&A&&(f.current.style.position="absolute"),te.style[j]=$,m&&m(te,Ee)}),U=L((te,Ee)=>{const me=O();f.current&&A&&(f.current.style.position="");const{duration:he,easing:Ae}=Qt({style:v,timeout:x,easing:u},{mode:"enter"});if(x==="auto"){const je=z.transitions.getAutoHeightDuration(me);te.style.transitionDuration=`${je}ms`,k.current=je}else te.style.transitionDuration=typeof he=="string"?he:`${he}ms`;te.style[j]=`${me}px`,te.style.transitionTimingFunction=Ae,b&&b(te,Ee)}),H=L((te,Ee)=>{te.style[j]="auto",y&&y(te,Ee)}),Y=L(te=>{te.style[j]=`${O()}px`,g&&g(te)}),Z=L(d),Q=L(te=>{const Ee=O(),{duration:me,easing:he}=Qt({style:v,timeout:x,easing:u},{mode:"exit"});if(x==="auto"){const Ae=z.transitions.getAutoHeightDuration(Ee);te.style.transitionDuration=`${Ae}ms`,k.current=Ae}else te.style.transitionDuration=typeof me=="string"?me:`${me}ms`;te.style[j]=$,te.style.transitionTimingFunction=he,C&&C(te)}),ee=te=>{x==="auto"&&B.start(k.current||0,te),i&&i(V.current,te)},X={slots:R,slotProps:S,component:c},[ne,q]=ge("root",{ref:N,className:se(M.root,s),elementType:sf,externalForwardedProps:X,ownerState:I,additionalProps:{style:{[A?"minWidth":"minHeight"]:$,...v}}}),[oe,F]=ge("wrapper",{ref:f,className:M.wrapper,elementType:lf,externalForwardedProps:X,ownerState:I}),[ce,ie]=ge("wrapperInner",{className:M.wrapperInner,elementType:cf,externalForwardedProps:X,ownerState:I});return h.jsx(w,{in:p,onEnter:_,onEntered:H,onEntering:U,onExit:Y,onExited:Z,onExiting:Q,addEndListener:ee,nodeRef:V,timeout:x==="auto"?null:x,...P,children:(te,{ownerState:Ee,...me})=>{const he={...I,state:te};return h.jsx(ne,{...q,className:se(q.className,{entered:M.entered,exited:!p&&$==="0px"&&M.hidden}[te]),ownerState:he,...me,children:h.jsx(oe,{...F,ownerState:he,children:h.jsx(ce,{...ie,ownerState:he,children:a})})})}})});process.env.NODE_ENV!=="production"&&(to.propTypes={addEndListener:o.func,children:o.node,classes:o.object,className:o.string,collapsedSize:o.oneOfType([o.number,o.string]),component:xo,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,orientation:o.oneOf(["horizontal","vertical"]),slotProps:o.shape({root:o.oneOfType([o.func,o.object]),wrapper:o.oneOfType([o.func,o.object]),wrapperInner:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType,wrapper:o.elementType,wrapperInner:o.elementType}),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});to&&(to.muiSupportAuto=!0);const ys=({variante:e="info",diseno:t="estandar",titulo:r,descripcion:n,cerrable:i=!1,abierto:a=!0,alCerrar:s,tiempoAutoCierre:l,accion:c,icono:u,children:p,sx:m,...y})=>{const b=Ge(),[g,d]=le.useState(a);le.useEffect(()=>{d(a)},[a]),le.useEffect(()=>{if(l&&l>0&&g){const x=setTimeout(()=>{s?.(),d(!1)},l);return()=>clearTimeout(x)}},[l,g,s]);const C=x=>{switch(x){case"peligro":return"error";case"exito":return"success";case"advertencia":return"warning";default:return"info"}},T=x=>{switch(x){case"lleno":return"filled";case"contorno":return"outlined";default:return"standard"}},R=x=>{switch(x){case"success":return b.palette.success.main;case"warning":return b.palette.warning.main;case"error":return b.palette.error.main;default:return b.palette.info.main}},S=()=>{if(t!=="suave")return{};const x=R(C(e));return{backgroundColor:re.alpha(x,.12),color:x,"& .MuiAlert-icon":{color:x},"& .MuiAlertTitle-root":{color:x}}},v=()=>{s?.(),d(!1)};return h.jsx(to,{in:g,children:h.jsxs(ms,{severity:C(e),variant:T(t),onClose:i||s?v:void 0,icon:u,action:c,sx:[{borderRadius:"12px",mb:2,border:t==="contorno"?"1px solid":void 0,boxShadow:t==="lleno"?b.shadows[4]:b.shadows[1],alignItems:"center",...S(),"& .MuiAlertTitle-root":{fontWeight:700,mb:n||p?.5:0,fontSize:"0.95rem",lineHeight:1.4},"& .MuiAlert-message":{width:"100%",padding:0,display:"flex",flexDirection:"column",justifyContent:"center"},"& .MuiAlert-icon":{padding:0,mr:1.5,opacity:t==="suave"?1:.9}},...Array.isArray(m)?m:m?[m]:[]],...y,children:[r&&h.jsx(hs,{children:r}),n&&h.jsx(de,{component:"div",sx:{opacity:.9},children:n}),p]})})},uf=ys;function pf(e){return Te("MuiLinearProgress",e)}we("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const un=4,pn=re.keyframes`
192
+ )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:td||{"&::after":{animation:`${sn} 2s linear 0.5s infinite`}}}]}})),An=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiSkeleton"}),{animation:i="pulse",className:a,component:s="span",height:l,style:c,variant:u="text",width:p,...m}=n,y={...n,animation:i,component:s,variant:u,hasChildren:!!m.children},b=Qp(y);return h.jsx(rd,{as:s,ref:r,className:se(b.root,a),ownerState:y,...m,style:{width:p,height:l,...c}})});process.env.NODE_ENV!=="production"&&(An.propTypes={animation:o.oneOf(["pulse","wave",!1]),children:o.node,classes:o.object,className:o.string,component:o.elementType,height:o.oneOfType([o.number,o.string]),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["circular","rectangular","rounded","text"]),o.string]),width:o.oneOfType([o.number,o.string])});const ln=e=>typeof e=="number"?e:e&&{xs:24,sm:32,md:40,lg:48,xl:64,xxl:80}[e]||40,od=e=>{const t=ln(e);return{width:t,height:t,fontSize:t/2}},nd=J(wo)(({theme:e})=>({"& .MuiBadge-badge":{backgroundColor:"#44b700",color:"#44b700",boxShadow:`0 0 0 2px ${e.palette.background.paper}`,"&::after":{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:"50%",animation:"ripple 1.2s infinite ease-in-out",border:"1px solid currentColor",content:'""'}},"@keyframes ripple":{"0%":{transform:"scale(.8)",opacity:1},"100%":{transform:"scale(2.4)",opacity:0}}})),Za=({tamano:e="md",variante:t="circular",estado:r,imagen:n,texto:i,cargando:a=!1,insignia:s,colorInsignia:l="error",sx:c,children:u,...p})=>{const m=T=>{switch(T){case"cuadrado":return"square";case"redondeado":return"rounded";default:return"circular"}},y=T=>{switch(T){case"primario":return"primary";case"secundario":return"secondary";case"error":return"error";case"info":return"info";case"advertencia":return"warning";case"exito":return"success";default:return"error"}},b=()=>{if(s)return s},g=()=>r&&!s?"dot":"standard",d=()=>{if(l&&s)return y(l)||"error";switch(r){case"conectado":return"#44b700";case"desconectado":return"#bdbdbd";case"ocupado":return"#f44336";case"ausente":return"#ff9800";default:return"transparent"}};if(a)return h.jsx(An,{variant:t==="circular"?"circular":"rectangular",width:ln(e),height:ln(e),animation:"wave"});const C=h.jsx(kn,{variant:m(t),src:n,alt:i,sx:[od(e),...Array.isArray(c)?c:[c]],...p,children:u||(i?i.charAt(0).toUpperCase():null)});return!r&&!s?C:r==="conectado"&&!s?h.jsx(nd,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},variant:"dot",children:C}):h.jsx(wo,{overlap:t==="circular"?"circular":"rectangular",anchorOrigin:{vertical:"bottom",horizontal:"right"},badgeContent:b(),variant:g(),sx:{"& .MuiBadge-badge":{backgroundColor:s?void 0:d(),color:s?void 0:d()}},color:s?y(l):void 0,children:C})},Ja=({children:e,spacing:t="medium",maximo:r=5,...n})=>h.jsx(Xa,{max:r,spacing:t,...n,children:e}),Qa=e=>{let t=0;for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t);let r="#";for(let n=0;n<3;n+=1){const i=t>>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return{sx:{bgcolor:r},children:`${e.split(" ")[0][0]}${e.split(" ")[1]?.[0]||""}`}},id=Qa,ad=Ja,sd=Za,es=Pe(h.jsx("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined"),Mn=({requisitos:e=[]})=>{const[t,r]=le.useState(!1),n=le.useRef(null),i=W.useTheme();return h.jsx(W.ClickAwayListener,{onClickAway:()=>r(!1),children:h.jsxs(W.Box,{sx:{display:"inline-flex",alignItems:"center",ml:.25},children:[h.jsx(W.Box,{component:"button",ref:n,type:"button",onClick:a=>{a.stopPropagation(),a.preventDefault(),r(s=>!s)},onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),"aria-label":"Ver requisitos",sx:{display:"flex",alignItems:"center",justifyContent:"center",color:i.palette.error.main,fontWeight:700,fontSize:18,lineHeight:1,cursor:"help",userSelect:"none",background:"none",border:"none",p:0,transition:i.transitions.create("transform"),"&:hover":{transform:"scale(1.1)"},"&:focus-visible":{outline:`2px solid ${i.palette.primary.main}`,borderRadius:.5}},children:"*"}),h.jsx(W.Popper,{open:t,anchorEl:n.current,placement:"top-start",transition:!0,sx:{zIndex:i.zIndex.tooltip},children:({TransitionProps:a})=>h.jsx(W.Fade,{...a,timeout:150,children:h.jsxs(W.Paper,{elevation:8,sx:{width:256,maxWidth:"85vw",mb:.75,overflow:"hidden",border:`1px solid ${i.palette.divider}`},children:[h.jsx(W.Box,{sx:{px:1.5,py:1,borderBottom:`1px solid ${W.alpha(i.palette.divider,.5)}`,bgcolor:W.alpha(i.palette.background.default,.8),backdropFilter:"blur(8px)"},children:h.jsxs(W.Typography,{variant:"caption",fontWeight:700,color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.05em",display:"flex",alignItems:"center",gap:.75},children:[h.jsx(es,{sx:{fontSize:12}}),"Requisitos"]})}),h.jsx(W.Box,{component:"ul",sx:{p:.75,m:0,listStyle:"none"},children:e.map((s,l)=>h.jsxs(W.Box,{component:"li",sx:{display:"flex",alignItems:"flex-start",gap:1,px:1,py:.75,borderRadius:1,transition:i.transitions.create("background-color"),"&:hover":{bgcolor:i.palette.action.hover}},children:[h.jsx(W.Typography,{sx:{color:i.palette.primary.main,mt:"1px",fontSize:10},children:"●"}),h.jsx(W.Typography,{variant:"caption",color:"text.secondary",sx:{lineHeight:1.4},children:s})]},l))})]})})})]})})},ld=Mn,ts=({para:e,texto:t,obligatorio:r,requisitos:n,children:i})=>{const a=W.useTheme();return h.jsxs(W.Box,{sx:{display:"flex",alignItems:"center",gap:1,mb:.75},children:[h.jsx(W.Typography,{component:"label",htmlFor:e,variant:"body2",fontWeight:500,sx:{cursor:"pointer",userSelect:"none",color:a.palette.text.primary},children:t}),r&&(n&&n.length>0?h.jsx(Mn,{requisitos:n}):h.jsx(W.Typography,{component:"span",sx:{fontSize:12,color:a.palette.error.main,fontWeight:700,userSelect:"none"},title:"Campo obligatorio",children:"*"})),i]})},cd=ts;function ud(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function rs(e,t,r,n){const i=e[t];if(i==null||!Number.isInteger(i)){const a=ud(i);return new RangeError(`Invalid ${n} \`${t}\` of type \`${a}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function os(e,t,r,n){return e[t]===void 0?null:rs(e,t,r,n)}function cn(){return null}os.isRequired=rs;cn.isRequired=cn;const ns=process.env.NODE_ENV==="production"?cn:os;function pd(e){return Te("MuiPaper",e)}we("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const dd=e=>{const{square:t,elevation:r,variant:n,classes:i}=e,a={root:["root",n,!t&&"rounded",n==="elevation"&&`elevation${r}`]};return $e(a,pd,i)},fd=J("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,r.variant==="elevation"&&t[`elevation${r.elevation}`]]}})(ye(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Eo=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPaper"}),i=Ge(),{className:a,component:s="div",elevation:l=1,square:c=!1,variant:u="elevation",...p}=n,m={...n,component:s,elevation:l,square:c,variant:u},y=dd(m);return process.env.NODE_ENV!=="production"&&i.shadows[l]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
193
+ `)),h.jsx(fd,{as:s,ownerState:m,className:se(y.root,a),ref:r,...p,style:{...u==="elevation"&&{"--Paper-shadow":(i.vars||i).shadows[l],...i.vars&&{"--Paper-overlay":i.vars.overlays?.[l]},...!i.vars&&i.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Kr("#fff",Jo(l))}, ${Kr("#fff",Jo(l))})`}},...p.style}})});process.env.NODE_ENV!=="production"&&(Eo.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,elevation:it(ns,e=>{const{elevation:t,variant:r}=e;return t>0&&r==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${r}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:o.bool,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["elevation","outlined"]),o.string])});function md(e){return Te("MuiCard",e)}we("MuiCard",["root"]);const hd=e=>{const{classes:t}=e;return $e({root:["root"]},md,t)},gd=J(Eo,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),is=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCard"}),{className:i,raised:a=!1,...s}=n,l={...n,raised:a},c=hd(l);return h.jsx(gd,{className:se(c.root,i),elevation:a?8:void 0,ref:r,ownerState:l,...s})});process.env.NODE_ENV!=="production"&&(is.propTypes={children:o.node,classes:o.object,className:o.string,raised:it(o.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function yd(e){return Te("MuiCardActionArea",e)}const Lo=we("MuiCardActionArea",["root","focusVisible","focusHighlight"]),bd=e=>{const{classes:t}=e;return $e({root:["root"],focusHighlight:["focusHighlight"]},yd,t)},vd=J(To,{name:"MuiCardActionArea",slot:"Root"})(ye(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${Lo.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${Lo.focusVisible} .${Lo.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),xd=J("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(ye(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),as=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardActionArea"}),{children:i,className:a,focusVisibleClassName:s,slots:l={},slotProps:c={},...u}=n,p=n,m=bd(p),y={slots:l,slotProps:c},[b,g]=ge("root",{elementType:vd,externalForwardedProps:{...y,...u},shouldForwardComponentProp:!0,ownerState:p,ref:r,className:se(m.root,a),additionalProps:{focusVisibleClassName:se(s,m.focusVisible)}}),[d,C]=ge("focusHighlight",{elementType:xd,externalForwardedProps:y,ownerState:p,className:m.focusHighlight});return h.jsxs(b,{...g,children:[i,h.jsx(d,{...C})]})});process.env.NODE_ENV!=="production"&&(as.propTypes={children:o.node,classes:o.object,className:o.string,focusVisibleClassName:o.string,slotProps:o.shape({focusHighlight:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({focusHighlight:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Cd(e){return Te("MuiCardContent",e)}we("MuiCardContent",["root"]);const Td=e=>{const{classes:t}=e;return $e({root:["root"]},Cd,t)},wd=J("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),ss=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardContent"}),{className:i,component:a="div",...s}=n,l={...n,component:a},c=Td(l);return h.jsx(wd,{as:a,className:se(c.root,i),ownerState:l,ref:r,...s})});process.env.NODE_ENV!=="production"&&(ss.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Ed(e){return Te("MuiCardMedia",e)}we("MuiCardMedia",["root","media","img"]);const Sd=e=>{const{classes:t,isMediaComponent:r,isImageComponent:n}=e;return $e({root:["root",r&&"media",n&&"img"]},Ed,t)},Od=J("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{isMediaComponent:n,isImageComponent:i}=r;return[t.root,n&&t.media,i&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Rd=["video","audio","picture","iframe","img"],Pd=["picture","img"],ls=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCardMedia"}),{children:i,className:a,component:s="div",image:l,src:c,style:u,...p}=n,m=Rd.includes(s),y=!m&&l?{backgroundImage:`url("${l}")`,...u}:u,b={...n,component:s,isMediaComponent:m,isImageComponent:Pd.includes(s)},g=Sd(b);return h.jsx(Od,{className:se(g.root,a),as:s,role:!m&&l?"img":void 0,ref:r,style:y,ownerState:b,src:m?l||c:void 0,...p,children:i})});process.env.NODE_ENV!=="production"&&(ls.propTypes={children:it(o.node,e=>!e.children&&!e.image&&!e.src&&!e.component?new Error("MUI: Either `children`, `image`, `src` or `component` prop must be specified."):null),classes:o.object,className:o.string,component:o.elementType,image:o.string,src:o.string,style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const cs=({variante:e="estandar",relleno:t="m",efectoHover:r,clicable:n,titulo:i,subtitulo:a,accionCabecera:s,multimedia:l,cabecera:c,pie:u,alHacerClick:p,className:m="",children:y,sx:b,...g})=>{const d=Ge(),C=P=>P==="contorno"||P==="suave"?"outlined":"elevation",T=P=>{switch(P){case"ninguno":return 0;case"p":return 1.5;case"g":return 3;default:return 2}},R=n||!!p,S=R?as:le.Fragment,v=R?{component:"div",onClick:p}:{},x=()=>e==="suave"?{backgroundColor:d.palette.mode==="dark"?re.alpha(d.palette.primary.main,.05):re.alpha(d.palette.primary.main,.03),borderColor:d.palette.mode==="dark"?re.alpha(d.palette.primary.main,.1):re.alpha(d.palette.primary.main,.08)}:e==="estandar"?{backgroundColor:d.palette.background.paper}:{},w=()=>c?h.jsx(de,{sx:{p:T(t),pb:0},children:c}):i?h.jsxs(de,{sx:{p:T(t),pb:0,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1},children:[h.jsxs(de,{sx:{display:"flex",flexDirection:"column"},children:[h.jsx(Fe,{variant:"h6",component:"div",sx:{fontWeight:600,lineHeight:1.2,fontSize:"1rem",color:d.palette.text.primary},children:i}),a&&h.jsx(Fe,{variant:"body2",color:"text.secondary",sx:{mt:.5,fontSize:"0.875rem"},children:a})]}),s&&h.jsx(de,{sx:{mt:-.5,mr:-.5},children:s})]}):null;return h.jsx(is,{variant:C(e)==="outlined"?"outlined":void 0,elevation:e==="estandar"?2:0,className:m,sx:{display:"flex",flexDirection:"column",height:"100%",borderRadius:"12px",...x(),...r&&{transition:"transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{transform:"translateY(-4px)",boxShadow:d.shadows[8],...e!=="estandar"&&{borderColor:d.palette.primary.main}}},...b},...g,children:h.jsxs(S,{...v,children:[typeof l=="string"?h.jsx(ls,{component:"img",image:l,alt:"Multimedia",height:"180",sx:{objectFit:"cover"}}):l,w(),h.jsx(ss,{sx:{p:T(t),flexGrow:1,"&:last-child":{pb:T(t)}},children:y}),u&&h.jsx(de,{sx:{p:T(t),pt:0,mt:"auto",borderTop:e==="contorno"?`1px solid ${d.palette.divider}`:"none",...e==="contorno"&&{pt:T(t)}},children:u})]})})},$d=cs,jd={izquierda:"left",left:"left",centro:"center",center:"center"},us=({antetitulo:e,titulo:t,subtitulo:r,alineacion:n="izquierda",etiquetaPrimaria:i,etiquetaSecundaria:a,alClickPrimario:s,alClickSecundario:l,alturaCompleta:c=!1,urlImagenFondo:u,capaOscura:p=!0,children:m})=>{const y=W.useTheme(),b=jd[n]??"left",g=!!u;return h.jsxs(W.Box,{component:"section",sx:{position:"relative",overflow:"hidden",border:`1px solid ${W.alpha(y.palette.divider,.8)}`,borderRadius:4,px:{xs:3,md:5},py:{xs:5,md:7},boxShadow:y.shadows[1],display:"flex",minHeight:c?"60vh":void 0,...g?{backgroundImage:`url(${u})`,backgroundSize:"cover",backgroundPosition:"center"}:{background:`linear-gradient(to bottom, ${y.palette.background.paper}, ${y.palette.background.default})`}},children:[g&&p&&h.jsx(W.Box,{sx:{position:"absolute",inset:0,bgcolor:W.alpha(y.palette.common.black,.4),backdropFilter:"blur(1px)"}}),h.jsxs(W.Box,{sx:{position:"relative",zIndex:1,maxWidth:720,mx:"auto",display:"flex",flexDirection:"column",gap:3,textAlign:b,alignItems:b==="center"?"center":"flex-start"},children:[e&&h.jsx(W.Chip,{label:e,size:"small",sx:{bgcolor:W.alpha(y.palette.primary.main,.1),color:y.palette.primary.main,fontWeight:500,fontSize:12}}),h.jsxs(W.Box,{sx:{display:"flex",flexDirection:"column",gap:{xs:1.5,md:2}},children:[t&&h.jsx(W.Typography,{variant:"h3",fontWeight:800,letterSpacing:"-0.02em",sx:{fontSize:{xs:28,md:36,lg:44},color:g?y.palette.common.white:y.palette.text.primary},children:t}),r&&h.jsx(W.Typography,{variant:"body1",sx:{maxWidth:560,fontSize:{xs:14,md:16},color:g?W.alpha(y.palette.common.white,.9):y.palette.text.secondary},children:r})]}),(i||a)&&h.jsxs(W.Box,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,mt:1,justifyContent:b==="center"?"center":"flex-start"},children:[i&&s&&h.jsx(W.Button,{variant:"contained",onClick:s,sx:{textTransform:"none",fontWeight:600},children:i}),a&&l&&h.jsx(W.Button,{variant:"outlined",onClick:l,sx:{textTransform:"none",fontWeight:600,...g&&{borderColor:W.alpha(y.palette.common.white,.6),color:y.palette.common.white,"&:hover":{borderColor:y.palette.common.white,bgcolor:W.alpha(y.palette.common.white,.1)}}},children:a})]}),m]})]})},kd=us,ps=Pe(h.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Ad=Pe(h.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"CheckCircleOutline"),Md=Pe([h.jsx("path",{d:"M12 5.99 19.53 19H4.47zM12 2 1 21h22z"},"0"),h.jsx("path",{d:"M13 16h-2v2h2zm0-6h-2v5h2z"},"1")],"WarningAmber"),In=Pe(h.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline"),Id=Pe(h.jsx("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2.85 11.1-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1"}),"LightbulbOutlined"),Nd={exito:"exito",success:"exito",advertencia:"advertencia",warning:"advertencia",neutro:"neutro",neutral:"neutro",info:"info",error:"error"},Bd={info:h.jsx(es,{fontSize:"small"}),exito:h.jsx(Ad,{fontSize:"small"}),advertencia:h.jsx(Md,{fontSize:"small"}),error:h.jsx(In,{fontSize:"small"}),neutro:h.jsx(Id,{fontSize:"small"})},ds=({titulo:e,descripcion:t,variante:r="info",icono:n,cerrable:i=!1,abierto:a,alCerrar:s,anchoCompleto:l=!0,children:c})=>{const[u,p]=le.useState(!0),m=W.useTheme(),y=Nd[r]??"info";if(!(a!==void 0?a:u))return null;const g={info:{fondo:W.alpha(m.palette.info.main,.08),texto:m.palette.info.dark,borde:W.alpha(m.palette.info.main,.3)},exito:{fondo:W.alpha(m.palette.success.main,.08),texto:m.palette.success.dark,borde:W.alpha(m.palette.success.main,.3)},advertencia:{fondo:W.alpha(m.palette.warning.main,.08),texto:m.palette.warning.dark,borde:W.alpha(m.palette.warning.main,.3)},error:{fondo:W.alpha(m.palette.error.main,.08),texto:m.palette.error.dark,borde:W.alpha(m.palette.error.main,.3)},neutro:{fondo:W.alpha(m.palette.text.primary,.04),texto:m.palette.text.primary,borde:m.palette.divider}},d=g[y]??g.info,C=n??Bd[y],T=y==="error"||y==="advertencia"?"alert":"status",R=()=>{a===void 0&&p(!1),s?.()};return h.jsx(W.Box,{sx:{width:l?"100%":"auto",display:l?"block":"inline-flex"},children:h.jsxs(W.Box,{role:T,sx:{display:"flex",width:"100%",alignItems:"flex-start",gap:1.5,border:`1px solid ${d.borde}`,borderRadius:2,px:2,py:1.5,bgcolor:d.fondo,color:d.texto,boxShadow:m.shadows[1]},children:[C&&h.jsx(W.Box,{sx:{mt:.25,flexShrink:0,display:"flex"},children:C}),h.jsxs(W.Box,{sx:{flex:1,minWidth:0},children:[e&&h.jsx(W.Typography,{variant:"body2",fontWeight:600,noWrap:!0,children:e}),t&&h.jsx(W.Typography,{variant:"caption",sx:{mt:.25,display:"block",lineHeight:1.5},children:t}),c]}),i&&h.jsx(W.IconButton,{size:"small",onClick:R,"aria-label":"Cerrar aviso",sx:{flexShrink:0,color:"inherit",opacity:.7,"&:hover":{opacity:1}},children:h.jsx(ps,{sx:{fontSize:16}})})]})})},Dd=ds;function zd(e){return Te("MuiAlert",e)}const Di=we("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Fd(e){return Te("MuiIconButton",e)}const zi=we("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),_d=e=>{const{classes:t,disabled:r,color:n,edge:i,size:a,loading:s}=e,l={root:["root",s&&"loading",r&&"disabled",n!=="default"&&`color${G(n)}`,i&&`edge${G(i)}`,`size${G(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return $e(l,Fd,t)},Vd=J(To,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${G(r.color)}`],r.edge&&t[`edge${G(r.edge)}`],t[`size${G(r.size)}`]]}})(ye(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),ye(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${zi.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${zi.loading}`]:{color:"transparent"}}))),Ld=J("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),Nn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiIconButton"}),{edge:i=!1,children:a,className:s,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:p="medium",id:m,loading:y=null,loadingIndicator:b,...g}=n,d=Pr(m),C=b??h.jsx(Ft,{"aria-labelledby":d,color:"inherit",size:16}),T={...n,edge:i,color:l,disabled:c,disableFocusRipple:u,loading:y,loadingIndicator:C,size:p},R=_d(T);return h.jsxs(Vd,{id:y?d:m,className:se(R.root,s),centerRipple:!0,focusRipple:!u,disabled:c||y,ref:r,...g,ownerState:T,children:[typeof y=="boolean"&&h.jsx("span",{className:R.loadingWrapper,style:{display:"contents"},children:h.jsx(Ld,{className:R.loadingIndicator,ownerState:T,children:y&&C})}),a]})});process.env.NODE_ENV!=="production"&&(Nn.propTypes={children:it(o.node,e=>E.Children.toArray(e.children).some(r=>E.isValidElement(r)&&r.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
194
+ `)):null),classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,edge:o.oneOf(["end","start",!1]),id:o.string,loading:o.bool,loadingIndicator:o.node,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const Wd=Pe(h.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Hd=Pe(h.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Ud=Pe(h.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),qd=Pe(h.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Gd=Pe(h.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Yd=e=>{const{variant:t,color:r,severity:n,classes:i}=e,a={root:["root",`color${G(r||n)}`,`${t}${G(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return $e(a,zd,i)},Kd=J(Eo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${G(r.color||r.severity)}`]]}})(ye(({theme:e})=>{const t=e.palette.mode==="light"?e.darken:e.lighten,r=e.palette.mode==="light"?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(Ve(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${Di.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Ve(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Di.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Ve(["dark"])).map(([n])=>({props:{colorSeverity:n,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${n}FilledColor`],backgroundColor:e.vars.palette.Alert[`${n}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[n].dark:e.palette[n].main,color:e.palette.getContrastText(e.palette[n].main)}}}))]}})),Xd=J("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Zd=J("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),Jd=J("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Qd={success:h.jsx(Wd,{fontSize:"inherit"}),warning:h.jsx(Hd,{fontSize:"inherit"}),error:h.jsx(Ud,{fontSize:"inherit"}),info:h.jsx(qd,{fontSize:"inherit"})},fs=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAlert"}),{action:i,children:a,className:s,closeText:l="Close",color:c,components:u={},componentsProps:p={},icon:m,iconMapping:y=Qd,onClose:b,role:g="alert",severity:d="success",slotProps:C={},slots:T={},variant:R="standard",...S}=n,v={...n,color:c,severity:d,variant:R,colorSeverity:c||d},x=Yd(v),w={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...T},slotProps:{...p,...C}},[P,I]=ge("root",{ref:r,shouldForwardComponentProp:!0,className:se(x.root,s),elementType:Kd,externalForwardedProps:{...w,...S},ownerState:v,additionalProps:{role:g,elevation:0}}),[M,z]=ge("icon",{className:x.icon,elementType:Xd,externalForwardedProps:w,ownerState:v}),[B,f]=ge("message",{className:x.message,elementType:Zd,externalForwardedProps:w,ownerState:v}),[k,$]=ge("action",{className:x.action,elementType:Jd,externalForwardedProps:w,ownerState:v}),[A,j]=ge("closeButton",{elementType:Nn,externalForwardedProps:w,ownerState:v}),[V,N]=ge("closeIcon",{elementType:Gd,externalForwardedProps:w,ownerState:v});return h.jsxs(P,{...I,children:[m!==!1?h.jsx(M,{...z,children:m||y[d]}):null,h.jsx(B,{...f,children:a}),i!=null?h.jsx(k,{...$,children:i}):null,i==null&&b?h.jsx(k,{...$,children:h.jsx(A,{size:"small","aria-label":l,title:l,color:"inherit",onClick:b,...j,children:h.jsx(V,{fontSize:"small",...N})})}):null]})});process.env.NODE_ENV!=="production"&&(fs.propTypes={action:o.node,children:o.node,classes:o.object,className:o.string,closeText:o.string,color:o.oneOfType([o.oneOf(["error","info","success","warning"]),o.string]),components:o.shape({CloseButton:o.elementType,CloseIcon:o.elementType}),componentsProps:o.shape({closeButton:o.object,closeIcon:o.object}),icon:o.node,iconMapping:o.shape({error:o.node,info:o.node,success:o.node,warning:o.node}),onClose:o.func,role:o.string,severity:o.oneOfType([o.oneOf(["error","info","success","warning"]),o.string]),slotProps:o.shape({action:o.oneOfType([o.func,o.object]),closeButton:o.oneOfType([o.func,o.object]),closeIcon:o.oneOfType([o.func,o.object]),icon:o.oneOfType([o.func,o.object]),message:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({action:o.elementType,closeButton:o.elementType,closeIcon:o.elementType,icon:o.elementType,message:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["filled","outlined","standard"]),o.string])});function ef(e){return Te("MuiAlertTitle",e)}we("MuiAlertTitle",["root"]);const tf=e=>{const{classes:t}=e;return $e({root:["root"]},ef,t)},rf=J(Fe,{name:"MuiAlertTitle",slot:"Root"})(ye(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),ms=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiAlertTitle"}),{className:i,...a}=n,s=n,l=tf(s);return h.jsx(rf,{gutterBottom:!0,component:"div",ownerState:s,ref:r,className:se(l.root,i),...a})});process.env.NODE_ENV!=="production"&&(ms.propTypes={children:o.node,classes:o.object,className:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const hs=e=>e.scrollTop;function Qt(e,t){const{timeout:r,easing:n,style:i={}}=e;return{duration:i.transitionDuration??(typeof r=="number"?r:r[t.mode]||0),easing:i.transitionTimingFunction??(typeof n=="object"?n[t.mode]:n),delay:i.transitionDelay}}function of(e){return Te("MuiCollapse",e)}we("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const nf=e=>{const{orientation:t,classes:r}=e,n={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return $e(n,of,r)},af=J("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],r.state==="entered"&&t.entered,r.state==="exited"&&!r.in&&r.collapsedSize==="0px"&&t.hidden]}})(ye(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),sf=J("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),lf=J("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),to=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiCollapse"}),{addEndListener:i,children:a,className:s,collapsedSize:l="0px",component:c,easing:u,in:p,onEnter:m,onEntered:y,onEntering:b,onExit:g,onExited:d,onExiting:C,orientation:T="vertical",slots:R={},slotProps:S={},style:v,timeout:x=Ca.standard,TransitionComponent:w=lt,...P}=n,I={...n,orientation:T,collapsedSize:l},M=nf(I),z=Ge(),B=Dt(),f=E.useRef(null),k=E.useRef(),$=typeof l=="number"?`${l}px`:l,A=T==="horizontal",j=A?"width":"height",V=E.useRef(null),N=Le(r,V),L=te=>Ee=>{if(te){const me=V.current;Ee===void 0?te(me):te(me,Ee)}},O=()=>f.current?f.current[A?"clientWidth":"clientHeight"]:0,_=L((te,Ee)=>{f.current&&A&&(f.current.style.position="absolute"),te.style[j]=$,m&&m(te,Ee)}),U=L((te,Ee)=>{const me=O();f.current&&A&&(f.current.style.position="");const{duration:he,easing:Ae}=Qt({style:v,timeout:x,easing:u},{mode:"enter"});if(x==="auto"){const je=z.transitions.getAutoHeightDuration(me);te.style.transitionDuration=`${je}ms`,k.current=je}else te.style.transitionDuration=typeof he=="string"?he:`${he}ms`;te.style[j]=`${me}px`,te.style.transitionTimingFunction=Ae,b&&b(te,Ee)}),H=L((te,Ee)=>{te.style[j]="auto",y&&y(te,Ee)}),Y=L(te=>{te.style[j]=`${O()}px`,g&&g(te)}),Z=L(d),Q=L(te=>{const Ee=O(),{duration:me,easing:he}=Qt({style:v,timeout:x,easing:u},{mode:"exit"});if(x==="auto"){const Ae=z.transitions.getAutoHeightDuration(Ee);te.style.transitionDuration=`${Ae}ms`,k.current=Ae}else te.style.transitionDuration=typeof me=="string"?me:`${me}ms`;te.style[j]=$,te.style.transitionTimingFunction=he,C&&C(te)}),ee=te=>{x==="auto"&&B.start(k.current||0,te),i&&i(V.current,te)},X={slots:R,slotProps:S,component:c},[ne,q]=ge("root",{ref:N,className:se(M.root,s),elementType:af,externalForwardedProps:X,ownerState:I,additionalProps:{style:{[A?"minWidth":"minHeight"]:$,...v}}}),[oe,F]=ge("wrapper",{ref:f,className:M.wrapper,elementType:sf,externalForwardedProps:X,ownerState:I}),[ce,ie]=ge("wrapperInner",{className:M.wrapperInner,elementType:lf,externalForwardedProps:X,ownerState:I});return h.jsx(w,{in:p,onEnter:_,onEntered:H,onEntering:U,onExit:Y,onExited:Z,onExiting:Q,addEndListener:ee,nodeRef:V,timeout:x==="auto"?null:x,...P,children:(te,{ownerState:Ee,...me})=>{const he={...I,state:te};return h.jsx(ne,{...q,className:se(q.className,{entered:M.entered,exited:!p&&$==="0px"&&M.hidden}[te]),ownerState:he,...me,children:h.jsx(oe,{...F,ownerState:he,children:h.jsx(ce,{...ie,ownerState:he,children:a})})})}})});process.env.NODE_ENV!=="production"&&(to.propTypes={addEndListener:o.func,children:o.node,classes:o.object,className:o.string,collapsedSize:o.oneOfType([o.number,o.string]),component:xo,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,orientation:o.oneOf(["horizontal","vertical"]),slotProps:o.shape({root:o.oneOfType([o.func,o.object]),wrapper:o.oneOfType([o.func,o.object]),wrapperInner:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType,wrapper:o.elementType,wrapperInner:o.elementType}),style:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});to&&(to.muiSupportAuto=!0);const gs=({variante:e="info",diseno:t="estandar",titulo:r,descripcion:n,cerrable:i=!1,abierto:a=!0,alCerrar:s,tiempoAutoCierre:l,accion:c,icono:u,children:p,sx:m,...y})=>{const b=Ge(),[g,d]=le.useState(a);le.useEffect(()=>{d(a)},[a]),le.useEffect(()=>{if(l&&l>0&&g){const x=setTimeout(()=>{s?.(),d(!1)},l);return()=>clearTimeout(x)}},[l,g,s]);const C=x=>{switch(x){case"peligro":return"error";case"exito":return"success";case"advertencia":return"warning";default:return"info"}},T=x=>{switch(x){case"lleno":return"filled";case"contorno":return"outlined";default:return"standard"}},R=x=>{switch(x){case"success":return b.palette.success.main;case"warning":return b.palette.warning.main;case"error":return b.palette.error.main;default:return b.palette.info.main}},S=()=>{if(t!=="suave")return{};const x=R(C(e));return{backgroundColor:re.alpha(x,.12),color:x,"& .MuiAlert-icon":{color:x},"& .MuiAlertTitle-root":{color:x}}},v=()=>{s?.(),d(!1)};return h.jsx(to,{in:g,children:h.jsxs(fs,{severity:C(e),variant:T(t),onClose:i||s?v:void 0,icon:u,action:c,sx:[{borderRadius:"12px",mb:2,border:t==="contorno"?"1px solid":void 0,boxShadow:t==="lleno"?b.shadows[4]:b.shadows[1],alignItems:"center",...S(),"& .MuiAlertTitle-root":{fontWeight:700,mb:n||p?.5:0,fontSize:"0.95rem",lineHeight:1.4},"& .MuiAlert-message":{width:"100%",padding:0,display:"flex",flexDirection:"column",justifyContent:"center"},"& .MuiAlert-icon":{padding:0,mr:1.5,opacity:t==="suave"?1:.9}},...Array.isArray(m)?m:m?[m]:[]],...y,children:[r&&h.jsx(ms,{children:r}),n&&h.jsx(de,{component:"div",sx:{opacity:.9},children:n}),p]})})},cf=gs;function uf(e){return Te("MuiLinearProgress",e)}we("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const un=4,pn=re.keyframes`
195
195
  0% {
196
196
  left: -35%;
197
197
  right: 100%;
@@ -206,7 +206,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
206
206
  left: 100%;
207
207
  right: -90%;
208
208
  }
209
- `,df=typeof pn!="string"?re.css`
209
+ `,pf=typeof pn!="string"?re.css`
210
210
  animation: ${pn} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
211
211
  `:null,dn=re.keyframes`
212
212
  0% {
@@ -223,7 +223,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
223
223
  left: 107%;
224
224
  right: -8%;
225
225
  }
226
- `,ff=typeof dn!="string"?re.css`
226
+ `,df=typeof dn!="string"?re.css`
227
227
  animation: ${dn} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
228
228
  `:null,fn=re.keyframes`
229
229
  0% {
@@ -240,33 +240,33 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
240
240
  opacity: 1;
241
241
  background-position: -200px -23px;
242
242
  }
243
- `,mf=typeof fn!="string"?re.css`
243
+ `,ff=typeof fn!="string"?re.css`
244
244
  animation: ${fn} 3s infinite linear;
245
- `:null,hf=e=>{const{classes:t,variant:r,color:n}=e,i={root:["root",`color${G(n)}`,r],dashed:["dashed",`dashedColor${G(n)}`],bar1:["bar","bar1",`barColor${G(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",r!=="buffer"&&`barColor${G(n)}`,r==="buffer"&&`color${G(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return $e(i,pf,t)},Bn=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),gf=J("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${G(r.color)}`],t[r.variant]]}})(ye(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{backgroundColor:Bn(e,t)}})),{props:({ownerState:t})=>t.color==="inherit"&&t.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),yf=J("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${G(r.color)}`]]}})(ye(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>{const r=Bn(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}})]})),mf||{animation:`${fn} 3s infinite linear`}),bf=J("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t.bar1,t[`barColor${G(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar1Indeterminate,r.variant==="determinate"&&t.bar1Determinate,r.variant==="buffer"&&t.bar1Buffer]}})(ye(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:`transform .${un}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${un}s linear`}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:df||{animation:`${pn} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),vf=J("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t.bar2,t[`barColor${G(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar2Indeterminate,r.variant==="buffer"&&t.bar2Buffer]}})(ye(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:t})=>t.variant!=="buffer"&&t.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:t})=>t.variant!=="buffer"&&t.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Bn(e,t),transition:`transform .${un}s linear`}})),{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:ff||{animation:`${dn} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Dn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:s,valueBuffer:l,variant:c="indeterminate",...u}=n,p={...n,color:a,variant:c},m=hf(p),y=bo(),b={},g={bar1:{},bar2:{}};if(c==="determinate"||c==="buffer")if(s!==void 0){b["aria-valuenow"]=Math.round(s),b["aria-valuemin"]=0,b["aria-valuemax"]=100;let d=s-100;y&&(d=-d),g.bar1.transform=`translateX(${d}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(c==="buffer")if(l!==void 0){let d=(l||0)-100;y&&(d=-d),g.bar2.transform=`translateX(${d}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return h.jsxs(gf,{className:se(m.root,i),ownerState:p,role:"progressbar",...b,ref:r,...u,children:[c==="buffer"?h.jsx(yf,{className:m.dashed,ownerState:p}):null,h.jsx(bf,{className:m.bar1,ownerState:p,style:g.bar1}),c==="determinate"?null:h.jsx(vf,{className:m.bar2,ownerState:p,style:g.bar2})]})});process.env.NODE_ENV!=="production"&&(Dn.propTypes={classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.number,valueBuffer:o.number,variant:o.oneOf(["buffer","determinate","indeterminate","query"])});const bs=({valor:e=0,maximo:t=100,etiqueta:r,mostrarPorcentaje:n=!1,etiquetaInterna:i=!1,indeterminado:a=!1,tamano:s="md",variante:l="primario",rayado:c=!1,animado:u=!1,colorPersonalizado:p,className:m="",sx:y,...b})=>{const g=Ge(),C={xs:4,sm:8,md:12,lg:16,xl:24}[s]||12,R={primario:"primary",secundario:"secondary",error:"error",info:"info",exito:"success",advertencia:"warning"}[l]||"primary",S=Math.min(100,Math.max(0,e/t*100)),v=g.palette.mode==="dark"?"rgba(0,0,0,0.15)":"rgba(255,255,255,0.3)",x=c||u?{backgroundImage:`linear-gradient(45deg,${v} 25%,transparent 25%,transparent 50%,${v} 50%,${v} 75%,transparent 75%,transparent)`,backgroundSize:"1rem 1rem",...u&&{animation:"progreso-rayas 1s linear infinite","@keyframes progreso-rayas":{"0%":{backgroundPosition:"1rem 0"},"100%":{backgroundPosition:"0 0"}}}}:{},w={color:g.palette.getContrastText(p||g.palette[R==="inherit"?"primary":R].main),fontWeight:"bold",fontSize:"0.75rem",lineHeight:1,textShadow:"0 1px 2px rgba(0,0,0,0.2)"};return h.jsxs(de,{width:"100%",className:m,children:[!i&&(r||n)&&h.jsxs(de,{display:"flex",justifyContent:"space-between",mb:.5,alignItems:"center",children:[r&&h.jsx(Fe,{variant:"body2",color:"text.secondary",fontWeight:500,children:r}),n&&h.jsx(Fe,{variant:"body2",color:"text.secondary",fontWeight:600,children:a?"":`${Math.round(S)}%`})]}),h.jsxs(de,{position:"relative",width:"100%",children:[h.jsx(Dn,{variant:a?"indeterminate":"determinate",value:S,color:R,sx:{height:C,borderRadius:C/2,backgroundColor:g.palette.mode==="dark"?re.alpha(g.palette.common.white,.08):re.alpha(g.palette.common.black,.08),"& .MuiLinearProgress-bar":{borderRadius:C/2,...p&&{backgroundColor:p},...x},...y},...b}),i&&!a&&C>=12&&h.jsx(de,{position:"absolute",top:0,left:0,bottom:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,sx:{pointerEvents:"none"},children:h.jsxs(Fe,{variant:"caption",sx:w,children:[r," ",n?`${Math.round(S)}%`:""]})})]})]})},xf=bs,Cf={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Tf=Pe(h.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),wf=Pe(h.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function Ef(e){return Te("MuiRating",e)}const sr=we("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function Sf(e){const t=e.toString().split(".")[1];return t?t.length:0}function Wo(e,t){if(e==null)return e;const r=Math.round(e/t)*t;return Number(r.toFixed(Sf(t)))}const Of=e=>{const{classes:t,size:r,readOnly:n,disabled:i,emptyValueFocused:a,focusVisible:s}=e,l={root:["root",`size${G(r)}`,i&&"disabled",s&&"focusVisible",n&&"readOnly"],label:["label","pristine"],labelEmptyValue:[a&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return $e(l,Ef,t)},Rf=J("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${sr.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${G(r.size)}`],r.readOnly&&t.readOnly]}})(ye(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${sr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${sr.focusVisible} .${sr.iconActive}`]:{outline:"1px solid #999"},[`& .${sr.visuallyHidden}`]:Cf,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:t})=>t.readOnly,style:{pointerEvents:"none"}}]}))),vs=J("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),Pf=J("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.iconEmpty&&t.iconEmpty,r.iconFilled&&t.iconFilled,r.iconHover&&t.iconHover,r.iconFocus&&t.iconFocus,r.iconActive&&t.iconActive]}})(ye(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:t})=>t.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:t})=>t.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),$f=J("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>ka(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:r}=e;return[t.decimal,r&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function xs(e){const{value:t,...r}=e;return h.jsx("span",{...r})}process.env.NODE_ENV!=="production"&&(xs.propTypes={value:o.number.isRequired});function mn(e){const{classes:t,disabled:r,emptyIcon:n,focus:i,getLabelText:a,highlightSelectedOnly:s,hover:l,icon:c,IconContainerComponent:u,isActive:p,itemValue:m,labelProps:y,name:b,onBlur:g,onChange:d,onClick:C,onFocus:T,readOnly:R,ownerState:S,ratingValue:v,ratingValueRounded:x,slots:w={},slotProps:P={}}=e,I=s?m===v:m<=v,M=m<=l,z=m<=i,B=m===x,f=`${b}-${Pr()}`,k={slots:w,slotProps:P},[$,A]=ge("icon",{elementType:Pf,className:se(t.icon,I?t.iconFilled:t.iconEmpty,M&&t.iconHover,z&&t.iconFocus,p&&t.iconActive),externalForwardedProps:k,ownerState:{...S,iconEmpty:!I,iconFilled:I,iconHover:M,iconFocus:z,iconActive:p},additionalProps:{value:m},internalForwardedProps:{as:u}}),[j,V]=ge("label",{elementType:vs,externalForwardedProps:k,ownerState:{...S,emptyValueFocused:void 0},additionalProps:{style:y?.style,htmlFor:f}}),N=h.jsx($,{...A,children:n&&!I?n:c});return R?h.jsx("span",{...y,children:N}):h.jsxs(E.Fragment,{children:[h.jsxs(j,{...V,children:[N,h.jsx("span",{className:t.visuallyHidden,children:a(m)})]}),h.jsx("input",{className:t.visuallyHidden,onFocus:T,onBlur:g,onChange:d,onClick:C,disabled:r,value:m,id:f,type:"radio",name:b,checked:B})]})}process.env.NODE_ENV!=="production"&&(mn.propTypes={classes:o.object.isRequired,disabled:o.bool.isRequired,emptyIcon:o.node,focus:o.number.isRequired,getLabelText:o.func.isRequired,highlightSelectedOnly:o.bool.isRequired,hover:o.number.isRequired,icon:o.node,IconContainerComponent:o.elementType.isRequired,isActive:o.bool.isRequired,itemValue:o.number.isRequired,labelProps:o.object,name:o.string,onBlur:o.func.isRequired,onChange:o.func.isRequired,onClick:o.func.isRequired,onFocus:o.func.isRequired,ownerState:o.object.isRequired,ratingValue:o.number,ratingValueRounded:o.number,readOnly:o.bool.isRequired,slotProps:o.object,slots:o.object});const jf=h.jsx(Tf,{fontSize:"inherit"}),kf=h.jsx(wf,{fontSize:"inherit"});function Af(e){return`${e||"0"} Star${e!==1?"s":""}`}const Cs=E.forwardRef(function(t,r){const n=Re({name:"MuiRating",props:t}),{component:i="span",className:a,defaultValue:s=null,disabled:l=!1,emptyIcon:c=kf,emptyLabelText:u="Empty",getLabelText:p=Af,highlightSelectedOnly:m=!1,icon:y=jf,IconContainerComponent:b=xs,max:g=5,name:d,onChange:C,onChangeActive:T,onMouseLeave:R,onMouseMove:S,precision:v=1,readOnly:x=!1,size:w="medium",value:P,slots:I={},slotProps:M={},...z}=n,B=Pr(d),[f,k]=Ia({controlled:P,default:s,name:"Rating"}),$=Wo(f,v),A=bo(),[{hover:j,focus:V},N]=E.useState({hover:-1,focus:-1});let L=$;j!==-1&&(L=j),V!==-1&&(L=V);const[O,_]=E.useState(!1),U=E.useRef(),H=Le(U,r),Y=ae=>{S&&S(ae);const K=U.current,{right:Be,left:ze,width:Ye}=K.getBoundingClientRect();let We;A?We=(Be-ae.clientX)/Ye:We=(ae.clientX-ze)/Ye;let _e=Wo(g*We+v/2,v);_e=ma(_e,v,g),N(He=>He.hover===_e&&He.focus===_e?He:{hover:_e,focus:_e}),_(!1),T&&j!==_e&&T(ae,_e)},Z=ae=>{R&&R(ae);const K=-1;N({hover:K,focus:K}),T&&j!==K&&T(ae,K)},Q=ae=>{let K=ae.target.value===""?null:parseFloat(ae.target.value);j!==-1&&(K=j),k(K),C&&C(ae,K)},ee=ae=>{ae.clientX===0&&ae.clientY===0||(N({hover:-1,focus:-1}),k(null),C&&parseFloat(ae.target.value)===$&&C(ae,null))},X=ae=>{Jt(ae.target)&&_(!0);const K=parseFloat(ae.target.value);N(Be=>({hover:Be.hover,focus:K}))},ne=ae=>{if(j!==-1)return;Jt(ae.target)||_(!1);const K=-1;N(Be=>({hover:Be.hover,focus:K}))},[q,oe]=E.useState(!1),F={...n,component:i,defaultValue:s,disabled:l,emptyIcon:c,emptyLabelText:u,emptyValueFocused:q,focusVisible:O,getLabelText:p,icon:y,IconContainerComponent:b,max:g,precision:v,readOnly:x,size:w},ce=Of(F),ie={slots:I,slotProps:M},[te,Ee]=ge("root",{ref:H,className:se(ce.root,a),elementType:Rf,externalForwardedProps:{...ie,...z,component:i},getSlotProps:ae=>({...ae,onMouseMove:K=>{Y(K),ae.onMouseMove?.(K)},onMouseLeave:K=>{Z(K),ae.onMouseLeave?.(K)}}),ownerState:F,additionalProps:{role:x?"img":null,"aria-label":x?p(L):null}}),[me,he]=ge("label",{className:se(ce.label,ce.labelEmptyValue),elementType:vs,externalForwardedProps:ie,ownerState:F}),[Ae,je]=ge("decimal",{className:ce.decimal,elementType:$f,externalForwardedProps:ie,ownerState:F});return h.jsxs(te,{...Ee,children:[Array.from(new Array(g)).map((ae,K)=>{const Be=K+1,ze={classes:ce,disabled:l,emptyIcon:c,focus:V,getLabelText:p,highlightSelectedOnly:m,hover:j,icon:y,IconContainerComponent:b,name:B,onBlur:ne,onChange:Q,onClick:ee,onFocus:X,ratingValue:L,ratingValueRounded:$,readOnly:x,ownerState:F,slots:I,slotProps:M},Ye=Be===Math.ceil(L)&&(j!==-1||V!==-1);if(v<1){const We=Array.from(new Array(1/v));return le.createElement(Ae,{...je,key:Be,className:se(je.className,Ye&&ce.iconActive),iconActive:Ye},We.map((_e,He)=>{const Ke=Wo(Be-1+(He+1)*v,v);return h.jsx(mn,{...ze,isActive:!1,itemValue:Ke,labelProps:{style:We.length-1===He?{}:{width:Ke===L?`${(He+1)*v*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Ke)}))}return h.jsx(mn,{...ze,isActive:Ye,itemValue:Be},Be)}),!x&&!l&&h.jsxs(me,{...he,children:[h.jsx("input",{className:ce.visuallyHidden,value:"",id:`${B}-empty`,type:"radio",name:B,checked:$==null,onFocus:()=>oe(!0),onBlur:()=>oe(!1),onChange:Q}),h.jsx("span",{className:ce.visuallyHidden,children:u})]})]})});process.env.NODE_ENV!=="production"&&(Cs.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,defaultValue:o.number,disabled:o.bool,emptyIcon:o.node,emptyLabelText:o.node,getLabelText:o.func,highlightSelectedOnly:o.bool,icon:o.node,IconContainerComponent:o.elementType,max:o.number,name:o.string,onChange:o.func,onChangeActive:o.func,onMouseLeave:o.func,onMouseMove:o.func,precision:it(o.number,e=>e.precision<.1?new Error(["MUI: The prop `precision` should be above 0.1.","A value below this limit has an imperceptible impact."].join(`
246
- `)):null),readOnly:o.bool,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),slotProps:o.shape({decimal:o.oneOfType([o.func,o.object]),icon:o.oneOfType([o.func,o.object]),label:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({decimal:o.elementType,icon:o.elementType,label:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.number});const Mf=re.keyframes`
245
+ `:null,mf=e=>{const{classes:t,variant:r,color:n}=e,i={root:["root",`color${G(n)}`,r],dashed:["dashed",`dashedColor${G(n)}`],bar1:["bar","bar1",`barColor${G(n)}`,(r==="indeterminate"||r==="query")&&"bar1Indeterminate",r==="determinate"&&"bar1Determinate",r==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",r!=="buffer"&&`barColor${G(n)}`,r==="buffer"&&`color${G(n)}`,(r==="indeterminate"||r==="query")&&"bar2Indeterminate",r==="buffer"&&"bar2Buffer"]};return $e(i,uf,t)},Bn=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.5),hf=J("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${G(r.color)}`],t[r.variant]]}})(ye(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{backgroundColor:Bn(e,t)}})),{props:({ownerState:t})=>t.color==="inherit"&&t.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),gf=J("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${G(r.color)}`]]}})(ye(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>{const r=Bn(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`}}})]})),ff||{animation:`${fn} 3s infinite linear`}),yf=J("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t.bar1,t[`barColor${G(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar1Indeterminate,r.variant==="determinate"&&t.bar1Determinate,r.variant==="buffer"&&t.bar1Buffer]}})(ye(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:`transform .${un}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${un}s linear`}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:pf||{animation:`${pn} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),bf=J("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t.bar2,t[`barColor${G(r.color)}`],(r.variant==="indeterminate"||r.variant==="query")&&t.bar2Indeterminate,r.variant==="buffer"&&t.bar2Buffer]}})(ye(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:t})=>t.variant!=="buffer"&&t.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:t})=>t.variant!=="buffer"&&t.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(Ve()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Bn(e,t),transition:`transform .${un}s linear`}})),{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:{width:"auto"}},{props:({ownerState:t})=>t.variant==="indeterminate"||t.variant==="query",style:df||{animation:`${dn} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Dn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiLinearProgress"}),{className:i,color:a="primary",value:s,valueBuffer:l,variant:c="indeterminate",...u}=n,p={...n,color:a,variant:c},m=mf(p),y=bo(),b={},g={bar1:{},bar2:{}};if(c==="determinate"||c==="buffer")if(s!==void 0){b["aria-valuenow"]=Math.round(s),b["aria-valuemin"]=0,b["aria-valuemax"]=100;let d=s-100;y&&(d=-d),g.bar1.transform=`translateX(${d}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(c==="buffer")if(l!==void 0){let d=(l||0)-100;y&&(d=-d),g.bar2.transform=`translateX(${d}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return h.jsxs(hf,{className:se(m.root,i),ownerState:p,role:"progressbar",...b,ref:r,...u,children:[c==="buffer"?h.jsx(gf,{className:m.dashed,ownerState:p}):null,h.jsx(yf,{className:m.bar1,ownerState:p,style:g.bar1}),c==="determinate"?null:h.jsx(bf,{className:m.bar2,ownerState:p,style:g.bar2})]})});process.env.NODE_ENV!=="production"&&(Dn.propTypes={classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.number,valueBuffer:o.number,variant:o.oneOf(["buffer","determinate","indeterminate","query"])});const ys=({valor:e=0,maximo:t=100,etiqueta:r,mostrarPorcentaje:n=!1,etiquetaInterna:i=!1,indeterminado:a=!1,tamano:s="md",variante:l="primario",rayado:c=!1,animado:u=!1,colorPersonalizado:p,className:m="",sx:y,...b})=>{const g=Ge(),C={xs:4,sm:8,md:12,lg:16,xl:24}[s]||12,R={primario:"primary",secundario:"secondary",error:"error",info:"info",exito:"success",advertencia:"warning"}[l]||"primary",S=Math.min(100,Math.max(0,e/t*100)),v=g.palette.mode==="dark"?"rgba(0,0,0,0.15)":"rgba(255,255,255,0.3)",x=c||u?{backgroundImage:`linear-gradient(45deg,${v} 25%,transparent 25%,transparent 50%,${v} 50%,${v} 75%,transparent 75%,transparent)`,backgroundSize:"1rem 1rem",...u&&{animation:"progreso-rayas 1s linear infinite","@keyframes progreso-rayas":{"0%":{backgroundPosition:"1rem 0"},"100%":{backgroundPosition:"0 0"}}}}:{},w={color:g.palette.getContrastText(p||g.palette[R==="inherit"?"primary":R].main),fontWeight:"bold",fontSize:"0.75rem",lineHeight:1,textShadow:"0 1px 2px rgba(0,0,0,0.2)"};return h.jsxs(de,{width:"100%",className:m,children:[!i&&(r||n)&&h.jsxs(de,{display:"flex",justifyContent:"space-between",mb:.5,alignItems:"center",children:[r&&h.jsx(Fe,{variant:"body2",color:"text.secondary",fontWeight:500,children:r}),n&&h.jsx(Fe,{variant:"body2",color:"text.secondary",fontWeight:600,children:a?"":`${Math.round(S)}%`})]}),h.jsxs(de,{position:"relative",width:"100%",children:[h.jsx(Dn,{variant:a?"indeterminate":"determinate",value:S,color:R,sx:{height:C,borderRadius:C/2,backgroundColor:g.palette.mode==="dark"?re.alpha(g.palette.common.white,.08):re.alpha(g.palette.common.black,.08),"& .MuiLinearProgress-bar":{borderRadius:C/2,...p&&{backgroundColor:p},...x},...y},...b}),i&&!a&&C>=12&&h.jsx(de,{position:"absolute",top:0,left:0,bottom:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,sx:{pointerEvents:"none"},children:h.jsxs(Fe,{variant:"caption",sx:w,children:[r," ",n?`${Math.round(S)}%`:""]})})]})]})},vf=ys,xf={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Cf=Pe(h.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),Tf=Pe(h.jsx("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder");function wf(e){return Te("MuiRating",e)}const sr=we("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function Ef(e){const t=e.toString().split(".")[1];return t?t.length:0}function Wo(e,t){if(e==null)return e;const r=Math.round(e/t)*t;return Number(r.toFixed(Ef(t)))}const Sf=e=>{const{classes:t,size:r,readOnly:n,disabled:i,emptyValueFocused:a,focusVisible:s}=e,l={root:["root",`size${G(r)}`,i&&"disabled",s&&"focusVisible",n&&"readOnly"],label:["label","pristine"],labelEmptyValue:[a&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return $e(l,wf,t)},Of=J("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${sr.visuallyHidden}`]:t.visuallyHidden},t.root,t[`size${G(r.size)}`],r.readOnly&&t.readOnly]}})(ye(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${sr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${sr.focusVisible} .${sr.iconActive}`]:{outline:"1px solid #999"},[`& .${sr.visuallyHidden}`]:xf,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:t})=>t.readOnly,style:{pointerEvents:"none"}}]}))),bs=J("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},t)=>[t.label,e.emptyValueFocused&&t.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),Rf=J("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.iconEmpty&&t.iconEmpty,r.iconFilled&&t.iconFilled,r.iconHover&&t.iconHover,r.iconFocus&&t.iconFocus,r.iconActive&&t.iconActive]}})(ye(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:t})=>t.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:t})=>t.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),Pf=J("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>ja(e)&&e!=="iconActive",overridesResolver:(e,t)=>{const{iconActive:r}=e;return[t.decimal,r&&t.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function vs(e){const{value:t,...r}=e;return h.jsx("span",{...r})}process.env.NODE_ENV!=="production"&&(vs.propTypes={value:o.number.isRequired});function mn(e){const{classes:t,disabled:r,emptyIcon:n,focus:i,getLabelText:a,highlightSelectedOnly:s,hover:l,icon:c,IconContainerComponent:u,isActive:p,itemValue:m,labelProps:y,name:b,onBlur:g,onChange:d,onClick:C,onFocus:T,readOnly:R,ownerState:S,ratingValue:v,ratingValueRounded:x,slots:w={},slotProps:P={}}=e,I=s?m===v:m<=v,M=m<=l,z=m<=i,B=m===x,f=`${b}-${Pr()}`,k={slots:w,slotProps:P},[$,A]=ge("icon",{elementType:Rf,className:se(t.icon,I?t.iconFilled:t.iconEmpty,M&&t.iconHover,z&&t.iconFocus,p&&t.iconActive),externalForwardedProps:k,ownerState:{...S,iconEmpty:!I,iconFilled:I,iconHover:M,iconFocus:z,iconActive:p},additionalProps:{value:m},internalForwardedProps:{as:u}}),[j,V]=ge("label",{elementType:bs,externalForwardedProps:k,ownerState:{...S,emptyValueFocused:void 0},additionalProps:{style:y?.style,htmlFor:f}}),N=h.jsx($,{...A,children:n&&!I?n:c});return R?h.jsx("span",{...y,children:N}):h.jsxs(E.Fragment,{children:[h.jsxs(j,{...V,children:[N,h.jsx("span",{className:t.visuallyHidden,children:a(m)})]}),h.jsx("input",{className:t.visuallyHidden,onFocus:T,onBlur:g,onChange:d,onClick:C,disabled:r,value:m,id:f,type:"radio",name:b,checked:B})]})}process.env.NODE_ENV!=="production"&&(mn.propTypes={classes:o.object.isRequired,disabled:o.bool.isRequired,emptyIcon:o.node,focus:o.number.isRequired,getLabelText:o.func.isRequired,highlightSelectedOnly:o.bool.isRequired,hover:o.number.isRequired,icon:o.node,IconContainerComponent:o.elementType.isRequired,isActive:o.bool.isRequired,itemValue:o.number.isRequired,labelProps:o.object,name:o.string,onBlur:o.func.isRequired,onChange:o.func.isRequired,onClick:o.func.isRequired,onFocus:o.func.isRequired,ownerState:o.object.isRequired,ratingValue:o.number,ratingValueRounded:o.number,readOnly:o.bool.isRequired,slotProps:o.object,slots:o.object});const $f=h.jsx(Cf,{fontSize:"inherit"}),jf=h.jsx(Tf,{fontSize:"inherit"});function kf(e){return`${e||"0"} Star${e!==1?"s":""}`}const xs=E.forwardRef(function(t,r){const n=Re({name:"MuiRating",props:t}),{component:i="span",className:a,defaultValue:s=null,disabled:l=!1,emptyIcon:c=jf,emptyLabelText:u="Empty",getLabelText:p=kf,highlightSelectedOnly:m=!1,icon:y=$f,IconContainerComponent:b=vs,max:g=5,name:d,onChange:C,onChangeActive:T,onMouseLeave:R,onMouseMove:S,precision:v=1,readOnly:x=!1,size:w="medium",value:P,slots:I={},slotProps:M={},...z}=n,B=Pr(d),[f,k]=Ma({controlled:P,default:s,name:"Rating"}),$=Wo(f,v),A=bo(),[{hover:j,focus:V},N]=E.useState({hover:-1,focus:-1});let L=$;j!==-1&&(L=j),V!==-1&&(L=V);const[O,_]=E.useState(!1),U=E.useRef(),H=Le(U,r),Y=ae=>{S&&S(ae);const K=U.current,{right:Be,left:ze,width:Ye}=K.getBoundingClientRect();let We;A?We=(Be-ae.clientX)/Ye:We=(ae.clientX-ze)/Ye;let _e=Wo(g*We+v/2,v);_e=fa(_e,v,g),N(He=>He.hover===_e&&He.focus===_e?He:{hover:_e,focus:_e}),_(!1),T&&j!==_e&&T(ae,_e)},Z=ae=>{R&&R(ae);const K=-1;N({hover:K,focus:K}),T&&j!==K&&T(ae,K)},Q=ae=>{let K=ae.target.value===""?null:parseFloat(ae.target.value);j!==-1&&(K=j),k(K),C&&C(ae,K)},ee=ae=>{ae.clientX===0&&ae.clientY===0||(N({hover:-1,focus:-1}),k(null),C&&parseFloat(ae.target.value)===$&&C(ae,null))},X=ae=>{Jt(ae.target)&&_(!0);const K=parseFloat(ae.target.value);N(Be=>({hover:Be.hover,focus:K}))},ne=ae=>{if(j!==-1)return;Jt(ae.target)||_(!1);const K=-1;N(Be=>({hover:Be.hover,focus:K}))},[q,oe]=E.useState(!1),F={...n,component:i,defaultValue:s,disabled:l,emptyIcon:c,emptyLabelText:u,emptyValueFocused:q,focusVisible:O,getLabelText:p,icon:y,IconContainerComponent:b,max:g,precision:v,readOnly:x,size:w},ce=Sf(F),ie={slots:I,slotProps:M},[te,Ee]=ge("root",{ref:H,className:se(ce.root,a),elementType:Of,externalForwardedProps:{...ie,...z,component:i},getSlotProps:ae=>({...ae,onMouseMove:K=>{Y(K),ae.onMouseMove?.(K)},onMouseLeave:K=>{Z(K),ae.onMouseLeave?.(K)}}),ownerState:F,additionalProps:{role:x?"img":null,"aria-label":x?p(L):null}}),[me,he]=ge("label",{className:se(ce.label,ce.labelEmptyValue),elementType:bs,externalForwardedProps:ie,ownerState:F}),[Ae,je]=ge("decimal",{className:ce.decimal,elementType:Pf,externalForwardedProps:ie,ownerState:F});return h.jsxs(te,{...Ee,children:[Array.from(new Array(g)).map((ae,K)=>{const Be=K+1,ze={classes:ce,disabled:l,emptyIcon:c,focus:V,getLabelText:p,highlightSelectedOnly:m,hover:j,icon:y,IconContainerComponent:b,name:B,onBlur:ne,onChange:Q,onClick:ee,onFocus:X,ratingValue:L,ratingValueRounded:$,readOnly:x,ownerState:F,slots:I,slotProps:M},Ye=Be===Math.ceil(L)&&(j!==-1||V!==-1);if(v<1){const We=Array.from(new Array(1/v));return le.createElement(Ae,{...je,key:Be,className:se(je.className,Ye&&ce.iconActive),iconActive:Ye},We.map((_e,He)=>{const Ke=Wo(Be-1+(He+1)*v,v);return h.jsx(mn,{...ze,isActive:!1,itemValue:Ke,labelProps:{style:We.length-1===He?{}:{width:Ke===L?`${(He+1)*v*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Ke)}))}return h.jsx(mn,{...ze,isActive:Ye,itemValue:Be},Be)}),!x&&!l&&h.jsxs(me,{...he,children:[h.jsx("input",{className:ce.visuallyHidden,value:"",id:`${B}-empty`,type:"radio",name:B,checked:$==null,onFocus:()=>oe(!0),onBlur:()=>oe(!1),onChange:Q}),h.jsx("span",{className:ce.visuallyHidden,children:u})]})]})});process.env.NODE_ENV!=="production"&&(xs.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,defaultValue:o.number,disabled:o.bool,emptyIcon:o.node,emptyLabelText:o.node,getLabelText:o.func,highlightSelectedOnly:o.bool,icon:o.node,IconContainerComponent:o.elementType,max:o.number,name:o.string,onChange:o.func,onChangeActive:o.func,onMouseLeave:o.func,onMouseMove:o.func,precision:it(o.number,e=>e.precision<.1?new Error(["MUI: The prop `precision` should be above 0.1.","A value below this limit has an imperceptible impact."].join(`
246
+ `)):null),readOnly:o.bool,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),slotProps:o.shape({decimal:o.oneOfType([o.func,o.object]),icon:o.oneOfType([o.func,o.object]),label:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({decimal:o.elementType,icon:o.elementType,label:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.number});const Af=re.keyframes`
247
247
  0% { transform: scale(1); }
248
248
  50% { transform: scale(1.2); }
249
249
  100% { transform: scale(1); }
250
- `,If=J(Cs,{shouldForwardProp:e=>e!=="colorPersonalizado"&&e!=="animado"&&e!=="brillo"})(({theme:e,colorPersonalizado:t,animado:r,brillo:n})=>({"& .MuiRating-iconFilled":{color:t,filter:n?`drop-shadow(0 0 2px ${t})`:"none",transition:"transform 0.2s ease-in-out"},"& .MuiRating-iconHover":{color:t,filter:n?`drop-shadow(0 0 4px ${t})`:"none",transform:r?"scale(1.2)":"none"},"& .MuiRating-iconActive":{animation:r?`${Mf} 0.4s ease-out`:"none"}})),Ts=({valor:e,maximo:t=5,precision:r=1,soloLectura:n=!1,deshabilitado:i=!1,tamano:a="m",color:s="advertencia",etiquetas:l,mostrarEtiqueta:c=!1,alCambiar:u,iconoPersonalizado:p,iconoVacioPersonalizado:m,animado:y=!0,brillo:b=!1,className:g,sx:d,...C})=>{const T=Ge(),[R,S]=le.useState(-1),x={p:"small",m:"medium",g:"large",xg:"large"}[a],w=a==="xg"?1.5:1,I={primario:T.palette.primary.main,secundario:T.palette.secondary.main,exito:T.palette.success.main,advertencia:T.palette.warning.main,error:T.palette.error.main,info:T.palette.info.main}[s]||T.palette.warning.main,M=z=>l?l[z]||z:`${z} Estrellas`;return h.jsxs(de,{className:g,sx:{display:"flex",alignItems:"center",gap:1,opacity:i?.5:1,pointerEvents:i?"none":"auto",...d},children:[h.jsx(If,{name:"codeplex-rating",value:e,max:t,precision:r,readOnly:n,disabled:i,size:x,colorPersonalizado:I,animado:y,brillo:b,onChange:(z,B)=>{u&&u(B)},onChangeActive:(z,B)=>{S(B)},icon:p,emptyIcon:m,sx:{transform:`scale(${w})`,transformOrigin:"left center"},...C}),c&&(e!==null||R!==-1)&&h.jsx(Fe,{variant:"body2",color:"text.secondary",sx:{minWidth:20,ml:a==="xg"?2:0,fontWeight:500},children:l?M(R!==-1?R:e||0):R!==-1?R:e})]})},Nf=Ts,ws=({textoAyuda:e,mensajeError:t,valor:r,longitudMaxima:n,mostrarContador:i})=>{const a=W.useTheme(),s=r?.toString().length??0,l=!!t,c=n?s>=n*.9:!1,u=n?s>=n:!1;if(!e&&!t&&!i)return null;const p=l||u?a.palette.error.main:c?a.palette.warning.main:a.palette.text.disabled;return h.jsxs(W.Box,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",mt:.75,px:.5,gap:2},children:[h.jsx(W.Box,{sx:{flex:1,minWidth:0},children:l?h.jsxs(W.Typography,{variant:"caption",fontWeight:500,sx:{color:a.palette.error.main,display:"flex",alignItems:"center",gap:.5},children:[h.jsx(In,{sx:{fontSize:12,flexShrink:0}}),t]}):e?h.jsx(W.Typography,{variant:"caption",color:"text.secondary",sx:{lineHeight:1.3},children:e}):null}),i&&n&&h.jsxs(W.Typography,{variant:"caption",sx:{fontFamily:"monospace",fontWeight:500,color:p,transition:a.transitions.create("color"),fontSize:10},children:[s,"/",n]})]})},Bf=({helperText:e,error:t,value:r,maxLength:n,showCount:i})=>h.jsx(ws,{textoAyuda:e,mensajeError:t,valor:r,longitudMaxima:n,mostrarContador:i});re.keyframes`
250
+ `,Mf=J(xs,{shouldForwardProp:e=>e!=="colorPersonalizado"&&e!=="animado"&&e!=="brillo"})(({theme:e,colorPersonalizado:t,animado:r,brillo:n})=>({"& .MuiRating-iconFilled":{color:t,filter:n?`drop-shadow(0 0 2px ${t})`:"none",transition:"transform 0.2s ease-in-out"},"& .MuiRating-iconHover":{color:t,filter:n?`drop-shadow(0 0 4px ${t})`:"none",transform:r?"scale(1.2)":"none"},"& .MuiRating-iconActive":{animation:r?`${Af} 0.4s ease-out`:"none"}})),Cs=({valor:e,maximo:t=5,precision:r=1,soloLectura:n=!1,deshabilitado:i=!1,tamano:a="m",color:s="advertencia",etiquetas:l,mostrarEtiqueta:c=!1,alCambiar:u,iconoPersonalizado:p,iconoVacioPersonalizado:m,animado:y=!0,brillo:b=!1,className:g,sx:d,...C})=>{const T=Ge(),[R,S]=le.useState(-1),x={p:"small",m:"medium",g:"large",xg:"large"}[a],w=a==="xg"?1.5:1,I={primario:T.palette.primary.main,secundario:T.palette.secondary.main,exito:T.palette.success.main,advertencia:T.palette.warning.main,error:T.palette.error.main,info:T.palette.info.main}[s]||T.palette.warning.main,M=z=>l?l[z]||z:`${z} Estrellas`;return h.jsxs(de,{className:g,sx:{display:"flex",alignItems:"center",gap:1,opacity:i?.5:1,pointerEvents:i?"none":"auto",...d},children:[h.jsx(Mf,{name:"codeplex-rating",value:e,max:t,precision:r,readOnly:n,disabled:i,size:x,colorPersonalizado:I,animado:y,brillo:b,onChange:(z,B)=>{u&&u(B)},onChangeActive:(z,B)=>{S(B)},icon:p,emptyIcon:m,sx:{transform:`scale(${w})`,transformOrigin:"left center"},...C}),c&&(e!==null||R!==-1)&&h.jsx(Fe,{variant:"body2",color:"text.secondary",sx:{minWidth:20,ml:a==="xg"?2:0,fontWeight:500},children:l?M(R!==-1?R:e||0):R!==-1?R:e})]})},If=Cs,Ts=({textoAyuda:e,mensajeError:t,valor:r,longitudMaxima:n,mostrarContador:i})=>{const a=W.useTheme(),s=r?.toString().length??0,l=!!t,c=n?s>=n*.9:!1,u=n?s>=n:!1;if(!e&&!t&&!i)return null;const p=l||u?a.palette.error.main:c?a.palette.warning.main:a.palette.text.disabled;return h.jsxs(W.Box,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",mt:.75,px:.5,gap:2},children:[h.jsx(W.Box,{sx:{flex:1,minWidth:0},children:l?h.jsxs(W.Typography,{variant:"caption",fontWeight:500,sx:{color:a.palette.error.main,display:"flex",alignItems:"center",gap:.5},children:[h.jsx(In,{sx:{fontSize:12,flexShrink:0}}),t]}):e?h.jsx(W.Typography,{variant:"caption",color:"text.secondary",sx:{lineHeight:1.3},children:e}):null}),i&&n&&h.jsxs(W.Typography,{variant:"caption",sx:{fontFamily:"monospace",fontWeight:500,color:p,transition:a.transitions.create("color"),fontSize:10},children:[s,"/",n]})]})},Nf=({helperText:e,error:t,value:r,maxLength:n,showCount:i})=>h.jsx(Ts,{textoAyuda:e,mensajeError:t,valor:r,longitudMaxima:n,mostrarContador:i});re.keyframes`
251
251
  0% { transform: translateX(-100%); }
252
252
  100% { transform: translateX(100%); }
253
- `;const Df=J(An)(({theme:e,colorBase:t})=>({backgroundColor:t||(e.palette.mode==="dark"?re.alpha(e.palette.common.white,.08):re.alpha(e.palette.common.black,.06)),borderRadius:8,"&.MuiSkeleton-text":{marginBottom:4,marginTop:0,borderRadius:4}})),zn=({variante:e="texto",ancho:t,alto:r,animacion:n="pulso",colorBase:i,className:a,...s})=>{const l=u=>u==="texto"?"text":u==="rectangular"?"rectangular":u==="redondeado"?"rounded":u==="circular"?"circular":"text",c=u=>u==="pulso"?"pulse":u==="ola"?"wave":u===!1?!1:"pulse";return h.jsx(Df,{variant:l(e),width:t,height:r,animation:c(n),colorBase:i,className:a,...s})},zf=zn,Ff=zn;function _f(e){return E.Children.toArray(e).filter(t=>E.isValidElement(t))}function Vf(e){return Te("MuiButtonGroup",e)}const pe=we("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),Lf=(e,t)=>{const{ownerState:r}=e;return[{[`& .${pe.grouped}`]:t.grouped},{[`& .${pe.grouped}`]:t[`grouped${G(r.orientation)}`]},{[`& .${pe.grouped}`]:t[`grouped${G(r.variant)}`]},{[`& .${pe.grouped}`]:t[`grouped${G(r.variant)}${G(r.orientation)}`]},{[`& .${pe.grouped}`]:t[`grouped${G(r.variant)}${G(r.color)}`]},{[`& .${pe.firstButton}`]:t.firstButton},{[`& .${pe.lastButton}`]:t.lastButton},{[`& .${pe.middleButton}`]:t.middleButton},t.root,t[r.variant],r.disableElevation===!0&&t.disableElevation,r.fullWidth&&t.fullWidth,r.orientation==="vertical"&&t.vertical]},Wf=e=>{const{classes:t,color:r,disabled:n,disableElevation:i,fullWidth:a,orientation:s,variant:l}=e,c={root:["root",l,s,a&&"fullWidth",i&&"disableElevation",`color${G(r)}`],grouped:["grouped",`grouped${G(s)}`,`grouped${G(l)}`,`grouped${G(l)}${G(s)}`,`grouped${G(l)}${G(r)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return $e(c,Vf,t)},Hf=J("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Lf})(ye(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2],[`& .${pe.grouped}`]:{boxShadow:"none","&:hover":{boxShadow:"none"}}}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${pe.lastButton},& .${pe.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${pe.lastButton},& .${pe.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderRight:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${pe.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottom:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${pe.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve()).flatMap(([t])=>[{props:{variant:"text",color:t},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[t].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${pe.lastButton},& .${pe.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${pe.lastButton},& .${pe.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${pe.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${pe.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve(["dark"])).map(([t])=>({props:{variant:"contained",color:t},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderColor:(e.vars||e).palette[t].dark}}}))],[`& .${pe.grouped}`]:{minWidth:40}}))),Es=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiButtonGroup"}),{children:i,className:a,color:s="primary",component:l="div",disabled:c=!1,disableElevation:u=!1,disableFocusRipple:p=!1,disableRipple:m=!1,fullWidth:y=!1,orientation:b="horizontal",size:g="medium",variant:d="outlined",...C}=n,T={...n,color:s,component:l,disabled:c,disableElevation:u,disableFocusRipple:p,disableRipple:m,fullWidth:y,orientation:b,size:g,variant:d},R=Wf(T),S=E.useMemo(()=>({className:R.grouped,color:s,disabled:c,disableElevation:u,disableFocusRipple:p,disableRipple:m,fullWidth:y,size:g,variant:d}),[s,c,u,p,m,y,g,d,R.grouped]),v=_f(i),x=v.length,w=P=>{const I=P===0,M=P===x-1;return I&&M?"":I?R.firstButton:M?R.lastButton:R.middleButton};return h.jsx(Hf,{as:l,role:"group",className:se(R.root,a),ref:r,ownerState:T,...C,children:h.jsx(Pn.Provider,{value:S,children:v.map((P,I)=>h.jsx($n.Provider,{value:w(I),children:P},I))})})});process.env.NODE_ENV!=="production"&&(Es.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,disableElevation:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,fullWidth:o.bool,orientation:o.oneOf(["horizontal","vertical"]),size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["contained","outlined","text"]),o.string])});const Uf=J(Es,{shouldForwardProp:e=>e!=="separado"&&e!=="radio"&&e!=="varianteCustom"})(({theme:e,separado:t,radio:r,varianteCustom:n})=>({boxShadow:t?"none":e.shadows[2],borderRadius:r||(t?0:12),backgroundColor:n==="cristal"?e.palette.mode==="dark"?re.alpha(e.palette.common.white,.05):re.alpha(e.palette.common.white,.6):"transparent",backdropFilter:n==="cristal"?"blur(8px)":"none",border:n==="cristal"?`1px solid ${e.palette.mode==="dark"?re.alpha(e.palette.common.white,.1):re.alpha(e.palette.common.white,.4)}`:"none",...t&&{boxShadow:"none",backgroundColor:"transparent",border:"none",gap:e.spacing(1),"& .MuiButtonGroup-grouped":{borderRadius:r||8,border:"none !important",boxShadow:e.shadows[1],"&:not(:last-of-type)":{borderRight:"none !important"}}},"& .MuiButtonGroup-firstButton, & .MuiButtonGroup-lastButton":{borderRadius:t?r||8:void 0}})),qf=({children:e,tamano:t="m",variante:r="contenido",color:n="primario",orientacion:i="horizontal",separado:a=!1,radio:s,...l})=>{const c=m=>m==="contenido"?"contained":m==="texto"?"text":m==="contorno"?"outlined":m==="cristal"?"text":"contained",u=m=>m==="primario"?"primary":m==="secundario"?"secondary":m==="exito"?"success":m==="error"?"error":m==="info"?"info":m==="advertencia"?"warning":m==="oscuro"||m==="claro"?"inherit":"primary",p=m=>m==="p"?"small":m==="m"?"medium":m==="g"?"large":"medium";return h.jsx(Uf,{size:p(t),variant:c(r),color:u(n),orientation:i,separado:a,radio:s,varianteCustom:r,...l,children:e})},Gf=({step:e,currentStep:t,totalSteps:r,nextStep:n,prevStep:i,skipTour:a,arrow:s})=>{const l=W.useTheme(),c=(t+1)/r*100,u=t===r-1,p=t===0;return h.jsxs(W.Box,{sx:{position:"relative",bgcolor:"background.paper",borderRadius:3,boxShadow:l.shadows[16],border:"1px solid",borderColor:W.alpha(l.palette.primary.main,.2),maxWidth:420,minWidth:300,overflow:"hidden"},children:[h.jsx(W.LinearProgress,{variant:"determinate",value:c,sx:{height:3,bgcolor:W.alpha(l.palette.primary.main,.08),"& .MuiLinearProgress-bar":{bgcolor:"primary.main",borderRadius:0}}}),h.jsxs(W.Box,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",px:2.5,pt:2,pb:0},children:[h.jsxs(W.Box,{sx:{display:"flex",alignItems:"center",gap:1.5,flex:1},children:[e.icon&&h.jsx(W.Box,{sx:{fontSize:"1.5rem",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,borderRadius:2,bgcolor:W.alpha(l.palette.primary.main,.1),color:"primary.main",flexShrink:0},children:e.icon}),h.jsxs(W.Box,{children:[h.jsx(W.Typography,{variant:"subtitle1",sx:{fontWeight:700,lineHeight:1.2},children:e.title}),h.jsxs(W.Typography,{variant:"caption",sx:{color:"text.disabled"},children:["Paso ",t+1," de ",r]})]})]}),a&&h.jsx(W.IconButton,{size:"small",onClick:a,sx:{color:"text.disabled",ml:1},children:h.jsx(Po.Close,{fontSize:"small"})})]}),h.jsx(W.Box,{sx:{px:2.5,py:1.5},children:h.jsx(W.Typography,{variant:"body2",sx:{color:"text.secondary",lineHeight:1.6},children:e.content})}),h.jsxs(W.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2.5,pb:2,pt:.5},children:[h.jsx(W.Button,{size:"small",startIcon:h.jsx(Po.ArrowBack,{}),onClick:i,disabled:p,sx:{visibility:p?"hidden":"visible",textTransform:"none"},children:"Anterior"}),h.jsx(W.Button,{size:"small",variant:"contained",endIcon:u?void 0:h.jsx(Po.ArrowForward,{}),onClick:n,sx:{textTransform:"none",borderRadius:2,px:2.5,boxShadow:"none","&:hover":{boxShadow:l.shadows[2]}},children:u?"Finalizar":"Siguiente"})]}),s]})},Yf=e=>e.map(t=>({tour:t.id,steps:t.pasos.map(r=>({icon:r.icono??null,title:r.titulo,content:r.contenido,selector:r.selector,side:r.posicion,showControls:r.mostrarControles??!0,showSkip:r.mostrarSaltar??!0,pointerPadding:r.paddingPuntero??8,pointerRadius:r.radioPuntero??12,disableInteraction:r.deshabilitarInteraccion,nextRoute:r.siguienteRuta,prevRoute:r.anteriorRuta,viewportID:r.viewportId,blockKeyboardControl:!1}))})),Kf=({children:e,tours:t,colorSombra:r="0, 0, 0",opacidadSombra:n="0.5",mostrarFlecha:i=!0,clickAtravesOverlay:a=!1,alIniciar:s,alCambiarPaso:l,alCompletar:c,alSaltar:u,tarjetaPersonalizada:p,scrollAlInicio:m=!0,deshabilitarLogs:y=!0,zIndexOverlay:b=1400,offsetSuperior:g=80,offsetInferior:d=60})=>{const C=Yf(t),T=le.useRef(C);T.current=C;const R=le.useCallback((x,w)=>{const I=T.current.find(M=>M.tour===w)?.steps[x];I?.selector&&setTimeout(()=>{const M=document.querySelector(I.selector);if(!M)return;const z=M.getBoundingClientRect(),B=window.innerHeight;if(z.top<g){const f=window.scrollY+z.top-g-16;window.scrollTo({top:Math.max(0,f),behavior:"smooth"})}else if(z.bottom>B-d){const f=window.scrollY+z.bottom-B+d+16;window.scrollTo({top:f,behavior:"smooth"})}},400)},[g,d]),S=le.useCallback((x,w)=>{R(x,w),l?.(x,w)},[R,l]),v=le.useCallback(x=>{setTimeout(()=>{T.current.find(I=>I.tour===x)?.steps[0]?.selector&&R(0,x)},100),s?.(x)},[R,s]);return h.jsxs(Yo.NextStepProvider,{children:[h.jsx("style",{children:`
253
+ `;const Bf=J(An)(({theme:e,colorBase:t})=>({backgroundColor:t||(e.palette.mode==="dark"?re.alpha(e.palette.common.white,.08):re.alpha(e.palette.common.black,.06)),borderRadius:8,"&.MuiSkeleton-text":{marginBottom:4,marginTop:0,borderRadius:4}})),zn=({variante:e="texto",ancho:t,alto:r,animacion:n="pulso",colorBase:i,className:a,...s})=>{const l=u=>u==="texto"?"text":u==="rectangular"?"rectangular":u==="redondeado"?"rounded":u==="circular"?"circular":"text",c=u=>u==="pulso"?"pulse":u==="ola"?"wave":u===!1?!1:"pulse";return h.jsx(Bf,{variant:l(e),width:t,height:r,animation:c(n),colorBase:i,className:a,...s})},Df=zn,zf=zn;function Ff(e){return E.Children.toArray(e).filter(t=>E.isValidElement(t))}function _f(e){return Te("MuiButtonGroup",e)}const pe=we("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),Vf=(e,t)=>{const{ownerState:r}=e;return[{[`& .${pe.grouped}`]:t.grouped},{[`& .${pe.grouped}`]:t[`grouped${G(r.orientation)}`]},{[`& .${pe.grouped}`]:t[`grouped${G(r.variant)}`]},{[`& .${pe.grouped}`]:t[`grouped${G(r.variant)}${G(r.orientation)}`]},{[`& .${pe.grouped}`]:t[`grouped${G(r.variant)}${G(r.color)}`]},{[`& .${pe.firstButton}`]:t.firstButton},{[`& .${pe.lastButton}`]:t.lastButton},{[`& .${pe.middleButton}`]:t.middleButton},t.root,t[r.variant],r.disableElevation===!0&&t.disableElevation,r.fullWidth&&t.fullWidth,r.orientation==="vertical"&&t.vertical]},Lf=e=>{const{classes:t,color:r,disabled:n,disableElevation:i,fullWidth:a,orientation:s,variant:l}=e,c={root:["root",l,s,a&&"fullWidth",i&&"disableElevation",`color${G(r)}`],grouped:["grouped",`grouped${G(s)}`,`grouped${G(l)}`,`grouped${G(l)}${G(s)}`,`grouped${G(l)}${G(r)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return $e(c,_f,t)},Wf=J("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Vf})(ye(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2],[`& .${pe.grouped}`]:{boxShadow:"none","&:hover":{boxShadow:"none"}}}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${pe.lastButton},& .${pe.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${pe.lastButton},& .${pe.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderRight:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${pe.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottom:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackground,.23)}`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${pe.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve()).flatMap(([t])=>[{props:{variant:"text",color:t},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[t].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${pe.lastButton},& .${pe.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${pe.lastButton},& .${pe.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${pe.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${pe.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve(["dark"])).map(([t])=>({props:{variant:"contained",color:t},style:{[`& .${pe.firstButton},& .${pe.middleButton}`]:{borderColor:(e.vars||e).palette[t].dark}}}))],[`& .${pe.grouped}`]:{minWidth:40}}))),ws=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiButtonGroup"}),{children:i,className:a,color:s="primary",component:l="div",disabled:c=!1,disableElevation:u=!1,disableFocusRipple:p=!1,disableRipple:m=!1,fullWidth:y=!1,orientation:b="horizontal",size:g="medium",variant:d="outlined",...C}=n,T={...n,color:s,component:l,disabled:c,disableElevation:u,disableFocusRipple:p,disableRipple:m,fullWidth:y,orientation:b,size:g,variant:d},R=Lf(T),S=E.useMemo(()=>({className:R.grouped,color:s,disabled:c,disableElevation:u,disableFocusRipple:p,disableRipple:m,fullWidth:y,size:g,variant:d}),[s,c,u,p,m,y,g,d,R.grouped]),v=Ff(i),x=v.length,w=P=>{const I=P===0,M=P===x-1;return I&&M?"":I?R.firstButton:M?R.lastButton:R.middleButton};return h.jsx(Wf,{as:l,role:"group",className:se(R.root,a),ref:r,ownerState:T,...C,children:h.jsx(Pn.Provider,{value:S,children:v.map((P,I)=>h.jsx($n.Provider,{value:w(I),children:P},I))})})});process.env.NODE_ENV!=="production"&&(ws.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,disableElevation:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,fullWidth:o.bool,orientation:o.oneOf(["horizontal","vertical"]),size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["contained","outlined","text"]),o.string])});const Hf=J(ws,{shouldForwardProp:e=>e!=="separado"&&e!=="radio"&&e!=="varianteCustom"})(({theme:e,separado:t,radio:r,varianteCustom:n})=>({boxShadow:t?"none":e.shadows[2],borderRadius:r||(t?0:12),backgroundColor:n==="cristal"?e.palette.mode==="dark"?re.alpha(e.palette.common.white,.05):re.alpha(e.palette.common.white,.6):"transparent",backdropFilter:n==="cristal"?"blur(8px)":"none",border:n==="cristal"?`1px solid ${e.palette.mode==="dark"?re.alpha(e.palette.common.white,.1):re.alpha(e.palette.common.white,.4)}`:"none",...t&&{boxShadow:"none",backgroundColor:"transparent",border:"none",gap:e.spacing(1),"& .MuiButtonGroup-grouped":{borderRadius:r||8,border:"none !important",boxShadow:e.shadows[1],"&:not(:last-of-type)":{borderRight:"none !important"}}},"& .MuiButtonGroup-firstButton, & .MuiButtonGroup-lastButton":{borderRadius:t?r||8:void 0}})),Uf=({children:e,tamano:t="m",variante:r="contenido",color:n="primario",orientacion:i="horizontal",separado:a=!1,radio:s,...l})=>{const c=m=>m==="contenido"?"contained":m==="texto"?"text":m==="contorno"?"outlined":m==="cristal"?"text":"contained",u=m=>m==="primario"?"primary":m==="secundario"?"secondary":m==="exito"?"success":m==="error"?"error":m==="info"?"info":m==="advertencia"?"warning":m==="oscuro"||m==="claro"?"inherit":"primary",p=m=>m==="p"?"small":m==="m"?"medium":m==="g"?"large":"medium";return h.jsx(Hf,{size:p(t),variant:c(r),color:u(n),orientation:i,separado:a,radio:s,varianteCustom:r,...l,children:e})},qf=({step:e,currentStep:t,totalSteps:r,nextStep:n,prevStep:i,skipTour:a,arrow:s})=>{const l=W.useTheme(),c=(t+1)/r*100,u=t===r-1,p=t===0;return h.jsxs(W.Box,{sx:{position:"relative",bgcolor:"background.paper",borderRadius:3,boxShadow:l.shadows[16],border:"1px solid",borderColor:W.alpha(l.palette.primary.main,.2),maxWidth:420,minWidth:300,overflow:"hidden"},children:[h.jsx(W.LinearProgress,{variant:"determinate",value:c,sx:{height:3,bgcolor:W.alpha(l.palette.primary.main,.08),"& .MuiLinearProgress-bar":{bgcolor:"primary.main",borderRadius:0}}}),h.jsxs(W.Box,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",px:2.5,pt:2,pb:0},children:[h.jsxs(W.Box,{sx:{display:"flex",alignItems:"center",gap:1.5,flex:1},children:[e.icon&&h.jsx(W.Box,{sx:{fontSize:"1.5rem",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,borderRadius:2,bgcolor:W.alpha(l.palette.primary.main,.1),color:"primary.main",flexShrink:0},children:e.icon}),h.jsxs(W.Box,{children:[h.jsx(W.Typography,{variant:"subtitle1",sx:{fontWeight:700,lineHeight:1.2},children:e.title}),h.jsxs(W.Typography,{variant:"caption",sx:{color:"text.disabled"},children:["Paso ",t+1," de ",r]})]})]}),a&&h.jsx(W.IconButton,{size:"small",onClick:a,sx:{color:"text.disabled",ml:1},children:h.jsx(Po.Close,{fontSize:"small"})})]}),h.jsx(W.Box,{sx:{px:2.5,py:1.5},children:h.jsx(W.Typography,{variant:"body2",sx:{color:"text.secondary",lineHeight:1.6},children:e.content})}),h.jsxs(W.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2.5,pb:2,pt:.5},children:[h.jsx(W.Button,{size:"small",startIcon:h.jsx(Po.ArrowBack,{}),onClick:i,disabled:p,sx:{visibility:p?"hidden":"visible",textTransform:"none"},children:"Anterior"}),h.jsx(W.Button,{size:"small",variant:"contained",endIcon:u?void 0:h.jsx(Po.ArrowForward,{}),onClick:n,sx:{textTransform:"none",borderRadius:2,px:2.5,boxShadow:"none","&:hover":{boxShadow:l.shadows[2]}},children:u?"Finalizar":"Siguiente"})]}),s]})},Gf=e=>e.map(t=>({tour:t.id,steps:t.pasos.map(r=>({icon:r.icono??null,title:r.titulo,content:r.contenido,selector:r.selector,side:r.posicion,showControls:r.mostrarControles??!0,showSkip:r.mostrarSaltar??!0,pointerPadding:r.paddingPuntero??8,pointerRadius:r.radioPuntero??12,disableInteraction:r.deshabilitarInteraccion,nextRoute:r.siguienteRuta,prevRoute:r.anteriorRuta,viewportID:r.viewportId,blockKeyboardControl:!1}))})),Yf=({children:e,tours:t,colorSombra:r="0, 0, 0",opacidadSombra:n="0.5",mostrarFlecha:i=!0,clickAtravesOverlay:a=!1,alIniciar:s,alCambiarPaso:l,alCompletar:c,alSaltar:u,tarjetaPersonalizada:p,scrollAlInicio:m=!0,deshabilitarLogs:y=!0,zIndexOverlay:b=1400,offsetSuperior:g=80,offsetInferior:d=60})=>{const C=Gf(t),T=le.useRef(C);T.current=C;const R=le.useCallback((x,w)=>{const I=T.current.find(M=>M.tour===w)?.steps[x];I?.selector&&setTimeout(()=>{const M=document.querySelector(I.selector);if(!M)return;const z=M.getBoundingClientRect(),B=window.innerHeight;if(z.top<g){const f=window.scrollY+z.top-g-16;window.scrollTo({top:Math.max(0,f),behavior:"smooth"})}else if(z.bottom>B-d){const f=window.scrollY+z.bottom-B+d+16;window.scrollTo({top:f,behavior:"smooth"})}},400)},[g,d]),S=le.useCallback((x,w)=>{R(x,w),l?.(x,w)},[R,l]),v=le.useCallback(x=>{setTimeout(()=>{T.current.find(I=>I.tour===x)?.steps[0]?.selector&&R(0,x)},100),s?.(x)},[R,s]);return h.jsxs(Yo.NextStepProvider,{children:[h.jsx("style",{children:`
254
254
  html {
255
255
  scroll-padding-top: ${g}px;
256
256
  scroll-padding-bottom: ${d}px;
257
257
  }
258
- `}),h.jsx(Yo.NextStepReact,{steps:C,shadowRgb:r,shadowOpacity:n,displayArrow:i,clickThroughOverlay:a,onStart:v,onStepChange:S,onComplete:c,onSkip:u,cardComponent:p??Gf,scrollToTop:m,disableConsoleLogs:y,overlayZIndex:b,children:e})]})},Ho=Pe(h.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),Xf=Pe(h.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),Zf=Pe(h.jsx("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"}),"TableChart"),Jf=Pe(h.jsx("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M8 20H4v-4h4zm0-6H4v-4h4zm0-6H4V4h4zm6 12h-4v-4h4zm0-6h-4v-4h4zm0-6h-4V4h4zm6 12h-4v-4h4zm0-6h-4v-4h4zm0-6h-4V4h4z"}),"GridOn"),Qf=Pe(h.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5zm4-3H19v1h1.5V11H19v2h-1.5V7h3zM9 9.5h1v-1H9zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm10 5.5h1v-3h-1z"}),"PictureAsPdf"),em=Pe(h.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"}),"Description"),tm=Pe(h.jsx("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image"),rm=Pe(h.jsx("path",{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11z"}),"Videocam"),om=Pe(h.jsx("path",{d:"M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3z"}),"Audiotrack"),nm=Pe(h.jsx("path",{d:"M20 6h-8l-2-2H6.83l14.93 14.93c.15-.28.24-.59.24-.93V8c0-1.1-.9-2-2-2M2.1 2.1.69 3.51l1.56 1.56c-.15.28-.24.59-.24.93L2 18c0 1.1.9 2 2 2h13.17l3.31 3.31 1.41-1.41z"}),"FolderOff"),im={excel:{aceptar:".xlsx,.xls",etiqueta:"Subir Excel",descripcion:"Excel (.xlsx, .xls)"},csv:{aceptar:".csv",etiqueta:"Subir CSV",descripcion:"Archivo CSV (.csv)"},hojaCalculo:{aceptar:".xlsx,.xls,.csv,.ods,.numbers",etiqueta:"Subir hoja de cálculo",descripcion:"Excel, CSV, ODS, Numbers"},pdf:{aceptar:".pdf",etiqueta:"Subir PDF",descripcion:"Archivo PDF (.pdf)"},documento:{aceptar:".pdf,.doc,.docx,.odt,.txt,.rtf",etiqueta:"Subir documento",descripcion:"PDF, Word, ODT, TXT"},imagen:{aceptar:"image/*",etiqueta:"Subir imagen",descripcion:"PNG, JPG, WebP, GIF, SVG..."},video:{aceptar:"video/*",etiqueta:"Subir video",descripcion:"MP4, WebM, MOV, AVI..."},audio:{aceptar:"audio/*",etiqueta:"Subir audio",descripcion:"MP3, WAV, OGG, AAC..."},cualquiera:{aceptar:"*",etiqueta:"Subir archivo",descripcion:"Cualquier tipo de archivo"}},zr=e=>{if(e===0)return"0 B";const t=1024,r=["B","KB","MB","GB"],n=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/Math.pow(t,n)).toFixed(1))} ${r[n]}`},am=e=>e.size===0&&e.type===""&&!e.name.includes("."),sm=({nombre:e,color:t})=>{const r=e.split(".").pop()?.toLowerCase()??"",n={fontSize:20,color:t};return["xlsx","xls"].includes(r)?h.jsx(Zf,{sx:n}):r==="csv"?h.jsx(Jf,{sx:n}):r==="pdf"?h.jsx(Qf,{sx:n}):["doc","docx","odt","txt","rtf"].includes(r)?h.jsx(em,{sx:n}):["jpg","jpeg","png","gif","webp","svg","bmp"].includes(r)?h.jsx(tm,{sx:n}):["mp4","avi","mov","webm","mkv"].includes(r)?h.jsx(rm,{sx:n}):["mp3","wav","ogg","aac","flac"].includes(r)?h.jsx(om,{sx:n}):h.jsx(Xf,{sx:n})},lm=(e,t)=>{const r=e.split(".").pop()?.toLowerCase()??"";return["xlsx","xls","csv","ods","numbers"].includes(r)?t.success.main:r==="pdf"?t.error.main:["doc","docx","odt","txt","rtf"].includes(r)?t.info.main:["jpg","jpeg","png","gif","webp","svg"].includes(r)?"#9C27B0":["mp4","avi","mov","webm"].includes(r)?t.warning.main:["mp3","wav","ogg","aac"].includes(r)?"#E91E63":t.text.secondary},cm=J(de,{shouldForwardProp:e=>!["arrastrandoSobre","tieneError","deshabilitado"].includes(String(e))})(({theme:e,arrastrandoSobre:t,tieneError:r,deshabilitado:n})=>({border:`2px dashed ${r?e.palette.error.main:t?e.palette.primary.main:e.palette.divider}`,borderRadius:12,padding:e.spacing(4),textAlign:"center",cursor:n?"not-allowed":"pointer",transition:e.transitions.create(["border-color","background-color"],{duration:200}),backgroundColor:t?re.alpha(e.palette.primary.main,.06):r?re.alpha(e.palette.error.main,.04):e.palette.mode==="dark"?re.alpha(e.palette.common.white,.02):re.alpha(e.palette.common.black,.01),opacity:n?.5:1,userSelect:"none","&:hover":n?{}:{borderColor:r?e.palette.error.main:e.palette.primary.main,backgroundColor:re.alpha(e.palette.primary.main,.04)}})),um=({variante:e="zona",tipoPreestablecido:t,multiple:r=!1,aceptar:n,tamanoMaximo:i,etiqueta:a,descripcion:s,mostrarLista:l=!0,anchoCompleto:c=!1,deshabilitado:u=!1,alCambiar:p,alError:m})=>{const y=Ge(),b=le.useRef(null),g=le.useRef(0),[d,C]=le.useState([]),[T,R]=le.useState(!1),[S,v]=le.useState(null),x=t?im[t]:null,w=n??(x?.aceptar==="*"?void 0:x?.aceptar),P=a??x?.etiqueta,I=s??x?.descripcion,M=(()=>{if(I)return I;const O=[];return w&&O.push(w),i&&O.push(`Máx. ${zr(i)}`),O.length>0?O.join(" · "):r?"Múltiples archivos permitidos":"Un archivo a la vez"})(),z=le.useCallback(O=>{const _=[],U=[];return O.forEach(H=>{if(am(H)){U.push(`"${H.name}" es una carpeta — solo se permiten archivos.`);return}if(i&&H.size>i){U.push(`"${H.name}" supera el máximo permitido (${zr(i)}).`);return}if(w){const Y=w.split(",").map(X=>X.trim().toLowerCase()),Z=("."+(H.name.split(".").pop()??"")).toLowerCase(),Q=H.type.toLowerCase();if(!Y.some(X=>X==="*"?!0:X.startsWith(".")?X===Z:X.endsWith("/*")?Q.startsWith(X.slice(0,-1)):X===Q)){U.push(`"${H.name}" no es un tipo permitido. Se acepta: ${w}`);return}}_.push(H)}),{validos:_,errores:U}},[w,i]),B=le.useCallback(O=>{if(!O||u)return;const _=Array.from(O),{validos:U,errores:H}=z(_);if(H.length>0){const Z=H[0];v(Z),m?.(H),setTimeout(()=>v(null),3e3)}if(U.length===0)return;const Y=U.map(Z=>({id:`${Z.name}-${Z.size}-${Date.now()}-${Math.random()}`,archivo:Z}));C(Z=>{const Q=r?[...Z,...Y]:Y;return p?.(Q.map(ee=>ee.archivo)),Q})},[u,r,z,p,m]),f=O=>{C(_=>{const U=_.filter(H=>H.id!==O);return p?.(U.map(H=>H.archivo)),U})},k=O=>{O.preventDefault(),O.stopPropagation(),!u&&(g.current++,R(!0))},$=O=>{O.preventDefault(),O.stopPropagation()},A=O=>{O.preventDefault(),O.stopPropagation(),g.current--,g.current<=0&&(g.current=0,R(!1))},j=O=>{O.preventDefault(),O.stopPropagation(),g.current=0,R(!1),B(O.dataTransfer.files)},V=O=>{O.stopPropagation(),u||b.current?.click()},N={onDragEnter:k,onDragOver:$,onDragLeave:A,onDrop:j},L=S!==null;return h.jsxs(de,{sx:{width:c?"100%":"auto",display:c?"block":"inline-block"},children:[h.jsx("input",{ref:b,type:"file",multiple:r,accept:w,style:{display:"none"},onChange:O=>B(O.target.files),onClick:O=>{O.target.value=""}}),e==="zona"&&h.jsxs(cm,{arrastrandoSobre:T,tieneError:L,deshabilitado:u,onClick:V,...N,sx:{width:c?"100%":"auto"},children:[L?h.jsx(nm,{sx:{fontSize:48,color:"error.main",mb:1}}):h.jsx(Ho,{sx:{fontSize:48,color:T?"primary.main":"text.disabled",mb:1,transition:"color 0.2s"}}),h.jsx(Fe,{variant:"subtitle1",fontWeight:600,color:L?"error":"text.primary",children:L?S:P??(T?"Suelta los archivos aquí":"Arrastra archivos o haz clic para seleccionar")}),!L&&h.jsx(Fe,{variant:"body2",color:"text.secondary",sx:{mt:.5},children:M})]}),e==="compacto"&&h.jsxs(de,{onClick:V,...N,sx:{display:"inline-flex",alignItems:"center",gap:1,px:2,py:1,borderRadius:2,border:`1px solid ${T?y.palette.primary.main:L?y.palette.error.main:y.palette.divider}`,cursor:u?"not-allowed":"pointer",transition:y.transitions.create(["border-color","background-color"]),opacity:u?.5:1,backgroundColor:T?re.alpha(y.palette.primary.main,.04):L?re.alpha(y.palette.error.main,.04):"transparent",userSelect:"none","&:hover":u?{}:{borderColor:y.palette.primary.main,backgroundColor:re.alpha(y.palette.primary.main,.04)}},children:[h.jsx(Ho,{fontSize:"small",sx:{color:L?"error.main":"primary.main"}}),h.jsx(Fe,{variant:"body2",fontWeight:500,color:L?"error":"text.primary",children:L?"Tipo no permitido":P??"Seleccionar archivo"}),!L&&I&&h.jsxs(Fe,{variant:"caption",color:"text.secondary",children:["(",I,")"]}),!L&&i&&!I&&h.jsxs(Fe,{variant:"caption",color:"text.secondary",children:["(máx. ",zr(i),")"]})]}),e==="boton"&&h.jsxs(de,{component:"button",disabled:u,onClick:V,...N,sx:{display:"inline-flex",alignItems:"center",gap:1,px:2.5,py:1,borderRadius:2,border:"none",backgroundColor:L?"error.main":"primary.main",color:"primary.contrastText",cursor:u?"not-allowed":"pointer",fontFamily:"inherit",fontSize:"0.875rem",fontWeight:600,transition:"background-color 0.2s",opacity:u?.5:1,userSelect:"none","&:hover:not(:disabled)":{backgroundColor:L?"error.dark":"primary.dark"}},children:[h.jsx(Ho,{fontSize:"small"}),L?"Tipo no permitido":P??"Subir archivo"]}),l&&d.length>0&&h.jsx(de,{sx:{mt:1.5,display:"flex",flexDirection:"column",gap:.75},children:d.map(O=>{const _=lm(O.archivo.name,y.palette);return h.jsxs(de,{sx:{display:"flex",alignItems:"center",gap:1.5,px:1.5,py:1,borderRadius:2,border:`1px solid ${O.error?y.palette.error.light:y.palette.divider}`,backgroundColor:O.error?re.alpha(y.palette.error.main,.04):y.palette.background.paper},children:[O.error?h.jsx(In,{sx:{fontSize:20,color:"error.main",flexShrink:0}}):O.progreso===100?h.jsx(La,{sx:{fontSize:20,color:"success.main",flexShrink:0}}):h.jsx(de,{sx:{flexShrink:0},children:h.jsx(sm,{nombre:O.archivo.name,color:_})}),h.jsxs(de,{sx:{flex:1,overflow:"hidden",minWidth:0},children:[h.jsx(Fe,{variant:"body2",fontWeight:500,noWrap:!0,children:O.archivo.name}),O.error?h.jsx(Fe,{variant:"caption",color:"error",children:O.error}):h.jsx(Fe,{variant:"caption",color:"text.secondary",children:zr(O.archivo.size)}),O.progreso!==void 0&&O.progreso<100&&h.jsx(Dn,{variant:"determinate",value:O.progreso,sx:{mt:.5,borderRadius:1,height:4}})]}),h.jsx(Nn,{size:"small",onClick:()=>f(O.id),"aria-label":`Eliminar ${O.archivo.name}`,sx:{flexShrink:0,opacity:.6,"&:hover":{opacity:1}},children:h.jsx(ds,{sx:{fontSize:16}})})]},O.id)})})]})};function Pt(e,t,r,n,i){if(process.env.NODE_ENV==="production")return null;const a=e[t],s=i||t;return a==null?null:a&&a.nodeType!==1?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}function pm(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Ss(e,t,r,n,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;const c=a.type;return typeof c=="function"&&!pm(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const nr=it(o.element,Ss);nr.isRequired=it(o.element.isRequired,Ss);function jr(e){return parseInt(E.version,10)>=19?e?.props?.ref||null:e?.ref||null}function hn(e){return`scale(${e}, ${e**2})`}const dm={entering:{opacity:1,transform:hn(1)},entered:{opacity:1,transform:"none"}},Uo=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Cr=E.forwardRef(function(t,r){const{addEndListener:n,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:u,onEntering:p,onExit:m,onExited:y,onExiting:b,style:g,timeout:d="auto",TransitionComponent:C=lt,...T}=t,R=Dt(),S=E.useRef(),v=Ge(),x=E.useRef(null),w=Le(x,jr(a),r),P=A=>j=>{if(A){const V=x.current;j===void 0?A(V):A(V,j)}},I=P(p),M=P((A,j)=>{gs(A);const{duration:V,delay:N,easing:L}=Qt({style:g,timeout:d,easing:s},{mode:"enter"});let O;d==="auto"?(O=v.transitions.getAutoHeightDuration(A.clientHeight),S.current=O):O=V,A.style.transition=[v.transitions.create("opacity",{duration:O,delay:N}),v.transitions.create("transform",{duration:Uo?O:O*.666,delay:N,easing:L})].join(","),c&&c(A,j)}),z=P(u),B=P(b),f=P(A=>{const{duration:j,delay:V,easing:N}=Qt({style:g,timeout:d,easing:s},{mode:"exit"});let L;d==="auto"?(L=v.transitions.getAutoHeightDuration(A.clientHeight),S.current=L):L=j,A.style.transition=[v.transitions.create("opacity",{duration:L,delay:V}),v.transitions.create("transform",{duration:Uo?L:L*.666,delay:Uo?V:V||L*.333,easing:N})].join(","),A.style.opacity=0,A.style.transform=hn(.75),m&&m(A)}),k=P(y),$=A=>{d==="auto"&&R.start(S.current||0,A),n&&n(x.current,A)};return h.jsx(C,{appear:i,in:l,nodeRef:x,onEnter:M,onEntered:z,onEntering:I,onExit:f,onExited:k,onExiting:B,addEndListener:$,timeout:d==="auto"?null:d,...T,children:(A,{ownerState:j,...V})=>E.cloneElement(a,{style:{opacity:0,transform:hn(.75),visibility:A==="exited"&&!l?"hidden":void 0,...dm[A],...g,...a.props.style},ref:w,...V})})});process.env.NODE_ENV!=="production"&&(Cr.propTypes={addEndListener:o.func,appear:o.bool,children:nr.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});Cr&&(Cr.muiSupportAuto=!0);function fm(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function mm(e){const t=st(e);return t.body===e?Rt(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function gr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function _i(e){return parseFloat(Rt(e).getComputedStyle(e).paddingRight)||0}function hm(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function Vi(e,t,r,n,i){const a=[t,r,...n];[].forEach.call(e.children,s=>{const l=!a.includes(s),c=!hm(s);l&&c&&gr(s,i)})}function qo(e,t){let r=-1;return e.some((n,i)=>t(n)?(r=i,!0):!1),r}function gm(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(mm(n)){const s=fm(Rt(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${_i(n)+s}px`;const l=st(n).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{r.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${_i(c)+s}px`})}let a;if(n.parentNode instanceof DocumentFragment)a=st(n).body;else{const s=n.parentElement,l=Rt(n);a=s?.nodeName==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:n}r.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{r.forEach(({value:a,el:s,property:l})=>{a?s.style.setProperty(l,a):s.style.removeProperty(l)})}}function ym(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class bm{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&gr(t.modalRef,!1);const i=ym(r);Vi(r,t.mount,t.modalRef,i,!0);const a=qo(this.containers,s=>s.container===r);return a!==-1?(this.containers[a].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n)}mount(t,r){const n=qo(this.containers,a=>a.modals.includes(t)),i=this.containers[n];i.restore||(i.restore=gm(i,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=qo(this.containers,s=>s.modals.includes(t)),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(n,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&gr(t.modalRef,r),Vi(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=a.modals[a.modals.length-1];s.modalRef&&gr(s.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Fr(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const vm=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xm(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Cm(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Tm(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Cm(e))}function wm(e){const t=[],r=[];return Array.from(e.querySelectorAll(vm)).forEach((n,i)=>{const a=xm(n);a===-1||!Tm(n)||(a===0?t.push(n):r.push({documentOrder:i,tabIndex:a,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function Em(){return!0}function ro(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:a=wm,isEnabled:s=Em,open:l}=e,c=E.useRef(!1),u=E.useRef(null),p=E.useRef(null),m=E.useRef(null),y=E.useRef(null),b=E.useRef(!1),g=E.useRef(null),d=Le(jr(t),g),C=E.useRef(null);E.useEffect(()=>{!l||!g.current||(b.current=!r)},[r,l]),E.useEffect(()=>{if(!l||!g.current)return;const S=st(g.current),v=Fr(S);return g.current.contains(v)||(g.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
259
- `)),g.current.setAttribute("tabIndex","-1")),b.current&&g.current.focus()),()=>{i||(m.current&&m.current.focus&&(c.current=!0,m.current.focus()),m.current=null)}},[l]),E.useEffect(()=>{if(!l||!g.current)return;const S=st(g.current),v=P=>{if(C.current=P,n||!s()||P.key!=="Tab")return;Fr(S)===g.current&&P.shiftKey&&(c.current=!0,p.current&&p.current.focus())},x=()=>{const P=g.current;if(P===null)return;const I=Fr(S);if(!S.hasFocus()||!s()||c.current){c.current=!1;return}if(P.contains(I)||n&&I!==u.current&&I!==p.current)return;if(I!==y.current)y.current=null;else if(y.current!==null)return;if(!b.current)return;let M=[];if((I===u.current||I===p.current)&&(M=a(g.current)),M.length>0){const z=!!(C.current?.shiftKey&&C.current?.key==="Tab"),B=M[0],f=M[M.length-1];typeof B!="string"&&typeof f!="string"&&(z?f.focus():B.focus())}else P.focus()};S.addEventListener("focusin",x),S.addEventListener("keydown",v,!0);const w=setInterval(()=>{const P=Fr(S);P&&P.tagName==="BODY"&&x()},50);return()=>{clearInterval(w),S.removeEventListener("focusin",x),S.removeEventListener("keydown",v,!0)}},[r,n,i,s,l,a]);const T=S=>{m.current===null&&(m.current=S.relatedTarget),b.current=!0,y.current=S.target;const v=t.props.onFocus;v&&v(S)},R=S=>{m.current===null&&(m.current=S.relatedTarget),b.current=!0};return h.jsxs(E.Fragment,{children:[h.jsx("div",{tabIndex:l?0:-1,onFocus:R,ref:u,"data-testid":"sentinelStart"}),E.cloneElement(t,{ref:d,onFocus:T}),h.jsx("div",{tabIndex:l?0:-1,onFocus:R,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(ro.propTypes={children:nr,disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableRestoreFocus:o.bool,getTabbable:o.func,isEnabled:o.func,open:o.bool.isRequired});process.env.NODE_ENV!=="production"&&(ro.propTypes=xa(ro.propTypes));function Sm(e){return typeof e=="function"?e():e}const Tr=E.forwardRef(function(t,r){const{children:n,container:i,disablePortal:a=!1}=t,[s,l]=E.useState(null),c=Le(E.isValidElement(n)?jr(n):null,r);if(Ot(()=>{a||l(Sm(i)||document.body)},[i,a]),Ot(()=>{if(s&&!a)return ji(r,s),()=>{ji(r,null)}},[r,s,a]),a){if(E.isValidElement(n)){const u={ref:c};return E.cloneElement(n,u)}return n}return s&&el.createPortal(n,s)});process.env.NODE_ENV!=="production"&&(Tr.propTypes={children:o.node,container:o.oneOfType([Pt,o.func]),disablePortal:o.bool});process.env.NODE_ENV!=="production"&&(Tr.propTypes=xa(Tr.propTypes));const Om={entering:{opacity:1},entered:{opacity:1}},Os=E.forwardRef(function(t,r){const n=Ge(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:p,onEntered:m,onEntering:y,onExit:b,onExited:g,onExiting:d,style:C,timeout:T=i,TransitionComponent:R=lt,...S}=t,v=E.useRef(null),x=Le(v,jr(l),r),w=$=>A=>{if($){const j=v.current;A===void 0?$(j):$(j,A)}},P=w(y),I=w(($,A)=>{gs($);const j=Qt({style:C,timeout:T,easing:c},{mode:"enter"});$.style.webkitTransition=n.transitions.create("opacity",j),$.style.transition=n.transitions.create("opacity",j),p&&p($,A)}),M=w(m),z=w(d),B=w($=>{const A=Qt({style:C,timeout:T,easing:c},{mode:"exit"});$.style.webkitTransition=n.transitions.create("opacity",A),$.style.transition=n.transitions.create("opacity",A),b&&b($)}),f=w(g),k=$=>{a&&a(v.current,$)};return h.jsx(R,{appear:s,in:u,nodeRef:v,onEnter:I,onEntered:M,onEntering:P,onExit:B,onExited:f,onExiting:z,addEndListener:k,timeout:T,...S,children:($,{ownerState:A,...j})=>E.cloneElement(l,{style:{opacity:0,visibility:$==="exited"&&!u?"hidden":void 0,...Om[$],...C,...l.props.style},ref:x,...j})})});process.env.NODE_ENV!=="production"&&(Os.propTypes={addEndListener:o.func,appear:o.bool,children:nr.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});function Rm(e){return Te("MuiBackdrop",e)}we("MuiBackdrop",["root","invisible"]);const Pm=e=>{const{classes:t,invisible:r}=e;return $e({root:["root",r&&"invisible"]},Rm,t)},$m=J("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Rs=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBackdrop"}),{children:i,className:a,component:s="div",invisible:l=!1,open:c,components:u={},componentsProps:p={},slotProps:m={},slots:y={},TransitionComponent:b,transitionDuration:g,...d}=n,C={...n,component:s,invisible:l},T=Pm(C),R={transition:b,root:u.Root,...y},S={...p,...m},v={component:s,slots:R,slotProps:S},[x,w]=ge("root",{elementType:$m,externalForwardedProps:v,className:se(T.root,a),ownerState:C}),[P,I]=ge("transition",{elementType:Os,externalForwardedProps:v,ownerState:C});return h.jsx(P,{in:c,timeout:g,...d,...I,children:h.jsx(x,{"aria-hidden":!0,...w,ref:r,children:i})})});process.env.NODE_ENV!=="production"&&(Rs.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.object}),invisible:o.bool,open:o.bool.isRequired,slotProps:o.shape({root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});function jm(e){return typeof e=="function"?e():e}function km(e){return e?e.props.hasOwnProperty("in"):!1}const Li=()=>{},_r=new bm;function Am(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:p}=e,m=E.useRef({}),y=E.useRef(null),b=E.useRef(null),g=Le(b,p),[d,C]=E.useState(!u),T=km(l);let R=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(R=!1);const S=()=>st(y.current),v=()=>(m.current.modalRef=b.current,m.current.mount=y.current,m.current),x=()=>{_r.mount(v(),{disableScrollLock:n}),b.current&&(b.current.scrollTop=0)},w=yt(()=>{const A=jm(t)||S().body;_r.add(v(),A),b.current&&x()}),P=()=>_r.isTopModal(v()),I=yt(A=>{y.current=A,A&&(u&&P()?x():b.current&&gr(b.current,R))}),M=E.useCallback(()=>{_r.remove(v(),R)},[R]);E.useEffect(()=>()=>{M()},[M]),E.useEffect(()=>{u?w():(!T||!i)&&M()},[u,M,T,i,w]);const z=A=>j=>{A.onKeyDown?.(j),!(j.key!=="Escape"||j.which===229||!P())&&(r||(j.stopPropagation(),c&&c(j,"escapeKeyDown")))},B=A=>j=>{A.onClick?.(j),j.target===j.currentTarget&&c&&c(j,"backdropClick")};return{getRootProps:(A={})=>{const j=qa(e);delete j.onTransitionEnter,delete j.onTransitionExited;const V={...j,...A};return{role:"presentation",...V,onKeyDown:z(V),ref:g}},getBackdropProps:(A={})=>{const j=A;return{"aria-hidden":!0,...j,onClick:B(j),open:u}},getTransitionProps:()=>{const A=()=>{C(!1),a&&a()},j=()=>{C(!0),s&&s(),i&&M()};return{onEnter:ai(A,l?.props.onEnter??Li),onExited:ai(j,l?.props.onExited??Li)}},rootRef:g,portalRef:I,isTopModal:P,exited:d,hasTransition:T}}function Mm(e){return Te("MuiModal",e)}we("MuiModal",["root","hidden","backdrop"]);const Im=e=>{const{open:t,exited:r,classes:n}=e;return $e({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Mm,n)},Nm=J("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(ye(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Bm=J(Rs,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Ps=E.forwardRef(function(t,r){const n=Re({name:"MuiModal",props:t}),{BackdropComponent:i=Bm,BackdropProps:a,classes:s,className:l,closeAfterTransition:c=!1,children:u,container:p,component:m,components:y={},componentsProps:b={},disableAutoFocus:g=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:C=!1,disablePortal:T=!1,disableRestoreFocus:R=!1,disableScrollLock:S=!1,hideBackdrop:v=!1,keepMounted:x=!1,onClose:w,onTransitionEnter:P,onTransitionExited:I,open:M,slotProps:z={},slots:B={},theme:f,...k}=n,$={...n,closeAfterTransition:c,disableAutoFocus:g,disableEnforceFocus:d,disableEscapeKeyDown:C,disablePortal:T,disableRestoreFocus:R,disableScrollLock:S,hideBackdrop:v,keepMounted:x},{getRootProps:A,getBackdropProps:j,getTransitionProps:V,portalRef:N,isTopModal:L,exited:O,hasTransition:_}=Am({...$,rootRef:r}),U={...$,exited:O},H=Im(U),Y={};if(u.props.tabIndex===void 0&&(Y.tabIndex="-1"),_){const{onEnter:q,onExited:oe}=V();Y.onEnter=q,Y.onExited=oe}const Z={slots:{root:y.Root,backdrop:y.Backdrop,...B},slotProps:{...b,...z}},[Q,ee]=ge("root",{ref:r,elementType:Nm,externalForwardedProps:{...Z,...k,component:m},getSlotProps:A,ownerState:U,className:se(l,H?.root,!U.open&&U.exited&&H?.hidden)}),[X,ne]=ge("backdrop",{ref:a?.ref,elementType:i,externalForwardedProps:Z,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:q=>j({...q,onClick:oe=>{q?.onClick&&q.onClick(oe)}}),className:se(a?.className,H?.backdrop),ownerState:U});return!x&&!M&&(!_||O)?null:h.jsx(Tr,{ref:N,container:p,disablePortal:T,children:h.jsxs(Q,{...ee,children:[!v&&i?h.jsx(X,{...ne}):null,h.jsx(ro,{disableEnforceFocus:d,disableAutoFocus:g,disableRestoreFocus:R,isEnabled:L,open:M,children:E.cloneElement(u,Y)})]})})});process.env.NODE_ENV!=="production"&&(Ps.propTypes={BackdropComponent:o.elementType,BackdropProps:o.object,children:nr.isRequired,classes:o.object,className:o.string,closeAfterTransition:o.bool,component:o.elementType,components:o.shape({Backdrop:o.elementType,Root:o.elementType}),componentsProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([Pt,o.func]),disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableEscapeKeyDown:o.bool,disablePortal:o.bool,disableRestoreFocus:o.bool,disableScrollLock:o.bool,hideBackdrop:o.bool,keepMounted:o.bool,onClose:o.func,onTransitionEnter:o.func,onTransitionExited:o.func,open:o.bool.isRequired,slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Dm(e){return Te("MuiPopover",e)}we("MuiPopover",["root","paper"]);function Wi(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Hi(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Ui(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mr(e){return typeof e=="function"?e():e}const zm=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"]},Dm,t)},Fm=J(Ps,{name:"MuiPopover",slot:"Root"})({}),_m=J(Eo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),$s=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:u,className:p,container:m,elevation:y=8,marginThreshold:b=16,open:g,PaperProps:d={},slots:C={},slotProps:T={},transformOrigin:R={vertical:"top",horizontal:"left"},TransitionComponent:S,transitionDuration:v="auto",TransitionProps:x={},disableScrollLock:w=!1,...P}=n,I=E.useRef(),M={...n,anchorOrigin:s,anchorReference:c,elevation:y,marginThreshold:b,transformOrigin:R,TransitionComponent:S,transitionDuration:v,TransitionProps:x},z=zm(M),B=E.useCallback(()=>{if(c==="anchorPosition")return process.env.NODE_ENV!=="production"&&(l||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),l;const q=mr(a),oe=q&&q.nodeType===1?q:st(I.current).body,F=oe.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const ce=oe.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ce.top===0&&ce.left===0&&ce.right===0&&ce.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
260
- `))}return{top:F.top+Wi(F,s.vertical),left:F.left+Hi(F,s.horizontal)}},[a,s.horizontal,s.vertical,l,c]),f=E.useCallback(q=>({vertical:Wi(q,R.vertical),horizontal:Hi(q,R.horizontal)}),[R.horizontal,R.vertical]),k=E.useCallback(q=>{const oe={width:q.offsetWidth,height:q.offsetHeight},F=f(oe);if(c==="none")return{top:null,left:null,transformOrigin:Ui(F)};const ce=B();let ie=ce.top-F.vertical,te=ce.left-F.horizontal;const Ee=ie+oe.height,me=te+oe.width,he=Rt(mr(a)),Ae=he.innerHeight-b,je=he.innerWidth-b;if(b!==null&&ie<b){const ae=ie-b;ie-=ae,F.vertical+=ae}else if(b!==null&&Ee>Ae){const ae=Ee-Ae;ie-=ae,F.vertical+=ae}if(process.env.NODE_ENV!=="production"&&oe.height>Ae&&oe.height&&Ae&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${oe.height-Ae}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
261
- `)),b!==null&&te<b){const ae=te-b;te-=ae,F.horizontal+=ae}else if(me>je){const ae=me-je;te-=ae,F.horizontal+=ae}return{top:`${Math.round(ie)}px`,left:`${Math.round(te)}px`,transformOrigin:Ui(F)}},[a,c,B,f,b]),[$,A]=E.useState(g),j=E.useCallback(()=>{const q=I.current;if(!q)return;const oe=k(q);oe.top!==null&&q.style.setProperty("top",oe.top),oe.left!==null&&(q.style.left=oe.left),q.style.transformOrigin=oe.transformOrigin,A(!0)},[k]);E.useEffect(()=>(w&&window.addEventListener("scroll",j),()=>window.removeEventListener("scroll",j)),[a,w,j]);const V=()=>{j()},N=()=>{A(!1)};E.useEffect(()=>{g&&j()}),E.useImperativeHandle(i,()=>g?{updatePosition:()=>{j()}}:null,[g,j]),E.useEffect(()=>{if(!g)return;const q=Ma(()=>{j()}),oe=Rt(mr(a));return oe.addEventListener("resize",q),()=>{q.clear(),oe.removeEventListener("resize",q)}},[a,g,j]);let L=v;const O={slots:{transition:S,...C},slotProps:{transition:x,paper:d,...T}},[_,U]=ge("transition",{elementType:Cr,externalForwardedProps:O,ownerState:M,getSlotProps:q=>({...q,onEntering:(oe,F)=>{q.onEntering?.(oe,F),V()},onExited:oe=>{q.onExited?.(oe),N()}}),additionalProps:{appear:!0,in:g}});v==="auto"&&!_.muiSupportAuto&&(L=void 0);const H=m||(a?st(mr(a)).body:void 0),[Y,{slots:Z,slotProps:Q,...ee}]=ge("root",{ref:r,elementType:Fm,externalForwardedProps:{...O,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:C.backdrop},slotProps:{backdrop:Au(typeof T.backdrop=="function"?T.backdrop(M):T.backdrop,{invisible:!0})},container:H,open:g},ownerState:M,className:se(z.root,p)}),[X,ne]=ge("paper",{ref:I,className:z.paper,elementType:_m,externalForwardedProps:O,shouldForwardComponentProp:!0,additionalProps:{elevation:y,style:$?void 0:{opacity:0}},ownerState:M});return h.jsx(Y,{...ee,...!eo(Y)&&{slots:Z,slotProps:Q,disableScrollLock:w},children:h.jsx(_,{...U,timeout:L,children:h.jsx(X,{...ne,children:u})})})});process.env.NODE_ENV!=="production"&&($s.propTypes={action:$r,anchorEl:it(o.oneOfType([Pt,o.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=mr(e.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
258
+ `}),h.jsx(Yo.NextStepReact,{steps:C,shadowRgb:r,shadowOpacity:n,displayArrow:i,clickThroughOverlay:a,onStart:v,onStepChange:S,onComplete:c,onSkip:u,cardComponent:p??qf,scrollToTop:m,disableConsoleLogs:y,overlayZIndex:b,children:e})]})},Ho=Pe(h.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),Kf=Pe(h.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),Xf=Pe(h.jsx("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"}),"TableChart"),Zf=Pe(h.jsx("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M8 20H4v-4h4zm0-6H4v-4h4zm0-6H4V4h4zm6 12h-4v-4h4zm0-6h-4v-4h4zm0-6h-4V4h4zm6 12h-4v-4h4zm0-6h-4v-4h4zm0-6h-4V4h4z"}),"GridOn"),Jf=Pe(h.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5zm4-3H19v1h1.5V11H19v2h-1.5V7h3zM9 9.5h1v-1H9zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm10 5.5h1v-3h-1z"}),"PictureAsPdf"),Qf=Pe(h.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"}),"Description"),em=Pe(h.jsx("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"}),"Image"),tm=Pe(h.jsx("path",{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11z"}),"Videocam"),rm=Pe(h.jsx("path",{d:"M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3z"}),"Audiotrack"),om=Pe(h.jsx("path",{d:"M20 6h-8l-2-2H6.83l14.93 14.93c.15-.28.24-.59.24-.93V8c0-1.1-.9-2-2-2M2.1 2.1.69 3.51l1.56 1.56c-.15.28-.24.59-.24.93L2 18c0 1.1.9 2 2 2h13.17l3.31 3.31 1.41-1.41z"}),"FolderOff"),nm={excel:{aceptar:".xlsx,.xls",etiqueta:"Subir Excel",descripcion:"Excel (.xlsx, .xls)"},csv:{aceptar:".csv",etiqueta:"Subir CSV",descripcion:"Archivo CSV (.csv)"},hojaCalculo:{aceptar:".xlsx,.xls,.csv,.ods,.numbers",etiqueta:"Subir hoja de cálculo",descripcion:"Excel, CSV, ODS, Numbers"},pdf:{aceptar:".pdf",etiqueta:"Subir PDF",descripcion:"Archivo PDF (.pdf)"},documento:{aceptar:".pdf,.doc,.docx,.odt,.txt,.rtf",etiqueta:"Subir documento",descripcion:"PDF, Word, ODT, TXT"},imagen:{aceptar:"image/*",etiqueta:"Subir imagen",descripcion:"PNG, JPG, WebP, GIF, SVG..."},video:{aceptar:"video/*",etiqueta:"Subir video",descripcion:"MP4, WebM, MOV, AVI..."},audio:{aceptar:"audio/*",etiqueta:"Subir audio",descripcion:"MP3, WAV, OGG, AAC..."},cualquiera:{aceptar:"*",etiqueta:"Subir archivo",descripcion:"Cualquier tipo de archivo"}},zr=e=>{if(e===0)return"0 B";const t=1024,r=["B","KB","MB","GB"],n=Math.floor(Math.log(e)/Math.log(t));return`${parseFloat((e/Math.pow(t,n)).toFixed(1))} ${r[n]}`},im=e=>e.size===0&&e.type===""&&!e.name.includes("."),am=({nombre:e,color:t})=>{const r=e.split(".").pop()?.toLowerCase()??"",n={fontSize:20,color:t};return["xlsx","xls"].includes(r)?h.jsx(Xf,{sx:n}):r==="csv"?h.jsx(Zf,{sx:n}):r==="pdf"?h.jsx(Jf,{sx:n}):["doc","docx","odt","txt","rtf"].includes(r)?h.jsx(Qf,{sx:n}):["jpg","jpeg","png","gif","webp","svg","bmp"].includes(r)?h.jsx(em,{sx:n}):["mp4","avi","mov","webm","mkv"].includes(r)?h.jsx(tm,{sx:n}):["mp3","wav","ogg","aac","flac"].includes(r)?h.jsx(rm,{sx:n}):h.jsx(Kf,{sx:n})},sm=(e,t)=>{const r=e.split(".").pop()?.toLowerCase()??"";return["xlsx","xls","csv","ods","numbers"].includes(r)?t.success.main:r==="pdf"?t.error.main:["doc","docx","odt","txt","rtf"].includes(r)?t.info.main:["jpg","jpeg","png","gif","webp","svg"].includes(r)?"#9C27B0":["mp4","avi","mov","webm"].includes(r)?t.warning.main:["mp3","wav","ogg","aac"].includes(r)?"#E91E63":t.text.secondary},lm=J(de,{shouldForwardProp:e=>!["arrastrandoSobre","tieneError","deshabilitado"].includes(String(e))})(({theme:e,arrastrandoSobre:t,tieneError:r,deshabilitado:n})=>({border:`2px dashed ${r?e.palette.error.main:t?e.palette.primary.main:e.palette.divider}`,borderRadius:12,padding:e.spacing(4),textAlign:"center",cursor:n?"not-allowed":"pointer",transition:e.transitions.create(["border-color","background-color"],{duration:200}),backgroundColor:t?re.alpha(e.palette.primary.main,.06):r?re.alpha(e.palette.error.main,.04):e.palette.mode==="dark"?re.alpha(e.palette.common.white,.02):re.alpha(e.palette.common.black,.01),opacity:n?.5:1,userSelect:"none","&:hover":n?{}:{borderColor:r?e.palette.error.main:e.palette.primary.main,backgroundColor:re.alpha(e.palette.primary.main,.04)}})),cm=({variante:e="zona",tipoPreestablecido:t,multiple:r=!1,aceptar:n,tamanoMaximo:i,etiqueta:a,descripcion:s,mostrarLista:l=!0,anchoCompleto:c=!1,deshabilitado:u=!1,alCambiar:p,alError:m})=>{const y=Ge(),b=le.useRef(null),g=le.useRef(0),[d,C]=le.useState([]),[T,R]=le.useState(!1),[S,v]=le.useState(null),x=t?nm[t]:null,w=n??(x?.aceptar==="*"?void 0:x?.aceptar),P=a??x?.etiqueta,I=s??x?.descripcion,M=(()=>{if(I)return I;const O=[];return w&&O.push(w),i&&O.push(`Máx. ${zr(i)}`),O.length>0?O.join(" · "):r?"Múltiples archivos permitidos":"Un archivo a la vez"})(),z=le.useCallback(O=>{const _=[],U=[];return O.forEach(H=>{if(im(H)){U.push(`"${H.name}" es una carpeta — solo se permiten archivos.`);return}if(i&&H.size>i){U.push(`"${H.name}" supera el máximo permitido (${zr(i)}).`);return}if(w){const Y=w.split(",").map(X=>X.trim().toLowerCase()),Z=("."+(H.name.split(".").pop()??"")).toLowerCase(),Q=H.type.toLowerCase();if(!Y.some(X=>X==="*"?!0:X.startsWith(".")?X===Z:X.endsWith("/*")?Q.startsWith(X.slice(0,-1)):X===Q)){U.push(`"${H.name}" no es un tipo permitido. Se acepta: ${w}`);return}}_.push(H)}),{validos:_,errores:U}},[w,i]),B=le.useCallback(O=>{if(!O||u)return;const _=Array.from(O),{validos:U,errores:H}=z(_);if(H.length>0){const Z=H[0];v(Z),m?.(H),setTimeout(()=>v(null),3e3)}if(U.length===0)return;const Y=U.map(Z=>({id:`${Z.name}-${Z.size}-${Date.now()}-${Math.random()}`,archivo:Z}));C(Z=>{const Q=r?[...Z,...Y]:Y;return p?.(Q.map(ee=>ee.archivo)),Q})},[u,r,z,p,m]),f=O=>{C(_=>{const U=_.filter(H=>H.id!==O);return p?.(U.map(H=>H.archivo)),U})},k=O=>{O.preventDefault(),O.stopPropagation(),!u&&(g.current++,R(!0))},$=O=>{O.preventDefault(),O.stopPropagation()},A=O=>{O.preventDefault(),O.stopPropagation(),g.current--,g.current<=0&&(g.current=0,R(!1))},j=O=>{O.preventDefault(),O.stopPropagation(),g.current=0,R(!1),B(O.dataTransfer.files)},V=O=>{O.stopPropagation(),u||b.current?.click()},N={onDragEnter:k,onDragOver:$,onDragLeave:A,onDrop:j},L=S!==null;return h.jsxs(de,{sx:{width:c?"100%":"auto",display:c?"block":"inline-block"},children:[h.jsx("input",{ref:b,type:"file",multiple:r,accept:w,style:{display:"none"},onChange:O=>B(O.target.files),onClick:O=>{O.target.value=""}}),e==="zona"&&h.jsxs(lm,{arrastrandoSobre:T,tieneError:L,deshabilitado:u,onClick:V,...N,sx:{width:c?"100%":"auto"},children:[L?h.jsx(om,{sx:{fontSize:48,color:"error.main",mb:1}}):h.jsx(Ho,{sx:{fontSize:48,color:T?"primary.main":"text.disabled",mb:1,transition:"color 0.2s"}}),h.jsx(Fe,{variant:"subtitle1",fontWeight:600,color:L?"error":"text.primary",children:L?S:P??(T?"Suelta los archivos aquí":"Arrastra archivos o haz clic para seleccionar")}),!L&&h.jsx(Fe,{variant:"body2",color:"text.secondary",sx:{mt:.5},children:M})]}),e==="compacto"&&h.jsxs(de,{onClick:V,...N,sx:{display:"inline-flex",alignItems:"center",gap:1,px:2,py:1,borderRadius:2,border:`1px solid ${T?y.palette.primary.main:L?y.palette.error.main:y.palette.divider}`,cursor:u?"not-allowed":"pointer",transition:y.transitions.create(["border-color","background-color"]),opacity:u?.5:1,backgroundColor:T?re.alpha(y.palette.primary.main,.04):L?re.alpha(y.palette.error.main,.04):"transparent",userSelect:"none","&:hover":u?{}:{borderColor:y.palette.primary.main,backgroundColor:re.alpha(y.palette.primary.main,.04)}},children:[h.jsx(Ho,{fontSize:"small",sx:{color:L?"error.main":"primary.main"}}),h.jsx(Fe,{variant:"body2",fontWeight:500,color:L?"error":"text.primary",children:L?"Tipo no permitido":P??"Seleccionar archivo"}),!L&&I&&h.jsxs(Fe,{variant:"caption",color:"text.secondary",children:["(",I,")"]}),!L&&i&&!I&&h.jsxs(Fe,{variant:"caption",color:"text.secondary",children:["(máx. ",zr(i),")"]})]}),e==="boton"&&h.jsxs(de,{component:"button",disabled:u,onClick:V,...N,sx:{display:"inline-flex",alignItems:"center",gap:1,px:2.5,py:1,borderRadius:2,border:"none",backgroundColor:L?"error.main":"primary.main",color:"primary.contrastText",cursor:u?"not-allowed":"pointer",fontFamily:"inherit",fontSize:"0.875rem",fontWeight:600,transition:"background-color 0.2s",opacity:u?.5:1,userSelect:"none","&:hover:not(:disabled)":{backgroundColor:L?"error.dark":"primary.dark"}},children:[h.jsx(Ho,{fontSize:"small"}),L?"Tipo no permitido":P??"Subir archivo"]}),l&&d.length>0&&h.jsx(de,{sx:{mt:1.5,display:"flex",flexDirection:"column",gap:.75},children:d.map(O=>{const _=sm(O.archivo.name,y.palette);return h.jsxs(de,{sx:{display:"flex",alignItems:"center",gap:1.5,px:1.5,py:1,borderRadius:2,border:`1px solid ${O.error?y.palette.error.light:y.palette.divider}`,backgroundColor:O.error?re.alpha(y.palette.error.main,.04):y.palette.background.paper},children:[O.error?h.jsx(In,{sx:{fontSize:20,color:"error.main",flexShrink:0}}):O.progreso===100?h.jsx(Va,{sx:{fontSize:20,color:"success.main",flexShrink:0}}):h.jsx(de,{sx:{flexShrink:0},children:h.jsx(am,{nombre:O.archivo.name,color:_})}),h.jsxs(de,{sx:{flex:1,overflow:"hidden",minWidth:0},children:[h.jsx(Fe,{variant:"body2",fontWeight:500,noWrap:!0,children:O.archivo.name}),O.error?h.jsx(Fe,{variant:"caption",color:"error",children:O.error}):h.jsx(Fe,{variant:"caption",color:"text.secondary",children:zr(O.archivo.size)}),O.progreso!==void 0&&O.progreso<100&&h.jsx(Dn,{variant:"determinate",value:O.progreso,sx:{mt:.5,borderRadius:1,height:4}})]}),h.jsx(Nn,{size:"small",onClick:()=>f(O.id),"aria-label":`Eliminar ${O.archivo.name}`,sx:{flexShrink:0,opacity:.6,"&:hover":{opacity:1}},children:h.jsx(ps,{sx:{fontSize:16}})})]},O.id)})})]})};function Pt(e,t,r,n,i){if(process.env.NODE_ENV==="production")return null;const a=e[t],s=i||t;return a==null?null:a&&a.nodeType!==1?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}function um(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Es(e,t,r,n,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;const c=a.type;return typeof c=="function"&&!um(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const nr=it(o.element,Es);nr.isRequired=it(o.element.isRequired,Es);function jr(e){return parseInt(E.version,10)>=19?e?.props?.ref||null:e?.ref||null}function hn(e){return`scale(${e}, ${e**2})`}const pm={entering:{opacity:1,transform:hn(1)},entered:{opacity:1,transform:"none"}},Uo=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Cr=E.forwardRef(function(t,r){const{addEndListener:n,appear:i=!0,children:a,easing:s,in:l,onEnter:c,onEntered:u,onEntering:p,onExit:m,onExited:y,onExiting:b,style:g,timeout:d="auto",TransitionComponent:C=lt,...T}=t,R=Dt(),S=E.useRef(),v=Ge(),x=E.useRef(null),w=Le(x,jr(a),r),P=A=>j=>{if(A){const V=x.current;j===void 0?A(V):A(V,j)}},I=P(p),M=P((A,j)=>{hs(A);const{duration:V,delay:N,easing:L}=Qt({style:g,timeout:d,easing:s},{mode:"enter"});let O;d==="auto"?(O=v.transitions.getAutoHeightDuration(A.clientHeight),S.current=O):O=V,A.style.transition=[v.transitions.create("opacity",{duration:O,delay:N}),v.transitions.create("transform",{duration:Uo?O:O*.666,delay:N,easing:L})].join(","),c&&c(A,j)}),z=P(u),B=P(b),f=P(A=>{const{duration:j,delay:V,easing:N}=Qt({style:g,timeout:d,easing:s},{mode:"exit"});let L;d==="auto"?(L=v.transitions.getAutoHeightDuration(A.clientHeight),S.current=L):L=j,A.style.transition=[v.transitions.create("opacity",{duration:L,delay:V}),v.transitions.create("transform",{duration:Uo?L:L*.666,delay:Uo?V:V||L*.333,easing:N})].join(","),A.style.opacity=0,A.style.transform=hn(.75),m&&m(A)}),k=P(y),$=A=>{d==="auto"&&R.start(S.current||0,A),n&&n(x.current,A)};return h.jsx(C,{appear:i,in:l,nodeRef:x,onEnter:M,onEntered:z,onEntering:I,onExit:f,onExited:k,onExiting:B,addEndListener:$,timeout:d==="auto"?null:d,...T,children:(A,{ownerState:j,...V})=>E.cloneElement(a,{style:{opacity:0,transform:hn(.75),visibility:A==="exited"&&!l?"hidden":void 0,...pm[A],...g,...a.props.style},ref:w,...V})})});process.env.NODE_ENV!=="production"&&(Cr.propTypes={addEndListener:o.func,appear:o.bool,children:nr.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});Cr&&(Cr.muiSupportAuto=!0);function dm(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function fm(e){const t=st(e);return t.body===e?Rt(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function gr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Fi(e){return parseFloat(Rt(e).getComputedStyle(e).paddingRight)||0}function mm(e){const r=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return r||n}function _i(e,t,r,n,i){const a=[t,r,...n];[].forEach.call(e.children,s=>{const l=!a.includes(s),c=!mm(s);l&&c&&gr(s,i)})}function qo(e,t){let r=-1;return e.some((n,i)=>t(n)?(r=i,!0):!1),r}function hm(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(fm(n)){const s=dm(Rt(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Fi(n)+s}px`;const l=st(n).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{r.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${Fi(c)+s}px`})}let a;if(n.parentNode instanceof DocumentFragment)a=st(n).body;else{const s=n.parentElement,l=Rt(n);a=s?.nodeName==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:n}r.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{r.forEach(({value:a,el:s,property:l})=>{a?s.style.setProperty(l,a):s.style.removeProperty(l)})}}function gm(e){const t=[];return[].forEach.call(e.children,r=>{r.getAttribute("aria-hidden")==="true"&&t.push(r)}),t}class ym{constructor(){this.modals=[],this.containers=[]}add(t,r){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&gr(t.modalRef,!1);const i=gm(r);_i(r,t.mount,t.modalRef,i,!0);const a=qo(this.containers,s=>s.container===r);return a!==-1?(this.containers[a].modals.push(t),n):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblings:i}),n)}mount(t,r){const n=qo(this.containers,a=>a.modals.includes(t)),i=this.containers[n];i.restore||(i.restore=hm(i,r))}remove(t,r=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const i=qo(this.containers,s=>s.modals.includes(t)),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(n,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&gr(t.modalRef,r),_i(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=a.modals[a.modals.length-1];s.modalRef&&gr(s.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Fr(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}const bm=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function vm(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function xm(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}function Cm(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||xm(e))}function Tm(e){const t=[],r=[];return Array.from(e.querySelectorAll(bm)).forEach((n,i)=>{const a=vm(n);a===-1||!Cm(n)||(a===0?t.push(n):r.push({documentOrder:i,tabIndex:a,node:n}))}),r.sort((n,i)=>n.tabIndex===i.tabIndex?n.documentOrder-i.documentOrder:n.tabIndex-i.tabIndex).map(n=>n.node).concat(t)}function wm(){return!0}function ro(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:i=!1,getTabbable:a=Tm,isEnabled:s=wm,open:l}=e,c=E.useRef(!1),u=E.useRef(null),p=E.useRef(null),m=E.useRef(null),y=E.useRef(null),b=E.useRef(!1),g=E.useRef(null),d=Le(jr(t),g),C=E.useRef(null);E.useEffect(()=>{!l||!g.current||(b.current=!r)},[r,l]),E.useEffect(()=>{if(!l||!g.current)return;const S=st(g.current),v=Fr(S);return g.current.contains(v)||(g.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
259
+ `)),g.current.setAttribute("tabIndex","-1")),b.current&&g.current.focus()),()=>{i||(m.current&&m.current.focus&&(c.current=!0,m.current.focus()),m.current=null)}},[l]),E.useEffect(()=>{if(!l||!g.current)return;const S=st(g.current),v=P=>{if(C.current=P,n||!s()||P.key!=="Tab")return;Fr(S)===g.current&&P.shiftKey&&(c.current=!0,p.current&&p.current.focus())},x=()=>{const P=g.current;if(P===null)return;const I=Fr(S);if(!S.hasFocus()||!s()||c.current){c.current=!1;return}if(P.contains(I)||n&&I!==u.current&&I!==p.current)return;if(I!==y.current)y.current=null;else if(y.current!==null)return;if(!b.current)return;let M=[];if((I===u.current||I===p.current)&&(M=a(g.current)),M.length>0){const z=!!(C.current?.shiftKey&&C.current?.key==="Tab"),B=M[0],f=M[M.length-1];typeof B!="string"&&typeof f!="string"&&(z?f.focus():B.focus())}else P.focus()};S.addEventListener("focusin",x),S.addEventListener("keydown",v,!0);const w=setInterval(()=>{const P=Fr(S);P&&P.tagName==="BODY"&&x()},50);return()=>{clearInterval(w),S.removeEventListener("focusin",x),S.removeEventListener("keydown",v,!0)}},[r,n,i,s,l,a]);const T=S=>{m.current===null&&(m.current=S.relatedTarget),b.current=!0,y.current=S.target;const v=t.props.onFocus;v&&v(S)},R=S=>{m.current===null&&(m.current=S.relatedTarget),b.current=!0};return h.jsxs(E.Fragment,{children:[h.jsx("div",{tabIndex:l?0:-1,onFocus:R,ref:u,"data-testid":"sentinelStart"}),E.cloneElement(t,{ref:d,onFocus:T}),h.jsx("div",{tabIndex:l?0:-1,onFocus:R,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(ro.propTypes={children:nr,disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableRestoreFocus:o.bool,getTabbable:o.func,isEnabled:o.func,open:o.bool.isRequired});process.env.NODE_ENV!=="production"&&(ro.propTypes=va(ro.propTypes));function Em(e){return typeof e=="function"?e():e}const Tr=E.forwardRef(function(t,r){const{children:n,container:i,disablePortal:a=!1}=t,[s,l]=E.useState(null),c=Le(E.isValidElement(n)?jr(n):null,r);if(Ot(()=>{a||l(Em(i)||document.body)},[i,a]),Ot(()=>{if(s&&!a)return $i(r,s),()=>{$i(r,null)}},[r,s,a]),a){if(E.isValidElement(n)){const u={ref:c};return E.cloneElement(n,u)}return n}return s&&Qs.createPortal(n,s)});process.env.NODE_ENV!=="production"&&(Tr.propTypes={children:o.node,container:o.oneOfType([Pt,o.func]),disablePortal:o.bool});process.env.NODE_ENV!=="production"&&(Tr.propTypes=va(Tr.propTypes));const Sm={entering:{opacity:1},entered:{opacity:1}},Ss=E.forwardRef(function(t,r){const n=Ge(),i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:c,in:u,onEnter:p,onEntered:m,onEntering:y,onExit:b,onExited:g,onExiting:d,style:C,timeout:T=i,TransitionComponent:R=lt,...S}=t,v=E.useRef(null),x=Le(v,jr(l),r),w=$=>A=>{if($){const j=v.current;A===void 0?$(j):$(j,A)}},P=w(y),I=w(($,A)=>{hs($);const j=Qt({style:C,timeout:T,easing:c},{mode:"enter"});$.style.webkitTransition=n.transitions.create("opacity",j),$.style.transition=n.transitions.create("opacity",j),p&&p($,A)}),M=w(m),z=w(d),B=w($=>{const A=Qt({style:C,timeout:T,easing:c},{mode:"exit"});$.style.webkitTransition=n.transitions.create("opacity",A),$.style.transition=n.transitions.create("opacity",A),b&&b($)}),f=w(g),k=$=>{a&&a(v.current,$)};return h.jsx(R,{appear:s,in:u,nodeRef:v,onEnter:I,onEntered:M,onEntering:P,onExit:B,onExited:f,onExiting:z,addEndListener:k,timeout:T,...S,children:($,{ownerState:A,...j})=>E.cloneElement(l,{style:{opacity:0,visibility:$==="exited"&&!u?"hidden":void 0,...Sm[$],...C,...l.props.style},ref:x,...j})})});process.env.NODE_ENV!=="production"&&(Ss.propTypes={addEndListener:o.func,appear:o.bool,children:nr.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});function Om(e){return Te("MuiBackdrop",e)}we("MuiBackdrop",["root","invisible"]);const Rm=e=>{const{classes:t,invisible:r}=e;return $e({root:["root",r&&"invisible"]},Om,t)},Pm=J("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Os=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiBackdrop"}),{children:i,className:a,component:s="div",invisible:l=!1,open:c,components:u={},componentsProps:p={},slotProps:m={},slots:y={},TransitionComponent:b,transitionDuration:g,...d}=n,C={...n,component:s,invisible:l},T=Rm(C),R={transition:b,root:u.Root,...y},S={...p,...m},v={component:s,slots:R,slotProps:S},[x,w]=ge("root",{elementType:Pm,externalForwardedProps:v,className:se(T.root,a),ownerState:C}),[P,I]=ge("transition",{elementType:Ss,externalForwardedProps:v,ownerState:C});return h.jsx(P,{in:c,timeout:g,...d,...I,children:h.jsx(x,{"aria-hidden":!0,...w,ref:r,children:i})})});process.env.NODE_ENV!=="production"&&(Os.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.object}),invisible:o.bool,open:o.bool.isRequired,slotProps:o.shape({root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});function $m(e){return typeof e=="function"?e():e}function jm(e){return e?e.props.hasOwnProperty("in"):!1}const Vi=()=>{},_r=new ym;function km(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:p}=e,m=E.useRef({}),y=E.useRef(null),b=E.useRef(null),g=Le(b,p),[d,C]=E.useState(!u),T=jm(l);let R=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(R=!1);const S=()=>st(y.current),v=()=>(m.current.modalRef=b.current,m.current.mount=y.current,m.current),x=()=>{_r.mount(v(),{disableScrollLock:n}),b.current&&(b.current.scrollTop=0)},w=yt(()=>{const A=$m(t)||S().body;_r.add(v(),A),b.current&&x()}),P=()=>_r.isTopModal(v()),I=yt(A=>{y.current=A,A&&(u&&P()?x():b.current&&gr(b.current,R))}),M=E.useCallback(()=>{_r.remove(v(),R)},[R]);E.useEffect(()=>()=>{M()},[M]),E.useEffect(()=>{u?w():(!T||!i)&&M()},[u,M,T,i,w]);const z=A=>j=>{A.onKeyDown?.(j),!(j.key!=="Escape"||j.which===229||!P())&&(r||(j.stopPropagation(),c&&c(j,"escapeKeyDown")))},B=A=>j=>{A.onClick?.(j),j.target===j.currentTarget&&c&&c(j,"backdropClick")};return{getRootProps:(A={})=>{const j=Ua(e);delete j.onTransitionEnter,delete j.onTransitionExited;const V={...j,...A};return{role:"presentation",...V,onKeyDown:z(V),ref:g}},getBackdropProps:(A={})=>{const j=A;return{"aria-hidden":!0,...j,onClick:B(j),open:u}},getTransitionProps:()=>{const A=()=>{C(!1),a&&a()},j=()=>{C(!0),s&&s(),i&&M()};return{onEnter:ii(A,l?.props.onEnter??Vi),onExited:ii(j,l?.props.onExited??Vi)}},rootRef:g,portalRef:I,isTopModal:P,exited:d,hasTransition:T}}function Am(e){return Te("MuiModal",e)}we("MuiModal",["root","hidden","backdrop"]);const Mm=e=>{const{open:t,exited:r,classes:n}=e;return $e({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},Am,n)},Im=J("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(ye(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),Nm=J(Os,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Rs=E.forwardRef(function(t,r){const n=Re({name:"MuiModal",props:t}),{BackdropComponent:i=Nm,BackdropProps:a,classes:s,className:l,closeAfterTransition:c=!1,children:u,container:p,component:m,components:y={},componentsProps:b={},disableAutoFocus:g=!1,disableEnforceFocus:d=!1,disableEscapeKeyDown:C=!1,disablePortal:T=!1,disableRestoreFocus:R=!1,disableScrollLock:S=!1,hideBackdrop:v=!1,keepMounted:x=!1,onClose:w,onTransitionEnter:P,onTransitionExited:I,open:M,slotProps:z={},slots:B={},theme:f,...k}=n,$={...n,closeAfterTransition:c,disableAutoFocus:g,disableEnforceFocus:d,disableEscapeKeyDown:C,disablePortal:T,disableRestoreFocus:R,disableScrollLock:S,hideBackdrop:v,keepMounted:x},{getRootProps:A,getBackdropProps:j,getTransitionProps:V,portalRef:N,isTopModal:L,exited:O,hasTransition:_}=km({...$,rootRef:r}),U={...$,exited:O},H=Mm(U),Y={};if(u.props.tabIndex===void 0&&(Y.tabIndex="-1"),_){const{onEnter:q,onExited:oe}=V();Y.onEnter=q,Y.onExited=oe}const Z={slots:{root:y.Root,backdrop:y.Backdrop,...B},slotProps:{...b,...z}},[Q,ee]=ge("root",{ref:r,elementType:Im,externalForwardedProps:{...Z,...k,component:m},getSlotProps:A,ownerState:U,className:se(l,H?.root,!U.open&&U.exited&&H?.hidden)}),[X,ne]=ge("backdrop",{ref:a?.ref,elementType:i,externalForwardedProps:Z,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:q=>j({...q,onClick:oe=>{q?.onClick&&q.onClick(oe)}}),className:se(a?.className,H?.backdrop),ownerState:U});return!x&&!M&&(!_||O)?null:h.jsx(Tr,{ref:N,container:p,disablePortal:T,children:h.jsxs(Q,{...ee,children:[!v&&i?h.jsx(X,{...ne}):null,h.jsx(ro,{disableEnforceFocus:d,disableAutoFocus:g,disableRestoreFocus:R,isEnabled:L,open:M,children:E.cloneElement(u,Y)})]})})});process.env.NODE_ENV!=="production"&&(Rs.propTypes={BackdropComponent:o.elementType,BackdropProps:o.object,children:nr.isRequired,classes:o.object,className:o.string,closeAfterTransition:o.bool,component:o.elementType,components:o.shape({Backdrop:o.elementType,Root:o.elementType}),componentsProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([Pt,o.func]),disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableEscapeKeyDown:o.bool,disablePortal:o.bool,disableRestoreFocus:o.bool,disableScrollLock:o.bool,hideBackdrop:o.bool,keepMounted:o.bool,onClose:o.func,onTransitionEnter:o.func,onTransitionExited:o.func,open:o.bool.isRequired,slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});function Bm(e){return Te("MuiPopover",e)}we("MuiPopover",["root","paper"]);function Li(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.height/2:t==="bottom"&&(r=e.height),r}function Wi(e,t){let r=0;return typeof t=="number"?r=t:t==="center"?r=e.width/2:t==="right"&&(r=e.width),r}function Hi(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function mr(e){return typeof e=="function"?e():e}const Dm=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"]},Bm,t)},zm=J(Rs,{name:"MuiPopover",slot:"Root"})({}),Fm=J(Eo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ps=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:u,className:p,container:m,elevation:y=8,marginThreshold:b=16,open:g,PaperProps:d={},slots:C={},slotProps:T={},transformOrigin:R={vertical:"top",horizontal:"left"},TransitionComponent:S,transitionDuration:v="auto",TransitionProps:x={},disableScrollLock:w=!1,...P}=n,I=E.useRef(),M={...n,anchorOrigin:s,anchorReference:c,elevation:y,marginThreshold:b,transformOrigin:R,TransitionComponent:S,transitionDuration:v,TransitionProps:x},z=Dm(M),B=E.useCallback(()=>{if(c==="anchorPosition")return process.env.NODE_ENV!=="production"&&(l||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),l;const q=mr(a),oe=q&&q.nodeType===1?q:st(I.current).body,F=oe.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const ce=oe.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ce.top===0&&ce.left===0&&ce.right===0&&ce.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
260
+ `))}return{top:F.top+Li(F,s.vertical),left:F.left+Wi(F,s.horizontal)}},[a,s.horizontal,s.vertical,l,c]),f=E.useCallback(q=>({vertical:Li(q,R.vertical),horizontal:Wi(q,R.horizontal)}),[R.horizontal,R.vertical]),k=E.useCallback(q=>{const oe={width:q.offsetWidth,height:q.offsetHeight},F=f(oe);if(c==="none")return{top:null,left:null,transformOrigin:Hi(F)};const ce=B();let ie=ce.top-F.vertical,te=ce.left-F.horizontal;const Ee=ie+oe.height,me=te+oe.width,he=Rt(mr(a)),Ae=he.innerHeight-b,je=he.innerWidth-b;if(b!==null&&ie<b){const ae=ie-b;ie-=ae,F.vertical+=ae}else if(b!==null&&Ee>Ae){const ae=Ee-Ae;ie-=ae,F.vertical+=ae}if(process.env.NODE_ENV!=="production"&&oe.height>Ae&&oe.height&&Ae&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${oe.height-Ae}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
261
+ `)),b!==null&&te<b){const ae=te-b;te-=ae,F.horizontal+=ae}else if(me>je){const ae=me-je;te-=ae,F.horizontal+=ae}return{top:`${Math.round(ie)}px`,left:`${Math.round(te)}px`,transformOrigin:Hi(F)}},[a,c,B,f,b]),[$,A]=E.useState(g),j=E.useCallback(()=>{const q=I.current;if(!q)return;const oe=k(q);oe.top!==null&&q.style.setProperty("top",oe.top),oe.left!==null&&(q.style.left=oe.left),q.style.transformOrigin=oe.transformOrigin,A(!0)},[k]);E.useEffect(()=>(w&&window.addEventListener("scroll",j),()=>window.removeEventListener("scroll",j)),[a,w,j]);const V=()=>{j()},N=()=>{A(!1)};E.useEffect(()=>{g&&j()}),E.useImperativeHandle(i,()=>g?{updatePosition:()=>{j()}}:null,[g,j]),E.useEffect(()=>{if(!g)return;const q=Aa(()=>{j()}),oe=Rt(mr(a));return oe.addEventListener("resize",q),()=>{q.clear(),oe.removeEventListener("resize",q)}},[a,g,j]);let L=v;const O={slots:{transition:S,...C},slotProps:{transition:x,paper:d,...T}},[_,U]=ge("transition",{elementType:Cr,externalForwardedProps:O,ownerState:M,getSlotProps:q=>({...q,onEntering:(oe,F)=>{q.onEntering?.(oe,F),V()},onExited:oe=>{q.onExited?.(oe),N()}}),additionalProps:{appear:!0,in:g}});v==="auto"&&!_.muiSupportAuto&&(L=void 0);const H=m||(a?st(mr(a)).body:void 0),[Y,{slots:Z,slotProps:Q,...ee}]=ge("root",{ref:r,elementType:zm,externalForwardedProps:{...O,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:C.backdrop},slotProps:{backdrop:ku(typeof T.backdrop=="function"?T.backdrop(M):T.backdrop,{invisible:!0})},container:H,open:g},ownerState:M,className:se(z.root,p)}),[X,ne]=ge("paper",{ref:I,className:z.paper,elementType:Fm,externalForwardedProps:O,shouldForwardComponentProp:!0,additionalProps:{elevation:y,style:$?void 0:{opacity:0}},ownerState:M});return h.jsx(Y,{...ee,...!eo(Y)&&{slots:Z,slotProps:Q,disableScrollLock:w},children:h.jsx(_,{...U,timeout:L,children:h.jsx(X,{...ne,children:u})})})});process.env.NODE_ENV!=="production"&&(Ps.propTypes={action:$r,anchorEl:it(o.oneOfType([Pt,o.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=mr(e.anchorEl);if(t&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
262
262
  `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
263
- `))}return null}),anchorOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),anchorPosition:o.shape({left:o.number.isRequired,top:o.number.isRequired}),anchorReference:o.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:o.elementType,BackdropProps:o.object,children:o.node,classes:o.object,className:o.string,container:o.oneOfType([Pt,o.func]),disableScrollLock:o.bool,elevation:is,marginThreshold:o.number,onClose:o.func,open:o.bool.isRequired,PaperProps:o.shape({component:xo}),slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),paper:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,paper:o.elementType,root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transformOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object});var Ue="top",rt="bottom",ot="right",qe="left",Fn="auto",kr=[Ue,rt,ot,qe],er="start",wr="end",Vm="clippingParents",js="viewport",lr="popper",Lm="reference",qi=kr.reduce(function(e,t){return e.concat([t+"-"+er,t+"-"+wr])},[]),ks=[].concat(kr,[Fn]).reduce(function(e,t){return e.concat([t,t+"-"+er,t+"-"+wr])},[]),Wm="beforeRead",Hm="read",Um="afterRead",qm="beforeMain",Gm="main",Ym="afterMain",Km="beforeWrite",Xm="write",Zm="afterWrite",Jm=[Wm,Hm,Um,qm,Gm,Ym,Km,Xm,Zm];function ft(e){return e?(e.nodeName||"").toLowerCase():null}function Je(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vt(e){var t=Je(e).Element;return e instanceof t||e instanceof Element}function tt(e){var t=Je(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _n(e){if(typeof ShadowRoot>"u")return!1;var t=Je(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qm(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!tt(a)||!ft(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(s){var l=i[s];l===!1?a.removeAttribute(s):a.setAttribute(s,l===!0?"":l)}))})}function eh(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=s.reduce(function(c,u){return c[u]="",c},{});!tt(i)||!ft(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(c){i.removeAttribute(c)}))})}}const th={name:"applyStyles",enabled:!0,phase:"write",fn:Qm,effect:eh,requires:["computeStyles"]};function dt(e){return e.split("-")[0]}var _t=Math.max,oo=Math.min,tr=Math.round;function gn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function As(){return!/^((?!chrome|android).)*safari/i.test(gn())}function rr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&tt(e)&&(i=e.offsetWidth>0&&tr(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&tr(n.height)/e.offsetHeight||1);var s=Vt(e)?Je(e):window,l=s.visualViewport,c=!As()&&r,u=(n.left+(c&&l?l.offsetLeft:0))/i,p=(n.top+(c&&l?l.offsetTop:0))/a,m=n.width/i,y=n.height/a;return{width:m,height:y,top:p,right:u+m,bottom:p+y,left:u,x:u,y:p}}function Vn(e){var t=rr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function Ms(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&_n(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function xt(e){return Je(e).getComputedStyle(e)}function rh(e){return["table","td","th"].indexOf(ft(e))>=0}function jt(e){return((Vt(e)?e.ownerDocument:e.document)||window.document).documentElement}function So(e){return ft(e)==="html"?e:e.assignedSlot||e.parentNode||(_n(e)?e.host:null)||jt(e)}function Gi(e){return!tt(e)||xt(e).position==="fixed"?null:e.offsetParent}function oh(e){var t=/firefox/i.test(gn()),r=/Trident/i.test(gn());if(r&&tt(e)){var n=xt(e);if(n.position==="fixed")return null}var i=So(e);for(_n(i)&&(i=i.host);tt(i)&&["html","body"].indexOf(ft(i))<0;){var a=xt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Ar(e){for(var t=Je(e),r=Gi(e);r&&rh(r)&&xt(r).position==="static";)r=Gi(r);return r&&(ft(r)==="html"||ft(r)==="body"&&xt(r).position==="static")?t:r||oh(e)||t}function Ln(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yr(e,t,r){return _t(e,oo(t,r))}function nh(e,t,r){var n=yr(e,t,r);return n>r?r:n}function Is(){return{top:0,right:0,bottom:0,left:0}}function Ns(e){return Object.assign({},Is(),e)}function Bs(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ih=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Ns(typeof t!="number"?t:Bs(t,kr))};function ah(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,l=dt(r.placement),c=Ln(l),u=[qe,ot].indexOf(l)>=0,p=u?"height":"width";if(!(!a||!s)){var m=ih(i.padding,r),y=Vn(a),b=c==="y"?Ue:qe,g=c==="y"?rt:ot,d=r.rects.reference[p]+r.rects.reference[c]-s[c]-r.rects.popper[p],C=s[c]-r.rects.reference[c],T=Ar(a),R=T?c==="y"?T.clientHeight||0:T.clientWidth||0:0,S=d/2-C/2,v=m[b],x=R-y[p]-m[g],w=R/2-y[p]/2+S,P=yr(v,w,x),I=c;r.modifiersData[n]=(t={},t[I]=P,t.centerOffset=P-w,t)}}function sh(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||Ms(t.elements.popper,i)&&(t.elements.arrow=i))}const lh={name:"arrow",enabled:!0,phase:"main",fn:ah,effect:sh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function or(e){return e.split("-")[1]}var ch={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uh(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:tr(r*i)/i||0,y:tr(n*i)/i||0}}function Yi(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,m=e.isFixed,y=s.x,b=y===void 0?0:y,g=s.y,d=g===void 0?0:g,C=typeof p=="function"?p({x:b,y:d}):{x:b,y:d};b=C.x,d=C.y;var T=s.hasOwnProperty("x"),R=s.hasOwnProperty("y"),S=qe,v=Ue,x=window;if(u){var w=Ar(r),P="clientHeight",I="clientWidth";if(w===Je(r)&&(w=jt(r),xt(w).position!=="static"&&l==="absolute"&&(P="scrollHeight",I="scrollWidth")),w=w,i===Ue||(i===qe||i===ot)&&a===wr){v=rt;var M=m&&w===x&&x.visualViewport?x.visualViewport.height:w[P];d-=M-n.height,d*=c?1:-1}if(i===qe||(i===Ue||i===rt)&&a===wr){S=ot;var z=m&&w===x&&x.visualViewport?x.visualViewport.width:w[I];b-=z-n.width,b*=c?1:-1}}var B=Object.assign({position:l},u&&ch),f=p===!0?uh({x:b,y:d},Je(r)):{x:b,y:d};if(b=f.x,d=f.y,c){var k;return Object.assign({},B,(k={},k[v]=R?"0":"",k[S]=T?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+b+"px, "+d+"px)":"translate3d("+b+"px, "+d+"px, 0)",k))}return Object.assign({},B,(t={},t[v]=R?d+"px":"",t[S]=T?b+"px":"",t.transform="",t))}function ph(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,s=a===void 0?!0:a,l=r.roundOffsets,c=l===void 0?!0:l,u={placement:dt(t.placement),variation:or(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yi(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yi(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const dh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ph,data:{}};var Vr={passive:!0};function fh(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,s=n.resize,l=s===void 0?!0:s,c=Je(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(p){p.addEventListener("scroll",r.update,Vr)}),l&&c.addEventListener("resize",r.update,Vr),function(){a&&u.forEach(function(p){p.removeEventListener("scroll",r.update,Vr)}),l&&c.removeEventListener("resize",r.update,Vr)}}const mh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:fh,data:{}};var hh={left:"right",right:"left",bottom:"top",top:"bottom"};function qr(e){return e.replace(/left|right|bottom|top/g,function(t){return hh[t]})}var gh={start:"end",end:"start"};function Ki(e){return e.replace(/start|end/g,function(t){return gh[t]})}function Wn(e){var t=Je(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Hn(e){return rr(jt(e)).left+Wn(e).scrollLeft}function yh(e,t){var r=Je(e),n=jt(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;var u=As();(u||!u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l+Hn(e),y:c}}function bh(e){var t,r=jt(e),n=Wn(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=_t(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=_t(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+Hn(e),c=-n.scrollTop;return xt(i||r).direction==="rtl"&&(l+=_t(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:l,y:c}}function Un(e){var t=xt(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Ds(e){return["html","body","#document"].indexOf(ft(e))>=0?e.ownerDocument.body:tt(e)&&Un(e)?e:Ds(So(e))}function br(e,t){var r;t===void 0&&(t=[]);var n=Ds(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Je(n),s=i?[a].concat(a.visualViewport||[],Un(n)?n:[]):n,l=t.concat(s);return i?l:l.concat(br(So(s)))}function yn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vh(e,t){var r=rr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Xi(e,t,r){return t===js?yn(yh(e,r)):Vt(t)?vh(t,r):yn(bh(jt(e)))}function xh(e){var t=br(So(e)),r=["absolute","fixed"].indexOf(xt(e).position)>=0,n=r&&tt(e)?Ar(e):e;return Vt(n)?t.filter(function(i){return Vt(i)&&Ms(i,n)&&ft(i)!=="body"}):[]}function Ch(e,t,r,n){var i=t==="clippingParents"?xh(e):[].concat(t),a=[].concat(i,[r]),s=a[0],l=a.reduce(function(c,u){var p=Xi(e,u,n);return c.top=_t(p.top,c.top),c.right=oo(p.right,c.right),c.bottom=oo(p.bottom,c.bottom),c.left=_t(p.left,c.left),c},Xi(e,s,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function zs(e){var t=e.reference,r=e.element,n=e.placement,i=n?dt(n):null,a=n?or(n):null,s=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,c;switch(i){case Ue:c={x:s,y:t.y-r.height};break;case rt:c={x:s,y:t.y+t.height};break;case ot:c={x:t.x+t.width,y:l};break;case qe:c={x:t.x-r.width,y:l};break;default:c={x:t.x,y:t.y}}var u=i?Ln(i):null;if(u!=null){var p=u==="y"?"height":"width";switch(a){case er:c[u]=c[u]-(t[p]/2-r[p]/2);break;case wr:c[u]=c[u]+(t[p]/2-r[p]/2);break}}return c}function Er(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,s=a===void 0?e.strategy:a,l=r.boundary,c=l===void 0?Vm:l,u=r.rootBoundary,p=u===void 0?js:u,m=r.elementContext,y=m===void 0?lr:m,b=r.altBoundary,g=b===void 0?!1:b,d=r.padding,C=d===void 0?0:d,T=Ns(typeof C!="number"?C:Bs(C,kr)),R=y===lr?Lm:lr,S=e.rects.popper,v=e.elements[g?R:y],x=Ch(Vt(v)?v:v.contextElement||jt(e.elements.popper),c,p,s),w=rr(e.elements.reference),P=zs({reference:w,element:S,placement:i}),I=yn(Object.assign({},S,P)),M=y===lr?I:w,z={top:x.top-M.top+T.top,bottom:M.bottom-x.bottom+T.bottom,left:x.left-M.left+T.left,right:M.right-x.right+T.right},B=e.modifiersData.offset;if(y===lr&&B){var f=B[i];Object.keys(z).forEach(function(k){var $=[ot,rt].indexOf(k)>=0?1:-1,A=[Ue,rt].indexOf(k)>=0?"y":"x";z[k]+=f[A]*$})}return z}function Th(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?ks:c,p=or(n),m=p?l?qi:qi.filter(function(g){return or(g)===p}):kr,y=m.filter(function(g){return u.indexOf(g)>=0});y.length===0&&(y=m);var b=y.reduce(function(g,d){return g[d]=Er(e,{placement:d,boundary:i,rootBoundary:a,padding:s})[dt(d)],g},{});return Object.keys(b).sort(function(g,d){return b[g]-b[d]})}function wh(e){if(dt(e)===Fn)return[];var t=qr(e);return[Ki(e),t,Ki(t)]}function Eh(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!0:s,c=r.fallbackPlacements,u=r.padding,p=r.boundary,m=r.rootBoundary,y=r.altBoundary,b=r.flipVariations,g=b===void 0?!0:b,d=r.allowedAutoPlacements,C=t.options.placement,T=dt(C),R=T===C,S=c||(R||!g?[qr(C)]:wh(C)),v=[C].concat(S).reduce(function(Y,Z){return Y.concat(dt(Z)===Fn?Th(t,{placement:Z,boundary:p,rootBoundary:m,padding:u,flipVariations:g,allowedAutoPlacements:d}):Z)},[]),x=t.rects.reference,w=t.rects.popper,P=new Map,I=!0,M=v[0],z=0;z<v.length;z++){var B=v[z],f=dt(B),k=or(B)===er,$=[Ue,rt].indexOf(f)>=0,A=$?"width":"height",j=Er(t,{placement:B,boundary:p,rootBoundary:m,altBoundary:y,padding:u}),V=$?k?ot:qe:k?rt:Ue;x[A]>w[A]&&(V=qr(V));var N=qr(V),L=[];if(a&&L.push(j[f]<=0),l&&L.push(j[V]<=0,j[N]<=0),L.every(function(Y){return Y})){M=B,I=!1;break}P.set(B,L)}if(I)for(var O=g?3:1,_=function(Z){var Q=v.find(function(ee){var X=P.get(ee);if(X)return X.slice(0,Z).every(function(ne){return ne})});if(Q)return M=Q,"break"},U=O;U>0;U--){var H=_(U);if(H==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const Sh={name:"flip",enabled:!0,phase:"main",fn:Eh,requiresIfExists:["offset"],data:{_skip:!1}};function Zi(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ji(e){return[Ue,ot,rt,qe].some(function(t){return e[t]>=0})}function Oh(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=Er(t,{elementContext:"reference"}),l=Er(t,{altBoundary:!0}),c=Zi(s,n),u=Zi(l,i,a),p=Ji(c),m=Ji(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}const Rh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Oh};function Ph(e,t,r){var n=dt(e),i=[qe,Ue].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=a[0],l=a[1];return s=s||0,l=(l||0)*i,[qe,ot].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}}function $h(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,s=ks.reduce(function(p,m){return p[m]=Ph(m,t.rects,a),p},{}),l=s[t.placement],c=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}const jh={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:$h};function kh(e){var t=e.state,r=e.name;t.modifiersData[r]=zs({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Ah={name:"popperOffsets",enabled:!0,phase:"read",fn:kh,data:{}};function Mh(e){return e==="x"?"y":"x"}function Ih(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!1:s,c=r.boundary,u=r.rootBoundary,p=r.altBoundary,m=r.padding,y=r.tether,b=y===void 0?!0:y,g=r.tetherOffset,d=g===void 0?0:g,C=Er(t,{boundary:c,rootBoundary:u,padding:m,altBoundary:p}),T=dt(t.placement),R=or(t.placement),S=!R,v=Ln(T),x=Mh(v),w=t.modifiersData.popperOffsets,P=t.rects.reference,I=t.rects.popper,M=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,z=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,f={x:0,y:0};if(w){if(a){var k,$=v==="y"?Ue:qe,A=v==="y"?rt:ot,j=v==="y"?"height":"width",V=w[v],N=V+C[$],L=V-C[A],O=b?-I[j]/2:0,_=R===er?P[j]:I[j],U=R===er?-I[j]:-P[j],H=t.elements.arrow,Y=b&&H?Vn(H):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Is(),Q=Z[$],ee=Z[A],X=yr(0,P[j],Y[j]),ne=S?P[j]/2-O-X-Q-z.mainAxis:_-X-Q-z.mainAxis,q=S?-P[j]/2+O+X+ee+z.mainAxis:U+X+ee+z.mainAxis,oe=t.elements.arrow&&Ar(t.elements.arrow),F=oe?v==="y"?oe.clientTop||0:oe.clientLeft||0:0,ce=(k=B?.[v])!=null?k:0,ie=V+ne-ce-F,te=V+q-ce,Ee=yr(b?oo(N,ie):N,V,b?_t(L,te):L);w[v]=Ee,f[v]=Ee-V}if(l){var me,he=v==="x"?Ue:qe,Ae=v==="x"?rt:ot,je=w[x],ae=x==="y"?"height":"width",K=je+C[he],Be=je-C[Ae],ze=[Ue,qe].indexOf(T)!==-1,Ye=(me=B?.[x])!=null?me:0,We=ze?K:je-P[ae]-I[ae]-Ye+z.altAxis,_e=ze?je+P[ae]+I[ae]-Ye-z.altAxis:Be,He=b&&ze?nh(We,je,_e):yr(b?We:K,je,b?_e:Be);w[x]=He,f[x]=He-je}t.modifiersData[n]=f}}const Nh={name:"preventOverflow",enabled:!0,phase:"main",fn:Ih,requiresIfExists:["offset"]};function Bh(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Dh(e){return e===Je(e)||!tt(e)?Wn(e):Bh(e)}function zh(e){var t=e.getBoundingClientRect(),r=tr(t.width)/e.offsetWidth||1,n=tr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Fh(e,t,r){r===void 0&&(r=!1);var n=tt(t),i=tt(t)&&zh(t),a=jt(t),s=rr(e,i,r),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((ft(t)!=="body"||Un(a))&&(l=Dh(t)),tt(t)?(c=rr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Hn(a))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function _h(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(l){if(!r.has(l)){var c=t.get(l);c&&i(c)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Vh(e){var t=_h(e);return Jm.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Lh(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Wh(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Qi={placement:"bottom",modifiers:[],strategy:"absolute"};function ea(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Hh(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?Qi:i;return function(l,c,u){u===void 0&&(u=a);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qi,a),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},m=[],y=!1,b={state:p,setOptions:function(T){var R=typeof T=="function"?T(p.options):T;d(),p.options=Object.assign({},a,p.options,R),p.scrollParents={reference:Vt(l)?br(l):l.contextElement?br(l.contextElement):[],popper:br(c)};var S=Vh(Wh([].concat(n,p.options.modifiers)));return p.orderedModifiers=S.filter(function(v){return v.enabled}),g(),b.update()},forceUpdate:function(){if(!y){var T=p.elements,R=T.reference,S=T.popper;if(ea(R,S)){p.rects={reference:Fh(R,Ar(S),p.options.strategy==="fixed"),popper:Vn(S)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(z){return p.modifiersData[z.name]=Object.assign({},z.data)});for(var v=0;v<p.orderedModifiers.length;v++){if(p.reset===!0){p.reset=!1,v=-1;continue}var x=p.orderedModifiers[v],w=x.fn,P=x.options,I=P===void 0?{}:P,M=x.name;typeof w=="function"&&(p=w({state:p,options:I,name:M,instance:b})||p)}}}},update:Lh(function(){return new Promise(function(C){b.forceUpdate(),C(p)})}),destroy:function(){d(),y=!0}};if(!ea(l,c))return b;b.setOptions(u).then(function(C){!y&&u.onFirstUpdate&&u.onFirstUpdate(C)});function g(){p.orderedModifiers.forEach(function(C){var T=C.name,R=C.options,S=R===void 0?{}:R,v=C.effect;if(typeof v=="function"){var x=v({state:p,name:T,instance:b,options:S}),w=function(){};m.push(x||w)}})}function d(){m.forEach(function(C){return C()}),m=[]}return b}}var Uh=[mh,Ah,dh,th,jh,Sh,Nh,lh,Rh],qh=Hh({defaultModifiers:Uh});function Gh(e){const{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:i=!1,...a}=e,s=i?{}:Ua(r,n),{props:l,internalRef:c}=Ga({...a,externalSlotProps:s}),u=Le(c,s?.ref,e.additionalProps?.ref);return Ha(t,{...l,ref:u},n)}function Yh(e){return Te("MuiPopper",e)}we("MuiPopper",["root"]);function Kh(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function no(e){return typeof e=="function"?e():e}function Oo(e){return e.nodeType!==void 0}function Xh(e){return!Oo(e)}const Zh=e=>{const{classes:t}=e;return $e({root:["root"]},Yh,t)},Jh={},Qh=E.forwardRef(function(t,r){const{anchorEl:n,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:p,popperRef:m,slotProps:y={},slots:b={},TransitionProps:g,ownerState:d,...C}=t,T=E.useRef(null),R=Le(T,r),S=E.useRef(null),v=Le(S,m),x=E.useRef(v);Ot(()=>{x.current=v},[v]),E.useImperativeHandle(m,()=>S.current,[]);const w=Kh(u,a),[P,I]=E.useState(w),[M,z]=E.useState(no(n));E.useEffect(()=>{S.current&&S.current.forceUpdate()}),E.useEffect(()=>{n&&z(no(n))},[n]),Ot(()=>{if(!M||!c)return;const A=N=>{I(N.placement)};if(process.env.NODE_ENV!=="production"&&M&&Oo(M)&&M.nodeType===1){const N=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&N.top===0&&N.left===0&&N.right===0&&N.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
264
- `))}let j=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{A(N)}}];l!=null&&(j=j.concat(l)),p&&p.modifiers!=null&&(j=j.concat(p.modifiers));const V=qh(M,T.current,{placement:w,...p,modifiers:j});return x.current(V),()=>{V.destroy(),x.current(null)}},[M,s,l,c,p,w]);const B={placement:P};g!==null&&(B.TransitionProps=g);const f=Zh(t),k=b.root??"div",$=Gh({elementType:k,externalSlotProps:y.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:R},ownerState:t,className:f.root});return h.jsx(k,{...$,children:typeof i=="function"?i(B):i})}),Fs=E.forwardRef(function(t,r){const{anchorEl:n,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:p,placement:m="bottom",popperOptions:y=Jh,popperRef:b,style:g,transition:d=!1,slotProps:C={},slots:T={},...R}=t,[S,v]=E.useState(!0),x=()=>{v(!1)},w=()=>{v(!0)};if(!c&&!p&&(!d||S))return null;let P;if(a)P=a;else if(n){const z=no(n);P=z&&Oo(z)?st(z).body:st(null).body}const I=!p&&c&&(!d||S)?"none":void 0,M=d?{in:p,onEnter:x,onExited:w}:void 0;return h.jsx(Tr,{disablePortal:l,container:P,children:h.jsx(Qh,{anchorEl:n,direction:s,disablePortal:l,modifiers:u,ref:r,open:d?!S:p,placement:m,popperOptions:y,popperRef:b,slotProps:C,slots:T,...R,style:{position:"fixed",top:0,left:0,display:I,...g},TransitionProps:M,children:i})})});process.env.NODE_ENV!=="production"&&(Fs.propTypes={anchorEl:it(o.oneOfType([Pt,o.object,o.func]),e=>{if(e.open){const t=no(e.anchorEl);if(t&&Oo(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
265
- `))}else if(!t||typeof t.getBoundingClientRect!="function"||Xh(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
266
- `))}return null}),children:o.oneOfType([o.node,o.func]),container:o.oneOfType([Pt,o.func]),direction:o.oneOf(["ltr","rtl"]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:$r,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),transition:o.bool});const eg=J(Fs,{name:"MuiPopper",slot:"Root"})({}),qn=E.forwardRef(function(t,r){const n=bo(),i=Re({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:p,keepMounted:m,modifiers:y,open:b,placement:g,popperOptions:d,popperRef:C,transition:T,slots:R,slotProps:S,...v}=i,x=R?.root??l?.Root,w={anchorEl:a,container:u,disablePortal:p,keepMounted:m,modifiers:y,open:b,placement:g,popperOptions:d,popperRef:C,transition:T,...v};return h.jsx(eg,{as:s,direction:n?"rtl":"ltr",slots:{root:x},slotProps:S??c,...w,ref:r})});process.env.NODE_ENV!=="production"&&(qn.propTypes={anchorEl:o.oneOfType([Pt,o.object,o.func]),children:o.oneOfType([o.node,o.func]),component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([Pt,o.func]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:$r,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transition:o.bool});function tg(e){return Te("MuiTooltip",e)}const Ne=we("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function rg(e){return Math.round(e*1e5)/1e5}const og=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:a}=e,s={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${G(a.split("-")[0])}`],arrow:["arrow"]};return $e(s,tg,t)},ng=J(qn,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(ye(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ne.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ne.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ne.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ne.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ne.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ne.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ne.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ne.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),ig=J("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${G(r.placement.split("-")[0])}`]]}})(ye(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ne.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ne.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ne.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${rg(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ne.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ne.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),ag=J("span",{name:"MuiTooltip",slot:"Arrow"})(ye(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Lr=!1;const ta=new Co;let cr={x:0,y:0};function Wr(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const bn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTooltip"}),{arrow:i=!1,children:a,classes:s,components:l={},componentsProps:c={},describeChild:u=!1,disableFocusListener:p=!1,disableHoverListener:m=!1,disableInteractive:y=!1,disableTouchListener:b=!1,enterDelay:g=100,enterNextDelay:d=0,enterTouchDelay:C=700,followCursor:T=!1,id:R,leaveDelay:S=0,leaveTouchDelay:v=1500,onClose:x,onOpen:w,open:P,placement:I="bottom",PopperComponent:M,PopperProps:z={},slotProps:B={},slots:f={},title:k,TransitionComponent:$,TransitionProps:A,...j}=n,V=E.isValidElement(a)?a:h.jsx("span",{children:a}),N=Ge(),L=bo(),[O,_]=E.useState(),[U,H]=E.useState(null),Y=E.useRef(!1),Z=y||T,Q=Dt(),ee=Dt(),X=Dt(),ne=Dt(),[q,oe]=Ia({controlled:P,default:!1,name:"Tooltip",state:"open"});let F=q;if(process.env.NODE_ENV!=="production"){const{current:ue}=E.useRef(P!==void 0);E.useEffect(()=>{O&&O.disabled&&!ue&&k!==""&&O.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
267
- `))},[k,O,ue])}const ce=Pr(R),ie=E.useRef(),te=yt(()=>{ie.current!==void 0&&(document.body.style.WebkitUserSelect=ie.current,ie.current=void 0),ne.clear()});E.useEffect(()=>te,[te]);const Ee=ue=>{ta.clear(),Lr=!0,oe(!0),w&&!F&&w(ue)},me=yt(ue=>{ta.start(800+S,()=>{Lr=!1}),oe(!1),x&&F&&x(ue),Q.start(N.transitions.duration.shortest,()=>{Y.current=!1})}),he=ue=>{Y.current&&ue.type!=="touchstart"||(O&&O.removeAttribute("title"),ee.clear(),X.clear(),g||Lr&&d?ee.start(Lr?d:g,()=>{Ee(ue)}):Ee(ue))},Ae=ue=>{ee.clear(),X.start(S,()=>{me(ue)})},[,je]=E.useState(!1),ae=ue=>{Jt(ue.target)||(je(!1),Ae(ue))},K=ue=>{O||_(ue.currentTarget),Jt(ue.target)&&(je(!0),he(ue))},Be=ue=>{Y.current=!0;const Tt=V.props;Tt.onTouchStart&&Tt.onTouchStart(ue)},ze=ue=>{Be(ue),X.clear(),Q.clear(),te(),ie.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ne.start(C,()=>{document.body.style.WebkitUserSelect=ie.current,he(ue)})},Ye=ue=>{V.props.onTouchEnd&&V.props.onTouchEnd(ue),te(),X.start(v,()=>{me(ue)})};E.useEffect(()=>{if(!F)return;function ue(Tt){Tt.key==="Escape"&&me(Tt)}return document.addEventListener("keydown",ue),()=>{document.removeEventListener("keydown",ue)}},[me,F]);const We=Le(jr(V),_,r);!k&&k!==0&&(F=!1);const _e=E.useRef(),He=ue=>{const Tt=V.props;Tt.onMouseMove&&Tt.onMouseMove(ue),cr={x:ue.clientX,y:ue.clientY},_e.current&&_e.current.update()},Ke={},Lt=typeof k=="string";u?(Ke.title=!F&&Lt&&!m?k:null,Ke["aria-describedby"]=F?ce:null):(Ke["aria-label"]=Lt?k:null,Ke["aria-labelledby"]=F&&!Lt?ce:null);const fe={...Ke,...j,...V.props,className:se(j.className,V.props.className),onTouchStart:Be,ref:We,...T?{onMouseMove:He}:{}};process.env.NODE_ENV!=="production"&&(fe["data-mui-internal-clone-element"]=!0,E.useEffect(()=>{O&&!O.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
263
+ `))}return null}),anchorOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),anchorPosition:o.shape({left:o.number.isRequired,top:o.number.isRequired}),anchorReference:o.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:o.elementType,BackdropProps:o.object,children:o.node,classes:o.object,className:o.string,container:o.oneOfType([Pt,o.func]),disableScrollLock:o.bool,elevation:ns,marginThreshold:o.number,onClose:o.func,open:o.bool.isRequired,PaperProps:o.shape({component:xo}),slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),paper:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,paper:o.elementType,root:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transformOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object});var Ue="top",rt="bottom",ot="right",qe="left",Fn="auto",kr=[Ue,rt,ot,qe],er="start",wr="end",_m="clippingParents",$s="viewport",lr="popper",Vm="reference",Ui=kr.reduce(function(e,t){return e.concat([t+"-"+er,t+"-"+wr])},[]),js=[].concat(kr,[Fn]).reduce(function(e,t){return e.concat([t,t+"-"+er,t+"-"+wr])},[]),Lm="beforeRead",Wm="read",Hm="afterRead",Um="beforeMain",qm="main",Gm="afterMain",Ym="beforeWrite",Km="write",Xm="afterWrite",Zm=[Lm,Wm,Hm,Um,qm,Gm,Ym,Km,Xm];function ft(e){return e?(e.nodeName||"").toLowerCase():null}function Je(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Vt(e){var t=Je(e).Element;return e instanceof t||e instanceof Element}function tt(e){var t=Je(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function _n(e){if(typeof ShadowRoot>"u")return!1;var t=Je(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jm(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!tt(a)||!ft(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(s){var l=i[s];l===!1?a.removeAttribute(s):a.setAttribute(s,l===!0?"":l)}))})}function Qm(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},s=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=s.reduce(function(c,u){return c[u]="",c},{});!tt(i)||!ft(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(c){i.removeAttribute(c)}))})}}const eh={name:"applyStyles",enabled:!0,phase:"write",fn:Jm,effect:Qm,requires:["computeStyles"]};function dt(e){return e.split("-")[0]}var _t=Math.max,oo=Math.min,tr=Math.round;function gn(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ks(){return!/^((?!chrome|android).)*safari/i.test(gn())}function rr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&tt(e)&&(i=e.offsetWidth>0&&tr(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&tr(n.height)/e.offsetHeight||1);var s=Vt(e)?Je(e):window,l=s.visualViewport,c=!ks()&&r,u=(n.left+(c&&l?l.offsetLeft:0))/i,p=(n.top+(c&&l?l.offsetTop:0))/a,m=n.width/i,y=n.height/a;return{width:m,height:y,top:p,right:u+m,bottom:p+y,left:u,x:u,y:p}}function Vn(e){var t=rr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function As(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&_n(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function xt(e){return Je(e).getComputedStyle(e)}function th(e){return["table","td","th"].indexOf(ft(e))>=0}function jt(e){return((Vt(e)?e.ownerDocument:e.document)||window.document).documentElement}function So(e){return ft(e)==="html"?e:e.assignedSlot||e.parentNode||(_n(e)?e.host:null)||jt(e)}function qi(e){return!tt(e)||xt(e).position==="fixed"?null:e.offsetParent}function rh(e){var t=/firefox/i.test(gn()),r=/Trident/i.test(gn());if(r&&tt(e)){var n=xt(e);if(n.position==="fixed")return null}var i=So(e);for(_n(i)&&(i=i.host);tt(i)&&["html","body"].indexOf(ft(i))<0;){var a=xt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Ar(e){for(var t=Je(e),r=qi(e);r&&th(r)&&xt(r).position==="static";)r=qi(r);return r&&(ft(r)==="html"||ft(r)==="body"&&xt(r).position==="static")?t:r||rh(e)||t}function Ln(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yr(e,t,r){return _t(e,oo(t,r))}function oh(e,t,r){var n=yr(e,t,r);return n>r?r:n}function Ms(){return{top:0,right:0,bottom:0,left:0}}function Is(e){return Object.assign({},Ms(),e)}function Ns(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var nh=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Is(typeof t!="number"?t:Ns(t,kr))};function ih(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,l=dt(r.placement),c=Ln(l),u=[qe,ot].indexOf(l)>=0,p=u?"height":"width";if(!(!a||!s)){var m=nh(i.padding,r),y=Vn(a),b=c==="y"?Ue:qe,g=c==="y"?rt:ot,d=r.rects.reference[p]+r.rects.reference[c]-s[c]-r.rects.popper[p],C=s[c]-r.rects.reference[c],T=Ar(a),R=T?c==="y"?T.clientHeight||0:T.clientWidth||0:0,S=d/2-C/2,v=m[b],x=R-y[p]-m[g],w=R/2-y[p]/2+S,P=yr(v,w,x),I=c;r.modifiersData[n]=(t={},t[I]=P,t.centerOffset=P-w,t)}}function ah(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||As(t.elements.popper,i)&&(t.elements.arrow=i))}const sh={name:"arrow",enabled:!0,phase:"main",fn:ih,effect:ah,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function or(e){return e.split("-")[1]}var lh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ch(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:tr(r*i)/i||0,y:tr(n*i)/i||0}}function Gi(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,m=e.isFixed,y=s.x,b=y===void 0?0:y,g=s.y,d=g===void 0?0:g,C=typeof p=="function"?p({x:b,y:d}):{x:b,y:d};b=C.x,d=C.y;var T=s.hasOwnProperty("x"),R=s.hasOwnProperty("y"),S=qe,v=Ue,x=window;if(u){var w=Ar(r),P="clientHeight",I="clientWidth";if(w===Je(r)&&(w=jt(r),xt(w).position!=="static"&&l==="absolute"&&(P="scrollHeight",I="scrollWidth")),w=w,i===Ue||(i===qe||i===ot)&&a===wr){v=rt;var M=m&&w===x&&x.visualViewport?x.visualViewport.height:w[P];d-=M-n.height,d*=c?1:-1}if(i===qe||(i===Ue||i===rt)&&a===wr){S=ot;var z=m&&w===x&&x.visualViewport?x.visualViewport.width:w[I];b-=z-n.width,b*=c?1:-1}}var B=Object.assign({position:l},u&&lh),f=p===!0?ch({x:b,y:d},Je(r)):{x:b,y:d};if(b=f.x,d=f.y,c){var k;return Object.assign({},B,(k={},k[v]=R?"0":"",k[S]=T?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+b+"px, "+d+"px)":"translate3d("+b+"px, "+d+"px, 0)",k))}return Object.assign({},B,(t={},t[v]=R?d+"px":"",t[S]=T?b+"px":"",t.transform="",t))}function uh(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,s=a===void 0?!0:a,l=r.roundOffsets,c=l===void 0?!0:l,u={placement:dt(t.placement),variation:or(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Gi(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Gi(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ph={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:uh,data:{}};var Vr={passive:!0};function dh(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,s=n.resize,l=s===void 0?!0:s,c=Je(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(p){p.addEventListener("scroll",r.update,Vr)}),l&&c.addEventListener("resize",r.update,Vr),function(){a&&u.forEach(function(p){p.removeEventListener("scroll",r.update,Vr)}),l&&c.removeEventListener("resize",r.update,Vr)}}const fh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:dh,data:{}};var mh={left:"right",right:"left",bottom:"top",top:"bottom"};function qr(e){return e.replace(/left|right|bottom|top/g,function(t){return mh[t]})}var hh={start:"end",end:"start"};function Yi(e){return e.replace(/start|end/g,function(t){return hh[t]})}function Wn(e){var t=Je(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Hn(e){return rr(jt(e)).left+Wn(e).scrollLeft}function gh(e,t){var r=Je(e),n=jt(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;var u=ks();(u||!u&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l+Hn(e),y:c}}function yh(e){var t,r=jt(e),n=Wn(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=_t(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=_t(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+Hn(e),c=-n.scrollTop;return xt(i||r).direction==="rtl"&&(l+=_t(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:l,y:c}}function Un(e){var t=xt(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function Bs(e){return["html","body","#document"].indexOf(ft(e))>=0?e.ownerDocument.body:tt(e)&&Un(e)?e:Bs(So(e))}function br(e,t){var r;t===void 0&&(t=[]);var n=Bs(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=Je(n),s=i?[a].concat(a.visualViewport||[],Un(n)?n:[]):n,l=t.concat(s);return i?l:l.concat(br(So(s)))}function yn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bh(e,t){var r=rr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ki(e,t,r){return t===$s?yn(gh(e,r)):Vt(t)?bh(t,r):yn(yh(jt(e)))}function vh(e){var t=br(So(e)),r=["absolute","fixed"].indexOf(xt(e).position)>=0,n=r&&tt(e)?Ar(e):e;return Vt(n)?t.filter(function(i){return Vt(i)&&As(i,n)&&ft(i)!=="body"}):[]}function xh(e,t,r,n){var i=t==="clippingParents"?vh(e):[].concat(t),a=[].concat(i,[r]),s=a[0],l=a.reduce(function(c,u){var p=Ki(e,u,n);return c.top=_t(p.top,c.top),c.right=oo(p.right,c.right),c.bottom=oo(p.bottom,c.bottom),c.left=_t(p.left,c.left),c},Ki(e,s,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ds(e){var t=e.reference,r=e.element,n=e.placement,i=n?dt(n):null,a=n?or(n):null,s=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,c;switch(i){case Ue:c={x:s,y:t.y-r.height};break;case rt:c={x:s,y:t.y+t.height};break;case ot:c={x:t.x+t.width,y:l};break;case qe:c={x:t.x-r.width,y:l};break;default:c={x:t.x,y:t.y}}var u=i?Ln(i):null;if(u!=null){var p=u==="y"?"height":"width";switch(a){case er:c[u]=c[u]-(t[p]/2-r[p]/2);break;case wr:c[u]=c[u]+(t[p]/2-r[p]/2);break}}return c}function Er(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,s=a===void 0?e.strategy:a,l=r.boundary,c=l===void 0?_m:l,u=r.rootBoundary,p=u===void 0?$s:u,m=r.elementContext,y=m===void 0?lr:m,b=r.altBoundary,g=b===void 0?!1:b,d=r.padding,C=d===void 0?0:d,T=Is(typeof C!="number"?C:Ns(C,kr)),R=y===lr?Vm:lr,S=e.rects.popper,v=e.elements[g?R:y],x=xh(Vt(v)?v:v.contextElement||jt(e.elements.popper),c,p,s),w=rr(e.elements.reference),P=Ds({reference:w,element:S,placement:i}),I=yn(Object.assign({},S,P)),M=y===lr?I:w,z={top:x.top-M.top+T.top,bottom:M.bottom-x.bottom+T.bottom,left:x.left-M.left+T.left,right:M.right-x.right+T.right},B=e.modifiersData.offset;if(y===lr&&B){var f=B[i];Object.keys(z).forEach(function(k){var $=[ot,rt].indexOf(k)>=0?1:-1,A=[Ue,rt].indexOf(k)>=0?"y":"x";z[k]+=f[A]*$})}return z}function Ch(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,s=r.padding,l=r.flipVariations,c=r.allowedAutoPlacements,u=c===void 0?js:c,p=or(n),m=p?l?Ui:Ui.filter(function(g){return or(g)===p}):kr,y=m.filter(function(g){return u.indexOf(g)>=0});y.length===0&&(y=m);var b=y.reduce(function(g,d){return g[d]=Er(e,{placement:d,boundary:i,rootBoundary:a,padding:s})[dt(d)],g},{});return Object.keys(b).sort(function(g,d){return b[g]-b[d]})}function Th(e){if(dt(e)===Fn)return[];var t=qr(e);return[Yi(e),t,Yi(t)]}function wh(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!0:s,c=r.fallbackPlacements,u=r.padding,p=r.boundary,m=r.rootBoundary,y=r.altBoundary,b=r.flipVariations,g=b===void 0?!0:b,d=r.allowedAutoPlacements,C=t.options.placement,T=dt(C),R=T===C,S=c||(R||!g?[qr(C)]:Th(C)),v=[C].concat(S).reduce(function(Y,Z){return Y.concat(dt(Z)===Fn?Ch(t,{placement:Z,boundary:p,rootBoundary:m,padding:u,flipVariations:g,allowedAutoPlacements:d}):Z)},[]),x=t.rects.reference,w=t.rects.popper,P=new Map,I=!0,M=v[0],z=0;z<v.length;z++){var B=v[z],f=dt(B),k=or(B)===er,$=[Ue,rt].indexOf(f)>=0,A=$?"width":"height",j=Er(t,{placement:B,boundary:p,rootBoundary:m,altBoundary:y,padding:u}),V=$?k?ot:qe:k?rt:Ue;x[A]>w[A]&&(V=qr(V));var N=qr(V),L=[];if(a&&L.push(j[f]<=0),l&&L.push(j[V]<=0,j[N]<=0),L.every(function(Y){return Y})){M=B,I=!1;break}P.set(B,L)}if(I)for(var O=g?3:1,_=function(Z){var Q=v.find(function(ee){var X=P.get(ee);if(X)return X.slice(0,Z).every(function(ne){return ne})});if(Q)return M=Q,"break"},U=O;U>0;U--){var H=_(U);if(H==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}const Eh={name:"flip",enabled:!0,phase:"main",fn:wh,requiresIfExists:["offset"],data:{_skip:!1}};function Xi(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Zi(e){return[Ue,ot,rt,qe].some(function(t){return e[t]>=0})}function Sh(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=Er(t,{elementContext:"reference"}),l=Er(t,{altBoundary:!0}),c=Xi(s,n),u=Xi(l,i,a),p=Zi(c),m=Zi(u);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}const Oh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Sh};function Rh(e,t,r){var n=dt(e),i=[qe,Ue].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=a[0],l=a[1];return s=s||0,l=(l||0)*i,[qe,ot].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}}function Ph(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,s=js.reduce(function(p,m){return p[m]=Rh(m,t.rects,a),p},{}),l=s[t.placement],c=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}const $h={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ph};function jh(e){var t=e.state,r=e.name;t.modifiersData[r]=Ds({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const kh={name:"popperOffsets",enabled:!0,phase:"read",fn:jh,data:{}};function Ah(e){return e==="x"?"y":"x"}function Mh(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,s=r.altAxis,l=s===void 0?!1:s,c=r.boundary,u=r.rootBoundary,p=r.altBoundary,m=r.padding,y=r.tether,b=y===void 0?!0:y,g=r.tetherOffset,d=g===void 0?0:g,C=Er(t,{boundary:c,rootBoundary:u,padding:m,altBoundary:p}),T=dt(t.placement),R=or(t.placement),S=!R,v=Ln(T),x=Ah(v),w=t.modifiersData.popperOffsets,P=t.rects.reference,I=t.rects.popper,M=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,z=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,f={x:0,y:0};if(w){if(a){var k,$=v==="y"?Ue:qe,A=v==="y"?rt:ot,j=v==="y"?"height":"width",V=w[v],N=V+C[$],L=V-C[A],O=b?-I[j]/2:0,_=R===er?P[j]:I[j],U=R===er?-I[j]:-P[j],H=t.elements.arrow,Y=b&&H?Vn(H):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ms(),Q=Z[$],ee=Z[A],X=yr(0,P[j],Y[j]),ne=S?P[j]/2-O-X-Q-z.mainAxis:_-X-Q-z.mainAxis,q=S?-P[j]/2+O+X+ee+z.mainAxis:U+X+ee+z.mainAxis,oe=t.elements.arrow&&Ar(t.elements.arrow),F=oe?v==="y"?oe.clientTop||0:oe.clientLeft||0:0,ce=(k=B?.[v])!=null?k:0,ie=V+ne-ce-F,te=V+q-ce,Ee=yr(b?oo(N,ie):N,V,b?_t(L,te):L);w[v]=Ee,f[v]=Ee-V}if(l){var me,he=v==="x"?Ue:qe,Ae=v==="x"?rt:ot,je=w[x],ae=x==="y"?"height":"width",K=je+C[he],Be=je-C[Ae],ze=[Ue,qe].indexOf(T)!==-1,Ye=(me=B?.[x])!=null?me:0,We=ze?K:je-P[ae]-I[ae]-Ye+z.altAxis,_e=ze?je+P[ae]+I[ae]-Ye-z.altAxis:Be,He=b&&ze?oh(We,je,_e):yr(b?We:K,je,b?_e:Be);w[x]=He,f[x]=He-je}t.modifiersData[n]=f}}const Ih={name:"preventOverflow",enabled:!0,phase:"main",fn:Mh,requiresIfExists:["offset"]};function Nh(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Bh(e){return e===Je(e)||!tt(e)?Wn(e):Nh(e)}function Dh(e){var t=e.getBoundingClientRect(),r=tr(t.width)/e.offsetWidth||1,n=tr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function zh(e,t,r){r===void 0&&(r=!1);var n=tt(t),i=tt(t)&&Dh(t),a=jt(t),s=rr(e,i,r),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((ft(t)!=="body"||Un(a))&&(l=Bh(t)),tt(t)?(c=rr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):a&&(c.x=Hn(a))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Fh(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(l){if(!r.has(l)){var c=t.get(l);c&&i(c)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function _h(e){var t=Fh(e);return Zm.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function Vh(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Lh(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ji={placement:"bottom",modifiers:[],strategy:"absolute"};function Qi(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Wh(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?Ji:i;return function(l,c,u){u===void 0&&(u=a);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ji,a),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},m=[],y=!1,b={state:p,setOptions:function(T){var R=typeof T=="function"?T(p.options):T;d(),p.options=Object.assign({},a,p.options,R),p.scrollParents={reference:Vt(l)?br(l):l.contextElement?br(l.contextElement):[],popper:br(c)};var S=_h(Lh([].concat(n,p.options.modifiers)));return p.orderedModifiers=S.filter(function(v){return v.enabled}),g(),b.update()},forceUpdate:function(){if(!y){var T=p.elements,R=T.reference,S=T.popper;if(Qi(R,S)){p.rects={reference:zh(R,Ar(S),p.options.strategy==="fixed"),popper:Vn(S)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(z){return p.modifiersData[z.name]=Object.assign({},z.data)});for(var v=0;v<p.orderedModifiers.length;v++){if(p.reset===!0){p.reset=!1,v=-1;continue}var x=p.orderedModifiers[v],w=x.fn,P=x.options,I=P===void 0?{}:P,M=x.name;typeof w=="function"&&(p=w({state:p,options:I,name:M,instance:b})||p)}}}},update:Vh(function(){return new Promise(function(C){b.forceUpdate(),C(p)})}),destroy:function(){d(),y=!0}};if(!Qi(l,c))return b;b.setOptions(u).then(function(C){!y&&u.onFirstUpdate&&u.onFirstUpdate(C)});function g(){p.orderedModifiers.forEach(function(C){var T=C.name,R=C.options,S=R===void 0?{}:R,v=C.effect;if(typeof v=="function"){var x=v({state:p,name:T,instance:b,options:S}),w=function(){};m.push(x||w)}})}function d(){m.forEach(function(C){return C()}),m=[]}return b}}var Hh=[fh,kh,ph,eh,$h,Eh,Ih,sh,Oh],Uh=Wh({defaultModifiers:Hh});function qh(e){const{elementType:t,externalSlotProps:r,ownerState:n,skipResolvingSlotProps:i=!1,...a}=e,s=i?{}:Ha(r,n),{props:l,internalRef:c}=qa({...a,externalSlotProps:s}),u=Le(c,s?.ref,e.additionalProps?.ref);return Wa(t,{...l,ref:u},n)}function Gh(e){return Te("MuiPopper",e)}we("MuiPopper",["root"]);function Yh(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function no(e){return typeof e=="function"?e():e}function Oo(e){return e.nodeType!==void 0}function Kh(e){return!Oo(e)}const Xh=e=>{const{classes:t}=e;return $e({root:["root"]},Gh,t)},Zh={},Jh=E.forwardRef(function(t,r){const{anchorEl:n,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:p,popperRef:m,slotProps:y={},slots:b={},TransitionProps:g,ownerState:d,...C}=t,T=E.useRef(null),R=Le(T,r),S=E.useRef(null),v=Le(S,m),x=E.useRef(v);Ot(()=>{x.current=v},[v]),E.useImperativeHandle(m,()=>S.current,[]);const w=Yh(u,a),[P,I]=E.useState(w),[M,z]=E.useState(no(n));E.useEffect(()=>{S.current&&S.current.forceUpdate()}),E.useEffect(()=>{n&&z(no(n))},[n]),Ot(()=>{if(!M||!c)return;const A=N=>{I(N.placement)};if(process.env.NODE_ENV!=="production"&&M&&Oo(M)&&M.nodeType===1){const N=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&N.top===0&&N.left===0&&N.right===0&&N.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
264
+ `))}let j=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{A(N)}}];l!=null&&(j=j.concat(l)),p&&p.modifiers!=null&&(j=j.concat(p.modifiers));const V=Uh(M,T.current,{placement:w,...p,modifiers:j});return x.current(V),()=>{V.destroy(),x.current(null)}},[M,s,l,c,p,w]);const B={placement:P};g!==null&&(B.TransitionProps=g);const f=Xh(t),k=b.root??"div",$=qh({elementType:k,externalSlotProps:y.root,externalForwardedProps:C,additionalProps:{role:"tooltip",ref:R},ownerState:t,className:f.root});return h.jsx(k,{...$,children:typeof i=="function"?i(B):i})}),zs=E.forwardRef(function(t,r){const{anchorEl:n,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:p,placement:m="bottom",popperOptions:y=Zh,popperRef:b,style:g,transition:d=!1,slotProps:C={},slots:T={},...R}=t,[S,v]=E.useState(!0),x=()=>{v(!1)},w=()=>{v(!0)};if(!c&&!p&&(!d||S))return null;let P;if(a)P=a;else if(n){const z=no(n);P=z&&Oo(z)?st(z).body:st(null).body}const I=!p&&c&&(!d||S)?"none":void 0,M=d?{in:p,onEnter:x,onExited:w}:void 0;return h.jsx(Tr,{disablePortal:l,container:P,children:h.jsx(Jh,{anchorEl:n,direction:s,disablePortal:l,modifiers:u,ref:r,open:d?!S:p,placement:m,popperOptions:y,popperRef:b,slotProps:C,slots:T,...R,style:{position:"fixed",top:0,left:0,display:I,...g},TransitionProps:M,children:i})})});process.env.NODE_ENV!=="production"&&(zs.propTypes={anchorEl:it(o.oneOfType([Pt,o.object,o.func]),e=>{if(e.open){const t=no(e.anchorEl);if(t&&Oo(t)&&t.nodeType===1){const r=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&r.top===0&&r.left===0&&r.right===0&&r.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
265
+ `))}else if(!t||typeof t.getBoundingClientRect!="function"||Kh(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
266
+ `))}return null}),children:o.oneOfType([o.node,o.func]),container:o.oneOfType([Pt,o.func]),direction:o.oneOf(["ltr","rtl"]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:$r,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),transition:o.bool});const Qh=J(zs,{name:"MuiPopper",slot:"Root"})({}),qn=E.forwardRef(function(t,r){const n=bo(),i=Re({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:c,container:u,disablePortal:p,keepMounted:m,modifiers:y,open:b,placement:g,popperOptions:d,popperRef:C,transition:T,slots:R,slotProps:S,...v}=i,x=R?.root??l?.Root,w={anchorEl:a,container:u,disablePortal:p,keepMounted:m,modifiers:y,open:b,placement:g,popperOptions:d,popperRef:C,transition:T,...v};return h.jsx(Qh,{as:s,direction:n?"rtl":"ltr",slots:{root:x},slotProps:S??c,...w,ref:r})});process.env.NODE_ENV!=="production"&&(qn.propTypes={anchorEl:o.oneOfType([Pt,o.object,o.func]),children:o.oneOfType([o.node,o.func]),component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([Pt,o.func]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:$r,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transition:o.bool});function eg(e){return Te("MuiTooltip",e)}const Ne=we("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function tg(e){return Math.round(e*1e5)/1e5}const rg=e=>{const{classes:t,disableInteractive:r,arrow:n,touch:i,placement:a}=e,s={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch",`tooltipPlacement${G(a.split("-")[0])}`],arrow:["arrow"]};return $e(s,eg,t)},og=J(qn,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(ye(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ne.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ne.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ne.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ne.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ne.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${Ne.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ne.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${Ne.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),ng=J("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${G(r.placement.split("-")[0])}`]]}})(ye(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Ne.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ne.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ne.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${tg(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${Ne.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ne.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ne.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${Ne.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),ig=J("span",{name:"MuiTooltip",slot:"Arrow"})(ye(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Lr=!1;const ea=new Co;let cr={x:0,y:0};function Wr(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const bn=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiTooltip"}),{arrow:i=!1,children:a,classes:s,components:l={},componentsProps:c={},describeChild:u=!1,disableFocusListener:p=!1,disableHoverListener:m=!1,disableInteractive:y=!1,disableTouchListener:b=!1,enterDelay:g=100,enterNextDelay:d=0,enterTouchDelay:C=700,followCursor:T=!1,id:R,leaveDelay:S=0,leaveTouchDelay:v=1500,onClose:x,onOpen:w,open:P,placement:I="bottom",PopperComponent:M,PopperProps:z={},slotProps:B={},slots:f={},title:k,TransitionComponent:$,TransitionProps:A,...j}=n,V=E.isValidElement(a)?a:h.jsx("span",{children:a}),N=Ge(),L=bo(),[O,_]=E.useState(),[U,H]=E.useState(null),Y=E.useRef(!1),Z=y||T,Q=Dt(),ee=Dt(),X=Dt(),ne=Dt(),[q,oe]=Ma({controlled:P,default:!1,name:"Tooltip",state:"open"});let F=q;if(process.env.NODE_ENV!=="production"){const{current:ue}=E.useRef(P!==void 0);E.useEffect(()=>{O&&O.disabled&&!ue&&k!==""&&O.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
267
+ `))},[k,O,ue])}const ce=Pr(R),ie=E.useRef(),te=yt(()=>{ie.current!==void 0&&(document.body.style.WebkitUserSelect=ie.current,ie.current=void 0),ne.clear()});E.useEffect(()=>te,[te]);const Ee=ue=>{ea.clear(),Lr=!0,oe(!0),w&&!F&&w(ue)},me=yt(ue=>{ea.start(800+S,()=>{Lr=!1}),oe(!1),x&&F&&x(ue),Q.start(N.transitions.duration.shortest,()=>{Y.current=!1})}),he=ue=>{Y.current&&ue.type!=="touchstart"||(O&&O.removeAttribute("title"),ee.clear(),X.clear(),g||Lr&&d?ee.start(Lr?d:g,()=>{Ee(ue)}):Ee(ue))},Ae=ue=>{ee.clear(),X.start(S,()=>{me(ue)})},[,je]=E.useState(!1),ae=ue=>{Jt(ue.target)||(je(!1),Ae(ue))},K=ue=>{O||_(ue.currentTarget),Jt(ue.target)&&(je(!0),he(ue))},Be=ue=>{Y.current=!0;const Tt=V.props;Tt.onTouchStart&&Tt.onTouchStart(ue)},ze=ue=>{Be(ue),X.clear(),Q.clear(),te(),ie.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ne.start(C,()=>{document.body.style.WebkitUserSelect=ie.current,he(ue)})},Ye=ue=>{V.props.onTouchEnd&&V.props.onTouchEnd(ue),te(),X.start(v,()=>{me(ue)})};E.useEffect(()=>{if(!F)return;function ue(Tt){Tt.key==="Escape"&&me(Tt)}return document.addEventListener("keydown",ue),()=>{document.removeEventListener("keydown",ue)}},[me,F]);const We=Le(jr(V),_,r);!k&&k!==0&&(F=!1);const _e=E.useRef(),He=ue=>{const Tt=V.props;Tt.onMouseMove&&Tt.onMouseMove(ue),cr={x:ue.clientX,y:ue.clientY},_e.current&&_e.current.update()},Ke={},Lt=typeof k=="string";u?(Ke.title=!F&&Lt&&!m?k:null,Ke["aria-describedby"]=F?ce:null):(Ke["aria-label"]=Lt?k:null,Ke["aria-labelledby"]=F&&!Lt?ce:null);const fe={...Ke,...j,...V.props,className:se(j.className,V.props.className),onTouchStart:Be,ref:We,...T?{onMouseMove:He}:{}};process.env.NODE_ENV!=="production"&&(fe["data-mui-internal-clone-element"]=!0,E.useEffect(()=>{O&&!O.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
268
268
  `))},[O]));const Ct={};b||(fe.onTouchStart=ze,fe.onTouchEnd=Ye),m||(fe.onMouseOver=Wr(he,fe.onMouseOver),fe.onMouseLeave=Wr(Ae,fe.onMouseLeave),Z||(Ct.onMouseOver=he,Ct.onMouseLeave=Ae)),p||(fe.onFocus=Wr(K,fe.onFocus),fe.onBlur=Wr(ae,fe.onBlur),Z||(Ct.onFocus=K,Ct.onBlur=ae)),process.env.NODE_ENV!=="production"&&V.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${V.props.title}\` or the Tooltip component.`].join(`
269
- `));const ct={...n,isRtl:L,arrow:i,disableInteractive:Z,placement:I,PopperComponentProp:M,touch:Y.current},ir=typeof B.popper=="function"?B.popper(ct):B.popper,Ws=E.useMemo(()=>{let ue=[{name:"arrow",enabled:!!U,options:{element:U,padding:4}}];return z.popperOptions?.modifiers&&(ue=ue.concat(z.popperOptions.modifiers)),ir?.popperOptions?.modifiers&&(ue=ue.concat(ir.popperOptions.modifiers)),{...z.popperOptions,...ir?.popperOptions,modifiers:ue}},[U,z.popperOptions,ir?.popperOptions]),Ro=og(ct),Hs=typeof B.transition=="function"?B.transition(ct):B.transition,Mr={slots:{popper:l.Popper,transition:l.Transition??$,tooltip:l.Tooltip,arrow:l.Arrow,...f},slotProps:{arrow:B.arrow??c.arrow,popper:{...z,...ir??c.popper},tooltip:B.tooltip??c.tooltip,transition:{...A,...Hs??c.transition}}},[Us,qs]=ge("popper",{elementType:ng,externalForwardedProps:Mr,ownerState:ct,className:se(Ro.popper,z?.className)}),[Gs,Ys]=ge("transition",{elementType:Cr,externalForwardedProps:Mr,ownerState:ct}),[Ks,Xs]=ge("tooltip",{elementType:ig,className:Ro.tooltip,externalForwardedProps:Mr,ownerState:ct}),[Zs,Js]=ge("arrow",{elementType:ag,className:Ro.arrow,externalForwardedProps:Mr,ownerState:ct,ref:H});return h.jsxs(E.Fragment,{children:[E.cloneElement(V,fe),h.jsx(Us,{as:M??qn,placement:I,anchorEl:T?{getBoundingClientRect:()=>({top:cr.y,left:cr.x,right:cr.x,bottom:cr.y,width:0,height:0})}:O,popperRef:_e,open:O?F:!1,id:ce,transition:!0,...Ct,...qs,popperOptions:Ws,children:({TransitionProps:ue})=>h.jsx(Gs,{timeout:N.transitions.duration.shorter,...ue,...Ys,children:h.jsxs(Ks,{...Xs,children:[k,i?h.jsx(Zs,{...Js}):null]})})})]})});process.env.NODE_ENV!=="production"&&(bn.propTypes={arrow:o.bool,children:nr.isRequired,classes:o.object,className:o.string,components:o.shape({Arrow:o.elementType,Popper:o.elementType,Tooltip:o.elementType,Transition:o.elementType}),componentsProps:o.shape({arrow:o.object,popper:o.object,tooltip:o.object,transition:o.object}),describeChild:o.bool,disableFocusListener:o.bool,disableHoverListener:o.bool,disableInteractive:o.bool,disableTouchListener:o.bool,enterDelay:o.number,enterNextDelay:o.number,enterTouchDelay:o.number,followCursor:o.bool,id:o.string,leaveDelay:o.number,leaveTouchDelay:o.number,onClose:o.func,onOpen:o.func,open:o.bool,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:o.elementType,PopperProps:o.object,slotProps:o.shape({arrow:o.oneOfType([o.func,o.object]),popper:o.oneOfType([o.func,o.object]),tooltip:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({arrow:o.elementType,popper:o.elementType,tooltip:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),title:o.node,TransitionComponent:o.elementType,TransitionProps:o.object});function Hr(e){return parseInt(e,10)||0}const sg={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function lg(e){for(const t in e)return!1;return!0}function ra(e){return lg(e)||e.outerHeightStyle===0&&!e.overflowing}const _s=E.forwardRef(function(t,r){const{onChange:n,maxRows:i,minRows:a=1,style:s,value:l,...c}=t,{current:u}=E.useRef(l!=null),p=E.useRef(null),m=Le(r,p),y=E.useRef(null),b=E.useRef(null),g=E.useCallback(()=>{const S=p.current,v=b.current;if(!S||!v)return;const w=Rt(S).getComputedStyle(S);if(w.width==="0px")return{outerHeightStyle:0,overflowing:!1};v.style.width=w.width,v.value=S.value||t.placeholder||"x",v.value.slice(-1)===`
270
- `&&(v.value+=" ");const P=w.boxSizing,I=Hr(w.paddingBottom)+Hr(w.paddingTop),M=Hr(w.borderBottomWidth)+Hr(w.borderTopWidth),z=v.scrollHeight;v.value="x";const B=v.scrollHeight;let f=z;a&&(f=Math.max(Number(a)*B,f)),i&&(f=Math.min(Number(i)*B,f)),f=Math.max(f,B);const k=f+(P==="border-box"?I+M:0),$=Math.abs(f-z)<=1;return{outerHeightStyle:k,overflowing:$}},[i,a,t.placeholder]),d=yt(()=>{const S=p.current,v=g();if(!S||!v||ra(v))return!1;const x=v.outerHeightStyle;return y.current!=null&&y.current!==x}),C=E.useCallback(()=>{const S=p.current,v=g();if(!S||!v||ra(v))return;const x=v.outerHeightStyle;y.current!==x&&(y.current=x,S.style.height=`${x}px`),S.style.overflow=v.overflowing?"hidden":""},[g]),T=E.useRef(-1);Ot(()=>{const S=Ma(C),v=p?.current;if(!v)return;const x=Rt(v);x.addEventListener("resize",S);let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(()=>{d()&&(w.unobserve(v),cancelAnimationFrame(T.current),C(),T.current=requestAnimationFrame(()=>{w.observe(v)}))}),w.observe(v)),()=>{S.clear(),cancelAnimationFrame(T.current),x.removeEventListener("resize",S),w&&w.disconnect()}},[g,C,d]),Ot(()=>{C()});const R=S=>{u||C();const v=S.target,x=v.value.length,w=v.value.endsWith(`
271
- `),P=v.selectionStart===x;w&&P&&v.setSelectionRange(x,x),n&&n(S)};return h.jsxs(E.Fragment,{children:[h.jsx("textarea",{value:l,onChange:R,ref:m,rows:a,style:s,...c}),h.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:b,tabIndex:-1,style:{...sg.shadow,...s,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(_s.propTypes={className:o.string,maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),onChange:o.func,placeholder:o.string,style:o.object,value:o.oneOfType([o.arrayOf(o.string),o.number,o.string])});function cg({props:e,states:t,muiFormControl:r}){return t.reduce((n,i)=>(n[i]=e[i],r&&typeof e[i]>"u"&&(n[i]=r[i]),n),{})}const Gn=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(Gn.displayName="FormControlContext");function ug(){return E.useContext(Gn)}function oa(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function pg(e,t=!1){return e&&(oa(e.value)&&e.value!==""||t&&oa(e.defaultValue)&&e.defaultValue!=="")}function dg(e){return Te("MuiInputBase",e)}const vn=we("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var na;const fg=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${G(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},mg=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},hg=e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:a,focused:s,formControl:l,fullWidth:c,hiddenLabel:u,multiline:p,readOnly:m,size:y,startAdornment:b,type:g}=e,d={root:["root",`color${G(r)}`,n&&"disabled",i&&"error",c&&"fullWidth",s&&"focused",l&&"formControl",y&&y!=="medium"&&`size${G(y)}`,p&&"multiline",b&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",m&&"readOnly"],input:["input",n&&"disabled",g==="search"&&"inputTypeSearch",p&&"inputMultiline",y==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",b&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return $e(d,dg,t)},gg=J("div",{name:"MuiInputBase",slot:"Root",overridesResolver:fg})(ye(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${vn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:r})=>t.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),yg=J("input",{name:"MuiInputBase",slot:"Input",overridesResolver:mg})(ye(({theme:e})=>{const t=e.palette.mode==="light",r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${vn.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${vn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),ia=Ou({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Vs=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,color:c,components:u={},componentsProps:p={},defaultValue:m,disabled:y,disableInjectingGlobalStyles:b,endAdornment:g,error:d,fullWidth:C=!1,id:T,inputComponent:R="input",inputProps:S={},inputRef:v,margin:x,maxRows:w,minRows:P,multiline:I=!1,name:M,onBlur:z,onChange:B,onClick:f,onFocus:k,onKeyDown:$,onKeyUp:A,placeholder:j,readOnly:V,renderSuffix:N,rows:L,size:O,slotProps:_={},slots:U={},startAdornment:H,type:Y="text",value:Z,...Q}=n,ee=S.value!=null?S.value:Z,{current:X}=E.useRef(ee!=null),ne=E.useRef(),q=E.useCallback(fe=>{process.env.NODE_ENV!=="production"&&fe&&fe.nodeName!=="INPUT"&&!fe.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
272
- `))},[]),oe=Le(ne,v,S.ref,q),[F,ce]=E.useState(!1),ie=ug();process.env.NODE_ENV!=="production"&&E.useEffect(()=>{if(ie)return ie.registerEffect()},[ie]);const te=cg({props:n,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});te.focused=ie?ie.focused:F,E.useEffect(()=>{!ie&&y&&F&&(ce(!1),z&&z())},[ie,y,F,z]);const Ee=ie&&ie.onFilled,me=ie&&ie.onEmpty,he=E.useCallback(fe=>{pg(fe)?Ee&&Ee():me&&me()},[Ee,me]);Ot(()=>{X&&he({value:ee})},[ee,he,X]);const Ae=fe=>{k&&k(fe),S.onFocus&&S.onFocus(fe),ie&&ie.onFocus?ie.onFocus(fe):ce(!0)},je=fe=>{z&&z(fe),S.onBlur&&S.onBlur(fe),ie&&ie.onBlur?ie.onBlur(fe):ce(!1)},ae=(fe,...Ct)=>{if(!X){const ct=fe.target||ne.current;if(ct==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":bt(1));he({value:ct.value})}S.onChange&&S.onChange(fe,...Ct),B&&B(fe,...Ct)};E.useEffect(()=>{he(ne.current)},[]);const K=fe=>{ne.current&&fe.currentTarget===fe.target&&ne.current.focus(),f&&f(fe)};let Be=R,ze=S;I&&Be==="input"&&(L?(process.env.NODE_ENV!=="production"&&(P||w)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),ze={type:void 0,minRows:L,maxRows:L,...ze}):ze={type:void 0,maxRows:w,minRows:P,...ze},Be=_s);const Ye=fe=>{he(fe.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};E.useEffect(()=>{ie&&ie.setAdornedStart(!!H)},[ie,H]);const We={...n,color:te.color||"primary",disabled:te.disabled,endAdornment:g,error:te.error,focused:te.focused,formControl:ie,fullWidth:C,hiddenLabel:te.hiddenLabel,multiline:I,size:te.size,startAdornment:H,type:Y},_e=hg(We),He=U.root||u.Root||gg,Ke=_.root||p.root||{},Lt=U.input||u.Input||yg;return ze={...ze,..._.input??p.input},h.jsxs(E.Fragment,{children:[!b&&typeof ia=="function"&&(na||(na=h.jsx(ia,{}))),h.jsxs(He,{...Ke,ref:r,onClick:K,...Q,...!eo(He)&&{ownerState:{...We,...Ke.ownerState}},className:se(_e.root,Ke.className,l,V&&"MuiInputBase-readOnly"),children:[H,h.jsx(Gn.Provider,{value:null,children:h.jsx(Lt,{"aria-invalid":te.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:m,disabled:te.disabled,id:T,onAnimationStart:Ye,name:M,placeholder:j,readOnly:V,required:te.required,rows:L,value:ee,onKeyDown:$,onKeyUp:A,type:Y,...ze,...!eo(Lt)&&{as:Be,ownerState:{...We,...ze.ownerState}},ref:oe,className:se(_e.input,ze.className,V&&"MuiInputBase-readOnly"),onBlur:je,onChange:ae,onFocus:Ae})}),g,N?N({...te,startAdornment:H}):null]})]})});process.env.NODE_ENV!=="production"&&(Vs.propTypes={"aria-describedby":o.string,autoComplete:o.string,autoFocus:o.bool,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableInjectingGlobalStyles:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:xo,inputProps:o.object,inputRef:$r,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClick:o.func,onFocus:o.func,onInvalid:o.func,onKeyDown:o.func,onKeyUp:o.func,placeholder:o.string,readOnly:o.bool,renderSuffix:o.func,required:o.bool,rows:o.oneOfType([o.number,o.string]),size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});const bg=Pe(h.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),vg=Pe(h.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8m-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12m3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8m5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8m3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"ColorLens"),xg=["#F44336","#E91E63","#9C27B0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548","#607D8B","#9E9E9E","#000000","#FFFFFF","#607D8B","#37474F","#1A237E"],Cg={pequeno:20,mediano:28,grande:36},Tg={pequeno:28,mediano:36,grande:44},Go=e=>/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(e),wg=J(de,{shouldForwardProp:e=>!["seleccionado","tamano"].includes(String(e))})(({theme:e,seleccionado:t,tamano:r})=>({width:r,height:r,borderRadius:4,cursor:"pointer",position:"relative",transition:e.transitions.create(["transform","box-shadow"],{duration:150}),boxShadow:t?`0 0 0 2px ${e.palette.background.paper}, 0 0 0 4px ${e.palette.primary.main}`:`inset 0 0 0 1px ${re.alpha(e.palette.common.black,.15)}`,"&:hover":{transform:"scale(1.15)",boxShadow:`0 0 0 2px ${e.palette.background.paper}, 0 0 0 3px ${e.palette.text.secondary}`}})),Eg=J(de)(({theme:e})=>({padding:e.spacing(2),width:260,backgroundColor:e.palette.background.paper,borderRadius:12,boxShadow:e.shadows[4]})),Sg=J(Vs)(({theme:e})=>({fontSize:"0.8125rem",fontFamily:"monospace","& input":{padding:e.spacing(.75,1),borderRadius:6,border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.mode==="dark"?re.alpha(e.palette.common.white,.05):re.alpha(e.palette.common.black,.04),"&:focus":{outline:"none",borderColor:e.palette.primary.main}}})),Og=J(de,{shouldForwardProp:e=>e!=="deshabilitado"})(({theme:e,deshabilitado:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",width:28,height:28,borderRadius:6,border:`1px solid ${e.palette.divider}`,cursor:t?"not-allowed":"pointer",overflow:"hidden",position:"relative",transition:e.transitions.create(["border-color"]),"&:hover":t?{}:{borderColor:e.palette.primary.main}})),aa=({valor:e,colores:t,tamanoMuestra:r,mostrarInput:n,mostrarPersonalizado:i,alCambiar:a,onCerrar:s})=>{const l=Ge(),c=le.useRef(null),[u,p]=le.useState(e),m=g=>{p(g),a?.(g)},y=g=>{const d=g.target.value;p(d),Go(d)&&a?.(d)},b=()=>{Go(u)||p(e)};return h.jsxs(Eg,{children:[h.jsx(de,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:t.map(g=>h.jsx(bn,{title:g,placement:"top",arrow:!0,children:h.jsx(wg,{tamano:r,seleccionado:g.toUpperCase()===e.toUpperCase(),sx:{backgroundColor:g},onClick:()=>m(g),children:g.toUpperCase()===e.toUpperCase()&&h.jsx(bg,{sx:{fontSize:r*.55,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:l.palette.getContrastText(g)}})})},g))}),(n||i)&&h.jsxs(de,{sx:{display:"flex",alignItems:"center",gap:1,mt:2,pt:2,borderTop:`1px solid ${l.palette.divider}`},children:[n&&h.jsxs(h.Fragment,{children:[h.jsx(de,{sx:{width:28,height:28,borderRadius:1.5,backgroundColor:Go(u)?u:e,border:`1px solid ${re.alpha(l.palette.common.black,.15)}`,flexShrink:0}}),h.jsx(Sg,{fullWidth:!0,value:u,onChange:y,onBlur:b,inputProps:{maxLength:7,"aria-label":"valor hexadecimal del color"}})]}),i&&h.jsx(bn,{title:"Abre el selector de color del sistema",arrow:!0,children:h.jsxs(Og,{onClick:()=>c.current?.click(),"aria-label":"selector de color personalizado",children:[h.jsx(vg,{sx:{fontSize:16,color:"text.secondary"}}),h.jsx("input",{ref:c,type:"color",value:e,onChange:g=>{p(g.target.value),a?.(g.target.value)},style:{position:"absolute",opacity:0,width:"100%",height:"100%",cursor:"pointer",inset:0,border:"none"},"aria-label":"selector de color nativo"})]})})]})]})},Rg=({valor:e="#2196F3",alCambiar:t,coloresPredefinidos:r=xg,mostrarInput:n=!0,mostrarPersonalizado:i=!0,variante:a="emergente",etiqueta:s,deshabilitado:l=!1,tamano:c="mediano"})=>{const u=Ge(),p=le.useRef(null),[m,y]=le.useState(!1),b=Cg[c],g=Tg[c],d=le.useCallback(C=>{t?.(C)},[t]);return a==="fijo"?h.jsxs(de,{sx:{display:"inline-flex",flexDirection:"column",gap:1},children:[s&&h.jsx(Fe,{variant:"caption",fontWeight:600,color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.5px"},children:s}),h.jsx(aa,{valor:e,colores:r,tamanoMuestra:b,mostrarInput:n,mostrarPersonalizado:i,alCambiar:d})]}):h.jsxs(de,{sx:{display:"inline-flex",flexDirection:"column",gap:.5},children:[s&&h.jsx(Fe,{variant:"caption",fontWeight:600,color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.5px"},children:s}),h.jsxs(de,{ref:p,onClick:()=>!l&&y(!0),sx:{display:"inline-flex",alignItems:"center",gap:1,p:.75,pr:1.5,borderRadius:2,border:`1px solid ${m?u.palette.primary.main:u.palette.divider}`,cursor:l?"not-allowed":"pointer",opacity:l?.5:1,transition:u.transitions.create(["border-color","background-color"]),backgroundColor:u.palette.background.paper,"&:hover":l?{}:{borderColor:u.palette.primary.main,backgroundColor:re.alpha(u.palette.primary.main,.02)}},"aria-label":s??"selector de color",children:[h.jsx(de,{sx:{width:g,height:g,borderRadius:1.5,backgroundColor:e,border:`1px solid ${re.alpha(u.palette.common.black,.15)}`,flexShrink:0}}),h.jsx(Fe,{variant:"body2",fontFamily:"monospace",color:"text.secondary",children:e.toUpperCase()})]}),h.jsx($s,{open:m,anchorEl:p.current,onClose:()=>y(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},slotProps:{paper:{sx:{borderRadius:3,overflow:"visible",mt:1,boxShadow:u.shadows[8]}}},children:h.jsx(aa,{valor:e,colores:r,tamanoMuestra:b,mostrarInput:n,mostrarPersonalizado:i,alCambiar:d})})]})},Ls=({etiqueta:e,valor:t,color:r="neutro",subtitulo:n,sx:i})=>{const a=W.useTheme(),s={neutro:a.palette.grey[500],exito:a.palette.success.main,error:a.palette.error.main,aviso:a.palette.warning.main}[r],l=r==="neutro"?a.palette.text.primary:s;return h.jsxs(W.Box,{sx:[{bgcolor:a.palette.background.paper,borderRadius:3,boxShadow:a.shadows[2],borderLeft:`5px solid ${s}`,px:2.5,py:2,minWidth:140,flex:"1 1 0"},...Array.isArray(i)?i:i?[i]:[]],children:[h.jsx(W.Typography,{variant:"overline",sx:{display:"block",color:a.palette.text.secondary,fontWeight:700,fontSize:"0.65rem",letterSpacing:"0.08em",lineHeight:1.2,mb:1},children:e}),h.jsx(W.Typography,{component:"p",sx:{fontWeight:700,color:l,fontSize:{xs:"1.75rem",md:"2rem"},lineHeight:1},children:typeof t=="number"?t.toLocaleString("es-PE"):t}),n&&h.jsx(W.Typography,{variant:"caption",sx:{display:"block",color:a.palette.text.secondary,mt:.75,lineHeight:1.3},children:n})]})};Ls.displayName="CodeplexTarjetaEstadistica";Object.defineProperty(exports,"useNextStep",{enumerable:!0,get:()=>Yo.useNextStep});Object.defineProperty(exports,"CodeplexDialogo",{enumerable:!0,get:()=>mt.CodeplexDialogo});Object.defineProperty(exports,"CodeplexDialogoAcciones",{enumerable:!0,get:()=>mt.CodeplexDialogoAcciones});Object.defineProperty(exports,"CodeplexDialogoContenido",{enumerable:!0,get:()=>mt.CodeplexDialogoContenido});Object.defineProperty(exports,"CodeplexDialogoTexto",{enumerable:!0,get:()=>mt.CodeplexDialogoTexto});Object.defineProperty(exports,"CodeplexDialogoTitulo",{enumerable:!0,get:()=>mt.CodeplexDialogoTitulo});Object.defineProperty(exports,"CodeplexMensajeEmergente",{enumerable:!0,get:()=>mt.CodeplexMensajeEmergente});Object.defineProperty(exports,"CodeplexNotificacion",{enumerable:!0,get:()=>mt.CodeplexNotificacion});Object.defineProperty(exports,"CodeplexToast",{enumerable:!0,get:()=>mt.CodeplexToast});Object.defineProperty(exports,"CodeplexTooltip",{enumerable:!0,get:()=>mt.CodeplexTooltip});Object.defineProperty(exports,"CodeplexTostada",{enumerable:!0,get:()=>mt.CodeplexTostada});exports.CodeplexAlert=uf;exports.CodeplexAlerta=ys;exports.CodeplexAvatar=ld;exports.CodeplexAvatarGroup=sd;exports.CodeplexAvatarUsuario=Ja;exports.CodeplexAviso=fs;exports.CodeplexAyudaEntrada=ws;exports.CodeplexBadge=kp;exports.CodeplexBanner=zd;exports.CodeplexBoton=jn;exports.CodeplexButton=wp;exports.CodeplexCard=jd;exports.CodeplexCargadorArchivos=um;exports.CodeplexCargando=Ka;exports.CodeplexEncabezadoPrincipal=ps;exports.CodeplexEsqueleto=zf;exports.CodeplexEsqueletoContenido=zn;exports.CodeplexEtiquetaInteligente=rs;exports.CodeplexGrupoAvatares=Qa;exports.CodeplexGrupoBotones=qf;exports.CodeplexInputHelper=Bf;exports.CodeplexInsignia=Ya;exports.CodeplexJumbotron=Ad;exports.CodeplexKbd=_p;exports.CodeplexPopupRequisitos=Mn;exports.CodeplexProgreso=bs;exports.CodeplexProgress=xf;exports.CodeplexRating=Nf;exports.CodeplexRequirementsPopup=cd;exports.CodeplexSelectorColor=Rg;exports.CodeplexSkeleton=Ff;exports.CodeplexSmartLabel=ud;exports.CodeplexSpinner=Fp;exports.CodeplexTarjeta=us;exports.CodeplexTarjetaEstadistica=Ls;exports.CodeplexTeclado=Xa;exports.CodeplexTour=Kf;exports.CodeplexValoracion=Ts;exports.EntradaOcultaVisualmente=Tp;exports.Ui=rl;exports.avatarCadena=es;exports.stringAvatar=ad;Object.keys(Yn).forEach(e=>{e!=="default"&&!Object.prototype.hasOwnProperty.call(exports,e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>Yn[e]})});
269
+ `));const ct={...n,isRtl:L,arrow:i,disableInteractive:Z,placement:I,PopperComponentProp:M,touch:Y.current},ir=typeof B.popper=="function"?B.popper(ct):B.popper,Ls=E.useMemo(()=>{let ue=[{name:"arrow",enabled:!!U,options:{element:U,padding:4}}];return z.popperOptions?.modifiers&&(ue=ue.concat(z.popperOptions.modifiers)),ir?.popperOptions?.modifiers&&(ue=ue.concat(ir.popperOptions.modifiers)),{...z.popperOptions,...ir?.popperOptions,modifiers:ue}},[U,z.popperOptions,ir?.popperOptions]),Ro=rg(ct),Ws=typeof B.transition=="function"?B.transition(ct):B.transition,Mr={slots:{popper:l.Popper,transition:l.Transition??$,tooltip:l.Tooltip,arrow:l.Arrow,...f},slotProps:{arrow:B.arrow??c.arrow,popper:{...z,...ir??c.popper},tooltip:B.tooltip??c.tooltip,transition:{...A,...Ws??c.transition}}},[Hs,Us]=ge("popper",{elementType:og,externalForwardedProps:Mr,ownerState:ct,className:se(Ro.popper,z?.className)}),[qs,Gs]=ge("transition",{elementType:Cr,externalForwardedProps:Mr,ownerState:ct}),[Ys,Ks]=ge("tooltip",{elementType:ng,className:Ro.tooltip,externalForwardedProps:Mr,ownerState:ct}),[Xs,Zs]=ge("arrow",{elementType:ig,className:Ro.arrow,externalForwardedProps:Mr,ownerState:ct,ref:H});return h.jsxs(E.Fragment,{children:[E.cloneElement(V,fe),h.jsx(Hs,{as:M??qn,placement:I,anchorEl:T?{getBoundingClientRect:()=>({top:cr.y,left:cr.x,right:cr.x,bottom:cr.y,width:0,height:0})}:O,popperRef:_e,open:O?F:!1,id:ce,transition:!0,...Ct,...Us,popperOptions:Ls,children:({TransitionProps:ue})=>h.jsx(qs,{timeout:N.transitions.duration.shorter,...ue,...Gs,children:h.jsxs(Ys,{...Ks,children:[k,i?h.jsx(Xs,{...Zs}):null]})})})]})});process.env.NODE_ENV!=="production"&&(bn.propTypes={arrow:o.bool,children:nr.isRequired,classes:o.object,className:o.string,components:o.shape({Arrow:o.elementType,Popper:o.elementType,Tooltip:o.elementType,Transition:o.elementType}),componentsProps:o.shape({arrow:o.object,popper:o.object,tooltip:o.object,transition:o.object}),describeChild:o.bool,disableFocusListener:o.bool,disableHoverListener:o.bool,disableInteractive:o.bool,disableTouchListener:o.bool,enterDelay:o.number,enterNextDelay:o.number,enterTouchDelay:o.number,followCursor:o.bool,id:o.string,leaveDelay:o.number,leaveTouchDelay:o.number,onClose:o.func,onOpen:o.func,open:o.bool,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:o.elementType,PopperProps:o.object,slotProps:o.shape({arrow:o.oneOfType([o.func,o.object]),popper:o.oneOfType([o.func,o.object]),tooltip:o.oneOfType([o.func,o.object]),transition:o.oneOfType([o.func,o.object])}),slots:o.shape({arrow:o.elementType,popper:o.elementType,tooltip:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),title:o.node,TransitionComponent:o.elementType,TransitionProps:o.object});function Hr(e){return parseInt(e,10)||0}const ag={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function sg(e){for(const t in e)return!1;return!0}function ta(e){return sg(e)||e.outerHeightStyle===0&&!e.overflowing}const Fs=E.forwardRef(function(t,r){const{onChange:n,maxRows:i,minRows:a=1,style:s,value:l,...c}=t,{current:u}=E.useRef(l!=null),p=E.useRef(null),m=Le(r,p),y=E.useRef(null),b=E.useRef(null),g=E.useCallback(()=>{const S=p.current,v=b.current;if(!S||!v)return;const w=Rt(S).getComputedStyle(S);if(w.width==="0px")return{outerHeightStyle:0,overflowing:!1};v.style.width=w.width,v.value=S.value||t.placeholder||"x",v.value.slice(-1)===`
270
+ `&&(v.value+=" ");const P=w.boxSizing,I=Hr(w.paddingBottom)+Hr(w.paddingTop),M=Hr(w.borderBottomWidth)+Hr(w.borderTopWidth),z=v.scrollHeight;v.value="x";const B=v.scrollHeight;let f=z;a&&(f=Math.max(Number(a)*B,f)),i&&(f=Math.min(Number(i)*B,f)),f=Math.max(f,B);const k=f+(P==="border-box"?I+M:0),$=Math.abs(f-z)<=1;return{outerHeightStyle:k,overflowing:$}},[i,a,t.placeholder]),d=yt(()=>{const S=p.current,v=g();if(!S||!v||ta(v))return!1;const x=v.outerHeightStyle;return y.current!=null&&y.current!==x}),C=E.useCallback(()=>{const S=p.current,v=g();if(!S||!v||ta(v))return;const x=v.outerHeightStyle;y.current!==x&&(y.current=x,S.style.height=`${x}px`),S.style.overflow=v.overflowing?"hidden":""},[g]),T=E.useRef(-1);Ot(()=>{const S=Aa(C),v=p?.current;if(!v)return;const x=Rt(v);x.addEventListener("resize",S);let w;return typeof ResizeObserver<"u"&&(w=new ResizeObserver(()=>{d()&&(w.unobserve(v),cancelAnimationFrame(T.current),C(),T.current=requestAnimationFrame(()=>{w.observe(v)}))}),w.observe(v)),()=>{S.clear(),cancelAnimationFrame(T.current),x.removeEventListener("resize",S),w&&w.disconnect()}},[g,C,d]),Ot(()=>{C()});const R=S=>{u||C();const v=S.target,x=v.value.length,w=v.value.endsWith(`
271
+ `),P=v.selectionStart===x;w&&P&&v.setSelectionRange(x,x),n&&n(S)};return h.jsxs(E.Fragment,{children:[h.jsx("textarea",{value:l,onChange:R,ref:m,rows:a,style:s,...c}),h.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:b,tabIndex:-1,style:{...ag.shadow,...s,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(Fs.propTypes={className:o.string,maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),onChange:o.func,placeholder:o.string,style:o.object,value:o.oneOfType([o.arrayOf(o.string),o.number,o.string])});function lg({props:e,states:t,muiFormControl:r}){return t.reduce((n,i)=>(n[i]=e[i],r&&typeof e[i]>"u"&&(n[i]=r[i]),n),{})}const Gn=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(Gn.displayName="FormControlContext");function cg(){return E.useContext(Gn)}function ra(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ug(e,t=!1){return e&&(ra(e.value)&&e.value!==""||t&&ra(e.defaultValue)&&e.defaultValue!=="")}function pg(e){return Te("MuiInputBase",e)}const vn=we("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var oa;const dg=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${G(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},fg=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},mg=e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:a,focused:s,formControl:l,fullWidth:c,hiddenLabel:u,multiline:p,readOnly:m,size:y,startAdornment:b,type:g}=e,d={root:["root",`color${G(r)}`,n&&"disabled",i&&"error",c&&"fullWidth",s&&"focused",l&&"formControl",y&&y!=="medium"&&`size${G(y)}`,p&&"multiline",b&&"adornedStart",a&&"adornedEnd",u&&"hiddenLabel",m&&"readOnly"],input:["input",n&&"disabled",g==="search"&&"inputTypeSearch",p&&"inputMultiline",y==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",b&&"inputAdornedStart",a&&"inputAdornedEnd",m&&"readOnly"]};return $e(d,pg,t)},hg=J("div",{name:"MuiInputBase",slot:"Root",overridesResolver:dg})(ye(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${vn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:r})=>t.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),gg=J("input",{name:"MuiInputBase",slot:"Input",overridesResolver:fg})(ye(({theme:e})=>{const t=e.palette.mode==="light",r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${vn.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${vn.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),na=Su({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),_s=E.forwardRef(function(t,r){const n=Re({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,color:c,components:u={},componentsProps:p={},defaultValue:m,disabled:y,disableInjectingGlobalStyles:b,endAdornment:g,error:d,fullWidth:C=!1,id:T,inputComponent:R="input",inputProps:S={},inputRef:v,margin:x,maxRows:w,minRows:P,multiline:I=!1,name:M,onBlur:z,onChange:B,onClick:f,onFocus:k,onKeyDown:$,onKeyUp:A,placeholder:j,readOnly:V,renderSuffix:N,rows:L,size:O,slotProps:_={},slots:U={},startAdornment:H,type:Y="text",value:Z,...Q}=n,ee=S.value!=null?S.value:Z,{current:X}=E.useRef(ee!=null),ne=E.useRef(),q=E.useCallback(fe=>{process.env.NODE_ENV!=="production"&&fe&&fe.nodeName!=="INPUT"&&!fe.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
272
+ `))},[]),oe=Le(ne,v,S.ref,q),[F,ce]=E.useState(!1),ie=cg();process.env.NODE_ENV!=="production"&&E.useEffect(()=>{if(ie)return ie.registerEffect()},[ie]);const te=lg({props:n,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});te.focused=ie?ie.focused:F,E.useEffect(()=>{!ie&&y&&F&&(ce(!1),z&&z())},[ie,y,F,z]);const Ee=ie&&ie.onFilled,me=ie&&ie.onEmpty,he=E.useCallback(fe=>{ug(fe)?Ee&&Ee():me&&me()},[Ee,me]);Ot(()=>{X&&he({value:ee})},[ee,he,X]);const Ae=fe=>{k&&k(fe),S.onFocus&&S.onFocus(fe),ie&&ie.onFocus?ie.onFocus(fe):ce(!0)},je=fe=>{z&&z(fe),S.onBlur&&S.onBlur(fe),ie&&ie.onBlur?ie.onBlur(fe):ce(!1)},ae=(fe,...Ct)=>{if(!X){const ct=fe.target||ne.current;if(ct==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":bt(1));he({value:ct.value})}S.onChange&&S.onChange(fe,...Ct),B&&B(fe,...Ct)};E.useEffect(()=>{he(ne.current)},[]);const K=fe=>{ne.current&&fe.currentTarget===fe.target&&ne.current.focus(),f&&f(fe)};let Be=R,ze=S;I&&Be==="input"&&(L?(process.env.NODE_ENV!=="production"&&(P||w)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),ze={type:void 0,minRows:L,maxRows:L,...ze}):ze={type:void 0,maxRows:w,minRows:P,...ze},Be=Fs);const Ye=fe=>{he(fe.animationName==="mui-auto-fill-cancel"?ne.current:{value:"x"})};E.useEffect(()=>{ie&&ie.setAdornedStart(!!H)},[ie,H]);const We={...n,color:te.color||"primary",disabled:te.disabled,endAdornment:g,error:te.error,focused:te.focused,formControl:ie,fullWidth:C,hiddenLabel:te.hiddenLabel,multiline:I,size:te.size,startAdornment:H,type:Y},_e=mg(We),He=U.root||u.Root||hg,Ke=_.root||p.root||{},Lt=U.input||u.Input||gg;return ze={...ze,..._.input??p.input},h.jsxs(E.Fragment,{children:[!b&&typeof na=="function"&&(oa||(oa=h.jsx(na,{}))),h.jsxs(He,{...Ke,ref:r,onClick:K,...Q,...!eo(He)&&{ownerState:{...We,...Ke.ownerState}},className:se(_e.root,Ke.className,l,V&&"MuiInputBase-readOnly"),children:[H,h.jsx(Gn.Provider,{value:null,children:h.jsx(Lt,{"aria-invalid":te.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:m,disabled:te.disabled,id:T,onAnimationStart:Ye,name:M,placeholder:j,readOnly:V,required:te.required,rows:L,value:ee,onKeyDown:$,onKeyUp:A,type:Y,...ze,...!eo(Lt)&&{as:Be,ownerState:{...We,...ze.ownerState}},ref:oe,className:se(_e.input,ze.className,V&&"MuiInputBase-readOnly"),onBlur:je,onChange:ae,onFocus:Ae})}),g,N?N({...te,startAdornment:H}):null]})]})});process.env.NODE_ENV!=="production"&&(_s.propTypes={"aria-describedby":o.string,autoComplete:o.string,autoFocus:o.bool,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableInjectingGlobalStyles:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:xo,inputProps:o.object,inputRef:$r,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClick:o.func,onFocus:o.func,onInvalid:o.func,onKeyDown:o.func,onKeyUp:o.func,placeholder:o.string,readOnly:o.bool,renderSuffix:o.func,required:o.bool,rows:o.oneOfType([o.number,o.string]),size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});const yg=Pe(h.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),bg=Pe(h.jsx("path",{d:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9c.83 0 1.5-.67 1.5-1.5 0-.39-.15-.74-.39-1.01-.23-.26-.38-.61-.38-.99 0-.83.67-1.5 1.5-1.5H16c2.76 0 5-2.24 5-5 0-4.42-4.03-8-9-8m-5.5 9c-.83 0-1.5-.67-1.5-1.5S5.67 9 6.5 9 8 9.67 8 10.5 7.33 12 6.5 12m3-4C8.67 8 8 7.33 8 6.5S8.67 5 9.5 5s1.5.67 1.5 1.5S10.33 8 9.5 8m5 0c-.83 0-1.5-.67-1.5-1.5S13.67 5 14.5 5s1.5.67 1.5 1.5S15.33 8 14.5 8m3 4c-.83 0-1.5-.67-1.5-1.5S16.67 9 17.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5"}),"ColorLens"),vg=["#F44336","#E91E63","#9C27B0","#673AB7","#3F51B5","#2196F3","#03A9F4","#00BCD4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548","#607D8B","#9E9E9E","#000000","#FFFFFF","#607D8B","#37474F","#1A237E"],xg={pequeno:20,mediano:28,grande:36},Cg={pequeno:28,mediano:36,grande:44},Go=e=>/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(e),Tg=J(de,{shouldForwardProp:e=>!["seleccionado","tamano"].includes(String(e))})(({theme:e,seleccionado:t,tamano:r})=>({width:r,height:r,borderRadius:4,cursor:"pointer",position:"relative",transition:e.transitions.create(["transform","box-shadow"],{duration:150}),boxShadow:t?`0 0 0 2px ${e.palette.background.paper}, 0 0 0 4px ${e.palette.primary.main}`:`inset 0 0 0 1px ${re.alpha(e.palette.common.black,.15)}`,"&:hover":{transform:"scale(1.15)",boxShadow:`0 0 0 2px ${e.palette.background.paper}, 0 0 0 3px ${e.palette.text.secondary}`}})),wg=J(de)(({theme:e})=>({padding:e.spacing(2),width:260,backgroundColor:e.palette.background.paper,borderRadius:12,boxShadow:e.shadows[4]})),Eg=J(_s)(({theme:e})=>({fontSize:"0.8125rem",fontFamily:"monospace","& input":{padding:e.spacing(.75,1),borderRadius:6,border:`1px solid ${e.palette.divider}`,backgroundColor:e.palette.mode==="dark"?re.alpha(e.palette.common.white,.05):re.alpha(e.palette.common.black,.04),"&:focus":{outline:"none",borderColor:e.palette.primary.main}}})),Sg=J(de,{shouldForwardProp:e=>e!=="deshabilitado"})(({theme:e,deshabilitado:t})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",width:28,height:28,borderRadius:6,border:`1px solid ${e.palette.divider}`,cursor:t?"not-allowed":"pointer",overflow:"hidden",position:"relative",transition:e.transitions.create(["border-color"]),"&:hover":t?{}:{borderColor:e.palette.primary.main}})),ia=({valor:e,colores:t,tamanoMuestra:r,mostrarInput:n,mostrarPersonalizado:i,alCambiar:a,onCerrar:s})=>{const l=Ge(),c=le.useRef(null),[u,p]=le.useState(e),m=g=>{p(g),a?.(g)},y=g=>{const d=g.target.value;p(d),Go(d)&&a?.(d)},b=()=>{Go(u)||p(e)};return h.jsxs(wg,{children:[h.jsx(de,{sx:{display:"flex",flexWrap:"wrap",gap:.75},children:t.map(g=>h.jsx(bn,{title:g,placement:"top",arrow:!0,children:h.jsx(Tg,{tamano:r,seleccionado:g.toUpperCase()===e.toUpperCase(),sx:{backgroundColor:g},onClick:()=>m(g),children:g.toUpperCase()===e.toUpperCase()&&h.jsx(yg,{sx:{fontSize:r*.55,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:l.palette.getContrastText(g)}})})},g))}),(n||i)&&h.jsxs(de,{sx:{display:"flex",alignItems:"center",gap:1,mt:2,pt:2,borderTop:`1px solid ${l.palette.divider}`},children:[n&&h.jsxs(h.Fragment,{children:[h.jsx(de,{sx:{width:28,height:28,borderRadius:1.5,backgroundColor:Go(u)?u:e,border:`1px solid ${re.alpha(l.palette.common.black,.15)}`,flexShrink:0}}),h.jsx(Eg,{fullWidth:!0,value:u,onChange:y,onBlur:b,inputProps:{maxLength:7,"aria-label":"valor hexadecimal del color"}})]}),i&&h.jsx(bn,{title:"Abre el selector de color del sistema",arrow:!0,children:h.jsxs(Sg,{onClick:()=>c.current?.click(),"aria-label":"selector de color personalizado",children:[h.jsx(bg,{sx:{fontSize:16,color:"text.secondary"}}),h.jsx("input",{ref:c,type:"color",value:e,onChange:g=>{p(g.target.value),a?.(g.target.value)},style:{position:"absolute",opacity:0,width:"100%",height:"100%",cursor:"pointer",inset:0,border:"none"},"aria-label":"selector de color nativo"})]})})]})]})},Og=({valor:e="#2196F3",alCambiar:t,coloresPredefinidos:r=vg,mostrarInput:n=!0,mostrarPersonalizado:i=!0,variante:a="emergente",etiqueta:s,deshabilitado:l=!1,tamano:c="mediano"})=>{const u=Ge(),p=le.useRef(null),[m,y]=le.useState(!1),b=xg[c],g=Cg[c],d=le.useCallback(C=>{t?.(C)},[t]);return a==="fijo"?h.jsxs(de,{sx:{display:"inline-flex",flexDirection:"column",gap:1},children:[s&&h.jsx(Fe,{variant:"caption",fontWeight:600,color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.5px"},children:s}),h.jsx(ia,{valor:e,colores:r,tamanoMuestra:b,mostrarInput:n,mostrarPersonalizado:i,alCambiar:d})]}):h.jsxs(de,{sx:{display:"inline-flex",flexDirection:"column",gap:.5},children:[s&&h.jsx(Fe,{variant:"caption",fontWeight:600,color:"text.secondary",sx:{textTransform:"uppercase",letterSpacing:"0.5px"},children:s}),h.jsxs(de,{ref:p,onClick:()=>!l&&y(!0),sx:{display:"inline-flex",alignItems:"center",gap:1,p:.75,pr:1.5,borderRadius:2,border:`1px solid ${m?u.palette.primary.main:u.palette.divider}`,cursor:l?"not-allowed":"pointer",opacity:l?.5:1,transition:u.transitions.create(["border-color","background-color"]),backgroundColor:u.palette.background.paper,"&:hover":l?{}:{borderColor:u.palette.primary.main,backgroundColor:re.alpha(u.palette.primary.main,.02)}},"aria-label":s??"selector de color",children:[h.jsx(de,{sx:{width:g,height:g,borderRadius:1.5,backgroundColor:e,border:`1px solid ${re.alpha(u.palette.common.black,.15)}`,flexShrink:0}}),h.jsx(Fe,{variant:"body2",fontFamily:"monospace",color:"text.secondary",children:e.toUpperCase()})]}),h.jsx(Ps,{open:m,anchorEl:p.current,onClose:()=>y(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},slotProps:{paper:{sx:{borderRadius:3,overflow:"visible",mt:1,boxShadow:u.shadows[8]}}},children:h.jsx(ia,{valor:e,colores:r,tamanoMuestra:b,mostrarInput:n,mostrarPersonalizado:i,alCambiar:d})})]})},Vs=({etiqueta:e,valor:t,color:r="neutro",subtitulo:n,sx:i})=>{const a=W.useTheme(),s={neutro:a.palette.grey[500],exito:a.palette.success.main,error:a.palette.error.main,aviso:a.palette.warning.main}[r],l=r==="neutro"?a.palette.text.primary:s;return h.jsxs(W.Box,{sx:[{bgcolor:a.palette.background.paper,borderRadius:3,boxShadow:a.shadows[2],borderLeft:`5px solid ${s}`,px:2.5,py:2,minWidth:140,flex:"1 1 0"},...Array.isArray(i)?i:i?[i]:[]],children:[h.jsx(W.Typography,{variant:"overline",sx:{display:"block",color:a.palette.text.secondary,fontWeight:700,fontSize:"0.65rem",letterSpacing:"0.08em",lineHeight:1.2,mb:1},children:e}),h.jsx(W.Typography,{component:"p",sx:{fontWeight:700,color:l,fontSize:{xs:"1.75rem",md:"2rem"},lineHeight:1},children:typeof t=="number"?t.toLocaleString("es-PE"):t}),n&&h.jsx(W.Typography,{variant:"caption",sx:{display:"block",color:a.palette.text.secondary,mt:.75,lineHeight:1.3},children:n})]})};Vs.displayName="CodeplexTarjetaEstadistica";Object.defineProperty(exports,"useNextStep",{enumerable:!0,get:()=>Yo.useNextStep});Object.defineProperty(exports,"CodeplexDialogo",{enumerable:!0,get:()=>mt.CodeplexDialogo});Object.defineProperty(exports,"CodeplexDialogoAcciones",{enumerable:!0,get:()=>mt.CodeplexDialogoAcciones});Object.defineProperty(exports,"CodeplexDialogoContenido",{enumerable:!0,get:()=>mt.CodeplexDialogoContenido});Object.defineProperty(exports,"CodeplexDialogoTexto",{enumerable:!0,get:()=>mt.CodeplexDialogoTexto});Object.defineProperty(exports,"CodeplexDialogoTitulo",{enumerable:!0,get:()=>mt.CodeplexDialogoTitulo});Object.defineProperty(exports,"CodeplexMensajeEmergente",{enumerable:!0,get:()=>mt.CodeplexMensajeEmergente});Object.defineProperty(exports,"CodeplexNotificacion",{enumerable:!0,get:()=>mt.CodeplexNotificacion});Object.defineProperty(exports,"CodeplexToast",{enumerable:!0,get:()=>mt.CodeplexToast});Object.defineProperty(exports,"CodeplexTooltip",{enumerable:!0,get:()=>mt.CodeplexTooltip});Object.defineProperty(exports,"CodeplexTostada",{enumerable:!0,get:()=>mt.CodeplexTostada});exports.CodeplexAlert=cf;exports.CodeplexAlerta=gs;exports.CodeplexAvatar=sd;exports.CodeplexAvatarGroup=ad;exports.CodeplexAvatarUsuario=Za;exports.CodeplexAviso=ds;exports.CodeplexAyudaEntrada=Ts;exports.CodeplexBadge=jp;exports.CodeplexBanner=Dd;exports.CodeplexBoton=jn;exports.CodeplexButton=Tp;exports.CodeplexCard=$d;exports.CodeplexCargadorArchivos=cm;exports.CodeplexCargando=Ya;exports.CodeplexEncabezadoPrincipal=us;exports.CodeplexEsqueleto=Df;exports.CodeplexEsqueletoContenido=zn;exports.CodeplexEtiquetaInteligente=ts;exports.CodeplexGrupoAvatares=Ja;exports.CodeplexGrupoBotones=Uf;exports.CodeplexInputHelper=Nf;exports.CodeplexInsignia=Ga;exports.CodeplexJumbotron=kd;exports.CodeplexKbd=Fp;exports.CodeplexPopupRequisitos=Mn;exports.CodeplexProgreso=ys;exports.CodeplexProgress=vf;exports.CodeplexRating=If;exports.CodeplexRequirementsPopup=ld;exports.CodeplexSelectorColor=Og;exports.CodeplexSkeleton=zf;exports.CodeplexSmartLabel=cd;exports.CodeplexSpinner=zp;exports.CodeplexTarjeta=cs;exports.CodeplexTarjetaEstadistica=Vs;exports.CodeplexTeclado=Ka;exports.CodeplexTour=Yf;exports.CodeplexValoracion=Cs;exports.EntradaOcultaVisualmente=Cp;exports.Ui=tl;exports.avatarCadena=Qa;exports.stringAvatar=id;