UNPKG

data-table-material

Version:

A dynamic and customizable table component for React, built with Material UI & TypeScript.

77 lines (75 loc) 107 kB
"use strict";var Sn=Object.create;var sr=Object.defineProperty;var En=Object.getOwnPropertyDescriptor;var xn=Object.getOwnPropertyNames;var Cn=Object.getPrototypeOf,Tn=Object.prototype.hasOwnProperty;var wn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xn(t))!Tn.call(e,o)&&o!==r&&sr(e,o,{get:()=>t[o],enumerable:!(n=En(t,o))||n.enumerable});return e};var ar=(e,t,r)=>(r=e!=null?Sn(Cn(e)):{},wn(t||!e||!e.__esModule?sr(r,"default",{value:e,enumerable:!0}):r,e));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const be=require("react"),Y=require("@mui/material"),On=require("@emotion/styled");require("@emotion/react");function _n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const he=_n(be);function Rn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var at={exports:{}},Ke={};/** * @license React * react-jsx-runtime.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 lr;function $n(){if(lr)return Ke;lr=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var s=null;if(i!==void 0&&(s=""+i),o.key!==void 0&&(s=""+o.key),"key"in o){i={};for(var l in o)l!=="key"&&(i[l]=o[l])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:s,ref:o!==void 0?o:null,props:i}}return Ke.Fragment=t,Ke.jsx=r,Ke.jsxs=r,Ke}var Xe={};/** * @license React * react-jsx-runtime.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 cr;function An(){return cr||(cr=1,process.env.NODE_ENV!=="production"&&function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===ge?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case F:return"Fragment";case v:return"Portal";case se:return"Profiler";case re:return"StrictMode";case k:return"Suspense";case V:return"SuspenseList"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case a:return(u.displayName||"Context")+".Provider";case ae:return(u._context.displayName||"Context")+".Consumer";case w:var A=u.render;return u=u.displayName,u||(u=A.displayName||A.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case W:return A=u.displayName||null,A!==null?A:e(u.type)||"Memo";case te:A=u._payload,u=u._init;try{return e(u(A))}catch{}}return null}function t(u){return""+u}function r(u){try{t(u);var A=!1}catch{A=!0}if(A){A=console;var P=A.error,q=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return P.call(A,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",q),t(u)}}function n(){}function o(){if(N===0){z=console.log,I=console.info,B=console.warn,U=console.error,G=console.group,L=console.groupCollapsed,fe=console.groupEnd;var u={configurable:!0,enumerable:!0,value:n,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}N++}function i(){if(N--,N===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},u,{value:z}),info:T({},u,{value:I}),warn:T({},u,{value:B}),error:T({},u,{value:U}),group:T({},u,{value:G}),groupCollapsed:T({},u,{value:L}),groupEnd:T({},u,{value:fe})})}0>N&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function s(u){if(C===void 0)try{throw Error()}catch(P){var A=P.stack.trim().match(/\n( *(at )?)/);C=A&&A[1]||"",ye=-1<P.stack.indexOf(` at`)?" (<anonymous>)":-1<P.stack.indexOf("@")?"@unknown:0:0":""}return` `+C+u+ye}function l(u,A){if(!u||Ae)return"";var P=De.get(u);if(P!==void 0)return P;Ae=!0,P=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var q=null;q=Ce.H,Ce.H=null,o();try{var de={DetermineComponentFrameRoot:function(){try{if(A){var Pe=function(){throw Error()};if(Object.defineProperty(Pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Pe,[])}catch(Oe){var st=Oe}Reflect.construct(u,[],Pe)}else{try{Pe.call()}catch(Oe){st=Oe}u.call(Pe.prototype)}}else{try{throw Error()}catch(Oe){st=Oe}(Pe=u())&&typeof Pe.catch=="function"&&Pe.catch(function(){})}}catch(Oe){if(Oe&&st&&typeof Oe.stack=="string")return[Oe.stack,st.stack]}return[null,null]}};de.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var ie=Object.getOwnPropertyDescriptor(de.DetermineComponentFrameRoot,"name");ie&&ie.configurable&&Object.defineProperty(de.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var M=de.DetermineComponentFrameRoot(),we=M[0],Ve=M[1];if(we&&Ve){var me=we.split(` `),Me=Ve.split(` `);for(M=ie=0;ie<me.length&&!me[ie].includes("DetermineComponentFrameRoot");)ie++;for(;M<Me.length&&!Me[M].includes("DetermineComponentFrameRoot");)M++;if(ie===me.length||M===Me.length)for(ie=me.length-1,M=Me.length-1;1<=ie&&0<=M&&me[ie]!==Me[M];)M--;for(;1<=ie&&0<=M;ie--,M--)if(me[ie]!==Me[M]){if(ie!==1||M!==1)do if(ie--,M--,0>M||me[ie]!==Me[M]){var qe=` `+me[ie].replace(" at new "," at ");return u.displayName&&qe.includes("<anonymous>")&&(qe=qe.replace("<anonymous>",u.displayName)),typeof u=="function"&&De.set(u,qe),qe}while(1<=ie&&0<=M);break}}}finally{Ae=!1,Ce.H=q,i(),Error.prepareStackTrace=P}return me=(me=u?u.displayName||u.name:"")?s(me):"",typeof u=="function"&&De.set(u,me),me}function f(u){if(u==null)return"";if(typeof u=="function"){var A=u.prototype;return l(u,!(!A||!A.isReactComponent))}if(typeof u=="string")return s(u);switch(u){case k:return s("Suspense");case V:return s("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case w:return u=l(u.render,!1),u;case W:return f(u.type);case te:A=u._payload,u=u._init;try{return f(u(A))}catch{}}return""}function p(){var u=Ce.A;return u===null?null:u.getOwner()}function m(u){if(S.call(u,"key")){var A=Object.getOwnPropertyDescriptor(u,"key").get;if(A&&A.isReactWarning)return!1}return u.key!==void 0}function d(u,A){function P(){rr||(rr=!0,console.error("%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://react.dev/link/special-props)",A))}P.isReactWarning=!0,Object.defineProperty(u,"key",{get:P,configurable:!0})}function h(){var u=e(this.type);return nr[u]||(nr[u]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),u=this.props.ref,u!==void 0?u:null}function b(u,A,P,q,de,ie){return P=ie.ref,u={$$typeof:R,type:u,key:A,props:ie,_owner:de},(P!==void 0?P:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:h}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function y(u,A,P,q,de,ie){if(typeof u=="string"||typeof u=="function"||u===F||u===se||u===re||u===k||u===V||u===oe||typeof u=="object"&&u!==null&&(u.$$typeof===te||u.$$typeof===W||u.$$typeof===a||u.$$typeof===ae||u.$$typeof===w||u.$$typeof===D||u.getModuleId!==void 0)){var M=A.children;if(M!==void 0)if(q)if(j(M)){for(q=0;q<M.length;q++)c(M[q],u);Object.freeze&&Object.freeze(M)}else console.error("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 c(M,u)}else M="",(u===void 0||typeof u=="object"&&u!==null&&Object.keys(u).length===0)&&(M+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),u===null?q="null":j(u)?q="array":u!==void 0&&u.$$typeof===R?(q="<"+(e(u.type)||"Unknown")+" />",M=" Did you accidentally export a JSX literal instead of a component?"):q=typeof u,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",q,M);if(S.call(A,"key")){M=e(u);var we=Object.keys(A).filter(function(me){return me!=="key"});q=0<we.length?"{key: someKey, "+we.join(": ..., ")+": ...}":"{key: someKey}",or[M+q]||(we=0<we.length?"{"+we.join(": ..., ")+": ...}":"{}",console.error(`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} />`,q,M,we,M),or[M+q]=!0)}if(M=null,P!==void 0&&(r(P),M=""+P),m(A)&&(r(A.key),M=""+A.key),"key"in A){P={};for(var Ve in A)Ve!=="key"&&(P[Ve]=A[Ve])}else P=A;return M&&d(P,typeof u=="function"?u.displayName||u.name||"Unknown":u),b(u,M,ie,de,p(),P)}function c(u,A){if(typeof u=="object"&&u&&u.$$typeof!==vn){if(j(u))for(var P=0;P<u.length;P++){var q=u[P];E(q)&&O(q,A)}else if(E(u))u._store&&(u._store.validated=1);else if(u===null||typeof u!="object"?P=null:(P=pe&&u[pe]||u["@@iterator"],P=typeof P=="function"?P:null),typeof P=="function"&&P!==u.entries&&(P=P.call(u),P!==u))for(;!(u=P.next()).done;)E(u.value)&&O(u.value,A)}}function E(u){return typeof u=="object"&&u!==null&&u.$$typeof===R}function O(u,A){if(u._store&&!u._store.validated&&u.key==null&&(u._store.validated=1,A=H(A),!ir[A])){ir[A]=!0;var P="";u&&u._owner!=null&&u._owner!==p()&&(P=null,typeof u._owner.tag=="number"?P=e(u._owner.type):typeof u._owner.name=="string"&&(P=u._owner.name),P=" It was passed a child from "+P+".");var q=Ce.getCurrentStack;Ce.getCurrentStack=function(){var de=f(u.type);return q&&(de+=q()||""),de},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',A,P),Ce.getCurrentStack=q}}function H(u){var A="",P=p();return P&&(P=e(P.type))&&(A=` Check the render method of \``+P+"`."),A||(u=e(u))&&(A=` Check the top-level render call using <`+u+">."),A}var $=be,R=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),ae=Symbol.for("react.consumer"),a=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),oe=Symbol.for("react.offscreen"),pe=Symbol.iterator,ge=Symbol.for("react.client.reference"),Ce=$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S=Object.prototype.hasOwnProperty,T=Object.assign,D=Symbol.for("react.client.reference"),j=Array.isArray,N=0,z,I,B,U,G,L,fe;n.__reactDisabledLog=!0;var C,ye,Ae=!1,De=new(typeof WeakMap=="function"?WeakMap:Map),vn=Symbol.for("react.client.reference"),rr,nr={},or={},ir={};Xe.Fragment=F,Xe.jsx=function(u,A,P,q,de){return y(u,A,P,!1,q,de)},Xe.jsxs=function(u,A,P,q,de){return y(u,A,P,!0,q,de)}}()),Xe}var ur;function Pn(){return ur||(ur=1,process.env.NODE_ENV==="production"?at.exports=$n():at.exports=An()),at.exports}var _=Pn(),lt={exports:{}},ct={exports:{}},K={};/** @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 fr;function kn(){if(fr)return K;fr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=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,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,H=e?Symbol.for("react.scope"):60119;function $(v){if(typeof v=="object"&&v!==null){var F=v.$$typeof;switch(F){case t:switch(v=v.type,v){case f:case p:case n:case i:case o:case d:return v;default:switch(v=v&&v.$$typeof,v){case l:case m:case y:case b:case s:return v;default:return F}}case r:return F}}}function R(v){return $(v)===p}return K.AsyncMode=f,K.ConcurrentMode=p,K.ContextConsumer=l,K.ContextProvider=s,K.Element=t,K.ForwardRef=m,K.Fragment=n,K.Lazy=y,K.Memo=b,K.Portal=r,K.Profiler=i,K.StrictMode=o,K.Suspense=d,K.isAsyncMode=function(v){return R(v)||$(v)===f},K.isConcurrentMode=R,K.isContextConsumer=function(v){return $(v)===l},K.isContextProvider=function(v){return $(v)===s},K.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===t},K.isForwardRef=function(v){return $(v)===m},K.isFragment=function(v){return $(v)===n},K.isLazy=function(v){return $(v)===y},K.isMemo=function(v){return $(v)===b},K.isPortal=function(v){return $(v)===r},K.isProfiler=function(v){return $(v)===i},K.isStrictMode=function(v){return $(v)===o},K.isSuspense=function(v){return $(v)===d},K.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===n||v===p||v===i||v===o||v===d||v===h||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===b||v.$$typeof===s||v.$$typeof===l||v.$$typeof===m||v.$$typeof===E||v.$$typeof===O||v.$$typeof===H||v.$$typeof===c)},K.typeOf=$,K}var X={};/** @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 dr;function Nn(){return dr||(dr=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=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,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,H=e?Symbol.for("react.scope"):60119;function $(C){return typeof C=="string"||typeof C=="function"||C===n||C===p||C===i||C===o||C===d||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===b||C.$$typeof===s||C.$$typeof===l||C.$$typeof===m||C.$$typeof===E||C.$$typeof===O||C.$$typeof===H||C.$$typeof===c)}function R(C){if(typeof C=="object"&&C!==null){var ye=C.$$typeof;switch(ye){case t:var Ae=C.type;switch(Ae){case f:case p:case n:case i:case o:case d:return Ae;default:var De=Ae&&Ae.$$typeof;switch(De){case l:case m:case y:case b:case s:return De;default:return ye}}case r:return ye}}}var v=f,F=p,re=l,se=s,ae=t,a=m,w=n,k=y,V=b,W=r,te=i,oe=o,pe=d,ge=!1;function Ce(C){return ge||(ge=!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.")),S(C)||R(C)===f}function S(C){return R(C)===p}function T(C){return R(C)===l}function D(C){return R(C)===s}function j(C){return typeof C=="object"&&C!==null&&C.$$typeof===t}function N(C){return R(C)===m}function z(C){return R(C)===n}function I(C){return R(C)===y}function B(C){return R(C)===b}function U(C){return R(C)===r}function G(C){return R(C)===i}function L(C){return R(C)===o}function fe(C){return R(C)===d}X.AsyncMode=v,X.ConcurrentMode=F,X.ContextConsumer=re,X.ContextProvider=se,X.Element=ae,X.ForwardRef=a,X.Fragment=w,X.Lazy=k,X.Memo=V,X.Portal=W,X.Profiler=te,X.StrictMode=oe,X.Suspense=pe,X.isAsyncMode=Ce,X.isConcurrentMode=S,X.isContextConsumer=T,X.isContextProvider=D,X.isElement=j,X.isForwardRef=N,X.isFragment=z,X.isLazy=I,X.isMemo=B,X.isPortal=U,X.isProfiler=G,X.isStrictMode=L,X.isSuspense=fe,X.isValidElementType=$,X.typeOf=R}()),X}var pr;function Hr(){return pr||(pr=1,process.env.NODE_ENV==="production"?ct.exports=kn():ct.exports=Nn()),ct.exports}/* object-assign (c) Sindre Sorhus @license MIT */var Mt,mr;function jn(){if(mr)return Mt;mr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){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 f=Object.getOwnPropertyNames(s).map(function(m){return s[m]});if(f.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(m){p[m]=m}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Mt=o()?Object.assign:function(i,s){for(var l,f=n(i),p,m=1;m<arguments.length;m++){l=Object(arguments[m]);for(var d in l)t.call(l,d)&&(f[d]=l[d]);if(e){p=e(l);for(var h=0;h<p.length;h++)r.call(l,p[h])&&(f[p[h]]=l[p[h]])}}return f},Mt}var Bt,hr;function Kt(){if(hr)return Bt;hr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Bt=e,Bt}var Dt,gr;function Gr(){return gr||(gr=1,Dt=Function.call.bind(Object.prototype.hasOwnProperty)),Dt}var Vt,yr;function In(){if(yr)return Vt;yr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Kt(),r={},n=Gr();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,l,f,p){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var d;try{if(typeof i[m]!="function"){var h=Error((f||"React class")+": "+l+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}d=i[m](s,m,f,l,null,t)}catch(y){d=y}if(d&&!(d instanceof Error)&&e((f||"React class")+": type specification of "+l+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof d+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),d instanceof Error&&!(d.message in r)){r[d.message]=!0;var b=p?p():"";e("Failed "+l+" type: "+d.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Vt=o,Vt}var Wt,br;function Mn(){if(br)return Wt;br=1;var e=Hr(),t=jn(),r=Kt(),n=Gr(),o=In(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var f="Warning: "+l;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function s(){return null}return Wt=function(l,f){var p=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function d(S){var T=S&&(p&&S[p]||S[m]);if(typeof T=="function")return T}var h="<<anonymous>>",b={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:H(),arrayOf:$,element:R(),elementType:v(),instanceOf:F,node:a(),objectOf:se,oneOf:re,oneOfType:ae,shape:k,exact:V};function y(S,T){return S===T?S!==0||1/S===1/T:S!==S&&T!==T}function c(S,T){this.message=S,this.data=T&&typeof T=="object"?T:{},this.stack=""}c.prototype=Error.prototype;function E(S){if(process.env.NODE_ENV!=="production")var T={},D=0;function j(z,I,B,U,G,L,fe){if(U=U||h,L=L||B,fe!==r){if(f){var C=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 C.name="Invariant Violation",C}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ye=U+":"+B;!T[ye]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+L+"` prop on `"+U+"`. 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."),T[ye]=!0,D++)}}return I[B]==null?z?I[B]===null?new c("The "+G+" `"+L+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new c("The "+G+" `"+L+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:S(I,B,U,G,L)}var N=j.bind(null,!1);return N.isRequired=j.bind(null,!0),N}function O(S){function T(D,j,N,z,I,B){var U=D[j],G=oe(U);if(G!==S){var L=pe(U);return new c("Invalid "+z+" `"+I+"` of type "+("`"+L+"` supplied to `"+N+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return E(T)}function H(){return E(s)}function $(S){function T(D,j,N,z,I){if(typeof S!="function")return new c("Property `"+I+"` of component `"+N+"` has invalid PropType notation inside arrayOf.");var B=D[j];if(!Array.isArray(B)){var U=oe(B);return new c("Invalid "+z+" `"+I+"` of type "+("`"+U+"` supplied to `"+N+"`, expected an array."))}for(var G=0;G<B.length;G++){var L=S(B,G,N,z,I+"["+G+"]",r);if(L instanceof Error)return L}return null}return E(T)}function R(){function S(T,D,j,N,z){var I=T[D];if(!l(I)){var B=oe(I);return new c("Invalid "+N+" `"+z+"` of type "+("`"+B+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return E(S)}function v(){function S(T,D,j,N,z){var I=T[D];if(!e.isValidElementType(I)){var B=oe(I);return new c("Invalid "+N+" `"+z+"` of type "+("`"+B+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return E(S)}function F(S){function T(D,j,N,z,I){if(!(D[j]instanceof S)){var B=S.name||h,U=Ce(D[j]);return new c("Invalid "+z+" `"+I+"` of type "+("`"+U+"` supplied to `"+N+"`, expected ")+("instance of `"+B+"`."))}return null}return E(T)}function re(S){if(!Array.isArray(S))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 T(D,j,N,z,I){for(var B=D[j],U=0;U<S.length;U++)if(y(B,S[U]))return null;var G=JSON.stringify(S,function(fe,C){var ye=pe(C);return ye==="symbol"?String(C):C});return new c("Invalid "+z+" `"+I+"` of value `"+String(B)+"` "+("supplied to `"+N+"`, expected one of "+G+"."))}return E(T)}function se(S){function T(D,j,N,z,I){if(typeof S!="function")return new c("Property `"+I+"` of component `"+N+"` has invalid PropType notation inside objectOf.");var B=D[j],U=oe(B);if(U!=="object")return new c("Invalid "+z+" `"+I+"` of type "+("`"+U+"` supplied to `"+N+"`, expected an object."));for(var G in B)if(n(B,G)){var L=S(B,G,N,z,I+"."+G,r);if(L instanceof Error)return L}return null}return E(T)}function ae(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var T=0;T<S.length;T++){var D=S[T];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ge(D)+" at index "+T+"."),s}function j(N,z,I,B,U){for(var G=[],L=0;L<S.length;L++){var fe=S[L],C=fe(N,z,I,B,U,r);if(C==null)return null;C.data&&n(C.data,"expectedType")&&G.push(C.data.expectedType)}var ye=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new c("Invalid "+B+" `"+U+"` supplied to "+("`"+I+"`"+ye+"."))}return E(j)}function a(){function S(T,D,j,N,z){return W(T[D])?null:new c("Invalid "+N+" `"+z+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return E(S)}function w(S,T,D,j,N){return new c((S||"React class")+": "+T+" type `"+D+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+N+"`.")}function k(S){function T(D,j,N,z,I){var B=D[j],U=oe(B);if(U!=="object")return new c("Invalid "+z+" `"+I+"` of type `"+U+"` "+("supplied to `"+N+"`, expected `object`."));for(var G in S){var L=S[G];if(typeof L!="function")return w(N,z,I,G,pe(L));var fe=L(B,G,N,z,I+"."+G,r);if(fe)return fe}return null}return E(T)}function V(S){function T(D,j,N,z,I){var B=D[j],U=oe(B);if(U!=="object")return new c("Invalid "+z+" `"+I+"` of type `"+U+"` "+("supplied to `"+N+"`, expected `object`."));var G=t({},D[j],S);for(var L in G){var fe=S[L];if(n(S,L)&&typeof fe!="function")return w(N,z,I,L,pe(fe));if(!fe)return new c("Invalid "+z+" `"+I+"` key `"+L+"` supplied to `"+N+"`.\nBad object: "+JSON.stringify(D[j],null," ")+` Valid keys: `+JSON.stringify(Object.keys(S),null," "));var C=fe(B,L,N,z,I+"."+L,r);if(C)return C}return null}return E(T)}function W(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(W);if(S===null||l(S))return!0;var T=d(S);if(T){var D=T.call(S),j;if(T!==S.entries){for(;!(j=D.next()).done;)if(!W(j.value))return!1}else for(;!(j=D.next()).done;){var N=j.value;if(N&&!W(N[1]))return!1}}else return!1;return!0;default:return!1}}function te(S,T){return S==="symbol"?!0:T?T["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&T instanceof Symbol:!1}function oe(S){var T=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":te(T,S)?"symbol":T}function pe(S){if(typeof S>"u"||S===null)return""+S;var T=oe(S);if(T==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return T}function ge(S){var T=pe(S);switch(T){case"array":case"object":return"an "+T;case"boolean":case"date":case"regexp":return"a "+T;default:return T}}function Ce(S){return!S.constructor||!S.constructor.name?h:S.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},Wt}var Ft,vr;function Bn(){if(vr)return Ft;vr=1;var e=Kt();function t(){}function r(){}return r.resetWarningCache=t,Ft=function(){function n(s,l,f,p,m,d){if(d!==e){var h=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 h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Ft}var Sr;function Dn(){if(Sr)return lt.exports;if(Sr=1,process.env.NODE_ENV!=="production"){var e=Hr(),t=!0;lt.exports=Mn()(e.isElement,t)}else lt.exports=Bn()();return lt.exports}var Vn=Dn();const x=Rn(Vn);function qr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=qr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function vt(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=qr(e))&&(n&&(n+=" "),n+=t);return n}function St(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let s="",l=!0;for(let f=0;f<i.length;f+=1){const p=i[f];p&&(s+=(l===!0?"":" ")+t(p),l=!1,r&&r[p]&&(s+=" "+r[p]))}n[o]=s}return n}const Kr=he.createContext();process.env.NODE_ENV!=="production"&&(Kr.displayName="TableContext");function Ne(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Be(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ne(7));return e.charAt(0).toUpperCase()+e.slice(1)}var ut={exports:{}},J={};/** * @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 Er;function Wn(){if(Er)return J;Er=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=Symbol.for("react.client.reference");function y(c){if(typeof c=="object"&&c!==null){var E=c.$$typeof;switch(E){case e:switch(c=c.type,c){case r:case o:case n:case f:case p:return c;default:switch(c=c&&c.$$typeof,c){case s:case l:case d:case m:return c;case i:return c;default:return E}}case t:return E}}}return J.ContextConsumer=i,J.ContextProvider=s,J.Element=e,J.ForwardRef=l,J.Fragment=r,J.Lazy=d,J.Memo=m,J.Portal=t,J.Profiler=o,J.StrictMode=n,J.Suspense=f,J.SuspenseList=p,J.isContextConsumer=function(c){return y(c)===i},J.isContextProvider=function(c){return y(c)===s},J.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},J.isForwardRef=function(c){return y(c)===l},J.isFragment=function(c){return y(c)===r},J.isLazy=function(c){return y(c)===d},J.isMemo=function(c){return y(c)===m},J.isPortal=function(c){return y(c)===t},J.isProfiler=function(c){return y(c)===o},J.isStrictMode=function(c){return y(c)===n},J.isSuspense=function(c){return y(c)===f},J.isSuspenseList=function(c){return y(c)===p},J.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===p||c===h||typeof c=="object"&&c!==null&&(c.$$typeof===d||c.$$typeof===m||c.$$typeof===s||c.$$typeof===i||c.$$typeof===l||c.$$typeof===b||c.getModuleId!==void 0)},J.typeOf=y,J}var Q={};/** * @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 xr;function Fn(){return xr||(xr=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var E=c.$$typeof;switch(E){case t:switch(c=c.type,c){case n:case i:case o:case p:case m:return c;default:switch(c=c&&c.$$typeof,c){case l:case f:case h:case d:return c;case s:return c;default:return E}}case r:return E}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),y=Symbol.for("react.client.reference");Q.ContextConsumer=s,Q.ContextProvider=l,Q.Element=t,Q.ForwardRef=f,Q.Fragment=n,Q.Lazy=h,Q.Memo=d,Q.Portal=r,Q.Profiler=i,Q.StrictMode=o,Q.Suspense=p,Q.SuspenseList=m,Q.isContextConsumer=function(c){return e(c)===s},Q.isContextProvider=function(c){return e(c)===l},Q.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},Q.isForwardRef=function(c){return e(c)===f},Q.isFragment=function(c){return e(c)===n},Q.isLazy=function(c){return e(c)===h},Q.isMemo=function(c){return e(c)===d},Q.isPortal=function(c){return e(c)===r},Q.isProfiler=function(c){return e(c)===i},Q.isStrictMode=function(c){return e(c)===o},Q.isSuspense=function(c){return e(c)===p},Q.isSuspenseList=function(c){return e(c)===m},Q.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===p||c===m||c===b||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===d||c.$$typeof===l||c.$$typeof===s||c.$$typeof===f||c.$$typeof===y||c.getModuleId!==void 0)},Q.typeOf=e}()),Q}var Cr;function zn(){return Cr||(Cr=1,process.env.NODE_ENV==="production"?ut.exports=Wn():ut.exports=Fn()),ut.exports}var mt=zn();function Re(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Xr(e){if(he.isValidElement(e)||mt.isValidElementType(e)||!Re(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Xr(e[r])}),t}function Se(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Re(e)&&Re(t)&&Object.keys(t).forEach(o=>{he.isValidElement(t[o])||mt.isValidElementType(t[o])?n[o]=t[o]:Re(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Re(e[o])?n[o]=Se(e[o],t[o],r):r.clone?n[o]=Re(t[o])?Xr(t[o]):t[o]:n[o]=t[o]}),n}function et(e,t){return t?Se(e,t,{clone:!1}):e}const Ie=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.string,x.object,x.array]):{};function Un(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=n.match(i))==null?void 0:s[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Ln(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Yn(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`. For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ne(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Hn(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function r(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const f=t(e.breakpoints.not(...l),s);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Et={xs:0,sm:600,md:900,lg:1200,xl:1536},Tr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Et[e]}px)`},Gn={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Et[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function $e(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Tr;return t.reduce((s,l,f)=>(s[i.up(i.keys[f])]=r(t[f]),s),{})}if(typeof t=="object"){const i=n.breakpoints||Tr;return Object.keys(t).reduce((s,l)=>{if(Ln(i.keys,l)){const f=Yn(n.containerQueries?n:Gn,l);f&&(s[f]=r(t[l],l))}else if(Object.keys(i.values||Et).includes(l)){const f=i.up(l);s[f]=r(t[l],l)}else{const f=l;s[f]=t[f]}return s},{})}return r(t)}function qn(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Kn(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function xt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ht(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=xt(e,r)||n,t&&(o=t(o,n,e)),o}function ue(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],f=s.theme,p=xt(f,n)||{};return $e(s,l,d=>{let h=ht(p,o,d);return d===h&&typeof d=="string"&&(h=ht(p,o,`${t}${d==="default"?"":Be(d)}`,d)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ie}:{},i.filterProps=[t],i}function Xn(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Jn={m:"margin",p:"padding"},Qn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},wr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Zn=Xn(e=>{if(e.length>2)if(wr[e])e=wr[e];else return[e];const[t,r]=e.split(""),n=Jn[t],o=Qn[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ct=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Tt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],eo=[...Ct,...Tt];function nt(e,t,r,n){const o=xt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>o.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${s} > ${o.length-1}, you need to add the missing values.`].join(` `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(` `)));const l=o[s];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(` `)),()=>{})}function Xt(e){return nt(e,"spacing",8,"spacing")}function ot(e,t){return typeof t=="string"||t==null?t:e(t)}function to(e,t){return r=>e.reduce((n,o)=>(n[o]=ot(t,r),n),{})}function ro(e,t,r,n){if(!t.includes(r))return null;const o=Zn(r),i=to(o,n),s=e[r];return $e(e,s,i)}function Jr(e,t){const r=Xt(e.theme);return Object.keys(e).map(n=>ro(e,t,n,r)).reduce(et,{})}function le(e){return Jr(e,Ct)}le.propTypes=process.env.NODE_ENV!=="production"?Ct.reduce((e,t)=>(e[t]=Ie,e),{}):{};le.filterProps=Ct;function ce(e){return Jr(e,Tt)}ce.propTypes=process.env.NODE_ENV!=="production"?Tt.reduce((e,t)=>(e[t]=Ie,e),{}):{};ce.filterProps=Tt;process.env.NODE_ENV!=="production"&&eo.reduce((e,t)=>(e[t]=Ie,e),{});function wt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?et(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ee(e){return typeof e!="number"?e:`${e}px solid`}function xe(e,t){return ue({prop:e,themeKey:"borders",transform:t})}const no=xe("border",Ee),oo=xe("borderTop",Ee),io=xe("borderRight",Ee),so=xe("borderBottom",Ee),ao=xe("borderLeft",Ee),lo=xe("borderColor"),co=xe("borderTopColor"),uo=xe("borderRightColor"),fo=xe("borderBottomColor"),po=xe("borderLeftColor"),mo=xe("outline",Ee),ho=xe("outlineColor"),Ot=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=nt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:ot(t,n)});return $e(e,e.borderRadius,r)}return null};Ot.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ie}:{};Ot.filterProps=["borderRadius"];wt(no,oo,io,so,ao,lo,co,uo,fo,po,Ot,mo,ho);const _t=e=>{if(e.gap!==void 0&&e.gap!==null){const t=nt(e.theme,"spacing",8,"gap"),r=n=>({gap:ot(t,n)});return $e(e,e.gap,r)}return null};_t.propTypes=process.env.NODE_ENV!=="production"?{gap:Ie}:{};_t.filterProps=["gap"];const Rt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=nt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:ot(t,n)});return $e(e,e.columnGap,r)}return null};Rt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ie}:{};Rt.filterProps=["columnGap"];const $t=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=nt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:ot(t,n)});return $e(e,e.rowGap,r)}return null};$t.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ie}:{};$t.filterProps=["rowGap"];const go=ue({prop:"gridColumn"}),yo=ue({prop:"gridRow"}),bo=ue({prop:"gridAutoFlow"}),vo=ue({prop:"gridAutoColumns"}),So=ue({prop:"gridAutoRows"}),Eo=ue({prop:"gridTemplateColumns"}),xo=ue({prop:"gridTemplateRows"}),Co=ue({prop:"gridTemplateAreas"}),To=ue({prop:"gridArea"});wt(_t,Rt,$t,go,yo,bo,vo,So,Eo,xo,Co,To);function Ye(e,t){return t==="grey"?t:e}const wo=ue({prop:"color",themeKey:"palette",transform:Ye}),Oo=ue({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ye}),_o=ue({prop:"backgroundColor",themeKey:"palette",transform:Ye});wt(wo,Oo,_o);function ve(e){return e<=1&&e!==0?`${e*100}%`:e}const Ro=ue({prop:"width",transform:ve}),Jt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,s,l,f;const n=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[r])||Et[r];return n?((f=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ve(r)}};return $e(e,e.maxWidth,t)}return null};Jt.filterProps=["maxWidth"];const $o=ue({prop:"minWidth",transform:ve}),Ao=ue({prop:"height",transform:ve}),Po=ue({prop:"maxHeight",transform:ve}),ko=ue({prop:"minHeight",transform:ve});ue({prop:"size",cssProperty:"width",transform:ve});ue({prop:"size",cssProperty:"height",transform:ve});const No=ue({prop:"boxSizing"});wt(Ro,Jt,$o,Ao,Po,ko,No);const At={border:{themeKey:"borders",transform:Ee},borderTop:{themeKey:"borders",transform:Ee},borderRight:{themeKey:"borders",transform:Ee},borderBottom:{themeKey:"borders",transform:Ee},borderLeft:{themeKey:"borders",transform:Ee},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ee},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ot},color:{themeKey:"palette",transform:Ye},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ye},backgroundColor:{themeKey:"palette",transform:Ye},p:{style:ce},pt:{style:ce},pr:{style:ce},pb:{style:ce},pl:{style:ce},px:{style:ce},py:{style:ce},padding:{style:ce},paddingTop:{style:ce},paddingRight:{style:ce},paddingBottom:{style:ce},paddingLeft:{style:ce},paddingX:{style:ce},paddingY:{style:ce},paddingInline:{style:ce},paddingInlineStart:{style:ce},paddingInlineEnd:{style:ce},paddingBlock:{style:ce},paddingBlockStart:{style:ce},paddingBlockEnd:{style:ce},m:{style:le},mt:{style:le},mr:{style:le},mb:{style:le},ml:{style:le},mx:{style:le},my:{style:le},margin:{style:le},marginTop:{style:le},marginRight:{style:le},marginBottom:{style:le},marginLeft:{style:le},marginX:{style:le},marginY:{style:le},marginInline:{style:le},marginInlineStart:{style:le},marginInlineEnd:{style:le},marginBlock:{style:le},marginBlockStart:{style:le},marginBlockEnd:{style:le},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:_t},rowGap:{style:$t},columnGap:{style:Rt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ve},maxWidth:{style:Jt},minWidth:{transform:ve},height:{transform:ve},maxHeight:{transform:ve},minHeight:{transform:ve},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 jo(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Io(e,t){return typeof e=="function"?e(t):e}function Mo(){function e(r,n,o,i){const s={[r]:n,theme:o},l=i[r];if(!l)return{[r]:n};const{cssProperty:f=r,themeKey:p,transform:m,style:d}=l;if(n==null)return null;if(p==="typography"&&n==="inherit")return{[r]:n};const h=xt(o,p)||{};return d?d(s):$e(s,n,y=>{let c=ht(h,m,y);return y===c&&typeof y=="string"&&(c=ht(h,m,`${r}${y==="default"?"":Be(y)}`,y)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??At;function s(l){let f=l;if(typeof l=="function")f=l(o);else if(typeof l!="object")return l;if(!f)return null;const p=qn(o.breakpoints),m=Object.keys(p);let d=p;return Object.keys(f).forEach(h=>{const b=Io(f[h],o);if(b!=null)if(typeof b=="object")if(i[h])d=et(d,e(h,b,o,i));else{const y=$e({theme:o},b,c=>({[h]:c}));jo(y,b)?d[h]=t({sx:b,theme:o}):d=et(d,y)}else d=et(d,e(h,b,o,i))}),Un(o,Kn(m,d))}return Array.isArray(n)?n.map(s):s(n)}return t}const He=Mo();He.filterProps=["sx"];function Bo(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Do={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Vo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Wo=/[A-Z]|^ms/g,Fo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Qr=function(t){return t.charCodeAt(1)===45},Or=function(t){return t!=null&&typeof t!="boolean"},zt=Vo(function(e){return Qr(e)?e:e.replace(Wo,"-$&").toLowerCase()}),_r=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Fo,function(n,o,i){return ke={name:o,styles:i,next:ke},o})}return Do[t]!==1&&!Qr(t)&&typeof r=="number"&&r!==0?r+"px":r};function gt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ke={name:o.name,styles:o.styles,next:ke},o.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)ke={name:s.name,styles:s.styles,next:ke},s=s.next;var l=i.styles+";";return l}return zo(e,t,r)}}var f=r;return f}function zo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=gt(e,t,r[o])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;Or(l)&&(n+=zt(i)+":"+_r(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&t==null)for(var f=0;f<s.length;f++)Or(s[f])&&(n+=zt(i)+":"+_r(i,s[f])+";");else{var p=gt(e,t,s);switch(i){case"animation":case"animationName":{n+=zt(i)+":"+p+";";break}default:n+=i+"{"+p+"}"}}}return n}var Rr=/label:\s*([^\s;{]+)\s*(;|$)/g,ke;function Uo(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ke=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=gt(r,t,i);else{var s=i;o+=s[0]}for(var l=1;l<e.length;l++)if(o+=gt(r,t,e[l]),n){var f=i;o+=f[l]}Rr.lastIndex=0;for(var p="",m;(m=Rr.exec(o))!==null;)p+="-"+m[1];var d=Bo(o)+p;return{name:d,styles:o,next:ke}}/** * @mui/styled-engine v6.4.8 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function Lo(e,t){const r=On(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(` `)):n.