@codeplex-sac/ui 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.cjs +334 -0
  2. package/index.js +30627 -120
  3. package/package.json +6 -4
  4. package/index.mjs +0 -33249
package/index.cjs ADDED
@@ -0,0 +1,334 @@
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,R=s,I=o,N=p,A=r,m=h,$=v,P=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 L(_){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=R,Ke.Element=I,Ke.ForwardRef=N,Ke.Fragment=A,Ke.Lazy=m,Ke.Memo=$,Ke.Portal=P,Ke.Profiler=M,Ke.StrictMode=k,Ke.Suspense=z,Ke.isAsyncMode=W,Ke.isConcurrentMode=B,Ke.isContextConsumer=L,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 L=B&&(d&&B[d]||B[p]);if(typeof L=="function")return L}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:R,oneOf:j,oneOfType:I,shape:m,exact:$};function h(B,L){return B===L?B!==0||1/B===1/L:B!==B&&L!==L}function f(B,L){this.message=B,this.data=L&&typeof L=="object"?L:{},this.stack=""}f.prototype=Error.prototype;function y(B){if(process.env.NODE_ENV!=="production")var L={},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;!L[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."),L[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 L(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(L)}function O(){return y(s)}function S(B){function L(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(L)}function x(){function B(L,Y,Z,oe,K){var U=L[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(L,Y,Z,oe,K){var U=L[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 L(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(L)}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 L(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(L)}function R(B){function L(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(L)}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 L=0;L<B.length;L++){var Y=B[L];if(typeof Y!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+V(Y)+" at index "+L+"."),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(L,Y,Z,oe,K){return P(L[Y])?null:new f("Invalid "+oe+" `"+K+"` supplied to "+("`"+Z+"`, expected a ReactNode."))}return y(B)}function A(B,L,Y,Z,oe){return new f((B||"React class")+": "+L+" type `"+Y+"."+Z+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+oe+"`.")}function m(B){function L(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 A(oe,K,U,J,z(X));var de=X(ae,J,oe,K,U+"."+J,n);if(de)return de}return null}return y(L)}function $(B){function L(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 A(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(L)}function P(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(P);if(B===null||l(B))return!0;var L=g(B);if(L){var Y=L.call(B),Z;if(L!==B.entries){for(;!(Z=Y.next()).done;)if(!P(Z.value))return!1}else for(;!(Z=Y.next()).done;){var oe=Z.value;if(oe&&!P(oe[1]))return!1}}else return!1;return!0;default:return!1}}function M(B,L){return B==="symbol"?!0:L?L["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&L instanceof Symbol:!1}function k(B){var L=typeof B;return Array.isArray(B)?"array":B instanceof RegExp?"object":M(L,B)?"symbol":L}function z(B){if(typeof B>"u"||B===null)return""+B;var L=k(B);if(L==="object"){if(B instanceof Date)return"date";if(B instanceof RegExp)return"regexp"}return L}function V(B){var L=z(B);switch(L){case"array":case"object":return"an "+L;case"boolean":case"date":case"regexp":return"a "+L;default:return L}}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.
12
+
13
+ Did you intend to use one of the following approaches?
14
+
15
+ import { green } from "@mui/material/colors";
16
+
17
+ const theme1 = createTheme({ palette: {
18
+ primary: green,
19
+ } });
20
+
21
+ const theme2 = createTheme({ palette: {
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:R}=Oa(T,o);v=Tt(v,R),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,...R}=h;if(j){const{css:I}=j,N=s[T]?.palette?.mode,A=!r&&N?{colorScheme:N,...I}:{...I};E(n(T,{...A}),A)}return Object.entries(R).forEach(([I,{css:N}])=>{const A=s[I]?.palette?.mode,m=!r&&A?{colorScheme:A,...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';
26
+
27
+ const theme = ${JSON.stringify(o,null,2)};
28
+
29
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
30
+ theme.transitions = createTransitions(theme.transitions || {});
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(A=>{const m=E.colorSchemes[A].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 P(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",P(Ze,m.error.light,.6)),q(m.Alert,"infoColor",P(Ze,m.info.light,.6)),q(m.Alert,"successColor",P(Ze,m.success.light,.6)),q(m.Alert,"warningColor",P(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",P(Je,m.error.light,.9)),q(m.Alert,"infoStandardBg",P(Je,m.info.light,.9)),q(m.Alert,"successStandardBg",P(Je,m.success.light,.9)),q(m.Alert,"warningStandardBg",P(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",P(Je,m.primary.main,.62)),q(m.LinearProgress,"secondaryBg",P(Je,m.secondary.main,.62)),q(m.LinearProgress,"errorBg",P(Je,m.error.main,.62)),q(m.LinearProgress,"infoBg",P(Je,m.info.main,.62)),q(m.LinearProgress,"successBg",P(Je,m.success.main,.62)),q(m.LinearProgress,"warningBg",P(Je,m.warning.main,.62)),q(m.Skeleton,"bg",x?P(Po,m.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),q(m.Slider,"primaryTrack",P(Je,m.primary.main,.62)),q(m.Slider,"secondaryTrack",P(Je,m.secondary.main,.62)),q(m.Slider,"errorTrack",P(Je,m.error.main,.62)),q(m.Slider,"infoTrack",P(Je,m.info.main,.62)),q(m.Slider,"successTrack",P(Je,m.success.main,.62)),q(m.Slider,"warningTrack",P(Je,m.warning.main,.62));const M=x?P(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",P(Je,m.primary.main,.62)),q(m.Switch,"secondaryDisabledColor",P(Je,m.secondary.main,.62)),q(m.Switch,"errorDisabledColor",P(Je,m.error.main,.62)),q(m.Switch,"infoDisabledColor",P(Je,m.info.main,.62)),q(m.Switch,"successDisabledColor",P(Je,m.success.main,.62)),q(m.Switch,"warningDisabledColor",P(Je,m.warning.main,.62)),q(m.TableCell,"border",P(Je,P(Po,m.divider,1),.88)),q(m.Tooltip,"bg",P(Po,m.grey[700],.92))}if(m.mode==="dark"){q(m.Alert,"errorColor",P(Je,m.error.light,.6)),q(m.Alert,"infoColor",P(Je,m.info.light,.6)),q(m.Alert,"successColor",P(Je,m.success.light,.6)),q(m.Alert,"warningColor",P(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",P(Ze,m.error.light,.9)),q(m.Alert,"infoStandardBg",P(Ze,m.info.light,.9)),q(m.Alert,"successStandardBg",P(Ze,m.success.light,.9)),q(m.Alert,"warningStandardBg",P(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",P(Ze,m.primary.main,.5)),q(m.LinearProgress,"secondaryBg",P(Ze,m.secondary.main,.5)),q(m.LinearProgress,"errorBg",P(Ze,m.error.main,.5)),q(m.LinearProgress,"infoBg",P(Ze,m.info.main,.5)),q(m.LinearProgress,"successBg",P(Ze,m.success.main,.5)),q(m.LinearProgress,"warningBg",P(Ze,m.warning.main,.5)),q(m.Skeleton,"bg",x?P(Po,m.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),q(m.Slider,"primaryTrack",P(Ze,m.primary.main,.5)),q(m.Slider,"secondaryTrack",P(Ze,m.secondary.main,.5)),q(m.Slider,"errorTrack",P(Ze,m.error.main,.5)),q(m.Slider,"infoTrack",P(Ze,m.info.main,.5)),q(m.Slider,"successTrack",P(Ze,m.success.main,.5)),q(m.Slider,"warningTrack",P(Ze,m.warning.main,.5));const M=x?P(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",P(Ze,m.primary.main,.55)),q(m.Switch,"secondaryDisabledColor",P(Ze,m.secondary.main,.55)),q(m.Switch,"errorDisabledColor",P(Ze,m.error.main,.55)),q(m.Switch,"infoDisabledColor",P(Ze,m.info.main,.55)),q(m.Switch,"successDisabledColor",P(Ze,m.success.main,.55)),q(m.Switch,"warningDisabledColor",P(Ze,m.warning.main,.55)),q(m.TableCell,"border",P(Ze,P(Po,m.divider,1),.68)),q(m.Tooltip,"bg",P(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((A,m)=>Tt(A,m),E);const j={prefix:i,disableCssColorScheme:a,shouldSkipGeneratingVar:l,getSelector:rf(E),enableContrastVars:s},{vars:R,generateThemeVars:I,generateStyleSheets:N}=Lu(E,j);return E.vars=R,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([A,m])=>{E[A]=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(R){return hr(R,E,R.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=[],R=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(R[0])){const m=R.shift(),$=new Array(j.length).fill(""),P=new Array(I.length).fill("");let M;M=[...$,...m,...P],M.raw=[...$,...m.raw,...P],j.unshift(M)}const N=[...j,...R,...I],A=S(...N);return l.muiName&&(A.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(A.displayName=hf(d,p,l)),A};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`
38
+ 0% {
39
+ transform: scale(0);
40
+ opacity: 0.1;
41
+ }
42
+
43
+ 100% {
44
+ transform: scale(1);
45
+ opacity: 0.3;
46
+ }
47
+ `,Wf=le.keyframes`
48
+ 0% {
49
+ opacity: 1;
50
+ }
51
+
52
+ 100% {
53
+ opacity: 0;
54
+ }
55
+ `,Uf=le.keyframes`
56
+ 0% {
57
+ transform: scale(1);
58
+ }
59
+
60
+ 50% {
61
+ transform: scale(0.92);
62
+ }
63
+
64
+ 100% {
65
+ transform: scale(1);
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"})`
68
+ opacity: 0;
69
+ position: absolute;
70
+
71
+ &.${Dt.rippleVisible} {
72
+ opacity: 0.3;
73
+ transform: scale(1);
74
+ animation-name: ${_f};
75
+ animation-duration: ${Ka}ms;
76
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
77
+ }
78
+
79
+ &.${Dt.ripplePulsate} {
80
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
81
+ }
82
+
83
+ & .${Dt.child} {
84
+ opacity: 1;
85
+ display: block;
86
+ width: 100%;
87
+ height: 100%;
88
+ border-radius: 50%;
89
+ background-color: currentColor;
90
+ }
91
+
92
+ & .${Dt.childLeaving} {
93
+ opacity: 0;
94
+ animation-name: ${Wf};
95
+ animation-duration: ${Ka}ms;
96
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
97
+ }
98
+
99
+ & .${Dt.childPulsate} {
100
+ position: absolute;
101
+ /* @noflip */
102
+ left: 0px;
103
+ top: 0;
104
+ animation-name: ${Uf};
105
+ animation-duration: 2500ms;
106
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
107
+ animation-iteration-count: infinite;
108
+ animation-delay: 200ms;
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:R,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:R},p.current)]),p.current+=1,g.current=I},[i]),C=w.useCallback((x={},T={},E=()=>{})=>{const{pulsate:j=!1,center:R=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,A=N?N.getBoundingClientRect():{width:0,height:0,left:0,top:0};let m,$,P;if(R||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)m=Math.round(A.width/2),$=Math.round(A.height/2);else{const{clientX:M,clientY:k}=x.touches&&x.touches.length>0?x.touches[0]:x;m=Math.round(M-A.left),$=Math.round(k-A.top)}if(R)P=Math.sqrt((2*A.width**2+A.height**2)/3),P%2===0&&(P+=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;P=Math.sqrt(M**2+k**2)}x?.touches?h.current===null&&(h.current=()=>{y({pulsate:j,rippleX:m,rippleY:$,rippleSize:P,cb:E})},v.start(Vf,()=>{h.current&&(h.current(),h.current=null)})):y({pulsate:j,rippleX:m,rippleY:$,rippleSize:P,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:R,onMouseUp:I,onTouchEnd:N,onTouchMove:A,onTouchStart:m,tabIndex:$=0,TouchRippleProps:P,touchRippleRef:M,type:k,...z}=r,V=w.useRef(null),W=Rf(),B=ot(W.ref,M),[L,Y]=w.useState(!1);d&&L&&Y(!1),w.useImperativeHandle(a,()=>({focusVisible:()=>{Y(!0),V.current.focus()}}),[]);const Z=W.shouldMount&&!p&&!d;w.useEffect(()=>{L&&b&&!p&&W.pulsate()},[p,b,L,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=>{L&&ne.preventDefault(),R&&R(ne)},g),J=ao(W,"start",m,g),X=ao(W,"stop",N,g),de=ao(W,"stop",A,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&&L&&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===" "&&L&&!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:L},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,...P}):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`
111
+ 0% {
112
+ transform: rotate(0deg);
113
+ }
114
+
115
+ 100% {
116
+ transform: rotate(360deg);
117
+ }
118
+ `,Xa=le.keyframes`
119
+ 0% {
120
+ stroke-dasharray: 1px, 200px;
121
+ stroke-dashoffset: 0;
122
+ }
123
+
124
+ 50% {
125
+ stroke-dasharray: 100px, 200px;
126
+ stroke-dashoffset: -15px;
127
+ }
128
+
129
+ 100% {
130
+ stroke-dasharray: 1px, 200px;
131
+ stroke-dashoffset: -126px;
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:R="text",...I}=s,N=uo(C),A=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:A,loadingPosition:x,size:T,type:j,variant:R},$=lm(m),P=(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:A})}):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:[P,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`
138
+ from { transform: scale(0); opacity: 0; }
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",R=E==="exito",I=E==="error",N=E==="inactivo"&&!i,A=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"}},P=()=>{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)),R&&(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"&&!R&&!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"&&!R&&!I&&(k.backgroundColor="#1f2937",k.color="#ffffff",k["&:hover"]={...k["&:hover"],backgroundColor:"#111827"}),e==="claro"&&!R&&!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]}):R?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:A(e),color:$(e,C),size:m(o),disabled:i||j,onClick:O,disableElevation:!0,startIcon:void 0,endIcon:void 0,sx:{...P(),...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:R}=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:A=b,overlap:m=g,anchorOrigin:$,variant:P=S}=N?I:r,M=Vs($),k=P!=="dot"?R:void 0,z={...r,badgeContent:T,invisible:N,max:j,displayValue:k,showZero:O,anchorOrigin:M,color:A,overlap:m,variant:P},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,L]=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,{...L,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`
141
+ 0% {
142
+ box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
143
+ transform: scale(1);
144
+ }
145
+ 50% {
146
+ transform: scale(1.1);
147
+ }
148
+ 70% {
149
+ box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
150
+ }
151
+ 100% {
152
+ transform: scale(1);
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(A=>u.jsx(Ue,{sx:{width:g/3,height:g/3,borderRadius:"50%",bgcolor:f,animation:"rebote 1.4s infinite ease-in-out both",animationDelay:`${A*.16}s`,"@keyframes rebote":{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}}},A))}),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 A=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:A,height:A,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=(A,m,$,P)=>u.jsx(Ue,{width:g,height:g,position:"relative",className:s,sx:l,children:Array.from({length:A}).map((M,k)=>u.jsx(Ue,{sx:{transformOrigin:"50% 50%",animation:"spinner-fade 1s linear infinite",animationDelay:`${-1+k/A}s`,transform:`rotate(${k*(360/A)}deg) translate(0, -130%)`,position:"absolute",top:"50%",left:"50%",width:g*m,height:g*$,borderRadius:P,bgcolor:f,"@keyframes spinner-fade":{"0%":{opacity:1},"100%":{opacity:0}}}},k))}),E=()=>T(12,.08,.24,"4px"),j=()=>T(8,.2,.2,"4px"),R=()=>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 R();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}),[R,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,A]=ge("fallback",{className:T.fallback,elementType:_m,externalForwardedProps:{slots:c,slotProps:d},shouldForwardComponentProp:!0,ownerState:C});return x?y=u.jsx(R,{...I}):i||i===0?y=i:S&&a?y=a[0]:y=u.jsx(N,{...A}),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 R;C.spacing&&Ia[C.spacing]!==void 0?R=Ia[C.spacing]:C.spacing===0?R=0:R=-C.spacing||Ia.medium;const I={slots:g,slotProps:{surplus:p.additionalAvatar??l?.additionalAvatar,...l,...p}},[N,A]=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":`${R}px`,...f.style},children:[E?u.jsx(N,{...A,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`
157
+ 0% {
158
+ opacity: 1;
159
+ }
160
+
161
+ 50% {
162
+ opacity: 0.4;
163
+ }
164
+
165
+ 100% {
166
+ opacity: 1;
167
+ }
168
+ `,Ja=le.keyframes`
169
+ 0% {
170
+ transform: translateX(-100%);
171
+ }
172
+
173
+ 50% {
174
+ /* +0.5s of delay between each loop */
175
+ transform: translateX(100%);
176
+ }
177
+
178
+ 100% {
179
+ transform: translateX(100%);
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`
184
+ &::after {
185
+ animation: ${Ja} 2s linear 0.5s infinite;
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(
188
+ 90deg,
189
+ transparent,
190
+ ${(e.vars||e).palette.action.hover},
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,R]=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}),[A,m]=ge("message",{className:T.message,elementType:Vg,externalForwardedProps:E,ownerState:x}),[$,P]=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,{...R,children:[g!==!1?u.jsx(I,{...N,children:g||b[f]||Hs[f]}):null,u.jsx(A,{...m,children:i}),a!=null?u.jsx($,{...P,children:a}):null,a==null&&v?u.jsx($,{...P,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,R={...r,orientation:C,collapsedSize:l},I=Gg(R),N=jt(),A=vo(),m=w.useRef(null),$=w.useRef(),P=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,L=W((pe,ke)=>{m.current&&M&&(m.current.style.position="absolute"),pe.style[k]=P,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]=P,pe.style.transitionTimingFunction=ee,y&&y(pe)}),ae=pe=>{T==="auto"&&A.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:R,additionalProps:{style:{[M?"minWidth":"minHeight"]:P,...x}}}),[de,_]=ge("wrapper",{ref:m,className:I.wrapper,elementType:Yg,externalForwardedProps:ce,ownerState:R}),[se,ie]=ge("wrapperInner",{className:I.wrapperInner,elementType:Xg,externalForwardedProps:ce,ownerState:R});return u.jsx(E,{in:p,onEnter:L,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={...R,state:pe};return u.jsx(J,{...X,className:re(X.className,{entered:I.entered,exited:!p&&P==="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 R=j.main;return{backgroundColor:le.alpha(R,.12),color:R,"& .MuiAlert-icon":{color:R},"& .MuiAlertTitle-root":{color:R}}},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)}},R=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),A=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),P=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:R,onExit:m,onExited:$,onExiting:A,addEndListener:P,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),R=c;n.modifiersData[r]=(o={},o[R]=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",R="clientWidth";if(E===Lt(n)&&(E=Eo(n),po(E).position!=="static"&&l==="absolute"&&(j="scrollHeight",R="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[R];v-=N-r.width,v*=c?1:-1}}var A=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({},A,($={},$[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({},A,(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}),R=ni(Object.assign({},S,j)),I=b===Cn?R: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},A=e.modifiersData.offset;if(b===Cn&&A){var m=A[a];Object.keys(N).forEach(function($){var P=[Ht,Ut].indexOf($)>=0?1:-1,M=[It,Ut].indexOf($)>=0?"y":"x";N[$]+=m[M]*P})}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,R=!0,I=x[0],N=0;N<x.length;N++){var A=x[N],m=to(A),$=un(A)===cn,P=[It,Ut].indexOf(m)>=0,M=P?"width":"height",k=_n(o,{placement:A,boundary:p,rootBoundary:g,altBoundary:b,padding:d}),z=P?$?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=A,R=!1;break}j.set(A,W)}if(R)for(var B=h?3:1,L=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=L(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,R=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),A=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,m={x:0,y:0};if(E){if(i){var $,P=x==="y"?It:$t,M=x==="y"?Ut:Ht,k=x==="y"?"height":"width",z=E[x],V=z+y[P],W=z-y[M],B=v?-R[k]/2:0,L=O===cn?j[k]:R[k],Y=O===cn?-R[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[P],ae=K[M],ce=Ln(0,j[k],oe[k]),J=S?j[k]/2-B-ce-U-N.mainAxis:L-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=($=A?.[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=A?.[T])!=null?Ee:0,Q=Me?ne:Se-j[he]-R[he]-te+N.altAxis,be=Me?Se+j[he]+R[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,R=j===void 0?{}:j,I=T.name;typeof E=="function"&&(p=E({state:p,options:R,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,R]=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=>{R(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 A={placement:j};h!==null&&(A.TransitionProps=h);const m=db(o),$=v.root??"div",P=Zt({elementType:$,externalSlotProps:b.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:O},ownerState:o,className:m.root});return u.jsx($,{...P,children:typeof a=="function"?a(A):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 R=!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:R,...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:R="bottom",PopperComponent:I,PopperProps:N={},slotProps:A={},slots:m={},title:$,TransitionComponent:P,TransitionProps:M,...k}=r,z=w.isValidElement(i)?i:u.jsx("span",{children:i}),V=jt(),W=mn(),[B,L]=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||L(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),L,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:R,PopperComponentProp:I,touch:oe.current},We=typeof A.popper=="function"?A.popper(Ne):A.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 A.transition=="function"?A.transition(Ne):A.transition,ye={slots:{popper:l.Popper,transition:l.Transition??P,tooltip:l.Tooltip,arrow:l.Arrow,...m},slotProps:{arrow:A.arrow??c.arrow,popper:{...N,...We??c.popper},tooltip:A.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:R,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:R={},TransitionComponent:I,transitionDuration:N=i,TransitionProps:{onEnter:A,onExited:m,...$}={},...P}=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),L=se=>{B(!0),m&&m(se)},Y=(se,ie)=>{B(!1),A&&A(se,ie)},Z={slots:{transition:I,...j},slotProps:{content:v,clickAwayListener:b,transition:$,...R}},[oe,K]=ge("root",{ref:n,className:[k.root,g],elementType:Nb,getSlotProps:z,externalForwardedProps:{...Z,...P},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),L(...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`
255
+ 0% {
256
+ left: -35%;
257
+ right: 100%;
258
+ }
259
+
260
+ 60% {
261
+ left: 100%;
262
+ right: -90%;
263
+ }
264
+
265
+ 100% {
266
+ left: 100%;
267
+ right: -90%;
268
+ }
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`
272
+ 0% {
273
+ left: -200%;
274
+ right: 100%;
275
+ }
276
+
277
+ 60% {
278
+ left: 107%;
279
+ right: -8%;
280
+ }
281
+
282
+ 100% {
283
+ left: 107%;
284
+ right: -8%;
285
+ }
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`
289
+ 0% {
290
+ opacity: 1;
291
+ background-position: 0 -23px;
292
+ }
293
+
294
+ 60% {
295
+ opacity: 0;
296
+ background-position: 0 -23px;
297
+ }
298
+
299
+ 100% {
300
+ opacity: 1;
301
+ background-position: -200px -23px;
302
+ }
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 R=100,N=100/(c/R),A=setInterval(()=>{O(m=>m>=100?(clearInterval(A),100):m+N)},R);return()=>clearInterval(A)}},[e,c,p]);const S=(R,I)=>{I!=="clickaway"&&o&&o()},x=R=>{const[I,N]=R.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,R=s?g===x:g<=x,I=g<=l,N=g<=a,A=g===T,m=`${v}-${uo()}`,$={slots:E,slotProps:j},[P,M]=ge("icon",{elementType:ey,className:re(o.icon,R?o.iconFilled:o.iconEmpty,I&&o.iconHover,N&&o.iconFocus,p&&o.iconActive),externalForwardedProps:$,ownerState:{...S,iconEmpty:!R,iconFilled:R,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(P,{...M,children:r&&!R?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:A})]})}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:R={},slotProps:I={},...N}=r,A=uo(f),[m,$]=Qt({controlled:j,default:s,name:"Rating"}),P=Ma(m,x),M=mn(),[{hover:k,focus:z},V]=w.useState({hover:-1,focus:-1});let W=P;k!==-1&&(W=k),z!==-1&&(W=z);const[B,L]=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}),L(!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)===P&&y(he,null))},ce=he=>{So(he.target)&&L(!0);const ne=parseFloat(he.target.value);V(ze=>({hover:ze.hover,focus:ne}))},J=he=>{if(k!==-1)return;So(he.target)||L(!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:R,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:A,onBlur:J,onChange:U,onClick:ae,onFocus:ce,ratingValue:W,ratingValueRounded:P,readOnly:T,ownerState:_,slots:R,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:`${A}-empty`,type:"radio",name:A,checked:P==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`
307
+ 0% { transform: scale(1); }
308
+ 50% { transform: scale(1.2); }
309
+ 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,R={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:R,animado:b,brillo:v,onChange:(N,A)=>{d&&d(A)},onChangeActive:(N,A)=>{S(A)},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`
314
+ 0% { transform: translateX(-100%); }
315
+ 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:R,includeInputInList:I=!1,inputValue:N,isOptionEqualToValue:A=(G,H)=>G===H,multiple:m=!1,onChange:$,onClose:P,onHighlightChange:M,onInputChange:k,onOpen:z,open:V,openOnFocus:W=!1,options:B,readOnly:L=!1,renderValue:Y,selectOnFocus:Z=!e.freeSolo,value:oe}=e,K=uo(R);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&&!L,ue=ve?y(B.filter(G=>!(C&&(m?ee:[ee]).some(H=>H!==null&&A(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&&!L,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=>A(fe,$e))!==-1)return;const Ie=ue.findIndex($e=>A($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),P&&P(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=>A(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=>A(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&&!L&&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&&!L&&(De(null),ie(-1),We(-1));break;case"Delete":if(m&&!L&&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&&!L&&(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,...!L&&{onDelete:m?ha(G):bn}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:ht}),getTagProps:({index:G})=>({key:G,"data-tag-index":G,tabIndex:-1,...!L&&{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&&A(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,R=w.useRef(null),I=ot(R,n),N=U=>{U.stopPropagation(),h&&h(U)},A=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,P=$||h?lo:c||"div",M={...r,component:P,disabled:p,size:C,color:l,iconColor:w.isValidElement(g)&&g.props.color||l,onDelete:!!h,clickable:$,variant:O},k=Cy(M),z=P===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 L={slots:T,slotProps:E},[Y,Z]=ge("root",{elementType:wy,externalForwardedProps:{...L,...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),A(ae)},onKeyUp:ae=>{U.onKeyUp?.(ae),m(ae)}})}),[oe,K]=ge("label",{elementType:Sy,externalForwardedProps:L,ownerState:M,className:k.label});return u.jsxs(Y,{as:P,...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,R=dr(E.paddingBottom)+dr(E.paddingTop),I=dr(E.borderBottomWidth)+dr(E.borderTopWidth),N=x.scrollHeight;x.value="x";const A=x.scrollHeight;let m=N;i&&(m=Math.max(Number(i)*A,m)),a&&(m=Math.min(Number(a)*A,m)),m=Math.max(m,A);const $=m+(j==="border-box"?R+I:0),P=Math.abs(m-N)<=1;return{outerHeightStyle:$,overflowing:P}},[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:R=!1,name:I,onBlur:N,onChange:A,onClick:m,onFocus:$,onKeyDown:P,onKeyUp:M,placeholder:k,readOnly:z,renderSuffix:V,rows:W,size:B,slotProps:L={},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),A&&A(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;R&&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:R,size:pe.size,startAdornment:Z,type:oe},be=Py(Q),Oe=Y.root||d.Root||oa,Pe=L.root||p.root||{},ve=Y.input||d.Input||na;return Me={...Me,...L.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:P,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:R=!1,forcePopupIcon:I="auto",freeSolo:N=!1,fullWidth:A=!1,getLimitTagsText:m=He=>`+${He}`,getOptionDisabled:$,getOptionKey:P,getOptionLabel:M,isOptionEqualToValue:k,groupBy:z,handleHomeEndKeys:V=!r.freeSolo,id:W,includeInputInList:B=!1,inputValue:L,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:A,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}),[R,I]=w.useState(!1);c&&R&&I(!1);const N=p!==void 0&&!c?p:R;let A;const m=w.useRef(!1);process.env.NODE_ENV!=="production"&&(A=()=>(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)},[]),P=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:P,onFilled:$,registerEffect:A,required:h,variant:y}),[x,s,c,d,E,N,g,b,A,P,$,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 R=h.current,I=T.toLowerCase(),N=performance.now();R.keys.length>0&&(N-R.lastTime>500?(R.keys=[],R.repeating=!0,R.previousKeyMatched=!0):R.repeating&&I!==R.keys[0]&&(R.repeating=!1)),R.lastTime=N,R.keys.push(I);const A=j&&!R.repeating&&ld(j,R);R.previousKeyMatched&&(A||Tn(x,j,!1,c,Na,R))?S.preventDefault():R.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=R=>{y.current=R,!(r||!s()||R.key!=="Tab")&&x===h.current&&R.shiftKey&&(c.current=!0,p.current&&p.current.focus())},E=()=>{const R=h.current;if(R===null)return;const I=$n(S);if(!S.hasFocus()||!s()||c.current){c.current=!1;return}if(R.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 A=!!(y.current?.shiftKey&&y.current?.key==="Tab"),m=N[0],$=N[N.length-1];typeof m!="string"&&typeof $!="string"&&(A?$.focus():m.focus())}else R.focus()};S.addEventListener("focusin",E),S.addEventListener("keydown",T,!0);const j=setInterval(()=>{const R=$n(S);R&&R.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=P=>M=>{if(P){const k=x.current;M===void 0?P(k):P(k,M)}},j=E(b),R=E((P,M)=>{jc(P);const k=sn({style:y,timeout:C,easing:c},{mode:"enter"});P.style.webkitTransition=r.transitions.create("opacity",k),P.style.transition=r.transitions.create("opacity",k),p&&p(P,M)}),I=E(g),N=E(f),A=E(P=>{const M=sn({style:y,timeout:C,easing:c},{mode:"exit"});P.style.webkitTransition=r.transitions.create("opacity",M),P.style.transition=r.transitions.create("opacity",M),v&&v(P)}),m=E(h),$=P=>{i&&i(x.current,P)};return u.jsx(O,{appear:s,in:d,nodeRef:x,onEnter:R,onEntered:I,onEntering:j,onExit:A,onExited:m,onExiting:N,addEndListener:$,timeout:C,...S,children:(P,{ownerState:M,...k})=>w.cloneElement(l,{style:{opacity:0,visibility:P==="exited"&&!d?"hidden":void 0,...Iv[P],...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,R]=ge("transition",{elementType:dd,externalForwardedProps:x,ownerState:y});return u.jsx(j,{in:c,timeout:h,...f,...R,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()),R=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")))},A=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:A(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:R,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:R,open:I,slotProps:N={},slots:A={},theme:m,...$}=r,P={...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:L}=Lv({...P,rootRef:n}),Y={...P,exited:B},Z=Dv(Y),oe={};if(d.props.tabIndex===void 0&&(oe.tabIndex="-1"),L){const{onEnter:X,onExited:de}=z();oe.onEnter=X,oe.onExited=de}const K={slots:{root:b.Root,backdrop:b.Backdrop,...A},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&&(!L||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,R=w.useRef(),I={...r,anchorOrigin:s,anchorReference:c,elevation:b,marginThreshold:v,transformOrigin:O,TransitionComponent:S,transitionDuration:x,TransitionProps:T},N=_v(I),A=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(R.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=A();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,A,m,v]),[P,M]=w.useState(h),k=w.useCallback(()=>{const X=R.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}},[L,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"&&!L.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:R,className:N.paper,elementType:fd,externalForwardedProps:B,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:P?void 0:{opacity:0}},ownerState:I});return u.jsx(oe,{...ae,...!eo(oe)&&{slots:K,slotProps:U,disableScrollLock:E},children:u.jsx(L,{...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,R=w.useRef(null),I=(W,B)=>{R.current&&R.current.adjustStyleForScrollbar(W,{direction:x?"rtl":"ltr"}),h&&h(W,B)},N=W=>{W.key==="Tab"&&(W.preventDefault(),d&&d(W,"tabKeyDown"))};let A=-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||A===-1)&&(A=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]}),[P,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:P,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:R,autoFocus:a&&(A===-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:R,onMouseDown:I,onOpen:N,open:A,readOnly:m,renderValue:$,required:P,SelectDisplayProps:M={},tabIndex:k,type:z,value:V,variant:W="standard",...B}=o,[L,Y]=Qt({controlled:V,default:p,name:"Select"}),[Z,oe]=Qt({controlled:A,default:d,name:"Select"}),K=w.useRef(null),U=w.useRef(null),[ae,ce]=w.useState(null),{current:J}=w.useRef(A!=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:L}),[L]),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(L)?L.slice():[];const gt=L.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),L!==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)),R?.(ye))},ne=ae!==null&&Z,ze=ye=>{!ne&&x&&(Object.defineProperty(ye,"target",{writable:!0,value:{value:L,name:S}}),x(ye))};delete B["aria-invalid"];let Me,te;const Q=[];let be=!1,Oe=!1;(Ir({value:L})||b)&&($?Me=$(L):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(L))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=L.some(Xe=>Ol(Xe,ye.props.value)),Ae&&be&&Q.push(ye.props.children)}else Ae=Ol(L,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&&L!==""){const ye=ee.map(Ae=>Ae.props.value);console.warn([`MUI: You have provided an out-of-range value \`${L}\` 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,L]),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:L,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":P?"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(L)?L.join(","):L,name:S,ref:K,"aria-hidden":!0,onChange:De,tabIndex:-1,disabled:g,className:We.nativeInput,autoFocus:i,required:P,...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:R="outlined",...I}=r,N=O?yd:xd,A=Yt(),m=ko({props:r,muiFormControl:A,states:["variant","error"]}),$=m.variant||R,P={...r,variant:$,classes:s},M=i0(P),{root:k,...z}=M,V=b||{standard:u.jsx(s0,{ownerState:P}),outlined:u.jsx(l0,{label:h,ownerState:P}),filled:u.jsx(c0,{ownerState:P})}[$],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:R,onBlur:I,onChange:N,onFocus:A,placeholder:m,required:$=!1,rows:P,select:M=!1,SelectProps:k,slots:z={},slotProps:V={},type:W,value:B,variant:L="outlined",...Y}=r,Z={...r,autoFocus:i,color:c,disabled:p,error:g,fullWidth:v,multiline:j,required:$,select:M,variant:L},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[L],J={slots:z,slotProps:{input:O,inputLabel:y,htmlInput:C,formHelperText:b,select:k,...V}},X={},de=J.slotProps.inputLabel;L==="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:L}}),[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:R,rows:P,maxRows:T,minRows:E,type:W,value:B,id:K,inputRef:S,onBlur:I,onChange:N,onFocus:A,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)=>u.jsx(Qr,{label:typeof T=="string"?T:T.label||JSON.stringify(T),...x({index:E}),size:"small",sx:{borderRadius:"8px",backgroundColor:j=>le.alpha(j.palette.primary.main,.1),color:"primary.main",fontWeight:500,border:"1px solid",borderColor:j=>le.alpha(j.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 R=j===0,I=j===T-1;return R&&I?"":R?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,R)=>u.jsx(xi.Provider,{value:E(R),children:j},R))})})});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:R={},...I}=o,[N,A]=Qt({controlled:a,default:!!s,name:"SwitchBase",state:"checked"}),m=Yt(),$=K=>{C&&C(K),m&&m.onFocus&&m.onFocus(K)},P=K=>{f&&f(K),m&&m.onBlur&&m.onBlur(K)},M=K=>{if(K.nativeEvent.defaultPrevented)return;const U=K.target.checked;A(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,...R}},[L,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),P(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(L,{...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 R=ko({props:r,muiFormControl:x,states:["error"]}),I={...r,disabled:T,labelPlacement:b,required:E,error:R.error},N=B0(I),A={slots:y,slotProps:{...s,...C}},[m,$]=ge("typography",{elementType:nt,externalForwardedProps:A,ownerState:I});let P=g;return P!=null&&P.type!==nt&&!d&&(P=u.jsx(m,{component:"span",...$,className:re(N.label,$?.className),children:P})),u.jsxs(D0,{className:re(N.root,i),ownerState:I,ref:n,...S,children:[w.cloneElement(l,j),E?u.jsxs("div",{children:[P,u.jsxs(z0,{ownerState:I,"aria-hidden":!0,className:N.asterisk,children:[" ","*"]})]}):P]})});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=A=>{if(A===""||A==="-"){S(A),A===""&&!C&&h?.(null);return}const m=parseFloat(A);isNaN(m)||(C||S(A),h?.(m))},E=()=>{let A=parseFloat(O);if(isNaN(A))return void 0;let m=A;typeof n=="number"&&A<n&&(m=n),typeof r=="number"&&A>r&&(m=r),m!==A&&(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))},R=()=>{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:A=>T(A.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:R,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 R=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,[A,m]=ge("root",{ref:n,elementType:sx,className:re(T.root,g),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:f,...C},getSlotProps:$=>({...$,onChange:(P,...M)=>{$.onChange?.(P,...M),R(P,...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(A,{...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,R]=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:R?.variant?void 0:"span",...R,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:"8px 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(),R=h||o,I=f||n,[N,A]=Re.useState(""),m=Re.useMemo(()=>$(p),[p]);function $(L){return L?L.map(Y=>({value:Y.valor,label:Y.etiqueta,disabled:Y.deshabilitado})):[]}const P=Re.useMemo(()=>{if(!S||!N.trim())return m;const L=N.toLowerCase();return m.filter(Y=>String(Y.label).toLowerCase().includes(L))},[m,N,S]),M=L=>{if(R){const Z={target:{value:Array.isArray(e)?e.filter(oe=>oe!==L):[],name:E.name}};R(Z,null)}},k=e===""||e===null||Array.isArray(e)&&e.length===0,z=L=>{if(v)return v(L);if(r){const Y=Array.isArray(L)?L:[L];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?(L===""||L===null)&&b?u.jsx("span",{style:{color:j.palette.text.disabled},children:b}):m.find(Z=>Z.value===L)?.label||L:L},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:R,size:I,multiple:r,displayEmpty:!!b||c,renderValue:V?z:void 0,IconComponent:Cd,onClose:()=>A(""),MenuProps:{autoFocus:!1,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,"& .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:L=>A(L.target.value),onKeyDown:L=>L.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})}),P.length>0?P.map(L=>u.jsx(nn,{value:L.value,disabled:L.disabled,children:L.label},L.value)):S&&P.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:L=>{L.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),[R,I]=w.useState(!1),N=w.useRef(0),A=w.useRef(null),[m,$]=Qt({controlled:O,default:n??c,name:"Slider"}),P=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}}),A.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),L=w.useRef(null),Y=ot(v,L),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:L,activeIndex:Ve})}$(ve),B(be),P&&!mr(ve,m)&&P(te,ve,be),g&&g(te,A.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&&L.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}=L,{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:L,activeIndex:Oe,setActive:T}),$(be),!R&&N.current>Nx&&I(!0),P&&!mr(be,m)&&P(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,A.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:L,activeIndex:ve,setActive:T}),$(Pe),P&&!mr(Pe,m)&&P(te,Pe,ve)}N.current=0;const Oe=mt(L.current);Oe.addEventListener("touchmove",de,{passive:!0}),Oe.addEventListener("touchend",_,{passive:!0})}),ie=w.useCallback(()=>{const te=mt(L.current);te.removeEventListener("mousemove",de),te.removeEventListener("mouseup",_),te.removeEventListener("touchmove",de),te.removeEventListener("touchend",_)},[_,de]);w.useEffect(()=>{const{current:te}=L;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:L,activeIndex:ve,setActive:T}),$(Pe),P&&!mr(Pe,m)&&P(Q,Pe,ve)}N.current=0;const Oe=mt(L.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:R,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:R="horizontal",shiftStep:I=10,size:N="medium",step:A=1,scale:m=Nl,slotProps:$,slots:P,tabIndex:M,track:k="normal",value:z,valueLabelDisplay:V="off",valueLabelFormat:W=Nl,...B}=r,L={...r,isRtl:a,max:S,min:x,classes:b,disabled:f,disableSwap:h,orientation:R,marks:O,color:g,size:N,step:A,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({...L,rootRef:n});L.marked=_.length>0&&_.some(_e=>_e.label),L.dragging=de,L.focusedThumbIndex=J;const Ee=Xx(L),ee=P?.root??d.Root??Ux,De=P?.rail??d.Rail??Hx,Se=P?.track??d.Track??qx,he=P?.thumb??d.Thumb??Gx,ne=P?.valueLabel??d.ValueLabel??Bd,ze=P?.mark??d.Mark??Kx,Me=P?.markLabel??d.MarkLabel??Yx,te=P?.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:{...L,...Q?.ownerState},className:[Ee.root,v]}),Ot=Zt({elementType:De,externalSlotProps:be,ownerState:L,className:Ee.rail}),vt=Zt({elementType:Se,externalSlotProps:Oe,additionalProps:{style:{...Y[ce].offset(ie),...Y[ce].leap(pe)}},ownerState:{...L,...Oe?.ownerState},className:Ee.track}),ut=Zt({elementType:he,getSlotProps:K,externalSlotProps:Pe,ownerState:{...L,...Pe?.ownerState},className:Ee.thumb}),ye=Zt({elementType:ne,externalSlotProps:ve,ownerState:{...L,...ve?.ownerState},className:Ee.valueLabel}),Ae=Zt({elementType:ze,externalSlotProps:ue,ownerState:L,className:Ee.mark}),Xe=Zt({elementType:Me,externalSlotProps:Ve,ownerState:L,className:Ee.markLabel}),gt=Zt({elementType:te,getSlotProps:oe,externalSlotProps:Ne,ownerState:L});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[R,I]=ge("root",{ref:n,className:y.root,elementType:u1,externalForwardedProps:{...C,...h,component:s},ownerState:f}),[N,A]=ge("avatar",{className:y.avatar,elementType:f1,externalForwardedProps:C,ownerState:f}),[m,$]=ge("content",{className:y.content,elementType:g1,externalForwardedProps:C,ownerState:f}),[P,M]=ge("action",{className:y.action,elementType:m1,externalForwardedProps:C,ownerState:f});return u.jsxs(R,{...I,children:[i&&u.jsx(N,{...A,children:i}),u.jsxs(m,{...$,children:[O,T]}),a&&u.jsx(P,{...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),R=w.Children.toArray(i),I=R.length&&An(R[R.length-1],["ListItemSecondaryAction"]),N={...r,alignItems:a,dense:E.dense,disableGutters:h,disablePadding:f,divider:y,hasSecondaryAction:I},A=O1(N),m=ot(j,n),$={slots:S,slotProps:O},[P,M]=ge("secondaryAction",{elementType:Ji,externalForwardedProps:$,ownerState:N,className:A.secondaryAction}),k=S.root||c.Root||E1,z=O.root||d.root||{},V={className:re(A.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(A.container,g),ref:m,ownerState:N,...b,children:[u.jsx(k,{...z,...!eo(k)&&{as:W,ownerState:{...N,...z.ownerState}},...V,children:R}),R.pop()]})})):u.jsx(_t.Provider,{value:E,children:u.jsxs(k,{...z,as:W,ref:m,...!eo(k)&&{ownerState:{...N,...z.ownerState}},...V,children:[R,C&&u.jsx(P,{...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(R=>R.etiqueta.toLowerCase().includes(p.toLowerCase())),[e,p,s]),C=Re.useMemo(()=>!s||!b?o:o.filter(R=>R.etiqueta.toLowerCase().includes(b.toLowerCase())),[o,b,s]),O=R=>()=>{if(l||R.deshabilitado)return;const I=c.indexOf(R),N=[...c];I===-1?N.push(R):N.splice(I,1),d(N)},S=R=>Ba(c,R).length,x=R=>()=>{if(l)return;const I=R.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=(R,I,N,A)=>{const m=I.filter(M=>!M.deshabilitado),$=S(m)===m.length&&m.length!==0,P=S(m)!==m.length&&S(m)!==0;return u.jsxs(I1,{children:[u.jsx($1,{avatar:u.jsx(Mr,{onClick:x(I),checked:$,indeterminate:P,disabled:m.length===0||l,inputProps:{"aria-label":"todos los elementos seleccionados"},size:"small",sx:{color:"text.secondary","&.Mui-checked":{color:"primary.main"}}}),title:R,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=>A(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;