@codeplex-sac/ui 0.0.13 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -1,14 +1,14 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),Re=require("react"),le=require("@mui/system"),Gd=require("@emotion/styled");require("@emotion/react");const kn=require("react-dom"),it=require("@mui/material");function Ll(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(o,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return o.default=e,Object.freeze(o)}const w=Ll(Re),Kd=Ll(kn),Yd={};function Xd(){return u.jsx("div",{className:Yd.container,children:u.jsx("h1",{children:"Welcome to Ui!"})})}function Zd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nr={exports:{}},rr={exports:{}},Ge={};var os;function Jd(){if(os)return Ge;os=1;var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=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,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function S(T){if(typeof T=="object"&&T!==null){var E=T.$$typeof;switch(E){case o:switch(T=T.type,T){case c:case d:case r:case i:case a:case g:return T;default:switch(T=T&&T.$$typeof,T){case l:case p:case h:case v:case s:return T;default:return E}}case n:return E}}}function x(T){return S(T)===d}return Ge.AsyncMode=c,Ge.ConcurrentMode=d,Ge.ContextConsumer=l,Ge.ContextProvider=s,Ge.Element=o,Ge.ForwardRef=p,Ge.Fragment=r,Ge.Lazy=h,Ge.Memo=v,Ge.Portal=n,Ge.Profiler=i,Ge.StrictMode=a,Ge.Suspense=g,Ge.isAsyncMode=function(T){return x(T)||S(T)===c},Ge.isConcurrentMode=x,Ge.isContextConsumer=function(T){return S(T)===l},Ge.isContextProvider=function(T){return S(T)===s},Ge.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===o},Ge.isForwardRef=function(T){return S(T)===p},Ge.isFragment=function(T){return S(T)===r},Ge.isLazy=function(T){return S(T)===h},Ge.isMemo=function(T){return S(T)===v},Ge.isPortal=function(T){return S(T)===n},Ge.isProfiler=function(T){return S(T)===i},Ge.isStrictMode=function(T){return S(T)===a},Ge.isSuspense=function(T){return S(T)===g},Ge.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===d||T===i||T===a||T===g||T===b||typeof T=="object"&&T!==null&&(T.$$typeof===h||T.$$typeof===v||T.$$typeof===s||T.$$typeof===l||T.$$typeof===p||T.$$typeof===y||T.$$typeof===C||T.$$typeof===O||T.$$typeof===f)},Ge.typeOf=S,Ge}var Ke={};var ns;function Qd(){return ns||(ns=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,o=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=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,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function S(_){return typeof _=="string"||typeof _=="function"||_===r||_===d||_===i||_===a||_===g||_===b||typeof _=="object"&&_!==null&&(_.$$typeof===h||_.$$typeof===v||_.$$typeof===s||_.$$typeof===l||_.$$typeof===p||_.$$typeof===y||_.$$typeof===C||_.$$typeof===O||_.$$typeof===f)}function x(_){if(typeof _=="object"&&_!==null){var se=_.$$typeof;switch(se){case o:var ie=_.type;switch(ie){case c:case d:case r:case i:case a:case g:return ie;default:var pe=ie&&ie.$$typeof;switch(pe){case l:case p:case h:case v:case s:return pe;default:return se}}case n:return se}}}var T=c,E=d,j=l,P=s,I=o,N=p,L=r,m=h,$=v,R=n,M=i,k=a,z=g,V=!1;function W(_){return V||(V=!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.")),B(_)||x(_)===c}function B(_){return x(_)===d}function A(_){return x(_)===l}function Y(_){return x(_)===s}function Z(_){return typeof _=="object"&&_!==null&&_.$$typeof===o}function oe(_){return x(_)===p}function K(_){return x(_)===r}function U(_){return x(_)===h}function ae(_){return x(_)===v}function ce(_){return x(_)===n}function J(_){return x(_)===i}function X(_){return x(_)===a}function de(_){return x(_)===g}Ke.AsyncMode=T,Ke.ConcurrentMode=E,Ke.ContextConsumer=j,Ke.ContextProvider=P,Ke.Element=I,Ke.ForwardRef=N,Ke.Fragment=L,Ke.Lazy=m,Ke.Memo=$,Ke.Portal=R,Ke.Profiler=M,Ke.StrictMode=k,Ke.Suspense=z,Ke.isAsyncMode=W,Ke.isConcurrentMode=B,Ke.isContextConsumer=A,Ke.isContextProvider=Y,Ke.isElement=Z,Ke.isForwardRef=oe,Ke.isFragment=K,Ke.isLazy=U,Ke.isMemo=ae,Ke.isPortal=ce,Ke.isProfiler=J,Ke.isStrictMode=X,Ke.isSuspense=de,Ke.isValidElementType=S,Ke.typeOf=x})()),Ke}var rs;function Bl(){return rs||(rs=1,process.env.NODE_ENV==="production"?rr.exports=Jd():rr.exports=Qd()),rr.exports}var ya,as;function ep(){if(as)return ya;as=1;var e=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function a(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[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 d={};return"abcdefghijklmnopqrst".split("").forEach(function(p){d[p]=p}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ya=a()?Object.assign:function(i,s){for(var l,c=r(i),d,p=1;p<arguments.length;p++){l=Object(arguments[p]);for(var g in l)o.call(l,g)&&(c[g]=l[g]);if(e){d=e(l);for(var b=0;b<d.length;b++)n.call(l,d[b])&&(c[d[b]]=l[d[b]])}}return c},ya}var va,is;function di(){if(is)return va;is=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return va=e,va}var xa,ss;function Dl(){return ss||(ss=1,xa=Function.call.bind(Object.prototype.hasOwnProperty)),xa}var Ca,ls;function tp(){if(ls)return Ca;ls=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var o=di(),n={},r=Dl();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function a(i,s,l,c,d){if(process.env.NODE_ENV!=="production"){for(var p in i)if(r(i,p)){var g;try{if(typeof i[p]!="function"){var b=Error((c||"React class")+": "+l+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[p]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}g=i[p](s,p,c,l,null,o)}catch(h){g=h}if(g&&!(g 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 g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var v=d?d():"";e("Failed "+l+" type: "+g.message+(v??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Ca=a,Ca}var wa,cs;function op(){if(cs)return wa;cs=1;var e=Bl(),o=ep(),n=di(),r=Dl(),a=tp(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return wa=function(l,c){var d=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function g(B){var A=B&&(d&&B[d]||B[p]);if(typeof A=="function")return A}var b="<<anonymous>>",v={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:O(),arrayOf:S,element:x(),elementType:T(),instanceOf:E,node:N(),objectOf:P,oneOf:j,oneOfType:I,shape:m,exact:$};function h(B,A){return B===A?B!==0||1/B===1/A:B!==B&&A!==A}function f(B,A){this.message=B,this.data=A&&typeof A=="object"?A:{},this.stack=""}f.prototype=Error.prototype;function y(B){if(process.env.NODE_ENV!=="production")var A={},Y=0;function Z(K,U,ae,ce,J,X,de){if(ce=ce||b,X=X||ae,de!==n){if(c){var _=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 _.name="Invariant Violation",_}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var se=ce+":"+ae;!A[se]&&Y<3&&(i("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+ce+"`. 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."),A[se]=!0,Y++)}}return U[ae]==null?K?U[ae]===null?new f("The "+J+" `"+X+"` is marked as required "+("in `"+ce+"`, but its value is `null`.")):new f("The "+J+" `"+X+"` is marked as required in "+("`"+ce+"`, but its value is `undefined`.")):null:B(U,ae,ce,J,X)}var oe=Z.bind(null,!1);return oe.isRequired=Z.bind(null,!0),oe}function C(B){function A(Y,Z,oe,K,U,ae){var ce=Y[Z],J=k(ce);if(J!==B){var X=z(ce);return new f("Invalid "+K+" `"+U+"` of type "+("`"+X+"` supplied to `"+oe+"`, expected ")+("`"+B+"`."),{expectedType:B})}return null}return y(A)}function O(){return y(s)}function S(B){function A(Y,Z,oe,K,U){if(typeof B!="function")return new f("Property `"+U+"` of component `"+oe+"` has invalid PropType notation inside arrayOf.");var ae=Y[Z];if(!Array.isArray(ae)){var ce=k(ae);return new f("Invalid "+K+" `"+U+"` of type "+("`"+ce+"` supplied to `"+oe+"`, expected an array."))}for(var J=0;J<ae.length;J++){var X=B(ae,J,oe,K,U+"["+J+"]",n);if(X instanceof Error)return X}return null}return y(A)}function x(){function B(A,Y,Z,oe,K){var U=A[Y];if(!l(U)){var ae=k(U);return new f("Invalid "+oe+" `"+K+"` of type "+("`"+ae+"` supplied to `"+Z+"`, expected a single ReactElement."))}return null}return y(B)}function T(){function B(A,Y,Z,oe,K){var U=A[Y];if(!e.isValidElementType(U)){var ae=k(U);return new f("Invalid "+oe+" `"+K+"` of type "+("`"+ae+"` supplied to `"+Z+"`, expected a single ReactElement type."))}return null}return y(B)}function E(B){function A(Y,Z,oe,K,U){if(!(Y[Z]instanceof B)){var ae=B.name||b,ce=W(Y[Z]);return new f("Invalid "+K+" `"+U+"` of type "+("`"+ce+"` supplied to `"+oe+"`, expected ")+("instance of `"+ae+"`."))}return null}return y(A)}function j(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("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])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function A(Y,Z,oe,K,U){for(var ae=Y[Z],ce=0;ce<B.length;ce++)if(h(ae,B[ce]))return null;var J=JSON.stringify(B,function(de,_){var se=z(_);return se==="symbol"?String(_):_});return new f("Invalid "+K+" `"+U+"` of value `"+String(ae)+"` "+("supplied to `"+oe+"`, expected one of "+J+"."))}return y(A)}function P(B){function A(Y,Z,oe,K,U){if(typeof B!="function")return new f("Property `"+U+"` of component `"+oe+"` has invalid PropType notation inside objectOf.");var ae=Y[Z],ce=k(ae);if(ce!=="object")return new f("Invalid "+K+" `"+U+"` of type "+("`"+ce+"` supplied to `"+oe+"`, expected an object."));for(var J in ae)if(r(ae,J)){var X=B(ae,J,oe,K,U+"."+J,n);if(X instanceof Error)return X}return null}return y(A)}function I(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var A=0;A<B.length;A++){var Y=B[A];if(typeof Y!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(Y)+" at index "+A+"."),s}function Z(oe,K,U,ae,ce){for(var J=[],X=0;X<B.length;X++){var de=B[X],_=de(oe,K,U,ae,ce,n);if(_==null)return null;_.data&&r(_.data,"expectedType")&&J.push(_.data.expectedType)}var se=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new f("Invalid "+ae+" `"+ce+"` supplied to "+("`"+U+"`"+se+"."))}return y(Z)}function N(){function B(A,Y,Z,oe,K){return R(A[Y])?null:new f("Invalid "+oe+" `"+K+"` supplied to "+("`"+Z+"`, expected a ReactNode."))}return y(B)}function L(B,A,Y,Z,oe){return new f((B||"React class")+": "+A+" type `"+Y+"."+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+oe+"`.")}function m(B){function A(Y,Z,oe,K,U){var ae=Y[Z],ce=k(ae);if(ce!=="object")return new f("Invalid "+K+" `"+U+"` of type `"+ce+"` "+("supplied to `"+oe+"`, expected `object`."));for(var J in B){var X=B[J];if(typeof X!="function")return L(oe,K,U,J,z(X));var de=X(ae,J,oe,K,U+"."+J,n);if(de)return de}return null}return y(A)}function $(B){function A(Y,Z,oe,K,U){var ae=Y[Z],ce=k(ae);if(ce!=="object")return new f("Invalid "+K+" `"+U+"` of type `"+ce+"` "+("supplied to `"+oe+"`, expected `object`."));var J=o({},Y[Z],B);for(var X in J){var de=B[X];if(r(B,X)&&typeof de!="function")return L(oe,K,U,X,z(de));if(!de)return new f("Invalid "+K+" `"+U+"` key `"+X+"` supplied to `"+oe+"`.\nBad object: "+JSON.stringify(Y[Z],null," ")+`
2
- Valid keys: `+JSON.stringify(Object.keys(B),null," "));var _=de(ae,X,oe,K,U+"."+X,n);if(_)return _}return null}return y(A)}function R(B){switch(typeof B){case"number":case"string":case"undefined":return!0;case"boolean":return!B;case"object":if(Array.isArray(B))return B.every(R);if(B===null||l(B))return!0;var A=g(B);if(A){var Y=A.call(B),Z;if(A!==B.entries){for(;!(Z=Y.next()).done;)if(!R(Z.value))return!1}else for(;!(Z=Y.next()).done;){var oe=Z.value;if(oe&&!R(oe[1]))return!1}}else return!1;return!0;default:return!1}}function M(B,A){return B==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function k(B){var A=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":M(A,B)?"symbol":A}function z(B){if(typeof B>"u"||B===null)return""+B;var A=k(B);if(A==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return A}function V(B){var A=z(B);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function W(B){return!B.constructor||!B.constructor.name?b:B.constructor.name}return v.checkPropTypes=a,v.resetWarningCache=a.resetWarningCache,v.PropTypes=v,v},wa}var Sa,ds;function np(){if(ds)return Sa;ds=1;var e=di();function o(){}function n(){}return n.resetWarningCache=o,Sa=function(){function r(s,l,c,d,p,g){if(g!==e){var b=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 b.name="Invariant Violation",b}}r.isRequired=r;function a(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:o};return i.PropTypes=i,i},Sa}var ps;function rp(){if(ps)return nr.exports;if(ps=1,process.env.NODE_ENV!=="production"){var e=Bl(),o=!0;nr.exports=op()(e.isElement,o)}else nr.exports=np()();return nr.exports}var ap=rp();const t=Zd(ap);function zl(e){var o,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(o=0;o<a;o++)e[o]&&(n=zl(e[o]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function re(){for(var e,o,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(o=zl(e))&&(r&&(r+=" "),r+=o);return r}function yr(e,o,n=!1){const r={...o};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const i=a;if(i==="components"||i==="slots")r[i]={...e[i],...r[i]};else if(i==="componentsProps"||i==="slotProps"){const s=e[i],l=o[i];if(!l)r[i]=s||{};else if(!s)r[i]=l;else{r[i]={...l};for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c)){const d=c;r[i][d]=yr(s[d],l[d],n)}}}else i==="className"&&n&&o.className?r.className=re(e?.className,o?.className):i==="style"&&n&&o.style?r.style={...e?.style,...o?.style}:r[i]===void 0&&(r[i]=e[i])}return r}function we(e,o,n=void 0){const r={};for(const a in e){const i=e[a];let s="",l=!0;for(let c=0;c<i.length;c+=1){const d=i[c];d&&(s+=(l===!0?"":" ")+o(d),l=!1,n&&n[d]&&(s+=" "+n[d]))}r[a]=s}return r}const us=e=>e,ip=()=>{let e=us;return{configure(o){e=o},generate(o){return e(o)},reset(){e=us}}},Fl=ip();function oo(e,...o){const n=new URL(`https://mui.com/production-error/?code=${e}`);return o.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function F(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":oo(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Da(...e){return e.reduce((o,n)=>n==null?o:function(...a){o.apply(this,a),n.apply(this,a)},()=>{})}var ar={exports:{}},Qe={};var fs;function sp(){if(fs)return Qe;fs=1;var e=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function h(f){if(typeof f=="object"&&f!==null){var y=f.$$typeof;switch(y){case e:switch(f=f.type,f){case n:case a:case r:case c:case d:case b:return f;default:switch(f=f&&f.$$typeof,f){case s:case l:case g:case p:return f;case i:return f;default:return y}}case o:return y}}}return Qe.ContextConsumer=i,Qe.ContextProvider=s,Qe.Element=e,Qe.ForwardRef=l,Qe.Fragment=n,Qe.Lazy=g,Qe.Memo=p,Qe.Portal=o,Qe.Profiler=a,Qe.StrictMode=r,Qe.Suspense=c,Qe.SuspenseList=d,Qe.isContextConsumer=function(f){return h(f)===i},Qe.isContextProvider=function(f){return h(f)===s},Qe.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===e},Qe.isForwardRef=function(f){return h(f)===l},Qe.isFragment=function(f){return h(f)===n},Qe.isLazy=function(f){return h(f)===g},Qe.isMemo=function(f){return h(f)===p},Qe.isPortal=function(f){return h(f)===o},Qe.isProfiler=function(f){return h(f)===a},Qe.isStrictMode=function(f){return h(f)===r},Qe.isSuspense=function(f){return h(f)===c},Qe.isSuspenseList=function(f){return h(f)===d},Qe.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===a||f===r||f===c||f===d||typeof f=="object"&&f!==null&&(f.$$typeof===g||f.$$typeof===p||f.$$typeof===s||f.$$typeof===i||f.$$typeof===l||f.$$typeof===v||f.getModuleId!==void 0)},Qe.typeOf=h,Qe}var et={};var ms;function lp(){return ms||(ms=1,process.env.NODE_ENV!=="production"&&(function(){function e(f){if(typeof f=="object"&&f!==null){var y=f.$$typeof;switch(y){case o:switch(f=f.type,f){case r:case i:case a:case d:case p:case v:return f;default:switch(f=f&&f.$$typeof,f){case l:case c:case b:case g:return f;case s:return f;default:return y}}case n:return y}}}var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");et.ContextConsumer=s,et.ContextProvider=l,et.Element=o,et.ForwardRef=c,et.Fragment=r,et.Lazy=b,et.Memo=g,et.Portal=n,et.Profiler=i,et.StrictMode=a,et.Suspense=d,et.SuspenseList=p,et.isContextConsumer=function(f){return e(f)===s},et.isContextProvider=function(f){return e(f)===l},et.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===o},et.isForwardRef=function(f){return e(f)===c},et.isFragment=function(f){return e(f)===r},et.isLazy=function(f){return e(f)===b},et.isMemo=function(f){return e(f)===g},et.isPortal=function(f){return e(f)===n},et.isProfiler=function(f){return e(f)===i},et.isStrictMode=function(f){return e(f)===a},et.isSuspense=function(f){return e(f)===d},et.isSuspenseList=function(f){return e(f)===p},et.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===r||f===i||f===a||f===d||f===p||typeof f=="object"&&f!==null&&(f.$$typeof===b||f.$$typeof===g||f.$$typeof===l||f.$$typeof===s||f.$$typeof===c||f.$$typeof===h||f.getModuleId!==void 0)},et.typeOf=e})()),et}var gs;function cp(){return gs||(gs=1,process.env.NODE_ENV==="production"?ar.exports=sp():ar.exports=lp()),ar.exports}var Co=cp();function Jt(e){if(typeof e!="object"||e===null)return!1;const o=Object.getPrototypeOf(e);return(o===null||o===Object.prototype||Object.getPrototypeOf(o)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Vl(e){if(w.isValidElement(e)||Co.isValidElementType(e)||!Jt(e))return e;const o={};return Object.keys(e).forEach(n=>{o[n]=Vl(e[n])}),o}function Tt(e,o,n={clone:!0}){const r=n.clone?{...e}:e;return Jt(e)&&Jt(o)&&Object.keys(o).forEach(a=>{w.isValidElement(o[a])||Co.isValidElementType(o[a])?r[a]=o[a]:Jt(o[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Jt(e[a])?r[a]=Tt(e[a],o[a],n):n.clone?r[a]=Jt(o[a])?Vl(o[a]):o[a]:r[a]=o[a]}),r}function Nn(e,o){return o?Tt(e,o,{clone:!1}):e}const To=process.env.NODE_ENV!=="production"?t.oneOfType([t.number,t.string,t.object,t.array]):{};function hs(e,o){if(!e.containerQueries)return o;const n=Object.keys(o).filter(r=>r.startsWith("@container")).sort((r,a)=>{const i=/min-width:\s*([0-9.]+)/;return+(r.match(i)?.[1]||0)-+(a.match(i)?.[1]||0)});return n.length?n.reduce((r,a)=>{const i=o[a];return delete r[a],r[a]=i,r},{...o}):o}function dp(e,o){return o==="@"||o.startsWith("@")&&(e.some(n=>o.startsWith(`@${n}`))||!!o.match(/^@\d/))}function pp(e,o){const n=o.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${o})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
3
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:oo(18,`(${o})`));return null}const[,r,a]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(i)}function up(e){const o=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...l)=>o(e.breakpoints.up(...l),s),i.down=(...l)=>o(e.breakpoints.down(...l),s),i.between=(...l)=>o(e.breakpoints.between(...l),s),i.only=(...l)=>o(e.breakpoints.only(...l),s),i.not=(...l)=>{const c=o(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 r={},a=i=>(n(r,i),r);return n(a),{...e,containerQueries:a}}const Lr={xs:0,sm:600,md:900,lg:1200,xl:1536},bs={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lr[e]}px)`},fp={containerQueries:e=>({up:o=>{let n=typeof o=="number"?o:Lr[o]||o;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function io(e,o,n){const r=e.theme||{};if(Array.isArray(o)){const i=r.breakpoints||bs;return o.reduce((s,l,c)=>(s[i.up(i.keys[c])]=n(o[c]),s),{})}if(typeof o=="object"){const i=r.breakpoints||bs;return Object.keys(o).reduce((s,l)=>{if(dp(i.keys,l)){const c=pp(r.containerQueries?r:fp,l);c&&(s[c]=n(o[l],l))}else if(Object.keys(i.values||Lr).includes(l)){const c=i.up(l);s[c]=n(o[l],l)}else{const c=l;s[c]=o[c]}return s},{})}return n(o)}function mp(e={}){return e.keys?.reduce((n,r)=>{const a=e.up(r);return n[a]={},n},{})||{}}function ys(e,o){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},o)}function Br(e,o,n=!0){if(!o||typeof o!="string")return null;if(e&&e.vars&&n){const r=`vars.${o}`.split(".").reduce((a,i)=>a&&a[i]?a[i]:null,e);if(r!=null)return r}return o.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function vr(e,o,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=Br(e,n)||r,o&&(a=o(a,r,e)),a}function pt(e){const{prop:o,cssProperty:n=e.prop,themeKey:r,transform:a}=e,i=s=>{if(s[o]==null)return null;const l=s[o],c=s.theme,d=Br(c,r)||{};return io(s,l,g=>{let b=vr(d,a,g);return g===b&&typeof g=="string"&&(b=vr(d,a,`${o}${g==="default"?"":F(g)}`,g)),n===!1?b:{[n]:b}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[o]:To}:{},i.filterProps=[o],i}function gp(e){const o={};return n=>(o[n]===void 0&&(o[n]=e(n)),o[n])}const hp={m:"margin",p:"padding"},bp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vs={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},yp=gp(e=>{if(e.length>2)if(vs[e])e=vs[e];else return[e];const[o,n]=e.split(""),r=hp[o],a=bp[n]||"";return Array.isArray(a)?a.map(i=>r+i):[r+a]}),Dr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vp=[...Dr,...zr];function Hn(e,o,n,r){const a=Br(e,o,!0)??n;return typeof a=="number"||typeof a=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),typeof a=="string"?a.startsWith("var(")&&i===0?0:a.startsWith("var(")&&i===1?a:`calc(${i} * ${a})`:a*i):Array.isArray(a)?i=>{if(typeof i=="string")return i;const s=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>a.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${s} > ${a.length-1}, you need to add the missing values.`].join(`
4
- `)):console.error([`MUI: The \`theme.${o}\` 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.${o}\` as a number.`].join(`
5
- `)));const l=a[s];return i>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${o}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
6
- `)),()=>{})}function pi(e){return Hn(e,"spacing",8,"spacing")}function qn(e,o){return typeof o=="string"||o==null?o:e(o)}function xp(e,o){return n=>e.reduce((r,a)=>(r[a]=qn(o,n),r),{})}function Cp(e,o,n,r){if(!o.includes(n))return null;const a=yp(n),i=xp(a,r),s=e[n];return io(e,s,i)}function _l(e,o){const n=pi(e.theme);return Object.keys(e).map(r=>Cp(e,o,r,n)).reduce(Nn,{})}function lt(e){return _l(e,Dr)}lt.propTypes=process.env.NODE_ENV!=="production"?Dr.reduce((e,o)=>(e[o]=To,e),{}):{};lt.filterProps=Dr;function ct(e){return _l(e,zr)}ct.propTypes=process.env.NODE_ENV!=="production"?zr.reduce((e,o)=>(e[o]=To,e),{}):{};ct.filterProps=zr;process.env.NODE_ENV!=="production"&&vp.reduce((e,o)=>(e[o]=To,e),{});function Fr(...e){const o=e.reduce((r,a)=>(a.filterProps.forEach(i=>{r[i]=a}),r),{}),n=r=>Object.keys(r).reduce((a,i)=>o[i]?Nn(a,o[i](r)):a,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,a)=>Object.assign(r,a.propTypes),{}):{},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function zt(e){return typeof e!="number"?e:`${e}px solid`}function qt(e,o){return pt({prop:e,themeKey:"borders",transform:o})}const wp=qt("border",zt),Sp=qt("borderTop",zt),Tp=qt("borderRight",zt),Op=qt("borderBottom",zt),Ep=qt("borderLeft",zt),kp=qt("borderColor"),Pp=qt("borderTopColor"),Rp=qt("borderRightColor"),Ip=qt("borderBottomColor"),$p=qt("borderLeftColor"),jp=qt("outline",zt),Mp=qt("outlineColor"),Vr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const o=Hn(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:qn(o,r)});return io(e,e.borderRadius,n)}return null};Vr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:To}:{};Vr.filterProps=["borderRadius"];Fr(wp,Sp,Tp,Op,Ep,kp,Pp,Rp,Ip,$p,Vr,jp,Mp);const _r=e=>{if(e.gap!==void 0&&e.gap!==null){const o=Hn(e.theme,"spacing",8,"gap"),n=r=>({gap:qn(o,r)});return io(e,e.gap,n)}return null};_r.propTypes=process.env.NODE_ENV!=="production"?{gap:To}:{};_r.filterProps=["gap"];const Wr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const o=Hn(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:qn(o,r)});return io(e,e.columnGap,n)}return null};Wr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:To}:{};Wr.filterProps=["columnGap"];const Ur=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const o=Hn(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:qn(o,r)});return io(e,e.rowGap,n)}return null};Ur.propTypes=process.env.NODE_ENV!=="production"?{rowGap:To}:{};Ur.filterProps=["rowGap"];const Np=pt({prop:"gridColumn"}),Ap=pt({prop:"gridRow"}),Lp=pt({prop:"gridAutoFlow"}),Bp=pt({prop:"gridAutoColumns"}),Dp=pt({prop:"gridAutoRows"}),zp=pt({prop:"gridTemplateColumns"}),Fp=pt({prop:"gridTemplateRows"}),Vp=pt({prop:"gridTemplateAreas"}),_p=pt({prop:"gridArea"});Fr(_r,Wr,Ur,Np,Ap,Lp,Bp,Dp,zp,Fp,Vp,_p);function on(e,o){return o==="grey"?o:e}const Wp=pt({prop:"color",themeKey:"palette",transform:on}),Up=pt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:on}),Hp=pt({prop:"backgroundColor",themeKey:"palette",transform:on});Fr(Wp,Up,Hp);function At(e){return e<=1&&e!==0?`${e*100}%`:e}const qp=pt({prop:"width",transform:At}),ui=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const o=n=>{const r=e.theme?.breakpoints?.values?.[n]||Lr[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:At(n)}};return io(e,e.maxWidth,o)}return null};ui.filterProps=["maxWidth"];const Gp=pt({prop:"minWidth",transform:At}),Kp=pt({prop:"height",transform:At}),Yp=pt({prop:"maxHeight",transform:At}),Xp=pt({prop:"minHeight",transform:At});pt({prop:"size",cssProperty:"width",transform:At});pt({prop:"size",cssProperty:"height",transform:At});const Zp=pt({prop:"boxSizing"});Fr(qp,ui,Gp,Kp,Yp,Xp,Zp);const Gn={border:{themeKey:"borders",transform:zt},borderTop:{themeKey:"borders",transform:zt},borderRight:{themeKey:"borders",transform:zt},borderBottom:{themeKey:"borders",transform:zt},borderLeft:{themeKey:"borders",transform:zt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:zt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Vr},color:{themeKey:"palette",transform:on},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:on},backgroundColor:{themeKey:"palette",transform:on},p:{style:ct},pt:{style:ct},pr:{style:ct},pb:{style:ct},pl:{style:ct},px:{style:ct},py:{style:ct},padding:{style:ct},paddingTop:{style:ct},paddingRight:{style:ct},paddingBottom:{style:ct},paddingLeft:{style:ct},paddingX:{style:ct},paddingY:{style:ct},paddingInline:{style:ct},paddingInlineStart:{style:ct},paddingInlineEnd:{style:ct},paddingBlock:{style:ct},paddingBlockStart:{style:ct},paddingBlockEnd:{style:ct},m:{style:lt},mt:{style:lt},mr:{style:lt},mb:{style:lt},ml:{style:lt},mx:{style:lt},my:{style:lt},margin:{style:lt},marginTop:{style:lt},marginRight:{style:lt},marginBottom:{style:lt},marginLeft:{style:lt},marginX:{style:lt},marginY:{style:lt},marginInline:{style:lt},marginInlineStart:{style:lt},marginInlineEnd:{style:lt},marginBlock:{style:lt},marginBlockStart:{style:lt},marginBlockEnd:{style:lt},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:_r},rowGap:{style:Ur},columnGap:{style:Wr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:At},maxWidth:{style:ui},minWidth:{transform:At},height:{transform:At},maxHeight:{transform:At},minHeight:{transform:At},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 Jp(...e){const o=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(o);return e.every(r=>n.size===Object.keys(r).length)}function Qp(e,o){return typeof e=="function"?e(o):e}function eu(){function e(n,r,a,i){const s={[n]:r,theme:a},l=i[n];if(!l)return{[n]:r};const{cssProperty:c=n,themeKey:d,transform:p,style:g}=l;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const b=Br(a,d)||{};return g?g(s):io(s,r,h=>{let f=vr(b,p,h);return h===f&&typeof h=="string"&&(f=vr(b,p,`${n}${h==="default"?"":F(h)}`,h)),c===!1?f:{[c]:f}})}function o(n){const{sx:r,theme:a={},nested:i}=n||{};if(!r)return null;const s=a.unstable_sxConfig??Gn;function l(c){let d=c;if(typeof c=="function")d=c(a);else if(typeof c!="object")return c;if(!d)return null;const p=mp(a.breakpoints),g=Object.keys(p);let b=p;return Object.keys(d).forEach(v=>{const h=Qp(d[v],a);if(h!=null)if(typeof h=="object")if(s[v])b=Nn(b,e(v,h,a,s));else{const f=io({theme:a},h,y=>({[v]:y}));Jp(f,h)?b[v]=o({sx:h,theme:a,nested:!0}):b=Nn(b,f)}else b=Nn(b,e(v,h,a,s))}),!i&&a.modularCssLayers?{"@layer sx":hs(a,ys(g,b))}:hs(a,ys(g,b))}return Array.isArray(r)?r.map(l):l(r)}return o}const rn=eu();rn.filterProps=["sx"];const tu=e=>{const o={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Gn;return Object.keys(e).forEach(r=>{n[r]?o.systemProps[r]=e[r]:o.otherProps[r]=e[r]}),o};function ou(e){const{sx:o,...n}=e,{systemProps:r,otherProps:a}=tu(n);let i;return Array.isArray(o)?i=[r,...o]:typeof o=="function"?i=(...s)=>{const l=o(...s);return Jt(l)?{...r,...l}:r}:i={...r,...o},{...a,sx:i}}function jo(e,o=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(o,Math.min(e,n))}function fi(e,o=0,n=1){return process.env.NODE_ENV!=="production"&&(e<o||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${o}, ${n}].`),jo(e,o,n)}function nu(e){e=e.slice(1);const o=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(o);return n&&n[0].length===1&&(n=n.map(r=>r+r)),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.`),n?`rgb${n.length===4?"a":""}(${n.map((r,a)=>a<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function wo(e){if(e.type)return e;if(e.charAt(0)==="#")return wo(nu(e));const o=e.indexOf("("),n=e.substring(0,o);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
7
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:oo(9,e));let r=e.substring(o+1,e.length-1),a;if(n==="color"){if(r=r.split(" "),a=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(a))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${a}\` color space.
8
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:oo(10,a))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:a}}const ru=e=>{const o=wo(e);return o.values.slice(0,3).map((n,r)=>o.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Pn=(e,o)=>{try{return ru(e)}catch{return o&&process.env.NODE_ENV!=="production"&&console.warn(o),e}};function Hr(e){const{type:o,colorSpace:n}=e;let{values:r}=e;return o.includes("rgb")?r=r.map((a,i)=>i<3?parseInt(a,10):a):o.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),o.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${o}(${r})`}function Wl(e){e=wo(e);const{values:o}=e,n=o[0],r=o[1]/100,a=o[2]/100,i=r*Math.min(a,1-a),s=(d,p=(d+n/30)%12)=>a-i*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(o[3])),Hr({type:l,values:c})}function za(e){e=wo(e);let o=e.type==="hsl"||e.type==="hsla"?wo(Wl(e)).values:e.values;return o=o.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*o[0]+.7152*o[1]+.0722*o[2]).toFixed(3))}function xs(e,o){const n=za(e),r=za(o);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xr(e,o){return e=wo(e),o=fi(o),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${o}`:e.values[3]=o,Hr(e)}function Po(e,o,n){try{return xr(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function qr(e,o){if(e=wo(e),o=fi(o),e.type.includes("hsl"))e.values[2]*=1-o;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-o;return Hr(e)}function Ze(e,o,n){try{return qr(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Gr(e,o){if(e=wo(e),o=fi(o),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*o;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*o;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*o;return Hr(e)}function Je(e,o,n){try{return Gr(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Fa(e,o=.15){return za(e)>.5?qr(e,o):Gr(e,o)}function ir(e,o,n){try{return Fa(e,o)}catch{return e}}const Fn={black:"#000",white:"#fff"},au={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"},Ho={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},qo={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},xn={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Go={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ko={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Yo={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ul(){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:Fn.white,default:Fn.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 Hl=Ul();function ql(){return{text:{primary:Fn.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:Fn.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 Va=ql();function Cs(e,o,n,r){const a=r.light||r,i=r.dark||r*1.5;e[o]||(e.hasOwnProperty(n)?e[o]=e[n]:o==="light"?e.light=Gr(e.main,a):o==="dark"&&(e.dark=qr(e.main,i)))}function ws(e,o,n,r,a){const i=a.light||a,s=a.dark||a*1.5;o[n]||(o.hasOwnProperty(r)?o[n]=o[r]:n==="light"?o.light=`color-mix(in ${e}, ${o.main}, #fff ${(i*100).toFixed(0)}%)`:n==="dark"&&(o.dark=`color-mix(in ${e}, ${o.main}, #000 ${(s*100).toFixed(0)}%)`))}function iu(e="light"){return e==="dark"?{main:Go[200],light:Go[50],dark:Go[400]}:{main:Go[700],light:Go[400],dark:Go[800]}}function su(e="light"){return e==="dark"?{main:Ho[200],light:Ho[50],dark:Ho[400]}:{main:Ho[500],light:Ho[300],dark:Ho[700]}}function lu(e="light"){return e==="dark"?{main:qo[500],light:qo[300],dark:qo[700]}:{main:qo[700],light:qo[400],dark:qo[800]}}function cu(e="light"){return e==="dark"?{main:Ko[400],light:Ko[300],dark:Ko[700]}:{main:Ko[700],light:Ko[500],dark:Ko[900]}}function du(e="light"){return e==="dark"?{main:Yo[400],light:Yo[300],dark:Yo[700]}:{main:Yo[800],light:Yo[500],dark:Yo[900]}}function pu(e="light"){return e==="dark"?{main:xn[400],light:xn[300],dark:xn[700]}:{main:"#ed6c02",light:xn[500],dark:xn[900]}}function uu(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function mi(e){const{mode:o="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:a,...i}=e,s=e.primary||iu(o),l=e.secondary||su(o),c=e.error||lu(o),d=e.info||cu(o),p=e.success||du(o),g=e.warning||pu(o);function b(y){if(a)return uu(y);const C=xs(y,Va.text.primary)>=n?Va.text.primary:Hl.text.primary;if(process.env.NODE_ENV!=="production"){const O=xs(y,C);O<3&&console.error([`MUI: The contrast ratio of ${O}:1 for ${C} on ${y}`,"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
- `))}return C}const v=({color:y,name:C,mainShade:O=500,lightShade:S=300,darkShade:x=700})=>{if(y={...y},!y.main&&y[O]&&(y.main=y[O]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
10
- The color object needs to have a \`main\` property or a \`${O}\` property.`:oo(11,C?` (${C})`:"",O));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${C?` (${C})`:""} provided to augmentColor(color) is invalid.
11
- \`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
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(`
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
+ `)));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.
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(`
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
+ 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
+ \`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
12
12
 
13
13
  Did you intend to use one of the following approaches?
14
14
 
@@ -20,21 +20,21 @@ const theme1 = createTheme({ palette: {
20
20
 
21
21
  const theme2 = createTheme({ palette: {
22
22
  primary: { main: green[500] },
23
- } });`:oo(12,C?` (${C})`:"",JSON.stringify(y.main)));return a?(ws(a,y,"light",S,r),ws(a,y,"dark",x,r)):(Cs(y,"light",S,r),Cs(y,"dark",x,r)),y.contrastText||(y.contrastText=b(y.main)),y};let h;return o==="light"?h=Ul():o==="dark"&&(h=ql()),process.env.NODE_ENV!=="production"&&(h||console.error(`MUI: The palette mode \`${o}\` is not supported.`)),Tt({common:{...Fn},mode:o,primary:v({color:s,name:"primary"}),secondary:v({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:c,name:"error"}),warning:v({color:g,name:"warning"}),info:v({color:d,name:"info"}),success:v({color:p,name:"success"}),grey:au,contrastThreshold:n,getContrastText:b,augmentColor:v,tonalOffset:r,...h},i)}function fu(e){for(var o=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,o=(n&65535)*1540483477+((n>>>16)*59797<<16)^(o&65535)*1540483477+((o>>>16)*59797<<16);switch(a){case 3:o^=(e.charCodeAt(r+2)&255)<<16;case 2:o^=(e.charCodeAt(r+1)&255)<<8;case 1:o^=e.charCodeAt(r)&255,o=(o&65535)*1540483477+((o>>>16)*59797<<16)}return o^=o>>>13,o=(o&65535)*1540483477+((o>>>16)*59797<<16),((o^o>>>15)>>>0).toString(36)}var mu={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 gu(e){var o=Object.create(null);return function(n){return o[n]===void 0&&(o[n]=e(n)),o[n]}}var hu=/[A-Z]|^ms/g,bu=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Gl=function(o){return o.charCodeAt(1)===45},Ss=function(o){return o!=null&&typeof o!="boolean"},Ta=gu(function(e){return Gl(e)?e:e.replace(hu,"-$&").toLowerCase()}),Ts=function(o,n){switch(o){case"animation":case"animationName":if(typeof n=="string")return n.replace(bu,function(r,a,i){return yo={name:a,styles:i,next:yo},a})}return mu[o]!==1&&!Gl(o)&&typeof n=="number"&&n!==0?n+"px":n};function Cr(e,o,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var a=n;if(a.anim===1)return yo={name:a.name,styles:a.styles,next:yo},a.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)yo={name:s.name,styles:s.styles,next:yo},s=s.next;var l=i.styles+";";return l}return yu(e,o,n)}}var c=n;return c}function yu(e,o,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=Cr(e,o,n[a])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;Ss(l)&&(r+=Ta(i)+":"+Ts(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&o==null)for(var c=0;c<s.length;c++)Ss(s[c])&&(r+=Ta(i)+":"+Ts(i,s[c])+";");else{var d=Cr(e,o,s);switch(i){case"animation":case"animationName":{r+=Ta(i)+":"+d+";";break}default:r+=i+"{"+d+"}"}}}return r}var Os=/label:\s*([^\s;{]+)\s*(;|$)/g,yo;function vu(e,o,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,a="";yo=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,a+=Cr(n,o,i);else{var s=i;a+=s[0]}for(var l=1;l<e.length;l++)if(a+=Cr(n,o,e[l]),r){var c=i;a+=c[l]}Os.lastIndex=0;for(var d="",p;(p=Os.exec(a))!==null;)d+="-"+p[1];var g=fu(a)+d;return{name:g,styles:a,next:yo}}function xu(e,o){const n=Gd(e,o);return process.env.NODE_ENV!=="production"?(...r)=>{const a=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${a})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
24
- `)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),n(...r)}:n}function Cu(e,o){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=o(e.__emotion_styles))}const Es=[];function Ao(e){return Es[0]=e,vu(Es)}const wu="exact-prop: ​";function gi(e){return process.env.NODE_ENV==="production"?e:{...e,[wu]:o=>{const n=Object.keys(o).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}}}const Wt=typeof window<"u"?w.useLayoutEffect:w.useEffect,Su=w.createContext();process.env.NODE_ENV!=="production"&&(t.node,t.bool);const mn=()=>w.useContext(Su)??!1,Tu=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(t.node,t.object);function Ou(e){const{theme:o,name:n,props:r}=e;if(!o||!o.components||!o.components[n])return r;const a=o.components[n];return a.defaultProps?yr(a.defaultProps,r,o.components.mergeClassNameAndStyle):!a.styleOverrides&&!a.variants?yr(a,r,o.components.mergeClassNameAndStyle):r}function Eu({props:e,name:o}){const n=w.useContext(Tu);return Ou({props:e,name:o,theme:{components:n}})}let ks=0;function ku(e){const[o,n]=w.useState(e),r=e||o;return w.useEffect(()=>{o==null&&(ks+=1,n(`mui-${ks}`))},[o]),r}const Pu={...w},Ps=Pu.useId;function uo(e){if(Ps!==void 0){const o=Ps();return e??o}return ku(e)}const Ru=e=>{const o=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return o.sort((n,r)=>n.val-r.val),o.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Iu(e){const{values:o={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...a}=e,i=Ru(o),s=Object.keys(i);function l(b){return`@media (min-width:${typeof o[b]=="number"?o[b]:b}${n})`}function c(b){return`@media (max-width:${(typeof o[b]=="number"?o[b]:b)-r/100}${n})`}function d(b,v){const h=s.indexOf(v);return`@media (min-width:${typeof o[b]=="number"?o[b]:b}${n}) and (max-width:${(h!==-1&&typeof o[s[h]]=="number"?o[s[h]]:v)-r/100}${n})`}function p(b){return s.indexOf(b)+1<s.length?d(b,s[s.indexOf(b)+1]):l(b)}function g(b){const v=s.indexOf(b);return v===0?l(s[1]):v===s.length-1?c(s[v]):d(b,s[s.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:l,down:c,between:d,only:p,not:g,unit:n,...a}}const $u={borderRadius:4};function ju(e=8,o=pi({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(i=>{const s=o(i);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function Mu(e,o){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?o:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:o})}return n.palette.mode===e?o:{}}function Kl(e={},...o){const{breakpoints:n={},palette:r={},spacing:a,shape:i={},...s}=e,l=Iu(n),c=ju(a);let d=Tt({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:c,shape:{...$u,...i}},s);return d=up(d),d.applyStyles=Mu,d=o.reduce((p,g)=>Tt(p,g),d),d.unstable_sxConfig={...Gn,...s?.unstable_sxConfig},d.unstable_sx=function(g){return rn({sx:g,theme:this})},d}const Rs=(e,o,n,r=[])=>{let a=e;o.forEach((i,s)=>{s===o.length-1?Array.isArray(a)?a[Number(i)]=n:a&&typeof a=="object"&&(a[i]=n):a&&typeof a=="object"&&(a[i]||(a[i]=r.includes(i)?[]:{}),a=a[i])})},Nu=(e,o,n)=>{function r(a,i=[],s=[]){Object.entries(a).forEach(([l,c])=>{(!n||n&&!n([...i,l]))&&c!=null&&(typeof c=="object"&&Object.keys(c).length>0?r(c,[...i,l],Array.isArray(c)?[...s,l]:s):o([...i,l],c,s))})}r(e)},Au=(e,o)=>typeof o=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?o:`${o}px`:o;function Oa(e,o){const{prefix:n,shouldSkipGeneratingVar:r}=o||{},a={},i={},s={};return Nu(e,(l,c,d)=>{if((typeof c=="string"||typeof c=="number")&&(!r||!r(l,c))){const p=`--${n?`${n}-`:""}${l.join("-")}`,g=Au(l,c);Object.assign(a,{[p]:g}),Rs(i,l,`var(${p})`,d),Rs(s,l,`var(${p}, ${g})`,d)}},l=>l[0]==="vars"),{css:a,vars:i,varsWithDefaults:s}}function Lu(e,o={}){const{getSelector:n=C,disableCssColorScheme:r,colorSchemeSelector:a,enableContrastVars:i}=o,{colorSchemes:s={},components:l,defaultColorScheme:c="light",...d}=e,{vars:p,css:g,varsWithDefaults:b}=Oa(d,o);let v=b;const h={},{[c]:f,...y}=s;if(Object.entries(y||{}).forEach(([x,T])=>{const{vars:E,css:j,varsWithDefaults:P}=Oa(T,o);v=Tt(v,P),h[x]={css:j,vars:E}}),f){const{css:x,vars:T,varsWithDefaults:E}=Oa(f,o);v=Tt(v,E),h[c]={css:x,vars:T}}function C(x,T){let E=a;if(a==="class"&&(E=".%s"),a==="data"&&(E="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(E=`[${a}="%s"]`),x){if(E==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${s[x]?.palette?.mode||x})`]:{":root":T}};if(E)return e.defaultColorScheme===x?`:root, ${E.replace("%s",String(x))}`:E.replace("%s",String(x))}return":root"}return{vars:v,generateThemeVars:()=>{let x={...p};return Object.entries(h).forEach(([,{vars:T}])=>{x=Tt(x,T)}),x},generateStyleSheets:()=>{const x=[],T=e.defaultColorScheme||"light";function E(I,N){Object.keys(N).length&&x.push(typeof I=="string"?{[I]:{...N}}:I)}E(n(void 0,{...g}),g);const{[T]:j,...P}=h;if(j){const{css:I}=j,N=s[T]?.palette?.mode,L=!r&&N?{colorScheme:N,...I}:{...I};E(n(T,{...L}),L)}return Object.entries(P).forEach(([I,{css:N}])=>{const L=s[I]?.palette?.mode,m=!r&&L?{colorScheme:L,...N}:{...N};E(n(I,{...m}),m)}),i&&x.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)"}}),x}}}function Bu(e){const o={};return Object.entries(e).forEach(r=>{const[a,i]=r;typeof i=="object"&&(o[a]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),o}function Du(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const zu={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 xe(e,o,n="Mui"){const r=zu[o];return r?`${n}-${r}`:`${Fl.generate(e)}-${o}`}function Fu(e,o){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...o}}function Vu(e){return Math.round(e*1e5)/1e5}const Is={textTransform:"uppercase"},$s='"Roboto", "Helvetica", "Arial", sans-serif';function _u(e,o){const{fontFamily:n=$s,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:d,pxToRem:p,...g}=typeof o=="function"?o(e):o;process.env.NODE_ENV!=="production"&&(typeof r!="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 b=r/14,v=p||(y=>`${y/c*b}rem`),h=(y,C,O,S,x)=>({fontFamily:n,fontWeight:y,fontSize:v(C),lineHeight:O,...n===$s?{letterSpacing:`${Vu(S/C)}em`}:{},...x,...d}),f={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(i,48,1.167,0),h4:h(i,34,1.235,.25),h5:h(i,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(i,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(i,16,1.5,.15),body2:h(i,14,1.43,.15),button:h(s,14,1.75,.4,Is),caption:h(i,12,1.66,.4),overline:h(i,12,2.66,1,Is),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Tt({htmlFontSize:c,pxToRem:v,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...f},g,{clone:!1})}const Wu=.2,Uu=.14,Hu=.12;function at(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Wu})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Uu})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Hu})`].join(",")}const qu=["none",at(0,2,1,-1,0,1,1,0,0,1,3,0),at(0,3,1,-2,0,2,2,0,0,1,5,0),at(0,3,3,-2,0,3,4,0,0,1,8,0),at(0,2,4,-1,0,4,5,0,0,1,10,0),at(0,3,5,-1,0,5,8,0,0,1,14,0),at(0,3,5,-1,0,6,10,0,0,1,18,0),at(0,4,5,-2,0,7,10,1,0,2,16,1),at(0,5,5,-3,0,8,10,1,0,3,14,2),at(0,5,6,-3,0,9,12,1,0,3,16,2),at(0,6,6,-3,0,10,14,1,0,4,18,3),at(0,6,7,-4,0,11,15,1,0,4,20,3),at(0,7,8,-4,0,12,17,2,0,5,22,4),at(0,7,8,-4,0,13,19,2,0,5,24,4),at(0,7,9,-4,0,14,21,2,0,5,26,4),at(0,8,9,-5,0,15,22,2,0,6,28,5),at(0,8,10,-5,0,16,24,2,0,6,30,5),at(0,8,11,-5,0,17,26,2,0,6,32,5),at(0,9,11,-5,0,18,28,2,0,7,34,6),at(0,9,12,-6,0,19,29,2,0,7,36,6),at(0,10,13,-6,0,20,31,3,0,8,38,7),at(0,10,13,-6,0,21,33,3,0,8,40,7),at(0,10,14,-6,0,22,35,3,0,8,42,7),at(0,11,14,-7,0,23,36,3,0,9,44,8),at(0,11,15,-7,0,24,38,3,0,9,46,8)],Gu={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)"},Yl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function js(e){return`${Math.round(e)}ms`}function Ku(e){if(!e)return 0;const o=e/36;return Math.min(Math.round((4+15*o**.25+o/5)*10),3e3)}function Yu(e){const o={...Gu,...e.easing},n={...Yl,...e.duration};return{getAutoHeightDuration:Ku,create:(a=["all"],i={})=>{const{duration:s=n.standard,easing:l=o.easeInOut,delay:c=0,...d}=i;if(process.env.NODE_ENV!=="production"){const p=b=>typeof b=="string",g=b=>!Number.isNaN(parseFloat(b));!p(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!g(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.'),!g(c)&&!p(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="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(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(p=>`${p} ${typeof s=="string"?s:js(s)} ${l} ${typeof c=="string"?c:js(c)}`).join(",")},...e,easing:o,duration:n}}const Xu={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Zu(e){return Jt(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Xl(e={}){const o={...e};function n(r){const a=Object.entries(r);for(let i=0;i<a.length;i++){const[s,l]=a[i];!Zu(l)||s.startsWith("unstable_")?delete r[s]:Jt(l)&&(r[s]={...l},n(r[s]))}}return n(o),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
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';
26
26
 
27
- const theme = ${JSON.stringify(o,null,2)};
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 Ms(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Ju=e=>{if(!Number.isNaN(+e))return+e;const o=e.match(/\d*\.?\d+/g);if(!o)return 0;let n=0;for(let r=0;r<o.length;r+=1)n+=+o[r];return n};function Qu(e){Object.assign(e,{alpha(o,n){const r=this||e;return r.colorSpace?`oklch(from ${o} l c h / ${typeof n=="string"?`calc(${n})`:n})`:r.vars?`rgba(${o.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof n=="string"?`calc(${n})`:n})`:xr(o,Ju(n))},lighten(o,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${o}, #fff ${Ms(n)})`:Gr(o,n)},darken(o,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${o}, #000 ${Ms(n)})`:qr(o,n)}})}function _a(e={},...o){const{breakpoints:n,mixins:r={},spacing:a,palette:i={},transitions:s={},typography:l={},shape:c,colorSpace:d,...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.":oo(20));const g=mi({...i,colorSpace:d}),b=Kl(e);let v=Tt(b,{mixins:Fu(b.breakpoints,r),palette:g,shadows:qu.slice(),typography:_u(g,l),transitions:Yu(s),zIndex:{...Xu}});if(v=Tt(v,p),v=o.reduce((h,f)=>Tt(h,f),v),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(y,C)=>{let O;for(O in y){const S=y[O];if(h.includes(O)&&Object.keys(S).length>0){if(process.env.NODE_ENV!=="production"){const x=xe("",O);console.error([`MUI: The \`${C}\` component increases the CSS specificity of the \`${O}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:S}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
33
- `))}y[O]={}}}};Object.keys(v.components).forEach(y=>{const C=v.components[y].styleOverrides;C&&y.startsWith("Mui")&&f(C,y)})}return v.unstable_sxConfig={...Gn,...p?.unstable_sxConfig},v.unstable_sx=function(f){return rn({sx:f,theme:this})},v.toRuntimeSource=Xl,Qu(v),v}function Wa(e){let o;return e<1?o=5.11916*e**2:o=4.5*Math.log(e+1)+2,Math.round(o*10)/1e3}const ef=[...Array(25)].map((e,o)=>{if(o===0)return"none";const n=Wa(o);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Zl(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Jl(e){return e==="dark"?ef:[]}function tf(e){const{palette:o={mode:"light"},opacity:n,overlays:r,colorSpace:a,...i}=e,s=mi({...o,colorSpace:a});return{palette:s,opacity:{...Zl(s.mode),...n},overlays:r||Jl(s.mode),...i}}function of(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 nf=e=>[...[...Array(25)].map((o,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],rf=e=>(o,n)=>{const r=e.rootSelector||":root",a=e.colorSchemeSelector;let i=a;if(a==="class"&&(i=".%s"),a==="data"&&(i="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(i=`[${a}="%s"]`),e.defaultColorScheme===o){if(o==="dark"){const s={};return nf(e.cssVarPrefix).forEach(l=>{s[l]=n[l],delete n[l]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:i?{[i.replace("%s",o)]:s,[`${r}, ${i.replace("%s",o)}`]:n}:{[r]:{...n,...s}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(o))}`}else if(o){if(i==="media")return{[`@media (prefers-color-scheme: ${String(o)})`]:{[r]:n}};if(i)return i.replace("%s",String(o))}return r};function af(e,o){o.forEach(n=>{e[n]||(e[n]={})})}function q(e,o,n){!e[o]&&n&&(e[o]=n)}function Rn(e){return typeof e!="string"||!e.startsWith("hsl")?e:Wl(e)}function ro(e,o){`${o}Channel`in e||(e[`${o}Channel`]=Pn(Rn(e[o]),`MUI: Can't create \`palette.${o}Channel\` because \`palette.${o}\` 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.${o}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function sf(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Xt=e=>{try{return e()}catch{}},lf=(e="mui")=>le.unstable_createGetCssVar(e);function Ea(e,o,n,r,a){if(!n)return;n=n===!0?{}:n;const i=a==="dark"?"dark":"light";if(!r){o[a]=tf({...n,palette:{mode:i,...n?.palette},colorSpace:e});return}const{palette:s,...l}=_a({...r,palette:{mode:i,...n?.palette},colorSpace:e});return o[a]={...n,palette:s,opacity:{...Zl(i),...n?.opacity},overlays:n?.overlays||Jl(i)},l}function cf(e={},...o){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:a=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:l=of,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:d=":root",...p}=e,g=Object.keys(n)[0],b=r||(n.light&&g!=="light"?"light":g),v=lf(i),{[b]:h,light:f,dark:y,...C}=n,O={...C};let S=h;if((b==="dark"&&!("dark"in n)||b==="light"&&!("light"in n))&&(S=!0),!S)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${b}\` option is either missing or invalid.`:oo(21,b));let x;s&&(x="oklch");const T=Ea(x,O,S,p,b);f&&!O.light&&Ea(x,O,f,void 0,"light"),y&&!O.dark&&Ea(x,O,y,void 0,"dark");let E={defaultColorScheme:b,...T,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:d,getCssVar:v,colorSchemes:O,font:{...Bu(T.typography),...T.font},spacing:sf(p.spacing)};Object.keys(E.colorSchemes).forEach(L=>{const m=E.colorSchemes[L].palette,$=M=>{const k=M.split("-"),z=k[1],V=k[2];return v(M,m[z][V])};m.mode==="light"&&(q(m.common,"background","#fff"),q(m.common,"onBackground","#000")),m.mode==="dark"&&(q(m.common,"background","#000"),q(m.common,"onBackground","#fff"));function R(M,k,z){if(x){let V;return M===Po&&(V=`transparent ${((1-z)*100).toFixed(0)}%`),M===Ze&&(V=`#000 ${(z*100).toFixed(0)}%`),M===Je&&(V=`#fff ${(z*100).toFixed(0)}%`),`color-mix(in ${x}, ${k}, ${V})`}return M(k,z)}if(af(m,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),m.mode==="light"){q(m.Alert,"errorColor",R(Ze,m.error.light,.6)),q(m.Alert,"infoColor",R(Ze,m.info.light,.6)),q(m.Alert,"successColor",R(Ze,m.success.light,.6)),q(m.Alert,"warningColor",R(Ze,m.warning.light,.6)),q(m.Alert,"errorFilledBg",$("palette-error-main")),q(m.Alert,"infoFilledBg",$("palette-info-main")),q(m.Alert,"successFilledBg",$("palette-success-main")),q(m.Alert,"warningFilledBg",$("palette-warning-main")),q(m.Alert,"errorFilledColor",Xt(()=>m.getContrastText(m.error.main))),q(m.Alert,"infoFilledColor",Xt(()=>m.getContrastText(m.info.main))),q(m.Alert,"successFilledColor",Xt(()=>m.getContrastText(m.success.main))),q(m.Alert,"warningFilledColor",Xt(()=>m.getContrastText(m.warning.main))),q(m.Alert,"errorStandardBg",R(Je,m.error.light,.9)),q(m.Alert,"infoStandardBg",R(Je,m.info.light,.9)),q(m.Alert,"successStandardBg",R(Je,m.success.light,.9)),q(m.Alert,"warningStandardBg",R(Je,m.warning.light,.9)),q(m.Alert,"errorIconColor",$("palette-error-main")),q(m.Alert,"infoIconColor",$("palette-info-main")),q(m.Alert,"successIconColor",$("palette-success-main")),q(m.Alert,"warningIconColor",$("palette-warning-main")),q(m.AppBar,"defaultBg",$("palette-grey-100")),q(m.Avatar,"defaultBg",$("palette-grey-400")),q(m.Button,"inheritContainedBg",$("palette-grey-300")),q(m.Button,"inheritContainedHoverBg",$("palette-grey-A100")),q(m.Chip,"defaultBorder",$("palette-grey-400")),q(m.Chip,"defaultAvatarColor",$("palette-grey-700")),q(m.Chip,"defaultIconColor",$("palette-grey-700")),q(m.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),q(m.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),q(m.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),q(m.LinearProgress,"primaryBg",R(Je,m.primary.main,.62)),q(m.LinearProgress,"secondaryBg",R(Je,m.secondary.main,.62)),q(m.LinearProgress,"errorBg",R(Je,m.error.main,.62)),q(m.LinearProgress,"infoBg",R(Je,m.info.main,.62)),q(m.LinearProgress,"successBg",R(Je,m.success.main,.62)),q(m.LinearProgress,"warningBg",R(Je,m.warning.main,.62)),q(m.Skeleton,"bg",x?R(Po,m.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),q(m.Slider,"primaryTrack",R(Je,m.primary.main,.62)),q(m.Slider,"secondaryTrack",R(Je,m.secondary.main,.62)),q(m.Slider,"errorTrack",R(Je,m.error.main,.62)),q(m.Slider,"infoTrack",R(Je,m.info.main,.62)),q(m.Slider,"successTrack",R(Je,m.success.main,.62)),q(m.Slider,"warningTrack",R(Je,m.warning.main,.62));const M=x?R(Ze,m.background.default,.6825):ir(m.background.default,.8);q(m.SnackbarContent,"bg",M),q(m.SnackbarContent,"color",Xt(()=>x?Va.text.primary:m.getContrastText(M))),q(m.SpeedDialAction,"fabHoverBg",ir(m.background.paper,.15)),q(m.StepConnector,"border",$("palette-grey-400")),q(m.StepContent,"border",$("palette-grey-400")),q(m.Switch,"defaultColor",$("palette-common-white")),q(m.Switch,"defaultDisabledColor",$("palette-grey-100")),q(m.Switch,"primaryDisabledColor",R(Je,m.primary.main,.62)),q(m.Switch,"secondaryDisabledColor",R(Je,m.secondary.main,.62)),q(m.Switch,"errorDisabledColor",R(Je,m.error.main,.62)),q(m.Switch,"infoDisabledColor",R(Je,m.info.main,.62)),q(m.Switch,"successDisabledColor",R(Je,m.success.main,.62)),q(m.Switch,"warningDisabledColor",R(Je,m.warning.main,.62)),q(m.TableCell,"border",R(Je,R(Po,m.divider,1),.88)),q(m.Tooltip,"bg",R(Po,m.grey[700],.92))}if(m.mode==="dark"){q(m.Alert,"errorColor",R(Je,m.error.light,.6)),q(m.Alert,"infoColor",R(Je,m.info.light,.6)),q(m.Alert,"successColor",R(Je,m.success.light,.6)),q(m.Alert,"warningColor",R(Je,m.warning.light,.6)),q(m.Alert,"errorFilledBg",$("palette-error-dark")),q(m.Alert,"infoFilledBg",$("palette-info-dark")),q(m.Alert,"successFilledBg",$("palette-success-dark")),q(m.Alert,"warningFilledBg",$("palette-warning-dark")),q(m.Alert,"errorFilledColor",Xt(()=>m.getContrastText(m.error.dark))),q(m.Alert,"infoFilledColor",Xt(()=>m.getContrastText(m.info.dark))),q(m.Alert,"successFilledColor",Xt(()=>m.getContrastText(m.success.dark))),q(m.Alert,"warningFilledColor",Xt(()=>m.getContrastText(m.warning.dark))),q(m.Alert,"errorStandardBg",R(Ze,m.error.light,.9)),q(m.Alert,"infoStandardBg",R(Ze,m.info.light,.9)),q(m.Alert,"successStandardBg",R(Ze,m.success.light,.9)),q(m.Alert,"warningStandardBg",R(Ze,m.warning.light,.9)),q(m.Alert,"errorIconColor",$("palette-error-main")),q(m.Alert,"infoIconColor",$("palette-info-main")),q(m.Alert,"successIconColor",$("palette-success-main")),q(m.Alert,"warningIconColor",$("palette-warning-main")),q(m.AppBar,"defaultBg",$("palette-grey-900")),q(m.AppBar,"darkBg",$("palette-background-paper")),q(m.AppBar,"darkColor",$("palette-text-primary")),q(m.Avatar,"defaultBg",$("palette-grey-600")),q(m.Button,"inheritContainedBg",$("palette-grey-800")),q(m.Button,"inheritContainedHoverBg",$("palette-grey-700")),q(m.Chip,"defaultBorder",$("palette-grey-700")),q(m.Chip,"defaultAvatarColor",$("palette-grey-300")),q(m.Chip,"defaultIconColor",$("palette-grey-300")),q(m.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),q(m.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),q(m.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),q(m.LinearProgress,"primaryBg",R(Ze,m.primary.main,.5)),q(m.LinearProgress,"secondaryBg",R(Ze,m.secondary.main,.5)),q(m.LinearProgress,"errorBg",R(Ze,m.error.main,.5)),q(m.LinearProgress,"infoBg",R(Ze,m.info.main,.5)),q(m.LinearProgress,"successBg",R(Ze,m.success.main,.5)),q(m.LinearProgress,"warningBg",R(Ze,m.warning.main,.5)),q(m.Skeleton,"bg",x?R(Po,m.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),q(m.Slider,"primaryTrack",R(Ze,m.primary.main,.5)),q(m.Slider,"secondaryTrack",R(Ze,m.secondary.main,.5)),q(m.Slider,"errorTrack",R(Ze,m.error.main,.5)),q(m.Slider,"infoTrack",R(Ze,m.info.main,.5)),q(m.Slider,"successTrack",R(Ze,m.success.main,.5)),q(m.Slider,"warningTrack",R(Ze,m.warning.main,.5));const M=x?R(Je,m.background.default,.985):ir(m.background.default,.98);q(m.SnackbarContent,"bg",M),q(m.SnackbarContent,"color",Xt(()=>x?Hl.text.primary:m.getContrastText(M))),q(m.SpeedDialAction,"fabHoverBg",ir(m.background.paper,.15)),q(m.StepConnector,"border",$("palette-grey-600")),q(m.StepContent,"border",$("palette-grey-600")),q(m.Switch,"defaultColor",$("palette-grey-300")),q(m.Switch,"defaultDisabledColor",$("palette-grey-600")),q(m.Switch,"primaryDisabledColor",R(Ze,m.primary.main,.55)),q(m.Switch,"secondaryDisabledColor",R(Ze,m.secondary.main,.55)),q(m.Switch,"errorDisabledColor",R(Ze,m.error.main,.55)),q(m.Switch,"infoDisabledColor",R(Ze,m.info.main,.55)),q(m.Switch,"successDisabledColor",R(Ze,m.success.main,.55)),q(m.Switch,"warningDisabledColor",R(Ze,m.warning.main,.55)),q(m.TableCell,"border",R(Ze,R(Po,m.divider,1),.68)),q(m.Tooltip,"bg",R(Po,m.grey[700],.92))}ro(m.background,"default"),ro(m.background,"paper"),ro(m.common,"background"),ro(m.common,"onBackground"),ro(m,"divider"),Object.keys(m).forEach(M=>{const k=m[M];M!=="tonalOffset"&&k&&typeof k=="object"&&(k.main&&q(m[M],"mainChannel",Pn(Rn(k.main))),k.light&&q(m[M],"lightChannel",Pn(Rn(k.light))),k.dark&&q(m[M],"darkChannel",Pn(Rn(k.dark))),k.contrastText&&q(m[M],"contrastTextChannel",Pn(Rn(k.contrastText))),M==="text"&&(ro(m[M],"primary"),ro(m[M],"secondary")),M==="action"&&(k.active&&ro(m[M],"active"),k.selected&&ro(m[M],"selected")))})}),E=o.reduce((L,m)=>Tt(L,m),E);const j={prefix:i,disableCssColorScheme:a,shouldSkipGeneratingVar:l,getSelector:rf(E),enableContrastVars:s},{vars:P,generateThemeVars:I,generateStyleSheets:N}=Lu(E,j);return E.vars=P,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([L,m])=>{E[L]=m}),E.generateThemeVars=I,E.generateStyleSheets=N,E.generateSpacing=function(){return le.createSpacing(p.spacing,pi(this))},E.getColorSchemeSelector=Du(c),E.spacing=E.generateSpacing(),E.shouldSkipGeneratingVar=l,E.unstable_sxConfig={...Gn,...p?.unstable_sxConfig},E.unstable_sx=function(m){return rn({sx:m,theme:this})},E.toRuntimeSource=Xl,E}function Ns(e,o,n){e.colorSchemes&&n&&(e.colorSchemes[o]={...n!==!0&&n,palette:mi({...n===!0?{}:n.palette,mode:o})})}function Ql(e={},...o){const{palette:n,cssVariables:r=!1,colorSchemes:a=n?void 0:{light:!0},defaultColorScheme:i=n?.mode,...s}=e,l=i||"light",c=a?.[l],d={...a,...n?{[l]:{...typeof c!="boolean"&&c,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return _a(e,...o);let p=n;"palette"in e||d[l]&&(d[l]!==!0?p=d[l].palette:l==="dark"&&(p={mode:"dark"}));const g=_a({...e,palette:p},...o);return g.defaultColorScheme=l,g.colorSchemes=d,g.palette.mode==="light"&&(g.colorSchemes.light={...d.light!==!0&&d.light,palette:g.palette},Ns(g,"dark",d.dark)),g.palette.mode==="dark"&&(g.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:g.palette},Ns(g,"light",d.light)),g}return!n&&!("light"in d)&&l==="light"&&(d.light=!0),cf({...s,colorSchemes:d,defaultColorScheme:l,...typeof r!="boolean"&&r},...o)}const hi=Ql(),Kr="$$material";function jt(){const e=le.useTheme(hi);return process.env.NODE_ENV!=="production"&&w.useDebugValue(e),e[Kr]||e}function ec(e){return u.jsx(le.GlobalStyles,{...e,defaultTheme:hi,themeId:Kr})}process.env.NODE_ENV!=="production"&&(ec.propTypes={styles:t.oneOfType([t.array,t.func,t.number,t.object,t.string,t.bool])});function tc(e,o=""){return e.displayName||e.name||o}function As(e,o,n){const r=tc(o);return e.displayName||(r!==""?`${n}(${r})`:n)}function df(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return tc(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Co.ForwardRef:return As(e,e.render,"ForwardRef");case Co.Memo:return As(e,e.type,"memo");default:return}}}function pf(e){const{variants:o,...n}=e,r={variants:o,style:Ao(n),isProcessed:!0};return r.style===n||o&&o.forEach(a=>{typeof a.style!="function"&&(a.style=Ao(a.style))}),r}const uf=Kl();function ka(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Mo(e,o){return o&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${o}{${String(e.styles)}}`),e}function ff(e){return e?(o,n)=>n[e]:null}function mf(e,o,n){e.theme=yf(e.theme)?n:e.theme[o]||e.theme}function hr(e,o,n){const r=typeof o=="function"?o(e):o;if(Array.isArray(r))return r.flatMap(a=>hr(e,a,n));if(Array.isArray(r?.variants)){let a;if(r.isProcessed)a=n?Mo(r.style,n):r.style;else{const{variants:i,...s}=r;a=n?Mo(Ao(s),n):s}return oc(e,r.variants,[a],n)}return r?.isProcessed?n?Mo(Ao(r.style),n):r.style:n?Mo(Ao(r),n):r}function oc(e,o,n=[],r=void 0){let a;e:for(let i=0;i<o.length;i+=1){const s=o[i];if(typeof s.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(a))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"?(a??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Mo(Ao(s.style(a)),r):s.style(a))):n.push(r?Mo(Ao(s.style),r):s.style)}return n}function gf(e={}){const{themeId:o,defaultTheme:n=uf,rootShouldForwardProp:r=ka,slotShouldForwardProp:a=ka}=e;function i(l){mf(l,o,n)}return(l,c={})=>{Cu(l,E=>E.filter(j=>j!==rn));const{name:d,slot:p,skipVariantsResolver:g,skipSx:b,overridesResolver:v=ff(nc(p)),...h}=c,f=d&&d.startsWith("Mui")||p?"components":"custom",y=g!==void 0?g:p&&p!=="Root"&&p!=="root"||!1,C=b||!1;let O=ka;p==="Root"||p==="root"?O=r:p?O=a:vf(l)&&(O=void 0);const S=xu(l,{shouldForwardProp:O,label:bf(d,p),...h}),x=E=>{if(E.__emotion_real===E)return E;if(typeof E=="function")return function(P){return hr(P,E,P.theme.modularCssLayers?f:void 0)};if(Jt(E)){const j=pf(E);return function(I){return j.variants?hr(I,j,I.theme.modularCssLayers?f:void 0):I.theme.modularCssLayers?Mo(j.style,f):j.style}}return E},T=(...E)=>{const j=[],P=E.map(x),I=[];if(j.push(i),d&&v&&I.push(function($){const M=$.theme.components?.[d]?.styleOverrides;if(!M)return null;const k={};for(const z in M)k[z]=hr($,M[z],$.theme.modularCssLayers?"theme":void 0);return v($,k)}),d&&!y&&I.push(function($){const M=$.theme?.components?.[d]?.variants;return M?oc($,M,[],$.theme.modularCssLayers?"theme":void 0):null}),C||I.push(rn),Array.isArray(P[0])){const m=P.shift(),$=new Array(j.length).fill(""),R=new Array(I.length).fill("");let M;M=[...$,...m,...R],M.raw=[...$,...m.raw,...R],j.unshift(M)}const N=[...j,...P,...I],L=S(...N);return l.muiName&&(L.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(L.displayName=hf(d,p,l)),L};return S.withConfig&&(T.withConfig=S.withConfig),T}}function hf(e,o,n){return e?`${e}${F(o||"")}`:`Styled(${df(n)})`}function bf(e,o){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${nc(o||"Root")}`),n}function yf(e){for(const o in e)return!1;return!0}function vf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function nc(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Kn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ct=e=>Kn(e)&&e!=="classes",D=gf({themeId:Kr,defaultTheme:hi,rootShouldForwardProp:Ct});function xf(e){return function(n){return u.jsx(ec,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Cf(){return ou}const me=le.unstable_memoTheme;process.env.NODE_ENV!=="production"&&(t.node,t.object.isRequired);function Te(e){return Eu(e)}function Ce(e,o,n="Mui"){const r={};return o.forEach(a=>{r[a]=xe(e,a,n)}),r}function wf(e){return xe("MuiSvgIcon",e)}Ce("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Sf=e=>{const{color:o,fontSize:n,classes:r}=e,a={root:["root",o!=="inherit"&&`color${F(o)}`,`fontSize${F(n)}`]};return we(a,wf,r)},Tf=D("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="inherit"&&o[`color${F(n.color)}`],o[`fontSize${F(n.fontSize)}`]]}})(me(({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:o=>!o.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(([,o])=>o&&o.main).map(([o])=>({props:{color:o},style:{color:(e.vars??e).palette?.[o]?.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}}]}))),wr=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiSvgIcon"}),{children:a,className:i,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:g,viewBox:b="0 0 24 24",...v}=r,h=w.isValidElement(a)&&a.type==="svg",f={...r,color:s,component:l,fontSize:c,instanceFontSize:o.fontSize,inheritViewBox:p,viewBox:b,hasSvgAsChild:h},y={};p||(y.viewBox=b);const C=Sf(f);return u.jsxs(Tf,{as:l,className:re(C.root,i),focusable:"false",color:d,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n,...y,...v,...h&&a.props,ownerState:f,children:[h?a.props.children:a,g?u.jsx("title",{children:g}):null]})});process.env.NODE_ENV!=="production"&&(wr.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),t.string]),component:t.elementType,fontSize:t.oneOfType([t.oneOf(["inherit","large","medium","small"]),t.string]),htmlColor:t.string,inheritViewBox:t.bool,shapeRendering:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),titleAccess:t.string,viewBox:t.string});wr.muiName="SvgIcon";function st(e,o){function n(r,a){return u.jsx(wr,{"data-testid":process.env.NODE_ENV!=="production"?`${o}Icon`:void 0,ref:a,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${o}Icon`),n.muiName=wr.muiName,w.memo(w.forwardRef(n))}function rc(e,o=166){let n;function r(...a){const i=()=>{e.apply(this,a)};clearTimeout(n),n=setTimeout(i,o)}return r.clear=()=>{clearTimeout(n)},r}function An(e,o){return w.isValidElement(e)&&o.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function mt(e){return e&&e.ownerDocument||document}function so(e){return mt(e).defaultView||window}function Ua(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function Of(e,o,n,r,a){if(process.env.NODE_ENV==="production")return null;const i=a||o;return typeof e[o]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function Qt(e){const{controlled:o,default:n,name:r,state:a="value"}=e,{current:i}=w.useRef(o!==void 0),[s,l]=w.useState(n),c=i?o:s;if(process.env.NODE_ENV!=="production"){w.useEffect(()=>{i!==(o!==void 0)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${a} state of ${r} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} 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
- `))},[a,r,o]);const{current:p}=w.useRef(n);w.useEffect(()=>{!i&&JSON.stringify(n)!==JSON.stringify(p)&&console.error([`MUI: A component is changing the default ${a} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
36
- `))},[JSON.stringify(n)])}const d=w.useCallback(p=>{i||l(p)},[]);return[c,d]}function bt(e){const o=w.useRef(e);return Wt(()=>{o.current=e}),w.useRef((...n)=>(0,o.current)(...n)).current}function ot(...e){const o=w.useRef(void 0),n=w.useCallback(r=>{const a=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const s=i,l=s(r);return typeof l=="function"?l:()=>{s(null)}}return i.current=r,()=>{i.current=null}});return()=>{a.forEach(i=>i?.())}},e);return w.useMemo(()=>e.every(r=>r==null)?null:r=>{o.current&&(o.current(),o.current=void 0),r!=null&&(o.current=n(r))},e)}function Ef(e,o){const n=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&n>=65&&n<=90&&typeof o=="function"}function ac(e,o){if(!e)return o;function n(s,l){const c={};return Object.keys(l).forEach(d=>{Ef(d,l[d])&&typeof s[d]=="function"&&(c[d]=(...p)=>{s[d](...p),l[d](...p)})}),c}if(typeof e=="function"||typeof o=="function")return s=>{const l=typeof o=="function"?o(s):o,c=typeof e=="function"?e({...s,...l}):e,d=re(s?.className,l?.className,c?.className),p=n(c,l);return{...l,...c,...p,...!!d&&{className:d},...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 r=o,a=n(e,r),i=re(r?.className,e?.className);return{...o,...e,...a,...!!i&&{className:i},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}const Pt=t.oneOfType([t.func,t.object]);function xt(e,o){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||o(...r)}}function kf(e){const{prototype:o={}}=e;return!!o.isReactComponent}function Pf(e,o,n,r,a){const i=e[o],s=a||o;if(i==null||typeof window>"u")return null;let l;return typeof i=="function"&&!kf(i)&&(l="Did you accidentally provide a plain function component instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Yn=xt(t.elementType,Pf);function So(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 Ls={};function ic(e,o){const n=w.useRef(Ls);return n.current===Ls&&(n.current=e(o)),n}class Sr{static create(){return new Sr}static use(){const o=ic(Sr.create).current,[n,r]=w.useState(!1);return o.shouldMount=n,o.setShouldMount=r,w.useEffect(o.mountEffect,[n]),o}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=If(),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(...o){this.mount().then(()=>this.ref.current?.start(...o))}stop(...o){this.mount().then(()=>this.ref.current?.stop(...o))}pulsate(...o){this.mount().then(()=>this.ref.current?.pulsate(...o))}}function Rf(){return Sr.use()}function If(){let e,o;const n=new Promise((r,a)=>{e=r,o=a});return n.resolve=e,n.reject=o,n}function Ha(){return Ha=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var n=arguments[o];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ha.apply(null,arguments)}function sc(e,o){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(o.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function qa(e,o){return qa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},qa(e,o)}function lc(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,qa(e,o)}const Bs={disabled:!1};var $f=process.env.NODE_ENV!=="production"?t.oneOfType([t.number,t.shape({enter:t.number,exit:t.number,appear:t.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&t.oneOfType([t.string,t.shape({enter:t.string,exit:t.string,active:t.string}),t.shape({enter:t.string,enterDone:t.string,enterActive:t.string,exit:t.string,exitDone:t.string,exitActive:t.string})]);const Tr=Re.createContext(null);var jf=function(o){return o.scrollTop},In="unmounted",Io="exited",$o="entering",Jo="entered",Ga="exiting",Kt=(function(e){lc(o,e);function o(r,a){var i;i=e.call(this,r,a)||this;var s=a,l=s&&!s.isMounting?r.enter:r.appear,c;return i.appearStatus=null,r.in?l?(c=Io,i.appearStatus=$o):c=Jo:r.unmountOnExit||r.mountOnEnter?c=In:c=Io,i.state={status:c},i.nextCallback=null,i}o.getDerivedStateFromProps=function(a,i){var s=a.in;return s&&i.status===In?{status:Io}:null};var n=o.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(a){var i=null;if(a!==this.props){var s=this.state.status;this.props.in?s!==$o&&s!==Jo&&(i=$o):(s===$o||s===Jo)&&(i=Ga)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var a=this.props.timeout,i,s,l;return i=s=l=a,a!=null&&typeof a!="number"&&(i=a.exit,s=a.enter,l=a.appear!==void 0?a.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(a,i){if(a===void 0&&(a=!1),i!==null)if(this.cancelNextCallback(),i===$o){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:kn.findDOMNode(this);s&&jf(s)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Io&&this.setState({status:In})},n.performEnter=function(a){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:a,c=this.props.nodeRef?[l]:[kn.findDOMNode(this),l],d=c[0],p=c[1],g=this.getTimeouts(),b=l?g.appear:g.enter;if(!a&&!s||Bs.disabled){this.safeSetState({status:Jo},function(){i.props.onEntered(d)});return}this.props.onEnter(d,p),this.safeSetState({status:$o},function(){i.props.onEntering(d,p),i.onTransitionEnd(b,function(){i.safeSetState({status:Jo},function(){i.props.onEntered(d,p)})})})},n.performExit=function(){var a=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:kn.findDOMNode(this);if(!i||Bs.disabled){this.safeSetState({status:Io},function(){a.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Ga},function(){a.props.onExiting(l),a.onTransitionEnd(s.exit,function(){a.safeSetState({status:Io},function(){a.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(a,i){i=this.setNextCallback(i),this.setState(a,i)},n.setNextCallback=function(a){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,a(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(a,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:kn.findDOMNode(this),l=a==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],d=c[0],p=c[1];this.props.addEndListener(d,p)}a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===In)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=sc(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Re.createElement(Tr.Provider,{value:null},typeof s=="function"?s(a,l):Re.cloneElement(Re.Children.only(s),l))},o})(Re.Component);Kt.contextType=Tr;Kt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:t.shape({current:typeof Element>"u"?t.any:function(e,o,n,r,a,i){var s=e[o];return t.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,o,n,r,a,i)}}),children:t.oneOfType([t.func.isRequired,t.element.isRequired]).isRequired,in:t.bool,mountOnEnter:t.bool,unmountOnExit:t.bool,appear:t.bool,enter:t.bool,exit:t.bool,timeout:function(o){var n=$f;o.addEndListener||(n=n.isRequired);for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];return n.apply(void 0,[o].concat(a))},addEndListener:t.func,onEnter:t.func,onEntering:t.func,onEntered:t.func,onExit:t.func,onExiting:t.func,onExited:t.func}:{};function Xo(){}Kt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Xo,onEntering:Xo,onEntered:Xo,onExit:Xo,onExiting:Xo,onExited:Xo};Kt.UNMOUNTED=In;Kt.EXITED=Io;Kt.ENTERING=$o;Kt.ENTERED=Jo;Kt.EXITING=Ga;function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bi(e,o){var n=function(i){return o&&Re.isValidElement(i)?o(i):i},r=Object.create(null);return e&&Re.Children.map(e,function(a){return a}).forEach(function(a){r[a.key]=n(a)}),r}function Nf(e,o){e=e||{},o=o||{};function n(p){return p in o?o[p]:e[p]}var r=Object.create(null),a=[];for(var i in e)i in o?a.length&&(r[i]=a,a=[]):a.push(i);var s,l={};for(var c in o){if(r[c])for(s=0;s<r[c].length;s++){var d=r[c][s];l[r[c][s]]=n(d)}l[c]=n(c)}for(s=0;s<a.length;s++)l[a[s]]=n(a[s]);return l}function No(e,o,n){return n[o]!=null?n[o]:e.props[o]}function Af(e,o){return bi(e.children,function(n){return Re.cloneElement(n,{onExited:o.bind(null,n),in:!0,appear:No(n,"appear",e),enter:No(n,"enter",e),exit:No(n,"exit",e)})})}function Lf(e,o,n){var r=bi(e.children),a=Nf(o,r);return Object.keys(a).forEach(function(i){var s=a[i];if(Re.isValidElement(s)){var l=i in o,c=i in r,d=o[i],p=Re.isValidElement(d)&&!d.props.in;c&&(!l||p)?a[i]=Re.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:No(s,"exit",e),enter:No(s,"enter",e)}):!c&&l&&!p?a[i]=Re.cloneElement(s,{in:!1}):c&&l&&Re.isValidElement(d)&&(a[i]=Re.cloneElement(s,{onExited:n.bind(null,s),in:d.props.in,exit:No(s,"exit",e),enter:No(s,"enter",e)}))}}),a}var Bf=Object.values||function(e){return Object.keys(e).map(function(o){return e[o]})},Df={component:"div",childFactory:function(o){return o}},yi=(function(e){lc(o,e);function o(r,a){var i;i=e.call(this,r,a)||this;var s=i.handleExited.bind(Mf(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=o.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(a,i){var s=i.children,l=i.handleExited,c=i.firstRender;return{children:c?Af(a,l):Lf(a,s,l),firstRender:!1}},n.handleExited=function(a,i){var s=bi(this.props.children);a.key in s||(a.props.onExited&&a.props.onExited(i),this.mounted&&this.setState(function(l){var c=Ha({},l.children);return delete c[a.key],{children:c}}))},n.render=function(){var a=this.props,i=a.component,s=a.childFactory,l=sc(a,["component","childFactory"]),c=this.state.contextValue,d=Bf(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?Re.createElement(Tr.Provider,{value:c},d):Re.createElement(Tr.Provider,{value:c},Re.createElement(i,l,d))},o})(Re.Component);yi.propTypes=process.env.NODE_ENV!=="production"?{component:t.any,children:t.node,appear:t.bool,enter:t.bool,exit:t.bool,childFactory:t.func}:{};yi.defaultProps=Df;const zf=[];function Ff(e){w.useEffect(e,zf)}class Yr{static create(){return new Yr}currentId=null;start(o,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},o)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function vo(){const e=ic(Yr.create).current;return Ff(e.disposeEffect),e}function cc(e){const{className:o,classes:n,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:s,in:l,onExited:c,timeout:d}=e,[p,g]=w.useState(!1),b=re(o,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:s,height:s,top:-(s/2)+i,left:-(s/2)+a},h=re(n.child,p&&n.childLeaving,r&&n.childPulsate);return!l&&!p&&g(!0),w.useEffect(()=>{if(!l&&c!=null){const f=setTimeout(c,d);return()=>{clearTimeout(f)}}},[c,l,d]),u.jsx("span",{className:b,style:v,children:u.jsx("span",{className:h})})}process.env.NODE_ENV!=="production"&&(cc.propTypes={classes:t.object.isRequired,className:t.string,in:t.bool,onExited:t.func,pulsate:t.bool,rippleSize:t.number,rippleX:t.number,rippleY:t.number,timeout:t.number.isRequired});const Dt=Ce("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ka=550,Vf=80,_f=le.keyframes`
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(`
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`
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.${o}Chann
44
44
  transform: scale(1);
45
45
  opacity: 0.3;
46
46
  }
47
- `,Wf=le.keyframes`
47
+ `,Ku=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.${o}Chann
52
52
  100% {
53
53
  opacity: 0;
54
54
  }
55
- `,Uf=le.keyframes`
55
+ `,Xu=re.keyframes`
56
56
  0% {
57
57
  transform: scale(1);
58
58
  }
@@ -64,23 +64,23 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
64
64
  100% {
65
65
  transform: scale(1);
66
66
  }
67
- `,Hf=D("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),qf=D(cc,{name:"MuiTouchRipple",slot:"Ripple"})`
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"})`
68
68
  opacity: 0;
69
69
  position: absolute;
70
70
 
71
- &.${Dt.rippleVisible} {
71
+ &.${Qe.rippleVisible} {
72
72
  opacity: 0.3;
73
73
  transform: scale(1);
74
- animation-name: ${_f};
75
- animation-duration: ${Ka}ms;
74
+ animation-name: ${Yu};
75
+ animation-duration: ${rn}ms;
76
76
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
77
77
  }
78
78
 
79
- &.${Dt.ripplePulsate} {
79
+ &.${Qe.ripplePulsate} {
80
80
  animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
81
81
  }
82
82
 
83
- & .${Dt.child} {
83
+ & .${Qe.child} {
84
84
  opacity: 1;
85
85
  display: block;
86
86
  width: 100%;
@@ -89,25 +89,25 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
89
89
  background-color: currentColor;
90
90
  }
91
91
 
92
- & .${Dt.childLeaving} {
92
+ & .${Qe.childLeaving} {
93
93
  opacity: 0;
94
- animation-name: ${Wf};
95
- animation-duration: ${Ka}ms;
94
+ animation-name: ${Ku};
95
+ animation-duration: ${rn}ms;
96
96
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
97
97
  }
98
98
 
99
- & .${Dt.childPulsate} {
99
+ & .${Qe.childPulsate} {
100
100
  position: absolute;
101
101
  /* @noflip */
102
102
  left: 0px;
103
103
  top: 0;
104
- animation-name: ${Uf};
104
+ animation-name: ${Xu};
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
- `,dc=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiTouchRipple"}),{center:a=!1,classes:i={},className:s,...l}=r,[c,d]=w.useState([]),p=w.useRef(0),g=w.useRef(null);w.useEffect(()=>{g.current&&(g.current(),g.current=null)},[c]);const b=w.useRef(!1),v=vo(),h=w.useRef(null),f=w.useRef(null),y=w.useCallback(x=>{const{pulsate:T,rippleX:E,rippleY:j,rippleSize:P,cb:I}=x;d(N=>[...N,u.jsx(qf,{classes:{ripple:re(i.ripple,Dt.ripple),rippleVisible:re(i.rippleVisible,Dt.rippleVisible),ripplePulsate:re(i.ripplePulsate,Dt.ripplePulsate),child:re(i.child,Dt.child),childLeaving:re(i.childLeaving,Dt.childLeaving),childPulsate:re(i.childPulsate,Dt.childPulsate)},timeout:Ka,pulsate:T,rippleX:E,rippleY:j,rippleSize:P},p.current)]),p.current+=1,g.current=I},[i]),C=w.useCallback((x={},T={},E=()=>{})=>{const{pulsate:j=!1,center:P=a||T.pulsate,fakeElement:I=!1}=T;if(x?.type==="mousedown"&&b.current){b.current=!1;return}x?.type==="touchstart"&&(b.current=!0);const N=I?null:f.current,L=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0};let m,$,R;if(P||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)m=Math.round(L.width/2),$=Math.round(L.height/2);else{const{clientX:M,clientY:k}=x.touches&&x.touches.length>0?x.touches[0]:x;m=Math.round(M-L.left),$=Math.round(k-L.top)}if(P)R=Math.sqrt((2*L.width**2+L.height**2)/3),R%2===0&&(R+=1);else{const M=Math.max(Math.abs((N?N.clientWidth:0)-m),m)*2+2,k=Math.max(Math.abs((N?N.clientHeight:0)-$),$)*2+2;R=Math.sqrt(M**2+k**2)}x?.touches?h.current===null&&(h.current=()=>{y({pulsate:j,rippleX:m,rippleY:$,rippleSize:R,cb:E})},v.start(Vf,()=>{h.current&&(h.current(),h.current=null)})):y({pulsate:j,rippleX:m,rippleY:$,rippleSize:R,cb:E})},[a,y,v]),O=w.useCallback(()=>{C({},{pulsate:!0})},[C]),S=w.useCallback((x,T)=>{if(v.clear(),x?.type==="touchend"&&h.current){h.current(),h.current=null,v.start(0,()=>{S(x,T)});return}h.current=null,d(E=>E.length>0?E.slice(1):E),g.current=T},[v]);return w.useImperativeHandle(n,()=>({pulsate:O,start:C,stop:S}),[O,C,S]),u.jsx(Hf,{className:re(Dt.root,i.root,s),ref:f,...l,children:u.jsx(yi,{component:null,exit:!0,children:c})})});process.env.NODE_ENV!=="production"&&(dc.propTypes={center:t.bool,classes:t.object,className:t.string});function Gf(e){return xe("MuiButtonBase",e)}const Kf=Ce("MuiButtonBase",["root","disabled","focusVisible"]),Yf=e=>{const{disabled:o,focusVisible:n,focusVisibleClassName:r,classes:a}=e,s=we({root:["root",o&&"disabled",n&&"focusVisible"]},Gf,a);return n&&r&&(s.root+=` ${r}`),s},Xf=D("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"},[`&.${Kf.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),lo=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiButtonBase"}),{action:a,centerRipple:i=!1,children:s,className:l,component:c="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:g=!1,focusRipple:b=!1,focusVisibleClassName:v,LinkComponent:h="a",onBlur:f,onClick:y,onContextMenu:C,onDragLeave:O,onFocus:S,onFocusVisible:x,onKeyDown:T,onKeyUp:E,onMouseDown:j,onMouseLeave:P,onMouseUp:I,onTouchEnd:N,onTouchMove:L,onTouchStart:m,tabIndex:$=0,TouchRippleProps:R,touchRippleRef:M,type:k,...z}=r,V=w.useRef(null),W=Rf(),B=ot(W.ref,M),[A,Y]=w.useState(!1);d&&A&&Y(!1),w.useImperativeHandle(a,()=>({focusVisible:()=>{Y(!0),V.current.focus()}}),[]);const Z=W.shouldMount&&!p&&!d;w.useEffect(()=>{A&&b&&!p&&W.pulsate()},[p,b,A,W]);const oe=ao(W,"start",j,g),K=ao(W,"stop",C,g),U=ao(W,"stop",O,g),ae=ao(W,"stop",I,g),ce=ao(W,"stop",ne=>{A&&ne.preventDefault(),P&&P(ne)},g),J=ao(W,"start",m,g),X=ao(W,"stop",N,g),de=ao(W,"stop",L,g),_=ao(W,"stop",ne=>{So(ne.target)||Y(!1),f&&f(ne)},!1),se=bt(ne=>{V.current||(V.current=ne.currentTarget),So(ne.target)&&(Y(!0),x&&x(ne)),S&&S(ne)}),ie=()=>{const ne=V.current;return c&&c!=="button"&&!(ne.tagName==="A"&&ne.href)},pe=bt(ne=>{b&&!ne.repeat&&A&&ne.key===" "&&W.stop(ne,()=>{W.start(ne)}),ne.target===ne.currentTarget&&ie()&&ne.key===" "&&ne.preventDefault(),T&&T(ne),ne.target===ne.currentTarget&&ie()&&ne.key==="Enter"&&!d&&(ne.preventDefault(),y&&y(ne))}),ke=bt(ne=>{b&&ne.key===" "&&A&&!ne.defaultPrevented&&W.stop(ne,()=>{W.pulsate(ne)}),E&&E(ne),y&&ne.target===ne.currentTarget&&ie()&&ne.key===" "&&!ne.defaultPrevented&&y(ne)});let Ee=c;Ee==="button"&&(z.href||z.to)&&(Ee=h);const ee={};if(Ee==="button"){const ne=!!z.formAction;ee.type=k===void 0&&!ne?"button":k,ee.disabled=d}else!z.href&&!z.to&&(ee.role="button"),d&&(ee["aria-disabled"]=d);const De=ot(n,V),Se={...r,centerRipple:i,component:c,disabled:d,disableRipple:p,disableTouchRipple:g,focusRipple:b,tabIndex:$,focusVisible:A},he=Yf(Se);return u.jsxs(Xf,{as:Ee,className:re(he.root,l),ownerState:Se,onBlur:_,onClick:y,onContextMenu:K,onFocus:se,onKeyDown:pe,onKeyUp:ke,onMouseDown:oe,onMouseLeave:ce,onMouseUp:ae,onDragLeave:U,onTouchEnd:X,onTouchMove:de,onTouchStart:J,ref:De,tabIndex:d?-1:$,type:k,...ee,...z,children:[s,Z?u.jsx(dc,{ref:B,center:i,...R}):null]})});function ao(e,o,n,r=!1){return bt(a=>(n&&n(a),r||e[o](a),!0))}process.env.NODE_ENV!=="production"&&(lo.propTypes={action:Pt,centerRipple:t.bool,children:t.node,classes:t.object,className:t.string,component:Yn,disabled:t.bool,disableRipple:t.bool,disableTouchRipple:t.bool,focusRipple:t.bool,focusVisibleClassName:t.string,formAction:t.oneOfType([t.func,t.string]),href:t.any,LinkComponent:t.elementType,onBlur:t.func,onClick:t.func,onContextMenu:t.func,onDragLeave:t.func,onFocus:t.func,onFocusVisible:t.func,onKeyDown:t.func,onKeyUp:t.func,onMouseDown:t.func,onMouseLeave:t.func,onMouseUp:t.func,onTouchEnd:t.func,onTouchMove:t.func,onTouchStart:t.func,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),tabIndex:t.number,TouchRippleProps:t.object,touchRippleRef:t.oneOfType([t.func,t.shape({current:t.shape({pulsate:t.func.isRequired,start:t.func.isRequired,stop:t.func.isRequired})})]),type:t.oneOfType([t.oneOf(["button","reset","submit"]),t.string])});function Zf(e){return typeof e.main=="string"}function Jf(e,o=[]){if(!Zf(e))return!1;for(const n of o)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function qe(e=[]){return([,o])=>o&&Jf(o,e)}function Qf(e){return xe("MuiCircularProgress",e)}Ce("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Gt=44,Ya=le.keyframes`
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`
111
111
  0% {
112
112
  transform: rotate(0deg);
113
113
  }
@@ -115,7 +115,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
115
115
  100% {
116
116
  transform: rotate(360deg);
117
117
  }
118
- `,Xa=le.keyframes`
118
+ `,nn=re.keyframes`
119
119
  0% {
120
120
  stroke-dasharray: 1px, 200px;
121
121
  stroke-dashoffset: 0;
@@ -130,14 +130,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
130
130
  stroke-dasharray: 1px, 200px;
131
131
  stroke-dashoffset: -126px;
132
132
  }
133
- `,em=typeof Ya!="string"?le.css`
134
- animation: ${Ya} 1.4s linear infinite;
135
- `:null,tm=typeof Xa!="string"?le.css`
136
- animation: ${Xa} 1.4s ease-in-out infinite;
137
- `:null,om=e=>{const{classes:o,variant:n,color:r,disableShrink:a}=e,i={root:["root",n,`color${F(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${F(n)}`,a&&"circleDisableShrink"]};return we(i,Qf,o)},nm=D("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`color${F(n.color)}`]]}})(me(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:em||{animation:`${Ya} 1.4s linear infinite`}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}}))]}))),rm=D("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),am=D("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.circle,o[`circle${F(n.variant)}`],n.disableShrink&&o.circleDisableShrink]}})(me(({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:o})=>o.variant==="indeterminate"&&!o.disableShrink,style:tm||{animation:`${Xa} 1.4s ease-in-out infinite`}}]}))),im=D("circle",{name:"MuiCircularProgress",slot:"Track"})(me(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),xo=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCircularProgress"}),{className:a,color:i="primary",disableShrink:s=!1,enableTrackSlot:l=!1,size:c=40,style:d,thickness:p=3.6,value:g=0,variant:b="indeterminate",...v}=r,h={...r,color:i,disableShrink:s,size:c,thickness:p,value:g,variant:b,enableTrackSlot:l},f=om(h),y={},C={},O={};if(b==="determinate"){const S=2*Math.PI*((Gt-p)/2);y.strokeDasharray=S.toFixed(3),O["aria-valuenow"]=Math.round(g),y.strokeDashoffset=`${((100-g)/100*S).toFixed(3)}px`,C.transform="rotate(-90deg)"}return u.jsx(nm,{className:re(f.root,a),style:{width:c,height:c,...C,...d},ownerState:h,ref:n,role:"progressbar",...O,...v,children:u.jsxs(rm,{className:f.svg,ownerState:h,viewBox:`${Gt/2} ${Gt/2} ${Gt} ${Gt}`,children:[l?u.jsx(im,{className:f.track,ownerState:h,cx:Gt,cy:Gt,r:(Gt-p)/2,fill:"none",strokeWidth:p,"aria-hidden":"true"}):null,u.jsx(am,{className:f.circle,style:y,ownerState:h,cx:Gt,cy:Gt,r:(Gt-p)/2,fill:"none",strokeWidth:p})]})})});process.env.NODE_ENV!=="production"&&(xo.propTypes={classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","primary","secondary","error","info","success","warning"]),t.string]),disableShrink:xt(t.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:t.bool,size:t.oneOfType([t.number,t.string]),style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),thickness:t.number,value:t.number,variant:t.oneOf(["determinate","indeterminate"])});function sm(e){return xe("MuiButton",e)}const Ro=Ce("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"]),vi=w.createContext({});process.env.NODE_ENV!=="production"&&(vi.displayName="ButtonGroupContext");const xi=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(xi.displayName="ButtonGroupButtonContext");const lm=e=>{const{color:o,disableElevation:n,fullWidth:r,size:a,variant:i,loading:s,loadingPosition:l,classes:c}=e,d={root:["root",s&&"loading",i,`${i}${F(o)}`,`size${F(a)}`,`${i}Size${F(a)}`,`color${F(o)}`,n&&"disableElevation",r&&"fullWidth",s&&`loadingPosition${F(l)}`],startIcon:["icon","startIcon",`iconSize${F(a)}`],endIcon:["icon","endIcon",`iconSize${F(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},p=we(d,sm,c);return{...c,...p}},pc=[{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}}}],cm=D(lo,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${F(n.color)}`],o[`size${F(n.size)}`],o[`${n.variant}Size${F(n.size)}`],n.color==="inherit"&&o.colorInherit,n.disableElevation&&o.disableElevation,n.fullWidth&&o.fullWidth,n.loading&&o.loading]}})(me(({theme:e})=>{const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=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"},[`&.${Ro.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]},[`&.${Ro.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ro.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)",[`&.${Ro.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(qe()).map(([r])=>({props:{color:r},style:{"--variant-textColor":(e.vars||e).palette[r].main,"--variant-outlinedColor":(e.vars||e).palette[r].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[r].main,.5),"--variant-containedColor":(e.vars||e).palette[r].contrastText,"--variant-containedBg":(e.vars||e).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[r].dark,"--variant-textBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[r].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[r].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:o,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--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"},[`&.${Ro.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ro.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}),[`&.${Ro.loading}`]:{color:"transparent"}}}]}})),dm=D("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.startIcon,n.loading&&o.startIconLoadingStart,o[`iconSize${F(n.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}},...pc]})),pm=D("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.endIcon,n.loading&&o.endIconLoadingEnd,o[`iconSize${F(n.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}},...pc]})),um=D("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}}]})),Ds=D("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Ci=w.forwardRef(function(o,n){const r=w.useContext(vi),a=w.useContext(xi),i=yr(r,o),s=Te({props:i,name:"MuiButton"}),{children:l,color:c="primary",component:d="button",className:p,disabled:g=!1,disableElevation:b=!1,disableFocusRipple:v=!1,endIcon:h,focusVisibleClassName:f,fullWidth:y=!1,id:C,loading:O=null,loadingIndicator:S,loadingPosition:x="center",size:T="medium",startIcon:E,type:j,variant:P="text",...I}=s,N=uo(C),L=S??u.jsx(xo,{"aria-labelledby":N,color:"inherit",size:16}),m={...s,color:c,component:d,disabled:g,disableElevation:b,disableFocusRipple:v,fullWidth:y,loading:O,loadingIndicator:L,loadingPosition:x,size:T,type:j,variant:P},$=lm(m),R=(E||O&&x==="start")&&u.jsx(dm,{className:$.startIcon,ownerState:m,children:E||u.jsx(Ds,{className:$.loadingIconPlaceholder,ownerState:m})}),M=(h||O&&x==="end")&&u.jsx(pm,{className:$.endIcon,ownerState:m,children:h||u.jsx(Ds,{className:$.loadingIconPlaceholder,ownerState:m})}),k=a||"",z=typeof O=="boolean"?u.jsx("span",{className:$.loadingWrapper,style:{display:"contents"},children:O&&u.jsx(um,{className:$.loadingIndicator,ownerState:m,children:L})}):null;return u.jsxs(cm,{ownerState:m,className:re(r.className,$.root,p,k),component:d,disabled:g||O,focusRipple:!v,focusVisibleClassName:re($.focusVisible,f),ref:n,type:j,id:O?N:C,...I,classes:$,children:[R,x!=="end"&&z,l,x==="end"&&z,M]})});process.env.NODE_ENV!=="production"&&(Ci.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","primary","secondary","success","error","info","warning"]),t.string]),component:t.elementType,disabled:t.bool,disableElevation:t.bool,disableFocusRipple:t.bool,disableRipple:t.bool,endIcon:t.node,focusVisibleClassName:t.string,fullWidth:t.bool,href:t.string,id:t.string,loading:t.bool,loadingIndicator:t.node,loadingPosition:t.oneOf(["center","end","start"]),size:t.oneOfType([t.oneOf(["small","medium","large"]),t.string]),startIcon:t.node,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.oneOfType([t.oneOf(["button","reset","submit"]),t.string]),variant:t.oneOfType([t.oneOf(["contained","outlined","text"]),t.string])});function fm(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function mm(e){return parseFloat(e)}const gm=st(u.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"),hm=st(u.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"),zs=le.keyframes`
133
+ `,ap=typeof on!="string"?re.css`
134
+ animation: ${on} 1.4s linear infinite;
135
+ `:null,sp=typeof nn!="string"?re.css`
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`
138
138
  from { transform: scale(0); opacity: 0; }
139
139
  to { transform: scale(1); opacity: 1; }
140
- `,bm=D("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),wi=Re.forwardRef(({variante:e="primario",tamano:o="md",forma:n="cuadrado",estado:r="inactivo",cargando:a=!1,disabled:i=!1,iconoIzquierda:s,iconoDerecha:l,soloIcono:c=!1,texto:d,textoCargando:p,textoExito:g,textoError:b,children:v,startIcon:h,endIcon:f,sx:y,color:C,alHacerClick:O,...S},x)=>{const T=jt(),E=a?"cargando":r,j=E==="cargando",P=E==="exito",I=E==="error",N=E==="inactivo"&&!i,L=k=>["contorno","secundario"].includes(k)?"outlined":["fantasma","enlace"].includes(k)?"text":"contained",m=k=>k==="xs"?"small":k==="xl"?"large":k==="md"?"medium":k==="sm"?"small":k==="lg"?"large":"medium",$=(k,z)=>{if(z)switch(z){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 z}switch(k){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"}},R=()=>{const k={textTransform:"none",fontWeight:600,letterSpacing:"0.01em",boxShadow:"none",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",borderRadius:n==="pildora"?"9999px":n==="circulo"?"50%":"10px",...c&&{minWidth:"auto",width:m(o)==="small"?32:m(o)==="large"?48:40,height:m(o)==="small"?32:m(o)==="large"?48:40,padding:0,borderRadius:n==="cuadrado"?"10px":"50%"},"&:hover":{transform:N?"translateY(-1px)":"none",boxShadow:N&&e!=="fantasma"&&e!=="enlace"?"0 4px 12px rgba(0,0,0,0.1)":"none"},"&:active":{transform:N?"scale(0.98)":"none"}};if(o==="xs"?(k.padding=c?0:"2px 8px",k.fontSize="0.75rem",k.minWidth=c?24:"auto",c&&(k.height=24,k.width=24)):o==="xl"&&(k.padding=c?0:"12px 28px",k.fontSize="1.125rem",c&&(k.height=56,k.width=56)),P&&(k.backgroundColor=T.palette.success.main,k.color=T.palette.success.contrastText,k["&:hover"]={backgroundColor:T.palette.success.dark}),I&&(k.backgroundColor=T.palette.error.main,k.color=T.palette.error.contrastText,k["&:hover"]={backgroundColor:T.palette.error.dark}),e==="suave"&&!P&&!I){const z=$("primario",C)||"primary";let V=T.palette.primary.main;z==="error"?V=T.palette.error.main:z==="success"?V=T.palette.success.main:z==="warning"?V=T.palette.warning.main:z==="info"?V=T.palette.info.main:z==="secondary"&&(V=T.palette.secondary.main),k.backgroundColor=le.alpha(V,.1),k.color=V,k.boxShadow="none",k["&:hover"]={...k["&:hover"],backgroundColor:le.alpha(V,.2),boxShadow:"none"}}return e==="fantasma"&&(k.backgroundColor="transparent",k["&:hover"].backgroundColor=le.alpha(T.palette.action.active,.08)),e==="enlace"&&(k.padding=0,k.minWidth="auto",k.borderRadius=0,k.verticalAlign="baseline",k["&:hover"]={textDecoration:"underline",backgroundColor:"transparent",transform:"none",boxShadow:"none"},k["&:active"]={transform:"none"}),e==="oscuro"&&!P&&!I&&(k.backgroundColor="#1f2937",k.color="#ffffff",k["&:hover"]={...k["&:hover"],backgroundColor:"#111827"}),e==="claro"&&!P&&!I&&(k.backgroundColor="#f3f4f6",k.color="#1f2937",k["&:hover"]={...k["&:hover"],backgroundColor:"#e5e7eb"}),k},M=()=>{const k=v||d;return j?u.jsxs(Re.Fragment,{children:[u.jsx(xo,{size:20,color:"inherit",sx:{mr:p?1:0}}),p||k]}):P?u.jsxs(Re.Fragment,{children:[u.jsx(gm,{sx:{mr:g?1:0,animation:`${zs} 0.3s ease-out`}}),g||"¡Éxito!"]}):I?u.jsxs(Re.Fragment,{children:[u.jsx(hm,{sx:{mr:b?1:0,animation:`${zs} 0.3s ease-out`}}),b||"Error"]}):u.jsxs(Re.Fragment,{children:[s&&u.jsx("span",{style:{marginRight:k?8:0,display:"flex"},children:s}),k,l&&u.jsx("span",{style:{marginLeft:k?8:0,display:"flex"},children:l})]})};return u.jsx(Ci,{ref:x,variant:L(e),color:$(e,C),size:m(o),disabled:i||j,onClick:O,disableElevation:!0,startIcon:void 0,endIcon:void 0,sx:{...R(),...y},...S,children:M()})});wi.displayName="CodeplexBoton";const ym=wi;function Si(e){const o=w.useRef({});return w.useEffect(()=>{o.current=e}),o.current}function vm(e){const{badgeContent:o,invisible:n=!1,max:r=99,showZero:a=!1}=e,i=Si({badgeContent:o,max:r});let s=n;n===!1&&o===0&&!a&&(s=!0);const{badgeContent:l,max:c=r}=s?i:e,d=l&&Number(l)>c?`${c}+`:l;return{badgeContent:l,invisible:s,max:c,displayValue:d}}function xm(e){return xe("MuiBadge",e)}const ho=Ce("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 uc(e,o,n){return e===void 0||eo(e)?o:{...o,ownerState:{...o.ownerState,...n}}}function fc(e,o,n){return typeof e=="function"?e(o,n):e}function Lo(e,o=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!o.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Fs(e){if(e===void 0)return{};const o={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{o[n]=e[n]}),o}function mc(e){const{getSlotProps:o,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:i}=e;if(!o){const v=re(n?.className,i,a?.className,r?.className),h={...n?.style,...a?.style,...r?.style},f={...n,...a,...r};return v.length>0&&(f.className=v),Object.keys(h).length>0&&(f.style=h),{props:f,internalRef:void 0}}const s=Lo({...a,...r}),l=Fs(r),c=Fs(a),d=o(s),p=re(d?.className,n?.className,i,a?.className,r?.className),g={...d?.style,...n?.style,...a?.style,...r?.style},b={...d,...n,...c,...l};return p.length>0&&(b.className=p),Object.keys(g).length>0&&(b.style=g),{props:b,internalRef:d.ref}}function ge(e,o){const{className:n,elementType:r,ownerState:a,externalForwardedProps:i,internalForwardedProps:s,shouldForwardComponentProp:l=!1,...c}=o,{component:d,slots:p={[e]:void 0},slotProps:g={[e]:void 0},...b}=i,v=p[e]||r,h=fc(g[e],a),{props:{component:f,...y},internalRef:C}=mc({className:n,...c,externalForwardedProps:e==="root"?b:void 0,externalSlotProps:h}),O=ot(C,h?.ref,o.ref),S=e==="root"?f||d:f,x=uc(v,{...e==="root"&&!d&&!p[e]&&s,...e!=="root"&&!p[e]&&s,...y,...S&&!l&&{as:S},...S&&l&&{component:S},ref:O},a);return[v,x]}const Pa=10,Ra=4,Cm=e=>{const{color:o,anchorOrigin:n,invisible:r,overlap:a,variant:i,classes:s={}}=e,l={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${F(n.vertical)}${F(n.horizontal)}`,`anchorOrigin${F(n.vertical)}${F(n.horizontal)}${F(a)}`,`overlap${F(a)}`,o!=="default"&&`color${F(o)}`]};return we(l,xm,s)},wm=D("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Sm=D("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.badge,o[n.variant],o[`anchorOrigin${F(n.anchorOrigin.vertical)}${F(n.anchorOrigin.horizontal)}${F(n.overlap)}`],n.color!=="default"&&o[`color${F(n.color)}`],n.invisible&&o.invisible]}})(me(({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:Pa*2,lineHeight:1,padding:"0 6px",height:Pa*2,borderRadius:Pa,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(qe(["contrastText"])).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main,color:(e.vars||e).palette[o].contrastText}})),{props:{variant:"dot"},style:{borderRadius:Ra,height:Ra*2,minWidth:Ra*2,padding:0}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="top"&&o.anchorOrigin.horizontal==="right"&&o.overlap==="rectangular",style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="bottom"&&o.anchorOrigin.horizontal==="right"&&o.overlap==="rectangular",style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="top"&&o.anchorOrigin.horizontal==="left"&&o.overlap==="rectangular",style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="bottom"&&o.anchorOrigin.horizontal==="left"&&o.overlap==="rectangular",style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="top"&&o.anchorOrigin.horizontal==="right"&&o.overlap==="circular",style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="bottom"&&o.anchorOrigin.horizontal==="right"&&o.overlap==="circular",style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="top"&&o.anchorOrigin.horizontal==="left"&&o.overlap==="circular",style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${ho.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:o})=>o.anchorOrigin.vertical==="bottom"&&o.anchorOrigin.horizontal==="left"&&o.overlap==="circular",style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${ho.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 Vs(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const Xr=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiBadge"}),{anchorOrigin:a,className:i,classes:s,component:l,components:c={},componentsProps:d={},children:p,overlap:g="rectangular",color:b="default",invisible:v=!1,max:h=99,badgeContent:f,slots:y,slotProps:C,showZero:O=!1,variant:S="standard",...x}=r,{badgeContent:T,invisible:E,max:j,displayValue:P}=vm({max:h,invisible:v,badgeContent:f,showZero:O}),I=Si({anchorOrigin:Vs(a),color:b,overlap:g,variant:S,badgeContent:f}),N=E||T==null&&S!=="dot",{color:L=b,overlap:m=g,anchorOrigin:$,variant:R=S}=N?I:r,M=Vs($),k=R!=="dot"?P:void 0,z={...r,badgeContent:T,invisible:N,max:j,displayValue:k,showZero:O,anchorOrigin:M,color:L,overlap:m,variant:R},V=Cm(z),W={slots:{root:y?.root??c.Root,badge:y?.badge??c.Badge},slotProps:{root:C?.root??d.root,badge:C?.badge??d.badge}},[B,A]=ge("root",{elementType:wm,externalForwardedProps:{...W,...x},ownerState:z,className:re(V.root,i),ref:n,additionalProps:{as:l}}),[Y,Z]=ge("badge",{elementType:Sm,externalForwardedProps:W,ownerState:z,className:V.badge});return u.jsxs(B,{...A,children:[p,u.jsx(Y,{...Z,children:k})]})});process.env.NODE_ENV!=="production"&&(Xr.propTypes={anchorOrigin:t.shape({horizontal:t.oneOf(["left","right"]),vertical:t.oneOf(["bottom","top"])}),badgeContent:t.node,children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["default","primary","secondary","error","info","success","warning"]),t.string]),component:t.elementType,components:t.shape({Badge:t.elementType,Root:t.elementType}),componentsProps:t.shape({badge:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),invisible:t.bool,max:t.number,overlap:t.oneOf(["circular","rectangular"]),showZero:t.bool,slotProps:t.shape({badge:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({badge:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["dot","standard"]),t.string])});const Tm=le.keyframes`
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`
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.${o}Chann
151
151
  100% {
152
152
  transform: scale(1);
153
153
  }
154
- `,Om=D(Xr,{shouldForwardProp:e=>e!=="animado"&&e!=="borde"})(({theme:e,animado:o,borde:n})=>({"& .MuiBadge-badge":{...n&&{boxShadow:`0 0 0 2px ${e.palette.background.paper}`},...o&&{animation:`${Tm} 1.5s infinite ease-in-out`}}})),gc=({children:e,color:o="primario",contenido:n,variante:r="estandar",maximo:a=99,mostrarCero:i=!1,superposicion:s="rectangular",invisible:l=!1,posicionVertical:c="arriba",posicionHorizontal:d="derecha",animado:p=!1,borde:g=!1,...b})=>{const v=y=>{switch(y){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"}},h=y=>y==="punto"?"dot":"standard",f=()=>({vertical:c==="arriba"?"top":"bottom",horizontal:d==="derecha"?"right":"left"});return u.jsx(Om,{color:v(o),badgeContent:n,variant:h(r),max:a,showZero:i,overlap:s,invisible:l,anchorOrigin:f(),animado:p,borde:g,...b,children:e})},Em=gc,km=Ce("MuiBox",["root"]),Pm=Ql(),Ue=le.createBox({themeId:Kr,defaultTheme:Pm,defaultClassName:km.root,generateClassName:Fl.generate});process.env.NODE_ENV!=="production"&&(Ue.propTypes={children:t.node,component:t.elementType,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function Rm(e){return xe("MuiTypography",e)}const Or=Ce("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Im={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},$m=Cf(),jm=e=>{const{align:o,gutterBottom:n,noWrap:r,paragraph:a,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${F(o)}`,n&&"gutterBottom",r&&"noWrap",a&&"paragraph"]};return we(l,Rm,s)},Mm=D("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.variant&&o[n.variant],n.align!=="inherit"&&o[`align${F(n.align)}`],n.noWrap&&o.noWrap,n.gutterBottom&&o.gutterBottom,n.paragraph&&o.paragraph]}})(me(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([o,n])=>o!=="inherit"&&n&&typeof n=="object").map(([o,n])=>({props:{variant:o},style:n})),...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),...Object.entries(e.palette?.text||{}).filter(([,o])=>typeof o=="string").map(([o])=>({props:{color:`text${F(o)}`},style:{color:(e.vars||e).palette.text[o]}})),{props:({ownerState:o})=>o.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:o})=>o.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:o})=>o.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:o})=>o.paragraph,style:{marginBottom:16}}]}))),_s={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},nt=w.forwardRef(function(o,n){const{color:r,...a}=Te({props:o,name:"MuiTypography"}),i=!Im[r],s=$m({...a,...i&&{color:r}}),{align:l="inherit",className:c,component:d,gutterBottom:p=!1,noWrap:g=!1,paragraph:b=!1,variant:v="body1",variantMapping:h=_s,...f}=s,y={...s,align:l,color:r,className:c,component:d,gutterBottom:p,noWrap:g,paragraph:b,variant:v,variantMapping:h},C=d||(b?"p":h[v]||_s[v])||"span",O=jm(y);return u.jsx(Mm,{as:C,ref:n,className:re(O.root,c),...f,ownerState:y,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...f.style}})});process.env.NODE_ENV!=="production"&&(nt.propTypes={align:t.oneOf(["center","inherit","justify","left","right"]),children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),t.string]),component:t.elementType,gutterBottom:t.bool,noWrap:t.bool,paragraph:t.bool,style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),t.string]),variantMapping:t.object});const hc=({tamano:e="md",color:o="primario",tipo:n="borde",etiqueta:r,posicionEtiqueta:a="derecha",pantallaCompleta:i=!1,className:s="",sx:l,...c})=>{const d=jt(),g=typeof e=="number"?e:{xs:16,sm:24,md:40,lg:56,xl:80}[e],v={primario:"primary",secundario:"secondary",error:"error",info:"info",exito:"success",advertencia:"warning",blanco:"inherit",gris:"inherit"}[o]||"primary",f=o==="blanco"?"#ffffff":o==="gris"?d.palette.grey[500]:d.palette[v]?.main||d.palette.primary.main,y=()=>u.jsx(xo,{size:g,color:v,className:s,sx:{color:v==="inherit"?f:void 0,...l},...c}),C=()=>u.jsxs(Ue,{position:"relative",display:"inline-flex",width:g,height:g,className:s,sx:l,children:[u.jsx(xo,{variant:"determinate",value:100,size:g,sx:{color:d.palette.mode==="dark"?le.alpha(f,.2):le.alpha(f,.1),position:"absolute"}}),u.jsx(xo,{variant:"indeterminate",disableShrink:!0,size:g,sx:{color:f,animationDuration:"1.2s",position:"absolute",left:0,"& .MuiCircularProgress-circle":{strokeLinecap:"round"}},...c})]}),O=()=>u.jsx(Ue,{display:"flex",gap:.5,className:s,sx:{height:g,alignItems:"center",...l},children:[0,1,2].map(L=>u.jsx(Ue,{sx:{width:g/3,height:g/3,borderRadius:"50%",bgcolor:f,animation:"rebote 1.4s infinite ease-in-out both",animationDelay:`${L*.16}s`,"@keyframes rebote":{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}}},L))}),S=()=>u.jsxs(Ue,{position:"relative",display:"inline-flex",width:g,height:g,className:s,sx:l,children:[u.jsx(Ue,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:f,opacity:.75,animation:"pulso 1s cubic-bezier(0, 0, 0.2, 1) infinite","@keyframes pulso":{"75%, 100%":{transform:"scale(2)",opacity:0}}}}),u.jsx(Ue,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:f}})]}),x=()=>{const L=g/2-g*.1;return u.jsx(Ue,{width:g,height:g,position:"relative",className:s,sx:l,children:[0,1,2,3].map(m=>u.jsx(Ue,{sx:{position:"absolute",width:L,height:L,borderRadius:"50%",bgcolor:f,top:m<2?0:"auto",bottom:m>=2?0:"auto",left:m%2===0?0:"auto",right:m%2!==0?0:"auto",animation:"cuadricula-fade 1.5s infinite linear",animationDelay:m===1?"-0.4s":m===2?"-0.8s":m===3?"-1.2s":"0s","@keyframes cuadricula-fade":{"0%, 100%":{opacity:1},"50%":{opacity:.3}}}},m))})},T=(L,m,$,R)=>u.jsx(Ue,{width:g,height:g,position:"relative",className:s,sx:l,children:Array.from({length:L}).map((M,k)=>u.jsx(Ue,{sx:{transformOrigin:"50% 50%",animation:"spinner-fade 1s linear infinite",animationDelay:`${-1+k/L}s`,transform:`rotate(${k*(360/L)}deg) translate(0, -130%)`,position:"absolute",top:"50%",left:"50%",width:g*m,height:g*$,borderRadius:R,bgcolor:f,"@keyframes spinner-fade":{"0%":{opacity:1},"100%":{opacity:0}}}},k))}),E=()=>T(12,.08,.24,"4px"),j=()=>T(8,.2,.2,"4px"),P=()=>T(12,.15,.15,"50%"),I=()=>{switch(n){case"anillo":return C();case"puntos":return O();case"pulso":return S();case"segmentos":return j();case"lineas":return E();case"puntos-circulo":return P();case"cuadricula":return x();default:return y()}},N=u.jsxs(Ue,{display:"inline-flex",flexDirection:a==="abajo"?"column":"row",alignItems:"center",justifyContent:"center",gap:1.5,children:[I(),r&&u.jsx(nt,{variant:"body2",color:"text.secondary",fontWeight:500,whiteSpace:"nowrap",children:r})]});return i?u.jsx(Ue,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",bgcolor:d.palette.mode==="dark"?"rgba(0,0,0,0.85)":"rgba(255, 255, 255, 0.9)",sx:{backdropFilter:"blur(5px)"},children:N}):N},Nm=hc,bc=({teclas:e,tamano:o="md",className:n="",children:r,...a})=>{const i=o==="sm"?"text-[10px] px-1.5 py-0.5":o==="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?u.jsx("span",{className:`inline-flex items-center gap-1 ${n}`,...a,children:e.map((l,c)=>u.jsx("kbd",{className:`${s} ${i}`,children:l},l+c))}):u.jsx("kbd",{className:`${s} ${i} ${n}`,...a,children:r})},Am=bc,Lm=st(u.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 Bm(e){return xe("MuiAvatar",e)}const Dm=Ce("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),zm=e=>{const{classes:o,variant:n,colorDefault:r}=e;return we({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Bm,o)},Fm=D("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],n.colorDefault&&o.colorDefault]}})(me(({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]})}}}]}))),Vm=D("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),_m=D(Lm,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function Wm({crossOrigin:e,referrerPolicy:o,src:n,srcSet:r}){const[a,i]=w.useState(!1);return w.useEffect(()=>{if(!n&&!r)return;i(!1);let s=!0;const l=new Image;return l.onload=()=>{s&&i("loaded")},l.onerror=()=>{s&&i("error")},l.crossOrigin=e,l.referrerPolicy=o,l.src=n,r&&(l.srcset=r),()=>{s=!1}},[e,o,n,r]),a}const Ti=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiAvatar"}),{alt:a,children:i,className:s,component:l="div",slots:c={},slotProps:d={},imgProps:p,sizes:g,src:b,srcSet:v,variant:h="circular",...f}=r;let y=null;const C={...r,component:l,variant:h},O=Wm({...p,...typeof d.img=="function"?d.img(C):d.img,src:b,srcSet:v}),S=b||v,x=S&&O!=="error";C.colorDefault=!x,delete C.ownerState;const T=zm(C),[E,j]=ge("root",{ref:n,className:re(T.root,s),elementType:Fm,externalForwardedProps:{slots:c,slotProps:d,component:l,...f},ownerState:C}),[P,I]=ge("img",{className:T.img,elementType:Vm,externalForwardedProps:{slots:c,slotProps:{img:{...p,...d.img}}},additionalProps:{alt:a,src:b,srcSet:v,sizes:g},ownerState:C}),[N,L]=ge("fallback",{className:T.fallback,elementType:_m,externalForwardedProps:{slots:c,slotProps:d},shouldForwardComponentProp:!0,ownerState:C});return x?y=u.jsx(P,{...I}):i||i===0?y=i:S&&a?y=a[0]:y=u.jsx(N,{...L}),u.jsx(E,{...j,children:y})});process.env.NODE_ENV!=="production"&&(Ti.propTypes={alt:t.string,children:t.node,classes:t.object,className:t.string,component:t.elementType,imgProps:t.object,sizes:t.string,slotProps:t.shape({fallback:t.oneOfType([t.func,t.object]),img:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({fallback:t.elementType,img:t.elementType,root:t.elementType}),src:t.string,srcSet:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["circular","rounded","square"]),t.string])});function Um(e){return xe("MuiAvatarGroup",e)}const Hm=Ce("MuiAvatarGroup",["root","avatar"]),Ia={small:-16,medium:-8},qm=e=>{const{classes:o}=e;return we({root:["root"],avatar:["avatar"]},Um,o)},Gm=D("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,o)=>[{[`& .${Hm.avatar}`]:o.avatar},o.root]})(me(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${Dm.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),yc=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiAvatarGroup"}),{children:a,className:i,component:s="div",componentsProps:l,max:c=5,renderSurplus:d,slotProps:p={},slots:g={},spacing:b="medium",total:v,variant:h="circular",...f}=r;let y=c<2?2:c;const C={...r,max:c,spacing:b,component:s,variant:h},O=qm(C),S=w.Children.toArray(a).filter(m=>(process.env.NODE_ENV!=="production"&&Co.isFragment(m)&&console.error(["MUI: The AvatarGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
155
- `)),w.isValidElement(m))),x=v||S.length;x===y&&(y+=1),y=Math.min(x+1,y);const T=Math.min(S.length,y-1),E=Math.max(x-y,x-T,0),j=d?d(E):`+${E}`;let P;C.spacing&&Ia[C.spacing]!==void 0?P=Ia[C.spacing]:C.spacing===0?P=0:P=-C.spacing||Ia.medium;const I={slots:g,slotProps:{surplus:p.additionalAvatar??l?.additionalAvatar,...l,...p}},[N,L]=ge("surplus",{elementType:Ti,externalForwardedProps:I,className:O.avatar,ownerState:C,additionalProps:{variant:h}});return u.jsxs(Gm,{as:s,ownerState:C,className:re(O.root,i),ref:n,...f,style:{"--AvatarGroup-spacing":`${P}px`,...f.style},children:[E?u.jsx(N,{...L,children:j}):null,S.slice(0,T).reverse().map(m=>w.cloneElement(m,{className:re(m.props.className,O.avatar),variant:m.props.variant||h}))]})});process.env.NODE_ENV!=="production"&&(yc.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,componentsProps:t.shape({additionalAvatar:t.object}),max:xt(t.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:t.func,slotProps:t.shape({additionalAvatar:t.object,surplus:t.oneOfType([t.func,t.object])}),slots:t.shape({surplus:t.elementType}),spacing:t.oneOfType([t.oneOf(["medium","small"]),t.number]),style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),total:t.number,variant:t.oneOfType([t.oneOf(["circular","rounded","square"]),t.string])});function Km(e){return xe("MuiSkeleton",e)}Ce("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const Ym=e=>{const{classes:o,variant:n,animation:r,hasChildren:a,width:i,height:s}=e;return we({root:["root",n,r,a&&"withChildren",a&&!i&&"fitContent",a&&!s&&"heightAuto"]},Km,o)},Za=le.keyframes`
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`
157
157
  0% {
158
158
  opacity: 1;
159
159
  }
@@ -165,7 +165,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
165
165
  100% {
166
166
  opacity: 1;
167
167
  }
168
- `,Ja=le.keyframes`
168
+ `,sn=re.keyframes`
169
169
  0% {
170
170
  transform: translateX(-100%);
171
171
  }
@@ -178,80 +178,20 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
178
178
  100% {
179
179
  transform: translateX(100%);
180
180
  }
181
- `,Xm=typeof Za!="string"?le.css`
182
- animation: ${Za} 2s ease-in-out 0.5s infinite;
183
- `:null,Zm=typeof Ja!="string"?le.css`
181
+ `,td=typeof an!="string"?re.css`
182
+ animation: ${an} 2s ease-in-out 0.5s infinite;
183
+ `:null,rd=typeof sn!="string"?re.css`
184
184
  &::after {
185
- animation: ${Ja} 2s linear 0.5s infinite;
185
+ animation: ${sn} 2s linear 0.5s infinite;
186
186
  }
187
- `:null,Jm=D("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],n.animation!==!1&&o[n.animation],n.hasChildren&&o.withChildren,n.hasChildren&&!n.width&&o.fitContent,n.hasChildren&&!n.height&&o.heightAuto]}})(me(({theme:e})=>{const o=fm(e.shape.borderRadius)||"px",n=mm(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:`${n}${o}/${Math.round(n/.6*10)/10}${o}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:r})=>r.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:r})=>r.hasChildren&&!r.width,style:{maxWidth:"fit-content"}},{props:({ownerState:r})=>r.hasChildren&&!r.height,style:{height:"auto"}},{props:{animation:"pulse"},style:Xm||{animation:`${Za} 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,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(
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:Zm||{"&::after":{animation:`${Ja} 2s linear 0.5s infinite`}}}]}})),Oi=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiSkeleton"}),{animation:a="pulse",className:i,component:s="span",height:l,style:c,variant:d="text",width:p,...g}=r,b={...r,animation:a,component:s,variant:d,hasChildren:!!g.children},v=Ym(b);return u.jsx(Jm,{as:s,ref:n,className:re(v.root,i),ownerState:b,...g,style:{width:p,height:l,...c}})});process.env.NODE_ENV!=="production"&&(Oi.propTypes={animation:t.oneOf(["pulse","wave",!1]),children:t.node,classes:t.object,className:t.string,component:t.elementType,height:t.oneOfType([t.number,t.string]),style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["circular","rectangular","rounded","text"]),t.string]),width:t.oneOfType([t.number,t.string])});const Qa=e=>typeof e=="number"?e:e&&{xs:24,sm:32,md:40,lg:48,xl:64,xxl:80}[e]||40,Qm=e=>{const o=Qa(e);return{width:o,height:o,fontSize:o/2}},eg=D(Xr)(({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}}})),vc=({tamano:e="md",variante:o="circular",estado:n,imagen:r,texto:a,cargando:i=!1,insignia:s,colorInsignia:l="error",sx:c,children:d,...p})=>{const g=C=>{switch(C){case"cuadrado":return"square";case"redondeado":return"rounded";default:return"circular"}},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"error"}},v=()=>{if(s)return s},h=()=>n&&!s?"dot":"standard",f=()=>{if(l&&s)return b(l)||"error";switch(n){case"conectado":return"#44b700";case"desconectado":return"#bdbdbd";case"ocupado":return"#f44336";case"ausente":return"#ff9800";default:return"transparent"}};if(i)return u.jsx(Oi,{variant:o==="circular"?"circular":"rectangular",width:Qa(e),height:Qa(e),animation:"wave"});const y=u.jsx(Ti,{variant:g(o),src:r,alt:a,sx:[Qm(e),...Array.isArray(c)?c:[c]],...p,children:d||(a?a.charAt(0).toUpperCase():null)});return!n&&!s?y:n==="conectado"&&!s?u.jsx(eg,{overlap:"circular",anchorOrigin:{vertical:"bottom",horizontal:"right"},variant:"dot",children:y}):u.jsx(Xr,{overlap:o==="circular"?"circular":"rectangular",anchorOrigin:{vertical:"bottom",horizontal:"right"},badgeContent:v(),variant:h(),sx:{"& .MuiBadge-badge":{backgroundColor:s?void 0:f(),color:s?void 0:f()}},color:s?b(l):void 0,children:y})},xc=({children:e,spacing:o="medium",maximo:n=5,...r})=>u.jsx(yc,{max:n,spacing:o,...r,children:e}),Cc=e=>{let o=0;for(let r=0;r<e.length;r+=1)o=e.charCodeAt(r)+((o<<5)-o);let n="#";for(let r=0;r<3;r+=1){const a=o>>r*8&255;n+=`00${a.toString(16)}`.slice(-2)}return{sx:{bgcolor:n},children:`${e.split(" ")[0][0]}${e.split(" ")[1]?.[0]||""}`}},tg=Cc,og=xc,ng=vc,Ei=({requisitos:e=[],className:o=""})=>{const[n,r]=Re.useState(!1),a=Re.useRef(null),i=Re.useId(),s=d=>{d.stopPropagation(),d.preventDefault(),r(!n)},l=()=>r(!0),c=()=>r(!1);return Re.useEffect(()=>{const d=p=>{n&&a.current&&!a.current.contains(p.target)&&r(!1)};return document.addEventListener("click",d),()=>{document.removeEventListener("click",d)}},[n]),u.jsxs("div",{ref:a,className:`relative inline-flex items-center ml-0.5 align-top ${o}`,onMouseEnter:l,onMouseLeave:c,children:[u.jsx("button",{type:"button",onClick:s,"aria-expanded":n,"aria-controls":i,"aria-label":"Ver requisitos",className:`
193
- group flex items-center justify-center
194
- text-red-500 dark:text-red-400
195
- font-bold text-lg leading-none
196
- cursor-help select-none
197
- transition-transform duration-200
198
- focus:outline-none focus:text-red-600 dark:focus:text-red-300
199
- ${n?"scale-110":"hover:scale-110"}
200
- `,children:"*"}),n&&u.jsxs("div",{id:i,className:`
201
- absolute bottom-full left-0 mb-1.5 z-[100]
202
- /* Responsive Width: Fijo en desktop, limitado al viewport en móvil */
203
- w-64 max-w-[85vw] sm:max-w-xs
204
- bg-white dark:bg-gray-800
205
- border border-gray-200 dark:border-gray-700
206
- rounded-lg shadow-xl
207
- animate-in fade-in zoom-in-95 slide-in-from-bottom-1 duration-150
208
- origin-bottom-left
209
- `,onClick:d=>d.stopPropagation(),children:[u.jsx("div",{className:"px-3 py-2 border-b border-gray-100 dark:border-gray-700/50 bg-gray-50/80 dark:bg-gray-800/80 rounded-t-lg backdrop-blur-sm",children:u.jsxs("h4",{className:"text-[10px] font-bold text-gray-500 dark:text-gray-400 uppercase tracking-wider flex items-center gap-1.5",children:[u.jsx("svg",{className:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:u.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),"Requisitos"]})}),u.jsx("ul",{className:"p-1.5 space-y-0.5",children:e.map((d,p)=>u.jsxs("li",{className:`
210
- flex items-start gap-2 px-2 py-1.5 rounded
211
- text-xs text-gray-600 dark:text-gray-300
212
- hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors
213
- `,children:[u.jsx("span",{className:"text-blue-500 dark:text-blue-400 mt-[2px]",children:"•"}),u.jsx("span",{className:"leading-snug",children:d})]},p))}),u.jsx("div",{className:"absolute -bottom-1 left-1.5 w-2 h-2 bg-white dark:bg-gray-800 border-b border-r border-gray-200 dark:border-gray-700 rotate-45"})]})]})},rg=Ei,wc=({para:e,texto:o,obligatorio:n,requisitos:r,className:a="",children:i,...s})=>u.jsxs("div",{className:`flex items-center gap-2 mb-1.5 ${a}`,...s,children:[u.jsx("label",{htmlFor:e,className:"text-sm font-medium text-gray-800 dark:text-gray-100 cursor-pointer select-none",children:o}),n&&(r&&r.length>0?u.jsx(Ei,{requisitos:r}):u.jsx("span",{className:"text-xs text-red-500 font-bold select-none",title:"Campo obligatorio",children:"*"})),i]}),ag=wc;function ig(e){const o=typeof e;switch(o){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 o}}function Sc(e,o,n,r){const a=e[o];if(a==null||!Number.isInteger(a)){const i=ig(a);return new RangeError(`Invalid ${r} \`${o}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Tc(e,o,n,r){return e[o]===void 0?null:Sc(e,o,n,r)}function ei(){return null}Tc.isRequired=Sc;ei.isRequired=ei;const ki=process.env.NODE_ENV==="production"?ei:Tc;function sg(e){return xe("MuiPaper",e)}Ce("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 lg=e=>{const{square:o,elevation:n,variant:r,classes:a}=e,i={root:["root",r,!o&&"rounded",r==="elevation"&&`elevation${n}`]};return we(i,sg,a)},cg=D("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],!n.square&&o.rounded,n.variant==="elevation"&&o[`elevation${n.elevation}`]]}})(me(({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:o})=>!o.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)"}}]}))),Oo=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiPaper"}),a=jt(),{className:i,component:s="div",elevation:l=1,square:c=!1,variant:d="elevation",...p}=r,g={...r,component:s,elevation:l,square:c,variant:d},b=lg(g);return process.env.NODE_ENV!=="production"&&a.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(`
214
- `)),u.jsx(cg,{as:s,ownerState:g,className:re(b.root,i),ref:n,...p,style:{...d==="elevation"&&{"--Paper-shadow":(a.vars||a).shadows[l],...a.vars&&{"--Paper-overlay":a.vars.overlays?.[l]},...!a.vars&&a.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${xr("#fff",Wa(l))}, ${xr("#fff",Wa(l))})`}},...p.style}})});process.env.NODE_ENV!=="production"&&(Oo.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,elevation:xt(ki,e=>{const{elevation:o,variant:n}=e;return o>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${o}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:t.bool,style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["elevation","outlined"]),t.string])});function dg(e){return xe("MuiCard",e)}Ce("MuiCard",["root"]);const pg=e=>{const{classes:o}=e;return we({root:["root"]},dg,o)},ug=D(Oo,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),Pi=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCard"}),{className:a,raised:i=!1,...s}=r,l={...r,raised:i},c=pg(l);return u.jsx(ug,{className:re(c.root,a),elevation:i?8:void 0,ref:n,ownerState:l,...s})});process.env.NODE_ENV!=="production"&&(Pi.propTypes={children:t.node,classes:t.object,className:t.string,raised:xt(t.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function fg(e){return xe("MuiCardActionArea",e)}const $a=Ce("MuiCardActionArea",["root","focusVisible","focusHighlight"]),mg=e=>{const{classes:o}=e;return we({root:["root"],focusHighlight:["focusHighlight"]},fg,o)},gg=D(lo,{name:"MuiCardActionArea",slot:"Root"})(me(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${$a.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${$a.focusVisible} .${$a.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),hg=D("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(me(({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})}))),Oc=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCardActionArea"}),{children:a,className:i,focusVisibleClassName:s,slots:l={},slotProps:c={},...d}=r,p=r,g=mg(p),b={slots:l,slotProps:c},[v,h]=ge("root",{elementType:gg,externalForwardedProps:{...b,...d},shouldForwardComponentProp:!0,ownerState:p,ref:n,className:re(g.root,i),additionalProps:{focusVisibleClassName:re(s,g.focusVisible)}}),[f,y]=ge("focusHighlight",{elementType:hg,externalForwardedProps:b,ownerState:p,ref:n,className:g.focusHighlight});return u.jsxs(v,{...h,children:[a,u.jsx(f,{...y})]})});process.env.NODE_ENV!=="production"&&(Oc.propTypes={children:t.node,classes:t.object,className:t.string,focusVisibleClassName:t.string,slotProps:t.shape({focusHighlight:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({focusHighlight:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function bg(e){return xe("MuiCardContent",e)}Ce("MuiCardContent",["root"]);const yg=e=>{const{classes:o}=e;return we({root:["root"]},bg,o)},vg=D("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),Ec=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCardContent"}),{className:a,component:i="div",...s}=r,l={...r,component:i},c=yg(l);return u.jsx(vg,{as:i,className:re(c.root,a),ownerState:l,ref:n,...s})});process.env.NODE_ENV!=="production"&&(Ec.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function xg(e){return xe("MuiCardMedia",e)}Ce("MuiCardMedia",["root","media","img"]);const Cg=e=>{const{classes:o,isMediaComponent:n,isImageComponent:r}=e;return we({root:["root",n&&"media",r&&"img"]},xg,o)},wg=D("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:a}=n;return[o.root,r&&o.media,a&&o.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Sg=["video","audio","picture","iframe","img"],Tg=["picture","img"],kc=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCardMedia"}),{children:a,className:i,component:s="div",image:l,src:c,style:d,...p}=r,g=Sg.includes(s),b=!g&&l?{backgroundImage:`url("${l}")`,...d}:d,v={...r,component:s,isMediaComponent:g,isImageComponent:Tg.includes(s)},h=Cg(v);return u.jsx(wg,{className:re(h.root,i),as:s,role:!g&&l?"img":void 0,ref:n,style:b,ownerState:v,src:g?l||c:void 0,...p,children:a})});process.env.NODE_ENV!=="production"&&(kc.propTypes={children:xt(t.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:t.object,className:t.string,component:t.elementType,image:t.string,src:t.string,style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const Pc=({variante:e="estandar",relleno:o="m",efectoHover:n,clicable:r,titulo:a,subtitulo:i,accionCabecera:s,multimedia:l,cabecera:c,pie:d,alHacerClick:p,className:g="",children:b,sx:v,...h})=>{const f=jt(),y=j=>j==="contorno"||j==="suave"?"outlined":"elevation",C=j=>{switch(j){case"ninguno":return 0;case"p":return 1.5;case"g":return 3;default:return 2}},O=r||!!p,S=O?Oc:Re.Fragment,x=O?{component:"div",onClick:p}:{},T=()=>e==="suave"?{backgroundColor:f.palette.mode==="dark"?le.alpha(f.palette.primary.main,.05):le.alpha(f.palette.primary.main,.03),borderColor:f.palette.mode==="dark"?le.alpha(f.palette.primary.main,.1):le.alpha(f.palette.primary.main,.08)}:e==="estandar"?{backgroundColor:f.palette.background.paper}:{},E=()=>c?u.jsx(Ue,{sx:{p:C(o),pb:0},children:c}):a?u.jsxs(Ue,{sx:{p:C(o),pb:0,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:1},children:[u.jsxs(Ue,{sx:{display:"flex",flexDirection:"column"},children:[u.jsx(nt,{variant:"h6",component:"div",sx:{fontWeight:600,lineHeight:1.2,fontSize:"1rem",color:f.palette.text.primary},children:a}),i&&u.jsx(nt,{variant:"body2",color:"text.secondary",sx:{mt:.5,fontSize:"0.875rem"},children:i})]}),s&&u.jsx(Ue,{sx:{mt:-.5,mr:-.5},children:s})]}):null;return u.jsx(Pi,{variant:y(e)==="outlined"?"outlined":void 0,elevation:e==="estandar"?2:0,className:g,sx:{display:"flex",flexDirection:"column",height:"100%",borderRadius:"12px",...T(),...n&&{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:f.shadows[8],...e!=="estandar"&&{borderColor:f.palette.primary.main}}},...v},...h,children:u.jsxs(S,{...x,children:[typeof l=="string"?u.jsx(kc,{component:"img",image:l,alt:"Multimedia",height:"180",sx:{objectFit:"cover"}}):l,E(),u.jsx(Ec,{sx:{p:C(o),flexGrow:1,"&:last-child":{pb:C(o)}},children:b}),d&&u.jsx(Ue,{sx:{p:C(o),pt:0,mt:"auto",borderTop:e==="contorno"?`1px solid ${f.palette.divider}`:"none",...e==="contorno"&&{pt:C(o)}},children:d})]})})},Og=Pc,Rc=({antetitulo:e,titulo:o,subtitulo:n,alineacion:r="left",etiquetaPrimaria:a,etiquetaSecundaria:i,alClickPrimario:s,alClickSecundario:l,alturaCompleta:c=!1,urlImagenFondo:d,capaOscura:p=!0,className:g="",children:b,...v})=>{const h=r==="center"?"text-center items-center":"text-left items-start",f=!!d;return u.jsxs("section",{className:`
215
- relative overflow-hidden
216
- border border-gray-200/80 dark:border-gray-700/80
217
- rounded-2xl
218
- px-6 py-10 md:px-10 md:py-14
219
- shadow-sm
220
- flex
221
- ${c?"min-h-[60vh]":""}
222
- ${f?"bg-cover bg-center":"bg-gradient-to-b from-white to-gray-50 dark:from-gray-900 dark:to-gray-950"}
223
- ${g}
224
- `,style:f?{backgroundImage:`url(${d})`}:void 0,...v,children:[f&&p&&u.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-[1px]"}),u.jsxs("div",{className:`
225
- relative z-10
226
- max-w-3xl mx-auto flex flex-col gap-6
227
- ${h}
228
- `,children:[e&&u.jsx("span",{className:"inline-flex items-center px-3 py-1 rounded-full text-xs font-medium bg-blue-50 text-blue-700 dark:bg-blue-900/60 dark:text-blue-100",children:e}),u.jsxs("div",{className:"space-y-3 md:space-y-4",children:[u.jsx("h1",{className:`
229
- text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight
230
- ${f?"text-white":"text-gray-900 dark:text-white"}
231
- `,children:o}),n&&u.jsx("p",{className:`
232
- text-base md:text-lg max-w-2xl
233
- ${f?"text-gray-100/90":"text-gray-600 dark:text-gray-300"}
234
- `,children:n})]}),(a||i)&&u.jsxs("div",{className:`
235
- flex flex-wrap gap-3 mt-2
236
- ${r==="center"?"justify-center":"justify-start"}
237
- `,children:[a&&s&&u.jsx("button",{type:"button",className:"inline-flex items-center justify-center px-4 py-2.5 text-sm font-semibold rounded-lg bg-blue-600 text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500",onClick:s,children:a}),i&&l&&u.jsx("button",{type:"button",className:`
238
- inline-flex items-center justify-center px-4 py-2.5 text-sm font-semibold rounded-lg border
239
- ${f?"border-white/60 text-white bg-white/5 hover:bg-white/10":"border-gray-300 text-gray-700 bg-white hover:bg-gray-50 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-100 dark:hover:bg-gray-700"}
240
- focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500
241
- `,onClick:l,children:i})]}),b]})]})},Eg=Rc,kg={info:"bg-blue-50 text-blue-800 border-blue-200 dark:bg-blue-900/30 dark:text-blue-100 dark:border-blue-800/60",success:"bg-emerald-50 text-emerald-800 border-emerald-200 dark:bg-emerald-900/30 dark:text-emerald-100 dark:border-emerald-800/60",warning:"bg-amber-50 text-amber-800 border-amber-200 dark:bg-amber-900/30 dark:text-amber-100 dark:border-amber-800/60",error:"bg-red-50 text-red-800 border-red-200 dark:bg-red-900/30 dark:text-red-100 dark:border-red-800/60",neutral:"bg-gray-50 text-gray-800 border-gray-200 dark:bg-gray-900/40 dark:text-gray-100 dark:border-gray-700"},Ic=({titulo:e,descripcion:o,variante:n="info",icono:r,cerrable:a=!1,abierto:i,alCerrar:s,anchoCompleto:l=!0,className:c="",children:d,...p})=>{const[g,b]=Re.useState(!0);if(!(i!==void 0?i:g))return null;const h=kg[n],f=r??(n==="success"?"✅":n==="warning"?"⚠️":n==="error"?"⛔":n==="neutral"?"💡":"ℹ️"),y=n==="error"||n==="warning"?"alert":"status",C=()=>{i===void 0&&b(!1),s&&s()};return u.jsx("div",{className:l?"w-full":"inline-flex",...p,children:u.jsxs("div",{className:`
242
- flex w-full items-start gap-3 border rounded-lg px-4 py-3
243
- shadow-sm ${h} ${c}
244
- `,role:y,children:[f&&u.jsx("div",{className:"mt-0.5 text-xl shrink-0","aria-hidden":"true",children:f}),u.jsxs("div",{className:"flex-1 min-w-0",children:[e&&u.jsx("p",{className:"text-sm font-semibold leading-5 truncate",children:e}),o&&u.jsx("p",{className:"mt-0.5 text-xs sm:text-sm leading-5",children:o}),d]}),a&&u.jsx("button",{type:"button",className:"shrink-0 p-1.5 rounded-md hover:bg-black/5 dark:hover:bg-white/10 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-blue-500",onClick:C,"aria-label":"Cerrar aviso",children:u.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:u.jsx("path",{fillRule:"evenodd",d:`M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414
245
- 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414
246
- 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586
247
- 10 4.293 5.707a1 1 0 010-1.414z`,clipRule:"evenodd"})})})]})})},Pg=Ic;function Rg(e){return xe("MuiAlert",e)}const Ws=Ce("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 Ig(e){return xe("MuiIconButton",e)}const Us=Ce("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),$g=e=>{const{classes:o,disabled:n,color:r,edge:a,size:i,loading:s}=e,l={root:["root",s&&"loading",n&&"disabled",r!=="default"&&`color${F(r)}`,a&&`edge${F(a)}`,`size${F(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return we(l,Ig,o)},jg=D(lo,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.loading&&o.loading,n.color!=="default"&&o[`color${F(n.color)}`],n.edge&&o[`edge${F(n.edge)}`],o[`size${F(n.size)}`]]}})(me(({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:o=>!o.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}}]})),me(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette[o].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)}}],[`&.${Us.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Us.loading}`]:{color:"transparent"}}))),Mg=D("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"}}]})),an=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiIconButton"}),{edge:a=!1,children:i,className:s,color:l="default",disabled:c=!1,disableFocusRipple:d=!1,size:p="medium",id:g,loading:b=null,loadingIndicator:v,...h}=r,f=uo(g),y=v??u.jsx(xo,{"aria-labelledby":f,color:"inherit",size:16}),C={...r,edge:a,color:l,disabled:c,disableFocusRipple:d,loading:b,loadingIndicator:y,size:p},O=$g(C);return u.jsxs(jg,{id:b?f:g,className:re(O.root,s),centerRipple:!0,focusRipple:!d,disabled:c||b,ref:n,...h,ownerState:C,children:[typeof b=="boolean"&&u.jsx("span",{className:O.loadingWrapper,style:{display:"contents"},children:u.jsx(Mg,{className:O.loadingIndicator,ownerState:C,children:b&&y})}),i]})});process.env.NODE_ENV!=="production"&&(an.propTypes={children:xt(t.node,e=>w.Children.toArray(e.children).some(n=>w.isValidElement(n)&&n.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(`
248
- `)):null),classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),t.string]),disabled:t.bool,disableFocusRipple:t.bool,disableRipple:t.bool,edge:t.oneOf(["end","start",!1]),id:t.string,loading:t.bool,loadingIndicator:t.node,size:t.oneOfType([t.oneOf(["small","medium","large"]),t.string]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const Ng=st(u.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"),Ag=st(u.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Lg=st(u.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"),Bg=st(u.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"),$c=st(u.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"),Dg=e=>{const{variant:o,color:n,severity:r,classes:a}=e,i={root:["root",`color${F(n||r)}`,`${o}${F(n||r)}`,`${o}`],icon:["icon"],message:["message"],action:["action"]};return we(i,Rg,a)},zg=D(Oo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${F(n.color||n.severity)}`]]}})(me(({theme:e})=>{const o=e.palette.mode==="light"?e.darken:e.lighten,n=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(qe(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:o(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Ws.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(qe(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:o(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Ws.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(qe(["dark"])).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)}}}))]}})),Fg=D("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Vg=D("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),_g=D("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Hs={success:u.jsx(Ng,{fontSize:"inherit"}),warning:u.jsx(Ag,{fontSize:"inherit"}),error:u.jsx(Lg,{fontSize:"inherit"}),info:u.jsx(Bg,{fontSize:"inherit"})},Ri=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiAlert"}),{action:a,children:i,className:s,closeText:l="Close",color:c,components:d={},componentsProps:p={},icon:g,iconMapping:b=Hs,onClose:v,role:h="alert",severity:f="success",slotProps:y={},slots:C={},variant:O="standard",...S}=r,x={...r,color:c,severity:f,variant:O,colorSeverity:c||f},T=Dg(x),E={slots:{closeButton:d.CloseButton,closeIcon:d.CloseIcon,...C},slotProps:{...p,...y}},[j,P]=ge("root",{ref:n,shouldForwardComponentProp:!0,className:re(T.root,s),elementType:zg,externalForwardedProps:{...E,...S},ownerState:x,additionalProps:{role:h,elevation:0}}),[I,N]=ge("icon",{className:T.icon,elementType:Fg,externalForwardedProps:E,ownerState:x}),[L,m]=ge("message",{className:T.message,elementType:Vg,externalForwardedProps:E,ownerState:x}),[$,R]=ge("action",{className:T.action,elementType:_g,externalForwardedProps:E,ownerState:x}),[M,k]=ge("closeButton",{elementType:an,externalForwardedProps:E,ownerState:x}),[z,V]=ge("closeIcon",{elementType:$c,externalForwardedProps:E,ownerState:x});return u.jsxs(j,{...P,children:[g!==!1?u.jsx(I,{...N,children:g||b[f]||Hs[f]}):null,u.jsx(L,{...m,children:i}),a!=null?u.jsx($,{...R,children:a}):null,a==null&&v?u.jsx($,{...R,children:u.jsx(M,{size:"small","aria-label":l,title:l,color:"inherit",onClick:v,...k,children:u.jsx(z,{fontSize:"small",...V})})}):null]})});process.env.NODE_ENV!=="production"&&(Ri.propTypes={action:t.node,children:t.node,classes:t.object,className:t.string,closeText:t.string,color:t.oneOfType([t.oneOf(["error","info","success","warning"]),t.string]),components:t.shape({CloseButton:t.elementType,CloseIcon:t.elementType}),componentsProps:t.shape({closeButton:t.object,closeIcon:t.object}),icon:t.node,iconMapping:t.shape({error:t.node,info:t.node,success:t.node,warning:t.node}),onClose:t.func,role:t.string,severity:t.oneOfType([t.oneOf(["error","info","success","warning"]),t.string]),slotProps:t.shape({action:t.oneOfType([t.func,t.object]),closeButton:t.oneOfType([t.func,t.object]),closeIcon:t.oneOfType([t.func,t.object]),icon:t.oneOfType([t.func,t.object]),message:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({action:t.elementType,closeButton:t.elementType,closeIcon:t.elementType,icon:t.elementType,message:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["filled","outlined","standard"]),t.string])});function Wg(e){return xe("MuiAlertTitle",e)}Ce("MuiAlertTitle",["root"]);const Ug=e=>{const{classes:o}=e;return we({root:["root"]},Wg,o)},Hg=D(nt,{name:"MuiAlertTitle",slot:"Root"})(me(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),Ii=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiAlertTitle"}),{className:a,...i}=r,s=r,l=Ug(s);return u.jsx(Hg,{gutterBottom:!0,component:"div",ownerState:s,ref:n,className:re(l.root,a),...i})});process.env.NODE_ENV!=="production"&&(Ii.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const jc=e=>e.scrollTop;function sn(e,o){const{timeout:n,easing:r,style:a={}}=e;return{duration:a.transitionDuration??(typeof n=="number"?n:n[o.mode]||0),easing:a.transitionTimingFunction??(typeof r=="object"?r[o.mode]:r),delay:a.transitionDelay}}function qg(e){return xe("MuiCollapse",e)}Ce("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Gg=e=>{const{orientation:o,classes:n}=e,r={root:["root",`${o}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${o}`],wrapperInner:["wrapperInner",`${o}`]};return we(r,qg,n)},Kg=D("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.orientation],n.state==="entered"&&o.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&o.hidden]}})(me(({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:o})=>o.state==="exited"&&!o.in&&o.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),Yg=D("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Xg=D("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Er=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCollapse"}),{addEndListener:a,children:i,className:s,collapsedSize:l="0px",component:c,easing:d,in:p,onEnter:g,onEntered:b,onEntering:v,onExit:h,onExited:f,onExiting:y,orientation:C="vertical",slots:O={},slotProps:S={},style:x,timeout:T=Yl.standard,TransitionComponent:E=Kt,...j}=r,P={...r,orientation:C,collapsedSize:l},I=Gg(P),N=jt(),L=vo(),m=w.useRef(null),$=w.useRef(),R=typeof l=="number"?`${l}px`:l,M=C==="horizontal",k=M?"width":"height",z=w.useRef(null),V=ot(n,z),W=pe=>ke=>{if(pe){const Ee=z.current;ke===void 0?pe(Ee):pe(Ee,ke)}},B=()=>m.current?m.current[M?"clientWidth":"clientHeight"]:0,A=W((pe,ke)=>{m.current&&M&&(m.current.style.position="absolute"),pe.style[k]=R,g&&g(pe,ke)}),Y=W((pe,ke)=>{const Ee=B();m.current&&M&&(m.current.style.position="");const{duration:ee,easing:De}=sn({style:x,timeout:T,easing:d},{mode:"enter"});if(T==="auto"){const Se=N.transitions.getAutoHeightDuration(Ee);pe.style.transitionDuration=`${Se}ms`,$.current=Se}else pe.style.transitionDuration=typeof ee=="string"?ee:`${ee}ms`;pe.style[k]=`${Ee}px`,pe.style.transitionTimingFunction=De,v&&v(pe,ke)}),Z=W((pe,ke)=>{pe.style[k]="auto",b&&b(pe,ke)}),oe=W(pe=>{pe.style[k]=`${B()}px`,h&&h(pe)}),K=W(f),U=W(pe=>{const ke=B(),{duration:Ee,easing:ee}=sn({style:x,timeout:T,easing:d},{mode:"exit"});if(T==="auto"){const De=N.transitions.getAutoHeightDuration(ke);pe.style.transitionDuration=`${De}ms`,$.current=De}else pe.style.transitionDuration=typeof Ee=="string"?Ee:`${Ee}ms`;pe.style[k]=R,pe.style.transitionTimingFunction=ee,y&&y(pe)}),ae=pe=>{T==="auto"&&L.start($.current||0,pe),a&&a(z.current,pe)},ce={slots:O,slotProps:S,component:c},[J,X]=ge("root",{ref:V,className:re(I.root,s),elementType:Kg,externalForwardedProps:ce,ownerState:P,additionalProps:{style:{[M?"minWidth":"minHeight"]:R,...x}}}),[de,_]=ge("wrapper",{ref:m,className:I.wrapper,elementType:Yg,externalForwardedProps:ce,ownerState:P}),[se,ie]=ge("wrapperInner",{className:I.wrapperInner,elementType:Xg,externalForwardedProps:ce,ownerState:P});return u.jsx(E,{in:p,onEnter:A,onEntered:Z,onEntering:Y,onExit:oe,onExited:K,onExiting:U,addEndListener:ae,nodeRef:z,timeout:T==="auto"?null:T,...j,children:(pe,{ownerState:ke,...Ee})=>{const ee={...P,state:pe};return u.jsx(J,{...X,className:re(X.className,{entered:I.entered,exited:!p&&R==="0px"&&I.hidden}[pe]),ownerState:ee,...Ee,children:u.jsx(de,{..._,ownerState:ee,children:u.jsx(se,{...ie,ownerState:ee,children:i})})})}})});process.env.NODE_ENV!=="production"&&(Er.propTypes={addEndListener:t.func,children:t.node,classes:t.object,className:t.string,collapsedSize:t.oneOfType([t.number,t.string]),component:Yn,easing:t.oneOfType([t.shape({enter:t.string,exit:t.string}),t.string]),in:t.bool,onEnter:t.func,onEntered:t.func,onEntering:t.func,onExit:t.func,onExited:t.func,onExiting:t.func,orientation:t.oneOf(["horizontal","vertical"]),slotProps:t.shape({root:t.oneOfType([t.func,t.object]),wrapper:t.oneOfType([t.func,t.object]),wrapperInner:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType,wrapper:t.elementType,wrapperInner:t.elementType}),style:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),timeout:t.oneOfType([t.oneOf(["auto"]),t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})])});Er&&(Er.muiSupportAuto=!0);const Mc=({variante:e="info",diseno:o="estandar",titulo:n,descripcion:r,cerrable:a=!1,abierto:i=!0,alCerrar:s,tiempoAutoCierre:l,accion:c,icono:d,className:p="",children:g,sx:b,...v})=>{const h=jt(),[f,y]=Re.useState(i);Re.useEffect(()=>{y(i)},[i]),Re.useEffect(()=>{if(l&&l>0&&f){const E=setTimeout(()=>{s&&s(),y(!1)},l);return()=>clearTimeout(E)}},[l,f,s]);const C=E=>{switch(E){case"peligro":return"error";case"exito":return"success";case"advertencia":return"warning";default:return"info"}},O=E=>{switch(E){case"lleno":return"filled";case"contorno":return"outlined";default:return"standard"}},S=()=>{if(o!=="suave")return{};const E=C(e),j=h.palette[E];if(!j)return{};const P=j.main;return{backgroundColor:le.alpha(P,.12),color:P,"& .MuiAlert-icon":{color:P},"& .MuiAlertTitle-root":{color:P}}},x=()=>{s&&s(),y(!1)},T=i!==void 0?i:f;return u.jsx(Er,{in:T,children:u.jsxs(Ri,{severity:C(e),variant:O(o),onClose:a||s?x:void 0,className:p,icon:d,action:c,sx:{borderRadius:"12px",mb:2,border:o==="contorno"?"1px solid":void 0,boxShadow:o==="lleno"?"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)":"0 1px 2px 0 rgba(0,0,0,0.05)",alignItems:"center",...S(),"& .MuiAlertTitle-root":{fontWeight:700,mb:r||g?.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:o==="suave"?1:.9},...b},...v,children:[n&&u.jsx(Ii,{children:n}),r&&u.jsx(Ue,{component:"div",sx:{opacity:.9},children:r}),g]})})},Zg=Mc;function Jg(e){const{prototype:o={}}=e;return!!o.isReactComponent}function Nc(e,o,n,r,a){const i=e[o],s=a||o;if(i==null||typeof window>"u")return null;let l;const c=i.type;return typeof c=="function"&&!Jg(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Fo=xt(t.element,Nc);Fo.isRequired=xt(t.element.isRequired,Nc);function Vo(e){return parseInt(w.version,10)>=19?e?.props?.ref||null:e?.ref||null}function ti(e){return`scale(${e}, ${e**2})`}const Qg={entering:{opacity:1,transform:ti(1)},entered:{opacity:1,transform:"none"}},ja=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ln=w.forwardRef(function(o,n){const{addEndListener:r,appear:a=!0,children:i,easing:s,in:l,onEnter:c,onEntered:d,onEntering:p,onExit:g,onExited:b,onExiting:v,style:h,timeout:f="auto",TransitionComponent:y=Kt,...C}=o,O=vo(),S=w.useRef(),x=jt(),T=w.useRef(null),E=ot(T,Vo(i),n),j=M=>k=>{if(M){const z=T.current;k===void 0?M(z):M(z,k)}},P=j(p),I=j((M,k)=>{jc(M);const{duration:z,delay:V,easing:W}=sn({style:h,timeout:f,easing:s},{mode:"enter"});let B;f==="auto"?(B=x.transitions.getAutoHeightDuration(M.clientHeight),S.current=B):B=z,M.style.transition=[x.transitions.create("opacity",{duration:B,delay:V}),x.transitions.create("transform",{duration:ja?B:B*.666,delay:V,easing:W})].join(","),c&&c(M,k)}),N=j(d),L=j(v),m=j(M=>{const{duration:k,delay:z,easing:V}=sn({style:h,timeout:f,easing:s},{mode:"exit"});let W;f==="auto"?(W=x.transitions.getAutoHeightDuration(M.clientHeight),S.current=W):W=k,M.style.transition=[x.transitions.create("opacity",{duration:W,delay:z}),x.transitions.create("transform",{duration:ja?W:W*.666,delay:ja?z:z||W*.333,easing:V})].join(","),M.style.opacity=0,M.style.transform=ti(.75),g&&g(M)}),$=j(b),R=M=>{f==="auto"&&O.start(S.current||0,M),r&&r(T.current,M)};return u.jsx(y,{appear:a,in:l,nodeRef:T,onEnter:I,onEntered:N,onEntering:P,onExit:m,onExited:$,onExiting:L,addEndListener:R,timeout:f==="auto"?null:f,...C,children:(M,{ownerState:k,...z})=>w.cloneElement(i,{style:{opacity:0,transform:ti(.75),visibility:M==="exited"&&!l?"hidden":void 0,...Qg[M],...h,...i.props.style},ref:E,...z})})});process.env.NODE_ENV!=="production"&&(ln.propTypes={addEndListener:t.func,appear:t.bool,children:Fo.isRequired,easing:t.oneOfType([t.shape({enter:t.string,exit:t.string}),t.string]),in:t.bool,onEnter:t.func,onEntered:t.func,onEntering:t.func,onExit:t.func,onExited:t.func,onExiting:t.func,style:t.object,timeout:t.oneOfType([t.oneOf(["auto"]),t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})])});ln&&(ln.muiSupportAuto=!0);function co(e,o,n,r,a){if(process.env.NODE_ENV==="production")return null;const i=e[o],s=a||o;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}var It="top",Ut="bottom",Ht="right",$t="left",$i="auto",Xn=[It,Ut,Ht,$t],cn="start",Vn="end",eh="clippingParents",Ac="viewport",Cn="popper",th="reference",qs=Xn.reduce(function(e,o){return e.concat([o+"-"+cn,o+"-"+Vn])},[]),Lc=[].concat(Xn,[$i]).reduce(function(e,o){return e.concat([o,o+"-"+cn,o+"-"+Vn])},[]),oh="beforeRead",nh="read",rh="afterRead",ah="beforeMain",ih="main",sh="afterMain",lh="beforeWrite",ch="write",dh="afterWrite",ph=[oh,nh,rh,ah,ih,sh,lh,ch,dh];function no(e){return e?(e.nodeName||"").toLowerCase():null}function Lt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var o=e.ownerDocument;return o&&o.defaultView||window}return e}function Do(e){var o=Lt(e).Element;return e instanceof o||e instanceof Element}function Vt(e){var o=Lt(e).HTMLElement;return e instanceof o||e instanceof HTMLElement}function ji(e){if(typeof ShadowRoot>"u")return!1;var o=Lt(e).ShadowRoot;return e instanceof o||e instanceof ShadowRoot}function uh(e){var o=e.state;Object.keys(o.elements).forEach(function(n){var r=o.styles[n]||{},a=o.attributes[n]||{},i=o.elements[n];!Vt(i)||!no(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(s){var l=a[s];l===!1?i.removeAttribute(s):i.setAttribute(s,l===!0?"":l)}))})}function fh(e){var o=e.state,n={popper:{position:o.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(o.elements.popper.style,n.popper),o.styles=n,o.elements.arrow&&Object.assign(o.elements.arrow.style,n.arrow),function(){Object.keys(o.elements).forEach(function(r){var a=o.elements[r],i=o.attributes[r]||{},s=Object.keys(o.styles.hasOwnProperty(r)?o.styles[r]:n[r]),l=s.reduce(function(c,d){return c[d]="",c},{});!Vt(a)||!no(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(c){a.removeAttribute(c)}))})}}const mh={name:"applyStyles",enabled:!0,phase:"write",fn:uh,effect:fh,requires:["computeStyles"]};function to(e){return e.split("-")[0]}var Bo=Math.max,kr=Math.min,dn=Math.round;function oi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(o){return o.brand+"/"+o.version}).join(" "):navigator.userAgent}function Bc(){return!/^((?!chrome|android).)*safari/i.test(oi())}function pn(e,o,n){o===void 0&&(o=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;o&&Vt(e)&&(a=e.offsetWidth>0&&dn(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&dn(r.height)/e.offsetHeight||1);var s=Do(e)?Lt(e):window,l=s.visualViewport,c=!Bc()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/a,p=(r.top+(c&&l?l.offsetTop:0))/i,g=r.width/a,b=r.height/i;return{width:g,height:b,top:p,right:d+g,bottom:p+b,left:d,x:d,y:p}}function Mi(e){var o=pn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(o.width-n)<=1&&(n=o.width),Math.abs(o.height-r)<=1&&(r=o.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Dc(e,o){var n=o.getRootNode&&o.getRootNode();if(e.contains(o))return!0;if(n&&ji(n)){var r=o;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function po(e){return Lt(e).getComputedStyle(e)}function gh(e){return["table","td","th"].indexOf(no(e))>=0}function Eo(e){return((Do(e)?e.ownerDocument:e.document)||window.document).documentElement}function Zr(e){return no(e)==="html"?e:e.assignedSlot||e.parentNode||(ji(e)?e.host:null)||Eo(e)}function Gs(e){return!Vt(e)||po(e).position==="fixed"?null:e.offsetParent}function hh(e){var o=/firefox/i.test(oi()),n=/Trident/i.test(oi());if(n&&Vt(e)){var r=po(e);if(r.position==="fixed")return null}var a=Zr(e);for(ji(a)&&(a=a.host);Vt(a)&&["html","body"].indexOf(no(a))<0;){var i=po(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||o&&i.willChange==="filter"||o&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function Zn(e){for(var o=Lt(e),n=Gs(e);n&&gh(n)&&po(n).position==="static";)n=Gs(n);return n&&(no(n)==="html"||no(n)==="body"&&po(n).position==="static")?o:n||hh(e)||o}function Ni(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ln(e,o,n){return Bo(e,kr(o,n))}function bh(e,o,n){var r=Ln(e,o,n);return r>n?n:r}function zc(){return{top:0,right:0,bottom:0,left:0}}function Fc(e){return Object.assign({},zc(),e)}function Vc(e,o){return o.reduce(function(n,r){return n[r]=e,n},{})}var yh=function(o,n){return o=typeof o=="function"?o(Object.assign({},n.rects,{placement:n.placement})):o,Fc(typeof o!="number"?o:Vc(o,Xn))};function vh(e){var o,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,l=to(n.placement),c=Ni(l),d=[$t,Ht].indexOf(l)>=0,p=d?"height":"width";if(!(!i||!s)){var g=yh(a.padding,n),b=Mi(i),v=c==="y"?It:$t,h=c==="y"?Ut:Ht,f=n.rects.reference[p]+n.rects.reference[c]-s[c]-n.rects.popper[p],y=s[c]-n.rects.reference[c],C=Zn(i),O=C?c==="y"?C.clientHeight||0:C.clientWidth||0:0,S=f/2-y/2,x=g[v],T=O-b[p]-g[h],E=O/2-b[p]/2+S,j=Ln(x,E,T),P=c;n.modifiersData[r]=(o={},o[P]=j,o.centerOffset=j-E,o)}}function xh(e){var o=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=o.elements.popper.querySelector(a),!a)||Dc(o.elements.popper,a)&&(o.elements.arrow=a))}const Ch={name:"arrow",enabled:!0,phase:"main",fn:vh,effect:xh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function un(e){return e.split("-")[1]}var wh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Sh(e,o){var n=e.x,r=e.y,a=o.devicePixelRatio||1;return{x:dn(n*a)/a||0,y:dn(r*a)/a||0}}function Ks(e){var o,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,g=e.isFixed,b=s.x,v=b===void 0?0:b,h=s.y,f=h===void 0?0:h,y=typeof p=="function"?p({x:v,y:f}):{x:v,y:f};v=y.x,f=y.y;var C=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),S=$t,x=It,T=window;if(d){var E=Zn(n),j="clientHeight",P="clientWidth";if(E===Lt(n)&&(E=Eo(n),po(E).position!=="static"&&l==="absolute"&&(j="scrollHeight",P="scrollWidth")),E=E,a===It||(a===$t||a===Ht)&&i===Vn){x=Ut;var I=g&&E===T&&T.visualViewport?T.visualViewport.height:E[j];f-=I-r.height,f*=c?1:-1}if(a===$t||(a===It||a===Ut)&&i===Vn){S=Ht;var N=g&&E===T&&T.visualViewport?T.visualViewport.width:E[P];v-=N-r.width,v*=c?1:-1}}var L=Object.assign({position:l},d&&wh),m=p===!0?Sh({x:v,y:f},Lt(n)):{x:v,y:f};if(v=m.x,f=m.y,c){var $;return Object.assign({},L,($={},$[x]=O?"0":"",$[S]=C?"0":"",$.transform=(T.devicePixelRatio||1)<=1?"translate("+v+"px, "+f+"px)":"translate3d("+v+"px, "+f+"px, 0)",$))}return Object.assign({},L,(o={},o[x]=O?f+"px":"",o[S]=C?v+"px":"",o.transform="",o))}function Th(e){var o=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:to(o.placement),variation:un(o.placement),popper:o.elements.popper,popperRect:o.rects.popper,gpuAcceleration:a,isFixed:o.options.strategy==="fixed"};o.modifiersData.popperOffsets!=null&&(o.styles.popper=Object.assign({},o.styles.popper,Ks(Object.assign({},d,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:s,roundOffsets:c})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,Ks(Object.assign({},d,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})}const Oh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Th,data:{}};var sr={passive:!0};function Eh(e){var o=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,s=r.resize,l=s===void 0?!0:s,c=Lt(o.elements.popper),d=[].concat(o.scrollParents.reference,o.scrollParents.popper);return i&&d.forEach(function(p){p.addEventListener("scroll",n.update,sr)}),l&&c.addEventListener("resize",n.update,sr),function(){i&&d.forEach(function(p){p.removeEventListener("scroll",n.update,sr)}),l&&c.removeEventListener("resize",n.update,sr)}}const kh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Eh,data:{}};var Ph={left:"right",right:"left",bottom:"top",top:"bottom"};function br(e){return e.replace(/left|right|bottom|top/g,function(o){return Ph[o]})}var Rh={start:"end",end:"start"};function Ys(e){return e.replace(/start|end/g,function(o){return Rh[o]})}function Ai(e){var o=Lt(e),n=o.pageXOffset,r=o.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Li(e){return pn(Eo(e)).left+Ai(e).scrollLeft}function Ih(e,o){var n=Lt(e),r=Eo(e),a=n.visualViewport,i=r.clientWidth,s=r.clientHeight,l=0,c=0;if(a){i=a.width,s=a.height;var d=Bc();(d||!d&&o==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:s,x:l+Li(e),y:c}}function $h(e){var o,n=Eo(e),r=Ai(e),a=(o=e.ownerDocument)==null?void 0:o.body,i=Bo(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=Bo(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+Li(e),c=-r.scrollTop;return po(a||n).direction==="rtl"&&(l+=Bo(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:l,y:c}}function Bi(e){var o=po(e),n=o.overflow,r=o.overflowX,a=o.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function _c(e){return["html","body","#document"].indexOf(no(e))>=0?e.ownerDocument.body:Vt(e)&&Bi(e)?e:_c(Zr(e))}function Bn(e,o){var n;o===void 0&&(o=[]);var r=_c(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=Lt(r),s=a?[i].concat(i.visualViewport||[],Bi(r)?r:[]):r,l=o.concat(s);return a?l:l.concat(Bn(Zr(s)))}function ni(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function jh(e,o){var n=pn(e,!1,o==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Xs(e,o,n){return o===Ac?ni(Ih(e,n)):Do(o)?jh(o,n):ni($h(Eo(e)))}function Mh(e){var o=Bn(Zr(e)),n=["absolute","fixed"].indexOf(po(e).position)>=0,r=n&&Vt(e)?Zn(e):e;return Do(r)?o.filter(function(a){return Do(a)&&Dc(a,r)&&no(a)!=="body"}):[]}function Nh(e,o,n,r){var a=o==="clippingParents"?Mh(e):[].concat(o),i=[].concat(a,[n]),s=i[0],l=i.reduce(function(c,d){var p=Xs(e,d,r);return c.top=Bo(p.top,c.top),c.right=kr(p.right,c.right),c.bottom=kr(p.bottom,c.bottom),c.left=Bo(p.left,c.left),c},Xs(e,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Wc(e){var o=e.reference,n=e.element,r=e.placement,a=r?to(r):null,i=r?un(r):null,s=o.x+o.width/2-n.width/2,l=o.y+o.height/2-n.height/2,c;switch(a){case It:c={x:s,y:o.y-n.height};break;case Ut:c={x:s,y:o.y+o.height};break;case Ht:c={x:o.x+o.width,y:l};break;case $t:c={x:o.x-n.width,y:l};break;default:c={x:o.x,y:o.y}}var d=a?Ni(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(i){case cn:c[d]=c[d]-(o[p]/2-n[p]/2);break;case Vn:c[d]=c[d]+(o[p]/2-n[p]/2);break}}return c}function _n(e,o){o===void 0&&(o={});var n=o,r=n.placement,a=r===void 0?e.placement:r,i=n.strategy,s=i===void 0?e.strategy:i,l=n.boundary,c=l===void 0?eh:l,d=n.rootBoundary,p=d===void 0?Ac:d,g=n.elementContext,b=g===void 0?Cn:g,v=n.altBoundary,h=v===void 0?!1:v,f=n.padding,y=f===void 0?0:f,C=Fc(typeof y!="number"?y:Vc(y,Xn)),O=b===Cn?th:Cn,S=e.rects.popper,x=e.elements[h?O:b],T=Nh(Do(x)?x:x.contextElement||Eo(e.elements.popper),c,p,s),E=pn(e.elements.reference),j=Wc({reference:E,element:S,placement:a}),P=ni(Object.assign({},S,j)),I=b===Cn?P:E,N={top:T.top-I.top+C.top,bottom:I.bottom-T.bottom+C.bottom,left:T.left-I.left+C.left,right:I.right-T.right+C.right},L=e.modifiersData.offset;if(b===Cn&&L){var m=L[a];Object.keys(N).forEach(function($){var R=[Ht,Ut].indexOf($)>=0?1:-1,M=[It,Ut].indexOf($)>=0?"y":"x";N[$]+=m[M]*R})}return N}function Ah(e,o){o===void 0&&(o={});var n=o,r=n.placement,a=n.boundary,i=n.rootBoundary,s=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?Lc:c,p=un(r),g=p?l?qs:qs.filter(function(h){return un(h)===p}):Xn,b=g.filter(function(h){return d.indexOf(h)>=0});b.length===0&&(b=g);var v=b.reduce(function(h,f){return h[f]=_n(e,{placement:f,boundary:a,rootBoundary:i,padding:s})[to(f)],h},{});return Object.keys(v).sort(function(h,f){return v[h]-v[f]})}function Lh(e){if(to(e)===$i)return[];var o=br(e);return[Ys(e),o,Ys(o)]}function Bh(e){var o=e.state,n=e.options,r=e.name;if(!o.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,s=n.altAxis,l=s===void 0?!0:s,c=n.fallbackPlacements,d=n.padding,p=n.boundary,g=n.rootBoundary,b=n.altBoundary,v=n.flipVariations,h=v===void 0?!0:v,f=n.allowedAutoPlacements,y=o.options.placement,C=to(y),O=C===y,S=c||(O||!h?[br(y)]:Lh(y)),x=[y].concat(S).reduce(function(oe,K){return oe.concat(to(K)===$i?Ah(o,{placement:K,boundary:p,rootBoundary:g,padding:d,flipVariations:h,allowedAutoPlacements:f}):K)},[]),T=o.rects.reference,E=o.rects.popper,j=new Map,P=!0,I=x[0],N=0;N<x.length;N++){var L=x[N],m=to(L),$=un(L)===cn,R=[It,Ut].indexOf(m)>=0,M=R?"width":"height",k=_n(o,{placement:L,boundary:p,rootBoundary:g,altBoundary:b,padding:d}),z=R?$?Ht:$t:$?Ut:It;T[M]>E[M]&&(z=br(z));var V=br(z),W=[];if(i&&W.push(k[m]<=0),l&&W.push(k[z]<=0,k[V]<=0),W.every(function(oe){return oe})){I=L,P=!1;break}j.set(L,W)}if(P)for(var B=h?3:1,A=function(K){var U=x.find(function(ae){var ce=j.get(ae);if(ce)return ce.slice(0,K).every(function(J){return J})});if(U)return I=U,"break"},Y=B;Y>0;Y--){var Z=A(Y);if(Z==="break")break}o.placement!==I&&(o.modifiersData[r]._skip=!0,o.placement=I,o.reset=!0)}}const Dh={name:"flip",enabled:!0,phase:"main",fn:Bh,requiresIfExists:["offset"],data:{_skip:!1}};function Zs(e,o,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-o.height-n.y,right:e.right-o.width+n.x,bottom:e.bottom-o.height+n.y,left:e.left-o.width-n.x}}function Js(e){return[It,Ht,Ut,$t].some(function(o){return e[o]>=0})}function zh(e){var o=e.state,n=e.name,r=o.rects.reference,a=o.rects.popper,i=o.modifiersData.preventOverflow,s=_n(o,{elementContext:"reference"}),l=_n(o,{altBoundary:!0}),c=Zs(s,r),d=Zs(l,a,i),p=Js(c),g=Js(d);o.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:g},o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}const Fh={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:zh};function Vh(e,o,n){var r=to(e),a=[$t,It].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},o,{placement:e})):n,s=i[0],l=i[1];return s=s||0,l=(l||0)*a,[$t,Ht].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function _h(e){var o=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,s=Lc.reduce(function(p,g){return p[g]=Vh(g,o.rects,i),p},{}),l=s[o.placement],c=l.x,d=l.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=c,o.modifiersData.popperOffsets.y+=d),o.modifiersData[r]=s}const Wh={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:_h};function Uh(e){var o=e.state,n=e.name;o.modifiersData[n]=Wc({reference:o.rects.reference,element:o.rects.popper,placement:o.placement})}const Hh={name:"popperOffsets",enabled:!0,phase:"read",fn:Uh,data:{}};function qh(e){return e==="x"?"y":"x"}function Gh(e){var o=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,s=n.altAxis,l=s===void 0?!1:s,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,g=n.padding,b=n.tether,v=b===void 0?!0:b,h=n.tetherOffset,f=h===void 0?0:h,y=_n(o,{boundary:c,rootBoundary:d,padding:g,altBoundary:p}),C=to(o.placement),O=un(o.placement),S=!O,x=Ni(C),T=qh(x),E=o.modifiersData.popperOffsets,j=o.rects.reference,P=o.rects.popper,I=typeof f=="function"?f(Object.assign({},o.rects,{placement:o.placement})):f,N=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),L=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,m={x:0,y:0};if(E){if(i){var $,R=x==="y"?It:$t,M=x==="y"?Ut:Ht,k=x==="y"?"height":"width",z=E[x],V=z+y[R],W=z-y[M],B=v?-P[k]/2:0,A=O===cn?j[k]:P[k],Y=O===cn?-P[k]:-j[k],Z=o.elements.arrow,oe=v&&Z?Mi(Z):{width:0,height:0},K=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:zc(),U=K[R],ae=K[M],ce=Ln(0,j[k],oe[k]),J=S?j[k]/2-B-ce-U-N.mainAxis:A-ce-U-N.mainAxis,X=S?-j[k]/2+B+ce+ae+N.mainAxis:Y+ce+ae+N.mainAxis,de=o.elements.arrow&&Zn(o.elements.arrow),_=de?x==="y"?de.clientTop||0:de.clientLeft||0:0,se=($=L?.[x])!=null?$:0,ie=z+J-se-_,pe=z+X-se,ke=Ln(v?kr(V,ie):V,z,v?Bo(W,pe):W);E[x]=ke,m[x]=ke-z}if(l){var Ee,ee=x==="x"?It:$t,De=x==="x"?Ut:Ht,Se=E[T],he=T==="y"?"height":"width",ne=Se+y[ee],ze=Se-y[De],Me=[It,$t].indexOf(C)!==-1,te=(Ee=L?.[T])!=null?Ee:0,Q=Me?ne:Se-j[he]-P[he]-te+N.altAxis,be=Me?Se+j[he]+P[he]-te-N.altAxis:ze,Oe=v&&Me?bh(Q,Se,be):Ln(v?Q:ne,Se,v?be:ze);E[T]=Oe,m[T]=Oe-Se}o.modifiersData[r]=m}}const Kh={name:"preventOverflow",enabled:!0,phase:"main",fn:Gh,requiresIfExists:["offset"]};function Yh(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Xh(e){return e===Lt(e)||!Vt(e)?Ai(e):Yh(e)}function Zh(e){var o=e.getBoundingClientRect(),n=dn(o.width)/e.offsetWidth||1,r=dn(o.height)/e.offsetHeight||1;return n!==1||r!==1}function Jh(e,o,n){n===void 0&&(n=!1);var r=Vt(o),a=Vt(o)&&Zh(o),i=Eo(o),s=pn(e,a,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((no(o)!=="body"||Bi(i))&&(l=Xh(o)),Vt(o)?(c=pn(o,!0),c.x+=o.clientLeft,c.y+=o.clientTop):i&&(c.x=Li(i))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Qh(e){var o=new Map,n=new Set,r=[];e.forEach(function(i){o.set(i.name,i)});function a(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(l){if(!n.has(l)){var c=o.get(l);c&&a(c)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function eb(e){var o=Qh(e);return ph.reduce(function(n,r){return n.concat(o.filter(function(a){return a.phase===r}))},[])}function tb(e){var o;return function(){return o||(o=new Promise(function(n){Promise.resolve().then(function(){o=void 0,n(e())})})),o}}function ob(e){var o=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(o).map(function(n){return o[n]})}var Qs={placement:"bottom",modifiers:[],strategy:"absolute"};function el(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return!o.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function nb(e){e===void 0&&(e={});var o=e,n=o.defaultModifiers,r=n===void 0?[]:n,a=o.defaultOptions,i=a===void 0?Qs:a;return function(l,c,d){d===void 0&&(d=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qs,i),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},g=[],b=!1,v={state:p,setOptions:function(C){var O=typeof C=="function"?C(p.options):C;f(),p.options=Object.assign({},i,p.options,O),p.scrollParents={reference:Do(l)?Bn(l):l.contextElement?Bn(l.contextElement):[],popper:Bn(c)};var S=eb(ob([].concat(r,p.options.modifiers)));return p.orderedModifiers=S.filter(function(x){return x.enabled}),h(),v.update()},forceUpdate:function(){if(!b){var C=p.elements,O=C.reference,S=C.popper;if(el(O,S)){p.rects={reference:Jh(O,Zn(S),p.options.strategy==="fixed"),popper:Mi(S)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(N){return p.modifiersData[N.name]=Object.assign({},N.data)});for(var x=0;x<p.orderedModifiers.length;x++){if(p.reset===!0){p.reset=!1,x=-1;continue}var T=p.orderedModifiers[x],E=T.fn,j=T.options,P=j===void 0?{}:j,I=T.name;typeof E=="function"&&(p=E({state:p,options:P,name:I,instance:v})||p)}}}},update:tb(function(){return new Promise(function(y){v.forceUpdate(),y(p)})}),destroy:function(){f(),b=!0}};if(!el(l,c))return v;v.setOptions(d).then(function(y){!b&&d.onFirstUpdate&&d.onFirstUpdate(y)});function h(){p.orderedModifiers.forEach(function(y){var C=y.name,O=y.options,S=O===void 0?{}:O,x=y.effect;if(typeof x=="function"){var T=x({state:p,name:C,instance:v,options:S}),E=function(){};g.push(T||E)}})}function f(){g.forEach(function(y){return y()}),g=[]}return v}}var rb=[kh,Hh,Oh,mh,Wh,Dh,Kh,Ch,Fh],ab=nb({defaultModifiers:rb});function Zt(e){const{elementType:o,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:a=!1,...i}=e,s=a?{}:fc(n,r),{props:l,internalRef:c}=mc({...i,externalSlotProps:s}),d=ot(c,s?.ref,e.additionalProps?.ref);return uc(o,{...l,ref:d},r)}function ib(e){return typeof e=="function"?e():e}const Wn=w.forwardRef(function(o,n){const{children:r,container:a,disablePortal:i=!1}=o,[s,l]=w.useState(null),c=ot(w.isValidElement(r)?Vo(r):null,n);if(Wt(()=>{i||l(ib(a)||document.body)},[a,i]),Wt(()=>{if(s&&!i)return Ua(n,s),()=>{Ua(n,null)}},[n,s,i]),i){if(w.isValidElement(r)){const d={ref:c};return w.cloneElement(r,d)}return r}return s&&Kd.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(Wn.propTypes={children:t.node,container:t.oneOfType([co,t.func]),disablePortal:t.bool});process.env.NODE_ENV!=="production"&&(Wn.propTypes=gi(Wn.propTypes));function sb(e){return xe("MuiPopper",e)}Ce("MuiPopper",["root"]);function lb(e,o){if(o==="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 Pr(e){return typeof e=="function"?e():e}function Jr(e){return e.nodeType!==void 0}function cb(e){return!Jr(e)}const db=e=>{const{classes:o}=e;return we({root:["root"]},sb,o)},pb={},ub=w.forwardRef(function(o,n){const{anchorEl:r,children:a,direction:i,disablePortal:s,modifiers:l,open:c,placement:d,popperOptions:p,popperRef:g,slotProps:b={},slots:v={},TransitionProps:h,ownerState:f,...y}=o,C=w.useRef(null),O=ot(C,n),S=w.useRef(null),x=ot(S,g),T=w.useRef(x);Wt(()=>{T.current=x},[x]),w.useImperativeHandle(g,()=>S.current,[]);const E=lb(d,i),[j,P]=w.useState(E),[I,N]=w.useState(Pr(r));w.useEffect(()=>{S.current&&S.current.forceUpdate()}),w.useEffect(()=>{r&&N(Pr(r))},[r]),Wt(()=>{if(!I||!c)return;const M=V=>{P(V.placement)};if(process.env.NODE_ENV!=="production"&&I&&Jr(I)&&I.nodeType===1){const V=I.getBoundingClientRect();process.env.NODE_ENV!=="test"&&V.top===0&&V.left===0&&V.right===0&&V.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(`
249
- `))}let k=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:V})=>{M(V)}}];l!=null&&(k=k.concat(l)),p&&p.modifiers!=null&&(k=k.concat(p.modifiers));const z=ab(I,C.current,{placement:E,...p,modifiers:k});return T.current(z),()=>{z.destroy(),T.current(null)}},[I,s,l,c,p,E]);const L={placement:j};h!==null&&(L.TransitionProps=h);const m=db(o),$=v.root??"div",R=Zt({elementType:$,externalSlotProps:b.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:O},ownerState:o,className:m.root});return u.jsx($,{...R,children:typeof a=="function"?a(L):a})}),Uc=w.forwardRef(function(o,n){const{anchorEl:r,children:a,container:i,direction:s="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:d,open:p,placement:g="bottom",popperOptions:b=pb,popperRef:v,style:h,transition:f=!1,slotProps:y={},slots:C={},...O}=o,[S,x]=w.useState(!0),T=()=>{x(!1)},E=()=>{x(!0)};if(!c&&!p&&(!f||S))return null;let j;if(i)j=i;else if(r){const N=Pr(r);j=N&&Jr(N)?mt(N).body:mt(null).body}const P=!p&&c&&(!f||S)?"none":void 0,I=f?{in:p,onEnter:T,onExited:E}:void 0;return u.jsx(Wn,{disablePortal:l,container:j,children:u.jsx(ub,{anchorEl:r,direction:s,disablePortal:l,modifiers:d,ref:n,open:f?!S:p,placement:g,popperOptions:b,popperRef:v,slotProps:y,slots:C,...O,style:{position:"fixed",top:0,left:0,display:P,...h},TransitionProps:I,children:a})})});process.env.NODE_ENV!=="production"&&(Uc.propTypes={anchorEl:xt(t.oneOfType([co,t.object,t.func]),e=>{if(e.open){const o=Pr(e.anchorEl);if(o&&Jr(o)&&o.nodeType===1){const n=o.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.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(`
250
- `))}else if(!o||typeof o.getBoundingClientRect!="function"||cb(o)&&o.contextElement!=null&&o.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(`
251
- `))}return null}),children:t.oneOfType([t.node,t.func]),container:t.oneOfType([co,t.func]),direction:t.oneOf(["ltr","rtl"]),disablePortal:t.bool,keepMounted:t.bool,modifiers:t.arrayOf(t.shape({data:t.object,effect:t.func,enabled:t.bool,fn:t.func,name:t.any,options:t.object,phase:t.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:t.arrayOf(t.string),requiresIfExists:t.arrayOf(t.string)})),open:t.bool.isRequired,placement:t.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:t.shape({modifiers:t.array,onFirstUpdate:t.func,placement:t.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:t.oneOf(["absolute","fixed"])}),popperRef:Pt,slotProps:t.shape({root:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType}),transition:t.bool});const fb=D(Uc,{name:"MuiPopper",slot:"Root"})({}),Jn=w.forwardRef(function(o,n){const r=mn(),a=Te({props:o,name:"MuiPopper"}),{anchorEl:i,component:s,components:l,componentsProps:c,container:d,disablePortal:p,keepMounted:g,modifiers:b,open:v,placement:h,popperOptions:f,popperRef:y,transition:C,slots:O,slotProps:S,...x}=a,T=O?.root??l?.Root,E={anchorEl:i,container:d,disablePortal:p,keepMounted:g,modifiers:b,open:v,placement:h,popperOptions:f,popperRef:y,transition:C,...x};return u.jsx(fb,{as:s,direction:r?"rtl":"ltr",slots:{root:T},slotProps:S??c,...E,ref:n})});process.env.NODE_ENV!=="production"&&(Jn.propTypes={anchorEl:t.oneOfType([co,t.object,t.func]),children:t.oneOfType([t.node,t.func]),component:t.elementType,components:t.shape({Root:t.elementType}),componentsProps:t.shape({root:t.oneOfType([t.func,t.object])}),container:t.oneOfType([co,t.func]),disablePortal:t.bool,keepMounted:t.bool,modifiers:t.arrayOf(t.shape({data:t.object,effect:t.func,enabled:t.bool,fn:t.func,name:t.any,options:t.object,phase:t.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:t.arrayOf(t.string),requiresIfExists:t.arrayOf(t.string)})),open:t.bool.isRequired,placement:t.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:t.shape({modifiers:t.array,onFirstUpdate:t.func,placement:t.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:t.oneOf(["absolute","fixed"])}),popperRef:Pt,slotProps:t.shape({root:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),transition:t.bool});function mb(e){return xe("MuiTooltip",e)}const Ye=Ce("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function gb(e){return Math.round(e*1e5)/1e5}const hb=e=>{const{classes:o,disableInteractive:n,arrow:r,touch:a,placement:i}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",a&&"touch",`tooltipPlacement${F(i.split("-")[0])}`],arrow:["arrow"]};return we(s,mb,o)},bb=D(Jn,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.popper,!n.disableInteractive&&o.popperInteractive,n.arrow&&o.popperArrow,!n.open&&o.popperClose]}})(me(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:o})=>!o.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:o})=>!o,style:{pointerEvents:"none"}},{props:({ownerState:o})=>o.arrow,style:{[`&[data-popper-placement*="bottom"] .${Ye.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Ye.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Ye.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Ye.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:o})=>o.arrow&&!o.isRtl,style:{[`&[data-popper-placement*="right"] .${Ye.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:o})=>o.arrow&&!!o.isRtl,style:{[`&[data-popper-placement*="right"] .${Ye.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:o})=>o.arrow&&!o.isRtl,style:{[`&[data-popper-placement*="left"] .${Ye.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:o})=>o.arrow&&!!o.isRtl,style:{[`&[data-popper-placement*="left"] .${Ye.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),yb=D("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.tooltip,n.touch&&o.touch,n.arrow&&o.tooltipArrow,o[`tooltipPlacement${F(n.placement.split("-")[0])}`]]}})(me(({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,[`.${Ye.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Ye.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Ye.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Ye.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:o})=>o.arrow,style:{position:"relative",margin:0}},{props:({ownerState:o})=>o.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${gb(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:o})=>!o.isRtl,style:{[`.${Ye.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Ye.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:o})=>!o.isRtl&&o.touch,style:{[`.${Ye.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Ye.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:o})=>!!o.isRtl,style:{[`.${Ye.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Ye.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:o})=>!!o.isRtl&&o.touch,style:{[`.${Ye.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Ye.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:o})=>o.touch,style:{[`.${Ye.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:o})=>o.touch,style:{[`.${Ye.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),vb=D("span",{name:"MuiTooltip",slot:"Arrow"})(me(({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 tl=new Yr;let wn={x:0,y:0};function cr(e,o){return(n,...r)=>{o&&o(n,...r),e(n,...r)}}const Qn=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiTooltip"}),{arrow:a=!1,children:i,classes:s,components:l={},componentsProps:c={},describeChild:d=!1,disableFocusListener:p=!1,disableHoverListener:g=!1,disableInteractive:b=!1,disableTouchListener:v=!1,enterDelay:h=100,enterNextDelay:f=0,enterTouchDelay:y=700,followCursor:C=!1,id:O,leaveDelay:S=0,leaveTouchDelay:x=1500,onClose:T,onOpen:E,open:j,placement:P="bottom",PopperComponent:I,PopperProps:N={},slotProps:L={},slots:m={},title:$,TransitionComponent:R,TransitionProps:M,...k}=r,z=w.isValidElement(i)?i:u.jsx("span",{children:i}),V=jt(),W=mn(),[B,A]=w.useState(),[Y,Z]=w.useState(null),oe=w.useRef(!1),K=b||C,U=vo(),ae=vo(),ce=vo(),J=vo(),[X,de]=Qt({controlled:j,default:!1,name:"Tooltip",state:"open"});let _=X;if(process.env.NODE_ENV!=="production"){const{current:je}=w.useRef(j!==void 0);w.useEffect(()=>{B&&B.disabled&&!je&&$!==""&&B.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(`
252
- `))},[$,B,je])}const se=uo(O),ie=w.useRef(),pe=bt(()=>{ie.current!==void 0&&(document.body.style.WebkitUserSelect=ie.current,ie.current=void 0),J.clear()});w.useEffect(()=>pe,[pe]);const ke=je=>{tl.clear(),lr=!0,de(!0),E&&!_&&E(je)},Ee=bt(je=>{tl.start(800+S,()=>{lr=!1}),de(!1),T&&_&&T(je),U.start(V.transitions.duration.shortest,()=>{oe.current=!1})}),ee=je=>{oe.current&&je.type!=="touchstart"||(B&&B.removeAttribute("title"),ae.clear(),ce.clear(),h||lr&&f?ae.start(lr?f:h,()=>{ke(je)}):ke(je))},De=je=>{ae.clear(),ce.start(S,()=>{Ee(je)})},[,Se]=w.useState(!1),he=je=>{So(je.target)||(Se(!1),De(je))},ne=je=>{B||A(je.currentTarget),So(je.target)&&(Se(!0),ee(je))},ze=je=>{oe.current=!0;const St=z.props;St.onTouchStart&&St.onTouchStart(je)},Me=je=>{ze(je),ce.clear(),U.clear(),pe(),ie.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",J.start(y,()=>{document.body.style.WebkitUserSelect=ie.current,ee(je)})},te=je=>{z.props.onTouchEnd&&z.props.onTouchEnd(je),pe(),ce.start(x,()=>{Ee(je)})};w.useEffect(()=>{if(!_)return;function je(St){St.key==="Escape"&&Ee(St)}return document.addEventListener("keydown",je),()=>{document.removeEventListener("keydown",je)}},[Ee,_]);const Q=ot(Vo(z),A,n);!$&&$!==0&&(_=!1);const be=w.useRef(),Oe=je=>{const St=z.props;St.onMouseMove&&St.onMouseMove(je),wn={x:je.clientX,y:je.clientY},be.current&&be.current.update()},Pe={},ve=typeof $=="string";d?(Pe.title=!_&&ve&&!g?$:null,Pe["aria-describedby"]=_?se:null):(Pe["aria-label"]=ve?$:null,Pe["aria-labelledby"]=_&&!ve?se:null);const ue={...Pe,...k,...z.props,className:re(k.className,z.props.className),onTouchStart:ze,ref:Q,...C?{onMouseMove:Oe}:{}};process.env.NODE_ENV!=="production"&&(ue["data-mui-internal-clone-element"]=!0,w.useEffect(()=>{B&&!B.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(`
253
- `))},[B]));const Ve={};v||(ue.onTouchStart=Me,ue.onTouchEnd=te),g||(ue.onMouseOver=cr(ee,ue.onMouseOver),ue.onMouseLeave=cr(De,ue.onMouseLeave),K||(Ve.onMouseOver=ee,Ve.onMouseLeave=De)),p||(ue.onFocus=cr(ne,ue.onFocus),ue.onBlur=cr(he,ue.onBlur),K||(Ve.onFocus=ne,Ve.onBlur=he)),process.env.NODE_ENV!=="production"&&z.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${z.props.title}\` or the Tooltip component.`].join(`
254
- `));const Ne={...r,isRtl:W,arrow:a,disableInteractive:K,placement:P,PopperComponentProp:I,touch:oe.current},We=typeof L.popper=="function"?L.popper(Ne):L.popper,Ot=w.useMemo(()=>{let je=[{name:"arrow",enabled:!!Y,options:{element:Y,padding:4}}];return N.popperOptions?.modifiers&&(je=je.concat(N.popperOptions.modifiers)),We?.popperOptions?.modifiers&&(je=je.concat(We.popperOptions.modifiers)),{...N.popperOptions,...We?.popperOptions,modifiers:je}},[Y,N.popperOptions,We?.popperOptions]),vt=hb(Ne),ut=typeof L.transition=="function"?L.transition(Ne):L.transition,ye={slots:{popper:l.Popper,transition:l.Transition??R,tooltip:l.Tooltip,arrow:l.Arrow,...m},slotProps:{arrow:L.arrow??c.arrow,popper:{...N,...We??c.popper},tooltip:L.tooltip??c.tooltip,transition:{...M,...ut??c.transition}}},[Ae,Xe]=ge("popper",{elementType:bb,externalForwardedProps:ye,ownerState:Ne,className:re(vt.popper,N?.className)}),[gt,_e]=ge("transition",{elementType:ln,externalForwardedProps:ye,ownerState:Ne}),[tt,Et]=ge("tooltip",{elementType:yb,className:vt.tooltip,externalForwardedProps:ye,ownerState:Ne}),[wt,ft]=ge("arrow",{elementType:vb,className:vt.arrow,externalForwardedProps:ye,ownerState:Ne,ref:Z});return u.jsxs(w.Fragment,{children:[w.cloneElement(z,ue),u.jsx(Ae,{as:I??Jn,placement:P,anchorEl:C?{getBoundingClientRect:()=>({top:wn.y,left:wn.x,right:wn.x,bottom:wn.y,width:0,height:0})}:B,popperRef:be,open:B?_:!1,id:se,transition:!0,...Ve,...Xe,popperOptions:Ot,children:({TransitionProps:je})=>u.jsx(gt,{timeout:V.transitions.duration.shorter,...je,..._e,children:u.jsxs(tt,{...Et,children:[$,a?u.jsx(wt,{...ft}):null]})})})]})});process.env.NODE_ENV!=="production"&&(Qn.propTypes={arrow:t.bool,children:Fo.isRequired,classes:t.object,className:t.string,components:t.shape({Arrow:t.elementType,Popper:t.elementType,Tooltip:t.elementType,Transition:t.elementType}),componentsProps:t.shape({arrow:t.object,popper:t.object,tooltip:t.object,transition:t.object}),describeChild:t.bool,disableFocusListener:t.bool,disableHoverListener:t.bool,disableInteractive:t.bool,disableTouchListener:t.bool,enterDelay:t.number,enterNextDelay:t.number,enterTouchDelay:t.number,followCursor:t.bool,id:t.string,leaveDelay:t.number,leaveTouchDelay:t.number,onClose:t.func,onOpen:t.func,open:t.bool,placement:t.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:t.elementType,PopperProps:t.object,slotProps:t.shape({arrow:t.oneOfType([t.func,t.object]),popper:t.oneOfType([t.func,t.object]),tooltip:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({arrow:t.elementType,popper:t.elementType,tooltip:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),title:t.node,TransitionComponent:t.elementType,TransitionProps:t.object});const Di={fontSize:"0.8125rem",padding:"8px 12px",maxWidth:250,lineHeight:1.4},Hc={...Di,boxShadow:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},xb=it.styled(({className:e,...o})=>u.jsx(Qn,{...o,classes:{popper:e}}))(({theme:e})=>({[`& .${Ye.arrow}`]:{color:e.palette.grey[900]},[`& .${Ye.tooltip}`]:{backgroundColor:e.palette.grey[900],...Hc}})),Cb=it.styled(({className:e,...o})=>u.jsx(Qn,{...o,classes:{popper:e}}))(({theme:e})=>({[`& .${Ye.arrow}`]:{color:e.palette.common.white},[`& .${Ye.tooltip}`]:{backgroundColor:e.palette.common.white,color:"rgba(0, 0, 0, 0.87)",boxShadow:e.shadows[4],border:"1px solid #e0e0e0",...Di}})),wb=it.styled(({className:e,...o})=>u.jsx(Qn,{...o,classes:{popper:e}}))(({theme:e})=>({[`& .${Ye.arrow}`]:{color:e.palette.primary.main},[`& .${Ye.tooltip}`]:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText,...Di,boxShadow:`0 4px 12px ${it.alpha(e.palette.primary.main,.4)}`}})),Sb=it.styled(({className:e,...o})=>u.jsx(Qn,{...o,classes:{popper:e}}))(({theme:e})=>({[`& .${Ye.arrow}`]:{color:"#1e40af"},[`& .${Ye.tooltip}`]:{backgroundColor:"#1e40af",color:"#ffffff",...Hc}})),qc=({contenido:e,children:o,lado:n="arriba",flecha:r=!0,color:a="oscuro",animacion:i="zoom",retraso:s=200,className:l,sx:c,...d})=>{const p=b=>{switch(b){case"arriba":return"top";case"abajo":return"bottom";case"izquierda":return"left";case"derecha":return"right";default:return"top"}},g=a==="claro"?Cb:a==="primario"?wb:a==="azul"?Sb:xb;return u.jsx(g,{title:e,placement:p(n),arrow:r,enterDelay:s,TransitionComponent:i==="fade"?it.Fade:it.Zoom,className:l,sx:c,...d,children:o})},Tb=qc;function Ob(e={}){const{autoHideDuration:o=null,disableWindowBlurListener:n=!1,onClose:r,open:a,resumeHideDuration:i}=e,s=vo();w.useEffect(()=>{if(!a)return;function C(O){O.defaultPrevented||O.key==="Escape"&&r?.(O,"escapeKeyDown")}return document.addEventListener("keydown",C),()=>{document.removeEventListener("keydown",C)}},[a,r]);const l=bt((C,O)=>{r?.(C,O)}),c=bt(C=>{!r||C==null||s.start(C,()=>{l(null,"timeout")})});w.useEffect(()=>(a&&c(o),s.clear),[a,o,c,s]);const d=C=>{r?.(C,"clickaway")},p=s.clear,g=w.useCallback(()=>{o!=null&&c(i??o*.5)},[o,i,c]),b=C=>O=>{const S=C.onBlur;S?.(O),g()},v=C=>O=>{const S=C.onFocus;S?.(O),p()},h=C=>O=>{const S=C.onMouseEnter;S?.(O),p()},f=C=>O=>{const S=C.onMouseLeave;S?.(O),g()};return w.useEffect(()=>{if(!n&&a)return window.addEventListener("focus",g),window.addEventListener("blur",p),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",p)}},[n,a,g,p]),{getRootProps:(C={})=>{const O={...Lo(e),...Lo(C)};return{role:"presentation",...C,...O,onBlur:b(O),onFocus:v(O),onMouseEnter:h(O),onMouseLeave:f(O)}},onClickAway:d}}function ol(e){return e.substring(2).toLowerCase()}function Eb(e,o){return o.documentElement.clientWidth<e.clientX||o.documentElement.clientHeight<e.clientY}function Rr(e){const{children:o,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:a,touchEvent:i="onTouchEnd"}=e,s=w.useRef(!1),l=w.useRef(null),c=w.useRef(!1),d=w.useRef(!1);w.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const p=ot(Vo(o),l),g=bt(h=>{const f=d.current;d.current=!1;const y=mt(l.current);if(!c.current||!l.current||"clientX"in h&&Eb(h,y))return;if(s.current){s.current=!1;return}let C;h.composedPath?C=h.composedPath().includes(l.current):C=!y.documentElement.contains(h.target)||l.current.contains(h.target),!C&&(n||!f)&&a(h)}),b=h=>f=>{d.current=!0;const y=o.props[h];y&&y(f)},v={ref:p};return i!==!1&&(v[i]=b(i)),w.useEffect(()=>{if(i!==!1){const h=ol(i),f=mt(l.current),y=()=>{s.current=!0};return f.addEventListener(h,g),f.addEventListener("touchmove",y),()=>{f.removeEventListener(h,g),f.removeEventListener("touchmove",y)}}},[g,i]),r!==!1&&(v[r]=b(r)),w.useEffect(()=>{if(r!==!1){const h=ol(r),f=mt(l.current);return f.addEventListener(h,g),()=>{f.removeEventListener(h,g)}}},[g,r]),w.cloneElement(o,v)}process.env.NODE_ENV!=="production"&&(Rr.propTypes={children:Fo.isRequired,disableReactTree:t.bool,mouseEvent:t.oneOf(["onClick","onMouseDown","onMouseUp","onPointerDown","onPointerUp",!1]),onClickAway:t.func.isRequired,touchEvent:t.oneOf(["onTouchEnd","onTouchStart",!1])});process.env.NODE_ENV!=="production"&&(Rr.propTypes=gi(Rr.propTypes));function kb(e){return xe("MuiSnackbarContent",e)}Ce("MuiSnackbarContent",["root","message","action"]);const Pb=e=>{const{classes:o}=e;return we({root:["root"],action:["action"],message:["message"]},kb,o)},Rb=D(Oo,{name:"MuiSnackbarContent",slot:"Root"})(me(({theme:e})=>{const o=e.palette.mode==="light"?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(Fa(e.palette.background.default,o)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:Fa(e.palette.background.default,o),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),Ib=D("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),$b=D("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Gc=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiSnackbarContent"}),{action:a,className:i,message:s,role:l="alert",...c}=r,d=r,p=Pb(d);return u.jsxs(Rb,{role:l,elevation:6,className:re(p.root,i),ownerState:d,ref:n,...c,children:[u.jsx(Ib,{className:p.message,ownerState:d,children:s}),a?u.jsx($b,{className:p.action,ownerState:d,children:a}):null]})});process.env.NODE_ENV!=="production"&&(Gc.propTypes={action:t.node,classes:t.object,className:t.string,message:t.node,role:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function jb(e){return xe("MuiSnackbar",e)}Ce("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Mb=e=>{const{classes:o,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${F(n.vertical)}${F(n.horizontal)}`]};return we(r,jb,o)},Nb=D("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`anchorOrigin${F(n.anchorOrigin.vertical)}${F(n.anchorOrigin.horizontal)}`]]}})(me(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:o})=>o.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:o})=>o.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:o})=>o.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:o})=>o.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:o})=>o.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Kc=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiSnackbar"}),a=jt(),i={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:l,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:d=null,children:p,className:g,ClickAwayListenerProps:b,ContentProps:v,disableWindowBlurListener:h=!1,message:f,onBlur:y,onClose:C,onFocus:O,onMouseEnter:S,onMouseLeave:x,open:T,resumeHideDuration:E,slots:j={},slotProps:P={},TransitionComponent:I,transitionDuration:N=i,TransitionProps:{onEnter:L,onExited:m,...$}={},...R}=r,M={...r,anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:d,disableWindowBlurListener:h,TransitionComponent:I,transitionDuration:N},k=Mb(M),{getRootProps:z,onClickAway:V}=Ob(M),[W,B]=w.useState(!0),A=se=>{B(!0),m&&m(se)},Y=(se,ie)=>{B(!1),L&&L(se,ie)},Z={slots:{transition:I,...j},slotProps:{content:v,clickAwayListener:b,transition:$,...P}},[oe,K]=ge("root",{ref:n,className:[k.root,g],elementType:Nb,getSlotProps:z,externalForwardedProps:{...Z,...R},ownerState:M}),[U,{ownerState:ae,...ce}]=ge("clickAwayListener",{elementType:Rr,externalForwardedProps:Z,getSlotProps:se=>({onClickAway:(...ie)=>{const pe=ie[0];se.onClickAway?.(...ie),!pe?.defaultMuiPrevented&&V(...ie)}}),ownerState:M}),[J,X]=ge("content",{elementType:Gc,shouldForwardComponentProp:!0,externalForwardedProps:Z,additionalProps:{message:f,action:s},ownerState:M}),[de,_]=ge("transition",{elementType:ln,externalForwardedProps:Z,getSlotProps:se=>({onEnter:(...ie)=>{se.onEnter?.(...ie),Y(...ie)},onExited:(...ie)=>{se.onExited?.(...ie),A(...ie)}}),additionalProps:{appear:!0,in:T,timeout:N,direction:l==="top"?"down":"up"},ownerState:M});return!T&&W?null:u.jsx(U,{...ce,...j.clickAwayListener&&{ownerState:ae},children:u.jsx(oe,{...K,children:u.jsx(de,{..._,children:p||u.jsx(J,{...X})})})})});process.env.NODE_ENV!=="production"&&(Kc.propTypes={action:t.node,anchorOrigin:t.shape({horizontal:t.oneOf(["center","left","right"]).isRequired,vertical:t.oneOf(["bottom","top"]).isRequired}),autoHideDuration:t.number,children:t.element,classes:t.object,className:t.string,ClickAwayListenerProps:t.object,ContentProps:t.object,disableWindowBlurListener:t.bool,key:()=>null,message:t.node,onBlur:t.func,onClose:t.func,onFocus:t.func,onMouseEnter:t.func,onMouseLeave:t.func,open:t.bool,resumeHideDuration:t.number,slotProps:t.shape({clickAwayListener:t.oneOfType([t.func,t.object]),content:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({clickAwayListener:t.elementType,content:t.elementType,root:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),TransitionComponent:t.elementType,transitionDuration:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),TransitionProps:t.object});function Ab(e){return xe("MuiLinearProgress",e)}Ce("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const ri=4,ai=le.keyframes`
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`
255
195
  0% {
256
196
  left: -35%;
257
197
  right: 100%;
@@ -266,9 +206,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
266
206
  left: 100%;
267
207
  right: -90%;
268
208
  }
269
- `,Lb=typeof ai!="string"?le.css`
270
- animation: ${ai} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
271
- `:null,ii=le.keyframes`
209
+ `,df=typeof pn!="string"?re.css`
210
+ animation: ${pn} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
211
+ `:null,dn=re.keyframes`
272
212
  0% {
273
213
  left: -200%;
274
214
  right: 100%;
@@ -283,9 +223,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
283
223
  left: 107%;
284
224
  right: -8%;
285
225
  }
286
- `,Bb=typeof ii!="string"?le.css`
287
- animation: ${ii} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
288
- `:null,si=le.keyframes`
226
+ `,ff=typeof dn!="string"?re.css`
227
+ animation: ${dn} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
228
+ `:null,fn=re.keyframes`
289
229
  0% {
290
230
  opacity: 1;
291
231
  background-position: 0 -23px;
@@ -300,35 +240,33 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
300
240
  opacity: 1;
301
241
  background-position: -200px -23px;
302
242
  }
303
- `,Db=typeof si!="string"?le.css`
304
- animation: ${si} 3s infinite linear;
305
- `:null,zb=e=>{const{classes:o,variant:n,color:r}=e,a={root:["root",`color${F(r)}`,n],dashed:["dashed",`dashedColor${F(r)}`],bar1:["bar","bar1",`barColor${F(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",n!=="buffer"&&`barColor${F(r)}`,n==="buffer"&&`color${F(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return we(a,Ab,o)},zi=(e,o)=>e.vars?e.vars.palette.LinearProgress[`${o}Bg`]:e.palette.mode==="light"?e.lighten(e.palette[o].main,.62):e.darken(e.palette[o].main,.5),Fb=D("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`color${F(n.color)}`],o[n.variant]]}})(me(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{backgroundColor:zi(e,o)}})),{props:({ownerState:o})=>o.color==="inherit"&&o.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)"}}]}))),Vb=D("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.dashed,o[`dashedColor${F(n.color)}`]]}})(me(({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(qe()).map(([o])=>{const n=zi(e,o);return{props:{color:o},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),Db||{animation:`${si} 3s infinite linear`}),_b=D("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.bar,o.bar1,o[`barColor${F(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&o.bar1Indeterminate,n.variant==="determinate"&&o.bar1Determinate,n.variant==="buffer"&&o.bar1Buffer]}})(me(({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(qe()).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main}})),{props:{variant:"determinate"},style:{transition:`transform .${ri}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${ri}s linear`}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:{width:"auto"}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:Lb||{animation:`${ai} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Wb=D("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.bar,o.bar2,o[`barColor${F(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&o.bar2Indeterminate,n.variant==="buffer"&&o.bar2Buffer]}})(me(({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(qe()).map(([o])=>({props:{color:o},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[o].main}})),{props:({ownerState:o})=>o.variant!=="buffer"&&o.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:o})=>o.variant!=="buffer"&&o.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o,variant:"buffer"},style:{backgroundColor:zi(e,o),transition:`transform .${ri}s linear`}})),{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:{width:"auto"}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:Bb||{animation:`${ii} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Fi=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiLinearProgress"}),{className:a,color:i="primary",value:s,valueBuffer:l,variant:c="indeterminate",...d}=r,p={...r,color:i,variant:c},g=zb(p),b=mn(),v={},h={bar1:{},bar2:{}};if(c==="determinate"||c==="buffer")if(s!==void 0){v["aria-valuenow"]=Math.round(s),v["aria-valuemin"]=0,v["aria-valuemax"]=100;let f=s-100;b&&(f=-f),h.bar1.transform=`translateX(${f}%)`}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 f=(l||0)-100;b&&(f=-f),h.bar2.transform=`translateX(${f}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return u.jsxs(Fb,{className:re(g.root,a),ownerState:p,role:"progressbar",...v,ref:n,...d,children:[c==="buffer"?u.jsx(Vb,{className:g.dashed,ownerState:p}):null,u.jsx(_b,{className:g.bar1,ownerState:p,style:h.bar1}),c==="determinate"?null:u.jsx(Wb,{className:g.bar2,ownerState:p,style:h.bar2})]})});process.env.NODE_ENV!=="production"&&(Fi.propTypes={classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","primary","secondary"]),t.string]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.number,valueBuffer:t.number,variant:t.oneOf(["buffer","determinate","indeterminate","query"])});const Ub=it.styled(Ri,{shouldForwardProp:e=>e!=="estilo"&&e!=="varianteColor"})(({theme:e,estilo:o,varianteColor:n})=>{const r={width:"100%",boxShadow:e.shadows[6],alignItems:"center","& .MuiAlert-icon":{fontSize:"1.5rem"}};if(o==="cristal"){const a=e.palette.mode==="dark";return{...r,backgroundColor:a?it.alpha(n,.2):it.alpha(n,.15),backdropFilter:"blur(10px)",color:a?e.palette.getContrastText(e.palette.background.paper):e.palette.text.primary,border:`1px solid ${it.alpha(n,.3)}`,"& .MuiAlert-icon":{color:n}}}return o==="suave"?{...r}:o==="contorno"?{...r,backgroundColor:e.palette.background.paper,color:e.palette.text.primary,border:`2px solid ${n}`,"& .MuiAlert-icon":{color:n}}:{...r}}),Vi=({abierto:e,alCerrar:o,variante:n="info",estilo:r="solido",titulo:a,mensaje:i,posicion:s="abajo-derecha",animacion:l="slide",duracion:c=6e3,mostrarIcono:d=!0,mostrarProgreso:p=!1,cerrable:g=!0,accion:b,className:v,sx:h,...f})=>{const y=it.useTheme(),[C,O]=Re.useState(0);Re.useEffect(()=>{if(e&&c&&p){O(0);const P=100,N=100/(c/P),L=setInterval(()=>{O(m=>m>=100?(clearInterval(L),100):m+N)},P);return()=>clearInterval(L)}},[e,c,p]);const S=(P,I)=>{I!=="clickaway"&&o&&o()},x=P=>{const[I,N]=P.split("-");return{vertical:I==="arriba"?"top":"bottom",horizontal:N==="izquierda"?"left":N==="derecha"?"right":"center"}},E={info:y.palette.info.main,exito:y.palette.success.main,advertencia:y.palette.warning.main,error:y.palette.error.main}[n],j=l==="grow"?it.Grow:l==="fade"?it.Zoom:it.Slide;return u.jsx(Kc,{open:e,autoHideDuration:c,onClose:S,anchorOrigin:x(s),TransitionComponent:j,className:v,sx:h,...f,children:u.jsxs(Ub,{onClose:g?S:void 0,severity:n==="exito"?"success":n==="advertencia"?"warning":n,variant:r==="solido"?"filled":"standard",estilo:r,varianteColor:E,icon:d?void 0:!1,action:b,children:[a&&u.jsx(Ii,{sx:{fontWeight:"bold"},children:a}),i,p&&c&&u.jsx(Fi,{variant:"determinate",value:C,sx:{position:"absolute",bottom:0,left:0,right:0,height:4,bgcolor:it.alpha(y.palette.common.white,.3),"& .MuiLinearProgress-bar":{bgcolor:it.alpha(y.palette.common.white,.8)}}})]})})},Hb=Vi,qb=Vi,Yc=({valor:e=0,maximo:o=100,etiqueta:n,mostrarPorcentaje:r=!1,etiquetaInterna:a=!1,indeterminado:i=!1,tamano:s="md",variante:l="primario",rayado:c=!1,animado:d=!1,colorPersonalizado:p,className:g="",sx:b,...v})=>{const h=jt(),y={xs:4,sm:8,md:12,lg:16,xl:24}[s]||12,O={primario:"primary",secundario:"secondary",error:"error",info:"info",exito:"success",advertencia:"warning"}[l]||"primary",S=Math.min(100,Math.max(0,e/o*100)),x=h.palette.mode==="dark"?"rgba(0,0,0,0.15)":"rgba(255,255,255,0.3)",T=c||d?{backgroundImage:`linear-gradient(45deg,${x} 25%,transparent 25%,transparent 50%,${x} 50%,${x} 75%,transparent 75%,transparent)`,backgroundSize:"1rem 1rem",...d&&{animation:"progreso-rayas 1s linear infinite","@keyframes progreso-rayas":{"0%":{backgroundPosition:"1rem 0"},"100%":{backgroundPosition:"0 0"}}}}:{},E={color:h.palette.getContrastText(p||h.palette[O==="inherit"?"primary":O].main),fontWeight:"bold",fontSize:"0.75rem",lineHeight:1,textShadow:"0 1px 2px rgba(0,0,0,0.2)"};return u.jsxs(Ue,{width:"100%",className:g,children:[!a&&(n||r)&&u.jsxs(Ue,{display:"flex",justifyContent:"space-between",mb:.5,alignItems:"center",children:[n&&u.jsx(nt,{variant:"body2",color:"text.secondary",fontWeight:500,children:n}),r&&u.jsx(nt,{variant:"body2",color:"text.secondary",fontWeight:600,children:i?"":`${Math.round(S)}%`})]}),u.jsxs(Ue,{position:"relative",width:"100%",children:[u.jsx(Fi,{variant:i?"indeterminate":"determinate",value:S,color:O,sx:{height:y,borderRadius:y/2,backgroundColor:h.palette.mode==="dark"?le.alpha(h.palette.common.white,.08):le.alpha(h.palette.common.black,.08),"& .MuiLinearProgress-bar":{borderRadius:y/2,...p&&{backgroundColor:p},...T},...b},...v}),a&&!i&&y>=12&&u.jsx(Ue,{position:"absolute",top:0,left:0,bottom:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,sx:{pointerEvents:"none"},children:u.jsxs(nt,{variant:"caption",sx:E,children:[n," ",r?`${Math.round(S)}%`:""]})})]})]})},Gb=Yc,Xc={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Kb=st(u.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"),Yb=st(u.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 Xb(e){return xe("MuiRating",e)}const Sn=Ce("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function Zb(e){const o=e.toString().split(".")[1];return o?o.length:0}function Ma(e,o){if(e==null)return e;const n=Math.round(e/o)*o;return Number(n.toFixed(Zb(o)))}const Jb=e=>{const{classes:o,size:n,readOnly:r,disabled:a,emptyValueFocused:i,focusVisible:s}=e,l={root:["root",`size${F(n)}`,a&&"disabled",s&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[i&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return we(l,Xb,o)},Qb=D("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Sn.visuallyHidden}`]:o.visuallyHidden},o.root,o[`size${F(n.size)}`],n.readOnly&&o.readOnly]}})(me(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${Sn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Sn.focusVisible} .${Sn.iconActive}`]:{outline:"1px solid #999"},[`& .${Sn.visuallyHidden}`]:Xc,variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(30)}},{props:({ownerState:o})=>o.readOnly,style:{pointerEvents:"none"}}]}))),Zc=D("label",{name:"MuiRating",slot:"Label",overridesResolver:({ownerState:e},o)=>[o.label,e.emptyValueFocused&&o.labelEmptyValueActive]})({cursor:"inherit",variants:[{props:({ownerState:e})=>e.emptyValueFocused,style:{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"}}]}),ey=D("span",{name:"MuiRating",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.icon,n.iconEmpty&&o.iconEmpty,n.iconFilled&&o.iconFilled,n.iconHover&&o.iconHover,n.iconFocus&&o.iconFocus,n.iconActive&&o.iconActive]}})(me(({theme:e})=>({display:"flex",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),pointerEvents:"none",variants:[{props:({ownerState:o})=>o.iconActive,style:{transform:"scale(1.2)"}},{props:({ownerState:o})=>o.iconEmpty,style:{color:(e.vars||e).palette.action.disabled}}]}))),ty=D("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>Kn(e)&&e!=="iconActive",overridesResolver:(e,o)=>{const{iconActive:n}=e;return[o.decimal,n&&o.iconActive]}})({position:"relative",variants:[{props:({iconActive:e})=>e,style:{transform:"scale(1.2)"}}]});function Jc(e){const{value:o,...n}=e;return u.jsx("span",{...n})}process.env.NODE_ENV!=="production"&&(Jc.propTypes={value:t.number.isRequired});function li(e){const{classes:o,disabled:n,emptyIcon:r,focus:a,getLabelText:i,highlightSelectedOnly:s,hover:l,icon:c,IconContainerComponent:d,isActive:p,itemValue:g,labelProps:b,name:v,onBlur:h,onChange:f,onClick:y,onFocus:C,readOnly:O,ownerState:S,ratingValue:x,ratingValueRounded:T,slots:E={},slotProps:j={}}=e,P=s?g===x:g<=x,I=g<=l,N=g<=a,L=g===T,m=`${v}-${uo()}`,$={slots:E,slotProps:j},[R,M]=ge("icon",{elementType:ey,className:re(o.icon,P?o.iconFilled:o.iconEmpty,I&&o.iconHover,N&&o.iconFocus,p&&o.iconActive),externalForwardedProps:$,ownerState:{...S,iconEmpty:!P,iconFilled:P,iconHover:I,iconFocus:N,iconActive:p},additionalProps:{value:g},internalForwardedProps:{as:d}}),[k,z]=ge("label",{elementType:Zc,externalForwardedProps:$,ownerState:{...S,emptyValueFocused:void 0},additionalProps:{style:b?.style,htmlFor:m}}),V=u.jsx(R,{...M,children:r&&!P?r:c});return O?u.jsx("span",{...b,children:V}):u.jsxs(w.Fragment,{children:[u.jsxs(k,{...z,children:[V,u.jsx("span",{className:o.visuallyHidden,children:i(g)})]}),u.jsx("input",{className:o.visuallyHidden,onFocus:C,onBlur:h,onChange:f,onClick:y,disabled:n,value:g,id:m,type:"radio",name:v,checked:L})]})}process.env.NODE_ENV!=="production"&&(li.propTypes={classes:t.object.isRequired,disabled:t.bool.isRequired,emptyIcon:t.node,focus:t.number.isRequired,getLabelText:t.func.isRequired,highlightSelectedOnly:t.bool.isRequired,hover:t.number.isRequired,icon:t.node,IconContainerComponent:t.elementType.isRequired,isActive:t.bool.isRequired,itemValue:t.number.isRequired,labelProps:t.object,name:t.string,onBlur:t.func.isRequired,onChange:t.func.isRequired,onClick:t.func.isRequired,onFocus:t.func.isRequired,ownerState:t.object.isRequired,ratingValue:t.number,ratingValueRounded:t.number,readOnly:t.bool.isRequired,slotProps:t.object,slots:t.object});const oy=u.jsx(Kb,{fontSize:"inherit"}),ny=u.jsx(Yb,{fontSize:"inherit"});function ry(e){return`${e||"0"} Star${e!==1?"s":""}`}const Qc=w.forwardRef(function(o,n){const r=Te({name:"MuiRating",props:o}),{component:a="span",className:i,defaultValue:s=null,disabled:l=!1,emptyIcon:c=ny,emptyLabelText:d="Empty",getLabelText:p=ry,highlightSelectedOnly:g=!1,icon:b=oy,IconContainerComponent:v=Jc,max:h=5,name:f,onChange:y,onChangeActive:C,onMouseLeave:O,onMouseMove:S,precision:x=1,readOnly:T=!1,size:E="medium",value:j,slots:P={},slotProps:I={},...N}=r,L=uo(f),[m,$]=Qt({controlled:j,default:s,name:"Rating"}),R=Ma(m,x),M=mn(),[{hover:k,focus:z},V]=w.useState({hover:-1,focus:-1});let W=R;k!==-1&&(W=k),z!==-1&&(W=z);const[B,A]=w.useState(!1),Y=w.useRef(),Z=ot(Y,n),oe=he=>{S&&S(he);const ne=Y.current,{right:ze,left:Me,width:te}=ne.getBoundingClientRect();let Q;M?Q=(ze-he.clientX)/te:Q=(he.clientX-Me)/te;let be=Ma(h*Q+x/2,x);be=jo(be,x,h),V(Oe=>Oe.hover===be&&Oe.focus===be?Oe:{hover:be,focus:be}),A(!1),C&&k!==be&&C(he,be)},K=he=>{O&&O(he);const ne=-1;V({hover:ne,focus:ne}),C&&k!==ne&&C(he,ne)},U=he=>{let ne=he.target.value===""?null:parseFloat(he.target.value);k!==-1&&(ne=k),$(ne),y&&y(he,ne)},ae=he=>{he.clientX===0&&he.clientY===0||(V({hover:-1,focus:-1}),$(null),y&&parseFloat(he.target.value)===R&&y(he,null))},ce=he=>{So(he.target)&&A(!0);const ne=parseFloat(he.target.value);V(ze=>({hover:ze.hover,focus:ne}))},J=he=>{if(k!==-1)return;So(he.target)||A(!1);const ne=-1;V(ze=>({hover:ze.hover,focus:ne}))},[X,de]=w.useState(!1),_={...r,component:a,defaultValue:s,disabled:l,emptyIcon:c,emptyLabelText:d,emptyValueFocused:X,focusVisible:B,getLabelText:p,icon:b,IconContainerComponent:v,max:h,precision:x,readOnly:T,size:E},se=Jb(_),ie={slots:P,slotProps:I},[pe,ke]=ge("root",{ref:Z,className:re(se.root,i),elementType:Qb,externalForwardedProps:{...ie,...N,component:a},getSlotProps:he=>({...he,onMouseMove:ne=>{oe(ne),he.onMouseMove?.(ne)},onMouseLeave:ne=>{K(ne),he.onMouseLeave?.(ne)}}),ownerState:_,additionalProps:{role:T?"img":null,"aria-label":T?p(W):null}}),[Ee,ee]=ge("label",{className:re(se.label,se.labelEmptyValue),elementType:Zc,externalForwardedProps:ie,ownerState:_}),[De,Se]=ge("decimal",{className:se.decimal,elementType:ty,externalForwardedProps:ie,ownerState:_});return u.jsxs(pe,{...ke,children:[Array.from(new Array(h)).map((he,ne)=>{const ze=ne+1,Me={classes:se,disabled:l,emptyIcon:c,focus:z,getLabelText:p,highlightSelectedOnly:g,hover:k,icon:b,IconContainerComponent:v,name:L,onBlur:J,onChange:U,onClick:ae,onFocus:ce,ratingValue:W,ratingValueRounded:R,readOnly:T,ownerState:_,slots:P,slotProps:I},te=ze===Math.ceil(W)&&(k!==-1||z!==-1);if(x<1){const Q=Array.from(new Array(1/x));return Re.createElement(De,{...Se,key:ze,className:re(Se.className,te&&se.iconActive),iconActive:te},Q.map((be,Oe)=>{const Pe=Ma(ze-1+(Oe+1)*x,x);return u.jsx(li,{...Me,isActive:!1,itemValue:Pe,labelProps:{style:Q.length-1===Oe?{}:{width:Pe===W?`${(Oe+1)*x*100}%`:"0%",overflow:"hidden",position:"absolute"}}},Pe)}))}return u.jsx(li,{...Me,isActive:te,itemValue:ze},ze)}),!T&&!l&&u.jsxs(Ee,{...ee,children:[u.jsx("input",{className:se.visuallyHidden,value:"",id:`${L}-empty`,type:"radio",name:L,checked:R==null,onFocus:()=>de(!0),onBlur:()=>de(!1),onChange:U}),u.jsx("span",{className:se.visuallyHidden,children:d})]})]})});process.env.NODE_ENV!=="production"&&(Qc.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,defaultValue:t.number,disabled:t.bool,emptyIcon:t.node,emptyLabelText:t.node,getLabelText:t.func,highlightSelectedOnly:t.bool,icon:t.node,IconContainerComponent:t.elementType,max:t.number,name:t.string,onChange:t.func,onChangeActive:t.func,onMouseLeave:t.func,onMouseMove:t.func,precision:xt(t.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(`
306
- `)):null),readOnly:t.bool,size:t.oneOfType([t.oneOf(["small","medium","large"]),t.string]),slotProps:t.shape({decimal:t.oneOfType([t.func,t.object]),icon:t.oneOfType([t.func,t.object]),label:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({decimal:t.elementType,icon:t.elementType,label:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.number});const ay=le.keyframes`
243
+ `,mf=typeof fn!="string"?re.css`
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`
307
247
  0% { transform: scale(1); }
308
248
  50% { transform: scale(1.2); }
309
249
  100% { transform: scale(1); }
310
- `,iy=D(Qc,{shouldForwardProp:e=>e!=="colorPersonalizado"&&e!=="animado"&&e!=="brillo"})(({theme:e,colorPersonalizado:o,animado:n,brillo:r})=>({"& .MuiRating-iconFilled":{color:o,filter:r?`drop-shadow(0 0 2px ${o})`:"none",transition:"transform 0.2s ease-in-out"},"& .MuiRating-iconHover":{color:o,filter:r?`drop-shadow(0 0 4px ${o})`:"none",transform:n?"scale(1.2)":"none"},"& .MuiRating-iconActive":{animation:n?`${ay} 0.4s ease-out`:"none"}})),ed=({valor:e,maximo:o=5,precision:n=1,soloLectura:r=!1,deshabilitado:a=!1,tamano:i="m",color:s="advertencia",etiquetas:l,mostrarEtiqueta:c=!1,alCambiar:d,iconoPersonalizado:p,iconoVacioPersonalizado:g,animado:b=!0,brillo:v=!1,className:h,sx:f,...y})=>{const C=jt(),[O,S]=Re.useState(-1),T={p:"small",m:"medium",g:"large",xg:"large"}[i],E=i==="xg"?1.5:1,P={primario:C.palette.primary.main,secundario:C.palette.secondary.main,exito:C.palette.success.main,advertencia:C.palette.warning.main,error:C.palette.error.main,info:C.palette.info.main}[s]||C.palette.warning.main,I=N=>l?l[N]||N:`${N} Estrellas`;return u.jsxs(Ue,{className:h,sx:{display:"flex",alignItems:"center",gap:1,opacity:a?.5:1,pointerEvents:a?"none":"auto",...f},children:[u.jsx(iy,{name:"codeplex-rating",value:e,max:o,precision:n,readOnly:r,disabled:a,size:T,colorPersonalizado:P,animado:b,brillo:v,onChange:(N,L)=>{d&&d(L)},onChangeActive:(N,L)=>{S(L)},icon:p,emptyIcon:g,sx:{transform:`scale(${E})`,transformOrigin:"left center"},...y}),c&&(e!==null||O!==-1)&&u.jsx(nt,{variant:"body2",color:"text.secondary",sx:{minWidth:20,ml:i==="xg"?2:0,fontWeight:500},children:l?I(O!==-1?O:e||0):O!==-1?O:e})]})},sy=ed,td=({textoAyuda:e,mensajeError:o,valor:n,longitudMaxima:r,mostrarContador:a})=>{const i=n?.toString().length||0,s=!!o,l=r?i>=r*.9:!1,c=r?i>=r:!1;return!e&&!o&&!a?null:u.jsxs("div",{className:"flex items-start justify-between mt-1.5 px-1 gap-4",children:[u.jsx("div",{className:"flex-1 min-w-0",children:s?u.jsxs("p",{className:"text-xs font-medium text-red-500 flex items-center gap-1 animate-in slide-in-from-left-1 duration-200",children:[u.jsx("svg",{className:"w-3 h-3 flex-shrink-0",viewBox:"0 0 20 20",fill:"currentColor",children:u.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})}),o]}):e?u.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 leading-tight",children:e}):null}),a&&r&&u.jsxs("div",{className:`
311
- text-[10px] font-mono font-medium transition-colors duration-300
312
- ${s||c?"text-red-500":l?"text-amber-500":"text-gray-400 dark:text-gray-500"}
313
- `,children:[i,"/",r]})]})},ly=({helperText:e,error:o,value:n,maxLength:r,showCount:a,...i})=>u.jsx(td,{textoAyuda:e,mensajeError:o,valor:n,longitudMaxima:r,mostrarContador:a,...i});le.keyframes`
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`
314
251
  0% { transform: translateX(-100%); }
315
252
  100% { transform: translateX(100%); }
316
- `;const cy=D(Oi)(({theme:e,colorBase:o})=>({backgroundColor:o||(e.palette.mode==="dark"?le.alpha(e.palette.common.white,.08):le.alpha(e.palette.common.black,.06)),borderRadius:8,"&.MuiSkeleton-text":{marginBottom:4,marginTop:0,borderRadius:4}})),od=({variante:e="texto",ancho:o,alto:n,animacion:r="pulso",colorBase:a,className:i,...s})=>{const l=d=>d==="texto"?"text":d==="rectangular"?"rectangular":d==="redondeado"?"rounded":d==="circular"?"circular":"text",c=d=>d==="pulso"?"pulse":d==="ola"?"wave":d===!1?!1:"pulse";return u.jsx(cy,{variant:l(e),width:o,height:n,animation:c(r),colorBase:a,className:i,...s})},dy=od;function nl({array1:e,array2:o,parser:n=r=>r}){return e&&o&&e.length===o.length&&e.every((r,a)=>n(r)===n(o[a]))}function rl(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function py(e={}){const{ignoreAccents:o=!0,ignoreCase:n=!0,limit:r,matchFrom:a="any",stringify:i,trim:s=!1}=e;return(l,{inputValue:c,getOptionLabel:d})=>{let p=s?c.trim():c;n&&(p=p.toLowerCase()),o&&(p=rl(p));const g=p?l.filter(b=>{let v=(i||d)(b);return n&&(v=v.toLowerCase()),o&&(v=rl(v)),a==="start"?v.startsWith(p):v.includes(p)}):l;return typeof r=="number"?g.slice(0,r):g}}const uy=py(),al=5,fy=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),my=[];function il(e,o,n,r){if(o||e==null||r)return"";const a=n(e);return typeof a=="string"?a:""}function gy(e){const{unstable_isActiveElementInListbox:o=fy,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:s=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:c=!1,componentName:d="useAutocomplete",defaultValue:p=e.multiple?my:null,disableClearable:g=!1,disableCloseOnSelect:b=!1,disabled:v,disabledItemsFocusable:h=!1,disableListWrap:f=!1,filterOptions:y=uy,filterSelectedOptions:C=!1,freeSolo:O=!1,getOptionDisabled:S,getOptionKey:x,getOptionLabel:T=G=>G.label??G,groupBy:E,handleHomeEndKeys:j=!e.freeSolo,id:P,includeInputInList:I=!1,inputValue:N,isOptionEqualToValue:L=(G,H)=>G===H,multiple:m=!1,onChange:$,onClose:R,onHighlightChange:M,onInputChange:k,onOpen:z,open:V,openOnFocus:W=!1,options:B,readOnly:A=!1,renderValue:Y,selectOnFocus:Z=!e.freeSolo,value:oe}=e,K=uo(P);let U=T;U=G=>{const H=T(G);if(typeof H!="string"){if(process.env.NODE_ENV!=="production"){const fe=H===void 0?"undefined":`${typeof H} (${H})`;console.error(`MUI: The \`getOptionLabel\` method of ${d} returned ${fe} instead of a string for ${JSON.stringify(G)}.`)}return String(H)}return H};const ae=w.useRef(!1),ce=w.useRef(!0),J=w.useRef(null),X=w.useRef(null),[de,_]=w.useState(null),[se,ie]=w.useState(-1),pe=a?0:-1,ke=w.useRef(pe),Ee=w.useRef(il(p??oe,m,U)).current,[ee,De]=Qt({controlled:oe,default:p,name:d}),[Se,he]=Qt({controlled:N,default:Ee,name:d,state:"inputValue"}),[ne,ze]=w.useState(!1),Me=w.useCallback((G,H,fe)=>{if(!(m?ee.length<H.length:H!==null)&&!l)return;const $e=il(H,m,U,Y);Se!==$e&&(he($e),k&&k(G,$e,fe))},[U,Se,m,k,he,l,ee,Y]),[te,Q]=Qt({controlled:V,default:!1,name:d,state:"open"}),[be,Oe]=w.useState(!0),Pe=!m&&ee!=null&&Se===U(ee),ve=te&&!A,ue=ve?y(B.filter(G=>!(C&&(m?ee:[ee]).some(H=>H!==null&&L(G,H)))),{inputValue:Pe&&be?"":Se,getOptionLabel:U}):[],Ve=Si({filteredOptions:ue,value:ee,inputValue:Se});w.useEffect(()=>{const G=ee!==Ve.value;ne&&!G||O&&!G||Me(null,ee,"reset")},[ee,Me,ne,Ve.value,O]);const Ne=te&&ue.length>0&&!A,We=bt(G=>{if(G===-1)J.current.focus();else{const H=Y?"data-item-index":"data-tag-index";de.querySelector(`[${H}="${G}"]`).focus()}});w.useEffect(()=>{m&&se>ee.length-1&&(ie(-1),We(-1))},[ee,m,se,We]);function Ot(G,H){if(!X.current||G<0||G>=ue.length)return-1;let fe=G;for(;;){const Ie=X.current.querySelector(`[data-option-index="${fe}"]`),$e=h?!1:!Ie||Ie.disabled||Ie.getAttribute("aria-disabled")==="true";if(Ie&&Ie.hasAttribute("tabindex")&&!$e)return fe;if(H==="next"?fe=(fe+1)%ue.length:fe=(fe-1+ue.length)%ue.length,fe===G)return-1}}const vt=bt(({event:G,index:H,reason:fe})=>{if(ke.current=H,H===-1?J.current.removeAttribute("aria-activedescendant"):J.current.setAttribute("aria-activedescendant",`${K}-option-${H}`),M&&["mouse","keyboard","touch"].includes(fe)&&M(G,H===-1?null:ue[H],fe),!X.current)return;const Ie=X.current.querySelector(`[role="option"].${n}-focused`);Ie&&(Ie.classList.remove(`${n}-focused`),Ie.classList.remove(`${n}-focusVisible`));let $e=X.current;if(X.current.getAttribute("role")!=="listbox"&&($e=X.current.parentElement.querySelector('[role="listbox"]')),!$e)return;if(H===-1){$e.scrollTop=0;return}const rt=X.current.querySelector(`[data-option-index="${H}"]`);if(rt&&(rt.classList.add(`${n}-focused`),fe==="keyboard"&&rt.classList.add(`${n}-focusVisible`),$e.scrollHeight>$e.clientHeight&&fe!=="mouse"&&fe!=="touch")){const dt=rt,Rt=$e.clientHeight+$e.scrollTop,Uo=dt.offsetTop+dt.offsetHeight;Uo>Rt?$e.scrollTop=Uo-$e.clientHeight:dt.offsetTop-dt.offsetHeight*(E?1.3:0)<$e.scrollTop&&($e.scrollTop=dt.offsetTop-dt.offsetHeight*(E?1.3:0))}}),ut=bt(({event:G,diff:H,direction:fe="next",reason:Ie})=>{if(!ve)return;const rt=Ot((()=>{const dt=ue.length-1;if(H==="reset")return pe;if(H==="start")return 0;if(H==="end")return dt;const Rt=ke.current+H;return Rt<0?Rt===-1&&I?-1:f&&ke.current!==-1||Math.abs(H)>1?0:dt:Rt>dt?Rt===dt+1&&I?-1:f||Math.abs(H)>1?dt:0:Rt})(),fe);if(vt({index:rt,reason:Ie,event:G}),r&&H!=="reset")if(rt===-1)J.current.value=Se;else{const dt=U(ue[rt]);J.current.value=dt,dt.toLowerCase().indexOf(Se.toLowerCase())===0&&Se.length>0&&J.current.setSelectionRange(Se.length,dt.length)}}),ye=!nl({array1:Ve.filteredOptions,array2:ue,parser:U}),Ae=()=>{const G=(H,fe)=>{const Ie=H?U(H):"",$e=fe?U(fe):"";return Ie===$e};if(ke.current!==-1&&!nl({array1:Ve.filteredOptions,array2:ue,parser:U})&&Ve.inputValue===Se&&(m?ee.length===Ve.value.length&&Ve.value.every((H,fe)=>U(ee[fe])===U(H)):G(Ve.value,ee))){const H=Ve.filteredOptions[ke.current];if(H)return ue.findIndex(fe=>U(fe)===U(H))}return-1},Xe=w.useCallback(()=>{if(!ve)return;const G=Ae();if(G!==-1){ke.current=G;return}const H=m?ee[0]:ee;if(ue.length===0||H==null){ut({diff:"reset"});return}if(X.current){if(H!=null){const fe=ue[ke.current];if(m&&fe&&ee.findIndex($e=>L(fe,$e))!==-1)return;const Ie=ue.findIndex($e=>L($e,H));Ie===-1?ut({diff:"reset"}):vt({index:Ie});return}if(ke.current>=ue.length-1){vt({index:ue.length-1});return}vt({index:ke.current})}},[ue.length,m?!1:ee,ut,vt,ve,Se,m]),gt=bt(G=>{Ua(X,G),G&&Xe()});process.env.NODE_ENV!=="production"&&w.useEffect(()=>{(!J.current||J.current.nodeName!=="INPUT")&&(J.current&&J.current.nodeName==="TEXTAREA"?console.warn([`A textarea element was provided to ${d} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
317
- `)):console.error([`MUI: Unable to find the input element. It was resolved to ${J.current} while an HTMLInputElement was expected.`,`Instead, ${d} expects an input element.`,"",d==="useAutocomplete"?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join(`
318
- `)))},[d]),w.useEffect(()=>{(ye||ve)&&Xe()},[Xe,ye,ve]);const _e=G=>{te||(Q(!0),Oe(!0),z&&z(G))},tt=(G,H)=>{te&&(Q(!1),R&&R(G,H))},Et=(G,H,fe,Ie)=>{if(m){if(ee.length===H.length&&ee.every(($e,rt)=>$e===H[rt]))return}else if(ee===H)return;$&&$(G,H,fe,Ie),De(H)},wt=w.useRef(!1),ft=(G,H,fe="selectOption",Ie="options")=>{let $e=fe,rt=H;if(m){if(rt=Array.isArray(ee)?ee.slice():[],process.env.NODE_ENV!=="production"){const Rt=rt.filter(Uo=>L(H,Uo));Rt.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${d} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${Rt.length} matches.`].join(`
319
- `))}const dt=rt.findIndex(Rt=>L(H,Rt));dt===-1?rt.push(H):Ie!=="freeSolo"&&(rt.splice(dt,1),$e="removeOption")}Me(G,rt,$e),Et(G,rt,$e,{option:H}),!b&&(!G||!G.ctrlKey&&!G.metaKey)&&tt(G,$e),(s===!0||s==="touch"&&wt.current||s==="mouse"&&!wt.current)&&J.current.blur()};function je(G,H){if(G===-1)return-1;let fe=G;for(;;){if(H==="next"&&fe===ee.length||H==="previous"&&fe===-1)return-1;const Ie=Y?"data-item-index":"data-tag-index",$e=de.querySelector(`[${Ie}="${fe}"]`);if(!$e||!$e.hasAttribute("tabindex")||$e.disabled||$e.getAttribute("aria-disabled")==="true")fe+=H==="next"?1:-1;else return fe}}const St=(G,H)=>{if(!m)return;Se===""&&tt(G,"toggleInput");let fe=se;se===-1?Se===""&&H==="previous"&&(fe=ee.length-1):(fe+=H==="next"?1:-1,fe<0&&(fe=0),fe===ee.length&&(fe=-1)),fe=je(fe,H),ie(fe),We(fe)},tr=G=>{ae.current=!0,he(""),k&&k(G,"","clear"),Et(G,m?[]:null,"clear")},ua=G=>H=>{if(G.onKeyDown&&G.onKeyDown(H),!H.defaultMuiPrevented&&(se!==-1&&!["ArrowLeft","ArrowRight"].includes(H.key)&&(ie(-1),We(-1)),H.which!==229))switch(H.key){case"Home":ve&&j&&(H.preventDefault(),ut({diff:"start",direction:"next",reason:"keyboard",event:H}));break;case"End":ve&&j&&(H.preventDefault(),ut({diff:"end",direction:"previous",reason:"keyboard",event:H}));break;case"PageUp":H.preventDefault(),ut({diff:-al,direction:"previous",reason:"keyboard",event:H}),_e(H);break;case"PageDown":H.preventDefault(),ut({diff:al,direction:"next",reason:"keyboard",event:H}),_e(H);break;case"ArrowDown":H.preventDefault(),ut({diff:1,direction:"next",reason:"keyboard",event:H}),_e(H);break;case"ArrowUp":H.preventDefault(),ut({diff:-1,direction:"previous",reason:"keyboard",event:H}),_e(H);break;case"ArrowLeft":!m&&Y&&ee!=null?(ie(0),We(0)):St(H,"previous");break;case"ArrowRight":!m&&Y?(ie(-1),We(-1)):St(H,"next");break;case"Enter":if(ke.current!==-1&&ve){const fe=ue[ke.current],Ie=S?S(fe):!1;if(H.preventDefault(),Ie)return;ft(H,fe,"selectOption"),r&&J.current.setSelectionRange(J.current.value.length,J.current.value.length)}else O&&Se!==""&&Pe===!1&&(m&&H.preventDefault(),ft(H,Se,"createOption","freeSolo"));break;case"Escape":ve?(H.preventDefault(),H.stopPropagation(),tt(H,"escape")):c&&(Se!==""||m&&ee.length>0||Y)&&(H.preventDefault(),H.stopPropagation(),tr(H));break;case"Backspace":if(m&&!A&&Se===""&&ee.length>0){const fe=se===-1?ee.length-1:se,Ie=ee.slice();Ie.splice(fe,1),Et(H,Ie,"removeOption",{option:ee[fe]})}!m&&Y&&!A&&(De(null),ie(-1),We(-1));break;case"Delete":if(m&&!A&&Se===""&&ee.length>0&&se!==-1){const fe=se,Ie=ee.slice();Ie.splice(fe,1),Et(H,Ie,"removeOption",{option:ee[fe]})}!m&&Y&&!A&&(De(null),ie(-1),We(-1));break}},_o=G=>{ze(!0),se!==-1&&(ie(-1),We(-1)),W&&!ae.current&&_e(G)},Wo=G=>{if(o(X)){J.current.focus();return}ze(!1),ce.current=!0,ae.current=!1,i&&ke.current!==-1&&ve?ft(G,ue[ke.current],"blur"):i&&O&&Se!==""?ft(G,Se,"blur","freeSolo"):l&&Me(G,ee,"blur"),tt(G,"blur")},hn=G=>{const H=G.target.value;Se!==H&&(he(H),Oe(!1),k&&k(G,H,"input")),H===""?!g&&!m&&Et(G,null,"clear"):_e(G)},fa=G=>{const H=Number(G.currentTarget.getAttribute("data-option-index"));ke.current!==H&&vt({event:G,index:H,reason:"mouse"})},ma=G=>{vt({event:G,index:Number(G.currentTarget.getAttribute("data-option-index")),reason:"touch"}),wt.current=!0},ga=G=>{const H=Number(G.currentTarget.getAttribute("data-option-index"));ft(G,ue[H],"selectOption"),wt.current=!1},ha=G=>H=>{const fe=ee.slice();fe.splice(G,1),Et(H,fe,"removeOption",{option:ee[G]})},bn=G=>{Et(G,null,"removeOption",{option:ee})},ht=G=>{te?tt(G,"toggleInput"):_e(G)},yt=G=>{G.currentTarget.contains(G.target)&&G.target.getAttribute("id")!==K&&G.preventDefault()},fo=G=>{G.currentTarget.contains(G.target)&&(J.current.focus(),Z&&ce.current&&J.current.selectionEnd-J.current.selectionStart===0&&J.current.select(),ce.current=!1)},ba=G=>{!v&&(Se===""||!te)&&ht(G)};let yn=O&&Se.length>0;yn=yn||(m?ee.length>0:ee!==null);let or=ue;if(E){const G=new Map;let H=!1;or=ue.reduce((fe,Ie,$e)=>{const rt=E(Ie);return fe.length>0&&fe[fe.length-1].group===rt?fe[fe.length-1].options.push(Ie):(process.env.NODE_ENV!=="production"&&(G.get(rt)&&!H&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${d} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),H=!0),G.set(rt,!0)),fe.push({key:$e,index:$e,group:rt,options:[Ie]})),fe},[])}return v&&ne&&Wo(),{getRootProps:(G={})=>({...G,onKeyDown:ua(G),onMouseDown:yt,onClick:fo}),getInputLabelProps:()=>({id:`${K}-label`,htmlFor:K}),getInputProps:()=>({id:K,value:Se,onBlur:Wo,onFocus:_o,onChange:hn,onMouseDown:ba,"aria-activedescendant":ve?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ne?`${K}-listbox`:void 0,"aria-expanded":Ne,autoComplete:"off",ref:J,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:v}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:tr}),getItemProps:({index:G=0}={})=>({...m&&{key:G},...Y?{"data-item-index":G}:{"data-tag-index":G},tabIndex:-1,...!A&&{onDelete:m?ha(G):bn}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:ht}),getTagProps:({index:G})=>({key:G,"data-tag-index":G,tabIndex:-1,...!A&&{onDelete:ha(G)}}),getListboxProps:()=>({role:"listbox",id:`${K}-listbox`,"aria-labelledby":`${K}-label`,ref:gt,onMouseDown:G=>{G.preventDefault()}}),getOptionProps:({index:G,option:H})=>{const fe=(m?ee:[ee]).some($e=>$e!=null&&L(H,$e)),Ie=S?S(H):!1;return{key:x?.(H)??U(H),tabIndex:-1,role:"option",id:`${K}-option-${G}`,onMouseMove:fa,onClick:ga,onTouchStart:ma,"data-option-index":G,"aria-disabled":Ie,"aria-selected":fe}},id:K,inputValue:Se,value:ee,dirty:yn,expanded:ve&&de,popupOpen:ve,focused:ne||se!==-1,anchorEl:de,setAnchorEl:_,focusedItem:se,focusedTag:se,groupedOptions:or}}function hy(e){return xe("MuiListSubheader",e)}Ce("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const by=e=>{const{classes:o,color:n,disableGutters:r,inset:a,disableSticky:i}=e,s={root:["root",n!=="default"&&`color${F(n)}`,!r&&"gutters",a&&"inset",!i&&"sticky"]};return we(s,hy,o)},yy=D("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="default"&&o[`color${F(n.color)}`],!n.disableGutters&&o.gutters,n.inset&&o.inset,!n.disableSticky&&o.sticky]}})(me(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:o})=>!o.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:o})=>o.inset,style:{paddingLeft:72}},{props:({ownerState:o})=>!o.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),fn=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiListSubheader"}),{className:a,color:i="default",component:s="li",disableGutters:l=!1,disableSticky:c=!1,inset:d=!1,...p}=r,g={...r,color:i,component:s,disableGutters:l,disableSticky:c,inset:d},b=by(g);return u.jsx(yy,{as:s,className:re(b.root,a),ref:n,ownerState:g,...p})});fn&&(fn.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(fn.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOf(["default","inherit","primary"]),component:t.elementType,disableGutters:t.bool,disableSticky:t.bool,inset:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const vy=st(u.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function xy(e){return xe("MuiChip",e)}const Fe=Ce("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Cy=e=>{const{classes:o,disabled:n,size:r,color:a,iconColor:i,onDelete:s,clickable:l,variant:c}=e,d={root:["root",c,n&&"disabled",`size${F(r)}`,`color${F(a)}`,l&&"clickable",l&&`clickableColor${F(a)}`,s&&"deletable",s&&`deletableColor${F(a)}`,`${c}${F(a)}`],label:["label",`label${F(r)}`],avatar:["avatar",`avatar${F(r)}`,`avatarColor${F(a)}`],icon:["icon",`icon${F(r)}`,`iconColor${F(i)}`],deleteIcon:["deleteIcon",`deleteIcon${F(r)}`,`deleteIconColor${F(a)}`,`deleteIcon${F(c)}Color${F(a)}`]};return we(d,xy,o)},wy=D("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{color:r,iconColor:a,clickable:i,onDelete:s,size:l,variant:c}=n;return[{[`& .${Fe.avatar}`]:o.avatar},{[`& .${Fe.avatar}`]:o[`avatar${F(l)}`]},{[`& .${Fe.avatar}`]:o[`avatarColor${F(r)}`]},{[`& .${Fe.icon}`]:o.icon},{[`& .${Fe.icon}`]:o[`icon${F(l)}`]},{[`& .${Fe.icon}`]:o[`iconColor${F(a)}`]},{[`& .${Fe.deleteIcon}`]:o.deleteIcon},{[`& .${Fe.deleteIcon}`]:o[`deleteIcon${F(l)}`]},{[`& .${Fe.deleteIcon}`]:o[`deleteIconColor${F(r)}`]},{[`& .${Fe.deleteIcon}`]:o[`deleteIcon${F(c)}Color${F(r)}`]},o.root,o[`size${F(l)}`],o[`color${F(r)}`],i&&o.clickable,i&&r!=="default"&&o[`clickableColor${F(r)}`],s&&o.deletable,s&&r!=="default"&&o[`deletableColor${F(r)}`],o[c],o[`${c}${F(r)}`]]}})(me(({theme:e})=>{const o=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Fe.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Fe.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:o,fontSize:e.typography.pxToRem(12)},[`& .${Fe.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Fe.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Fe.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Fe.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Fe.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Fe.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Fe.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(qe(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Fe.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${Fe.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:o}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Fe.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Fe.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter(qe(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Fe.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${Fe.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(qe(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Fe.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Fe.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Fe.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Fe.avatar}`]:{marginLeft:4},[`& .${Fe.avatarSmall}`]:{marginLeft:2},[`& .${Fe.icon}`]:{marginLeft:4},[`& .${Fe.iconSmall}`]:{marginLeft:2},[`& .${Fe.deleteIcon}`]:{marginRight:5},[`& .${Fe.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(qe()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.alpha((e.vars||e).palette[n].main,.7)}`,[`&.${Fe.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Fe.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Fe.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),Sy=D("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,o)=>{const{ownerState:n}=e,{size:r}=n;return[o.label,o[`label${F(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function sl(e){return e.key==="Backspace"||e.key==="Delete"}const Qr=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiChip"}),{avatar:a,className:i,clickable:s,color:l="default",component:c,deleteIcon:d,disabled:p=!1,icon:g,label:b,onClick:v,onDelete:h,onKeyDown:f,onKeyUp:y,size:C="medium",variant:O="filled",tabIndex:S,skipFocusWhenDisabled:x=!1,slots:T={},slotProps:E={},...j}=r,P=w.useRef(null),I=ot(P,n),N=U=>{U.stopPropagation(),h&&h(U)},L=U=>{U.currentTarget===U.target&&sl(U)&&U.preventDefault(),f&&f(U)},m=U=>{U.currentTarget===U.target&&h&&sl(U)&&h(U),y&&y(U)},$=s!==!1&&v?!0:s,R=$||h?lo:c||"div",M={...r,component:R,disabled:p,size:C,color:l,iconColor:w.isValidElement(g)&&g.props.color||l,onDelete:!!h,clickable:$,variant:O},k=Cy(M),z=R===lo?{component:c||"div",focusVisibleClassName:k.focusVisible,...h&&{disableRipple:!0}}:{};let V=null;h&&(V=d&&w.isValidElement(d)?w.cloneElement(d,{className:re(d.props.className,k.deleteIcon),onClick:N}):u.jsx(vy,{className:k.deleteIcon,onClick:N}));let W=null;a&&w.isValidElement(a)&&(W=w.cloneElement(a,{className:re(k.avatar,a.props.className)}));let B=null;g&&w.isValidElement(g)&&(B=w.cloneElement(g,{className:re(k.icon,g.props.className)})),process.env.NODE_ENV!=="production"&&W&&B&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");const A={slots:T,slotProps:E},[Y,Z]=ge("root",{elementType:wy,externalForwardedProps:{...A,...j},ownerState:M,shouldForwardComponentProp:!0,ref:I,className:re(k.root,i),additionalProps:{disabled:$&&p?!0:void 0,tabIndex:x&&p?-1:S,...z},getSlotProps:U=>({...U,onClick:ae=>{U.onClick?.(ae),v?.(ae)},onKeyDown:ae=>{U.onKeyDown?.(ae),L(ae)},onKeyUp:ae=>{U.onKeyUp?.(ae),m(ae)}})}),[oe,K]=ge("label",{elementType:Sy,externalForwardedProps:A,ownerState:M,className:k.label});return u.jsxs(Y,{as:R,...Z,children:[W||B,u.jsx(oe,{...K,children:b}),V]})});process.env.NODE_ENV!=="production"&&(Qr.propTypes={avatar:t.element,children:Of,classes:t.object,className:t.string,clickable:t.bool,color:t.oneOfType([t.oneOf(["default","primary","secondary","error","info","success","warning"]),t.string]),component:t.elementType,deleteIcon:t.element,disabled:t.bool,icon:t.element,label:t.node,onClick:t.func,onDelete:t.func,onKeyDown:t.func,onKeyUp:t.func,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),skipFocusWhenDisabled:t.bool,slotProps:t.shape({label:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({label:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),tabIndex:t.number,variant:t.oneOfType([t.oneOf(["filled","outlined"]),t.string])});function dr(e){return parseInt(e,10)||0}const Ty={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Oy(e){for(const o in e)return!1;return!0}function ll(e){return Oy(e)||e.outerHeightStyle===0&&!e.overflowing}const nd=w.forwardRef(function(o,n){const{onChange:r,maxRows:a,minRows:i=1,style:s,value:l,...c}=o,{current:d}=w.useRef(l!=null),p=w.useRef(null),g=ot(n,p),b=w.useRef(null),v=w.useRef(null),h=w.useCallback(()=>{const S=p.current,x=v.current;if(!S||!x)return;const E=so(S).getComputedStyle(S);if(E.width==="0px")return{outerHeightStyle:0,overflowing:!1};x.style.width=E.width,x.value=S.value||o.placeholder||"x",x.value.slice(-1)===`
320
- `&&(x.value+=" ");const j=E.boxSizing,P=dr(E.paddingBottom)+dr(E.paddingTop),I=dr(E.borderBottomWidth)+dr(E.borderTopWidth),N=x.scrollHeight;x.value="x";const L=x.scrollHeight;let m=N;i&&(m=Math.max(Number(i)*L,m)),a&&(m=Math.min(Number(a)*L,m)),m=Math.max(m,L);const $=m+(j==="border-box"?P+I:0),R=Math.abs(m-N)<=1;return{outerHeightStyle:$,overflowing:R}},[a,i,o.placeholder]),f=bt(()=>{const S=p.current,x=h();if(!S||!x||ll(x))return!1;const T=x.outerHeightStyle;return b.current!=null&&b.current!==T}),y=w.useCallback(()=>{const S=p.current,x=h();if(!S||!x||ll(x))return;const T=x.outerHeightStyle;b.current!==T&&(b.current=T,S.style.height=`${T}px`),S.style.overflow=x.overflowing?"hidden":""},[h]),C=w.useRef(-1);Wt(()=>{const S=rc(y),x=p?.current;if(!x)return;const T=so(x);T.addEventListener("resize",S);let E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(()=>{f()&&(E.unobserve(x),cancelAnimationFrame(C.current),y(),C.current=requestAnimationFrame(()=>{E.observe(x)}))}),E.observe(x)),()=>{S.clear(),cancelAnimationFrame(C.current),T.removeEventListener("resize",S),E&&E.disconnect()}},[h,y,f]),Wt(()=>{y()});const O=S=>{d||y();const x=S.target,T=x.value.length,E=x.value.endsWith(`
321
- `),j=x.selectionStart===T;E&&j&&x.setSelectionRange(T,T),r&&r(S)};return u.jsxs(w.Fragment,{children:[u.jsx("textarea",{value:l,onChange:O,ref:g,rows:i,style:s,...c}),u.jsx("textarea",{"aria-hidden":!0,className:o.className,readOnly:!0,ref:v,tabIndex:-1,style:{...Ty.shadow,...s,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(nd.propTypes={className:t.string,maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),onChange:t.func,placeholder:t.string,style:t.object,value:t.oneOfType([t.arrayOf(t.string),t.number,t.string])});function ko({props:e,states:o,muiFormControl:n}){return o.reduce((r,a)=>(r[a]=e[a],n&&typeof e[a]>"u"&&(r[a]=n[a]),r),{})}const er=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(er.displayName="FormControlContext");function Yt(){return w.useContext(er)}function cl(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ir(e,o=!1){return e&&(cl(e.value)&&e.value!==""||o&&cl(e.defaultValue)&&e.defaultValue!=="")}function Ey(e){return e.startAdornment}function ky(e){return xe("MuiInputBase",e)}const Mt=Ce("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var dl;const ea=(e,o)=>{const{ownerState:n}=e;return[o.root,n.formControl&&o.formControl,n.startAdornment&&o.adornedStart,n.endAdornment&&o.adornedEnd,n.error&&o.error,n.size==="small"&&o.sizeSmall,n.multiline&&o.multiline,n.color&&o[`color${F(n.color)}`],n.fullWidth&&o.fullWidth,n.hiddenLabel&&o.hiddenLabel]},ta=(e,o)=>{const{ownerState:n}=e;return[o.input,n.size==="small"&&o.inputSizeSmall,n.multiline&&o.inputMultiline,n.type==="search"&&o.inputTypeSearch,n.startAdornment&&o.inputAdornedStart,n.endAdornment&&o.inputAdornedEnd,n.hiddenLabel&&o.inputHiddenLabel]},Py=e=>{const{classes:o,color:n,disabled:r,error:a,endAdornment:i,focused:s,formControl:l,fullWidth:c,hiddenLabel:d,multiline:p,readOnly:g,size:b,startAdornment:v,type:h}=e,f={root:["root",`color${F(n)}`,r&&"disabled",a&&"error",c&&"fullWidth",s&&"focused",l&&"formControl",b&&b!=="medium"&&`size${F(b)}`,p&&"multiline",v&&"adornedStart",i&&"adornedEnd",d&&"hiddenLabel",g&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",p&&"inputMultiline",b==="small"&&"inputSizeSmall",d&&"inputHiddenLabel",v&&"inputAdornedStart",i&&"inputAdornedEnd",g&&"readOnly"]};return we(f,ky,o)},oa=D("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ea})(me(({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",[`&.${Mt.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:o})=>o.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:o,size:n})=>o.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:o})=>o.fullWidth,style:{width:"100%"}}]}))),na=D("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ta})(me(({theme:e})=>{const o=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:o?.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":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Mt.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Mt.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.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:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),pl=xf({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),ra=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:i,autoFocus:s,className:l,color:c,components:d={},componentsProps:p={},defaultValue:g,disabled:b,disableInjectingGlobalStyles:v,endAdornment:h,error:f,fullWidth:y=!1,id:C,inputComponent:O="input",inputProps:S={},inputRef:x,margin:T,maxRows:E,minRows:j,multiline:P=!1,name:I,onBlur:N,onChange:L,onClick:m,onFocus:$,onKeyDown:R,onKeyUp:M,placeholder:k,readOnly:z,renderSuffix:V,rows:W,size:B,slotProps:A={},slots:Y={},startAdornment:Z,type:oe="text",value:K,...U}=r,ae=S.value!=null?S.value:K,{current:ce}=w.useRef(ae!=null),J=w.useRef(),X=w.useCallback(ue=>{process.env.NODE_ENV!=="production"&&ue&&ue.nodeName!=="INPUT"&&!ue.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(`
322
- `))},[]),de=ot(J,x,S.ref,X),[_,se]=w.useState(!1),ie=Yt();process.env.NODE_ENV!=="production"&&w.useEffect(()=>{if(ie)return ie.registerEffect()},[ie]);const pe=ko({props:r,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});pe.focused=ie?ie.focused:_,w.useEffect(()=>{!ie&&b&&_&&(se(!1),N&&N())},[ie,b,_,N]);const ke=ie&&ie.onFilled,Ee=ie&&ie.onEmpty,ee=w.useCallback(ue=>{Ir(ue)?ke&&ke():Ee&&Ee()},[ke,Ee]);Wt(()=>{ce&&ee({value:ae})},[ae,ee,ce]);const De=ue=>{$&&$(ue),S.onFocus&&S.onFocus(ue),ie&&ie.onFocus?ie.onFocus(ue):se(!0)},Se=ue=>{N&&N(ue),S.onBlur&&S.onBlur(ue),ie&&ie.onBlur?ie.onBlur(ue):se(!1)},he=(ue,...Ve)=>{if(!ce){const Ne=ue.target||J.current;if(Ne==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.":oo(1));ee({value:Ne.value})}S.onChange&&S.onChange(ue,...Ve),L&&L(ue,...Ve)};w.useEffect(()=>{ee(J.current)},[]);const ne=ue=>{J.current&&ue.currentTarget===ue.target&&J.current.focus(),m&&m(ue)};let ze=O,Me=S;P&&ze==="input"&&(W?(process.env.NODE_ENV!=="production"&&(j||E)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),Me={type:void 0,minRows:W,maxRows:W,...Me}):Me={type:void 0,maxRows:E,minRows:j,...Me},ze=nd);const te=ue=>{ee(ue.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};w.useEffect(()=>{ie&&ie.setAdornedStart(!!Z)},[ie,Z]);const Q={...r,color:pe.color||"primary",disabled:pe.disabled,endAdornment:h,error:pe.error,focused:pe.focused,formControl:ie,fullWidth:y,hiddenLabel:pe.hiddenLabel,multiline:P,size:pe.size,startAdornment:Z,type:oe},be=Py(Q),Oe=Y.root||d.Root||oa,Pe=A.root||p.root||{},ve=Y.input||d.Input||na;return Me={...Me,...A.input??p.input},u.jsxs(w.Fragment,{children:[!v&&typeof pl=="function"&&(dl||(dl=u.jsx(pl,{}))),u.jsxs(Oe,{...Pe,ref:n,onClick:ne,...U,...!eo(Oe)&&{ownerState:{...Q,...Pe.ownerState}},className:re(be.root,Pe.className,l,z&&"MuiInputBase-readOnly"),children:[Z,u.jsx(er.Provider,{value:null,children:u.jsx(ve,{"aria-invalid":pe.error,"aria-describedby":a,autoComplete:i,autoFocus:s,defaultValue:g,disabled:pe.disabled,id:C,onAnimationStart:te,name:I,placeholder:k,readOnly:z,required:pe.required,rows:W,value:ae,onKeyDown:R,onKeyUp:M,type:oe,...Me,...!eo(ve)&&{as:ze,ownerState:{...Q,...Me.ownerState}},ref:de,className:re(be.input,Me.className,z&&"MuiInputBase-readOnly"),onBlur:Se,onChange:he,onFocus:De})}),h,V?V({...pe,startAdornment:Z}):null]})]})});process.env.NODE_ENV!=="production"&&(ra.propTypes={"aria-describedby":t.string,autoComplete:t.string,autoFocus:t.bool,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["primary","secondary","error","info","success","warning"]),t.string]),components:t.shape({Input:t.elementType,Root:t.elementType}),componentsProps:t.shape({input:t.object,root:t.object}),defaultValue:t.any,disabled:t.bool,disableInjectingGlobalStyles:t.bool,endAdornment:t.node,error:t.bool,fullWidth:t.bool,id:t.string,inputComponent:Yn,inputProps:t.object,inputRef:Pt,margin:t.oneOf(["dense","none"]),maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),multiline:t.bool,name:t.string,onBlur:t.func,onChange:t.func,onClick:t.func,onFocus:t.func,onInvalid:t.func,onKeyDown:t.func,onKeyUp:t.func,placeholder:t.string,readOnly:t.bool,renderSuffix:t.func,required:t.bool,rows:t.oneOfType([t.number,t.string]),size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),slotProps:t.shape({input:t.object,root:t.object}),slots:t.shape({input:t.elementType,root:t.elementType}),startAdornment:t.node,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.string,value:t.any});function Ry(e){return xe("MuiInput",e)}const bo={...Mt,...Ce("MuiInput",["root","underline","input"])};function Iy(e){return xe("MuiOutlinedInput",e)}const Bt={...Mt,...Ce("MuiOutlinedInput",["root","notchedOutline","input"])};function $y(e){return xe("MuiFilledInput",e)}const Nt={...Mt,...Ce("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},rd=st(u.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function jy(e){return xe("MuiAutocomplete",e)}const Be=Ce("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var ul,fl;const My=e=>{const{classes:o,disablePortal:n,expanded:r,focused:a,fullWidth:i,hasClearIcon:s,hasPopupIcon:l,inputFocused:c,popupOpen:d,size:p}=e,g={root:["root",r&&"expanded",a&&"focused",i&&"fullWidth",s&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",c&&"inputFocused"],tag:["tag",`tagSize${F(p)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",d&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return we(g,jy,o)},Ny=D("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:a,hasPopupIcon:i,inputFocused:s,size:l}=n;return[{[`& .${Be.tag}`]:o.tag},{[`& .${Be.tag}`]:o[`tagSize${F(l)}`]},{[`& .${Be.inputRoot}`]:o.inputRoot},{[`& .${Be.input}`]:o.input},{[`& .${Be.input}`]:s&&o.inputFocused},o.root,r&&o.fullWidth,i&&o.hasPopupIcon,a&&o.hasClearIcon]}})({[`&.${Be.focused} .${Be.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Be.clearIndicator}`]:{visibility:"visible"}},[`& .${Be.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Be.inputRoot}`]:{[`.${Be.hasPopupIcon}&, .${Be.hasClearIcon}&`]:{paddingRight:30},[`.${Be.hasPopupIcon}.${Be.hasClearIcon}&`]:{paddingRight:56},[`& .${Be.input}`]:{width:0,minWidth:30}},[`& .${bo.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${bo.root}.${Mt.sizeSmall}`]:{[`& .${bo.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Bt.root}`]:{padding:9,[`.${Be.hasPopupIcon}&, .${Be.hasClearIcon}&`]:{paddingRight:39},[`.${Be.hasPopupIcon}.${Be.hasClearIcon}&`]:{paddingRight:65},[`& .${Be.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Be.endAdornment}`]:{right:9}},[`& .${Bt.root}.${Mt.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Be.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Nt.root}`]:{paddingTop:19,paddingLeft:8,[`.${Be.hasPopupIcon}&, .${Be.hasClearIcon}&`]:{paddingRight:39},[`.${Be.hasPopupIcon}.${Be.hasClearIcon}&`]:{paddingRight:65},[`& .${Nt.input}`]:{padding:"7px 4px"},[`& .${Be.endAdornment}`]:{right:9}},[`& .${Nt.root}.${Mt.sizeSmall}`]:{paddingBottom:1,[`& .${Nt.input}`]:{padding:"2.5px 4px"}},[`& .${Mt.hiddenLabel}`]:{paddingTop:8},[`& .${Nt.root}.${Mt.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Be.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Nt.root}.${Mt.hiddenLabel}.${Mt.sizeSmall}`]:{[`& .${Be.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Be.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Be.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Be.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Be.inputRoot}`]:{flexWrap:"wrap"}}}]}),Ay=D("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),Ly=D(an,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),By=D(an,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.popupIndicator,n.popupOpen&&o.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Dy=D(Jn,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Be.option}`]:o.option},o.popper,n.disablePortal&&o.popperDisablePortal]}})(me(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),zy=D(Oo,{name:"MuiAutocomplete",slot:"Paper"})(me(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Fy=D("div",{name:"MuiAutocomplete",slot:"Loading"})(me(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Vy=D("div",{name:"MuiAutocomplete",slot:"NoOptions"})(me(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),_y=D("ul",{name:"MuiAutocomplete",slot:"Listbox"})(me(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Be.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Be.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Be.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Be.focused}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Be.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),Wy=D(fn,{name:"MuiAutocomplete",slot:"GroupLabel"})(me(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Uy=D("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Be.option}`]:{paddingLeft:24}}),ad=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:i=!1,autoSelect:s=!1,blurOnSelect:l=!1,ChipProps:c,className:d,clearIcon:p=ul||(ul=u.jsx($c,{fontSize:"small"})),clearOnBlur:g=!r.freeSolo,clearOnEscape:b=!1,clearText:v="Clear",closeText:h="Close",componentsProps:f,defaultValue:y=r.multiple?[]:null,disableClearable:C=!1,disableCloseOnSelect:O=!1,disabled:S=!1,disabledItemsFocusable:x=!1,disableListWrap:T=!1,disablePortal:E=!1,filterOptions:j,filterSelectedOptions:P=!1,forcePopupIcon:I="auto",freeSolo:N=!1,fullWidth:L=!1,getLimitTagsText:m=He=>`+${He}`,getOptionDisabled:$,getOptionKey:R,getOptionLabel:M,isOptionEqualToValue:k,groupBy:z,handleHomeEndKeys:V=!r.freeSolo,id:W,includeInputInList:B=!1,inputValue:A,limitTags:Y=-1,ListboxComponent:Z,ListboxProps:oe,loading:K=!1,loadingText:U="Loading…",multiple:ae=!1,noOptionsText:ce="No options",onChange:J,onClose:X,onHighlightChange:de,onInputChange:_,onOpen:se,open:ie,openOnFocus:pe=!1,openText:ke="Open",options:Ee,PaperComponent:ee,PopperComponent:De,popupIcon:Se=fl||(fl=u.jsx(rd,{})),readOnly:he=!1,renderGroup:ne,renderInput:ze,renderOption:Me,renderTags:te,renderValue:Q,selectOnFocus:be=!r.freeSolo,size:Oe="medium",slots:Pe={},slotProps:ve={},value:ue,...Ve}=r,{getRootProps:Ne,getInputProps:We,getInputLabelProps:Ot,getPopupIndicatorProps:vt,getClearProps:ut,getItemProps:ye,getListboxProps:Ae,getOptionProps:Xe,value:gt,dirty:_e,expanded:tt,id:Et,popupOpen:wt,focused:ft,focusedItem:je,anchorEl:St,setAnchorEl:tr,inputValue:ua,groupedOptions:_o}=gy({...r,componentName:"Autocomplete"}),Wo=!C&&!S&&_e&&!he,hn=(!N||I===!0)&&I!==!1,{onMouseDown:fa}=We(),{ref:ma,...ga}=Ae(),bn=M||(He=>He.label??He),ht={...r,disablePortal:E,expanded:tt,focused:ft,fullWidth:L,getOptionLabel:bn,hasClearIcon:Wo,hasPopupIcon:hn,inputFocused:je===-1,popupOpen:wt,size:Oe},yt=My(ht),fo={slots:{paper:ee,popper:De,...Pe},slotProps:{chip:c,listbox:oe,...f,...ve}},[ba,yn]=ge("listbox",{elementType:_y,externalForwardedProps:fo,ownerState:ht,className:yt.listbox,additionalProps:ga,ref:ma}),[or,G]=ge("paper",{elementType:Oo,externalForwardedProps:fo,ownerState:ht,className:yt.paper}),[H,fe]=ge("popper",{elementType:Jn,externalForwardedProps:fo,ownerState:ht,className:yt.popper,additionalProps:{disablePortal:E,style:{width:St?St.clientWidth:null},role:"presentation",anchorEl:St,open:wt}});let Ie;const $e=He=>({className:yt.tag,disabled:S,...ye(He)});if(ae?gt.length>0&&(te?Ie=te(gt,$e,ht):Q?Ie=Q(gt,$e,ht):Ie=gt.map((He,mo)=>{const{key:go,...vn}=$e({index:mo});return u.jsx(Qr,{label:bn(He),size:Oe,...vn,...fo.slotProps.chip},go)})):Q&&gt!=null&&(Ie=Q(gt,$e,ht)),Y>-1&&Array.isArray(Ie)){const He=Ie.length-Y;!ft&&He>0&&(Ie=Ie.splice(0,Y),Ie.push(u.jsx("span",{className:yt.tag,children:m(He)},Ie.length)))}const dt=ne||(He=>u.jsxs("li",{children:[u.jsx(Wy,{className:yt.groupLabel,ownerState:ht,component:"div",children:He.group}),u.jsx(Uy,{className:yt.groupUl,ownerState:ht,children:He.children})]},He.key)),Uo=Me||((He,mo)=>{const{key:go,...vn}=He;return u.jsx("li",{...vn,children:bn(mo)},go)}),Qi=(He,mo)=>{const go=Xe({option:He,index:mo});return Uo({...go,className:yt.option},He,{selected:go["aria-selected"],index:mo,inputValue:ua},ht)},es=fo.slotProps.clearIndicator,ts=fo.slotProps.popupIndicator;return u.jsxs(w.Fragment,{children:[u.jsx(Ny,{ref:n,className:re(yt.root,d),ownerState:ht,...Ne(Ve),children:ze({id:Et,disabled:S,fullWidth:!0,size:Oe==="small"?"small":void 0,InputLabelProps:Ot(),InputProps:{ref:tr,className:yt.inputRoot,startAdornment:Ie,onMouseDown:He=>{He.target===He.currentTarget&&fa(He)},...(Wo||hn)&&{endAdornment:u.jsxs(Ay,{className:yt.endAdornment,ownerState:ht,children:[Wo?u.jsx(Ly,{...ut(),"aria-label":v,title:v,ownerState:ht,...es,className:re(yt.clearIndicator,es?.className),children:p}):null,hn?u.jsx(By,{...vt(),disabled:S,"aria-label":wt?h:ke,title:wt?h:ke,ownerState:ht,...ts,className:re(yt.popupIndicator,ts?.className),children:Se}):null]})}},inputProps:{className:yt.input,disabled:S,readOnly:he,...We()}})}),St?u.jsx(Dy,{as:H,...fe,children:u.jsxs(zy,{as:or,...G,children:[K&&_o.length===0?u.jsx(Fy,{className:yt.loading,ownerState:ht,children:U}):null,_o.length===0&&!N&&!K?u.jsx(Vy,{className:yt.noOptions,ownerState:ht,role:"presentation",onMouseDown:He=>{He.preventDefault()},children:ce}):null,_o.length>0?u.jsx(ba,{as:Z,...yn,children:_o.map((He,mo)=>z?dt({key:He.key,group:He.group,children:He.options.map((go,vn)=>Qi(go,He.index+vn))}):Qi(He,mo))}):null]})}):null]})});process.env.NODE_ENV!=="production"&&(ad.propTypes={autoComplete:t.bool,autoHighlight:t.bool,autoSelect:t.bool,blurOnSelect:t.oneOfType([t.oneOf(["mouse","touch"]),t.bool]),ChipProps:t.object,classes:t.object,className:t.string,clearIcon:t.node,clearOnBlur:t.bool,clearOnEscape:t.bool,clearText:t.string,closeText:t.string,componentsProps:t.shape({clearIndicator:t.object,paper:t.object,popper:t.object,popupIndicator:t.object}),defaultValue:xt(t.any,e=>e.multiple&&e.defaultValue!==void 0&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join(`
323
- `)):null),disableClearable:t.bool,disableCloseOnSelect:t.bool,disabled:t.bool,disabledItemsFocusable:t.bool,disableListWrap:t.bool,disablePortal:t.bool,filterOptions:t.func,filterSelectedOptions:t.bool,forcePopupIcon:t.oneOfType([t.oneOf(["auto"]),t.bool]),freeSolo:t.bool,fullWidth:t.bool,getLimitTagsText:t.func,getOptionDisabled:t.func,getOptionKey:t.func,getOptionLabel:t.func,groupBy:t.func,handleHomeEndKeys:t.bool,id:t.string,includeInputInList:t.bool,inputValue:t.string,isOptionEqualToValue:t.func,limitTags:ki,ListboxComponent:t.elementType,ListboxProps:t.object,loading:t.bool,loadingText:t.node,multiple:t.bool,noOptionsText:t.node,onChange:t.func,onClose:t.func,onHighlightChange:t.func,onInputChange:t.func,onKeyDown:t.func,onOpen:t.func,open:t.bool,openOnFocus:t.bool,openText:t.string,options:t.array.isRequired,PaperComponent:t.elementType,PopperComponent:t.elementType,popupIcon:t.node,readOnly:t.bool,renderGroup:t.func,renderInput:t.func.isRequired,renderOption:t.func,renderTags:t.func,renderValue:t.func,selectOnFocus:t.bool,size:t.oneOfType([t.oneOf(["small","medium"]),t.string]),slotProps:t.shape({chip:t.oneOfType([t.func,t.object]),clearIndicator:t.oneOfType([t.func,t.object]),listbox:t.oneOfType([t.func,t.object]),paper:t.oneOfType([t.func,t.object]),popper:t.oneOfType([t.func,t.object]),popupIndicator:t.oneOfType([t.func,t.object])}),slots:t.shape({listbox:t.elementType,paper:t.elementType,popper:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:xt(t.any,e=>e.multiple&&e.value!==void 0&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join(`
324
- `)):null)});const Hy=e=>{const{classes:o,disableUnderline:n}=e,a=we({root:["root",!n&&"underline"],input:["input"]},Ry,o);return{...o,...a}},qy=D(oa,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[...ea(e,o),!n.disableUnderline&&o.underline]}})(me(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${bo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${bo.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${bo.disabled}, .${bo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${bo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(qe()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),Gy=D(na,{name:"MuiInput",slot:"Input",overridesResolver:ta})({}),aa=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiInput"}),{disableUnderline:a=!1,components:i={},componentsProps:s,fullWidth:l=!1,inputComponent:c="input",multiline:d=!1,slotProps:p,slots:g={},type:b="text",...v}=r,h=Hy(r),y={root:{ownerState:{disableUnderline:a}}},C=p??s?Tt(p??s,y):y,O=g.root??i.Root??qy,S=g.input??i.Input??Gy;return u.jsx(ra,{slots:{root:O,input:S},slotProps:C,fullWidth:l,inputComponent:c,multiline:d,ref:n,type:b,...v,classes:h})});process.env.NODE_ENV!=="production"&&(aa.propTypes={autoComplete:t.string,autoFocus:t.bool,classes:t.object,color:t.oneOfType([t.oneOf(["primary","secondary"]),t.string]),components:t.shape({Input:t.elementType,Root:t.elementType}),componentsProps:t.shape({input:t.object,root:t.object}),defaultValue:t.any,disabled:t.bool,disableUnderline:t.bool,endAdornment:t.node,error:t.bool,fullWidth:t.bool,id:t.string,inputComponent:t.elementType,inputProps:t.object,inputRef:Pt,margin:t.oneOf(["dense","none"]),maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),multiline:t.bool,name:t.string,onChange:t.func,placeholder:t.string,readOnly:t.bool,required:t.bool,rows:t.oneOfType([t.number,t.string]),slotProps:t.shape({input:t.object,root:t.object}),slots:t.shape({input:t.elementType,root:t.elementType}),startAdornment:t.node,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.string,value:t.any});aa.muiName="Input";const Ky=e=>{const{classes:o,disableUnderline:n,startAdornment:r,endAdornment:a,size:i,hiddenLabel:s,multiline:l}=e,c={root:["root",!n&&"underline",r&&"adornedStart",a&&"adornedEnd",i==="small"&&`size${F(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},d=we(c,$y,o);return{...o,...d}},Yy=D(oa,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[...ea(e,o),!n.disableUnderline&&o.underline]}})(me(({theme:e})=>{const o=e.palette.mode==="light",n=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Nt.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Nt.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Nt.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Nt.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Nt.disabled}, .${Nt.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Nt.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(qe()).map(([s])=>({props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[s]?.main}`}}})),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:l})=>s.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),Xy=D(na,{name:"MuiFilledInput",slot:"Input",overridesResolver:ta})(me(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:o})=>o.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:0}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:0}},{props:({ownerState:o})=>o.hiddenLabel&&o.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:o})=>o.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),ia=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiFilledInput"}),{disableUnderline:a=!1,components:i={},componentsProps:s,fullWidth:l=!1,hiddenLabel:c,inputComponent:d="input",multiline:p=!1,slotProps:g,slots:b={},type:v="text",...h}=r,f={...r,disableUnderline:a,fullWidth:l,inputComponent:d,multiline:p,type:v},y=Ky(r),C={root:{ownerState:f},input:{ownerState:f}},O=g??s?Tt(C,g??s):C,S=b.root??i.Root??Yy,x=b.input??i.Input??Xy;return u.jsx(ra,{slots:{root:S,input:x},slotProps:O,fullWidth:l,inputComponent:d,multiline:p,ref:n,type:v,...h,classes:y})});process.env.NODE_ENV!=="production"&&(ia.propTypes={autoComplete:t.string,autoFocus:t.bool,classes:t.object,color:t.oneOfType([t.oneOf(["primary","secondary"]),t.string]),components:t.shape({Input:t.elementType,Root:t.elementType}),componentsProps:t.shape({input:t.object,root:t.object}),defaultValue:t.any,disabled:t.bool,disableUnderline:t.bool,endAdornment:t.node,error:t.bool,fullWidth:t.bool,hiddenLabel:t.bool,id:t.string,inputComponent:t.elementType,inputProps:t.object,inputRef:Pt,margin:t.oneOf(["dense","none"]),maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),multiline:t.bool,name:t.string,onChange:t.func,placeholder:t.string,readOnly:t.bool,required:t.bool,rows:t.oneOfType([t.number,t.string]),slotProps:t.shape({input:t.object,root:t.object}),slots:t.shape({input:t.elementType,root:t.elementType}),startAdornment:t.node,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.string,value:t.any});ia.muiName="Input";var ml;const Zy=D("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:Ct})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Jy=D("legend",{name:"MuiNotchedOutlined",shouldForwardProp:Ct})(me(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:o})=>!o.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:o})=>o.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:o})=>o.withLabel&&o.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function id(e){const{children:o,classes:n,className:r,label:a,notched:i,...s}=e,l=a!=null&&a!=="",c={...e,notched:i,withLabel:l};return u.jsx(Zy,{"aria-hidden":!0,className:r,ownerState:c,...s,children:u.jsx(Jy,{ownerState:c,children:l?u.jsx("span",{children:a}):ml||(ml=u.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}process.env.NODE_ENV!=="production"&&(id.propTypes={children:t.node,classes:t.object,className:t.string,label:t.node,notched:t.bool.isRequired,style:t.object});const Qy=e=>{const{classes:o}=e,r=we({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Iy,o);return{...o,...r}},ev=D(oa,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ea})(me(({theme:e})=>{const o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Bt.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Bt.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):o}},[`&.${Bt.focused} .${Bt.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(qe()).map(([n])=>({props:{color:n},style:{[`&.${Bt.focused} .${Bt.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${Bt.error} .${Bt.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Bt.disabled} .${Bt.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),tv=D(id,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(me(({theme:e})=>{const o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):o}})),ov=D(na,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ta})(me(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:o})=>o.multiline,style:{padding:0}},{props:({ownerState:o})=>o.startAdornment,style:{paddingLeft:0}},{props:({ownerState:o})=>o.endAdornment,style:{paddingRight:0}}]}))),sa=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiOutlinedInput"}),{components:a={},fullWidth:i=!1,inputComponent:s="input",label:l,multiline:c=!1,notched:d,slots:p={},slotProps:g={},type:b="text",...v}=r,h=Qy(r),f=Yt(),y=ko({props:r,muiFormControl:f,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C={...r,color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:f,fullWidth:i,hiddenLabel:y.hiddenLabel,multiline:c,size:y.size,type:b},O=p.root??a.Root??ev,S=p.input??a.Input??ov,[x,T]=ge("notchedOutline",{elementType:tv,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:C,externalForwardedProps:{slots:p,slotProps:g},additionalProps:{label:l!=null&&l!==""&&y.required?u.jsxs(w.Fragment,{children:[l," ","*"]}):l}});return u.jsx(ra,{slots:{root:O,input:S},slotProps:g,renderSuffix:E=>u.jsx(x,{...T,notched:typeof d<"u"?d:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:i,inputComponent:s,multiline:c,ref:n,type:b,...v,classes:{...h,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(sa.propTypes={autoComplete:t.string,autoFocus:t.bool,classes:t.object,color:t.oneOfType([t.oneOf(["primary","secondary"]),t.string]),components:t.shape({Input:t.elementType,Root:t.elementType}),defaultValue:t.any,disabled:t.bool,endAdornment:t.node,error:t.bool,fullWidth:t.bool,id:t.string,inputComponent:t.elementType,inputProps:t.object,inputRef:Pt,label:t.node,margin:t.oneOf(["dense","none"]),maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),multiline:t.bool,name:t.string,notched:t.bool,onChange:t.func,placeholder:t.string,readOnly:t.bool,required:t.bool,rows:t.oneOfType([t.number,t.string]),slotProps:t.shape({input:t.object,notchedOutline:t.oneOfType([t.func,t.object]),root:t.object}),slots:t.shape({input:t.elementType,notchedOutline:t.elementType,root:t.elementType}),startAdornment:t.node,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.string,value:t.any});sa.muiName="Input";function nv(e){return xe("MuiFormLabel",e)}const Dn=Ce("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),rv=e=>{const{classes:o,color:n,focused:r,disabled:a,error:i,filled:s,required:l}=e,c={root:["root",`color${F(n)}`,a&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return we(c,nv,o)},av=D("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color==="secondary"&&o.colorSecondary,n.filled&&o.filled]}})(me(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{[`&.${Dn.focused}`]:{color:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${Dn.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Dn.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),iv=D("span",{name:"MuiFormLabel",slot:"Asterisk"})(me(({theme:e})=>({[`&.${Dn.error}`]:{color:(e.vars||e).palette.error.main}}))),$r=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiFormLabel"}),{children:a,className:i,color:s,component:l="label",disabled:c,error:d,filled:p,focused:g,required:b,...v}=r,h=Yt(),f=ko({props:r,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),y={...r,color:f.color||"primary",component:l,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required},C=rv(y);return u.jsxs(av,{as:l,ownerState:y,className:re(C.root,i),ref:n,...v,children:[a,f.required&&u.jsxs(iv,{ownerState:y,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&($r.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["error","info","primary","secondary","success","warning"]),t.string]),component:t.elementType,disabled:t.bool,error:t.bool,filled:t.bool,focused:t.bool,required:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function sv(e){return xe("MuiInputLabel",e)}Ce("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const lv=e=>{const{classes:o,formControl:n,size:r,shrink:a,disableAnimation:i,variant:s,required:l}=e,c={root:["root",n&&"formControl",!i&&"animated",a&&"shrink",r&&r!=="medium"&&`size${F(r)}`,s],asterisk:[l&&"asterisk"]},d=we(c,sv,o);return{...o,...d}},cv=D($r,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Dn.asterisk}`]:o.asterisk},o.root,n.formControl&&o.formControl,n.size==="small"&&o.sizeSmall,n.shrink&&o.shrink,!n.disableAnimation&&o.animated,n.focused&&o.focused,o[n.variant]]}})(me(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:o})=>o.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:o})=>o.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:o})=>!o.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:o,ownerState:n})=>o==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:o,ownerState:n,size:r})=>o==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:o,ownerState:n})=>o==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),_i=w.forwardRef(function(o,n){const r=Te({name:"MuiInputLabel",props:o}),{disableAnimation:a=!1,margin:i,shrink:s,variant:l,className:c,...d}=r,p=Yt();let g=s;typeof g>"u"&&p&&(g=p.filled||p.focused||p.adornedStart);const b=ko({props:r,muiFormControl:p,states:["size","variant","required","focused"]}),v={...r,disableAnimation:a,formControl:p,shrink:g,size:b.size,variant:b.variant,required:b.required,focused:b.focused},h=lv(v);return u.jsx(cv,{"data-shrink":g,ref:n,className:re(h.root,c),...d,ownerState:v,classes:h})});process.env.NODE_ENV!=="production"&&(_i.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["error","info","primary","secondary","success","warning"]),t.string]),disableAnimation:t.bool,disabled:t.bool,error:t.bool,focused:t.bool,margin:t.oneOf(["dense"]),required:t.bool,shrink:t.bool,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOf(["filled","outlined","standard"])});function dv(e){return xe("MuiFormControl",e)}Ce("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const pv=e=>{const{classes:o,margin:n,fullWidth:r}=e,a={root:["root",n!=="none"&&`margin${F(n)}`,r&&"fullWidth"]};return we(a,dv,o)},uv=D("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`margin${F(n.margin)}`],n.fullWidth&&o.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),la=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiFormControl"}),{children:a,className:i,color:s="primary",component:l="div",disabled:c=!1,error:d=!1,focused:p,fullWidth:g=!1,hiddenLabel:b=!1,margin:v="none",required:h=!1,size:f="medium",variant:y="outlined",...C}=r,O={...r,color:s,component:l,disabled:c,error:d,fullWidth:g,hiddenLabel:b,margin:v,required:h,size:f,variant:y},S=pv(O),[x,T]=w.useState(()=>{let k=!1;return a&&w.Children.forEach(a,z=>{if(!An(z,["Input","Select"]))return;const V=An(z,["Select"])?z.props.input:z;V&&Ey(V.props)&&(k=!0)}),k}),[E,j]=w.useState(()=>{let k=!1;return a&&w.Children.forEach(a,z=>{An(z,["Input","Select"])&&(Ir(z.props,!0)||Ir(z.props.inputProps,!0))&&(k=!0)}),k}),[P,I]=w.useState(!1);c&&P&&I(!1);const N=p!==void 0&&!c?p:P;let L;const m=w.useRef(!1);process.env.NODE_ENV!=="production"&&(L=()=>(m.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
325
- `)),m.current=!0,()=>{m.current=!1}));const $=w.useCallback(()=>{j(!0)},[]),R=w.useCallback(()=>{j(!1)},[]),M=w.useMemo(()=>({adornedStart:x,setAdornedStart:T,color:s,disabled:c,error:d,filled:E,focused:N,fullWidth:g,hiddenLabel:b,size:f,onBlur:()=>{I(!1)},onFocus:()=>{I(!0)},onEmpty:R,onFilled:$,registerEffect:L,required:h,variant:y}),[x,s,c,d,E,N,g,b,L,R,$,h,f,y]);return u.jsx(er.Provider,{value:M,children:u.jsx(uv,{as:l,ownerState:O,className:re(S.root,i),ref:n,...C,children:a})})});process.env.NODE_ENV!=="production"&&(la.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["primary","secondary","error","info","success","warning"]),t.string]),component:t.elementType,disabled:t.bool,error:t.bool,focused:t.bool,fullWidth:t.bool,hiddenLabel:t.bool,margin:t.oneOf(["dense","none","normal"]),required:t.bool,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOf(["filled","outlined","standard"])});function fv(e){return xe("MuiFormHelperText",e)}const gl=Ce("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var hl;const mv=e=>{const{classes:o,contained:n,size:r,disabled:a,error:i,filled:s,focused:l,required:c}=e,d={root:["root",a&&"disabled",i&&"error",r&&`size${F(r)}`,n&&"contained",l&&"focused",s&&"filled",c&&"required"]};return we(d,fv,o)},gv=D("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.size&&o[`size${F(n.size)}`],n.contained&&o.contained,n.filled&&o.filled]}})(me(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${gl.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${gl.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:o})=>o.contained,style:{marginLeft:14,marginRight:14}}]}))),Wi=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiFormHelperText"}),{children:a,className:i,component:s="p",disabled:l,error:c,filled:d,focused:p,margin:g,required:b,variant:v,...h}=r,f=Yt(),y=ko({props:r,muiFormControl:f,states:["variant","size","disabled","error","filled","focused","required"]}),C={...r,component:s,contained:y.variant==="filled"||y.variant==="outlined",variant:y.variant,size:y.size,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required};delete C.ownerState;const O=mv(C);return u.jsx(gv,{as:s,className:re(O.root,i),ref:n,...h,ownerState:C,children:a===" "?hl||(hl=u.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):a})});process.env.NODE_ENV!=="production"&&(Wi.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,disabled:t.bool,error:t.bool,filled:t.bool,focused:t.bool,margin:t.oneOf(["dense"]),required:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["filled","outlined","standard"]),t.string])});const _t=w.createContext({});process.env.NODE_ENV!=="production"&&(_t.displayName="ListContext");function hv(e){return xe("MuiList",e)}Ce("MuiList",["root","padding","dense","subheader"]);const bv=e=>{const{classes:o,disablePadding:n,dense:r,subheader:a}=e;return we({root:["root",!n&&"padding",r&&"dense",a&&"subheader"]},hv,o)},yv=D("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.disablePadding&&o.padding,n.dense&&o.dense,n.subheader&&o.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Ui=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiList"}),{children:a,className:i,component:s="ul",dense:l=!1,disablePadding:c=!1,subheader:d,...p}=r,g=w.useMemo(()=>({dense:l}),[l]),b={...r,component:s,dense:l,disablePadding:c},v=bv(b);return u.jsx(_t.Provider,{value:g,children:u.jsxs(yv,{as:s,className:re(v.root,i),ref:n,ownerState:b,...p,children:[d,a]})})});process.env.NODE_ENV!=="production"&&(Ui.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,dense:t.bool,disablePadding:t.bool,subheader:t.node,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function $n(e){let o=e.activeElement;for(;o?.shadowRoot?.activeElement!=null;)o=o.shadowRoot.activeElement;return o}function sd(e=window){const o=e.document.documentElement.clientWidth;return e.innerWidth-o}function Na(e,o,n){return e===o?e.firstChild:o&&o.nextElementSibling?o.nextElementSibling:n?null:e.firstChild}function bl(e,o,n){return e===o?n?e.firstChild:e.lastChild:o&&o.previousElementSibling?o.previousElementSibling:n?null:e.lastChild}function ld(e,o){if(o===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:o.repeating?n[0]===o.keys[0]:n.startsWith(o.keys.join(""))}function Tn(e,o,n,r,a,i){let s=!1,l=a(e,o,o?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const c=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!ld(l,i)||c)l=a(e,l,n);else return l.focus(),!0}return!1}const cd=w.forwardRef(function(o,n){const{actions:r,autoFocus:a=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:c=!1,disableListWrap:d=!1,onKeyDown:p,variant:g="selectedMenu",...b}=o,v=w.useRef(null),h=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Wt(()=>{a&&v.current.focus()},[a]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(S,{direction:x})=>{const T=!v.current.style.width;if(S.clientHeight<v.current.clientHeight&&T){const E=`${sd(so(S))}px`;v.current.style[x==="rtl"?"paddingLeft":"paddingRight"]=E,v.current.style.width=`calc(100% + ${E})`}return v.current}}),[]);const f=S=>{const x=v.current,T=S.key;if(S.ctrlKey||S.metaKey||S.altKey){p&&p(S);return}const j=$n(mt(x));if(T==="ArrowDown")S.preventDefault(),Tn(x,j,d,c,Na);else if(T==="ArrowUp")S.preventDefault(),Tn(x,j,d,c,bl);else if(T==="Home")S.preventDefault(),Tn(x,null,d,c,Na);else if(T==="End")S.preventDefault(),Tn(x,null,d,c,bl);else if(T.length===1){const P=h.current,I=T.toLowerCase(),N=performance.now();P.keys.length>0&&(N-P.lastTime>500?(P.keys=[],P.repeating=!0,P.previousKeyMatched=!0):P.repeating&&I!==P.keys[0]&&(P.repeating=!1)),P.lastTime=N,P.keys.push(I);const L=j&&!P.repeating&&ld(j,P);P.previousKeyMatched&&(L||Tn(x,j,!1,c,Na,P))?S.preventDefault():P.previousKeyMatched=!1}p&&p(S)},y=ot(v,n);let C=-1;w.Children.forEach(s,(S,x)=>{if(!w.isValidElement(S)){C===x&&(C+=1,C>=s.length&&(C=-1));return}process.env.NODE_ENV!=="production"&&Co.isFragment(S)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
326
- `)),S.props.disabled||(g==="selectedMenu"&&S.props.selected||C===-1)&&(C=x),C===x&&(S.props.disabled||S.props.muiSkipListHighlight||S.type.muiSkipListHighlight)&&(C+=1,C>=s.length&&(C=-1))});const O=w.Children.map(s,(S,x)=>{if(x===C){const T={};return i&&(T.autoFocus=!0),S.props.tabIndex===void 0&&g==="selectedMenu"&&(T.tabIndex=0),w.cloneElement(S,T)}return S});return u.jsx(Ui,{role:"menu",ref:y,className:l,onKeyDown:f,tabIndex:a?0:-1,...b,children:O})});process.env.NODE_ENV!=="production"&&(cd.propTypes={autoFocus:t.bool,autoFocusItem:t.bool,children:t.node,className:t.string,disabledItemsFocusable:t.bool,disableListWrap:t.bool,onKeyDown:t.func,variant:t.oneOf(["menu","selectedMenu"])});function vv(e){const o=mt(e);return o.body===e?so(e).innerWidth>o.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function zn(e,o){o?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function yl(e){return parseInt(so(e).getComputedStyle(e).paddingRight,10)||0}function xv(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function vl(e,o,n,r,a){const i=[o,n,...r];[].forEach.call(e.children,s=>{const l=!i.includes(s),c=!xv(s);l&&c&&zn(s,a)})}function Aa(e,o){let n=-1;return e.some((r,a)=>o(r)?(n=a,!0):!1),n}function Cv(e,o){const n=[],r=e.container;if(!o.disableScrollLock){if(vv(r)){const s=sd(so(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${yl(r)+s}px`;const l=mt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${yl(c)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=mt(r).body;else{const s=r.parentElement,l=so(r);i=s?.nodeName==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function wv(e){const o=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&o.push(n)}),o}class Sv{constructor(){this.modals=[],this.containers=[]}add(o,n){let r=this.modals.indexOf(o);if(r!==-1)return r;r=this.modals.length,this.modals.push(o),o.modalRef&&zn(o.modalRef,!1);const a=wv(n);vl(n,o.mount,o.modalRef,a,!0);const i=Aa(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(o),r):(this.containers.push({modals:[o],container:n,restore:null,hiddenSiblings:a}),r)}mount(o,n){const r=Aa(this.containers,i=>i.modals.includes(o)),a=this.containers[r];a.restore||(a.restore=Cv(a,n))}remove(o,n=!0){const r=this.modals.indexOf(o);if(r===-1)return r;const a=Aa(this.containers,s=>s.modals.includes(o)),i=this.containers[a];if(i.modals.splice(i.modals.indexOf(o),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),o.modalRef&&zn(o.modalRef,n),vl(i.container,o.mount,o.modalRef,i.hiddenSiblings,!1),this.containers.splice(a,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&zn(s.modalRef,!1)}return r}isTopModal(o){return this.modals.length>0&&this.modals[this.modals.length-1]===o}}const Tv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ov(e){const o=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(o)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:o}function Ev(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const o=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=o(`[name="${e.name}"]:checked`);return n||(n=o(`[name="${e.name}"]`)),n!==e}function kv(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Ev(e))}function Pv(e){const o=[],n=[];return Array.from(e.querySelectorAll(Tv)).forEach((r,a)=>{const i=Ov(r);i===-1||!kv(r)||(i===0?o.push(r):n.push({documentOrder:a,tabIndex:i,node:r}))}),n.sort((r,a)=>r.tabIndex===a.tabIndex?r.documentOrder-a.documentOrder:r.tabIndex-a.tabIndex).map(r=>r.node).concat(o)}function Rv(){return!0}function jr(e){const{children:o,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:a=!1,getTabbable:i=Pv,isEnabled:s=Rv,open:l}=e,c=w.useRef(!1),d=w.useRef(null),p=w.useRef(null),g=w.useRef(null),b=w.useRef(null),v=w.useRef(!1),h=w.useRef(null),f=ot(Vo(o),h),y=w.useRef(null);w.useEffect(()=>{!l||!h.current||(v.current=!n)},[n,l]),w.useEffect(()=>{if(!l||!h.current)return;const S=mt(h.current),x=$n(S);return h.current.contains(x)||(h.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(`
327
- `)),h.current.setAttribute("tabIndex","-1")),v.current&&h.current.focus()),()=>{a||(g.current&&g.current.focus&&(c.current=!0,g.current.focus()),g.current=null)}},[l]),w.useEffect(()=>{if(!l||!h.current)return;const S=mt(h.current),x=$n(S),T=P=>{y.current=P,!(r||!s()||P.key!=="Tab")&&x===h.current&&P.shiftKey&&(c.current=!0,p.current&&p.current.focus())},E=()=>{const P=h.current;if(P===null)return;const I=$n(S);if(!S.hasFocus()||!s()||c.current){c.current=!1;return}if(P.contains(I)||r&&I!==d.current&&I!==p.current)return;if(I!==b.current)b.current=null;else if(b.current!==null)return;if(!v.current)return;let N=[];if((I===d.current||I===p.current)&&(N=i(h.current)),N.length>0){const L=!!(y.current?.shiftKey&&y.current?.key==="Tab"),m=N[0],$=N[N.length-1];typeof m!="string"&&typeof $!="string"&&(L?$.focus():m.focus())}else P.focus()};S.addEventListener("focusin",E),S.addEventListener("keydown",T,!0);const j=setInterval(()=>{const P=$n(S);P&&P.tagName==="BODY"&&E()},50);return()=>{clearInterval(j),S.removeEventListener("focusin",E),S.removeEventListener("keydown",T,!0)}},[n,r,a,s,l,i]);const C=S=>{g.current===null&&(g.current=S.relatedTarget),v.current=!0,b.current=S.target;const x=o.props.onFocus;x&&x(S)},O=S=>{g.current===null&&(g.current=S.relatedTarget),v.current=!0};return u.jsxs(w.Fragment,{children:[u.jsx("div",{tabIndex:l?0:-1,onFocus:O,ref:d,"data-testid":"sentinelStart"}),w.cloneElement(o,{ref:f,onFocus:C}),u.jsx("div",{tabIndex:l?0:-1,onFocus:O,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(jr.propTypes={children:Fo,disableAutoFocus:t.bool,disableEnforceFocus:t.bool,disableRestoreFocus:t.bool,getTabbable:t.func,isEnabled:t.func,open:t.bool.isRequired});process.env.NODE_ENV!=="production"&&(jr.propTypes=gi(jr.propTypes));const Iv={entering:{opacity:1},entered:{opacity:1}},dd=w.forwardRef(function(o,n){const r=jt(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:c,in:d,onEnter:p,onEntered:g,onEntering:b,onExit:v,onExited:h,onExiting:f,style:y,timeout:C=a,TransitionComponent:O=Kt,...S}=o,x=w.useRef(null),T=ot(x,Vo(l),n),E=R=>M=>{if(R){const k=x.current;M===void 0?R(k):R(k,M)}},j=E(b),P=E((R,M)=>{jc(R);const k=sn({style:y,timeout:C,easing:c},{mode:"enter"});R.style.webkitTransition=r.transitions.create("opacity",k),R.style.transition=r.transitions.create("opacity",k),p&&p(R,M)}),I=E(g),N=E(f),L=E(R=>{const M=sn({style:y,timeout:C,easing:c},{mode:"exit"});R.style.webkitTransition=r.transitions.create("opacity",M),R.style.transition=r.transitions.create("opacity",M),v&&v(R)}),m=E(h),$=R=>{i&&i(x.current,R)};return u.jsx(O,{appear:s,in:d,nodeRef:x,onEnter:P,onEntered:I,onEntering:j,onExit:L,onExited:m,onExiting:N,addEndListener:$,timeout:C,...S,children:(R,{ownerState:M,...k})=>w.cloneElement(l,{style:{opacity:0,visibility:R==="exited"&&!d?"hidden":void 0,...Iv[R],...y,...l.props.style},ref:T,...k})})});process.env.NODE_ENV!=="production"&&(dd.propTypes={addEndListener:t.func,appear:t.bool,children:Fo.isRequired,easing:t.oneOfType([t.shape({enter:t.string,exit:t.string}),t.string]),in:t.bool,onEnter:t.func,onEntered:t.func,onEntering:t.func,onExit:t.func,onExited:t.func,onExiting:t.func,style:t.object,timeout:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})])});function $v(e){return xe("MuiBackdrop",e)}Ce("MuiBackdrop",["root","invisible"]);const jv=e=>{const{classes:o,invisible:n}=e;return we({root:["root",n&&"invisible"]},$v,o)},Mv=D("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.invisible&&o.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"}}]}),pd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiBackdrop"}),{children:a,className:i,component:s="div",invisible:l=!1,open:c,components:d={},componentsProps:p={},slotProps:g={},slots:b={},TransitionComponent:v,transitionDuration:h,...f}=r,y={...r,component:s,invisible:l},C=jv(y),O={transition:v,root:d.Root,...b},S={...p,...g},x={component:s,slots:O,slotProps:S},[T,E]=ge("root",{elementType:Mv,externalForwardedProps:x,className:re(C.root,i),ownerState:y}),[j,P]=ge("transition",{elementType:dd,externalForwardedProps:x,ownerState:y});return u.jsx(j,{in:c,timeout:h,...f,...P,children:u.jsx(T,{"aria-hidden":!0,...E,classes:C,ref:n,children:a})})});process.env.NODE_ENV!=="production"&&(pd.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,components:t.shape({Root:t.elementType}),componentsProps:t.shape({root:t.object}),invisible:t.bool,open:t.bool.isRequired,slotProps:t.shape({root:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),TransitionComponent:t.elementType,transitionDuration:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})])});function Nv(e){return typeof e=="function"?e():e}function Av(e){return e?e.props.hasOwnProperty("in"):!1}const xl=()=>{},pr=new Sv;function Lv(e){const{container:o,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:d,rootRef:p}=e,g=w.useRef({}),b=w.useRef(null),v=w.useRef(null),h=ot(v,p),[f,y]=w.useState(!d),C=Av(l);let O=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(O=!1);const S=()=>mt(b.current),x=()=>(g.current.modalRef=v.current,g.current.mount=b.current,g.current),T=()=>{pr.mount(x(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},E=bt(()=>{const M=Nv(o)||S().body;pr.add(x(),M),v.current&&T()}),j=()=>pr.isTopModal(x()),P=bt(M=>{b.current=M,M&&(d&&j()?T():v.current&&zn(v.current,O))}),I=w.useCallback(()=>{pr.remove(x(),O)},[O]);w.useEffect(()=>()=>{I()},[I]),w.useEffect(()=>{d?E():(!C||!a)&&I()},[d,I,C,a,E]);const N=M=>k=>{M.onKeyDown?.(k),!(k.key!=="Escape"||k.which===229||!j())&&(n||(k.stopPropagation(),c&&c(k,"escapeKeyDown")))},L=M=>k=>{M.onClick?.(k),k.target===k.currentTarget&&c&&c(k,"backdropClick")};return{getRootProps:(M={})=>{const k=Lo(e);delete k.onTransitionEnter,delete k.onTransitionExited;const z={...k,...M};return{role:"presentation",...z,onKeyDown:N(z),ref:h}},getBackdropProps:(M={})=>{const k=M;return{"aria-hidden":!0,...k,onClick:L(k),open:d}},getTransitionProps:()=>{const M=()=>{y(!1),i&&i()},k=()=>{y(!0),s&&s(),a&&I()};return{onEnter:Da(M,l?.props.onEnter??xl),onExited:Da(k,l?.props.onExited??xl)}},rootRef:h,portalRef:P,isTopModal:j,exited:f,hasTransition:C}}function Bv(e){return xe("MuiModal",e)}Ce("MuiModal",["root","hidden","backdrop"]);const Dv=e=>{const{open:o,exited:n,classes:r}=e;return we({root:["root",!o&&n&&"hidden"],backdrop:["backdrop"]},Bv,r)},zv=D("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.open&&n.exited&&o.hidden]}})(me(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:o})=>!o.open&&o.exited,style:{visibility:"hidden"}}]}))),Fv=D(pd,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),ud=w.forwardRef(function(o,n){const r=Te({name:"MuiModal",props:o}),{BackdropComponent:a=Fv,BackdropProps:i,classes:s,className:l,closeAfterTransition:c=!1,children:d,container:p,component:g,components:b={},componentsProps:v={},disableAutoFocus:h=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:y=!1,disablePortal:C=!1,disableRestoreFocus:O=!1,disableScrollLock:S=!1,hideBackdrop:x=!1,keepMounted:T=!1,onClose:E,onTransitionEnter:j,onTransitionExited:P,open:I,slotProps:N={},slots:L={},theme:m,...$}=r,R={...r,closeAfterTransition:c,disableAutoFocus:h,disableEnforceFocus:f,disableEscapeKeyDown:y,disablePortal:C,disableRestoreFocus:O,disableScrollLock:S,hideBackdrop:x,keepMounted:T},{getRootProps:M,getBackdropProps:k,getTransitionProps:z,portalRef:V,isTopModal:W,exited:B,hasTransition:A}=Lv({...R,rootRef:n}),Y={...R,exited:B},Z=Dv(Y),oe={};if(d.props.tabIndex===void 0&&(oe.tabIndex="-1"),A){const{onEnter:X,onExited:de}=z();oe.onEnter=X,oe.onExited=de}const K={slots:{root:b.Root,backdrop:b.Backdrop,...L},slotProps:{...v,...N}},[U,ae]=ge("root",{ref:n,elementType:zv,externalForwardedProps:{...K,...$,component:g},getSlotProps:M,ownerState:Y,className:re(l,Z?.root,!Y.open&&Y.exited&&Z?.hidden)}),[ce,J]=ge("backdrop",{ref:i?.ref,elementType:a,externalForwardedProps:K,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:X=>k({...X,onClick:de=>{X?.onClick&&X.onClick(de)}}),className:re(i?.className,Z?.backdrop),ownerState:Y});return!T&&!I&&(!A||B)?null:u.jsx(Wn,{ref:V,container:p,disablePortal:C,children:u.jsxs(U,{...ae,children:[!x&&a?u.jsx(ce,{...J}):null,u.jsx(jr,{disableEnforceFocus:f,disableAutoFocus:h,disableRestoreFocus:O,isEnabled:W,open:I,children:w.cloneElement(d,oe)})]})})});process.env.NODE_ENV!=="production"&&(ud.propTypes={BackdropComponent:t.elementType,BackdropProps:t.object,children:Fo.isRequired,classes:t.object,className:t.string,closeAfterTransition:t.bool,component:t.elementType,components:t.shape({Backdrop:t.elementType,Root:t.elementType}),componentsProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),container:t.oneOfType([co,t.func]),disableAutoFocus:t.bool,disableEnforceFocus:t.bool,disableEscapeKeyDown:t.bool,disablePortal:t.bool,disableRestoreFocus:t.bool,disableScrollLock:t.bool,hideBackdrop:t.bool,keepMounted:t.bool,onClose:t.func,onTransitionEnter:t.func,onTransitionExited:t.func,open:t.bool.isRequired,slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({backdrop:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function Vv(e){return xe("MuiPopover",e)}Ce("MuiPopover",["root","paper"]);function Cl(e,o){let n=0;return typeof o=="number"?n=o:o==="center"?n=e.height/2:o==="bottom"&&(n=e.height),n}function wl(e,o){let n=0;return typeof o=="number"?n=o:o==="center"?n=e.width/2:o==="right"&&(n=e.width),n}function Sl(e){return[e.horizontal,e.vertical].map(o=>typeof o=="number"?`${o}px`:o).join(" ")}function jn(e){return typeof e=="function"?e():e}const _v=e=>{const{classes:o}=e;return we({root:["root"],paper:["paper"]},Vv,o)},Wv=D(ud,{name:"MuiPopover",slot:"Root"})({}),fd=D(Oo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),md=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiPopover"}),{action:a,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:d,className:p,container:g,elevation:b=8,marginThreshold:v=16,open:h,PaperProps:f={},slots:y={},slotProps:C={},transformOrigin:O={vertical:"top",horizontal:"left"},TransitionComponent:S,transitionDuration:x="auto",TransitionProps:T={},disableScrollLock:E=!1,...j}=r,P=w.useRef(),I={...r,anchorOrigin:s,anchorReference:c,elevation:b,marginThreshold:v,transformOrigin:O,TransitionComponent:S,transitionDuration:x,TransitionProps:T},N=_v(I),L=w.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 X=jn(i),de=X&&X.nodeType===1?X:mt(P.current).body,_=de.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const se=de.getBoundingClientRect();process.env.NODE_ENV!=="test"&&se.top===0&&se.left===0&&se.right===0&&se.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(`
328
- `))}return{top:_.top+Cl(_,s.vertical),left:_.left+wl(_,s.horizontal)}},[i,s.horizontal,s.vertical,l,c]),m=w.useCallback(X=>({vertical:Cl(X,O.vertical),horizontal:wl(X,O.horizontal)}),[O.horizontal,O.vertical]),$=w.useCallback(X=>{const de={width:X.offsetWidth,height:X.offsetHeight},_=m(de);if(c==="none")return{top:null,left:null,transformOrigin:Sl(_)};const se=L();let ie=se.top-_.vertical,pe=se.left-_.horizontal;const ke=ie+de.height,Ee=pe+de.width,ee=so(jn(i)),De=ee.innerHeight-v,Se=ee.innerWidth-v;if(v!==null&&ie<v){const he=ie-v;ie-=he,_.vertical+=he}else if(v!==null&&ke>De){const he=ke-De;ie-=he,_.vertical+=he}if(process.env.NODE_ENV!=="production"&&de.height>De&&de.height&&De&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${de.height-De}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
329
- `)),v!==null&&pe<v){const he=pe-v;pe-=he,_.horizontal+=he}else if(Ee>Se){const he=Ee-Se;pe-=he,_.horizontal+=he}return{top:`${Math.round(ie)}px`,left:`${Math.round(pe)}px`,transformOrigin:Sl(_)}},[i,c,L,m,v]),[R,M]=w.useState(h),k=w.useCallback(()=>{const X=P.current;if(!X)return;const de=$(X);de.top!==null&&X.style.setProperty("top",de.top),de.left!==null&&(X.style.left=de.left),X.style.transformOrigin=de.transformOrigin,M(!0)},[$]);w.useEffect(()=>(E&&window.addEventListener("scroll",k),()=>window.removeEventListener("scroll",k)),[i,E,k]);const z=()=>{k()},V=()=>{M(!1)};w.useEffect(()=>{h&&k()}),w.useImperativeHandle(a,()=>h?{updatePosition:()=>{k()}}:null,[h,k]),w.useEffect(()=>{if(!h)return;const X=rc(()=>{k()}),de=so(jn(i));return de.addEventListener("resize",X),()=>{X.clear(),de.removeEventListener("resize",X)}},[i,h,k]);let W=x;const B={slots:{transition:S,...y},slotProps:{transition:T,paper:f,...C}},[A,Y]=ge("transition",{elementType:ln,externalForwardedProps:B,ownerState:I,getSlotProps:X=>({...X,onEntering:(de,_)=>{X.onEntering?.(de,_),z()},onExited:de=>{X.onExited?.(de),V()}}),additionalProps:{appear:!0,in:h}});x==="auto"&&!A.muiSupportAuto&&(W=void 0);const Z=g||(i?mt(jn(i)).body:void 0),[oe,{slots:K,slotProps:U,...ae}]=ge("root",{ref:n,elementType:Wv,externalForwardedProps:{...B,...j},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:y.backdrop},slotProps:{backdrop:ac(typeof C.backdrop=="function"?C.backdrop(I):C.backdrop,{invisible:!0})},container:Z,open:h},ownerState:I,className:re(N.root,p)}),[ce,J]=ge("paper",{ref:P,className:N.paper,elementType:fd,externalForwardedProps:B,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:R?void 0:{opacity:0}},ownerState:I});return u.jsx(oe,{...ae,...!eo(oe)&&{slots:K,slotProps:U,disableScrollLock:E},children:u.jsx(A,{...Y,timeout:W,children:u.jsx(ce,{...J,children:d})})})});process.env.NODE_ENV!=="production"&&(md.propTypes={action:Pt,anchorEl:xt(t.oneOfType([co,t.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const o=jn(e.anchorEl);if(o&&o.nodeType===1){const n=o.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.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(`
330
- `))}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 \`${o}\` instead.`].join(`
331
- `))}return null}),anchorOrigin:t.shape({horizontal:t.oneOfType([t.oneOf(["center","left","right"]),t.number]).isRequired,vertical:t.oneOfType([t.oneOf(["bottom","center","top"]),t.number]).isRequired}),anchorPosition:t.shape({left:t.number.isRequired,top:t.number.isRequired}),anchorReference:t.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:t.elementType,BackdropProps:t.object,children:t.node,classes:t.object,className:t.string,container:t.oneOfType([co,t.func]),disableScrollLock:t.bool,elevation:ki,marginThreshold:t.number,onClose:t.func,open:t.bool.isRequired,PaperProps:t.shape({component:Yn}),slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),paper:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({backdrop:t.elementType,paper:t.elementType,root:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),transformOrigin:t.shape({horizontal:t.oneOfType([t.oneOf(["center","left","right"]),t.number]).isRequired,vertical:t.oneOfType([t.oneOf(["bottom","center","top"]),t.number]).isRequired}),TransitionComponent:t.elementType,transitionDuration:t.oneOfType([t.oneOf(["auto"]),t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),TransitionProps:t.object});function Uv(e){return xe("MuiMenu",e)}Ce("MuiMenu",["root","paper","list"]);const Hv={vertical:"top",horizontal:"right"},qv={vertical:"top",horizontal:"left"},Gv=e=>{const{classes:o}=e;return we({root:["root"],paper:["paper"],list:["list"]},Uv,o)},Kv=D(md,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),Yv=D(fd,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Xv=D(cd,{name:"MuiMenu",slot:"List"})({outline:0}),gd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiMenu"}),{autoFocus:a=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:d,open:p,PaperProps:g={},PopoverClasses:b,transitionDuration:v="auto",TransitionProps:{onEntering:h,...f}={},variant:y="selectedMenu",slots:C={},slotProps:O={},...S}=r,x=mn(),T={...r,autoFocus:a,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:g,transitionDuration:v,TransitionProps:f,variant:y},E=Gv(T),j=a&&!l&&p,P=w.useRef(null),I=(W,B)=>{P.current&&P.current.adjustStyleForScrollbar(W,{direction:x?"rtl":"ltr"}),h&&h(W,B)},N=W=>{W.key==="Tab"&&(W.preventDefault(),d&&d(W,"tabKeyDown"))};let L=-1;w.Children.map(i,(W,B)=>{w.isValidElement(W)&&(process.env.NODE_ENV!=="production"&&Co.isFragment(W)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
332
- `)),W.props.disabled||(y==="selectedMenu"&&W.props.selected||L===-1)&&(L=B))});const m={slots:C,slotProps:{list:c,transition:f,paper:g,...O}},$=Zt({elementType:C.root,externalSlotProps:O.root,ownerState:T,className:[E.root,s]}),[R,M]=ge("paper",{className:E.paper,elementType:Yv,externalForwardedProps:m,shouldForwardComponentProp:!0,ownerState:T}),[k,z]=ge("list",{className:re(E.list,c.className),elementType:Xv,shouldForwardComponentProp:!0,externalForwardedProps:m,getSlotProps:W=>({...W,onKeyDown:B=>{N(B),W.onKeyDown?.(B)}}),ownerState:T}),V=typeof m.slotProps.transition=="function"?m.slotProps.transition(T):m.slotProps.transition;return u.jsx(Kv,{onClose:d,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?Hv:qv,slots:{root:C.root,paper:R,backdrop:C.backdrop,...C.transition&&{transition:C.transition}},slotProps:{root:$,paper:M,backdrop:typeof O.backdrop=="function"?O.backdrop(T):O.backdrop,transition:{...V,onEntering:(...W)=>{I(...W),V?.onEntering?.(...W)}}},open:p,ref:n,transitionDuration:v,ownerState:T,...S,classes:b,children:u.jsx(k,{actions:P,autoFocus:a&&(L===-1||l),autoFocusItem:j,variant:y,...z,children:i})})});process.env.NODE_ENV!=="production"&&(gd.propTypes={anchorEl:t.oneOfType([co,t.func]),autoFocus:t.bool,children:t.node,classes:t.object,className:t.string,disableAutoFocusItem:t.bool,MenuListProps:t.object,onClose:t.func,open:t.bool.isRequired,PaperProps:t.object,PopoverClasses:t.object,slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),list:t.oneOfType([t.func,t.object]),paper:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),transition:t.oneOfType([t.func,t.object])}),slots:t.shape({backdrop:t.elementType,list:t.elementType,paper:t.elementType,root:t.elementType,transition:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),transitionDuration:t.oneOfType([t.oneOf(["auto"]),t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),TransitionProps:t.object,variant:t.oneOf(["menu","selectedMenu"])});function Zv(e){return xe("MuiNativeSelect",e)}const Hi=Ce("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Jv=e=>{const{classes:o,variant:n,disabled:r,multiple:a,open:i,error:s}=e,l={select:["select",n,r&&"disabled",a&&"multiple",s&&"error"],icon:["icon",`icon${F(n)}`,i&&"iconOpen",r&&"disabled"]};return we(l,Zv,o)},hd=D("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Hi.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:o})=>o.variant!=="filled"&&o.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Qv=D(hd,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Ct,overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.select,o[n.variant],n.error&&o.error,{[`&.${Hi.multiple}`]:o.multiple}]}})({}),bd=D("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Hi.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:o})=>o.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),e0=D(bd,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.icon,n.variant&&o[`icon${F(n.variant)}`],n.open&&o.iconOpen]}})({}),yd=w.forwardRef(function(o,n){const{className:r,disabled:a,error:i,IconComponent:s,inputRef:l,variant:c="standard",...d}=o,p={...o,disabled:a,variant:c,error:i},g=Jv(p);return u.jsxs(w.Fragment,{children:[u.jsx(Qv,{ownerState:p,className:re(g.select,r),disabled:a,ref:l||n,...d}),o.multiple?null:u.jsx(e0,{as:s,ownerState:p,className:g.icon})]})});process.env.NODE_ENV!=="production"&&(yd.propTypes={children:t.node,classes:t.object,className:t.string,disabled:t.bool,error:t.bool,IconComponent:t.elementType.isRequired,inputRef:Pt,multiple:t.bool,name:t.string,onChange:t.func,value:t.any,variant:t.oneOf(["standard","outlined","filled"])});function vd(e){return xe("MuiSelect",e)}const On=Ce("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Tl;const t0=D(hd,{name:"MuiSelect",slot:"Select",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`&.${On.select}`]:o.select},{[`&.${On.select}`]:o[n.variant]},{[`&.${On.error}`]:o.error},{[`&.${On.multiple}`]:o.multiple}]}})({[`&.${On.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),o0=D(bd,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.icon,n.variant&&o[`icon${F(n.variant)}`],n.open&&o.iconOpen]}})({}),n0=D("input",{shouldForwardProp:e=>Kn(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ol(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}function r0(e){return e==null||typeof e=="string"&&!e.trim()}const a0=e=>{const{classes:o,variant:n,disabled:r,multiple:a,open:i,error:s}=e,l={select:["select",n,r&&"disabled",a&&"multiple",s&&"error"],icon:["icon",`icon${F(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return we(l,vd,o)},xd=w.forwardRef(function(o,n){const{"aria-describedby":r,"aria-label":a,autoFocus:i,autoWidth:s,children:l,className:c,defaultOpen:d,defaultValue:p,disabled:g,displayEmpty:b,error:v=!1,IconComponent:h,inputRef:f,labelId:y,MenuProps:C={},multiple:O,name:S,onBlur:x,onChange:T,onClose:E,onFocus:j,onKeyDown:P,onMouseDown:I,onOpen:N,open:L,readOnly:m,renderValue:$,required:R,SelectDisplayProps:M={},tabIndex:k,type:z,value:V,variant:W="standard",...B}=o,[A,Y]=Qt({controlled:V,default:p,name:"Select"}),[Z,oe]=Qt({controlled:L,default:d,name:"Select"}),K=w.useRef(null),U=w.useRef(null),[ae,ce]=w.useState(null),{current:J}=w.useRef(L!=null),[X,de]=w.useState(),_=ot(n,f),se=w.useCallback(ye=>{U.current=ye,ye&&ce(ye)},[]),ie=ae?.parentNode;w.useImperativeHandle(_,()=>({focus:()=>{U.current.focus()},node:K.current,value:A}),[A]),w.useEffect(()=>{d&&Z&&ae&&!J&&(de(s?null:ie.clientWidth),U.current.focus())},[ae,s]),w.useEffect(()=>{i&&U.current.focus()},[i]),w.useEffect(()=>{if(!y)return;const ye=mt(U.current).getElementById(y);if(ye){const Ae=()=>{getSelection().isCollapsed&&U.current.focus()};return ye.addEventListener("click",Ae),()=>{ye.removeEventListener("click",Ae)}}},[y]);const pe=(ye,Ae)=>{ye?N&&N(Ae):E&&E(Ae),J||(de(s?null:ie.clientWidth),oe(ye))},ke=ye=>{I?.(ye),ye.button===0&&(ye.preventDefault(),U.current.focus(),pe(!0,ye))},Ee=ye=>{pe(!1,ye)},ee=w.Children.toArray(l),De=ye=>{const Ae=ee.find(Xe=>Xe.props.value===ye.target.value);Ae!==void 0&&(Y(Ae.props.value),T&&T(ye,Ae))},Se=ye=>Ae=>{let Xe;if(Ae.currentTarget.hasAttribute("tabindex")){if(O){Xe=Array.isArray(A)?A.slice():[];const gt=A.indexOf(ye.props.value);gt===-1?Xe.push(ye.props.value):Xe.splice(gt,1)}else Xe=ye.props.value;if(ye.props.onClick&&ye.props.onClick(Ae),A!==Xe&&(Y(Xe),T)){const gt=Ae.nativeEvent||Ae,_e=new gt.constructor(gt.type,gt);Object.defineProperty(_e,"target",{writable:!0,value:{value:Xe,name:S}}),T(_e,ye)}O||pe(!1,Ae)}},he=ye=>{m||([" ","ArrowUp","ArrowDown","Enter"].includes(ye.key)&&(ye.preventDefault(),pe(!0,ye)),P?.(ye))},ne=ae!==null&&Z,ze=ye=>{!ne&&x&&(Object.defineProperty(ye,"target",{writable:!0,value:{value:A,name:S}}),x(ye))};delete B["aria-invalid"];let Me,te;const Q=[];let be=!1,Oe=!1;(Ir({value:A})||b)&&($?Me=$(A):be=!0);const Pe=ee.map(ye=>{if(!w.isValidElement(ye))return null;process.env.NODE_ENV!=="production"&&Co.isFragment(ye)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
333
- `));let Ae;if(O){if(!Array.isArray(A))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":oo(2));Ae=A.some(Xe=>Ol(Xe,ye.props.value)),Ae&&be&&Q.push(ye.props.children)}else Ae=Ol(A,ye.props.value),Ae&&be&&(te=ye.props.children);return Ae&&(Oe=!0),w.cloneElement(ye,{"aria-selected":Ae?"true":"false",onClick:Se(ye),onKeyUp:Xe=>{Xe.key===" "&&Xe.preventDefault(),ye.props.onKeyUp&&ye.props.onKeyUp(Xe)},role:"option",selected:Ae,value:void 0,"data-value":ye.props.value})});process.env.NODE_ENV!=="production"&&w.useEffect(()=>{if(!Oe&&!O&&A!==""){const ye=ee.map(Ae=>Ae.props.value);console.warn([`MUI: You have provided an out-of-range value \`${A}\` for the select ${S?`(name="${S}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${ye.filter(Ae=>Ae!=null).map(Ae=>`\`${Ae}\``).join(", ")||'""'}.`].join(`
334
- `))}},[Oe,ee,O,S,A]),be&&(O?Q.length===0?Me=null:Me=Q.reduce((ye,Ae,Xe)=>(ye.push(Ae),Xe<Q.length-1&&ye.push(", "),ye),[]):Me=te);let ve=X;!s&&J&&ae&&(ve=ie.clientWidth);let ue;typeof k<"u"?ue=k:ue=g?null:0;const Ve=M.id||(S?`mui-component-select-${S}`:void 0),Ne={...o,variant:W,value:A,open:ne,error:v},We=a0(Ne),Ot={...C.PaperProps,...typeof C.slotProps?.paper=="function"?C.slotProps.paper(Ne):C.slotProps?.paper},vt={...C.MenuListProps,...typeof C.slotProps?.list=="function"?C.slotProps.list(Ne):C.slotProps?.list},ut=uo();return u.jsxs(w.Fragment,{children:[u.jsx(t0,{as:"div",ref:se,tabIndex:ue,role:"combobox","aria-controls":ne?ut:void 0,"aria-disabled":g?"true":void 0,"aria-expanded":ne?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[y,Ve].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":R?"true":void 0,"aria-invalid":v?"true":void 0,onKeyDown:he,onMouseDown:g||m?null:ke,onBlur:ze,onFocus:j,...M,ownerState:Ne,className:re(M.className,We.select,c),id:Ve,children:r0(Me)?Tl||(Tl=u.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):Me}),u.jsx(n0,{"aria-invalid":v,value:Array.isArray(A)?A.join(","):A,name:S,ref:K,"aria-hidden":!0,onChange:De,tabIndex:-1,disabled:g,className:We.nativeInput,autoFocus:i,required:R,...B,ownerState:Ne}),u.jsx(o0,{as:h,className:We.icon,ownerState:Ne}),u.jsx(gd,{id:`menu-${S||""}`,anchorEl:ie,open:ne,onClose:Ee,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...C,slotProps:{...C.slotProps,list:{"aria-labelledby":y,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:ut,...vt},paper:{...Ot,style:{minWidth:ve,...Ot!=null?Ot.style:null}}},children:Pe})]})});process.env.NODE_ENV!=="production"&&(xd.propTypes={"aria-describedby":t.string,"aria-label":t.string,autoFocus:t.bool,autoWidth:t.bool,children:t.node,classes:t.object,className:t.string,defaultOpen:t.bool,defaultValue:t.any,disabled:t.bool,displayEmpty:t.bool,error:t.bool,IconComponent:t.elementType.isRequired,inputRef:Pt,labelId:t.string,MenuProps:t.object,multiple:t.bool,name:t.string,onBlur:t.func,onChange:t.func,onClose:t.func,onFocus:t.func,onOpen:t.func,open:t.bool,readOnly:t.bool,renderValue:t.func,required:t.bool,SelectDisplayProps:t.object,tabIndex:t.oneOfType([t.number,t.string]),type:t.any,value:t.any,variant:t.oneOf(["standard","outlined","filled"])});const i0=e=>{const{classes:o}=e,r=we({root:["root"]},vd,o);return{...o,...r}},qi={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Ct(e)&&e!=="variant"},s0=D(aa,qi)(""),l0=D(sa,qi)(""),c0=D(ia,qi)(""),ca=w.forwardRef(function(o,n){const r=Te({name:"MuiSelect",props:o}),{autoWidth:a=!1,children:i,classes:s={},className:l,defaultOpen:c=!1,displayEmpty:d=!1,IconComponent:p=rd,id:g,input:b,inputProps:v,label:h,labelId:f,MenuProps:y,multiple:C=!1,native:O=!1,onClose:S,onOpen:x,open:T,renderValue:E,SelectDisplayProps:j,variant:P="outlined",...I}=r,N=O?yd:xd,L=Yt(),m=ko({props:r,muiFormControl:L,states:["variant","error"]}),$=m.variant||P,R={...r,variant:$,classes:s},M=i0(R),{root:k,...z}=M,V=b||{standard:u.jsx(s0,{ownerState:R}),outlined:u.jsx(l0,{label:h,ownerState:R}),filled:u.jsx(c0,{ownerState:R})}[$],W=ot(n,Vo(V));return u.jsx(w.Fragment,{children:w.cloneElement(V,{inputComponent:N,inputProps:{children:i,error:m.error,IconComponent:p,variant:$,type:void 0,multiple:C,...O?{id:g}:{autoWidth:a,defaultOpen:c,displayEmpty:d,labelId:f,MenuProps:y,onClose:S,onOpen:x,open:T,renderValue:E,SelectDisplayProps:{id:g,...j}},...v,classes:v?Tt(z,v.classes):z,...b?b.props.inputProps:{}},...(C&&O||d)&&$==="outlined"?{notched:!0}:{},ref:W,className:re(V.props.className,l,M.root),...!b&&{variant:$},...I})})});process.env.NODE_ENV!=="production"&&(ca.propTypes={autoWidth:t.bool,children:t.node,classes:t.object,className:t.string,defaultOpen:t.bool,defaultValue:t.any,displayEmpty:t.bool,IconComponent:t.elementType,id:t.string,input:t.element,inputProps:t.object,label:t.node,labelId:t.string,MenuProps:t.object,multiple:t.bool,native:t.bool,onChange:t.func,onClose:t.func,onOpen:t.func,open:t.bool,renderValue:t.func,SelectDisplayProps:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.oneOfType([t.oneOf([""]),t.any]),variant:t.oneOf(["filled","outlined","standard"])});ca.muiName="Select";function d0(e){return xe("MuiTextField",e)}Ce("MuiTextField",["root"]);const p0={standard:aa,filled:ia,outlined:sa},u0=e=>{const{classes:o}=e;return we({root:["root"]},d0,o)},f0=D(la,{name:"MuiTextField",slot:"Root"})({}),gn=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiTextField"}),{autoComplete:a,autoFocus:i=!1,children:s,className:l,color:c="primary",defaultValue:d,disabled:p=!1,error:g=!1,FormHelperTextProps:b,fullWidth:v=!1,helperText:h,id:f,InputLabelProps:y,inputProps:C,InputProps:O,inputRef:S,label:x,maxRows:T,minRows:E,multiline:j=!1,name:P,onBlur:I,onChange:N,onFocus:L,placeholder:m,required:$=!1,rows:R,select:M=!1,SelectProps:k,slots:z={},slotProps:V={},type:W,value:B,variant:A="outlined",...Y}=r,Z={...r,autoFocus:i,color:c,disabled:p,error:g,fullWidth:v,multiline:j,required:$,select:M,variant:A},oe=u0(Z);process.env.NODE_ENV!=="production"&&M&&!s&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const K=uo(f),U=h&&K?`${K}-helper-text`:void 0,ae=x&&K?`${K}-label`:void 0,ce=p0[A],J={slots:z,slotProps:{input:O,inputLabel:y,htmlInput:C,formHelperText:b,select:k,...V}},X={},de=J.slotProps.inputLabel;A==="outlined"&&(de&&typeof de.shrink<"u"&&(X.notched=de.shrink),X.label=x),M&&((!k||!k.native)&&(X.id=void 0),X["aria-describedby"]=void 0);const[_,se]=ge("root",{elementType:f0,shouldForwardComponentProp:!0,externalForwardedProps:{...J,...Y},ownerState:Z,className:re(oe.root,l),ref:n,additionalProps:{disabled:p,error:g,fullWidth:v,required:$,color:c,variant:A}}),[ie,pe]=ge("input",{elementType:ce,externalForwardedProps:J,additionalProps:X,ownerState:Z}),[ke,Ee]=ge("inputLabel",{elementType:_i,externalForwardedProps:J,ownerState:Z}),[ee,De]=ge("htmlInput",{elementType:"input",externalForwardedProps:J,ownerState:Z}),[Se,he]=ge("formHelperText",{elementType:Wi,externalForwardedProps:J,ownerState:Z}),[ne,ze]=ge("select",{elementType:ca,externalForwardedProps:J,ownerState:Z}),Me=u.jsx(ie,{"aria-describedby":U,autoComplete:a,autoFocus:i,defaultValue:d,fullWidth:v,multiline:j,name:P,rows:R,maxRows:T,minRows:E,type:W,value:B,id:K,inputRef:S,onBlur:I,onChange:N,onFocus:L,placeholder:m,inputProps:De,slots:{input:z.htmlInput?ee:void 0},...pe});return u.jsxs(_,{...se,children:[x!=null&&x!==""&&u.jsx(ke,{htmlFor:K,id:ae,...Ee,children:x}),M?u.jsx(ne,{"aria-describedby":U,id:K,labelId:ae,value:B,input:Me,...ze,children:s}):Me,h&&u.jsx(Se,{id:U,...he,children:h})]})});process.env.NODE_ENV!=="production"&&(gn.propTypes={autoComplete:t.string,autoFocus:t.bool,children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["primary","secondary","error","info","success","warning"]),t.string]),defaultValue:t.any,disabled:t.bool,error:t.bool,FormHelperTextProps:t.object,fullWidth:t.bool,helperText:t.node,id:t.string,InputLabelProps:t.object,inputProps:t.object,InputProps:t.object,inputRef:Pt,label:t.node,margin:t.oneOf(["dense","none","normal"]),maxRows:t.oneOfType([t.number,t.string]),minRows:t.oneOfType([t.number,t.string]),multiline:t.bool,name:t.string,onBlur:t.func,onChange:t.func,onFocus:t.func,placeholder:t.string,required:t.bool,rows:t.oneOfType([t.number,t.string]),select:t.bool,SelectProps:t.object,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),slotProps:t.shape({formHelperText:t.oneOfType([t.func,t.object]),htmlInput:t.oneOfType([t.func,t.object]),input:t.oneOfType([t.func,t.object]),inputLabel:t.oneOfType([t.func,t.object]),select:t.oneOfType([t.func,t.object])}),slots:t.shape({formHelperText:t.elementType,htmlInput:t.elementType,input:t.elementType,inputLabel:t.elementType,root:t.elementType,select:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),type:t.string,value:t.any,variant:t.oneOf(["filled","outlined","standard"])});const Cd=st(u.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),m0=D(gn)(({theme:e,errorEstado:o})=>({"& .MuiOutlinedInput-root":{borderRadius:"12px",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.03):e.palette.common.white,paddingRight:"30px","& fieldset":{borderColor:o?e.palette.error.main:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.2):e.palette.grey[300],borderWidth:"1px",transition:"border-color 0.2s ease"},"&:hover fieldset":{borderColor:o?e.palette.error.dark:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.4):e.palette.grey[400]},"&.Mui-focused":{backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.05):e.palette.common.white,boxShadow:o?`0 0 0 4px ${le.alpha(e.palette.error.main,.1)}`:e.palette.mode==="dark"?`0 4px 12px 0 ${le.alpha(e.palette.common.black,.4)}`:`0 4px 12px 0 ${le.alpha(e.palette.primary.main,.1)}`},"&.Mui-focused fieldset":{borderWidth:"2px",borderColor:o?e.palette.error.main:e.palette.primary.main}},"& .MuiInputLabel-root":{color:o?e.palette.error.main:e.palette.text.secondary,"&.Mui-focused":{color:o?e.palette.error.main:e.palette.primary.main,fontWeight:600}}}));function wd({opciones:e,valor:o,alCambiar:n,etiqueta:r,textoAyuda:a,marcador:i,error:s,mensajeError:l,requerido:c,cargando:d,deshabilitado:p,soloLectura:g,limpiable:b=!0,multiple:v,propsEntrada:h,renderizarEntrada:f,...y}){const C=s&&l?l:a,O=S=>u.jsx(m0,{...S,label:r,placeholder:e.length===0&&!d?"No hay opciones":i,helperText:C,error:s,required:c,errorEstado:s,InputProps:{...S.InputProps,...h?.InputProps,endAdornment:u.jsxs(Re.Fragment,{children:[d?u.jsx(xo,{color:"inherit",size:20,sx:{marginRight:1}}):null,S.InputProps.endAdornment]})},...h});return u.jsx(ad,{options:e,value:o,onChange:n,loading:d,disabled:p,readOnly:g,disableClearable:!b,multiple:v,popupIcon:u.jsx(Cd,{}),renderInput:f||O,PaperComponent:S=>u.jsx(Oo,{...S,elevation:8,sx:{borderRadius:"16px",marginTop:"8px",border:x=>`1px solid ${x.palette.mode==="dark"?le.alpha(x.palette.common.white,.1):le.alpha(x.palette.common.black,.05)}`,boxShadow:x=>x.palette.mode==="dark"?"0 10px 40px -10px rgba(0,0,0,0.6)":"0 12px 30px -10px rgba(0,0,0,0.15)",overflow:"hidden","& .MuiAutocomplete-listbox":{padding:"8px","& .MuiAutocomplete-option":{borderRadius:"10px",margin:"2px 0",padding:"10px 14px",transition:"all 0.15s ease",fontSize:"0.9rem",'&[aria-selected="true"]':{backgroundColor:x=>le.alpha(x.palette.primary.main,x.palette.mode==="dark"?.2:.1),color:"primary.main",fontWeight:600,"&.Mui-focused":{backgroundColor:x=>le.alpha(x.palette.primary.main,x.palette.mode==="dark"?.3:.2)}},"&:hover":{backgroundColor:x=>x.palette.mode==="dark"?le.alpha(x.palette.common.white,.05):le.alpha(x.palette.common.black,.04),transform:"translateX(4px)"}},"& .MuiAutocomplete-noOptions":{color:"text.secondary",padding:"16px",textAlign:"center",fontSize:"0.9rem"}}}}),renderTags:(S,x)=>S.map((T,E)=>{const j=y.getOptionLabel?y.getOptionLabel(T):typeof T=="string"?T:T.label||JSON.stringify(T);return u.jsx(Qr,{label:j,...x({index:E}),size:"small",sx:{borderRadius:"8px",backgroundColor:P=>le.alpha(P.palette.primary.main,.1),color:"primary.main",fontWeight:500,border:"1px solid",borderColor:P=>le.alpha(P.palette.primary.main,.2),"& .MuiChip-deleteIcon":{color:"primary.main","&:hover":{color:"primary.dark"}}}})}),...y})}const g0=wd;function h0(e){return w.Children.toArray(e).filter(o=>w.isValidElement(o))}function b0(e){return xe("MuiButtonGroup",e)}const Le=Ce("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"]),y0=(e,o)=>{const{ownerState:n}=e;return[{[`& .${Le.grouped}`]:o.grouped},{[`& .${Le.grouped}`]:o[`grouped${F(n.orientation)}`]},{[`& .${Le.grouped}`]:o[`grouped${F(n.variant)}`]},{[`& .${Le.grouped}`]:o[`grouped${F(n.variant)}${F(n.orientation)}`]},{[`& .${Le.grouped}`]:o[`grouped${F(n.variant)}${F(n.color)}`]},{[`& .${Le.firstButton}`]:o.firstButton},{[`& .${Le.lastButton}`]:o.lastButton},{[`& .${Le.middleButton}`]:o.middleButton},o.root,o[n.variant],n.disableElevation===!0&&o.disableElevation,n.fullWidth&&o.fullWidth,n.orientation==="vertical"&&o.vertical]},v0=e=>{const{classes:o,color:n,disabled:r,disableElevation:a,fullWidth:i,orientation:s,variant:l}=e,c={root:["root",l,s,i&&"fullWidth",a&&"disableElevation",`color${F(n)}`],grouped:["grouped",`grouped${F(s)}`,`grouped${F(l)}`,`grouped${F(l)}${F(s)}`,`grouped${F(l)}${F(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return we(c,b0,o)},x0=D("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:y0})(me(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${Le.lastButton},& .${Le.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${Le.lastButton},& .${Le.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${Le.firstButton},& .${Le.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)"}`,[`&.${Le.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${Le.firstButton},& .${Le.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)"}`,[`&.${Le.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(qe()).flatMap(([o])=>[{props:{variant:"text",color:o},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[o].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${Le.lastButton},& .${Le.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${Le.lastButton},& .${Le.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Le.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${Le.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(qe(["dark"])).map(([o])=>({props:{variant:"contained",color:o},style:{[`& .${Le.firstButton},& .${Le.middleButton}`]:{borderColor:(e.vars||e).palette[o].dark}}}))],[`& .${Le.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),Sd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiButtonGroup"}),{children:a,className:i,color:s="primary",component:l="div",disabled:c=!1,disableElevation:d=!1,disableFocusRipple:p=!1,disableRipple:g=!1,fullWidth:b=!1,orientation:v="horizontal",size:h="medium",variant:f="outlined",...y}=r,C={...r,color:s,component:l,disabled:c,disableElevation:d,disableFocusRipple:p,disableRipple:g,fullWidth:b,orientation:v,size:h,variant:f},O=v0(C),S=w.useMemo(()=>({className:O.grouped,color:s,disabled:c,disableElevation:d,disableFocusRipple:p,disableRipple:g,fullWidth:b,size:h,variant:f}),[s,c,d,p,g,b,h,f,O.grouped]),x=h0(a),T=x.length,E=j=>{const P=j===0,I=j===T-1;return P&&I?"":P?O.firstButton:I?O.lastButton:O.middleButton};return u.jsx(x0,{as:l,role:"group",className:re(O.root,i),ref:n,ownerState:C,...y,children:u.jsx(vi.Provider,{value:S,children:x.map((j,P)=>u.jsx(xi.Provider,{value:E(P),children:j},P))})})});process.env.NODE_ENV!=="production"&&(Sd.propTypes={children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","primary","secondary","error","info","success","warning"]),t.string]),component:t.elementType,disabled:t.bool,disableElevation:t.bool,disableFocusRipple:t.bool,disableRipple:t.bool,fullWidth:t.bool,orientation:t.oneOf(["horizontal","vertical"]),size:t.oneOfType([t.oneOf(["small","medium","large"]),t.string]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOfType([t.oneOf(["contained","outlined","text"]),t.string])});const C0=D(Sd,{shouldForwardProp:e=>e!=="separado"&&e!=="radio"&&e!=="varianteCustom"})(({theme:e,separado:o,radio:n,varianteCustom:r})=>({boxShadow:o?"none":e.shadows[2],borderRadius:n||(o?0:12),backgroundColor:r==="cristal"?e.palette.mode==="dark"?le.alpha(e.palette.common.white,.05):le.alpha(e.palette.common.white,.6):"transparent",backdropFilter:r==="cristal"?"blur(8px)":"none",border:r==="cristal"?`1px solid ${e.palette.mode==="dark"?le.alpha(e.palette.common.white,.1):le.alpha(e.palette.common.white,.4)}`:"none",...o&&{boxShadow:"none",backgroundColor:"transparent",border:"none",gap:e.spacing(1),"& .MuiButtonGroup-grouped":{borderRadius:n||8,border:"none !important",boxShadow:e.shadows[1],"&:not(:last-of-type)":{borderRight:"none !important"}}},"& .MuiButtonGroup-firstButton, & .MuiButtonGroup-lastButton":{borderRadius:o?n||8:void 0}})),w0=({children:e,tamano:o="m",variante:n="contenido",color:r="primario",orientacion:a="horizontal",separado:i=!1,radio:s,...l})=>{const c=g=>g==="contenido"?"contained":g==="texto"?"text":g==="contorno"?"outlined":g==="cristal"?"text":"contained",d=g=>g==="primario"?"primary":g==="secundario"?"secondary":g==="exito"?"success":g==="error"?"error":g==="info"?"info":g==="advertencia"?"warning":g==="oscuro"||g==="claro"?"inherit":"primary",p=g=>g==="p"?"small":g==="m"?"medium":g==="g"?"large":"medium";return u.jsx(C0,{size:p(o),variant:c(n),color:d(r),orientation:a,separado:i,radio:s,varianteCustom:n,...l,children:e})};function S0(e){return xe("PrivateSwitchBase",e)}Ce("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const T0=e=>{const{classes:o,checked:n,disabled:r,edge:a}=e,i={root:["root",n&&"checked",r&&"disabled",a&&`edge${F(a)}`],input:["input"]};return we(i,S0,o)},O0=D(lo,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:o})=>e==="start"&&o.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:o})=>e==="end"&&o.size!=="small",style:{marginRight:-12}}]}),E0=D("input",{name:"MuiSwitchBase",shouldForwardProp:Ct})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),da=w.forwardRef(function(o,n){const{autoFocus:r,checked:a,checkedIcon:i,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:d=!1,icon:p,id:g,inputProps:b,inputRef:v,name:h,onBlur:f,onChange:y,onFocus:C,readOnly:O,required:S=!1,tabIndex:x,type:T,value:E,slots:j={},slotProps:P={},...I}=o,[N,L]=Qt({controlled:a,default:!!s,name:"SwitchBase",state:"checked"}),m=Yt(),$=K=>{C&&C(K),m&&m.onFocus&&m.onFocus(K)},R=K=>{f&&f(K),m&&m.onBlur&&m.onBlur(K)},M=K=>{if(K.nativeEvent.defaultPrevented)return;const U=K.target.checked;L(U),y&&y(K,U)};let k=l;m&&typeof k>"u"&&(k=m.disabled);const z=T==="checkbox"||T==="radio",V={...o,checked:N,disabled:k,disableFocusRipple:c,edge:d},W=T0(V),B={slots:j,slotProps:{input:b,...P}},[A,Y]=ge("root",{ref:n,elementType:O0,className:W.root,shouldForwardComponentProp:!0,externalForwardedProps:{...B,component:"span",...I},getSlotProps:K=>({...K,onFocus:U=>{K.onFocus?.(U),$(U)},onBlur:U=>{K.onBlur?.(U),R(U)}}),ownerState:V,additionalProps:{centerRipple:!0,focusRipple:!c,disabled:k,role:void 0,tabIndex:null}}),[Z,oe]=ge("input",{ref:v,elementType:E0,className:W.input,externalForwardedProps:B,getSlotProps:K=>({...K,onChange:U=>{K.onChange?.(U),M(U)}}),ownerState:V,additionalProps:{autoFocus:r,checked:a,defaultChecked:s,disabled:k,id:z?g:void 0,name:h,readOnly:O,required:S,tabIndex:x,type:T,...T==="checkbox"&&E===void 0?{}:{value:E}}});return u.jsxs(A,{...Y,children:[u.jsx(Z,{...oe}),N?i:p]})});process.env.NODE_ENV!=="production"&&(da.propTypes={autoFocus:t.bool,checked:t.bool,checkedIcon:t.node.isRequired,classes:t.object,className:t.string,defaultChecked:t.bool,disabled:t.bool,disableFocusRipple:t.bool,edge:t.oneOf(["end","start",!1]),icon:t.node.isRequired,id:t.string,inputProps:t.object,inputRef:Pt,name:t.string,onBlur:t.func,onChange:t.func,onFocus:t.func,readOnly:t.bool,required:t.bool,slotProps:t.shape({input:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({input:t.elementType,root:t.elementType}),sx:t.object,tabIndex:t.oneOfType([t.number,t.string]),type:t.string.isRequired,value:t.any});const k0=st(u.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),P0=st(u.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),R0=st(u.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function I0(e){return xe("MuiCheckbox",e)}const La=Ce("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),$0=e=>{const{classes:o,indeterminate:n,color:r,size:a}=e,i={root:["root",n&&"indeterminate",`color${F(r)}`,`size${F(a)}`]},s=we(i,I0,o);return{...o,...s}},j0=D(da,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.indeterminate&&o.indeterminate,o[`size${F(n.size)}`],n.color!=="default"&&o[`color${F(n.color)}`]]}})(me(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{[`&.${La.checked}, &.${La.indeterminate}`]:{color:(e.vars||e).palette[o].main},[`&.${La.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),M0=u.jsx(P0,{}),N0=u.jsx(k0,{}),A0=u.jsx(R0,{}),Mr=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCheckbox"}),{checkedIcon:a=M0,color:i="primary",icon:s=N0,indeterminate:l=!1,indeterminateIcon:c=A0,inputProps:d,size:p="medium",disableRipple:g=!1,className:b,slots:v={},slotProps:h={},...f}=r,y=l?c:s,C=l?c:a,O={...r,disableRipple:g,color:i,indeterminate:l,size:p},S=$0(O),x=h.input??d,[T,E]=ge("root",{ref:n,elementType:j0,className:re(S.root,b),shouldForwardComponentProp:!0,externalForwardedProps:{slots:v,slotProps:h,...f},ownerState:O,additionalProps:{type:"checkbox",icon:w.cloneElement(y,{fontSize:y.props.fontSize??p}),checkedIcon:w.cloneElement(C,{fontSize:C.props.fontSize??p}),disableRipple:g,slots:v,slotProps:{input:ac(typeof x=="function"?x(O):x,{"data-indeterminate":l})}}});return u.jsx(T,{...E,classes:S})});process.env.NODE_ENV!=="production"&&(Mr.propTypes={checked:t.bool,checkedIcon:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["default","primary","secondary","error","info","success","warning"]),t.string]),defaultChecked:t.bool,disabled:t.bool,disableRipple:t.bool,icon:t.node,id:t.string,indeterminate:t.bool,indeterminateIcon:t.node,inputProps:t.object,onChange:t.func,required:t.bool,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),slotProps:t.shape({input:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({input:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.any});function L0(e){return xe("MuiFormControlLabel",e)}const Mn=Ce("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),B0=e=>{const{classes:o,disabled:n,labelPlacement:r,error:a,required:i}=e,s={root:["root",n&&"disabled",`labelPlacement${F(r)}`,a&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",a&&"error"]};return we(s,L0,o)},D0=D("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Mn.label}`]:o.label},o.root,o[`labelPlacement${F(n.labelPlacement)}`]]}})(me(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Mn.disabled}`]:{cursor:"default"},[`& .${Mn.label}`]:{[`&.${Mn.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:o})=>o==="start"||o==="top"||o==="bottom",style:{marginLeft:16}}]}))),z0=D("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(me(({theme:e})=>({[`&.${Mn.error}`]:{color:(e.vars||e).palette.error.main}}))),pa=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiFormControlLabel"}),{checked:a,className:i,componentsProps:s={},control:l,disabled:c,disableTypography:d,inputRef:p,label:g,labelPlacement:b="end",name:v,onChange:h,required:f,slots:y={},slotProps:C={},value:O,...S}=r,x=Yt(),T=c??l.props.disabled??x?.disabled,E=f??l.props.required,j={disabled:T,required:E};["checked","name","onChange","value","inputRef"].forEach(M=>{typeof l.props[M]>"u"&&typeof r[M]<"u"&&(j[M]=r[M])});const P=ko({props:r,muiFormControl:x,states:["error"]}),I={...r,disabled:T,labelPlacement:b,required:E,error:P.error},N=B0(I),L={slots:y,slotProps:{...s,...C}},[m,$]=ge("typography",{elementType:nt,externalForwardedProps:L,ownerState:I});let R=g;return R!=null&&R.type!==nt&&!d&&(R=u.jsx(m,{component:"span",...$,className:re(N.label,$?.className),children:R})),u.jsxs(D0,{className:re(N.root,i),ownerState:I,ref:n,...S,children:[w.cloneElement(l,j),E?u.jsxs("div",{children:[R,u.jsxs(z0,{ownerState:I,"aria-hidden":!0,className:N.asterisk,children:[" ","*"]})]}):R]})});process.env.NODE_ENV!=="production"&&(pa.propTypes={checked:t.bool,classes:t.object,className:t.string,componentsProps:t.shape({typography:t.object}),control:t.element.isRequired,disabled:t.bool,disableTypography:t.bool,inputRef:Pt,label:t.node,labelPlacement:t.oneOf(["bottom","end","start","top"]),name:t.string,onChange:t.func,required:t.bool,slotProps:t.shape({typography:t.oneOfType([t.func,t.object])}),slots:t.shape({typography:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.any});function F0(e){return xe("MuiFormGroup",e)}Ce("MuiFormGroup",["root","row","error"]);const V0=e=>{const{classes:o,row:n,error:r}=e;return we({root:["root",n&&"row",r&&"error"]},F0,o)},_0=D("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.row&&o.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),Gi=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiFormGroup"}),{className:a,row:i=!1,...s}=r,l=Yt(),c=ko({props:r,muiFormControl:l,states:["error"]}),d={...r,row:i,error:c.error},p=V0(d);return u.jsx(_0,{className:re(p.root,a),ownerState:d,ref:n,...s})});process.env.NODE_ENV!=="production"&&(Gi.propTypes={children:t.node,classes:t.object,className:t.string,row:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const Td=D("span")(({theme:e,tamanoPx:o,variante:n,error:r})=>({borderRadius:6,width:o,height:o,boxShadow:n==="borde"?`inset 0 0 0 2px ${e.palette.divider}`:e.palette.mode==="dark"?"0 0 0 1px rgb(16 22 26 / 40%)":"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:n==="borde"?"transparent":e.palette.mode==="dark"?"#394b59":"#f5f8fa",backgroundImage:n==="borde"?"none":e.palette.mode==="dark"?"linear-gradient(180deg,hsla(0,0%,100%,.05),hsla(0,0%,100%,0))":"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",".Mui-focusVisible &":{outline:"2px auto rgba(19,124,189,.6)",outlineOffset:2},"input:hover ~ &":{backgroundColor:e.palette.mode==="dark"?"#30404d":"#ebf1f5",borderColor:r?e.palette.error.main:e.palette.primary.main},"input:disabled ~ &":{boxShadow:"none",background:e.palette.mode==="dark"?"rgba(57,75,89,.5)":"rgba(206,217,224,.5)",cursor:"not-allowed"},...r&&{boxShadow:`inset 0 0 0 2px ${e.palette.error.main}`,backgroundColor:le.alpha(e.palette.error.main,.1)}})),Od=D(Td)(({theme:e,colorHex:o,variante:n})=>({backgroundColor:o,backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))",boxShadow:`0 0 0 1px ${o}`,"&::before":{display:"block",width:"100%",height:"100%",backgroundImage:`url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z' fill='%23fff'/%3E%3C/svg%3E")`,content:'""',backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"80%"},"input:hover ~ &":{backgroundColor:o,filter:"brightness(95%)"}})),W0=D(Od)({"&::before":{backgroundImage:`url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='7' width='10' height='2' rx='1' fill='%23fff'/%3E%3C/svg%3E")`}}),Ki=Re.forwardRef(({etiqueta:e,posicionEtiqueta:o="derecha",seleccionado:n,indeterminado:r=!1,deshabilitado:a=!1,soloLectura:i=!1,requerido:s=!1,error:l=!1,tamano:c="m",color:d="primario",variante:p="estandar",alCambiar:g,sx:b,className:v,...h},f)=>{const y=jt(),O={p:16,m:20,g:24}[c],x={primario:y.palette.primary.main,secundario:y.palette.secondary.main,exito:y.palette.success.main,error:y.palette.error.main,info:y.palette.info.main,advertencia:y.palette.warning.main}[d]||y.palette.primary.main,T={derecha:"end",izquierda:"start",arriba:"top",abajo:"bottom"},E=u.jsx(Mr,{ref:f,checked:n,indeterminate:r,disabled:a,readOnly:i,required:s,onChange:g,sx:{"&:hover":{bgcolor:"transparent"},p:1,...b},disableRipple:!0,icon:u.jsx(Td,{tamanoPx:O,variante:p,error:l}),checkedIcon:u.jsx(Od,{tamanoPx:O,variante:p,colorHex:l?y.palette.error.main:x}),indeterminateIcon:u.jsx(W0,{tamanoPx:O,variante:p,colorHex:l?y.palette.error.main:x}),inputProps:{"aria-label":typeof e=="string"?e:"Casilla"},...h});return e?u.jsx(pa,{control:E,label:u.jsxs(nt,{variant:"body2",sx:{fontSize:c==="g"?"1rem":c==="p"?"0.8125rem":"0.875rem",color:a?"text.disabled":l?"error.main":"text.primary",fontWeight:500},children:[e," ",s&&u.jsx("span",{style:{color:y.palette.error.main},children:"*"})]}),labelPlacement:T[o],disabled:a,className:v,sx:{mx:0,gap:1,"&.MuiFormControlLabel-labelPlacementStart":{marginLeft:0,marginRight:0}}}):u.jsx("span",{className:v,children:E})});Ki.displayName="CodeplexCasilla";const U0=Ki;function H0(e){return xe("MuiInputAdornment",e)}const El=Ce("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var kl;const q0=(e,o)=>{const{ownerState:n}=e;return[o.root,o[`position${F(n.position)}`],n.disablePointerEvents===!0&&o.disablePointerEvents,o[n.variant]]},G0=e=>{const{classes:o,disablePointerEvents:n,hiddenLabel:r,position:a,size:i,variant:s}=e,l={root:["root",n&&"disablePointerEvents",a&&`position${F(a)}`,s,r&&"hiddenLabel",i&&`size${F(i)}`]};return we(l,H0,o)},K0=D("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:q0})(me(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${El.positionStart}&:not(.${El.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),zo=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiInputAdornment"}),{children:a,className:i,component:s="div",disablePointerEvents:l=!1,disableTypography:c=!1,position:d,variant:p,...g}=r,b=Yt()||{};let v=p;p&&b.variant&&process.env.NODE_ENV!=="production"&&p===b.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),b&&!v&&(v=b.variant);const h={...r,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:l,position:d,variant:v},f=G0(h);return u.jsx(er.Provider,{value:null,children:u.jsx(K0,{as:s,ownerState:h,className:re(f.root,i),ref:n,...g,children:typeof a=="string"&&!c?u.jsx(nt,{color:"textSecondary",children:a}):u.jsxs(w.Fragment,{children:[d==="start"?kl||(kl=u.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,a]})})})});process.env.NODE_ENV!=="production"&&(zo.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,disablePointerEvents:t.bool,disableTypography:t.bool,position:t.oneOf(["end","start"]).isRequired,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),variant:t.oneOf(["filled","outlined","standard"])});const Y0=st(u.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),X0=st(u.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove"),Z0=D(gn)(({theme:e,errorEstado:o})=>({"& .MuiOutlinedInput-root":{borderRadius:12,backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.03):le.alpha(e.palette.common.black,.01),transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)","& fieldset":{borderColor:o?e.palette.error.main:e.palette.mode==="dark"?"rgba(255,255,255,0.12)":"rgba(0,0,0,0.12)"},"&:hover":{backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.05):le.alpha(e.palette.common.black,.02)},"&:hover fieldset":{borderColor:o?e.palette.error.dark:e.palette.primary.main},"&.Mui-focused fieldset":{borderColor:o?e.palette.error.main:e.palette.primary.main,borderWidth:2,boxShadow:o?`0 0 0 4px ${le.alpha(e.palette.error.main,.1)}`:`0 0 0 4px ${le.alpha(e.palette.primary.main,.1)}`},"& input[type=number]":{"-moz-appearance":"textfield","&::-webkit-outer-spin-button":{"-webkit-appearance":"none",margin:0},"&::-webkit-inner-spin-button":{"-webkit-appearance":"none",margin:0}},"& .MuiInputAdornment-root .MuiIconButton-root":{opacity:.5,transition:"all 0.2s","&:hover":{opacity:1,backgroundColor:le.alpha(e.palette.primary.main,.1)},"&.Mui-disabled":{opacity:.2}},"&:hover .MuiInputAdornment-root .MuiIconButton-root":{opacity:.7}},"& .MuiInputLabel-root":{color:o?e.palette.error.main:e.palette.text.secondary,"&.Mui-focused":{color:o?e.palette.error.main:e.palette.primary.main,fontWeight:600}}})),Ed=({etiqueta:e,textoAyuda:o,minimo:n,maximo:r,paso:a=1,valor:i,valorPorDefecto:s,alineacion:l="centro",mostrarControles:c=!0,error:d,mensajeError:p,deshabilitado:g,soloLectura:b,anchoCompleto:v=!1,alCambiar:h,InputProps:f,...y})=>{const C=i!==void 0,[O,S]=Re.useState(C?i?.toString()??"":s?.toString()??"");Re.useEffect(()=>{C&&S(i?.toString()??"")},[i,C]);const x=O,T=L=>{if(L===""||L==="-"){S(L),L===""&&!C&&h?.(null);return}const m=parseFloat(L);isNaN(m)||(C||S(L),h?.(m))},E=()=>{let L=parseFloat(O);if(isNaN(L))return void 0;let m=L;typeof n=="number"&&L<n&&(m=n),typeof r=="number"&&L>r&&(m=r),m!==L&&(C||S(m.toString()),h?.(m))},j=()=>{let m=parseFloat(x||"0")+a;m=Math.round(m*1e4)/1e4,!(r!==void 0&&m>r)&&(C||S(m.toString()),h?.(m))},P=()=>{let m=parseFloat(x||"0")-a;m=Math.round(m*1e4)/1e4,!(n!==void 0&&m<n)&&(C||S(m.toString()),h?.(m))},I={izquierda:"left",centro:"center",derecha:"right"},N=d&&p?p:o;return u.jsx(Z0,{type:"number",label:e,value:x,onChange:L=>T(L.target.value),onBlur:E,disabled:g,error:d,helperText:N,fullWidth:v,errorEstado:d,InputProps:{readOnly:b,startAdornment:c?u.jsx(zo,{position:"start",children:u.jsx(an,{onClick:P,disabled:g||b||n!==void 0&&parseFloat(x||"0")<=n,edge:"start",size:"small",children:u.jsx(X0,{fontSize:"small"})})}):null,endAdornment:c?u.jsx(zo,{position:"end",children:u.jsx(an,{onClick:j,disabled:g||b||r!==void 0&&parseFloat(x||"0")>=r,edge:"end",size:"small",children:u.jsx(Y0,{fontSize:"small"})})}):null,sx:{"& input":{textAlign:I[l]||"center"},paddingRight:c?void 0:"14px"},...f},...y})},J0=Ed,Q0=st(u.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),ex=st(u.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),tx=D("span",{name:"MuiRadioButtonIcon",shouldForwardProp:Ct})({position:"relative",display:"flex"}),ox=D(Q0,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),nx=D(ex,{name:"MuiRadioButtonIcon"})(me(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function Yi(e){const{checked:o=!1,classes:n={},fontSize:r}=e,a={...e,checked:o};return u.jsxs(tx,{className:n.root,ownerState:a,children:[u.jsx(ox,{fontSize:r,className:n.background,ownerState:a}),u.jsx(nx,{fontSize:r,className:n.dot,ownerState:a})]})}process.env.NODE_ENV!=="production"&&(Yi.propTypes={checked:t.bool,classes:t.object,fontSize:t.oneOf(["small","medium"])});const Xi=w.createContext(void 0);process.env.NODE_ENV!=="production"&&(Xi.displayName="RadioGroupContext");function rx(){return w.useContext(Xi)}function ax(e){return xe("MuiRadio",e)}const Pl=Ce("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),ix=e=>{const{classes:o,color:n,size:r}=e,a={root:["root",`color${F(n)}`,r!=="medium"&&`size${F(r)}`]};return{...o,...we(a,ax,o)}},sx=D(da,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.size!=="medium"&&o[`size${F(n.size)}`],o[`color${F(n.color)}`]]}})(me(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${Pl.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o,disabled:!1},style:{[`&.${Pl.checked}`]:{color:(e.vars||e).palette[o].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function lx(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}const cx=u.jsx(Yi,{checked:!0}),dx=u.jsx(Yi,{}),kd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiRadio"}),{checked:a,checkedIcon:i=cx,color:s="primary",icon:l=dx,name:c,onChange:d,size:p="medium",className:g,disabled:b,disableRipple:v=!1,slots:h={},slotProps:f={},inputProps:y,...C}=r,O=Yt();let S=b;O&&typeof S>"u"&&(S=O.disabled),S??=!1;const x={...r,disabled:S,disableRipple:v,color:s,size:p},T=ix(x),E=rx();let j=a;const P=Da(d,E&&E.onChange);let I=c;E&&(typeof j>"u"&&(j=lx(E.value,r.value)),typeof I>"u"&&(I=E.name));const N=f.input??y,[L,m]=ge("root",{ref:n,elementType:sx,className:re(T.root,g),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:f,...C},getSlotProps:$=>({...$,onChange:(R,...M)=>{$.onChange?.(R,...M),P(R,...M)}}),ownerState:x,additionalProps:{type:"radio",icon:w.cloneElement(l,{fontSize:l.props.fontSize??p}),checkedIcon:w.cloneElement(i,{fontSize:i.props.fontSize??p}),disabled:S,name:I,checked:j,slots:h,slotProps:{input:typeof N=="function"?N(x):N}}});return u.jsx(L,{...m,classes:T})});process.env.NODE_ENV!=="production"&&(kd.propTypes={checked:t.bool,checkedIcon:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["default","primary","secondary","error","info","success","warning"]),t.string]),disabled:t.bool,disableRipple:t.bool,icon:t.node,id:t.string,inputProps:t.object,inputRef:Pt,name:t.string,onChange:t.func,required:t.bool,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),slotProps:t.shape({input:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object])}),slots:t.shape({input:t.elementType,root:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.any});function px(e){return xe("MuiRadioGroup",e)}Ce("MuiRadioGroup",["root","row","error"]);const ux=e=>{const{classes:o,row:n,error:r}=e;return we({root:["root",n&&"row",r&&"error"]},px,o)},Pd=w.forwardRef(function(o,n){const{actions:r,children:a,className:i,defaultValue:s,name:l,onChange:c,value:d,...p}=o,g=w.useRef(null),b=ux(o),[v,h]=Qt({controlled:d,default:s,name:"RadioGroup"});w.useImperativeHandle(r,()=>({focus:()=>{let O=g.current.querySelector("input:not(:disabled):checked");O||(O=g.current.querySelector("input:not(:disabled)")),O&&O.focus()}}),[]);const f=ot(n,g),y=uo(l),C=w.useMemo(()=>({name:y,onChange(O){h(O.target.value),c&&c(O,O.target.value)},value:v}),[y,c,h,v]);return u.jsx(Xi.Provider,{value:C,children:u.jsx(Gi,{role:"radiogroup",ref:f,className:re(b.root,i),...p,children:a})})});process.env.NODE_ENV!=="production"&&(Pd.propTypes={children:t.node,className:t.string,defaultValue:t.any,name:t.string,onChange:t.func,value:t.any});const Rd=D("span")(({theme:e})=>({borderRadius:"50%",width:20,height:20,boxShadow:e.palette.mode==="dark"?"0 0 0 1px rgb(16 22 26 / 40%)":"inset 0 0 0 1px rgba(16,22,26,.2), inset 0 -1px 0 rgba(16,22,26,.1)",backgroundColor:e.palette.mode==="dark"?"#394b59":"#f5f8fa",backgroundImage:e.palette.mode==="dark"?"linear-gradient(180deg,hsla(0,0%,100%,.05),hsla(0,0%,100%,0))":"linear-gradient(180deg,hsla(0,0%,100%,.8),hsla(0,0%,100%,0))",".Mui-focusVisible &":{outline:"2px auto rgba(19,124,189,.6)",outlineOffset:2},"input:hover ~ &":{backgroundColor:e.palette.mode==="dark"?"#30404d":"#ebf1f5"},"input:disabled ~ &":{boxShadow:"none",background:e.palette.mode==="dark"?"rgba(57,75,89,.5)":"rgba(206,217,224,.5)"}})),fx=D(Rd)({backgroundColor:"#137cbd",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&::before":{display:"block",width:20,height:20,backgroundImage:"radial-gradient(#fff,#fff 28%,transparent 32%)",content:'""'},"input:hover ~ &":{backgroundColor:"#106ba3"}}),Zi=Re.forwardRef(({etiqueta:e,posicionEtiqueta:o,sx:n,...r},a)=>{const i=u.jsx(kd,{ref:a,sx:{"&:hover":{bgcolor:"transparent"},...n},disableRipple:!0,color:"default",checkedIcon:u.jsx(fx,{}),icon:u.jsx(Rd,{}),...r});return e?u.jsx(pa,{control:i,label:e,labelPlacement:o,sx:{"& .MuiFormControlLabel-label":{fontSize:"0.95rem",fontWeight:500,userSelect:"none"}}}):i});Zi.displayName="CodeplexRadio";const Id=({etiqueta:e,opciones:o,orientacion:n="vertical",valor:r,alCambiar:a,color:i,error:s,mensajeError:l,children:c,...d})=>{const p=o?o.map(b=>({value:b.valor,label:b.etiqueta,disabled:b.deshabilitado})):null,g=u.jsx(Pd,{row:n==="horizontal",value:r,onChange:a,...d,children:p?p.map(b=>u.jsx(Zi,{value:b.value,etiqueta:b.label,disabled:b.disabled},b.value)):c});return e||s?u.jsxs(la,{component:"fieldset",error:s,children:[e&&u.jsx($r,{component:"legend",className:"mb-2 font-semibold",sx:{"&.Mui-focused":{color:s?"error.main":"primary.main"}},children:e}),g,s&&l&&u.jsx($r,{error:!0,sx:{fontSize:"0.75rem",marginTop:.5},children:l})]}):g},mx=Id;function gx(e){return xe("MuiDivider",e)}const Rl=Ce("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),hx=e=>{const{absolute:o,children:n,classes:r,flexItem:a,light:i,orientation:s,textAlign:l,variant:c}=e;return we({root:["root",o&&"absolute",c,i&&"light",s==="vertical"&&"vertical",a&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",l==="right"&&s!=="vertical"&&"textAlignRight",l==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},gx,r)},bx=D("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.absolute&&o.absolute,o[n.variant],n.light&&o.light,n.orientation==="vertical"&&o.vertical,n.flexItem&&o.flexItem,n.children&&o.withChildren,n.children&&n.orientation==="vertical"&&o.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&o.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&o.textAlignLeft]}})(me(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.alpha((e.vars||e).palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:o})=>!!o.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:o})=>o.children&&o.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:o})=>o.orientation==="vertical"&&o.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:o})=>o.textAlign==="right"&&o.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:o})=>o.textAlign==="left"&&o.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),yx=D("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.wrapper,n.orientation==="vertical"&&o.wrapperVertical]}})(me(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Un=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiDivider"}),{absolute:a=!1,children:i,className:s,orientation:l="horizontal",component:c=i||l==="vertical"?"div":"hr",flexItem:d=!1,light:p=!1,role:g=c!=="hr"?"separator":void 0,textAlign:b="center",variant:v="fullWidth",...h}=r,f={...r,absolute:a,component:c,flexItem:d,light:p,orientation:l,role:g,textAlign:b,variant:v},y=hx(f);return u.jsx(bx,{as:c,className:re(y.root,s),role:g,ref:n,ownerState:f,"aria-orientation":g==="separator"&&(c!=="hr"||l==="vertical")?l:void 0,...h,children:i?u.jsx(yx,{className:y.wrapper,ownerState:f,children:i}):null})});Un&&(Un.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Un.propTypes={absolute:t.bool,children:t.node,classes:t.object,className:t.string,component:t.elementType,flexItem:t.bool,light:t.bool,orientation:t.oneOf(["horizontal","vertical"]),role:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),textAlign:t.oneOf(["center","left","right"]),variant:t.oneOfType([t.oneOf(["fullWidth","inset","middle"]),t.string])});function vx(e){return xe("MuiListItemIcon",e)}const Il=Ce("MuiListItemIcon",["root","alignItemsFlexStart"]),xx=e=>{const{alignItems:o,classes:n}=e;return we({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},vx,n)},Cx=D("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})(me(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),$d=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiListItemIcon"}),{className:a,...i}=r,s=w.useContext(_t),l={...r,alignItems:s.alignItems},c=xx(l);return u.jsx(Cx,{className:re(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&($d.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function wx(e){return xe("MuiListItemText",e)}const tn=Ce("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Sx=e=>{const{classes:o,inset:n,primary:r,secondary:a,dense:i}=e;return we({root:["root",n&&"inset",i&&"dense",r&&a&&"multiline"],primary:["primary"],secondary:["secondary"]},wx,o)},Tx=D("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${tn.primary}`]:o.primary},{[`& .${tn.secondary}`]:o.secondary},o.root,n.inset&&o.inset,n.primary&&n.secondary&&o.multiline,n.dense&&o.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Or.root}:where(& .${tn.primary})`]:{display:"block"},[`.${Or.root}:where(& .${tn.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),jd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiListItemText"}),{children:a,className:i,disableTypography:s=!1,inset:l=!1,primary:c,primaryTypographyProps:d,secondary:p,secondaryTypographyProps:g,slots:b={},slotProps:v={},...h}=r,{dense:f}=w.useContext(_t);let y=c??a,C=p;const O={...r,disableTypography:s,inset:l,primary:!!y,secondary:!!C,dense:f},S=Sx(O),x={slots:b,slotProps:{primary:d,secondary:g,...v}},[T,E]=ge("root",{className:re(S.root,i),elementType:Tx,externalForwardedProps:{...x,...h},ownerState:O,ref:n}),[j,P]=ge("primary",{className:S.primary,elementType:nt,externalForwardedProps:x,ownerState:O}),[I,N]=ge("secondary",{className:S.secondary,elementType:nt,externalForwardedProps:x,ownerState:O});return y!=null&&y.type!==nt&&!s&&(y=u.jsx(j,{variant:f?"body2":"body1",component:P?.variant?void 0:"span",...P,children:y})),C!=null&&C.type!==nt&&!s&&(C=u.jsx(I,{variant:"body2",color:"textSecondary",...N,children:C})),u.jsxs(T,{...E,children:[y,C]})});process.env.NODE_ENV!=="production"&&(jd.propTypes={children:t.node,classes:t.object,className:t.string,disableTypography:t.bool,inset:t.bool,primary:t.node,primaryTypographyProps:t.object,secondary:t.node,secondaryTypographyProps:t.object,slotProps:t.shape({primary:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),secondary:t.oneOfType([t.func,t.object])}),slots:t.shape({primary:t.elementType,root:t.elementType,secondary:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function Ox(e){return xe("MuiMenuItem",e)}const En=Ce("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Ex=(e,o)=>{const{ownerState:n}=e;return[o.root,n.dense&&o.dense,n.divider&&o.divider,!n.disableGutters&&o.gutters]},kx=e=>{const{disabled:o,dense:n,divider:r,disableGutters:a,selected:i,classes:s}=e,c=we({root:["root",n&&"dense",o&&"disabled",!a&&"gutters",r&&"divider",i&&"selected"]},Ox,s);return{...s,...c}},Px=D(lo,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:Ex})(me(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${En.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${En.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${En.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${En.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${En.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Rl.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Rl.inset}`]:{marginLeft:52},[`& .${tn.root}`]:{marginTop:0,marginBottom:0},[`& .${tn.inset}`]:{paddingLeft:36},[`& .${Il.root}`]:{minWidth:36},variants:[{props:({ownerState:o})=>!o.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:o})=>o.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:o})=>!o.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:o})=>o.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${Il.root} svg`]:{fontSize:"1.25rem"}}}]}))),nn=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiMenuItem"}),{autoFocus:a=!1,component:i="li",dense:s=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:d,role:p="menuitem",tabIndex:g,className:b,...v}=r,h=w.useContext(_t),f=w.useMemo(()=>({dense:s||h.dense||!1,disableGutters:c}),[h.dense,s,c]),y=w.useRef(null);Wt(()=>{a&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[a]);const C={...r,dense:f.dense,divider:l,disableGutters:c},O=kx(r),S=ot(y,n);let x;return r.disabled||(x=g!==void 0?g:-1),u.jsx(_t.Provider,{value:f,children:u.jsx(Px,{ref:S,role:p,tabIndex:x,component:i,focusVisibleClassName:re(O.focusVisible,d),className:re(O.root,b),...v,ownerState:C,classes:O})})});process.env.NODE_ENV!=="production"&&(nn.propTypes={autoFocus:t.bool,children:t.node,classes:t.object,className:t.string,component:t.elementType,dense:t.bool,disabled:t.bool,disableGutters:t.bool,divider:t.bool,focusVisibleClassName:t.string,role:t.string,selected:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),tabIndex:t.number});const Md=st(u.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search"),Rx=D(ca)(({theme:e})=>({borderRadius:12,backgroundColor:e.palette.mode==="dark"?"rgba(255,255,255,0.05)":"#fff",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)","& .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.mode==="dark"?"rgba(255,255,255,0.2)":"rgba(0,0,0,0.15)",transition:"all 0.2s"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary.main},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2,boxShadow:`0 0 0 4px ${e.palette.mode==="dark"?"rgba(96, 165, 250, 0.2)":"rgba(37, 99, 235, 0.1)"}`},"&.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:e.palette.error.main},"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline":{boxShadow:`0 0 0 4px ${e.palette.mode==="dark"?"rgba(239, 68, 68, 0.2)":"rgba(220, 38, 38, 0.1)"}`}})),Ix=D(nn)(({theme:e})=>({position:"sticky",bottom:0,backgroundColor:e.palette.background.paper,borderTop:`1px solid ${e.palette.divider}`,color:e.palette.primary.main,fontWeight:600,zIndex:1,"&:hover":{backgroundColor:e.palette.action.hover},display:"flex",justifyContent:"center",textAlign:"center"})),$x=D(fn)(({theme:e})=>({position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.paper,padding:"12px 16px",borderBottom:`1px solid ${e.palette.divider}`,lineHeight:"initial"})),Nd=({value:e,onChange:o,size:n,multiple:r=!1,error:a,disabled:i,required:s,variant:l="outlined",displayEmpty:c,etiqueta:d,opciones:p,textoAyuda:g,marcador:b,renderizarValor:v,alCambiar:h,tamano:f,alCrearNuevo:y,textoCrearNuevo:C="Agregar opción...",mensajeError:O,buscable:S,children:x,sx:T,...E})=>{const j=jt(),P=h||o,I=f||n,[N,L]=Re.useState(""),m=Re.useMemo(()=>$(p),[p]);function $(A){return A?A.map(Y=>({value:Y.valor,label:Y.etiqueta,disabled:Y.deshabilitado})):[]}const R=Re.useMemo(()=>{if(!S||!N.trim())return m;const A=N.toLowerCase();return m.filter(Y=>String(Y.label).toLowerCase().includes(A))},[m,N,S]),M=A=>{if(P){const Z={target:{value:Array.isArray(e)?e.filter(oe=>oe!==A):[],name:E.name}};P(Z,null)}},k=e===""||e===null||Array.isArray(e)&&e.length===0,z=A=>{if(v)return v(A);if(r){const Y=Array.isArray(A)?A:[A];return m.length>0?u.jsx(Ue,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:Y.map(Z=>{const oe=m.find(K=>K.value===Z);return u.jsx(Qr,{label:oe?.label||Z,size:"small",onDelete:()=>M(Z),onMouseDown:K=>K.stopPropagation(),sx:{borderRadius:"8px",backgroundColor:K=>le.alpha(K.palette.primary.main,.1),color:j.palette.primary.main,fontWeight:500,border:"1px solid",borderColor:K=>le.alpha(K.palette.primary.main,.2),"& .MuiChip-deleteIcon":{color:j.palette.primary.main,"&:hover":{color:j.palette.primary.dark}}}},Z)})}):Y.join(", ")}return m.length>0?(A===""||A===null)&&b?u.jsx("span",{style:{color:j.palette.text.disabled},children:b}):m.find(Z=>Z.value===A)?.label||A:A},V=v||r||m.length>0,W=!k||!!b,B=a&&O?O:g;return u.jsxs(la,{fullWidth:!0,error:a,disabled:i,required:s,variant:l,sx:{minWidth:120,my:1,...T},children:[d&&u.jsx(_i,{id:`select-label-${d}`,shrink:W,children:d}),u.jsxs(Rx,{labelId:d?`select-label-${d}`:void 0,label:d,value:e,onChange:P,size:I,multiple:r,displayEmpty:!!b||c,renderValue:V?z:void 0,IconComponent:Cd,onClose:()=>L(""),MenuProps:{autoFocus:!1,MenuListProps:{disablePadding:!0,sx:{pb:0,pt:0}},PaperProps:{elevation:0,sx:{mt:1.5,borderRadius:3,boxShadow:"0 8px 32px rgba(0,0,0,0.12)",border:"1px solid",borderColor:j.palette.mode==="dark"?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.05)",maxHeight:320,paddingBottom:y?0:1,"& .MuiList-root":{paddingTop:0,paddingBottom:0},"& .MuiMenuItem-root":{borderRadius:1.5,mx:1,my:.5,py:1,fontSize:"0.95rem",transition:"all 0.2s","&:hover":{backgroundColor:j.palette.action.hover,pl:2.5},"&.Mui-selected":{backgroundColor:j.palette.primary.light,color:j.palette.primary.contrastText,fontWeight:600,"&:hover":{backgroundColor:j.palette.primary.main}}}}}},...E,children:[S&&u.jsx($x,{children:u.jsx(gn,{size:"small",fullWidth:!0,placeholder:"Buscar...",value:N,onChange:A=>L(A.target.value),onKeyDown:A=>A.stopPropagation(),onClick:A=>A.stopPropagation(),onMouseDown:A=>A.stopPropagation(),InputProps:{startAdornment:u.jsx(zo,{position:"start",children:u.jsx(Md,{fontSize:"small",color:"action"})})},sx:{"& .MuiOutlinedInput-root":{borderRadius:2,backgroundColor:j.palette.action.hover,"& fieldset":{border:"none"},"&.Mui-focused fieldset":{border:"none"}}}})}),b&&u.jsx(nn,{value:"",disabled:!0,sx:{display:"none"},children:u.jsx("span",{style:{color:j.palette.text.disabled},children:b})}),R.length>0?R.map(A=>u.jsx(nn,{value:A.value,disabled:A.disabled,children:A.label},A.value)):S&&R.length===0&&N?u.jsx(nn,{disabled:!0,children:u.jsx("span",{style:{opacity:.7},children:"No hay resultados"})}):x,y&&u.jsxs(Ix,{onClick:A=>{A.stopPropagation(),y()},value:"",disableRipple:!0,children:["+ ",C]})]}),B&&u.jsx(Wi,{children:B})]})},jx=Nd;function Mx(e,o,n=(r,a)=>r===a){return e.length===o.length&&e.every((r,a)=>n(r,o[a]))}const Nx=2;function Zo(e,o,n,r,a){return n===1?Math.min(e+o,a):Math.max(e-o,r)}function Ad(e,o){return e-o}function $l(e,o){const{index:n}=e.reduce((r,a,i)=>{const s=Math.abs(o-a);return r===null||s<r.distance||s===r.distance?{distance:s,index:i}:r},null)??{};return n}function ur(e,o){if(o.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const a=n.changedTouches[r];if(a.identifier===o.current)return{x:a.clientX,y:a.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Nr(e,o,n){return(e-o)*100/(n-o)}function Ax(e,o,n){return(n-o)*e+o}function Lx(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const o=e.toString().split(".")[1];return o?o.length:0}function Bx(e,o,n){const r=Math.round((e-n)/o)*o+n;return Number(r.toFixed(Lx(o)))}function jl({values:e,newValue:o,index:n}){const r=e.slice();return r[n]=o,r.sort(Ad)}function fr({sliderRef:e,activeIndex:o,setActive:n}){const r=mt(e.current);(!e.current?.contains(r.activeElement)||Number(r?.activeElement?.getAttribute("data-index"))!==o)&&e.current?.querySelector(`[type="range"][data-index="${o}"]`).focus(),n&&n(o)}function mr(e,o){return typeof e=="number"&&typeof o=="number"?e===o:typeof e=="object"&&typeof o=="object"?Mx(e,o):!1}const Dx={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},zx=e=>e;let gr;function Ml(){return gr===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?gr=CSS.supports("touch-action","none"):gr=!0),gr}function Fx(e){const{"aria-labelledby":o,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:i=!1,marks:s=!1,max:l=100,min:c=0,name:d,onChange:p,onChangeCommitted:g,orientation:b="horizontal",rootRef:v,scale:h=zx,step:f=1,shiftStep:y=10,tabIndex:C,value:O}=e,S=w.useRef(void 0),[x,T]=w.useState(-1),[E,j]=w.useState(-1),[P,I]=w.useState(!1),N=w.useRef(0),L=w.useRef(null),[m,$]=Qt({controlled:O,default:n??c,name:"Slider"}),R=p&&((te,Q,be)=>{const Oe=te.nativeEvent||te,Pe=new Oe.constructor(Oe.type,Oe);Object.defineProperty(Pe,"target",{writable:!0,value:{value:Q,name:d}}),L.current=Q,p(Pe,Q,be)}),M=Array.isArray(m);let k=M?m.slice().sort(Ad):[m];k=k.map(te=>te==null?c:jo(te,c,l));const z=s===!0&&f!==null?[...Array(Math.floor((l-c)/f)+1)].map((te,Q)=>({value:c+f*Q})):s||[],V=z.map(te=>te.value),[W,B]=w.useState(-1),A=w.useRef(null),Y=ot(v,A),Z=te=>Q=>{const be=Number(Q.currentTarget.getAttribute("data-index"));So(Q.target)&&B(be),j(be),te?.onFocus?.(Q)},oe=te=>Q=>{So(Q.target)||B(-1),j(-1),te?.onBlur?.(Q)},K=(te,Q)=>{const be=Number(te.currentTarget.getAttribute("data-index")),Oe=k[be],Pe=V.indexOf(Oe);let ve=Q;if(z&&f==null){const ue=V[V.length-1];ve>=ue?ve=ue:ve<=V[0]?ve=V[0]:ve=ve<Oe?V[Pe-1]:V[Pe+1]}if(ve=jo(ve,c,l),M){a&&(ve=jo(ve,k[be-1]||-1/0,k[be+1]||1/0));const ue=ve;ve=jl({values:k,newValue:ve,index:be});let Ve=be;a||(Ve=ve.indexOf(ue)),fr({sliderRef:A,activeIndex:Ve})}$(ve),B(be),R&&!mr(ve,m)&&R(te,ve,be),g&&g(te,L.current??ve)},U=te=>Q=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(Q.key)){Q.preventDefault();const be=Number(Q.currentTarget.getAttribute("data-index")),Oe=k[be];let Pe=null;if(f!=null){const ve=Q.shiftKey?y:f;switch(Q.key){case"ArrowUp":Pe=Zo(Oe,ve,1,c,l);break;case"ArrowRight":Pe=Zo(Oe,ve,i?-1:1,c,l);break;case"ArrowDown":Pe=Zo(Oe,ve,-1,c,l);break;case"ArrowLeft":Pe=Zo(Oe,ve,i?1:-1,c,l);break;case"PageUp":Pe=Zo(Oe,y,1,c,l);break;case"PageDown":Pe=Zo(Oe,y,-1,c,l);break;case"Home":Pe=c;break;case"End":Pe=l;break}}else if(z){const ve=V[V.length-1],ue=V.indexOf(Oe),Ve=[i?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],Ne=[i?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];Ve.includes(Q.key)?ue===0?Pe=V[0]:Pe=V[ue-1]:Ne.includes(Q.key)&&(ue===V.length-1?Pe=ve:Pe=V[ue+1])}Pe!=null&&K(Q,Pe)}te?.onKeyDown?.(Q)};Wt(()=>{r&&A.current.contains(document.activeElement)&&document.activeElement?.blur()},[r]),r&&x!==-1&&T(-1),r&&W!==-1&&B(-1);const ae=te=>Q=>{te.onChange?.(Q),K(Q,Q.target.valueAsNumber)},ce=w.useRef(void 0);let J=b;i&&b==="horizontal"&&(J+="-reverse");const X=({finger:te,move:Q=!1})=>{const{current:be}=A,{width:Oe,height:Pe,bottom:ve,left:ue}=be.getBoundingClientRect();let Ve;J.startsWith("vertical")?Ve=(ve-te.y)/Pe:Ve=(te.x-ue)/Oe,J.includes("-reverse")&&(Ve=1-Ve);let Ne;if(Ne=Ax(Ve,c,l),f)Ne=Bx(Ne,f,c);else{const Ot=$l(V,Ne);Ne=V[Ot]}Ne=jo(Ne,c,l);let We=0;if(M){Q?We=ce.current:We=$l(k,Ne),a&&(Ne=jo(Ne,k[We-1]||-1/0,k[We+1]||1/0));const Ot=Ne;Ne=jl({values:k,newValue:Ne,index:We}),a&&Q||(We=Ne.indexOf(Ot),ce.current=We)}return{newValue:Ne,activeIndex:We}},de=bt(te=>{const Q=ur(te,S);if(!Q)return;if(N.current+=1,te.type==="mousemove"&&te.buttons===0){_(te);return}const{newValue:be,activeIndex:Oe}=X({finger:Q,move:!0});fr({sliderRef:A,activeIndex:Oe,setActive:T}),$(be),!P&&N.current>Nx&&I(!0),R&&!mr(be,m)&&R(te,be,Oe)}),_=bt(te=>{const Q=ur(te,S);if(I(!1),!Q)return;const{newValue:be}=X({finger:Q,move:!0});T(-1),te.type==="touchend"&&j(-1),g&&g(te,L.current??be),S.current=void 0,ie()}),se=bt(te=>{if(r)return;Ml()||te.preventDefault();const Q=te.changedTouches[0];Q!=null&&(S.current=Q.identifier);const be=ur(te,S);if(be!==!1){const{newValue:Pe,activeIndex:ve}=X({finger:be});fr({sliderRef:A,activeIndex:ve,setActive:T}),$(Pe),R&&!mr(Pe,m)&&R(te,Pe,ve)}N.current=0;const Oe=mt(A.current);Oe.addEventListener("touchmove",de,{passive:!0}),Oe.addEventListener("touchend",_,{passive:!0})}),ie=w.useCallback(()=>{const te=mt(A.current);te.removeEventListener("mousemove",de),te.removeEventListener("mouseup",_),te.removeEventListener("touchmove",de),te.removeEventListener("touchend",_)},[_,de]);w.useEffect(()=>{const{current:te}=A;return te.addEventListener("touchstart",se,{passive:Ml()}),()=>{te.removeEventListener("touchstart",se),ie()}},[ie,se]),w.useEffect(()=>{r&&ie()},[r,ie]);const pe=te=>Q=>{if(te.onMouseDown?.(Q),r||Q.defaultPrevented||Q.button!==0)return;Q.preventDefault();const be=ur(Q,S);if(be!==!1){const{newValue:Pe,activeIndex:ve}=X({finger:be});fr({sliderRef:A,activeIndex:ve,setActive:T}),$(Pe),R&&!mr(Pe,m)&&R(Q,Pe,ve)}N.current=0;const Oe=mt(A.current);Oe.addEventListener("mousemove",de,{passive:!0}),Oe.addEventListener("mouseup",_)},ke=Nr(M?k[0]:c,c,l),Ee=Nr(k[k.length-1],c,l)-ke,ee=(te={})=>{const Q=Lo(te),be={onMouseDown:pe(Q||{})},Oe={...Q,...be};return{...te,ref:Y,...Oe}},De=te=>Q=>{te.onMouseOver?.(Q);const be=Number(Q.currentTarget.getAttribute("data-index"));j(be)},Se=te=>Q=>{te.onMouseLeave?.(Q),j(-1)},he=(te={})=>{const Q=Lo(te),be={onMouseOver:De(Q||{}),onMouseLeave:Se(Q||{})};return{...te,...Q,...be}},ne=te=>({pointerEvents:x!==-1&&x!==te?"none":void 0});let ze;return b==="vertical"&&(ze=i?"vertical-rl":"vertical-lr"),{active:x,axis:J,axisProps:Dx,dragging:P,focusedThumbIndex:W,getHiddenInputProps:(te={})=>{const Q=Lo(te),be={onChange:ae(Q||{}),onFocus:Z(Q||{}),onBlur:oe(Q||{}),onKeyDown:U(Q||{})},Oe={...Q,...be};return{tabIndex:C,"aria-labelledby":o,"aria-orientation":b,"aria-valuemax":h(l),"aria-valuemin":h(c),name:d,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:r,...te,...Oe,style:{...Xc,direction:i?"rtl":"ltr",width:"100%",height:"100%",writingMode:ze}}},getRootProps:ee,getThumbProps:he,marks:z,open:E,range:M,rootRef:Y,trackLeap:Ee,trackOffset:ke,values:k,getThumbStyle:ne}}const Vx=e=>!e||!eo(e);function _x(e){return xe("MuiSlider",e)}const Ft=Ce("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),Wx=e=>{const{open:o}=e;return{offset:re(o&&Ft.valueLabelOpen),circle:Ft.valueLabelCircle,label:Ft.valueLabelLabel}};function Ld(e){const{children:o,className:n,value:r}=e,a=Wx(e);return o?w.cloneElement(o,{className:o.props.className},u.jsxs(w.Fragment,{children:[o.props.children,u.jsx("span",{className:re(a.offset,n),"aria-hidden":!0,children:u.jsx("span",{className:a.circle,children:u.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(Ld.propTypes={children:t.element.isRequired,className:t.string,value:t.node});function Nl(e){return e}const Ux=D("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`color${F(n.color)}`],n.size!=="medium"&&o[`size${F(n.size)}`],n.marked&&o.marked,n.orientation==="vertical"&&o.vertical,n.track==="inverted"&&o.trackInverted,n.track===!1&&o.trackFalse]}})(me(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Ft.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Ft.dragging}`]:{[`& .${Ft.thumb}, & .${Ft.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),Hx=D("span",{name:"MuiSlider",slot:"Rail"})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),qx=D("span",{name:"MuiSlider",slot:"Track"})(me(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${o}Track`],borderColor:e.vars.palette.Slider[`${o}Track`]}:{backgroundColor:e.lighten(e.palette[o].main,.62),borderColor:e.lighten(e.palette[o].main,.62),...e.applyStyles("dark",{backgroundColor:e.darken(e.palette[o].main,.5)}),...e.applyStyles("dark",{borderColor:e.darken(e.palette[o].main,.5)})}}}))]}))),Gx=D("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.thumb,o[`thumbColor${F(n.color)}`],n.size!=="medium"&&o[`thumbSize${F(n.size)}`]]}})(me(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Ft.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(qe()).map(([o])=>({props:{color:o},style:{[`&:hover, &.${Ft.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[o].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${Ft.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[o].main,.16)}`}}}))]}))),Bd=D(Ld,{name:"MuiSlider",slot:"ValueLabel"})(me(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Ft.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Ft.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})));process.env.NODE_ENV!=="production"&&(Bd.propTypes={children:t.element.isRequired,index:t.number.isRequired,open:t.bool.isRequired,value:t.node});const Kx=D("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Kn(e)&&e!=="markActive",overridesResolver:(e,o)=>{const{markActive:n}=e;return[o.mark,n&&o.markActive]}})(me(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),Yx=D("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Kn(e)&&e!=="markLabelActive"})(me(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),Xx=e=>{const{disabled:o,dragging:n,marked:r,orientation:a,track:i,classes:s,color:l,size:c}=e,d={root:["root",o&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",i==="inverted"&&"trackInverted",i===!1&&"trackFalse",l&&`color${F(l)}`,c&&`size${F(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",o&&"disabled",c&&`thumbSize${F(c)}`,l&&`thumbColor${F(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return we(d,_x,s)},Zx=({children:e})=>e,Dd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiSlider"}),a=mn(),{"aria-label":i,"aria-valuetext":s,"aria-labelledby":l,component:c="span",components:d={},componentsProps:p={},color:g="primary",classes:b,className:v,disableSwap:h=!1,disabled:f=!1,getAriaLabel:y,getAriaValueText:C,marks:O=!1,max:S=100,min:x=0,name:T,onChange:E,onChangeCommitted:j,orientation:P="horizontal",shiftStep:I=10,size:N="medium",step:L=1,scale:m=Nl,slotProps:$,slots:R,tabIndex:M,track:k="normal",value:z,valueLabelDisplay:V="off",valueLabelFormat:W=Nl,...B}=r,A={...r,isRtl:a,max:S,min:x,classes:b,disabled:f,disableSwap:h,orientation:P,marks:O,color:g,size:N,step:L,shiftStep:I,scale:m,track:k,valueLabelDisplay:V,valueLabelFormat:W},{axisProps:Y,getRootProps:Z,getHiddenInputProps:oe,getThumbProps:K,open:U,active:ae,axis:ce,focusedThumbIndex:J,range:X,dragging:de,marks:_,values:se,trackOffset:ie,trackLeap:pe,getThumbStyle:ke}=Fx({...A,rootRef:n});A.marked=_.length>0&&_.some(_e=>_e.label),A.dragging=de,A.focusedThumbIndex=J;const Ee=Xx(A),ee=R?.root??d.Root??Ux,De=R?.rail??d.Rail??Hx,Se=R?.track??d.Track??qx,he=R?.thumb??d.Thumb??Gx,ne=R?.valueLabel??d.ValueLabel??Bd,ze=R?.mark??d.Mark??Kx,Me=R?.markLabel??d.MarkLabel??Yx,te=R?.input??d.Input??"input",Q=$?.root??p.root,be=$?.rail??p.rail,Oe=$?.track??p.track,Pe=$?.thumb??p.thumb,ve=$?.valueLabel??p.valueLabel,ue=$?.mark??p.mark,Ve=$?.markLabel??p.markLabel,Ne=$?.input??p.input,We=Zt({elementType:ee,getSlotProps:Z,externalSlotProps:Q,externalForwardedProps:B,additionalProps:{...Vx(ee)&&{as:c}},ownerState:{...A,...Q?.ownerState},className:[Ee.root,v]}),Ot=Zt({elementType:De,externalSlotProps:be,ownerState:A,className:Ee.rail}),vt=Zt({elementType:Se,externalSlotProps:Oe,additionalProps:{style:{...Y[ce].offset(ie),...Y[ce].leap(pe)}},ownerState:{...A,...Oe?.ownerState},className:Ee.track}),ut=Zt({elementType:he,getSlotProps:K,externalSlotProps:Pe,ownerState:{...A,...Pe?.ownerState},className:Ee.thumb}),ye=Zt({elementType:ne,externalSlotProps:ve,ownerState:{...A,...ve?.ownerState},className:Ee.valueLabel}),Ae=Zt({elementType:ze,externalSlotProps:ue,ownerState:A,className:Ee.mark}),Xe=Zt({elementType:Me,externalSlotProps:Ve,ownerState:A,className:Ee.markLabel}),gt=Zt({elementType:te,getSlotProps:oe,externalSlotProps:Ne,ownerState:A});return u.jsxs(ee,{...We,children:[u.jsx(De,{...Ot}),u.jsx(Se,{...vt}),_.filter(_e=>_e.value>=x&&_e.value<=S).map((_e,tt)=>{const Et=Nr(_e.value,x,S),wt=Y[ce].offset(Et);let ft;return k===!1?ft=se.includes(_e.value):ft=k==="normal"&&(X?_e.value>=se[0]&&_e.value<=se[se.length-1]:_e.value<=se[0])||k==="inverted"&&(X?_e.value<=se[0]||_e.value>=se[se.length-1]:_e.value>=se[0]),u.jsxs(w.Fragment,{children:[u.jsx(ze,{"data-index":tt,...Ae,...!eo(ze)&&{markActive:ft},style:{...wt,...Ae.style},className:re(Ae.className,ft&&Ee.markActive)}),_e.label!=null?u.jsx(Me,{"aria-hidden":!0,"data-index":tt,...Xe,...!eo(Me)&&{markLabelActive:ft},style:{...wt,...Xe.style},className:re(Ee.markLabel,Xe.className,ft&&Ee.markLabelActive),children:_e.label}):null]},tt)}),se.map((_e,tt)=>{const Et=Nr(_e,x,S),wt=Y[ce].offset(Et),ft=V==="off"?Zx:ne;return u.jsx(ft,{...!eo(ft)&&{valueLabelFormat:W,valueLabelDisplay:V,value:typeof W=="function"?W(m(_e),tt):W,index:tt,open:U===tt||ae===tt||V==="on",disabled:f},...ye,children:u.jsx(he,{"data-index":tt,...ut,className:re(Ee.thumb,ut.className,ae===tt&&Ee.active,J===tt&&Ee.focusVisible),style:{...wt,...ke(tt),...ut.style},children:u.jsx(te,{"data-index":tt,"aria-label":y?y(tt):i,"aria-valuenow":m(_e),"aria-labelledby":l,"aria-valuetext":C?C(m(_e),tt):s,value:se[tt],...gt})})},tt)})]})});process.env.NODE_ENV!=="production"&&(Dd.propTypes={"aria-label":xt(t.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-label"]!=null?new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null),"aria-labelledby":t.string,"aria-valuetext":xt(t.string,e=>Array.isArray(e.value||e.defaultValue)&&e["aria-valuetext"]!=null?new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null),children:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["primary","secondary","error","info","success","warning"]),t.string]),components:t.shape({Input:t.elementType,Mark:t.elementType,MarkLabel:t.elementType,Rail:t.elementType,Root:t.elementType,Thumb:t.elementType,Track:t.elementType,ValueLabel:t.elementType}),componentsProps:t.shape({input:t.oneOfType([t.func,t.object]),mark:t.oneOfType([t.func,t.object]),markLabel:t.oneOfType([t.func,t.object]),rail:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),thumb:t.oneOfType([t.func,t.object]),track:t.oneOfType([t.func,t.object]),valueLabel:t.oneOfType([t.func,t.shape({children:t.element,className:t.string,open:t.bool,style:t.object,value:t.node,valueLabelDisplay:t.oneOf(["auto","off","on"])})])}),defaultValue:t.oneOfType([t.arrayOf(t.number),t.number]),disabled:t.bool,disableSwap:t.bool,getAriaLabel:t.func,getAriaValueText:t.func,marks:t.oneOfType([t.arrayOf(t.shape({label:t.node,value:t.number.isRequired})),t.bool]),max:t.number,min:t.number,name:t.string,onChange:t.func,onChangeCommitted:t.func,orientation:t.oneOf(["horizontal","vertical"]),scale:t.func,shiftStep:t.number,size:t.oneOfType([t.oneOf(["small","medium"]),t.string]),slotProps:t.shape({input:t.oneOfType([t.func,t.object]),mark:t.oneOfType([t.func,t.object]),markLabel:t.oneOfType([t.func,t.object]),rail:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),thumb:t.oneOfType([t.func,t.object]),track:t.oneOfType([t.func,t.object]),valueLabel:t.oneOfType([t.func,t.shape({children:t.element,className:t.string,open:t.bool,style:t.object,value:t.node,valueLabelDisplay:t.oneOf(["auto","off","on"])})])}),slots:t.shape({input:t.elementType,mark:t.elementType,markLabel:t.elementType,rail:t.elementType,root:t.elementType,thumb:t.elementType,track:t.elementType,valueLabel:t.elementType}),step:t.number,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),tabIndex:t.number,track:t.oneOf(["inverted","normal",!1]),value:t.oneOfType([t.arrayOf(t.number),t.number]),valueLabelDisplay:t.oneOf(["auto","off","on"]),valueLabelFormat:t.oneOfType([t.func,t.string])});const Jx=D(Dd)(({theme:e})=>({height:6,"& .MuiSlider-track":{border:"none",borderRadius:3},"& .MuiSlider-thumb":{height:20,width:20,backgroundColor:"#fff",border:"2px solid currentColor","&:focus, &:hover, &.Mui-active, &.Mui-focusVisible":{boxShadow:"inherit"},"&::before":{display:"none"},boxShadow:"0 2px 8px rgba(0,0,0,0.15)"},"& .MuiSlider-valueLabel":{lineHeight:1.2,fontSize:12,background:"unset",padding:0,width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:e.palette.primary.main,transformOrigin:"bottom left",transform:"translate(50%, -100%) rotate(-45deg) scale(0)","&::before":{display:"none"},"&.MuiSlider-valueLabelOpen":{transform:"translate(50%, -100%) rotate(-45deg) scale(1)"},"& > *":{transform:"rotate(45deg)"}},"& .MuiSlider-mark":{backgroundColor:"#bfbfbf",height:8,width:1,"&.MuiSlider-markActive":{opacity:1,backgroundColor:"currentColor"}}})),zd=({etiqueta:e,textoAyuda:o,valor:n,minimo:r=0,maximo:a=100,paso:i=1,marcas:s,mostrarEtiquetaValor:l="auto",orientacion:c="horizontal",color:d="primario",alCambiar:p,tamano:g,className:b,sx:v,...h})=>{const f=O=>O==="primario"?"primary":O==="secundario"?"secondary":O==="exito"?"success":O==="error"?"error":O==="info"?"info":O==="advertencia"?"warning":"primary",y=O=>O==="siempre"?"on":O==="nunca"?"off":"auto",C=c==="vertical"?{height:300}:{};return u.jsxs(Ue,{sx:{width:"100%",...C,...v},className:b,children:[e&&u.jsx(nt,{gutterBottom:!0,variant:"subtitle2",sx:{fontWeight:600,mb:1},children:e}),u.jsx(Jx,{value:n,min:r,max:a,step:i,marks:s,valueLabelDisplay:y(l),orientation:c,color:f(d),onChange:p,size:g,...h}),o&&u.jsx(nt,{variant:"caption",color:"text.secondary",sx:{mt:.5,display:"block"},children:o})]})},Qx=zd;function e1(e){return xe("MuiSwitch",e)}const kt=Ce("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),t1=e=>{const{classes:o,edge:n,size:r,color:a,checked:i,disabled:s}=e,l={root:["root",n&&`edge${F(n)}`,`size${F(r)}`],switchBase:["switchBase",`color${F(a)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=we(l,e1,o);return{...o,...c}},o1=D("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.edge&&o[`edge${F(n.edge)}`],o[`size${F(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${kt.thumb}`]:{width:16,height:16},[`& .${kt.switchBase}`]:{padding:4,[`&.${kt.checked}`]:{transform:"translateX(16px)"}}}}]}),n1=D(da,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.switchBase,{[`& .${kt.input}`]:o.input},n.color!=="default"&&o[`color${F(n.color)}`]]}})(me(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${kt.checked}`]:{transform:"translateX(20px)"},[`&.${kt.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${kt.checked} + .${kt.track}`]:{opacity:.5},[`&.${kt.disabled} + .${kt.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${kt.input}`]:{left:"-100%",width:"300%"}})),me(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(qe(["light"])).map(([o])=>({props:{color:o},style:{[`&.${kt.checked}`]:{color:(e.vars||e).palette[o].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${kt.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${o}DisabledColor`]:`${e.palette.mode==="light"?e.lighten(e.palette[o].main,.62):e.darken(e.palette[o].main,.55)}`}},[`&.${kt.checked} + .${kt.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),r1=D("span",{name:"MuiSwitch",slot:"Track"})(me(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),a1=D("span",{name:"MuiSwitch",slot:"Thumb"})(me(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Fd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiSwitch"}),{className:a,color:i="primary",edge:s=!1,size:l="medium",sx:c,slots:d={},slotProps:p={},...g}=r,b={...r,color:i,edge:s,size:l},v=t1(b),h={slots:d,slotProps:p},[f,y]=ge("root",{className:re(v.root,a),elementType:o1,externalForwardedProps:h,ownerState:b,additionalProps:{sx:c}}),[C,O]=ge("thumb",{className:v.thumb,elementType:a1,externalForwardedProps:h,ownerState:b}),S=u.jsx(C,{...O}),[x,T]=ge("track",{className:v.track,elementType:r1,externalForwardedProps:h,ownerState:b});return u.jsxs(f,{...y,children:[u.jsx(n1,{type:"checkbox",icon:S,checkedIcon:S,ref:n,ownerState:b,...g,classes:{...v,root:v.switchBase},slots:{...d.switchBase&&{root:d.switchBase},...d.input&&{input:d.input}},slotProps:{...p.switchBase&&{root:typeof p.switchBase=="function"?p.switchBase(b):p.switchBase},input:{role:"switch"},...p.input&&{input:typeof p.input=="function"?p.input(b):p.input}}}),u.jsx(x,{...T})]})});process.env.NODE_ENV!=="production"&&(Fd.propTypes={checked:t.bool,checkedIcon:t.node,classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["default","primary","secondary","error","info","success","warning"]),t.string]),defaultChecked:t.bool,disabled:t.bool,disableRipple:t.bool,edge:t.oneOf(["end","start",!1]),icon:t.node,id:t.string,inputProps:t.object,inputRef:Pt,onChange:t.func,required:t.bool,size:t.oneOfType([t.oneOf(["medium","small"]),t.string]),slotProps:t.shape({input:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),switchBase:t.oneOfType([t.func,t.object]),thumb:t.oneOfType([t.func,t.object]),track:t.oneOfType([t.func,t.object])}),slots:t.shape({input:t.elementType,root:t.elementType,switchBase:t.elementType,thumb:t.elementType,track:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),value:t.any});const i1=D(Fd)(({theme:e})=>({width:44,height:24,padding:0,display:"flex","&:active":{"& .MuiSwitch-thumb":{width:22}},"& .MuiSwitch-switchBase":{padding:2,"&.Mui-checked":{transform:"translateX(20px)",color:"#fff","& + .MuiSwitch-track":{opacity:1}}},"& .MuiSwitch-switchBase.Mui-checked.MuiSwitch-colorPrimary + .MuiSwitch-track":{backgroundColor:e.palette.primary.main},"& .MuiSwitch-switchBase.Mui-checked.MuiSwitch-colorSecondary + .MuiSwitch-track":{backgroundColor:e.palette.secondary.main},"& .MuiSwitch-switchBase.Mui-checked.MuiSwitch-colorSuccess + .MuiSwitch-track":{backgroundColor:e.palette.success.main},"& .MuiSwitch-switchBase.Mui-checked.MuiSwitch-colorError + .MuiSwitch-track":{backgroundColor:e.palette.error.main},"& .MuiSwitch-switchBase.Mui-checked.MuiSwitch-colorWarning + .MuiSwitch-track":{backgroundColor:e.palette.warning.main},"& .MuiSwitch-switchBase.Mui-checked.MuiSwitch-colorInfo + .MuiSwitch-track":{backgroundColor:e.palette.info.main},"& .MuiSwitch-thumb":{boxShadow:"0 2px 4px 0 rgba(0,0,0,0.2)",width:20,height:20,borderRadius:10,transition:e.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:24/2,opacity:1,backgroundColor:e.palette.mode==="dark"?"rgba(255,255,255,.35)":"rgba(0,0,0,.25)",boxSizing:"border-box"}})),Vd=({etiqueta:e,posicionEtiqueta:o="fin",tamano:n="mediano",seleccionado:r,porDefectoSeleccionado:a,alCambiar:i,color:s="primario",deshabilitado:l,error:c,mensajeError:d,sx:p,className:g,...b})=>{const v=C=>C==="primario"?"primary":C==="secundario"?"secondary":C==="exito"?"success":C==="error"?"error":C==="advertencia"?"warning":C==="info"?"info":"primary",h=C=>C==="pequeno"?"small":"medium",f=C=>C==="inicio"?"start":C==="fin"?"end":C==="arriba"?"top":C==="abajo"?"bottom":"end",y=u.jsx(i1,{checked:r,defaultChecked:a,onChange:i,disabled:l,size:h(n),color:v(s),disableRipple:!0,sx:{...c&&{"& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track":{backgroundColor:C=>C.palette.error.main}},...p},className:g,...b});return e?u.jsxs(Ue,{sx:{display:"inline-flex",flexDirection:"column"},children:[u.jsx(pa,{control:y,label:e,labelPlacement:f(o),sx:{margin:0,gap:1,"& .MuiTypography-root":{fontSize:n==="pequeno"?"0.875rem":"1rem",fontWeight:500,color:l?"text.disabled":c?"error.main":"text.primary"}}}),c&&d&&u.jsx(Ue,{sx:{color:"error.main",fontSize:"0.75rem",mt:.5,ml:o==="inicio"?0:1},children:d})]}):y},s1=Vd,l1=D(gn)(({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:12,transition:"background-color 0.2s, border-color 0.2s, box-shadow 0.2s",backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.03):le.alpha(e.palette.common.black,.01),"& fieldset":{borderColor:e.palette.mode==="dark"?"rgba(255,255,255,0.12)":"rgba(0,0,0,0.12)",transition:"border-color 0.2s, border-width 0.2s, box-shadow 0.2s"},"&:hover":{backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.common.white,.05):le.alpha(e.palette.common.black,.02)},"&:hover fieldset":{borderColor:e.palette.primary.main,borderWidth:1},"&.Mui-focused":{backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.primary.main,.05):le.alpha(e.palette.primary.main,.02)},"&.Mui-focused fieldset":{borderWidth:2,borderColor:e.palette.primary.main,boxShadow:`0 0 0 4px ${le.alpha(e.palette.primary.main,.1)}`},"&.Mui-error fieldset":{borderColor:e.palette.error.main},"&.Mui-error.Mui-focused":{backgroundColor:e.palette.mode==="dark"?le.alpha(e.palette.error.main,.05):le.alpha(e.palette.error.main,.02)},"&.Mui-error.Mui-focused fieldset":{borderColor:e.palette.error.main,boxShadow:`0 0 0 4px ${le.alpha(e.palette.error.main,.1)}`}},"& .MuiInputBase-input":{padding:"12px 14px",fontWeight:500,"&::placeholder":{opacity:.6}},"& .MuiInputLabel-root":{fontSize:"0.95rem",color:e.palette.text.secondary,"&.Mui-focused":{color:e.palette.primary.main,fontWeight:600},"&.Mui-error":{color:e.palette.error.main}},"& .MuiFormHelperText-root":{marginLeft:14,fontSize:"0.75rem",marginTop:4}})),_d=({etiqueta:e,textoAyuda:o,valor:n,alCambiar:r,deshabilitado:a,soloLectura:i,error:s,mensajeError:l,multilinea:c,filas:d,filasMinimas:p,filasMaximas:g,marcador:b,anchoCompleto:v,tipo:h,iconoInicio:f,iconoFin:y,alEnfocar:C,alDesenfocar:O,InputProps:S,sx:x,...T})=>{const E=s&&l?l:o;return u.jsx(l1,{variant:"outlined",label:e,helperText:E,value:n,onChange:r,disabled:a,error:s,multiline:c,rows:d,minRows:p,maxRows:g,placeholder:b,fullWidth:v,type:h,onFocus:C,onBlur:O,sx:{my:1,...x},InputProps:{readOnly:i,startAdornment:f?u.jsx(zo,{position:"start",children:f}):void 0,endAdornment:y?u.jsx(zo,{position:"end",children:y}):void 0,...S},...T})},c1=_d;function d1(e){return xe("MuiCardHeader",e)}const Ar=Ce("MuiCardHeader",["root","avatar","action","content","title","subheader"]),p1=e=>{const{classes:o}=e;return we({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},d1,o)},u1=D("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,o)=>[{[`& .${Ar.title}`]:o.title},{[`& .${Ar.subheader}`]:o.subheader},o.root]})({display:"flex",alignItems:"center",padding:16}),f1=D("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),m1=D("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),g1=D("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${Or.root}:where(& .${Ar.title})`]:{display:"block"},[`.${Or.root}:where(& .${Ar.subheader})`]:{display:"block"}}),Wd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiCardHeader"}),{action:a,avatar:i,component:s="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:d,title:p,titleTypographyProps:g,slots:b={},slotProps:v={},...h}=r,f={...r,component:s,disableTypography:l},y=p1(f),C={slots:b,slotProps:{title:g,subheader:d,...v}};let O=p;const[S,x]=ge("title",{className:y.title,elementType:nt,externalForwardedProps:C,ownerState:f,additionalProps:{variant:i?"body2":"h5",component:"span"}});O!=null&&O.type!==nt&&!l&&(O=u.jsx(S,{...x,children:O}));let T=c;const[E,j]=ge("subheader",{className:y.subheader,elementType:nt,externalForwardedProps:C,ownerState:f,additionalProps:{variant:i?"body2":"body1",color:"textSecondary",component:"span"}});T!=null&&T.type!==nt&&!l&&(T=u.jsx(E,{...j,children:T}));const[P,I]=ge("root",{ref:n,className:y.root,elementType:u1,externalForwardedProps:{...C,...h,component:s},ownerState:f}),[N,L]=ge("avatar",{className:y.avatar,elementType:f1,externalForwardedProps:C,ownerState:f}),[m,$]=ge("content",{className:y.content,elementType:g1,externalForwardedProps:C,ownerState:f}),[R,M]=ge("action",{className:y.action,elementType:m1,externalForwardedProps:C,ownerState:f});return u.jsxs(P,{...I,children:[i&&u.jsx(N,{...L,children:i}),u.jsxs(m,{...$,children:[O,T]}),a&&u.jsx(R,{...M,children:a})]})});process.env.NODE_ENV!=="production"&&(Wd.propTypes={action:t.node,avatar:t.node,children:t.node,classes:t.object,component:t.elementType,disableTypography:t.bool,slotProps:t.shape({action:t.oneOfType([t.func,t.object]),avatar:t.oneOfType([t.func,t.object]),content:t.oneOfType([t.func,t.object]),root:t.oneOfType([t.func,t.object]),subheader:t.oneOfType([t.func,t.object]),title:t.oneOfType([t.func,t.object])}),slots:t.shape({action:t.elementType,avatar:t.elementType,content:t.elementType,root:t.elementType,subheader:t.elementType,title:t.elementType}),subheader:t.node,subheaderTypographyProps:t.object,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),title:t.node,titleTypographyProps:t.object});function h1(e){return xe("MuiListItem",e)}Ce("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function b1(e){return xe("MuiListItemButton",e)}const Qo=Ce("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),y1=(e,o)=>{const{ownerState:n}=e;return[o.root,n.dense&&o.dense,n.alignItems==="flex-start"&&o.alignItemsFlexStart,n.divider&&o.divider,!n.disableGutters&&o.gutters]},v1=e=>{const{alignItems:o,classes:n,dense:r,disabled:a,disableGutters:i,divider:s,selected:l}=e,d=we({root:["root",r&&"dense",!i&&"gutters",s&&"divider",a&&"disabled",o==="flex-start"&&"alignItemsFlexStart",l&&"selected"]},b1,n);return{...n,...d}},x1=D(lo,{shouldForwardProp:e=>Ct(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:y1})(me(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Qo.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${Qo.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${Qo.selected}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity)}},[`&.${Qo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Qo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:o})=>o.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:o})=>!o.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:o})=>o.dense,style:{paddingTop:4,paddingBottom:4}}]}))),Ud=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiListItemButton"}),{alignItems:a="center",autoFocus:i=!1,component:s="div",children:l,dense:c=!1,disableGutters:d=!1,divider:p=!1,focusVisibleClassName:g,selected:b=!1,className:v,...h}=r,f=w.useContext(_t),y=w.useMemo(()=>({dense:c||f.dense||!1,alignItems:a,disableGutters:d}),[a,f.dense,c,d]),C=w.useRef(null);Wt(()=>{i&&(C.current?C.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."))},[i]);const O={...r,alignItems:a,dense:y.dense,disableGutters:d,divider:p,selected:b},S=v1(O),x=ot(C,n);return u.jsx(_t.Provider,{value:y,children:u.jsx(x1,{ref:x,href:h.href||h.to,component:(h.href||h.to)&&s==="div"?"button":s,focusVisibleClassName:re(S.focusVisible,g),ownerState:O,className:re(S.root,v),...h,classes:S,children:l})})});process.env.NODE_ENV!=="production"&&(Ud.propTypes={alignItems:t.oneOf(["center","flex-start"]),autoFocus:t.bool,children:t.node,classes:t.object,className:t.string,component:t.elementType,dense:t.bool,disabled:t.bool,disableGutters:t.bool,divider:t.bool,focusVisibleClassName:t.string,href:t.string,selected:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function C1(e){return xe("MuiListItemSecondaryAction",e)}Ce("MuiListItemSecondaryAction",["root","disableGutters"]);const w1=e=>{const{disableGutters:o,classes:n}=e;return we({root:["root",o&&"disableGutters"]},C1,n)},S1=D("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.disableGutters&&o.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),Ji=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiListItemSecondaryAction"}),{className:a,...i}=r,s=w.useContext(_t),l={...r,disableGutters:s.disableGutters},c=w1(l);return u.jsx(S1,{className:re(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&(Ji.propTypes={children:t.node,classes:t.object,className:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});Ji.muiName="ListItemSecondaryAction";const T1=(e,o)=>{const{ownerState:n}=e;return[o.root,n.dense&&o.dense,n.alignItems==="flex-start"&&o.alignItemsFlexStart,n.divider&&o.divider,!n.disableGutters&&o.gutters,!n.disablePadding&&o.padding,n.hasSecondaryAction&&o.secondaryAction]},O1=e=>{const{alignItems:o,classes:n,dense:r,disableGutters:a,disablePadding:i,divider:s,hasSecondaryAction:l}=e;return we({root:["root",r&&"dense",!a&&"gutters",!i&&"padding",s&&"divider",o==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},h1,n)},E1=D("div",{name:"MuiListItem",slot:"Root",overridesResolver:T1})(me(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:o})=>!o.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:o})=>!o.disablePadding&&o.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:o})=>!o.disablePadding&&!o.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:o})=>!o.disablePadding&&!!o.secondaryAction,style:{paddingRight:48}},{props:({ownerState:o})=>!!o.secondaryAction,style:{[`& > .${Qo.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:o})=>o.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:o})=>o.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:o})=>o.hasSecondaryAction,style:{paddingRight:48}}]}))),k1=D("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),Hd=w.forwardRef(function(o,n){const r=Te({props:o,name:"MuiListItem"}),{alignItems:a="center",children:i,className:s,component:l,components:c={},componentsProps:d={},ContainerComponent:p="li",ContainerProps:{className:g,...b}={},dense:v=!1,disableGutters:h=!1,disablePadding:f=!1,divider:y=!1,secondaryAction:C,slotProps:O={},slots:S={},...x}=r,T=w.useContext(_t),E=w.useMemo(()=>({dense:v||T.dense||!1,alignItems:a,disableGutters:h}),[a,T.dense,v,h]),j=w.useRef(null),P=w.Children.toArray(i),I=P.length&&An(P[P.length-1],["ListItemSecondaryAction"]),N={...r,alignItems:a,dense:E.dense,disableGutters:h,disablePadding:f,divider:y,hasSecondaryAction:I},L=O1(N),m=ot(j,n),$={slots:S,slotProps:O},[R,M]=ge("secondaryAction",{elementType:Ji,externalForwardedProps:$,ownerState:N,className:L.secondaryAction}),k=S.root||c.Root||E1,z=O.root||d.root||{},V={className:re(L.root,z.className,s),...x};let W=l||"li";return I?(W=!V.component&&!l?"div":W,p==="li"&&(W==="li"?W="div":V.component==="li"&&(V.component="div")),u.jsx(_t.Provider,{value:E,children:u.jsxs(k1,{as:p,className:re(L.container,g),ref:m,ownerState:N,...b,children:[u.jsx(k,{...z,...!eo(k)&&{as:W,ownerState:{...N,...z.ownerState}},...V,children:P}),P.pop()]})})):u.jsx(_t.Provider,{value:E,children:u.jsxs(k,{...z,as:W,ref:m,...!eo(k)&&{ownerState:{...N,...z.ownerState}},...V,children:[P,C&&u.jsx(R,{...M,children:C})]})})});process.env.NODE_ENV!=="production"&&(Hd.propTypes={alignItems:t.oneOf(["center","flex-start"]),children:xt(t.node,e=>{const o=w.Children.toArray(e.children);let n=-1;for(let r=o.length-1;r>=0;r-=1){const a=o[r];if(An(a,["ListItemSecondaryAction"])){n=r;break}}return n!==-1&&n!==o.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:t.object,className:t.string,component:t.elementType,components:t.shape({Root:t.elementType}),componentsProps:t.shape({root:t.object}),ContainerComponent:Yn,ContainerProps:t.object,dense:t.bool,disableGutters:t.bool,disablePadding:t.bool,divider:t.bool,secondaryAction:t.node,slotProps:t.shape({root:t.object,secondaryAction:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType,secondaryAction:t.elementType}),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const ci=le.createStack({createStyledComponent:D("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>Te({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(ci.propTypes={children:t.node,component:t.elementType,direction:t.oneOfType([t.oneOf(["column-reverse","column","row-reverse","row"]),t.arrayOf(t.oneOf(["column-reverse","column","row-reverse","row"])),t.object]),divider:t.node,spacing:t.oneOfType([t.arrayOf(t.oneOfType([t.number,t.string])),t.number,t.object,t.string]),sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object]),useFlexGap:t.bool});const P1=st(u.jsx("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42s1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1"}),"ArrowForwardRounded"),R1=st(u.jsx("path",{d:"M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1"}),"ArrowBackRounded"),I1=D(Pi)(({theme:e})=>({borderRadius:16,border:`1px solid ${e.palette.divider}`,boxShadow:e.shadows[1],overflow:"hidden",height:"100%",display:"flex",flexDirection:"column",flex:1,transition:"box-shadow 0.3s ease, border-color 0.3s ease","&:hover":{boxShadow:e.shadows[4],borderColor:e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[700]}})),$1=D(Wd)(({theme:e})=>({padding:e.spacing(2),backgroundColor:e.palette.mode==="light"?e.palette.grey[50]:le.alpha(e.palette.common.white,.05),borderBottom:`1px solid ${e.palette.divider}`,"& .MuiCardHeader-title":{fontSize:"1rem",fontWeight:700,color:e.palette.text.primary},"& .MuiCardHeader-subheader":{fontSize:"0.875rem",marginTop:2}})),j1=D(Ue)(({theme:e})=>({width:"100%",height:"100%",backgroundColor:e.palette.background.paper,overflow:"auto","&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-thumb":{backgroundColor:e.palette.action.hover,borderRadius:3},"&::-webkit-scrollbar-track":{backgroundColor:"transparent"}})),Al=D(Ci)(({theme:e})=>({borderRadius:12,minWidth:44,height:44,border:`1px solid ${e.palette.divider}`,color:e.palette.text.secondary,backgroundColor:e.palette.background.paper,transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)","&:hover":{backgroundColor:e.palette.primary.main,borderColor:"transparent",color:e.palette.common.white,boxShadow:e.shadows[4],transform:"translateY(-2px) scale(1.05)"},"&.Mui-disabled":{border:`1px solid ${e.palette.action.disabledBackground}`,backgroundColor:"transparent",transform:"none",boxShadow:"none"}})),M1=D(gn)(({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:0,border:"none",backgroundColor:"transparent","& fieldset":{border:"none"},"&.Mui-focused":{boxShadow:"none"}},"& .MuiInputBase-input":{padding:e.spacing(1.5,2),fontSize:"0.875rem"}}));function en(e,o){return e.filter(n=>o.indexOf(n)===-1)}function Ba(e,o){return e.filter(n=>o.indexOf(n)!==-1)}function N1(e,o){return[...e,...en(o,e)]}const qd=({izquierda:e=[],derecha:o=[],alCambiar:n,tituloIzquierda:r="Opciones",tituloDerecha:a="Elegidos",alto:i=320,buscable:s=!1,deshabilitado:l=!1})=>{const[c,d]=Re.useState([]),[p,g]=Re.useState(""),[b,v]=Re.useState(""),h=Ba(c,e),f=Ba(c,o),y=Re.useMemo(()=>!s||!p?e:e.filter(P=>P.etiqueta.toLowerCase().includes(p.toLowerCase())),[e,p,s]),C=Re.useMemo(()=>!s||!b?o:o.filter(P=>P.etiqueta.toLowerCase().includes(b.toLowerCase())),[o,b,s]),O=P=>()=>{if(l||P.deshabilitado)return;const I=c.indexOf(P),N=[...c];I===-1?N.push(P):N.splice(I,1),d(N)},S=P=>Ba(c,P).length,x=P=>()=>{if(l)return;const I=P.filter(N=>!N.deshabilitado);S(I)===I.length&&I.length!==0?d(en(c,I)):d(N1(c,I))},T=()=>{n&&(n(en(e,h),o.concat(h)),d(en(c,h)))},E=()=>{n&&(n(e.concat(f),en(o,f)),d(en(c,f)))},j=(P,I,N,L)=>{const m=I.filter(M=>!M.deshabilitado),$=S(m)===m.length&&m.length!==0,R=S(m)!==m.length&&S(m)!==0;return u.jsxs(I1,{children:[u.jsx($1,{avatar:u.jsx(Mr,{onClick:x(I),checked:$,indeterminate:R,disabled:m.length===0||l,inputProps:{"aria-label":"todos los elementos seleccionados"},size:"small",sx:{color:"text.secondary","&.Mui-checked":{color:"primary.main"}}}),title:P,subheader:u.jsxs(nt,{variant:"caption",color:"text.secondary",sx:{fontWeight:500},children:[S(I)," seleccionados"]})}),s&&u.jsxs(u.Fragment,{children:[u.jsx(Un,{}),u.jsx(M1,{placeholder:"Buscar...",fullWidth:!0,disabled:l,value:N,onChange:M=>L(M.target.value),InputProps:{startAdornment:u.jsx(zo,{position:"start",children:u.jsx(Md,{color:"action",fontSize:"small"})})}}),u.jsx(Un,{})]}),u.jsx(j1,{sx:{height:i},children:u.jsxs(Ui,{dense:!0,component:"div",role:"list",sx:{py:1},children:[I.length===0&&u.jsx(Ue,{sx:{p:4,textAlign:"center",opacity:.5},children:u.jsx(nt,{variant:"caption",children:"No hay elementos"})}),I.map(M=>{const k=`transfer-list-all-item-${M.id}-label`,z=c.indexOf(M)!==-1,V=l||M.deshabilitado;return u.jsx(Hd,{disablePadding:!0,sx:{mb:.5,px:1},children:u.jsxs(Ud,{role:"listitem",onClick:O(M),disabled:V,selected:z,sx:{borderRadius:2,transition:"all 0.2s","&:hover":{backgroundColor:W=>V?void 0:le.alpha(W.palette.primary.main,.08)},"&.Mui-selected":{backgroundColor:W=>le.alpha(W.palette.primary.main,.12),"&:hover":{backgroundColor:W=>le.alpha(W.palette.primary.main,.16)}}},children:[u.jsx($d,{sx:{minWidth:40},children:u.jsx(Mr,{checked:z,tabIndex:-1,disableRipple:!0,disabled:V,inputProps:{"aria-labelledby":k},size:"small",edge:"start"})}),u.jsx(jd,{id:k,primary:M.etiqueta,primaryTypographyProps:{fontWeight:z?600:400,color:z&&!V?"primary.main":"text.primary"}})]})},M.id)})]})})]})};return u.jsxs(ci,{direction:{xs:"column",md:"row"},spacing:3,justifyContent:"center",alignItems:"center",children:[u.jsx(Ue,{sx:{width:{xs:"100%",md:"42%"}},children:j(r,y,p,g)}),u.jsx(Ue,{children:u.jsxs(ci,{direction:"column",spacing:2,children:[u.jsx(Al,{onClick:T,disabled:h.length===0||l,"aria-label":"mover seleccionados a la derecha",children:u.jsx(P1,{fontSize:"small"})}),u.jsx(Al,{onClick:E,disabled:f.length===0||l,"aria-label":"mover seleccionados a la izquierda",children:u.jsx(R1,{fontSize:"small"})})]})}),u.jsx(Ue,{sx:{width:{xs:"100%",md:"42%"}},children:j(a,C,b,v)})]})},A1=qd,L1=({children:e,PaperProps:o,...n})=>{const r=it.useTheme();return u.jsx(it.Dialog,{PaperProps:{elevation:24,sx:{borderRadius:3,backgroundImage:"none",backgroundColor:r.palette.background.paper,...o?.sx},...o},...n,children:e})},B1=({sx:e,children:o,...n})=>u.jsx(it.DialogTitle,{sx:{fontWeight:700,fontSize:"1.25rem",pb:1,...e},...n,children:o}),D1=({sx:e,children:o,...n})=>u.jsx(it.DialogContent,{sx:{py:2,...e},...n,children:o}),z1=({sx:e,children:o,...n})=>u.jsx(it.DialogContentText,{sx:{mb:2,color:"text.secondary",...e},...n,children:o}),F1=({sx:e,children:o,...n})=>u.jsx(it.DialogActions,{sx:{px:3,pb:3,gap:1,...e},...n,children:o});exports.CodeplexAlert=Zg;exports.CodeplexAlerta=Mc;exports.CodeplexAutocompletado=wd;exports.CodeplexAutocomplete=g0;exports.CodeplexAvatar=ng;exports.CodeplexAvatarGroup=og;exports.CodeplexAvatarUsuario=vc;exports.CodeplexAviso=Ic;exports.CodeplexAyudaEntrada=td;exports.CodeplexBadge=Em;exports.CodeplexBanner=Pg;exports.CodeplexBoton=wi;exports.CodeplexButton=ym;exports.CodeplexCampoNumero=Ed;exports.CodeplexCampoTexto=_d;exports.CodeplexCard=Og;exports.CodeplexCargando=hc;exports.CodeplexCasilla=Ki;exports.CodeplexCheckbox=U0;exports.CodeplexDeslizador=zd;exports.CodeplexDialogo=L1;exports.CodeplexDialogoAcciones=F1;exports.CodeplexDialogoContenido=D1;exports.CodeplexDialogoTexto=z1;exports.CodeplexDialogoTitulo=B1;exports.CodeplexElementoMenu=nn;exports.CodeplexEncabezadoPrincipal=Rc;exports.CodeplexEsqueleto=od;exports.CodeplexEtiquetaInteligente=wc;exports.CodeplexGrupoAvatares=xc;exports.CodeplexGrupoBotones=w0;exports.CodeplexGrupoFormulario=Gi;exports.CodeplexGrupoRadio=Id;exports.CodeplexInputHelper=ly;exports.CodeplexInsignia=gc;exports.CodeplexInterruptor=Vd;exports.CodeplexJumbotron=Eg;exports.CodeplexKbd=Am;exports.CodeplexListaTransferencia=qd;exports.CodeplexMensajeEmergente=qc;exports.CodeplexNotificacion=Vi;exports.CodeplexNumberField=J0;exports.CodeplexPopupRequisitos=Ei;exports.CodeplexProgreso=Yc;exports.CodeplexProgress=Gb;exports.CodeplexRadio=Zi;exports.CodeplexRadioGroup=mx;exports.CodeplexRating=sy;exports.CodeplexRequirementsPopup=rg;exports.CodeplexSelect=jx;exports.CodeplexSelector=Nd;exports.CodeplexSkeleton=dy;exports.CodeplexSlider=Qx;exports.CodeplexSmartLabel=ag;exports.CodeplexSpinner=Nm;exports.CodeplexSubcabeceraLista=fn;exports.CodeplexSwitch=s1;exports.CodeplexTarjeta=Pc;exports.CodeplexTeclado=bc;exports.CodeplexTextField=c1;exports.CodeplexToast=qb;exports.CodeplexTooltip=Tb;exports.CodeplexTostada=Hb;exports.CodeplexTransferList=A1;exports.CodeplexValoracion=ed;exports.EntradaOcultaVisualmente=bm;exports.Ui=Xd;exports.avatarCadena=Cc;exports.stringAvatar=tg;
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:`
254
+ html {
255
+ scroll-padding-top: ${g}px;
256
+ scroll-padding-bottom: ${d}px;
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(`
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(`
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]})});