UNPKG

tm-reuseable-components

Version:

This is a reuseable components lib made for TextMercato

31 lines 780 kB
import*as e from"react";import t,{forwardRef as o,useContext as r,createElement as n,Children as l,isValidElement as a,cloneElement as i}from"react";import*as s from"react-dom";import c from"react-dom";import{jsx as u,jsxs as d}from"react/jsx-runtime";const p=e.createContext(void 0);function f(){const t=e.useContext(p);if(void 0===t)throw new Error(["MUI: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return t}"production"!==process.env.NODE_ENV&&(p.displayName="GridApiContext");const m=e.createContext(void 0);"production"!==process.env.NODE_ENV&&(m.displayName="GridRootPropsContext");const g=()=>{const t=e.useContext(m);if(!t)throw new Error("MUI: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.");return t};function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},b.apply(this,arguments)}function h(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var v,y={exports:{}},w={exports:{}},C={};var x,S,O,R,P,T,k,E,I,M,F,L,D,$,N={}; /** @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. */function A(){return S||(S=1,"production"===process.env.NODE_ENV?w.exports=function(){if(v)return C;v=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,y=e?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case l:case n:case d:return e;default:switch(e=e&&e.$$typeof){case i:case u:case m:case f:case a:return e;default:return p}}case o:return p}}}function x(e){return w(e)===c}return C.AsyncMode=s,C.ConcurrentMode=c,C.ContextConsumer=i,C.ContextProvider=a,C.Element=t,C.ForwardRef=u,C.Fragment=r,C.Lazy=m,C.Memo=f,C.Portal=o,C.Profiler=l,C.StrictMode=n,C.Suspense=d,C.isAsyncMode=function(e){return x(e)||w(e)===s},C.isConcurrentMode=x,C.isContextConsumer=function(e){return w(e)===i},C.isContextProvider=function(e){return w(e)===a},C.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},C.isForwardRef=function(e){return w(e)===u},C.isFragment=function(e){return w(e)===r},C.isLazy=function(e){return w(e)===m},C.isMemo=function(e){return w(e)===f},C.isPortal=function(e){return w(e)===o},C.isProfiler=function(e){return w(e)===l},C.isStrictMode=function(e){return w(e)===n},C.isSuspense=function(e){return w(e)===d},C.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===l||e===n||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===i||e.$$typeof===u||e.$$typeof===b||e.$$typeof===h||e.$$typeof===y||e.$$typeof===g)},C.typeOf=w,C}():w.exports=(x||(x=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case s:case c:case r:case l:case n:case d:return g;default:var b=g&&g.$$typeof;switch(b){case i:case u:case m:case f:case a:return b;default:return p}}case o:return p}}}var w=s,C=c,x=i,S=a,O=t,R=u,P=r,T=m,k=f,E=o,I=l,M=n,F=d,L=!1;function D(e){return y(e)===c}N.AsyncMode=w,N.ConcurrentMode=C,N.ContextConsumer=x,N.ContextProvider=S,N.Element=O,N.ForwardRef=R,N.Fragment=P,N.Lazy=T,N.Memo=k,N.Portal=E,N.Profiler=I,N.StrictMode=M,N.Suspense=F,N.isAsyncMode=function(e){return L||(L=!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.")),D(e)||y(e)===s},N.isConcurrentMode=D,N.isContextConsumer=function(e){return y(e)===i},N.isContextProvider=function(e){return y(e)===a},N.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},N.isForwardRef=function(e){return y(e)===u},N.isFragment=function(e){return y(e)===r},N.isLazy=function(e){return y(e)===m},N.isMemo=function(e){return y(e)===f},N.isPortal=function(e){return y(e)===o},N.isProfiler=function(e){return y(e)===l},N.isStrictMode=function(e){return y(e)===n},N.isSuspense=function(e){return y(e)===d},N.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===l||e===n||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===i||e.$$typeof===u||e.$$typeof===b||e.$$typeof===h||e.$$typeof===v||e.$$typeof===g)},N.typeOf=y}()),N)),w.exports} /* object-assign (c) Sindre Sorhus @license MIT */function V(){if(R)return O;R=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;return O=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,n){for(var l,a,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in l=Object(arguments[s]))t.call(l,c)&&(i[c]=l[c]);if(e){a=e(l);for(var u=0;u<a.length;u++)o.call(l,a[u])&&(i[a[u]]=l[a[u]])}}return i},O}function H(){if(T)return P;T=1;return P="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function z(){return E?k:(E=1,k=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var j=A();y.exports=function(){if(L)return F;L=1;var e=A(),t=V(),o=H(),r=z(),n=function(){if(M)return I;M=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=H(),o={},r=z();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function n(n,l,a,i,s){if("production"!==process.env.NODE_ENV)for(var c in n)if(r(n,c)){var u;try{if("function"!=typeof n[c]){var d=Error((i||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=n[c](l,c,i,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((i||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in o)){o[u.message]=!0;var p=s?s():"";e("Failed "+a+" type: "+u.message+(null!=p?p:""))}}}return n.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(o={})},I=n}(),l=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(l=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),F=function(i,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",p={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:g(a),arrayOf:function(e){return g((function(t,r,n,l,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var i=t[r];if(!Array.isArray(i))return new m("Invalid "+l+" `"+a+"` of type `"+y(i)+"` supplied to `"+n+"`, expected an array.");for(var s=0;s<i.length;s++){var c=e(i,s,n,l,a+"["+s+"]",o);if(c instanceof Error)return c}return null}))},element:g((function(e,t,o,r,n){var l=e[t];return i(l)?null:new m("Invalid "+r+" `"+n+"` of type `"+y(l)+"` supplied to `"+o+"`, expected a single ReactElement.")})),elementType:g((function(t,o,r,n,l){var a=t[o];return e.isValidElementType(a)?null:new m("Invalid "+n+" `"+l+"` of type `"+y(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(t,o,r,n,l){if(!(t[o]instanceof e)){var a=e.name||d;return new m("Invalid "+n+" `"+l+"` of type `"+((i=t[o]).constructor&&i.constructor.name?i.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var i;return null}))},node:g((function(e,t,o,r,n){return v(e[t])?null:new m("Invalid "+r+" `"+n+"` supplied to `"+o+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,n,l,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+l+"` has invalid PropType notation inside objectOf.");var s=t[n],c=y(s);if("object"!==c)return new m("Invalid "+a+" `"+i+"` of type `"+c+"` supplied to `"+l+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,l,a,i+"."+u,o);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,o,r,n,l){for(var a=t[o],i=0;i<e.length;i++)if(f(a,e[i]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+n+" `"+l+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&l(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&l("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+C(n)+" at index "+t+"."),a}return g((function(t,n,l,a,i){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,n,l,a,i,o);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new m("Invalid "+a+" `"+i+"` supplied to `"+l+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(t,r,n,l,a){var i=t[r],s=y(i);if("object"!==s)return new m("Invalid "+l+" `"+a+"` of type `"+s+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return h(n,l,a,c,w(u));var d=u(i,c,n,l,a+"."+c,o);if(d)return d}return null}))},exact:function(e){return g((function(n,l,a,i,s){var c=n[l],u=y(c);if("object"!==u)return new m("Invalid "+i+" `"+s+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},n[l],e);for(var p in d){var f=e[p];if(r(e,p)&&"function"!=typeof f)return h(a,i,s,p,w(f));if(!f)return new m("Invalid "+i+" `"+s+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(n[l],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=f(c,p,a,i,s+"."+p,o);if(g)return g}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function n(n,a,i,c,u,p,f){if(c=c||d,p=p||i,f!==o){if(s){var g=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 g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var b=c+":"+i;!t[b]&&r<3&&(l("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. 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[b]=!0,r++)}}return null==a[i]?n?null===a[i]?new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,i,c,u,p)}var a=n.bind(null,!1);return a.isRequired=n.bind(null,!0),a}function b(e){return g((function(t,o,r,n,l,a){var i=t[o];return y(i)!==e?new m("Invalid "+n+" `"+l+"` of type `"+w(i)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function h(e,t,o,r,n){return new m((e||"React class")+": "+t+" type `"+o+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||i(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var o,r=t.call(e);if(t!==e.entries){for(;!(o=r.next()).done;)if(!v(o.value))return!1}else for(;!(o=r.next()).done;){var n=o.value;if(n&&!v(n[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function C(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=n,p.resetWarningCache=n.resetWarningCache,p.PropTypes=p,p},F}()(j.isElement,!0)}else y.exports=function(){if($)return D;$=1;var e=H();function t(){}function o(){}return o.resetWarningCache=t,D=function(){function r(t,o,r,n,l,a){if(a!==e){var i=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 i.name="Invariant Violation",i}}function n(){return r}r.isRequired=r;var l={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:n,element:r,elementType:r,instanceOf:n,node:r,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:t};return l.PropTypes=l,l}}()();var B=h(y.exports);function _(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...o){return e(...o)||t(...o)}}function G(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function q(e){if(!G(e))return e;const t={};return Object.keys(e).forEach((o=>{t[o]=q(e[o])})),t}function U(e,t,o={clone:!0}){const r=o.clone?{...e}:e;return G(e)&&G(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(G(t[n])&&n in e&&G(e[n])?r[n]=U(e[n],t[n],o):o.clone?r[n]=G(t[n])?q(t[n]):t[n]:r[n]=t[n])})),r}function W(e,t,o,r,n){const l=e[t],a=n||t;if(null==l||"undefined"==typeof window)return null;let i;const s=l.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(i="Did you accidentally use a plain function component for an element instead?"),void 0!==i?new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const K=_(B.element,W);K.isRequired=_(B.element.isRequired,W);var Q=K;var Y=_(B.elementType,(function(e,t,o,r,n){const l=e[t],a=n||t;if(null==l||"undefined"==typeof window)return null;let i;return"function"!=typeof l||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(l)||(i="Did you accidentally provide a plain function component instead?"),void 0!==i?new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));function Z(e){return"production"===process.env.NODE_ENV?e:{...e,"exact-prop: ​":t=>{const o=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return o.length>0?new Error(`The following props are not supported: ${o.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}}}function X(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var J,ee={exports:{}},te={};var oe,re={}; /** * @license React * 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. */"production"===process.env.NODE_ENV?ee.exports=function(){if(J)return te;J=1;var e,t=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case l:case n:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case i:case c:case f:case p:case a:return e;default:return m}}case o:return m}}}return e=Symbol.for("react.module.reference"),te.ContextConsumer=i,te.ContextProvider=a,te.Element=t,te.ForwardRef=c,te.Fragment=r,te.Lazy=f,te.Memo=p,te.Portal=o,te.Profiler=l,te.StrictMode=n,te.Suspense=u,te.SuspenseList=d,te.isAsyncMode=function(){return!1},te.isConcurrentMode=function(){return!1},te.isContextConsumer=function(e){return g(e)===i},te.isContextProvider=function(e){return g(e)===a},te.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},te.isForwardRef=function(e){return g(e)===c},te.isFragment=function(e){return g(e)===r},te.isLazy=function(e){return g(e)===f},te.isMemo=function(e){return g(e)===p},te.isPortal=function(e){return g(e)===o},te.isProfiler=function(e){return g(e)===l},te.isStrictMode=function(e){return g(e)===n},te.isSuspense=function(e){return g(e)===u},te.isSuspenseList=function(e){return g(e)===d},te.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===l||t===n||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===a||t.$$typeof===i||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},te.typeOf=g,te}():ee.exports=(oe||(oe=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case r:case l:case n:case u:case d:return g;default:var b=g&&g.$$typeof;switch(b){case s:case i:case c:case f:case p:case a:return b;default:return m}}case o:return m}}}e=Symbol.for("react.module.reference");var b=i,h=a,v=t,y=c,w=r,C=f,x=p,S=o,O=l,R=n,P=u,T=d,k=!1,E=!1;re.ContextConsumer=b,re.ContextProvider=h,re.Element=v,re.ForwardRef=y,re.Fragment=w,re.Lazy=C,re.Memo=x,re.Portal=S,re.Profiler=O,re.StrictMode=R,re.Suspense=P,re.SuspenseList=T,re.isAsyncMode=function(e){return k||(k=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},re.isConcurrentMode=function(e){return E||(E=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},re.isContextConsumer=function(e){return g(e)===i},re.isContextProvider=function(e){return g(e)===a},re.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},re.isForwardRef=function(e){return g(e)===c},re.isFragment=function(e){return g(e)===r},re.isLazy=function(e){return g(e)===f},re.isMemo=function(e){return g(e)===p},re.isPortal=function(e){return g(e)===o},re.isProfiler=function(e){return g(e)===l},re.isStrictMode=function(e){return g(e)===n},re.isSuspense=function(e){return g(e)===u},re.isSuspenseList=function(e){return g(e)===d},re.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===l||t===n||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===a||t.$$typeof===i||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},re.typeOf=g}()),re);var ne=ee.exports;const le=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ae(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(le);return t&&t[1]||""}(e)||t}function ie(e,t,o){const r=ae(t);return e.displayName||(""!==r?`${o}(${r})`:o)}function se(e,t,o,r,n){if("production"===process.env.NODE_ENV)return null;const l=e[t],a=n||t;return null==l?null:l&&1!==l.nodeType?new Error(`Invalid ${r} \`${a}\` supplied to \`${o}\`. Expected an HTMLElement.`):null}var ce=B.oneOfType([B.func,B.object]);function ue(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":X(7));return e.charAt(0).toUpperCase()+e.slice(1)}function de(...e){return e.reduce(((e,t)=>null==t?e:function(...o){e.apply(this,o),t.apply(this,o)}),(()=>{}))}function pe(e,t=166){let o;function r(...r){clearTimeout(o),o=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(o)},r}function fe(t,o){return e.isValidElement(t)&&-1!==o.indexOf(t.type.muiName)}function me(e){return e&&e.ownerDocument||document}function ge(e){return me(e).defaultView||window}function be(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var he="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let ve=0;const ye=e["useId".toString()];function we(t){if(void 0!==ye){const e=ye();return null!=t?t:e}return function(t){const[o,r]=e.useState(t),n=t||o;return e.useEffect((()=>{null==o&&(ve+=1,r(`mui-${ve}`))}),[o]),n}(t)}function Ce({controlled:t,default:o,name:r,state:n="value"}){const{current:l}=e.useRef(void 0!==t),[a,i]=e.useState(o),s=l?t:a;if("production"!==process.env.NODE_ENV){e.useEffect((()=>{l!==(void 0!==t)&&console.error([`MUI: A component is changing the ${l?"":"un"}controlled ${n} state of ${r} to be ${l?"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("\n"))}),[n,r,t]);const{current:a}=e.useRef(o);e.useEffect((()=>{l||a===o||console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join("\n"))}),[JSON.stringify(o)])}return[s,e.useCallback((e=>{l||i(e)}),[])]}function xe(t){const o=e.useRef(t);return he((()=>{o.current=t})),e.useCallback(((...e)=>(0,o.current)(...e)),[])}function Se(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{be(t,e)}))}),t)}let Oe,Re=!0,Pe=!1;const Te={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 ke(e){e.metaKey||e.altKey||e.ctrlKey||(Re=!0)}function Ee(){Re=!1}function Ie(){"hidden"===this.visibilityState&&Pe&&(Re=!0)}function Me(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Re||function(e){const{type:t,tagName:o}=e;return!("INPUT"!==o||!Te[t]||e.readOnly)||"TEXTAREA"===o&&!e.readOnly||!!e.isContentEditable}(t)}function Fe(){const t=e.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",ke,!0),t.addEventListener("mousedown",Ee,!0),t.addEventListener("pointerdown",Ee,!0),t.addEventListener("touchstart",Ee,!0),t.addEventListener("visibilitychange",Ie,!0))}),[]),o=e.useRef(!1);return{isFocusVisibleRef:o,onFocus:function(e){return!!Me(e)&&(o.current=!0,!0)},onBlur:function(){return!!o.current&&(Pe=!0,window.clearTimeout(Oe),Oe=window.setTimeout((()=>{Pe=!1}),100),o.current=!1,!0)},ref:t}}function Le(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var De=t=>{const o=e.useRef({});return e.useEffect((()=>{o.current=t})),o.current};const $e=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Ne(e,t,o,r){const n=e[t];if(null==n||!$e(n)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(n);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function Ae(e,t,...o){return void 0===e[t]?null:Ne(e,t,...o)}function Ve(){return null}Ae.isRequired=Ne,Ve.isRequired=Ve;var He="production"===process.env.NODE_ENV?Ve:Ae;function ze(e,t){const o={...t};return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))o[r]={...e[r],...o[r]};else if(r.toString().match(/^(componentsProps|slotProps)$/)){const n=e[r]||{},l=t[r];o[r]={},l&&Object.keys(l)?n&&Object.keys(n)?(o[r]={...l},Object.keys(n).forEach((e=>{o[r][e]=ze(n[e],l[e])}))):o[r]=l:o[r]=n}else void 0===o[r]&&(o[r]=e[r])})),o}function je(e,t,o=void 0){const r={};return Object.keys(e).forEach((n=>{r[n]=e[n].reduce(((e,r)=>{if(r){const n=t(r);""!==n&&e.push(n),o&&o[r]&&e.push(o[r])}return e}),[]).join(" ")})),r}const Be=e=>e;var _e=(()=>{let e=Be;return{configure(t){e=t},generate:t=>e(t),reset(){e=Be}}})();const Ge={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function qe(e,t,o="Mui"){const r=Ge[t];return r?`${o}-${r}`:`${_e.generate(e)}-${t}`}function Ue(e,t,o="Mui"){const r={};return t.forEach((t=>{r[t]=qe(e,t,o)})),r}const We=e.createContext(void 0);function Ke(){const t=e.useContext(We);if(void 0===t)throw new Error(["MUI: Could not find the data grid private context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return t}"production"!==process.env.NODE_ENV&&(We.displayName="GridPrivateApiContext");const Qe=(e,t="warning")=>{let o=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{o||(o=!0,"error"===t?console.error(r):console.warn(r))}};const Ye=Qe(["MUI: `useGridSelector` has been called before the initialization of the state.","This hook can only be used inside the context of the grid."]),Ze=(e,t)=>("production"!==process.env.NODE_ENV&&(e.current.state||Ye()),function(e){return e.acceptsApiRef}(t)?t(e):t(e.current.state));function Xe(e){var t=Object.create(null);return function(o){return void 0===t[o]&&(t[o]=e(o)),t[o]}}var Je=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,et=Xe((function(e){return Je.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var tt=function(){function e(e){var t=this;this._insertTag=function(e){var o;o=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,o),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var o=64===e.charCodeAt(0)&&105===e.charCodeAt(1);o&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),ot="-ms-",rt="-moz-",nt="-webkit-",lt="comm",at="rule",it="decl",st="@keyframes",ct=Math.abs,ut=String.fromCharCode,dt=Object.assign;function pt(e){return e.trim()}function ft(e,t,o){return e.replace(t,o)}function mt(e,t){return e.indexOf(t)}function gt(e,t){return 0|e.charCodeAt(t)}function bt(e,t,o){return e.slice(t,o)}function ht(e){return e.length}function vt(e){return e.length}function yt(e,t){return t.push(e),e}var wt=1,Ct=1,xt=0,St=0,Ot=0,Rt="";function Pt(e,t,o,r,n,l,a){return{value:e,root:t,parent:o,type:r,props:n,children:l,line:wt,column:Ct,length:a,return:""}}function Tt(e,t){return dt(Pt("",null,null,"",null,null,0),e,{length:-e.length},t)}function kt(){return Ot=St>0?gt(Rt,--St):0,Ct--,10===Ot&&(Ct=1,wt--),Ot}function Et(){return Ot=St<xt?gt(Rt,St++):0,Ct++,10===Ot&&(Ct=1,wt++),Ot}function It(){return gt(Rt,St)}function Mt(){return St}function Ft(e,t){return bt(Rt,e,t)}function Lt(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Dt(e){return wt=Ct=1,xt=ht(Rt=e),St=0,[]}function $t(e){return Rt="",e}function Nt(e){return pt(Ft(St-1,Ht(91===e?e+2:40===e?e+1:e)))}function At(e){for(;(Ot=It())&&Ot<33;)Et();return Lt(e)>2||Lt(Ot)>3?"":" "}function Vt(e,t){for(;--t&&Et()&&!(Ot<48||Ot>102||Ot>57&&Ot<65||Ot>70&&Ot<97););return Ft(e,Mt()+(t<6&&32==It()&&32==Et()))}function Ht(e){for(;Et();)switch(Ot){case e:return St;case 34:case 39:34!==e&&39!==e&&Ht(Ot);break;case 40:41===e&&Ht(e);break;case 92:Et()}return St}function zt(e,t){for(;Et()&&e+Ot!==57&&(e+Ot!==84||47!==It()););return"/*"+Ft(t,St-1)+"*"+ut(47===e?e:Et())}function jt(e){for(;!Lt(It());)Et();return Ft(e,St)}function Bt(e){return $t(_t("",null,null,null,[""],e=Dt(e),0,[0],e))}function _t(e,t,o,r,n,l,a,i,s){for(var c=0,u=0,d=a,p=0,f=0,m=0,g=1,b=1,h=1,v=0,y="",w=n,C=l,x=r,S=y;b;)switch(m=v,v=Et()){case 40:if(108!=m&&58==gt(S,d-1)){-1!=mt(S+=ft(Nt(v),"&","&\f"),"&\f")&&(h=-1);break}case 34:case 39:case 91:S+=Nt(v);break;case 9:case 10:case 13:case 32:S+=At(m);break;case 92:S+=Vt(Mt()-1,7);continue;case 47:switch(It()){case 42:case 47:yt(qt(zt(Et(),Mt()),t,o),s);break;default:S+="/"}break;case 123*g:i[c++]=ht(S)*h;case 125*g:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+u:-1==h&&(S=ft(S,/\f/g,"")),f>0&&ht(S)-d&&yt(f>32?Ut(S+";",r,o,d-1):Ut(ft(S," ","")+";",r,o,d-2),s);break;case 59:S+=";";default:if(yt(x=Gt(S,t,o,c,u,n,i,y,w=[],C=[],d),l),123===v)if(0===u)_t(S,t,x,x,w,l,d,i,C);else switch(99===p&&110===gt(S,3)?100:p){case 100:case 108:case 109:case 115:_t(e,x,x,r&&yt(Gt(e,x,x,0,0,n,i,y,n,w=[],d),C),n,C,d,i,r?w:C);break;default:_t(S,x,x,x,[""],C,0,i,C)}}c=u=f=0,g=h=1,y=S="",d=a;break;case 58:d=1+ht(S),f=m;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==kt())continue;switch(S+=ut(v),v*g){case 38:h=u>0?1:(S+="\f",-1);break;case 44:i[c++]=(ht(S)-1)*h,h=1;break;case 64:45===It()&&(S+=Nt(Et())),p=It(),u=d=ht(y=S+=jt(Mt())),v++;break;case 45:45===m&&2==ht(S)&&(g=0)}}return l}function Gt(e,t,o,r,n,l,a,i,s,c,u){for(var d=n-1,p=0===n?l:[""],f=vt(p),m=0,g=0,b=0;m<r;++m)for(var h=0,v=bt(e,d+1,d=ct(g=a[m])),y=e;h<f;++h)(y=pt(g>0?p[h]+" "+v:ft(v,/&\f/g,p[h])))&&(s[b++]=y);return Pt(e,t,o,0===n?at:i,s,c,u)}function qt(e,t,o){return Pt(e,t,o,lt,ut(Ot),bt(e,2,-2),0)}function Ut(e,t,o,r){return Pt(e,t,o,it,bt(e,0,r),bt(e,r+1,-1),r)}function Wt(e,t){for(var o="",r=vt(e),n=0;n<r;n++)o+=t(e[n],n,e,t)||"";return o}function Kt(e,t,o,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case it:return e.return=e.return||e.value;case lt:return"";case st:return e.return=e.value+"{"+Wt(e.children,r)+"}";case at:e.value=e.props.join(",")}return ht(o=Wt(e.children,r))?e.return=e.value+"{"+o+"}":""}function Qt(e){var t=vt(e);return function(o,r,n,l){for(var a="",i=0;i<t;i++)a+=e[i](o,r,n,l)||"";return a}}var Yt=function(e,t,o){for(var r=0,n=0;r=n,n=It(),38===r&&12===n&&(t[o]=1),!Lt(n);)Et();return Ft(e,St)},Zt=function(e,t){return $t(function(e,t){var o=-1,r=44;do{switch(Lt(r)){case 0:38===r&&12===It()&&(t[o]=1),e[o]+=Yt(St-1,t,o);break;case 2:e[o]+=Nt(r);break;case 4:if(44===r){e[++o]=58===It()?"&\f":"",t[o]=e[o].length;break}default:e[o]+=ut(r)}}while(r=Et());return e}(Dt(e),t))},Xt=new WeakMap,Jt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,o=e.parent,r=e.column===o.column&&e.line===o.line;"rule"!==o.type;)if(!(o=o.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Xt.get(o))&&!r){Xt.set(e,!0);for(var n=[],l=Zt(t,n),a=o.props,i=0,s=0;i<l.length;i++)for(var c=0;c<a.length;c++,s++)e.props[s]=n[i]?l[i].replace(/&\f/g,a[c]):a[c]+" "+l[i]}}},eo=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},to=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},oo=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},ro=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},no=function(e,t,o){oo(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),ro(e)):function(e,t){for(var o=e-1;o>=0;o--)if(!oo(t[o]))return!0;return!1}(t,o)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),ro(e)))};function lo(e,t){switch(function(e,t){return 45^gt(e,0)?(((t<<2^gt(e,0))<<2^gt(e,1))<<2^gt(e,2))<<2^gt(e,3):0}(e,t)){case 5103:return nt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return nt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return nt+e+rt+e+ot+e+e;case 6828:case 4268:return nt+e+ot+e+e;case 6165:return nt+e+ot+"flex-"+e+e;case 5187:return nt+e+ft(e,/(\w+).+(:[^]+)/,nt+"box-$1$2"+ot+"flex-$1$2")+e;case 5443:return nt+e+ot+"flex-item-"+ft(e,/flex-|-self/,"")+e;case 4675:return nt+e+ot+"flex-line-pack"+ft(e,/align-content|flex-|-self/,"")+e;case 5548:return nt+e+ot+ft(e,"shrink","negative")+e;case 5292:return nt+e+ot+ft(e,"basis","preferred-size")+e;case 6060:return nt+"box-"+ft(e,"-grow","")+nt+e+ot+ft(e,"grow","positive")+e;case 4554:return nt+ft(e,/([^-])(transform)/g,"$1"+nt+"$2")+e;case 6187:return ft(ft(ft(e,/(zoom-|grab)/,nt+"$1"),/(image-set)/,nt+"$1"),e,"")+e;case 5495:case 3959:return ft(e,/(image-set\([^]*)/,nt+"$1$`$1");case 4968:return ft(ft(e,/(.+:)(flex-)?(.*)/,nt+"box-pack:$3"+ot+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+nt+e+e;case 4095:case 3583:case 4068:case 2532:return ft(e,/(.+)-inline(.+)/,nt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ht(e)-1-t>6)switch(gt(e,t+1)){case 109:if(45!==gt(e,t+4))break;case 102:return ft(e,/(.+:)(.+)-([^]+)/,"$1"+nt+"$2-$3$1"+rt+(108==gt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~mt(e,"stretch")?lo(ft(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==gt(e,t+1))break;case 6444:switch(gt(e,ht(e)-3-(~mt(e,"!important")&&10))){case 107:return ft(e,":",":"+nt)+e;case 101:return ft(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+nt+(45===gt(e,14)?"inline-":"")+"box$3$1"+nt+"$2$3$1"+ot+"$2box$3")+e}break;case 5936:switch(gt(e,t+11)){case 114:return nt+e+ot+ft(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return nt+e+ot+ft(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return nt+e+ot+ft(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return nt+e+ot+e+e}return e}var ao,io,so,co="undefined"!=typeof document,uo=co?void 0:(ao=function(){return Xe((function(){var e={};return function(t){return e[t]}}))},io=new WeakMap,function(e){if(io.has(e))return io.get(e);var t=ao(e);return io.set(e,t),t}),po=[function(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case it:e.return=lo(e.value,e.length);break;case st:return Wt([Tt(e,{value:ft(e.value,"@","@"+nt)})],r);case at:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Wt([Tt(e,{props:[ft(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Wt([Tt(e,{props:[ft(t,/:(plac\w+)/,":"+nt+"input-$1")]}),Tt(e,{props:[ft(t,/:(plac\w+)/,":-moz-$1")]}),Tt(e,{props:[ft(t,/:(plac\w+)/,ot+"input-$1")]})],r)}return""}))}}],fo=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(co&&"css"===t){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||po;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var n,l,a={},i=[];co&&(n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),o=1;o<t.length;o++)a[t[o]]=!0;i.push(e)})));var s,c=[Jt,eo];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,o,r){if("rule"===t.type&&!e.compat){var n=t.value.match(/(:first|:nth|:nth-last)-child/g);if(n){for(var l=t.parent?t.parent.children:r,a=l.length-1;a>=0;a--){var i=l[a];if(i.line<t.line)break;if(i.column<t.column){if(to(i))return;break}}n.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return h.compat}}),no),co){var u,d=[Kt,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==lt&&u.insert(e.value+"{}"))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Qt(c.concat(r,d));l=function(e,t,o,r){u=o,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){o.insert(e+t.map)}}),function(e){Wt(Bt(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(h.inserted[t.name]=!0)}}else{var f=[Kt],m=Qt(c.concat(r,f)),g=uo(r)(t),b=function(e,t){var o=t.name;return void 0===g[o]&&(g[o]=function(e){return Wt(Bt(e),m)}(e?e+"{"+t.styles+"}":t.styles)),g[o]};l=function(e,t,o,r){var n=t.name,l=b(e,t);return void 0===h.compat?(r&&(h.inserted[n]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?l+t.map:l):r?void(h.inserted[n]=l):l}}var h={key:t,sheet:new tt({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:l};return h.sheet.hydrate(i),h},mo={exports:{}},go={};var bo,ho={}; /** @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. */"production"===process.env.NODE_ENV?mo.exports=function(){if(so)return go;so=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case l:case n:case d:return e;default:switch(e=e&&e.$$typeof){case i:case u:case m:case f:case a:return e;default:return p}}case o:return p}}}function w(e){return y(e)===c}return go.AsyncMode=s,go.ConcurrentMode=c,go.ContextConsumer=i,go.ContextProvider=a,go.Element=t,go.ForwardRef=u,go.Fragment=r,go.Lazy=m,go.Memo=f,go.Portal=o,go.Profiler=l,go.StrictMode=n,go.Suspense=d,go.isAsyncMode=function(e){return w(e)||y(e)===s},go.isConcurrentMode=w,go.isContextConsumer=function(e){return y(e)===i},go.isContextProvider=function(e){return y(e)===a},go.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},go.isForwardRef=function(e){return y(e)===u},go.isFragment=function(e){return y(e)===r},go.isLazy=function(e){return y(e)===m},go.isMemo=function(e){return y(e)===f},go.isPortal=function(e){return y(e)===o},go.isProfiler=function(e){return y(e)===l},go.isStrictMode=function(e){return y(e)===n},go.isSuspense=function(e){return y(e)===d},go.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===l||e===n||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===i||e.$$typeof===u||e.$$typeof===b||e.$$typeof===h||e.$$typeof===v||e.$$typeof===g)},go.typeOf=y,go}():mo.exports=(bo||(bo=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("re