@codeplex-sac/ui 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +28 -28
- package/index.js +95 -95
- package/index.mjs +4697 -4550
- package/lib/alerta/alerta.d.ts +17 -0
- package/lib/anuncio/anuncio.d.ts +14 -0
- package/lib/autocompletado/autocompletado.d.ts +15 -0
- package/lib/avatar-usuario/avatar-usuario.d.ts +27 -0
- package/lib/ayuda-entrada/ayuda-entrada.d.ts +10 -0
- package/lib/boton/boton.d.ts +20 -0
- package/lib/campo-numero/campo-numero.d.ts +11 -0
- package/lib/campo-texto/campo-texto.d.ts +9 -0
- package/lib/cargando/cargando.d.ts +14 -0
- package/lib/casilla/casilla.d.ts +10 -0
- package/lib/deslizador/deslizador.d.ts +15 -0
- package/lib/dialogo/dialogo.d.ts +17 -0
- package/lib/encabezado-principal/encabezado-principal.d.ts +17 -0
- package/lib/esqueleto/esqueleto.d.ts +9 -0
- package/lib/etiqueta/etiqueta-inteligente.d.ts +9 -0
- package/lib/etiqueta/popup-requisitos.d.ts +6 -0
- package/lib/grupo-botones/grupo-botones.d.ts +8 -0
- package/lib/grupo-radio/grupo-radio.d.ts +18 -0
- package/lib/insignia/insignia.d.ts +13 -0
- package/lib/interruptor/interruptor.d.ts +8 -0
- package/lib/lista-transferencia/lista-transferencia.d.ts +15 -0
- package/lib/mensaje-emergente/mensaje-emergente.d.ts +15 -0
- package/lib/notificacion/notificacion.d.ts +20 -0
- package/lib/progreso/progreso.d.ts +18 -0
- package/lib/selector/selector.d.ts +21 -0
- package/lib/tarjeta/tarjeta.d.ts +15 -0
- package/lib/teclado/teclado.d.ts +8 -0
- package/lib/valoracion/valoracion.d.ts +15 -0
- package/package.json +1 -1
- package/lib/alert/alert.d.ts +0 -16
- package/lib/autocomplete/autocomplete.d.ts +0 -13
- package/lib/avatar/avatar.d.ts +0 -19
- package/lib/badge/badge.d.ts +0 -4
- package/lib/banner/banner.d.ts +0 -13
- package/lib/button/button.d.ts +0 -16
- package/lib/button-group/button-group.d.ts +0 -4
- package/lib/card/card.d.ts +0 -14
- package/lib/checkbox/checkbox.d.ts +0 -9
- package/lib/dialog/dialog.d.ts +0 -17
- package/lib/input-helper/input-helper.d.ts +0 -8
- package/lib/jumbotron/jumbotron.d.ts +0 -16
- package/lib/kbd/kbd.d.ts +0 -7
- package/lib/label/requirements-popup.d.ts +0 -5
- package/lib/label/smart-label.d.ts +0 -8
- package/lib/number-field/number-field.d.ts +0 -10
- package/lib/progress/progress.d.ts +0 -17
- package/lib/radio-group/radio-group.d.ts +0 -17
- package/lib/rating/rating.d.ts +0 -11
- package/lib/select/select.d.ts +0 -18
- package/lib/skeleton/skeleton.d.ts +0 -4
- package/lib/slider/slider.d.ts +0 -6
- package/lib/spinner/spinner.d.ts +0 -13
- package/lib/switch/switch.d.ts +0 -7
- package/lib/text-field/text-field.d.ts +0 -3
- package/lib/toast/toast.d.ts +0 -18
- package/lib/tooltip/tooltip.d.ts +0 -13
- package/lib/transfer-list/transfer-list.d.ts +0 -14
package/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),Me=require("react"),In=require("react-dom");function wc(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 x=wc(Me),Id=wc(In),jd={};function Nd(){return m.jsx("div",{className:jd.container,children:m.jsx("h1",{children:"Welcome to Ui!"})})}function Md(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fr={exports:{}},mr={exports:{}},He={};var Ds;function Ad(){if(Ds)return He;Ds=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,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,p=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 w(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 f:return T;default:switch(T=T&&T.$$typeof,T){case l:case u:case b:case v:case s:return T;default:return E}}case n:return E}}}function S(T){return w(T)===d}return He.AsyncMode=c,He.ConcurrentMode=d,He.ContextConsumer=l,He.ContextProvider=s,He.Element=o,He.ForwardRef=u,He.Fragment=r,He.Lazy=b,He.Memo=v,He.Portal=n,He.Profiler=i,He.StrictMode=a,He.Suspense=f,He.isAsyncMode=function(T){return S(T)||w(T)===c},He.isConcurrentMode=S,He.isContextConsumer=function(T){return w(T)===l},He.isContextProvider=function(T){return w(T)===s},He.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===o},He.isForwardRef=function(T){return w(T)===u},He.isFragment=function(T){return w(T)===r},He.isLazy=function(T){return w(T)===b},He.isMemo=function(T){return w(T)===v},He.isPortal=function(T){return w(T)===n},He.isProfiler=function(T){return w(T)===i},He.isStrictMode=function(T){return w(T)===a},He.isSuspense=function(T){return w(T)===f},He.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===d||T===i||T===a||T===f||T===h||typeof T=="object"&&T!==null&&(T.$$typeof===b||T.$$typeof===v||T.$$typeof===s||T.$$typeof===l||T.$$typeof===u||T.$$typeof===y||T.$$typeof===C||T.$$typeof===O||T.$$typeof===p)},He.typeOf=w,He}var qe={};var Bs;function Ld(){return Bs||(Bs=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,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,p=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 w(U){return typeof U=="string"||typeof U=="function"||U===r||U===d||U===i||U===a||U===f||U===h||typeof U=="object"&&U!==null&&(U.$$typeof===b||U.$$typeof===v||U.$$typeof===s||U.$$typeof===l||U.$$typeof===u||U.$$typeof===y||U.$$typeof===C||U.$$typeof===O||U.$$typeof===p)}function S(U){if(typeof U=="object"&&U!==null){var ae=U.$$typeof;switch(ae){case o:var se=U.type;switch(se){case c:case d:case r:case i:case a:case f:return se;default:var ue=se&&se.$$typeof;switch(ue){case l:case u:case b:case v:case s:return ue;default:return ae}}case n:return ae}}}var T=c,E=d,R=l,I=s,N=o,M=u,F=r,g=b,$=v,P=n,j=i,k=a,W=f,G=!1;function H(U){return G||(G=!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(U)||S(U)===c}function B(U){return S(U)===d}function A(U){return S(U)===l}function X(U){return S(U)===s}function ee(U){return typeof U=="object"&&U!==null&&U.$$typeof===o}function ie(U){return S(U)===u}function K(U){return S(U)===r}function z(U){return S(U)===b}function oe(U){return S(U)===v}function ce(U){return S(U)===n}function J(U){return S(U)===i}function Y(U){return S(U)===a}function le(U){return S(U)===f}qe.AsyncMode=T,qe.ConcurrentMode=E,qe.ContextConsumer=R,qe.ContextProvider=I,qe.Element=N,qe.ForwardRef=M,qe.Fragment=F,qe.Lazy=g,qe.Memo=$,qe.Portal=P,qe.Profiler=j,qe.StrictMode=k,qe.Suspense=W,qe.isAsyncMode=H,qe.isConcurrentMode=B,qe.isContextConsumer=A,qe.isContextProvider=X,qe.isElement=ee,qe.isForwardRef=ie,qe.isFragment=K,qe.isLazy=z,qe.isMemo=oe,qe.isPortal=ce,qe.isProfiler=J,qe.isStrictMode=Y,qe.isSuspense=le,qe.isValidElementType=w,qe.typeOf=S})()),qe}var Fs;function Di(){return Fs||(Fs=1,process.env.NODE_ENV==="production"?mr.exports=Ad():mr.exports=Ld()),mr.exports}var Da,zs;function Dd(){if(zs)return Da;zs=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(u){return s[u]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Da=a()?Object.assign:function(i,s){for(var l,c=r(i),d,u=1;u<arguments.length;u++){l=Object(arguments[u]);for(var f in l)o.call(l,f)&&(c[f]=l[f]);if(e){d=e(l);for(var h=0;h<d.length;h++)n.call(l,d[h])&&(c[d[h]]=l[d[h]])}}return c},Da}var Ba,Vs;function Bi(){if(Vs)return Ba;Vs=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ba=e,Ba}var Fa,_s;function Tc(){return _s||(_s=1,Fa=Function.call.bind(Object.prototype.hasOwnProperty)),Fa}var za,Ws;function Bd(){if(Ws)return za;Ws=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var o=Bi(),n={},r=Tc();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 u in i)if(r(i,u)){var f;try{if(typeof i[u]!="function"){var h=Error((c||"React class")+": "+l+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}f=i[u](s,u,c,l,null,o)}catch(b){f=b}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var v=d?d():"";e("Failed "+l+" type: "+f.message+(v??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},za=a,za}var Va,Us;function Fd(){if(Us)return Va;Us=1;var e=Di(),o=Dd(),n=Bi(),r=Tc(),a=Bd(),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 Va=function(l,c){var d=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f(B){var A=B&&(d&&B[d]||B[u]);if(typeof A=="function")return A}var h="<<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:w,element:S(),elementType:T(),instanceOf:E,node:M(),objectOf:I,oneOf:R,oneOfType:N,shape:g,exact:$};function b(B,A){return B===A?B!==0||1/B===1/A:B!==B&&A!==A}function p(B,A){this.message=B,this.data=A&&typeof A=="object"?A:{},this.stack=""}p.prototype=Error.prototype;function y(B){if(process.env.NODE_ENV!=="production")var A={},X=0;function ee(K,z,oe,ce,J,Y,le){if(ce=ce||h,Y=Y||oe,le!==n){if(c){var U=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 U.name="Invariant Violation",U}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ae=ce+":"+oe;!A[ae]&&X<3&&(i("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),A[ae]=!0,X++)}}return z[oe]==null?K?z[oe]===null?new p("The "+J+" `"+Y+"` is marked as required "+("in `"+ce+"`, but its value is `null`.")):new p("The "+J+" `"+Y+"` is marked as required in "+("`"+ce+"`, but its value is `undefined`.")):null:B(z,oe,ce,J,Y)}var ie=ee.bind(null,!1);return ie.isRequired=ee.bind(null,!0),ie}function C(B){function A(X,ee,ie,K,z,oe){var ce=X[ee],J=k(ce);if(J!==B){var Y=W(ce);return new p("Invalid "+K+" `"+z+"` of type "+("`"+Y+"` supplied to `"+ie+"`, expected ")+("`"+B+"`."),{expectedType:B})}return null}return y(A)}function O(){return y(s)}function w(B){function A(X,ee,ie,K,z){if(typeof B!="function")return new p("Property `"+z+"` of component `"+ie+"` has invalid PropType notation inside arrayOf.");var oe=X[ee];if(!Array.isArray(oe)){var ce=k(oe);return new p("Invalid "+K+" `"+z+"` of type "+("`"+ce+"` supplied to `"+ie+"`, expected an array."))}for(var J=0;J<oe.length;J++){var Y=B(oe,J,ie,K,z+"["+J+"]",n);if(Y instanceof Error)return Y}return null}return y(A)}function S(){function B(A,X,ee,ie,K){var z=A[X];if(!l(z)){var oe=k(z);return new p("Invalid "+ie+" `"+K+"` of type "+("`"+oe+"` supplied to `"+ee+"`, expected a single ReactElement."))}return null}return y(B)}function T(){function B(A,X,ee,ie,K){var z=A[X];if(!e.isValidElementType(z)){var oe=k(z);return new p("Invalid "+ie+" `"+K+"` of type "+("`"+oe+"` supplied to `"+ee+"`, expected a single ReactElement type."))}return null}return y(B)}function E(B){function A(X,ee,ie,K,z){if(!(X[ee]instanceof B)){var oe=B.name||h,ce=H(X[ee]);return new p("Invalid "+K+" `"+z+"` of type "+("`"+ce+"` supplied to `"+ie+"`, expected ")+("instance of `"+oe+"`."))}return null}return y(A)}function R(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function A(X,ee,ie,K,z){for(var oe=X[ee],ce=0;ce<B.length;ce++)if(b(oe,B[ce]))return null;var J=JSON.stringify(B,function(le,U){var ae=W(U);return ae==="symbol"?String(U):U});return new p("Invalid "+K+" `"+z+"` of value `"+String(oe)+"` "+("supplied to `"+ie+"`, expected one of "+J+"."))}return y(A)}function I(B){function A(X,ee,ie,K,z){if(typeof B!="function")return new p("Property `"+z+"` of component `"+ie+"` has invalid PropType notation inside objectOf.");var oe=X[ee],ce=k(oe);if(ce!=="object")return new p("Invalid "+K+" `"+z+"` of type "+("`"+ce+"` supplied to `"+ie+"`, expected an object."));for(var J in oe)if(r(oe,J)){var Y=B(oe,J,ie,K,z+"."+J,n);if(Y instanceof Error)return Y}return null}return y(A)}function N(B){if(!Array.isArray(B))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var A=0;A<B.length;A++){var X=B[A];if(typeof X!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+G(X)+" at index "+A+"."),s}function ee(ie,K,z,oe,ce){for(var J=[],Y=0;Y<B.length;Y++){var le=B[Y],U=le(ie,K,z,oe,ce,n);if(U==null)return null;U.data&&r(U.data,"expectedType")&&J.push(U.data.expectedType)}var ae=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new p("Invalid "+oe+" `"+ce+"` supplied to "+("`"+z+"`"+ae+"."))}return y(ee)}function M(){function B(A,X,ee,ie,K){return P(A[X])?null:new p("Invalid "+ie+" `"+K+"` supplied to "+("`"+ee+"`, expected a ReactNode."))}return y(B)}function F(B,A,X,ee,ie){return new p((B||"React class")+": "+A+" type `"+X+"."+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ie+"`.")}function g(B){function A(X,ee,ie,K,z){var oe=X[ee],ce=k(oe);if(ce!=="object")return new p("Invalid "+K+" `"+z+"` of type `"+ce+"` "+("supplied to `"+ie+"`, expected `object`."));for(var J in B){var Y=B[J];if(typeof Y!="function")return F(ie,K,z,J,W(Y));var le=Y(oe,J,ie,K,z+"."+J,n);if(le)return le}return null}return y(A)}function $(B){function A(X,ee,ie,K,z){var oe=X[ee],ce=k(oe);if(ce!=="object")return new p("Invalid "+K+" `"+z+"` of type `"+ce+"` "+("supplied to `"+ie+"`, expected `object`."));var J=o({},X[ee],B);for(var Y in J){var le=B[Y];if(r(B,Y)&&typeof le!="function")return F(ie,K,z,Y,W(le));if(!le)return new p("Invalid "+K+" `"+z+"` key `"+Y+"` supplied to `"+ie+"`.\nBad object: "+JSON.stringify(X[ee],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
3
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),Me=require("react"),In=require("react-dom");function Pc(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 C=Pc(Me),np=Pc(In),rp={};function ap(){return g.jsx("div",{className:rp.container,children:g.jsx("h1",{children:"Welcome to Ui!"})})}function sp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fr={exports:{}},mr={exports:{}},He={};var Vi;function ip(){if(Vi)return He;Vi=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,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function w(T){if(typeof T=="object"&&T!==null){var E=T.$$typeof;switch(E){case o:switch(T=T.type,T){case c:case u:case r:case s:case a:case f:return T;default:switch(T=T&&T.$$typeof,T){case l:case d:case h:case y:case i:return T;default:return E}}case n:return E}}}function S(T){return w(T)===u}return He.AsyncMode=c,He.ConcurrentMode=u,He.ContextConsumer=l,He.ContextProvider=i,He.Element=o,He.ForwardRef=d,He.Fragment=r,He.Lazy=h,He.Memo=y,He.Portal=n,He.Profiler=s,He.StrictMode=a,He.Suspense=f,He.isAsyncMode=function(T){return S(T)||w(T)===c},He.isConcurrentMode=S,He.isContextConsumer=function(T){return w(T)===l},He.isContextProvider=function(T){return w(T)===i},He.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===o},He.isForwardRef=function(T){return w(T)===d},He.isFragment=function(T){return w(T)===r},He.isLazy=function(T){return w(T)===h},He.isMemo=function(T){return w(T)===y},He.isPortal=function(T){return w(T)===n},He.isProfiler=function(T){return w(T)===s},He.isStrictMode=function(T){return w(T)===a},He.isSuspense=function(T){return w(T)===f},He.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===r||T===u||T===s||T===a||T===f||T===b||typeof T=="object"&&T!==null&&(T.$$typeof===h||T.$$typeof===y||T.$$typeof===i||T.$$typeof===l||T.$$typeof===d||T.$$typeof===v||T.$$typeof===x||T.$$typeof===O||T.$$typeof===p)},He.typeOf=w,He}var qe={};var _i;function lp(){return _i||(_i=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,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function w(U){return typeof U=="string"||typeof U=="function"||U===r||U===u||U===s||U===a||U===f||U===b||typeof U=="object"&&U!==null&&(U.$$typeof===h||U.$$typeof===y||U.$$typeof===i||U.$$typeof===l||U.$$typeof===d||U.$$typeof===v||U.$$typeof===x||U.$$typeof===O||U.$$typeof===p)}function S(U){if(typeof U=="object"&&U!==null){var ae=U.$$typeof;switch(ae){case o:var ie=U.type;switch(ie){case c:case u:case r:case s:case a:case f:return ie;default:var ue=ie&&ie.$$typeof;switch(ue){case l:case d:case h:case y:case i:return ue;default:return ae}}case n:return ae}}}var T=c,E=u,k=l,$=i,N=o,M=d,D=r,m=h,I=y,P=n,j=s,R=a,W=f,G=!1;function H(U){return G||(G=!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.")),F(U)||S(U)===c}function F(U){return S(U)===u}function A(U){return S(U)===l}function X(U){return S(U)===i}function ee(U){return typeof U=="object"&&U!==null&&U.$$typeof===o}function se(U){return S(U)===d}function K(U){return S(U)===r}function z(U){return S(U)===h}function oe(U){return S(U)===y}function ce(U){return S(U)===n}function J(U){return S(U)===s}function Y(U){return S(U)===a}function le(U){return S(U)===f}qe.AsyncMode=T,qe.ConcurrentMode=E,qe.ContextConsumer=k,qe.ContextProvider=$,qe.Element=N,qe.ForwardRef=M,qe.Fragment=D,qe.Lazy=m,qe.Memo=I,qe.Portal=P,qe.Profiler=j,qe.StrictMode=R,qe.Suspense=W,qe.isAsyncMode=H,qe.isConcurrentMode=F,qe.isContextConsumer=A,qe.isContextProvider=X,qe.isElement=ee,qe.isForwardRef=se,qe.isFragment=K,qe.isLazy=z,qe.isMemo=oe,qe.isPortal=ce,qe.isProfiler=J,qe.isStrictMode=Y,qe.isSuspense=le,qe.isValidElementType=w,qe.typeOf=S})()),qe}var Wi;function Ds(){return Wi||(Wi=1,process.env.NODE_ENV==="production"?mr.exports=ip():mr.exports=lp()),mr.exports}var Da,Ui;function cp(){if(Ui)return Da;Ui=1;var e=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function a(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var i={},l=0;l<10;l++)i["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(i).map(function(d){return i[d]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Da=a()?Object.assign:function(s,i){for(var l,c=r(s),u,d=1;d<arguments.length;d++){l=Object(arguments[d]);for(var f in l)o.call(l,f)&&(c[f]=l[f]);if(e){u=e(l);for(var b=0;b<u.length;b++)n.call(l,u[b])&&(c[u[b]]=l[u[b]])}}return c},Da}var Ba,Hi;function Bs(){if(Hi)return Ba;Hi=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ba=e,Ba}var Fa,qi;function kc(){return qi||(qi=1,Fa=Function.call.bind(Object.prototype.hasOwnProperty)),Fa}var za,Gi;function up(){if(Gi)return za;Gi=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var o=Bs(),n={},r=kc();e=function(s){var i="Warning: "+s;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function a(s,i,l,c,u){if(process.env.NODE_ENV!=="production"){for(var d in s)if(r(s,d)){var f;try{if(typeof s[d]!="function"){var b=Error((c||"React class")+": "+l+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}f=s[d](i,d,c,l,null,o)}catch(h){f=h}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var y=u?u():"";e("Failed "+l+" type: "+f.message+(y??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},za=a,za}var Va,Ki;function dp(){if(Ki)return Va;Ki=1;var e=Ds(),o=cp(),n=Bs(),r=kc(),a=up(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function i(){return null}return Va=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(F){var A=F&&(u&&F[u]||F[d]);if(typeof A=="function")return A}var b="<<anonymous>>",y={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:O(),arrayOf:w,element:S(),elementType:T(),instanceOf:E,node:M(),objectOf:$,oneOf:k,oneOfType:N,shape:m,exact:I};function h(F,A){return F===A?F!==0||1/F===1/A:F!==F&&A!==A}function p(F,A){this.message=F,this.data=A&&typeof A=="object"?A:{},this.stack=""}p.prototype=Error.prototype;function v(F){if(process.env.NODE_ENV!=="production")var A={},X=0;function ee(K,z,oe,ce,J,Y,le){if(ce=ce||b,Y=Y||oe,le!==n){if(c){var U=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 U.name="Invariant Violation",U}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ae=ce+":"+oe;!A[ae]&&X<3&&(s("You are manually calling a React.PropTypes validation function for the `"+Y+"` prop on `"+ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),A[ae]=!0,X++)}}return z[oe]==null?K?z[oe]===null?new p("The "+J+" `"+Y+"` is marked as required "+("in `"+ce+"`, but its value is `null`.")):new p("The "+J+" `"+Y+"` is marked as required in "+("`"+ce+"`, but its value is `undefined`.")):null:F(z,oe,ce,J,Y)}var se=ee.bind(null,!1);return se.isRequired=ee.bind(null,!0),se}function x(F){function A(X,ee,se,K,z,oe){var ce=X[ee],J=R(ce);if(J!==F){var Y=W(ce);return new p("Invalid "+K+" `"+z+"` of type "+("`"+Y+"` supplied to `"+se+"`, expected ")+("`"+F+"`."),{expectedType:F})}return null}return v(A)}function O(){return v(i)}function w(F){function A(X,ee,se,K,z){if(typeof F!="function")return new p("Property `"+z+"` of component `"+se+"` has invalid PropType notation inside arrayOf.");var oe=X[ee];if(!Array.isArray(oe)){var ce=R(oe);return new p("Invalid "+K+" `"+z+"` of type "+("`"+ce+"` supplied to `"+se+"`, expected an array."))}for(var J=0;J<oe.length;J++){var Y=F(oe,J,se,K,z+"["+J+"]",n);if(Y instanceof Error)return Y}return null}return v(A)}function S(){function F(A,X,ee,se,K){var z=A[X];if(!l(z)){var oe=R(z);return new p("Invalid "+se+" `"+K+"` of type "+("`"+oe+"` supplied to `"+ee+"`, expected a single ReactElement."))}return null}return v(F)}function T(){function F(A,X,ee,se,K){var z=A[X];if(!e.isValidElementType(z)){var oe=R(z);return new p("Invalid "+se+" `"+K+"` of type "+("`"+oe+"` supplied to `"+ee+"`, expected a single ReactElement type."))}return null}return v(F)}function E(F){function A(X,ee,se,K,z){if(!(X[ee]instanceof F)){var oe=F.name||b,ce=H(X[ee]);return new p("Invalid "+K+" `"+z+"` of type "+("`"+ce+"` supplied to `"+se+"`, expected ")+("instance of `"+oe+"`."))}return null}return v(A)}function k(F){if(!Array.isArray(F))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("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])."):s("Invalid argument supplied to oneOf, expected an array.")),i;function A(X,ee,se,K,z){for(var oe=X[ee],ce=0;ce<F.length;ce++)if(h(oe,F[ce]))return null;var J=JSON.stringify(F,function(le,U){var ae=W(U);return ae==="symbol"?String(U):U});return new p("Invalid "+K+" `"+z+"` of value `"+String(oe)+"` "+("supplied to `"+se+"`, expected one of "+J+"."))}return v(A)}function $(F){function A(X,ee,se,K,z){if(typeof F!="function")return new p("Property `"+z+"` of component `"+se+"` has invalid PropType notation inside objectOf.");var oe=X[ee],ce=R(oe);if(ce!=="object")return new p("Invalid "+K+" `"+z+"` of type "+("`"+ce+"` supplied to `"+se+"`, expected an object."));for(var J in oe)if(r(oe,J)){var Y=F(oe,J,se,K,z+"."+J,n);if(Y instanceof Error)return Y}return null}return v(A)}function N(F){if(!Array.isArray(F))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var A=0;A<F.length;A++){var X=F[A];if(typeof X!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+G(X)+" at index "+A+"."),i}function ee(se,K,z,oe,ce){for(var J=[],Y=0;Y<F.length;Y++){var le=F[Y],U=le(se,K,z,oe,ce,n);if(U==null)return null;U.data&&r(U.data,"expectedType")&&J.push(U.data.expectedType)}var ae=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new p("Invalid "+oe+" `"+ce+"` supplied to "+("`"+z+"`"+ae+"."))}return v(ee)}function M(){function F(A,X,ee,se,K){return P(A[X])?null:new p("Invalid "+se+" `"+K+"` supplied to "+("`"+ee+"`, expected a ReactNode."))}return v(F)}function D(F,A,X,ee,se){return new p((F||"React class")+": "+A+" type `"+X+"."+ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+se+"`.")}function m(F){function A(X,ee,se,K,z){var oe=X[ee],ce=R(oe);if(ce!=="object")return new p("Invalid "+K+" `"+z+"` of type `"+ce+"` "+("supplied to `"+se+"`, expected `object`."));for(var J in F){var Y=F[J];if(typeof Y!="function")return D(se,K,z,J,W(Y));var le=Y(oe,J,se,K,z+"."+J,n);if(le)return le}return null}return v(A)}function I(F){function A(X,ee,se,K,z){var oe=X[ee],ce=R(oe);if(ce!=="object")return new p("Invalid "+K+" `"+z+"` of type `"+ce+"` "+("supplied to `"+se+"`, expected `object`."));var J=o({},X[ee],F);for(var Y in J){var le=F[Y];if(r(F,Y)&&typeof le!="function")return D(se,K,z,Y,W(le));if(!le)return new p("Invalid "+K+" `"+z+"` key `"+Y+"` supplied to `"+se+"`.\nBad object: "+JSON.stringify(X[ee],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(F),null," "));var U=le(oe,Y,se,K,z+"."+Y,n);if(U)return U}return null}return v(A)}function P(F){switch(typeof F){case"number":case"string":case"undefined":return!0;case"boolean":return!F;case"object":if(Array.isArray(F))return F.every(P);if(F===null||l(F))return!0;var A=f(F);if(A){var X=A.call(F),ee;if(A!==F.entries){for(;!(ee=X.next()).done;)if(!P(ee.value))return!1}else for(;!(ee=X.next()).done;){var se=ee.value;if(se&&!P(se[1]))return!1}}else return!1;return!0;default:return!1}}function j(F,A){return F==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function R(F){var A=typeof F;return Array.isArray(F)?"array":F instanceof RegExp?"object":j(A,F)?"symbol":A}function W(F){if(typeof F>"u"||F===null)return""+F;var A=R(F);if(A==="object"){if(F instanceof Date)return"date";if(F instanceof RegExp)return"regexp"}return A}function G(F){var A=W(F);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function H(F){return!F.constructor||!F.constructor.name?b:F.constructor.name}return y.checkPropTypes=a,y.resetWarningCache=a.resetWarningCache,y.PropTypes=y,y},Va}var _a,Yi;function pp(){if(Yi)return _a;Yi=1;var e=Bs();function o(){}function n(){}return n.resetWarningCache=o,_a=function(){function r(i,l,c,u,d,f){if(f!==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 s={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 s.PropTypes=s,s},_a}var Xi;function fp(){if(Xi)return fr.exports;if(Xi=1,process.env.NODE_ENV!=="production"){var e=Ds(),o=!0;fr.exports=dp()(e.isElement,o)}else fr.exports=pp()();return fr.exports}var mp=fp();const t=sp(mp);function Rc(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=Rc(e[o]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Z(){for(var e,o,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(o=Rc(e))&&(r&&(r+=" "),r+=o);return r}function Un(e,o,n=!1){const r={...o};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const s=a;if(s==="components"||s==="slots")r[s]={...e[s],...r[s]};else if(s==="componentsProps"||s==="slotProps"){const i=e[s],l=o[s];if(!l)r[s]=i||{};else if(!i)r[s]=l;else{r[s]={...l};for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)){const u=c;r[s][u]=Un(i[u],l[u],n)}}}else s==="className"&&n&&o.className?r.className=Z(e?.className,o?.className):s==="style"&&n&&o.style?r.style={...e?.style,...o?.style}:r[s]===void 0&&(r[s]=e[s])}return r}function be(e,o,n=void 0){const r={};for(const a in e){const s=e[a];let i="",l=!0;for(let c=0;c<s.length;c+=1){const u=s[c];u&&(i+=(l===!0?"":" ")+o(u),l=!1,n&&n[u]&&(i+=" "+n[u]))}r[a]=i}return r}const Ji=e=>e,gp=()=>{let e=Ji;return{configure(o){e=o},generate(o){return e(o)},reset(){e=Ji}}},$c=gp();function io(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 B(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":io(7));return e.charAt(0).toUpperCase()+e.slice(1)}function is(...e){return e.reduce((o,n)=>n==null?o:function(...a){o.apply(this,a),n.apply(this,a)},()=>{})}var gr={exports:{}},Ye={};var Zi;function hp(){if(Zi)return Ye;Zi=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"),s=Symbol.for("react.consumer"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");function h(p){if(typeof p=="object"&&p!==null){var v=p.$$typeof;switch(v){case e:switch(p=p.type,p){case n:case a:case r:case c:case u:case b:return p;default:switch(p=p&&p.$$typeof,p){case i:case l:case f:case d:return p;case s:return p;default:return v}}case o:return v}}}return Ye.ContextConsumer=s,Ye.ContextProvider=i,Ye.Element=e,Ye.ForwardRef=l,Ye.Fragment=n,Ye.Lazy=f,Ye.Memo=d,Ye.Portal=o,Ye.Profiler=a,Ye.StrictMode=r,Ye.Suspense=c,Ye.SuspenseList=u,Ye.isContextConsumer=function(p){return h(p)===s},Ye.isContextProvider=function(p){return h(p)===i},Ye.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},Ye.isForwardRef=function(p){return h(p)===l},Ye.isFragment=function(p){return h(p)===n},Ye.isLazy=function(p){return h(p)===f},Ye.isMemo=function(p){return h(p)===d},Ye.isPortal=function(p){return h(p)===o},Ye.isProfiler=function(p){return h(p)===a},Ye.isStrictMode=function(p){return h(p)===r},Ye.isSuspense=function(p){return h(p)===c},Ye.isSuspenseList=function(p){return h(p)===u},Ye.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===n||p===a||p===r||p===c||p===u||typeof p=="object"&&p!==null&&(p.$$typeof===f||p.$$typeof===d||p.$$typeof===i||p.$$typeof===s||p.$$typeof===l||p.$$typeof===y||p.getModuleId!==void 0)},Ye.typeOf=h,Ye}var Xe={};var Qi;function bp(){return Qi||(Qi=1,process.env.NODE_ENV!=="production"&&(function(){function e(p){if(typeof p=="object"&&p!==null){var v=p.$$typeof;switch(v){case o:switch(p=p.type,p){case r:case s:case a:case u:case d:case y:return p;default:switch(p=p&&p.$$typeof,p){case l:case c:case b:case f:return p;case i:return p;default:return v}}case n:return v}}}var o=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");Xe.ContextConsumer=i,Xe.ContextProvider=l,Xe.Element=o,Xe.ForwardRef=c,Xe.Fragment=r,Xe.Lazy=b,Xe.Memo=f,Xe.Portal=n,Xe.Profiler=s,Xe.StrictMode=a,Xe.Suspense=u,Xe.SuspenseList=d,Xe.isContextConsumer=function(p){return e(p)===i},Xe.isContextProvider=function(p){return e(p)===l},Xe.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===o},Xe.isForwardRef=function(p){return e(p)===c},Xe.isFragment=function(p){return e(p)===r},Xe.isLazy=function(p){return e(p)===b},Xe.isMemo=function(p){return e(p)===f},Xe.isPortal=function(p){return e(p)===n},Xe.isProfiler=function(p){return e(p)===s},Xe.isStrictMode=function(p){return e(p)===a},Xe.isSuspense=function(p){return e(p)===u},Xe.isSuspenseList=function(p){return e(p)===d},Xe.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===r||p===s||p===a||p===u||p===d||typeof p=="object"&&p!==null&&(p.$$typeof===b||p.$$typeof===f||p.$$typeof===l||p.$$typeof===i||p.$$typeof===c||p.$$typeof===h||p.getModuleId!==void 0)},Xe.typeOf=e})()),Xe}var el;function yp(){return el||(el=1,process.env.NODE_ENV==="production"?gr.exports=hp():gr.exports=bp()),gr.exports}var Po=yp();function no(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 Ic(e){if(C.isValidElement(e)||Po.isValidElementType(e)||!no(e))return e;const o={};return Object.keys(e).forEach(n=>{o[n]=Ic(e[n])}),o}function bt(e,o,n={clone:!0}){const r=n.clone?{...e}:e;return no(e)&&no(o)&&Object.keys(o).forEach(a=>{C.isValidElement(o[a])||Po.isValidElementType(o[a])?r[a]=o[a]:no(o[a])&&Object.prototype.hasOwnProperty.call(e,a)&&no(e[a])?r[a]=bt(e[a],o[a],n):n.clone?r[a]=no(o[a])?Ic(o[a]):o[a]:r[a]=o[a]}),r}function Bn(e,o){return o?bt(e,o,{clone:!1}):e}const Ro=process.env.NODE_ENV!=="production"?t.oneOfType([t.number,t.string,t.object,t.array]):{};function tl(e,o){if(!e.containerQueries)return o;const n=Object.keys(o).filter(r=>r.startsWith("@container")).sort((r,a)=>{const s=/min-width:\s*([0-9.]+)/;return+(r.match(s)?.[1]||0)-+(a.match(s)?.[1]||0)});return n.length?n.reduce((r,a)=>{const s=o[a];return delete r[a],r[a]=s,r},{...o}):o}function vp(e,o){return o==="@"||o.startsWith("@")&&(e.some(n=>o.startsWith(`@${n}`))||!!o.match(/^@\d/))}function xp(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\`.`:io(18,`(${o})`));return null}const[,r,a]=n,s=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(s)}function Cp(e){const o=(s,i)=>s.replace("@media",i?`@container ${i}`:"@container");function n(s,i){s.up=(...l)=>o(e.breakpoints.up(...l),i),s.down=(...l)=>o(e.breakpoints.down(...l),i),s.between=(...l)=>o(e.breakpoints.between(...l),i),s.only=(...l)=>o(e.breakpoints.only(...l),i),s.not=(...l)=>{const c=o(e.breakpoints.not(...l),i);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=s=>(n(r,s),r);return n(a),{...e,containerQueries:a}}const Kr={xs:0,sm:600,md:900,lg:1200,xl:1536},ol={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Kr[e]}px)`},Sp={containerQueries:e=>({up:o=>{let n=typeof o=="number"?o:Kr[o]||o;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Xt(e,o,n){const r=e.theme||{};if(Array.isArray(o)){const s=r.breakpoints||ol;return o.reduce((i,l,c)=>(i[s.up(s.keys[c])]=n(o[c]),i),{})}if(typeof o=="object"){const s=r.breakpoints||ol;return Object.keys(o).reduce((i,l)=>{if(vp(s.keys,l)){const c=xp(r.containerQueries?r:Sp,l);c&&(i[c]=n(o[l],l))}else if(Object.keys(s.values||Kr).includes(l)){const c=s.up(l);i[c]=n(o[l],l)}else{const c=l;i[c]=o[c]}return i},{})}return n(o)}function jc(e={}){return e.keys?.reduce((n,r)=>{const a=e.up(r);return n[a]={},n},{})||{}}function ls(e,o){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},o)}function wp(e,...o){const n=jc(e),r=[n,...o].reduce((a,s)=>bt(a,s),{});return ls(Object.keys(n),r)}function Tp(e,o){if(typeof e!="object")return{};const n={},r=Object.keys(o);return Array.isArray(e)?r.forEach((a,s)=>{s<e.length&&(n[a]=!0)}):r.forEach(a=>{e[a]!=null&&(n[a]=!0)}),n}function Wa({values:e,breakpoints:o,base:n}){const r=n||Tp(e,o),a=Object.keys(r);if(a.length===0)return e;let s;return a.reduce((i,l,c)=>(Array.isArray(e)?(i[l]=e[c]!=null?e[c]:e[s],s=c):typeof e=="object"?(i[l]=e[l]!=null?e[l]:e[s],s=l):i[l]=e,i),{})}function Yr(e,o,n=!0){if(!o||typeof o!="string")return null;if(e&&e.vars&&n){const r=`vars.${o}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(r!=null)return r}return o.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function $r(e,o,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=Yr(e,n)||r,o&&(a=o(a,r,e)),a}function lt(e){const{prop:o,cssProperty:n=e.prop,themeKey:r,transform:a}=e,s=i=>{if(i[o]==null)return null;const l=i[o],c=i.theme,u=Yr(c,r)||{};return Xt(i,l,f=>{let b=$r(u,a,f);return f===b&&typeof f=="string"&&(b=$r(u,a,`${o}${f==="default"?"":B(f)}`,f)),n===!1?b:{[n]:b}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[o]:Ro}:{},s.filterProps=[o],s}function Op(e){const o={};return n=>(o[n]===void 0&&(o[n]=e(n)),o[n])}const Ep={m:"margin",p:"padding"},Pp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},nl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},kp=Op(e=>{if(e.length>2)if(nl[e])e=nl[e];else return[e];const[o,n]=e.split(""),r=Ep[o],a=Pp[n]||"";return Array.isArray(a)?a.map(s=>r+s):[r+a]}),Xr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Jr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Rp=[...Xr,...Jr];function er(e,o,n,r){const a=Yr(e,o,!0)??n;return typeof a=="number"||typeof a=="string"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${s}.`),typeof a=="string"?a.startsWith("var(")&&s===0?0:a.startsWith("var(")&&s===1?a:`calc(${s} * ${a})`:a*s):Array.isArray(a)?s=>{if(typeof s=="string")return s;const i=Math.abs(s);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>a.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${i} > ${a.length-1}, you need to add the missing values.`].join(`
|
|
4
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[
|
|
6
|
-
`)),()=>{})}function Zr(e){return er(e,"spacing",8,"spacing")}function Wo(e,o){return typeof o=="string"||o==null?o:e(o)}function rp(e,o){return n=>e.reduce((r,a)=>(r[a]=Wo(o,n),r),{})}function ap(e,o,n,r){if(!o.includes(n))return null;const a=op(n),i=rp(a,r),s=e[n];return Xt(e,s,i)}function Rc(e,o){const n=Zr(e.theme);return Object.keys(e).map(r=>ap(e,o,r,n)).reduce(Bn,{})}function rt(e){return Rc(e,Xr)}rt.propTypes=process.env.NODE_ENV!=="production"?Xr.reduce((e,o)=>(e[o]=Ro,e),{}):{};rt.filterProps=Xr;function at(e){return Rc(e,Jr)}at.propTypes=process.env.NODE_ENV!=="production"?Jr.reduce((e,o)=>(e[o]=Ro,e),{}):{};at.filterProps=Jr;process.env.NODE_ENV!=="production"&&np.reduce((e,o)=>(e[o]=Ro,e),{});function Qr(...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]?Bn(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 Vt(e){return typeof e!="number"?e:`${e}px solid`}function Kt(e,o){return lt({prop:e,themeKey:"borders",transform:o})}const ip=Kt("border",Vt),sp=Kt("borderTop",Vt),lp=Kt("borderRight",Vt),cp=Kt("borderBottom",Vt),up=Kt("borderLeft",Vt),dp=Kt("borderColor"),pp=Kt("borderTopColor"),fp=Kt("borderRightColor"),mp=Kt("borderBottomColor"),gp=Kt("borderLeftColor"),bp=Kt("outline",Vt),hp=Kt("outlineColor"),ea=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const o=er(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Wo(o,r)});return Xt(e,e.borderRadius,n)}return null};ea.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ro}:{};ea.filterProps=["borderRadius"];Qr(ip,sp,lp,cp,up,dp,pp,fp,mp,gp,ea,bp,hp);const ta=e=>{if(e.gap!==void 0&&e.gap!==null){const o=er(e.theme,"spacing",8,"gap"),n=r=>({gap:Wo(o,r)});return Xt(e,e.gap,n)}return null};ta.propTypes=process.env.NODE_ENV!=="production"?{gap:Ro}:{};ta.filterProps=["gap"];const oa=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const o=er(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Wo(o,r)});return Xt(e,e.columnGap,n)}return null};oa.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ro}:{};oa.filterProps=["columnGap"];const na=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const o=er(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Wo(o,r)});return Xt(e,e.rowGap,n)}return null};na.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ro}:{};na.filterProps=["rowGap"];const yp=lt({prop:"gridColumn"}),vp=lt({prop:"gridRow"}),xp=lt({prop:"gridAutoFlow"}),Cp=lt({prop:"gridAutoColumns"}),Sp=lt({prop:"gridAutoRows"}),wp=lt({prop:"gridTemplateColumns"}),Tp=lt({prop:"gridTemplateRows"}),Op=lt({prop:"gridTemplateAreas"}),Ep=lt({prop:"gridArea"});Qr(ta,oa,na,yp,vp,xp,Cp,Sp,wp,Tp,Op,Ep);function sn(e,o){return o==="grey"?o:e}const Pp=lt({prop:"color",themeKey:"palette",transform:sn}),kp=lt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:sn}),Rp=lt({prop:"backgroundColor",themeKey:"palette",transform:sn});Qr(Pp,kp,Rp);function Lt(e){return e<=1&&e!==0?`${e*100}%`:e}const $p=lt({prop:"width",transform:Lt}),Fi=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const o=n=>{const r=e.theme?.breakpoints?.values?.[n]||Kr[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Lt(n)}};return Xt(e,e.maxWidth,o)}return null};Fi.filterProps=["maxWidth"];const Ip=lt({prop:"minWidth",transform:Lt}),jp=lt({prop:"height",transform:Lt}),Np=lt({prop:"maxHeight",transform:Lt}),Mp=lt({prop:"minHeight",transform:Lt});lt({prop:"size",cssProperty:"width",transform:Lt});lt({prop:"size",cssProperty:"height",transform:Lt});const Ap=lt({prop:"boxSizing"});Qr($p,Fi,Ip,jp,Np,Mp,Ap);const tr={border:{themeKey:"borders",transform:Vt},borderTop:{themeKey:"borders",transform:Vt},borderRight:{themeKey:"borders",transform:Vt},borderBottom:{themeKey:"borders",transform:Vt},borderLeft:{themeKey:"borders",transform:Vt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Vt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ea},color:{themeKey:"palette",transform:sn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:sn},backgroundColor:{themeKey:"palette",transform:sn},p:{style:at},pt:{style:at},pr:{style:at},pb:{style:at},pl:{style:at},px:{style:at},py:{style:at},padding:{style:at},paddingTop:{style:at},paddingRight:{style:at},paddingBottom:{style:at},paddingLeft:{style:at},paddingX:{style:at},paddingY:{style:at},paddingInline:{style:at},paddingInlineStart:{style:at},paddingInlineEnd:{style:at},paddingBlock:{style:at},paddingBlockStart:{style:at},paddingBlockEnd:{style:at},m:{style:rt},mt:{style:rt},mr:{style:rt},mb:{style:rt},ml:{style:rt},mx:{style:rt},my:{style:rt},margin:{style:rt},marginTop:{style:rt},marginRight:{style:rt},marginBottom:{style:rt},marginLeft:{style:rt},marginX:{style:rt},marginY:{style:rt},marginInline:{style:rt},marginInlineStart:{style:rt},marginInlineEnd:{style:rt},marginBlock:{style:rt},marginBlockStart:{style:rt},marginBlockEnd:{style:rt},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:ta},rowGap:{style:na},columnGap:{style:oa},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Lt},maxWidth:{style:Fi},minWidth:{transform:Lt},height:{transform:Lt},maxHeight:{transform:Lt},minHeight:{transform:Lt},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 Lp(...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 Dp(e,o){return typeof e=="function"?e(o):e}function Bp(){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:u,style:f}=l;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const h=Yr(a,d)||{};return f?f(s):Xt(s,r,b=>{let p=$r(h,u,b);return b===p&&typeof b=="string"&&(p=$r(h,u,`${n}${b==="default"?"":D(b)}`,b)),c===!1?p:{[c]:p}})}function o(n){const{sx:r,theme:a={},nested:i}=n||{};if(!r)return null;const s=a.unstable_sxConfig??tr;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 u=kc(a.breakpoints),f=Object.keys(u);let h=u;return Object.keys(d).forEach(v=>{const b=Dp(d[v],a);if(b!=null)if(typeof b=="object")if(s[v])h=Bn(h,e(v,b,a,s));else{const p=Xt({theme:a},b,y=>({[v]:y}));Lp(p,b)?h[v]=o({sx:b,theme:a,nested:!0}):h=Bn(h,p)}else h=Bn(h,e(v,b,a,s))}),!i&&a.modularCssLayers?{"@layer sx":Js(a,li(f,h))}:Js(a,li(f,h))}return Array.isArray(r)?r.map(l):l(r)}return o}const Uo=Bp();Uo.filterProps=["sx"];const Fp=e=>{const o={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??tr;return Object.keys(e).forEach(r=>{n[r]?o.systemProps[r]=e[r]:o.otherProps[r]=e[r]}),o};function zi(e){const{sx:o,...n}=e,{systemProps:r,otherProps:a}=Fp(n);let i;return Array.isArray(o)?i=[r,...o]:typeof o=="function"?i=(...s)=>{const l=o(...s);return no(l)?{...r,...l}:r}:i={...r,...o},{...a,sx:i}}function Ir(){return Ir=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},Ir.apply(null,arguments)}function zp(e){if(e.sheet)return e.sheet;for(var o=0;o<document.styleSheets.length;o++)if(document.styleSheets[o].ownerNode===e)return document.styleSheets[o]}function Vp(e){var o=document.createElement("style");return o.setAttribute("data-emotion",e.key),e.nonce!==void 0&&o.setAttribute("nonce",e.nonce),o.appendChild(document.createTextNode("")),o.setAttribute("data-s",""),o}var _p=(function(){function e(n){var r=this;this._insertTag=function(a){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,i),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var o=e.prototype;return o.hydrate=function(r){r.forEach(this._insertTag)},o.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Vp(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var i=zp(a);try{i.insertRule(r,i.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(r));this.ctr++},o.flush=function(){this.tags.forEach(function(r){var a;return(a=r.parentNode)==null?void 0:a.removeChild(r)}),this.tags=[],this.ctr=0},e})(),wt="-ms-",jr="-moz-",_e="-webkit-",$c="comm",Vi="rule",_i="decl",Wp="@import",Ic="@keyframes",Up="@layer",Hp=Math.abs,ra=String.fromCharCode,qp=Object.assign;function Gp(e,o){return xt(e,0)^45?(((o<<2^xt(e,0))<<2^xt(e,1))<<2^xt(e,2))<<2^xt(e,3):0}function jc(e){return e.trim()}function Kp(e,o){return(e=o.exec(e))?e[0]:e}function We(e,o,n){return e.replace(o,n)}function ci(e,o){return e.indexOf(o)}function xt(e,o){return e.charCodeAt(o)|0}function Hn(e,o,n){return e.slice(o,n)}function to(e){return e.length}function Wi(e){return e.length}function br(e,o){return o.push(e),e}function Yp(e,o){return e.map(o).join("")}var aa=1,cn=1,Nc=0,$t=0,ut=0,hn="";function ia(e,o,n,r,a,i,s){return{value:e,root:o,parent:n,type:r,props:a,children:i,line:aa,column:cn,length:s,return:""}}function Tn(e,o){return qp(ia("",null,null,"",null,null,0),e,{length:-e.length},o)}function Xp(){return ut}function Jp(){return ut=$t>0?xt(hn,--$t):0,cn--,ut===10&&(cn=1,aa--),ut}function Dt(){return ut=$t<Nc?xt(hn,$t++):0,cn++,ut===10&&(cn=1,aa++),ut}function ro(){return xt(hn,$t)}function Or(){return $t}function or(e,o){return Hn(hn,e,o)}function qn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Mc(e){return aa=cn=1,Nc=to(hn=e),$t=0,[]}function Ac(e){return hn="",e}function Er(e){return jc(or($t-1,ui(e===91?e+2:e===40?e+1:e)))}function Zp(e){for(;(ut=ro())&&ut<33;)Dt();return qn(e)>2||qn(ut)>3?"":" "}function Qp(e,o){for(;--o&&Dt()&&!(ut<48||ut>102||ut>57&&ut<65||ut>70&&ut<97););return or(e,Or()+(o<6&&ro()==32&&Dt()==32))}function ui(e){for(;Dt();)switch(ut){case e:return $t;case 34:case 39:e!==34&&e!==39&&ui(ut);break;case 40:e===41&&ui(e);break;case 92:Dt();break}return $t}function ef(e,o){for(;Dt()&&e+ut!==57;)if(e+ut===84&&ro()===47)break;return"/*"+or(o,$t-1)+"*"+ra(e===47?e:Dt())}function tf(e){for(;!qn(ro());)Dt();return or(e,$t)}function of(e){return Ac(Pr("",null,null,null,[""],e=Mc(e),0,[0],e))}function Pr(e,o,n,r,a,i,s,l,c){for(var d=0,u=0,f=s,h=0,v=0,b=0,p=1,y=1,C=1,O=0,w="",S=a,T=i,E=r,R=w;y;)switch(b=O,O=Dt()){case 40:if(b!=108&&xt(R,f-1)==58){ci(R+=We(Er(O),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:R+=Er(O);break;case 9:case 10:case 13:case 32:R+=Zp(b);break;case 92:R+=Qp(Or()-1,7);continue;case 47:switch(ro()){case 42:case 47:br(nf(ef(Dt(),Or()),o,n),c);break;default:R+="/"}break;case 123*p:l[d++]=to(R)*C;case 125*p:case 59:case 0:switch(O){case 0:case 125:y=0;case 59+u:C==-1&&(R=We(R,/\f/g,"")),v>0&&to(R)-f&&br(v>32?tl(R+";",r,n,f-1):tl(We(R," ","")+";",r,n,f-2),c);break;case 59:R+=";";default:if(br(E=el(R,o,n,d,u,a,l,w,S=[],T=[],f),i),O===123)if(u===0)Pr(R,o,E,E,S,i,f,l,T);else switch(h===99&&xt(R,3)===110?100:h){case 100:case 108:case 109:case 115:Pr(e,E,E,r&&br(el(e,E,E,0,0,a,l,w,a,S=[],f),T),a,T,f,l,r?S:T);break;default:Pr(R,E,E,E,[""],T,0,l,T)}}d=u=v=0,p=C=1,w=R="",f=s;break;case 58:f=1+to(R),v=b;default:if(p<1){if(O==123)--p;else if(O==125&&p++==0&&Jp()==125)continue}switch(R+=ra(O),O*p){case 38:C=u>0?1:(R+="\f",-1);break;case 44:l[d++]=(to(R)-1)*C,C=1;break;case 64:ro()===45&&(R+=Er(Dt())),h=ro(),u=f=to(w=R+=tf(Or())),O++;break;case 45:b===45&&to(R)==2&&(p=0)}}return i}function el(e,o,n,r,a,i,s,l,c,d,u){for(var f=a-1,h=a===0?i:[""],v=Wi(h),b=0,p=0,y=0;b<r;++b)for(var C=0,O=Hn(e,f+1,f=Hp(p=s[b])),w=e;C<v;++C)(w=jc(p>0?h[C]+" "+O:We(O,/&\f/g,h[C])))&&(c[y++]=w);return ia(e,o,n,a===0?Vi:l,c,d,u)}function nf(e,o,n){return ia(e,o,n,$c,ra(Xp()),Hn(e,2,-2),0)}function tl(e,o,n,r){return ia(e,o,n,_i,Hn(e,0,r),Hn(e,r+1,-1),r)}function ln(e,o){for(var n="",r=Wi(e),a=0;a<r;a++)n+=o(e[a],a,e,o)||"";return n}function rf(e,o,n,r){switch(e.type){case Up:if(e.children.length)break;case Wp:case _i:return e.return=e.return||e.value;case $c:return"";case Ic:return e.return=e.value+"{"+ln(e.children,r)+"}";case Vi:e.value=e.props.join(",")}return to(n=ln(e.children,r))?e.return=e.value+"{"+n+"}":""}function af(e){var o=Wi(e);return function(n,r,a,i){for(var s="",l=0;l<o;l++)s+=e[l](n,r,a,i)||"";return s}}function sf(e){return function(o){o.root||(o=o.return)&&e(o)}}function Lc(e){var o=Object.create(null);return function(n){return o[n]===void 0&&(o[n]=e(n)),o[n]}}var lf=function(o,n,r){for(var a=0,i=0;a=i,i=ro(),a===38&&i===12&&(n[r]=1),!qn(i);)Dt();return or(o,$t)},cf=function(o,n){var r=-1,a=44;do switch(qn(a)){case 0:a===38&&ro()===12&&(n[r]=1),o[r]+=lf($t-1,n,r);break;case 2:o[r]+=Er(a);break;case 4:if(a===44){o[++r]=ro()===58?"&\f":"",n[r]=o[r].length;break}default:o[r]+=ra(a)}while(a=Dt());return o},uf=function(o,n){return Ac(cf(Mc(o),n))},ol=new WeakMap,df=function(o){if(!(o.type!=="rule"||!o.parent||o.length<1)){for(var n=o.value,r=o.parent,a=o.column===r.column&&o.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(o.props.length===1&&n.charCodeAt(0)!==58&&!ol.get(r))&&!a){ol.set(o,!0);for(var i=[],s=uf(n,i),l=r.props,c=0,d=0;c<s.length;c++)for(var u=0;u<l.length;u++,d++)o.props[d]=i[c]?s[c].replace(/&\f/g,l[u]):l[u]+" "+s[c]}}},pf=function(o){if(o.type==="decl"){var n=o.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(o.return="",o.value="")}};function Dc(e,o){switch(Gp(e,o)){case 5103:return _e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+jr+e+wt+e+e;case 6828:case 4268:return _e+e+wt+e+e;case 6165:return _e+e+wt+"flex-"+e+e;case 5187:return _e+e+We(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+wt+"flex-$1$2")+e;case 5443:return _e+e+wt+"flex-item-"+We(e,/flex-|-self/,"")+e;case 4675:return _e+e+wt+"flex-line-pack"+We(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+wt+We(e,"shrink","negative")+e;case 5292:return _e+e+wt+We(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+We(e,"-grow","")+_e+e+wt+We(e,"grow","positive")+e;case 4554:return _e+We(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return We(We(We(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return We(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return We(We(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+wt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return We(e,/(.+)-inline(.+)/,_e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(to(e)-1-o>6)switch(xt(e,o+1)){case 109:if(xt(e,o+4)!==45)break;case 102:return We(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+jr+(xt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~ci(e,"stretch")?Dc(We(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(xt(e,o+1)!==115)break;case 6444:switch(xt(e,to(e)-3-(~ci(e,"!important")&&10))){case 107:return We(e,":",":"+_e)+e;case 101:return We(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(xt(e,14)===45?"inline-":"")+"box$3$1"+_e+"$2$3$1"+wt+"$2box$3")+e}break;case 5936:switch(xt(e,o+11)){case 114:return _e+e+wt+We(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+wt+We(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+wt+We(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+wt+e+e}return e}var ff=function(o,n,r,a){if(o.length>-1&&!o.return)switch(o.type){case _i:o.return=Dc(o.value,o.length);break;case Ic:return ln([Tn(o,{value:We(o.value,"@","@"+_e)})],a);case Vi:if(o.length)return Yp(o.props,function(i){switch(Kp(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ln([Tn(o,{props:[We(i,/:(read-\w+)/,":"+jr+"$1")]})],a);case"::placeholder":return ln([Tn(o,{props:[We(i,/:(plac\w+)/,":"+_e+"input-$1")]}),Tn(o,{props:[We(i,/:(plac\w+)/,":"+jr+"$1")]}),Tn(o,{props:[We(i,/:(plac\w+)/,wt+"input-$1")]})],a)}return""})}},mf=[ff],gf=function(o){var n=o.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=o.stylisPlugins||mf,i={},s,l=[];s=o.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),C=1;C<y.length;C++)i[y[C]]=!0;l.push(p)});var c,d=[df,pf];{var u,f=[rf,sf(function(p){u.insert(p)})],h=af(d.concat(a,f)),v=function(y){return ln(of(y),h)};c=function(y,C,O,w){u=O,v(y?y+"{"+C.styles+"}":C.styles),w&&(b.inserted[C.name]=!0)}}var b={key:n,sheet:new _p({key:n,container:s,nonce:o.nonce,speedy:o.speedy,prepend:o.prepend,insertionPoint:o.insertionPoint}),nonce:o.nonce,inserted:i,registered:{},insert:c};return b.sheet.hydrate(l),b},Ua,nl;function bf(){if(nl)return Ua;nl=1;var e=Di(),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=a;function s(b){return e.isMemo(b)?a:i[b.$$typeof]||o}var l=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;function v(b,p,y){if(typeof p!="string"){if(h){var C=f(p);C&&C!==h&&v(b,C,y)}var O=c(p);d&&(O=O.concat(d(p)));for(var w=s(b),S=s(p),T=0;T<O.length;++T){var E=O[T];if(!n[E]&&!(y&&y[E])&&!(S&&S[E])&&!(w&&w[E])){var R=u(p,E);try{l(b,E,R)}catch{}}}}return b}return Ua=v,Ua}bf();var hf=!0;function Bc(e,o,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?o.push(e[a]+";"):a&&(r+=a+" ")}),r}var Ui=function(o,n,r){var a=o.key+"-"+n.name;(r===!1||hf===!1)&&o.registered[a]===void 0&&(o.registered[a]=n.styles)},Hi=function(o,n,r){Ui(o,n,r);var a=o.key+"-"+n.name;if(o.inserted[n.name]===void 0){var i=n;do o.insert(n===i?"."+a:"",i,o.sheet,!0),i=i.next;while(i!==void 0)}};function yf(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 vf={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},xf=/[A-Z]|^ms/g,Cf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fc=function(o){return o.charCodeAt(1)===45},rl=function(o){return o!=null&&typeof o!="boolean"},Ha=Lc(function(e){return Fc(e)?e:e.replace(xf,"-$&").toLowerCase()}),al=function(o,n){switch(o){case"animation":case"animationName":if(typeof n=="string")return n.replace(Cf,function(r,a,i){return oo={name:a,styles:i,next:oo},a})}return vf[o]!==1&&!Fc(o)&&typeof n=="number"&&n!==0?n+"px":n};function Gn(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 oo={name:a.name,styles:a.styles,next:oo},a.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)oo={name:s.name,styles:s.styles,next:oo},s=s.next;var l=i.styles+";";return l}return Sf(e,o,n)}case"function":{if(e!==void 0){var c=oo,d=n(e);return oo=c,Gn(e,o,d)}break}}var u=n;if(o==null)return u;var f=o[u];return f!==void 0?f:u}function Sf(e,o,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=Gn(e,o,n[a])+";";else for(var i in n){var s=n[i];if(typeof s!="object"){var l=s;o!=null&&o[l]!==void 0?r+=i+"{"+o[l]+"}":rl(l)&&(r+=Ha(i)+":"+al(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(o==null||o[s[0]]===void 0))for(var c=0;c<s.length;c++)rl(s[c])&&(r+=Ha(i)+":"+al(i,s[c])+";");else{var d=Gn(e,o,s);switch(i){case"animation":case"animationName":{r+=Ha(i)+":"+d+";";break}default:r+=i+"{"+d+"}"}}}return r}var il=/label:\s*([^\s;{]+)\s*(;|$)/g,oo;function nr(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="";oo=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,a+=Gn(n,o,i);else{var s=i;a+=s[0]}for(var l=1;l<e.length;l++)if(a+=Gn(n,o,e[l]),r){var c=i;a+=c[l]}il.lastIndex=0;for(var d="",u;(u=il.exec(a))!==null;)d+="-"+u[1];var f=yf(a)+d;return{name:f,styles:a,next:oo}}var wf=function(o){return o()},zc=x.useInsertionEffect?x.useInsertionEffect:!1,Vc=zc||wf,sl=zc||x.useLayoutEffect,_c=x.createContext(typeof HTMLElement<"u"?gf({key:"css"}):null);_c.Provider;var qi=function(o){return Me.forwardRef(function(n,r){var a=Me.useContext(_c);return o(n,a,r)})},sa=x.createContext({}),Gi={}.hasOwnProperty,di="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Tf=function(o,n){var r={};for(var a in n)Gi.call(n,a)&&(r[a]=n[a]);return r[di]=o,r},Of=function(o){var n=o.cache,r=o.serialized,a=o.isStringTag;return Ui(n,r,a),Vc(function(){return Hi(n,r,a)}),null},Ef=qi(function(e,o,n){var r=e.css;typeof r=="string"&&o.registered[r]!==void 0&&(r=o.registered[r]);var a=e[di],i=[r],s="";typeof e.className=="string"?s=Bc(o.registered,i,e.className):e.className!=null&&(s=e.className+" ");var l=nr(i,void 0,x.useContext(sa));s+=o.key+"-"+l.name;var c={};for(var d in e)Gi.call(e,d)&&d!=="css"&&d!==di&&(c[d]=e[d]);return c.className=s,n&&(c.ref=n),x.createElement(x.Fragment,null,x.createElement(Of,{cache:o,serialized:l,isStringTag:typeof a=="string"}),x.createElement(a,c))}),Pf=Ef,ll=function(o,n){var r=arguments;if(n==null||!Gi.call(n,"css"))return x.createElement.apply(void 0,r);var a=r.length,i=new Array(a);i[0]=Pf,i[1]=Tf(o,n);for(var s=2;s<a;s++)i[s]=r[s];return x.createElement.apply(null,i)};(function(e){var o;o||(o=e.JSX||(e.JSX={}))})(ll||(ll={}));var kf=qi(function(e,o){var n=e.styles,r=nr([n],void 0,x.useContext(sa)),a=x.useRef();return sl(function(){var i=o.key+"-global",s=new o.sheet.constructor({key:i,nonce:o.sheet.nonce,container:o.sheet.container,speedy:o.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return o.sheet.tags.length&&(s.before=o.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",i),s.hydrate([c])),a.current=[s,l],function(){s.flush()}},[o]),sl(function(){var i=a.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&Hi(o,r.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}o.insert("",r,s,!1)},[o,r.name]),null});function $o(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return nr(o)}function co(){var e=$o.apply(void 0,arguments),o="animation-"+e.name;return{name:o,styles:"@keyframes "+o+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Rf=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,$f=Lc(function(e){return Rf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),If=$f,jf=function(o){return o!=="theme"},cl=function(o){return typeof o=="string"&&o.charCodeAt(0)>96?If:jf},ul=function(o,n,r){var a;if(n){var i=n.shouldForwardProp;a=o.__emotion_forwardProp&&i?function(s){return o.__emotion_forwardProp(s)&&i(s)}:i}return typeof a!="function"&&r&&(a=o.__emotion_forwardProp),a},Nf=function(o){var n=o.cache,r=o.serialized,a=o.isStringTag;return Ui(n,r,a),Vc(function(){return Hi(n,r,a)}),null},Mf=function e(o,n){var r=o.__emotion_real===o,a=r&&o.__emotion_base||o,i,s;n!==void 0&&(i=n.label,s=n.target);var l=ul(o,n,r),c=l||cl(a),d=!c("as");return function(){var u=arguments,f=r&&o.__emotion_styles!==void 0?o.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)f.push.apply(f,u);else{var h=u[0];f.push(h[0]);for(var v=u.length,b=1;b<v;b++)f.push(u[b],h[b])}var p=qi(function(y,C,O){var w=d&&y.as||a,S="",T=[],E=y;if(y.theme==null){E={};for(var R in y)E[R]=y[R];E.theme=x.useContext(sa)}typeof y.className=="string"?S=Bc(C.registered,T,y.className):y.className!=null&&(S=y.className+" ");var I=nr(f.concat(T),C.registered,E);S+=C.key+"-"+I.name,s!==void 0&&(S+=" "+s);var N=d&&l===void 0?cl(w):c,M={};for(var F in y)d&&F==="as"||N(F)&&(M[F]=y[F]);return M.className=S,O&&(M.ref=O),x.createElement(x.Fragment,null,x.createElement(Nf,{cache:C,serialized:I,isStringTag:typeof w=="string"}),x.createElement(w,M))});return p.displayName=i!==void 0?i:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",p.defaultProps=o.defaultProps,p.__emotion_real=p,p.__emotion_base=a,p.__emotion_styles=f,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+s}}),p.withComponent=function(y,C){var O=e(y,Ir({},n,C,{shouldForwardProp:ul(p,C,!0)}));return O.apply(void 0,f)},p}},Af=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],pi=Mf.bind(null);Af.forEach(function(e){pi[e]=pi(e)});function Lf(e){return e==null||Object.keys(e).length===0}function Wc(e){const{styles:o,defaultTheme:n={}}=e,r=typeof o=="function"?a=>o(Lf(a)?n:a):o;return m.jsx(kf,{styles:r})}process.env.NODE_ENV!=="production"&&(Wc.propTypes={defaultTheme:t.object,styles:t.oneOfType([t.array,t.string,t.object,t.func])});function Uc(e,o){const n=pi(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(`
|
|
7
|
-
`)):r.some(
|
|
8
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:
|
|
9
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:so(10,a))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:a}}const am=e=>{const o=ko(e);return o.values.slice(0,3).map((n,r)=>o.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},jn=(e,o)=>{try{return am(e)}catch{return o&&process.env.NODE_ENV!=="production"&&console.warn(o),e}};function ua(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 Zc(e){e=ko(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,u=(d+n/30)%12)=>a-i*Math.max(Math.min(u-3,9-u,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])),ua({type:l,values:c})}function fi(e){e=ko(e);let o=e.type==="hsl"||e.type==="hsla"?ko(Zc(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 fl(e,o){const n=fi(e),r=fi(o);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function bt(e,o){return e=ko(e),o=Ki(o),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${o}`:e.values[3]=o,ua(e)}function Mo(e,o,n){try{return bt(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function da(e,o){if(e=ko(e),o=Ki(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 ua(e)}function Ge(e,o,n){try{return da(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function pa(e,o){if(e=ko(e),o=Ki(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 ua(e)}function Ke(e,o,n){try{return pa(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function mi(e,o=.15){return fi(e)>.5?da(e,o):pa(e,o)}function hr(e,o,n){try{return mi(e,o)}catch{return e}}const im="exact-prop: ";function Yi(e){return process.env.NODE_ENV==="production"?e:{...e,[im]: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 sm=x.createContext();process.env.NODE_ENV!=="production"&&(t.node,t.bool);const rr=()=>x.useContext(sm)??!1,lm=x.createContext(void 0);process.env.NODE_ENV!=="production"&&(t.node,t.object);function cm(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?Un(a.defaultProps,r,o.components.mergeClassNameAndStyle):!a.styleOverrides&&!a.variants?Un(a,r,o.components.mergeClassNameAndStyle):r}function um({props:e,name:o}){const n=x.useContext(lm);return cm({props:e,name:o,theme:{components:n}})}let ml=0;function dm(e){const[o,n]=x.useState(e),r=e||o;return x.useEffect(()=>{o==null&&(ml+=1,n(`mui-${ml}`))},[o]),r}const pm={...x},gl=pm.useId;function vo(e){if(gl!==void 0){const o=gl();return e??o}return dm(e)}const bl={theme:void 0};function fm(e){let o,n;return function(a){let i=o;return(i===void 0||a.theme!==n)&&(bl.theme=a.theme,i=Kc(e(bl)),o=i,n=a.theme),i}}function mm(e=""){function o(...r){if(!r.length)return"";const a=r[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${o(...r.slice(1))})`:`, ${a}`}return(r,...a)=>`var(--${e?`${e}-`:""}${r}${o(...a)})`}const hl=(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])})},gm=(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)},bm=(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 Ka(e,o){const{prefix:n,shouldSkipGeneratingVar:r}=o||{},a={},i={},s={};return gm(e,(l,c,d)=>{if((typeof c=="string"||typeof c=="number")&&(!r||!r(l,c))){const u=`--${n?`${n}-`:""}${l.join("-")}`,f=bm(l,c);Object.assign(a,{[u]:f}),hl(i,l,`var(${u})`,d),hl(s,l,`var(${u}, ${f})`,d)}},l=>l[0]==="vars"),{css:a,vars:i,varsWithDefaults:s}}function hm(e,o={}){const{getSelector:n=C,disableCssColorScheme:r,colorSchemeSelector:a,enableContrastVars:i}=o,{colorSchemes:s={},components:l,defaultColorScheme:c="light",...d}=e,{vars:u,css:f,varsWithDefaults:h}=Ka(d,o);let v=h;const b={},{[c]:p,...y}=s;if(Object.entries(y||{}).forEach(([S,T])=>{const{vars:E,css:R,varsWithDefaults:I}=Ka(T,o);v=ht(v,I),b[S]={css:R,vars:E}}),p){const{css:S,vars:T,varsWithDefaults:E}=Ka(p,o);v=ht(v,E),b[c]={css:S,vars:T}}function C(S,T){let E=a;if(a==="class"&&(E=".%s"),a==="data"&&(E="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(E=`[${a}="%s"]`),S){if(E==="media")return e.defaultColorScheme===S?":root":{[`@media (prefers-color-scheme: ${s[S]?.palette?.mode||S})`]:{":root":T}};if(E)return e.defaultColorScheme===S?`:root, ${E.replace("%s",String(S))}`:E.replace("%s",String(S))}return":root"}return{vars:v,generateThemeVars:()=>{let S={...u};return Object.entries(b).forEach(([,{vars:T}])=>{S=ht(S,T)}),S},generateStyleSheets:()=>{const S=[],T=e.defaultColorScheme||"light";function E(N,M){Object.keys(M).length&&S.push(typeof N=="string"?{[N]:{...M}}:N)}E(n(void 0,{...f}),f);const{[T]:R,...I}=b;if(R){const{css:N}=R,M=s[T]?.palette?.mode,F=!r&&M?{colorScheme:M,...N}:{...N};E(n(T,{...F}),F)}return Object.entries(I).forEach(([N,{css:M}])=>{const F=s[N]?.palette?.mode,g=!r&&F?{colorScheme:F,...M}:{...M};E(n(N,{...g}),g)}),i&&S.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)"}}),S}}}function ym(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)} &`:"&"}}function Fn(e,o){return x.isValidElement(e)&&o.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const vm=la(),xm=tm("div",{name:"MuiStack",slot:"Root"});function Cm(e){return nm({props:e,name:"MuiStack",defaultTheme:vm})}function Sm(e,o){const n=x.Children.toArray(e).filter(Boolean);return n.reduce((r,a,i)=>(r.push(a),i<n.length-1&&r.push(x.cloneElement(o,{key:`separator-${i}`})),r),[])}const wm=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Tm=({ownerState:e,theme:o})=>{let n={display:"flex",flexDirection:"column",...Xt({theme:o},Wa({values:e.direction,breakpoints:o.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Zr(o),a=Object.keys(o.breakpoints.values).reduce((c,d)=>((typeof e.spacing=="object"&&e.spacing[d]!=null||typeof e.direction=="object"&&e.direction[d]!=null)&&(c[d]=!0),c),{}),i=Wa({values:e.direction,base:a}),s=Wa({values:e.spacing,base:a});typeof i=="object"&&Object.keys(i).forEach((c,d,u)=>{if(!i[c]){const h=d>0?i[u[d-1]]:"column";i[c]=h}}),n=ht(n,Xt({theme:o},s,(c,d)=>e.useFlexGap?{gap:Wo(r,c)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${wm(d?i[d]:e.direction)}`]:Wo(r,c)}}))}return n=Jd(o.breakpoints,n),n};function Om(e={}){const{createStyledComponent:o=xm,useThemeProps:n=Cm,componentName:r="MuiStack"}=e,a=()=>he({root:["root"]},c=>me(r,c),{}),i=o(Tm),s=x.forwardRef(function(c,d){const u=n(c),f=zi(u),{component:h="div",direction:v="column",spacing:b=0,divider:p,children:y,className:C,useFlexGap:O=!1,...w}=f,S={direction:v,spacing:b,useFlexGap:O},T=a();return m.jsx(i,{as:h,ownerState:S,ref:d,className:Z(T.root,C),...w,children:p?Sm(y,p):y})});return process.env.NODE_ENV!=="production"&&(s.propTypes={children:t.node,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])}),s}const Kn={black:"#000",white:"#fff"},Em={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"},Yo={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Xo={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},On={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Jo={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Zo={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Qo={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Qc(){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:Kn.white,default:Kn.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 eu=Qc();function tu(){return{text:{primary:Kn.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:Kn.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 gi=tu();function yl(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=pa(e.main,a):o==="dark"&&(e.dark=da(e.main,i)))}function vl(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 Pm(e="light"){return e==="dark"?{main:Jo[200],light:Jo[50],dark:Jo[400]}:{main:Jo[700],light:Jo[400],dark:Jo[800]}}function km(e="light"){return e==="dark"?{main:Yo[200],light:Yo[50],dark:Yo[400]}:{main:Yo[500],light:Yo[300],dark:Yo[700]}}function Rm(e="light"){return e==="dark"?{main:Xo[500],light:Xo[300],dark:Xo[700]}:{main:Xo[700],light:Xo[400],dark:Xo[800]}}function $m(e="light"){return e==="dark"?{main:Zo[400],light:Zo[300],dark:Zo[700]}:{main:Zo[700],light:Zo[500],dark:Zo[900]}}function Im(e="light"){return e==="dark"?{main:Qo[400],light:Qo[300],dark:Qo[700]}:{main:Qo[800],light:Qo[500],dark:Qo[900]}}function jm(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:"#ed6c02",light:On[500],dark:On[900]}}function Nm(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Xi(e){const{mode:o="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:a,...i}=e,s=e.primary||Pm(o),l=e.secondary||km(o),c=e.error||Rm(o),d=e.info||$m(o),u=e.success||Im(o),f=e.warning||jm(o);function h(y){if(a)return Nm(y);const C=fl(y,gi.text.primary)>=n?gi.text.primary:eu.text.primary;if(process.env.NODE_ENV!=="production"){const O=fl(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(`
|
|
10
|
-
`))}return
|
|
11
|
-
The color object needs to have a \`main\` property or a \`${O}\` property.`:
|
|
12
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
5
|
+
`)));const l=a[i];return s>=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 Zr(e){return er(e,"spacing",8,"spacing")}function Wo(e,o){return typeof o=="string"||o==null?o:e(o)}function $p(e,o){return n=>e.reduce((r,a)=>(r[a]=Wo(o,n),r),{})}function Ip(e,o,n,r){if(!o.includes(n))return null;const a=kp(n),s=$p(a,r),i=e[n];return Xt(e,i,s)}function Nc(e,o){const n=Zr(e.theme);return Object.keys(e).map(r=>Ip(e,o,r,n)).reduce(Bn,{})}function rt(e){return Nc(e,Xr)}rt.propTypes=process.env.NODE_ENV!=="production"?Xr.reduce((e,o)=>(e[o]=Ro,e),{}):{};rt.filterProps=Xr;function at(e){return Nc(e,Jr)}at.propTypes=process.env.NODE_ENV!=="production"?Jr.reduce((e,o)=>(e[o]=Ro,e),{}):{};at.filterProps=Jr;process.env.NODE_ENV!=="production"&&Rp.reduce((e,o)=>(e[o]=Ro,e),{});function Qr(...e){const o=e.reduce((r,a)=>(a.filterProps.forEach(s=>{r[s]=a}),r),{}),n=r=>Object.keys(r).reduce((a,s)=>o[s]?Bn(a,o[s](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 Vt(e){return typeof e!="number"?e:`${e}px solid`}function Kt(e,o){return lt({prop:e,themeKey:"borders",transform:o})}const jp=Kt("border",Vt),Np=Kt("borderTop",Vt),Mp=Kt("borderRight",Vt),Ap=Kt("borderBottom",Vt),Lp=Kt("borderLeft",Vt),Dp=Kt("borderColor"),Bp=Kt("borderTopColor"),Fp=Kt("borderRightColor"),zp=Kt("borderBottomColor"),Vp=Kt("borderLeftColor"),_p=Kt("outline",Vt),Wp=Kt("outlineColor"),ea=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const o=er(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Wo(o,r)});return Xt(e,e.borderRadius,n)}return null};ea.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ro}:{};ea.filterProps=["borderRadius"];Qr(jp,Np,Mp,Ap,Lp,Dp,Bp,Fp,zp,Vp,ea,_p,Wp);const ta=e=>{if(e.gap!==void 0&&e.gap!==null){const o=er(e.theme,"spacing",8,"gap"),n=r=>({gap:Wo(o,r)});return Xt(e,e.gap,n)}return null};ta.propTypes=process.env.NODE_ENV!=="production"?{gap:Ro}:{};ta.filterProps=["gap"];const oa=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const o=er(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Wo(o,r)});return Xt(e,e.columnGap,n)}return null};oa.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ro}:{};oa.filterProps=["columnGap"];const na=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const o=er(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Wo(o,r)});return Xt(e,e.rowGap,n)}return null};na.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ro}:{};na.filterProps=["rowGap"];const Up=lt({prop:"gridColumn"}),Hp=lt({prop:"gridRow"}),qp=lt({prop:"gridAutoFlow"}),Gp=lt({prop:"gridAutoColumns"}),Kp=lt({prop:"gridAutoRows"}),Yp=lt({prop:"gridTemplateColumns"}),Xp=lt({prop:"gridTemplateRows"}),Jp=lt({prop:"gridTemplateAreas"}),Zp=lt({prop:"gridArea"});Qr(ta,oa,na,Up,Hp,qp,Gp,Kp,Yp,Xp,Jp,Zp);function sn(e,o){return o==="grey"?o:e}const Qp=lt({prop:"color",themeKey:"palette",transform:sn}),ef=lt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:sn}),tf=lt({prop:"backgroundColor",themeKey:"palette",transform:sn});Qr(Qp,ef,tf);function Lt(e){return e<=1&&e!==0?`${e*100}%`:e}const of=lt({prop:"width",transform:Lt}),Fs=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const o=n=>{const r=e.theme?.breakpoints?.values?.[n]||Kr[n];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Lt(n)}};return Xt(e,e.maxWidth,o)}return null};Fs.filterProps=["maxWidth"];const nf=lt({prop:"minWidth",transform:Lt}),rf=lt({prop:"height",transform:Lt}),af=lt({prop:"maxHeight",transform:Lt}),sf=lt({prop:"minHeight",transform:Lt});lt({prop:"size",cssProperty:"width",transform:Lt});lt({prop:"size",cssProperty:"height",transform:Lt});const lf=lt({prop:"boxSizing"});Qr(of,Fs,nf,rf,af,sf,lf);const tr={border:{themeKey:"borders",transform:Vt},borderTop:{themeKey:"borders",transform:Vt},borderRight:{themeKey:"borders",transform:Vt},borderBottom:{themeKey:"borders",transform:Vt},borderLeft:{themeKey:"borders",transform:Vt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Vt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ea},color:{themeKey:"palette",transform:sn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:sn},backgroundColor:{themeKey:"palette",transform:sn},p:{style:at},pt:{style:at},pr:{style:at},pb:{style:at},pl:{style:at},px:{style:at},py:{style:at},padding:{style:at},paddingTop:{style:at},paddingRight:{style:at},paddingBottom:{style:at},paddingLeft:{style:at},paddingX:{style:at},paddingY:{style:at},paddingInline:{style:at},paddingInlineStart:{style:at},paddingInlineEnd:{style:at},paddingBlock:{style:at},paddingBlockStart:{style:at},paddingBlockEnd:{style:at},m:{style:rt},mt:{style:rt},mr:{style:rt},mb:{style:rt},ml:{style:rt},mx:{style:rt},my:{style:rt},margin:{style:rt},marginTop:{style:rt},marginRight:{style:rt},marginBottom:{style:rt},marginLeft:{style:rt},marginX:{style:rt},marginY:{style:rt},marginInline:{style:rt},marginInlineStart:{style:rt},marginInlineEnd:{style:rt},marginBlock:{style:rt},marginBlockStart:{style:rt},marginBlockEnd:{style:rt},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:ta},rowGap:{style:na},columnGap:{style:oa},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Lt},maxWidth:{style:Fs},minWidth:{transform:Lt},height:{transform:Lt},maxHeight:{transform:Lt},minHeight:{transform:Lt},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 cf(...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 uf(e,o){return typeof e=="function"?e(o):e}function df(){function e(n,r,a,s){const i={[n]:r,theme:a},l=s[n];if(!l)return{[n]:r};const{cssProperty:c=n,themeKey:u,transform:d,style:f}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const b=Yr(a,u)||{};return f?f(i):Xt(i,r,h=>{let p=$r(b,d,h);return h===p&&typeof h=="string"&&(p=$r(b,d,`${n}${h==="default"?"":B(h)}`,h)),c===!1?p:{[c]:p}})}function o(n){const{sx:r,theme:a={},nested:s}=n||{};if(!r)return null;const i=a.unstable_sxConfig??tr;function l(c){let u=c;if(typeof c=="function")u=c(a);else if(typeof c!="object")return c;if(!u)return null;const d=jc(a.breakpoints),f=Object.keys(d);let b=d;return Object.keys(u).forEach(y=>{const h=uf(u[y],a);if(h!=null)if(typeof h=="object")if(i[y])b=Bn(b,e(y,h,a,i));else{const p=Xt({theme:a},h,v=>({[y]:v}));cf(p,h)?b[y]=o({sx:h,theme:a,nested:!0}):b=Bn(b,p)}else b=Bn(b,e(y,h,a,i))}),!s&&a.modularCssLayers?{"@layer sx":tl(a,ls(f,b))}:tl(a,ls(f,b))}return Array.isArray(r)?r.map(l):l(r)}return o}const Uo=df();Uo.filterProps=["sx"];const pf=e=>{const o={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??tr;return Object.keys(e).forEach(r=>{n[r]?o.systemProps[r]=e[r]:o.otherProps[r]=e[r]}),o};function zs(e){const{sx:o,...n}=e,{systemProps:r,otherProps:a}=pf(n);let s;return Array.isArray(o)?s=[r,...o]:typeof o=="function"?s=(...i)=>{const l=o(...i);return no(l)?{...r,...l}:r}:s={...r,...o},{...a,sx:s}}function Ir(){return Ir=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},Ir.apply(null,arguments)}function ff(e){if(e.sheet)return e.sheet;for(var o=0;o<document.styleSheets.length;o++)if(document.styleSheets[o].ownerNode===e)return document.styleSheets[o]}function mf(e){var o=document.createElement("style");return o.setAttribute("data-emotion",e.key),e.nonce!==void 0&&o.setAttribute("nonce",e.nonce),o.appendChild(document.createTextNode("")),o.setAttribute("data-s",""),o}var gf=(function(){function e(n){var r=this;this._insertTag=function(a){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,s),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var o=e.prototype;return o.hydrate=function(r){r.forEach(this._insertTag)},o.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(mf(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=ff(a);try{s.insertRule(r,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(r));this.ctr++},o.flush=function(){this.tags.forEach(function(r){var a;return(a=r.parentNode)==null?void 0:a.removeChild(r)}),this.tags=[],this.ctr=0},e})(),wt="-ms-",jr="-moz-",_e="-webkit-",Mc="comm",Vs="rule",_s="decl",hf="@import",Ac="@keyframes",bf="@layer",yf=Math.abs,ra=String.fromCharCode,vf=Object.assign;function xf(e,o){return xt(e,0)^45?(((o<<2^xt(e,0))<<2^xt(e,1))<<2^xt(e,2))<<2^xt(e,3):0}function Lc(e){return e.trim()}function Cf(e,o){return(e=o.exec(e))?e[0]:e}function We(e,o,n){return e.replace(o,n)}function cs(e,o){return e.indexOf(o)}function xt(e,o){return e.charCodeAt(o)|0}function Hn(e,o,n){return e.slice(o,n)}function to(e){return e.length}function Ws(e){return e.length}function hr(e,o){return o.push(e),e}function Sf(e,o){return e.map(o).join("")}var aa=1,cn=1,Dc=0,$t=0,ut=0,bn="";function sa(e,o,n,r,a,s,i){return{value:e,root:o,parent:n,type:r,props:a,children:s,line:aa,column:cn,length:i,return:""}}function Tn(e,o){return vf(sa("",null,null,"",null,null,0),e,{length:-e.length},o)}function wf(){return ut}function Tf(){return ut=$t>0?xt(bn,--$t):0,cn--,ut===10&&(cn=1,aa--),ut}function Dt(){return ut=$t<Dc?xt(bn,$t++):0,cn++,ut===10&&(cn=1,aa++),ut}function ro(){return xt(bn,$t)}function Or(){return $t}function or(e,o){return Hn(bn,e,o)}function qn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Bc(e){return aa=cn=1,Dc=to(bn=e),$t=0,[]}function Fc(e){return bn="",e}function Er(e){return Lc(or($t-1,us(e===91?e+2:e===40?e+1:e)))}function Of(e){for(;(ut=ro())&&ut<33;)Dt();return qn(e)>2||qn(ut)>3?"":" "}function Ef(e,o){for(;--o&&Dt()&&!(ut<48||ut>102||ut>57&&ut<65||ut>70&&ut<97););return or(e,Or()+(o<6&&ro()==32&&Dt()==32))}function us(e){for(;Dt();)switch(ut){case e:return $t;case 34:case 39:e!==34&&e!==39&&us(ut);break;case 40:e===41&&us(e);break;case 92:Dt();break}return $t}function Pf(e,o){for(;Dt()&&e+ut!==57;)if(e+ut===84&&ro()===47)break;return"/*"+or(o,$t-1)+"*"+ra(e===47?e:Dt())}function kf(e){for(;!qn(ro());)Dt();return or(e,$t)}function Rf(e){return Fc(Pr("",null,null,null,[""],e=Bc(e),0,[0],e))}function Pr(e,o,n,r,a,s,i,l,c){for(var u=0,d=0,f=i,b=0,y=0,h=0,p=1,v=1,x=1,O=0,w="",S=a,T=s,E=r,k=w;v;)switch(h=O,O=Dt()){case 40:if(h!=108&&xt(k,f-1)==58){cs(k+=We(Er(O),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=Er(O);break;case 9:case 10:case 13:case 32:k+=Of(h);break;case 92:k+=Ef(Or()-1,7);continue;case 47:switch(ro()){case 42:case 47:hr($f(Pf(Dt(),Or()),o,n),c);break;default:k+="/"}break;case 123*p:l[u++]=to(k)*x;case 125*p:case 59:case 0:switch(O){case 0:case 125:v=0;case 59+d:x==-1&&(k=We(k,/\f/g,"")),y>0&&to(k)-f&&hr(y>32?al(k+";",r,n,f-1):al(We(k," ","")+";",r,n,f-2),c);break;case 59:k+=";";default:if(hr(E=rl(k,o,n,u,d,a,l,w,S=[],T=[],f),s),O===123)if(d===0)Pr(k,o,E,E,S,s,f,l,T);else switch(b===99&&xt(k,3)===110?100:b){case 100:case 108:case 109:case 115:Pr(e,E,E,r&&hr(rl(e,E,E,0,0,a,l,w,a,S=[],f),T),a,T,f,l,r?S:T);break;default:Pr(k,E,E,E,[""],T,0,l,T)}}u=d=y=0,p=x=1,w=k="",f=i;break;case 58:f=1+to(k),y=h;default:if(p<1){if(O==123)--p;else if(O==125&&p++==0&&Tf()==125)continue}switch(k+=ra(O),O*p){case 38:x=d>0?1:(k+="\f",-1);break;case 44:l[u++]=(to(k)-1)*x,x=1;break;case 64:ro()===45&&(k+=Er(Dt())),b=ro(),d=f=to(w=k+=kf(Or())),O++;break;case 45:h===45&&to(k)==2&&(p=0)}}return s}function rl(e,o,n,r,a,s,i,l,c,u,d){for(var f=a-1,b=a===0?s:[""],y=Ws(b),h=0,p=0,v=0;h<r;++h)for(var x=0,O=Hn(e,f+1,f=yf(p=i[h])),w=e;x<y;++x)(w=Lc(p>0?b[x]+" "+O:We(O,/&\f/g,b[x])))&&(c[v++]=w);return sa(e,o,n,a===0?Vs:l,c,u,d)}function $f(e,o,n){return sa(e,o,n,Mc,ra(wf()),Hn(e,2,-2),0)}function al(e,o,n,r){return sa(e,o,n,_s,Hn(e,0,r),Hn(e,r+1,-1),r)}function ln(e,o){for(var n="",r=Ws(e),a=0;a<r;a++)n+=o(e[a],a,e,o)||"";return n}function If(e,o,n,r){switch(e.type){case bf:if(e.children.length)break;case hf:case _s:return e.return=e.return||e.value;case Mc:return"";case Ac:return e.return=e.value+"{"+ln(e.children,r)+"}";case Vs:e.value=e.props.join(",")}return to(n=ln(e.children,r))?e.return=e.value+"{"+n+"}":""}function jf(e){var o=Ws(e);return function(n,r,a,s){for(var i="",l=0;l<o;l++)i+=e[l](n,r,a,s)||"";return i}}function Nf(e){return function(o){o.root||(o=o.return)&&e(o)}}function zc(e){var o=Object.create(null);return function(n){return o[n]===void 0&&(o[n]=e(n)),o[n]}}var Mf=function(o,n,r){for(var a=0,s=0;a=s,s=ro(),a===38&&s===12&&(n[r]=1),!qn(s);)Dt();return or(o,$t)},Af=function(o,n){var r=-1,a=44;do switch(qn(a)){case 0:a===38&&ro()===12&&(n[r]=1),o[r]+=Mf($t-1,n,r);break;case 2:o[r]+=Er(a);break;case 4:if(a===44){o[++r]=ro()===58?"&\f":"",n[r]=o[r].length;break}default:o[r]+=ra(a)}while(a=Dt());return o},Lf=function(o,n){return Fc(Af(Bc(o),n))},sl=new WeakMap,Df=function(o){if(!(o.type!=="rule"||!o.parent||o.length<1)){for(var n=o.value,r=o.parent,a=o.column===r.column&&o.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(o.props.length===1&&n.charCodeAt(0)!==58&&!sl.get(r))&&!a){sl.set(o,!0);for(var s=[],i=Lf(n,s),l=r.props,c=0,u=0;c<i.length;c++)for(var d=0;d<l.length;d++,u++)o.props[u]=s[c]?i[c].replace(/&\f/g,l[d]):l[d]+" "+i[c]}}},Bf=function(o){if(o.type==="decl"){var n=o.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(o.return="",o.value="")}};function Vc(e,o){switch(xf(e,o)){case 5103:return _e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _e+e+jr+e+wt+e+e;case 6828:case 4268:return _e+e+wt+e+e;case 6165:return _e+e+wt+"flex-"+e+e;case 5187:return _e+e+We(e,/(\w+).+(:[^]+)/,_e+"box-$1$2"+wt+"flex-$1$2")+e;case 5443:return _e+e+wt+"flex-item-"+We(e,/flex-|-self/,"")+e;case 4675:return _e+e+wt+"flex-line-pack"+We(e,/align-content|flex-|-self/,"")+e;case 5548:return _e+e+wt+We(e,"shrink","negative")+e;case 5292:return _e+e+wt+We(e,"basis","preferred-size")+e;case 6060:return _e+"box-"+We(e,"-grow","")+_e+e+wt+We(e,"grow","positive")+e;case 4554:return _e+We(e,/([^-])(transform)/g,"$1"+_e+"$2")+e;case 6187:return We(We(We(e,/(zoom-|grab)/,_e+"$1"),/(image-set)/,_e+"$1"),e,"")+e;case 5495:case 3959:return We(e,/(image-set\([^]*)/,_e+"$1$`$1");case 4968:return We(We(e,/(.+:)(flex-)?(.*)/,_e+"box-pack:$3"+wt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_e+e+e;case 4095:case 3583:case 4068:case 2532:return We(e,/(.+)-inline(.+)/,_e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(to(e)-1-o>6)switch(xt(e,o+1)){case 109:if(xt(e,o+4)!==45)break;case 102:return We(e,/(.+:)(.+)-([^]+)/,"$1"+_e+"$2-$3$1"+jr+(xt(e,o+3)==108?"$3":"$2-$3"))+e;case 115:return~cs(e,"stretch")?Vc(We(e,"stretch","fill-available"),o)+e:e}break;case 4949:if(xt(e,o+1)!==115)break;case 6444:switch(xt(e,to(e)-3-(~cs(e,"!important")&&10))){case 107:return We(e,":",":"+_e)+e;case 101:return We(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_e+(xt(e,14)===45?"inline-":"")+"box$3$1"+_e+"$2$3$1"+wt+"$2box$3")+e}break;case 5936:switch(xt(e,o+11)){case 114:return _e+e+wt+We(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _e+e+wt+We(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _e+e+wt+We(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _e+e+wt+e+e}return e}var Ff=function(o,n,r,a){if(o.length>-1&&!o.return)switch(o.type){case _s:o.return=Vc(o.value,o.length);break;case Ac:return ln([Tn(o,{value:We(o.value,"@","@"+_e)})],a);case Vs:if(o.length)return Sf(o.props,function(s){switch(Cf(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ln([Tn(o,{props:[We(s,/:(read-\w+)/,":"+jr+"$1")]})],a);case"::placeholder":return ln([Tn(o,{props:[We(s,/:(plac\w+)/,":"+_e+"input-$1")]}),Tn(o,{props:[We(s,/:(plac\w+)/,":"+jr+"$1")]}),Tn(o,{props:[We(s,/:(plac\w+)/,wt+"input-$1")]})],a)}return""})}},zf=[Ff],Vf=function(o){var n=o.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var v=p.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var a=o.stylisPlugins||zf,s={},i,l=[];i=o.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var v=p.getAttribute("data-emotion").split(" "),x=1;x<v.length;x++)s[v[x]]=!0;l.push(p)});var c,u=[Df,Bf];{var d,f=[If,Nf(function(p){d.insert(p)})],b=jf(u.concat(a,f)),y=function(v){return ln(Rf(v),b)};c=function(v,x,O,w){d=O,y(v?v+"{"+x.styles+"}":x.styles),w&&(h.inserted[x.name]=!0)}}var h={key:n,sheet:new gf({key:n,container:i,nonce:o.nonce,speedy:o.speedy,prepend:o.prepend,insertionPoint:o.insertionPoint}),nonce:o.nonce,inserted:s,registered:{},insert:c};return h.sheet.hydrate(l),h},Ua,il;function _f(){if(il)return Ua;il=1;var e=Ds(),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=r,s[e.Memo]=a;function i(h){return e.isMemo(h)?a:s[h.$$typeof]||o}var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,b=Object.prototype;function y(h,p,v){if(typeof p!="string"){if(b){var x=f(p);x&&x!==b&&y(h,x,v)}var O=c(p);u&&(O=O.concat(u(p)));for(var w=i(h),S=i(p),T=0;T<O.length;++T){var E=O[T];if(!n[E]&&!(v&&v[E])&&!(S&&S[E])&&!(w&&w[E])){var k=d(p,E);try{l(h,E,k)}catch{}}}}return h}return Ua=y,Ua}_f();var Wf=!0;function _c(e,o,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?o.push(e[a]+";"):a&&(r+=a+" ")}),r}var Us=function(o,n,r){var a=o.key+"-"+n.name;(r===!1||Wf===!1)&&o.registered[a]===void 0&&(o.registered[a]=n.styles)},Hs=function(o,n,r){Us(o,n,r);var a=o.key+"-"+n.name;if(o.inserted[n.name]===void 0){var s=n;do o.insert(n===s?"."+a:"",s,o.sheet,!0),s=s.next;while(s!==void 0)}};function Uf(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 Hf={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},qf=/[A-Z]|^ms/g,Gf=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wc=function(o){return o.charCodeAt(1)===45},ll=function(o){return o!=null&&typeof o!="boolean"},Ha=zc(function(e){return Wc(e)?e:e.replace(qf,"-$&").toLowerCase()}),cl=function(o,n){switch(o){case"animation":case"animationName":if(typeof n=="string")return n.replace(Gf,function(r,a,s){return oo={name:a,styles:s,next:oo},a})}return Hf[o]!==1&&!Wc(o)&&typeof n=="number"&&n!==0?n+"px":n};function Gn(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 oo={name:a.name,styles:a.styles,next:oo},a.name;var s=n;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)oo={name:i.name,styles:i.styles,next:oo},i=i.next;var l=s.styles+";";return l}return Kf(e,o,n)}case"function":{if(e!==void 0){var c=oo,u=n(e);return oo=c,Gn(e,o,u)}break}}var d=n;if(o==null)return d;var f=o[d];return f!==void 0?f:d}function Kf(e,o,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=Gn(e,o,n[a])+";";else for(var s in n){var i=n[s];if(typeof i!="object"){var l=i;o!=null&&o[l]!==void 0?r+=s+"{"+o[l]+"}":ll(l)&&(r+=Ha(s)+":"+cl(s,l)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(o==null||o[i[0]]===void 0))for(var c=0;c<i.length;c++)ll(i[c])&&(r+=Ha(s)+":"+cl(s,i[c])+";");else{var u=Gn(e,o,i);switch(s){case"animation":case"animationName":{r+=Ha(s)+":"+u+";";break}default:r+=s+"{"+u+"}"}}}return r}var ul=/label:\s*([^\s;{]+)\s*(;|$)/g,oo;function nr(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="";oo=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,a+=Gn(n,o,s);else{var i=s;a+=i[0]}for(var l=1;l<e.length;l++)if(a+=Gn(n,o,e[l]),r){var c=s;a+=c[l]}ul.lastIndex=0;for(var u="",d;(d=ul.exec(a))!==null;)u+="-"+d[1];var f=Uf(a)+u;return{name:f,styles:a,next:oo}}var Yf=function(o){return o()},Uc=C.useInsertionEffect?C.useInsertionEffect:!1,Hc=Uc||Yf,dl=Uc||C.useLayoutEffect,qc=C.createContext(typeof HTMLElement<"u"?Vf({key:"css"}):null);qc.Provider;var qs=function(o){return Me.forwardRef(function(n,r){var a=Me.useContext(qc);return o(n,a,r)})},ia=C.createContext({}),Gs={}.hasOwnProperty,ds="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Xf=function(o,n){var r={};for(var a in n)Gs.call(n,a)&&(r[a]=n[a]);return r[ds]=o,r},Jf=function(o){var n=o.cache,r=o.serialized,a=o.isStringTag;return Us(n,r,a),Hc(function(){return Hs(n,r,a)}),null},Zf=qs(function(e,o,n){var r=e.css;typeof r=="string"&&o.registered[r]!==void 0&&(r=o.registered[r]);var a=e[ds],s=[r],i="";typeof e.className=="string"?i=_c(o.registered,s,e.className):e.className!=null&&(i=e.className+" ");var l=nr(s,void 0,C.useContext(ia));i+=o.key+"-"+l.name;var c={};for(var u in e)Gs.call(e,u)&&u!=="css"&&u!==ds&&(c[u]=e[u]);return c.className=i,n&&(c.ref=n),C.createElement(C.Fragment,null,C.createElement(Jf,{cache:o,serialized:l,isStringTag:typeof a=="string"}),C.createElement(a,c))}),Qf=Zf,pl=function(o,n){var r=arguments;if(n==null||!Gs.call(n,"css"))return C.createElement.apply(void 0,r);var a=r.length,s=new Array(a);s[0]=Qf,s[1]=Xf(o,n);for(var i=2;i<a;i++)s[i]=r[i];return C.createElement.apply(null,s)};(function(e){var o;o||(o=e.JSX||(e.JSX={}))})(pl||(pl={}));var em=qs(function(e,o){var n=e.styles,r=nr([n],void 0,C.useContext(ia)),a=C.useRef();return dl(function(){var s=o.key+"-global",i=new o.sheet.constructor({key:s,nonce:o.sheet.nonce,container:o.sheet.container,speedy:o.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+s+" "+r.name+'"]');return o.sheet.tags.length&&(i.before=o.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",s),i.hydrate([c])),a.current=[i,l],function(){i.flush()}},[o]),dl(function(){var s=a.current,i=s[0],l=s[1];if(l){s[1]=!1;return}if(r.next!==void 0&&Hs(o,r.next,!0),i.tags.length){var c=i.tags[i.tags.length-1].nextElementSibling;i.before=c,i.flush()}o.insert("",r,i,!1)},[o,r.name]),null});function $o(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return nr(o)}function co(){var e=$o.apply(void 0,arguments),o="animation-"+e.name;return{name:o,styles:"@keyframes "+o+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var tm=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,om=zc(function(e){return tm.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),nm=om,rm=function(o){return o!=="theme"},fl=function(o){return typeof o=="string"&&o.charCodeAt(0)>96?nm:rm},ml=function(o,n,r){var a;if(n){var s=n.shouldForwardProp;a=o.__emotion_forwardProp&&s?function(i){return o.__emotion_forwardProp(i)&&s(i)}:s}return typeof a!="function"&&r&&(a=o.__emotion_forwardProp),a},am=function(o){var n=o.cache,r=o.serialized,a=o.isStringTag;return Us(n,r,a),Hc(function(){return Hs(n,r,a)}),null},sm=function e(o,n){var r=o.__emotion_real===o,a=r&&o.__emotion_base||o,s,i;n!==void 0&&(s=n.label,i=n.target);var l=ml(o,n,r),c=l||fl(a),u=!c("as");return function(){var d=arguments,f=r&&o.__emotion_styles!==void 0?o.__emotion_styles.slice(0):[];if(s!==void 0&&f.push("label:"+s+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var b=d[0];f.push(b[0]);for(var y=d.length,h=1;h<y;h++)f.push(d[h],b[h])}var p=qs(function(v,x,O){var w=u&&v.as||a,S="",T=[],E=v;if(v.theme==null){E={};for(var k in v)E[k]=v[k];E.theme=C.useContext(ia)}typeof v.className=="string"?S=_c(x.registered,T,v.className):v.className!=null&&(S=v.className+" ");var $=nr(f.concat(T),x.registered,E);S+=x.key+"-"+$.name,i!==void 0&&(S+=" "+i);var N=u&&l===void 0?fl(w):c,M={};for(var D in v)u&&D==="as"||N(D)&&(M[D]=v[D]);return M.className=S,O&&(M.ref=O),C.createElement(C.Fragment,null,C.createElement(am,{cache:x,serialized:$,isStringTag:typeof w=="string"}),C.createElement(w,M))});return p.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",p.defaultProps=o.defaultProps,p.__emotion_real=p,p.__emotion_base=a,p.__emotion_styles=f,p.__emotion_forwardProp=l,Object.defineProperty(p,"toString",{value:function(){return"."+i}}),p.withComponent=function(v,x){var O=e(v,Ir({},n,x,{shouldForwardProp:ml(p,x,!0)}));return O.apply(void 0,f)},p}},im=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],ps=sm.bind(null);im.forEach(function(e){ps[e]=ps(e)});function lm(e){return e==null||Object.keys(e).length===0}function Gc(e){const{styles:o,defaultTheme:n={}}=e,r=typeof o=="function"?a=>o(lm(a)?n:a):o;return g.jsx(em,{styles:r})}process.env.NODE_ENV!=="production"&&(Gc.propTypes={defaultTheme:t.object,styles:t.oneOfType([t.array,t.string,t.object,t.func])});function Kc(e,o){const n=ps(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(`
|
|
7
|
+
`)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${a})(...args) API requires all its args to be defined.`),n(...r)}:n}function cm(e,o){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=o(e.__emotion_styles))}const gl=[];function Eo(e){return gl[0]=e,nr(gl)}const um=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 dm(e){const{values:o={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...a}=e,s=um(o),i=Object.keys(s);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 u(b,y){const h=i.indexOf(y);return`@media (min-width:${typeof o[b]=="number"?o[b]:b}${n}) and (max-width:${(h!==-1&&typeof o[i[h]]=="number"?o[i[h]]:y)-r/100}${n})`}function d(b){return i.indexOf(b)+1<i.length?u(b,i[i.indexOf(b)+1]):l(b)}function f(b){const y=i.indexOf(b);return y===0?l(i[1]):y===i.length-1?c(i[y]):u(b,i[i.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:i,values:s,up:l,down:c,between:u,only:d,not:f,unit:n,...a}}const pm={borderRadius:4};function Yc(e=8,o=Zr({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(s=>{const i=o(s);return typeof i=="number"?`${i}px`:i}).join(" "));return n.mui=!0,n}function fm(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 la(e={},...o){const{breakpoints:n={},palette:r={},spacing:a,shape:s={},...i}=e,l=dm(n),c=Yc(a);let u=bt({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:c,shape:{...pm,...s}},i);return u=Cp(u),u.applyStyles=fm,u=o.reduce((d,f)=>bt(d,f),u),u.unstable_sxConfig={...tr,...i?.unstable_sxConfig},u.unstable_sx=function(f){return Uo({sx:f,theme:this})},u}function mm(e){return Object.keys(e).length===0}function gm(e=null){const o=C.useContext(ia);return!o||mm(o)?e:o}const hm=la();function ca(e=hm){return gm(e)}function qa(e){const o=Eo(e);return e!==o&&o.styles?(o.styles.match(/^@layer\s+[^{]*$/)||(o.styles=`@layer global{${o.styles}}`),o):e}function Xc({styles:e,themeId:o,defaultTheme:n={}}){const r=ca(n),a=o&&r[o]||r;let s=typeof e=="function"?e(a):e;return a.modularCssLayers&&(Array.isArray(s)?s=s.map(i=>qa(typeof i=="function"?i(a):i)):s=qa(s)),g.jsx(Gc,{styles:s})}process.env.NODE_ENV!=="production"&&(Xc.propTypes={defaultTheme:t.object,styles:t.oneOfType([t.array,t.func,t.number,t.object,t.string,t.bool]),themeId:t.string});function bm(e={}){const{themeId:o,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,s=Kc("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(Uo);return C.forwardRef(function(c,u){const d=ca(n),{className:f,component:b="div",...y}=zs(c);return g.jsx(s,{as:b,ref:u,className:Z(f,a?a(r):r),theme:o&&d[o]||d,...y})})}const ym={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 me(e,o,n="Mui"){const r=ym[o];return r?`${n}-${r}`:`${$c.generate(e)}-${o}`}function ge(e,o,n="Mui"){const r={};return o.forEach(a=>{r[a]=me(e,a,n)}),r}function Jc(e,o=""){return e.displayName||e.name||o}function hl(e,o,n){const r=Jc(o);return e.displayName||(r!==""?`${n}(${r})`:n)}function vm(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Jc(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Po.ForwardRef:return hl(e,e.render,"ForwardRef");case Po.Memo:return hl(e,e.type,"memo");default:return}}}function Zc(e){const{variants:o,...n}=e,r={variants:o,style:Eo(n),isProcessed:!0};return r.style===n||o&&o.forEach(a=>{typeof a.style!="function"&&(a.style=Eo(a.style))}),r}const xm=la();function Ga(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Fo(e,o){return o&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${o}{${String(e.styles)}}`),e}function Cm(e){return e?(o,n)=>n[e]:null}function Sm(e,o,n){e.theme=Om(e.theme)?n:e.theme[o]||e.theme}function kr(e,o,n){const r=typeof o=="function"?o(e):o;if(Array.isArray(r))return r.flatMap(a=>kr(e,a,n));if(Array.isArray(r?.variants)){let a;if(r.isProcessed)a=n?Fo(r.style,n):r.style;else{const{variants:s,...i}=r;a=n?Fo(Eo(i),n):i}return Qc(e,r.variants,[a],n)}return r?.isProcessed?n?Fo(Eo(r.style),n):r.style:n?Fo(Eo(r),n):r}function Qc(e,o,n=[],r=void 0){let a;e:for(let s=0;s<o.length;s+=1){const i=o[s];if(typeof i.props=="function"){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(a))continue}else for(const l in i.props)if(e[l]!==i.props[l]&&e.ownerState?.[l]!==i.props[l])continue e;typeof i.style=="function"?(a??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Fo(Eo(i.style(a)),r):i.style(a))):n.push(r?Fo(Eo(i.style),r):i.style)}return n}function eu(e={}){const{themeId:o,defaultTheme:n=xm,rootShouldForwardProp:r=Ga,slotShouldForwardProp:a=Ga}=e;function s(l){Sm(l,o,n)}return(l,c={})=>{cm(l,E=>E.filter(k=>k!==Uo));const{name:u,slot:d,skipVariantsResolver:f,skipSx:b,overridesResolver:y=Cm(tu(d)),...h}=c,p=u&&u.startsWith("Mui")||d?"components":"custom",v=f!==void 0?f:d&&d!=="Root"&&d!=="root"||!1,x=b||!1;let O=Ga;d==="Root"||d==="root"?O=r:d?O=a:Em(l)&&(O=void 0);const w=Kc(l,{shouldForwardProp:O,label:Tm(u,d),...h}),S=E=>{if(E.__emotion_real===E)return E;if(typeof E=="function")return function($){return kr($,E,$.theme.modularCssLayers?p:void 0)};if(no(E)){const k=Zc(E);return function(N){return k.variants?kr(N,k,N.theme.modularCssLayers?p:void 0):N.theme.modularCssLayers?Fo(k.style,p):k.style}}return E},T=(...E)=>{const k=[],$=E.map(S),N=[];if(k.push(s),u&&y&&N.push(function(I){const j=I.theme.components?.[u]?.styleOverrides;if(!j)return null;const R={};for(const W in j)R[W]=kr(I,j[W],I.theme.modularCssLayers?"theme":void 0);return y(I,R)}),u&&!v&&N.push(function(I){const j=I.theme?.components?.[u]?.variants;return j?Qc(I,j,[],I.theme.modularCssLayers?"theme":void 0):null}),x||N.push(Uo),Array.isArray($[0])){const m=$.shift(),I=new Array(k.length).fill(""),P=new Array(N.length).fill("");let j;j=[...I,...m,...P],j.raw=[...I,...m.raw,...P],k.unshift(j)}const M=[...k,...$,...N],D=w(...M);return l.muiName&&(D.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(D.displayName=wm(u,d,l)),D};return w.withConfig&&(T.withConfig=w.withConfig),T}}function wm(e,o,n){return e?`${e}${B(o||"")}`:`Styled(${vm(n)})`}function Tm(e,o){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${tu(o||"Root")}`),n}function Om(e){for(const o in e)return!1;return!0}function Em(e){return typeof e=="string"&&e.charCodeAt(0)>96}function tu(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Pm=eu();function km(e){const{theme:o,name:n,props:r}=e;return!o||!o.components||!o.components[n]||!o.components[n].defaultProps?r:Un(o.components[n].defaultProps,r)}function Rm({props:e,name:o,defaultTheme:n,themeId:r}){let a=ca(n);return r&&(a=a[r]||a),km({theme:a,name:o,props:e})}const Ht=typeof window<"u"?C.useLayoutEffect:C.useEffect;function Bo(e,o=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(o,Math.min(e,n))}function Ks(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}].`),Bo(e,o,n)}function $m(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 ko(e){if(e.type)return e;if(e.charAt(0)==="#")return ko($m(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.
|
|
8
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:io(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.
|
|
9
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:io(10,a))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:a}}const Im=e=>{const o=ko(e);return o.values.slice(0,3).map((n,r)=>o.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},jn=(e,o)=>{try{return Im(e)}catch{return o&&process.env.NODE_ENV!=="production"&&console.warn(o),e}};function ua(e){const{type:o,colorSpace:n}=e;let{values:r}=e;return o.includes("rgb")?r=r.map((a,s)=>s<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 ou(e){e=ko(e);const{values:o}=e,n=o[0],r=o[1]/100,a=o[2]/100,s=r*Math.min(a,1-a),i=(u,d=(u+n/30)%12)=>a-s*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const c=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(l+="a",c.push(o[3])),ua({type:l,values:c})}function fs(e){e=ko(e);let o=e.type==="hsl"||e.type==="hsla"?ko(ou(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 bl(e,o){const n=fs(e),r=fs(o);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ht(e,o){return e=ko(e),o=Ks(o),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${o}`:e.values[3]=o,ua(e)}function Mo(e,o,n){try{return ht(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function da(e,o){if(e=ko(e),o=Ks(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 ua(e)}function Ge(e,o,n){try{return da(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function pa(e,o){if(e=ko(e),o=Ks(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 ua(e)}function Ke(e,o,n){try{return pa(e,o)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function ms(e,o=.15){return fs(e)>.5?da(e,o):pa(e,o)}function br(e,o,n){try{return ms(e,o)}catch{return e}}const jm="exact-prop: ";function Ys(e){return process.env.NODE_ENV==="production"?e:{...e,[jm]: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 Nm=C.createContext();process.env.NODE_ENV!=="production"&&(t.node,t.bool);const rr=()=>C.useContext(Nm)??!1,Mm=C.createContext(void 0);process.env.NODE_ENV!=="production"&&(t.node,t.object);function Am(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?Un(a.defaultProps,r,o.components.mergeClassNameAndStyle):!a.styleOverrides&&!a.variants?Un(a,r,o.components.mergeClassNameAndStyle):r}function Lm({props:e,name:o}){const n=C.useContext(Mm);return Am({props:e,name:o,theme:{components:n}})}let yl=0;function Dm(e){const[o,n]=C.useState(e),r=e||o;return C.useEffect(()=>{o==null&&(yl+=1,n(`mui-${yl}`))},[o]),r}const Bm={...C},vl=Bm.useId;function vo(e){if(vl!==void 0){const o=vl();return e??o}return Dm(e)}const xl={theme:void 0};function Fm(e){let o,n;return function(a){let s=o;return(s===void 0||a.theme!==n)&&(xl.theme=a.theme,s=Zc(e(xl)),o=s,n=a.theme),s}}function zm(e=""){function o(...r){if(!r.length)return"";const a=r[0];return typeof a=="string"&&!a.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${a}${o(...r.slice(1))})`:`, ${a}`}return(r,...a)=>`var(--${e?`${e}-`:""}${r}${o(...a)})`}const Cl=(e,o,n,r=[])=>{let a=e;o.forEach((s,i)=>{i===o.length-1?Array.isArray(a)?a[Number(s)]=n:a&&typeof a=="object"&&(a[s]=n):a&&typeof a=="object"&&(a[s]||(a[s]=r.includes(s)?[]:{}),a=a[s])})},Vm=(e,o,n)=>{function r(a,s=[],i=[]){Object.entries(a).forEach(([l,c])=>{(!n||n&&!n([...s,l]))&&c!=null&&(typeof c=="object"&&Object.keys(c).length>0?r(c,[...s,l],Array.isArray(c)?[...i,l]:i):o([...s,l],c,i))})}r(e)},_m=(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 Ka(e,o){const{prefix:n,shouldSkipGeneratingVar:r}=o||{},a={},s={},i={};return Vm(e,(l,c,u)=>{if((typeof c=="string"||typeof c=="number")&&(!r||!r(l,c))){const d=`--${n?`${n}-`:""}${l.join("-")}`,f=_m(l,c);Object.assign(a,{[d]:f}),Cl(s,l,`var(${d})`,u),Cl(i,l,`var(${d}, ${f})`,u)}},l=>l[0]==="vars"),{css:a,vars:s,varsWithDefaults:i}}function Wm(e,o={}){const{getSelector:n=x,disableCssColorScheme:r,colorSchemeSelector:a,enableContrastVars:s}=o,{colorSchemes:i={},components:l,defaultColorScheme:c="light",...u}=e,{vars:d,css:f,varsWithDefaults:b}=Ka(u,o);let y=b;const h={},{[c]:p,...v}=i;if(Object.entries(v||{}).forEach(([S,T])=>{const{vars:E,css:k,varsWithDefaults:$}=Ka(T,o);y=bt(y,$),h[S]={css:k,vars:E}}),p){const{css:S,vars:T,varsWithDefaults:E}=Ka(p,o);y=bt(y,E),h[c]={css:S,vars:T}}function x(S,T){let E=a;if(a==="class"&&(E=".%s"),a==="data"&&(E="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(E=`[${a}="%s"]`),S){if(E==="media")return e.defaultColorScheme===S?":root":{[`@media (prefers-color-scheme: ${i[S]?.palette?.mode||S})`]:{":root":T}};if(E)return e.defaultColorScheme===S?`:root, ${E.replace("%s",String(S))}`:E.replace("%s",String(S))}return":root"}return{vars:y,generateThemeVars:()=>{let S={...d};return Object.entries(h).forEach(([,{vars:T}])=>{S=bt(S,T)}),S},generateStyleSheets:()=>{const S=[],T=e.defaultColorScheme||"light";function E(N,M){Object.keys(M).length&&S.push(typeof N=="string"?{[N]:{...M}}:N)}E(n(void 0,{...f}),f);const{[T]:k,...$}=h;if(k){const{css:N}=k,M=i[T]?.palette?.mode,D=!r&&M?{colorScheme:M,...N}:{...N};E(n(T,{...D}),D)}return Object.entries($).forEach(([N,{css:M}])=>{const D=i[N]?.palette?.mode,m=!r&&D?{colorScheme:D,...M}:{...M};E(n(N,{...m}),m)}),s&&S.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)"}}),S}}}function Um(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)} &`:"&"}}function Fn(e,o){return C.isValidElement(e)&&o.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}const Hm=la(),qm=Pm("div",{name:"MuiStack",slot:"Root"});function Gm(e){return Rm({props:e,name:"MuiStack",defaultTheme:Hm})}function Km(e,o){const n=C.Children.toArray(e).filter(Boolean);return n.reduce((r,a,s)=>(r.push(a),s<n.length-1&&r.push(C.cloneElement(o,{key:`separator-${s}`})),r),[])}const Ym=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Xm=({ownerState:e,theme:o})=>{let n={display:"flex",flexDirection:"column",...Xt({theme:o},Wa({values:e.direction,breakpoints:o.breakpoints.values}),r=>({flexDirection:r}))};if(e.spacing){const r=Zr(o),a=Object.keys(o.breakpoints.values).reduce((c,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(c[u]=!0),c),{}),s=Wa({values:e.direction,base:a}),i=Wa({values:e.spacing,base:a});typeof s=="object"&&Object.keys(s).forEach((c,u,d)=>{if(!s[c]){const b=u>0?s[d[u-1]]:"column";s[c]=b}}),n=bt(n,Xt({theme:o},i,(c,u)=>e.useFlexGap?{gap:Wo(r,c)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Ym(u?s[u]:e.direction)}`]:Wo(r,c)}}))}return n=wp(o.breakpoints,n),n};function Jm(e={}){const{createStyledComponent:o=qm,useThemeProps:n=Gm,componentName:r="MuiStack"}=e,a=()=>be({root:["root"]},c=>me(r,c),{}),s=o(Xm),i=C.forwardRef(function(c,u){const d=n(c),f=zs(d),{component:b="div",direction:y="column",spacing:h=0,divider:p,children:v,className:x,useFlexGap:O=!1,...w}=f,S={direction:y,spacing:h,useFlexGap:O},T=a();return g.jsx(s,{as:b,ownerState:S,ref:u,className:Z(T.root,x),...w,children:p?Km(v,p):v})});return process.env.NODE_ENV!=="production"&&(i.propTypes={children:t.node,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])}),i}const Kn={black:"#000",white:"#fff"},Zm={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"},Yo={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Xo={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},On={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Jo={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Zo={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Qo={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function nu(){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:Kn.white,default:Kn.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 ru=nu();function au(){return{text:{primary:Kn.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:Kn.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 gs=au();function Sl(e,o,n,r){const a=r.light||r,s=r.dark||r*1.5;e[o]||(e.hasOwnProperty(n)?e[o]=e[n]:o==="light"?e.light=pa(e.main,a):o==="dark"&&(e.dark=da(e.main,s)))}function wl(e,o,n,r,a){const s=a.light||a,i=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 ${(s*100).toFixed(0)}%)`:n==="dark"&&(o.dark=`color-mix(in ${e}, ${o.main}, #000 ${(i*100).toFixed(0)}%)`))}function Qm(e="light"){return e==="dark"?{main:Jo[200],light:Jo[50],dark:Jo[400]}:{main:Jo[700],light:Jo[400],dark:Jo[800]}}function eg(e="light"){return e==="dark"?{main:Yo[200],light:Yo[50],dark:Yo[400]}:{main:Yo[500],light:Yo[300],dark:Yo[700]}}function tg(e="light"){return e==="dark"?{main:Xo[500],light:Xo[300],dark:Xo[700]}:{main:Xo[700],light:Xo[400],dark:Xo[800]}}function og(e="light"){return e==="dark"?{main:Zo[400],light:Zo[300],dark:Zo[700]}:{main:Zo[700],light:Zo[500],dark:Zo[900]}}function ng(e="light"){return e==="dark"?{main:Qo[400],light:Qo[300],dark:Qo[700]}:{main:Qo[800],light:Qo[500],dark:Qo[900]}}function rg(e="light"){return e==="dark"?{main:On[400],light:On[300],dark:On[700]}:{main:"#ed6c02",light:On[500],dark:On[900]}}function ag(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Xs(e){const{mode:o="light",contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:a,...s}=e,i=e.primary||Qm(o),l=e.secondary||eg(o),c=e.error||tg(o),u=e.info||og(o),d=e.success||ng(o),f=e.warning||rg(o);function b(v){if(a)return ag(v);const x=bl(v,gs.text.primary)>=n?gs.text.primary:ru.text.primary;if(process.env.NODE_ENV!=="production"){const O=bl(v,x);O<3&&console.error([`MUI: The contrast ratio of ${O}:1 for ${x} on ${v}`,"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(`
|
|
10
|
+
`))}return x}const y=({color:v,name:x,mainShade:O=500,lightShade:w=300,darkShade:S=700})=>{if(v={...v},!v.main&&v[O]&&(v.main=v[O]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
11
|
+
The color object needs to have a \`main\` property or a \`${O}\` property.`:io(11,x?` (${x})`:"",O));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
12
|
+
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
13
13
|
|
|
14
14
|
Did you intend to use one of the following approaches?
|
|
15
15
|
|
|
@@ -21,20 +21,20 @@ const theme1 = createTheme({ palette: {
|
|
|
21
21
|
|
|
22
22
|
const theme2 = createTheme({ palette: {
|
|
23
23
|
primary: { main: green[500] },
|
|
24
|
-
} });`:
|
|
25
|
-
`)),Object.keys(
|
|
24
|
+
} });`:io(12,x?` (${x})`:"",JSON.stringify(v.main)));return a?(wl(a,v,"light",w,r),wl(a,v,"dark",S,r)):(Sl(v,"light",w,r),Sl(v,"dark",S,r)),v.contrastText||(v.contrastText=b(v.main)),v};let h;return o==="light"?h=nu():o==="dark"&&(h=au()),process.env.NODE_ENV!=="production"&&(h||console.error(`MUI: The palette mode \`${o}\` is not supported.`)),bt({common:{...Kn},mode:o,primary:y({color:i,name:"primary"}),secondary:y({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:c,name:"error"}),warning:y({color:f,name:"warning"}),info:y({color:u,name:"info"}),success:y({color:d,name:"success"}),grey:Zm,contrastThreshold:n,getContrastText:b,augmentColor:y,tonalOffset:r,...h},s)}function sg(e){const o={};return Object.entries(e).forEach(r=>{const[a,s]=r;typeof s=="object"&&(o[a]=`${s.fontStyle?`${s.fontStyle} `:""}${s.fontVariant?`${s.fontVariant} `:""}${s.fontWeight?`${s.fontWeight} `:""}${s.fontStretch?`${s.fontStretch} `:""}${s.fontSize||""}${s.lineHeight?`/${s.lineHeight} `:""}${s.fontFamily||""}`)}),o}function ig(e,o){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...o}}function lg(e){return Math.round(e*1e5)/1e5}const Tl={textTransform:"uppercase"},Ol='"Roboto", "Helvetica", "Arial", sans-serif';function cg(e,o){const{fontFamily:n=Ol,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:i=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d,...f}=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,y=d||(v=>`${v/c*b}rem`),h=(v,x,O,w,S)=>({fontFamily:n,fontWeight:v,fontSize:y(x),lineHeight:O,...n===Ol?{letterSpacing:`${lg(w/x)}em`}:{},...S,...u}),p={h1:h(a,96,1.167,-1.5),h2:h(a,60,1.2,-.5),h3:h(s,48,1.167,0),h4:h(s,34,1.235,.25),h5:h(s,24,1.334,0),h6:h(i,20,1.6,.15),subtitle1:h(s,16,1.75,.15),subtitle2:h(i,14,1.57,.1),body1:h(s,16,1.5,.15),body2:h(s,14,1.43,.15),button:h(i,14,1.75,.4,Tl),caption:h(s,12,1.66,.4),overline:h(s,12,2.66,1,Tl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return bt({htmlFontSize:c,pxToRem:y,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:i,fontWeightBold:l,...p},f,{clone:!1})}const ug=.2,dg=.14,pg=.12;function ot(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ug})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${dg})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${pg})`].join(",")}const fg=["none",ot(0,2,1,-1,0,1,1,0,0,1,3,0),ot(0,3,1,-2,0,2,2,0,0,1,5,0),ot(0,3,3,-2,0,3,4,0,0,1,8,0),ot(0,2,4,-1,0,4,5,0,0,1,10,0),ot(0,3,5,-1,0,5,8,0,0,1,14,0),ot(0,3,5,-1,0,6,10,0,0,1,18,0),ot(0,4,5,-2,0,7,10,1,0,2,16,1),ot(0,5,5,-3,0,8,10,1,0,3,14,2),ot(0,5,6,-3,0,9,12,1,0,3,16,2),ot(0,6,6,-3,0,10,14,1,0,4,18,3),ot(0,6,7,-4,0,11,15,1,0,4,20,3),ot(0,7,8,-4,0,12,17,2,0,5,22,4),ot(0,7,8,-4,0,13,19,2,0,5,24,4),ot(0,7,9,-4,0,14,21,2,0,5,26,4),ot(0,8,9,-5,0,15,22,2,0,6,28,5),ot(0,8,10,-5,0,16,24,2,0,6,30,5),ot(0,8,11,-5,0,17,26,2,0,6,32,5),ot(0,9,11,-5,0,18,28,2,0,7,34,6),ot(0,9,12,-6,0,19,29,2,0,7,36,6),ot(0,10,13,-6,0,20,31,3,0,8,38,7),ot(0,10,13,-6,0,21,33,3,0,8,40,7),ot(0,10,14,-6,0,22,35,3,0,8,42,7),ot(0,11,14,-7,0,23,36,3,0,9,44,8),ot(0,11,15,-7,0,24,38,3,0,9,46,8)],mg={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)"},su={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function El(e){return`${Math.round(e)}ms`}function gg(e){if(!e)return 0;const o=e/36;return Math.min(Math.round((4+15*o**.25+o/5)*10),3e3)}function hg(e){const o={...mg,...e.easing},n={...su,...e.duration};return{getAutoHeightDuration:gg,create:(a=["all"],s={})=>{const{duration:i=n.standard,easing:l=o.easeInOut,delay:c=0,...u}=s;if(process.env.NODE_ENV!=="production"){const d=b=>typeof b=="string",f=b=>!Number.isNaN(parseFloat(b));!d(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(i)&&!d(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),d(l)||console.error('MUI: Argument "easing" must be a string.'),!f(c)&&!d(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
25
|
+
`)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(d=>`${d} ${typeof i=="string"?i:El(i)} ${l} ${typeof c=="string"?c:El(c)}`).join(",")},...e,easing:o,duration:n}}const bg={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function yg(e){return no(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function iu(e={}){const o={...e};function n(r){const a=Object.entries(r);for(let s=0;s<a.length;s++){const[i,l]=a[s];!yg(l)||i.startsWith("unstable_")?delete r[i]:no(l)&&(r[i]={...l},n(r[i]))}}return n(o),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
26
26
|
|
|
27
27
|
const theme = ${JSON.stringify(o,null,2)};
|
|
28
28
|
|
|
29
29
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
30
30
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
31
31
|
|
|
32
|
-
export default theme;`}function
|
|
33
|
-
`))}
|
|
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 tg(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Qt=e=>{try{return e()}catch{}},og=(e="mui")=>mm(e);function Ya(e,o,n,r,a){if(!n)return;n=n===!0?{}:n;const i=a==="dark"?"dark":"light";if(!r){o[a]=Xm({...n,palette:{mode:i,...n?.palette},colorSpace:e});return}const{palette:s,...l}=bi({...r,palette:{mode:i,...n?.palette},colorSpace:e});return o[a]={...n,palette:s,opacity:{...ru(i),...n?.opacity},overlays:n?.overlays||au(i)},l}function ng(e={},...o){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:a=!1,cssVarPrefix:i="mui",nativeColor:s=!1,shouldSkipGeneratingVar:l=Jm,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:d=":root",...u}=e,f=Object.keys(n)[0],h=r||(n.light&&f!=="light"?"light":f),v=og(i),{[h]:b,light:p,dark:y,...C}=n,O={...C};let w=b;if((h==="dark"&&!("dark"in n)||h==="light"&&!("light"in n))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:so(21,h));let S;s&&(S="oklch");const T=Ya(S,O,w,u,h);p&&!O.light&&Ya(S,O,p,void 0,"light"),y&&!O.dark&&Ya(S,O,y,void 0,"dark");let E={defaultColorScheme:h,...T,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:d,getCssVar:v,colorSchemes:O,font:{...Mm(T.typography),...T.font},spacing:tg(u.spacing)};Object.keys(E.colorSchemes).forEach(F=>{const g=E.colorSchemes[F].palette,$=j=>{const k=j.split("-"),W=k[1],G=k[2];return v(j,g[W][G])};g.mode==="light"&&(_(g.common,"background","#fff"),_(g.common,"onBackground","#000")),g.mode==="dark"&&(_(g.common,"background","#000"),_(g.common,"onBackground","#fff"));function P(j,k,W){if(S){let G;return j===Mo&&(G=`transparent ${((1-W)*100).toFixed(0)}%`),j===Ge&&(G=`#000 ${(W*100).toFixed(0)}%`),j===Ke&&(G=`#fff ${(W*100).toFixed(0)}%`),`color-mix(in ${S}, ${k}, ${G})`}return j(k,W)}if(eg(g,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),g.mode==="light"){_(g.Alert,"errorColor",P(Ge,g.error.light,.6)),_(g.Alert,"infoColor",P(Ge,g.info.light,.6)),_(g.Alert,"successColor",P(Ge,g.success.light,.6)),_(g.Alert,"warningColor",P(Ge,g.warning.light,.6)),_(g.Alert,"errorFilledBg",$("palette-error-main")),_(g.Alert,"infoFilledBg",$("palette-info-main")),_(g.Alert,"successFilledBg",$("palette-success-main")),_(g.Alert,"warningFilledBg",$("palette-warning-main")),_(g.Alert,"errorFilledColor",Qt(()=>g.getContrastText(g.error.main))),_(g.Alert,"infoFilledColor",Qt(()=>g.getContrastText(g.info.main))),_(g.Alert,"successFilledColor",Qt(()=>g.getContrastText(g.success.main))),_(g.Alert,"warningFilledColor",Qt(()=>g.getContrastText(g.warning.main))),_(g.Alert,"errorStandardBg",P(Ke,g.error.light,.9)),_(g.Alert,"infoStandardBg",P(Ke,g.info.light,.9)),_(g.Alert,"successStandardBg",P(Ke,g.success.light,.9)),_(g.Alert,"warningStandardBg",P(Ke,g.warning.light,.9)),_(g.Alert,"errorIconColor",$("palette-error-main")),_(g.Alert,"infoIconColor",$("palette-info-main")),_(g.Alert,"successIconColor",$("palette-success-main")),_(g.Alert,"warningIconColor",$("palette-warning-main")),_(g.AppBar,"defaultBg",$("palette-grey-100")),_(g.Avatar,"defaultBg",$("palette-grey-400")),_(g.Button,"inheritContainedBg",$("palette-grey-300")),_(g.Button,"inheritContainedHoverBg",$("palette-grey-A100")),_(g.Chip,"defaultBorder",$("palette-grey-400")),_(g.Chip,"defaultAvatarColor",$("palette-grey-700")),_(g.Chip,"defaultIconColor",$("palette-grey-700")),_(g.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),_(g.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),_(g.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),_(g.LinearProgress,"primaryBg",P(Ke,g.primary.main,.62)),_(g.LinearProgress,"secondaryBg",P(Ke,g.secondary.main,.62)),_(g.LinearProgress,"errorBg",P(Ke,g.error.main,.62)),_(g.LinearProgress,"infoBg",P(Ke,g.info.main,.62)),_(g.LinearProgress,"successBg",P(Ke,g.success.main,.62)),_(g.LinearProgress,"warningBg",P(Ke,g.warning.main,.62)),_(g.Skeleton,"bg",S?P(Mo,g.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),_(g.Slider,"primaryTrack",P(Ke,g.primary.main,.62)),_(g.Slider,"secondaryTrack",P(Ke,g.secondary.main,.62)),_(g.Slider,"errorTrack",P(Ke,g.error.main,.62)),_(g.Slider,"infoTrack",P(Ke,g.info.main,.62)),_(g.Slider,"successTrack",P(Ke,g.success.main,.62)),_(g.Slider,"warningTrack",P(Ke,g.warning.main,.62));const j=S?P(Ge,g.background.default,.6825):hr(g.background.default,.8);_(g.SnackbarContent,"bg",j),_(g.SnackbarContent,"color",Qt(()=>S?gi.text.primary:g.getContrastText(j))),_(g.SpeedDialAction,"fabHoverBg",hr(g.background.paper,.15)),_(g.StepConnector,"border",$("palette-grey-400")),_(g.StepContent,"border",$("palette-grey-400")),_(g.Switch,"defaultColor",$("palette-common-white")),_(g.Switch,"defaultDisabledColor",$("palette-grey-100")),_(g.Switch,"primaryDisabledColor",P(Ke,g.primary.main,.62)),_(g.Switch,"secondaryDisabledColor",P(Ke,g.secondary.main,.62)),_(g.Switch,"errorDisabledColor",P(Ke,g.error.main,.62)),_(g.Switch,"infoDisabledColor",P(Ke,g.info.main,.62)),_(g.Switch,"successDisabledColor",P(Ke,g.success.main,.62)),_(g.Switch,"warningDisabledColor",P(Ke,g.warning.main,.62)),_(g.TableCell,"border",P(Ke,P(Mo,g.divider,1),.88)),_(g.Tooltip,"bg",P(Mo,g.grey[700],.92))}if(g.mode==="dark"){_(g.Alert,"errorColor",P(Ke,g.error.light,.6)),_(g.Alert,"infoColor",P(Ke,g.info.light,.6)),_(g.Alert,"successColor",P(Ke,g.success.light,.6)),_(g.Alert,"warningColor",P(Ke,g.warning.light,.6)),_(g.Alert,"errorFilledBg",$("palette-error-dark")),_(g.Alert,"infoFilledBg",$("palette-info-dark")),_(g.Alert,"successFilledBg",$("palette-success-dark")),_(g.Alert,"warningFilledBg",$("palette-warning-dark")),_(g.Alert,"errorFilledColor",Qt(()=>g.getContrastText(g.error.dark))),_(g.Alert,"infoFilledColor",Qt(()=>g.getContrastText(g.info.dark))),_(g.Alert,"successFilledColor",Qt(()=>g.getContrastText(g.success.dark))),_(g.Alert,"warningFilledColor",Qt(()=>g.getContrastText(g.warning.dark))),_(g.Alert,"errorStandardBg",P(Ge,g.error.light,.9)),_(g.Alert,"infoStandardBg",P(Ge,g.info.light,.9)),_(g.Alert,"successStandardBg",P(Ge,g.success.light,.9)),_(g.Alert,"warningStandardBg",P(Ge,g.warning.light,.9)),_(g.Alert,"errorIconColor",$("palette-error-main")),_(g.Alert,"infoIconColor",$("palette-info-main")),_(g.Alert,"successIconColor",$("palette-success-main")),_(g.Alert,"warningIconColor",$("palette-warning-main")),_(g.AppBar,"defaultBg",$("palette-grey-900")),_(g.AppBar,"darkBg",$("palette-background-paper")),_(g.AppBar,"darkColor",$("palette-text-primary")),_(g.Avatar,"defaultBg",$("palette-grey-600")),_(g.Button,"inheritContainedBg",$("palette-grey-800")),_(g.Button,"inheritContainedHoverBg",$("palette-grey-700")),_(g.Chip,"defaultBorder",$("palette-grey-700")),_(g.Chip,"defaultAvatarColor",$("palette-grey-300")),_(g.Chip,"defaultIconColor",$("palette-grey-300")),_(g.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),_(g.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),_(g.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),_(g.LinearProgress,"primaryBg",P(Ge,g.primary.main,.5)),_(g.LinearProgress,"secondaryBg",P(Ge,g.secondary.main,.5)),_(g.LinearProgress,"errorBg",P(Ge,g.error.main,.5)),_(g.LinearProgress,"infoBg",P(Ge,g.info.main,.5)),_(g.LinearProgress,"successBg",P(Ge,g.success.main,.5)),_(g.LinearProgress,"warningBg",P(Ge,g.warning.main,.5)),_(g.Skeleton,"bg",S?P(Mo,g.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),_(g.Slider,"primaryTrack",P(Ge,g.primary.main,.5)),_(g.Slider,"secondaryTrack",P(Ge,g.secondary.main,.5)),_(g.Slider,"errorTrack",P(Ge,g.error.main,.5)),_(g.Slider,"infoTrack",P(Ge,g.info.main,.5)),_(g.Slider,"successTrack",P(Ge,g.success.main,.5)),_(g.Slider,"warningTrack",P(Ge,g.warning.main,.5));const j=S?P(Ke,g.background.default,.985):hr(g.background.default,.98);_(g.SnackbarContent,"bg",j),_(g.SnackbarContent,"color",Qt(()=>S?eu.text.primary:g.getContrastText(j))),_(g.SpeedDialAction,"fabHoverBg",hr(g.background.paper,.15)),_(g.StepConnector,"border",$("palette-grey-600")),_(g.StepContent,"border",$("palette-grey-600")),_(g.Switch,"defaultColor",$("palette-grey-300")),_(g.Switch,"defaultDisabledColor",$("palette-grey-600")),_(g.Switch,"primaryDisabledColor",P(Ge,g.primary.main,.55)),_(g.Switch,"secondaryDisabledColor",P(Ge,g.secondary.main,.55)),_(g.Switch,"errorDisabledColor",P(Ge,g.error.main,.55)),_(g.Switch,"infoDisabledColor",P(Ge,g.info.main,.55)),_(g.Switch,"successDisabledColor",P(Ge,g.success.main,.55)),_(g.Switch,"warningDisabledColor",P(Ge,g.warning.main,.55)),_(g.TableCell,"border",P(Ge,P(Mo,g.divider,1),.68)),_(g.Tooltip,"bg",P(Mo,g.grey[700],.92))}po(g.background,"default"),po(g.background,"paper"),po(g.common,"background"),po(g.common,"onBackground"),po(g,"divider"),Object.keys(g).forEach(j=>{const k=g[j];j!=="tonalOffset"&&k&&typeof k=="object"&&(k.main&&_(g[j],"mainChannel",jn(Nn(k.main))),k.light&&_(g[j],"lightChannel",jn(Nn(k.light))),k.dark&&_(g[j],"darkChannel",jn(Nn(k.dark))),k.contrastText&&_(g[j],"contrastTextChannel",jn(Nn(k.contrastText))),j==="text"&&(po(g[j],"primary"),po(g[j],"secondary")),j==="action"&&(k.active&&po(g[j],"active"),k.selected&&po(g[j],"selected")))})}),E=o.reduce((F,g)=>ht(F,g),E);const R={prefix:i,disableCssColorScheme:a,shouldSkipGeneratingVar:l,getSelector:Qm(E),enableContrastVars:s},{vars:I,generateThemeVars:N,generateStyleSheets:M}=hm(E,R);return E.vars=I,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([F,g])=>{E[F]=g}),E.generateThemeVars=N,E.generateStyleSheets=M,E.generateSpacing=function(){return Hc(u.spacing,Zr(this))},E.getColorSchemeSelector=ym(c),E.spacing=E.generateSpacing(),E.shouldSkipGeneratingVar=l,E.unstable_sxConfig={...tr,...u?.unstable_sxConfig},E.unstable_sx=function(g){return Uo({sx:g,theme:this})},E.toRuntimeSource=nu,E}function Tl(e,o,n){e.colorSchemes&&n&&(e.colorSchemes[o]={...n!==!0&&n,palette:Xi({...n===!0?{}:n.palette,mode:o})})}function iu(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 bi(e,...o);let u=n;"palette"in e||d[l]&&(d[l]!==!0?u=d[l].palette:l==="dark"&&(u={mode:"dark"}));const f=bi({...e,palette:u},...o);return f.defaultColorScheme=l,f.colorSchemes=d,f.palette.mode==="light"&&(f.colorSchemes.light={...d.light!==!0&&d.light,palette:f.palette},Tl(f,"dark",d.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:f.palette},Tl(f,"light",d.light)),f}return!n&&!("light"in d)&&l==="light"&&(d.light=!0),ng({...s,colorSchemes:d,defaultColorScheme:l,...typeof r!="boolean"&&r},...o)}const Ji=iu(),fa="$$material";function xo(){const e=ca(Ji);return process.env.NODE_ENV!=="production"&&x.useDebugValue(e),e[fa]||e}function su(e){return m.jsx(qc,{...e,defaultTheme:Ji,themeId:fa})}process.env.NODE_ENV!=="production"&&(su.propTypes={styles:t.oneOfType([t.array,t.func,t.number,t.object,t.string,t.bool])});function ar(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const yt=e=>ar(e)&&e!=="classes",L=Xc({themeId:fa,defaultTheme:Ji,rootShouldForwardProp:yt});function rg(e){return function(n){return m.jsx(su,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function ag(){return zi}const pe=fm;process.env.NODE_ENV!=="production"&&(t.node,t.object.isRequired);function ve(e){return um(e)}function ig(e){return me("MuiSvgIcon",e)}ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const sg=e=>{const{color:o,fontSize:n,classes:r}=e,a={root:["root",o!=="inherit"&&`color${D(o)}`,`fontSize${D(n)}`]};return he(a,ig,r)},lg=L("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="inherit"&&o[`color${D(n.color)}`],o[`fontSize${D(n.fontSize)}`]]}})(pe(({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}}]}))),Nr=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSvgIcon"}),{children:a,className:i,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:d,inheritViewBox:u=!1,titleAccess:f,viewBox:h="0 0 24 24",...v}=r,b=x.isValidElement(a)&&a.type==="svg",p={...r,color:s,component:l,fontSize:c,instanceFontSize:o.fontSize,inheritViewBox:u,viewBox:h,hasSvgAsChild:b},y={};u||(y.viewBox=h);const C=sg(p);return m.jsxs(lg,{as:l,className:Z(C.root,i),focusable:"false",color:d,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...y,...v,...b&&a.props,ownerState:p,children:[b?a.props.children:a,f?m.jsx("title",{children:f}):null]})});process.env.NODE_ENV!=="production"&&(Nr.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});Nr.muiName="SvgIcon";function ct(e,o){function n(r,a){return m.jsx(Nr,{"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=Nr.muiName,x.memo(x.forwardRef(n))}function lu(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 dt(e){return e&&e.ownerDocument||document}function go(e){return dt(e).defaultView||window}function yi(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function cg(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 mo(e){const{controlled:o,default:n,name:r,state:a="value"}=e,{current:i}=x.useRef(o!==void 0),[s,l]=x.useState(n),c=i?o:s;if(process.env.NODE_ENV!=="production"){x.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:
|
|
36
|
-
`))},[JSON.stringify(n)])}const
|
|
37
|
-
`))}return!1}const Ol={};function uu(e,o){const n=x.useRef(Ol);return n.current===Ol&&(n.current=e(o)),n}class Mr{static create(){return new Mr}static use(){const o=uu(Mr.create).current,[n,r]=x.useState(!1);return o.shouldMount=n,o.setShouldMount=r,x.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=mg(),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 fg(){return Mr.use()}function mg(){let e,o;const n=new Promise((r,a)=>{e=r,o=a});return n.resolve=e,n.reject=o,n}function du(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 vi(e,o){return vi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},vi(e,o)}function pu(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,vi(e,o)}const El={disabled:!1};var gg=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 Ar=Me.createContext(null);var bg=function(o){return o.scrollTop},Mn="unmounted",Lo="exited",Do="entering",on="entered",xi="exiting",Jt=(function(e){pu(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=Lo,i.appearStatus=Do):c=on:r.unmountOnExit||r.mountOnEnter?c=Mn:c=Lo,i.state={status:c},i.nextCallback=null,i}o.getDerivedStateFromProps=function(a,i){var s=a.in;return s&&i.status===Mn?{status:Lo}: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!==Do&&s!==on&&(i=Do):(s===Do||s===on)&&(i=xi)}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===Do){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:In.findDOMNode(this);s&&bg(s)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lo&&this.setState({status:Mn})},n.performEnter=function(a){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:a,c=this.props.nodeRef?[l]:[In.findDOMNode(this),l],d=c[0],u=c[1],f=this.getTimeouts(),h=l?f.appear:f.enter;if(!a&&!s||El.disabled){this.safeSetState({status:on},function(){i.props.onEntered(d)});return}this.props.onEnter(d,u),this.safeSetState({status:Do},function(){i.props.onEntering(d,u),i.onTransitionEnd(h,function(){i.safeSetState({status:on},function(){i.props.onEntered(d,u)})})})},n.performExit=function(){var a=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:In.findDOMNode(this);if(!i||El.disabled){this.safeSetState({status:Lo},function(){a.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:xi},function(){a.props.onExiting(l),a.onTransitionEnd(s.exit,function(){a.safeSetState({status:Lo},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:In.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],u=c[1];this.props.addEndListener(d,u)}a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===Mn)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=du(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Me.createElement(Ar.Provider,{value:null},typeof s=="function"?s(a,l):Me.cloneElement(Me.Children.only(s),l))},o})(Me.Component);Jt.contextType=Ar;Jt.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=gg;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 en(){}Jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:en,onEntering:en,onEntered:en,onExit:en,onExiting:en,onExited:en};Jt.UNMOUNTED=Mn;Jt.EXITED=Lo;Jt.ENTERING=Do;Jt.ENTERED=on;Jt.EXITING=xi;function hg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zi(e,o){var n=function(i){return o&&Me.isValidElement(i)?o(i):i},r=Object.create(null);return e&&Me.Children.map(e,function(a){return a}).forEach(function(a){r[a.key]=n(a)}),r}function yg(e,o){e=e||{},o=o||{};function n(u){return u in o?o[u]:e[u]}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 zo(e,o,n){return n[o]!=null?n[o]:e.props[o]}function vg(e,o){return Zi(e.children,function(n){return Me.cloneElement(n,{onExited:o.bind(null,n),in:!0,appear:zo(n,"appear",e),enter:zo(n,"enter",e),exit:zo(n,"exit",e)})})}function xg(e,o,n){var r=Zi(e.children),a=yg(o,r);return Object.keys(a).forEach(function(i){var s=a[i];if(Me.isValidElement(s)){var l=i in o,c=i in r,d=o[i],u=Me.isValidElement(d)&&!d.props.in;c&&(!l||u)?a[i]=Me.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:zo(s,"exit",e),enter:zo(s,"enter",e)}):!c&&l&&!u?a[i]=Me.cloneElement(s,{in:!1}):c&&l&&Me.isValidElement(d)&&(a[i]=Me.cloneElement(s,{onExited:n.bind(null,s),in:d.props.in,exit:zo(s,"exit",e),enter:zo(s,"enter",e)}))}}),a}var Cg=Object.values||function(e){return Object.keys(e).map(function(o){return e[o]})},Sg={component:"div",childFactory:function(o){return o}},Qi=(function(e){pu(o,e);function o(r,a){var i;i=e.call(this,r,a)||this;var s=i.handleExited.bind(hg(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?vg(a,l):xg(a,s,l),firstRender:!1}},n.handleExited=function(a,i){var s=Zi(this.props.children);a.key in s||(a.props.onExited&&a.props.onExited(i),this.mounted&&this.setState(function(l){var c=Ir({},l.children);return delete c[a.key],{children:c}}))},n.render=function(){var a=this.props,i=a.component,s=a.childFactory,l=du(a,["component","childFactory"]),c=this.state.contextValue,d=Cg(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?Me.createElement(Ar.Provider,{value:c},d):Me.createElement(Ar.Provider,{value:c},Me.createElement(i,l,d))},o})(Me.Component);Qi.propTypes=process.env.NODE_ENV!=="production"?{component:t.any,children:t.node,appear:t.bool,enter:t.bool,exit:t.bool,childFactory:t.func}:{};Qi.defaultProps=Sg;const wg=[];function Tg(e){x.useEffect(e,wg)}class es{static create(){return new es}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 ma(){const e=uu(es.create).current;return Tg(e.disposeEffect),e}function fu(e){const{className:o,classes:n,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:s,in:l,onExited:c,timeout:d}=e,[u,f]=x.useState(!1),h=Z(o,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:s,height:s,top:-(s/2)+i,left:-(s/2)+a},b=Z(n.child,u&&n.childLeaving,r&&n.childPulsate);return!l&&!u&&f(!0),x.useEffect(()=>{if(!l&&c!=null){const p=setTimeout(c,d);return()=>{clearTimeout(p)}}},[c,l,d]),m.jsx("span",{className:h,style:v,children:m.jsx("span",{className:b})})}process.env.NODE_ENV!=="production"&&(fu.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 zt=ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ci=550,Og=80,Eg=co`
|
|
32
|
+
export default theme;`}function Pl(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const vg=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 xg(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})`:ht(o,vg(n))},lighten(o,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${o}, #fff ${Pl(n)})`:pa(o,n)},darken(o,n){const r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${o}, #000 ${Pl(n)})`:da(o,n)}})}function hs(e={},...o){const{breakpoints:n,mixins:r={},spacing:a,palette:s={},transitions:i={},typography:l={},shape:c,colorSpace:u,...d}=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.":io(20));const f=Xs({...s,colorSpace:u}),b=la(e);let y=bt(b,{mixins:ig(b.breakpoints,r),palette:f,shadows:fg.slice(),typography:cg(f,l),transitions:hg(i),zIndex:{...bg}});if(y=bt(y,d),y=o.reduce((h,p)=>bt(h,p),y),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],p=(v,x)=>{let O;for(O in v){const w=v[O];if(h.includes(O)&&Object.keys(w).length>0){if(process.env.NODE_ENV!=="production"){const S=me("",O);console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${O}\` internal state.`,"You can not override it like this: ",JSON.stringify(v,null,2),"",`Instead, you need to use the '&.${S}' syntax:`,JSON.stringify({root:{[`&.${S}`]:w}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
33
|
+
`))}v[O]={}}}};Object.keys(y.components).forEach(v=>{const x=y.components[v].styleOverrides;x&&v.startsWith("Mui")&&p(x,v)})}return y.unstable_sxConfig={...tr,...d?.unstable_sxConfig},y.unstable_sx=function(p){return Uo({sx:p,theme:this})},y.toRuntimeSource=iu,xg(y),y}function bs(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 Cg=[...Array(25)].map((e,o)=>{if(o===0)return"none";const n=bs(o);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function lu(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function cu(e){return e==="dark"?Cg:[]}function Sg(e){const{palette:o={mode:"light"},opacity:n,overlays:r,colorSpace:a,...s}=e,i=Xs({...o,colorSpace:a});return{palette:i,opacity:{...lu(i.mode),...n},overlays:r||cu(i.mode),...s}}function wg(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 Tg=e=>[...[...Array(25)].map((o,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Og=e=>(o,n)=>{const r=e.rootSelector||":root",a=e.colorSchemeSelector;let s=a;if(a==="class"&&(s=".%s"),a==="data"&&(s="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(s=`[${a}="%s"]`),e.defaultColorScheme===o){if(o==="dark"){const i={};return Tg(e.cssVarPrefix).forEach(l=>{i[l]=n[l],delete n[l]}),s==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:s?{[s.replace("%s",o)]:i,[`${r}, ${s.replace("%s",o)}`]:n}:{[r]:{...n,...i}}}if(s&&s!=="media")return`${r}, ${s.replace("%s",String(o))}`}else if(o){if(s==="media")return{[`@media (prefers-color-scheme: ${String(o)})`]:{[r]:n}};if(s)return s.replace("%s",String(o))}return r};function Eg(e,o){o.forEach(n=>{e[n]||(e[n]={})})}function _(e,o,n){!e[o]&&n&&(e[o]=n)}function Nn(e){return typeof e!="string"||!e.startsWith("hsl")?e:ou(e)}function po(e,o){`${o}Channel`in e||(e[`${o}Channel`]=jn(Nn(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 Pg(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Qt=e=>{try{return e()}catch{}},kg=(e="mui")=>zm(e);function Ya(e,o,n,r,a){if(!n)return;n=n===!0?{}:n;const s=a==="dark"?"dark":"light";if(!r){o[a]=Sg({...n,palette:{mode:s,...n?.palette},colorSpace:e});return}const{palette:i,...l}=hs({...r,palette:{mode:s,...n?.palette},colorSpace:e});return o[a]={...n,palette:i,opacity:{...lu(s),...n?.opacity},overlays:n?.overlays||cu(s)},l}function Rg(e={},...o){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:a=!1,cssVarPrefix:s="mui",nativeColor:i=!1,shouldSkipGeneratingVar:l=wg,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:u=":root",...d}=e,f=Object.keys(n)[0],b=r||(n.light&&f!=="light"?"light":f),y=kg(s),{[b]:h,light:p,dark:v,...x}=n,O={...x};let w=h;if((b==="dark"&&!("dark"in n)||b==="light"&&!("light"in n))&&(w=!0),!w)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${b}\` option is either missing or invalid.`:io(21,b));let S;i&&(S="oklch");const T=Ya(S,O,w,d,b);p&&!O.light&&Ya(S,O,p,void 0,"light"),v&&!O.dark&&Ya(S,O,v,void 0,"dark");let E={defaultColorScheme:b,...T,cssVarPrefix:s,colorSchemeSelector:c,rootSelector:u,getCssVar:y,colorSchemes:O,font:{...sg(T.typography),...T.font},spacing:Pg(d.spacing)};Object.keys(E.colorSchemes).forEach(D=>{const m=E.colorSchemes[D].palette,I=j=>{const R=j.split("-"),W=R[1],G=R[2];return y(j,m[W][G])};m.mode==="light"&&(_(m.common,"background","#fff"),_(m.common,"onBackground","#000")),m.mode==="dark"&&(_(m.common,"background","#000"),_(m.common,"onBackground","#fff"));function P(j,R,W){if(S){let G;return j===Mo&&(G=`transparent ${((1-W)*100).toFixed(0)}%`),j===Ge&&(G=`#000 ${(W*100).toFixed(0)}%`),j===Ke&&(G=`#fff ${(W*100).toFixed(0)}%`),`color-mix(in ${S}, ${R}, ${G})`}return j(R,W)}if(Eg(m,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),m.mode==="light"){_(m.Alert,"errorColor",P(Ge,m.error.light,.6)),_(m.Alert,"infoColor",P(Ge,m.info.light,.6)),_(m.Alert,"successColor",P(Ge,m.success.light,.6)),_(m.Alert,"warningColor",P(Ge,m.warning.light,.6)),_(m.Alert,"errorFilledBg",I("palette-error-main")),_(m.Alert,"infoFilledBg",I("palette-info-main")),_(m.Alert,"successFilledBg",I("palette-success-main")),_(m.Alert,"warningFilledBg",I("palette-warning-main")),_(m.Alert,"errorFilledColor",Qt(()=>m.getContrastText(m.error.main))),_(m.Alert,"infoFilledColor",Qt(()=>m.getContrastText(m.info.main))),_(m.Alert,"successFilledColor",Qt(()=>m.getContrastText(m.success.main))),_(m.Alert,"warningFilledColor",Qt(()=>m.getContrastText(m.warning.main))),_(m.Alert,"errorStandardBg",P(Ke,m.error.light,.9)),_(m.Alert,"infoStandardBg",P(Ke,m.info.light,.9)),_(m.Alert,"successStandardBg",P(Ke,m.success.light,.9)),_(m.Alert,"warningStandardBg",P(Ke,m.warning.light,.9)),_(m.Alert,"errorIconColor",I("palette-error-main")),_(m.Alert,"infoIconColor",I("palette-info-main")),_(m.Alert,"successIconColor",I("palette-success-main")),_(m.Alert,"warningIconColor",I("palette-warning-main")),_(m.AppBar,"defaultBg",I("palette-grey-100")),_(m.Avatar,"defaultBg",I("palette-grey-400")),_(m.Button,"inheritContainedBg",I("palette-grey-300")),_(m.Button,"inheritContainedHoverBg",I("palette-grey-A100")),_(m.Chip,"defaultBorder",I("palette-grey-400")),_(m.Chip,"defaultAvatarColor",I("palette-grey-700")),_(m.Chip,"defaultIconColor",I("palette-grey-700")),_(m.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),_(m.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),_(m.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),_(m.LinearProgress,"primaryBg",P(Ke,m.primary.main,.62)),_(m.LinearProgress,"secondaryBg",P(Ke,m.secondary.main,.62)),_(m.LinearProgress,"errorBg",P(Ke,m.error.main,.62)),_(m.LinearProgress,"infoBg",P(Ke,m.info.main,.62)),_(m.LinearProgress,"successBg",P(Ke,m.success.main,.62)),_(m.LinearProgress,"warningBg",P(Ke,m.warning.main,.62)),_(m.Skeleton,"bg",S?P(Mo,m.text.primary,.11):`rgba(${I("palette-text-primaryChannel")} / 0.11)`),_(m.Slider,"primaryTrack",P(Ke,m.primary.main,.62)),_(m.Slider,"secondaryTrack",P(Ke,m.secondary.main,.62)),_(m.Slider,"errorTrack",P(Ke,m.error.main,.62)),_(m.Slider,"infoTrack",P(Ke,m.info.main,.62)),_(m.Slider,"successTrack",P(Ke,m.success.main,.62)),_(m.Slider,"warningTrack",P(Ke,m.warning.main,.62));const j=S?P(Ge,m.background.default,.6825):br(m.background.default,.8);_(m.SnackbarContent,"bg",j),_(m.SnackbarContent,"color",Qt(()=>S?gs.text.primary:m.getContrastText(j))),_(m.SpeedDialAction,"fabHoverBg",br(m.background.paper,.15)),_(m.StepConnector,"border",I("palette-grey-400")),_(m.StepContent,"border",I("palette-grey-400")),_(m.Switch,"defaultColor",I("palette-common-white")),_(m.Switch,"defaultDisabledColor",I("palette-grey-100")),_(m.Switch,"primaryDisabledColor",P(Ke,m.primary.main,.62)),_(m.Switch,"secondaryDisabledColor",P(Ke,m.secondary.main,.62)),_(m.Switch,"errorDisabledColor",P(Ke,m.error.main,.62)),_(m.Switch,"infoDisabledColor",P(Ke,m.info.main,.62)),_(m.Switch,"successDisabledColor",P(Ke,m.success.main,.62)),_(m.Switch,"warningDisabledColor",P(Ke,m.warning.main,.62)),_(m.TableCell,"border",P(Ke,P(Mo,m.divider,1),.88)),_(m.Tooltip,"bg",P(Mo,m.grey[700],.92))}if(m.mode==="dark"){_(m.Alert,"errorColor",P(Ke,m.error.light,.6)),_(m.Alert,"infoColor",P(Ke,m.info.light,.6)),_(m.Alert,"successColor",P(Ke,m.success.light,.6)),_(m.Alert,"warningColor",P(Ke,m.warning.light,.6)),_(m.Alert,"errorFilledBg",I("palette-error-dark")),_(m.Alert,"infoFilledBg",I("palette-info-dark")),_(m.Alert,"successFilledBg",I("palette-success-dark")),_(m.Alert,"warningFilledBg",I("palette-warning-dark")),_(m.Alert,"errorFilledColor",Qt(()=>m.getContrastText(m.error.dark))),_(m.Alert,"infoFilledColor",Qt(()=>m.getContrastText(m.info.dark))),_(m.Alert,"successFilledColor",Qt(()=>m.getContrastText(m.success.dark))),_(m.Alert,"warningFilledColor",Qt(()=>m.getContrastText(m.warning.dark))),_(m.Alert,"errorStandardBg",P(Ge,m.error.light,.9)),_(m.Alert,"infoStandardBg",P(Ge,m.info.light,.9)),_(m.Alert,"successStandardBg",P(Ge,m.success.light,.9)),_(m.Alert,"warningStandardBg",P(Ge,m.warning.light,.9)),_(m.Alert,"errorIconColor",I("palette-error-main")),_(m.Alert,"infoIconColor",I("palette-info-main")),_(m.Alert,"successIconColor",I("palette-success-main")),_(m.Alert,"warningIconColor",I("palette-warning-main")),_(m.AppBar,"defaultBg",I("palette-grey-900")),_(m.AppBar,"darkBg",I("palette-background-paper")),_(m.AppBar,"darkColor",I("palette-text-primary")),_(m.Avatar,"defaultBg",I("palette-grey-600")),_(m.Button,"inheritContainedBg",I("palette-grey-800")),_(m.Button,"inheritContainedHoverBg",I("palette-grey-700")),_(m.Chip,"defaultBorder",I("palette-grey-700")),_(m.Chip,"defaultAvatarColor",I("palette-grey-300")),_(m.Chip,"defaultIconColor",I("palette-grey-300")),_(m.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),_(m.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),_(m.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),_(m.LinearProgress,"primaryBg",P(Ge,m.primary.main,.5)),_(m.LinearProgress,"secondaryBg",P(Ge,m.secondary.main,.5)),_(m.LinearProgress,"errorBg",P(Ge,m.error.main,.5)),_(m.LinearProgress,"infoBg",P(Ge,m.info.main,.5)),_(m.LinearProgress,"successBg",P(Ge,m.success.main,.5)),_(m.LinearProgress,"warningBg",P(Ge,m.warning.main,.5)),_(m.Skeleton,"bg",S?P(Mo,m.text.primary,.13):`rgba(${I("palette-text-primaryChannel")} / 0.13)`),_(m.Slider,"primaryTrack",P(Ge,m.primary.main,.5)),_(m.Slider,"secondaryTrack",P(Ge,m.secondary.main,.5)),_(m.Slider,"errorTrack",P(Ge,m.error.main,.5)),_(m.Slider,"infoTrack",P(Ge,m.info.main,.5)),_(m.Slider,"successTrack",P(Ge,m.success.main,.5)),_(m.Slider,"warningTrack",P(Ge,m.warning.main,.5));const j=S?P(Ke,m.background.default,.985):br(m.background.default,.98);_(m.SnackbarContent,"bg",j),_(m.SnackbarContent,"color",Qt(()=>S?ru.text.primary:m.getContrastText(j))),_(m.SpeedDialAction,"fabHoverBg",br(m.background.paper,.15)),_(m.StepConnector,"border",I("palette-grey-600")),_(m.StepContent,"border",I("palette-grey-600")),_(m.Switch,"defaultColor",I("palette-grey-300")),_(m.Switch,"defaultDisabledColor",I("palette-grey-600")),_(m.Switch,"primaryDisabledColor",P(Ge,m.primary.main,.55)),_(m.Switch,"secondaryDisabledColor",P(Ge,m.secondary.main,.55)),_(m.Switch,"errorDisabledColor",P(Ge,m.error.main,.55)),_(m.Switch,"infoDisabledColor",P(Ge,m.info.main,.55)),_(m.Switch,"successDisabledColor",P(Ge,m.success.main,.55)),_(m.Switch,"warningDisabledColor",P(Ge,m.warning.main,.55)),_(m.TableCell,"border",P(Ge,P(Mo,m.divider,1),.68)),_(m.Tooltip,"bg",P(Mo,m.grey[700],.92))}po(m.background,"default"),po(m.background,"paper"),po(m.common,"background"),po(m.common,"onBackground"),po(m,"divider"),Object.keys(m).forEach(j=>{const R=m[j];j!=="tonalOffset"&&R&&typeof R=="object"&&(R.main&&_(m[j],"mainChannel",jn(Nn(R.main))),R.light&&_(m[j],"lightChannel",jn(Nn(R.light))),R.dark&&_(m[j],"darkChannel",jn(Nn(R.dark))),R.contrastText&&_(m[j],"contrastTextChannel",jn(Nn(R.contrastText))),j==="text"&&(po(m[j],"primary"),po(m[j],"secondary")),j==="action"&&(R.active&&po(m[j],"active"),R.selected&&po(m[j],"selected")))})}),E=o.reduce((D,m)=>bt(D,m),E);const k={prefix:s,disableCssColorScheme:a,shouldSkipGeneratingVar:l,getSelector:Og(E),enableContrastVars:i},{vars:$,generateThemeVars:N,generateStyleSheets:M}=Wm(E,k);return E.vars=$,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach(([D,m])=>{E[D]=m}),E.generateThemeVars=N,E.generateStyleSheets=M,E.generateSpacing=function(){return Yc(d.spacing,Zr(this))},E.getColorSchemeSelector=Um(c),E.spacing=E.generateSpacing(),E.shouldSkipGeneratingVar=l,E.unstable_sxConfig={...tr,...d?.unstable_sxConfig},E.unstable_sx=function(m){return Uo({sx:m,theme:this})},E.toRuntimeSource=iu,E}function kl(e,o,n){e.colorSchemes&&n&&(e.colorSchemes[o]={...n!==!0&&n,palette:Xs({...n===!0?{}:n.palette,mode:o})})}function uu(e={},...o){const{palette:n,cssVariables:r=!1,colorSchemes:a=n?void 0:{light:!0},defaultColorScheme:s=n?.mode,...i}=e,l=s||"light",c=a?.[l],u={...a,...n?{[l]:{...typeof c!="boolean"&&c,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return hs(e,...o);let d=n;"palette"in e||u[l]&&(u[l]!==!0?d=u[l].palette:l==="dark"&&(d={mode:"dark"}));const f=hs({...e,palette:d},...o);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},kl(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},kl(f,"light",u.light)),f}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),Rg({...i,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...o)}const Js=uu(),fa="$$material";function xo(){const e=ca(Js);return process.env.NODE_ENV!=="production"&&C.useDebugValue(e),e[fa]||e}function du(e){return g.jsx(Xc,{...e,defaultTheme:Js,themeId:fa})}process.env.NODE_ENV!=="production"&&(du.propTypes={styles:t.oneOfType([t.array,t.func,t.number,t.object,t.string,t.bool])});function ar(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const yt=e=>ar(e)&&e!=="classes",L=eu({themeId:fa,defaultTheme:Js,rootShouldForwardProp:yt});function $g(e){return function(n){return g.jsx(du,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function Ig(){return zs}const pe=Fm;process.env.NODE_ENV!=="production"&&(t.node,t.object.isRequired);function ve(e){return Lm(e)}function jg(e){return me("MuiSvgIcon",e)}ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ng=e=>{const{color:o,fontSize:n,classes:r}=e,a={root:["root",o!=="inherit"&&`color${B(o)}`,`fontSize${B(n)}`]};return be(a,jg,r)},Mg=L("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="inherit"&&o[`color${B(n.color)}`],o[`fontSize${B(n.fontSize)}`]]}})(pe(({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}}]}))),Nr=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSvgIcon"}),{children:a,className:s,color:i="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:d=!1,titleAccess:f,viewBox:b="0 0 24 24",...y}=r,h=C.isValidElement(a)&&a.type==="svg",p={...r,color:i,component:l,fontSize:c,instanceFontSize:o.fontSize,inheritViewBox:d,viewBox:b,hasSvgAsChild:h},v={};d||(v.viewBox=b);const x=Ng(p);return g.jsxs(Mg,{as:l,className:Z(x.root,s),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...v,...y,...h&&a.props,ownerState:p,children:[h?a.props.children:a,f?g.jsx("title",{children:f}):null]})});process.env.NODE_ENV!=="production"&&(Nr.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});Nr.muiName="SvgIcon";function ct(e,o){function n(r,a){return g.jsx(Nr,{"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=Nr.muiName,C.memo(C.forwardRef(n))}function pu(e,o=166){let n;function r(...a){const s=()=>{e.apply(this,a)};clearTimeout(n),n=setTimeout(s,o)}return r.clear=()=>{clearTimeout(n)},r}function dt(e){return e&&e.ownerDocument||document}function go(e){return dt(e).defaultView||window}function ys(e,o){typeof e=="function"?e(o):e&&(e.current=o)}function Ag(e,o,n,r,a){if(process.env.NODE_ENV==="production")return null;const s=a||o;return typeof e[o]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function mo(e){const{controlled:o,default:n,name:r,state:a="value"}=e,{current:s}=C.useRef(o!==void 0),[i,l]=C.useState(n),c=s?o:i;if(process.env.NODE_ENV!=="production"){C.useEffect(()=>{s!==(o!==void 0)&&console.error([`MUI: A component is changing the ${s?"":"un"}controlled ${a} state of ${r} to be ${s?"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:d}=C.useRef(n);C.useEffect(()=>{!s&&JSON.stringify(n)!==JSON.stringify(d)&&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 u=C.useCallback(d=>{s||l(d)},[]);return[c,u]}function Ct(e){const o=C.useRef(e);return Ht(()=>{o.current=e}),C.useRef((...n)=>(0,o.current)(...n)).current}function et(...e){const o=C.useRef(void 0),n=C.useCallback(r=>{const a=e.map(s=>{if(s==null)return null;if(typeof s=="function"){const i=s,l=i(r);return typeof l=="function"?l:()=>{i(null)}}return s.current=r,()=>{s.current=null}});return()=>{a.forEach(s=>s?.())}},e);return C.useMemo(()=>e.every(r=>r==null)?null:r=>{o.current&&(o.current(),o.current=void 0),r!=null&&(o.current=n(r))},e)}function Lg(e,o){const n=e.charCodeAt(2);return e[0]==="o"&&e[1]==="n"&&n>=65&&n<=90&&typeof o=="function"}function fu(e,o){if(!e)return o;function n(i,l){const c={};return Object.keys(l).forEach(u=>{Lg(u,l[u])&&typeof i[u]=="function"&&(c[u]=(...d)=>{i[u](...d),l[u](...d)})}),c}if(typeof e=="function"||typeof o=="function")return i=>{const l=typeof o=="function"?o(i):o,c=typeof e=="function"?e({...i,...l}):e,u=Z(i?.className,l?.className,c?.className),d=n(c,l);return{...l,...c,...d,...!!u&&{className:u},...l?.style&&c?.style&&{style:{...l.style,...c.style}},...l?.sx&&c?.sx&&{sx:[...Array.isArray(l.sx)?l.sx:[l.sx],...Array.isArray(c.sx)?c.sx:[c.sx]]}}};const r=o,a=n(e,r),s=Z(r?.className,e?.className);return{...o,...e,...a,...!!s&&{className:s},...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 Ot=t.oneOfType([t.func,t.object]);function St(e,o){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||o(...r)}}function Dg(e){const{prototype:o={}}=e;return!!o.isReactComponent}function Bg(e,o,n,r,a){const s=e[o],i=a||o;if(s==null||typeof window>"u")return null;let l;return typeof s=="function"&&!Dg(s)&&(l="Did you accidentally provide a plain function component instead?"),l!==void 0?new Error(`Invalid ${r} \`${i}\` 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 sr=St(t.elementType,Bg);function un(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 Rl={};function mu(e,o){const n=C.useRef(Rl);return n.current===Rl&&(n.current=e(o)),n}class Mr{static create(){return new Mr}static use(){const o=mu(Mr.create).current,[n,r]=C.useState(!1);return o.shouldMount=n,o.setShouldMount=r,C.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=zg(),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 Fg(){return Mr.use()}function zg(){let e,o;const n=new Promise((r,a)=>{e=r,o=a});return n.resolve=e,n.reject=o,n}function gu(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 vs(e,o){return vs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},vs(e,o)}function hu(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,vs(e,o)}const $l={disabled:!1};var Vg=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 Ar=Me.createContext(null);var _g=function(o){return o.scrollTop},Mn="unmounted",Lo="exited",Do="entering",on="entered",xs="exiting",Jt=(function(e){hu(o,e);function o(r,a){var s;s=e.call(this,r,a)||this;var i=a,l=i&&!i.isMounting?r.enter:r.appear,c;return s.appearStatus=null,r.in?l?(c=Lo,s.appearStatus=Do):c=on:r.unmountOnExit||r.mountOnEnter?c=Mn:c=Lo,s.state={status:c},s.nextCallback=null,s}o.getDerivedStateFromProps=function(a,s){var i=a.in;return i&&s.status===Mn?{status:Lo}:null};var n=o.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(a){var s=null;if(a!==this.props){var i=this.state.status;this.props.in?i!==Do&&i!==on&&(s=Do):(i===Do||i===on)&&(s=xs)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var a=this.props.timeout,s,i,l;return s=i=l=a,a!=null&&typeof a!="number"&&(s=a.exit,i=a.enter,l=a.appear!==void 0?a.appear:i),{exit:s,enter:i,appear:l}},n.updateStatus=function(a,s){if(a===void 0&&(a=!1),s!==null)if(this.cancelNextCallback(),s===Do){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:In.findDOMNode(this);i&&_g(i)}this.performEnter(a)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Lo&&this.setState({status:Mn})},n.performEnter=function(a){var s=this,i=this.props.enter,l=this.context?this.context.isMounting:a,c=this.props.nodeRef?[l]:[In.findDOMNode(this),l],u=c[0],d=c[1],f=this.getTimeouts(),b=l?f.appear:f.enter;if(!a&&!i||$l.disabled){this.safeSetState({status:on},function(){s.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:Do},function(){s.props.onEntering(u,d),s.onTransitionEnd(b,function(){s.safeSetState({status:on},function(){s.props.onEntered(u,d)})})})},n.performExit=function(){var a=this,s=this.props.exit,i=this.getTimeouts(),l=this.props.nodeRef?void 0:In.findDOMNode(this);if(!s||$l.disabled){this.safeSetState({status:Lo},function(){a.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:xs},function(){a.props.onExiting(l),a.onTransitionEnd(i.exit,function(){a.safeSetState({status:Lo},function(){a.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(a,s){s=this.setNextCallback(s),this.setState(a,s)},n.setNextCallback=function(a){var s=this,i=!0;return this.nextCallback=function(l){i&&(i=!1,s.nextCallback=null,a(l))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(a,s){this.setNextCallback(s);var i=this.props.nodeRef?this.props.nodeRef.current:In.findDOMNode(this),l=a==null&&!this.props.addEndListener;if(!i||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=c[0],d=c[1];this.props.addEndListener(u,d)}a!=null&&setTimeout(this.nextCallback,a)},n.render=function(){var a=this.state.status;if(a===Mn)return null;var s=this.props,i=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var l=gu(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Me.createElement(Ar.Provider,{value:null},typeof i=="function"?i(a,l):Me.cloneElement(Me.Children.only(i),l))},o})(Me.Component);Jt.contextType=Ar;Jt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:t.shape({current:typeof Element>"u"?t.any:function(e,o,n,r,a,s){var i=e[o];return t.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,o,n,r,a,s)}}),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=Vg;o.addEndListener||(n=n.isRequired);for(var r=arguments.length,a=new Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];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 en(){}Jt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:en,onEntering:en,onEntered:en,onExit:en,onExiting:en,onExited:en};Jt.UNMOUNTED=Mn;Jt.EXITED=Lo;Jt.ENTERING=Do;Jt.ENTERED=on;Jt.EXITING=xs;function Wg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zs(e,o){var n=function(s){return o&&Me.isValidElement(s)?o(s):s},r=Object.create(null);return e&&Me.Children.map(e,function(a){return a}).forEach(function(a){r[a.key]=n(a)}),r}function Ug(e,o){e=e||{},o=o||{};function n(d){return d in o?o[d]:e[d]}var r=Object.create(null),a=[];for(var s in e)s in o?a.length&&(r[s]=a,a=[]):a.push(s);var i,l={};for(var c in o){if(r[c])for(i=0;i<r[c].length;i++){var u=r[c][i];l[r[c][i]]=n(u)}l[c]=n(c)}for(i=0;i<a.length;i++)l[a[i]]=n(a[i]);return l}function zo(e,o,n){return n[o]!=null?n[o]:e.props[o]}function Hg(e,o){return Zs(e.children,function(n){return Me.cloneElement(n,{onExited:o.bind(null,n),in:!0,appear:zo(n,"appear",e),enter:zo(n,"enter",e),exit:zo(n,"exit",e)})})}function qg(e,o,n){var r=Zs(e.children),a=Ug(o,r);return Object.keys(a).forEach(function(s){var i=a[s];if(Me.isValidElement(i)){var l=s in o,c=s in r,u=o[s],d=Me.isValidElement(u)&&!u.props.in;c&&(!l||d)?a[s]=Me.cloneElement(i,{onExited:n.bind(null,i),in:!0,exit:zo(i,"exit",e),enter:zo(i,"enter",e)}):!c&&l&&!d?a[s]=Me.cloneElement(i,{in:!1}):c&&l&&Me.isValidElement(u)&&(a[s]=Me.cloneElement(i,{onExited:n.bind(null,i),in:u.props.in,exit:zo(i,"exit",e),enter:zo(i,"enter",e)}))}}),a}var Gg=Object.values||function(e){return Object.keys(e).map(function(o){return e[o]})},Kg={component:"div",childFactory:function(o){return o}},Qs=(function(e){hu(o,e);function o(r,a){var s;s=e.call(this,r,a)||this;var i=s.handleExited.bind(Wg(s));return s.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},s}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,s){var i=s.children,l=s.handleExited,c=s.firstRender;return{children:c?Hg(a,l):qg(a,i,l),firstRender:!1}},n.handleExited=function(a,s){var i=Zs(this.props.children);a.key in i||(a.props.onExited&&a.props.onExited(s),this.mounted&&this.setState(function(l){var c=Ir({},l.children);return delete c[a.key],{children:c}}))},n.render=function(){var a=this.props,s=a.component,i=a.childFactory,l=gu(a,["component","childFactory"]),c=this.state.contextValue,u=Gg(this.state.children).map(i);return delete l.appear,delete l.enter,delete l.exit,s===null?Me.createElement(Ar.Provider,{value:c},u):Me.createElement(Ar.Provider,{value:c},Me.createElement(s,l,u))},o})(Me.Component);Qs.propTypes=process.env.NODE_ENV!=="production"?{component:t.any,children:t.node,appear:t.bool,enter:t.bool,exit:t.bool,childFactory:t.func}:{};Qs.defaultProps=Kg;const Yg=[];function Xg(e){C.useEffect(e,Yg)}class ei{static create(){return new ei}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 ma(){const e=mu(ei.create).current;return Xg(e.disposeEffect),e}function bu(e){const{className:o,classes:n,pulsate:r=!1,rippleX:a,rippleY:s,rippleSize:i,in:l,onExited:c,timeout:u}=e,[d,f]=C.useState(!1),b=Z(o,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:i,height:i,top:-(i/2)+s,left:-(i/2)+a},h=Z(n.child,d&&n.childLeaving,r&&n.childPulsate);return!l&&!d&&f(!0),C.useEffect(()=>{if(!l&&c!=null){const p=setTimeout(c,u);return()=>{clearTimeout(p)}}},[c,l,u]),g.jsx("span",{className:b,style:y,children:g.jsx("span",{className:h})})}process.env.NODE_ENV!=="production"&&(bu.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 zt=ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Cs=550,Jg=80,Zg=co`
|
|
38
38
|
0% {
|
|
39
39
|
transform: scale(0);
|
|
40
40
|
opacity: 0.1;
|
|
@@ -44,7 +44,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
44
44
|
transform: scale(1);
|
|
45
45
|
opacity: 0.3;
|
|
46
46
|
}
|
|
47
|
-
`,
|
|
47
|
+
`,Qg=co`
|
|
48
48
|
0% {
|
|
49
49
|
opacity: 1;
|
|
50
50
|
}
|
|
@@ -52,7 +52,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
52
52
|
100% {
|
|
53
53
|
opacity: 0;
|
|
54
54
|
}
|
|
55
|
-
`,
|
|
55
|
+
`,eh=co`
|
|
56
56
|
0% {
|
|
57
57
|
transform: scale(1);
|
|
58
58
|
}
|
|
@@ -64,15 +64,15 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
64
64
|
100% {
|
|
65
65
|
transform: scale(1);
|
|
66
66
|
}
|
|
67
|
-
`,
|
|
67
|
+
`,th=L("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),oh=L(bu,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
68
68
|
opacity: 0;
|
|
69
69
|
position: absolute;
|
|
70
70
|
|
|
71
71
|
&.${zt.rippleVisible} {
|
|
72
72
|
opacity: 0.3;
|
|
73
73
|
transform: scale(1);
|
|
74
|
-
animation-name: ${
|
|
75
|
-
animation-duration: ${
|
|
74
|
+
animation-name: ${Zg};
|
|
75
|
+
animation-duration: ${Cs}ms;
|
|
76
76
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -91,8 +91,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
91
91
|
|
|
92
92
|
& .${zt.childLeaving} {
|
|
93
93
|
opacity: 0;
|
|
94
|
-
animation-name: ${
|
|
95
|
-
animation-duration: ${
|
|
94
|
+
animation-name: ${Qg};
|
|
95
|
+
animation-duration: ${Cs}ms;
|
|
96
96
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -101,13 +101,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
101
101
|
/* @noflip */
|
|
102
102
|
left: 0px;
|
|
103
103
|
top: 0;
|
|
104
|
-
animation-name: ${
|
|
104
|
+
animation-name: ${eh};
|
|
105
105
|
animation-duration: 2500ms;
|
|
106
106
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
107
107
|
animation-iteration-count: infinite;
|
|
108
108
|
animation-delay: 200ms;
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,yu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiTouchRipple"}),{center:a=!1,classes:s={},className:i,...l}=r,[c,u]=C.useState([]),d=C.useRef(0),f=C.useRef(null);C.useEffect(()=>{f.current&&(f.current(),f.current=null)},[c]);const b=C.useRef(!1),y=ma(),h=C.useRef(null),p=C.useRef(null),v=C.useCallback(S=>{const{pulsate:T,rippleX:E,rippleY:k,rippleSize:$,cb:N}=S;u(M=>[...M,g.jsx(oh,{classes:{ripple:Z(s.ripple,zt.ripple),rippleVisible:Z(s.rippleVisible,zt.rippleVisible),ripplePulsate:Z(s.ripplePulsate,zt.ripplePulsate),child:Z(s.child,zt.child),childLeaving:Z(s.childLeaving,zt.childLeaving),childPulsate:Z(s.childPulsate,zt.childPulsate)},timeout:Cs,pulsate:T,rippleX:E,rippleY:k,rippleSize:$},d.current)]),d.current+=1,f.current=N},[s]),x=C.useCallback((S={},T={},E=()=>{})=>{const{pulsate:k=!1,center:$=a||T.pulsate,fakeElement:N=!1}=T;if(S?.type==="mousedown"&&b.current){b.current=!1;return}S?.type==="touchstart"&&(b.current=!0);const M=N?null:p.current,D=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let m,I,P;if($||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)m=Math.round(D.width/2),I=Math.round(D.height/2);else{const{clientX:j,clientY:R}=S.touches&&S.touches.length>0?S.touches[0]:S;m=Math.round(j-D.left),I=Math.round(R-D.top)}if($)P=Math.sqrt((2*D.width**2+D.height**2)/3),P%2===0&&(P+=1);else{const j=Math.max(Math.abs((M?M.clientWidth:0)-m),m)*2+2,R=Math.max(Math.abs((M?M.clientHeight:0)-I),I)*2+2;P=Math.sqrt(j**2+R**2)}S?.touches?h.current===null&&(h.current=()=>{v({pulsate:k,rippleX:m,rippleY:I,rippleSize:P,cb:E})},y.start(Jg,()=>{h.current&&(h.current(),h.current=null)})):v({pulsate:k,rippleX:m,rippleY:I,rippleSize:P,cb:E})},[a,v,y]),O=C.useCallback(()=>{x({},{pulsate:!0})},[x]),w=C.useCallback((S,T)=>{if(y.clear(),S?.type==="touchend"&&h.current){h.current(),h.current=null,y.start(0,()=>{w(S,T)});return}h.current=null,u(E=>E.length>0?E.slice(1):E),f.current=T},[y]);return C.useImperativeHandle(n,()=>({pulsate:O,start:x,stop:w}),[O,x,w]),g.jsx(th,{className:Z(zt.root,s.root,i),ref:p,...l,children:g.jsx(Qs,{component:null,exit:!0,children:c})})});process.env.NODE_ENV!=="production"&&(yu.propTypes={center:t.bool,classes:t.object,className:t.string});function nh(e){return me("MuiButtonBase",e)}const rh=ge("MuiButtonBase",["root","disabled","focusVisible"]),ah=e=>{const{disabled:o,focusVisible:n,focusVisibleClassName:r,classes:a}=e,i=be({root:["root",o&&"disabled",n&&"focusVisible"]},nh,a);return n&&r&&(i.root+=` ${r}`),i},sh=L("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"},[`&.${rh.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ho=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:i,className:l,component:c="button",disabled:u=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:b=!1,focusVisibleClassName:y,LinkComponent:h="a",onBlur:p,onClick:v,onContextMenu:x,onDragLeave:O,onFocus:w,onFocusVisible:S,onKeyDown:T,onKeyUp:E,onMouseDown:k,onMouseLeave:$,onMouseUp:N,onTouchEnd:M,onTouchMove:D,onTouchStart:m,tabIndex:I=0,TouchRippleProps:P,touchRippleRef:j,type:R,...W}=r,G=C.useRef(null),H=Fg(),F=et(H.ref,j),[A,X]=C.useState(!1);u&&A&&X(!1),C.useImperativeHandle(a,()=>({focusVisible:()=>{X(!0),G.current.focus()}}),[]);const ee=H.shouldMount&&!d&&!u;C.useEffect(()=>{A&&b&&!d&&H.pulsate()},[d,b,A,H]);const se=fo(H,"start",k,f),K=fo(H,"stop",x,f),z=fo(H,"stop",O,f),oe=fo(H,"stop",N,f),ce=fo(H,"stop",re=>{A&&re.preventDefault(),$&&$(re)},f),J=fo(H,"start",m,f),Y=fo(H,"stop",M,f),le=fo(H,"stop",D,f),U=fo(H,"stop",re=>{un(re.target)||X(!1),p&&p(re)},!1),ae=Ct(re=>{G.current||(G.current=re.currentTarget),un(re.target)&&(X(!0),S&&S(re)),w&&w(re)}),ie=()=>{const re=G.current;return c&&c!=="button"&&!(re.tagName==="A"&&re.href)},ue=Ct(re=>{b&&!re.repeat&&A&&re.key===" "&&H.stop(re,()=>{H.start(re)}),re.target===re.currentTarget&&ie()&&re.key===" "&&re.preventDefault(),T&&T(re),re.target===re.currentTarget&&ie()&&re.key==="Enter"&&!u&&(re.preventDefault(),v&&v(re))}),Oe=Ct(re=>{b&&re.key===" "&&A&&!re.defaultPrevented&&H.stop(re,()=>{H.pulsate(re)}),E&&E(re),v&&re.target===re.currentTarget&&ie()&&re.key===" "&&!re.defaultPrevented&&v(re)});let Ee=c;Ee==="button"&&(W.href||W.to)&&(Ee=h);const ne={};if(Ee==="button"){const re=!!W.formAction;ne.type=R===void 0&&!re?"button":R,ne.disabled=u}else!W.href&&!W.to&&(ne.role="button"),u&&(ne["aria-disabled"]=u);const Be=et(n,G),we={...r,centerRipple:s,component:c,disabled:u,disableRipple:d,disableTouchRipple:f,focusRipple:b,tabIndex:I,focusVisible:A},ye=ah(we);return g.jsxs(sh,{as:Ee,className:Z(ye.root,l),ownerState:we,onBlur:U,onClick:v,onContextMenu:K,onFocus:ae,onKeyDown:ue,onKeyUp:Oe,onMouseDown:se,onMouseLeave:ce,onMouseUp:oe,onDragLeave:z,onTouchEnd:Y,onTouchMove:le,onTouchStart:J,ref:Be,tabIndex:u?-1:I,type:R,...ne,...W,children:[i,ee?g.jsx(yu,{ref:F,center:s,...P}):null]})});function fo(e,o,n,r=!1){return Ct(a=>(n&&n(a),r||e[o](a),!0))}process.env.NODE_ENV!=="production"&&(ho.propTypes={action:Ot,centerRipple:t.bool,children:t.node,classes:t.object,className:t.string,component:sr,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 ih(e){return typeof e.main=="string"}function lh(e,o=[]){if(!ih(e))return!1;for(const n of o)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Ve(e=[]){return([,o])=>o&&lh(o,e)}function ch(e){return me("MuiCircularProgress",e)}ge("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Yt=44,Ss=co`
|
|
111
111
|
0% {
|
|
112
112
|
transform: rotate(0deg);
|
|
113
113
|
}
|
|
@@ -115,7 +115,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
115
115
|
100% {
|
|
116
116
|
transform: rotate(360deg);
|
|
117
117
|
}
|
|
118
|
-
`,
|
|
118
|
+
`,ws=co`
|
|
119
119
|
0% {
|
|
120
120
|
stroke-dasharray: 1px, 200px;
|
|
121
121
|
stroke-dashoffset: 0;
|
|
@@ -130,13 +130,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
130
130
|
stroke-dasharray: 1px, 200px;
|
|
131
131
|
stroke-dashoffset: -126px;
|
|
132
132
|
}
|
|
133
|
-
`,
|
|
134
|
-
animation: ${
|
|
135
|
-
`:null,
|
|
136
|
-
animation: ${
|
|
137
|
-
`:null,zg=e=>{const{classes:o,variant:n,color:r,disableShrink:a}=e,i={root:["root",n,`color${D(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${D(n)}`,a&&"circleDisableShrink"]};return he(i,Dg,o)},Vg=L("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`color${D(n.color)}`]]}})(pe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Bg||{animation:`${Si} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}}))]}))),_g=L("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Wg=L("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.circle,o[`circle${D(n.variant)}`],n.disableShrink&&o.circleDisableShrink]}})(pe(({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:Fg||{animation:`${wi} 1.4s ease-in-out infinite`}}]}))),Ug=L("circle",{name:"MuiCircularProgress",slot:"Track"})(pe(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),sr=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCircularProgress"}),{className:a,color:i="primary",disableShrink:s=!1,enableTrackSlot:l=!1,size:c=40,style:d,thickness:u=3.6,value:f=0,variant:h="indeterminate",...v}=r,b={...r,color:i,disableShrink:s,size:c,thickness:u,value:f,variant:h,enableTrackSlot:l},p=zg(b),y={},C={},O={};if(h==="determinate"){const w=2*Math.PI*((Yt-u)/2);y.strokeDasharray=w.toFixed(3),O["aria-valuenow"]=Math.round(f),y.strokeDashoffset=`${((100-f)/100*w).toFixed(3)}px`,C.transform="rotate(-90deg)"}return m.jsx(Vg,{className:Z(p.root,a),style:{width:c,height:c,...C,...d},ownerState:b,ref:n,role:"progressbar",...O,...v,children:m.jsxs(_g,{className:p.svg,ownerState:b,viewBox:`${Yt/2} ${Yt/2} ${Yt} ${Yt}`,children:[l?m.jsx(Ug,{className:p.track,ownerState:b,cx:Yt,cy:Yt,r:(Yt-u)/2,fill:"none",strokeWidth:u,"aria-hidden":"true"}):null,m.jsx(Wg,{className:p.circle,style:y,ownerState:b,cx:Yt,cy:Yt,r:(Yt-u)/2,fill:"none",strokeWidth:u})]})})});process.env.NODE_ENV!=="production"&&(sr.propTypes={classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","primary","secondary","error","info","success","warning"]),t.string]),disableShrink:St(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 Hg(e){return me("MuiButton",e)}const Ao=ge("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"]),ts=x.createContext({});process.env.NODE_ENV!=="production"&&(ts.displayName="ButtonGroupContext");const os=x.createContext(void 0);process.env.NODE_ENV!=="production"&&(os.displayName="ButtonGroupButtonContext");const qg=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}${D(o)}`,`size${D(a)}`,`${i}Size${D(a)}`,`color${D(o)}`,n&&"disableElevation",r&&"fullWidth",s&&`loadingPosition${D(l)}`],startIcon:["icon","startIcon",`iconSize${D(a)}`],endIcon:["icon","endIcon",`iconSize${D(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},u=he(d,Hg,c);return{...c,...u}},gu=[{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}}}],Gg=L(bo,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${D(n.color)}`],o[`size${D(n.size)}`],o[`${n.variant}Size${D(n.size)}`],n.color==="inherit"&&o.colorInherit,n.disableElevation&&o.disableElevation,n.fullWidth&&o.fullWidth,n.loading&&o.loading]}})(pe(({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"},[`&.${Ao.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]},[`&.${Ao.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ao.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)",[`&.${Ao.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ve()).map(([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"},[`&.${Ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ao.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}),[`&.${Ao.loading}`]:{color:"transparent"}}}]}})),Kg=L("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.startIcon,n.loading&&o.startIconLoadingStart,o[`iconSize${D(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}},...gu]})),Yg=L("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.endIcon,n.loading&&o.endIconLoadingEnd,o[`iconSize${D(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}},...gu]})),Xg=L("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}}]})),Pl=L("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),ns=x.forwardRef(function(o,n){const r=x.useContext(ts),a=x.useContext(os),i=Un(r,o),s=ve({props:i,name:"MuiButton"}),{children:l,color:c="primary",component:d="button",className:u,disabled:f=!1,disableElevation:h=!1,disableFocusRipple:v=!1,endIcon:b,focusVisibleClassName:p,fullWidth:y=!1,id:C,loading:O=null,loadingIndicator:w,loadingPosition:S="center",size:T="medium",startIcon:E,type:R,variant:I="text",...N}=s,M=vo(C),F=w??m.jsx(sr,{"aria-labelledby":M,color:"inherit",size:16}),g={...s,color:c,component:d,disabled:f,disableElevation:h,disableFocusRipple:v,fullWidth:y,loading:O,loadingIndicator:F,loadingPosition:S,size:T,type:R,variant:I},$=qg(g),P=(E||O&&S==="start")&&m.jsx(Kg,{className:$.startIcon,ownerState:g,children:E||m.jsx(Pl,{className:$.loadingIconPlaceholder,ownerState:g})}),j=(b||O&&S==="end")&&m.jsx(Yg,{className:$.endIcon,ownerState:g,children:b||m.jsx(Pl,{className:$.loadingIconPlaceholder,ownerState:g})}),k=a||"",W=typeof O=="boolean"?m.jsx("span",{className:$.loadingWrapper,style:{display:"contents"},children:O&&m.jsx(Xg,{className:$.loadingIndicator,ownerState:g,children:F})}):null;return m.jsxs(Gg,{ownerState:g,className:Z(r.className,$.root,u,k),component:d,disabled:f||O,focusRipple:!v,focusVisibleClassName:Z($.focusVisible,p),ref:n,type:R,id:O?M:C,...N,classes:$,children:[P,S!=="end"&&W,l,S==="end"&&W,j]})});process.env.NODE_ENV!=="production"&&(ns.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 Jg(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Zg(e){return parseFloat(e)}const Qg=L("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),bu=Me.forwardRef(({variant:e="primary",size:o="md",disabled:n=!1,loading:r=!1,leftIcon:a,rightIcon:i,children:s,startIcon:l,endIcon:c,sx:d,color:u,...f},h)=>{const v=y=>{switch(y){case"primary":case"danger":case"success":return"contained";case"secondary":case"outline":return"outlined";case"ghost":return"text";default:return"contained"}},b=y=>{switch(y){case"primary":return"primary";case"secondary":return"secondary";case"danger":return"error";case"success":return"success";case"outline":return"primary";case"ghost":return"inherit";default:return"primary"}},p=y=>{switch(y){case"xs":return"small";case"sm":return"small";case"lg":return"large";default:return"medium"}};return m.jsx(ns,{ref:h,variant:v(e),color:u||b(e),size:p(o),disabled:n||r,startIcon:r?m.jsx(sr,{size:20,color:"inherit"}):a||l,endIcon:i||c,disableElevation:!0,sx:{textTransform:"none",borderRadius:"10px",fontWeight:600,letterSpacing:"0.01em",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",boxShadow:e==="ghost"?"none":"0 1px 2px 0 rgba(0,0,0,0.05)",...o==="xs"&&{padding:"4px 10px",fontSize:"0.75rem",minWidth:"auto"},"&:hover":{transform:!n&&!r?"translateY(-1px)":"none",boxShadow:!n&&!r&&e!=="ghost"?"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)":"none"},"&:active":{transform:!n&&!r?"translateY(0)":"none"},...d},...f,children:s})});bu.displayName="CodeplexButton";function rs(e){const o=x.useRef({});return x.useEffect(()=>{o.current=e}),o.current}function eb(e){const{badgeContent:o,invisible:n=!1,max:r=99,showZero:a=!1}=e,i=rs({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 tb(e){return me("MuiBadge",e)}const To=ge("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 ao(e){return typeof e=="string"}function hu(e,o,n){return e===void 0||ao(e)?o:{...o,ownerState:{...o.ownerState,...n}}}function yu(e,o,n){return typeof e=="function"?e(o,n):e}function Vo(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 kl(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 vu(e){const{getSlotProps:o,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:i}=e;if(!o){const v=Z(n?.className,i,a?.className,r?.className),b={...n?.style,...a?.style,...r?.style},p={...n,...a,...r};return v.length>0&&(p.className=v),Object.keys(b).length>0&&(p.style=b),{props:p,internalRef:void 0}}const s=Vo({...a,...r}),l=kl(r),c=kl(a),d=o(s),u=Z(d?.className,n?.className,i,a?.className,r?.className),f={...d?.style,...n?.style,...a?.style,...r?.style},h={...d,...n,...c,...l};return u.length>0&&(h.className=u),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:d.ref}}function fe(e,o){const{className:n,elementType:r,ownerState:a,externalForwardedProps:i,internalForwardedProps:s,shouldForwardComponentProp:l=!1,...c}=o,{component:d,slots:u={[e]:void 0},slotProps:f={[e]:void 0},...h}=i,v=u[e]||r,b=yu(f[e],a),{props:{component:p,...y},internalRef:C}=vu({className:n,...c,externalForwardedProps:e==="root"?h:void 0,externalSlotProps:b}),O=et(C,b?.ref,o.ref),w=e==="root"?p||d:p,S=hu(v,{...e==="root"&&!d&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...y,...w&&!l&&{as:w},...w&&l&&{component:w},ref:O},a);return[v,S]}const Xa=10,Ja=4,ob=e=>{const{color:o,anchorOrigin:n,invisible:r,overlap:a,variant:i,classes:s={}}=e,l={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${D(n.vertical)}${D(n.horizontal)}`,`anchorOrigin${D(n.vertical)}${D(n.horizontal)}${D(a)}`,`overlap${D(a)}`,o!=="default"&&`color${D(o)}`]};return he(l,tb,s)},nb=L("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),rb=L("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.badge,o[n.variant],o[`anchorOrigin${D(n.anchorOrigin.vertical)}${D(n.anchorOrigin.horizontal)}${D(n.overlap)}`],n.color!=="default"&&o[`color${D(n.color)}`],n.invisible&&o.invisible]}})(pe(({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:Xa*2,lineHeight:1,padding:"0 6px",height:Xa*2,borderRadius:Xa,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main,color:(e.vars||e).palette[o].contrastText}})),{props:{variant:"dot"},style:{borderRadius:Ja,height:Ja*2,minWidth:Ja*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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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 Rl(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const xu=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiBadge"}),{anchorOrigin:a,className:i,classes:s,component:l,components:c={},componentsProps:d={},children:u,overlap:f="rectangular",color:h="default",invisible:v=!1,max:b=99,badgeContent:p,slots:y,slotProps:C,showZero:O=!1,variant:w="standard",...S}=r,{badgeContent:T,invisible:E,max:R,displayValue:I}=eb({max:b,invisible:v,badgeContent:p,showZero:O}),N=rs({anchorOrigin:Rl(a),color:h,overlap:f,variant:w,badgeContent:p}),M=E||T==null&&w!=="dot",{color:F=h,overlap:g=f,anchorOrigin:$,variant:P=w}=M?N:r,j=Rl($),k=P!=="dot"?I:void 0,W={...r,badgeContent:T,invisible:M,max:R,displayValue:k,showZero:O,anchorOrigin:j,color:F,overlap:g,variant:P},G=ob(W),H={slots:{root:y?.root??c.Root,badge:y?.badge??c.Badge},slotProps:{root:C?.root??d.root,badge:C?.badge??d.badge}},[B,A]=fe("root",{elementType:nb,externalForwardedProps:{...H,...S},ownerState:W,className:Z(G.root,i),ref:n,additionalProps:{as:l}}),[X,ee]=fe("badge",{elementType:rb,externalForwardedProps:H,ownerState:W,className:G.badge});return m.jsxs(B,{...A,children:[u,m.jsx(X,{...ee,children:k})]})});process.env.NODE_ENV!=="production"&&(xu.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 ab=({children:e,color:o="primary",...n})=>m.jsx(xu,{color:o,...n,children:e}),ib=ge("MuiBox",["root"]),sb=iu(),nt=Hf({themeId:fa,defaultTheme:sb,defaultClassName:ib.root,generateClassName:Ec.generate});process.env.NODE_ENV!=="production"&&(nt.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 lb(e){return me("MuiTypography",e)}const Lr=ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),cb={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ub=ag(),db=e=>{const{align:o,gutterBottom:n,noWrap:r,paragraph:a,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${D(o)}`,n&&"gutterBottom",r&&"noWrap",a&&"paragraph"]};return he(l,lb,s)},pb=L("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${D(n.align)}`],n.noWrap&&o.noWrap,n.gutterBottom&&o.gutterBottom,n.paragraph&&o.paragraph]}})(pe(({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(Ve()).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${D(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}}]}))),$l={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},it=x.forwardRef(function(o,n){const{color:r,...a}=ve({props:o,name:"MuiTypography"}),i=!cb[r],s=ub({...a,...i&&{color:r}}),{align:l="inherit",className:c,component:d,gutterBottom:u=!1,noWrap:f=!1,paragraph:h=!1,variant:v="body1",variantMapping:b=$l,...p}=s,y={...s,align:l,color:r,className:c,component:d,gutterBottom:u,noWrap:f,paragraph:h,variant:v,variantMapping:b},C=d||(h?"p":b[v]||$l[v])||"span",O=db(y);return m.jsx(pb,{as:C,ref:n,className:Z(O.root,c),...p,ownerState:y,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...p.style}})});process.env.NODE_ENV!=="production"&&(it.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 fb=({size:e="md",color:o="primary",type:n="border",label:r,labelPosition:a="right",fullScreen:i=!1,className:s="",sx:l,...c})=>{const u=typeof e=="number"?e:{xs:12,sm:16,md:24,lg:32,xl:48}[e],h={primary:"primary",secondary:"secondary",error:"error",danger:"error",info:"info",success:"success",warning:"warning",white:"inherit",gray:"inherit"}[o]||"primary",v=o==="white"?"white":o==="gray"?"gray":void 0,b=()=>n==="dots"?m.jsx(nt,{display:"flex",gap:.5,className:s,children:[0,1,2].map(y=>m.jsx(nt,{sx:{width:u/4,height:u/4,borderRadius:"50%",bgcolor:v||"currentColor",animation:"bounce 1.4s infinite ease-in-out both",animationDelay:`${y*.16}s`,"@keyframes bounce":{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}}},y))}):n==="ping"?m.jsxs(nt,{position:"relative",display:"inline-flex",width:u,height:u,className:s,children:[m.jsx(nt,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:v||(h==="inherit"?"currentColor":`${h}.main`),opacity:.75,animation:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite","@keyframes ping":{"75%, 100%":{transform:"scale(2)",opacity:0}}}}),m.jsx(nt,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:v||(h==="inherit"?"currentColor":`${h}.main`)}})]}):m.jsx(sr,{size:u,color:h,className:s,sx:{color:v,...l},...c}),p=m.jsxs(nt,{display:"inline-flex",flexDirection:a==="bottom"?"column":"row",alignItems:"center",gap:a==="bottom"?1.5:1,children:[b(),r&&m.jsx(it,{variant:"body2",color:"text.secondary",fontWeight:500,children:r})]});return i?m.jsx(nt,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",bgcolor:"rgba(255, 255, 255, 0.8)",sx:{backdropFilter:"blur(4px)"},children:p}):p},mb=({keys:e,size: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?m.jsx("span",{className:`inline-flex items-center gap-1 ${n}`,...a,children:e.map((l,c)=>m.jsx("kbd",{className:`${s} ${i}`,children:l},l+c))}):m.jsx("kbd",{className:`${s} ${i} ${n}`,...a,children:r})},gb=ct(m.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 bb(e){return me("MuiAvatar",e)}const hb=ge("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),yb=e=>{const{classes:o,variant:n,colorDefault:r}=e;return he({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},bb,o)},vb=L("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],n.colorDefault&&o.colorDefault]}})(pe(({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]})}}}]}))),xb=L("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Cb=L(gb,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function Sb({crossOrigin:e,referrerPolicy:o,src:n,srcSet:r}){const[a,i]=x.useState(!1);return x.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 as=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAvatar"}),{alt:a,children:i,className:s,component:l="div",slots:c={},slotProps:d={},imgProps:u,sizes:f,src:h,srcSet:v,variant:b="circular",...p}=r;let y=null;const C={...r,component:l,variant:b},O=Sb({...u,...typeof d.img=="function"?d.img(C):d.img,src:h,srcSet:v}),w=h||v,S=w&&O!=="error";C.colorDefault=!S,delete C.ownerState;const T=yb(C),[E,R]=fe("root",{ref:n,className:Z(T.root,s),elementType:vb,externalForwardedProps:{slots:c,slotProps:d,component:l,...p},ownerState:C}),[I,N]=fe("img",{className:T.img,elementType:xb,externalForwardedProps:{slots:c,slotProps:{img:{...u,...d.img}}},additionalProps:{alt:a,src:h,srcSet:v,sizes:f},ownerState:C}),[M,F]=fe("fallback",{className:T.fallback,elementType:Cb,externalForwardedProps:{slots:c,slotProps:d},shouldForwardComponentProp:!0,ownerState:C});return S?y=m.jsx(I,{...N}):i||i===0?y=i:w&&a?y=a[0]:y=m.jsx(M,{...F}),m.jsx(E,{...R,children:y})});process.env.NODE_ENV!=="production"&&(as.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 wb(e){return me("MuiAvatarGroup",e)}const Tb=ge("MuiAvatarGroup",["root","avatar"]),Za={small:-16,medium:-8},Ob=e=>{const{classes:o}=e;return he({root:["root"],avatar:["avatar"]},wb,o)},Eb=L("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,o)=>[{[`& .${Tb.avatar}`]:o.avatar},o.root]})(pe(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${hb.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),Cu=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAvatarGroup"}),{children:a,className:i,component:s="div",componentsProps:l,max:c=5,renderSurplus:d,slotProps:u={},slots:f={},spacing:h="medium",total:v,variant:b="circular",...p}=r;let y=c<2?2:c;const C={...r,max:c,spacing:h,component:s,variant:b},O=Ob(C),w=x.Children.toArray(a).filter(g=>(process.env.NODE_ENV!=="production"&&Po.isFragment(g)&&console.error(["MUI: The AvatarGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
138
|
-
`)),
|
|
139
|
-
`)):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])});const
|
|
133
|
+
`,uh=typeof Ss!="string"?$o`
|
|
134
|
+
animation: ${Ss} 1.4s linear infinite;
|
|
135
|
+
`:null,dh=typeof ws!="string"?$o`
|
|
136
|
+
animation: ${ws} 1.4s ease-in-out infinite;
|
|
137
|
+
`:null,ph=e=>{const{classes:o,variant:n,color:r,disableShrink:a}=e,s={root:["root",n,`color${B(r)}`],svg:["svg"],track:["track"],circle:["circle",`circle${B(n)}`,a&&"circleDisableShrink"]};return be(s,ch,o)},fh=L("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`color${B(n.color)}`]]}})(pe(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:uh||{animation:`${Ss} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}}))]}))),mh=L("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),gh=L("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.circle,o[`circle${B(n.variant)}`],n.disableShrink&&o.circleDisableShrink]}})(pe(({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:dh||{animation:`${ws} 1.4s ease-in-out infinite`}}]}))),hh=L("circle",{name:"MuiCircularProgress",slot:"Track"})(pe(({theme:e})=>({stroke:"currentColor",opacity:(e.vars||e).palette.action.activatedOpacity}))),ir=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCircularProgress"}),{className:a,color:s="primary",disableShrink:i=!1,enableTrackSlot:l=!1,size:c=40,style:u,thickness:d=3.6,value:f=0,variant:b="indeterminate",...y}=r,h={...r,color:s,disableShrink:i,size:c,thickness:d,value:f,variant:b,enableTrackSlot:l},p=ph(h),v={},x={},O={};if(b==="determinate"){const w=2*Math.PI*((Yt-d)/2);v.strokeDasharray=w.toFixed(3),O["aria-valuenow"]=Math.round(f),v.strokeDashoffset=`${((100-f)/100*w).toFixed(3)}px`,x.transform="rotate(-90deg)"}return g.jsx(fh,{className:Z(p.root,a),style:{width:c,height:c,...x,...u},ownerState:h,ref:n,role:"progressbar",...O,...y,children:g.jsxs(mh,{className:p.svg,ownerState:h,viewBox:`${Yt/2} ${Yt/2} ${Yt} ${Yt}`,children:[l?g.jsx(hh,{className:p.track,ownerState:h,cx:Yt,cy:Yt,r:(Yt-d)/2,fill:"none",strokeWidth:d,"aria-hidden":"true"}):null,g.jsx(gh,{className:p.circle,style:v,ownerState:h,cx:Yt,cy:Yt,r:(Yt-d)/2,fill:"none",strokeWidth:d})]})})});process.env.NODE_ENV!=="production"&&(ir.propTypes={classes:t.object,className:t.string,color:t.oneOfType([t.oneOf(["inherit","primary","secondary","error","info","success","warning"]),t.string]),disableShrink:St(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 bh(e){return me("MuiButton",e)}const Ao=ge("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"]),ti=C.createContext({});process.env.NODE_ENV!=="production"&&(ti.displayName="ButtonGroupContext");const oi=C.createContext(void 0);process.env.NODE_ENV!=="production"&&(oi.displayName="ButtonGroupButtonContext");const yh=e=>{const{color:o,disableElevation:n,fullWidth:r,size:a,variant:s,loading:i,loadingPosition:l,classes:c}=e,u={root:["root",i&&"loading",s,`${s}${B(o)}`,`size${B(a)}`,`${s}Size${B(a)}`,`color${B(o)}`,n&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${B(l)}`],startIcon:["icon","startIcon",`iconSize${B(a)}`],endIcon:["icon","endIcon",`iconSize${B(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=be(u,bh,c);return{...c,...d}},vu=[{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}}}],vh=L(ho,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${B(n.color)}`],o[`size${B(n.size)}`],o[`${n.variant}Size${B(n.size)}`],n.color==="inherit"&&o.colorInherit,n.disableElevation&&o.disableElevation,n.fullWidth&&o.fullWidth,n.loading&&o.loading]}})(pe(({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"},[`&.${Ao.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]},[`&.${Ao.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Ao.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)",[`&.${Ao.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(Ve()).map(([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"},[`&.${Ao.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ao.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}),[`&.${Ao.loading}`]:{color:"transparent"}}}]}})),xh=L("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.startIcon,n.loading&&o.startIconLoadingStart,o[`iconSize${B(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}},...vu]})),Ch=L("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.endIcon,n.loading&&o.endIconLoadingEnd,o[`iconSize${B(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}},...vu]})),Sh=L("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}}]})),Il=L("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),ni=C.forwardRef(function(o,n){const r=C.useContext(ti),a=C.useContext(oi),s=Un(r,o),i=ve({props:s,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:d,disabled:f=!1,disableElevation:b=!1,disableFocusRipple:y=!1,endIcon:h,focusVisibleClassName:p,fullWidth:v=!1,id:x,loading:O=null,loadingIndicator:w,loadingPosition:S="center",size:T="medium",startIcon:E,type:k,variant:$="text",...N}=i,M=vo(x),D=w??g.jsx(ir,{"aria-labelledby":M,color:"inherit",size:16}),m={...i,color:c,component:u,disabled:f,disableElevation:b,disableFocusRipple:y,fullWidth:v,loading:O,loadingIndicator:D,loadingPosition:S,size:T,type:k,variant:$},I=yh(m),P=(E||O&&S==="start")&&g.jsx(xh,{className:I.startIcon,ownerState:m,children:E||g.jsx(Il,{className:I.loadingIconPlaceholder,ownerState:m})}),j=(h||O&&S==="end")&&g.jsx(Ch,{className:I.endIcon,ownerState:m,children:h||g.jsx(Il,{className:I.loadingIconPlaceholder,ownerState:m})}),R=a||"",W=typeof O=="boolean"?g.jsx("span",{className:I.loadingWrapper,style:{display:"contents"},children:O&&g.jsx(Sh,{className:I.loadingIndicator,ownerState:m,children:D})}):null;return g.jsxs(vh,{ownerState:m,className:Z(r.className,I.root,d,R),component:u,disabled:f||O,focusRipple:!y,focusVisibleClassName:Z(I.focusVisible,p),ref:n,type:k,id:O?M:x,...N,classes:I,children:[P,S!=="end"&&W,l,S==="end"&&W,j]})});process.env.NODE_ENV!=="production"&&(ni.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 wh(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}function Th(e){return parseFloat(e)}const Oh=L("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),ri=Me.forwardRef(({variante:e="primary",tamano:o="md",cargando:n=!1,disabled:r=!1,iconoIzquierda:a,iconoDerecha:s,children:i,startIcon:l,endIcon:c,sx:u,color:d,alHacerClick:f,...b},y)=>{const h=x=>{switch(x){case"primary":case"danger":case"success":case"contenido":return"contained";case"secondary":case"outline":case"borde":return"outlined";case"ghost":case"texto":return"text";default:return"contained"}},p=(x,O)=>{if(O)switch(O){case"primario":return"primary";case"secundario":return"secondary";case"exito":return"success";case"error":return"error";case"info":return"info";case"advertencia":return"warning";default:return O}switch(x){case"primary":return"primary";case"secondary":return"secondary";case"danger":return"error";case"success":return"success";case"outline":return"primary";case"ghost":return"inherit";default:return"primary"}},v=x=>{switch(x){case"xs":return"small";case"sm":return"small";case"lg":return"large";default:return"medium"}};return g.jsx(ni,{ref:y,variant:h(e),color:p(e,d),size:v(o),disabled:r||n,startIcon:n?g.jsx(ir,{size:20,color:"inherit"}):a||l,endIcon:s||c,onClick:f,disableElevation:!0,sx:{textTransform:"none",borderRadius:"10px",fontWeight:600,letterSpacing:"0.01em",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",boxShadow:e==="ghost"?"none":"0 1px 2px 0 rgba(0,0,0,0.05)",...o==="xs"&&{padding:"4px 10px",fontSize:"0.75rem",minWidth:"auto"},"&:hover":{transform:!r&&!n?"translateY(-1px)":"none",boxShadow:!r&&!n&&e!=="ghost"?"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)":"none"},"&:active":{transform:!r&&!n?"translateY(0)":"none"},...u},...b,children:i})});ri.displayName="CodeplexBoton";const Eh=ri;function ai(e){const o=C.useRef({});return C.useEffect(()=>{o.current=e}),o.current}function Ph(e){const{badgeContent:o,invisible:n=!1,max:r=99,showZero:a=!1}=e,s=ai({badgeContent:o,max:r});let i=n;n===!1&&o===0&&!a&&(i=!0);const{badgeContent:l,max:c=r}=i?s:e,u=l&&Number(l)>c?`${c}+`:l;return{badgeContent:l,invisible:i,max:c,displayValue:u}}function kh(e){return me("MuiBadge",e)}const To=ge("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 ao(e){return typeof e=="string"}function xu(e,o,n){return e===void 0||ao(e)?o:{...o,ownerState:{...o.ownerState,...n}}}function Cu(e,o,n){return typeof e=="function"?e(o,n):e}function Vo(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 jl(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 Su(e){const{getSlotProps:o,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:s}=e;if(!o){const y=Z(n?.className,s,a?.className,r?.className),h={...n?.style,...a?.style,...r?.style},p={...n,...a,...r};return y.length>0&&(p.className=y),Object.keys(h).length>0&&(p.style=h),{props:p,internalRef:void 0}}const i=Vo({...a,...r}),l=jl(r),c=jl(a),u=o(i),d=Z(u?.className,n?.className,s,a?.className,r?.className),f={...u?.style,...n?.style,...a?.style,...r?.style},b={...u,...n,...c,...l};return d.length>0&&(b.className=d),Object.keys(f).length>0&&(b.style=f),{props:b,internalRef:u.ref}}function fe(e,o){const{className:n,elementType:r,ownerState:a,externalForwardedProps:s,internalForwardedProps:i,shouldForwardComponentProp:l=!1,...c}=o,{component:u,slots:d={[e]:void 0},slotProps:f={[e]:void 0},...b}=s,y=d[e]||r,h=Cu(f[e],a),{props:{component:p,...v},internalRef:x}=Su({className:n,...c,externalForwardedProps:e==="root"?b:void 0,externalSlotProps:h}),O=et(x,h?.ref,o.ref),w=e==="root"?p||u:p,S=xu(y,{...e==="root"&&!u&&!d[e]&&i,...e!=="root"&&!d[e]&&i,...v,...w&&!l&&{as:w},...w&&l&&{component:w},ref:O},a);return[y,S]}const Xa=10,Ja=4,Rh=e=>{const{color:o,anchorOrigin:n,invisible:r,overlap:a,variant:s,classes:i={}}=e,l={root:["root"],badge:["badge",s,r&&"invisible",`anchorOrigin${B(n.vertical)}${B(n.horizontal)}`,`anchorOrigin${B(n.vertical)}${B(n.horizontal)}${B(a)}`,`overlap${B(a)}`,o!=="default"&&`color${B(o)}`]};return be(l,kh,i)},$h=L("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Ih=L("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.badge,o[n.variant],o[`anchorOrigin${B(n.anchorOrigin.vertical)}${B(n.anchorOrigin.horizontal)}${B(n.overlap)}`],n.color!=="default"&&o[`color${B(n.color)}`],n.invisible&&o.invisible]}})(pe(({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:Xa*2,lineHeight:1,padding:"0 6px",height:Xa*2,borderRadius:Xa,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main,color:(e.vars||e).palette[o].contrastText}})),{props:{variant:"dot"},style:{borderRadius:Ja,height:Ja*2,minWidth:Ja*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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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%",[`&.${To.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 Nl(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const wu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiBadge"}),{anchorOrigin:a,className:s,classes:i,component:l,components:c={},componentsProps:u={},children:d,overlap:f="rectangular",color:b="default",invisible:y=!1,max:h=99,badgeContent:p,slots:v,slotProps:x,showZero:O=!1,variant:w="standard",...S}=r,{badgeContent:T,invisible:E,max:k,displayValue:$}=Ph({max:h,invisible:y,badgeContent:p,showZero:O}),N=ai({anchorOrigin:Nl(a),color:b,overlap:f,variant:w,badgeContent:p}),M=E||T==null&&w!=="dot",{color:D=b,overlap:m=f,anchorOrigin:I,variant:P=w}=M?N:r,j=Nl(I),R=P!=="dot"?$:void 0,W={...r,badgeContent:T,invisible:M,max:k,displayValue:R,showZero:O,anchorOrigin:j,color:D,overlap:m,variant:P},G=Rh(W),H={slots:{root:v?.root??c.Root,badge:v?.badge??c.Badge},slotProps:{root:x?.root??u.root,badge:x?.badge??u.badge}},[F,A]=fe("root",{elementType:$h,externalForwardedProps:{...H,...S},ownerState:W,className:Z(G.root,s),ref:n,additionalProps:{as:l}}),[X,ee]=fe("badge",{elementType:Ih,externalForwardedProps:H,ownerState:W,className:G.badge});return g.jsxs(F,{...A,children:[d,g.jsx(X,{...ee,children:R})]})});process.env.NODE_ENV!=="production"&&(wu.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 Tu=({children:e,color:o="primary",contenido:n,variante:r,maximo:a,mostrarCero:s,superposicion:i,...l})=>g.jsx(wu,{color:o,badgeContent:n,variant:r,max:a,showZero:s,overlap:i,...l,children:e}),jh=Tu,Nh=ge("MuiBox",["root"]),Mh=uu(),nt=bm({themeId:fa,defaultTheme:Mh,defaultClassName:Nh.root,generateClassName:$c.generate});process.env.NODE_ENV!=="production"&&(nt.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 Ah(e){return me("MuiTypography",e)}const Lr=ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Lh={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Dh=Ig(),Bh=e=>{const{align:o,gutterBottom:n,noWrap:r,paragraph:a,variant:s,classes:i}=e,l={root:["root",s,e.align!=="inherit"&&`align${B(o)}`,n&&"gutterBottom",r&&"noWrap",a&&"paragraph"]};return be(l,Ah,i)},Fh=L("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${B(n.align)}`],n.noWrap&&o.noWrap,n.gutterBottom&&o.gutterBottom,n.paragraph&&o.paragraph]}})(pe(({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(Ve()).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${B(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}}]}))),Ml={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},st=C.forwardRef(function(o,n){const{color:r,...a}=ve({props:o,name:"MuiTypography"}),s=!Lh[r],i=Dh({...a,...s&&{color:r}}),{align:l="inherit",className:c,component:u,gutterBottom:d=!1,noWrap:f=!1,paragraph:b=!1,variant:y="body1",variantMapping:h=Ml,...p}=i,v={...i,align:l,color:r,className:c,component:u,gutterBottom:d,noWrap:f,paragraph:b,variant:y,variantMapping:h},x=u||(b?"p":h[y]||Ml[y])||"span",O=Bh(v);return g.jsx(Fh,{as:x,ref:n,className:Z(O.root,c),...p,ownerState:v,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...p.style}})});process.env.NODE_ENV!=="production"&&(st.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 Ou=({tamano:e="md",color:o="primary",tipo:n="border",etiqueta:r,posicionEtiqueta:a="right",pantallaCompleta:s=!1,className:i="",sx:l,...c})=>{const d=typeof e=="number"?e:{xs:12,sm:16,md:24,lg:32,xl:48}[e],b={primary:"primary",secondary:"secondary",error:"error",danger:"error",info:"info",success:"success",warning:"warning",white:"inherit",gray:"inherit"}[o]||"primary",y=o==="white"?"white":o==="gray"?"gray":void 0,h=()=>n==="dots"?g.jsx(nt,{display:"flex",gap:.5,className:i,children:[0,1,2].map(v=>g.jsx(nt,{sx:{width:d/4,height:d/4,borderRadius:"50%",bgcolor:y||"currentColor",animation:"bounce 1.4s infinite ease-in-out both",animationDelay:`${v*.16}s`,"@keyframes bounce":{"0%, 80%, 100%":{transform:"scale(0)"},"40%":{transform:"scale(1)"}}}},v))}):n==="ping"?g.jsxs(nt,{position:"relative",display:"inline-flex",width:d,height:d,className:i,children:[g.jsx(nt,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:y||(b==="inherit"?"currentColor":`${b}.main`),opacity:.75,animation:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite","@keyframes ping":{"75%, 100%":{transform:"scale(2)",opacity:0}}}}),g.jsx(nt,{sx:{position:"absolute",width:"100%",height:"100%",borderRadius:"50%",bgcolor:y||(b==="inherit"?"currentColor":`${b}.main`)}})]}):g.jsx(ir,{size:d,color:b,className:i,sx:{color:y,...l},...c}),p=g.jsxs(nt,{display:"inline-flex",flexDirection:a==="bottom"?"column":"row",alignItems:"center",gap:a==="bottom"?1.5:1,children:[h(),r&&g.jsx(st,{variant:"body2",color:"text.secondary",fontWeight:500,children:r})]});return s?g.jsx(nt,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:9999,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",bgcolor:"rgba(255, 255, 255, 0.8)",sx:{backdropFilter:"blur(4px)"},children:p}):p},zh=Ou,Eu=({teclas:e,tamano:o="md",className:n="",children:r,...a})=>{const s=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",i="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?g.jsx("span",{className:`inline-flex items-center gap-1 ${n}`,...a,children:e.map((l,c)=>g.jsx("kbd",{className:`${i} ${s}`,children:l},l+c))}):g.jsx("kbd",{className:`${i} ${s} ${n}`,...a,children:r})},Vh=Eu,_h=ct(g.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 Wh(e){return me("MuiAvatar",e)}const Uh=ge("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]),Hh=e=>{const{classes:o,variant:n,colorDefault:r}=e;return be({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Wh,o)},qh=L("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],n.colorDefault&&o.colorDefault]}})(pe(({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]})}}}]}))),Gh=L("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Kh=L(_h,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});function Yh({crossOrigin:e,referrerPolicy:o,src:n,srcSet:r}){const[a,s]=C.useState(!1);return C.useEffect(()=>{if(!n&&!r)return;s(!1);let i=!0;const l=new Image;return l.onload=()=>{i&&s("loaded")},l.onerror=()=>{i&&s("error")},l.crossOrigin=e,l.referrerPolicy=o,l.src=n,r&&(l.srcset=r),()=>{i=!1}},[e,o,n,r]),a}const si=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAvatar"}),{alt:a,children:s,className:i,component:l="div",slots:c={},slotProps:u={},imgProps:d,sizes:f,src:b,srcSet:y,variant:h="circular",...p}=r;let v=null;const x={...r,component:l,variant:h},O=Yh({...d,...typeof u.img=="function"?u.img(x):u.img,src:b,srcSet:y}),w=b||y,S=w&&O!=="error";x.colorDefault=!S,delete x.ownerState;const T=Hh(x),[E,k]=fe("root",{ref:n,className:Z(T.root,i),elementType:qh,externalForwardedProps:{slots:c,slotProps:u,component:l,...p},ownerState:x}),[$,N]=fe("img",{className:T.img,elementType:Gh,externalForwardedProps:{slots:c,slotProps:{img:{...d,...u.img}}},additionalProps:{alt:a,src:b,srcSet:y,sizes:f},ownerState:x}),[M,D]=fe("fallback",{className:T.fallback,elementType:Kh,externalForwardedProps:{slots:c,slotProps:u},shouldForwardComponentProp:!0,ownerState:x});return S?v=g.jsx($,{...N}):s||s===0?v=s:w&&a?v=a[0]:v=g.jsx(M,{...D}),g.jsx(E,{...k,children:v})});process.env.NODE_ENV!=="production"&&(si.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 Xh(e){return me("MuiAvatarGroup",e)}const Jh=ge("MuiAvatarGroup",["root","avatar"]),Za={small:-16,medium:-8},Zh=e=>{const{classes:o}=e;return be({root:["root"],avatar:["avatar"]},Xh,o)},Qh=L("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(e,o)=>[{[`& .${Jh.avatar}`]:o.avatar},o.root]})(pe(({theme:e})=>({display:"flex",flexDirection:"row-reverse",[`& .${Uh.root}`]:{border:`2px solid ${(e.vars||e).palette.background.default}`,boxSizing:"content-box",marginLeft:"var(--AvatarGroup-spacing, -8px)","&:last-child":{marginLeft:0}}}))),Pu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAvatarGroup"}),{children:a,className:s,component:i="div",componentsProps:l,max:c=5,renderSurplus:u,slotProps:d={},slots:f={},spacing:b="medium",total:y,variant:h="circular",...p}=r;let v=c<2?2:c;const x={...r,max:c,spacing:b,component:i,variant:h},O=Zh(x),w=C.Children.toArray(a).filter(m=>(process.env.NODE_ENV!=="production"&&Po.isFragment(m)&&console.error(["MUI: The AvatarGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
138
|
+
`)),C.isValidElement(m))),S=y||w.length;S===v&&(v+=1),v=Math.min(S+1,v);const T=Math.min(w.length,v-1),E=Math.max(S-v,S-T,0),k=u?u(E):`+${E}`;let $;x.spacing&&Za[x.spacing]!==void 0?$=Za[x.spacing]:x.spacing===0?$=0:$=-x.spacing||Za.medium;const N={slots:f,slotProps:{surplus:d.additionalAvatar??l?.additionalAvatar,...l,...d}},[M,D]=fe("surplus",{elementType:si,externalForwardedProps:N,className:O.avatar,ownerState:x,additionalProps:{variant:h}});return g.jsxs(Qh,{as:i,ownerState:x,className:Z(O.root,s),ref:n,...p,style:{"--AvatarGroup-spacing":`${$}px`,...p.style},children:[E?g.jsx(M,{...D,children:k}):null,w.slice(0,T).reverse().map(m=>C.cloneElement(m,{className:Z(m.props.className,O.avatar),variant:m.props.variant||h}))]})});process.env.NODE_ENV!=="production"&&(Pu.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,componentsProps:t.shape({additionalAvatar:t.object}),max:St(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(`
|
|
139
|
+
`)):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])});const eb=e=>{if(typeof e=="number")return{width:e,height:e};if(!e)return{};const n={xs:24,sm:32,md:40,lg:48,xl:64,xxl:80}[e]||40;return{width:n,height:n,fontSize:n/2}},ku=({tamano:e="md",variante:o,sx:n,children:r,...a})=>g.jsx(si,{variant:o,sx:[eb(e),...Array.isArray(n)?n:[n]],...a,children:r}),Ru=({children:e,spacing:o="medium",maximo:n=5,...r})=>g.jsx(Pu,{max:n,spacing:o,...r,children:e}),$u=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]||""}`}},tb=$u,ob=Ru,nb=ku,ii=({requisitos:e=[],className:o=""})=>{const[n,r]=Me.useState(!1),a=Me.useRef(null),s=Me.useId(),i=u=>{u.stopPropagation(),u.preventDefault(),r(!n)},l=()=>r(!0),c=()=>r(!1);return Me.useEffect(()=>{const u=d=>{n&&a.current&&!a.current.contains(d.target)&&r(!1)};return document.addEventListener("click",u),()=>{document.removeEventListener("click",u)}},[n]),g.jsxs("div",{ref:a,className:`relative inline-flex items-center ml-0.5 align-top ${o}`,onMouseEnter:l,onMouseLeave:c,children:[g.jsx("button",{type:"button",onClick:i,"aria-expanded":n,"aria-controls":s,"aria-label":"Ver requisitos",className:`
|
|
140
140
|
group flex items-center justify-center
|
|
141
141
|
text-red-500 dark:text-red-400
|
|
142
142
|
font-bold text-lg leading-none
|
|
@@ -144,7 +144,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
144
144
|
transition-transform duration-200
|
|
145
145
|
focus:outline-none focus:text-red-600 dark:focus:text-red-300
|
|
146
146
|
${n?"scale-110":"hover:scale-110"}
|
|
147
|
-
`,children:"*"}),n&&
|
|
147
|
+
`,children:"*"}),n&&g.jsxs("div",{id:s,className:`
|
|
148
148
|
absolute bottom-full left-0 mb-1.5 z-[100]
|
|
149
149
|
/* Responsive Width: Fijo en desktop, limitado al viewport en móvil */
|
|
150
150
|
w-64 max-w-[85vw] sm:max-w-xs
|
|
@@ -153,12 +153,12 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
153
153
|
rounded-lg shadow-xl
|
|
154
154
|
animate-in fade-in zoom-in-95 slide-in-from-bottom-1 duration-150
|
|
155
155
|
origin-bottom-left
|
|
156
|
-
`,onClick:
|
|
156
|
+
`,onClick:u=>u.stopPropagation(),children:[g.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:g.jsxs("h4",{className:"text-[10px] font-bold text-gray-500 dark:text-gray-400 uppercase tracking-wider flex items-center gap-1.5",children:[g.jsx("svg",{className:"w-3 h-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:g.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"]})}),g.jsx("ul",{className:"p-1.5 space-y-0.5",children:e.map((u,d)=>g.jsxs("li",{className:`
|
|
157
157
|
flex items-start gap-2 px-2 py-1.5 rounded
|
|
158
158
|
text-xs text-gray-600 dark:text-gray-300
|
|
159
159
|
hover:bg-gray-50 dark:hover:bg-gray-700/50 transition-colors
|
|
160
|
-
`,children:[
|
|
161
|
-
`)),
|
|
160
|
+
`,children:[g.jsx("span",{className:"text-blue-500 dark:text-blue-400 mt-[2px]",children:"•"}),g.jsx("span",{className:"leading-snug",children:u})]},d))}),g.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"})]})]})},rb=ii,Iu=({para:e,texto:o,obligatorio:n,requisitos:r,className:a="",children:s,...i})=>g.jsxs("div",{className:`flex items-center gap-2 mb-1.5 ${a}`,...i,children:[g.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?g.jsx(ii,{requisitos:r}):g.jsx("span",{className:"text-xs text-red-500 font-bold select-none",title:"Campo obligatorio",children:"*"})),s]}),ab=Iu;function sb(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 ju(e,o,n,r){const a=e[o];if(a==null||!Number.isInteger(a)){const s=sb(a);return new RangeError(`Invalid ${r} \`${o}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Nu(e,o,n,r){return e[o]===void 0?null:ju(e,o,n,r)}function Ts(){return null}Nu.isRequired=ju;Ts.isRequired=Ts;const li=process.env.NODE_ENV==="production"?Ts:Nu;function ib(e){return me("MuiPaper",e)}ge("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 lb=e=>{const{square:o,elevation:n,variant:r,classes:a}=e,s={root:["root",r,!o&&"rounded",r==="elevation"&&`elevation${n}`]};return be(s,ib,a)},cb=L("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}`]]}})(pe(({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)"}}]}))),uo=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiPaper"}),a=xo(),{className:s,component:i="div",elevation:l=1,square:c=!1,variant:u="elevation",...d}=r,f={...r,component:i,elevation:l,square:c,variant:u},b=lb(f);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(`
|
|
161
|
+
`)),g.jsx(cb,{as:i,ownerState:f,className:Z(b.root,s),ref:n,...d,style:{...u==="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(${ht("#fff",bs(l))}, ${ht("#fff",bs(l))})`}},...d.style}})});process.env.NODE_ENV!=="production"&&(uo.propTypes={children:t.node,classes:t.object,className:t.string,component:t.elementType,elevation:St(li,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 ub(e){return me("MuiCard",e)}ge("MuiCard",["root"]);const db=e=>{const{classes:o}=e;return be({root:["root"]},ub,o)},pb=L(uo,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),ci=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCard"}),{className:a,raised:s=!1,...i}=r,l={...r,raised:s},c=db(l);return g.jsx(pb,{className:Z(c.root,a),elevation:s?8:void 0,ref:n,ownerState:l,...i})});process.env.NODE_ENV!=="production"&&(ci.propTypes={children:t.node,classes:t.object,className:t.string,raised:St(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 fb(e){return me("MuiCardActionArea",e)}const Qa=ge("MuiCardActionArea",["root","focusVisible","focusHighlight"]),mb=e=>{const{classes:o}=e;return be({root:["root"],focusHighlight:["focusHighlight"]},fb,o)},gb=L(ho,{name:"MuiCardActionArea",slot:"Root"})(pe(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${Qa.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${Qa.focusVisible} .${Qa.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),hb=L("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})(pe(({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})}))),Mu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCardActionArea"}),{children:a,className:s,focusVisibleClassName:i,slots:l={},slotProps:c={},...u}=r,d=r,f=mb(d),b={slots:l,slotProps:c},[y,h]=fe("root",{elementType:gb,externalForwardedProps:{...b,...u},shouldForwardComponentProp:!0,ownerState:d,ref:n,className:Z(f.root,s),additionalProps:{focusVisibleClassName:Z(i,f.focusVisible)}}),[p,v]=fe("focusHighlight",{elementType:hb,externalForwardedProps:b,ownerState:d,ref:n,className:f.focusHighlight});return g.jsxs(y,{...h,children:[a,g.jsx(p,{...v})]})});process.env.NODE_ENV!=="production"&&(Mu.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 bb(e){return me("MuiCardContent",e)}ge("MuiCardContent",["root"]);const yb=e=>{const{classes:o}=e;return be({root:["root"]},bb,o)},vb=L("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),Au=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCardContent"}),{className:a,component:s="div",...i}=r,l={...r,component:s},c=yb(l);return g.jsx(vb,{as:s,className:Z(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&(Au.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 xb(e){return me("MuiCardMedia",e)}ge("MuiCardMedia",["root","media","img"]);const Cb=e=>{const{classes:o,isMediaComponent:n,isImageComponent:r}=e;return be({root:["root",n&&"media",r&&"img"]},xb,o)},Sb=L("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"}}]}),wb=["video","audio","picture","iframe","img"],Tb=["picture","img"],Lu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCardMedia"}),{children:a,className:s,component:i="div",image:l,src:c,style:u,...d}=r,f=wb.includes(i),b=!f&&l?{backgroundImage:`url("${l}")`,...u}:u,y={...r,component:i,isMediaComponent:f,isImageComponent:Tb.includes(i)},h=Cb(y);return g.jsx(Sb,{className:Z(h.root,s),as:i,role:!f&&l?"img":void 0,ref:n,style:b,ownerState:y,src:f?l||c:void 0,...d,children:a})});process.env.NODE_ENV!=="production"&&(Lu.propTypes={children:St(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 Du=({variante:e="default",relleno:o="md",efectoHover:n,clicable:r,multimedia:a,cabecera:s,pie:i,className:l="",children:c,...u})=>{const d=h=>h==="outline"||h==="soft"?"outlined":"elevation",f=h=>{switch(h){case"none":return 0;case"sm":return 1.5;case"lg":return 3;default:return 2}},b=r?Mu:Me.Fragment,y=r?{component:"div"}:{};return g.jsx(ci,{variant:d(e)==="outlined"?"outlined":void 0,elevation:e==="default"?2:0,className:l,sx:{...e==="soft"&&{bgcolor:"action.hover",borderColor:"divider"},display:"flex",flexDirection:"column",height:"100%",...n&&{transition:"transform 0.2s, box-shadow 0.2s","&:hover":{transform:"translateY(-4px)",boxShadow:6}}},...u,children:g.jsxs(b,{...y,children:[typeof a=="string"?g.jsx(Lu,{component:"img",image:a,alt:"Media de tarjeta",height:"140"}):a,s&&g.jsx(nt,{sx:{p:f(o),pb:0},children:s}),g.jsx(Au,{sx:{p:f(o),flexGrow:1},children:c}),i&&g.jsx(nt,{sx:{p:f(o),pt:0},children:i})]})})},Ob=Du,Bu=({antetitulo:e,titulo:o,subtitulo:n,alineacion:r="left",etiquetaPrimaria:a,etiquetaSecundaria:s,alClickPrimario:i,alClickSecundario:l,alturaCompleta:c=!1,urlImagenFondo:u,capaOscura:d=!0,className:f="",children:b,...y})=>{const h=r==="center"?"text-center items-center":"text-left items-start",p=!!u;return g.jsxs("section",{className:`
|
|
162
162
|
relative overflow-hidden
|
|
163
163
|
border border-gray-200/80 dark:border-gray-700/80
|
|
164
164
|
rounded-2xl
|
|
@@ -168,48 +168,48 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
168
168
|
${c?"min-h-[60vh]":""}
|
|
169
169
|
${p?"bg-cover bg-center":"bg-gradient-to-b from-white to-gray-50 dark:from-gray-900 dark:to-gray-950"}
|
|
170
170
|
${f}
|
|
171
|
-
`,style:p?{backgroundImage:`url(${
|
|
171
|
+
`,style:p?{backgroundImage:`url(${u})`}:void 0,...y,children:[p&&d&&g.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-[1px]"}),g.jsxs("div",{className:`
|
|
172
172
|
relative z-10
|
|
173
173
|
max-w-3xl mx-auto flex flex-col gap-6
|
|
174
|
-
${
|
|
175
|
-
`,children:[e&&
|
|
174
|
+
${h}
|
|
175
|
+
`,children:[e&&g.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}),g.jsxs("div",{className:"space-y-3 md:space-y-4",children:[g.jsx("h1",{className:`
|
|
176
176
|
text-3xl md:text-4xl lg:text-5xl font-extrabold tracking-tight
|
|
177
177
|
${p?"text-white":"text-gray-900 dark:text-white"}
|
|
178
|
-
`,children:o}),n&&
|
|
178
|
+
`,children:o}),n&&g.jsx("p",{className:`
|
|
179
179
|
text-base md:text-lg max-w-2xl
|
|
180
180
|
${p?"text-gray-100/90":"text-gray-600 dark:text-gray-300"}
|
|
181
|
-
`,children:n})]}),(a||
|
|
181
|
+
`,children:n})]}),(a||s)&&g.jsxs("div",{className:`
|
|
182
182
|
flex flex-wrap gap-3 mt-2
|
|
183
183
|
${r==="center"?"justify-center":"justify-start"}
|
|
184
|
-
`,children:[a&&
|
|
184
|
+
`,children:[a&&i&&g.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:i,children:a}),s&&l&&g.jsx("button",{type:"button",className:`
|
|
185
185
|
inline-flex items-center justify-center px-4 py-2.5 text-sm font-semibold rounded-lg border
|
|
186
186
|
${p?"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"}
|
|
187
187
|
focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500
|
|
188
|
-
`,onClick:l,children:
|
|
188
|
+
`,onClick:l,children:s})]}),b]})]})},Eb=Bu,Pb={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"},Fu=({titulo:e,descripcion:o,variante:n="info",icono:r,cerrable:a=!1,abierto:s,alCerrar:i,anchoCompleto:l=!0,className:c="",children:u,...d})=>{const[f,b]=Me.useState(!0);if(!(s!==void 0?s:f))return null;const h=Pb[n],p=r??(n==="success"?"✅":n==="warning"?"⚠️":n==="error"?"⛔":n==="neutral"?"💡":"ℹ️"),v=n==="error"||n==="warning"?"alert":"status",x=()=>{s===void 0&&b(!1),i&&i()};return g.jsx("div",{className:l?"w-full":"inline-flex",...d,children:g.jsxs("div",{className:`
|
|
189
189
|
flex w-full items-start gap-3 border rounded-lg px-4 py-3
|
|
190
|
-
shadow-sm ${
|
|
191
|
-
`,role:
|
|
190
|
+
shadow-sm ${h} ${c}
|
|
191
|
+
`,role:v,children:[p&&g.jsx("div",{className:"mt-0.5 text-xl shrink-0","aria-hidden":"true",children:p}),g.jsxs("div",{className:"flex-1 min-w-0",children:[e&&g.jsx("p",{className:"text-sm font-semibold leading-5 truncate",children:e}),o&&g.jsx("p",{className:"mt-0.5 text-xs sm:text-sm leading-5",children:o}),u]}),a&&g.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:x,"aria-label":"Cerrar aviso",children:g.jsx("svg",{className:"w-4 h-4",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:g.jsx("path",{fillRule:"evenodd",d:`M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414
|
|
192
192
|
1.414L11.414 10l4.293 4.293a1 1 0 01-1.414
|
|
193
193
|
1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586
|
|
194
|
-
10 4.293 5.707a1 1 0 010-1.414z`,clipRule:"evenodd"})})})]})})};function
|
|
195
|
-
`)):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 ih=ct(m.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"),sh=ct(m.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),lh=ct(m.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"),ch=ct(m.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"),ku=ct(m.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"),uh=e=>{const{variant:o,color:n,severity:r,classes:a}=e,i={root:["root",`color${D(n||r)}`,`${o}${D(n||r)}`,`${o}`],icon:["icon"],message:["message"],action:["action"]};return he(i,th,a)},dh=L(uo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${D(n.color||n.severity)}`]]}})(pe(({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(Ve(["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),[`& .${Il.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ve(["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}`,[`& .${Il.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ve(["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)}}}))]}})),ph=L("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),fh=L("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),mh=L("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Nl={success:m.jsx(ih,{fontSize:"inherit"}),warning:m.jsx(sh,{fontSize:"inherit"}),error:m.jsx(lh,{fontSize:"inherit"}),info:m.jsx(ch,{fontSize:"inherit"})},ls=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAlert"}),{action:a,children:i,className:s,closeText:l="Close",color:c,components:d={},componentsProps:u={},icon:f,iconMapping:h=Nl,onClose:v,role:b="alert",severity:p="success",slotProps:y={},slots:C={},variant:O="standard",...w}=r,S={...r,color:c,severity:p,variant:O,colorSeverity:c||p},T=uh(S),E={slots:{closeButton:d.CloseButton,closeIcon:d.CloseIcon,...C},slotProps:{...u,...y}},[R,I]=fe("root",{ref:n,shouldForwardComponentProp:!0,className:Z(T.root,s),elementType:dh,externalForwardedProps:{...E,...w},ownerState:S,additionalProps:{role:b,elevation:0}}),[N,M]=fe("icon",{className:T.icon,elementType:ph,externalForwardedProps:E,ownerState:S}),[F,g]=fe("message",{className:T.message,elementType:fh,externalForwardedProps:E,ownerState:S}),[$,P]=fe("action",{className:T.action,elementType:mh,externalForwardedProps:E,ownerState:S}),[j,k]=fe("closeButton",{elementType:dn,externalForwardedProps:E,ownerState:S}),[W,G]=fe("closeIcon",{elementType:ku,externalForwardedProps:E,ownerState:S});return m.jsxs(R,{...I,children:[f!==!1?m.jsx(N,{...M,children:f||h[p]||Nl[p]}):null,m.jsx(F,{...g,children:i}),a!=null?m.jsx($,{...P,children:a}):null,a==null&&v?m.jsx($,{...P,children:m.jsx(j,{size:"small","aria-label":l,title:l,color:"inherit",onClick:v,...k,children:m.jsx(W,{fontSize:"small",...G})})}):null]})});process.env.NODE_ENV!=="production"&&(ls.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 gh(e){return me("MuiAlertTitle",e)}ge("MuiAlertTitle",["root"]);const bh=e=>{const{classes:o}=e;return he({root:["root"]},gh,o)},hh=L(it,{name:"MuiAlertTitle",slot:"Root"})(pe(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),cs=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAlertTitle"}),{className:a,...i}=r,s=r,l=bh(s);return m.jsx(hh,{gutterBottom:!0,component:"div",ownerState:s,ref:n,className:Z(l.root,a),...i})});process.env.NODE_ENV!=="production"&&(cs.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 Ru=e=>e.scrollTop;function pn(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 yh(e){return me("MuiCollapse",e)}ge("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const vh=e=>{const{orientation:o,classes:n}=e,r={root:["root",`${o}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${o}`],wrapperInner:["wrapperInner",`${o}`]};return he(r,yh,n)},xh=L("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]}})(pe(({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"}}]}))),Ch=L("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Sh=L("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Dr=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCollapse"}),{addEndListener:a,children:i,className:s,collapsedSize:l="0px",component:c,easing:d,in:u,onEnter:f,onEntered:h,onEntering:v,onExit:b,onExited:p,onExiting:y,orientation:C="vertical",slots:O={},slotProps:w={},style:S,timeout:T=ou.standard,TransitionComponent:E=Jt,...R}=r,I={...r,orientation:C,collapsedSize:l},N=vh(I),M=xo(),F=ma(),g=x.useRef(null),$=x.useRef(),P=typeof l=="number"?`${l}px`:l,j=C==="horizontal",k=j?"width":"height",W=x.useRef(null),G=et(n,W),H=ue=>Oe=>{if(ue){const Ee=W.current;Oe===void 0?ue(Ee):ue(Ee,Oe)}},B=()=>g.current?g.current[j?"clientWidth":"clientHeight"]:0,A=H((ue,Oe)=>{g.current&&j&&(g.current.style.position="absolute"),ue.style[k]=P,f&&f(ue,Oe)}),X=H((ue,Oe)=>{const Ee=B();g.current&&j&&(g.current.style.position="");const{duration:ne,easing:Be}=pn({style:S,timeout:T,easing:d},{mode:"enter"});if(T==="auto"){const we=M.transitions.getAutoHeightDuration(Ee);ue.style.transitionDuration=`${we}ms`,$.current=we}else ue.style.transitionDuration=typeof ne=="string"?ne:`${ne}ms`;ue.style[k]=`${Ee}px`,ue.style.transitionTimingFunction=Be,v&&v(ue,Oe)}),ee=H((ue,Oe)=>{ue.style[k]="auto",h&&h(ue,Oe)}),ie=H(ue=>{ue.style[k]=`${B()}px`,b&&b(ue)}),K=H(p),z=H(ue=>{const Oe=B(),{duration:Ee,easing:ne}=pn({style:S,timeout:T,easing:d},{mode:"exit"});if(T==="auto"){const Be=M.transitions.getAutoHeightDuration(Oe);ue.style.transitionDuration=`${Be}ms`,$.current=Be}else ue.style.transitionDuration=typeof Ee=="string"?Ee:`${Ee}ms`;ue.style[k]=P,ue.style.transitionTimingFunction=ne,y&&y(ue)}),oe=ue=>{T==="auto"&&F.start($.current||0,ue),a&&a(W.current,ue)},ce={slots:O,slotProps:w,component:c},[J,Y]=fe("root",{ref:G,className:Z(N.root,s),elementType:xh,externalForwardedProps:ce,ownerState:I,additionalProps:{style:{[j?"minWidth":"minHeight"]:P,...S}}}),[le,U]=fe("wrapper",{ref:g,className:N.wrapper,elementType:Ch,externalForwardedProps:ce,ownerState:I}),[ae,se]=fe("wrapperInner",{className:N.wrapperInner,elementType:Sh,externalForwardedProps:ce,ownerState:I});return m.jsx(E,{in:u,onEnter:A,onEntered:ee,onEntering:X,onExit:ie,onExited:K,onExiting:z,addEndListener:oe,nodeRef:W,timeout:T==="auto"?null:T,...R,children:(ue,{ownerState:Oe,...Ee})=>{const ne={...I,state:ue};return m.jsx(J,{...Y,className:Z(Y.className,{entered:N.entered,exited:!u&&P==="0px"&&N.hidden}[ue]),ownerState:ne,...Ee,children:m.jsx(le,{...U,ownerState:ne,children:m.jsx(ae,{...se,ownerState:ne,children:i})})})}})});process.env.NODE_ENV!=="production"&&(Dr.propTypes={addEndListener:t.func,children:t.node,classes:t.object,className:t.string,collapsedSize:t.oneOfType([t.number,t.string]),component:ir,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})])});Dr&&(Dr.muiSupportAuto=!0);const wh=({variant:e="info",design:o="standard",title:n,description:r,icon:a,dismissible:i=!1,open:s=!0,onClose:l,className:c="",children:d,action:u,sx:f,...h})=>{const v=b=>b==="danger"?"error":b;return m.jsx(Dr,{in:s,children:m.jsxs(ls,{severity:v(e),variant:o,onClose:i||l?()=>l&&l():void 0,className:c,icon:a,action:u,sx:{borderRadius:"12px",mb:2,border:o==="outlined"?"1px solid":void 0,boxShadow:o==="filled"?"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","& .MuiAlertTitle-root":{fontWeight:700,mb:r||d?.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:.9},...f},...h,children:[n&&m.jsx(cs,{children:n}),r&&m.jsx(nt,{component:"div",sx:{opacity:.9},children:r}),d]})})},Th=({content:e,side:o="top",delayMs:n=200,arrow:r=!0,disabled:a=!1,className:i="",onOpenChange:s,children:l})=>{const[c,d]=Me.useState(!1),u=Me.useRef(null),f=Me.useId(),h=C=>{d(C),s&&s(C)},v=()=>{a||(u.current&&(clearTimeout(u.current),u.current=null),u.current=window.setTimeout(()=>{h(!0)},n))},b=()=>{u.current&&(clearTimeout(u.current),u.current=null),h(!1)};Me.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]);const p={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},y={top:"bottom-[-4px] left-1/2 -translate-x-1/2 border-b border-r",bottom:"top-[-4px] left-1/2 -translate-x-1/2 border-t border-l",left:"right-[-4px] top-1/2 -translate-y-1/2 border-t border-r",right:"left-[-4px] top-1/2 -translate-y-1/2 border-b border-l"};return m.jsxs("span",{className:`relative inline-flex ${i}`,onMouseEnter:v,onMouseLeave:b,onFocus:v,onBlur:b,"aria-describedby":c?f:void 0,children:[l,!a&&c&&m.jsx("div",{id:f,role:"tooltip",className:`
|
|
194
|
+
10 4.293 5.707a1 1 0 010-1.414z`,clipRule:"evenodd"})})})]})})},kb=Fu;function Rb(e){return me("MuiAlert",e)}const Al=ge("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 $b(e){return me("MuiIconButton",e)}const Ll=ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Ib=e=>{const{classes:o,disabled:n,color:r,edge:a,size:s,loading:i}=e,l={root:["root",i&&"loading",n&&"disabled",r!=="default"&&`color${B(r)}`,a&&`edge${B(a)}`,`size${B(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return be(l,$b,o)},jb=L(ho,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.loading&&o.loading,n.color!=="default"&&o[`color${B(n.color)}`],n.edge&&o[`edge${B(n.edge)}`],o[`size${B(n.size)}`]]}})(pe(({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}}]})),pe(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{color:(e.vars||e).palette[o].main}})),...Object.entries(e.palette).filter(Ve()).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)}}],[`&.${Ll.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Ll.loading}`]:{color:"transparent"}}))),Nb=L("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"}}]})),dn=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiIconButton"}),{edge:a=!1,children:s,className:i,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:d="medium",id:f,loading:b=null,loadingIndicator:y,...h}=r,p=vo(f),v=y??g.jsx(ir,{"aria-labelledby":p,color:"inherit",size:16}),x={...r,edge:a,color:l,disabled:c,disableFocusRipple:u,loading:b,loadingIndicator:v,size:d},O=Ib(x);return g.jsxs(jb,{id:b?p:f,className:Z(O.root,i),centerRipple:!0,focusRipple:!u,disabled:c||b,ref:n,...h,ownerState:x,children:[typeof b=="boolean"&&g.jsx("span",{className:O.loadingWrapper,style:{display:"contents"},children:g.jsx(Nb,{className:O.loadingIndicator,ownerState:x,children:b&&v})}),s]})});process.env.NODE_ENV!=="production"&&(dn.propTypes={children:St(t.node,e=>C.Children.toArray(e.children).some(n=>C.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(`
|
|
195
|
+
`)):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 Mb=ct(g.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"),Ab=ct(g.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Lb=ct(g.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"),Db=ct(g.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"),zu=ct(g.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"),Bb=e=>{const{variant:o,color:n,severity:r,classes:a}=e,s={root:["root",`color${B(n||r)}`,`${o}${B(n||r)}`,`${o}`],icon:["icon"],message:["message"],action:["action"]};return be(s,Rb,a)},Fb=L(uo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[n.variant],o[`${n.variant}${B(n.color||n.severity)}`]]}})(pe(({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(Ve(["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),[`& .${Al.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ve(["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}`,[`& .${Al.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ve(["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)}}}))]}})),zb=L("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Vb=L("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),_b=L("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Dl={success:g.jsx(Mb,{fontSize:"inherit"}),warning:g.jsx(Ab,{fontSize:"inherit"}),error:g.jsx(Lb,{fontSize:"inherit"}),info:g.jsx(Db,{fontSize:"inherit"})},ui=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAlert"}),{action:a,children:s,className:i,closeText:l="Close",color:c,components:u={},componentsProps:d={},icon:f,iconMapping:b=Dl,onClose:y,role:h="alert",severity:p="success",slotProps:v={},slots:x={},variant:O="standard",...w}=r,S={...r,color:c,severity:p,variant:O,colorSeverity:c||p},T=Bb(S),E={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...x},slotProps:{...d,...v}},[k,$]=fe("root",{ref:n,shouldForwardComponentProp:!0,className:Z(T.root,i),elementType:Fb,externalForwardedProps:{...E,...w},ownerState:S,additionalProps:{role:h,elevation:0}}),[N,M]=fe("icon",{className:T.icon,elementType:zb,externalForwardedProps:E,ownerState:S}),[D,m]=fe("message",{className:T.message,elementType:Vb,externalForwardedProps:E,ownerState:S}),[I,P]=fe("action",{className:T.action,elementType:_b,externalForwardedProps:E,ownerState:S}),[j,R]=fe("closeButton",{elementType:dn,externalForwardedProps:E,ownerState:S}),[W,G]=fe("closeIcon",{elementType:zu,externalForwardedProps:E,ownerState:S});return g.jsxs(k,{...$,children:[f!==!1?g.jsx(N,{...M,children:f||b[p]||Dl[p]}):null,g.jsx(D,{...m,children:s}),a!=null?g.jsx(I,{...P,children:a}):null,a==null&&y?g.jsx(I,{...P,children:g.jsx(j,{size:"small","aria-label":l,title:l,color:"inherit",onClick:y,...R,children:g.jsx(W,{fontSize:"small",...G})})}):null]})});process.env.NODE_ENV!=="production"&&(ui.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 Wb(e){return me("MuiAlertTitle",e)}ge("MuiAlertTitle",["root"]);const Ub=e=>{const{classes:o}=e;return be({root:["root"]},Wb,o)},Hb=L(st,{name:"MuiAlertTitle",slot:"Root"})(pe(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),di=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAlertTitle"}),{className:a,...s}=r,i=r,l=Ub(i);return g.jsx(Hb,{gutterBottom:!0,component:"div",ownerState:i,ref:n,className:Z(l.root,a),...s})});process.env.NODE_ENV!=="production"&&(di.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 Vu=e=>e.scrollTop;function pn(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 qb(e){return me("MuiCollapse",e)}ge("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const Gb=e=>{const{orientation:o,classes:n}=e,r={root:["root",`${o}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${o}`],wrapperInner:["wrapperInner",`${o}`]};return be(r,qb,n)},Kb=L("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]}})(pe(({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"}}]}))),Yb=L("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Xb=L("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Dr=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCollapse"}),{addEndListener:a,children:s,className:i,collapsedSize:l="0px",component:c,easing:u,in:d,onEnter:f,onEntered:b,onEntering:y,onExit:h,onExited:p,onExiting:v,orientation:x="vertical",slots:O={},slotProps:w={},style:S,timeout:T=su.standard,TransitionComponent:E=Jt,...k}=r,$={...r,orientation:x,collapsedSize:l},N=Gb($),M=xo(),D=ma(),m=C.useRef(null),I=C.useRef(),P=typeof l=="number"?`${l}px`:l,j=x==="horizontal",R=j?"width":"height",W=C.useRef(null),G=et(n,W),H=ue=>Oe=>{if(ue){const Ee=W.current;Oe===void 0?ue(Ee):ue(Ee,Oe)}},F=()=>m.current?m.current[j?"clientWidth":"clientHeight"]:0,A=H((ue,Oe)=>{m.current&&j&&(m.current.style.position="absolute"),ue.style[R]=P,f&&f(ue,Oe)}),X=H((ue,Oe)=>{const Ee=F();m.current&&j&&(m.current.style.position="");const{duration:ne,easing:Be}=pn({style:S,timeout:T,easing:u},{mode:"enter"});if(T==="auto"){const we=M.transitions.getAutoHeightDuration(Ee);ue.style.transitionDuration=`${we}ms`,I.current=we}else ue.style.transitionDuration=typeof ne=="string"?ne:`${ne}ms`;ue.style[R]=`${Ee}px`,ue.style.transitionTimingFunction=Be,y&&y(ue,Oe)}),ee=H((ue,Oe)=>{ue.style[R]="auto",b&&b(ue,Oe)}),se=H(ue=>{ue.style[R]=`${F()}px`,h&&h(ue)}),K=H(p),z=H(ue=>{const Oe=F(),{duration:Ee,easing:ne}=pn({style:S,timeout:T,easing:u},{mode:"exit"});if(T==="auto"){const Be=M.transitions.getAutoHeightDuration(Oe);ue.style.transitionDuration=`${Be}ms`,I.current=Be}else ue.style.transitionDuration=typeof Ee=="string"?Ee:`${Ee}ms`;ue.style[R]=P,ue.style.transitionTimingFunction=ne,v&&v(ue)}),oe=ue=>{T==="auto"&&D.start(I.current||0,ue),a&&a(W.current,ue)},ce={slots:O,slotProps:w,component:c},[J,Y]=fe("root",{ref:G,className:Z(N.root,i),elementType:Kb,externalForwardedProps:ce,ownerState:$,additionalProps:{style:{[j?"minWidth":"minHeight"]:P,...S}}}),[le,U]=fe("wrapper",{ref:m,className:N.wrapper,elementType:Yb,externalForwardedProps:ce,ownerState:$}),[ae,ie]=fe("wrapperInner",{className:N.wrapperInner,elementType:Xb,externalForwardedProps:ce,ownerState:$});return g.jsx(E,{in:d,onEnter:A,onEntered:ee,onEntering:X,onExit:se,onExited:K,onExiting:z,addEndListener:oe,nodeRef:W,timeout:T==="auto"?null:T,...k,children:(ue,{ownerState:Oe,...Ee})=>{const ne={...$,state:ue};return g.jsx(J,{...Y,className:Z(Y.className,{entered:N.entered,exited:!d&&P==="0px"&&N.hidden}[ue]),ownerState:ne,...Ee,children:g.jsx(le,{...U,ownerState:ne,children:g.jsx(ae,{...ie,ownerState:ne,children:s})})})}})});process.env.NODE_ENV!=="production"&&(Dr.propTypes={addEndListener:t.func,children:t.node,classes:t.object,className:t.string,collapsedSize:t.oneOfType([t.number,t.string]),component:sr,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})])});Dr&&(Dr.muiSupportAuto=!0);const _u=({variante:e="info",diseno:o="standard",titulo:n,descripcion:r,cerrable:a=!1,abierto:s=!0,alCerrar:i,accion:l,className:c="",children:u,sx:d,icon:f,...b})=>{const y=h=>h==="danger"?"error":h;return g.jsx(Dr,{in:s,children:g.jsxs(ui,{severity:y(e),variant:o,onClose:a||i?()=>i&&i():void 0,className:c,icon:f,action:l,sx:{borderRadius:"12px",mb:2,border:o==="outlined"?"1px solid":void 0,boxShadow:o==="filled"?"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","& .MuiAlertTitle-root":{fontWeight:700,mb:r||u?.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:.9},...d},...b,children:[n&&g.jsx(di,{children:n}),r&&g.jsx(nt,{component:"div",sx:{opacity:.9},children:r}),u]})})},Jb=_u,Wu=({contenido:e,lado:o="arriba",retrasoMs:n=200,flecha:r=!0,deshabilitado:a=!1,alCambiarEstado:s,className:i="",children:l})=>{const u=(w=>({arriba:"top",abajo:"bottom",izquierda:"left",derecha:"right"})[w]||"top")(o),[d,f]=Me.useState(!1),b=Me.useRef(null),y=Me.useId(),h=w=>{f(w),s&&s(w)},p=()=>{a||(b.current&&(clearTimeout(b.current),b.current=null),b.current=window.setTimeout(()=>{h(!0)},n))},v=()=>{b.current&&(clearTimeout(b.current),b.current=null),h(!1)};Me.useEffect(()=>()=>{b.current&&clearTimeout(b.current)},[]);const x={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"},O={top:"bottom-[-4px] left-1/2 -translate-x-1/2 border-b border-r",bottom:"top-[-4px] left-1/2 -translate-x-1/2 border-t border-l",left:"right-[-4px] top-1/2 -translate-y-1/2 border-t border-r",right:"left-[-4px] top-1/2 -translate-y-1/2 border-b border-l"};return g.jsxs("span",{className:`relative inline-flex ${i}`,onMouseEnter:p,onMouseLeave:v,onFocus:p,onBlur:v,"aria-describedby":d?y:void 0,children:[l,!a&&d&&g.jsx("div",{id:y,role:"tooltip",className:`
|
|
196
196
|
absolute z-50
|
|
197
|
-
${
|
|
197
|
+
${x[u]}
|
|
198
198
|
animate-in fade-in zoom-in-95 duration-200
|
|
199
199
|
min-w-max
|
|
200
|
-
`,children:
|
|
200
|
+
`,children:g.jsxs("div",{className:`
|
|
201
201
|
relative
|
|
202
202
|
px-3 py-2
|
|
203
203
|
text-xs font-medium text-white
|
|
204
204
|
bg-gray-900 dark:bg-gray-700
|
|
205
205
|
rounded-md shadow-lg
|
|
206
206
|
pointer-events-none
|
|
207
|
-
`,children:[e,r&&
|
|
207
|
+
`,children:[e,r&&g.jsx("div",{className:`
|
|
208
208
|
absolute w-2 h-2
|
|
209
209
|
bg-gray-900 dark:bg-gray-700
|
|
210
210
|
rotate-45
|
|
211
|
-
${
|
|
212
|
-
`})]})})]})};function Oh(e={}){const{autoHideDuration:o=null,disableWindowBlurListener:n=!1,onClose:r,open:a,resumeHideDuration:i}=e,s=ma();x.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=Ct((C,O)=>{r?.(C,O)}),c=Ct(C=>{!r||C==null||s.start(C,()=>{l(null,"timeout")})});x.useEffect(()=>(a&&c(o),s.clear),[a,o,c,s]);const d=C=>{r?.(C,"clickaway")},u=s.clear,f=x.useCallback(()=>{o!=null&&c(i??o*.5)},[o,i,c]),h=C=>O=>{const w=C.onBlur;w?.(O),f()},v=C=>O=>{const w=C.onFocus;w?.(O),u()},b=C=>O=>{const w=C.onMouseEnter;w?.(O),u()},p=C=>O=>{const w=C.onMouseLeave;w?.(O),f()};return x.useEffect(()=>{if(!n&&a)return window.addEventListener("focus",f),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",u)}},[n,a,f,u]),{getRootProps:(C={})=>{const O={...Vo(e),...Vo(C)};return{role:"presentation",...C,...O,onBlur:h(O),onFocus:v(O),onMouseEnter:b(O),onMouseLeave:p(O)}},onClickAway:d}}function Eh(e){const{prototype:o={}}=e;return!!o.isReactComponent}function $u(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"&&!Eh(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 yn=St(t.element,$u);yn.isRequired=St(t.element.isRequired,$u);function vn(e){return parseInt(x.version,10)>=19?e?.props?.ref||null:e?.ref||null}function Ml(e){return e.substring(2).toLowerCase()}function Ph(e,o){return o.documentElement.clientWidth<e.clientX||o.documentElement.clientHeight<e.clientY}function Br(e){const{children:o,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:a,touchEvent:i="onTouchEnd"}=e,s=x.useRef(!1),l=x.useRef(null),c=x.useRef(!1),d=x.useRef(!1);x.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const u=et(vn(o),l),f=Ct(b=>{const p=d.current;d.current=!1;const y=dt(l.current);if(!c.current||!l.current||"clientX"in b&&Ph(b,y))return;if(s.current){s.current=!1;return}let C;b.composedPath?C=b.composedPath().includes(l.current):C=!y.documentElement.contains(b.target)||l.current.contains(b.target),!C&&(n||!p)&&a(b)}),h=b=>p=>{d.current=!0;const y=o.props[b];y&&y(p)},v={ref:u};return i!==!1&&(v[i]=h(i)),x.useEffect(()=>{if(i!==!1){const b=Ml(i),p=dt(l.current),y=()=>{s.current=!0};return p.addEventListener(b,f),p.addEventListener("touchmove",y),()=>{p.removeEventListener(b,f),p.removeEventListener("touchmove",y)}}},[f,i]),r!==!1&&(v[r]=h(r)),x.useEffect(()=>{if(r!==!1){const b=Ml(r),p=dt(l.current);return p.addEventListener(b,f),()=>{p.removeEventListener(b,f)}}},[f,r]),x.cloneElement(o,v)}process.env.NODE_ENV!=="production"&&(Br.propTypes={children:yn.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"&&(Br.propTypes=Yi(Br.propTypes));function Oi(e){return`scale(${e}, ${e**2})`}const kh={entering:{opacity:1,transform:Oi(1)},entered:{opacity:1,transform:"none"}},ei=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yn=x.forwardRef(function(o,n){const{addEndListener:r,appear:a=!0,children:i,easing:s,in:l,onEnter:c,onEntered:d,onEntering:u,onExit:f,onExited:h,onExiting:v,style:b,timeout:p="auto",TransitionComponent:y=Jt,...C}=o,O=ma(),w=x.useRef(),S=xo(),T=x.useRef(null),E=et(T,vn(i),n),R=j=>k=>{if(j){const W=T.current;k===void 0?j(W):j(W,k)}},I=R(u),N=R((j,k)=>{Ru(j);const{duration:W,delay:G,easing:H}=pn({style:b,timeout:p,easing:s},{mode:"enter"});let B;p==="auto"?(B=S.transitions.getAutoHeightDuration(j.clientHeight),w.current=B):B=W,j.style.transition=[S.transitions.create("opacity",{duration:B,delay:G}),S.transitions.create("transform",{duration:ei?B:B*.666,delay:G,easing:H})].join(","),c&&c(j,k)}),M=R(d),F=R(v),g=R(j=>{const{duration:k,delay:W,easing:G}=pn({style:b,timeout:p,easing:s},{mode:"exit"});let H;p==="auto"?(H=S.transitions.getAutoHeightDuration(j.clientHeight),w.current=H):H=k,j.style.transition=[S.transitions.create("opacity",{duration:H,delay:W}),S.transitions.create("transform",{duration:ei?H:H*.666,delay:ei?W:W||H*.333,easing:G})].join(","),j.style.opacity=0,j.style.transform=Oi(.75),f&&f(j)}),$=R(h),P=j=>{p==="auto"&&O.start(w.current||0,j),r&&r(T.current,j)};return m.jsx(y,{appear:a,in:l,nodeRef:T,onEnter:N,onEntered:M,onEntering:I,onExit:g,onExited:$,onExiting:F,addEndListener:P,timeout:p==="auto"?null:p,...C,children:(j,{ownerState:k,...W})=>x.cloneElement(i,{style:{opacity:0,transform:Oi(.75),visibility:j==="exited"&&!l?"hidden":void 0,...kh[j],...b,...i.props.style},ref:E,...W})})});process.env.NODE_ENV!=="production"&&(Yn.propTypes={addEndListener:t.func,appear:t.bool,children:yn.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})])});Yn&&(Yn.muiSupportAuto=!0);function Rh(e){return me("MuiSnackbarContent",e)}ge("MuiSnackbarContent",["root","message","action"]);const $h=e=>{const{classes:o}=e;return he({root:["root"],action:["action"],message:["message"]},Rh,o)},Ih=L(uo,{name:"MuiSnackbarContent",slot:"Root"})(pe(({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(mi(e.palette.background.default,o)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:mi(e.palette.background.default,o),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),jh=L("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),Nh=L("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Iu=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSnackbarContent"}),{action:a,className:i,message:s,role:l="alert",...c}=r,d=r,u=$h(d);return m.jsxs(Ih,{role:l,elevation:6,className:Z(u.root,i),ownerState:d,ref:n,...c,children:[m.jsx(jh,{className:u.message,ownerState:d,children:s}),a?m.jsx(Nh,{className:u.action,ownerState:d,children:a}):null]})});process.env.NODE_ENV!=="production"&&(Iu.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 Mh(e){return me("MuiSnackbar",e)}ge("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Ah=e=>{const{classes:o,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${D(n.vertical)}${D(n.horizontal)}`]};return he(r,Mh,o)},Lh=L("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`anchorOrigin${D(n.anchorOrigin.vertical)}${D(n.anchorOrigin.horizontal)}`]]}})(pe(({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%)"}}}]}))),ju=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSnackbar"}),a=xo(),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:u,className:f,ClickAwayListenerProps:h,ContentProps:v,disableWindowBlurListener:b=!1,message:p,onBlur:y,onClose:C,onFocus:O,onMouseEnter:w,onMouseLeave:S,open:T,resumeHideDuration:E,slots:R={},slotProps:I={},TransitionComponent:N,transitionDuration:M=i,TransitionProps:{onEnter:F,onExited:g,...$}={},...P}=r,j={...r,anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:d,disableWindowBlurListener:b,TransitionComponent:N,transitionDuration:M},k=Ah(j),{getRootProps:W,onClickAway:G}=Oh(j),[H,B]=x.useState(!0),A=ae=>{B(!0),g&&g(ae)},X=(ae,se)=>{B(!1),F&&F(ae,se)},ee={slots:{transition:N,...R},slotProps:{content:v,clickAwayListener:h,transition:$,...I}},[ie,K]=fe("root",{ref:n,className:[k.root,f],elementType:Lh,getSlotProps:W,externalForwardedProps:{...ee,...P},ownerState:j}),[z,{ownerState:oe,...ce}]=fe("clickAwayListener",{elementType:Br,externalForwardedProps:ee,getSlotProps:ae=>({onClickAway:(...se)=>{const ue=se[0];ae.onClickAway?.(...se),!ue?.defaultMuiPrevented&&G(...se)}}),ownerState:j}),[J,Y]=fe("content",{elementType:Iu,shouldForwardComponentProp:!0,externalForwardedProps:ee,additionalProps:{message:p,action:s},ownerState:j}),[le,U]=fe("transition",{elementType:Yn,externalForwardedProps:ee,getSlotProps:ae=>({onEnter:(...se)=>{ae.onEnter?.(...se),X(...se)},onExited:(...se)=>{ae.onExited?.(...se),A(...se)}}),additionalProps:{appear:!0,in:T,timeout:M,direction:l==="top"?"down":"up"},ownerState:j});return!T&&H?null:m.jsx(z,{...ce,...R.clickAwayListener&&{ownerState:oe},children:m.jsx(ie,{...K,children:m.jsx(le,{...U,children:u||m.jsx(J,{...Y})})})})});process.env.NODE_ENV!=="production"&&(ju.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});const Dh=e=>{switch(e){case"top-left":return{vertical:"top",horizontal:"left"};case"top-center":return{vertical:"top",horizontal:"center"};case"top-right":return{vertical:"top",horizontal:"right"};case"bottom-left":return{vertical:"bottom",horizontal:"left"};case"bottom-center":return{vertical:"bottom",horizontal:"center"};case"bottom-right":return{vertical:"bottom",horizontal:"right"};default:return{vertical:"bottom",horizontal:"right"}}},Bh=({open:e,variant:o="info",title:n,subtitle:r,position:a="bottom-right",showIcon:i=!0,dismissible:s=!0,duration:l=6e3,onClose:c,alertProps:d,children:u,...f})=>{const h=(v,b)=>{b!=="clickaway"&&c?.(v,b)};return m.jsx(ju,{open:e,autoHideDuration:l,onClose:h,anchorOrigin:Dh(a),...f,children:m.jsxs(ls,{onClose:s?h:void 0,severity:o,icon:i?void 0:!1,sx:{width:"100%"},...d,children:[n&&m.jsx(cs,{children:n}),r||u]})})};function Fh(e){return me("MuiLinearProgress",e)}ge("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Ei=4,Pi=co`
|
|
211
|
+
${O[u]}
|
|
212
|
+
`})]})})]})},Zb=Wu;function Qb(e={}){const{autoHideDuration:o=null,disableWindowBlurListener:n=!1,onClose:r,open:a,resumeHideDuration:s}=e,i=ma();C.useEffect(()=>{if(!a)return;function x(O){O.defaultPrevented||O.key==="Escape"&&r?.(O,"escapeKeyDown")}return document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}},[a,r]);const l=Ct((x,O)=>{r?.(x,O)}),c=Ct(x=>{!r||x==null||i.start(x,()=>{l(null,"timeout")})});C.useEffect(()=>(a&&c(o),i.clear),[a,o,c,i]);const u=x=>{r?.(x,"clickaway")},d=i.clear,f=C.useCallback(()=>{o!=null&&c(s??o*.5)},[o,s,c]),b=x=>O=>{const w=x.onBlur;w?.(O),f()},y=x=>O=>{const w=x.onFocus;w?.(O),d()},h=x=>O=>{const w=x.onMouseEnter;w?.(O),d()},p=x=>O=>{const w=x.onMouseLeave;w?.(O),f()};return C.useEffect(()=>{if(!n&&a)return window.addEventListener("focus",f),window.addEventListener("blur",d),()=>{window.removeEventListener("focus",f),window.removeEventListener("blur",d)}},[n,a,f,d]),{getRootProps:(x={})=>{const O={...Vo(e),...Vo(x)};return{role:"presentation",...x,...O,onBlur:b(O),onFocus:y(O),onMouseEnter:h(O),onMouseLeave:p(O)}},onClickAway:u}}function ey(e){const{prototype:o={}}=e;return!!o.isReactComponent}function Uu(e,o,n,r,a){const s=e[o],i=a||o;if(s==null||typeof window>"u")return null;let l;const c=s.type;return typeof c=="function"&&!ey(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${r} \`${i}\` 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 yn=St(t.element,Uu);yn.isRequired=St(t.element.isRequired,Uu);function vn(e){return parseInt(C.version,10)>=19?e?.props?.ref||null:e?.ref||null}function Bl(e){return e.substring(2).toLowerCase()}function ty(e,o){return o.documentElement.clientWidth<e.clientX||o.documentElement.clientHeight<e.clientY}function Br(e){const{children:o,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:a,touchEvent:s="onTouchEnd"}=e,i=C.useRef(!1),l=C.useRef(null),c=C.useRef(!1),u=C.useRef(!1);C.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const d=et(vn(o),l),f=Ct(h=>{const p=u.current;u.current=!1;const v=dt(l.current);if(!c.current||!l.current||"clientX"in h&&ty(h,v))return;if(i.current){i.current=!1;return}let x;h.composedPath?x=h.composedPath().includes(l.current):x=!v.documentElement.contains(h.target)||l.current.contains(h.target),!x&&(n||!p)&&a(h)}),b=h=>p=>{u.current=!0;const v=o.props[h];v&&v(p)},y={ref:d};return s!==!1&&(y[s]=b(s)),C.useEffect(()=>{if(s!==!1){const h=Bl(s),p=dt(l.current),v=()=>{i.current=!0};return p.addEventListener(h,f),p.addEventListener("touchmove",v),()=>{p.removeEventListener(h,f),p.removeEventListener("touchmove",v)}}},[f,s]),r!==!1&&(y[r]=b(r)),C.useEffect(()=>{if(r!==!1){const h=Bl(r),p=dt(l.current);return p.addEventListener(h,f),()=>{p.removeEventListener(h,f)}}},[f,r]),C.cloneElement(o,y)}process.env.NODE_ENV!=="production"&&(Br.propTypes={children:yn.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"&&(Br.propTypes=Ys(Br.propTypes));function Os(e){return`scale(${e}, ${e**2})`}const oy={entering:{opacity:1,transform:Os(1)},entered:{opacity:1,transform:"none"}},es=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Yn=C.forwardRef(function(o,n){const{addEndListener:r,appear:a=!0,children:s,easing:i,in:l,onEnter:c,onEntered:u,onEntering:d,onExit:f,onExited:b,onExiting:y,style:h,timeout:p="auto",TransitionComponent:v=Jt,...x}=o,O=ma(),w=C.useRef(),S=xo(),T=C.useRef(null),E=et(T,vn(s),n),k=j=>R=>{if(j){const W=T.current;R===void 0?j(W):j(W,R)}},$=k(d),N=k((j,R)=>{Vu(j);const{duration:W,delay:G,easing:H}=pn({style:h,timeout:p,easing:i},{mode:"enter"});let F;p==="auto"?(F=S.transitions.getAutoHeightDuration(j.clientHeight),w.current=F):F=W,j.style.transition=[S.transitions.create("opacity",{duration:F,delay:G}),S.transitions.create("transform",{duration:es?F:F*.666,delay:G,easing:H})].join(","),c&&c(j,R)}),M=k(u),D=k(y),m=k(j=>{const{duration:R,delay:W,easing:G}=pn({style:h,timeout:p,easing:i},{mode:"exit"});let H;p==="auto"?(H=S.transitions.getAutoHeightDuration(j.clientHeight),w.current=H):H=R,j.style.transition=[S.transitions.create("opacity",{duration:H,delay:W}),S.transitions.create("transform",{duration:es?H:H*.666,delay:es?W:W||H*.333,easing:G})].join(","),j.style.opacity=0,j.style.transform=Os(.75),f&&f(j)}),I=k(b),P=j=>{p==="auto"&&O.start(w.current||0,j),r&&r(T.current,j)};return g.jsx(v,{appear:a,in:l,nodeRef:T,onEnter:N,onEntered:M,onEntering:$,onExit:m,onExited:I,onExiting:D,addEndListener:P,timeout:p==="auto"?null:p,...x,children:(j,{ownerState:R,...W})=>C.cloneElement(s,{style:{opacity:0,transform:Os(.75),visibility:j==="exited"&&!l?"hidden":void 0,...oy[j],...h,...s.props.style},ref:E,...W})})});process.env.NODE_ENV!=="production"&&(Yn.propTypes={addEndListener:t.func,appear:t.bool,children:yn.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})])});Yn&&(Yn.muiSupportAuto=!0);function ny(e){return me("MuiSnackbarContent",e)}ge("MuiSnackbarContent",["root","message","action"]);const ry=e=>{const{classes:o}=e;return be({root:["root"],action:["action"],message:["message"]},ny,o)},ay=L(uo,{name:"MuiSnackbarContent",slot:"Root"})(pe(({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(ms(e.palette.background.default,o)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:ms(e.palette.background.default,o),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),sy=L("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),iy=L("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Hu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSnackbarContent"}),{action:a,className:s,message:i,role:l="alert",...c}=r,u=r,d=ry(u);return g.jsxs(ay,{role:l,elevation:6,className:Z(d.root,s),ownerState:u,ref:n,...c,children:[g.jsx(sy,{className:d.message,ownerState:u,children:i}),a?g.jsx(iy,{className:d.action,ownerState:u,children:a}):null]})});process.env.NODE_ENV!=="production"&&(Hu.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 ly(e){return me("MuiSnackbar",e)}ge("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const cy=e=>{const{classes:o,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${B(n.vertical)}${B(n.horizontal)}`]};return be(r,ly,o)},uy=L("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`anchorOrigin${B(n.anchorOrigin.vertical)}${B(n.anchorOrigin.horizontal)}`]]}})(pe(({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%)"}}}]}))),qu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSnackbar"}),a=xo(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:l,horizontal:c}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:d,className:f,ClickAwayListenerProps:b,ContentProps:y,disableWindowBlurListener:h=!1,message:p,onBlur:v,onClose:x,onFocus:O,onMouseEnter:w,onMouseLeave:S,open:T,resumeHideDuration:E,slots:k={},slotProps:$={},TransitionComponent:N,transitionDuration:M=s,TransitionProps:{onEnter:D,onExited:m,...I}={},...P}=r,j={...r,anchorOrigin:{vertical:l,horizontal:c},autoHideDuration:u,disableWindowBlurListener:h,TransitionComponent:N,transitionDuration:M},R=cy(j),{getRootProps:W,onClickAway:G}=Qb(j),[H,F]=C.useState(!0),A=ae=>{F(!0),m&&m(ae)},X=(ae,ie)=>{F(!1),D&&D(ae,ie)},ee={slots:{transition:N,...k},slotProps:{content:y,clickAwayListener:b,transition:I,...$}},[se,K]=fe("root",{ref:n,className:[R.root,f],elementType:uy,getSlotProps:W,externalForwardedProps:{...ee,...P},ownerState:j}),[z,{ownerState:oe,...ce}]=fe("clickAwayListener",{elementType:Br,externalForwardedProps:ee,getSlotProps:ae=>({onClickAway:(...ie)=>{const ue=ie[0];ae.onClickAway?.(...ie),!ue?.defaultMuiPrevented&&G(...ie)}}),ownerState:j}),[J,Y]=fe("content",{elementType:Hu,shouldForwardComponentProp:!0,externalForwardedProps:ee,additionalProps:{message:p,action:i},ownerState:j}),[le,U]=fe("transition",{elementType:Yn,externalForwardedProps:ee,getSlotProps:ae=>({onEnter:(...ie)=>{ae.onEnter?.(...ie),X(...ie)},onExited:(...ie)=>{ae.onExited?.(...ie),A(...ie)}}),additionalProps:{appear:!0,in:T,timeout:M,direction:l==="top"?"down":"up"},ownerState:j});return!T&&H?null:g.jsx(z,{...ce,...k.clickAwayListener&&{ownerState:oe},children:g.jsx(se,{...K,children:g.jsx(le,{...U,children:d||g.jsx(J,{...Y})})})})});process.env.NODE_ENV!=="production"&&(qu.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});const dy=e=>{switch(e){case"top-left":return{vertical:"top",horizontal:"left"};case"top-center":return{vertical:"top",horizontal:"center"};case"top-right":return{vertical:"top",horizontal:"right"};case"bottom-left":return{vertical:"bottom",horizontal:"left"};case"bottom-center":return{vertical:"bottom",horizontal:"center"};case"bottom-right":return{vertical:"bottom",horizontal:"right"};default:return{vertical:"bottom",horizontal:"right"}}},pi=({open:e,variante:o="info",titulo:n,subtitulo:r,posicion:a="bottom-right",mostrarIcono:s=!0,cerrable:i=!0,duracion:l=6e3,onClose:c,alertProps:u,children:d,...f})=>{const b=(y,h)=>{h!=="clickaway"&&c?.(y,h)};return g.jsx(qu,{open:e,autoHideDuration:l,onClose:b,anchorOrigin:dy(a),...f,children:g.jsxs(ui,{onClose:i?b:void 0,severity:o,icon:s?void 0:!1,sx:{width:"100%"},...u,children:[n&&g.jsx(di,{children:n}),r||d]})})},py=pi,fy=pi;function my(e){return me("MuiLinearProgress",e)}ge("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Es=4,Ps=co`
|
|
213
213
|
0% {
|
|
214
214
|
left: -35%;
|
|
215
215
|
right: 100%;
|
|
@@ -224,9 +224,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
224
224
|
left: 100%;
|
|
225
225
|
right: -90%;
|
|
226
226
|
}
|
|
227
|
-
`,
|
|
228
|
-
animation: ${
|
|
229
|
-
`:null,
|
|
227
|
+
`,gy=typeof Ps!="string"?$o`
|
|
228
|
+
animation: ${Ps} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
|
|
229
|
+
`:null,ks=co`
|
|
230
230
|
0% {
|
|
231
231
|
left: -200%;
|
|
232
232
|
right: 100%;
|
|
@@ -241,9 +241,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
241
241
|
left: 107%;
|
|
242
242
|
right: -8%;
|
|
243
243
|
}
|
|
244
|
-
`,
|
|
245
|
-
animation: ${
|
|
246
|
-
`:null,
|
|
244
|
+
`,hy=typeof ks!="string"?$o`
|
|
245
|
+
animation: ${ks} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
246
|
+
`:null,Rs=co`
|
|
247
247
|
0% {
|
|
248
248
|
opacity: 1;
|
|
249
249
|
background-position: 0 -23px;
|
|
@@ -258,13 +258,13 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
258
258
|
opacity: 1;
|
|
259
259
|
background-position: -200px -23px;
|
|
260
260
|
}
|
|
261
|
-
`,
|
|
262
|
-
animation: ${
|
|
263
|
-
`:null,Wh=e=>{const{classes:o,variant:n,color:r}=e,a={root:["root",`color${D(r)}`,n],dashed:["dashed",`dashedColor${D(r)}`],bar1:["bar","bar1",`barColor${D(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",n!=="buffer"&&`barColor${D(r)}`,n==="buffer"&&`color${D(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return he(a,Fh,o)},us=(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),Uh=L("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`color${D(n.color)}`],o[n.variant]]}})(pe(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{backgroundColor:us(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)"}}]}))),Hh=L("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.dashed,o[`dashedColor${D(n.color)}`]]}})(pe(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Ve()).map(([o])=>{const n=us(e,o);return{props:{color:o},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),_h||{animation:`${Ri} 3s infinite linear`}),qh=L("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.bar,o.bar1,o[`barColor${D(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&o.bar1Indeterminate,n.variant==="determinate"&&o.bar1Determinate,n.variant==="buffer"&&o.bar1Buffer]}})(pe(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Ei}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Ei}s linear`}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:{width:"auto"}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:zh||{animation:`${Pi} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Gh=L("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.bar,o.bar2,o[`barColor${D(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&o.bar2Indeterminate,n.variant==="buffer"&&o.bar2Buffer]}})(pe(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Ve()).map(([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(Ve()).map(([o])=>({props:{color:o,variant:"buffer"},style:{backgroundColor:us(e,o),transition:`transform .${Ei}s linear`}})),{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:{width:"auto"}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:Vh||{animation:`${ki} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Nu=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiLinearProgress"}),{className:a,color:i="primary",value:s,valueBuffer:l,variant:c="indeterminate",...d}=r,u={...r,color:i,variant:c},f=Wh(u),h=rr(),v={},b={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 p=s-100;h&&(p=-p),b.bar1.transform=`translateX(${p}%)`}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 p=(l||0)-100;h&&(p=-p),b.bar2.transform=`translateX(${p}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return m.jsxs(Uh,{className:Z(f.root,a),ownerState:u,role:"progressbar",...v,ref:n,...d,children:[c==="buffer"?m.jsx(Hh,{className:f.dashed,ownerState:u}):null,m.jsx(qh,{className:f.bar1,ownerState:u,style:b.bar1}),c==="determinate"?null:m.jsx(Gh,{className:f.bar2,ownerState:u,style:b.bar2})]})});process.env.NODE_ENV!=="production"&&(Nu.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 Kh=({value:e=0,max:o=100,label:n,showPercentage:r=!1,labelInside:a=!1,indeterminate:i=!1,size:s="md",variant:l="primary",color:c,striped:d=!1,animated:u=!1,className:f="",sx:h,...v})=>{const p={xs:4,sm:8,md:12,lg:16,xl:24}[s]||12,C=c||{primary:"primary",secondary:"secondary",error:"error",danger:"error",info:"info",success:"success",warning:"warning",neutral:"inherit"}[l]||"primary",O=Math.min(100,Math.max(0,e/o*100)),w=d||u?{backgroundImage:"linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)",backgroundSize:"1rem 1rem",...u&&{animation:"progress-stripes 1s linear infinite","@keyframes progress-stripes":{"0%":{backgroundPosition:"1rem 0"},"100%":{backgroundPosition:"0 0"}}}}:{};return m.jsxs(nt,{width:"100%",className:f,children:[!a&&(n||r)&&m.jsxs(nt,{display:"flex",justifyContent:"space-between",mb:.5,children:[n&&m.jsx(it,{variant:"body2",color:"text.secondary",fontWeight:500,children:n}),r&&m.jsx(it,{variant:"body2",color:"text.secondary",fontWeight:600,children:`${Math.round(O)}%`})]}),m.jsxs(nt,{position:"relative",width:"100%",children:[m.jsx(Nu,{variant:i?"indeterminate":"determinate",value:O,color:C,sx:{height:p,borderRadius:p/2,"& .MuiLinearProgress-bar":{borderRadius:p/2,...w},...h},...v}),a&&!i&&p>=12&&m.jsx(nt,{position:"absolute",top:0,left:0,bottom:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,children:m.jsxs(it,{variant:"caption",sx:{color:"white",fontWeight:"bold",lineHeight:1,textShadow:"0 1px 2px rgba(0,0,0,0.3)"},children:[n," ",r?`${Math.round(O)}%`:""]})})]})]})},Mu={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Yh=ct(m.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"),Xh=ct(m.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 Jh(e){return me("MuiRating",e)}const En=ge("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function Zh(e){const o=e.toString().split(".")[1];return o?o.length:0}function ti(e,o){if(e==null)return e;const n=Math.round(e/o)*o;return Number(n.toFixed(Zh(o)))}const Qh=e=>{const{classes:o,size:n,readOnly:r,disabled:a,emptyValueFocused:i,focusVisible:s}=e,l={root:["root",`size${D(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 he(l,Jh,o)},ey=L("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${En.visuallyHidden}`]:o.visuallyHidden},o.root,o[`size${D(n.size)}`],n.readOnly&&o.readOnly]}})(pe(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${En.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${En.focusVisible} .${En.iconActive}`]:{outline:"1px solid #999"},[`& .${En.visuallyHidden}`]:Mu,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"}}]}))),Au=L("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%"}}]}),ty=L("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]}})(pe(({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}}]}))),oy=L("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>ar(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 Lu(e){const{value:o,...n}=e;return m.jsx("span",{...n})}process.env.NODE_ENV!=="production"&&(Lu.propTypes={value:t.number.isRequired});function $i(e){const{classes:o,disabled:n,emptyIcon:r,focus:a,getLabelText:i,highlightSelectedOnly:s,hover:l,icon:c,IconContainerComponent:d,isActive:u,itemValue:f,labelProps:h,name:v,onBlur:b,onChange:p,onClick:y,onFocus:C,readOnly:O,ownerState:w,ratingValue:S,ratingValueRounded:T,slots:E={},slotProps:R={}}=e,I=s?f===S:f<=S,N=f<=l,M=f<=a,F=f===T,g=`${v}-${vo()}`,$={slots:E,slotProps:R},[P,j]=fe("icon",{elementType:ty,className:Z(o.icon,I?o.iconFilled:o.iconEmpty,N&&o.iconHover,M&&o.iconFocus,u&&o.iconActive),externalForwardedProps:$,ownerState:{...w,iconEmpty:!I,iconFilled:I,iconHover:N,iconFocus:M,iconActive:u},additionalProps:{value:f},internalForwardedProps:{as:d}}),[k,W]=fe("label",{elementType:Au,externalForwardedProps:$,ownerState:{...w,emptyValueFocused:void 0},additionalProps:{style:h?.style,htmlFor:g}}),G=m.jsx(P,{...j,children:r&&!I?r:c});return O?m.jsx("span",{...h,children:G}):m.jsxs(x.Fragment,{children:[m.jsxs(k,{...W,children:[G,m.jsx("span",{className:o.visuallyHidden,children:i(f)})]}),m.jsx("input",{className:o.visuallyHidden,onFocus:C,onBlur:b,onChange:p,onClick:y,disabled:n,value:f,id:g,type:"radio",name:v,checked:F})]})}process.env.NODE_ENV!=="production"&&($i.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 ny=m.jsx(Yh,{fontSize:"inherit"}),ry=m.jsx(Xh,{fontSize:"inherit"});function ay(e){return`${e||"0"} Star${e!==1?"s":""}`}const Du=x.forwardRef(function(o,n){const r=ve({name:"MuiRating",props:o}),{component:a="span",className:i,defaultValue:s=null,disabled:l=!1,emptyIcon:c=ry,emptyLabelText:d="Empty",getLabelText:u=ay,highlightSelectedOnly:f=!1,icon:h=ny,IconContainerComponent:v=Lu,max:b=5,name:p,onChange:y,onChangeActive:C,onMouseLeave:O,onMouseMove:w,precision:S=1,readOnly:T=!1,size:E="medium",value:R,slots:I={},slotProps:N={},...M}=r,F=vo(p),[g,$]=mo({controlled:R,default:s,name:"Rating"}),P=ti(g,S),j=rr(),[{hover:k,focus:W},G]=x.useState({hover:-1,focus:-1});let H=P;k!==-1&&(H=k),W!==-1&&(H=W);const[B,A]=x.useState(!1),X=x.useRef(),ee=et(X,n),ie=ye=>{w&&w(ye);const re=X.current,{right:Le,left:Ie,width:te}=re.getBoundingClientRect();let Q;j?Q=(Le-ye.clientX)/te:Q=(ye.clientX-Ie)/te;let xe=ti(b*Q+S/2,S);xe=Bo(xe,S,b),G(Te=>Te.hover===xe&&Te.focus===xe?Te:{hover:xe,focus:xe}),A(!1),C&&k!==xe&&C(ye,xe)},K=ye=>{O&&O(ye);const re=-1;G({hover:re,focus:re}),C&&k!==re&&C(ye,re)},z=ye=>{let re=ye.target.value===""?null:parseFloat(ye.target.value);k!==-1&&(re=k),$(re),y&&y(ye,re)},oe=ye=>{ye.clientX===0&&ye.clientY===0||(G({hover:-1,focus:-1}),$(null),y&&parseFloat(ye.target.value)===P&&y(ye,null))},ce=ye=>{un(ye.target)&&A(!0);const re=parseFloat(ye.target.value);G(Le=>({hover:Le.hover,focus:re}))},J=ye=>{if(k!==-1)return;un(ye.target)||A(!1);const re=-1;G(Le=>({hover:Le.hover,focus:re}))},[Y,le]=x.useState(!1),U={...r,component:a,defaultValue:s,disabled:l,emptyIcon:c,emptyLabelText:d,emptyValueFocused:Y,focusVisible:B,getLabelText:u,icon:h,IconContainerComponent:v,max:b,precision:S,readOnly:T,size:E},ae=Qh(U),se={slots:I,slotProps:N},[ue,Oe]=fe("root",{ref:ee,className:Z(ae.root,i),elementType:ey,externalForwardedProps:{...se,...M,component:a},getSlotProps:ye=>({...ye,onMouseMove:re=>{ie(re),ye.onMouseMove?.(re)},onMouseLeave:re=>{K(re),ye.onMouseLeave?.(re)}}),ownerState:U,additionalProps:{role:T?"img":null,"aria-label":T?u(H):null}}),[Ee,ne]=fe("label",{className:Z(ae.label,ae.labelEmptyValue),elementType:Au,externalForwardedProps:se,ownerState:U}),[Be,we]=fe("decimal",{className:ae.decimal,elementType:oy,externalForwardedProps:se,ownerState:U});return m.jsxs(ue,{...Oe,children:[Array.from(new Array(b)).map((ye,re)=>{const Le=re+1,Ie={classes:ae,disabled:l,emptyIcon:c,focus:W,getLabelText:u,highlightSelectedOnly:f,hover:k,icon:h,IconContainerComponent:v,name:F,onBlur:J,onChange:z,onClick:oe,onFocus:ce,ratingValue:H,ratingValueRounded:P,readOnly:T,ownerState:U,slots:I,slotProps:N},te=Le===Math.ceil(H)&&(k!==-1||W!==-1);if(S<1){const Q=Array.from(new Array(1/S));return Me.createElement(Be,{...we,key:Le,className:Z(we.className,te&&ae.iconActive),iconActive:te},Q.map((xe,Te)=>{const ke=ti(Le-1+(Te+1)*S,S);return m.jsx($i,{...Ie,isActive:!1,itemValue:ke,labelProps:{style:Q.length-1===Te?{}:{width:ke===H?`${(Te+1)*S*100}%`:"0%",overflow:"hidden",position:"absolute"}}},ke)}))}return m.jsx($i,{...Ie,isActive:te,itemValue:Le},Le)}),!T&&!l&&m.jsxs(Ee,{...ne,children:[m.jsx("input",{className:ae.visuallyHidden,value:"",id:`${F}-empty`,type:"radio",name:F,checked:P==null,onFocus:()=>le(!0),onBlur:()=>le(!1),onChange:z}),m.jsx("span",{className:ae.visuallyHidden,children:d})]})]})});process.env.NODE_ENV!=="production"&&(Du.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:St(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(`
|
|
264
|
-
`)):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
|
|
261
|
+
`,by=typeof Rs!="string"?$o`
|
|
262
|
+
animation: ${Rs} 3s infinite linear;
|
|
263
|
+
`:null,yy=e=>{const{classes:o,variant:n,color:r}=e,a={root:["root",`color${B(r)}`,n],dashed:["dashed",`dashedColor${B(r)}`],bar1:["bar","bar1",`barColor${B(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",n!=="buffer"&&`barColor${B(r)}`,n==="buffer"&&`color${B(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return be(a,my,o)},fi=(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),vy=L("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`color${B(n.color)}`],o[n.variant]]}})(pe(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{backgroundColor:fi(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)"}}]}))),xy=L("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.dashed,o[`dashedColor${B(n.color)}`]]}})(pe(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(Ve()).map(([o])=>{const n=fi(e,o);return{props:{color:o},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),by||{animation:`${Rs} 3s infinite linear`}),Cy=L("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.bar,o.bar1,o[`barColor${B(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&o.bar1Indeterminate,n.variant==="determinate"&&o.bar1Determinate,n.variant==="buffer"&&o.bar1Buffer]}})(pe(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(Ve()).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Es}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Es}s linear`}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:{width:"auto"}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:gy||{animation:`${Ps} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Sy=L("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.bar,o.bar2,o[`barColor${B(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&o.bar2Indeterminate,n.variant==="buffer"&&o.bar2Buffer]}})(pe(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(Ve()).map(([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(Ve()).map(([o])=>({props:{color:o,variant:"buffer"},style:{backgroundColor:fi(e,o),transition:`transform .${Es}s linear`}})),{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:{width:"auto"}},{props:({ownerState:o})=>o.variant==="indeterminate"||o.variant==="query",style:hy||{animation:`${ks} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Gu=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiLinearProgress"}),{className:a,color:s="primary",value:i,valueBuffer:l,variant:c="indeterminate",...u}=r,d={...r,color:s,variant:c},f=yy(d),b=rr(),y={},h={bar1:{},bar2:{}};if(c==="determinate"||c==="buffer")if(i!==void 0){y["aria-valuenow"]=Math.round(i),y["aria-valuemin"]=0,y["aria-valuemax"]=100;let p=i-100;b&&(p=-p),h.bar1.transform=`translateX(${p}%)`}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 p=(l||0)-100;b&&(p=-p),h.bar2.transform=`translateX(${p}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return g.jsxs(vy,{className:Z(f.root,a),ownerState:d,role:"progressbar",...y,ref:n,...u,children:[c==="buffer"?g.jsx(xy,{className:f.dashed,ownerState:d}):null,g.jsx(Cy,{className:f.bar1,ownerState:d,style:h.bar1}),c==="determinate"?null:g.jsx(Sy,{className:f.bar2,ownerState:d,style:h.bar2})]})});process.env.NODE_ENV!=="production"&&(Gu.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 Ku=({valor:e=0,maximo:o=100,etiqueta:n,mostrarPorcentaje:r=!1,etiquetaInterna:a=!1,indeterminado:s=!1,tamano:i="md",variante:l="primary",color:c,rayado:u=!1,animado:d=!1,className:f="",sx:b,...y})=>{const p={xs:4,sm:8,md:12,lg:16,xl:24}[i]||12,x=c||{primary:"primary",secondary:"secondary",error:"error",danger:"error",info:"info",success:"success",warning:"warning",neutral:"inherit"}[l]||"primary",O=Math.min(100,Math.max(0,e/o*100)),w=u||d?{backgroundImage:"linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)",backgroundSize:"1rem 1rem",...d&&{animation:"progress-stripes 1s linear infinite","@keyframes progress-stripes":{"0%":{backgroundPosition:"1rem 0"},"100%":{backgroundPosition:"0 0"}}}}:{};return g.jsxs(nt,{width:"100%",className:f,children:[!a&&(n||r)&&g.jsxs(nt,{display:"flex",justifyContent:"space-between",mb:.5,children:[n&&g.jsx(st,{variant:"body2",color:"text.secondary",fontWeight:500,children:n}),r&&g.jsx(st,{variant:"body2",color:"text.secondary",fontWeight:600,children:`${Math.round(O)}%`})]}),g.jsxs(nt,{position:"relative",width:"100%",children:[g.jsx(Gu,{variant:s?"indeterminate":"determinate",value:O,color:x,sx:{height:p,borderRadius:p/2,"& .MuiLinearProgress-bar":{borderRadius:p/2,...w},...b},...y}),a&&!s&&p>=12&&g.jsx(nt,{position:"absolute",top:0,left:0,bottom:0,width:"100%",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1,children:g.jsxs(st,{variant:"caption",sx:{color:"white",fontWeight:"bold",lineHeight:1,textShadow:"0 1px 2px rgba(0,0,0,0.3)"},children:[n," ",r?`${Math.round(O)}%`:""]})})]})]})},wy=Ku,Yu={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},Ty=ct(g.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"),Oy=ct(g.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 Ey(e){return me("MuiRating",e)}const En=ge("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]);function Py(e){const o=e.toString().split(".")[1];return o?o.length:0}function ts(e,o){if(e==null)return e;const n=Math.round(e/o)*o;return Number(n.toFixed(Py(o)))}const ky=e=>{const{classes:o,size:n,readOnly:r,disabled:a,emptyValueFocused:s,focusVisible:i}=e,l={root:["root",`size${B(n)}`,a&&"disabled",i&&"focusVisible",r&&"readOnly"],label:["label","pristine"],labelEmptyValue:[s&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return be(l,Ey,o)},Ry=L("span",{name:"MuiRating",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${En.visuallyHidden}`]:o.visuallyHidden},o.root,o[`size${B(n.size)}`],n.readOnly&&o.readOnly]}})(pe(({theme:e})=>({display:"inline-flex",position:"relative",fontSize:e.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",[`&.${En.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${En.focusVisible} .${En.iconActive}`]:{outline:"1px solid #999"},[`& .${En.visuallyHidden}`]:Yu,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"}}]}))),Xu=L("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%"}}]}),$y=L("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]}})(pe(({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}}]}))),Iy=L("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:e=>ar(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 Ju(e){const{value:o,...n}=e;return g.jsx("span",{...n})}process.env.NODE_ENV!=="production"&&(Ju.propTypes={value:t.number.isRequired});function $s(e){const{classes:o,disabled:n,emptyIcon:r,focus:a,getLabelText:s,highlightSelectedOnly:i,hover:l,icon:c,IconContainerComponent:u,isActive:d,itemValue:f,labelProps:b,name:y,onBlur:h,onChange:p,onClick:v,onFocus:x,readOnly:O,ownerState:w,ratingValue:S,ratingValueRounded:T,slots:E={},slotProps:k={}}=e,$=i?f===S:f<=S,N=f<=l,M=f<=a,D=f===T,m=`${y}-${vo()}`,I={slots:E,slotProps:k},[P,j]=fe("icon",{elementType:$y,className:Z(o.icon,$?o.iconFilled:o.iconEmpty,N&&o.iconHover,M&&o.iconFocus,d&&o.iconActive),externalForwardedProps:I,ownerState:{...w,iconEmpty:!$,iconFilled:$,iconHover:N,iconFocus:M,iconActive:d},additionalProps:{value:f},internalForwardedProps:{as:u}}),[R,W]=fe("label",{elementType:Xu,externalForwardedProps:I,ownerState:{...w,emptyValueFocused:void 0},additionalProps:{style:b?.style,htmlFor:m}}),G=g.jsx(P,{...j,children:r&&!$?r:c});return O?g.jsx("span",{...b,children:G}):g.jsxs(C.Fragment,{children:[g.jsxs(R,{...W,children:[G,g.jsx("span",{className:o.visuallyHidden,children:s(f)})]}),g.jsx("input",{className:o.visuallyHidden,onFocus:x,onBlur:h,onChange:p,onClick:v,disabled:n,value:f,id:m,type:"radio",name:y,checked:D})]})}process.env.NODE_ENV!=="production"&&($s.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 jy=g.jsx(Ty,{fontSize:"inherit"}),Ny=g.jsx(Oy,{fontSize:"inherit"});function My(e){return`${e||"0"} Star${e!==1?"s":""}`}const Zu=C.forwardRef(function(o,n){const r=ve({name:"MuiRating",props:o}),{component:a="span",className:s,defaultValue:i=null,disabled:l=!1,emptyIcon:c=Ny,emptyLabelText:u="Empty",getLabelText:d=My,highlightSelectedOnly:f=!1,icon:b=jy,IconContainerComponent:y=Ju,max:h=5,name:p,onChange:v,onChangeActive:x,onMouseLeave:O,onMouseMove:w,precision:S=1,readOnly:T=!1,size:E="medium",value:k,slots:$={},slotProps:N={},...M}=r,D=vo(p),[m,I]=mo({controlled:k,default:i,name:"Rating"}),P=ts(m,S),j=rr(),[{hover:R,focus:W},G]=C.useState({hover:-1,focus:-1});let H=P;R!==-1&&(H=R),W!==-1&&(H=W);const[F,A]=C.useState(!1),X=C.useRef(),ee=et(X,n),se=ye=>{w&&w(ye);const re=X.current,{right:Le,left:Ie,width:te}=re.getBoundingClientRect();let Q;j?Q=(Le-ye.clientX)/te:Q=(ye.clientX-Ie)/te;let xe=ts(h*Q+S/2,S);xe=Bo(xe,S,h),G(Te=>Te.hover===xe&&Te.focus===xe?Te:{hover:xe,focus:xe}),A(!1),x&&R!==xe&&x(ye,xe)},K=ye=>{O&&O(ye);const re=-1;G({hover:re,focus:re}),x&&R!==re&&x(ye,re)},z=ye=>{let re=ye.target.value===""?null:parseFloat(ye.target.value);R!==-1&&(re=R),I(re),v&&v(ye,re)},oe=ye=>{ye.clientX===0&&ye.clientY===0||(G({hover:-1,focus:-1}),I(null),v&&parseFloat(ye.target.value)===P&&v(ye,null))},ce=ye=>{un(ye.target)&&A(!0);const re=parseFloat(ye.target.value);G(Le=>({hover:Le.hover,focus:re}))},J=ye=>{if(R!==-1)return;un(ye.target)||A(!1);const re=-1;G(Le=>({hover:Le.hover,focus:re}))},[Y,le]=C.useState(!1),U={...r,component:a,defaultValue:i,disabled:l,emptyIcon:c,emptyLabelText:u,emptyValueFocused:Y,focusVisible:F,getLabelText:d,icon:b,IconContainerComponent:y,max:h,precision:S,readOnly:T,size:E},ae=ky(U),ie={slots:$,slotProps:N},[ue,Oe]=fe("root",{ref:ee,className:Z(ae.root,s),elementType:Ry,externalForwardedProps:{...ie,...M,component:a},getSlotProps:ye=>({...ye,onMouseMove:re=>{se(re),ye.onMouseMove?.(re)},onMouseLeave:re=>{K(re),ye.onMouseLeave?.(re)}}),ownerState:U,additionalProps:{role:T?"img":null,"aria-label":T?d(H):null}}),[Ee,ne]=fe("label",{className:Z(ae.label,ae.labelEmptyValue),elementType:Xu,externalForwardedProps:ie,ownerState:U}),[Be,we]=fe("decimal",{className:ae.decimal,elementType:Iy,externalForwardedProps:ie,ownerState:U});return g.jsxs(ue,{...Oe,children:[Array.from(new Array(h)).map((ye,re)=>{const Le=re+1,Ie={classes:ae,disabled:l,emptyIcon:c,focus:W,getLabelText:d,highlightSelectedOnly:f,hover:R,icon:b,IconContainerComponent:y,name:D,onBlur:J,onChange:z,onClick:oe,onFocus:ce,ratingValue:H,ratingValueRounded:P,readOnly:T,ownerState:U,slots:$,slotProps:N},te=Le===Math.ceil(H)&&(R!==-1||W!==-1);if(S<1){const Q=Array.from(new Array(1/S));return Me.createElement(Be,{...we,key:Le,className:Z(we.className,te&&ae.iconActive),iconActive:te},Q.map((xe,Te)=>{const ke=ts(Le-1+(Te+1)*S,S);return g.jsx($s,{...Ie,isActive:!1,itemValue:ke,labelProps:{style:Q.length-1===Te?{}:{width:ke===H?`${(Te+1)*S*100}%`:"0%",overflow:"hidden",position:"absolute"}}},ke)}))}return g.jsx($s,{...Ie,isActive:te,itemValue:Le},Le)}),!T&&!l&&g.jsxs(Ee,{...ne,children:[g.jsx("input",{className:ae.visuallyHidden,value:"",id:`${D}-empty`,type:"radio",name:D,checked:P==null,onFocus:()=>le(!0),onBlur:()=>le(!1),onChange:z}),g.jsx("span",{className:ae.visuallyHidden,children:u})]})]})});process.env.NODE_ENV!=="production"&&(Zu.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:St(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(`
|
|
264
|
+
`)):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=ct(g.jsx("path",{d:"m22 9.24-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.03zM12 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.28z"}),"StarBorder"),Ly=L(Zu,{shouldForwardProp:e=>e!=="variantColor"})(({theme:e,variantColor:o})=>({"& .MuiRating-iconFilled":{color:o},"& .MuiRating-iconHover":{color:o}})),Dy=(e,o)=>{switch(e){case"primary":return o.palette.primary.main;case"secondary":return o.palette.secondary.main;case"success":return o.palette.success.main;case"warning":return o.palette.warning.main;case"error":return o.palette.error.main;case"info":return o.palette.info.main;default:return o.palette.warning.main}},Qu=({valor:e,maximo:o,soloLectura:n,tamano:r,variante:a,mostrarValor:s,textosAyuda:i,alCambiar:l,className:c,...u})=>{const[d,f]=Me.useState(-1),b=xo(),y=e,h=o||5,p=n,v=r||"medium",x=a||"warning",O=s||!1,w=i||[],S=l,T=Dy(x,b);return g.jsxs(nt,{className:c,sx:{width:200,display:"flex",alignItems:"center"},children:[g.jsx(Ly,{name:"codeplex-rating",value:y,max:h,readOnly:p,size:v,variantColor:T,onChange:(E,k)=>{S?.(k)},onChangeActive:(E,k)=>{f(k)},emptyIcon:g.jsx(Ay,{fontSize:"inherit"}),...u}),O&&g.jsx(nt,{sx:{ml:2,fontSize:"0.875rem",color:"text.secondary"},children:y!=null?`${y}/${h}`:""}),w.length>0&&!p&&g.jsx(nt,{sx:{ml:2,minWidth:80,fontSize:"0.875rem",fontWeight:500},children:w[d!==-1?d-1:(y||0)-1]})]})},By=Qu,ed=({textoAyuda:e,mensajeError:o,valor:n,longitudMaxima:r,mostrarContador:a})=>{const s=n?.toString().length||0,i=!!o,l=r?s>=r*.9:!1,c=r?s>=r:!1;return!e&&!o&&!a?null:g.jsxs("div",{className:"flex items-start justify-between mt-1.5 px-1 gap-4",children:[g.jsx("div",{className:"flex-1 min-w-0",children:i?g.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:[g.jsx("svg",{className:"w-3 h-3 flex-shrink-0",viewBox:"0 0 20 20",fill:"currentColor",children:g.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?g.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400 leading-tight",children:e}):null}),a&&r&&g.jsxs("div",{className:`
|
|
265
265
|
text-[10px] font-mono font-medium transition-colors duration-300
|
|
266
|
-
${
|
|
267
|
-
`,children:[
|
|
266
|
+
${i||c?"text-red-500":l?"text-amber-500":"text-gray-400 dark:text-gray-500"}
|
|
267
|
+
`,children:[s,"/",r]})]})},Fy=({helperText:e,error:o,value:n,maxLength:r,showCount:a,...s})=>g.jsx(ed,{textoAyuda:e,mensajeError:o,valor:n,longitudMaxima:r,mostrarContador:a,...s});function zy(e){return me("MuiSkeleton",e)}ge("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const Vy=e=>{const{classes:o,variant:n,animation:r,hasChildren:a,width:s,height:i}=e;return be({root:["root",n,r,a&&"withChildren",a&&!s&&"fitContent",a&&!i&&"heightAuto"]},zy,o)},Is=co`
|
|
268
268
|
0% {
|
|
269
269
|
opacity: 1;
|
|
270
270
|
}
|
|
@@ -276,7 +276,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
276
276
|
100% {
|
|
277
277
|
opacity: 1;
|
|
278
278
|
}
|
|
279
|
-
`,
|
|
279
|
+
`,js=co`
|
|
280
280
|
0% {
|
|
281
281
|
transform: translateX(-100%);
|
|
282
282
|
}
|
|
@@ -289,36 +289,36 @@ To suppress this warning, you need to explicitly provide the \`palette.${o}Chann
|
|
|
289
289
|
100% {
|
|
290
290
|
transform: translateX(100%);
|
|
291
291
|
}
|
|
292
|
-
`,
|
|
293
|
-
animation: ${
|
|
294
|
-
`:null,
|
|
292
|
+
`,_y=typeof Is!="string"?$o`
|
|
293
|
+
animation: ${Is} 2s ease-in-out 0.5s infinite;
|
|
294
|
+
`:null,Wy=typeof js!="string"?$o`
|
|
295
295
|
&::after {
|
|
296
|
-
animation: ${
|
|
296
|
+
animation: ${js} 2s linear 0.5s infinite;
|
|
297
297
|
}
|
|
298
|
-
`:null,
|
|
298
|
+
`:null,Uy=L("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]}})(pe(({theme:e})=>{const o=wh(e.shape.borderRadius)||"px",n=Th(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:_y||{animation:`${Is} 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(
|
|
299
299
|
90deg,
|
|
300
300
|
transparent,
|
|
301
301
|
${(e.vars||e).palette.action.hover},
|
|
302
302
|
transparent
|
|
303
|
-
)`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:
|
|
304
|
-
`)):console.error([`MUI: Unable to find the input element. It was resolved to ${J.current} while an HTMLInputElement was expected.`,`Instead, ${
|
|
305
|
-
`)))},[
|
|
306
|
-
`))}const st=tt.findIndex(Pt=>F(V,Pt));st===-1?tt.push(V):Pe!=="freeSolo"&&(tt.splice(st,1),Re="removeOption")}Ie(q,tt,Re),Nt(q,tt,Re,{option:V}),!h&&(!q||!q.ctrlKey&&!q.metaKey)&&Qe(q,Re),(s===!0||s==="touch"&&Et.current||s==="mouse"&&!Et.current)&&J.current.blur()};function $a(q,V){if(q===-1)return-1;let de=q;for(;;){if(V==="next"&&de===ne.length||V==="previous"&&de===-1)return-1;const Pe=X?"data-item-index":"data-tag-index",Re=le.querySelector(`[${Pe}="${de}"]`);if(!Re||!Re.hasAttribute("tabindex")||Re.disabled||Re.getAttribute("aria-disabled")==="true")de+=V==="next"?1:-1;else return de}}const No=(q,V)=>{if(!g)return;we===""&&Qe(q,"toggleInput");let de=ae;ae===-1?we===""&&V==="previous"&&(de=ne.length-1):(de+=V==="next"?1:-1,de<0&&(de=0),de===ne.length&&(de=-1)),de=$a(de,V),se(de),Je(de)},dr=q=>{oe.current=!0,ye(""),k&&k(q,"","clear"),Nt(q,g?[]:null,"clear")},Ia=q=>V=>{if(q.onKeyDown&&q.onKeyDown(V),!V.defaultMuiPrevented&&(ae!==-1&&!["ArrowLeft","ArrowRight"].includes(V.key)&&(se(-1),Je(-1)),V.which!==229))switch(V.key){case"Home":Se&&R&&(V.preventDefault(),ft({diff:"start",direction:"next",reason:"keyboard",event:V}));break;case"End":Se&&R&&(V.preventDefault(),ft({diff:"end",direction:"previous",reason:"keyboard",event:V}));break;case"PageUp":V.preventDefault(),ft({diff:-Dl,direction:"previous",reason:"keyboard",event:V}),Fe(V);break;case"PageDown":V.preventDefault(),ft({diff:Dl,direction:"next",reason:"keyboard",event:V}),Fe(V);break;case"ArrowDown":V.preventDefault(),ft({diff:1,direction:"next",reason:"keyboard",event:V}),Fe(V);break;case"ArrowUp":V.preventDefault(),ft({diff:-1,direction:"previous",reason:"keyboard",event:V}),Fe(V);break;case"ArrowLeft":!g&&X&&ne!=null?(se(0),Je(0)):No(V,"previous");break;case"ArrowRight":!g&&X?(se(-1),Je(-1)):No(V,"next");break;case"Enter":if(Oe.current!==-1&&Se){const de=be[Oe.current],Pe=w?w(de):!1;if(V.preventDefault(),Pe)return;mt(V,de,"selectOption"),r&&J.current.setSelectionRange(J.current.value.length,J.current.value.length)}else O&&we!==""&&ke===!1&&(g&&V.preventDefault(),mt(V,we,"createOption","freeSolo"));break;case"Escape":Se?(V.preventDefault(),V.stopPropagation(),Qe(V,"escape")):c&&(we!==""||g&&ne.length>0||X)&&(V.preventDefault(),V.stopPropagation(),dr(V));break;case"Backspace":if(g&&!A&&we===""&&ne.length>0){const de=ae===-1?ne.length-1:ae,Pe=ne.slice();Pe.splice(de,1),Nt(V,Pe,"removeOption",{option:ne[de]})}!g&&X&&!A&&(Be(null),se(-1),Je(-1));break;case"Delete":if(g&&!A&&we===""&&ne.length>0&&ae!==-1){const de=ae,Pe=ne.slice();Pe.splice(de,1),Nt(V,Pe,"removeOption",{option:ne[de]})}!g&&X&&!A&&(Be(null),se(-1),Je(-1));break}},qo=q=>{Le(!0),ae!==-1&&(se(-1),Je(-1)),H&&!oe.current&&Fe(q)},Go=q=>{if(o(Y)){J.current.focus();return}Le(!1),ce.current=!0,oe.current=!1,i&&Oe.current!==-1&&Se?mt(q,be[Oe.current],"blur"):i&&O&&we!==""?mt(q,we,"blur","freeSolo"):l&&Ie(q,ne,"blur"),Qe(q,"blur")},xn=q=>{const V=q.target.value;we!==V&&(ye(V),Te(!1),k&&k(q,V,"input")),V===""?!f&&!g&&Nt(q,null,"clear"):Fe(q)},ja=q=>{const V=Number(q.currentTarget.getAttribute("data-option-index"));Oe.current!==V&&jt({event:q,index:V,reason:"mouse"})},Na=q=>{jt({event:q,index:Number(q.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Et.current=!0},Ma=q=>{const V=Number(q.currentTarget.getAttribute("data-option-index"));mt(q,be[V],"selectOption"),Et.current=!1},Aa=q=>V=>{const de=ne.slice();de.splice(q,1),Nt(V,de,"removeOption",{option:ne[q]})},Cn=q=>{Nt(q,null,"removeOption",{option:ne})},pt=q=>{te?Qe(q,"toggleInput"):Fe(q)},gt=q=>{q.currentTarget.contains(q.target)&&q.target.getAttribute("id")!==K&&q.preventDefault()},Co=q=>{q.currentTarget.contains(q.target)&&(J.current.focus(),ee&&ce.current&&J.current.selectionEnd-J.current.selectionStart===0&&J.current.select(),ce.current=!1)},La=q=>{!v&&(we===""||!te)&&pt(q)};let Sn=O&&we.length>0;Sn=Sn||(g?ne.length>0:ne!==null);let pr=be;if(E){const q=new Map;let V=!1;pr=be.reduce((de,Pe,Re)=>{const tt=E(Pe);return de.length>0&&de[de.length-1].group===tt?de[de.length-1].options.push(Pe):(process.env.NODE_ENV!=="production"&&(q.get(tt)&&!V&&(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`."),V=!0),q.set(tt,!0)),de.push({key:Re,index:Re,group:tt,options:[Pe]})),de},[])}return v&&re&&Go(),{getRootProps:(q={})=>({...q,onKeyDown:Ia(q),onMouseDown:gt,onClick:Co}),getInputLabelProps:()=>({id:`${K}-label`,htmlFor:K}),getInputProps:()=>({id:K,value:we,onBlur:Go,onFocus:qo,onChange:xn,onMouseDown:La,"aria-activedescendant":Se?"":null,"aria-autocomplete":r?"both":"list","aria-controls":De?`${K}-listbox`:void 0,"aria-expanded":De,autoComplete:"off",ref:J,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:v}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:dr}),getItemProps:({index:q=0}={})=>({...g&&{key:q},...X?{"data-item-index":q}:{"data-tag-index":q},tabIndex:-1,...!A&&{onDelete:g?Aa(q):Cn}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:pt}),getTagProps:({index:q})=>({key:q,"data-tag-index":q,tabIndex:-1,...!A&&{onDelete:Aa(q)}}),getListboxProps:()=>({role:"listbox",id:`${K}-listbox`,"aria-labelledby":`${K}-label`,ref:vt,onMouseDown:q=>{q.preventDefault()}}),getOptionProps:({index:q,option:V})=>{const de=(g?ne:[ne]).some(Re=>Re!=null&&F(V,Re)),Pe=w?w(V):!1;return{key:S?.(V)??z(V),tabIndex:-1,role:"option",id:`${K}-option-${q}`,onMouseMove:ja,onClick:Ma,onTouchStart:Na,"data-option-index":q,"aria-disabled":Pe,"aria-selected":de}},id:K,inputValue:we,value:ne,dirty:Sn,expanded:Se&&le,popupOpen:Se,focused:re||ae!==-1,anchorEl:le,setAnchorEl:U,focusedItem:ae,focusedTag:ae,groupedOptions:pr}}function ho(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 kt="top",qt="bottom",Gt="right",Rt="left",ds="auto",lr=[kt,qt,Gt,Rt],fn="start",Xn="end",Sy="clippingParents",Fu="viewport",Pn="popper",wy="reference",Fl=lr.reduce(function(e,o){return e.concat([o+"-"+fn,o+"-"+Xn])},[]),zu=[].concat(lr,[ds]).reduce(function(e,o){return e.concat([o,o+"-"+fn,o+"-"+Xn])},[]),Ty="beforeRead",Oy="read",Ey="afterRead",Py="beforeMain",ky="main",Ry="afterMain",$y="beforeWrite",Iy="write",jy="afterWrite",Ny=[Ty,Oy,Ey,Py,ky,Ry,$y,Iy,jy];function lo(e){return e?(e.nodeName||"").toLowerCase():null}function Bt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var o=e.ownerDocument;return o&&o.defaultView||window}return e}function Ho(e){var o=Bt(e).Element;return e instanceof o||e instanceof Element}function Wt(e){var o=Bt(e).HTMLElement;return e instanceof o||e instanceof HTMLElement}function ps(e){if(typeof ShadowRoot>"u")return!1;var o=Bt(e).ShadowRoot;return e instanceof o||e instanceof ShadowRoot}function My(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];!Wt(i)||!lo(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 Ay(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},{});!Wt(a)||!lo(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(c){a.removeAttribute(c)}))})}}const Ly={name:"applyStyles",enabled:!0,phase:"write",fn:My,effect:Ay,requires:["computeStyles"]};function io(e){return e.split("-")[0]}var _o=Math.max,Fr=Math.min,mn=Math.round;function Ni(){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 Vu(){return!/^((?!chrome|android).)*safari/i.test(Ni())}function gn(e,o,n){o===void 0&&(o=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,i=1;o&&Wt(e)&&(a=e.offsetWidth>0&&mn(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&mn(r.height)/e.offsetHeight||1);var s=Ho(e)?Bt(e):window,l=s.visualViewport,c=!Vu()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/a,u=(r.top+(c&&l?l.offsetTop:0))/i,f=r.width/a,h=r.height/i;return{width:f,height:h,top:u,right:d+f,bottom:u+h,left:d,x:d,y:u}}function fs(e){var o=gn(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 _u(e,o){var n=o.getRootNode&&o.getRootNode();if(e.contains(o))return!0;if(n&&ps(n)){var r=o;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function yo(e){return Bt(e).getComputedStyle(e)}function Dy(e){return["table","td","th"].indexOf(lo(e))>=0}function Io(e){return((Ho(e)?e.ownerDocument:e.document)||window.document).documentElement}function ga(e){return lo(e)==="html"?e:e.assignedSlot||e.parentNode||(ps(e)?e.host:null)||Io(e)}function zl(e){return!Wt(e)||yo(e).position==="fixed"?null:e.offsetParent}function By(e){var o=/firefox/i.test(Ni()),n=/Trident/i.test(Ni());if(n&&Wt(e)){var r=yo(e);if(r.position==="fixed")return null}var a=ga(e);for(ps(a)&&(a=a.host);Wt(a)&&["html","body"].indexOf(lo(a))<0;){var i=yo(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 cr(e){for(var o=Bt(e),n=zl(e);n&&Dy(n)&&yo(n).position==="static";)n=zl(n);return n&&(lo(n)==="html"||lo(n)==="body"&&yo(n).position==="static")?o:n||By(e)||o}function ms(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zn(e,o,n){return _o(e,Fr(o,n))}function Fy(e,o,n){var r=zn(e,o,n);return r>n?n:r}function Wu(){return{top:0,right:0,bottom:0,left:0}}function Uu(e){return Object.assign({},Wu(),e)}function Hu(e,o){return o.reduce(function(n,r){return n[r]=e,n},{})}var zy=function(o,n){return o=typeof o=="function"?o(Object.assign({},n.rects,{placement:n.placement})):o,Uu(typeof o!="number"?o:Hu(o,lr))};function Vy(e){var o,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,l=io(n.placement),c=ms(l),d=[Rt,Gt].indexOf(l)>=0,u=d?"height":"width";if(!(!i||!s)){var f=zy(a.padding,n),h=fs(i),v=c==="y"?kt:Rt,b=c==="y"?qt:Gt,p=n.rects.reference[u]+n.rects.reference[c]-s[c]-n.rects.popper[u],y=s[c]-n.rects.reference[c],C=cr(i),O=C?c==="y"?C.clientHeight||0:C.clientWidth||0:0,w=p/2-y/2,S=f[v],T=O-h[u]-f[b],E=O/2-h[u]/2+w,R=zn(S,E,T),I=c;n.modifiersData[r]=(o={},o[I]=R,o.centerOffset=R-E,o)}}function _y(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)||_u(o.elements.popper,a)&&(o.elements.arrow=a))}const Wy={name:"arrow",enabled:!0,phase:"main",fn:Vy,effect:_y,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function bn(e){return e.split("-")[1]}var Uy={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hy(e,o){var n=e.x,r=e.y,a=o.devicePixelRatio||1;return{x:mn(n*a)/a||0,y:mn(r*a)/a||0}}function Vl(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,u=e.roundOffsets,f=e.isFixed,h=s.x,v=h===void 0?0:h,b=s.y,p=b===void 0?0:b,y=typeof u=="function"?u({x:v,y:p}):{x:v,y:p};v=y.x,p=y.y;var C=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),w=Rt,S=kt,T=window;if(d){var E=cr(n),R="clientHeight",I="clientWidth";if(E===Bt(n)&&(E=Io(n),yo(E).position!=="static"&&l==="absolute"&&(R="scrollHeight",I="scrollWidth")),E=E,a===kt||(a===Rt||a===Gt)&&i===Xn){S=qt;var N=f&&E===T&&T.visualViewport?T.visualViewport.height:E[R];p-=N-r.height,p*=c?1:-1}if(a===Rt||(a===kt||a===qt)&&i===Xn){w=Gt;var M=f&&E===T&&T.visualViewport?T.visualViewport.width:E[I];v-=M-r.width,v*=c?1:-1}}var F=Object.assign({position:l},d&&Uy),g=u===!0?Hy({x:v,y:p},Bt(n)):{x:v,y:p};if(v=g.x,p=g.y,c){var $;return Object.assign({},F,($={},$[S]=O?"0":"",$[w]=C?"0":"",$.transform=(T.devicePixelRatio||1)<=1?"translate("+v+"px, "+p+"px)":"translate3d("+v+"px, "+p+"px, 0)",$))}return Object.assign({},F,(o={},o[S]=O?p+"px":"",o[w]=C?v+"px":"",o.transform="",o))}function qy(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:io(o.placement),variation:bn(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,Vl(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,Vl(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 Gy={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qy,data:{}};var yr={passive:!0};function Ky(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=Bt(o.elements.popper),d=[].concat(o.scrollParents.reference,o.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",n.update,yr)}),l&&c.addEventListener("resize",n.update,yr),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",n.update,yr)}),l&&c.removeEventListener("resize",n.update,yr)}}const Yy={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ky,data:{}};var Xy={left:"right",right:"left",bottom:"top",top:"bottom"};function Rr(e){return e.replace(/left|right|bottom|top/g,function(o){return Xy[o]})}var Jy={start:"end",end:"start"};function _l(e){return e.replace(/start|end/g,function(o){return Jy[o]})}function gs(e){var o=Bt(e),n=o.pageXOffset,r=o.pageYOffset;return{scrollLeft:n,scrollTop:r}}function bs(e){return gn(Io(e)).left+gs(e).scrollLeft}function Zy(e,o){var n=Bt(e),r=Io(e),a=n.visualViewport,i=r.clientWidth,s=r.clientHeight,l=0,c=0;if(a){i=a.width,s=a.height;var d=Vu();(d||!d&&o==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:s,x:l+bs(e),y:c}}function Qy(e){var o,n=Io(e),r=gs(e),a=(o=e.ownerDocument)==null?void 0:o.body,i=_o(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=_o(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+bs(e),c=-r.scrollTop;return yo(a||n).direction==="rtl"&&(l+=_o(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:l,y:c}}function hs(e){var o=yo(e),n=o.overflow,r=o.overflowX,a=o.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function qu(e){return["html","body","#document"].indexOf(lo(e))>=0?e.ownerDocument.body:Wt(e)&&hs(e)?e:qu(ga(e))}function Vn(e,o){var n;o===void 0&&(o=[]);var r=qu(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=Bt(r),s=a?[i].concat(i.visualViewport||[],hs(r)?r:[]):r,l=o.concat(s);return a?l:l.concat(Vn(ga(s)))}function Mi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ev(e,o){var n=gn(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 Wl(e,o,n){return o===Fu?Mi(Zy(e,n)):Ho(o)?ev(o,n):Mi(Qy(Io(e)))}function tv(e){var o=Vn(ga(e)),n=["absolute","fixed"].indexOf(yo(e).position)>=0,r=n&&Wt(e)?cr(e):e;return Ho(r)?o.filter(function(a){return Ho(a)&&_u(a,r)&&lo(a)!=="body"}):[]}function ov(e,o,n,r){var a=o==="clippingParents"?tv(e):[].concat(o),i=[].concat(a,[n]),s=i[0],l=i.reduce(function(c,d){var u=Wl(e,d,r);return c.top=_o(u.top,c.top),c.right=Fr(u.right,c.right),c.bottom=Fr(u.bottom,c.bottom),c.left=_o(u.left,c.left),c},Wl(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 Gu(e){var o=e.reference,n=e.element,r=e.placement,a=r?io(r):null,i=r?bn(r):null,s=o.x+o.width/2-n.width/2,l=o.y+o.height/2-n.height/2,c;switch(a){case kt:c={x:s,y:o.y-n.height};break;case qt:c={x:s,y:o.y+o.height};break;case Gt:c={x:o.x+o.width,y:l};break;case Rt:c={x:o.x-n.width,y:l};break;default:c={x:o.x,y:o.y}}var d=a?ms(a):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case fn:c[d]=c[d]-(o[u]/2-n[u]/2);break;case Xn:c[d]=c[d]+(o[u]/2-n[u]/2);break}}return c}function Jn(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?Sy:l,d=n.rootBoundary,u=d===void 0?Fu:d,f=n.elementContext,h=f===void 0?Pn:f,v=n.altBoundary,b=v===void 0?!1:v,p=n.padding,y=p===void 0?0:p,C=Uu(typeof y!="number"?y:Hu(y,lr)),O=h===Pn?wy:Pn,w=e.rects.popper,S=e.elements[b?O:h],T=ov(Ho(S)?S:S.contextElement||Io(e.elements.popper),c,u,s),E=gn(e.elements.reference),R=Gu({reference:E,element:w,placement:a}),I=Mi(Object.assign({},w,R)),N=h===Pn?I:E,M={top:T.top-N.top+C.top,bottom:N.bottom-T.bottom+C.bottom,left:T.left-N.left+C.left,right:N.right-T.right+C.right},F=e.modifiersData.offset;if(h===Pn&&F){var g=F[a];Object.keys(M).forEach(function($){var P=[Gt,qt].indexOf($)>=0?1:-1,j=[kt,qt].indexOf($)>=0?"y":"x";M[$]+=g[j]*P})}return M}function nv(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?zu:c,u=bn(r),f=u?l?Fl:Fl.filter(function(b){return bn(b)===u}):lr,h=f.filter(function(b){return d.indexOf(b)>=0});h.length===0&&(h=f);var v=h.reduce(function(b,p){return b[p]=Jn(e,{placement:p,boundary:a,rootBoundary:i,padding:s})[io(p)],b},{});return Object.keys(v).sort(function(b,p){return v[b]-v[p]})}function rv(e){if(io(e)===ds)return[];var o=Rr(e);return[_l(e),o,_l(o)]}function av(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,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,p=n.allowedAutoPlacements,y=o.options.placement,C=io(y),O=C===y,w=c||(O||!b?[Rr(y)]:rv(y)),S=[y].concat(w).reduce(function(ie,K){return ie.concat(io(K)===ds?nv(o,{placement:K,boundary:u,rootBoundary:f,padding:d,flipVariations:b,allowedAutoPlacements:p}):K)},[]),T=o.rects.reference,E=o.rects.popper,R=new Map,I=!0,N=S[0],M=0;M<S.length;M++){var F=S[M],g=io(F),$=bn(F)===fn,P=[kt,qt].indexOf(g)>=0,j=P?"width":"height",k=Jn(o,{placement:F,boundary:u,rootBoundary:f,altBoundary:h,padding:d}),W=P?$?Gt:Rt:$?qt:kt;T[j]>E[j]&&(W=Rr(W));var G=Rr(W),H=[];if(i&&H.push(k[g]<=0),l&&H.push(k[W]<=0,k[G]<=0),H.every(function(ie){return ie})){N=F,I=!1;break}R.set(F,H)}if(I)for(var B=b?3:1,A=function(K){var z=S.find(function(oe){var ce=R.get(oe);if(ce)return ce.slice(0,K).every(function(J){return J})});if(z)return N=z,"break"},X=B;X>0;X--){var ee=A(X);if(ee==="break")break}o.placement!==N&&(o.modifiersData[r]._skip=!0,o.placement=N,o.reset=!0)}}const iv={name:"flip",enabled:!0,phase:"main",fn:av,requiresIfExists:["offset"],data:{_skip:!1}};function Ul(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 Hl(e){return[kt,Gt,qt,Rt].some(function(o){return e[o]>=0})}function sv(e){var o=e.state,n=e.name,r=o.rects.reference,a=o.rects.popper,i=o.modifiersData.preventOverflow,s=Jn(o,{elementContext:"reference"}),l=Jn(o,{altBoundary:!0}),c=Ul(s,r),d=Ul(l,a,i),u=Hl(c),f=Hl(d);o.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const lv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sv};function cv(e,o,n){var r=io(e),a=[Rt,kt].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,[Rt,Gt].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function uv(e){var o=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,s=zu.reduce(function(u,f){return u[f]=cv(f,o.rects,i),u},{}),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 dv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:uv};function pv(e){var o=e.state,n=e.name;o.modifiersData[n]=Gu({reference:o.rects.reference,element:o.rects.popper,placement:o.placement})}const fv={name:"popperOffsets",enabled:!0,phase:"read",fn:pv,data:{}};function mv(e){return e==="x"?"y":"x"}function gv(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,u=n.altBoundary,f=n.padding,h=n.tether,v=h===void 0?!0:h,b=n.tetherOffset,p=b===void 0?0:b,y=Jn(o,{boundary:c,rootBoundary:d,padding:f,altBoundary:u}),C=io(o.placement),O=bn(o.placement),w=!O,S=ms(C),T=mv(S),E=o.modifiersData.popperOffsets,R=o.rects.reference,I=o.rects.popper,N=typeof p=="function"?p(Object.assign({},o.rects,{placement:o.placement})):p,M=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),F=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,g={x:0,y:0};if(E){if(i){var $,P=S==="y"?kt:Rt,j=S==="y"?qt:Gt,k=S==="y"?"height":"width",W=E[S],G=W+y[P],H=W-y[j],B=v?-I[k]/2:0,A=O===fn?R[k]:I[k],X=O===fn?-I[k]:-R[k],ee=o.elements.arrow,ie=v&&ee?fs(ee):{width:0,height:0},K=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:Wu(),z=K[P],oe=K[j],ce=zn(0,R[k],ie[k]),J=w?R[k]/2-B-ce-z-M.mainAxis:A-ce-z-M.mainAxis,Y=w?-R[k]/2+B+ce+oe+M.mainAxis:X+ce+oe+M.mainAxis,le=o.elements.arrow&&cr(o.elements.arrow),U=le?S==="y"?le.clientTop||0:le.clientLeft||0:0,ae=($=F?.[S])!=null?$:0,se=W+J-ae-U,ue=W+Y-ae,Oe=zn(v?Fr(G,se):G,W,v?_o(H,ue):H);E[S]=Oe,g[S]=Oe-W}if(l){var Ee,ne=S==="x"?kt:Rt,Be=S==="x"?qt:Gt,we=E[T],ye=T==="y"?"height":"width",re=we+y[ne],Le=we-y[Be],Ie=[kt,Rt].indexOf(C)!==-1,te=(Ee=F?.[T])!=null?Ee:0,Q=Ie?re:we-R[ye]-I[ye]-te+M.altAxis,xe=Ie?we+R[ye]+I[ye]-te-M.altAxis:Le,Te=v&&Ie?Fy(Q,we,xe):zn(v?Q:re,we,v?xe:Le);E[T]=Te,g[T]=Te-we}o.modifiersData[r]=g}}const bv={name:"preventOverflow",enabled:!0,phase:"main",fn:gv,requiresIfExists:["offset"]};function hv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yv(e){return e===Bt(e)||!Wt(e)?gs(e):hv(e)}function vv(e){var o=e.getBoundingClientRect(),n=mn(o.width)/e.offsetWidth||1,r=mn(o.height)/e.offsetHeight||1;return n!==1||r!==1}function xv(e,o,n){n===void 0&&(n=!1);var r=Wt(o),a=Wt(o)&&vv(o),i=Io(o),s=gn(e,a,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((lo(o)!=="body"||hs(i))&&(l=yv(o)),Wt(o)?(c=gn(o,!0),c.x+=o.clientLeft,c.y+=o.clientTop):i&&(c.x=bs(i))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Cv(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 Sv(e){var o=Cv(e);return Ny.reduce(function(n,r){return n.concat(o.filter(function(a){return a.phase===r}))},[])}function wv(e){var o;return function(){return o||(o=new Promise(function(n){Promise.resolve().then(function(){o=void 0,n(e())})})),o}}function Tv(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 ql={placement:"bottom",modifiers:[],strategy:"absolute"};function Gl(){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 Ov(e){e===void 0&&(e={});var o=e,n=o.defaultModifiers,r=n===void 0?[]:n,a=o.defaultOptions,i=a===void 0?ql:a;return function(l,c,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ql,i),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},f=[],h=!1,v={state:u,setOptions:function(C){var O=typeof C=="function"?C(u.options):C;p(),u.options=Object.assign({},i,u.options,O),u.scrollParents={reference:Ho(l)?Vn(l):l.contextElement?Vn(l.contextElement):[],popper:Vn(c)};var w=Sv(Tv([].concat(r,u.options.modifiers)));return u.orderedModifiers=w.filter(function(S){return S.enabled}),b(),v.update()},forceUpdate:function(){if(!h){var C=u.elements,O=C.reference,w=C.popper;if(Gl(O,w)){u.rects={reference:xv(O,cr(w),u.options.strategy==="fixed"),popper:fs(w)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(M){return u.modifiersData[M.name]=Object.assign({},M.data)});for(var S=0;S<u.orderedModifiers.length;S++){if(u.reset===!0){u.reset=!1,S=-1;continue}var T=u.orderedModifiers[S],E=T.fn,R=T.options,I=R===void 0?{}:R,N=T.name;typeof E=="function"&&(u=E({state:u,options:I,name:N,instance:v})||u)}}}},update:wv(function(){return new Promise(function(y){v.forceUpdate(),y(u)})}),destroy:function(){p(),h=!0}};if(!Gl(l,c))return v;v.setOptions(d).then(function(y){!h&&d.onFirstUpdate&&d.onFirstUpdate(y)});function b(){u.orderedModifiers.forEach(function(y){var C=y.name,O=y.options,w=O===void 0?{}:O,S=y.effect;if(typeof S=="function"){var T=S({state:u,name:C,instance:v,options:w}),E=function(){};f.push(T||E)}})}function p(){f.forEach(function(y){return y()}),f=[]}return v}}var Ev=[Yy,fv,Gy,Ly,dv,iv,bv,Wy,lv],Pv=Ov({defaultModifiers:Ev});function eo(e){const{elementType:o,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:a=!1,...i}=e,s=a?{}:yu(n,r),{props:l,internalRef:c}=vu({...i,externalSlotProps:s}),d=et(c,s?.ref,e.additionalProps?.ref);return hu(o,{...l,ref:d},r)}function kv(e){return typeof e=="function"?e():e}const Zn=x.forwardRef(function(o,n){const{children:r,container:a,disablePortal:i=!1}=o,[s,l]=x.useState(null),c=et(x.isValidElement(r)?vn(r):null,n);if(Ht(()=>{i||l(kv(a)||document.body)},[a,i]),Ht(()=>{if(s&&!i)return yi(n,s),()=>{yi(n,null)}},[n,s,i]),i){if(x.isValidElement(r)){const d={ref:c};return x.cloneElement(r,d)}return r}return s&&Id.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(Zn.propTypes={children:t.node,container:t.oneOfType([ho,t.func]),disablePortal:t.bool});process.env.NODE_ENV!=="production"&&(Zn.propTypes=Yi(Zn.propTypes));function Rv(e){return me("MuiPopper",e)}ge("MuiPopper",["root"]);function $v(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 zr(e){return typeof e=="function"?e():e}function ba(e){return e.nodeType!==void 0}function Iv(e){return!ba(e)}const jv=e=>{const{classes:o}=e;return he({root:["root"]},Rv,o)},Nv={},Mv=x.forwardRef(function(o,n){const{anchorEl:r,children:a,direction:i,disablePortal:s,modifiers:l,open:c,placement:d,popperOptions:u,popperRef:f,slotProps:h={},slots:v={},TransitionProps:b,ownerState:p,...y}=o,C=x.useRef(null),O=et(C,n),w=x.useRef(null),S=et(w,f),T=x.useRef(S);Ht(()=>{T.current=S},[S]),x.useImperativeHandle(f,()=>w.current,[]);const E=$v(d,i),[R,I]=x.useState(E),[N,M]=x.useState(zr(r));x.useEffect(()=>{w.current&&w.current.forceUpdate()}),x.useEffect(()=>{r&&M(zr(r))},[r]),Ht(()=>{if(!N||!c)return;const j=G=>{I(G.placement)};if(process.env.NODE_ENV!=="production"&&N&&ba(N)&&N.nodeType===1){const G=N.getBoundingClientRect();process.env.NODE_ENV!=="test"&&G.top===0&&G.left===0&&G.right===0&&G.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(`
|
|
307
|
-
`))}let
|
|
308
|
-
`))}else if(!o||typeof o.getBoundingClientRect!="function"||
|
|
309
|
-
`))}return null}),children:t.oneOfType([t.node,t.func]),container:t.oneOfType([ho,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:Ot,slotProps:t.shape({root:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType}),transition:t.bool});const Av=L(Ku,{name:"MuiPopper",slot:"Root"})({}),ys=x.forwardRef(function(o,n){const r=rr(),a=ve({props:o,name:"MuiPopper"}),{anchorEl:i,component:s,components:l,componentsProps:c,container:d,disablePortal:u,keepMounted:f,modifiers:h,open:v,placement:b,popperOptions:p,popperRef:y,transition:C,slots:O,slotProps:w,...S}=a,T=O?.root??l?.Root,E={anchorEl:i,container:d,disablePortal:u,keepMounted:f,modifiers:h,open:v,placement:b,popperOptions:p,popperRef:y,transition:C,...S};return m.jsx(Av,{as:s,direction:r?"rtl":"ltr",slots:{root:T},slotProps:w??c,...E,ref:n})});process.env.NODE_ENV!=="production"&&(ys.propTypes={anchorEl:t.oneOfType([ho,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([ho,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:Ot,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 Lv(e){return me("MuiListSubheader",e)}ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Dv=e=>{const{classes:o,color:n,disableGutters:r,inset:a,disableSticky:i}=e,s={root:["root",n!=="default"&&`color${D(n)}`,!r&&"gutters",a&&"inset",!i&&"sticky"]};return he(s,Lv,o)},Bv=L("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="default"&&o[`color${D(n.color)}`],!n.disableGutters&&o.gutters,n.inset&&o.inset,!n.disableSticky&&o.sticky]}})(pe(({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}}]}))),Qn=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListSubheader"}),{className:a,color:i="default",component:s="li",disableGutters:l=!1,disableSticky:c=!1,inset:d=!1,...u}=r,f={...r,color:i,component:s,disableGutters:l,disableSticky:c,inset:d},h=Dv(f);return m.jsx(Bv,{as:s,className:Z(h.root,a),ref:n,ownerState:f,...u})});Qn&&(Qn.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Qn.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 Fv=ct(m.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 zv(e){return me("MuiChip",e)}const Ae=ge("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"]),Vv=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${D(r)}`,`color${D(a)}`,l&&"clickable",l&&`clickableColor${D(a)}`,s&&"deletable",s&&`deletableColor${D(a)}`,`${c}${D(a)}`],label:["label",`label${D(r)}`],avatar:["avatar",`avatar${D(r)}`,`avatarColor${D(a)}`],icon:["icon",`icon${D(r)}`,`iconColor${D(i)}`],deleteIcon:["deleteIcon",`deleteIcon${D(r)}`,`deleteIconColor${D(a)}`,`deleteIcon${D(c)}Color${D(a)}`]};return he(d,zv,o)},_v=L("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[{[`& .${Ae.avatar}`]:o.avatar},{[`& .${Ae.avatar}`]:o[`avatar${D(l)}`]},{[`& .${Ae.avatar}`]:o[`avatarColor${D(r)}`]},{[`& .${Ae.icon}`]:o.icon},{[`& .${Ae.icon}`]:o[`icon${D(l)}`]},{[`& .${Ae.icon}`]:o[`iconColor${D(a)}`]},{[`& .${Ae.deleteIcon}`]:o.deleteIcon},{[`& .${Ae.deleteIcon}`]:o[`deleteIcon${D(l)}`]},{[`& .${Ae.deleteIcon}`]:o[`deleteIconColor${D(r)}`]},{[`& .${Ae.deleteIcon}`]:o[`deleteIcon${D(c)}Color${D(r)}`]},o.root,o[`size${D(l)}`],o[`color${D(r)}`],i&&o.clickable,i&&r!=="default"&&o[`clickableColor${D(r)}`],s&&o.deletable,s&&r!=="default"&&o[`deletableColor${D(r)}`],o[c],o[`${c}${D(r)}`]]}})(pe(({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",[`&.${Ae.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ae.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:o,fontSize:e.typography.pxToRem(12)},[`& .${Ae.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ae.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ae.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ae.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Ae.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,[`& .${Ae.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Ae.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Ae.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:{[`& .${Ae.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:o}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Ae.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Ae.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(Ve(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Ae.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}`)},[`&.${Ae.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(Ve(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Ae.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]}`,[`&.${Ae.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ae.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ae.avatar}`]:{marginLeft:4},[`& .${Ae.avatarSmall}`]:{marginLeft:2},[`& .${Ae.icon}`]:{marginLeft:4},[`& .${Ae.iconSmall}`]:{marginLeft:2},[`& .${Ae.deleteIcon}`]:{marginRight:5},[`& .${Ae.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Ve()).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)}`,[`&.${Ae.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Ae.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Ae.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),Wv=L("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,o)=>{const{ownerState:n}=e,{size:r}=n;return[o.label,o[`label${D(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 Kl(e){return e.key==="Backspace"||e.key==="Delete"}const vs=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiChip"}),{avatar:a,className:i,clickable:s,color:l="default",component:c,deleteIcon:d,disabled:u=!1,icon:f,label:h,onClick:v,onDelete:b,onKeyDown:p,onKeyUp:y,size:C="medium",variant:O="filled",tabIndex:w,skipFocusWhenDisabled:S=!1,slots:T={},slotProps:E={},...R}=r,I=x.useRef(null),N=et(I,n),M=z=>{z.stopPropagation(),b&&b(z)},F=z=>{z.currentTarget===z.target&&Kl(z)&&z.preventDefault(),p&&p(z)},g=z=>{z.currentTarget===z.target&&b&&Kl(z)&&b(z),y&&y(z)},$=s!==!1&&v?!0:s,P=$||b?bo:c||"div",j={...r,component:P,disabled:u,size:C,color:l,iconColor:x.isValidElement(f)&&f.props.color||l,onDelete:!!b,clickable:$,variant:O},k=Vv(j),W=P===bo?{component:c||"div",focusVisibleClassName:k.focusVisible,...b&&{disableRipple:!0}}:{};let G=null;b&&(G=d&&x.isValidElement(d)?x.cloneElement(d,{className:Z(d.props.className,k.deleteIcon),onClick:M}):m.jsx(Fv,{className:k.deleteIcon,onClick:M}));let H=null;a&&x.isValidElement(a)&&(H=x.cloneElement(a,{className:Z(k.avatar,a.props.className)}));let B=null;f&&x.isValidElement(f)&&(B=x.cloneElement(f,{className:Z(k.icon,f.props.className)})),process.env.NODE_ENV!=="production"&&H&&B&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");const A={slots:T,slotProps:E},[X,ee]=fe("root",{elementType:_v,externalForwardedProps:{...A,...R},ownerState:j,shouldForwardComponentProp:!0,ref:N,className:Z(k.root,i),additionalProps:{disabled:$&&u?!0:void 0,tabIndex:S&&u?-1:w,...W},getSlotProps:z=>({...z,onClick:oe=>{z.onClick?.(oe),v?.(oe)},onKeyDown:oe=>{z.onKeyDown?.(oe),F(oe)},onKeyUp:oe=>{z.onKeyUp?.(oe),g(oe)}})}),[ie,K]=fe("label",{elementType:Wv,externalForwardedProps:A,ownerState:j,className:k.label});return m.jsxs(X,{as:P,...ee,children:[H||B,m.jsx(ie,{...K,children:h}),G]})});process.env.NODE_ENV!=="production"&&(vs.propTypes={avatar:t.element,children:cg,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 vr(e){return parseInt(e,10)||0}const Uv={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Hv(e){for(const o in e)return!1;return!0}function Yl(e){return Hv(e)||e.outerHeightStyle===0&&!e.overflowing}const Yu=x.forwardRef(function(o,n){const{onChange:r,maxRows:a,minRows:i=1,style:s,value:l,...c}=o,{current:d}=x.useRef(l!=null),u=x.useRef(null),f=et(n,u),h=x.useRef(null),v=x.useRef(null),b=x.useCallback(()=>{const w=u.current,S=v.current;if(!w||!S)return;const E=go(w).getComputedStyle(w);if(E.width==="0px")return{outerHeightStyle:0,overflowing:!1};S.style.width=E.width,S.value=w.value||o.placeholder||"x",S.value.slice(-1)===`
|
|
310
|
-
`&&(S.value+=" ");const
|
|
311
|
-
`),
|
|
312
|
-
`))},[]),le=et(J,S,w.ref,Y),[U,ae]=x.useState(!1),se=Zt();process.env.NODE_ENV!=="production"&&x.useEffect(()=>{if(se)return se.registerEffect()},[se]);const ue=jo({props:r,muiFormControl:se,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ue.focused=se?se.focused:U,x.useEffect(()=>{!se&&h&&U&&(ae(!1),M&&M())},[se,h,U,M]);const Oe=se&&se.onFilled,Ee=se&&se.onEmpty,ne=x.useCallback(be=>{Vr(be)?Oe&&Oe():Ee&&Ee()},[Oe,Ee]);Ht(()=>{ce&&ne({value:oe})},[oe,ne,ce]);const Be=be=>{$&&$(be),w.onFocus&&w.onFocus(be),se&&se.onFocus?se.onFocus(be):ae(!0)},we=be=>{M&&M(be),w.onBlur&&w.onBlur(be),se&&se.onBlur?se.onBlur(be):ae(!1)},ye=(be,...Ue)=>{if(!ce){const De=be.target||J.current;if(De==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.":so(1));ne({value:De.value})}w.onChange&&w.onChange(be,...Ue),F&&F(be,...Ue)};x.useEffect(()=>{ne(J.current)},[]);const re=be=>{J.current&&be.currentTarget===be.target&&J.current.focus(),g&&g(be)};let Le=O,Ie=w;I&&Le==="input"&&(H?(process.env.NODE_ENV!=="production"&&(R||E)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),Ie={type:void 0,minRows:H,maxRows:H,...Ie}):Ie={type:void 0,maxRows:E,minRows:R,...Ie},Le=Yu);const te=be=>{ne(be.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};x.useEffect(()=>{se&&se.setAdornedStart(!!ee)},[se,ee]);const Q={...r,color:ue.color||"primary",disabled:ue.disabled,endAdornment:b,error:ue.error,focused:ue.focused,formControl:se,fullWidth:y,hiddenLabel:ue.hiddenLabel,multiline:I,size:ue.size,startAdornment:ee,type:ie},xe=Kv(Q),Te=X.root||d.Root||va,ke=A.root||u.root||{},Se=X.input||d.Input||xa;return Ie={...Ie,...A.input??u.input},m.jsxs(x.Fragment,{children:[!v&&typeof Zl=="function"&&(Jl||(Jl=m.jsx(Zl,{}))),m.jsxs(Te,{...ke,ref:n,onClick:re,...z,...!ao(Te)&&{ownerState:{...Q,...ke.ownerState}},className:Z(xe.root,ke.className,l,W&&"MuiInputBase-readOnly"),children:[ee,m.jsx(ur.Provider,{value:null,children:m.jsx(Se,{"aria-invalid":ue.error,"aria-describedby":a,autoComplete:i,autoFocus:s,defaultValue:f,disabled:ue.disabled,id:C,onAnimationStart:te,name:N,placeholder:k,readOnly:W,required:ue.required,rows:H,value:oe,onKeyDown:P,onKeyUp:j,type:ie,...Ie,...!ao(Se)&&{as:Le,ownerState:{...Q,...Ie.ownerState}},ref:le,className:Z(xe.input,Ie.className,W&&"MuiInputBase-readOnly"),onBlur:we,onChange:ye,onFocus:Be})}),b,G?G({...ue,startAdornment:ee}):null]})]})});process.env.NODE_ENV!=="production"&&(Ca.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:ir,inputProps:t.object,inputRef:Ot,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 Yv(e){return me("MuiInput",e)}const Oo={...Mt,...ge("MuiInput",["root","underline","input"])};function Xv(e){return me("MuiOutlinedInput",e)}const Ft={...Mt,...ge("MuiOutlinedInput",["root","notchedOutline","input"])};function Jv(e){return me("MuiFilledInput",e)}const At={...Mt,...ge("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Xu=ct(m.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Zv(e){return me("MuiAutocomplete",e)}const Ne=ge("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 Ql,ec;const Qv=e=>{const{classes:o,disablePortal:n,expanded:r,focused:a,fullWidth:i,hasClearIcon:s,hasPopupIcon:l,inputFocused:c,popupOpen:d,size:u}=e,f={root:["root",r&&"expanded",a&&"focused",i&&"fullWidth",s&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",c&&"inputFocused"],tag:["tag",`tagSize${D(u)}`],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 he(f,Zv,o)},e0=L("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:a,hasPopupIcon:i,inputFocused:s,size:l}=n;return[{[`& .${Ne.tag}`]:o.tag},{[`& .${Ne.tag}`]:o[`tagSize${D(l)}`]},{[`& .${Ne.inputRoot}`]:o.inputRoot},{[`& .${Ne.input}`]:o.input},{[`& .${Ne.input}`]:s&&o.inputFocused},o.root,r&&o.fullWidth,i&&o.hasPopupIcon,a&&o.hasClearIcon]}})({[`&.${Ne.focused} .${Ne.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ne.clearIndicator}`]:{visibility:"visible"}},[`& .${Ne.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ne.inputRoot}`]:{[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:30},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:56},[`& .${Ne.input}`]:{width:0,minWidth:30}},[`& .${Oo.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Oo.root}.${Mt.sizeSmall}`]:{[`& .${Oo.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Ft.root}`]:{padding:9,[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:39},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:65},[`& .${Ne.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ne.endAdornment}`]:{right:9}},[`& .${Ft.root}.${Mt.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ne.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${At.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:39},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:65},[`& .${At.input}`]:{padding:"7px 4px"},[`& .${Ne.endAdornment}`]:{right:9}},[`& .${At.root}.${Mt.sizeSmall}`]:{paddingBottom:1,[`& .${At.input}`]:{padding:"2.5px 4px"}},[`& .${Mt.hiddenLabel}`]:{paddingTop:8},[`& .${At.root}.${Mt.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ne.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${At.root}.${Mt.hiddenLabel}.${Mt.sizeSmall}`]:{[`& .${Ne.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ne.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ne.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ne.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ne.inputRoot}`]:{flexWrap:"wrap"}}}]}),t0=L("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),o0=L(dn,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),n0=L(dn,{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)"}}]}),r0=L(ys,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Ne.option}`]:o.option},o.popper,n.disablePortal&&o.popperDisablePortal]}})(pe(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),a0=L(uo,{name:"MuiAutocomplete",slot:"Paper"})(pe(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),i0=L("div",{name:"MuiAutocomplete",slot:"Loading"})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),s0=L("div",{name:"MuiAutocomplete",slot:"NoOptions"})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),l0=L("ul",{name:"MuiAutocomplete",slot:"Listbox"})(pe(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ne.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"},[`&.${Ne.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"},[`&.${Ne.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),[`&.${Ne.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}},[`&.${Ne.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),c0=L(Qn,{name:"MuiAutocomplete",slot:"GroupLabel"})(pe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),u0=L("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Ne.option}`]:{paddingLeft:24}}),Ju=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:i=!1,autoSelect:s=!1,blurOnSelect:l=!1,ChipProps:c,className:d,clearIcon:u=Ql||(Ql=m.jsx(ku,{fontSize:"small"})),clearOnBlur:f=!r.freeSolo,clearOnEscape:h=!1,clearText:v="Clear",closeText:b="Close",componentsProps:p,defaultValue:y=r.multiple?[]:null,disableClearable:C=!1,disableCloseOnSelect:O=!1,disabled:w=!1,disabledItemsFocusable:S=!1,disableListWrap:T=!1,disablePortal:E=!1,filterOptions:R,filterSelectedOptions:I=!1,forcePopupIcon:N="auto",freeSolo:M=!1,fullWidth:F=!1,getLimitTagsText:g=ze=>`+${ze}`,getOptionDisabled:$,getOptionKey:P,getOptionLabel:j,isOptionEqualToValue:k,groupBy:W,handleHomeEndKeys:G=!r.freeSolo,id:H,includeInputInList:B=!1,inputValue:A,limitTags:X=-1,ListboxComponent:ee,ListboxProps:ie,loading:K=!1,loadingText:z="Loading…",multiple:oe=!1,noOptionsText:ce="No options",onChange:J,onClose:Y,onHighlightChange:le,onInputChange:U,onOpen:ae,open:se,openOnFocus:ue=!1,openText:Oe="Open",options:Ee,PaperComponent:ne,PopperComponent:Be,popupIcon:we=ec||(ec=m.jsx(Xu,{})),readOnly:ye=!1,renderGroup:re,renderInput:Le,renderOption:Ie,renderTags:te,renderValue:Q,selectOnFocus:xe=!r.freeSolo,size:Te="medium",slots:ke={},slotProps:Se={},value:be,...Ue}=r,{getRootProps:De,getInputProps:Je,getInputLabelProps:It,getPopupIndicatorProps:jt,getClearProps:ft,getItemProps:Ce,getListboxProps:je,getOptionProps:Ze,value:vt,dirty:Fe,expanded:Qe,id:Nt,popupOpen:Et,focused:mt,focusedItem:$a,anchorEl:No,setAnchorEl:dr,inputValue:Ia,groupedOptions:qo}=Cy({...r,componentName:"Autocomplete"}),Go=!C&&!w&&Fe&&!ye,xn=(!M||N===!0)&&N!==!1,{onMouseDown:ja}=Je(),{ref:Na,...Ma}=je(),Cn=j||(ze=>ze.label??ze),pt={...r,disablePortal:E,expanded:Qe,focused:mt,fullWidth:F,getOptionLabel:Cn,hasClearIcon:Go,hasPopupIcon:xn,inputFocused:$a===-1,popupOpen:Et,size:Te},gt=Qv(pt),Co={slots:{paper:ne,popper:Be,...ke},slotProps:{chip:c,listbox:ie,...p,...Se}},[La,Sn]=fe("listbox",{elementType:l0,externalForwardedProps:Co,ownerState:pt,className:gt.listbox,additionalProps:Ma,ref:Na}),[pr,q]=fe("paper",{elementType:uo,externalForwardedProps:Co,ownerState:pt,className:gt.paper}),[V,de]=fe("popper",{elementType:ys,externalForwardedProps:Co,ownerState:pt,className:gt.popper,additionalProps:{disablePortal:E,style:{width:No?No.clientWidth:null},role:"presentation",anchorEl:No,open:Et}});let Pe;const Re=ze=>({className:gt.tag,disabled:w,...Ce(ze)});if(oe?vt.length>0&&(te?Pe=te(vt,Re,pt):Q?Pe=Q(vt,Re,pt):Pe=vt.map((ze,So)=>{const{key:wo,...wn}=Re({index:So});return m.jsx(vs,{label:Cn(ze),size:Te,...wn,...Co.slotProps.chip},wo)})):Q&&vt!=null&&(Pe=Q(vt,Re,pt)),X>-1&&Array.isArray(Pe)){const ze=Pe.length-X;!mt&&ze>0&&(Pe=Pe.splice(0,X),Pe.push(m.jsx("span",{className:gt.tag,children:g(ze)},Pe.length)))}const st=re||(ze=>m.jsxs("li",{children:[m.jsx(c0,{className:gt.groupLabel,ownerState:pt,component:"div",children:ze.group}),m.jsx(u0,{className:gt.groupUl,ownerState:pt,children:ze.children})]},ze.key)),Ko=Ie||((ze,So)=>{const{key:wo,...wn}=ze;return m.jsx("li",{...wn,children:Cn(So)},wo)}),Ms=(ze,So)=>{const wo=Ze({option:ze,index:So});return Ko({...wo,className:gt.option},ze,{selected:wo["aria-selected"],index:So,inputValue:Ia},pt)},As=Co.slotProps.clearIndicator,Ls=Co.slotProps.popupIndicator;return m.jsxs(x.Fragment,{children:[m.jsx(e0,{ref:n,className:Z(gt.root,d),ownerState:pt,...De(Ue),children:Le({id:Nt,disabled:w,fullWidth:!0,size:Te==="small"?"small":void 0,InputLabelProps:It(),InputProps:{ref:dr,className:gt.inputRoot,startAdornment:Pe,onMouseDown:ze=>{ze.target===ze.currentTarget&&ja(ze)},...(Go||xn)&&{endAdornment:m.jsxs(t0,{className:gt.endAdornment,ownerState:pt,children:[Go?m.jsx(o0,{...ft(),"aria-label":v,title:v,ownerState:pt,...As,className:Z(gt.clearIndicator,As?.className),children:u}):null,xn?m.jsx(n0,{...jt(),disabled:w,"aria-label":Et?b:Oe,title:Et?b:Oe,ownerState:pt,...Ls,className:Z(gt.popupIndicator,Ls?.className),children:we}):null]})}},inputProps:{className:gt.input,disabled:w,readOnly:ye,...Je()}})}),No?m.jsx(r0,{as:V,...de,children:m.jsxs(a0,{as:pr,...q,children:[K&&qo.length===0?m.jsx(i0,{className:gt.loading,ownerState:pt,children:z}):null,qo.length===0&&!M&&!K?m.jsx(s0,{className:gt.noOptions,ownerState:pt,role:"presentation",onMouseDown:ze=>{ze.preventDefault()},children:ce}):null,qo.length>0?m.jsx(La,{as:ee,...Sn,children:qo.map((ze,So)=>W?st({key:ze.key,group:ze.group,children:ze.options.map((wo,wn)=>Ms(wo,ze.index+wn))}):Ms(ze,So))}):null]})}):null]})});process.env.NODE_ENV!=="production"&&(Ju.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:St(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(`
|
|
313
|
-
`)):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:
|
|
314
|
-
`)):null)});const d0=e=>{const{classes:o,disableUnderline:n}=e,a=he({root:["root",!n&&"underline"],input:["input"]},Yv,o);return{...o,...a}},p0=L(va,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[...ha(e,o),!n.disableUnderline&&o.underline]}})(pe(({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"},[`&.${Oo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Oo.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(.${Oo.disabled}, .${Oo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Oo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ve()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),f0=L(xa,{name:"MuiInput",slot:"Input",overridesResolver:ya})({}),Sa=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiInput"}),{disableUnderline:a=!1,components:i={},componentsProps:s,fullWidth:l=!1,inputComponent:c="input",multiline:d=!1,slotProps:u,slots:f={},type:h="text",...v}=r,b=d0(r),y={root:{ownerState:{disableUnderline:a}}},C=u??s?ht(u??s,y):y,O=f.root??i.Root??p0,w=f.input??i.Input??f0;return m.jsx(Ca,{slots:{root:O,input:w},slotProps:C,fullWidth:l,inputComponent:c,multiline:d,ref:n,type:h,...v,classes:b})});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}),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:Ot,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});Sa.muiName="Input";const m0=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${D(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},d=he(c,Jv,o);return{...o,...d}},g0=L(va,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[...ha(e,o),!n.disableUnderline&&o.underline]}})(pe(({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}},[`&.${At.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${At.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"},[`&.${At.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${At.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(.${At.disabled}, .${At.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${At.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ve()).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}}]}})),b0=L(xa,{name:"MuiFilledInput",slot:"Input",overridesResolver:ya})(pe(({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}}]}))),wa=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFilledInput"}),{disableUnderline:a=!1,components:i={},componentsProps:s,fullWidth:l=!1,hiddenLabel:c,inputComponent:d="input",multiline:u=!1,slotProps:f,slots:h={},type:v="text",...b}=r,p={...r,disableUnderline:a,fullWidth:l,inputComponent:d,multiline:u,type:v},y=m0(r),C={root:{ownerState:p},input:{ownerState:p}},O=f??s?ht(C,f??s):C,w=h.root??i.Root??g0,S=h.input??i.Input??b0;return m.jsx(Ca,{slots:{root:w,input:S},slotProps:O,fullWidth:l,inputComponent:d,multiline:u,ref:n,type:v,...b,classes:y})});process.env.NODE_ENV!=="production"&&(wa.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:Ot,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});wa.muiName="Input";var tc;const h0=L("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:yt})({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%"}),y0=L("legend",{name:"MuiNotchedOutlined",shouldForwardProp:yt})(pe(({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 Zu(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 m.jsx(h0,{"aria-hidden":!0,className:r,ownerState:c,...s,children:m.jsx(y0,{ownerState:c,children:l?m.jsx("span",{children:a}):tc||(tc=m.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}process.env.NODE_ENV!=="production"&&(Zu.propTypes={children:t.node,classes:t.object,className:t.string,label:t.node,notched:t.bool.isRequired,style:t.object});const v0=e=>{const{classes:o}=e,r=he({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Xv,o);return{...o,...r}},x0=L(va,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ha})(pe(({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 .${Ft.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ft.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):o}},[`&.${Ft.focused} .${Ft.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ve()).map(([n])=>({props:{color:n},style:{[`&.${Ft.focused} .${Ft.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${Ft.error} .${Ft.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ft.disabled} .${Ft.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"}}]}})),C0=L(Zu,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(pe(({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}})),S0=L(xa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ya})(pe(({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}}]}))),Ta=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiOutlinedInput"}),{components:a={},fullWidth:i=!1,inputComponent:s="input",label:l,multiline:c=!1,notched:d,slots:u={},slotProps:f={},type:h="text",...v}=r,b=v0(r),p=Zt(),y=jo({props:r,muiFormControl:p,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C={...r,color:y.color||"primary",disabled:y.disabled,error:y.error,focused:y.focused,formControl:p,fullWidth:i,hiddenLabel:y.hiddenLabel,multiline:c,size:y.size,type:h},O=u.root??a.Root??x0,w=u.input??a.Input??S0,[S,T]=fe("notchedOutline",{elementType:C0,className:b.notchedOutline,shouldForwardComponentProp:!0,ownerState:C,externalForwardedProps:{slots:u,slotProps:f},additionalProps:{label:l!=null&&l!==""&&y.required?m.jsxs(x.Fragment,{children:[l," ","*"]}):l}});return m.jsx(Ca,{slots:{root:O,input:w},slotProps:f,renderSuffix:E=>m.jsx(S,{...T,notched:typeof d<"u"?d:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:i,inputComponent:s,multiline:c,ref:n,type:h,...v,classes:{...b,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(Ta.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:Ot,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});Ta.muiName="Input";function w0(e){return me("MuiFormLabel",e)}const _n=ge("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),T0=e=>{const{classes:o,color:n,focused:r,disabled:a,error:i,filled:s,required:l}=e,c={root:["root",`color${D(n)}`,a&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return he(c,w0,o)},O0=L("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color==="secondary"&&o.colorSecondary,n.filled&&o.filled]}})(pe(({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(Ve()).map(([o])=>({props:{color:o},style:{[`&.${_n.focused}`]:{color:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${_n.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${_n.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),E0=L("span",{name:"MuiFormLabel",slot:"Asterisk"})(pe(({theme:e})=>({[`&.${_n.error}`]:{color:(e.vars||e).palette.error.main}}))),xs=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormLabel"}),{children:a,className:i,color:s,component:l="label",disabled:c,error:d,filled:u,focused:f,required:h,...v}=r,b=Zt(),p=jo({props:r,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),y={...r,color:p.color||"primary",component:l,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},C=T0(y);return m.jsxs(O0,{as:l,ownerState:y,className:Z(C.root,i),ref:n,...v,children:[a,p.required&&m.jsxs(E0,{ownerState:y,"aria-hidden":!0,className:C.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(xs.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 P0(e){return me("MuiInputLabel",e)}ge("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const k0=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${D(r)}`,s],asterisk:[l&&"asterisk"]},d=he(c,P0,o);return{...o,...d}},R0=L(xs,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${_n.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]]}})(pe(({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)"}}]}))),Cs=x.forwardRef(function(o,n){const r=ve({name:"MuiInputLabel",props:o}),{disableAnimation:a=!1,margin:i,shrink:s,variant:l,className:c,...d}=r,u=Zt();let f=s;typeof f>"u"&&u&&(f=u.filled||u.focused||u.adornedStart);const h=jo({props:r,muiFormControl:u,states:["size","variant","required","focused"]}),v={...r,disableAnimation:a,formControl:u,shrink:f,size:h.size,variant:h.variant,required:h.required,focused:h.focused},b=k0(v);return m.jsx(R0,{"data-shrink":f,ref:n,className:Z(b.root,c),...d,ownerState:v,classes:b})});process.env.NODE_ENV!=="production"&&(Cs.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 $0(e){return me("MuiFormControl",e)}ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const I0=e=>{const{classes:o,margin:n,fullWidth:r}=e,a={root:["root",n!=="none"&&`margin${D(n)}`,r&&"fullWidth"]};return he(a,$0,o)},j0=L("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`margin${D(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%"}}]}),Oa=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormControl"}),{children:a,className:i,color:s="primary",component:l="div",disabled:c=!1,error:d=!1,focused:u,fullWidth:f=!1,hiddenLabel:h=!1,margin:v="none",required:b=!1,size:p="medium",variant:y="outlined",...C}=r,O={...r,color:s,component:l,disabled:c,error:d,fullWidth:f,hiddenLabel:h,margin:v,required:b,size:p,variant:y},w=I0(O),[S,T]=x.useState(()=>{let k=!1;return a&&x.Children.forEach(a,W=>{if(!Fn(W,["Input","Select"]))return;const G=Fn(W,["Select"])?W.props.input:W;G&&qv(G.props)&&(k=!0)}),k}),[E,R]=x.useState(()=>{let k=!1;return a&&x.Children.forEach(a,W=>{Fn(W,["Input","Select"])&&(Vr(W.props,!0)||Vr(W.props.inputProps,!0))&&(k=!0)}),k}),[I,N]=x.useState(!1);c&&I&&N(!1);const M=u!==void 0&&!c?u:I;let F;const g=x.useRef(!1);process.env.NODE_ENV!=="production"&&(F=()=>(g.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
315
|
-
`)),
|
|
316
|
-
`)),w.props.disabled||(f==="selectedMenu"&&w.props.selected||
|
|
317
|
-
`)),b.current.setAttribute("tabIndex","-1")),v.current&&b.current.focus()),()=>{a||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}},[l]),x.useEffect(()=>{if(!l||!b.current)return;const w=dt(b.current),S=An(w),T=I=>{y.current=I,!(r||!s()||I.key!=="Tab")&&S===b.current&&I.shiftKey&&(c.current=!0,u.current&&u.current.focus())},E=()=>{const I=b.current;if(I===null)return;const N=An(w);if(!w.hasFocus()||!s()||c.current){c.current=!1;return}if(I.contains(N)||r&&N!==d.current&&N!==u.current)return;if(N!==h.current)h.current=null;else if(h.current!==null)return;if(!v.current)return;let M=[];if((N===d.current||N===u.current)&&(M=i(b.current)),M.length>0){const F=!!(y.current?.shiftKey&&y.current?.key==="Tab"),g=M[0],$=M[M.length-1];typeof g!="string"&&typeof $!="string"&&(F?$.focus():g.focus())}else I.focus()};w.addEventListener("focusin",E),w.addEventListener("keydown",T,!0);const R=setInterval(()=>{const I=An(w);I&&I.tagName==="BODY"&&E()},50);return()=>{clearInterval(R),w.removeEventListener("focusin",E),w.removeEventListener("keydown",T,!0)}},[n,r,a,s,l,i]);const C=w=>{f.current===null&&(f.current=w.relatedTarget),v.current=!0,h.current=w.target;const S=o.props.onFocus;S&&S(w)},O=w=>{f.current===null&&(f.current=w.relatedTarget),v.current=!0};return m.jsxs(x.Fragment,{children:[m.jsx("div",{tabIndex:l?0:-1,onFocus:O,ref:d,"data-testid":"sentinelStart"}),x.cloneElement(o,{ref:p,onFocus:C}),m.jsx("div",{tabIndex:l?0:-1,onFocus:O,ref:u,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(_r.propTypes={children:yn,disableAutoFocus:t.bool,disableEnforceFocus:t.bool,disableRestoreFocus:t.bool,getTabbable:t.func,isEnabled:t.func,open:t.bool.isRequired});process.env.NODE_ENV!=="production"&&(_r.propTypes=Yi(_r.propTypes));const X0={entering:{opacity:1},entered:{opacity:1}},Wr=x.forwardRef(function(o,n){const r=xo(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:c,in:d,onEnter:u,onEntered:f,onEntering:h,onExit:v,onExited:b,onExiting:p,style:y,timeout:C=a,TransitionComponent:O=Jt,...w}=o,S=x.useRef(null),T=et(S,vn(l),n),E=P=>j=>{if(P){const k=S.current;j===void 0?P(k):P(k,j)}},R=E(h),I=E((P,j)=>{Ru(P);const k=pn({style:y,timeout:C,easing:c},{mode:"enter"});P.style.webkitTransition=r.transitions.create("opacity",k),P.style.transition=r.transitions.create("opacity",k),u&&u(P,j)}),N=E(f),M=E(p),F=E(P=>{const j=pn({style:y,timeout:C,easing:c},{mode:"exit"});P.style.webkitTransition=r.transitions.create("opacity",j),P.style.transition=r.transitions.create("opacity",j),v&&v(P)}),g=E(b),$=P=>{i&&i(S.current,P)};return m.jsx(O,{appear:s,in:d,nodeRef:S,onEnter:I,onEntered:N,onEntering:R,onExit:F,onExited:g,onExiting:M,addEndListener:$,timeout:C,...w,children:(P,{ownerState:j,...k})=>x.cloneElement(l,{style:{opacity:0,visibility:P==="exited"&&!d?"hidden":void 0,...X0[P],...y,...l.props.style},ref:T,...k})})});process.env.NODE_ENV!=="production"&&(Wr.propTypes={addEndListener:t.func,appear:t.bool,children:yn.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 J0(e){return me("MuiBackdrop",e)}ge("MuiBackdrop",["root","invisible"]);const Z0=e=>{const{classes:o,invisible:n}=e;return he({root:["root",n&&"invisible"]},J0,o)},Q0=L("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"}}]}),Ts=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiBackdrop"}),{children:a,className:i,component:s="div",invisible:l=!1,open:c,components:d={},componentsProps:u={},slotProps:f={},slots:h={},TransitionComponent:v,transitionDuration:b,...p}=r,y={...r,component:s,invisible:l},C=Z0(y),O={transition:v,root:d.Root,...h},w={...u,...f},S={component:s,slots:O,slotProps:w},[T,E]=fe("root",{elementType:Q0,externalForwardedProps:S,className:Z(C.root,i),ownerState:y}),[R,I]=fe("transition",{elementType:Wr,externalForwardedProps:S,ownerState:y});return m.jsx(R,{in:c,timeout:b,...p,...I,children:m.jsx(T,{"aria-hidden":!0,...E,classes:C,ref:n,children:a})})});process.env.NODE_ENV!=="production"&&(Ts.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 ex(e){return typeof e=="function"?e():e}function tx(e){return e?e.props.hasOwnProperty("in"):!1}const sc=()=>{},xr=new W0;function ox(e){const{container:o,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:d,rootRef:u}=e,f=x.useRef({}),h=x.useRef(null),v=x.useRef(null),b=et(v,u),[p,y]=x.useState(!d),C=tx(l);let O=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(O=!1);const w=()=>dt(h.current),S=()=>(f.current.modalRef=v.current,f.current.mount=h.current,f.current),T=()=>{xr.mount(S(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},E=Ct(()=>{const j=ex(o)||w().body;xr.add(S(),j),v.current&&T()}),R=()=>xr.isTopModal(S()),I=Ct(j=>{h.current=j,j&&(d&&R()?T():v.current&&Wn(v.current,O))}),N=x.useCallback(()=>{xr.remove(S(),O)},[O]);x.useEffect(()=>()=>{N()},[N]),x.useEffect(()=>{d?E():(!C||!a)&&N()},[d,N,C,a,E]);const M=j=>k=>{j.onKeyDown?.(k),!(k.key!=="Escape"||k.which===229||!R())&&(n||(k.stopPropagation(),c&&c(k,"escapeKeyDown")))},F=j=>k=>{j.onClick?.(k),k.target===k.currentTarget&&c&&c(k,"backdropClick")};return{getRootProps:(j={})=>{const k=Vo(e);delete k.onTransitionEnter,delete k.onTransitionExited;const W={...k,...j};return{role:"presentation",...W,onKeyDown:M(W),ref:b}},getBackdropProps:(j={})=>{const k=j;return{"aria-hidden":!0,...k,onClick:F(k),open:d}},getTransitionProps:()=>{const j=()=>{y(!1),i&&i()},k=()=>{y(!0),s&&s(),a&&N()};return{onEnter:si(j,l?.props.onEnter??sc),onExited:si(k,l?.props.onExited??sc)}},rootRef:b,portalRef:I,isTopModal:R,exited:p,hasTransition:C}}function nx(e){return me("MuiModal",e)}ge("MuiModal",["root","hidden","backdrop"]);const rx=e=>{const{open:o,exited:n,classes:r}=e;return he({root:["root",!o&&n&&"hidden"],backdrop:["backdrop"]},nx,r)},ax=L("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.open&&n.exited&&o.hidden]}})(pe(({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"}}]}))),ix=L(Ts,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),Os=x.forwardRef(function(o,n){const r=ve({name:"MuiModal",props:o}),{BackdropComponent:a=ix,BackdropProps:i,classes:s,className:l,closeAfterTransition:c=!1,children:d,container:u,component:f,components:h={},componentsProps:v={},disableAutoFocus:b=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:y=!1,disablePortal:C=!1,disableRestoreFocus:O=!1,disableScrollLock:w=!1,hideBackdrop:S=!1,keepMounted:T=!1,onClose:E,onTransitionEnter:R,onTransitionExited:I,open:N,slotProps:M={},slots:F={},theme:g,...$}=r,P={...r,closeAfterTransition:c,disableAutoFocus:b,disableEnforceFocus:p,disableEscapeKeyDown:y,disablePortal:C,disableRestoreFocus:O,disableScrollLock:w,hideBackdrop:S,keepMounted:T},{getRootProps:j,getBackdropProps:k,getTransitionProps:W,portalRef:G,isTopModal:H,exited:B,hasTransition:A}=ox({...P,rootRef:n}),X={...P,exited:B},ee=rx(X),ie={};if(d.props.tabIndex===void 0&&(ie.tabIndex="-1"),A){const{onEnter:Y,onExited:le}=W();ie.onEnter=Y,ie.onExited=le}const K={slots:{root:h.Root,backdrop:h.Backdrop,...F},slotProps:{...v,...M}},[z,oe]=fe("root",{ref:n,elementType:ax,externalForwardedProps:{...K,...$,component:f},getSlotProps:j,ownerState:X,className:Z(l,ee?.root,!X.open&&X.exited&&ee?.hidden)}),[ce,J]=fe("backdrop",{ref:i?.ref,elementType:a,externalForwardedProps:K,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:Y=>k({...Y,onClick:le=>{Y?.onClick&&Y.onClick(le)}}),className:Z(i?.className,ee?.backdrop),ownerState:X});return!T&&!N&&(!A||B)?null:m.jsx(Zn,{ref:G,container:u,disablePortal:C,children:m.jsxs(z,{...oe,children:[!S&&a?m.jsx(ce,{...J}):null,m.jsx(_r,{disableEnforceFocus:p,disableAutoFocus:b,disableRestoreFocus:O,isEnabled:H,open:N,children:x.cloneElement(d,ie)})]})})});process.env.NODE_ENV!=="production"&&(Os.propTypes={BackdropComponent:t.elementType,BackdropProps:t.object,children:yn.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([ho,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 sx(e){return me("MuiPopover",e)}ge("MuiPopover",["root","paper"]);function lc(e,o){let n=0;return typeof o=="number"?n=o:o==="center"?n=e.height/2:o==="bottom"&&(n=e.height),n}function cc(e,o){let n=0;return typeof o=="number"?n=o:o==="center"?n=e.width/2:o==="right"&&(n=e.width),n}function uc(e){return[e.horizontal,e.vertical].map(o=>typeof o=="number"?`${o}px`:o).join(" ")}function Ln(e){return typeof e=="function"?e():e}const lx=e=>{const{classes:o}=e;return he({root:["root"],paper:["paper"]},sx,o)},cx=L(Os,{name:"MuiPopover",slot:"Root"})({}),od=L(uo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),nd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiPopover"}),{action:a,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:d,className:u,container:f,elevation:h=8,marginThreshold:v=16,open:b,PaperProps:p={},slots:y={},slotProps:C={},transformOrigin:O={vertical:"top",horizontal:"left"},TransitionComponent:w,transitionDuration:S="auto",TransitionProps:T={},disableScrollLock:E=!1,...R}=r,I=x.useRef(),N={...r,anchorOrigin:s,anchorReference:c,elevation:h,marginThreshold:v,transformOrigin:O,TransitionComponent:w,transitionDuration:S,TransitionProps:T},M=lx(N),F=x.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 Y=Ln(i),le=Y&&Y.nodeType===1?Y:dt(I.current).body,U=le.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const ae=le.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ae.top===0&&ae.left===0&&ae.right===0&&ae.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(`
|
|
318
|
-
`))}return{top:U.top+
|
|
319
|
-
`)),
|
|
303
|
+
)`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:Wy||{"&::after":{animation:`${js} 2s linear 0.5s infinite`}}}]}})),td=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSkeleton"}),{animation:a="pulse",className:s,component:i="span",height:l,style:c,variant:u="text",width:d,...f}=r,b={...r,animation:a,component:i,variant:u,hasChildren:!!f.children},y=Vy(b);return g.jsx(Uy,{as:i,ref:n,className:Z(y.root,s),ownerState:b,...f,style:{width:d,height:l,...c}})});process.env.NODE_ENV!=="production"&&(td.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 od=({variante:e="text",ancho:o,alto:n,animacion:r="pulse",...a})=>g.jsx(td,{variant:e,width:o,height:n,animation:r,...a}),Hy=od;function Fl({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 zl(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function qy(e={}){const{ignoreAccents:o=!0,ignoreCase:n=!0,limit:r,matchFrom:a="any",stringify:s,trim:i=!1}=e;return(l,{inputValue:c,getOptionLabel:u})=>{let d=i?c.trim():c;n&&(d=d.toLowerCase()),o&&(d=zl(d));const f=d?l.filter(b=>{let y=(s||u)(b);return n&&(y=y.toLowerCase()),o&&(y=zl(y)),a==="start"?y.startsWith(d):y.includes(d)}):l;return typeof r=="number"?f.slice(0,r):f}}const Gy=qy(),Vl=5,Ky=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),Yy=[];function _l(e,o,n,r){if(o||e==null||r)return"";const a=n(e);return typeof a=="string"?a:""}function Xy(e){const{unstable_isActiveElementInListbox:o=Ky,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:a=!1,autoSelect:s=!1,blurOnSelect:i=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=e.multiple?Yy:null,disableClearable:f=!1,disableCloseOnSelect:b=!1,disabled:y,disabledItemsFocusable:h=!1,disableListWrap:p=!1,filterOptions:v=Gy,filterSelectedOptions:x=!1,freeSolo:O=!1,getOptionDisabled:w,getOptionKey:S,getOptionLabel:T=q=>q.label??q,groupBy:E,handleHomeEndKeys:k=!e.freeSolo,id:$,includeInputInList:N=!1,inputValue:M,isOptionEqualToValue:D=(q,V)=>q===V,multiple:m=!1,onChange:I,onClose:P,onHighlightChange:j,onInputChange:R,onOpen:W,open:G,openOnFocus:H=!1,options:F,readOnly:A=!1,renderValue:X,selectOnFocus:ee=!e.freeSolo,value:se}=e,K=vo($);let z=T;z=q=>{const V=T(q);if(typeof V!="string"){if(process.env.NODE_ENV!=="production"){const de=V===void 0?"undefined":`${typeof V} (${V})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${de} instead of a string for ${JSON.stringify(q)}.`)}return String(V)}return V};const oe=C.useRef(!1),ce=C.useRef(!0),J=C.useRef(null),Y=C.useRef(null),[le,U]=C.useState(null),[ae,ie]=C.useState(-1),ue=a?0:-1,Oe=C.useRef(ue),Ee=C.useRef(_l(d??se,m,z)).current,[ne,Be]=mo({controlled:se,default:d,name:u}),[we,ye]=mo({controlled:M,default:Ee,name:u,state:"inputValue"}),[re,Le]=C.useState(!1),Ie=C.useCallback((q,V,de)=>{if(!(m?ne.length<V.length:V!==null)&&!l)return;const Re=_l(V,m,z,X);we!==Re&&(ye(Re),R&&R(q,Re,de))},[z,we,m,R,ye,l,ne,X]),[te,Q]=mo({controlled:G,default:!1,name:u,state:"open"}),[xe,Te]=C.useState(!0),ke=!m&&ne!=null&&we===z(ne),Se=te&&!A,he=Se?v(F.filter(q=>!(x&&(m?ne:[ne]).some(V=>V!==null&&D(q,V)))),{inputValue:ke&&xe?"":we,getOptionLabel:z}):[],Ue=ai({filteredOptions:he,value:ne,inputValue:we});C.useEffect(()=>{const q=ne!==Ue.value;re&&!q||O&&!q||Ie(null,ne,"reset")},[ne,Ie,re,Ue.value,O]);const De=te&&he.length>0&&!A,Je=Ct(q=>{if(q===-1)J.current.focus();else{const V=X?"data-item-index":"data-tag-index";le.querySelector(`[${V}="${q}"]`).focus()}});C.useEffect(()=>{m&&ae>ne.length-1&&(ie(-1),Je(-1))},[ne,m,ae,Je]);function It(q,V){if(!Y.current||q<0||q>=he.length)return-1;let de=q;for(;;){const Pe=Y.current.querySelector(`[data-option-index="${de}"]`),Re=h?!1:!Pe||Pe.disabled||Pe.getAttribute("aria-disabled")==="true";if(Pe&&Pe.hasAttribute("tabindex")&&!Re)return de;if(V==="next"?de=(de+1)%he.length:de=(de-1+he.length)%he.length,de===q)return-1}}const jt=Ct(({event:q,index:V,reason:de})=>{if(Oe.current=V,V===-1?J.current.removeAttribute("aria-activedescendant"):J.current.setAttribute("aria-activedescendant",`${K}-option-${V}`),j&&["mouse","keyboard","touch"].includes(de)&&j(q,V===-1?null:he[V],de),!Y.current)return;const Pe=Y.current.querySelector(`[role="option"].${n}-focused`);Pe&&(Pe.classList.remove(`${n}-focused`),Pe.classList.remove(`${n}-focusVisible`));let Re=Y.current;if(Y.current.getAttribute("role")!=="listbox"&&(Re=Y.current.parentElement.querySelector('[role="listbox"]')),!Re)return;if(V===-1){Re.scrollTop=0;return}const tt=Y.current.querySelector(`[data-option-index="${V}"]`);if(tt&&(tt.classList.add(`${n}-focused`),de==="keyboard"&&tt.classList.add(`${n}-focusVisible`),Re.scrollHeight>Re.clientHeight&&de!=="mouse"&&de!=="touch")){const it=tt,Pt=Re.clientHeight+Re.scrollTop,Ko=it.offsetTop+it.offsetHeight;Ko>Pt?Re.scrollTop=Ko-Re.clientHeight:it.offsetTop-it.offsetHeight*(E?1.3:0)<Re.scrollTop&&(Re.scrollTop=it.offsetTop-it.offsetHeight*(E?1.3:0))}}),ft=Ct(({event:q,diff:V,direction:de="next",reason:Pe})=>{if(!Se)return;const tt=It((()=>{const it=he.length-1;if(V==="reset")return ue;if(V==="start")return 0;if(V==="end")return it;const Pt=Oe.current+V;return Pt<0?Pt===-1&&N?-1:p&&Oe.current!==-1||Math.abs(V)>1?0:it:Pt>it?Pt===it+1&&N?-1:p||Math.abs(V)>1?it:0:Pt})(),de);if(jt({index:tt,reason:Pe,event:q}),r&&V!=="reset")if(tt===-1)J.current.value=we;else{const it=z(he[tt]);J.current.value=it,it.toLowerCase().indexOf(we.toLowerCase())===0&&we.length>0&&J.current.setSelectionRange(we.length,it.length)}}),Ce=!Fl({array1:Ue.filteredOptions,array2:he,parser:z}),je=()=>{const q=(V,de)=>{const Pe=V?z(V):"",Re=de?z(de):"";return Pe===Re};if(Oe.current!==-1&&!Fl({array1:Ue.filteredOptions,array2:he,parser:z})&&Ue.inputValue===we&&(m?ne.length===Ue.value.length&&Ue.value.every((V,de)=>z(ne[de])===z(V)):q(Ue.value,ne))){const V=Ue.filteredOptions[Oe.current];if(V)return he.findIndex(de=>z(de)===z(V))}return-1},Ze=C.useCallback(()=>{if(!Se)return;const q=je();if(q!==-1){Oe.current=q;return}const V=m?ne[0]:ne;if(he.length===0||V==null){ft({diff:"reset"});return}if(Y.current){if(V!=null){const de=he[Oe.current];if(m&&de&&ne.findIndex(Re=>D(de,Re))!==-1)return;const Pe=he.findIndex(Re=>D(Re,V));Pe===-1?ft({diff:"reset"}):jt({index:Pe});return}if(Oe.current>=he.length-1){jt({index:he.length-1});return}jt({index:Oe.current})}},[he.length,m?!1:ne,ft,jt,Se,we,m]),vt=Ct(q=>{ys(Y,q),q&&Ze()});process.env.NODE_ENV!=="production"&&C.useEffect(()=>{(!J.current||J.current.nodeName!=="INPUT")&&(J.current&&J.current.nodeName==="TEXTAREA"?console.warn([`A textarea element was provided to ${u} 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(`
|
|
304
|
+
`)):console.error([`MUI: Unable to find the input element. It was resolved to ${J.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"",u==="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(`
|
|
305
|
+
`)))},[u]),C.useEffect(()=>{(Ce||Se)&&Ze()},[Ze,Ce,Se]);const Fe=q=>{te||(Q(!0),Te(!0),W&&W(q))},Qe=(q,V)=>{te&&(Q(!1),P&&P(q,V))},Nt=(q,V,de,Pe)=>{if(m){if(ne.length===V.length&&ne.every((Re,tt)=>Re===V[tt]))return}else if(ne===V)return;I&&I(q,V,de,Pe),Be(V)},Et=C.useRef(!1),mt=(q,V,de="selectOption",Pe="options")=>{let Re=de,tt=V;if(m){if(tt=Array.isArray(ne)?ne.slice():[],process.env.NODE_ENV!=="production"){const Pt=tt.filter(Ko=>D(V,Ko));Pt.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${Pt.length} matches.`].join(`
|
|
306
|
+
`))}const it=tt.findIndex(Pt=>D(V,Pt));it===-1?tt.push(V):Pe!=="freeSolo"&&(tt.splice(it,1),Re="removeOption")}Ie(q,tt,Re),Nt(q,tt,Re,{option:V}),!b&&(!q||!q.ctrlKey&&!q.metaKey)&&Qe(q,Re),(i===!0||i==="touch"&&Et.current||i==="mouse"&&!Et.current)&&J.current.blur()};function $a(q,V){if(q===-1)return-1;let de=q;for(;;){if(V==="next"&&de===ne.length||V==="previous"&&de===-1)return-1;const Pe=X?"data-item-index":"data-tag-index",Re=le.querySelector(`[${Pe}="${de}"]`);if(!Re||!Re.hasAttribute("tabindex")||Re.disabled||Re.getAttribute("aria-disabled")==="true")de+=V==="next"?1:-1;else return de}}const No=(q,V)=>{if(!m)return;we===""&&Qe(q,"toggleInput");let de=ae;ae===-1?we===""&&V==="previous"&&(de=ne.length-1):(de+=V==="next"?1:-1,de<0&&(de=0),de===ne.length&&(de=-1)),de=$a(de,V),ie(de),Je(de)},dr=q=>{oe.current=!0,ye(""),R&&R(q,"","clear"),Nt(q,m?[]:null,"clear")},Ia=q=>V=>{if(q.onKeyDown&&q.onKeyDown(V),!V.defaultMuiPrevented&&(ae!==-1&&!["ArrowLeft","ArrowRight"].includes(V.key)&&(ie(-1),Je(-1)),V.which!==229))switch(V.key){case"Home":Se&&k&&(V.preventDefault(),ft({diff:"start",direction:"next",reason:"keyboard",event:V}));break;case"End":Se&&k&&(V.preventDefault(),ft({diff:"end",direction:"previous",reason:"keyboard",event:V}));break;case"PageUp":V.preventDefault(),ft({diff:-Vl,direction:"previous",reason:"keyboard",event:V}),Fe(V);break;case"PageDown":V.preventDefault(),ft({diff:Vl,direction:"next",reason:"keyboard",event:V}),Fe(V);break;case"ArrowDown":V.preventDefault(),ft({diff:1,direction:"next",reason:"keyboard",event:V}),Fe(V);break;case"ArrowUp":V.preventDefault(),ft({diff:-1,direction:"previous",reason:"keyboard",event:V}),Fe(V);break;case"ArrowLeft":!m&&X&&ne!=null?(ie(0),Je(0)):No(V,"previous");break;case"ArrowRight":!m&&X?(ie(-1),Je(-1)):No(V,"next");break;case"Enter":if(Oe.current!==-1&&Se){const de=he[Oe.current],Pe=w?w(de):!1;if(V.preventDefault(),Pe)return;mt(V,de,"selectOption"),r&&J.current.setSelectionRange(J.current.value.length,J.current.value.length)}else O&&we!==""&&ke===!1&&(m&&V.preventDefault(),mt(V,we,"createOption","freeSolo"));break;case"Escape":Se?(V.preventDefault(),V.stopPropagation(),Qe(V,"escape")):c&&(we!==""||m&&ne.length>0||X)&&(V.preventDefault(),V.stopPropagation(),dr(V));break;case"Backspace":if(m&&!A&&we===""&&ne.length>0){const de=ae===-1?ne.length-1:ae,Pe=ne.slice();Pe.splice(de,1),Nt(V,Pe,"removeOption",{option:ne[de]})}!m&&X&&!A&&(Be(null),ie(-1),Je(-1));break;case"Delete":if(m&&!A&&we===""&&ne.length>0&&ae!==-1){const de=ae,Pe=ne.slice();Pe.splice(de,1),Nt(V,Pe,"removeOption",{option:ne[de]})}!m&&X&&!A&&(Be(null),ie(-1),Je(-1));break}},qo=q=>{Le(!0),ae!==-1&&(ie(-1),Je(-1)),H&&!oe.current&&Fe(q)},Go=q=>{if(o(Y)){J.current.focus();return}Le(!1),ce.current=!0,oe.current=!1,s&&Oe.current!==-1&&Se?mt(q,he[Oe.current],"blur"):s&&O&&we!==""?mt(q,we,"blur","freeSolo"):l&&Ie(q,ne,"blur"),Qe(q,"blur")},xn=q=>{const V=q.target.value;we!==V&&(ye(V),Te(!1),R&&R(q,V,"input")),V===""?!f&&!m&&Nt(q,null,"clear"):Fe(q)},ja=q=>{const V=Number(q.currentTarget.getAttribute("data-option-index"));Oe.current!==V&&jt({event:q,index:V,reason:"mouse"})},Na=q=>{jt({event:q,index:Number(q.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Et.current=!0},Ma=q=>{const V=Number(q.currentTarget.getAttribute("data-option-index"));mt(q,he[V],"selectOption"),Et.current=!1},Aa=q=>V=>{const de=ne.slice();de.splice(q,1),Nt(V,de,"removeOption",{option:ne[q]})},Cn=q=>{Nt(q,null,"removeOption",{option:ne})},pt=q=>{te?Qe(q,"toggleInput"):Fe(q)},gt=q=>{q.currentTarget.contains(q.target)&&q.target.getAttribute("id")!==K&&q.preventDefault()},Co=q=>{q.currentTarget.contains(q.target)&&(J.current.focus(),ee&&ce.current&&J.current.selectionEnd-J.current.selectionStart===0&&J.current.select(),ce.current=!1)},La=q=>{!y&&(we===""||!te)&&pt(q)};let Sn=O&&we.length>0;Sn=Sn||(m?ne.length>0:ne!==null);let pr=he;if(E){const q=new Map;let V=!1;pr=he.reduce((de,Pe,Re)=>{const tt=E(Pe);return de.length>0&&de[de.length-1].group===tt?de[de.length-1].options.push(Pe):(process.env.NODE_ENV!=="production"&&(q.get(tt)&&!V&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),V=!0),q.set(tt,!0)),de.push({key:Re,index:Re,group:tt,options:[Pe]})),de},[])}return y&&re&&Go(),{getRootProps:(q={})=>({...q,onKeyDown:Ia(q),onMouseDown:gt,onClick:Co}),getInputLabelProps:()=>({id:`${K}-label`,htmlFor:K}),getInputProps:()=>({id:K,value:we,onBlur:Go,onFocus:qo,onChange:xn,onMouseDown:La,"aria-activedescendant":Se?"":null,"aria-autocomplete":r?"both":"list","aria-controls":De?`${K}-listbox`:void 0,"aria-expanded":De,autoComplete:"off",ref:J,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:y}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:dr}),getItemProps:({index:q=0}={})=>({...m&&{key:q},...X?{"data-item-index":q}:{"data-tag-index":q},tabIndex:-1,...!A&&{onDelete:m?Aa(q):Cn}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:pt}),getTagProps:({index:q})=>({key:q,"data-tag-index":q,tabIndex:-1,...!A&&{onDelete:Aa(q)}}),getListboxProps:()=>({role:"listbox",id:`${K}-listbox`,"aria-labelledby":`${K}-label`,ref:vt,onMouseDown:q=>{q.preventDefault()}}),getOptionProps:({index:q,option:V})=>{const de=(m?ne:[ne]).some(Re=>Re!=null&&D(V,Re)),Pe=w?w(V):!1;return{key:S?.(V)??z(V),tabIndex:-1,role:"option",id:`${K}-option-${q}`,onMouseMove:ja,onClick:Ma,onTouchStart:Na,"data-option-index":q,"aria-disabled":Pe,"aria-selected":de}},id:K,inputValue:we,value:ne,dirty:Sn,expanded:Se&&le,popupOpen:Se,focused:re||ae!==-1,anchorEl:le,setAnchorEl:U,focusedItem:ae,focusedTag:ae,groupedOptions:pr}}function bo(e,o,n,r,a){if(process.env.NODE_ENV==="production")return null;const s=e[o],i=a||o;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}var kt="top",qt="bottom",Gt="right",Rt="left",mi="auto",lr=[kt,qt,Gt,Rt],fn="start",Xn="end",Jy="clippingParents",nd="viewport",Pn="popper",Zy="reference",Wl=lr.reduce(function(e,o){return e.concat([o+"-"+fn,o+"-"+Xn])},[]),rd=[].concat(lr,[mi]).reduce(function(e,o){return e.concat([o,o+"-"+fn,o+"-"+Xn])},[]),Qy="beforeRead",ev="read",tv="afterRead",ov="beforeMain",nv="main",rv="afterMain",av="beforeWrite",sv="write",iv="afterWrite",lv=[Qy,ev,tv,ov,nv,rv,av,sv,iv];function lo(e){return e?(e.nodeName||"").toLowerCase():null}function Bt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var o=e.ownerDocument;return o&&o.defaultView||window}return e}function Ho(e){var o=Bt(e).Element;return e instanceof o||e instanceof Element}function Wt(e){var o=Bt(e).HTMLElement;return e instanceof o||e instanceof HTMLElement}function gi(e){if(typeof ShadowRoot>"u")return!1;var o=Bt(e).ShadowRoot;return e instanceof o||e instanceof ShadowRoot}function cv(e){var o=e.state;Object.keys(o.elements).forEach(function(n){var r=o.styles[n]||{},a=o.attributes[n]||{},s=o.elements[n];!Wt(s)||!lo(s)||(Object.assign(s.style,r),Object.keys(a).forEach(function(i){var l=a[i];l===!1?s.removeAttribute(i):s.setAttribute(i,l===!0?"":l)}))})}function uv(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],s=o.attributes[r]||{},i=Object.keys(o.styles.hasOwnProperty(r)?o.styles[r]:n[r]),l=i.reduce(function(c,u){return c[u]="",c},{});!Wt(a)||!lo(a)||(Object.assign(a.style,l),Object.keys(s).forEach(function(c){a.removeAttribute(c)}))})}}const dv={name:"applyStyles",enabled:!0,phase:"write",fn:cv,effect:uv,requires:["computeStyles"]};function so(e){return e.split("-")[0]}var _o=Math.max,Fr=Math.min,mn=Math.round;function Ns(){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 ad(){return!/^((?!chrome|android).)*safari/i.test(Ns())}function gn(e,o,n){o===void 0&&(o=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),a=1,s=1;o&&Wt(e)&&(a=e.offsetWidth>0&&mn(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&mn(r.height)/e.offsetHeight||1);var i=Ho(e)?Bt(e):window,l=i.visualViewport,c=!ad()&&n,u=(r.left+(c&&l?l.offsetLeft:0))/a,d=(r.top+(c&&l?l.offsetTop:0))/s,f=r.width/a,b=r.height/s;return{width:f,height:b,top:d,right:u+f,bottom:d+b,left:u,x:u,y:d}}function hi(e){var o=gn(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 sd(e,o){var n=o.getRootNode&&o.getRootNode();if(e.contains(o))return!0;if(n&&gi(n)){var r=o;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function yo(e){return Bt(e).getComputedStyle(e)}function pv(e){return["table","td","th"].indexOf(lo(e))>=0}function Io(e){return((Ho(e)?e.ownerDocument:e.document)||window.document).documentElement}function ga(e){return lo(e)==="html"?e:e.assignedSlot||e.parentNode||(gi(e)?e.host:null)||Io(e)}function Ul(e){return!Wt(e)||yo(e).position==="fixed"?null:e.offsetParent}function fv(e){var o=/firefox/i.test(Ns()),n=/Trident/i.test(Ns());if(n&&Wt(e)){var r=yo(e);if(r.position==="fixed")return null}var a=ga(e);for(gi(a)&&(a=a.host);Wt(a)&&["html","body"].indexOf(lo(a))<0;){var s=yo(a);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||o&&s.willChange==="filter"||o&&s.filter&&s.filter!=="none")return a;a=a.parentNode}return null}function cr(e){for(var o=Bt(e),n=Ul(e);n&&pv(n)&&yo(n).position==="static";)n=Ul(n);return n&&(lo(n)==="html"||lo(n)==="body"&&yo(n).position==="static")?o:n||fv(e)||o}function bi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function zn(e,o,n){return _o(e,Fr(o,n))}function mv(e,o,n){var r=zn(e,o,n);return r>n?n:r}function id(){return{top:0,right:0,bottom:0,left:0}}function ld(e){return Object.assign({},id(),e)}function cd(e,o){return o.reduce(function(n,r){return n[r]=e,n},{})}var gv=function(o,n){return o=typeof o=="function"?o(Object.assign({},n.rects,{placement:n.placement})):o,ld(typeof o!="number"?o:cd(o,lr))};function hv(e){var o,n=e.state,r=e.name,a=e.options,s=n.elements.arrow,i=n.modifiersData.popperOffsets,l=so(n.placement),c=bi(l),u=[Rt,Gt].indexOf(l)>=0,d=u?"height":"width";if(!(!s||!i)){var f=gv(a.padding,n),b=hi(s),y=c==="y"?kt:Rt,h=c==="y"?qt:Gt,p=n.rects.reference[d]+n.rects.reference[c]-i[c]-n.rects.popper[d],v=i[c]-n.rects.reference[c],x=cr(s),O=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,w=p/2-v/2,S=f[y],T=O-b[d]-f[h],E=O/2-b[d]/2+w,k=zn(S,E,T),$=c;n.modifiersData[r]=(o={},o[$]=k,o.centerOffset=k-E,o)}}function bv(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)||sd(o.elements.popper,a)&&(o.elements.arrow=a))}const yv={name:"arrow",enabled:!0,phase:"main",fn:hv,effect:bv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hn(e){return e.split("-")[1]}var vv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xv(e,o){var n=e.x,r=e.y,a=o.devicePixelRatio||1;return{x:mn(n*a)/a||0,y:mn(r*a)/a||0}}function Hl(e){var o,n=e.popper,r=e.popperRect,a=e.placement,s=e.variation,i=e.offsets,l=e.position,c=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,f=e.isFixed,b=i.x,y=b===void 0?0:b,h=i.y,p=h===void 0?0:h,v=typeof d=="function"?d({x:y,y:p}):{x:y,y:p};y=v.x,p=v.y;var x=i.hasOwnProperty("x"),O=i.hasOwnProperty("y"),w=Rt,S=kt,T=window;if(u){var E=cr(n),k="clientHeight",$="clientWidth";if(E===Bt(n)&&(E=Io(n),yo(E).position!=="static"&&l==="absolute"&&(k="scrollHeight",$="scrollWidth")),E=E,a===kt||(a===Rt||a===Gt)&&s===Xn){S=qt;var N=f&&E===T&&T.visualViewport?T.visualViewport.height:E[k];p-=N-r.height,p*=c?1:-1}if(a===Rt||(a===kt||a===qt)&&s===Xn){w=Gt;var M=f&&E===T&&T.visualViewport?T.visualViewport.width:E[$];y-=M-r.width,y*=c?1:-1}}var D=Object.assign({position:l},u&&vv),m=d===!0?xv({x:y,y:p},Bt(n)):{x:y,y:p};if(y=m.x,p=m.y,c){var I;return Object.assign({},D,(I={},I[S]=O?"0":"",I[w]=x?"0":"",I.transform=(T.devicePixelRatio||1)<=1?"translate("+y+"px, "+p+"px)":"translate3d("+y+"px, "+p+"px, 0)",I))}return Object.assign({},D,(o={},o[S]=O?p+"px":"",o[w]=x?y+"px":"",o.transform="",o))}function Cv(e){var o=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,s=n.adaptive,i=s===void 0?!0:s,l=n.roundOffsets,c=l===void 0?!0:l,u={placement:so(o.placement),variation:hn(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,Hl(Object.assign({},u,{offsets:o.modifiersData.popperOffsets,position:o.options.strategy,adaptive:i,roundOffsets:c})))),o.modifiersData.arrow!=null&&(o.styles.arrow=Object.assign({},o.styles.arrow,Hl(Object.assign({},u,{offsets:o.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-placement":o.placement})}const Sv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Cv,data:{}};var yr={passive:!0};function wv(e){var o=e.state,n=e.instance,r=e.options,a=r.scroll,s=a===void 0?!0:a,i=r.resize,l=i===void 0?!0:i,c=Bt(o.elements.popper),u=[].concat(o.scrollParents.reference,o.scrollParents.popper);return s&&u.forEach(function(d){d.addEventListener("scroll",n.update,yr)}),l&&c.addEventListener("resize",n.update,yr),function(){s&&u.forEach(function(d){d.removeEventListener("scroll",n.update,yr)}),l&&c.removeEventListener("resize",n.update,yr)}}const Tv={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:wv,data:{}};var Ov={left:"right",right:"left",bottom:"top",top:"bottom"};function Rr(e){return e.replace(/left|right|bottom|top/g,function(o){return Ov[o]})}var Ev={start:"end",end:"start"};function ql(e){return e.replace(/start|end/g,function(o){return Ev[o]})}function yi(e){var o=Bt(e),n=o.pageXOffset,r=o.pageYOffset;return{scrollLeft:n,scrollTop:r}}function vi(e){return gn(Io(e)).left+yi(e).scrollLeft}function Pv(e,o){var n=Bt(e),r=Io(e),a=n.visualViewport,s=r.clientWidth,i=r.clientHeight,l=0,c=0;if(a){s=a.width,i=a.height;var u=ad();(u||!u&&o==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:s,height:i,x:l+vi(e),y:c}}function kv(e){var o,n=Io(e),r=yi(e),a=(o=e.ownerDocument)==null?void 0:o.body,s=_o(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=_o(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+vi(e),c=-r.scrollTop;return yo(a||n).direction==="rtl"&&(l+=_o(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:i,x:l,y:c}}function xi(e){var o=yo(e),n=o.overflow,r=o.overflowX,a=o.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function ud(e){return["html","body","#document"].indexOf(lo(e))>=0?e.ownerDocument.body:Wt(e)&&xi(e)?e:ud(ga(e))}function Vn(e,o){var n;o===void 0&&(o=[]);var r=ud(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),s=Bt(r),i=a?[s].concat(s.visualViewport||[],xi(r)?r:[]):r,l=o.concat(i);return a?l:l.concat(Vn(ga(i)))}function Ms(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Rv(e,o){var n=gn(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 Gl(e,o,n){return o===nd?Ms(Pv(e,n)):Ho(o)?Rv(o,n):Ms(kv(Io(e)))}function $v(e){var o=Vn(ga(e)),n=["absolute","fixed"].indexOf(yo(e).position)>=0,r=n&&Wt(e)?cr(e):e;return Ho(r)?o.filter(function(a){return Ho(a)&&sd(a,r)&&lo(a)!=="body"}):[]}function Iv(e,o,n,r){var a=o==="clippingParents"?$v(e):[].concat(o),s=[].concat(a,[n]),i=s[0],l=s.reduce(function(c,u){var d=Gl(e,u,r);return c.top=_o(d.top,c.top),c.right=Fr(d.right,c.right),c.bottom=Fr(d.bottom,c.bottom),c.left=_o(d.left,c.left),c},Gl(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function dd(e){var o=e.reference,n=e.element,r=e.placement,a=r?so(r):null,s=r?hn(r):null,i=o.x+o.width/2-n.width/2,l=o.y+o.height/2-n.height/2,c;switch(a){case kt:c={x:i,y:o.y-n.height};break;case qt:c={x:i,y:o.y+o.height};break;case Gt:c={x:o.x+o.width,y:l};break;case Rt:c={x:o.x-n.width,y:l};break;default:c={x:o.x,y:o.y}}var u=a?bi(a):null;if(u!=null){var d=u==="y"?"height":"width";switch(s){case fn:c[u]=c[u]-(o[d]/2-n[d]/2);break;case Xn:c[u]=c[u]+(o[d]/2-n[d]/2);break}}return c}function Jn(e,o){o===void 0&&(o={});var n=o,r=n.placement,a=r===void 0?e.placement:r,s=n.strategy,i=s===void 0?e.strategy:s,l=n.boundary,c=l===void 0?Jy:l,u=n.rootBoundary,d=u===void 0?nd:u,f=n.elementContext,b=f===void 0?Pn:f,y=n.altBoundary,h=y===void 0?!1:y,p=n.padding,v=p===void 0?0:p,x=ld(typeof v!="number"?v:cd(v,lr)),O=b===Pn?Zy:Pn,w=e.rects.popper,S=e.elements[h?O:b],T=Iv(Ho(S)?S:S.contextElement||Io(e.elements.popper),c,d,i),E=gn(e.elements.reference),k=dd({reference:E,element:w,placement:a}),$=Ms(Object.assign({},w,k)),N=b===Pn?$:E,M={top:T.top-N.top+x.top,bottom:N.bottom-T.bottom+x.bottom,left:T.left-N.left+x.left,right:N.right-T.right+x.right},D=e.modifiersData.offset;if(b===Pn&&D){var m=D[a];Object.keys(M).forEach(function(I){var P=[Gt,qt].indexOf(I)>=0?1:-1,j=[kt,qt].indexOf(I)>=0?"y":"x";M[I]+=m[j]*P})}return M}function jv(e,o){o===void 0&&(o={});var n=o,r=n.placement,a=n.boundary,s=n.rootBoundary,i=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,u=c===void 0?rd:c,d=hn(r),f=d?l?Wl:Wl.filter(function(h){return hn(h)===d}):lr,b=f.filter(function(h){return u.indexOf(h)>=0});b.length===0&&(b=f);var y=b.reduce(function(h,p){return h[p]=Jn(e,{placement:p,boundary:a,rootBoundary:s,padding:i})[so(p)],h},{});return Object.keys(y).sort(function(h,p){return y[h]-y[p]})}function Nv(e){if(so(e)===mi)return[];var o=Rr(e);return[ql(e),o,ql(o)]}function Mv(e){var o=e.state,n=e.options,r=e.name;if(!o.modifiersData[r]._skip){for(var a=n.mainAxis,s=a===void 0?!0:a,i=n.altAxis,l=i===void 0?!0:i,c=n.fallbackPlacements,u=n.padding,d=n.boundary,f=n.rootBoundary,b=n.altBoundary,y=n.flipVariations,h=y===void 0?!0:y,p=n.allowedAutoPlacements,v=o.options.placement,x=so(v),O=x===v,w=c||(O||!h?[Rr(v)]:Nv(v)),S=[v].concat(w).reduce(function(se,K){return se.concat(so(K)===mi?jv(o,{placement:K,boundary:d,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:p}):K)},[]),T=o.rects.reference,E=o.rects.popper,k=new Map,$=!0,N=S[0],M=0;M<S.length;M++){var D=S[M],m=so(D),I=hn(D)===fn,P=[kt,qt].indexOf(m)>=0,j=P?"width":"height",R=Jn(o,{placement:D,boundary:d,rootBoundary:f,altBoundary:b,padding:u}),W=P?I?Gt:Rt:I?qt:kt;T[j]>E[j]&&(W=Rr(W));var G=Rr(W),H=[];if(s&&H.push(R[m]<=0),l&&H.push(R[W]<=0,R[G]<=0),H.every(function(se){return se})){N=D,$=!1;break}k.set(D,H)}if($)for(var F=h?3:1,A=function(K){var z=S.find(function(oe){var ce=k.get(oe);if(ce)return ce.slice(0,K).every(function(J){return J})});if(z)return N=z,"break"},X=F;X>0;X--){var ee=A(X);if(ee==="break")break}o.placement!==N&&(o.modifiersData[r]._skip=!0,o.placement=N,o.reset=!0)}}const Av={name:"flip",enabled:!0,phase:"main",fn:Mv,requiresIfExists:["offset"],data:{_skip:!1}};function Kl(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 Yl(e){return[kt,Gt,qt,Rt].some(function(o){return e[o]>=0})}function Lv(e){var o=e.state,n=e.name,r=o.rects.reference,a=o.rects.popper,s=o.modifiersData.preventOverflow,i=Jn(o,{elementContext:"reference"}),l=Jn(o,{altBoundary:!0}),c=Kl(i,r),u=Kl(l,a,s),d=Yl(c),f=Yl(u);o.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},o.attributes.popper=Object.assign({},o.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const Dv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Lv};function Bv(e,o,n){var r=so(e),a=[Rt,kt].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},o,{placement:e})):n,i=s[0],l=s[1];return i=i||0,l=(l||0)*a,[Rt,Gt].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}function Fv(e){var o=e.state,n=e.options,r=e.name,a=n.offset,s=a===void 0?[0,0]:a,i=rd.reduce(function(d,f){return d[f]=Bv(f,o.rects,s),d},{}),l=i[o.placement],c=l.x,u=l.y;o.modifiersData.popperOffsets!=null&&(o.modifiersData.popperOffsets.x+=c,o.modifiersData.popperOffsets.y+=u),o.modifiersData[r]=i}const zv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Fv};function Vv(e){var o=e.state,n=e.name;o.modifiersData[n]=dd({reference:o.rects.reference,element:o.rects.popper,placement:o.placement})}const _v={name:"popperOffsets",enabled:!0,phase:"read",fn:Vv,data:{}};function Wv(e){return e==="x"?"y":"x"}function Uv(e){var o=e.state,n=e.options,r=e.name,a=n.mainAxis,s=a===void 0?!0:a,i=n.altAxis,l=i===void 0?!1:i,c=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.padding,b=n.tether,y=b===void 0?!0:b,h=n.tetherOffset,p=h===void 0?0:h,v=Jn(o,{boundary:c,rootBoundary:u,padding:f,altBoundary:d}),x=so(o.placement),O=hn(o.placement),w=!O,S=bi(x),T=Wv(S),E=o.modifiersData.popperOffsets,k=o.rects.reference,$=o.rects.popper,N=typeof p=="function"?p(Object.assign({},o.rects,{placement:o.placement})):p,M=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),D=o.modifiersData.offset?o.modifiersData.offset[o.placement]:null,m={x:0,y:0};if(E){if(s){var I,P=S==="y"?kt:Rt,j=S==="y"?qt:Gt,R=S==="y"?"height":"width",W=E[S],G=W+v[P],H=W-v[j],F=y?-$[R]/2:0,A=O===fn?k[R]:$[R],X=O===fn?-$[R]:-k[R],ee=o.elements.arrow,se=y&&ee?hi(ee):{width:0,height:0},K=o.modifiersData["arrow#persistent"]?o.modifiersData["arrow#persistent"].padding:id(),z=K[P],oe=K[j],ce=zn(0,k[R],se[R]),J=w?k[R]/2-F-ce-z-M.mainAxis:A-ce-z-M.mainAxis,Y=w?-k[R]/2+F+ce+oe+M.mainAxis:X+ce+oe+M.mainAxis,le=o.elements.arrow&&cr(o.elements.arrow),U=le?S==="y"?le.clientTop||0:le.clientLeft||0:0,ae=(I=D?.[S])!=null?I:0,ie=W+J-ae-U,ue=W+Y-ae,Oe=zn(y?Fr(G,ie):G,W,y?_o(H,ue):H);E[S]=Oe,m[S]=Oe-W}if(l){var Ee,ne=S==="x"?kt:Rt,Be=S==="x"?qt:Gt,we=E[T],ye=T==="y"?"height":"width",re=we+v[ne],Le=we-v[Be],Ie=[kt,Rt].indexOf(x)!==-1,te=(Ee=D?.[T])!=null?Ee:0,Q=Ie?re:we-k[ye]-$[ye]-te+M.altAxis,xe=Ie?we+k[ye]+$[ye]-te-M.altAxis:Le,Te=y&&Ie?mv(Q,we,xe):zn(y?Q:re,we,y?xe:Le);E[T]=Te,m[T]=Te-we}o.modifiersData[r]=m}}const Hv={name:"preventOverflow",enabled:!0,phase:"main",fn:Uv,requiresIfExists:["offset"]};function qv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Gv(e){return e===Bt(e)||!Wt(e)?yi(e):qv(e)}function Kv(e){var o=e.getBoundingClientRect(),n=mn(o.width)/e.offsetWidth||1,r=mn(o.height)/e.offsetHeight||1;return n!==1||r!==1}function Yv(e,o,n){n===void 0&&(n=!1);var r=Wt(o),a=Wt(o)&&Kv(o),s=Io(o),i=gn(e,a,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((lo(o)!=="body"||xi(s))&&(l=Gv(o)),Wt(o)?(c=gn(o,!0),c.x+=o.clientLeft,c.y+=o.clientTop):s&&(c.x=vi(s))),{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}function Xv(e){var o=new Map,n=new Set,r=[];e.forEach(function(s){o.set(s.name,s)});function a(s){n.add(s.name);var i=[].concat(s.requires||[],s.requiresIfExists||[]);i.forEach(function(l){if(!n.has(l)){var c=o.get(l);c&&a(c)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||a(s)}),r}function Jv(e){var o=Xv(e);return lv.reduce(function(n,r){return n.concat(o.filter(function(a){return a.phase===r}))},[])}function Zv(e){var o;return function(){return o||(o=new Promise(function(n){Promise.resolve().then(function(){o=void 0,n(e())})})),o}}function Qv(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 Xl={placement:"bottom",modifiers:[],strategy:"absolute"};function Jl(){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 e0(e){e===void 0&&(e={});var o=e,n=o.defaultModifiers,r=n===void 0?[]:n,a=o.defaultOptions,s=a===void 0?Xl:a;return function(l,c,u){u===void 0&&(u=s);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Xl,s),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},f=[],b=!1,y={state:d,setOptions:function(x){var O=typeof x=="function"?x(d.options):x;p(),d.options=Object.assign({},s,d.options,O),d.scrollParents={reference:Ho(l)?Vn(l):l.contextElement?Vn(l.contextElement):[],popper:Vn(c)};var w=Jv(Qv([].concat(r,d.options.modifiers)));return d.orderedModifiers=w.filter(function(S){return S.enabled}),h(),y.update()},forceUpdate:function(){if(!b){var x=d.elements,O=x.reference,w=x.popper;if(Jl(O,w)){d.rects={reference:Yv(O,cr(w),d.options.strategy==="fixed"),popper:hi(w)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(M){return d.modifiersData[M.name]=Object.assign({},M.data)});for(var S=0;S<d.orderedModifiers.length;S++){if(d.reset===!0){d.reset=!1,S=-1;continue}var T=d.orderedModifiers[S],E=T.fn,k=T.options,$=k===void 0?{}:k,N=T.name;typeof E=="function"&&(d=E({state:d,options:$,name:N,instance:y})||d)}}}},update:Zv(function(){return new Promise(function(v){y.forceUpdate(),v(d)})}),destroy:function(){p(),b=!0}};if(!Jl(l,c))return y;y.setOptions(u).then(function(v){!b&&u.onFirstUpdate&&u.onFirstUpdate(v)});function h(){d.orderedModifiers.forEach(function(v){var x=v.name,O=v.options,w=O===void 0?{}:O,S=v.effect;if(typeof S=="function"){var T=S({state:d,name:x,instance:y,options:w}),E=function(){};f.push(T||E)}})}function p(){f.forEach(function(v){return v()}),f=[]}return y}}var t0=[Tv,_v,Sv,dv,zv,Av,Hv,yv,Dv],o0=e0({defaultModifiers:t0});function eo(e){const{elementType:o,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:a=!1,...s}=e,i=a?{}:Cu(n,r),{props:l,internalRef:c}=Su({...s,externalSlotProps:i}),u=et(c,i?.ref,e.additionalProps?.ref);return xu(o,{...l,ref:u},r)}function n0(e){return typeof e=="function"?e():e}const Zn=C.forwardRef(function(o,n){const{children:r,container:a,disablePortal:s=!1}=o,[i,l]=C.useState(null),c=et(C.isValidElement(r)?vn(r):null,n);if(Ht(()=>{s||l(n0(a)||document.body)},[a,s]),Ht(()=>{if(i&&!s)return ys(n,i),()=>{ys(n,null)}},[n,i,s]),s){if(C.isValidElement(r)){const u={ref:c};return C.cloneElement(r,u)}return r}return i&&np.createPortal(r,i)});process.env.NODE_ENV!=="production"&&(Zn.propTypes={children:t.node,container:t.oneOfType([bo,t.func]),disablePortal:t.bool});process.env.NODE_ENV!=="production"&&(Zn.propTypes=Ys(Zn.propTypes));function r0(e){return me("MuiPopper",e)}ge("MuiPopper",["root"]);function a0(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 zr(e){return typeof e=="function"?e():e}function ha(e){return e.nodeType!==void 0}function s0(e){return!ha(e)}const i0=e=>{const{classes:o}=e;return be({root:["root"]},r0,o)},l0={},c0=C.forwardRef(function(o,n){const{anchorEl:r,children:a,direction:s,disablePortal:i,modifiers:l,open:c,placement:u,popperOptions:d,popperRef:f,slotProps:b={},slots:y={},TransitionProps:h,ownerState:p,...v}=o,x=C.useRef(null),O=et(x,n),w=C.useRef(null),S=et(w,f),T=C.useRef(S);Ht(()=>{T.current=S},[S]),C.useImperativeHandle(f,()=>w.current,[]);const E=a0(u,s),[k,$]=C.useState(E),[N,M]=C.useState(zr(r));C.useEffect(()=>{w.current&&w.current.forceUpdate()}),C.useEffect(()=>{r&&M(zr(r))},[r]),Ht(()=>{if(!N||!c)return;const j=G=>{$(G.placement)};if(process.env.NODE_ENV!=="production"&&N&&ha(N)&&N.nodeType===1){const G=N.getBoundingClientRect();process.env.NODE_ENV!=="test"&&G.top===0&&G.left===0&&G.right===0&&G.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(`
|
|
307
|
+
`))}let R=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:G})=>{j(G)}}];l!=null&&(R=R.concat(l)),d&&d.modifiers!=null&&(R=R.concat(d.modifiers));const W=o0(N,x.current,{placement:E,...d,modifiers:R});return T.current(W),()=>{W.destroy(),T.current(null)}},[N,i,l,c,d,E]);const D={placement:k};h!==null&&(D.TransitionProps=h);const m=i0(o),I=y.root??"div",P=eo({elementType:I,externalSlotProps:b.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:O},ownerState:o,className:m.root});return g.jsx(I,{...P,children:typeof a=="function"?a(D):a})}),pd=C.forwardRef(function(o,n){const{anchorEl:r,children:a,container:s,direction:i="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:d,placement:f="bottom",popperOptions:b=l0,popperRef:y,style:h,transition:p=!1,slotProps:v={},slots:x={},...O}=o,[w,S]=C.useState(!0),T=()=>{S(!1)},E=()=>{S(!0)};if(!c&&!d&&(!p||w))return null;let k;if(s)k=s;else if(r){const M=zr(r);k=M&&ha(M)?dt(M).body:dt(null).body}const $=!d&&c&&(!p||w)?"none":void 0,N=p?{in:d,onEnter:T,onExited:E}:void 0;return g.jsx(Zn,{disablePortal:l,container:k,children:g.jsx(c0,{anchorEl:r,direction:i,disablePortal:l,modifiers:u,ref:n,open:p?!w:d,placement:f,popperOptions:b,popperRef:y,slotProps:v,slots:x,...O,style:{position:"fixed",top:0,left:0,display:$,...h},TransitionProps:N,children:a})})});process.env.NODE_ENV!=="production"&&(pd.propTypes={anchorEl:St(t.oneOfType([bo,t.object,t.func]),e=>{if(e.open){const o=zr(e.anchorEl);if(o&&ha(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(`
|
|
308
|
+
`))}else if(!o||typeof o.getBoundingClientRect!="function"||s0(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(`
|
|
309
|
+
`))}return null}),children:t.oneOfType([t.node,t.func]),container:t.oneOfType([bo,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:Ot,slotProps:t.shape({root:t.oneOfType([t.func,t.object])}),slots:t.shape({root:t.elementType}),transition:t.bool});const u0=L(pd,{name:"MuiPopper",slot:"Root"})({}),Ci=C.forwardRef(function(o,n){const r=rr(),a=ve({props:o,name:"MuiPopper"}),{anchorEl:s,component:i,components:l,componentsProps:c,container:u,disablePortal:d,keepMounted:f,modifiers:b,open:y,placement:h,popperOptions:p,popperRef:v,transition:x,slots:O,slotProps:w,...S}=a,T=O?.root??l?.Root,E={anchorEl:s,container:u,disablePortal:d,keepMounted:f,modifiers:b,open:y,placement:h,popperOptions:p,popperRef:v,transition:x,...S};return g.jsx(u0,{as:i,direction:r?"rtl":"ltr",slots:{root:T},slotProps:w??c,...E,ref:n})});process.env.NODE_ENV!=="production"&&(Ci.propTypes={anchorEl:t.oneOfType([bo,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([bo,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:Ot,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 d0(e){return me("MuiListSubheader",e)}ge("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const p0=e=>{const{classes:o,color:n,disableGutters:r,inset:a,disableSticky:s}=e,i={root:["root",n!=="default"&&`color${B(n)}`,!r&&"gutters",a&&"inset",!s&&"sticky"]};return be(i,d0,o)},f0=L("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color!=="default"&&o[`color${B(n.color)}`],!n.disableGutters&&o.gutters,n.inset&&o.inset,!n.disableSticky&&o.sticky]}})(pe(({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}}]}))),Qn=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListSubheader"}),{className:a,color:s="default",component:i="li",disableGutters:l=!1,disableSticky:c=!1,inset:u=!1,...d}=r,f={...r,color:s,component:i,disableGutters:l,disableSticky:c,inset:u},b=p0(f);return g.jsx(f0,{as:i,className:Z(b.root,a),ref:n,ownerState:f,...d})});Qn&&(Qn.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(Qn.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 m0=ct(g.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 g0(e){return me("MuiChip",e)}const Ae=ge("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"]),h0=e=>{const{classes:o,disabled:n,size:r,color:a,iconColor:s,onDelete:i,clickable:l,variant:c}=e,u={root:["root",c,n&&"disabled",`size${B(r)}`,`color${B(a)}`,l&&"clickable",l&&`clickableColor${B(a)}`,i&&"deletable",i&&`deletableColor${B(a)}`,`${c}${B(a)}`],label:["label",`label${B(r)}`],avatar:["avatar",`avatar${B(r)}`,`avatarColor${B(a)}`],icon:["icon",`icon${B(r)}`,`iconColor${B(s)}`],deleteIcon:["deleteIcon",`deleteIcon${B(r)}`,`deleteIconColor${B(a)}`,`deleteIcon${B(c)}Color${B(a)}`]};return be(u,g0,o)},b0=L("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{color:r,iconColor:a,clickable:s,onDelete:i,size:l,variant:c}=n;return[{[`& .${Ae.avatar}`]:o.avatar},{[`& .${Ae.avatar}`]:o[`avatar${B(l)}`]},{[`& .${Ae.avatar}`]:o[`avatarColor${B(r)}`]},{[`& .${Ae.icon}`]:o.icon},{[`& .${Ae.icon}`]:o[`icon${B(l)}`]},{[`& .${Ae.icon}`]:o[`iconColor${B(a)}`]},{[`& .${Ae.deleteIcon}`]:o.deleteIcon},{[`& .${Ae.deleteIcon}`]:o[`deleteIcon${B(l)}`]},{[`& .${Ae.deleteIcon}`]:o[`deleteIconColor${B(r)}`]},{[`& .${Ae.deleteIcon}`]:o[`deleteIcon${B(c)}Color${B(r)}`]},o.root,o[`size${B(l)}`],o[`color${B(r)}`],s&&o.clickable,s&&r!=="default"&&o[`clickableColor${B(r)}`],i&&o.deletable,i&&r!=="default"&&o[`deletableColor${B(r)}`],o[c],o[`${c}${B(r)}`]]}})(pe(({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",[`&.${Ae.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ae.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:o,fontSize:e.typography.pxToRem(12)},[`& .${Ae.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ae.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ae.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ae.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Ae.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,[`& .${Ae.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Ae.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Ve(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${Ae.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:{[`& .${Ae.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:o}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${Ae.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Ae.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(Ve(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${Ae.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}`)},[`&.${Ae.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(Ve(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${Ae.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]}`,[`&.${Ae.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ae.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ae.avatar}`]:{marginLeft:4},[`& .${Ae.avatarSmall}`]:{marginLeft:2},[`& .${Ae.icon}`]:{marginLeft:4},[`& .${Ae.iconSmall}`]:{marginLeft:2},[`& .${Ae.deleteIcon}`]:{marginRight:5},[`& .${Ae.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Ve()).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)}`,[`&.${Ae.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${Ae.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[n].main,(e.vars||e).palette.action.focusOpacity)},[`& .${Ae.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),y0=L("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,o)=>{const{ownerState:n}=e,{size:r}=n;return[o.label,o[`label${B(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 Zl(e){return e.key==="Backspace"||e.key==="Delete"}const Si=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiChip"}),{avatar:a,className:s,clickable:i,color:l="default",component:c,deleteIcon:u,disabled:d=!1,icon:f,label:b,onClick:y,onDelete:h,onKeyDown:p,onKeyUp:v,size:x="medium",variant:O="filled",tabIndex:w,skipFocusWhenDisabled:S=!1,slots:T={},slotProps:E={},...k}=r,$=C.useRef(null),N=et($,n),M=z=>{z.stopPropagation(),h&&h(z)},D=z=>{z.currentTarget===z.target&&Zl(z)&&z.preventDefault(),p&&p(z)},m=z=>{z.currentTarget===z.target&&h&&Zl(z)&&h(z),v&&v(z)},I=i!==!1&&y?!0:i,P=I||h?ho:c||"div",j={...r,component:P,disabled:d,size:x,color:l,iconColor:C.isValidElement(f)&&f.props.color||l,onDelete:!!h,clickable:I,variant:O},R=h0(j),W=P===ho?{component:c||"div",focusVisibleClassName:R.focusVisible,...h&&{disableRipple:!0}}:{};let G=null;h&&(G=u&&C.isValidElement(u)?C.cloneElement(u,{className:Z(u.props.className,R.deleteIcon),onClick:M}):g.jsx(m0,{className:R.deleteIcon,onClick:M}));let H=null;a&&C.isValidElement(a)&&(H=C.cloneElement(a,{className:Z(R.avatar,a.props.className)}));let F=null;f&&C.isValidElement(f)&&(F=C.cloneElement(f,{className:Z(R.icon,f.props.className)})),process.env.NODE_ENV!=="production"&&H&&F&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");const A={slots:T,slotProps:E},[X,ee]=fe("root",{elementType:b0,externalForwardedProps:{...A,...k},ownerState:j,shouldForwardComponentProp:!0,ref:N,className:Z(R.root,s),additionalProps:{disabled:I&&d?!0:void 0,tabIndex:S&&d?-1:w,...W},getSlotProps:z=>({...z,onClick:oe=>{z.onClick?.(oe),y?.(oe)},onKeyDown:oe=>{z.onKeyDown?.(oe),D(oe)},onKeyUp:oe=>{z.onKeyUp?.(oe),m(oe)}})}),[se,K]=fe("label",{elementType:y0,externalForwardedProps:A,ownerState:j,className:R.label});return g.jsxs(X,{as:P,...ee,children:[H||F,g.jsx(se,{...K,children:b}),G]})});process.env.NODE_ENV!=="production"&&(Si.propTypes={avatar:t.element,children:Ag,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 vr(e){return parseInt(e,10)||0}const v0={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function x0(e){for(const o in e)return!1;return!0}function Ql(e){return x0(e)||e.outerHeightStyle===0&&!e.overflowing}const fd=C.forwardRef(function(o,n){const{onChange:r,maxRows:a,minRows:s=1,style:i,value:l,...c}=o,{current:u}=C.useRef(l!=null),d=C.useRef(null),f=et(n,d),b=C.useRef(null),y=C.useRef(null),h=C.useCallback(()=>{const w=d.current,S=y.current;if(!w||!S)return;const E=go(w).getComputedStyle(w);if(E.width==="0px")return{outerHeightStyle:0,overflowing:!1};S.style.width=E.width,S.value=w.value||o.placeholder||"x",S.value.slice(-1)===`
|
|
310
|
+
`&&(S.value+=" ");const k=E.boxSizing,$=vr(E.paddingBottom)+vr(E.paddingTop),N=vr(E.borderBottomWidth)+vr(E.borderTopWidth),M=S.scrollHeight;S.value="x";const D=S.scrollHeight;let m=M;s&&(m=Math.max(Number(s)*D,m)),a&&(m=Math.min(Number(a)*D,m)),m=Math.max(m,D);const I=m+(k==="border-box"?$+N:0),P=Math.abs(m-M)<=1;return{outerHeightStyle:I,overflowing:P}},[a,s,o.placeholder]),p=Ct(()=>{const w=d.current,S=h();if(!w||!S||Ql(S))return!1;const T=S.outerHeightStyle;return b.current!=null&&b.current!==T}),v=C.useCallback(()=>{const w=d.current,S=h();if(!w||!S||Ql(S))return;const T=S.outerHeightStyle;b.current!==T&&(b.current=T,w.style.height=`${T}px`),w.style.overflow=S.overflowing?"hidden":""},[h]),x=C.useRef(-1);Ht(()=>{const w=pu(v),S=d?.current;if(!S)return;const T=go(S);T.addEventListener("resize",w);let E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(()=>{p()&&(E.unobserve(S),cancelAnimationFrame(x.current),v(),x.current=requestAnimationFrame(()=>{E.observe(S)}))}),E.observe(S)),()=>{w.clear(),cancelAnimationFrame(x.current),T.removeEventListener("resize",w),E&&E.disconnect()}},[h,v,p]),Ht(()=>{v()});const O=w=>{u||v();const S=w.target,T=S.value.length,E=S.value.endsWith(`
|
|
311
|
+
`),k=S.selectionStart===T;E&&k&&S.setSelectionRange(T,T),r&&r(w)};return g.jsxs(C.Fragment,{children:[g.jsx("textarea",{value:l,onChange:O,ref:f,rows:s,style:i,...c}),g.jsx("textarea",{"aria-hidden":!0,className:o.className,readOnly:!0,ref:y,tabIndex:-1,style:{...v0.shadow,...i,paddingTop:0,paddingBottom:0}})]})});process.env.NODE_ENV!=="production"&&(fd.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 jo({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 ur=C.createContext(void 0);process.env.NODE_ENV!=="production"&&(ur.displayName="FormControlContext");function Zt(){return C.useContext(ur)}function ec(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Vr(e,o=!1){return e&&(ec(e.value)&&e.value!==""||o&&ec(e.defaultValue)&&e.defaultValue!=="")}function C0(e){return e.startAdornment}function S0(e){return me("MuiInputBase",e)}const Mt=ge("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var tc;const ba=(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${B(n.color)}`],n.fullWidth&&o.fullWidth,n.hiddenLabel&&o.hiddenLabel]},ya=(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]},w0=e=>{const{classes:o,color:n,disabled:r,error:a,endAdornment:s,focused:i,formControl:l,fullWidth:c,hiddenLabel:u,multiline:d,readOnly:f,size:b,startAdornment:y,type:h}=e,p={root:["root",`color${B(n)}`,r&&"disabled",a&&"error",c&&"fullWidth",i&&"focused",l&&"formControl",b&&b!=="medium"&&`size${B(b)}`,d&&"multiline",y&&"adornedStart",s&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",d&&"inputMultiline",b==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",y&&"inputAdornedStart",s&&"inputAdornedEnd",f&&"readOnly"]};return be(p,S0,o)},va=L("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ba})(pe(({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%"}}]}))),xa=L("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ya})(pe(({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:s})=>!s.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:s})=>s.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),oc=$g({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Ca=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:s,autoFocus:i,className:l,color:c,components:u={},componentsProps:d={},defaultValue:f,disabled:b,disableInjectingGlobalStyles:y,endAdornment:h,error:p,fullWidth:v=!1,id:x,inputComponent:O="input",inputProps:w={},inputRef:S,margin:T,maxRows:E,minRows:k,multiline:$=!1,name:N,onBlur:M,onChange:D,onClick:m,onFocus:I,onKeyDown:P,onKeyUp:j,placeholder:R,readOnly:W,renderSuffix:G,rows:H,size:F,slotProps:A={},slots:X={},startAdornment:ee,type:se="text",value:K,...z}=r,oe=w.value!=null?w.value:K,{current:ce}=C.useRef(oe!=null),J=C.useRef(),Y=C.useCallback(he=>{process.env.NODE_ENV!=="production"&&he&&he.nodeName!=="INPUT"&&!he.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(`
|
|
312
|
+
`))},[]),le=et(J,S,w.ref,Y),[U,ae]=C.useState(!1),ie=Zt();process.env.NODE_ENV!=="production"&&C.useEffect(()=>{if(ie)return ie.registerEffect()},[ie]);const ue=jo({props:r,muiFormControl:ie,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ue.focused=ie?ie.focused:U,C.useEffect(()=>{!ie&&b&&U&&(ae(!1),M&&M())},[ie,b,U,M]);const Oe=ie&&ie.onFilled,Ee=ie&&ie.onEmpty,ne=C.useCallback(he=>{Vr(he)?Oe&&Oe():Ee&&Ee()},[Oe,Ee]);Ht(()=>{ce&&ne({value:oe})},[oe,ne,ce]);const Be=he=>{I&&I(he),w.onFocus&&w.onFocus(he),ie&&ie.onFocus?ie.onFocus(he):ae(!0)},we=he=>{M&&M(he),w.onBlur&&w.onBlur(he),ie&&ie.onBlur?ie.onBlur(he):ae(!1)},ye=(he,...Ue)=>{if(!ce){const De=he.target||J.current;if(De==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.":io(1));ne({value:De.value})}w.onChange&&w.onChange(he,...Ue),D&&D(he,...Ue)};C.useEffect(()=>{ne(J.current)},[]);const re=he=>{J.current&&he.currentTarget===he.target&&J.current.focus(),m&&m(he)};let Le=O,Ie=w;$&&Le==="input"&&(H?(process.env.NODE_ENV!=="production"&&(k||E)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),Ie={type:void 0,minRows:H,maxRows:H,...Ie}):Ie={type:void 0,maxRows:E,minRows:k,...Ie},Le=fd);const te=he=>{ne(he.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};C.useEffect(()=>{ie&&ie.setAdornedStart(!!ee)},[ie,ee]);const Q={...r,color:ue.color||"primary",disabled:ue.disabled,endAdornment:h,error:ue.error,focused:ue.focused,formControl:ie,fullWidth:v,hiddenLabel:ue.hiddenLabel,multiline:$,size:ue.size,startAdornment:ee,type:se},xe=w0(Q),Te=X.root||u.Root||va,ke=A.root||d.root||{},Se=X.input||u.Input||xa;return Ie={...Ie,...A.input??d.input},g.jsxs(C.Fragment,{children:[!y&&typeof oc=="function"&&(tc||(tc=g.jsx(oc,{}))),g.jsxs(Te,{...ke,ref:n,onClick:re,...z,...!ao(Te)&&{ownerState:{...Q,...ke.ownerState}},className:Z(xe.root,ke.className,l,W&&"MuiInputBase-readOnly"),children:[ee,g.jsx(ur.Provider,{value:null,children:g.jsx(Se,{"aria-invalid":ue.error,"aria-describedby":a,autoComplete:s,autoFocus:i,defaultValue:f,disabled:ue.disabled,id:x,onAnimationStart:te,name:N,placeholder:R,readOnly:W,required:ue.required,rows:H,value:oe,onKeyDown:P,onKeyUp:j,type:se,...Ie,...!ao(Se)&&{as:Le,ownerState:{...Q,...Ie.ownerState}},ref:le,className:Z(xe.input,Ie.className,W&&"MuiInputBase-readOnly"),onBlur:we,onChange:ye,onFocus:Be})}),h,G?G({...ue,startAdornment:ee}):null]})]})});process.env.NODE_ENV!=="production"&&(Ca.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:sr,inputProps:t.object,inputRef:Ot,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 T0(e){return me("MuiInput",e)}const Oo={...Mt,...ge("MuiInput",["root","underline","input"])};function O0(e){return me("MuiOutlinedInput",e)}const Ft={...Mt,...ge("MuiOutlinedInput",["root","notchedOutline","input"])};function E0(e){return me("MuiFilledInput",e)}const At={...Mt,...ge("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},md=ct(g.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function P0(e){return me("MuiAutocomplete",e)}const Ne=ge("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 nc,rc;const k0=e=>{const{classes:o,disablePortal:n,expanded:r,focused:a,fullWidth:s,hasClearIcon:i,hasPopupIcon:l,inputFocused:c,popupOpen:u,size:d}=e,f={root:["root",r&&"expanded",a&&"focused",s&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",c&&"inputFocused"],tag:["tag",`tagSize${B(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return be(f,P0,o)},R0=L("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:a,hasPopupIcon:s,inputFocused:i,size:l}=n;return[{[`& .${Ne.tag}`]:o.tag},{[`& .${Ne.tag}`]:o[`tagSize${B(l)}`]},{[`& .${Ne.inputRoot}`]:o.inputRoot},{[`& .${Ne.input}`]:o.input},{[`& .${Ne.input}`]:i&&o.inputFocused},o.root,r&&o.fullWidth,s&&o.hasPopupIcon,a&&o.hasClearIcon]}})({[`&.${Ne.focused} .${Ne.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ne.clearIndicator}`]:{visibility:"visible"}},[`& .${Ne.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ne.inputRoot}`]:{[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:30},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:56},[`& .${Ne.input}`]:{width:0,minWidth:30}},[`& .${Oo.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Oo.root}.${Mt.sizeSmall}`]:{[`& .${Oo.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Ft.root}`]:{padding:9,[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:39},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:65},[`& .${Ne.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ne.endAdornment}`]:{right:9}},[`& .${Ft.root}.${Mt.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ne.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${At.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ne.hasPopupIcon}&, .${Ne.hasClearIcon}&`]:{paddingRight:39},[`.${Ne.hasPopupIcon}.${Ne.hasClearIcon}&`]:{paddingRight:65},[`& .${At.input}`]:{padding:"7px 4px"},[`& .${Ne.endAdornment}`]:{right:9}},[`& .${At.root}.${Mt.sizeSmall}`]:{paddingBottom:1,[`& .${At.input}`]:{padding:"2.5px 4px"}},[`& .${Mt.hiddenLabel}`]:{paddingTop:8},[`& .${At.root}.${Mt.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ne.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${At.root}.${Mt.hiddenLabel}.${Mt.sizeSmall}`]:{[`& .${Ne.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ne.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ne.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ne.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ne.inputRoot}`]:{flexWrap:"wrap"}}}]}),$0=L("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),I0=L(dn,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),j0=L(dn,{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)"}}]}),N0=L(Ci,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Ne.option}`]:o.option},o.popper,n.disablePortal&&o.popperDisablePortal]}})(pe(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),M0=L(uo,{name:"MuiAutocomplete",slot:"Paper"})(pe(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),A0=L("div",{name:"MuiAutocomplete",slot:"Loading"})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),L0=L("div",{name:"MuiAutocomplete",slot:"NoOptions"})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),D0=L("ul",{name:"MuiAutocomplete",slot:"Listbox"})(pe(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ne.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"},[`&.${Ne.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"},[`&.${Ne.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),[`&.${Ne.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}},[`&.${Ne.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))),B0=L(Qn,{name:"MuiAutocomplete",slot:"GroupLabel"})(pe(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),F0=L("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Ne.option}`]:{paddingLeft:24}}),gd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiAutocomplete"}),{autoComplete:a=!1,autoHighlight:s=!1,autoSelect:i=!1,blurOnSelect:l=!1,ChipProps:c,className:u,clearIcon:d=nc||(nc=g.jsx(zu,{fontSize:"small"})),clearOnBlur:f=!r.freeSolo,clearOnEscape:b=!1,clearText:y="Clear",closeText:h="Close",componentsProps:p,defaultValue:v=r.multiple?[]:null,disableClearable:x=!1,disableCloseOnSelect:O=!1,disabled:w=!1,disabledItemsFocusable:S=!1,disableListWrap:T=!1,disablePortal:E=!1,filterOptions:k,filterSelectedOptions:$=!1,forcePopupIcon:N="auto",freeSolo:M=!1,fullWidth:D=!1,getLimitTagsText:m=ze=>`+${ze}`,getOptionDisabled:I,getOptionKey:P,getOptionLabel:j,isOptionEqualToValue:R,groupBy:W,handleHomeEndKeys:G=!r.freeSolo,id:H,includeInputInList:F=!1,inputValue:A,limitTags:X=-1,ListboxComponent:ee,ListboxProps:se,loading:K=!1,loadingText:z="Loading…",multiple:oe=!1,noOptionsText:ce="No options",onChange:J,onClose:Y,onHighlightChange:le,onInputChange:U,onOpen:ae,open:ie,openOnFocus:ue=!1,openText:Oe="Open",options:Ee,PaperComponent:ne,PopperComponent:Be,popupIcon:we=rc||(rc=g.jsx(md,{})),readOnly:ye=!1,renderGroup:re,renderInput:Le,renderOption:Ie,renderTags:te,renderValue:Q,selectOnFocus:xe=!r.freeSolo,size:Te="medium",slots:ke={},slotProps:Se={},value:he,...Ue}=r,{getRootProps:De,getInputProps:Je,getInputLabelProps:It,getPopupIndicatorProps:jt,getClearProps:ft,getItemProps:Ce,getListboxProps:je,getOptionProps:Ze,value:vt,dirty:Fe,expanded:Qe,id:Nt,popupOpen:Et,focused:mt,focusedItem:$a,anchorEl:No,setAnchorEl:dr,inputValue:Ia,groupedOptions:qo}=Xy({...r,componentName:"Autocomplete"}),Go=!x&&!w&&Fe&&!ye,xn=(!M||N===!0)&&N!==!1,{onMouseDown:ja}=Je(),{ref:Na,...Ma}=je(),Cn=j||(ze=>ze.label??ze),pt={...r,disablePortal:E,expanded:Qe,focused:mt,fullWidth:D,getOptionLabel:Cn,hasClearIcon:Go,hasPopupIcon:xn,inputFocused:$a===-1,popupOpen:Et,size:Te},gt=k0(pt),Co={slots:{paper:ne,popper:Be,...ke},slotProps:{chip:c,listbox:se,...p,...Se}},[La,Sn]=fe("listbox",{elementType:D0,externalForwardedProps:Co,ownerState:pt,className:gt.listbox,additionalProps:Ma,ref:Na}),[pr,q]=fe("paper",{elementType:uo,externalForwardedProps:Co,ownerState:pt,className:gt.paper}),[V,de]=fe("popper",{elementType:Ci,externalForwardedProps:Co,ownerState:pt,className:gt.popper,additionalProps:{disablePortal:E,style:{width:No?No.clientWidth:null},role:"presentation",anchorEl:No,open:Et}});let Pe;const Re=ze=>({className:gt.tag,disabled:w,...Ce(ze)});if(oe?vt.length>0&&(te?Pe=te(vt,Re,pt):Q?Pe=Q(vt,Re,pt):Pe=vt.map((ze,So)=>{const{key:wo,...wn}=Re({index:So});return g.jsx(Si,{label:Cn(ze),size:Te,...wn,...Co.slotProps.chip},wo)})):Q&&vt!=null&&(Pe=Q(vt,Re,pt)),X>-1&&Array.isArray(Pe)){const ze=Pe.length-X;!mt&&ze>0&&(Pe=Pe.splice(0,X),Pe.push(g.jsx("span",{className:gt.tag,children:m(ze)},Pe.length)))}const it=re||(ze=>g.jsxs("li",{children:[g.jsx(B0,{className:gt.groupLabel,ownerState:pt,component:"div",children:ze.group}),g.jsx(F0,{className:gt.groupUl,ownerState:pt,children:ze.children})]},ze.key)),Ko=Ie||((ze,So)=>{const{key:wo,...wn}=ze;return g.jsx("li",{...wn,children:Cn(So)},wo)}),Bi=(ze,So)=>{const wo=Ze({option:ze,index:So});return Ko({...wo,className:gt.option},ze,{selected:wo["aria-selected"],index:So,inputValue:Ia},pt)},Fi=Co.slotProps.clearIndicator,zi=Co.slotProps.popupIndicator;return g.jsxs(C.Fragment,{children:[g.jsx(R0,{ref:n,className:Z(gt.root,u),ownerState:pt,...De(Ue),children:Le({id:Nt,disabled:w,fullWidth:!0,size:Te==="small"?"small":void 0,InputLabelProps:It(),InputProps:{ref:dr,className:gt.inputRoot,startAdornment:Pe,onMouseDown:ze=>{ze.target===ze.currentTarget&&ja(ze)},...(Go||xn)&&{endAdornment:g.jsxs($0,{className:gt.endAdornment,ownerState:pt,children:[Go?g.jsx(I0,{...ft(),"aria-label":y,title:y,ownerState:pt,...Fi,className:Z(gt.clearIndicator,Fi?.className),children:d}):null,xn?g.jsx(j0,{...jt(),disabled:w,"aria-label":Et?h:Oe,title:Et?h:Oe,ownerState:pt,...zi,className:Z(gt.popupIndicator,zi?.className),children:we}):null]})}},inputProps:{className:gt.input,disabled:w,readOnly:ye,...Je()}})}),No?g.jsx(N0,{as:V,...de,children:g.jsxs(M0,{as:pr,...q,children:[K&&qo.length===0?g.jsx(A0,{className:gt.loading,ownerState:pt,children:z}):null,qo.length===0&&!M&&!K?g.jsx(L0,{className:gt.noOptions,ownerState:pt,role:"presentation",onMouseDown:ze=>{ze.preventDefault()},children:ce}):null,qo.length>0?g.jsx(La,{as:ee,...Sn,children:qo.map((ze,So)=>W?it({key:ze.key,group:ze.group,children:ze.options.map((wo,wn)=>Bi(wo,ze.index+wn))}):Bi(ze,So))}):null]})}):null]})});process.env.NODE_ENV!=="production"&&(gd.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:St(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(`
|
|
313
|
+
`)):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:li,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:St(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(`
|
|
314
|
+
`)):null)});const z0=e=>{const{classes:o,disableUnderline:n}=e,a=be({root:["root",!n&&"underline"],input:["input"]},T0,o);return{...o,...a}},V0=L(va,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[...ba(e,o),!n.disableUnderline&&o.underline]}})(pe(({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"},[`&.${Oo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Oo.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(.${Oo.disabled}, .${Oo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Oo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ve()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),_0=L(xa,{name:"MuiInput",slot:"Input",overridesResolver:ya})({}),Sa=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiInput"}),{disableUnderline:a=!1,components:s={},componentsProps:i,fullWidth:l=!1,inputComponent:c="input",multiline:u=!1,slotProps:d,slots:f={},type:b="text",...y}=r,h=z0(r),v={root:{ownerState:{disableUnderline:a}}},x=d??i?bt(d??i,v):v,O=f.root??s.Root??V0,w=f.input??s.Input??_0;return g.jsx(Ca,{slots:{root:O,input:w},slotProps:x,fullWidth:l,inputComponent:c,multiline:u,ref:n,type:b,...y,classes:h})});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}),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:Ot,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});Sa.muiName="Input";const W0=e=>{const{classes:o,disableUnderline:n,startAdornment:r,endAdornment:a,size:s,hiddenLabel:i,multiline:l}=e,c={root:["root",!n&&"underline",r&&"adornedStart",a&&"adornedEnd",s==="small"&&`size${B(s)}`,i&&"hiddenLabel",l&&"multiline"],input:["input"]},u=be(c,E0,o);return{...o,...u}},U0=L(va,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[...ba(e,o),!n.disableUnderline&&o.underline]}})(pe(({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)",s=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}},[`&.${At.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${At.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s},variants:[{props:({ownerState:i})=>!i.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"},[`&.${At.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${At.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(.${At.disabled}, .${At.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${At.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(Ve()).map(([i])=>({props:{disableUnderline:!1,color:i},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[i]?.main}`}}})),{props:({ownerState:i})=>i.startAdornment,style:{paddingLeft:12}},{props:({ownerState:i})=>i.endAdornment,style:{paddingRight:12}},{props:({ownerState:i})=>i.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:i,size:l})=>i.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:i})=>i.multiline&&i.hiddenLabel&&i.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),H0=L(xa,{name:"MuiFilledInput",slot:"Input",overridesResolver:ya})(pe(({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}}]}))),wa=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFilledInput"}),{disableUnderline:a=!1,components:s={},componentsProps:i,fullWidth:l=!1,hiddenLabel:c,inputComponent:u="input",multiline:d=!1,slotProps:f,slots:b={},type:y="text",...h}=r,p={...r,disableUnderline:a,fullWidth:l,inputComponent:u,multiline:d,type:y},v=W0(r),x={root:{ownerState:p},input:{ownerState:p}},O=f??i?bt(x,f??i):x,w=b.root??s.Root??U0,S=b.input??s.Input??H0;return g.jsx(Ca,{slots:{root:w,input:S},slotProps:O,fullWidth:l,inputComponent:u,multiline:d,ref:n,type:y,...h,classes:v})});process.env.NODE_ENV!=="production"&&(wa.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:Ot,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});wa.muiName="Input";var ac;const q0=L("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:yt})({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%"}),G0=L("legend",{name:"MuiNotchedOutlined",shouldForwardProp:yt})(pe(({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 hd(e){const{children:o,classes:n,className:r,label:a,notched:s,...i}=e,l=a!=null&&a!=="",c={...e,notched:s,withLabel:l};return g.jsx(q0,{"aria-hidden":!0,className:r,ownerState:c,...i,children:g.jsx(G0,{ownerState:c,children:l?g.jsx("span",{children:a}):ac||(ac=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:""}))})})}process.env.NODE_ENV!=="production"&&(hd.propTypes={children:t.node,classes:t.object,className:t.string,label:t.node,notched:t.bool.isRequired,style:t.object});const K0=e=>{const{classes:o}=e,r=be({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},O0,o);return{...o,...r}},Y0=L(va,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ba})(pe(({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 .${Ft.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ft.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):o}},[`&.${Ft.focused} .${Ft.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(Ve()).map(([n])=>({props:{color:n},style:{[`&.${Ft.focused} .${Ft.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${Ft.error} .${Ft.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ft.disabled} .${Ft.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"}}]}})),X0=L(hd,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(pe(({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}})),J0=L(xa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ya})(pe(({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}}]}))),Ta=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiOutlinedInput"}),{components:a={},fullWidth:s=!1,inputComponent:i="input",label:l,multiline:c=!1,notched:u,slots:d={},slotProps:f={},type:b="text",...y}=r,h=K0(r),p=Zt(),v=jo({props:r,muiFormControl:p,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:p,fullWidth:s,hiddenLabel:v.hiddenLabel,multiline:c,size:v.size,type:b},O=d.root??a.Root??Y0,w=d.input??a.Input??J0,[S,T]=fe("notchedOutline",{elementType:X0,className:h.notchedOutline,shouldForwardComponentProp:!0,ownerState:x,externalForwardedProps:{slots:d,slotProps:f},additionalProps:{label:l!=null&&l!==""&&v.required?g.jsxs(C.Fragment,{children:[l," ","*"]}):l}});return g.jsx(Ca,{slots:{root:O,input:w},slotProps:f,renderSuffix:E=>g.jsx(S,{...T,notched:typeof u<"u"?u:!!(E.startAdornment||E.filled||E.focused)}),fullWidth:s,inputComponent:i,multiline:c,ref:n,type:b,...y,classes:{...h,notchedOutline:null}})});process.env.NODE_ENV!=="production"&&(Ta.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:Ot,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});Ta.muiName="Input";function Z0(e){return me("MuiFormLabel",e)}const _n=ge("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Q0=e=>{const{classes:o,color:n,focused:r,disabled:a,error:s,filled:i,required:l}=e,c={root:["root",`color${B(n)}`,a&&"disabled",s&&"error",i&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",s&&"error"]};return be(c,Z0,o)},ex=L("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.color==="secondary"&&o.colorSecondary,n.filled&&o.filled]}})(pe(({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(Ve()).map(([o])=>({props:{color:o},style:{[`&.${_n.focused}`]:{color:(e.vars||e).palette[o].main}}})),{props:{},style:{[`&.${_n.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${_n.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),tx=L("span",{name:"MuiFormLabel",slot:"Asterisk"})(pe(({theme:e})=>({[`&.${_n.error}`]:{color:(e.vars||e).palette.error.main}}))),wi=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormLabel"}),{children:a,className:s,color:i,component:l="label",disabled:c,error:u,filled:d,focused:f,required:b,...y}=r,h=Zt(),p=jo({props:r,muiFormControl:h,states:["color","required","focused","disabled","error","filled"]}),v={...r,color:p.color||"primary",component:l,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required},x=Q0(v);return g.jsxs(ex,{as:l,ownerState:v,className:Z(x.root,s),ref:n,...y,children:[a,p.required&&g.jsxs(tx,{ownerState:v,"aria-hidden":!0,className:x.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(wi.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 ox(e){return me("MuiInputLabel",e)}ge("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const nx=e=>{const{classes:o,formControl:n,size:r,shrink:a,disableAnimation:s,variant:i,required:l}=e,c={root:["root",n&&"formControl",!s&&"animated",a&&"shrink",r&&r!=="medium"&&`size${B(r)}`,i],asterisk:[l&&"asterisk"]},u=be(c,ox,o);return{...o,...u}},rx=L(wi,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${_n.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]]}})(pe(({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)"}}]}))),Ti=C.forwardRef(function(o,n){const r=ve({name:"MuiInputLabel",props:o}),{disableAnimation:a=!1,margin:s,shrink:i,variant:l,className:c,...u}=r,d=Zt();let f=i;typeof f>"u"&&d&&(f=d.filled||d.focused||d.adornedStart);const b=jo({props:r,muiFormControl:d,states:["size","variant","required","focused"]}),y={...r,disableAnimation:a,formControl:d,shrink:f,size:b.size,variant:b.variant,required:b.required,focused:b.focused},h=nx(y);return g.jsx(rx,{"data-shrink":f,ref:n,className:Z(h.root,c),...u,ownerState:y,classes:h})});process.env.NODE_ENV!=="production"&&(Ti.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 ax(e){return me("MuiFormControl",e)}ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const sx=e=>{const{classes:o,margin:n,fullWidth:r}=e,a={root:["root",n!=="none"&&`margin${B(n)}`,r&&"fullWidth"]};return be(a,ax,o)},ix=L("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`margin${B(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%"}}]}),Oa=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormControl"}),{children:a,className:s,color:i="primary",component:l="div",disabled:c=!1,error:u=!1,focused:d,fullWidth:f=!1,hiddenLabel:b=!1,margin:y="none",required:h=!1,size:p="medium",variant:v="outlined",...x}=r,O={...r,color:i,component:l,disabled:c,error:u,fullWidth:f,hiddenLabel:b,margin:y,required:h,size:p,variant:v},w=sx(O),[S,T]=C.useState(()=>{let R=!1;return a&&C.Children.forEach(a,W=>{if(!Fn(W,["Input","Select"]))return;const G=Fn(W,["Select"])?W.props.input:W;G&&C0(G.props)&&(R=!0)}),R}),[E,k]=C.useState(()=>{let R=!1;return a&&C.Children.forEach(a,W=>{Fn(W,["Input","Select"])&&(Vr(W.props,!0)||Vr(W.props.inputProps,!0))&&(R=!0)}),R}),[$,N]=C.useState(!1);c&&$&&N(!1);const M=d!==void 0&&!c?d:$;let D;const m=C.useRef(!1);process.env.NODE_ENV!=="production"&&(D=()=>(m.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
315
|
+
`)),m.current=!0,()=>{m.current=!1}));const I=C.useCallback(()=>{k(!0)},[]),P=C.useCallback(()=>{k(!1)},[]),j=C.useMemo(()=>({adornedStart:S,setAdornedStart:T,color:i,disabled:c,error:u,filled:E,focused:M,fullWidth:f,hiddenLabel:b,size:p,onBlur:()=>{N(!1)},onFocus:()=>{N(!0)},onEmpty:P,onFilled:I,registerEffect:D,required:h,variant:v}),[S,i,c,u,E,M,f,b,D,P,I,h,p,v]);return g.jsx(ur.Provider,{value:j,children:g.jsx(ix,{as:l,ownerState:O,className:Z(w.root,s),ref:n,...x,children:a})})});process.env.NODE_ENV!=="production"&&(Oa.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 lx(e){return me("MuiFormHelperText",e)}const sc=ge("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var ic;const cx=e=>{const{classes:o,contained:n,size:r,disabled:a,error:s,filled:i,focused:l,required:c}=e,u={root:["root",a&&"disabled",s&&"error",r&&`size${B(r)}`,n&&"contained",l&&"focused",i&&"filled",c&&"required"]};return be(u,lx,o)},ux=L("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.size&&o[`size${B(n.size)}`],n.contained&&o.contained,n.filled&&o.filled]}})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${sc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${sc.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}}]}))),Oi=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormHelperText"}),{children:a,className:s,component:i="p",disabled:l,error:c,filled:u,focused:d,margin:f,required:b,variant:y,...h}=r,p=Zt(),v=jo({props:r,muiFormControl:p,states:["variant","size","disabled","error","filled","focused","required"]}),x={...r,component:i,contained:v.variant==="filled"||v.variant==="outlined",variant:v.variant,size:v.size,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required};delete x.ownerState;const O=cx(x);return g.jsx(ux,{as:i,className:Z(O.root,s),ref:n,...h,ownerState:x,children:a===" "?ic||(ic=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):a})});process.env.NODE_ENV!=="production"&&(Oi.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 Ut=C.createContext({});process.env.NODE_ENV!=="production"&&(Ut.displayName="ListContext");function dx(e){return me("MuiList",e)}ge("MuiList",["root","padding","dense","subheader"]);const px=e=>{const{classes:o,disablePadding:n,dense:r,subheader:a}=e;return be({root:["root",!n&&"padding",r&&"dense",a&&"subheader"]},dx,o)},fx=L("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}}]}),Ei=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiList"}),{children:a,className:s,component:i="ul",dense:l=!1,disablePadding:c=!1,subheader:u,...d}=r,f=C.useMemo(()=>({dense:l}),[l]),b={...r,component:i,dense:l,disablePadding:c},y=px(b);return g.jsx(Ut.Provider,{value:f,children:g.jsxs(fx,{as:i,className:Z(y.root,s),ref:n,ownerState:b,...d,children:[u,a]})})});process.env.NODE_ENV!=="production"&&(Ei.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 An(e){let o=e.activeElement;for(;o?.shadowRoot?.activeElement!=null;)o=o.shadowRoot.activeElement;return o}function bd(e=window){const o=e.document.documentElement.clientWidth;return e.innerWidth-o}function os(e,o,n){return e===o?e.firstChild:o&&o.nextElementSibling?o.nextElementSibling:n?null:e.firstChild}function lc(e,o,n){return e===o?n?e.firstChild:e.lastChild:o&&o.previousElementSibling?o.previousElementSibling:n?null:e.lastChild}function yd(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 kn(e,o,n,r,a,s){let i=!1,l=a(e,o,o?n:!1);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const c=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!yd(l,s)||c)l=a(e,l,n);else return l.focus(),!0}return!1}const vd=C.forwardRef(function(o,n){const{actions:r,autoFocus:a=!1,autoFocusItem:s=!1,children:i,className:l,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:d,variant:f="selectedMenu",...b}=o,y=C.useRef(null),h=C.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Ht(()=>{a&&y.current.focus()},[a]),C.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(w,{direction:S})=>{const T=!y.current.style.width;if(w.clientHeight<y.current.clientHeight&&T){const E=`${bd(go(w))}px`;y.current.style[S==="rtl"?"paddingLeft":"paddingRight"]=E,y.current.style.width=`calc(100% + ${E})`}return y.current}}),[]);const p=w=>{const S=y.current,T=w.key;if(w.ctrlKey||w.metaKey||w.altKey){d&&d(w);return}const k=An(dt(S));if(T==="ArrowDown")w.preventDefault(),kn(S,k,u,c,os);else if(T==="ArrowUp")w.preventDefault(),kn(S,k,u,c,lc);else if(T==="Home")w.preventDefault(),kn(S,null,u,c,os);else if(T==="End")w.preventDefault(),kn(S,null,u,c,lc);else if(T.length===1){const $=h.current,N=T.toLowerCase(),M=performance.now();$.keys.length>0&&(M-$.lastTime>500?($.keys=[],$.repeating=!0,$.previousKeyMatched=!0):$.repeating&&N!==$.keys[0]&&($.repeating=!1)),$.lastTime=M,$.keys.push(N);const D=k&&!$.repeating&&yd(k,$);$.previousKeyMatched&&(D||kn(S,k,!1,c,os,$))?w.preventDefault():$.previousKeyMatched=!1}d&&d(w)},v=et(y,n);let x=-1;C.Children.forEach(i,(w,S)=>{if(!C.isValidElement(w)){x===S&&(x+=1,x>=i.length&&(x=-1));return}process.env.NODE_ENV!=="production"&&Po.isFragment(w)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
316
|
+
`)),w.props.disabled||(f==="selectedMenu"&&w.props.selected||x===-1)&&(x=S),x===S&&(w.props.disabled||w.props.muiSkipListHighlight||w.type.muiSkipListHighlight)&&(x+=1,x>=i.length&&(x=-1))});const O=C.Children.map(i,(w,S)=>{if(S===x){const T={};return s&&(T.autoFocus=!0),w.props.tabIndex===void 0&&f==="selectedMenu"&&(T.tabIndex=0),C.cloneElement(w,T)}return w});return g.jsx(Ei,{role:"menu",ref:v,className:l,onKeyDown:p,tabIndex:a?0:-1,...b,children:O})});process.env.NODE_ENV!=="production"&&(vd.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 mx(e){const o=dt(e);return o.body===e?go(e).innerWidth>o.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Wn(e,o){o?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function cc(e){return parseInt(go(e).getComputedStyle(e).paddingRight,10)||0}function gx(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 uc(e,o,n,r,a){const s=[o,n,...r];[].forEach.call(e.children,i=>{const l=!s.includes(i),c=!gx(i);l&&c&&Wn(i,a)})}function ns(e,o){let n=-1;return e.some((r,a)=>o(r)?(n=a,!0):!1),n}function hx(e,o){const n=[],r=e.container;if(!o.disableScrollLock){if(mx(r)){const i=bd(go(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${cc(r)+i}px`;const l=dt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${cc(c)+i}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=dt(r).body;else{const i=r.parentElement,l=go(r);s=i?.nodeName==="HTML"&&l.getComputedStyle(i).overflowY==="scroll"?i:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:i,property:l})=>{s?i.style.setProperty(l,s):i.style.removeProperty(l)})}}function bx(e){const o=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&o.push(n)}),o}class yx{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&&Wn(o.modalRef,!1);const a=bx(n);uc(n,o.mount,o.modalRef,a,!0);const s=ns(this.containers,i=>i.container===n);return s!==-1?(this.containers[s].modals.push(o),r):(this.containers.push({modals:[o],container:n,restore:null,hiddenSiblings:a}),r)}mount(o,n){const r=ns(this.containers,s=>s.modals.includes(o)),a=this.containers[r];a.restore||(a.restore=hx(a,n))}remove(o,n=!0){const r=this.modals.indexOf(o);if(r===-1)return r;const a=ns(this.containers,i=>i.modals.includes(o)),s=this.containers[a];if(s.modals.splice(s.modals.indexOf(o),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),o.modalRef&&Wn(o.modalRef,n),uc(s.container,o.mount,o.modalRef,s.hiddenSiblings,!1),this.containers.splice(a,1);else{const i=s.modals[s.modals.length-1];i.modalRef&&Wn(i.modalRef,!1)}return r}isTopModal(o){return this.modals.length>0&&this.modals[this.modals.length-1]===o}}const vx=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xx(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 Cx(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 Sx(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Cx(e))}function wx(e){const o=[],n=[];return Array.from(e.querySelectorAll(vx)).forEach((r,a)=>{const s=xx(r);s===-1||!Sx(r)||(s===0?o.push(r):n.push({documentOrder:a,tabIndex:s,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 Tx(){return!0}function _r(e){const{children:o,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:a=!1,getTabbable:s=wx,isEnabled:i=Tx,open:l}=e,c=C.useRef(!1),u=C.useRef(null),d=C.useRef(null),f=C.useRef(null),b=C.useRef(null),y=C.useRef(!1),h=C.useRef(null),p=et(vn(o),h),v=C.useRef(null);C.useEffect(()=>{!l||!h.current||(y.current=!n)},[n,l]),C.useEffect(()=>{if(!l||!h.current)return;const w=dt(h.current),S=An(w);return h.current.contains(S)||(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(`
|
|
317
|
+
`)),h.current.setAttribute("tabIndex","-1")),y.current&&h.current.focus()),()=>{a||(f.current&&f.current.focus&&(c.current=!0,f.current.focus()),f.current=null)}},[l]),C.useEffect(()=>{if(!l||!h.current)return;const w=dt(h.current),S=An(w),T=$=>{v.current=$,!(r||!i()||$.key!=="Tab")&&S===h.current&&$.shiftKey&&(c.current=!0,d.current&&d.current.focus())},E=()=>{const $=h.current;if($===null)return;const N=An(w);if(!w.hasFocus()||!i()||c.current){c.current=!1;return}if($.contains(N)||r&&N!==u.current&&N!==d.current)return;if(N!==b.current)b.current=null;else if(b.current!==null)return;if(!y.current)return;let M=[];if((N===u.current||N===d.current)&&(M=s(h.current)),M.length>0){const D=!!(v.current?.shiftKey&&v.current?.key==="Tab"),m=M[0],I=M[M.length-1];typeof m!="string"&&typeof I!="string"&&(D?I.focus():m.focus())}else $.focus()};w.addEventListener("focusin",E),w.addEventListener("keydown",T,!0);const k=setInterval(()=>{const $=An(w);$&&$.tagName==="BODY"&&E()},50);return()=>{clearInterval(k),w.removeEventListener("focusin",E),w.removeEventListener("keydown",T,!0)}},[n,r,a,i,l,s]);const x=w=>{f.current===null&&(f.current=w.relatedTarget),y.current=!0,b.current=w.target;const S=o.props.onFocus;S&&S(w)},O=w=>{f.current===null&&(f.current=w.relatedTarget),y.current=!0};return g.jsxs(C.Fragment,{children:[g.jsx("div",{tabIndex:l?0:-1,onFocus:O,ref:u,"data-testid":"sentinelStart"}),C.cloneElement(o,{ref:p,onFocus:x}),g.jsx("div",{tabIndex:l?0:-1,onFocus:O,ref:d,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(_r.propTypes={children:yn,disableAutoFocus:t.bool,disableEnforceFocus:t.bool,disableRestoreFocus:t.bool,getTabbable:t.func,isEnabled:t.func,open:t.bool.isRequired});process.env.NODE_ENV!=="production"&&(_r.propTypes=Ys(_r.propTypes));const Ox={entering:{opacity:1},entered:{opacity:1}},Wr=C.forwardRef(function(o,n){const r=xo(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:i=!0,children:l,easing:c,in:u,onEnter:d,onEntered:f,onEntering:b,onExit:y,onExited:h,onExiting:p,style:v,timeout:x=a,TransitionComponent:O=Jt,...w}=o,S=C.useRef(null),T=et(S,vn(l),n),E=P=>j=>{if(P){const R=S.current;j===void 0?P(R):P(R,j)}},k=E(b),$=E((P,j)=>{Vu(P);const R=pn({style:v,timeout:x,easing:c},{mode:"enter"});P.style.webkitTransition=r.transitions.create("opacity",R),P.style.transition=r.transitions.create("opacity",R),d&&d(P,j)}),N=E(f),M=E(p),D=E(P=>{const j=pn({style:v,timeout:x,easing:c},{mode:"exit"});P.style.webkitTransition=r.transitions.create("opacity",j),P.style.transition=r.transitions.create("opacity",j),y&&y(P)}),m=E(h),I=P=>{s&&s(S.current,P)};return g.jsx(O,{appear:i,in:u,nodeRef:S,onEnter:$,onEntered:N,onEntering:k,onExit:D,onExited:m,onExiting:M,addEndListener:I,timeout:x,...w,children:(P,{ownerState:j,...R})=>C.cloneElement(l,{style:{opacity:0,visibility:P==="exited"&&!u?"hidden":void 0,...Ox[P],...v,...l.props.style},ref:T,...R})})});process.env.NODE_ENV!=="production"&&(Wr.propTypes={addEndListener:t.func,appear:t.bool,children:yn.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 Ex(e){return me("MuiBackdrop",e)}ge("MuiBackdrop",["root","invisible"]);const Px=e=>{const{classes:o,invisible:n}=e;return be({root:["root",n&&"invisible"]},Ex,o)},kx=L("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"}}]}),Pi=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiBackdrop"}),{children:a,className:s,component:i="div",invisible:l=!1,open:c,components:u={},componentsProps:d={},slotProps:f={},slots:b={},TransitionComponent:y,transitionDuration:h,...p}=r,v={...r,component:i,invisible:l},x=Px(v),O={transition:y,root:u.Root,...b},w={...d,...f},S={component:i,slots:O,slotProps:w},[T,E]=fe("root",{elementType:kx,externalForwardedProps:S,className:Z(x.root,s),ownerState:v}),[k,$]=fe("transition",{elementType:Wr,externalForwardedProps:S,ownerState:v});return g.jsx(k,{in:c,timeout:h,...p,...$,children:g.jsx(T,{"aria-hidden":!0,...E,classes:x,ref:n,children:a})})});process.env.NODE_ENV!=="production"&&(Pi.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 Rx(e){return typeof e=="function"?e():e}function $x(e){return e?e.props.hasOwnProperty("in"):!1}const dc=()=>{},xr=new yx;function Ix(e){const{container:o,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:i,children:l,onClose:c,open:u,rootRef:d}=e,f=C.useRef({}),b=C.useRef(null),y=C.useRef(null),h=et(y,d),[p,v]=C.useState(!u),x=$x(l);let O=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(O=!1);const w=()=>dt(b.current),S=()=>(f.current.modalRef=y.current,f.current.mount=b.current,f.current),T=()=>{xr.mount(S(),{disableScrollLock:r}),y.current&&(y.current.scrollTop=0)},E=Ct(()=>{const j=Rx(o)||w().body;xr.add(S(),j),y.current&&T()}),k=()=>xr.isTopModal(S()),$=Ct(j=>{b.current=j,j&&(u&&k()?T():y.current&&Wn(y.current,O))}),N=C.useCallback(()=>{xr.remove(S(),O)},[O]);C.useEffect(()=>()=>{N()},[N]),C.useEffect(()=>{u?E():(!x||!a)&&N()},[u,N,x,a,E]);const M=j=>R=>{j.onKeyDown?.(R),!(R.key!=="Escape"||R.which===229||!k())&&(n||(R.stopPropagation(),c&&c(R,"escapeKeyDown")))},D=j=>R=>{j.onClick?.(R),R.target===R.currentTarget&&c&&c(R,"backdropClick")};return{getRootProps:(j={})=>{const R=Vo(e);delete R.onTransitionEnter,delete R.onTransitionExited;const W={...R,...j};return{role:"presentation",...W,onKeyDown:M(W),ref:h}},getBackdropProps:(j={})=>{const R=j;return{"aria-hidden":!0,...R,onClick:D(R),open:u}},getTransitionProps:()=>{const j=()=>{v(!1),s&&s()},R=()=>{v(!0),i&&i(),a&&N()};return{onEnter:is(j,l?.props.onEnter??dc),onExited:is(R,l?.props.onExited??dc)}},rootRef:h,portalRef:$,isTopModal:k,exited:p,hasTransition:x}}function jx(e){return me("MuiModal",e)}ge("MuiModal",["root","hidden","backdrop"]);const Nx=e=>{const{open:o,exited:n,classes:r}=e;return be({root:["root",!o&&n&&"hidden"],backdrop:["backdrop"]},jx,r)},Mx=L("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.open&&n.exited&&o.hidden]}})(pe(({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"}}]}))),Ax=L(Pi,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),ki=C.forwardRef(function(o,n){const r=ve({name:"MuiModal",props:o}),{BackdropComponent:a=Ax,BackdropProps:s,classes:i,className:l,closeAfterTransition:c=!1,children:u,container:d,component:f,components:b={},componentsProps:y={},disableAutoFocus:h=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:v=!1,disablePortal:x=!1,disableRestoreFocus:O=!1,disableScrollLock:w=!1,hideBackdrop:S=!1,keepMounted:T=!1,onClose:E,onTransitionEnter:k,onTransitionExited:$,open:N,slotProps:M={},slots:D={},theme:m,...I}=r,P={...r,closeAfterTransition:c,disableAutoFocus:h,disableEnforceFocus:p,disableEscapeKeyDown:v,disablePortal:x,disableRestoreFocus:O,disableScrollLock:w,hideBackdrop:S,keepMounted:T},{getRootProps:j,getBackdropProps:R,getTransitionProps:W,portalRef:G,isTopModal:H,exited:F,hasTransition:A}=Ix({...P,rootRef:n}),X={...P,exited:F},ee=Nx(X),se={};if(u.props.tabIndex===void 0&&(se.tabIndex="-1"),A){const{onEnter:Y,onExited:le}=W();se.onEnter=Y,se.onExited=le}const K={slots:{root:b.Root,backdrop:b.Backdrop,...D},slotProps:{...y,...M}},[z,oe]=fe("root",{ref:n,elementType:Mx,externalForwardedProps:{...K,...I,component:f},getSlotProps:j,ownerState:X,className:Z(l,ee?.root,!X.open&&X.exited&&ee?.hidden)}),[ce,J]=fe("backdrop",{ref:s?.ref,elementType:a,externalForwardedProps:K,shouldForwardComponentProp:!0,additionalProps:s,getSlotProps:Y=>R({...Y,onClick:le=>{Y?.onClick&&Y.onClick(le)}}),className:Z(s?.className,ee?.backdrop),ownerState:X});return!T&&!N&&(!A||F)?null:g.jsx(Zn,{ref:G,container:d,disablePortal:x,children:g.jsxs(z,{...oe,children:[!S&&a?g.jsx(ce,{...J}):null,g.jsx(_r,{disableEnforceFocus:p,disableAutoFocus:h,disableRestoreFocus:O,isEnabled:H,open:N,children:C.cloneElement(u,se)})]})})});process.env.NODE_ENV!=="production"&&(ki.propTypes={BackdropComponent:t.elementType,BackdropProps:t.object,children:yn.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([bo,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 Lx(e){return me("MuiPopover",e)}ge("MuiPopover",["root","paper"]);function pc(e,o){let n=0;return typeof o=="number"?n=o:o==="center"?n=e.height/2:o==="bottom"&&(n=e.height),n}function fc(e,o){let n=0;return typeof o=="number"?n=o:o==="center"?n=e.width/2:o==="right"&&(n=e.width),n}function mc(e){return[e.horizontal,e.vertical].map(o=>typeof o=="number"?`${o}px`:o).join(" ")}function Ln(e){return typeof e=="function"?e():e}const Dx=e=>{const{classes:o}=e;return be({root:["root"],paper:["paper"]},Lx,o)},Bx=L(ki,{name:"MuiPopover",slot:"Root"})({}),xd=L(uo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Cd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiPopover"}),{action:a,anchorEl:s,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:c="anchorEl",children:u,className:d,container:f,elevation:b=8,marginThreshold:y=16,open:h,PaperProps:p={},slots:v={},slotProps:x={},transformOrigin:O={vertical:"top",horizontal:"left"},TransitionComponent:w,transitionDuration:S="auto",TransitionProps:T={},disableScrollLock:E=!1,...k}=r,$=C.useRef(),N={...r,anchorOrigin:i,anchorReference:c,elevation:b,marginThreshold:y,transformOrigin:O,TransitionComponent:w,transitionDuration:S,TransitionProps:T},M=Dx(N),D=C.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 Y=Ln(s),le=Y&&Y.nodeType===1?Y:dt($.current).body,U=le.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const ae=le.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ae.top===0&&ae.left===0&&ae.right===0&&ae.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(`
|
|
318
|
+
`))}return{top:U.top+pc(U,i.vertical),left:U.left+fc(U,i.horizontal)}},[s,i.horizontal,i.vertical,l,c]),m=C.useCallback(Y=>({vertical:pc(Y,O.vertical),horizontal:fc(Y,O.horizontal)}),[O.horizontal,O.vertical]),I=C.useCallback(Y=>{const le={width:Y.offsetWidth,height:Y.offsetHeight},U=m(le);if(c==="none")return{top:null,left:null,transformOrigin:mc(U)};const ae=D();let ie=ae.top-U.vertical,ue=ae.left-U.horizontal;const Oe=ie+le.height,Ee=ue+le.width,ne=go(Ln(s)),Be=ne.innerHeight-y,we=ne.innerWidth-y;if(y!==null&&ie<y){const ye=ie-y;ie-=ye,U.vertical+=ye}else if(y!==null&&Oe>Be){const ye=Oe-Be;ie-=ye,U.vertical+=ye}if(process.env.NODE_ENV!=="production"&&le.height>Be&&le.height&&Be&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${le.height-Be}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
319
|
+
`)),y!==null&&ue<y){const ye=ue-y;ue-=ye,U.horizontal+=ye}else if(Ee>we){const ye=Ee-we;ue-=ye,U.horizontal+=ye}return{top:`${Math.round(ie)}px`,left:`${Math.round(ue)}px`,transformOrigin:mc(U)}},[s,c,D,m,y]),[P,j]=C.useState(h),R=C.useCallback(()=>{const Y=$.current;if(!Y)return;const le=I(Y);le.top!==null&&Y.style.setProperty("top",le.top),le.left!==null&&(Y.style.left=le.left),Y.style.transformOrigin=le.transformOrigin,j(!0)},[I]);C.useEffect(()=>(E&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[s,E,R]);const W=()=>{R()},G=()=>{j(!1)};C.useEffect(()=>{h&&R()}),C.useImperativeHandle(a,()=>h?{updatePosition:()=>{R()}}:null,[h,R]),C.useEffect(()=>{if(!h)return;const Y=pu(()=>{R()}),le=go(Ln(s));return le.addEventListener("resize",Y),()=>{Y.clear(),le.removeEventListener("resize",Y)}},[s,h,R]);let H=S;const F={slots:{transition:w,...v},slotProps:{transition:T,paper:p,...x}},[A,X]=fe("transition",{elementType:Yn,externalForwardedProps:F,ownerState:N,getSlotProps:Y=>({...Y,onEntering:(le,U)=>{Y.onEntering?.(le,U),W()},onExited:le=>{Y.onExited?.(le),G()}}),additionalProps:{appear:!0,in:h}});S==="auto"&&!A.muiSupportAuto&&(H=void 0);const ee=f||(s?dt(Ln(s)).body:void 0),[se,{slots:K,slotProps:z,...oe}]=fe("root",{ref:n,elementType:Bx,externalForwardedProps:{...F,...k},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:v.backdrop},slotProps:{backdrop:fu(typeof x.backdrop=="function"?x.backdrop(N):x.backdrop,{invisible:!0})},container:ee,open:h},ownerState:N,className:Z(M.root,d)}),[ce,J]=fe("paper",{ref:$,className:M.paper,elementType:xd,externalForwardedProps:F,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:P?void 0:{opacity:0}},ownerState:N});return g.jsx(se,{...oe,...!ao(se)&&{slots:K,slotProps:z,disableScrollLock:E},children:g.jsx(A,{...X,timeout:H,children:g.jsx(ce,{...J,children:u})})})});process.env.NODE_ENV!=="production"&&(Cd.propTypes={action:Ot,anchorEl:St(t.oneOfType([bo,t.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const o=Ln(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(`
|
|
320
320
|
`))}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(`
|
|
321
|
-
`))}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([
|
|
322
|
-
`)),H.props.disabled||(
|
|
323
|
-
`));let je;if(O){if(!Array.isArray(A))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":
|
|
324
|
-
`))}},[Te,ne,O,w,A]),xe&&(O?Q.length===0?Ie=null:Ie=Q.reduce((Ce,je,Ze)=>(Ce.push(je),Ze<Q.length-1&&Ce.push(", "),Ce),[]):Ie=te);let Se=Y;!s&&J&&oe&&(Se=se.clientWidth);let be;typeof k<"u"?be=k:be=f?null:0;const Ue=j.id||(w?`mui-component-select-${w}`:void 0),De={...o,variant:H,value:A,open:re,error:v},Je=Ox(De),It={...C.PaperProps,...typeof C.slotProps?.paper=="function"?C.slotProps.paper(De):C.slotProps?.paper},jt={...C.MenuListProps,...typeof C.slotProps?.list=="function"?C.slotProps.list(De):C.slotProps?.list},ft=vo();return m.jsxs(x.Fragment,{children:[m.jsx(Cx,{as:"div",ref:ae,tabIndex:be,role:"combobox","aria-controls":re?ft:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":re?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[y,Ue].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":P?"true":void 0,"aria-invalid":v?"true":void 0,onKeyDown:ye,onMouseDown:f||g?null:Oe,onBlur:Le,onFocus:R,...j,ownerState:De,className:Z(j.className,Je.select,c),id:Ue,children:Tx(Ie)?dc||(dc=m.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):Ie}),m.jsx(wx,{"aria-invalid":v,value:Array.isArray(A)?A.join(","):A,name:w,ref:K,"aria-hidden":!0,onChange:Be,tabIndex:-1,disabled:f,className:Je.nativeInput,autoFocus:i,required:P,...B,ownerState:De}),m.jsx(Sx,{as:b,className:Je.icon,ownerState:De}),m.jsx(rd,{id:`menu-${w||""}`,anchorEl:se,open:re,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:ft,...jt},paper:{...It,style:{minWidth:Se,...It!=null?It.style:null}}},children:ke})]})});process.env.NODE_ENV!=="production"&&(cd.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:Ot,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 Ex=e=>{const{classes:o}=e,r=he({root:["root"]},ld,o);return{...o,...r}},Ps={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>yt(e)&&e!=="variant"},Px=L(Sa,Ps)(""),kx=L(Ta,Ps)(""),Rx=L(wa,Ps)(""),Ea=x.forwardRef(function(o,n){const r=ve({name:"MuiSelect",props:o}),{autoWidth:a=!1,children:i,classes:s={},className:l,defaultOpen:c=!1,displayEmpty:d=!1,IconComponent:u=Xu,id:f,input:h,inputProps:v,label:b,labelId:p,MenuProps:y,multiple:C=!1,native:O=!1,onClose:w,onOpen:S,open:T,renderValue:E,SelectDisplayProps:R,variant:I="outlined",...N}=r,M=O?sd:cd,F=Zt(),g=jo({props:r,muiFormControl:F,states:["variant","error"]}),$=g.variant||I,P={...r,variant:$,classes:s},j=Ex(P),{root:k,...W}=j,G=h||{standard:m.jsx(Px,{ownerState:P}),outlined:m.jsx(kx,{label:b,ownerState:P}),filled:m.jsx(Rx,{ownerState:P})}[$],H=et(n,vn(G));return m.jsx(x.Fragment,{children:x.cloneElement(G,{inputComponent:M,inputProps:{children:i,error:g.error,IconComponent:u,variant:$,type:void 0,multiple:C,...O?{id:f}:{autoWidth:a,defaultOpen:c,displayEmpty:d,labelId:p,MenuProps:y,onClose:w,onOpen:S,open:T,renderValue:E,SelectDisplayProps:{id:f,...R}},...v,classes:v?ht(W,v.classes):W,...h?h.props.inputProps:{}},...(C&&O||d)&&$==="outlined"?{notched:!0}:{},ref:H,className:Z(G.props.className,l,j.root),...!h&&{variant:$},...N})})});process.env.NODE_ENV!=="production"&&(Ea.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"])});Ea.muiName="Select";function $x(e){return me("MuiTextField",e)}ge("MuiTextField",["root"]);const Ix={standard:Sa,filled:wa,outlined:Ta},jx=e=>{const{classes:o}=e;return he({root:["root"]},$x,o)},Nx=L(Oa,{name:"MuiTextField",slot:"Root"})({}),Pa=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiTextField"}),{autoComplete:a,autoFocus:i=!1,children:s,className:l,color:c="primary",defaultValue:d,disabled:u=!1,error:f=!1,FormHelperTextProps:h,fullWidth:v=!1,helperText:b,id:p,InputLabelProps:y,inputProps:C,InputProps:O,inputRef:w,label:S,maxRows:T,minRows:E,multiline:R=!1,name:I,onBlur:N,onChange:M,onFocus:F,placeholder:g,required:$=!1,rows:P,select:j=!1,SelectProps:k,slots:W={},slotProps:G={},type:H,value:B,variant:A="outlined",...X}=r,ee={...r,autoFocus:i,color:c,disabled:u,error:f,fullWidth:v,multiline:R,required:$,select:j,variant:A},ie=jx(ee);process.env.NODE_ENV!=="production"&&j&&!s&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const K=vo(p),z=b&&K?`${K}-helper-text`:void 0,oe=S&&K?`${K}-label`:void 0,ce=Ix[A],J={slots:W,slotProps:{input:O,inputLabel:y,htmlInput:C,formHelperText:h,select:k,...G}},Y={},le=J.slotProps.inputLabel;A==="outlined"&&(le&&typeof le.shrink<"u"&&(Y.notched=le.shrink),Y.label=S),j&&((!k||!k.native)&&(Y.id=void 0),Y["aria-describedby"]=void 0);const[U,ae]=fe("root",{elementType:Nx,shouldForwardComponentProp:!0,externalForwardedProps:{...J,...X},ownerState:ee,className:Z(ie.root,l),ref:n,additionalProps:{disabled:u,error:f,fullWidth:v,required:$,color:c,variant:A}}),[se,ue]=fe("input",{elementType:ce,externalForwardedProps:J,additionalProps:Y,ownerState:ee}),[Oe,Ee]=fe("inputLabel",{elementType:Cs,externalForwardedProps:J,ownerState:ee}),[ne,Be]=fe("htmlInput",{elementType:"input",externalForwardedProps:J,ownerState:ee}),[we,ye]=fe("formHelperText",{elementType:Ss,externalForwardedProps:J,ownerState:ee}),[re,Le]=fe("select",{elementType:Ea,externalForwardedProps:J,ownerState:ee}),Ie=m.jsx(se,{"aria-describedby":z,autoComplete:a,autoFocus:i,defaultValue:d,fullWidth:v,multiline:R,name:I,rows:P,maxRows:T,minRows:E,type:H,value:B,id:K,inputRef:w,onBlur:N,onChange:M,onFocus:F,placeholder:g,inputProps:Be,slots:{input:W.htmlInput?ne:void 0},...ue});return m.jsxs(U,{...ae,children:[S!=null&&S!==""&&m.jsx(Oe,{htmlFor:K,id:oe,...Ee,children:S}),j?m.jsx(re,{"aria-describedby":z,id:K,labelId:oe,value:B,input:Ie,...Le,children:s}):Ie,b&&m.jsx(we,{id:z,...ye,children:b})]})});process.env.NODE_ENV!=="production"&&(Pa.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:Ot,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"])});function Mx({label:e,placeholder:o,helperText:n,error:r,required:a,inputProps:i,renderInput:s,...l}){const c=d=>m.jsx(Pa,{...d,label:e,placeholder:o,helperText:n,error:r,required:a,...i,sx:{"& .MuiOutlinedInput-root":{borderRadius:"12px",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:u=>u.palette.mode==="dark"?"rgba(255,255,255,0.03)":"#fff",paddingRight:"30px","& fieldset":{borderColor:u=>u.palette.mode==="dark"?"rgba(255,255,255,0.15)":"#e2e8f0",borderWidth:"1px"},"&:hover fieldset":{borderColor:u=>u.palette.mode==="dark"?"rgba(255,255,255,0.4)":"#94a3b8"},"&.Mui-focused":{backgroundColor:u=>u.palette.mode==="dark"?"rgba(255,255,255,0.05)":"#fff",boxShadow:u=>u.palette.mode==="dark"?"0 4px 12px 0 rgba(0,0,0,0.4)":"0 4px 12px 0 rgba(0,0,0,0.05)"},"&.Mui-focused fieldset":{borderWidth:"2px",borderColor:"primary.main"}},"& .MuiInputLabel-root.Mui-focused":{color:"primary.main",fontWeight:600},...i?.sx}});return m.jsx(Ju,{renderInput:s||c,PaperComponent:d=>m.jsx(uo,{...d,elevation:4,sx:{borderRadius:"16px",marginTop:"8px",border:u=>`1px solid ${u.palette.mode==="dark"?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.04)"}`,boxShadow:u=>u.palette.mode==="dark"?"0 10px 40px -10px rgba(0,0,0,0.6)":"0 12px 30px -10px rgba(0,0,0,0.12)",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:u=>u.palette.mode==="dark"?"rgba(var(--mui-palette-primary-mainChannel), 0.15)":"rgba(var(--mui-palette-primary-mainChannel), 0.08)",color:"primary.main",fontWeight:600,"&.Mui-focused":{backgroundColor:u=>u.palette.mode==="dark"?"rgba(var(--mui-palette-primary-mainChannel), 0.25)":"rgba(var(--mui-palette-primary-mainChannel), 0.15)"}},"&:hover":{backgroundColor:u=>u.palette.mode==="dark"?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.04)",transform:"translateX(2px)"}},"& .MuiAutocomplete-noOptions":{color:"text.secondary",padding:"16px",textAlign:"center",fontSize:"0.9rem"}}}}),...l})}function Ax(e){return x.Children.toArray(e).filter(o=>x.isValidElement(o))}function Lx(e){return me("MuiButtonGroup",e)}const $e=ge("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"]),Dx=(e,o)=>{const{ownerState:n}=e;return[{[`& .${$e.grouped}`]:o.grouped},{[`& .${$e.grouped}`]:o[`grouped${D(n.orientation)}`]},{[`& .${$e.grouped}`]:o[`grouped${D(n.variant)}`]},{[`& .${$e.grouped}`]:o[`grouped${D(n.variant)}${D(n.orientation)}`]},{[`& .${$e.grouped}`]:o[`grouped${D(n.variant)}${D(n.color)}`]},{[`& .${$e.firstButton}`]:o.firstButton},{[`& .${$e.lastButton}`]:o.lastButton},{[`& .${$e.middleButton}`]:o.middleButton},o.root,o[n.variant],n.disableElevation===!0&&o.disableElevation,n.fullWidth&&o.fullWidth,n.orientation==="vertical"&&o.vertical]},Bx=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${D(n)}`],grouped:["grouped",`grouped${D(s)}`,`grouped${D(l)}`,`grouped${D(l)}${D(s)}`,`grouped${D(l)}${D(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return he(c,Lx,o)},Fx=L("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:Dx})(pe(({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",[`& .${$e.lastButton},& .${$e.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${$e.lastButton},& .${$e.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.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)"}`,[`&.${$e.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${$e.firstButton},& .${$e.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)"}`,[`&.${$e.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve()).flatMap(([o])=>[{props:{variant:"text",color:o},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[o].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${$e.lastButton},& .${$e.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${$e.lastButton},& .${$e.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${$e.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${$e.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve(["dark"])).map(([o])=>({props:{variant:"contained",color:o},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderColor:(e.vars||e).palette[o].dark}}}))],[`& .${$e.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),ud=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiButtonGroup"}),{children:a,className:i,color:s="primary",component:l="div",disabled:c=!1,disableElevation:d=!1,disableFocusRipple:u=!1,disableRipple:f=!1,fullWidth:h=!1,orientation:v="horizontal",size:b="medium",variant:p="outlined",...y}=r,C={...r,color:s,component:l,disabled:c,disableElevation:d,disableFocusRipple:u,disableRipple:f,fullWidth:h,orientation:v,size:b,variant:p},O=Bx(C),w=x.useMemo(()=>({className:O.grouped,color:s,disabled:c,disableElevation:d,disableFocusRipple:u,disableRipple:f,fullWidth:h,size:b,variant:p}),[s,c,d,u,f,h,b,p,O.grouped]),S=Ax(a),T=S.length,E=R=>{const I=R===0,N=R===T-1;return I&&N?"":I?O.firstButton:N?O.lastButton:O.middleButton};return m.jsx(Fx,{as:l,role:"group",className:Z(O.root,i),ref:n,ownerState:C,...y,children:m.jsx(ts.Provider,{value:w,children:S.map((R,I)=>m.jsx(os.Provider,{value:E(I),children:R},I))})})});process.env.NODE_ENV!=="production"&&(ud.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 zx=({children:e,size:o="medium",variant:n="contained",color:r="primary",...a})=>m.jsx(ud,{size:o,variant:n,color:r,...a,children:e});function Vx(e){return me("PrivateSwitchBase",e)}ge("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const _x=e=>{const{classes:o,checked:n,disabled:r,edge:a}=e,i={root:["root",n&&"checked",r&&"disabled",a&&`edge${D(a)}`],input:["input"]};return he(i,Vx,o)},Wx=L(bo,{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}}]}),Ux=L("input",{name:"MuiSwitchBase",shouldForwardProp:yt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),ka=x.forwardRef(function(o,n){const{autoFocus:r,checked:a,checkedIcon:i,defaultChecked:s,disabled:l,disableFocusRipple:c=!1,edge:d=!1,icon:u,id:f,inputProps:h,inputRef:v,name:b,onBlur:p,onChange:y,onFocus:C,readOnly:O,required:w=!1,tabIndex:S,type:T,value:E,slots:R={},slotProps:I={},...N}=o,[M,F]=mo({controlled:a,default:!!s,name:"SwitchBase",state:"checked"}),g=Zt(),$=K=>{C&&C(K),g&&g.onFocus&&g.onFocus(K)},P=K=>{p&&p(K),g&&g.onBlur&&g.onBlur(K)},j=K=>{if(K.nativeEvent.defaultPrevented)return;const z=K.target.checked;F(z),y&&y(K,z)};let k=l;g&&typeof k>"u"&&(k=g.disabled);const W=T==="checkbox"||T==="radio",G={...o,checked:M,disabled:k,disableFocusRipple:c,edge:d},H=_x(G),B={slots:R,slotProps:{input:h,...I}},[A,X]=fe("root",{ref:n,elementType:Wx,className:H.root,shouldForwardComponentProp:!0,externalForwardedProps:{...B,component:"span",...N},getSlotProps:K=>({...K,onFocus:z=>{K.onFocus?.(z),$(z)},onBlur:z=>{K.onBlur?.(z),P(z)}}),ownerState:G,additionalProps:{centerRipple:!0,focusRipple:!c,disabled:k,role:void 0,tabIndex:null}}),[ee,ie]=fe("input",{ref:v,elementType:Ux,className:H.input,externalForwardedProps:B,getSlotProps:K=>({...K,onChange:z=>{K.onChange?.(z),j(z)}}),ownerState:G,additionalProps:{autoFocus:r,checked:a,defaultChecked:s,disabled:k,id:W?f:void 0,name:b,readOnly:O,required:w,tabIndex:S,type:T,...T==="checkbox"&&E===void 0?{}:{value:E}}});return m.jsxs(A,{...X,children:[m.jsx(ee,{...ie}),M?i:u]})});process.env.NODE_ENV!=="production"&&(ka.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:Ot,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 Hx=ct(m.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"),qx=ct(m.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"),Gx=ct(m.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 Kx(e){return me("MuiCheckbox",e)}const ri=ge("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Yx=e=>{const{classes:o,indeterminate:n,color:r,size:a}=e,i={root:["root",n&&"indeterminate",`color${D(r)}`,`size${D(a)}`]},s=he(i,Kx,o);return{...o,...s}},Xx=L(ka,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.indeterminate&&o.indeterminate,o[`size${D(n.size)}`],n.color!=="default"&&o[`color${D(n.color)}`]]}})(pe(({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(Ve()).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(Ve()).map(([o])=>({props:{color:o},style:{[`&.${ri.checked}, &.${ri.indeterminate}`]:{color:(e.vars||e).palette[o].main},[`&.${ri.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Jx=m.jsx(qx,{}),Zx=m.jsx(Hx,{}),Qx=m.jsx(Gx,{}),Ur=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCheckbox"}),{checkedIcon:a=Jx,color:i="primary",icon:s=Zx,indeterminate:l=!1,indeterminateIcon:c=Qx,inputProps:d,size:u="medium",disableRipple:f=!1,className:h,slots:v={},slotProps:b={},...p}=r,y=l?c:s,C=l?c:a,O={...r,disableRipple:f,color:i,indeterminate:l,size:u},w=Yx(O),S=b.input??d,[T,E]=fe("root",{ref:n,elementType:Xx,className:Z(w.root,h),shouldForwardComponentProp:!0,externalForwardedProps:{slots:v,slotProps:b,...p},ownerState:O,additionalProps:{type:"checkbox",icon:x.cloneElement(y,{fontSize:y.props.fontSize??u}),checkedIcon:x.cloneElement(C,{fontSize:C.props.fontSize??u}),disableRipple:f,slots:v,slotProps:{input:cu(typeof S=="function"?S(O):S,{"data-indeterminate":l})}}});return m.jsx(T,{...E,classes:w})});process.env.NODE_ENV!=="production"&&(Ur.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 e1(e){return me("MuiFormControlLabel",e)}const Dn=ge("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),t1=e=>{const{classes:o,disabled:n,labelPlacement:r,error:a,required:i}=e,s={root:["root",n&&"disabled",`labelPlacement${D(r)}`,a&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",a&&"error"]};return he(s,e1,o)},o1=L("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Dn.label}`]:o.label},o.root,o[`labelPlacement${D(n.labelPlacement)}`]]}})(pe(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Dn.disabled}`]:{cursor:"default"},[`& .${Dn.label}`]:{[`&.${Dn.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}}]}))),n1=L("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(pe(({theme:e})=>({[`&.${Dn.error}`]:{color:(e.vars||e).palette.error.main}}))),Ra=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormControlLabel"}),{checked:a,className:i,componentsProps:s={},control:l,disabled:c,disableTypography:d,inputRef:u,label:f,labelPlacement:h="end",name:v,onChange:b,required:p,slots:y={},slotProps:C={},value:O,...w}=r,S=Zt(),T=c??l.props.disabled??S?.disabled,E=p??l.props.required,R={disabled:T,required:E};["checked","name","onChange","value","inputRef"].forEach(j=>{typeof l.props[j]>"u"&&typeof r[j]<"u"&&(R[j]=r[j])});const I=jo({props:r,muiFormControl:S,states:["error"]}),N={...r,disabled:T,labelPlacement:h,required:E,error:I.error},M=t1(N),F={slots:y,slotProps:{...s,...C}},[g,$]=fe("typography",{elementType:it,externalForwardedProps:F,ownerState:N});let P=f;return P!=null&&P.type!==it&&!d&&(P=m.jsx(g,{component:"span",...$,className:Z(M.label,$?.className),children:P})),m.jsxs(o1,{className:Z(M.root,i),ownerState:N,ref:n,...w,children:[x.cloneElement(l,R),E?m.jsxs("div",{children:[P,m.jsxs(n1,{ownerState:N,"aria-hidden":!0,className:M.asterisk,children:[" ","*"]})]}):P]})});process.env.NODE_ENV!=="production"&&(Ra.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:Ot,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 r1(e){return me("MuiFormGroup",e)}ge("MuiFormGroup",["root","row","error"]);const a1=e=>{const{classes:o,row:n,error:r}=e;return he({root:["root",n&&"row",r&&"error"]},r1,o)},i1=L("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"}}]}),ks=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormGroup"}),{className:a,row:i=!1,...s}=r,l=Zt(),c=jo({props:r,muiFormControl:l,states:["error"]}),d={...r,row:i,error:c.error},u=a1(d);return m.jsx(i1,{className:Z(u.root,a),ownerState:d,ref:n,...s})});process.env.NODE_ENV!=="production"&&(ks.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 dd=L("span")(({theme:e})=>({borderRadius:6,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)"}})),s1=L(dd)({backgroundColor:"#137cbd",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&::before":{display:"block",width:20,height:20,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:'""'},"input:hover ~ &":{backgroundColor:"#106ba3"}}),pd=Me.forwardRef(({label:e,labelPlacement:o,sx:n,...r},a)=>{const i=m.jsx(Ur,{ref:a,sx:{"&:hover":{bgcolor:"transparent"},...n},disableRipple:!0,color:"default",checkedIcon:m.jsx(s1,{}),icon:m.jsx(dd,{}),inputProps:{"aria-label":e||"Checkbox"},...r});return e?m.jsx(Ra,{control:i,label:e,labelPlacement:o,sx:{"& .MuiFormControlLabel-label":{fontSize:"0.95rem",fontWeight:500,userSelect:"none"}}}):i});pd.displayName="CodeplexCheckbox";function l1(e){return me("MuiInputAdornment",e)}const fc=ge("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var mc;const c1=(e,o)=>{const{ownerState:n}=e;return[o.root,o[`position${D(n.position)}`],n.disablePointerEvents===!0&&o.disablePointerEvents,o[n.variant]]},u1=e=>{const{classes:o,disablePointerEvents:n,hiddenLabel:r,position:a,size:i,variant:s}=e,l={root:["root",n&&"disablePointerEvents",a&&`position${D(a)}`,s,r&&"hiddenLabel",i&&`size${D(i)}`]};return he(l,l1,o)},d1=L("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:c1})(pe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${fc.positionStart}&:not(.${fc.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),Ai=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiInputAdornment"}),{children:a,className:i,component:s="div",disablePointerEvents:l=!1,disableTypography:c=!1,position:d,variant:u,...f}=r,h=Zt()||{};let v=u;u&&h.variant&&process.env.NODE_ENV!=="production"&&u===h.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),h&&!v&&(v=h.variant);const b={...r,hiddenLabel:h.hiddenLabel,size:h.size,disablePointerEvents:l,position:d,variant:v},p=u1(b);return m.jsx(ur.Provider,{value:null,children:m.jsx(d1,{as:s,ownerState:b,className:Z(p.root,i),ref:n,...f,children:typeof a=="string"&&!c?m.jsx(it,{color:"textSecondary",children:a}):m.jsxs(x.Fragment,{children:[d==="start"?mc||(mc=m.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):null,a]})})})});process.env.NODE_ENV!=="production"&&(Ai.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 p1=ct(m.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),f1=ct(m.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove"),m1=L(Pa)(({theme:e})=>({"& input[type=number]":{"-moz-appearance":"textfield","&::-webkit-outer-spin-button":{"-webkit-appearance":"none",margin:0},"&::-webkit-inner-spin-button":{"-webkit-appearance":"none",margin:0}}})),g1=({min:e,max:o,step:n=1,value:r,defaultValue:a,onChange:i,InputProps:s,disabled:l,...c})=>{const d=r!==void 0,[u,f]=Me.useState(d?r?.toString()??"":a?.toString()??""),h=d?r?.toString()??"":u,v=O=>{if(d||f(O),O===""){i?.(null);return}const w=parseFloat(O);isNaN(w)||i?.(w)},b=()=>{const w=parseFloat(h||"0")+n;o!==void 0&&w>o||v(w.toString())},p=()=>{const w=parseFloat(h||"0")-n;e!==void 0&&w<e||v(w.toString())},y=l||e!==void 0&&parseFloat(h||"0")<=e,C=l||o!==void 0&&parseFloat(h||"0")>=o;return m.jsx(m1,{type:"number",value:h,onChange:O=>v(O.target.value),disabled:l,InputProps:{...s,startAdornment:m.jsx(Ai,{position:"start",children:m.jsx(dn,{onClick:p,disabled:y,edge:"start",size:"small",sx:{color:"text.secondary"},children:m.jsx(f1,{fontSize:"small"})})}),endAdornment:m.jsx(Ai,{position:"end",children:m.jsx(dn,{onClick:b,disabled:C,edge:"end",size:"small",sx:{color:"text.secondary"},children:m.jsx(p1,{fontSize:"small"})})}),sx:{"& input":{textAlign:"center"},...s?.sx}},...c})},b1=ct(m.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"),h1=ct(m.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"),y1=L("span",{name:"MuiRadioButtonIcon",shouldForwardProp:yt})({position:"relative",display:"flex"}),v1=L(b1,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),x1=L(h1,{name:"MuiRadioButtonIcon"})(pe(({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 Rs(e){const{checked:o=!1,classes:n={},fontSize:r}=e,a={...e,checked:o};return m.jsxs(y1,{className:n.root,ownerState:a,children:[m.jsx(v1,{fontSize:r,className:n.background,ownerState:a}),m.jsx(x1,{fontSize:r,className:n.dot,ownerState:a})]})}process.env.NODE_ENV!=="production"&&(Rs.propTypes={checked:t.bool,classes:t.object,fontSize:t.oneOf(["small","medium"])});const $s=x.createContext(void 0);process.env.NODE_ENV!=="production"&&($s.displayName="RadioGroupContext");function C1(){return x.useContext($s)}function S1(e){return me("MuiRadio",e)}const gc=ge("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),w1=e=>{const{classes:o,color:n,size:r}=e,a={root:["root",`color${D(n)}`,r!=="medium"&&`size${D(r)}`]};return{...o,...he(a,S1,o)}},T1=L(ka,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.size!=="medium"&&o[`size${D(n.size)}`],o[`color${D(n.color)}`]]}})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${gc.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(Ve()).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(Ve()).map(([o])=>({props:{color:o,disabled:!1},style:{[`&.${gc.checked}`]:{color:(e.vars||e).palette[o].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function O1(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}const E1=m.jsx(Rs,{checked:!0}),P1=m.jsx(Rs,{}),fd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiRadio"}),{checked:a,checkedIcon:i=E1,color:s="primary",icon:l=P1,name:c,onChange:d,size:u="medium",className:f,disabled:h,disableRipple:v=!1,slots:b={},slotProps:p={},inputProps:y,...C}=r,O=Zt();let w=h;O&&typeof w>"u"&&(w=O.disabled),w??=!1;const S={...r,disabled:w,disableRipple:v,color:s,size:u},T=w1(S),E=C1();let R=a;const I=si(d,E&&E.onChange);let N=c;E&&(typeof R>"u"&&(R=O1(E.value,r.value)),typeof N>"u"&&(N=E.name));const M=p.input??y,[F,g]=fe("root",{ref:n,elementType:T1,className:Z(T.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:b,slotProps:p,...C},getSlotProps:$=>({...$,onChange:(P,...j)=>{$.onChange?.(P,...j),I(P,...j)}}),ownerState:S,additionalProps:{type:"radio",icon:x.cloneElement(l,{fontSize:l.props.fontSize??u}),checkedIcon:x.cloneElement(i,{fontSize:i.props.fontSize??u}),disabled:w,name:N,checked:R,slots:b,slotProps:{input:typeof M=="function"?M(S):M}}});return m.jsx(F,{...g,classes: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]),disabled:t.bool,disableRipple:t.bool,icon:t.node,id:t.string,inputProps:t.object,inputRef:Ot,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 k1(e){return me("MuiRadioGroup",e)}ge("MuiRadioGroup",["root","row","error"]);const R1=e=>{const{classes:o,row:n,error:r}=e;return he({root:["root",n&&"row",r&&"error"]},k1,o)},md=x.forwardRef(function(o,n){const{actions:r,children:a,className:i,defaultValue:s,name:l,onChange:c,value:d,...u}=o,f=x.useRef(null),h=R1(o),[v,b]=mo({controlled:d,default:s,name:"RadioGroup"});x.useImperativeHandle(r,()=>({focus:()=>{let O=f.current.querySelector("input:not(:disabled):checked");O||(O=f.current.querySelector("input:not(:disabled)")),O&&O.focus()}}),[]);const p=et(n,f),y=vo(l),C=x.useMemo(()=>({name:y,onChange(O){b(O.target.value),c&&c(O,O.target.value)},value:v}),[y,c,b,v]);return m.jsx($s.Provider,{value:C,children:m.jsx(ks,{role:"radiogroup",ref:p,className:Z(h.root,i),...u,children:a})})});process.env.NODE_ENV!=="production"&&(md.propTypes={children:t.node,className:t.string,defaultValue:t.any,name:t.string,onChange:t.func,value:t.any});const gd=L("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)"}})),$1=L(gd)({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"}}),Is=Me.forwardRef(({label:e,labelPlacement:o,sx:n,...r},a)=>{const i=m.jsx(fd,{ref:a,sx:{"&:hover":{bgcolor:"transparent"},...n},disableRipple:!0,color:"default",checkedIcon:m.jsx($1,{}),icon:m.jsx(gd,{}),...r});return e?m.jsx(Ra,{control:i,label:e,labelPlacement:o,sx:{"& .MuiFormControlLabel-label":{fontSize:"0.95rem",fontWeight:500,userSelect:"none"}}}):i});Is.displayName="CodeplexRadio";const I1=({label:e,options:o,children:n,...r})=>{const a=m.jsx(md,{...r,children:o?o.map(i=>m.jsx(Is,{value:i.value,label:i.label,disabled:i.disabled},i.value)):n});return e?m.jsxs(Oa,{component:"fieldset",children:[m.jsx(xs,{component:"legend",className:"mb-2 font-semibold",children:e}),a]}):a},bc=ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function j1(e){return me("MuiListItemIcon",e)}const hc=ge("MuiListItemIcon",["root","alignItemsFlexStart"]),N1=e=>{const{alignItems:o,classes:n}=e;return he({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},j1,n)},M1=L("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})(pe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),bd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemIcon"}),{className:a,...i}=r,s=x.useContext(Ut),l={...r,alignItems:s.alignItems},c=N1(l);return m.jsx(M1,{className:Z(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&(bd.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 A1(e){return me("MuiListItemText",e)}const an=ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),L1=e=>{const{classes:o,inset:n,primary:r,secondary:a,dense:i}=e;return he({root:["root",n&&"inset",i&&"dense",r&&a&&"multiline"],primary:["primary"],secondary:["secondary"]},A1,o)},D1=L("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${an.primary}`]:o.primary},{[`& .${an.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,[`.${Lr.root}:where(& .${an.primary})`]:{display:"block"},[`.${Lr.root}:where(& .${an.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),hd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemText"}),{children:a,className:i,disableTypography:s=!1,inset:l=!1,primary:c,primaryTypographyProps:d,secondary:u,secondaryTypographyProps:f,slots:h={},slotProps:v={},...b}=r,{dense:p}=x.useContext(Ut);let y=c??a,C=u;const O={...r,disableTypography:s,inset:l,primary:!!y,secondary:!!C,dense:p},w=L1(O),S={slots:h,slotProps:{primary:d,secondary:f,...v}},[T,E]=fe("root",{className:Z(w.root,i),elementType:D1,externalForwardedProps:{...S,...b},ownerState:O,ref:n}),[R,I]=fe("primary",{className:w.primary,elementType:it,externalForwardedProps:S,ownerState:O}),[N,M]=fe("secondary",{className:w.secondary,elementType:it,externalForwardedProps:S,ownerState:O});return y!=null&&y.type!==it&&!s&&(y=m.jsx(R,{variant:p?"body2":"body1",component:I?.variant?void 0:"span",...I,children:y})),C!=null&&C.type!==it&&!s&&(C=m.jsx(N,{variant:"body2",color:"textSecondary",...M,children:C})),m.jsxs(T,{...E,children:[y,C]})});process.env.NODE_ENV!=="production"&&(hd.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 B1(e){return me("MuiMenuItem",e)}const $n=ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),F1=(e,o)=>{const{ownerState:n}=e;return[o.root,n.dense&&o.dense,n.divider&&o.divider,!n.disableGutters&&o.gutters]},z1=e=>{const{disabled:o,dense:n,divider:r,disableGutters:a,selected:i,classes:s}=e,c=he({root:["root",n&&"dense",o&&"disabled",!a&&"gutters",r&&"divider",i&&"selected"]},B1,s);return{...s,...c}},V1=L(bo,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:F1})(pe(({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"}},[`&.${$n.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${$n.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${$n.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)}},[`&.${$n.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${$n.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${bc.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${bc.inset}`]:{marginLeft:52},[`& .${an.root}`]:{marginTop:0,marginBottom:0},[`& .${an.inset}`]:{paddingLeft:36},[`& .${hc.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,[`& .${hc.root} svg`]:{fontSize:"1.25rem"}}}]}))),Hr=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiMenuItem"}),{autoFocus:a=!1,component:i="li",dense:s=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:d,role:u="menuitem",tabIndex:f,className:h,...v}=r,b=x.useContext(Ut),p=x.useMemo(()=>({dense:s||b.dense||!1,disableGutters:c}),[b.dense,s,c]),y=x.useRef(null);Ht(()=>{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:p.dense,divider:l,disableGutters:c},O=z1(r),w=et(y,n);let S;return r.disabled||(S=f!==void 0?f:-1),m.jsx(Ut.Provider,{value:p,children:m.jsx(V1,{ref:w,role:u,tabIndex:S,component:i,focusVisibleClassName:Z(O.focusVisible,d),className:Z(O.root,h),...v,ownerState:C,classes:O})})});process.env.NODE_ENV!=="production"&&(Hr.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 _1=ct(m.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),W1=L(Ea)(({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)"}`}})),U1=({label:e,value:o,onChange:n,options:r=[],multiple:a=!1,helperText:i,error:s,disabled:l,required:c,placeholder:d,variant:u="outlined",displayEmpty:f,renderValue:h,children:v,sx:b,...p})=>{const y=xo(),C=E=>{if(n){const I={target:{value:Array.isArray(o)?o.filter(N=>N!==E):[],name:p.name}};n(I,null)}},O=o===""||o===null||Array.isArray(o)&&o.length===0,w=E=>{if(h)return h(E);if(a){const R=Array.isArray(E)?E:[E];return r.length>0?m.jsx(nt,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:R.map(I=>{const N=r.find(M=>M.value===I);return m.jsx(vs,{label:N?.label||I,size:"small",sx:{borderRadius:1.5},onDelete:()=>C(I),onMouseDown:M=>M.stopPropagation()},I)})}):R.join(", ")}return r.length>0?(E===""||E===null)&&d?m.jsx("span",{style:{color:y.palette.text.disabled},children:d}):r.find(I=>I.value===E)?.label||E:E},S=h||a||r.length>0,T=!O||!!d;return m.jsxs(Oa,{fullWidth:!0,error:s,disabled:l,required:c,variant:u,sx:{minWidth:120,...b},children:[e&&m.jsx(Cs,{id:`select-label-${e}`,shrink:T,children:e}),m.jsxs(W1,{labelId:e?`select-label-${e}`:void 0,label:e,value:o,onChange:n,multiple:a,displayEmpty:!!d||f,renderValue:S?w:void 0,IconComponent:_1,MenuProps:{PaperProps:{elevation:0,sx:{mt:1.5,borderRadius:3,boxShadow:"0 8px 32px rgba(0,0,0,0.12)",border:"1px solid",borderColor:y.palette.mode==="dark"?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.05)",maxHeight:320,"& .MuiMenuItem-root":{borderRadius:1.5,mx:1,my:.5,py:1,fontSize:"0.95rem",transition:"all 0.2s","&:hover":{backgroundColor:y.palette.action.hover,pl:2.5},"&.Mui-selected":{backgroundColor:y.palette.primary.light,color:y.palette.primary.contrastText,fontWeight:600,"&:hover":{backgroundColor:y.palette.primary.main}}}}}},...p,children:[d&&m.jsx(Hr,{value:"",disabled:!0,sx:{display:"none"},children:m.jsx("span",{style:{color:y.palette.text.disabled},children:d})}),r.length>0?r.map(E=>m.jsx(Hr,{value:E.value,disabled:E.disabled,children:E.label},E.value)):v]}),i&&m.jsx(Ss,{children:i})]})};function H1(e,o,n=(r,a)=>r===a){return e.length===o.length&&e.every((r,a)=>n(r,o[a]))}const q1=2;function tn(e,o,n,r,a){return n===1?Math.min(e+o,a):Math.max(e-o,r)}function yd(e,o){return e-o}function yc(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 Cr(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 qr(e,o,n){return(e-o)*100/(n-o)}function G1(e,o,n){return(n-o)*e+o}function K1(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 Y1(e,o,n){const r=Math.round((e-n)/o)*o+n;return Number(r.toFixed(K1(o)))}function vc({values:e,newValue:o,index:n}){const r=e.slice();return r[n]=o,r.sort(yd)}function Sr({sliderRef:e,activeIndex:o,setActive:n}){const r=dt(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 wr(e,o){return typeof e=="number"&&typeof o=="number"?e===o:typeof e=="object"&&typeof o=="object"?H1(e,o):!1}const X1={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}%`})}},J1=e=>e;let Tr;function xc(){return Tr===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Tr=CSS.supports("touch-action","none"):Tr=!0),Tr}function Z1(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:u,onChangeCommitted:f,orientation:h="horizontal",rootRef:v,scale:b=J1,step:p=1,shiftStep:y=10,tabIndex:C,value:O}=e,w=x.useRef(void 0),[S,T]=x.useState(-1),[E,R]=x.useState(-1),[I,N]=x.useState(!1),M=x.useRef(0),F=x.useRef(null),[g,$]=mo({controlled:O,default:n??c,name:"Slider"}),P=u&&((te,Q,xe)=>{const Te=te.nativeEvent||te,ke=new Te.constructor(Te.type,Te);Object.defineProperty(ke,"target",{writable:!0,value:{value:Q,name:d}}),F.current=Q,u(ke,Q,xe)}),j=Array.isArray(g);let k=j?g.slice().sort(yd):[g];k=k.map(te=>te==null?c:Bo(te,c,l));const W=s===!0&&p!==null?[...Array(Math.floor((l-c)/p)+1)].map((te,Q)=>({value:c+p*Q})):s||[],G=W.map(te=>te.value),[H,B]=x.useState(-1),A=x.useRef(null),X=et(v,A),ee=te=>Q=>{const xe=Number(Q.currentTarget.getAttribute("data-index"));un(Q.target)&&B(xe),R(xe),te?.onFocus?.(Q)},ie=te=>Q=>{un(Q.target)||B(-1),R(-1),te?.onBlur?.(Q)},K=(te,Q)=>{const xe=Number(te.currentTarget.getAttribute("data-index")),Te=k[xe],ke=G.indexOf(Te);let Se=Q;if(W&&p==null){const be=G[G.length-1];Se>=be?Se=be:Se<=G[0]?Se=G[0]:Se=Se<Te?G[ke-1]:G[ke+1]}if(Se=Bo(Se,c,l),j){a&&(Se=Bo(Se,k[xe-1]||-1/0,k[xe+1]||1/0));const be=Se;Se=vc({values:k,newValue:Se,index:xe});let Ue=xe;a||(Ue=Se.indexOf(be)),Sr({sliderRef:A,activeIndex:Ue})}$(Se),B(xe),P&&!wr(Se,g)&&P(te,Se,xe),f&&f(te,F.current??Se)},z=te=>Q=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(Q.key)){Q.preventDefault();const xe=Number(Q.currentTarget.getAttribute("data-index")),Te=k[xe];let ke=null;if(p!=null){const Se=Q.shiftKey?y:p;switch(Q.key){case"ArrowUp":ke=tn(Te,Se,1,c,l);break;case"ArrowRight":ke=tn(Te,Se,i?-1:1,c,l);break;case"ArrowDown":ke=tn(Te,Se,-1,c,l);break;case"ArrowLeft":ke=tn(Te,Se,i?1:-1,c,l);break;case"PageUp":ke=tn(Te,y,1,c,l);break;case"PageDown":ke=tn(Te,y,-1,c,l);break;case"Home":ke=c;break;case"End":ke=l;break}}else if(W){const Se=G[G.length-1],be=G.indexOf(Te),Ue=[i?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],De=[i?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];Ue.includes(Q.key)?be===0?ke=G[0]:ke=G[be-1]:De.includes(Q.key)&&(be===G.length-1?ke=Se:ke=G[be+1])}ke!=null&&K(Q,ke)}te?.onKeyDown?.(Q)};Ht(()=>{r&&A.current.contains(document.activeElement)&&document.activeElement?.blur()},[r]),r&&S!==-1&&T(-1),r&&H!==-1&&B(-1);const oe=te=>Q=>{te.onChange?.(Q),K(Q,Q.target.valueAsNumber)},ce=x.useRef(void 0);let J=h;i&&h==="horizontal"&&(J+="-reverse");const Y=({finger:te,move:Q=!1})=>{const{current:xe}=A,{width:Te,height:ke,bottom:Se,left:be}=xe.getBoundingClientRect();let Ue;J.startsWith("vertical")?Ue=(Se-te.y)/ke:Ue=(te.x-be)/Te,J.includes("-reverse")&&(Ue=1-Ue);let De;if(De=G1(Ue,c,l),p)De=Y1(De,p,c);else{const It=yc(G,De);De=G[It]}De=Bo(De,c,l);let Je=0;if(j){Q?Je=ce.current:Je=yc(k,De),a&&(De=Bo(De,k[Je-1]||-1/0,k[Je+1]||1/0));const It=De;De=vc({values:k,newValue:De,index:Je}),a&&Q||(Je=De.indexOf(It),ce.current=Je)}return{newValue:De,activeIndex:Je}},le=Ct(te=>{const Q=Cr(te,w);if(!Q)return;if(M.current+=1,te.type==="mousemove"&&te.buttons===0){U(te);return}const{newValue:xe,activeIndex:Te}=Y({finger:Q,move:!0});Sr({sliderRef:A,activeIndex:Te,setActive:T}),$(xe),!I&&M.current>q1&&N(!0),P&&!wr(xe,g)&&P(te,xe,Te)}),U=Ct(te=>{const Q=Cr(te,w);if(N(!1),!Q)return;const{newValue:xe}=Y({finger:Q,move:!0});T(-1),te.type==="touchend"&&R(-1),f&&f(te,F.current??xe),w.current=void 0,se()}),ae=Ct(te=>{if(r)return;xc()||te.preventDefault();const Q=te.changedTouches[0];Q!=null&&(w.current=Q.identifier);const xe=Cr(te,w);if(xe!==!1){const{newValue:ke,activeIndex:Se}=Y({finger:xe});Sr({sliderRef:A,activeIndex:Se,setActive:T}),$(ke),P&&!wr(ke,g)&&P(te,ke,Se)}M.current=0;const Te=dt(A.current);Te.addEventListener("touchmove",le,{passive:!0}),Te.addEventListener("touchend",U,{passive:!0})}),se=x.useCallback(()=>{const te=dt(A.current);te.removeEventListener("mousemove",le),te.removeEventListener("mouseup",U),te.removeEventListener("touchmove",le),te.removeEventListener("touchend",U)},[U,le]);x.useEffect(()=>{const{current:te}=A;return te.addEventListener("touchstart",ae,{passive:xc()}),()=>{te.removeEventListener("touchstart",ae),se()}},[se,ae]),x.useEffect(()=>{r&&se()},[r,se]);const ue=te=>Q=>{if(te.onMouseDown?.(Q),r||Q.defaultPrevented||Q.button!==0)return;Q.preventDefault();const xe=Cr(Q,w);if(xe!==!1){const{newValue:ke,activeIndex:Se}=Y({finger:xe});Sr({sliderRef:A,activeIndex:Se,setActive:T}),$(ke),P&&!wr(ke,g)&&P(Q,ke,Se)}M.current=0;const Te=dt(A.current);Te.addEventListener("mousemove",le,{passive:!0}),Te.addEventListener("mouseup",U)},Oe=qr(j?k[0]:c,c,l),Ee=qr(k[k.length-1],c,l)-Oe,ne=(te={})=>{const Q=Vo(te),xe={onMouseDown:ue(Q||{})},Te={...Q,...xe};return{...te,ref:X,...Te}},Be=te=>Q=>{te.onMouseOver?.(Q);const xe=Number(Q.currentTarget.getAttribute("data-index"));R(xe)},we=te=>Q=>{te.onMouseLeave?.(Q),R(-1)},ye=(te={})=>{const Q=Vo(te),xe={onMouseOver:Be(Q||{}),onMouseLeave:we(Q||{})};return{...te,...Q,...xe}},re=te=>({pointerEvents:S!==-1&&S!==te?"none":void 0});let Le;return h==="vertical"&&(Le=i?"vertical-rl":"vertical-lr"),{active:S,axis:J,axisProps:X1,dragging:I,focusedThumbIndex:H,getHiddenInputProps:(te={})=>{const Q=Vo(te),xe={onChange:oe(Q||{}),onFocus:ee(Q||{}),onBlur:ie(Q||{}),onKeyDown:z(Q||{})},Te={...Q,...xe};return{tabIndex:C,"aria-labelledby":o,"aria-orientation":h,"aria-valuemax":b(l),"aria-valuemin":b(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,...Te,style:{...Mu,direction:i?"rtl":"ltr",width:"100%",height:"100%",writingMode:Le}}},getRootProps:ne,getThumbProps:ye,marks:W,open:E,range:j,rootRef:X,trackLeap:Ee,trackOffset:Oe,values:k,getThumbStyle:re}}const Q1=e=>!e||!ao(e);function eC(e){return me("MuiSlider",e)}const _t=ge("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"]),tC=e=>{const{open:o}=e;return{offset:Z(o&&_t.valueLabelOpen),circle:_t.valueLabelCircle,label:_t.valueLabelLabel}};function vd(e){const{children:o,className:n,value:r}=e,a=tC(e);return o?x.cloneElement(o,{className:o.props.className},m.jsxs(x.Fragment,{children:[o.props.children,m.jsx("span",{className:Z(a.offset,n),"aria-hidden":!0,children:m.jsx("span",{className:a.circle,children:m.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(vd.propTypes={children:t.element.isRequired,className:t.string,value:t.node});function Cc(e){return e}const oC=L("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`color${D(n.color)}`],n.size!=="medium"&&o[`size${D(n.size)}`],n.marked&&o.marked,n.orientation==="vertical"&&o.vertical,n.track==="inverted"&&o.trackInverted,n.track===!1&&o.trackFalse]}})(pe(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${_t.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${_t.dragging}`]:{[`& .${_t.thumb}, & .${_t.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(Ve()).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}}]}))),nC=L("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}}]}),rC=L("span",{name:"MuiSlider",slot:"Track"})(pe(({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(Ve()).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)})}}}))]}))),aC=L("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.thumb,o[`thumbColor${D(n.color)}`],n.size!=="medium"&&o[`thumbSize${D(n.size)}`]]}})(pe(({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%)"},[`&.${_t.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(Ve()).map(([o])=>({props:{color:o},style:{[`&:hover, &.${_t.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[o].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${_t.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[o].main,.16)}`}}}))]}))),xd=L(vd,{name:"MuiSlider",slot:"ValueLabel"})(pe(({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%"},[`&.${_t.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%"},[`&.${_t.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"&&(xd.propTypes={children:t.element.isRequired,index:t.number.isRequired,open:t.bool.isRequired,value:t.node});const iC=L("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ar(e)&&e!=="markActive",overridesResolver:(e,o)=>{const{markActive:n}=e;return[o.mark,n&&o.markActive]}})(pe(({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}}]}))),sC=L("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ar(e)&&e!=="markLabelActive"})(pe(({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}}]}))),lC=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${D(l)}`,c&&`size${D(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",o&&"disabled",c&&`thumbSize${D(c)}`,l&&`thumbColor${D(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return he(d,eC,s)},cC=({children:e})=>e,Cd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSlider"}),a=rr(),{"aria-label":i,"aria-valuetext":s,"aria-labelledby":l,component:c="span",components:d={},componentsProps:u={},color:f="primary",classes:h,className:v,disableSwap:b=!1,disabled:p=!1,getAriaLabel:y,getAriaValueText:C,marks:O=!1,max:w=100,min:S=0,name:T,onChange:E,onChangeCommitted:R,orientation:I="horizontal",shiftStep:N=10,size:M="medium",step:F=1,scale:g=Cc,slotProps:$,slots:P,tabIndex:j,track:k="normal",value:W,valueLabelDisplay:G="off",valueLabelFormat:H=Cc,...B}=r,A={...r,isRtl:a,max:w,min:S,classes:h,disabled:p,disableSwap:b,orientation:I,marks:O,color:f,size:M,step:F,shiftStep:N,scale:g,track:k,valueLabelDisplay:G,valueLabelFormat:H},{axisProps:X,getRootProps:ee,getHiddenInputProps:ie,getThumbProps:K,open:z,active:oe,axis:ce,focusedThumbIndex:J,range:Y,dragging:le,marks:U,values:ae,trackOffset:se,trackLeap:ue,getThumbStyle:Oe}=Z1({...A,rootRef:n});A.marked=U.length>0&&U.some(Fe=>Fe.label),A.dragging=le,A.focusedThumbIndex=J;const Ee=lC(A),ne=P?.root??d.Root??oC,Be=P?.rail??d.Rail??nC,we=P?.track??d.Track??rC,ye=P?.thumb??d.Thumb??aC,re=P?.valueLabel??d.ValueLabel??xd,Le=P?.mark??d.Mark??iC,Ie=P?.markLabel??d.MarkLabel??sC,te=P?.input??d.Input??"input",Q=$?.root??u.root,xe=$?.rail??u.rail,Te=$?.track??u.track,ke=$?.thumb??u.thumb,Se=$?.valueLabel??u.valueLabel,be=$?.mark??u.mark,Ue=$?.markLabel??u.markLabel,De=$?.input??u.input,Je=eo({elementType:ne,getSlotProps:ee,externalSlotProps:Q,externalForwardedProps:B,additionalProps:{...Q1(ne)&&{as:c}},ownerState:{...A,...Q?.ownerState},className:[Ee.root,v]}),It=eo({elementType:Be,externalSlotProps:xe,ownerState:A,className:Ee.rail}),jt=eo({elementType:we,externalSlotProps:Te,additionalProps:{style:{...X[ce].offset(se),...X[ce].leap(ue)}},ownerState:{...A,...Te?.ownerState},className:Ee.track}),ft=eo({elementType:ye,getSlotProps:K,externalSlotProps:ke,ownerState:{...A,...ke?.ownerState},className:Ee.thumb}),Ce=eo({elementType:re,externalSlotProps:Se,ownerState:{...A,...Se?.ownerState},className:Ee.valueLabel}),je=eo({elementType:Le,externalSlotProps:be,ownerState:A,className:Ee.mark}),Ze=eo({elementType:Ie,externalSlotProps:Ue,ownerState:A,className:Ee.markLabel}),vt=eo({elementType:te,getSlotProps:ie,externalSlotProps:De,ownerState:A});return m.jsxs(ne,{...Je,children:[m.jsx(Be,{...It}),m.jsx(we,{...jt}),U.filter(Fe=>Fe.value>=S&&Fe.value<=w).map((Fe,Qe)=>{const Nt=qr(Fe.value,S,w),Et=X[ce].offset(Nt);let mt;return k===!1?mt=ae.includes(Fe.value):mt=k==="normal"&&(Y?Fe.value>=ae[0]&&Fe.value<=ae[ae.length-1]:Fe.value<=ae[0])||k==="inverted"&&(Y?Fe.value<=ae[0]||Fe.value>=ae[ae.length-1]:Fe.value>=ae[0]),m.jsxs(x.Fragment,{children:[m.jsx(Le,{"data-index":Qe,...je,...!ao(Le)&&{markActive:mt},style:{...Et,...je.style},className:Z(je.className,mt&&Ee.markActive)}),Fe.label!=null?m.jsx(Ie,{"aria-hidden":!0,"data-index":Qe,...Ze,...!ao(Ie)&&{markLabelActive:mt},style:{...Et,...Ze.style},className:Z(Ee.markLabel,Ze.className,mt&&Ee.markLabelActive),children:Fe.label}):null]},Qe)}),ae.map((Fe,Qe)=>{const Nt=qr(Fe,S,w),Et=X[ce].offset(Nt),mt=G==="off"?cC:re;return m.jsx(mt,{...!ao(mt)&&{valueLabelFormat:H,valueLabelDisplay:G,value:typeof H=="function"?H(g(Fe),Qe):H,index:Qe,open:z===Qe||oe===Qe||G==="on",disabled:p},...Ce,children:m.jsx(ye,{"data-index":Qe,...ft,className:Z(Ee.thumb,ft.className,oe===Qe&&Ee.active,J===Qe&&Ee.focusVisible),style:{...Et,...Oe(Qe),...ft.style},children:m.jsx(te,{"data-index":Qe,"aria-label":y?y(Qe):i,"aria-valuenow":g(Fe),"aria-labelledby":l,"aria-valuetext":C?C(g(Fe),Qe):s,value:ae[Qe],...vt})})},Qe)})]})});process.env.NODE_ENV!=="production"&&(Cd.propTypes={"aria-label":St(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":St(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 uC=L(Cd)(({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"}}})),dC=({label:e,helperText:o,className:n,sx:r,...a})=>m.jsxs(nt,{sx:{width:"100%",...r},className:n,children:[e&&m.jsx(it,{gutterBottom:!0,variant:"subtitle2",sx:{fontWeight:600,mb:1},children:e}),m.jsx(uC,{...a}),o&&m.jsx(it,{variant:"caption",color:"text.secondary",sx:{mt:.5,display:"block"},children:o})]});function pC(e){return me("MuiSwitch",e)}const Tt=ge("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),fC=e=>{const{classes:o,edge:n,size:r,color:a,checked:i,disabled:s}=e,l={root:["root",n&&`edge${D(n)}`,`size${D(r)}`],switchBase:["switchBase",`color${D(a)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=he(l,pC,o);return{...o,...c}},mC=L("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.edge&&o[`edge${D(n.edge)}`],o[`size${D(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,[`& .${Tt.thumb}`]:{width:16,height:16},[`& .${Tt.switchBase}`]:{padding:4,[`&.${Tt.checked}`]:{transform:"translateX(16px)"}}}}]}),gC=L(ka,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.switchBase,{[`& .${Tt.input}`]:o.input},n.color!=="default"&&o[`color${D(n.color)}`]]}})(pe(({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}),[`&.${Tt.checked}`]:{transform:"translateX(20px)"},[`&.${Tt.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Tt.checked} + .${Tt.track}`]:{opacity:.5},[`&.${Tt.disabled} + .${Tt.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Tt.input}`]:{left:"-100%",width:"300%"}})),pe(({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(Ve(["light"])).map(([o])=>({props:{color:o},style:{[`&.${Tt.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"}},[`&.${Tt.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)}`}},[`&.${Tt.checked} + .${Tt.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),bC=L("span",{name:"MuiSwitch",slot:"Track"})(pe(({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}`}))),hC=L("span",{name:"MuiSwitch",slot:"Thumb"})(pe(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Sd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSwitch"}),{className:a,color:i="primary",edge:s=!1,size:l="medium",sx:c,slots:d={},slotProps:u={},...f}=r,h={...r,color:i,edge:s,size:l},v=fC(h),b={slots:d,slotProps:u},[p,y]=fe("root",{className:Z(v.root,a),elementType:mC,externalForwardedProps:b,ownerState:h,additionalProps:{sx:c}}),[C,O]=fe("thumb",{className:v.thumb,elementType:hC,externalForwardedProps:b,ownerState:h}),w=m.jsx(C,{...O}),[S,T]=fe("track",{className:v.track,elementType:bC,externalForwardedProps:b,ownerState:h});return m.jsxs(p,{...y,children:[m.jsx(gC,{type:"checkbox",icon:w,checkedIcon:w,ref:n,ownerState:h,...f,classes:{...v,root:v.switchBase},slots:{...d.switchBase&&{root:d.switchBase},...d.input&&{input:d.input}},slotProps:{...u.switchBase&&{root:typeof u.switchBase=="function"?u.switchBase(h):u.switchBase},input:{role:"switch"},...u.input&&{input:typeof u.input=="function"?u.input(h):u.input}}}),m.jsx(S,{...T})]})});process.env.NODE_ENV!=="production"&&(Sd.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:Ot,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 yC=L(Sd)(({theme:e})=>({width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:e.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22,boxShadow:"0 2px 4px 0 rgba(0,0,0,0.2)"},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:e.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}})),vC=({label:e,labelPlacement:o="end",size:n="medium",sx:r,...a})=>{const i=m.jsx(yC,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,sx:n==="small"?{transform:"scale(0.8)",...r}:r,...a});return e?m.jsx(Ra,{control:i,label:e,labelPlacement:o}):i},xC=L(Pa)(({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:12,transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:e.palette.mode==="dark"?bt(e.palette.common.white,.03):bt(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"?bt(e.palette.common.white,.05):bt(e.palette.common.black,.02)},"&:hover fieldset":{borderColor:e.palette.primary.main,borderWidth:1},"&.Mui-focused":{backgroundColor:e.palette.mode==="dark"?bt(e.palette.primary.main,.05):bt(e.palette.primary.main,.02)},"&.Mui-focused fieldset":{borderWidth:2,borderColor:e.palette.primary.main,boxShadow:`0 0 0 4px ${bt(e.palette.primary.main,.1)}`},"&.Mui-error fieldset":{borderColor:e.palette.error.main},"&.Mui-error.Mui-focused":{backgroundColor:e.palette.mode==="dark"?bt(e.palette.error.main,.05):bt(e.palette.error.main,.02)},"&.Mui-error.Mui-focused fieldset":{borderColor:e.palette.error.main,boxShadow:`0 0 0 4px ${bt(e.palette.error.main,.1)}`}},"& .MuiInputBase-input":{padding:"12px 14px",fontWeight:500,"&::placeholder":{opacity:.6}},"& .MuiInputLabel-root":{fontSize:"0.95rem",marginTop:0,transform:"translate(14px, 12px) scale(1)",color:e.palette.text.secondary,"&.Mui-focused":{color:e.palette.primary.main,fontWeight:600,transform:"translate(14px, -9px) scale(0.75)"},"&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"},"&.Mui-error":{color:e.palette.error.main}},"& .MuiFormHelperText-root":{marginLeft:14,fontSize:"0.75rem"}})),CC=e=>m.jsx(xC,{variant:"outlined",fullWidth:!0,...e});function SC(e){return me("MuiCardHeader",e)}const Gr=ge("MuiCardHeader",["root","avatar","action","content","title","subheader"]),wC=e=>{const{classes:o}=e;return he({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},SC,o)},TC=L("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,o)=>[{[`& .${Gr.title}`]:o.title},{[`& .${Gr.subheader}`]:o.subheader},o.root]})({display:"flex",alignItems:"center",padding:16}),OC=L("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),EC=L("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),PC=L("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${Lr.root}:where(& .${Gr.title})`]:{display:"block"},[`.${Lr.root}:where(& .${Gr.subheader})`]:{display:"block"}}),wd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCardHeader"}),{action:a,avatar:i,component:s="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:d,title:u,titleTypographyProps:f,slots:h={},slotProps:v={},...b}=r,p={...r,component:s,disableTypography:l},y=wC(p),C={slots:h,slotProps:{title:f,subheader:d,...v}};let O=u;const[w,S]=fe("title",{className:y.title,elementType:it,externalForwardedProps:C,ownerState:p,additionalProps:{variant:i?"body2":"h5",component:"span"}});O!=null&&O.type!==it&&!l&&(O=m.jsx(w,{...S,children:O}));let T=c;const[E,R]=fe("subheader",{className:y.subheader,elementType:it,externalForwardedProps:C,ownerState:p,additionalProps:{variant:i?"body2":"body1",color:"textSecondary",component:"span"}});T!=null&&T.type!==it&&!l&&(T=m.jsx(E,{...R,children:T}));const[I,N]=fe("root",{ref:n,className:y.root,elementType:TC,externalForwardedProps:{...C,...b,component:s},ownerState:p}),[M,F]=fe("avatar",{className:y.avatar,elementType:OC,externalForwardedProps:C,ownerState:p}),[g,$]=fe("content",{className:y.content,elementType:PC,externalForwardedProps:C,ownerState:p}),[P,j]=fe("action",{className:y.action,elementType:EC,externalForwardedProps:C,ownerState:p});return m.jsxs(I,{...N,children:[i&&m.jsx(M,{...F,children:i}),m.jsxs(g,{...$,children:[O,T]}),a&&m.jsx(P,{...j,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 kC(e){return me("MuiListItem",e)}ge("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function RC(e){return me("MuiListItemButton",e)}const nn=ge("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),$C=(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]},IC=e=>{const{alignItems:o,classes:n,dense:r,disabled:a,disableGutters:i,divider:s,selected:l}=e,d=he({root:["root",r&&"dense",!i&&"gutters",s&&"divider",a&&"disabled",o==="flex-start"&&"alignItemsFlexStart",l&&"selected"]},RC,n);return{...n,...d}},jC=L(bo,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:$C})(pe(({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"}},[`&.${nn.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${nn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${nn.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)}},[`&.${nn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nn.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}}]}))),Td=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemButton"}),{alignItems:a="center",autoFocus:i=!1,component:s="div",children:l,dense:c=!1,disableGutters:d=!1,divider:u=!1,focusVisibleClassName:f,selected:h=!1,className:v,...b}=r,p=x.useContext(Ut),y=x.useMemo(()=>({dense:c||p.dense||!1,alignItems:a,disableGutters:d}),[a,p.dense,c,d]),C=x.useRef(null);Ht(()=>{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:u,selected:h},w=IC(O),S=et(C,n);return m.jsx(Ut.Provider,{value:y,children:m.jsx(jC,{ref:S,href:b.href||b.to,component:(b.href||b.to)&&s==="div"?"button":s,focusVisibleClassName:Z(w.focusVisible,f),ownerState:O,className:Z(w.root,v),...b,classes:w,children:l})})});process.env.NODE_ENV!=="production"&&(Td.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 NC(e){return me("MuiListItemSecondaryAction",e)}ge("MuiListItemSecondaryAction",["root","disableGutters"]);const MC=e=>{const{disableGutters:o,classes:n}=e;return he({root:["root",o&&"disableGutters"]},NC,n)},AC=L("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}}]}),js=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemSecondaryAction"}),{className:a,...i}=r,s=x.useContext(Ut),l={...r,disableGutters:s.disableGutters},c=MC(l);return m.jsx(AC,{className:Z(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&(js.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])});js.muiName="ListItemSecondaryAction";const LC=(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]},DC=e=>{const{alignItems:o,classes:n,dense:r,disableGutters:a,disablePadding:i,divider:s,hasSecondaryAction:l}=e;return he({root:["root",r&&"dense",!a&&"gutters",!i&&"padding",s&&"divider",o==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},kC,n)},BC=L("div",{name:"MuiListItem",slot:"Root",overridesResolver:LC})(pe(({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:{[`& > .${nn.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}}]}))),FC=L("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),Od=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItem"}),{alignItems:a="center",children:i,className:s,component:l,components:c={},componentsProps:d={},ContainerComponent:u="li",ContainerProps:{className:f,...h}={},dense:v=!1,disableGutters:b=!1,disablePadding:p=!1,divider:y=!1,secondaryAction:C,slotProps:O={},slots:w={},...S}=r,T=x.useContext(Ut),E=x.useMemo(()=>({dense:v||T.dense||!1,alignItems:a,disableGutters:b}),[a,T.dense,v,b]),R=x.useRef(null),I=x.Children.toArray(i),N=I.length&&Fn(I[I.length-1],["ListItemSecondaryAction"]),M={...r,alignItems:a,dense:E.dense,disableGutters:b,disablePadding:p,divider:y,hasSecondaryAction:N},F=DC(M),g=et(R,n),$={slots:w,slotProps:O},[P,j]=fe("secondaryAction",{elementType:js,externalForwardedProps:$,ownerState:M,className:F.secondaryAction}),k=w.root||c.Root||BC,W=O.root||d.root||{},G={className:Z(F.root,W.className,s),...S};let H=l||"li";return N?(H=!G.component&&!l?"div":H,u==="li"&&(H==="li"?H="div":G.component==="li"&&(G.component="div")),m.jsx(Ut.Provider,{value:E,children:m.jsxs(FC,{as:u,className:Z(F.container,f),ref:g,ownerState:M,...h,children:[m.jsx(k,{...W,...!ao(k)&&{as:H,ownerState:{...M,...W.ownerState}},...G,children:I}),I.pop()]})})):m.jsx(Ut.Provider,{value:E,children:m.jsxs(k,{...W,as:H,ref:g,...!ao(k)&&{ownerState:{...M,...W.ownerState}},...G,children:[I,C&&m.jsx(P,{...j,children:C})]})})});process.env.NODE_ENV!=="production"&&(Od.propTypes={alignItems:t.oneOf(["center","flex-start"]),children:St(t.node,e=>{const o=x.Children.toArray(e.children);let n=-1;for(let r=o.length-1;r>=0;r-=1){const a=o[r];if(Fn(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:ir,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 Li=Om({createStyledComponent:L("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>ve({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(Li.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 zC=ct(m.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"),VC=ct(m.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"),_C=L(ss)(({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","&:hover":{boxShadow:e.shadows[4]}})),WC=L(wd)(({theme:e})=>({padding:e.spacing(2),backgroundColor:e.palette.mode==="light"?e.palette.grey[50]:bt(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}})),UC=L(nt)(({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"}})),Sc=L(ns)(({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","&:hover":{backgroundColor:e.palette.primary.main,borderColor:"transparent",color:e.palette.common.white,boxShadow:e.shadows[4],transform:"translateY(-2px)"},"&.Mui-disabled":{border:`1px solid ${e.palette.action.disabledBackground}`,backgroundColor:"transparent"}}));function rn(e,o){return e.filter(n=>o.indexOf(n)===-1)}function ai(e,o){return e.filter(n=>o.indexOf(n)!==-1)}function HC(e,o){return[...e,...rn(o,e)]}const qC=({left:e,right:o,onChange:n,leftTitle:r="Choices",rightTitle:a="Chosen",height:i=280})=>{const[s,l]=Me.useState([]),c=ai(s,e),d=ai(s,o),u=y=>()=>{const C=s.indexOf(y),O=[...s];C===-1?O.push(y):O.splice(C,1),l(O)},f=y=>ai(s,y).length,h=y=>()=>{f(y)===y.length&&y.length!==0?l(rn(s,y)):l(HC(s,y))},v=()=>{n(rn(e,c),o.concat(c)),l(rn(s,c))},b=()=>{n(e.concat(d),rn(o,d)),l(rn(s,d))},p=(y,C)=>m.jsxs(_C,{children:[m.jsx(WC,{avatar:m.jsx(Ur,{onClick:h(C),checked:f(C)===C.length&&C.length!==0,indeterminate:f(C)!==C.length&&f(C)!==0,disabled:C.length===0,inputProps:{"aria-label":"all items selected"},size:"small",sx:{color:"text.secondary","&.Mui-checked":{color:"primary.main"}}}),title:y,subheader:m.jsxs(it,{variant:"caption",color:"text.secondary",sx:{fontWeight:500},children:[f(C)," of ",C.length," selected"]})}),m.jsx(UC,{sx:{height:i},children:m.jsx(ws,{dense:!0,component:"div",role:"list",sx:{py:1},children:C.map(O=>{const w=`transfer-list-all-item-${O.id}-label`,S=s.indexOf(O)!==-1;return m.jsx(Od,{disablePadding:!0,sx:{mb:.5,px:1},children:m.jsxs(Td,{role:"listitem",onClick:u(O),disabled:O.disabled,selected:S,sx:{borderRadius:2,transition:"all 0.2s","&:hover":{backgroundColor:T=>bt(T.palette.primary.main,.08)},"&.Mui-selected":{backgroundColor:T=>bt(T.palette.primary.main,.12),"&:hover":{backgroundColor:T=>bt(T.palette.primary.main,.16)}}},children:[m.jsx(bd,{sx:{minWidth:40},children:m.jsx(Ur,{checked:S,tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":w},size:"small",edge:"start"})}),m.jsx(hd,{id:w,primary:O.label,primaryTypographyProps:{fontWeight:S?600:400,color:S?"primary.main":"text.primary"}})]})},O.id)})})})]});return m.jsxs(Li,{direction:{xs:"column",md:"row"},spacing:3,justifyContent:"center",alignItems:"center",children:[m.jsx(nt,{sx:{width:{xs:"100%",md:"45%"}},children:p(r,e)}),m.jsx(nt,{children:m.jsxs(Li,{direction:"column",spacing:2,children:[m.jsx(Sc,{onClick:v,disabled:c.length===0,"aria-label":"move selected right",children:m.jsx(zC,{})}),m.jsx(Sc,{onClick:b,disabled:d.length===0,"aria-label":"move selected left",children:m.jsx(VC,{})})]})}),m.jsx(nt,{sx:{width:{xs:"100%",md:"45%"}},children:p(a,o)})]})};function GC(e){return me("MuiDialog",e)}const ii=ge("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Ns=x.createContext({});process.env.NODE_ENV!=="production"&&(Ns.displayName="DialogContext");const KC=L(Ts,{name:"MuiDialog",slot:"Backdrop",overrides:(e,o)=>o.backdrop})({zIndex:-1}),YC=e=>{const{classes:o,scroll:n,maxWidth:r,fullWidth:a,fullScreen:i}=e,s={root:["root"],container:["container",`scroll${D(n)}`],paper:["paper",`paperScroll${D(n)}`,`paperWidth${D(String(r))}`,a&&"paperFullWidth",i&&"paperFullScreen"]};return he(s,GC,o)},XC=L(Os,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),JC=L("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.container,o[`scroll${D(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),ZC=L(uo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.paper,o[`scrollPaper${D(n.scroll)}`],o[`paperWidth${D(String(n.maxWidth))}`],n.fullWidth&&o.paperFullWidth,n.fullScreen&&o.paperFullScreen]}})(pe(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:o})=>!o.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${ii.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(o=>o!=="xs").map(o=>({props:{maxWidth:o},style:{maxWidth:`${e.breakpoints.values[o]}${e.breakpoints.unit}`,[`&.${ii.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[o]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:o})=>o.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:o})=>o.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ii.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Ed=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialog"}),a=xo(),i={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":s,"aria-labelledby":l,"aria-modal":c=!0,BackdropComponent:d,BackdropProps:u,children:f,className:h,disableEscapeKeyDown:v=!1,fullScreen:b=!1,fullWidth:p=!1,maxWidth:y="sm",onClick:C,onClose:O,open:w,PaperComponent:S=uo,PaperProps:T={},scroll:E="paper",slots:R={},slotProps:I={},TransitionComponent:N=Wr,transitionDuration:M=i,TransitionProps:F,...g}=r,$={...r,disableEscapeKeyDown:v,fullScreen:b,fullWidth:p,maxWidth:y,scroll:E},P=YC($),j=x.useRef(),k=ae=>{j.current=ae.target===ae.currentTarget},W=ae=>{C&&C(ae),j.current&&(j.current=null,O&&O(ae,"backdropClick"))},G=vo(l),H=x.useMemo(()=>({titleId:G}),[G]),B={transition:N,...R},A={transition:F,paper:T,backdrop:u,...I},X={slots:B,slotProps:A},[ee,ie]=fe("root",{elementType:XC,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:$,className:Z(P.root,h),ref:n}),[K,z]=fe("backdrop",{elementType:KC,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:$}),[oe,ce]=fe("paper",{elementType:ZC,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:$,className:Z(P.paper,T.className)}),[J,Y]=fe("container",{elementType:JC,externalForwardedProps:X,ownerState:$,className:P.container}),[le,U]=fe("transition",{elementType:Wr,externalForwardedProps:X,ownerState:$,additionalProps:{appear:!0,in:w,timeout:M,role:"presentation"}});return m.jsx(ee,{closeAfterTransition:!0,slots:{backdrop:K},slotProps:{backdrop:{transitionDuration:M,as:d,...z}},disableEscapeKeyDown:v,onClose:O,open:w,onClick:W,...ie,...g,children:m.jsx(le,{...U,children:m.jsx(J,{onMouseDown:k,...Y,children:m.jsx(oe,{as:S,elevation:24,role:"dialog","aria-describedby":s,"aria-labelledby":G,"aria-modal":c,...ce,children:m.jsx(Ns.Provider,{value:H,children:f})})})})})});process.env.NODE_ENV!=="production"&&(Ed.propTypes={"aria-describedby":t.string,"aria-labelledby":t.string,"aria-modal":t.oneOfType([t.oneOf(["false","true"]),t.bool]),BackdropComponent:t.elementType,BackdropProps:t.object,children:t.node,classes:t.object,className:t.string,disableEscapeKeyDown:t.bool,fullScreen:t.bool,fullWidth:t.bool,maxWidth:t.oneOfType([t.oneOf(["xs","sm","md","lg","xl",!1]),t.string]),onClick:t.func,onClose:t.func,open:t.bool.isRequired,PaperComponent:t.elementType,PaperProps:t.object,scroll:t.oneOf(["body","paper"]),slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),container: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,container: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]),TransitionComponent:t.elementType,transitionDuration:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),TransitionProps:t.object});function QC(e){return me("MuiDialogActions",e)}ge("MuiDialogActions",["root","spacing"]);const eS=e=>{const{classes:o,disableSpacing:n}=e;return he({root:["root",!n&&"spacing"]},QC,o)},tS=L("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.disableSpacing&&o.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Pd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogActions"}),{className:a,disableSpacing:i=!1,...s}=r,l={...r,disableSpacing:i},c=eS(l);return m.jsx(tS,{className:Z(c.root,a),ownerState:l,ref:n,...s})});process.env.NODE_ENV!=="production"&&(Pd.propTypes={children:t.node,classes:t.object,className:t.string,disableSpacing:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function oS(e){return me("MuiDialogContent",e)}ge("MuiDialogContent",["root","dividers"]);function nS(e){return me("MuiDialogTitle",e)}const rS=ge("MuiDialogTitle",["root"]),aS=e=>{const{classes:o,dividers:n}=e;return he({root:["root",n&&"dividers"]},oS,o)},iS=L("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.dividers&&o.dividers]}})(pe(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:o})=>o.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>!o.dividers,style:{[`.${rS.root} + &`]:{paddingTop:0}}}]}))),kd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogContent"}),{className:a,dividers:i=!1,...s}=r,l={...r,dividers:i},c=aS(l);return m.jsx(iS,{className:Z(c.root,a),ownerState:l,ref:n,...s})});process.env.NODE_ENV!=="production"&&(kd.propTypes={children:t.node,classes:t.object,className:t.string,dividers:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function sS(e){return me("MuiDialogContentText",e)}ge("MuiDialogContentText",["root"]);const lS=e=>{const{classes:o}=e,r=he({root:["root"]},sS,o);return{...o,...r}},cS=L(it,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiDialogContentText",slot:"Root"})({}),Rd=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogContentText"}),{children:a,className:i,...s}=r,l=lS(s);return m.jsx(cS,{component:"p",variant:"body1",color:"textSecondary",ref:n,ownerState:s,className:Z(l.root,i),...r,classes:l})});process.env.NODE_ENV!=="production"&&(Rd.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 uS=e=>{const{classes:o}=e;return he({root:["root"]},nS,o)},dS=L(it,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),$d=x.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogTitle"}),{className:a,id:i,...s}=r,l=r,c=uS(l),{titleId:d=i}=x.useContext(Ns);return m.jsx(dS,{component:"h2",className:Z(c.root,a),ownerState:l,ref:n,variant:"h6",id:i??d,...s})});process.env.NODE_ENV!=="production"&&($d.propTypes={children:t.node,classes:t.object,className:t.string,id:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const pS=({children:e,PaperProps:o,...n})=>{const r=xo();return m.jsx(Ed,{PaperProps:{elevation:24,sx:{borderRadius:3,backgroundImage:"none",backgroundColor:r.palette.background.paper,...o?.sx},...o},...n,children:e})},fS=({sx:e,children:o,...n})=>m.jsx($d,{sx:{fontWeight:700,fontSize:"1.25rem",pb:1,...e},...n,children:o}),mS=({sx:e,children:o,...n})=>m.jsx(kd,{sx:{py:2,...e},...n,children:o}),gS=({sx:e,children:o,...n})=>m.jsx(Rd,{sx:{mb:2,color:"text.secondary",...e},...n,children:o}),bS=({sx:e,children:o,...n})=>m.jsx(Pd,{sx:{px:3,pb:3,gap:1,...e},...n,children:o});exports.CodeplexAlert=wh;exports.CodeplexAutocomplete=Mx;exports.CodeplexAvatar=kb;exports.CodeplexAvatarGroup=Rb;exports.CodeplexBadge=ab;exports.CodeplexBanner=eh;exports.CodeplexButton=bu;exports.CodeplexButtonGroup=zx;exports.CodeplexCard=Jb;exports.CodeplexCheckbox=pd;exports.CodeplexDialog=pS;exports.CodeplexDialogActions=bS;exports.CodeplexDialogContent=mS;exports.CodeplexDialogContentText=gS;exports.CodeplexDialogTitle=fS;exports.CodeplexFormGroup=ks;exports.CodeplexInputHelper=uy;exports.CodeplexJumbotron=Zb;exports.CodeplexKbd=mb;exports.CodeplexListSubheader=Qn;exports.CodeplexMenuItem=Hr;exports.CodeplexNumberField=g1;exports.CodeplexProgress=Kh;exports.CodeplexRadio=Is;exports.CodeplexRadioGroup=I1;exports.CodeplexRating=cy;exports.CodeplexRequirementsPopup=Su;exports.CodeplexSelect=U1;exports.CodeplexSkeleton=by;exports.CodeplexSlider=dC;exports.CodeplexSmartLabel=Ib;exports.CodeplexSpinner=fb;exports.CodeplexSwitch=vC;exports.CodeplexTextField=CC;exports.CodeplexToast=Bh;exports.CodeplexTooltip=Th;exports.CodeplexTransferList=qC;exports.Ui=Nd;exports.VisuallyHiddenInput=Qg;exports.stringAvatar=$b;
|
|
321
|
+
`))}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([bo,t.func]),disableScrollLock:t.bool,elevation:li,marginThreshold:t.number,onClose:t.func,open:t.bool.isRequired,PaperProps:t.shape({component:sr}),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 Fx(e){return me("MuiMenu",e)}ge("MuiMenu",["root","paper","list"]);const zx={vertical:"top",horizontal:"right"},Vx={vertical:"top",horizontal:"left"},_x=e=>{const{classes:o}=e;return be({root:["root"],paper:["paper"],list:["list"]},Fx,o)},Wx=L(Cd,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),Ux=L(xd,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Hx=L(vd,{name:"MuiMenu",slot:"List"})({outline:0}),Sd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:i,disableAutoFocusItem:l=!1,MenuListProps:c={},onClose:u,open:d,PaperProps:f={},PopoverClasses:b,transitionDuration:y="auto",TransitionProps:{onEntering:h,...p}={},variant:v="selectedMenu",slots:x={},slotProps:O={},...w}=r,S=rr(),T={...r,autoFocus:a,disableAutoFocusItem:l,MenuListProps:c,onEntering:h,PaperProps:f,transitionDuration:y,TransitionProps:p,variant:v},E=_x(T),k=a&&!l&&d,$=C.useRef(null),N=(H,F)=>{$.current&&$.current.adjustStyleForScrollbar(H,{direction:S?"rtl":"ltr"}),h&&h(H,F)},M=H=>{H.key==="Tab"&&(H.preventDefault(),u&&u(H,"tabKeyDown"))};let D=-1;C.Children.map(s,(H,F)=>{C.isValidElement(H)&&(process.env.NODE_ENV!=="production"&&Po.isFragment(H)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
322
|
+
`)),H.props.disabled||(v==="selectedMenu"&&H.props.selected||D===-1)&&(D=F))});const m={slots:x,slotProps:{list:c,transition:p,paper:f,...O}},I=eo({elementType:x.root,externalSlotProps:O.root,ownerState:T,className:[E.root,i]}),[P,j]=fe("paper",{className:E.paper,elementType:Ux,externalForwardedProps:m,shouldForwardComponentProp:!0,ownerState:T}),[R,W]=fe("list",{className:Z(E.list,c.className),elementType:Hx,shouldForwardComponentProp:!0,externalForwardedProps:m,getSlotProps:H=>({...H,onKeyDown:F=>{M(F),H.onKeyDown?.(F)}}),ownerState:T}),G=typeof m.slotProps.transition=="function"?m.slotProps.transition(T):m.slotProps.transition;return g.jsx(Wx,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?zx:Vx,slots:{root:x.root,paper:P,backdrop:x.backdrop,...x.transition&&{transition:x.transition}},slotProps:{root:I,paper:j,backdrop:typeof O.backdrop=="function"?O.backdrop(T):O.backdrop,transition:{...G,onEntering:(...H)=>{N(...H),G?.onEntering?.(...H)}}},open:d,ref:n,transitionDuration:y,ownerState:T,...w,classes:b,children:g.jsx(R,{actions:$,autoFocus:a&&(D===-1||l),autoFocusItem:k,variant:v,...W,children:s})})});process.env.NODE_ENV!=="production"&&(Sd.propTypes={anchorEl:t.oneOfType([bo,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 qx(e){return me("MuiNativeSelect",e)}const Ri=ge("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Gx=e=>{const{classes:o,variant:n,disabled:r,multiple:a,open:s,error:i}=e,l={select:["select",n,r&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${B(n)}`,s&&"iconOpen",r&&"disabled"]};return be(l,qx,o)},wd=L("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Ri.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}}}]})),Kx=L(wd,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:yt,overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.select,o[n.variant],n.error&&o.error,{[`&.${Ri.multiple}`]:o.multiple}]}})({}),Td=L("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Ri.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}}]})),Yx=L(Td,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.icon,n.variant&&o[`icon${B(n.variant)}`],n.open&&o.iconOpen]}})({}),Od=C.forwardRef(function(o,n){const{className:r,disabled:a,error:s,IconComponent:i,inputRef:l,variant:c="standard",...u}=o,d={...o,disabled:a,variant:c,error:s},f=Gx(d);return g.jsxs(C.Fragment,{children:[g.jsx(Kx,{ownerState:d,className:Z(f.select,r),disabled:a,ref:l||n,...u}),o.multiple?null:g.jsx(Yx,{as:i,ownerState:d,className:f.icon})]})});process.env.NODE_ENV!=="production"&&(Od.propTypes={children:t.node,classes:t.object,className:t.string,disabled:t.bool,error:t.bool,IconComponent:t.elementType.isRequired,inputRef:Ot,multiple:t.bool,name:t.string,onChange:t.func,value:t.any,variant:t.oneOf(["standard","outlined","filled"])});function Ed(e){return me("MuiSelect",e)}const Rn=ge("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var gc;const Xx=L(wd,{name:"MuiSelect",slot:"Select",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`&.${Rn.select}`]:o.select},{[`&.${Rn.select}`]:o[n.variant]},{[`&.${Rn.error}`]:o.error},{[`&.${Rn.multiple}`]:o.multiple}]}})({[`&.${Rn.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Jx=L(Td,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.icon,n.variant&&o[`icon${B(n.variant)}`],n.open&&o.iconOpen]}})({}),Zx=L("input",{shouldForwardProp:e=>ar(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function hc(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}function Qx(e){return e==null||typeof e=="string"&&!e.trim()}const e1=e=>{const{classes:o,variant:n,disabled:r,multiple:a,open:s,error:i}=e,l={select:["select",n,r&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${B(n)}`,s&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return be(l,Ed,o)},Pd=C.forwardRef(function(o,n){const{"aria-describedby":r,"aria-label":a,autoFocus:s,autoWidth:i,children:l,className:c,defaultOpen:u,defaultValue:d,disabled:f,displayEmpty:b,error:y=!1,IconComponent:h,inputRef:p,labelId:v,MenuProps:x={},multiple:O,name:w,onBlur:S,onChange:T,onClose:E,onFocus:k,onKeyDown:$,onMouseDown:N,onOpen:M,open:D,readOnly:m,renderValue:I,required:P,SelectDisplayProps:j={},tabIndex:R,type:W,value:G,variant:H="standard",...F}=o,[A,X]=mo({controlled:G,default:d,name:"Select"}),[ee,se]=mo({controlled:D,default:u,name:"Select"}),K=C.useRef(null),z=C.useRef(null),[oe,ce]=C.useState(null),{current:J}=C.useRef(D!=null),[Y,le]=C.useState(),U=et(n,p),ae=C.useCallback(Ce=>{z.current=Ce,Ce&&ce(Ce)},[]),ie=oe?.parentNode;C.useImperativeHandle(U,()=>({focus:()=>{z.current.focus()},node:K.current,value:A}),[A]),C.useEffect(()=>{u&&ee&&oe&&!J&&(le(i?null:ie.clientWidth),z.current.focus())},[oe,i]),C.useEffect(()=>{s&&z.current.focus()},[s]),C.useEffect(()=>{if(!v)return;const Ce=dt(z.current).getElementById(v);if(Ce){const je=()=>{getSelection().isCollapsed&&z.current.focus()};return Ce.addEventListener("click",je),()=>{Ce.removeEventListener("click",je)}}},[v]);const ue=(Ce,je)=>{Ce?M&&M(je):E&&E(je),J||(le(i?null:ie.clientWidth),se(Ce))},Oe=Ce=>{N?.(Ce),Ce.button===0&&(Ce.preventDefault(),z.current.focus(),ue(!0,Ce))},Ee=Ce=>{ue(!1,Ce)},ne=C.Children.toArray(l),Be=Ce=>{const je=ne.find(Ze=>Ze.props.value===Ce.target.value);je!==void 0&&(X(je.props.value),T&&T(Ce,je))},we=Ce=>je=>{let Ze;if(je.currentTarget.hasAttribute("tabindex")){if(O){Ze=Array.isArray(A)?A.slice():[];const vt=A.indexOf(Ce.props.value);vt===-1?Ze.push(Ce.props.value):Ze.splice(vt,1)}else Ze=Ce.props.value;if(Ce.props.onClick&&Ce.props.onClick(je),A!==Ze&&(X(Ze),T)){const vt=je.nativeEvent||je,Fe=new vt.constructor(vt.type,vt);Object.defineProperty(Fe,"target",{writable:!0,value:{value:Ze,name:w}}),T(Fe,Ce)}O||ue(!1,je)}},ye=Ce=>{m||([" ","ArrowUp","ArrowDown","Enter"].includes(Ce.key)&&(Ce.preventDefault(),ue(!0,Ce)),$?.(Ce))},re=oe!==null&&ee,Le=Ce=>{!re&&S&&(Object.defineProperty(Ce,"target",{writable:!0,value:{value:A,name:w}}),S(Ce))};delete F["aria-invalid"];let Ie,te;const Q=[];let xe=!1,Te=!1;(Vr({value:A})||b)&&(I?Ie=I(A):xe=!0);const ke=ne.map(Ce=>{if(!C.isValidElement(Ce))return null;process.env.NODE_ENV!=="production"&&Po.isFragment(Ce)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
323
|
+
`));let je;if(O){if(!Array.isArray(A))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":io(2));je=A.some(Ze=>hc(Ze,Ce.props.value)),je&&xe&&Q.push(Ce.props.children)}else je=hc(A,Ce.props.value),je&&xe&&(te=Ce.props.children);return je&&(Te=!0),C.cloneElement(Ce,{"aria-selected":je?"true":"false",onClick:we(Ce),onKeyUp:Ze=>{Ze.key===" "&&Ze.preventDefault(),Ce.props.onKeyUp&&Ce.props.onKeyUp(Ze)},role:"option",selected:je,value:void 0,"data-value":Ce.props.value})});process.env.NODE_ENV!=="production"&&C.useEffect(()=>{if(!Te&&!O&&A!==""){const Ce=ne.map(je=>je.props.value);console.warn([`MUI: You have provided an out-of-range value \`${A}\` for the select ${w?`(name="${w}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${Ce.filter(je=>je!=null).map(je=>`\`${je}\``).join(", ")||'""'}.`].join(`
|
|
324
|
+
`))}},[Te,ne,O,w,A]),xe&&(O?Q.length===0?Ie=null:Ie=Q.reduce((Ce,je,Ze)=>(Ce.push(je),Ze<Q.length-1&&Ce.push(", "),Ce),[]):Ie=te);let Se=Y;!i&&J&&oe&&(Se=ie.clientWidth);let he;typeof R<"u"?he=R:he=f?null:0;const Ue=j.id||(w?`mui-component-select-${w}`:void 0),De={...o,variant:H,value:A,open:re,error:y},Je=e1(De),It={...x.PaperProps,...typeof x.slotProps?.paper=="function"?x.slotProps.paper(De):x.slotProps?.paper},jt={...x.MenuListProps,...typeof x.slotProps?.list=="function"?x.slotProps.list(De):x.slotProps?.list},ft=vo();return g.jsxs(C.Fragment,{children:[g.jsx(Xx,{as:"div",ref:ae,tabIndex:he,role:"combobox","aria-controls":re?ft:void 0,"aria-disabled":f?"true":void 0,"aria-expanded":re?"true":"false","aria-haspopup":"listbox","aria-label":a,"aria-labelledby":[v,Ue].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":P?"true":void 0,"aria-invalid":y?"true":void 0,onKeyDown:ye,onMouseDown:f||m?null:Oe,onBlur:Le,onFocus:k,...j,ownerState:De,className:Z(j.className,Je.select,c),id:Ue,children:Qx(Ie)?gc||(gc=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):Ie}),g.jsx(Zx,{"aria-invalid":y,value:Array.isArray(A)?A.join(","):A,name:w,ref:K,"aria-hidden":!0,onChange:Be,tabIndex:-1,disabled:f,className:Je.nativeInput,autoFocus:s,required:P,...F,ownerState:De}),g.jsx(Jx,{as:h,className:Je.icon,ownerState:De}),g.jsx(Sd,{id:`menu-${w||""}`,anchorEl:ie,open:re,onClose:Ee,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...x,slotProps:{...x.slotProps,list:{"aria-labelledby":v,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:ft,...jt},paper:{...It,style:{minWidth:Se,...It!=null?It.style:null}}},children:ke})]})});process.env.NODE_ENV!=="production"&&(Pd.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:Ot,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 t1=e=>{const{classes:o}=e,r=be({root:["root"]},Ed,o);return{...o,...r}},$i={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>yt(e)&&e!=="variant"},o1=L(Sa,$i)(""),n1=L(Ta,$i)(""),r1=L(wa,$i)(""),Ea=C.forwardRef(function(o,n){const r=ve({name:"MuiSelect",props:o}),{autoWidth:a=!1,children:s,classes:i={},className:l,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:d=md,id:f,input:b,inputProps:y,label:h,labelId:p,MenuProps:v,multiple:x=!1,native:O=!1,onClose:w,onOpen:S,open:T,renderValue:E,SelectDisplayProps:k,variant:$="outlined",...N}=r,M=O?Od:Pd,D=Zt(),m=jo({props:r,muiFormControl:D,states:["variant","error"]}),I=m.variant||$,P={...r,variant:I,classes:i},j=t1(P),{root:R,...W}=j,G=b||{standard:g.jsx(o1,{ownerState:P}),outlined:g.jsx(n1,{label:h,ownerState:P}),filled:g.jsx(r1,{ownerState:P})}[I],H=et(n,vn(G));return g.jsx(C.Fragment,{children:C.cloneElement(G,{inputComponent:M,inputProps:{children:s,error:m.error,IconComponent:d,variant:I,type:void 0,multiple:x,...O?{id:f}:{autoWidth:a,defaultOpen:c,displayEmpty:u,labelId:p,MenuProps:v,onClose:w,onOpen:S,open:T,renderValue:E,SelectDisplayProps:{id:f,...k}},...y,classes:y?bt(W,y.classes):W,...b?b.props.inputProps:{}},...(x&&O||u)&&I==="outlined"?{notched:!0}:{},ref:H,className:Z(G.props.className,l,j.root),...!b&&{variant:I},...N})})});process.env.NODE_ENV!=="production"&&(Ea.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"])});Ea.muiName="Select";function a1(e){return me("MuiTextField",e)}ge("MuiTextField",["root"]);const s1={standard:Sa,filled:wa,outlined:Ta},i1=e=>{const{classes:o}=e;return be({root:["root"]},a1,o)},l1=L(Oa,{name:"MuiTextField",slot:"Root"})({}),Pa=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiTextField"}),{autoComplete:a,autoFocus:s=!1,children:i,className:l,color:c="primary",defaultValue:u,disabled:d=!1,error:f=!1,FormHelperTextProps:b,fullWidth:y=!1,helperText:h,id:p,InputLabelProps:v,inputProps:x,InputProps:O,inputRef:w,label:S,maxRows:T,minRows:E,multiline:k=!1,name:$,onBlur:N,onChange:M,onFocus:D,placeholder:m,required:I=!1,rows:P,select:j=!1,SelectProps:R,slots:W={},slotProps:G={},type:H,value:F,variant:A="outlined",...X}=r,ee={...r,autoFocus:s,color:c,disabled:d,error:f,fullWidth:y,multiline:k,required:I,select:j,variant:A},se=i1(ee);process.env.NODE_ENV!=="production"&&j&&!i&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const K=vo(p),z=h&&K?`${K}-helper-text`:void 0,oe=S&&K?`${K}-label`:void 0,ce=s1[A],J={slots:W,slotProps:{input:O,inputLabel:v,htmlInput:x,formHelperText:b,select:R,...G}},Y={},le=J.slotProps.inputLabel;A==="outlined"&&(le&&typeof le.shrink<"u"&&(Y.notched=le.shrink),Y.label=S),j&&((!R||!R.native)&&(Y.id=void 0),Y["aria-describedby"]=void 0);const[U,ae]=fe("root",{elementType:l1,shouldForwardComponentProp:!0,externalForwardedProps:{...J,...X},ownerState:ee,className:Z(se.root,l),ref:n,additionalProps:{disabled:d,error:f,fullWidth:y,required:I,color:c,variant:A}}),[ie,ue]=fe("input",{elementType:ce,externalForwardedProps:J,additionalProps:Y,ownerState:ee}),[Oe,Ee]=fe("inputLabel",{elementType:Ti,externalForwardedProps:J,ownerState:ee}),[ne,Be]=fe("htmlInput",{elementType:"input",externalForwardedProps:J,ownerState:ee}),[we,ye]=fe("formHelperText",{elementType:Oi,externalForwardedProps:J,ownerState:ee}),[re,Le]=fe("select",{elementType:Ea,externalForwardedProps:J,ownerState:ee}),Ie=g.jsx(ie,{"aria-describedby":z,autoComplete:a,autoFocus:s,defaultValue:u,fullWidth:y,multiline:k,name:$,rows:P,maxRows:T,minRows:E,type:H,value:F,id:K,inputRef:w,onBlur:N,onChange:M,onFocus:D,placeholder:m,inputProps:Be,slots:{input:W.htmlInput?ne:void 0},...ue});return g.jsxs(U,{...ae,children:[S!=null&&S!==""&&g.jsx(Oe,{htmlFor:K,id:oe,...Ee,children:S}),j?g.jsx(re,{"aria-describedby":z,id:K,labelId:oe,value:F,input:Ie,...Le,children:i}):Ie,h&&g.jsx(we,{id:z,...ye,children:h})]})});process.env.NODE_ENV!=="production"&&(Pa.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:Ot,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"])});function kd({etiqueta:e,textoAyuda:o,requerido:n,propsEntrada:r,renderizarEntrada:a,opciones:s,marcador:i,error:l,...c}){const u=e,d=o,f=n,b=r,y=a,h=s||[],p=v=>g.jsx(Pa,{...v,label:u,placeholder:i,helperText:d,error:l,required:f,...b,sx:{"& .MuiOutlinedInput-root":{borderRadius:"12px",transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:x=>x.palette.mode==="dark"?"rgba(255,255,255,0.03)":"#fff",paddingRight:"30px","& fieldset":{borderColor:x=>x.palette.mode==="dark"?"rgba(255,255,255,0.15)":"#e2e8f0",borderWidth:"1px"},"&:hover fieldset":{borderColor:x=>x.palette.mode==="dark"?"rgba(255,255,255,0.4)":"#94a3b8"},"&.Mui-focused":{backgroundColor:x=>x.palette.mode==="dark"?"rgba(255,255,255,0.05)":"#fff",boxShadow:x=>x.palette.mode==="dark"?"0 4px 12px 0 rgba(0,0,0,0.4)":"0 4px 12px 0 rgba(0,0,0,0.05)"},"&.Mui-focused fieldset":{borderWidth:"2px",borderColor:"primary.main"}},"& .MuiInputLabel-root.Mui-focused":{color:"primary.main",fontWeight:600},...b?.sx}});return g.jsx(gd,{options:h,renderInput:y||p,PaperComponent:v=>g.jsx(uo,{...v,elevation:4,sx:{borderRadius:"16px",marginTop:"8px",border:x=>`1px solid ${x.palette.mode==="dark"?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.04)"}`,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.12)",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=>x.palette.mode==="dark"?"rgba(var(--mui-palette-primary-mainChannel), 0.15)":"rgba(var(--mui-palette-primary-mainChannel), 0.08)",color:"primary.main",fontWeight:600,"&.Mui-focused":{backgroundColor:x=>x.palette.mode==="dark"?"rgba(var(--mui-palette-primary-mainChannel), 0.25)":"rgba(var(--mui-palette-primary-mainChannel), 0.15)"}},"&:hover":{backgroundColor:x=>x.palette.mode==="dark"?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.04)",transform:"translateX(2px)"}},"& .MuiAutocomplete-noOptions":{color:"text.secondary",padding:"16px",textAlign:"center",fontSize:"0.9rem"}}}}),...c})}const c1=kd;function u1(e){return C.Children.toArray(e).filter(o=>C.isValidElement(o))}function d1(e){return me("MuiButtonGroup",e)}const $e=ge("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"]),p1=(e,o)=>{const{ownerState:n}=e;return[{[`& .${$e.grouped}`]:o.grouped},{[`& .${$e.grouped}`]:o[`grouped${B(n.orientation)}`]},{[`& .${$e.grouped}`]:o[`grouped${B(n.variant)}`]},{[`& .${$e.grouped}`]:o[`grouped${B(n.variant)}${B(n.orientation)}`]},{[`& .${$e.grouped}`]:o[`grouped${B(n.variant)}${B(n.color)}`]},{[`& .${$e.firstButton}`]:o.firstButton},{[`& .${$e.lastButton}`]:o.lastButton},{[`& .${$e.middleButton}`]:o.middleButton},o.root,o[n.variant],n.disableElevation===!0&&o.disableElevation,n.fullWidth&&o.fullWidth,n.orientation==="vertical"&&o.vertical]},f1=e=>{const{classes:o,color:n,disabled:r,disableElevation:a,fullWidth:s,orientation:i,variant:l}=e,c={root:["root",l,i,s&&"fullWidth",a&&"disableElevation",`color${B(n)}`],grouped:["grouped",`grouped${B(i)}`,`grouped${B(l)}`,`grouped${B(l)}${B(i)}`,`grouped${B(l)}${B(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return be(c,d1,o)},m1=L("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:p1})(pe(({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",[`& .${$e.lastButton},& .${$e.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${$e.lastButton},& .${$e.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.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)"}`,[`&.${$e.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${$e.firstButton},& .${$e.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)"}`,[`&.${$e.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve()).flatMap(([o])=>[{props:{variant:"text",color:o},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderColor:e.alpha((e.vars||e).palette[o].main,.5)}}}]),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${$e.lastButton},& .${$e.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${$e.lastButton},& .${$e.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${$e.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${$e.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter(Ve(["dark"])).map(([o])=>({props:{variant:"contained",color:o},style:{[`& .${$e.firstButton},& .${$e.middleButton}`]:{borderColor:(e.vars||e).palette[o].dark}}}))],[`& .${$e.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}}))),Rd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiButtonGroup"}),{children:a,className:s,color:i="primary",component:l="div",disabled:c=!1,disableElevation:u=!1,disableFocusRipple:d=!1,disableRipple:f=!1,fullWidth:b=!1,orientation:y="horizontal",size:h="medium",variant:p="outlined",...v}=r,x={...r,color:i,component:l,disabled:c,disableElevation:u,disableFocusRipple:d,disableRipple:f,fullWidth:b,orientation:y,size:h,variant:p},O=f1(x),w=C.useMemo(()=>({className:O.grouped,color:i,disabled:c,disableElevation:u,disableFocusRipple:d,disableRipple:f,fullWidth:b,size:h,variant:p}),[i,c,u,d,f,b,h,p,O.grouped]),S=u1(a),T=S.length,E=k=>{const $=k===0,N=k===T-1;return $&&N?"":$?O.firstButton:N?O.lastButton:O.middleButton};return g.jsx(m1,{as:l,role:"group",className:Z(O.root,s),ref:n,ownerState:x,...v,children:g.jsx(ti.Provider,{value:w,children:S.map((k,$)=>g.jsx(oi.Provider,{value:E($),children:k},$))})})});process.env.NODE_ENV!=="production"&&(Rd.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 $d=({children:e,tamano:o="medium",variante:n="contained",color:r="primary",...a})=>{const s=l=>l==="contenido"?"contained":l==="texto"?"text":l==="borde"?"outlined":l,i=l=>l==="primario"?"primary":l==="secundario"?"secondary":l==="exito"?"success":l==="error"?"error":l==="info"?"info":l==="advertencia"?"warning":l;return g.jsx(Rd,{size:o,variant:s(n),color:i(r),...a,children:e})},g1=$d;function h1(e){return me("PrivateSwitchBase",e)}ge("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const b1=e=>{const{classes:o,checked:n,disabled:r,edge:a}=e,s={root:["root",n&&"checked",r&&"disabled",a&&`edge${B(a)}`],input:["input"]};return be(s,h1,o)},y1=L(ho,{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}}]}),v1=L("input",{name:"MuiSwitchBase",shouldForwardProp:yt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),ka=C.forwardRef(function(o,n){const{autoFocus:r,checked:a,checkedIcon:s,defaultChecked:i,disabled:l,disableFocusRipple:c=!1,edge:u=!1,icon:d,id:f,inputProps:b,inputRef:y,name:h,onBlur:p,onChange:v,onFocus:x,readOnly:O,required:w=!1,tabIndex:S,type:T,value:E,slots:k={},slotProps:$={},...N}=o,[M,D]=mo({controlled:a,default:!!i,name:"SwitchBase",state:"checked"}),m=Zt(),I=K=>{x&&x(K),m&&m.onFocus&&m.onFocus(K)},P=K=>{p&&p(K),m&&m.onBlur&&m.onBlur(K)},j=K=>{if(K.nativeEvent.defaultPrevented)return;const z=K.target.checked;D(z),v&&v(K,z)};let R=l;m&&typeof R>"u"&&(R=m.disabled);const W=T==="checkbox"||T==="radio",G={...o,checked:M,disabled:R,disableFocusRipple:c,edge:u},H=b1(G),F={slots:k,slotProps:{input:b,...$}},[A,X]=fe("root",{ref:n,elementType:y1,className:H.root,shouldForwardComponentProp:!0,externalForwardedProps:{...F,component:"span",...N},getSlotProps:K=>({...K,onFocus:z=>{K.onFocus?.(z),I(z)},onBlur:z=>{K.onBlur?.(z),P(z)}}),ownerState:G,additionalProps:{centerRipple:!0,focusRipple:!c,disabled:R,role:void 0,tabIndex:null}}),[ee,se]=fe("input",{ref:y,elementType:v1,className:H.input,externalForwardedProps:F,getSlotProps:K=>({...K,onChange:z=>{K.onChange?.(z),j(z)}}),ownerState:G,additionalProps:{autoFocus:r,checked:a,defaultChecked:i,disabled:R,id:W?f:void 0,name:h,readOnly:O,required:w,tabIndex:S,type:T,...T==="checkbox"&&E===void 0?{}:{value:E}}});return g.jsxs(A,{...X,children:[g.jsx(ee,{...se}),M?s:d]})});process.env.NODE_ENV!=="production"&&(ka.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:Ot,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 x1=ct(g.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"),C1=ct(g.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"),S1=ct(g.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 w1(e){return me("MuiCheckbox",e)}const rs=ge("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),T1=e=>{const{classes:o,indeterminate:n,color:r,size:a}=e,s={root:["root",n&&"indeterminate",`color${B(r)}`,`size${B(a)}`]},i=be(s,w1,o);return{...o,...i}},O1=L(ka,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.indeterminate&&o.indeterminate,o[`size${B(n.size)}`],n.color!=="default"&&o[`color${B(n.color)}`]]}})(pe(({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(Ve()).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(Ve()).map(([o])=>({props:{color:o},style:{[`&.${rs.checked}, &.${rs.indeterminate}`]:{color:(e.vars||e).palette[o].main},[`&.${rs.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),E1=g.jsx(C1,{}),P1=g.jsx(x1,{}),k1=g.jsx(S1,{}),Ur=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCheckbox"}),{checkedIcon:a=E1,color:s="primary",icon:i=P1,indeterminate:l=!1,indeterminateIcon:c=k1,inputProps:u,size:d="medium",disableRipple:f=!1,className:b,slots:y={},slotProps:h={},...p}=r,v=l?c:i,x=l?c:a,O={...r,disableRipple:f,color:s,indeterminate:l,size:d},w=T1(O),S=h.input??u,[T,E]=fe("root",{ref:n,elementType:O1,className:Z(w.root,b),shouldForwardComponentProp:!0,externalForwardedProps:{slots:y,slotProps:h,...p},ownerState:O,additionalProps:{type:"checkbox",icon:C.cloneElement(v,{fontSize:v.props.fontSize??d}),checkedIcon:C.cloneElement(x,{fontSize:x.props.fontSize??d}),disableRipple:f,slots:y,slotProps:{input:fu(typeof S=="function"?S(O):S,{"data-indeterminate":l})}}});return g.jsx(T,{...E,classes:w})});process.env.NODE_ENV!=="production"&&(Ur.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 R1(e){return me("MuiFormControlLabel",e)}const Dn=ge("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),$1=e=>{const{classes:o,disabled:n,labelPlacement:r,error:a,required:s}=e,i={root:["root",n&&"disabled",`labelPlacement${B(r)}`,a&&"error",s&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",a&&"error"]};return be(i,R1,o)},I1=L("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${Dn.label}`]:o.label},o.root,o[`labelPlacement${B(n.labelPlacement)}`]]}})(pe(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Dn.disabled}`]:{cursor:"default"},[`& .${Dn.label}`]:{[`&.${Dn.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}}]}))),j1=L("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(pe(({theme:e})=>({[`&.${Dn.error}`]:{color:(e.vars||e).palette.error.main}}))),Ra=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormControlLabel"}),{checked:a,className:s,componentsProps:i={},control:l,disabled:c,disableTypography:u,inputRef:d,label:f,labelPlacement:b="end",name:y,onChange:h,required:p,slots:v={},slotProps:x={},value:O,...w}=r,S=Zt(),T=c??l.props.disabled??S?.disabled,E=p??l.props.required,k={disabled:T,required:E};["checked","name","onChange","value","inputRef"].forEach(j=>{typeof l.props[j]>"u"&&typeof r[j]<"u"&&(k[j]=r[j])});const $=jo({props:r,muiFormControl:S,states:["error"]}),N={...r,disabled:T,labelPlacement:b,required:E,error:$.error},M=$1(N),D={slots:v,slotProps:{...i,...x}},[m,I]=fe("typography",{elementType:st,externalForwardedProps:D,ownerState:N});let P=f;return P!=null&&P.type!==st&&!u&&(P=g.jsx(m,{component:"span",...I,className:Z(M.label,I?.className),children:P})),g.jsxs(I1,{className:Z(M.root,s),ownerState:N,ref:n,...w,children:[C.cloneElement(l,k),E?g.jsxs("div",{children:[P,g.jsxs(j1,{ownerState:N,"aria-hidden":!0,className:M.asterisk,children:[" ","*"]})]}):P]})});process.env.NODE_ENV!=="production"&&(Ra.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:Ot,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 N1(e){return me("MuiFormGroup",e)}ge("MuiFormGroup",["root","row","error"]);const M1=e=>{const{classes:o,row:n,error:r}=e;return be({root:["root",n&&"row",r&&"error"]},N1,o)},A1=L("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"}}]}),Ii=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiFormGroup"}),{className:a,row:s=!1,...i}=r,l=Zt(),c=jo({props:r,muiFormControl:l,states:["error"]}),u={...r,row:s,error:c.error},d=M1(u);return g.jsx(A1,{className:Z(d.root,a),ownerState:u,ref:n,...i})});process.env.NODE_ENV!=="production"&&(Ii.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 Id=L("span")(({theme:e})=>({borderRadius:6,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)"}})),L1=L(Id)({backgroundColor:"#137cbd",backgroundImage:"linear-gradient(180deg,hsla(0,0%,100%,.1),hsla(0,0%,100%,0))","&::before":{display:"block",width:20,height:20,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:'""'},"input:hover ~ &":{backgroundColor:"#106ba3"}}),ji=Me.forwardRef(({etiqueta:e,posicionEtiqueta:o,sx:n,...r},a)=>{const s=g.jsx(Ur,{ref:a,sx:{"&:hover":{bgcolor:"transparent"},...n},disableRipple:!0,color:"default",checkedIcon:g.jsx(L1,{}),icon:g.jsx(Id,{}),inputProps:{"aria-label":e||"Casilla"},...r});return e?g.jsx(Ra,{control:s,label:e,labelPlacement:o,sx:{"& .MuiFormControlLabel-label":{fontSize:"0.95rem",fontWeight:500,userSelect:"none"}}}):s});ji.displayName="CodeplexCasilla";const D1=ji;function B1(e){return me("MuiInputAdornment",e)}const bc=ge("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var yc;const F1=(e,o)=>{const{ownerState:n}=e;return[o.root,o[`position${B(n.position)}`],n.disablePointerEvents===!0&&o.disablePointerEvents,o[n.variant]]},z1=e=>{const{classes:o,disablePointerEvents:n,hiddenLabel:r,position:a,size:s,variant:i}=e,l={root:["root",n&&"disablePointerEvents",a&&`position${B(a)}`,i,r&&"hiddenLabel",s&&`size${B(s)}`]};return be(l,B1,o)},V1=L("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:F1})(pe(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${bc.positionStart}&:not(.${bc.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),As=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiInputAdornment"}),{children:a,className:s,component:i="div",disablePointerEvents:l=!1,disableTypography:c=!1,position:u,variant:d,...f}=r,b=Zt()||{};let y=d;d&&b.variant&&process.env.NODE_ENV!=="production"&&d===b.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),b&&!y&&(y=b.variant);const h={...r,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:l,position:u,variant:y},p=z1(h);return g.jsx(ur.Provider,{value:null,children:g.jsx(V1,{as:i,ownerState:h,className:Z(p.root,s),ref:n,...f,children:typeof a=="string"&&!c?g.jsx(st,{color:"textSecondary",children:a}):g.jsxs(C.Fragment,{children:[u==="start"?yc||(yc=g.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):null,a]})})})});process.env.NODE_ENV!=="production"&&(As.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 _1=ct(g.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),W1=ct(g.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove"),U1=L(Pa)(({theme:e})=>({"& input[type=number]":{"-moz-appearance":"textfield","&::-webkit-outer-spin-button":{"-webkit-appearance":"none",margin:0},"&::-webkit-inner-spin-button":{"-webkit-appearance":"none",margin:0}}})),jd=({InputProps:e,disabled:o,minimo:n,maximo:r,paso:a=1,valor:s,valorPorDefecto:i,alCambiar:l,...c})=>{const u=n,d=r,f=a,b=s,y=i,h=l,p=b!==void 0,[v,x]=Me.useState(p?b?.toString()??"":y?.toString()??""),O=p?b?.toString()??"":v,w=$=>{if(p||x($),$===""){h?.(null);return}const N=parseFloat($);isNaN(N)||h?.(N)},S=()=>{const N=parseFloat(O||"0")+f;d!==void 0&&N>d||w(N.toString())},T=()=>{const N=parseFloat(O||"0")-f;u!==void 0&&N<u||w(N.toString())},E=o||u!==void 0&&parseFloat(O||"0")<=u,k=o||d!==void 0&&parseFloat(O||"0")>=d;return g.jsx(U1,{type:"number",value:O,onChange:$=>w($.target.value),disabled:o,InputProps:{...e,startAdornment:g.jsx(As,{position:"start",children:g.jsx(dn,{onClick:T,disabled:E,edge:"start",size:"small",sx:{color:"text.secondary"},children:g.jsx(W1,{fontSize:"small"})})}),endAdornment:g.jsx(As,{position:"end",children:g.jsx(dn,{onClick:S,disabled:k,edge:"end",size:"small",sx:{color:"text.secondary"},children:g.jsx(_1,{fontSize:"small"})})}),sx:{"& input":{textAlign:"center"},...e?.sx}},...c})},H1=jd,q1=ct(g.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"),G1=ct(g.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"),K1=L("span",{name:"MuiRadioButtonIcon",shouldForwardProp:yt})({position:"relative",display:"flex"}),Y1=L(q1,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),X1=L(G1,{name:"MuiRadioButtonIcon"})(pe(({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 Ni(e){const{checked:o=!1,classes:n={},fontSize:r}=e,a={...e,checked:o};return g.jsxs(K1,{className:n.root,ownerState:a,children:[g.jsx(Y1,{fontSize:r,className:n.background,ownerState:a}),g.jsx(X1,{fontSize:r,className:n.dot,ownerState:a})]})}process.env.NODE_ENV!=="production"&&(Ni.propTypes={checked:t.bool,classes:t.object,fontSize:t.oneOf(["small","medium"])});const Mi=C.createContext(void 0);process.env.NODE_ENV!=="production"&&(Mi.displayName="RadioGroupContext");function J1(){return C.useContext(Mi)}function Z1(e){return me("MuiRadio",e)}const vc=ge("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),Q1=e=>{const{classes:o,color:n,size:r}=e,a={root:["root",`color${B(n)}`,r!=="medium"&&`size${B(r)}`]};return{...o,...be(a,Z1,o)}},eC=L(ka,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.size!=="medium"&&o[`size${B(n.size)}`],o[`color${B(n.color)}`]]}})(pe(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${vc.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(Ve()).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(Ve()).map(([o])=>({props:{color:o,disabled:!1},style:{[`&.${vc.checked}`]:{color:(e.vars||e).palette[o].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function tC(e,o){return typeof o=="object"&&o!==null?e===o:String(e)===String(o)}const oC=g.jsx(Ni,{checked:!0}),nC=g.jsx(Ni,{}),Nd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiRadio"}),{checked:a,checkedIcon:s=oC,color:i="primary",icon:l=nC,name:c,onChange:u,size:d="medium",className:f,disabled:b,disableRipple:y=!1,slots:h={},slotProps:p={},inputProps:v,...x}=r,O=Zt();let w=b;O&&typeof w>"u"&&(w=O.disabled),w??=!1;const S={...r,disabled:w,disableRipple:y,color:i,size:d},T=Q1(S),E=J1();let k=a;const $=is(u,E&&E.onChange);let N=c;E&&(typeof k>"u"&&(k=tC(E.value,r.value)),typeof N>"u"&&(N=E.name));const M=p.input??v,[D,m]=fe("root",{ref:n,elementType:eC,className:Z(T.root,f),shouldForwardComponentProp:!0,externalForwardedProps:{slots:h,slotProps:p,...x},getSlotProps:I=>({...I,onChange:(P,...j)=>{I.onChange?.(P,...j),$(P,...j)}}),ownerState:S,additionalProps:{type:"radio",icon:C.cloneElement(l,{fontSize:l.props.fontSize??d}),checkedIcon:C.cloneElement(s,{fontSize:s.props.fontSize??d}),disabled:w,name:N,checked:k,slots:h,slotProps:{input:typeof M=="function"?M(S):M}}});return g.jsx(D,{...m,classes:T})});process.env.NODE_ENV!=="production"&&(Nd.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:Ot,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 rC(e){return me("MuiRadioGroup",e)}ge("MuiRadioGroup",["root","row","error"]);const aC=e=>{const{classes:o,row:n,error:r}=e;return be({root:["root",n&&"row",r&&"error"]},rC,o)},Md=C.forwardRef(function(o,n){const{actions:r,children:a,className:s,defaultValue:i,name:l,onChange:c,value:u,...d}=o,f=C.useRef(null),b=aC(o),[y,h]=mo({controlled:u,default:i,name:"RadioGroup"});C.useImperativeHandle(r,()=>({focus:()=>{let O=f.current.querySelector("input:not(:disabled):checked");O||(O=f.current.querySelector("input:not(:disabled)")),O&&O.focus()}}),[]);const p=et(n,f),v=vo(l),x=C.useMemo(()=>({name:v,onChange(O){h(O.target.value),c&&c(O,O.target.value)},value:y}),[v,c,h,y]);return g.jsx(Mi.Provider,{value:x,children:g.jsx(Ii,{role:"radiogroup",ref:p,className:Z(b.root,s),...d,children:a})})});process.env.NODE_ENV!=="production"&&(Md.propTypes={children:t.node,className:t.string,defaultValue:t.any,name:t.string,onChange:t.func,value:t.any});const Ad=L("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)"}})),sC=L(Ad)({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"}}),Ai=Me.forwardRef(({etiqueta:e,posicionEtiqueta:o,sx:n,...r},a)=>{const s=g.jsx(Nd,{ref:a,sx:{"&:hover":{bgcolor:"transparent"},...n},disableRipple:!0,color:"default",checkedIcon:g.jsx(sC,{}),icon:g.jsx(Ad,{}),...r});return e?g.jsx(Ra,{control:s,label:e,labelPlacement:o,sx:{"& .MuiFormControlLabel-label":{fontSize:"0.95rem",fontWeight:500,userSelect:"none"}}}):s});Ai.displayName="CodeplexRadio";const Ld=({etiqueta:e,opciones:o,children:n,...r})=>{const a=o?o.map(i=>({value:i.valor,label:i.etiqueta,disabled:i.deshabilitado})):null,s=g.jsx(Md,{...r,children:a?a.map(i=>g.jsx(Ai,{value:i.value,etiqueta:i.label,disabled:i.disabled},i.value)):n});return e?g.jsxs(Oa,{component:"fieldset",children:[g.jsx(wi,{component:"legend",className:"mb-2 font-semibold",children:e}),s]}):s},iC=Ld,xc=ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);function lC(e){return me("MuiListItemIcon",e)}const Cc=ge("MuiListItemIcon",["root","alignItemsFlexStart"]),cC=e=>{const{alignItems:o,classes:n}=e;return be({root:["root",o==="flex-start"&&"alignItemsFlexStart"]},lC,n)},uC=L("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.alignItems==="flex-start"&&o.alignItemsFlexStart]}})(pe(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),Dd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemIcon"}),{className:a,...s}=r,i=C.useContext(Ut),l={...r,alignItems:i.alignItems},c=cC(l);return g.jsx(uC,{className:Z(c.root,a),ownerState:l,ref:n,...s})});process.env.NODE_ENV!=="production"&&(Dd.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 dC(e){return me("MuiListItemText",e)}const an=ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),pC=e=>{const{classes:o,inset:n,primary:r,secondary:a,dense:s}=e;return be({root:["root",n&&"inset",s&&"dense",r&&a&&"multiline"],primary:["primary"],secondary:["secondary"]},dC,o)},fC=L("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[{[`& .${an.primary}`]:o.primary},{[`& .${an.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,[`.${Lr.root}:where(& .${an.primary})`]:{display:"block"},[`.${Lr.root}:where(& .${an.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),Bd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemText"}),{children:a,className:s,disableTypography:i=!1,inset:l=!1,primary:c,primaryTypographyProps:u,secondary:d,secondaryTypographyProps:f,slots:b={},slotProps:y={},...h}=r,{dense:p}=C.useContext(Ut);let v=c??a,x=d;const O={...r,disableTypography:i,inset:l,primary:!!v,secondary:!!x,dense:p},w=pC(O),S={slots:b,slotProps:{primary:u,secondary:f,...y}},[T,E]=fe("root",{className:Z(w.root,s),elementType:fC,externalForwardedProps:{...S,...h},ownerState:O,ref:n}),[k,$]=fe("primary",{className:w.primary,elementType:st,externalForwardedProps:S,ownerState:O}),[N,M]=fe("secondary",{className:w.secondary,elementType:st,externalForwardedProps:S,ownerState:O});return v!=null&&v.type!==st&&!i&&(v=g.jsx(k,{variant:p?"body2":"body1",component:$?.variant?void 0:"span",...$,children:v})),x!=null&&x.type!==st&&!i&&(x=g.jsx(N,{variant:"body2",color:"textSecondary",...M,children:x})),g.jsxs(T,{...E,children:[v,x]})});process.env.NODE_ENV!=="production"&&(Bd.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 mC(e){return me("MuiMenuItem",e)}const $n=ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),gC=(e,o)=>{const{ownerState:n}=e;return[o.root,n.dense&&o.dense,n.divider&&o.divider,!n.disableGutters&&o.gutters]},hC=e=>{const{disabled:o,dense:n,divider:r,disableGutters:a,selected:s,classes:i}=e,c=be({root:["root",n&&"dense",o&&"disabled",!a&&"gutters",r&&"divider",s&&"selected"]},mC,i);return{...i,...c}},bC=L(ho,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:gC})(pe(({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"}},[`&.${$n.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${$n.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${$n.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)}},[`&.${$n.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${$n.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${xc.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${xc.inset}`]:{marginLeft:52},[`& .${an.root}`]:{marginTop:0,marginBottom:0},[`& .${an.inset}`]:{paddingLeft:36},[`& .${Cc.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,[`& .${Cc.root} svg`]:{fontSize:"1.25rem"}}}]}))),Hr=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiMenuItem"}),{autoFocus:a=!1,component:s="li",dense:i=!1,divider:l=!1,disableGutters:c=!1,focusVisibleClassName:u,role:d="menuitem",tabIndex:f,className:b,...y}=r,h=C.useContext(Ut),p=C.useMemo(()=>({dense:i||h.dense||!1,disableGutters:c}),[h.dense,i,c]),v=C.useRef(null);Ht(()=>{a&&(v.current?v.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 x={...r,dense:p.dense,divider:l,disableGutters:c},O=hC(r),w=et(v,n);let S;return r.disabled||(S=f!==void 0?f:-1),g.jsx(Ut.Provider,{value:p,children:g.jsx(bC,{ref:w,role:d,tabIndex:S,component:s,focusVisibleClassName:Z(O.focusVisible,u),className:Z(O.root,b),...y,ownerState:x,classes:O})})});process.env.NODE_ENV!=="production"&&(Hr.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 yC=ct(g.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),vC=L(Ea)(({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)"}`}})),Fd=({value:e,onChange:o,size:n,multiple:r=!1,error:a,disabled:s,required:i,variant:l="outlined",displayEmpty:c,etiqueta:u,opciones:d,textoAyuda:f,marcador:b,renderizarValor:y,alCambiar:h,tamano:p,children:v,sx:x,...O})=>{const w=xo(),S=h||o,T=p||n,E=d?d.map(m=>({value:m.valor,label:m.etiqueta,disabled:m.deshabilitado})):[],k=m=>{if(S){const P={target:{value:Array.isArray(e)?e.filter(j=>j!==m):[],name:O.name}};S(P,null)}},$=e===""||e===null||Array.isArray(e)&&e.length===0,N=m=>{if(y)return y(m);if(r){const I=Array.isArray(m)?m:[m];return E.length>0?g.jsx(nt,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:I.map(P=>{const j=E.find(R=>R.value===P);return g.jsx(Si,{label:j?.label||P,size:"small",sx:{borderRadius:1.5},onDelete:()=>k(P),onMouseDown:R=>R.stopPropagation()},P)})}):I.join(", ")}return E.length>0?(m===""||m===null)&&b?g.jsx("span",{style:{color:w.palette.text.disabled},children:b}):E.find(P=>P.value===m)?.label||m:m},M=y||r||E.length>0,D=!$||!!b;return g.jsxs(Oa,{fullWidth:!0,error:a,disabled:s,required:i,variant:l,sx:{minWidth:120,...x},children:[u&&g.jsx(Ti,{id:`select-label-${u}`,shrink:D,children:u}),g.jsxs(vC,{labelId:u?`select-label-${u}`:void 0,label:u,value:e,onChange:S,size:T,multiple:r,displayEmpty:!!b||c,renderValue:M?N:void 0,IconComponent:yC,MenuProps:{PaperProps:{elevation:0,sx:{mt:1.5,borderRadius:3,boxShadow:"0 8px 32px rgba(0,0,0,0.12)",border:"1px solid",borderColor:w.palette.mode==="dark"?"rgba(255,255,255,0.1)":"rgba(0,0,0,0.05)",maxHeight:320,"& .MuiMenuItem-root":{borderRadius:1.5,mx:1,my:.5,py:1,fontSize:"0.95rem",transition:"all 0.2s","&:hover":{backgroundColor:w.palette.action.hover,pl:2.5},"&.Mui-selected":{backgroundColor:w.palette.primary.light,color:w.palette.primary.contrastText,fontWeight:600,"&:hover":{backgroundColor:w.palette.primary.main}}}}}},...O,children:[b&&g.jsx(Hr,{value:"",disabled:!0,sx:{display:"none"},children:g.jsx("span",{style:{color:w.palette.text.disabled},children:b})}),E.length>0?E.map(m=>g.jsx(Hr,{value:m.value,disabled:m.disabled,children:m.label},m.value)):v]}),f&&g.jsx(Oi,{children:f})]})},xC=Fd;function CC(e,o,n=(r,a)=>r===a){return e.length===o.length&&e.every((r,a)=>n(r,o[a]))}const SC=2;function tn(e,o,n,r,a){return n===1?Math.min(e+o,a):Math.max(e-o,r)}function zd(e,o){return e-o}function Sc(e,o){const{index:n}=e.reduce((r,a,s)=>{const i=Math.abs(o-a);return r===null||i<r.distance||i===r.distance?{distance:i,index:s}:r},null)??{};return n}function Cr(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 qr(e,o,n){return(e-o)*100/(n-o)}function wC(e,o,n){return(n-o)*e+o}function TC(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 OC(e,o,n){const r=Math.round((e-n)/o)*o+n;return Number(r.toFixed(TC(o)))}function wc({values:e,newValue:o,index:n}){const r=e.slice();return r[n]=o,r.sort(zd)}function Sr({sliderRef:e,activeIndex:o,setActive:n}){const r=dt(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 wr(e,o){return typeof e=="number"&&typeof o=="number"?e===o:typeof e=="object"&&typeof o=="object"?CC(e,o):!1}const EC={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}%`})}},PC=e=>e;let Tr;function Tc(){return Tr===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Tr=CSS.supports("touch-action","none"):Tr=!0),Tr}function kC(e){const{"aria-labelledby":o,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:s=!1,marks:i=!1,max:l=100,min:c=0,name:u,onChange:d,onChangeCommitted:f,orientation:b="horizontal",rootRef:y,scale:h=PC,step:p=1,shiftStep:v=10,tabIndex:x,value:O}=e,w=C.useRef(void 0),[S,T]=C.useState(-1),[E,k]=C.useState(-1),[$,N]=C.useState(!1),M=C.useRef(0),D=C.useRef(null),[m,I]=mo({controlled:O,default:n??c,name:"Slider"}),P=d&&((te,Q,xe)=>{const Te=te.nativeEvent||te,ke=new Te.constructor(Te.type,Te);Object.defineProperty(ke,"target",{writable:!0,value:{value:Q,name:u}}),D.current=Q,d(ke,Q,xe)}),j=Array.isArray(m);let R=j?m.slice().sort(zd):[m];R=R.map(te=>te==null?c:Bo(te,c,l));const W=i===!0&&p!==null?[...Array(Math.floor((l-c)/p)+1)].map((te,Q)=>({value:c+p*Q})):i||[],G=W.map(te=>te.value),[H,F]=C.useState(-1),A=C.useRef(null),X=et(y,A),ee=te=>Q=>{const xe=Number(Q.currentTarget.getAttribute("data-index"));un(Q.target)&&F(xe),k(xe),te?.onFocus?.(Q)},se=te=>Q=>{un(Q.target)||F(-1),k(-1),te?.onBlur?.(Q)},K=(te,Q)=>{const xe=Number(te.currentTarget.getAttribute("data-index")),Te=R[xe],ke=G.indexOf(Te);let Se=Q;if(W&&p==null){const he=G[G.length-1];Se>=he?Se=he:Se<=G[0]?Se=G[0]:Se=Se<Te?G[ke-1]:G[ke+1]}if(Se=Bo(Se,c,l),j){a&&(Se=Bo(Se,R[xe-1]||-1/0,R[xe+1]||1/0));const he=Se;Se=wc({values:R,newValue:Se,index:xe});let Ue=xe;a||(Ue=Se.indexOf(he)),Sr({sliderRef:A,activeIndex:Ue})}I(Se),F(xe),P&&!wr(Se,m)&&P(te,Se,xe),f&&f(te,D.current??Se)},z=te=>Q=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(Q.key)){Q.preventDefault();const xe=Number(Q.currentTarget.getAttribute("data-index")),Te=R[xe];let ke=null;if(p!=null){const Se=Q.shiftKey?v:p;switch(Q.key){case"ArrowUp":ke=tn(Te,Se,1,c,l);break;case"ArrowRight":ke=tn(Te,Se,s?-1:1,c,l);break;case"ArrowDown":ke=tn(Te,Se,-1,c,l);break;case"ArrowLeft":ke=tn(Te,Se,s?1:-1,c,l);break;case"PageUp":ke=tn(Te,v,1,c,l);break;case"PageDown":ke=tn(Te,v,-1,c,l);break;case"Home":ke=c;break;case"End":ke=l;break}}else if(W){const Se=G[G.length-1],he=G.indexOf(Te),Ue=[s?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"],De=[s?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];Ue.includes(Q.key)?he===0?ke=G[0]:ke=G[he-1]:De.includes(Q.key)&&(he===G.length-1?ke=Se:ke=G[he+1])}ke!=null&&K(Q,ke)}te?.onKeyDown?.(Q)};Ht(()=>{r&&A.current.contains(document.activeElement)&&document.activeElement?.blur()},[r]),r&&S!==-1&&T(-1),r&&H!==-1&&F(-1);const oe=te=>Q=>{te.onChange?.(Q),K(Q,Q.target.valueAsNumber)},ce=C.useRef(void 0);let J=b;s&&b==="horizontal"&&(J+="-reverse");const Y=({finger:te,move:Q=!1})=>{const{current:xe}=A,{width:Te,height:ke,bottom:Se,left:he}=xe.getBoundingClientRect();let Ue;J.startsWith("vertical")?Ue=(Se-te.y)/ke:Ue=(te.x-he)/Te,J.includes("-reverse")&&(Ue=1-Ue);let De;if(De=wC(Ue,c,l),p)De=OC(De,p,c);else{const It=Sc(G,De);De=G[It]}De=Bo(De,c,l);let Je=0;if(j){Q?Je=ce.current:Je=Sc(R,De),a&&(De=Bo(De,R[Je-1]||-1/0,R[Je+1]||1/0));const It=De;De=wc({values:R,newValue:De,index:Je}),a&&Q||(Je=De.indexOf(It),ce.current=Je)}return{newValue:De,activeIndex:Je}},le=Ct(te=>{const Q=Cr(te,w);if(!Q)return;if(M.current+=1,te.type==="mousemove"&&te.buttons===0){U(te);return}const{newValue:xe,activeIndex:Te}=Y({finger:Q,move:!0});Sr({sliderRef:A,activeIndex:Te,setActive:T}),I(xe),!$&&M.current>SC&&N(!0),P&&!wr(xe,m)&&P(te,xe,Te)}),U=Ct(te=>{const Q=Cr(te,w);if(N(!1),!Q)return;const{newValue:xe}=Y({finger:Q,move:!0});T(-1),te.type==="touchend"&&k(-1),f&&f(te,D.current??xe),w.current=void 0,ie()}),ae=Ct(te=>{if(r)return;Tc()||te.preventDefault();const Q=te.changedTouches[0];Q!=null&&(w.current=Q.identifier);const xe=Cr(te,w);if(xe!==!1){const{newValue:ke,activeIndex:Se}=Y({finger:xe});Sr({sliderRef:A,activeIndex:Se,setActive:T}),I(ke),P&&!wr(ke,m)&&P(te,ke,Se)}M.current=0;const Te=dt(A.current);Te.addEventListener("touchmove",le,{passive:!0}),Te.addEventListener("touchend",U,{passive:!0})}),ie=C.useCallback(()=>{const te=dt(A.current);te.removeEventListener("mousemove",le),te.removeEventListener("mouseup",U),te.removeEventListener("touchmove",le),te.removeEventListener("touchend",U)},[U,le]);C.useEffect(()=>{const{current:te}=A;return te.addEventListener("touchstart",ae,{passive:Tc()}),()=>{te.removeEventListener("touchstart",ae),ie()}},[ie,ae]),C.useEffect(()=>{r&&ie()},[r,ie]);const ue=te=>Q=>{if(te.onMouseDown?.(Q),r||Q.defaultPrevented||Q.button!==0)return;Q.preventDefault();const xe=Cr(Q,w);if(xe!==!1){const{newValue:ke,activeIndex:Se}=Y({finger:xe});Sr({sliderRef:A,activeIndex:Se,setActive:T}),I(ke),P&&!wr(ke,m)&&P(Q,ke,Se)}M.current=0;const Te=dt(A.current);Te.addEventListener("mousemove",le,{passive:!0}),Te.addEventListener("mouseup",U)},Oe=qr(j?R[0]:c,c,l),Ee=qr(R[R.length-1],c,l)-Oe,ne=(te={})=>{const Q=Vo(te),xe={onMouseDown:ue(Q||{})},Te={...Q,...xe};return{...te,ref:X,...Te}},Be=te=>Q=>{te.onMouseOver?.(Q);const xe=Number(Q.currentTarget.getAttribute("data-index"));k(xe)},we=te=>Q=>{te.onMouseLeave?.(Q),k(-1)},ye=(te={})=>{const Q=Vo(te),xe={onMouseOver:Be(Q||{}),onMouseLeave:we(Q||{})};return{...te,...Q,...xe}},re=te=>({pointerEvents:S!==-1&&S!==te?"none":void 0});let Le;return b==="vertical"&&(Le=s?"vertical-rl":"vertical-lr"),{active:S,axis:J,axisProps:EC,dragging:$,focusedThumbIndex:H,getHiddenInputProps:(te={})=>{const Q=Vo(te),xe={onChange:oe(Q||{}),onFocus:ee(Q||{}),onBlur:se(Q||{}),onKeyDown:z(Q||{})},Te={...Q,...xe};return{tabIndex:x,"aria-labelledby":o,"aria-orientation":b,"aria-valuemax":h(l),"aria-valuemin":h(c),name:u,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":e.step??void 0,disabled:r,...te,...Te,style:{...Yu,direction:s?"rtl":"ltr",width:"100%",height:"100%",writingMode:Le}}},getRootProps:ne,getThumbProps:ye,marks:W,open:E,range:j,rootRef:X,trackLeap:Ee,trackOffset:Oe,values:R,getThumbStyle:re}}const RC=e=>!e||!ao(e);function $C(e){return me("MuiSlider",e)}const _t=ge("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"]),IC=e=>{const{open:o}=e;return{offset:Z(o&&_t.valueLabelOpen),circle:_t.valueLabelCircle,label:_t.valueLabelLabel}};function Vd(e){const{children:o,className:n,value:r}=e,a=IC(e);return o?C.cloneElement(o,{className:o.props.className},g.jsxs(C.Fragment,{children:[o.props.children,g.jsx("span",{className:Z(a.offset,n),"aria-hidden":!0,children:g.jsx("span",{className:a.circle,children:g.jsx("span",{className:a.label,children:r})})})]})):null}process.env.NODE_ENV!=="production"&&(Vd.propTypes={children:t.element.isRequired,className:t.string,value:t.node});function Oc(e){return e}const jC=L("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,o[`color${B(n.color)}`],n.size!=="medium"&&o[`size${B(n.size)}`],n.marked&&o.marked,n.orientation==="vertical"&&o.vertical,n.track==="inverted"&&o.trackInverted,n.track===!1&&o.trackFalse]}})(pe(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${_t.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${_t.dragging}`]:{[`& .${_t.thumb}, & .${_t.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(Ve()).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}}]}))),NC=L("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}}]}),MC=L("span",{name:"MuiSlider",slot:"Track"})(pe(({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(Ve()).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)})}}}))]}))),AC=L("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.thumb,o[`thumbColor${B(n.color)}`],n.size!=="medium"&&o[`thumbSize${B(n.size)}`]]}})(pe(({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%)"},[`&.${_t.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(Ve()).map(([o])=>({props:{color:o},style:{[`&:hover, &.${_t.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.alpha((e.vars||e).palette[o].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${_t.active}`]:{boxShadow:`0px 0px 0px 14px ${e.alpha((e.vars||e).palette[o].main,.16)}`}}}))]}))),_d=L(Vd,{name:"MuiSlider",slot:"ValueLabel"})(pe(({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%"},[`&.${_t.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%"},[`&.${_t.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"&&(_d.propTypes={children:t.element.isRequired,index:t.number.isRequired,open:t.bool.isRequired,value:t.node});const LC=L("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>ar(e)&&e!=="markActive",overridesResolver:(e,o)=>{const{markActive:n}=e;return[o.mark,n&&o.markActive]}})(pe(({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}}]}))),DC=L("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>ar(e)&&e!=="markLabelActive"})(pe(({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}}]}))),BC=e=>{const{disabled:o,dragging:n,marked:r,orientation:a,track:s,classes:i,color:l,size:c}=e,u={root:["root",o&&"disabled",n&&"dragging",r&&"marked",a==="vertical"&&"vertical",s==="inverted"&&"trackInverted",s===!1&&"trackFalse",l&&`color${B(l)}`,c&&`size${B(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",o&&"disabled",c&&`thumbSize${B(c)}`,l&&`thumbColor${B(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return be(u,$C,i)},FC=({children:e})=>e,Wd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSlider"}),a=rr(),{"aria-label":s,"aria-valuetext":i,"aria-labelledby":l,component:c="span",components:u={},componentsProps:d={},color:f="primary",classes:b,className:y,disableSwap:h=!1,disabled:p=!1,getAriaLabel:v,getAriaValueText:x,marks:O=!1,max:w=100,min:S=0,name:T,onChange:E,onChangeCommitted:k,orientation:$="horizontal",shiftStep:N=10,size:M="medium",step:D=1,scale:m=Oc,slotProps:I,slots:P,tabIndex:j,track:R="normal",value:W,valueLabelDisplay:G="off",valueLabelFormat:H=Oc,...F}=r,A={...r,isRtl:a,max:w,min:S,classes:b,disabled:p,disableSwap:h,orientation:$,marks:O,color:f,size:M,step:D,shiftStep:N,scale:m,track:R,valueLabelDisplay:G,valueLabelFormat:H},{axisProps:X,getRootProps:ee,getHiddenInputProps:se,getThumbProps:K,open:z,active:oe,axis:ce,focusedThumbIndex:J,range:Y,dragging:le,marks:U,values:ae,trackOffset:ie,trackLeap:ue,getThumbStyle:Oe}=kC({...A,rootRef:n});A.marked=U.length>0&&U.some(Fe=>Fe.label),A.dragging=le,A.focusedThumbIndex=J;const Ee=BC(A),ne=P?.root??u.Root??jC,Be=P?.rail??u.Rail??NC,we=P?.track??u.Track??MC,ye=P?.thumb??u.Thumb??AC,re=P?.valueLabel??u.ValueLabel??_d,Le=P?.mark??u.Mark??LC,Ie=P?.markLabel??u.MarkLabel??DC,te=P?.input??u.Input??"input",Q=I?.root??d.root,xe=I?.rail??d.rail,Te=I?.track??d.track,ke=I?.thumb??d.thumb,Se=I?.valueLabel??d.valueLabel,he=I?.mark??d.mark,Ue=I?.markLabel??d.markLabel,De=I?.input??d.input,Je=eo({elementType:ne,getSlotProps:ee,externalSlotProps:Q,externalForwardedProps:F,additionalProps:{...RC(ne)&&{as:c}},ownerState:{...A,...Q?.ownerState},className:[Ee.root,y]}),It=eo({elementType:Be,externalSlotProps:xe,ownerState:A,className:Ee.rail}),jt=eo({elementType:we,externalSlotProps:Te,additionalProps:{style:{...X[ce].offset(ie),...X[ce].leap(ue)}},ownerState:{...A,...Te?.ownerState},className:Ee.track}),ft=eo({elementType:ye,getSlotProps:K,externalSlotProps:ke,ownerState:{...A,...ke?.ownerState},className:Ee.thumb}),Ce=eo({elementType:re,externalSlotProps:Se,ownerState:{...A,...Se?.ownerState},className:Ee.valueLabel}),je=eo({elementType:Le,externalSlotProps:he,ownerState:A,className:Ee.mark}),Ze=eo({elementType:Ie,externalSlotProps:Ue,ownerState:A,className:Ee.markLabel}),vt=eo({elementType:te,getSlotProps:se,externalSlotProps:De,ownerState:A});return g.jsxs(ne,{...Je,children:[g.jsx(Be,{...It}),g.jsx(we,{...jt}),U.filter(Fe=>Fe.value>=S&&Fe.value<=w).map((Fe,Qe)=>{const Nt=qr(Fe.value,S,w),Et=X[ce].offset(Nt);let mt;return R===!1?mt=ae.includes(Fe.value):mt=R==="normal"&&(Y?Fe.value>=ae[0]&&Fe.value<=ae[ae.length-1]:Fe.value<=ae[0])||R==="inverted"&&(Y?Fe.value<=ae[0]||Fe.value>=ae[ae.length-1]:Fe.value>=ae[0]),g.jsxs(C.Fragment,{children:[g.jsx(Le,{"data-index":Qe,...je,...!ao(Le)&&{markActive:mt},style:{...Et,...je.style},className:Z(je.className,mt&&Ee.markActive)}),Fe.label!=null?g.jsx(Ie,{"aria-hidden":!0,"data-index":Qe,...Ze,...!ao(Ie)&&{markLabelActive:mt},style:{...Et,...Ze.style},className:Z(Ee.markLabel,Ze.className,mt&&Ee.markLabelActive),children:Fe.label}):null]},Qe)}),ae.map((Fe,Qe)=>{const Nt=qr(Fe,S,w),Et=X[ce].offset(Nt),mt=G==="off"?FC:re;return g.jsx(mt,{...!ao(mt)&&{valueLabelFormat:H,valueLabelDisplay:G,value:typeof H=="function"?H(m(Fe),Qe):H,index:Qe,open:z===Qe||oe===Qe||G==="on",disabled:p},...Ce,children:g.jsx(ye,{"data-index":Qe,...ft,className:Z(Ee.thumb,ft.className,oe===Qe&&Ee.active,J===Qe&&Ee.focusVisible),style:{...Et,...Oe(Qe),...ft.style},children:g.jsx(te,{"data-index":Qe,"aria-label":v?v(Qe):s,"aria-valuenow":m(Fe),"aria-labelledby":l,"aria-valuetext":x?x(m(Fe),Qe):i,value:ae[Qe],...vt})})},Qe)})]})});process.env.NODE_ENV!=="production"&&(Wd.propTypes={"aria-label":St(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":St(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 zC=L(Wd)(({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"}}})),Ud=({etiqueta:e,textoAyuda:o,valor:n,minimo:r,maximo:a,paso:s,marcas:i,mostrarEtiquetaValor:l,alCambiar:c,tamano:u,className:d,sx:f,...b})=>{const y=n,h=r,p=a,v=s,x=i,O=l,w=c||b.onChange,S=u;return g.jsxs(nt,{sx:{width:"100%",...f},className:d,children:[e&&g.jsx(st,{gutterBottom:!0,variant:"subtitle2",sx:{fontWeight:600,mb:1},children:e}),g.jsx(zC,{value:y,min:h,max:p,step:v,marks:x,valueLabelDisplay:O,onChange:w,size:S,...b}),o&&g.jsx(st,{variant:"caption",color:"text.secondary",sx:{mt:.5,display:"block"},children:o})]})},VC=Ud;function _C(e){return me("MuiSwitch",e)}const Tt=ge("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),WC=e=>{const{classes:o,edge:n,size:r,color:a,checked:s,disabled:i}=e,l={root:["root",n&&`edge${B(n)}`,`size${B(r)}`],switchBase:["switchBase",`color${B(a)}`,s&&"checked",i&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=be(l,_C,o);return{...o,...c}},UC=L("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.edge&&o[`edge${B(n.edge)}`],o[`size${B(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,[`& .${Tt.thumb}`]:{width:16,height:16},[`& .${Tt.switchBase}`]:{padding:4,[`&.${Tt.checked}`]:{transform:"translateX(16px)"}}}}]}),HC=L(ka,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.switchBase,{[`& .${Tt.input}`]:o.input},n.color!=="default"&&o[`color${B(n.color)}`]]}})(pe(({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}),[`&.${Tt.checked}`]:{transform:"translateX(20px)"},[`&.${Tt.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Tt.checked} + .${Tt.track}`]:{opacity:.5},[`&.${Tt.disabled} + .${Tt.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Tt.input}`]:{left:"-100%",width:"300%"}})),pe(({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(Ve(["light"])).map(([o])=>({props:{color:o},style:{[`&.${Tt.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"}},[`&.${Tt.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)}`}},[`&.${Tt.checked} + .${Tt.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),qC=L("span",{name:"MuiSwitch",slot:"Track"})(pe(({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}`}))),GC=L("span",{name:"MuiSwitch",slot:"Thumb"})(pe(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Hd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiSwitch"}),{className:a,color:s="primary",edge:i=!1,size:l="medium",sx:c,slots:u={},slotProps:d={},...f}=r,b={...r,color:s,edge:i,size:l},y=WC(b),h={slots:u,slotProps:d},[p,v]=fe("root",{className:Z(y.root,a),elementType:UC,externalForwardedProps:h,ownerState:b,additionalProps:{sx:c}}),[x,O]=fe("thumb",{className:y.thumb,elementType:GC,externalForwardedProps:h,ownerState:b}),w=g.jsx(x,{...O}),[S,T]=fe("track",{className:y.track,elementType:qC,externalForwardedProps:h,ownerState:b});return g.jsxs(p,{...v,children:[g.jsx(HC,{type:"checkbox",icon:w,checkedIcon:w,ref:n,ownerState:b,...f,classes:{...y,root:y.switchBase},slots:{...u.switchBase&&{root:u.switchBase},...u.input&&{input:u.input}},slotProps:{...d.switchBase&&{root:typeof d.switchBase=="function"?d.switchBase(b):d.switchBase},input:{role:"switch"},...d.input&&{input:typeof d.input=="function"?d.input(b):d.input}}}),g.jsx(S,{...T})]})});process.env.NODE_ENV!=="production"&&(Hd.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:Ot,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 KC=L(Hd)(({theme:e})=>({width:42,height:26,padding:0,"& .MuiSwitch-switchBase":{padding:0,margin:2,transitionDuration:"300ms","&.Mui-checked":{transform:"translateX(16px)",color:"#fff","& + .MuiSwitch-track":{backgroundColor:e.palette.primary.main,opacity:1,border:0},"&.Mui-disabled + .MuiSwitch-track":{opacity:.5}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:"#33cf4d",border:"6px solid #fff"},"&.Mui-disabled .MuiSwitch-thumb":{color:e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]},"&.Mui-disabled + .MuiSwitch-track":{opacity:e.palette.mode==="light"?.7:.3}},"& .MuiSwitch-thumb":{boxSizing:"border-box",width:22,height:22,boxShadow:"0 2px 4px 0 rgba(0,0,0,0.2)"},"& .MuiSwitch-track":{borderRadius:26/2,backgroundColor:e.palette.mode==="light"?"#E9E9EA":"#39393D",opacity:1,transition:e.transitions.create(["background-color"],{duration:500})}})),qd=({etiqueta:e,posicionEtiqueta:o="end",tamano:n="medium",sx:r,...a})=>{const s=n||"medium",i=g.jsx(KC,{focusVisibleClassName:".Mui-focusVisible",disableRipple:!0,sx:s==="small"?{transform:"scale(0.8)",...r}:r,...a});return e?g.jsx(Ra,{control:i,label:e,labelPlacement:o}):i},YC=qd,XC=L(Pa)(({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:12,transition:"all 0.2s cubic-bezier(0.4, 0, 0.2, 1)",backgroundColor:e.palette.mode==="dark"?ht(e.palette.common.white,.03):ht(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"?ht(e.palette.common.white,.05):ht(e.palette.common.black,.02)},"&:hover fieldset":{borderColor:e.palette.primary.main,borderWidth:1},"&.Mui-focused":{backgroundColor:e.palette.mode==="dark"?ht(e.palette.primary.main,.05):ht(e.palette.primary.main,.02)},"&.Mui-focused fieldset":{borderWidth:2,borderColor:e.palette.primary.main,boxShadow:`0 0 0 4px ${ht(e.palette.primary.main,.1)}`},"&.Mui-error fieldset":{borderColor:e.palette.error.main},"&.Mui-error.Mui-focused":{backgroundColor:e.palette.mode==="dark"?ht(e.palette.error.main,.05):ht(e.palette.error.main,.02)},"&.Mui-error.Mui-focused fieldset":{borderColor:e.palette.error.main,boxShadow:`0 0 0 4px ${ht(e.palette.error.main,.1)}`}},"& .MuiInputBase-input":{padding:"12px 14px",fontWeight:500,"&::placeholder":{opacity:.6}},"& .MuiInputLabel-root":{fontSize:"0.95rem",marginTop:0,transform:"translate(14px, 12px) scale(1)",color:e.palette.text.secondary,"&.Mui-focused":{color:e.palette.primary.main,fontWeight:600,transform:"translate(14px, -9px) scale(0.75)"},"&.MuiInputLabel-shrink":{transform:"translate(14px, -9px) scale(0.75)"},"&.Mui-error":{color:e.palette.error.main}},"& .MuiFormHelperText-root":{marginLeft:14,fontSize:"0.75rem"}})),Gd=({etiqueta:e,textoAyuda:o,...n})=>g.jsx(XC,{variant:"outlined",fullWidth:!0,label:e,helperText:o,...n}),JC=Gd;function ZC(e){return me("MuiCardHeader",e)}const Gr=ge("MuiCardHeader",["root","avatar","action","content","title","subheader"]),QC=e=>{const{classes:o}=e;return be({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},ZC,o)},eS=L("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,o)=>[{[`& .${Gr.title}`]:o.title},{[`& .${Gr.subheader}`]:o.subheader},o.root]})({display:"flex",alignItems:"center",padding:16}),tS=L("div",{name:"MuiCardHeader",slot:"Avatar"})({display:"flex",flex:"0 0 auto",marginRight:16}),oS=L("div",{name:"MuiCardHeader",slot:"Action"})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),nS=L("div",{name:"MuiCardHeader",slot:"Content"})({flex:"1 1 auto",[`.${Lr.root}:where(& .${Gr.title})`]:{display:"block"},[`.${Lr.root}:where(& .${Gr.subheader})`]:{display:"block"}}),Kd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiCardHeader"}),{action:a,avatar:s,component:i="div",disableTypography:l=!1,subheader:c,subheaderTypographyProps:u,title:d,titleTypographyProps:f,slots:b={},slotProps:y={},...h}=r,p={...r,component:i,disableTypography:l},v=QC(p),x={slots:b,slotProps:{title:f,subheader:u,...y}};let O=d;const[w,S]=fe("title",{className:v.title,elementType:st,externalForwardedProps:x,ownerState:p,additionalProps:{variant:s?"body2":"h5",component:"span"}});O!=null&&O.type!==st&&!l&&(O=g.jsx(w,{...S,children:O}));let T=c;const[E,k]=fe("subheader",{className:v.subheader,elementType:st,externalForwardedProps:x,ownerState:p,additionalProps:{variant:s?"body2":"body1",color:"textSecondary",component:"span"}});T!=null&&T.type!==st&&!l&&(T=g.jsx(E,{...k,children:T}));const[$,N]=fe("root",{ref:n,className:v.root,elementType:eS,externalForwardedProps:{...x,...h,component:i},ownerState:p}),[M,D]=fe("avatar",{className:v.avatar,elementType:tS,externalForwardedProps:x,ownerState:p}),[m,I]=fe("content",{className:v.content,elementType:nS,externalForwardedProps:x,ownerState:p}),[P,j]=fe("action",{className:v.action,elementType:oS,externalForwardedProps:x,ownerState:p});return g.jsxs($,{...N,children:[s&&g.jsx(M,{...D,children:s}),g.jsxs(m,{...I,children:[O,T]}),a&&g.jsx(P,{...j,children:a})]})});process.env.NODE_ENV!=="production"&&(Kd.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 rS(e){return me("MuiListItem",e)}ge("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function aS(e){return me("MuiListItemButton",e)}const nn=ge("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),sS=(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]},iS=e=>{const{alignItems:o,classes:n,dense:r,disabled:a,disableGutters:s,divider:i,selected:l}=e,u=be({root:["root",r&&"dense",!s&&"gutters",i&&"divider",a&&"disabled",o==="flex-start"&&"alignItemsFlexStart",l&&"selected"]},aS,n);return{...n,...u}},lS=L(ho,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:sS})(pe(({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"}},[`&.${nn.selected}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,(e.vars||e).palette.action.selectedOpacity),[`&.${nn.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.primary.main,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}},[`&.${nn.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)}},[`&.${nn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${nn.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}}]}))),Yd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemButton"}),{alignItems:a="center",autoFocus:s=!1,component:i="div",children:l,dense:c=!1,disableGutters:u=!1,divider:d=!1,focusVisibleClassName:f,selected:b=!1,className:y,...h}=r,p=C.useContext(Ut),v=C.useMemo(()=>({dense:c||p.dense||!1,alignItems:a,disableGutters:u}),[a,p.dense,c,u]),x=C.useRef(null);Ht(()=>{s&&(x.current?x.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."))},[s]);const O={...r,alignItems:a,dense:v.dense,disableGutters:u,divider:d,selected:b},w=iS(O),S=et(x,n);return g.jsx(Ut.Provider,{value:v,children:g.jsx(lS,{ref:S,href:h.href||h.to,component:(h.href||h.to)&&i==="div"?"button":i,focusVisibleClassName:Z(w.focusVisible,f),ownerState:O,className:Z(w.root,y),...h,classes:w,children:l})})});process.env.NODE_ENV!=="production"&&(Yd.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 cS(e){return me("MuiListItemSecondaryAction",e)}ge("MuiListItemSecondaryAction",["root","disableGutters"]);const uS=e=>{const{disableGutters:o,classes:n}=e;return be({root:["root",o&&"disableGutters"]},cS,n)},dS=L("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}}]}),Li=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItemSecondaryAction"}),{className:a,...s}=r,i=C.useContext(Ut),l={...r,disableGutters:i.disableGutters},c=uS(l);return g.jsx(dS,{className:Z(c.root,a),ownerState:l,ref:n,...s})});process.env.NODE_ENV!=="production"&&(Li.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])});Li.muiName="ListItemSecondaryAction";const pS=(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]},fS=e=>{const{alignItems:o,classes:n,dense:r,disableGutters:a,disablePadding:s,divider:i,hasSecondaryAction:l}=e;return be({root:["root",r&&"dense",!a&&"gutters",!s&&"padding",i&&"divider",o==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},rS,n)},mS=L("div",{name:"MuiListItem",slot:"Root",overridesResolver:pS})(pe(({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:{[`& > .${nn.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}}]}))),gS=L("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),Xd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiListItem"}),{alignItems:a="center",children:s,className:i,component:l,components:c={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:f,...b}={},dense:y=!1,disableGutters:h=!1,disablePadding:p=!1,divider:v=!1,secondaryAction:x,slotProps:O={},slots:w={},...S}=r,T=C.useContext(Ut),E=C.useMemo(()=>({dense:y||T.dense||!1,alignItems:a,disableGutters:h}),[a,T.dense,y,h]),k=C.useRef(null),$=C.Children.toArray(s),N=$.length&&Fn($[$.length-1],["ListItemSecondaryAction"]),M={...r,alignItems:a,dense:E.dense,disableGutters:h,disablePadding:p,divider:v,hasSecondaryAction:N},D=fS(M),m=et(k,n),I={slots:w,slotProps:O},[P,j]=fe("secondaryAction",{elementType:Li,externalForwardedProps:I,ownerState:M,className:D.secondaryAction}),R=w.root||c.Root||mS,W=O.root||u.root||{},G={className:Z(D.root,W.className,i),...S};let H=l||"li";return N?(H=!G.component&&!l?"div":H,d==="li"&&(H==="li"?H="div":G.component==="li"&&(G.component="div")),g.jsx(Ut.Provider,{value:E,children:g.jsxs(gS,{as:d,className:Z(D.container,f),ref:m,ownerState:M,...b,children:[g.jsx(R,{...W,...!ao(R)&&{as:H,ownerState:{...M,...W.ownerState}},...G,children:$}),$.pop()]})})):g.jsx(Ut.Provider,{value:E,children:g.jsxs(R,{...W,as:H,ref:m,...!ao(R)&&{ownerState:{...M,...W.ownerState}},...G,children:[$,x&&g.jsx(P,{...j,children:x})]})})});process.env.NODE_ENV!=="production"&&(Xd.propTypes={alignItems:t.oneOf(["center","flex-start"]),children:St(t.node,e=>{const o=C.Children.toArray(e.children);let n=-1;for(let r=o.length-1;r>=0;r-=1){const a=o[r];if(Fn(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:sr,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 Ls=Jm({createStyledComponent:L("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>ve({props:e,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(Ls.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 hS=ct(g.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"),bS=ct(g.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"),yS=L(ci)(({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","&:hover":{boxShadow:e.shadows[4]}})),vS=L(Kd)(({theme:e})=>({padding:e.spacing(2),backgroundColor:e.palette.mode==="light"?e.palette.grey[50]:ht(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}})),xS=L(nt)(({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"}})),Ec=L(ni)(({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","&:hover":{backgroundColor:e.palette.primary.main,borderColor:"transparent",color:e.palette.common.white,boxShadow:e.shadows[4],transform:"translateY(-2px)"},"&.Mui-disabled":{border:`1px solid ${e.palette.action.disabledBackground}`,backgroundColor:"transparent"}}));function rn(e,o){return e.filter(n=>o.indexOf(n)===-1)}function as(e,o){return e.filter(n=>o.indexOf(n)!==-1)}function CS(e,o){return[...e,...rn(o,e)]}const Jd=({izquierda:e=[],derecha:o=[],alCambiar:n,tituloIzquierda:r="Opciones",tituloDerecha:a="Elegidos",alto:s=280})=>{const i=e,l=o,c=n,u=r,d=a,f=s,[b,y]=Me.useState([]),h=as(b,i),p=as(b,l),v=E=>()=>{const k=b.indexOf(E),$=[...b];k===-1?$.push(E):$.splice(k,1),y($)},x=E=>as(b,E).length,O=E=>()=>{x(E)===E.length&&E.length!==0?y(rn(b,E)):y(CS(b,E))},w=()=>{c&&(c(rn(i,h),l.concat(h)),y(rn(b,h)))},S=()=>{c&&(c(i.concat(p),rn(l,p)),y(rn(b,p)))},T=(E,k)=>g.jsxs(yS,{children:[g.jsx(vS,{avatar:g.jsx(Ur,{onClick:O(k),checked:x(k)===k.length&&k.length!==0,indeterminate:x(k)!==k.length&&x(k)!==0,disabled:k.length===0,inputProps:{"aria-label":"todos los elementos seleccionados"},size:"small",sx:{color:"text.secondary","&.Mui-checked":{color:"primary.main"}}}),title:E,subheader:g.jsxs(st,{variant:"caption",color:"text.secondary",sx:{fontWeight:500},children:[x(k)," de ",k.length," seleccionados"]})}),g.jsx(xS,{sx:{height:f},children:g.jsx(Ei,{dense:!0,component:"div",role:"list",sx:{py:1},children:k.map($=>{const N=`transfer-list-all-item-${$.id}-label`,M=b.indexOf($)!==-1;return g.jsx(Xd,{disablePadding:!0,sx:{mb:.5,px:1},children:g.jsxs(Yd,{role:"listitem",onClick:v($),disabled:$.deshabilitado,selected:M,sx:{borderRadius:2,transition:"all 0.2s","&:hover":{backgroundColor:D=>ht(D.palette.primary.main,.08)},"&.Mui-selected":{backgroundColor:D=>ht(D.palette.primary.main,.12),"&:hover":{backgroundColor:D=>ht(D.palette.primary.main,.16)}}},children:[g.jsx(Dd,{sx:{minWidth:40},children:g.jsx(Ur,{checked:M,tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":N},size:"small",edge:"start"})}),g.jsx(Bd,{id:N,primary:$.etiqueta,primaryTypographyProps:{fontWeight:M?600:400,color:M?"primary.main":"text.primary"}})]})},$.id)})})})]});return g.jsxs(Ls,{direction:{xs:"column",md:"row"},spacing:3,justifyContent:"center",alignItems:"center",children:[g.jsx(nt,{sx:{width:{xs:"100%",md:"45%"}},children:T(u,i)}),g.jsx(nt,{children:g.jsxs(Ls,{direction:"column",spacing:2,children:[g.jsx(Ec,{onClick:w,disabled:h.length===0,"aria-label":"mover seleccionados a la derecha",children:g.jsx(hS,{})}),g.jsx(Ec,{onClick:S,disabled:p.length===0,"aria-label":"mover seleccionados a la izquierda",children:g.jsx(bS,{})})]})}),g.jsx(nt,{sx:{width:{xs:"100%",md:"45%"}},children:T(d,l)})]})},SS=Jd;function wS(e){return me("MuiDialog",e)}const ss=ge("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Di=C.createContext({});process.env.NODE_ENV!=="production"&&(Di.displayName="DialogContext");const TS=L(Pi,{name:"MuiDialog",slot:"Backdrop",overrides:(e,o)=>o.backdrop})({zIndex:-1}),OS=e=>{const{classes:o,scroll:n,maxWidth:r,fullWidth:a,fullScreen:s}=e,i={root:["root"],container:["container",`scroll${B(n)}`],paper:["paper",`paperScroll${B(n)}`,`paperWidth${B(String(r))}`,a&&"paperFullWidth",s&&"paperFullScreen"]};return be(i,wS,o)},ES=L(ki,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),PS=L("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.container,o[`scroll${B(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),kS=L(uo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.paper,o[`scrollPaper${B(n.scroll)}`],o[`paperWidth${B(String(n.maxWidth))}`],n.fullWidth&&o.paperFullWidth,n.fullScreen&&o.paperFullScreen]}})(pe(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:o})=>!o.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${ss.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(o=>o!=="xs").map(o=>({props:{maxWidth:o},style:{maxWidth:`${e.breakpoints.values[o]}${e.breakpoints.unit}`,[`&.${ss.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[o]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:o})=>o.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:o})=>o.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ss.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Zd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialog"}),a=xo(),s={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":l,"aria-modal":c=!0,BackdropComponent:u,BackdropProps:d,children:f,className:b,disableEscapeKeyDown:y=!1,fullScreen:h=!1,fullWidth:p=!1,maxWidth:v="sm",onClick:x,onClose:O,open:w,PaperComponent:S=uo,PaperProps:T={},scroll:E="paper",slots:k={},slotProps:$={},TransitionComponent:N=Wr,transitionDuration:M=s,TransitionProps:D,...m}=r,I={...r,disableEscapeKeyDown:y,fullScreen:h,fullWidth:p,maxWidth:v,scroll:E},P=OS(I),j=C.useRef(),R=ae=>{j.current=ae.target===ae.currentTarget},W=ae=>{x&&x(ae),j.current&&(j.current=null,O&&O(ae,"backdropClick"))},G=vo(l),H=C.useMemo(()=>({titleId:G}),[G]),F={transition:N,...k},A={transition:D,paper:T,backdrop:d,...$},X={slots:F,slotProps:A},[ee,se]=fe("root",{elementType:ES,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:I,className:Z(P.root,b),ref:n}),[K,z]=fe("backdrop",{elementType:TS,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:I}),[oe,ce]=fe("paper",{elementType:kS,shouldForwardComponentProp:!0,externalForwardedProps:X,ownerState:I,className:Z(P.paper,T.className)}),[J,Y]=fe("container",{elementType:PS,externalForwardedProps:X,ownerState:I,className:P.container}),[le,U]=fe("transition",{elementType:Wr,externalForwardedProps:X,ownerState:I,additionalProps:{appear:!0,in:w,timeout:M,role:"presentation"}});return g.jsx(ee,{closeAfterTransition:!0,slots:{backdrop:K},slotProps:{backdrop:{transitionDuration:M,as:u,...z}},disableEscapeKeyDown:y,onClose:O,open:w,onClick:W,...se,...m,children:g.jsx(le,{...U,children:g.jsx(J,{onMouseDown:R,...Y,children:g.jsx(oe,{as:S,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":G,"aria-modal":c,...ce,children:g.jsx(Di.Provider,{value:H,children:f})})})})})});process.env.NODE_ENV!=="production"&&(Zd.propTypes={"aria-describedby":t.string,"aria-labelledby":t.string,"aria-modal":t.oneOfType([t.oneOf(["false","true"]),t.bool]),BackdropComponent:t.elementType,BackdropProps:t.object,children:t.node,classes:t.object,className:t.string,disableEscapeKeyDown:t.bool,fullScreen:t.bool,fullWidth:t.bool,maxWidth:t.oneOfType([t.oneOf(["xs","sm","md","lg","xl",!1]),t.string]),onClick:t.func,onClose:t.func,open:t.bool.isRequired,PaperComponent:t.elementType,PaperProps:t.object,scroll:t.oneOf(["body","paper"]),slotProps:t.shape({backdrop:t.oneOfType([t.func,t.object]),container: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,container: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]),TransitionComponent:t.elementType,transitionDuration:t.oneOfType([t.number,t.shape({appear:t.number,enter:t.number,exit:t.number})]),TransitionProps:t.object});function RS(e){return me("MuiDialogActions",e)}ge("MuiDialogActions",["root","spacing"]);const $S=e=>{const{classes:o,disableSpacing:n}=e;return be({root:["root",!n&&"spacing"]},RS,o)},IS=L("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,!n.disableSpacing&&o.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Qd=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogActions"}),{className:a,disableSpacing:s=!1,...i}=r,l={...r,disableSpacing:s},c=$S(l);return g.jsx(IS,{className:Z(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&(Qd.propTypes={children:t.node,classes:t.object,className:t.string,disableSpacing:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function jS(e){return me("MuiDialogContent",e)}ge("MuiDialogContent",["root","dividers"]);function NS(e){return me("MuiDialogTitle",e)}const MS=ge("MuiDialogTitle",["root"]),AS=e=>{const{classes:o,dividers:n}=e;return be({root:["root",n&&"dividers"]},jS,o)},LS=L("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:n}=e;return[o.root,n.dividers&&o.dividers]}})(pe(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:o})=>o.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:o})=>!o.dividers,style:{[`.${MS.root} + &`]:{paddingTop:0}}}]}))),ep=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogContent"}),{className:a,dividers:s=!1,...i}=r,l={...r,dividers:s},c=AS(l);return g.jsx(LS,{className:Z(c.root,a),ownerState:l,ref:n,...i})});process.env.NODE_ENV!=="production"&&(ep.propTypes={children:t.node,classes:t.object,className:t.string,dividers:t.bool,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});function DS(e){return me("MuiDialogContentText",e)}ge("MuiDialogContentText",["root"]);const BS=e=>{const{classes:o}=e,r=be({root:["root"]},DS,o);return{...o,...r}},FS=L(st,{shouldForwardProp:e=>yt(e)||e==="classes",name:"MuiDialogContentText",slot:"Root"})({}),tp=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogContentText"}),{children:a,className:s,...i}=r,l=BS(i);return g.jsx(FS,{component:"p",variant:"body1",color:"textSecondary",ref:n,ownerState:i,className:Z(l.root,s),...r,classes:l})});process.env.NODE_ENV!=="production"&&(tp.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 zS=e=>{const{classes:o}=e;return be({root:["root"]},NS,o)},VS=L(st,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),op=C.forwardRef(function(o,n){const r=ve({props:o,name:"MuiDialogTitle"}),{className:a,id:s,...i}=r,l=r,c=zS(l),{titleId:u=s}=C.useContext(Di);return g.jsx(VS,{component:"h2",className:Z(c.root,a),ownerState:l,ref:n,variant:"h6",id:s??u,...i})});process.env.NODE_ENV!=="production"&&(op.propTypes={children:t.node,classes:t.object,className:t.string,id:t.string,sx:t.oneOfType([t.arrayOf(t.oneOfType([t.func,t.object,t.bool])),t.func,t.object])});const _S=({children:e,PaperProps:o,...n})=>{const r=xo();return g.jsx(Zd,{PaperProps:{elevation:24,sx:{borderRadius:3,backgroundImage:"none",backgroundColor:r.palette.background.paper,...o?.sx},...o},...n,children:e})},WS=({sx:e,children:o,...n})=>g.jsx(op,{sx:{fontWeight:700,fontSize:"1.25rem",pb:1,...e},...n,children:o}),US=({sx:e,children:o,...n})=>g.jsx(ep,{sx:{py:2,...e},...n,children:o}),HS=({sx:e,children:o,...n})=>g.jsx(tp,{sx:{mb:2,color:"text.secondary",...e},...n,children:o}),qS=({sx:e,children:o,...n})=>g.jsx(Qd,{sx:{px:3,pb:3,gap:1,...e},...n,children:o});exports.CodeplexAlert=Jb;exports.CodeplexAlerta=_u;exports.CodeplexAutocompletado=kd;exports.CodeplexAutocomplete=c1;exports.CodeplexAvatar=nb;exports.CodeplexAvatarGroup=ob;exports.CodeplexAvatarUsuario=ku;exports.CodeplexAviso=Fu;exports.CodeplexAyudaEntrada=ed;exports.CodeplexBadge=jh;exports.CodeplexBanner=kb;exports.CodeplexBoton=ri;exports.CodeplexButton=Eh;exports.CodeplexButtonGroup=g1;exports.CodeplexCampoNumero=jd;exports.CodeplexCampoTexto=Gd;exports.CodeplexCard=Ob;exports.CodeplexCargando=Ou;exports.CodeplexCasilla=ji;exports.CodeplexCheckbox=D1;exports.CodeplexDeslizador=Ud;exports.CodeplexDialogo=_S;exports.CodeplexDialogoAcciones=qS;exports.CodeplexDialogoContenido=US;exports.CodeplexDialogoTexto=HS;exports.CodeplexDialogoTitulo=WS;exports.CodeplexElementoMenu=Hr;exports.CodeplexEncabezadoPrincipal=Bu;exports.CodeplexEsqueleto=od;exports.CodeplexEtiquetaInteligente=Iu;exports.CodeplexGrupoAvatares=Ru;exports.CodeplexGrupoBotones=$d;exports.CodeplexGrupoFormulario=Ii;exports.CodeplexGrupoRadio=Ld;exports.CodeplexInputHelper=Fy;exports.CodeplexInsignia=Tu;exports.CodeplexInterruptor=qd;exports.CodeplexJumbotron=Eb;exports.CodeplexKbd=Vh;exports.CodeplexListaTransferencia=Jd;exports.CodeplexMensajeEmergente=Wu;exports.CodeplexNotificacion=pi;exports.CodeplexNumberField=H1;exports.CodeplexPopupRequisitos=ii;exports.CodeplexProgreso=Ku;exports.CodeplexProgress=wy;exports.CodeplexRadio=Ai;exports.CodeplexRadioGroup=iC;exports.CodeplexRating=By;exports.CodeplexRequirementsPopup=rb;exports.CodeplexSelect=xC;exports.CodeplexSelector=Fd;exports.CodeplexSkeleton=Hy;exports.CodeplexSlider=VC;exports.CodeplexSmartLabel=ab;exports.CodeplexSpinner=zh;exports.CodeplexSubcabeceraLista=Qn;exports.CodeplexSwitch=YC;exports.CodeplexTarjeta=Du;exports.CodeplexTeclado=Eu;exports.CodeplexTextField=JC;exports.CodeplexToast=fy;exports.CodeplexTooltip=Zb;exports.CodeplexTostada=py;exports.CodeplexTransferList=SS;exports.CodeplexValoracion=Qu;exports.EntradaOcultaVisualmente=Oh;exports.Ui=ap;exports.avatarCadena=$u;exports.stringAvatar=tb;
|