material-ui-cron
Version:
A React cron editor using material ui
69 lines (66 loc) • 502 kB
JavaScript
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const ge=require("react"),pe=require("recoil"),ql=require("@emotion/styled"),Ir=require("@emotion/react"),Kl=require("@mui/material"),gr=require("@mui/system"),_r=require("react-dom");function Fu(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const M=Fu(ge),Jl=Fu(_r);function da(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wn(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var r=function i(){return this instanceof i?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),r}var Yi={exports:{}},xr={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var rs;function Zl(){if(rs)return xr;rs=1;var e=ge,n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(u,p,t){var y,m={},f=null,d=null;t!==void 0&&(f=""+t),p.key!==void 0&&(f=""+p.key),p.ref!==void 0&&(d=p.ref);for(y in p)i.call(p,y)&&!s.hasOwnProperty(y)&&(m[y]=p[y]);if(u&&u.defaultProps)for(y in p=u.defaultProps,p)m[y]===void 0&&(m[y]=p[y]);return{$$typeof:n,type:u,key:f,ref:d,props:m,_owner:a.current}}return xr.Fragment=r,xr.jsx=c,xr.jsxs=c,xr}var Sr={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var os;function Ql(){return os||(os=1,process.env.NODE_ENV!=="production"&&function(){var e=ge,n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),t=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),h=Symbol.iterator,l="@@iterator";function v(x){if(x===null||typeof x!="object")return null;var J=h&&x[h]||x[l];return typeof J=="function"?J:null}var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(x){{for(var J=arguments.length,oe=new Array(J>1?J-1:0),R=1;R<J;R++)oe[R-1]=arguments[R];b("error",x,oe)}}function b(x,J,oe){{var R=g.ReactDebugCurrentFrame,k=R.getStackAddendum();k!==""&&(J+="%s",oe=oe.concat([k]));var B=oe.map(function(ne){return String(ne)});B.unshift("Warning: "+J),Function.prototype.apply.call(console[x],console,B)}}var T=!1,O=!1,P=!1,S=!1,H=!1,z;z=Symbol.for("react.module.reference");function U(x){return!!(typeof x=="string"||typeof x=="function"||x===i||x===s||H||x===a||x===t||x===y||S||x===d||T||O||P||typeof x=="object"&&x!==null&&(x.$$typeof===f||x.$$typeof===m||x.$$typeof===c||x.$$typeof===u||x.$$typeof===p||x.$$typeof===z||x.getModuleId!==void 0))}function te(x,J,oe){var R=x.displayName;if(R)return R;var k=J.displayName||J.name||"";return k!==""?oe+"("+k+")":oe}function $(x){return x.displayName||"Context"}function I(x){if(x==null)return null;if(typeof x.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case i:return"Fragment";case r:return"Portal";case s:return"Profiler";case a:return"StrictMode";case t:return"Suspense";case y:return"SuspenseList"}if(typeof x=="object")switch(x.$$typeof){case u:var J=x;return $(J)+".Consumer";case c:var oe=x;return $(oe._context)+".Provider";case p:return te(x,x.render,"ForwardRef");case m:var R=x.displayName||null;return R!==null?R:I(x.type)||"Memo";case f:{var k=x,B=k._payload,ne=k._init;try{return I(ne(B))}catch{return null}}}return null}var V=Object.assign,G=0,j,ee,Z,C,w,A,q;function Y(){}Y.__reactDisabledLog=!0;function _(){{if(G===0){j=console.log,ee=console.info,Z=console.warn,C=console.error,w=console.group,A=console.groupCollapsed,q=console.groupEnd;var x={configurable:!0,enumerable:!0,value:Y,writable:!0};Object.defineProperties(console,{info:x,log:x,warn:x,error:x,group:x,groupCollapsed:x,groupEnd:x})}G++}}function L(){{if(G--,G===0){var x={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},x,{value:j}),info:V({},x,{value:ee}),warn:V({},x,{value:Z}),error:V({},x,{value:C}),group:V({},x,{value:w}),groupCollapsed:V({},x,{value:A}),groupEnd:V({},x,{value:q})})}G<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var F=g.ReactCurrentDispatcher,Q;function N(x,J,oe){{if(Q===void 0)try{throw Error()}catch(k){var R=k.stack.trim().match(/\n( *(at )?)/);Q=R&&R[1]||""}return`
`+Q+x}}var K=!1,ce;{var ue=typeof WeakMap=="function"?WeakMap:Map;ce=new ue}function W(x,J){if(!x||K)return"";{var oe=ce.get(x);if(oe!==void 0)return oe}var R;K=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var B;B=F.current,F.current=null,_();try{if(J){var ne=function(){throw Error()};if(Object.defineProperty(ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ne,[])}catch(St){R=St}Reflect.construct(x,[],ne)}else{try{ne.call()}catch(St){R=St}x.call(ne.prototype)}}else{try{throw Error()}catch(St){R=St}x()}}catch(St){if(St&&R&&typeof St.stack=="string"){for(var ae=St.stack.split(`
`),re=R.stack.split(`
`),ve=ae.length-1,Ce=re.length-1;ve>=1&&Ce>=0&&ae[ve]!==re[Ce];)Ce--;for(;ve>=1&&Ce>=0;ve--,Ce--)if(ae[ve]!==re[Ce]){if(ve!==1||Ce!==1)do if(ve--,Ce--,Ce<0||ae[ve]!==re[Ce]){var bt=`
`+ae[ve].replace(" at new "," at ");return x.displayName&&bt.includes("<anonymous>")&&(bt=bt.replace("<anonymous>",x.displayName)),typeof x=="function"&&ce.set(x,bt),bt}while(ve>=1&&Ce>=0);break}}}finally{K=!1,F.current=B,L(),Error.prepareStackTrace=k}var Kn=x?x.displayName||x.name:"",An=Kn?N(Kn):"";return typeof x=="function"&&ce.set(x,An),An}function me(x,J,oe){return W(x,!1)}function Oe(x){var J=x.prototype;return!!(J&&J.isReactComponent)}function de(x,J,oe){if(x==null)return"";if(typeof x=="function")return W(x,Oe(x));if(typeof x=="string")return N(x);switch(x){case t:return N("Suspense");case y:return N("SuspenseList")}if(typeof x=="object")switch(x.$$typeof){case p:return me(x.render);case m:return de(x.type,J,oe);case f:{var R=x,k=R._payload,B=R._init;try{return de(B(k),J,oe)}catch{}}}return""}var le=Object.prototype.hasOwnProperty,et={},he=g.ReactDebugCurrentFrame;function Ie(x){if(x){var J=x._owner,oe=de(x.type,x._source,J?J.type:null);he.setExtraStackFrame(oe)}else he.setExtraStackFrame(null)}function De(x,J,oe,R,k){{var B=Function.call.bind(le);for(var ne in x)if(B(x,ne)){var ae=void 0;try{if(typeof x[ne]!="function"){var re=Error((R||"React class")+": "+oe+" type `"+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof x[ne]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw re.name="Invariant Violation",re}ae=x[ne](J,ne,R,oe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ve){ae=ve}ae&&!(ae instanceof Error)&&(Ie(k),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",R||"React class",oe,ne,typeof ae),Ie(null)),ae instanceof Error&&!(ae.message in et)&&(et[ae.message]=!0,Ie(k),E("Failed %s type: %s",oe,ae.message),Ie(null))}}}var ke=Array.isArray;function _e(x){return ke(x)}function $e(x){{var J=typeof Symbol=="function"&&Symbol.toStringTag,oe=J&&x[Symbol.toStringTag]||x.constructor.name||"Object";return oe}}function Pe(x){try{return Ge(x),!1}catch{return!0}}function Ge(x){return""+x}function tt(x){if(Pe(x))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",$e(x)),Ge(x)}var Ze=g.ReactCurrentOwner,be={key:!0,ref:!0,__self:!0,__source:!0},se,Re,lt;lt={};function it(x){if(le.call(x,"ref")){var J=Object.getOwnPropertyDescriptor(x,"ref").get;if(J&&J.isReactWarning)return!1}return x.ref!==void 0}function gt(x){if(le.call(x,"key")){var J=Object.getOwnPropertyDescriptor(x,"key").get;if(J&&J.isReactWarning)return!1}return x.key!==void 0}function fe(x,J){if(typeof x.ref=="string"&&Ze.current&&J&&Ze.current.stateNode!==J){var oe=I(Ze.current.type);lt[oe]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',I(Ze.current.type),x.ref),lt[oe]=!0)}}function Te(x,J){{var oe=function(){se||(se=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",J))};oe.isReactWarning=!0,Object.defineProperty(x,"key",{get:oe,configurable:!0})}}function Ne(x,J){{var oe=function(){Re||(Re=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",J))};oe.isReactWarning=!0,Object.defineProperty(x,"ref",{get:oe,configurable:!0})}}var yt=function(x,J,oe,R,k,B,ne){var ae={$$typeof:n,type:x,key:J,ref:oe,props:ne,_owner:B};return ae._store={},Object.defineProperty(ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.defineProperty(ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:k}),Object.freeze&&(Object.freeze(ae.props),Object.freeze(ae)),ae};function qt(x,J,oe,R,k){{var B,ne={},ae=null,re=null;oe!==void 0&&(tt(oe),ae=""+oe),gt(J)&&(tt(J.key),ae=""+J.key),it(J)&&(re=J.ref,fe(J,k));for(B in J)le.call(J,B)&&!be.hasOwnProperty(B)&&(ne[B]=J[B]);if(x&&x.defaultProps){var ve=x.defaultProps;for(B in ve)ne[B]===void 0&&(ne[B]=ve[B])}if(ae||re){var Ce=typeof x=="function"?x.displayName||x.name||"Unknown":x;ae&&Te(ne,Ce),re&&Ne(ne,Ce)}return yt(x,ae,re,k,R,Ze.current,ne)}}var mt=g.ReactCurrentOwner,Xt=g.ReactDebugCurrentFrame;function pt(x){if(x){var J=x._owner,oe=de(x.type,x._source,J?J.type:null);Xt.setExtraStackFrame(oe)}else Xt.setExtraStackFrame(null)}var Rt;Rt=!1;function xt(x){return typeof x=="object"&&x!==null&&x.$$typeof===n}function tn(){{if(mt.current){var x=I(mt.current.type);if(x)return`
Check the render method of \``+x+"`."}return""}}function fn(x){{if(x!==void 0){var J=x.fileName.replace(/^.*[\\\/]/,""),oe=x.lineNumber;return`
Check your code at `+J+":"+oe+"."}return""}}var dn={};function Dn(x){{var J=tn();if(!J){var oe=typeof x=="string"?x:x.displayName||x.name;oe&&(J=`
Check the top-level render call using <`+oe+">.")}return J}}function _n(x,J){{if(!x._store||x._store.validated||x.key!=null)return;x._store.validated=!0;var oe=Dn(J);if(dn[oe])return;dn[oe]=!0;var R="";x&&x._owner&&x._owner!==mt.current&&(R=" It was passed a child from "+I(x._owner.type)+"."),pt(x),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',oe,R),pt(null)}}function Ct(x,J){{if(typeof x!="object")return;if(_e(x))for(var oe=0;oe<x.length;oe++){var R=x[oe];xt(R)&&_n(R,J)}else if(xt(x))x._store&&(x._store.validated=!0);else if(x){var k=v(x);if(typeof k=="function"&&k!==x.entries)for(var B=k.call(x),ne;!(ne=B.next()).done;)xt(ne.value)&&_n(ne.value,J)}}}function ut(x){{var J=x.type;if(J==null||typeof J=="string")return;var oe;if(typeof J=="function")oe=J.propTypes;else if(typeof J=="object"&&(J.$$typeof===p||J.$$typeof===m))oe=J.propTypes;else return;if(oe){var R=I(J);De(oe,x.props,"prop",R,x)}else if(J.PropTypes!==void 0&&!Rt){Rt=!0;var k=I(J);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",k||"Unknown")}typeof J.getDefaultProps=="function"&&!J.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function qe(x){{for(var J=Object.keys(x.props),oe=0;oe<J.length;oe++){var R=J[oe];if(R!=="children"&&R!=="key"){pt(x),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",R),pt(null);break}}x.ref!==null&&(pt(x),E("Invalid attribute `ref` supplied to `React.Fragment`."),pt(null))}}var ht={};function vt(x,J,oe,R,k,B){{var ne=U(x);if(!ne){var ae="";(x===void 0||typeof x=="object"&&x!==null&&Object.keys(x).length===0)&&(ae+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var re=fn(k);re?ae+=re:ae+=tn();var ve;x===null?ve="null":_e(x)?ve="array":x!==void 0&&x.$$typeof===n?(ve="<"+(I(x.type)||"Unknown")+" />",ae=" Did you accidentally export a JSX literal instead of a component?"):ve=typeof x,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ve,ae)}var Ce=qt(x,J,oe,k,B);if(Ce==null)return Ce;if(ne){var bt=J.children;if(bt!==void 0)if(R)if(_e(bt)){for(var Kn=0;Kn<bt.length;Kn++)Ct(bt[Kn],x);Object.freeze&&Object.freeze(bt)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ct(bt,x)}if(le.call(J,"key")){var An=I(x),St=Object.keys(J).filter(function(Gl){return Gl!=="key"}),xi=St.length>0?"{key: someKey, "+St.join(": ..., ")+": ...}":"{key: someKey}";if(!ht[An+xi]){var Ul=St.length>0?"{"+St.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,xi,An,Ul,An),ht[An+xi]=!0}}return x===i?qe(Ce):ut(Ce),Ce}}function Kt(x,J,oe){return vt(x,J,oe,!0)}function $n(x,J,oe){return vt(x,J,oe,!1)}var Jt=$n,nn=Kt;Sr.Fragment=i,Sr.jsx=Jt,Sr.jsxs=nn}()),Sr}process.env.NODE_ENV==="production"?Yi.exports=Zl():Yi.exports=Ql();var ya=Yi.exports;const Jr=ya.Fragment,D=ya.jsx,we=ya.jsxs;var Ui={exports:{}},vo={exports:{}},We={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var is;function ep(){if(is)return We;is=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,t=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function b(O){if(typeof O=="object"&&O!==null){var P=O.$$typeof;switch(P){case n:switch(O=O.type,O){case p:case t:case i:case s:case a:case m:return O;default:switch(O=O&&O.$$typeof,O){case u:case y:case h:case d:case c:return O;default:return P}}case r:return P}}}function T(O){return b(O)===t}return We.AsyncMode=p,We.ConcurrentMode=t,We.ContextConsumer=u,We.ContextProvider=c,We.Element=n,We.ForwardRef=y,We.Fragment=i,We.Lazy=h,We.Memo=d,We.Portal=r,We.Profiler=s,We.StrictMode=a,We.Suspense=m,We.isAsyncMode=function(O){return T(O)||b(O)===p},We.isConcurrentMode=T,We.isContextConsumer=function(O){return b(O)===u},We.isContextProvider=function(O){return b(O)===c},We.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===n},We.isForwardRef=function(O){return b(O)===y},We.isFragment=function(O){return b(O)===i},We.isLazy=function(O){return b(O)===h},We.isMemo=function(O){return b(O)===d},We.isPortal=function(O){return b(O)===r},We.isProfiler=function(O){return b(O)===s},We.isStrictMode=function(O){return b(O)===a},We.isSuspense=function(O){return b(O)===m},We.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===i||O===t||O===s||O===a||O===m||O===f||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===d||O.$$typeof===c||O.$$typeof===u||O.$$typeof===y||O.$$typeof===v||O.$$typeof===g||O.$$typeof===E||O.$$typeof===l)},We.typeOf=b,We}var Fe={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var as;function tp(){return as||(as=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,t=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,d=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function b(W){return typeof W=="string"||typeof W=="function"||W===i||W===t||W===s||W===a||W===m||W===f||typeof W=="object"&&W!==null&&(W.$$typeof===h||W.$$typeof===d||W.$$typeof===c||W.$$typeof===u||W.$$typeof===y||W.$$typeof===v||W.$$typeof===g||W.$$typeof===E||W.$$typeof===l)}function T(W){if(typeof W=="object"&&W!==null){var me=W.$$typeof;switch(me){case n:var Oe=W.type;switch(Oe){case p:case t:case i:case s:case a:case m:return Oe;default:var de=Oe&&Oe.$$typeof;switch(de){case u:case y:case h:case d:case c:return de;default:return me}}case r:return me}}}var O=p,P=t,S=u,H=c,z=n,U=y,te=i,$=h,I=d,V=r,G=s,j=a,ee=m,Z=!1;function C(W){return Z||(Z=!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.")),w(W)||T(W)===p}function w(W){return T(W)===t}function A(W){return T(W)===u}function q(W){return T(W)===c}function Y(W){return typeof W=="object"&&W!==null&&W.$$typeof===n}function _(W){return T(W)===y}function L(W){return T(W)===i}function F(W){return T(W)===h}function Q(W){return T(W)===d}function N(W){return T(W)===r}function K(W){return T(W)===s}function ce(W){return T(W)===a}function ue(W){return T(W)===m}Fe.AsyncMode=O,Fe.ConcurrentMode=P,Fe.ContextConsumer=S,Fe.ContextProvider=H,Fe.Element=z,Fe.ForwardRef=U,Fe.Fragment=te,Fe.Lazy=$,Fe.Memo=I,Fe.Portal=V,Fe.Profiler=G,Fe.StrictMode=j,Fe.Suspense=ee,Fe.isAsyncMode=C,Fe.isConcurrentMode=w,Fe.isContextConsumer=A,Fe.isContextProvider=q,Fe.isElement=Y,Fe.isForwardRef=_,Fe.isFragment=L,Fe.isLazy=F,Fe.isMemo=Q,Fe.isPortal=N,Fe.isProfiler=K,Fe.isStrictMode=ce,Fe.isSuspense=ue,Fe.isValidElementType=b,Fe.typeOf=T}()),Fe}var ss;function Zo(){return ss||(ss=1,process.env.NODE_ENV==="production"?vo.exports=ep():vo.exports=tp()),vo.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Si,us;function Bu(){if(us)return Si;us=1;var e=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(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 c={},u=0;u<10;u++)c["_"+String.fromCharCode(u)]=u;var p=Object.getOwnPropertyNames(c).map(function(y){return c[y]});if(p.join("")!=="0123456789")return!1;var t={};return"abcdefghijklmnopqrst".split("").forEach(function(y){t[y]=y}),Object.keys(Object.assign({},t)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Si=a()?Object.assign:function(s,c){for(var u,p=i(s),t,y=1;y<arguments.length;y++){u=Object(arguments[y]);for(var m in u)n.call(u,m)&&(p[m]=u[m]);if(e){t=e(u);for(var f=0;f<t.length;f++)r.call(u,t[f])&&(p[t[f]]=u[t[f]])}}return p},Si}var Pi,cs;function ma(){if(cs)return Pi;cs=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Pi=e,Pi}var ki,ls;function zu(){return ls||(ls=1,ki=Function.call.bind(Object.prototype.hasOwnProperty)),ki}var wi,ps;function np(){if(ps)return wi;ps=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var n=ma(),r={},i=zu();e=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function a(s,c,u,p,t){if(process.env.NODE_ENV!=="production"){for(var y in s)if(i(s,y)){var m;try{if(typeof s[y]!="function"){var f=Error((p||"React class")+": "+u+" type `"+y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[y]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}m=s[y](c,y,p,u,null,n)}catch(h){m=h}if(m&&!(m instanceof Error)&&e((p||"React class")+": type specification of "+u+" `"+y+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof m+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),m instanceof Error&&!(m.message in r)){r[m.message]=!0;var d=t?t():"";e("Failed "+u+" type: "+m.message+(d??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},wi=a,wi}var Ri,fs;function rp(){if(fs)return Ri;fs=1;var e=Zo(),n=Bu(),r=ma(),i=zu(),a=np(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}});function c(){return null}return Ri=function(u,p){var t=typeof Symbol=="function"&&Symbol.iterator,y="@@iterator";function m(w){var A=w&&(t&&w[t]||w[y]);if(typeof A=="function")return A}var f="<<anonymous>>",d={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:E(),arrayOf:b,element:T(),elementType:O(),instanceOf:P,node:U(),objectOf:H,oneOf:S,oneOfType:z,shape:$,exact:I};function h(w,A){return w===A?w!==0||1/w===1/A:w!==w&&A!==A}function l(w,A){this.message=w,this.data=A&&typeof A=="object"?A:{},this.stack=""}l.prototype=Error.prototype;function v(w){if(process.env.NODE_ENV!=="production")var A={},q=0;function Y(L,F,Q,N,K,ce,ue){if(N=N||f,ce=ce||Q,ue!==r){if(p){var W=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 W.name="Invariant Violation",W}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var me=N+":"+Q;!A[me]&&q<3&&(s("You are manually calling a React.PropTypes validation function for the `"+ce+"` prop on `"+N+"`. 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[me]=!0,q++)}}return F[Q]==null?L?F[Q]===null?new l("The "+K+" `"+ce+"` is marked as required "+("in `"+N+"`, but its value is `null`.")):new l("The "+K+" `"+ce+"` is marked as required in "+("`"+N+"`, but its value is `undefined`.")):null:w(F,Q,N,K,ce)}var _=Y.bind(null,!1);return _.isRequired=Y.bind(null,!0),_}function g(w){function A(q,Y,_,L,F,Q){var N=q[Y],K=j(N);if(K!==w){var ce=ee(N);return new l("Invalid "+L+" `"+F+"` of type "+("`"+ce+"` supplied to `"+_+"`, expected ")+("`"+w+"`."),{expectedType:w})}return null}return v(A)}function E(){return v(c)}function b(w){function A(q,Y,_,L,F){if(typeof w!="function")return new l("Property `"+F+"` of component `"+_+"` has invalid PropType notation inside arrayOf.");var Q=q[Y];if(!Array.isArray(Q)){var N=j(Q);return new l("Invalid "+L+" `"+F+"` of type "+("`"+N+"` supplied to `"+_+"`, expected an array."))}for(var K=0;K<Q.length;K++){var ce=w(Q,K,_,L,F+"["+K+"]",r);if(ce instanceof Error)return ce}return null}return v(A)}function T(){function w(A,q,Y,_,L){var F=A[q];if(!u(F)){var Q=j(F);return new l("Invalid "+_+" `"+L+"` of type "+("`"+Q+"` supplied to `"+Y+"`, expected a single ReactElement."))}return null}return v(w)}function O(){function w(A,q,Y,_,L){var F=A[q];if(!e.isValidElementType(F)){var Q=j(F);return new l("Invalid "+_+" `"+L+"` of type "+("`"+Q+"` supplied to `"+Y+"`, expected a single ReactElement type."))}return null}return v(w)}function P(w){function A(q,Y,_,L,F){if(!(q[Y]instanceof w)){var Q=w.name||f,N=C(q[Y]);return new l("Invalid "+L+" `"+F+"` of type "+("`"+N+"` supplied to `"+_+"`, expected ")+("instance of `"+Q+"`."))}return null}return v(A)}function S(w){if(!Array.isArray(w))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.")),c;function A(q,Y,_,L,F){for(var Q=q[Y],N=0;N<w.length;N++)if(h(Q,w[N]))return null;var K=JSON.stringify(w,function(ue,W){var me=ee(W);return me==="symbol"?String(W):W});return new l("Invalid "+L+" `"+F+"` of value `"+String(Q)+"` "+("supplied to `"+_+"`, expected one of "+K+"."))}return v(A)}function H(w){function A(q,Y,_,L,F){if(typeof w!="function")return new l("Property `"+F+"` of component `"+_+"` has invalid PropType notation inside objectOf.");var Q=q[Y],N=j(Q);if(N!=="object")return new l("Invalid "+L+" `"+F+"` of type "+("`"+N+"` supplied to `"+_+"`, expected an object."));for(var K in Q)if(i(Q,K)){var ce=w(Q,K,_,L,F+"."+K,r);if(ce instanceof Error)return ce}return null}return v(A)}function z(w){if(!Array.isArray(w))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var A=0;A<w.length;A++){var q=w[A];if(typeof q!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(q)+" at index "+A+"."),c}function Y(_,L,F,Q,N){for(var K=[],ce=0;ce<w.length;ce++){var ue=w[ce],W=ue(_,L,F,Q,N,r);if(W==null)return null;W.data&&i(W.data,"expectedType")&&K.push(W.data.expectedType)}var me=K.length>0?", expected one of type ["+K.join(", ")+"]":"";return new l("Invalid "+Q+" `"+N+"` supplied to "+("`"+F+"`"+me+"."))}return v(Y)}function U(){function w(A,q,Y,_,L){return V(A[q])?null:new l("Invalid "+_+" `"+L+"` supplied to "+("`"+Y+"`, expected a ReactNode."))}return v(w)}function te(w,A,q,Y,_){return new l((w||"React class")+": "+A+" type `"+q+"."+Y+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_+"`.")}function $(w){function A(q,Y,_,L,F){var Q=q[Y],N=j(Q);if(N!=="object")return new l("Invalid "+L+" `"+F+"` of type `"+N+"` "+("supplied to `"+_+"`, expected `object`."));for(var K in w){var ce=w[K];if(typeof ce!="function")return te(_,L,F,K,ee(ce));var ue=ce(Q,K,_,L,F+"."+K,r);if(ue)return ue}return null}return v(A)}function I(w){function A(q,Y,_,L,F){var Q=q[Y],N=j(Q);if(N!=="object")return new l("Invalid "+L+" `"+F+"` of type `"+N+"` "+("supplied to `"+_+"`, expected `object`."));var K=n({},q[Y],w);for(var ce in K){var ue=w[ce];if(i(w,ce)&&typeof ue!="function")return te(_,L,F,ce,ee(ue));if(!ue)return new l("Invalid "+L+" `"+F+"` key `"+ce+"` supplied to `"+_+"`.\nBad object: "+JSON.stringify(q[Y],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(w),null," "));var W=ue(Q,ce,_,L,F+"."+ce,r);if(W)return W}return null}return v(A)}function V(w){switch(typeof w){case"number":case"string":case"undefined":return!0;case"boolean":return!w;case"object":if(Array.isArray(w))return w.every(V);if(w===null||u(w))return!0;var A=m(w);if(A){var q=A.call(w),Y;if(A!==w.entries){for(;!(Y=q.next()).done;)if(!V(Y.value))return!1}else for(;!(Y=q.next()).done;){var _=Y.value;if(_&&!V(_[1]))return!1}}else return!1;return!0;default:return!1}}function G(w,A){return w==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function j(w){var A=typeof w;return Array.isArray(w)?"array":w instanceof RegExp?"object":G(A,w)?"symbol":A}function ee(w){if(typeof w>"u"||w===null)return""+w;var A=j(w);if(A==="object"){if(w instanceof Date)return"date";if(w instanceof RegExp)return"regexp"}return A}function Z(w){var A=ee(w);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function C(w){return!w.constructor||!w.constructor.name?f:w.constructor.name}return d.checkPropTypes=a,d.resetWarningCache=a.resetWarningCache,d.PropTypes=d,d},Ri}var Ci,ds;function op(){if(ds)return Ci;ds=1;var e=ma();function n(){}function r(){}return r.resetWarningCache=n,Ci=function(){function i(c,u,p,t,y,m){if(m!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}i.isRequired=i;function a(){return i}var s={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:n};return s.PropTypes=s,s},Ci}if(process.env.NODE_ENV!=="production"){var ip=Zo(),ap=!0;Ui.exports=rp()(ip.isElement,ap)}else Ui.exports=op()();var sp=Ui.exports;const o=da(sp);function hn(e,n){return process.env.NODE_ENV==="production"?()=>null:function(...i){return e(...i)||n(...i)}}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)({}).hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},X.apply(null,arguments)}function En(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Hu(e){if(M.isValidElement(e)||!En(e))return e;const n={};return Object.keys(e).forEach(r=>{n[r]=Hu(e[r])}),n}function It(e,n,r={clone:!0}){const i=r.clone?X({},e):e;return En(e)&&En(n)&&Object.keys(n).forEach(a=>{M.isValidElement(n[a])?i[a]=n[a]:En(n[a])&&Object.prototype.hasOwnProperty.call(e,a)&&En(e[a])?i[a]=It(e[a],n[a],r):r.clone?i[a]=En(n[a])?Hu(n[a]):n[a]:i[a]=n[a]}),i}const up=Object.freeze(Object.defineProperty({__proto__:null,default:It,isPlainObject:En},Symbol.toStringTag,{value:"Module"}));function cp(e){const{prototype:n={}}=e;return!!n.isReactComponent}function Vu(e,n,r,i,a){const s=e[n],c=a||n;if(s==null||typeof window>"u")return null;let u;const p=s.type;return typeof p=="function"&&!cp(p)&&(u="Did you accidentally use a plain function component for an element instead?"),u!==void 0?new Error(`Invalid ${i} \`${c}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Yu=hn(o.element,Vu);Yu.isRequired=hn(o.element.isRequired,Vu);const Zr=Yu;function lp(e){const{prototype:n={}}=e;return!!n.isReactComponent}function pp(e,n,r,i,a){const s=e[n],c=a||n;if(s==null||typeof window>"u")return null;let u;return typeof s=="function"&&!lp(s)&&(u="Did you accidentally provide a plain function component instead?"),u!==void 0?new Error(`Invalid ${i} \`${c}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const ha=hn(o.elementType,pp),fp="exact-prop: ";function Uu(e){return process.env.NODE_ENV==="production"?e:X({},e,{[fp]:n=>{const r=Object.keys(n).filter(i=>!e.hasOwnProperty(i));return r.length>0?new Error(`The following props are not supported: ${r.map(i=>`\`${i}\``).join(", ")}. Please remove them.`):null}})}function Yn(e){let n="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)n+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+n+" for the full message."}const dp=Object.freeze(Object.defineProperty({__proto__:null,default:Yn},Symbol.toStringTag,{value:"Module"}));var Gi={exports:{}},Be={};/**
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ys;function yp(){if(ys)return Be;ys=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),t=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),d=Symbol.for("react.client.reference");function h(l){if(typeof l=="object"&&l!==null){var v=l.$$typeof;switch(v){case e:switch(l=l.type,l){case r:case a:case i:case p:case t:case f:return l;default:switch(l=l&&l.$$typeof,l){case c:case u:case m:case y:return l;case s:return l;default:return v}}case n:return v}}}return Be.ContextConsumer=s,Be.ContextProvider=c,Be.Element=e,Be.ForwardRef=u,Be.Fragment=r,Be.Lazy=m,Be.Memo=y,Be.Portal=n,Be.Profiler=a,Be.StrictMode=i,Be.Suspense=p,Be.SuspenseList=t,Be.isContextConsumer=function(l){return h(l)===s},Be.isContextProvider=function(l){return h(l)===c},Be.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},Be.isForwardRef=function(l){return h(l)===u},Be.isFragment=function(l){return h(l)===r},Be.isLazy=function(l){return h(l)===m},Be.isMemo=function(l){return h(l)===y},Be.isPortal=function(l){return h(l)===n},Be.isProfiler=function(l){return h(l)===a},Be.isStrictMode=function(l){return h(l)===i},Be.isSuspense=function(l){return h(l)===p},Be.isSuspenseList=function(l){return h(l)===t},Be.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===a||l===i||l===p||l===t||typeof l=="object"&&l!==null&&(l.$$typeof===m||l.$$typeof===y||l.$$typeof===c||l.$$typeof===s||l.$$typeof===u||l.$$typeof===d||l.getModuleId!==void 0)},Be.typeOf=h,Be}var ze={};/**
* @license React
* react-is.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ms;function mp(){return ms||(ms=1,process.env.NODE_ENV!=="production"&&function(){function e(l){if(typeof l=="object"&&l!==null){var v=l.$$typeof;switch(v){case n:switch(l=l.type,l){case i:case s:case a:case t:case y:case d:return l;default:switch(l=l&&l.$$typeof,l){case u:case p:case f:case m:return l;case c:return l;default:return v}}case r:return v}}}var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),t=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");ze.ContextConsumer=c,ze.ContextProvider=u,ze.Element=n,ze.ForwardRef=p,ze.Fragment=i,ze.Lazy=f,ze.Memo=m,ze.Portal=r,ze.Profiler=s,ze.StrictMode=a,ze.Suspense=t,ze.SuspenseList=y,ze.isContextConsumer=function(l){return e(l)===c},ze.isContextProvider=function(l){return e(l)===u},ze.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===n},ze.isForwardRef=function(l){return e(l)===p},ze.isFragment=function(l){return e(l)===i},ze.isLazy=function(l){return e(l)===f},ze.isMemo=function(l){return e(l)===m},ze.isPortal=function(l){return e(l)===r},ze.isProfiler=function(l){return e(l)===s},ze.isStrictMode=function(l){return e(l)===a},ze.isSuspense=function(l){return e(l)===t},ze.isSuspenseList=function(l){return e(l)===y},ze.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===i||l===s||l===a||l===t||l===y||typeof l=="object"&&l!==null&&(l.$$typeof===f||l.$$typeof===m||l.$$typeof===u||l.$$typeof===c||l.$$typeof===p||l.$$typeof===h||l.getModuleId!==void 0)},ze.typeOf=e}()),ze}process.env.NODE_ENV==="production"?Gi.exports=yp():Gi.exports=mp();var hs=Gi.exports;const hp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Gu(e){const n=`${e}`.match(hp);return n&&n[1]||""}function qu(e,n=""){return e.displayName||e.name||Gu(e)||n}function vs(e,n,r){const i=qu(n);return e.displayName||(i!==""?`${r}(${i})`:r)}function vp(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return qu(e,"Component");if(typeof e=="object")switch(e.$$typeof){case hs.ForwardRef:return vs(e,e.render,"ForwardRef");case hs.Memo:return vs(e,e.type,"memo");default:return}}}const gp=Object.freeze(Object.defineProperty({__proto__:null,default:vp,getFunctionName:Gu},Symbol.toStringTag,{value:"Module"}));function vn(e,n,r,i,a){if(process.env.NODE_ENV==="production")return null;const s=e[n],c=a||n;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${i} \`${c}\` supplied to \`${r}\`. Expected an HTMLElement.`):null}const bp=o.oneOfType([o.func,o.object]),Qt=bp;function ye(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Yn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const Tp=Object.freeze(Object.defineProperty({__proto__:null,default:ye},Symbol.toStringTag,{value:"Module"}));function gs(...e){return e.reduce((n,r)=>r==null?n:function(...a){n.apply(this,a),r.apply(this,a)},()=>{})}function Ku(e,n=166){let r;function i(...a){const s=()=>{e.apply(this,a)};clearTimeout(r),r=setTimeout(s,n)}return i.clear=()=>{clearTimeout(r)},i}function Di(e,n){var r,i;return M.isValidElement(e)&&n.indexOf((r=e.type.muiName)!=null?r:(i=e.type)==null||(i=i._payload)==null||(i=i.value)==null?void 0:i.muiName)!==-1}function Mt(e){return e&&e.ownerDocument||document}function Un(e){return Mt(e).defaultView||window}function Do(e,n){typeof e=="function"?e(n):e&&(e.current=n)}const Op=typeof window<"u"?M.useLayoutEffect:M.useEffect,gn=Op;let bs=0;function Ep(e){const[n,r]=M.useState(e),i=e||n;return M.useEffect(()=>{n==null&&(bs+=1,r(`mui-${bs}`))},[n]),i}const Ts=M["useId".toString()];function Qo(e){if(Ts!==void 0){const n=Ts();return e??n}return Ep(e)}function Mp(e,n,r,i,a){if(process.env.NODE_ENV==="production")return null;const s=a||n;return typeof e[n]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function sr({controlled:e,default:n,name:r,state:i="value"}){const{current:a}=M.useRef(e!==void 0),[s,c]=M.useState(n),u=a?e:s;if(process.env.NODE_ENV!=="production"){M.useEffect(()=>{a!==(e!==void 0)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${i} state of ${r} to be ${a?"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(`
`))},[i,r,e]);const{current:t}=M.useRef(n);M.useEffect(()=>{!a&&!Object.is(t,n)&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
`))},[JSON.stringify(n)])}const p=M.useCallback(t=>{a||c(t)},[]);return[u,p]}function At(e){const n=M.useRef(e);return gn(()=>{n.current=e}),M.useRef((...r)=>(0,n.current)(...r)).current}function dt(...e){return M.useMemo(()=>e.every(n=>n==null)?null:n=>{e.forEach(r=>{Do(r,n)})},e)}const Os={};function Xp(e,n){const r=M.useRef(Os);return r.current===Os&&(r.current=e(n)),r}const xp=[];function Sp(e){M.useEffect(e,xp)}class Qr{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Qr}start(n,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},n)}}function or(){const e=Xp(Qr.create).current;return Sp(e.disposeEffect),e}let ei=!0,qi=!1;const Pp=new Qr,kp={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function wp(e){const{type:n,tagName:r}=e;return!!(r==="INPUT"&&kp[n]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Rp(e){e.metaKey||e.altKey||e.ctrlKey||(ei=!0)}function _i(){ei=!1}function Cp(){this.visibilityState==="hidden"&&qi&&(ei=!0)}function Dp(e){e.addEventListener("keydown",Rp,!0),e.addEventListener("mousedown",_i,!0),e.addEventListener("pointerdown",_i,!0),e.addEventListener("touchstart",_i,!0),e.addEventListener("visibilitychange",Cp,!0)}function _p(e){const{target:n}=e;try{return n.matches(":focus-visible")}catch{}return ei||wp(n)}function Ju(){const e=M.useCallback(a=>{a!=null&&Dp(a.ownerDocument)},[]),n=M.useRef(!1);function r(){return n.current?(qi=!0,Pp.start(100,()=>{qi=!1}),n.current=!1,!0):!1}function i(a){return _p(a)?(n.current=!0,!0):!1}return{isFocusVisibleRef:n,onFocus:i,onBlur:r,ref:e}}function Zu(e){const n=e.documentElement.clientWidth;return Math.abs(window.innerWidth-n)}const $p=e=>{const n=M.useRef({});return M.useEffect(()=>{n.current=e}),n.current},Ap=$p;function Ip(e){const n=typeof e;switch(n){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 n}}function Np(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Lp=Number.isInteger||Np;function Qu(e,n,r,i){const a=e[n];if(a==null||!Lp(a)){const s=Ip(a);return new RangeError(`Invalid ${i} \`${n}\` of type \`${s}\` supplied to \`${r}\`, expected \`integer\`.`)}return null}function ec(e,n,...r){return e[n]===void 0?null:Qu(e,n,...r)}function Ki(){return null}ec.isRequired=Qu;Ki.isRequired=Ki;const va=process.env.NODE_ENV==="production"?Ki:ec;function Ji(e,n){const r=X({},n);return Object.keys(e).forEach(i=>{if(i.toString().match(/^(components|slots)$/))r[i]=X({},e[i],r[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=n[i];r[i]={},!s||!Object.keys(s)?r[i]=a:!a||!Object.keys(a)?r[i]=s:(r[i]=X({},s),Object.keys(a).forEach(c=>{r[i][c]=Ji(a[c],s[c])}))}else r[i]===void 0&&(r[i]=e[i])}),r}function Ke(e,n,r=void 0){const i={};return Object.keys(e).forEach(a=>{i[a]=e[a].reduce((s,c)=>{if(c){const u=n(c);u!==""&&s.push(u),r&&r[c]&&s.push(r[c])}return s},[]).join(" ")}),i}const Es=e=>e,jp=()=>{let e=Es;return{configure(n){e=n},generate(n){return e(n)},reset(){e=Es}}},Wp=jp(),tc=Wp,Fp={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 Ye(e,n,r="Mui"){const i=Fp[n];return i?`${r}-${i}`:`${tc.generate(e)}-${n}`}function Ue(e,n,r="Mui"){const i={};return n.forEach(a=>{i[a]=Ye(e,a,r)}),i}function Bp(e,n=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(n,Math.min(e,r))}const zp=Object.freeze(Object.defineProperty({__proto__:null,default:Bp},Symbol.toStringTag,{value:"Module"}));function Me(e,n){if(e==null)return{};var r={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(n.indexOf(i)!==-1)continue;r[i]=e[i]}return r}function _o(e){return typeof e=="string"}function $r(e,n,r){return e===void 0||_o(e)?n:X({},n,{ownerState:X({},n.ownerState,r)})}function nc(e){var n,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(n=0;n<a;n++)e[n]&&(r=nc(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function Xe(){for(var e,n,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(n=nc(e))&&(i&&(i+=" "),i+=n);return i}function rc(e,n=[]){if(e===void 0)return{};const r={};return Object.keys(e).filter(i=>i.match(/^on[A-Z]/)&&typeof e[i]=="function"&&!n.includes(i)).forEach(i=>{r[i]=e[i]}),r}function Ms(e){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>!(r.match(/^on[A-Z]/)&&typeof e[r]=="function")).forEach(r=>{n[r]=e[r]}),n}function Hp(e){const{getSlotProps:n,additionalProps:r,externalSlotProps:i,externalForwardedProps:a,className:s}=e;if(!n){const d=Xe(r==null?void 0:r.className,s,a==null?void 0:a.className,i==null?void 0:i.className),h=X({},r==null?void 0:r.style,a==null?void 0:a.style,i==null?void 0:i.style),l=X({},r,a,i);return d.length>0&&(l.className=d),Object.keys(h).length>0&&(l.style=h),{props:l,internalRef:void 0}}const c=rc(X({},a,i)),u=Ms(i),p=Ms(a),t=n(c),y=Xe(t==null?void 0:t.className,r==null?void 0:r.className,s,a==null?void 0:a.className,i==null?void 0:i.className),m=X({},t==null?void 0:t.style,r==null?void 0:r.style,a==null?void 0:a.style,i==null?void 0:i.style),f=X({},t,r,p,u);return y.length>0&&(f.className=y),Object.keys(m).length>0&&(f.style=m),{props:f,internalRef:t.ref}}function Vp(e,n,r){return typeof e=="function"?e(n,r):e}const Yp=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Gn(e){var n;const{elementType:r,externalSlotProps:i,ownerState:a,skipResolvingSlotProps:s=!1}=e,c=Me(e,Yp),u=s?{}:Vp(i,a),{props:p,internalRef:t}=Hp(X({},c,{externalSlotProps:u})),y=dt(t,u==null?void 0:u.ref,(n=e.additionalProps)==null?void 0:n.ref);return $r(r,X({},p,{ref:y}),a)}function br(e){if(parseInt(M.version,10)>=19){var n;return(e==null||(n=e.props)==null?void 0:n.ref)||null}return(e==null?void 0:e.ref)||null}const ti="$$material";function Nr(e,n){return n?It(e,n,{clone:!1}):e}const Up=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.string,o.object,o.array]):{},Rn=Up,ga={xs:0,sm:600,md:900,lg:1200,xl:1536},Xs={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${ga[e]}px)`};function bn(e,n,r){const i=e.theme||{};if(Array.isArray(n)){const s=i.breakpoints||Xs;return n.reduce((c,u,p)=>(c[s.up(s.keys[p])]=r(n[p]),c),{})}if(typeof n=="object"){const s=i.breakpoints||Xs;return Object.keys(n).reduce((c,u)=>{if(Object.keys(s.values||ga).indexOf(u)!==-1){const p=s.up(u);c[p]=r(n[u],u)}else{const p=u;c[p]=n[p]}return c},{})}return r(n)}function Gp(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((i,a)=>{const s=e.up(a);return i[s]={},i},{}))||{}}function xs(e,n){return e.reduce((r,i)=>{const a=r[i];return(!a||Object.keys(a).length===0)&&delete r[i],r},n)}function ni(e,n,r=!0){if(!n||typeof n!="string")return null;if(e&&e.vars&&r){const i=`vars.${n}`.split(".").reduce((a,s)=>a&&a[s]?a[s]:null,e);if(i!=null)return i}return n.split(".").reduce((i,a)=>i&&i[a]!=null?i[a]:null,e)}function $o(e,n,r,i=r){let a;return typeof e=="function"?a=e(r):Array.isArray(e)?a=e[r]||i:a=ni(e,r)||i,n&&(a=n(a,i,e)),a}function at(e){const{prop:n,cssProperty:r=e.prop,themeKey:i,transform:a}=e,s=c=>{if(c[n]==null)return null;const u=c[n],p=c.theme,t=ni(p,i)||{};return bn(c,u,m=>{let f=$o(t,a,m);return m===f&&typeof m=="string"&&(f=$o(t,a,`${n}${m==="default"?"":ye(m)}`,m)),r===!1?f:{[r]:f}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[n]:Rn}:{},s.filterProps=[n],s}function qp(e){const n={};return r=>(n[r]===void 0&&(n[r]=e(r)),n[r])}const Kp={m:"margin",p:"padding"},Jp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ss={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zp=qp(e=>{if(e.length>2)if(Ss[e])e=Ss[e];else return[e];const[n,r]=e.split(""),i=Kp[n],a=Jp[r]||"";return Array.isArray(a)?a.map(s=>i+s):[i+a]}),ri=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","m