UNPKG

tm-reuseable-components

Version:

This is a reuseable components lib made for TextMercato

23 lines 129 kB
import*as e from"react";import t,{forwardRef as n,useContext as r}from"react";import{jsxs as o,jsx as i}from"react/jsx-runtime";import*as a from"react-dom";import s from"react-dom";function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var p,d={exports:{}},f={exports:{}},m={};var h,y,b,g,v,E,x,O,k,w,S,N,T,$,C={}; /** @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 P(){return y||(y=1,"production"===process.env.NODE_ENV?f.exports=function(){if(p)return m;p=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,b=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case c:case l:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case y:case h:case a:return e;default:return p}}case n:return p}}}function O(e){return x(e)===l}return m.AsyncMode=c,m.ConcurrentMode=l,m.ContextConsumer=s,m.ContextProvider=a,m.Element=t,m.ForwardRef=u,m.Fragment=r,m.Lazy=y,m.Memo=h,m.Portal=n,m.Profiler=i,m.StrictMode=o,m.Suspense=d,m.isAsyncMode=function(e){return O(e)||x(e)===c},m.isConcurrentMode=O,m.isContextConsumer=function(e){return x(e)===s},m.isContextProvider=function(e){return x(e)===a},m.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},m.isForwardRef=function(e){return x(e)===u},m.isFragment=function(e){return x(e)===r},m.isLazy=function(e){return x(e)===y},m.isMemo=function(e){return x(e)===h},m.isPortal=function(e){return x(e)===n},m.isProfiler=function(e){return x(e)===i},m.isStrictMode=function(e){return x(e)===o},m.isSuspense=function(e){return x(e)===d},m.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===i||e===o||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===v||e.$$typeof===E||e.$$typeof===b)},m.typeOf=x,m}():f.exports=(h||(h=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,g=e?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var d=e.$$typeof;switch(d){case t:var h=e.type;switch(h){case c:case l:case r:case i:case o:case p:return h;default:var y=h&&h.$$typeof;switch(y){case s:case u:case m:case f:case a:return y;default:return d}}case n:return d}}}var E=c,x=l,O=s,k=a,w=t,S=u,N=r,T=m,$=f,P=n,_=i,R=o,A=p,D=!1;function M(e){return v(e)===l}C.AsyncMode=E,C.ConcurrentMode=x,C.ContextConsumer=O,C.ContextProvider=k,C.Element=w,C.ForwardRef=S,C.Fragment=N,C.Lazy=T,C.Memo=$,C.Portal=P,C.Profiler=_,C.StrictMode=R,C.Suspense=A,C.isAsyncMode=function(e){return D||(D=!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.")),M(e)||v(e)===c},C.isConcurrentMode=M,C.isContextConsumer=function(e){return v(e)===s},C.isContextProvider=function(e){return v(e)===a},C.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},C.isForwardRef=function(e){return v(e)===u},C.isFragment=function(e){return v(e)===r},C.isLazy=function(e){return v(e)===m},C.isMemo=function(e){return v(e)===f},C.isPortal=function(e){return v(e)===n},C.isProfiler=function(e){return v(e)===i},C.isStrictMode=function(e){return v(e)===o},C.isSuspense=function(e){return v(e)===p},C.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===l||e===i||e===o||e===p||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===y||e.$$typeof===b||e.$$typeof===g||e.$$typeof===h)},C.typeOf=v}()),C)),f.exports} /* object-assign (c) Sindre Sorhus @license MIT */function _(){if(g)return b;g=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return b=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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;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,o){for(var i,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),c=1;c<arguments.length;c++){for(var l in i=Object(arguments[c]))t.call(i,l)&&(s[l]=i[l]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s},b}function R(){if(E)return v;E=1;return v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function A(){return O?x:(O=1,x=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var D=P();d.exports=function(){if(N)return S;N=1;var e=P(),t=_(),n=R(),r=A(),o=function(){if(w)return k;w=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=R(),n={},r=A();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,i,a,s,c){if("production"!==process.env.NODE_ENV)for(var l in o)if(r(o,l)){var u;try{if("function"!=typeof o[l]){var p=Error((s||"React class")+": "+a+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}u=o[l](i,l,s,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((s||"React class")+": type specification of "+a+" `"+l+"` 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 n)){n[u.message]=!0;var d=c?c():"";e("Failed "+a+" type: "+u.message+(null!=d?d:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},k=o}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),S=function(s,c){var l="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",p="<<anonymous>>",d={array:y("array"),bigint:y("bigint"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:h(a),arrayOf:function(e){return h((function(t,r,o,i,a){if("function"!=typeof e)return new m("Property `"+a+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new m("Invalid "+i+" `"+a+"` of type `"+v(s)+"` supplied to `"+o+"`, expected an array.");for(var c=0;c<s.length;c++){var l=e(s,c,o,i,a+"["+c+"]",n);if(l instanceof Error)return l}return null}))},element:h((function(e,t,n,r,o){var i=e[t];return s(i)?null:new m("Invalid "+r+" `"+o+"` of type `"+v(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,r,o,i){var a=t[n];return e.isValidElementType(a)?null:new m("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||p;return new m("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:p)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:h((function(e,t,n,r,o){return g(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,o,i,a,s){if("function"!=typeof e)return new m("Property `"+s+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var c=t[o],l=v(c);if("object"!==l)return new m("Invalid "+a+" `"+s+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var u in c)if(r(c,u)){var p=e(c,u,i,a,s+"."+u,n);if(p instanceof Error)return p}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(f(a,e[s]))return null;var c=JSON.stringify(e,(function(e,t){return"symbol"===E(t)?String(t):t}));return new m("Invalid "+o+" `"+i+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+c+".")})):("production"!==process.env.NODE_ENV&&i(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&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),a}return h((function(t,o,i,a,s){for(var c=[],l=0;l<e.length;l++){var u=(0,e[l])(t,o,i,a,s,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&c.push(u.data.expectedType)}return new m("Invalid "+a+" `"+s+"` supplied to `"+i+"`"+(c.length>0?", expected one of type ["+c.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,r,o,i,a){var s=t[r],c=v(s);if("object"!==c)return new m("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+o+"`, expected `object`.");for(var l in e){var u=e[l];if("function"!=typeof u)return b(o,i,a,l,E(u));var p=u(s,l,o,i,a+"."+l,n);if(p)return p}return null}))},exact:function(e){return h((function(o,i,a,s,c){var l=o[i],u=v(l);if("object"!==u)return new m("Invalid "+s+" `"+c+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var p=t({},o[i],e);for(var d in p){var f=e[d];if(r(e,d)&&"function"!=typeof f)return b(a,s,c,d,E(f));if(!f)return new m("Invalid "+s+" `"+c+"` key `"+d+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(o[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=f(l,d,a,s,c+"."+d,n);if(h)return h}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 h(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,a,s,l,u,d,f){if(l=l||p,d=d||s,f!==n){if(c){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}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var y=l+":"+s;!t[y]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. 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[y]=!0,r++)}}return null==a[s]?o?null===a[s]?new m("The "+u+" `"+d+"` is marked as required in `"+l+"`, but its value is `null`."):new m("The "+u+" `"+d+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(a,s,l,u,d)}var a=o.bind(null,!1);return a.isRequired=o.bind(null,!0),a}function y(e){return h((function(t,n,r,o,i,a){var s=t[n];return v(s)!==e?new m("Invalid "+o+" `"+i+"` of type `"+E(s)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function b(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function g(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(g);if(null===e||s(e))return!0;var t=function(e){var t=e&&(l&&e[l]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!g(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!g(o[1]))return!1}return!0;default:return!1}}function v(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 E(e){if(null==e)return""+e;var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=E(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,d.checkPropTypes=o,d.resetWarningCache=o.resetWarningCache,d.PropTypes=d,d},S}()(D.isElement,!0)}else d.exports=function(){if($)return T;$=1;var e=R();function t(){}function n(){}return n.resetWarningCache=t,T=function(){function r(t,n,r,o,i,a){if(a!==e){var s=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 s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var M=u(d.exports);function I(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=I(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function j(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=I(e))&&(r&&(r+=" "),r+=t);return r}function V(e){return"string"==typeof e}const F={disableDefaultClasses:!1},L=e.createContext(F);function B(e,t){return"function"==typeof e?e(t):e}function W(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function z(e){return null!==e&&"object"==typeof e&&e.constructor===Object}function U(e){if(!z(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=U(e[n])})),t}function q(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return z(e)&&z(t)&&Object.keys(t).forEach((o=>{"__proto__"!==o&&(z(t[o])&&o in e&&z(e[o])?r[o]=q(e[o],t[o],n):n.clone?r[o]=z(t[o])?U(t[o]):t[o]:r[o]=t[o])})),r}function K(e,t,n,r,o){const i=e[t],a=o||t;if(null==i||"undefined"==typeof window)return null;let s;const c=i.type;return"function"!=typeof c||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(c)||(s="Did you accidentally use a plain function component for an element instead?"),void 0!==s?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const H=W(M.element,K);H.isRequired=W(M.element.isRequired,K);var Y=H;var G=W(M.elementType,(function(e,t,n,r,o){const i=e[t],a=o||t;if(null==i||"undefined"==typeof window)return null;let s;return"function"!=typeof i||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(i)||(s="Did you accidentally provide a plain function component instead?"),void 0!==s?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));function X(e){return"production"===process.env.NODE_ENV?e:{...e,"exact-prop: ​":t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}}}function J(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 Z,Q={exports:{}},ee={};var te,ne={}; /** * @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?Q.exports=function(){if(Z)return ee;Z=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case i:case o:case u:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case l:case f:case d:case a:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),ee.ContextConsumer=s,ee.ContextProvider=a,ee.Element=t,ee.ForwardRef=l,ee.Fragment=r,ee.Lazy=f,ee.Memo=d,ee.Portal=n,ee.Profiler=i,ee.StrictMode=o,ee.Suspense=u,ee.SuspenseList=p,ee.isAsyncMode=function(){return!1},ee.isConcurrentMode=function(){return!1},ee.isContextConsumer=function(e){return h(e)===s},ee.isContextProvider=function(e){return h(e)===a},ee.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ee.isForwardRef=function(e){return h(e)===l},ee.isFragment=function(e){return h(e)===r},ee.isLazy=function(e){return h(e)===f},ee.isMemo=function(e){return h(e)===d},ee.isPortal=function(e){return h(e)===n},ee.isProfiler=function(e){return h(e)===i},ee.isStrictMode=function(e){return h(e)===o},ee.isSuspense=function(e){return h(e)===u},ee.isSuspenseList=function(e){return h(e)===p},ee.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===p||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===d||t.$$typeof===a||t.$$typeof===s||t.$$typeof===l||t.$$typeof===e||void 0!==t.getModuleId)},ee.typeOf=h,ee}():Q.exports=(te||(te=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function h(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var h=e.type;switch(h){case r:case i:case o:case u:case p:return h;default:var y=h&&h.$$typeof;switch(y){case c:case s:case l:case f:case d:case a:return y;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var y=s,b=a,g=t,v=l,E=r,x=f,O=d,k=n,w=i,S=o,N=u,T=p,$=!1,C=!1;ne.ContextConsumer=y,ne.ContextProvider=b,ne.Element=g,ne.ForwardRef=v,ne.Fragment=E,ne.Lazy=x,ne.Memo=O,ne.Portal=k,ne.Profiler=w,ne.StrictMode=S,ne.Suspense=N,ne.SuspenseList=T,ne.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},ne.isConcurrentMode=function(e){return C||(C=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},ne.isContextConsumer=function(e){return h(e)===s},ne.isContextProvider=function(e){return h(e)===a},ne.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ne.isForwardRef=function(e){return h(e)===l},ne.isFragment=function(e){return h(e)===r},ne.isLazy=function(e){return h(e)===f},ne.isMemo=function(e){return h(e)===d},ne.isPortal=function(e){return h(e)===n},ne.isProfiler=function(e){return h(e)===i},ne.isStrictMode=function(e){return h(e)===o},ne.isSuspense=function(e){return h(e)===u},ne.isSuspenseList=function(e){return h(e)===p},ne.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===p||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===d||t.$$typeof===a||t.$$typeof===s||t.$$typeof===l||t.$$typeof===e||void 0!==t.getModuleId)},ne.typeOf=h}()),ne);var re=Q.exports;const oe=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ie(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(oe);return t&&t[1]||""}(e)||t}function ae(e,t,n){const r=ie(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function se(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const i=e[t],a=o||t;return null==i?null:i&&1!==i.nodeType?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}var ce=M.oneOfType([M.func,M.object]);function le(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":J(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ue(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function pe(e){return e&&e.ownerDocument||document}function de(e){return pe(e).defaultView||window}function fe(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var me="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let he=0;const ye=e["useId".toString()];function be(t){if(void 0!==ye){const e=ye();return null!=t?t:e}return function(t){const[n,r]=e.useState(t),o=t||n;return e.useEffect((()=>{null==n&&(he+=1,r(`mui-${he}`))}),[n]),o}(t)}function ge(t){const n=e.useRef(t);return me((()=>{n.current=t})),e.useCallback(((...e)=>(0,n.current)(...e)),[])}function ve(...t){return e.useMemo((()=>t.every((e=>null==e))?null:e=>{t.forEach((t=>{fe(t,e)}))}),t)}const Ee=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function xe(e,t,n,r){const o=e[t];if(null==o||!Ee(o)){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}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Oe(e,t,...n){return void 0===e[t]?null:xe(e,t,...n)}function ke(){return null}Oe.isRequired=xe,ke.isRequired=ke;var we="production"===process.env.NODE_ENV?ke:Oe;function Se(e,t){const n={...t};return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]={...e[r],...n[r]};else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]={...i},Object.keys(o).forEach((e=>{n[r][e]=Se(o[e],i[e])}))):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function Ne(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const Te=e=>e;var $e=(()=>{let e=Te;return{configure(t){e=t},generate:t=>e(t),reset(){e=Te}}})();const Ce={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Pe(e,t,n="Mui"){const r=Ce[t];return r?`${n}-${r}`:`${$e.generate(e)}-${t}`}function _e(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Pe(e,t,n)})),r}function Re(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Ae(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=j(null==o?void 0:o.className,null==r?void 0:r.className,i,null==n?void 0:n.className),t=c({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=c({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}(c({},o,r)),s=Re(r),l=Re(o),u=t(a),p=j(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),d=c({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=c({},u,n,l,s);return p.length>0&&(f.className=p),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const De=["elementType","externalSlotProps","ownerState"];function Me(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,i=l(e,De),a=B(r,o),{props:s,internalRef:u}=Ae(c({},i,{externalSlotProps:a})),p=function(e,t,n){return void 0===e||V(e)?t:c({},t,{ownerState:c({},t.ownerState,n)})}(n,c({},s,{ref:ve(u,null==a?void 0:a.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return p}const Ie=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function je(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ie)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Ve(){return!0}function Fe(t){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:a=!1,disableRestoreFocus:s=!1,getTabbable:c=je,isEnabled:l=Ve,open:u}=t,p=e.useRef(!1),d=e.useRef(null),f=e.useRef(null),m=e.useRef(null),h=e.useRef(null),y=e.useRef(!1),b=e.useRef(null),g=ve(n.ref,b),v=e.useRef(null);e.useEffect((()=>{u&&b.current&&(y.current=!r)}),[r,u]),e.useEffect((()=>{if(!u||!b.current)return;const e=pe(b.current);return b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||("production"!==process.env.NODE_ENV&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join("\n")),b.current.setAttribute("tabIndex","-1")),y.current&&b.current.focus()),()=>{s||(m.current&&m.current.focus&&(p.current=!0,m.current.focus()),m.current=null)}}),[u]),e.useEffect((()=>{if(!u||!b.current)return;const e=pe(b.current),t=t=>{const{current:n}=b;if(null!==n)if(e.hasFocus()&&!a&&l()&&!p.current){if(!n.contains(e.activeElement)){if(t&&h.current!==t.target||e.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!y.current)return;let i=[];if(e.activeElement!==d.current&&e.activeElement!==f.current||(i=c(b.current)),i.length>0){var r,o;const e=Boolean((null==(r=v.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=v.current)?void 0:o.key)),t=i[0],n=i[i.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else n.focus()}}else p.current=!1},n=t=>{v.current=t,!a&&l()&&"Tab"===t.key&&e.activeElement===b.current&&t.shiftKey&&(p.current=!0,f.current&&f.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",n,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",n,!0)}}),[r,a,s,l,u,c]);const E=e=>{null===m.current&&(m.current=e.relatedTarget),y.current=!0};return o(e.Fragment,{children:[i("div",{tabIndex:u?0:-1,onFocus:E,ref:d,"data-testid":"sentinelStart"}),e.cloneElement(n,{ref:g,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),y.current=!0,h.current=e.target;const t=n.props.onFocus;t&&t(e)}}),i("div",{tabIndex:u?0:-1,onFocus:E,ref:f,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(Fe.propTypes={children:Y,disableAutoFocus:M.bool,disableEnforceFocus:M.bool,disableRestoreFocus:M.bool,getTabbable:M.func,isEnabled:M.func,open:M.bool.isRequired}),"production"!==process.env.NODE_ENV&&(Fe.propTypes=X(Fe.propTypes));const Le=e.forwardRef((function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[c,l]=e.useState(null),u=ve(e.isValidElement(r)?r.ref:null,n);if(me((()=>{s||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,s]),me((()=>{if(c&&!s)return fe(n,c),()=>{fe(n,null)}}),[n,c,s]),s){if(e.isValidElement(r)){const t={ref:u};return e.cloneElement(r,t)}return i(e.Fragment,{children:r})}return i(e.Fragment,{children:c?a.createPortal(r,c):c})}));"production"!==process.env.NODE_ENV&&(Le.propTypes={children:M.node,container:M.oneOfType([se,M.func]),disablePortal:M.bool}),"production"!==process.env.NODE_ENV&&(Le.propTypes=X(Le.propTypes));var Be=Le;function We(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ze(e){return parseInt(de(e).getComputedStyle(e).paddingRight,10)||0}function Ue(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&We(e,o)}))}function qe(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Ke(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=pe(e);return t.body===e?de(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(pe(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ze(r)+e}px`;const t=pe(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${ze(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=pe(r).body;else{const t=r.parentElement,n=de(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}function He(e){return Pe("MuiModal",e)}_e("MuiModal",["root","hidden","backdrop"]);const Ye=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],Ge=t=>{const{open:n,exited:r}=t;return Ne({root:["root",!n&&r&&"hidden"],backdrop:["backdrop"]},function(t){const{disableDefaultClasses:n}=e.useContext(L);return e=>n?"":t(e)}(He))};const Xe=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&We(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ue(t,e.mount,e.modalRef,r,!0);const o=qe(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=qe(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Ke(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=qe(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&We(e.modalRef,t),Ue(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&We(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},Je=e.forwardRef((function(t,n){var r,a;const{children:s,closeAfterTransition:u=!1,container:p,disableAutoFocus:d=!1,disableEnforceFocus:f=!1,disableEscapeKeyDown:m=!1,disablePortal:h=!1,disableRestoreFocus:y=!1,disableScrollLock:b=!1,hideBackdrop:g=!1,keepMounted:v=!1,manager:E=Xe,onBackdropClick:x,onClose:O,onKeyDown:k,open:w,onTransitionEnter:S,onTransitionExited:N,slotProps:T={},slots:$={}}=t,C=l(t,Ye),P=E,[_,R]=e.useState(!w),A=e.useRef({}),D=e.useRef(null),M=e.useRef(null),I=ve(M,n),j=function(e){return!!e&&e.props.hasOwnProperty("in")}(s),V=null==(r=t["aria-hidden"])||r,F=()=>(A.current.modalRef=M.current,A.current.mountNode=D.current,A.current),L=()=>{P.mount(F(),{disableScrollLock:b}),M.current&&(M.current.scrollTop=0)},B=ge((()=>{const e=function(e){return"function"==typeof e?e():e}(p)||pe(D.current).body;P.add(F(),e),M.current&&L()})),W=e.useCallback((()=>P.isTopModal(F())),[P]),z=ge((e=>{D.current=e,e&&M.current&&(w&&W()?L():We(M.current,V))})),U=e.useCallback((()=>{P.remove(F(),V)}),[P,V]);e.useEffect((()=>()=>{U()}),[U]),e.useEffect((()=>{w?B():j&&u||U()}),[w,U,j,u,B]);const q=c({},t,{closeAfterTransition:u,disableAutoFocus:d,disableEnforceFocus:f,disableEscapeKeyDown:m,disablePortal:h,disableRestoreFocus:y,disableScrollLock:b,exited:_,hideBackdrop:g,keepMounted:v}),K=Ge(q),H=()=>{R(!1),S&&S()},Y=()=>{R(!0),N&&N(),u&&U()},G={};void 0===s.props.tabIndex&&(G.tabIndex="-1"),j&&(G.onEnter=ue(H,s.props.onEnter),G.onExited=ue(Y,s.props.onExited));const X=null!=(a=$.root)?a:"div",J=Me({elementType:X,externalSlotProps:T.root,externalForwardedProps:C,additionalProps:{ref:I,role:"presentation",onKeyDown:e=>{k&&k(e),"Escape"===e.key&&W()&&(m||(e.stopPropagation(),O&&O(e,"escapeKeyDown")))}},className:K.root,ownerState:q}),Z=$.backdrop,Q=Me({elementType:Z,externalSlotProps:T.backdrop,additionalProps:{"aria-hidden":!0,onClick:e=>{e.target===e.currentTarget&&(x&&x(e),O&&O(e,"backdropClick"))},open:w},className:K.backdrop,ownerState:q});return v||w||j&&!_?i(Be,{ref:z,container:p,disablePortal:h,children:o(X,c({},J,{children:[!g&&Z?i(Z,c({},Q)):null,i(Fe,{disableEnforceFocus:f,disableAutoFocus:d,disableRestoreFocus:y,isEnabled:W,open:w,children:e.cloneElement(s,G)})]}))}):null}));"production"!==process.env.NODE_ENV&&(Je.propTypes={children:Y.isRequired,closeAfterTransition:M.bool,container:M.oneOfType([se,M.func]),disableAutoFocus:M.bool,disableEnforceFocus:M.bool,disableEscapeKeyDown:M.bool,disablePortal:M.bool,disableRestoreFocus:M.bool,disableScrollLock:M.bool,hideBackdrop:M.bool,keepMounted:M.bool,onBackdropClick:M.func,onClose:M.func,open:M.bool.isRequired,slotProps:M.shape({backdrop:M.oneOfType([M.func,M.object]),root:M.oneOfType([M.func,M.object])}),slots:M.shape({backdrop:M.elementType,root:M.elementType})});var Ze=Je;function Qe(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var et=/^((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)-.*))$/,tt=Qe((function(e){return et.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var nt=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&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||!n}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}(),rt="-ms-",ot="-moz-",it="-webkit-",at="comm",st="rule",ct="decl",lt="@keyframes",ut=Math.abs,pt=String.fromCharCode,dt=Object.assign;function ft(e){return e.trim()}function mt(e,t,n){return e.replace(t,n)}function ht(e,t){return e.indexOf(t)}function yt(e,t){return 0|e.charCodeAt(t)}function bt(e,t,n){return e.slice(t,n)}function gt(e){return e.length}function vt(e){return e.length}function Et(e,t){return t.push(e),e}var xt=1,Ot=1,kt=0,wt=0,St=0,Nt="";function Tt(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:xt,column:Ot,length:a,return:""}}function $t(e,t){return dt(Tt("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ct(){return St=wt>0?yt(Nt,--wt):0,Ot--,10===St&&(Ot=1,xt--),St}function Pt(){return St=wt<kt?yt(Nt,wt++):0,Ot++,10===St&&(Ot=1,xt++),St}function _t(){return yt(Nt,wt)}function Rt(){return wt}function At(e,t){return bt(Nt,e,t)}function Dt(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 Mt(e){return xt=Ot=1,kt=gt(Nt=e),wt=0,[]}function It(e){return Nt="",e}function jt(e){return ft(At(wt-1,Lt(91===e?e+2:40===e?e+1:e)))}function Vt(e){for(;(St=_t())&&St<33;)Pt();return Dt(e)>2||Dt(St)>3?"":" "}function Ft(e,t){for(;--t&&Pt()&&!(St<48||St>102||St>57&&St<65||St>70&&St<97););return At(e,Rt()+(t<6&&32==_t()&&32==Pt()))}function Lt(e){for(;Pt();)switch(St){case e:return wt;case 34:case 39:34!==e&&39!==e&&Lt(St);break;case 40:41===e&&Lt(e);break;case 92:Pt()}return wt}function Bt(e,t){for(;Pt()&&e+St!==57&&(e+St!==84||47!==_t()););return"/*"+At(t,wt-1)+"*"+pt(47===e?e:Pt())}function Wt(e){for(;!Dt(_t());)Pt();return At(e,wt)}function zt(e){return It(Ut("",null,null,null,[""],e=Mt(e),0,[0],e))}function Ut(e,t,n,r,o,i,a,s,c){for(var l=0,u=0,p=a,d=0,f=0,m=0,h=1,y=1,b=1,g=0,v="",E=o,x=i,O=r,k=v;y;)switch(m=g,g=Pt()){case 40:if(108!=m&&58==yt(k,p-1)){-1!=ht(k+=mt(jt(g),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:k+=jt(g);break;case 9:case 10:case 13:case 32:k+=Vt(m);break;case 92:k+=Ft(Rt()-1,7);continue;case 47:switch(_t()){case 42:case 47:Et(Kt(Bt(Pt(),Rt()),t,n),c);break;default:k+="/"}break;case 123*h:s[l++]=gt(k)*b;case 125*h:case 59:case 0:switch(g){case 0:case 125:y=0;case 59+u:-1==b&&(k=mt(k,/\f/g,"")),f>0&&gt(k)-p&&Et(f>32?Ht(k+";",r,n,p-1):Ht(mt(k," ","")+";",r,n,p-2),c);break;case 59:k+=";";default:if(Et(O=qt(k,t,n,l,u,o,s,v,E=[],x=[],p),i),123===g)if(0===u)Ut(k,t,O,O,E,i,p,s,x);else switch(99===d&&110===yt(k,3)?100:d){case 100:case 108:case 109:case 115:Ut(e,O,O,r&&Et(qt(e,O,O,0,0,o,s,v,o,E=[],p),x),o,x,p,s,r?E:x);break;default:Ut(k,O,O,O,[""],x,0,s,x)}}l=u=f=0,h=b=1,v=k="",p=a;break;case 58:p=1+gt(k),f=m;default:if(h<1)if(123==g)--h;else if(125==g&&0==h++&&125==Ct())continue;switch(k+=pt(g),g*h){case 38:b=u>0?1:(k+="\f",-1);break;case 44:s[l++]=(gt(k)-1)*b,b=1;break;case 64:45===_t()&&(k+=jt(Pt())),d=_t(),u=p=gt(v=k+=Wt(Rt())),g++;break;case 45:45===m&&2==gt(k)&&(h=0)}}return i}function qt(e,t,n,r,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],f=vt(d),m=0,h=0,y=0;m<r;++m)for(var b=0,g=bt(e,p+1,p=ut(h=a[m])),v=e;b<f;++b)(v=ft(h>0?d[b]+" "+g:mt(g,/&\f/g,d[b])))&&(c[y++]=v);return Tt(e,t,n,0===o?st:s,c,l,u)}function Kt(e,t,n){return Tt(e,t,n,at,pt(St),bt(e,2,-2),0)}function Ht(e,t,n,r){return Tt(e,t,n,ct,bt(e,0,r),bt(e,r+1,-1),r)}function Yt(e,t){for(var n="",r=vt(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Gt(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ct:return e.return=e.return||e.value;case at:return"";case lt:return e.return=e.value+"{"+Yt(e.children,r)+"}";case st:e.value=e.props.join(",")}return gt(n=Yt(e.children,r))?e.return=e.value+"{"+n+"}":""}function Xt(e){var t=vt(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}var Jt=function(e,t,n){for(var r=0,o=0;r=o,o=_t(),38===r&&12===o&&(t[n]=1),!Dt(o);)Pt();return At(e,wt)},Zt=function(e,t){return It(function(e,t){var n=-1,r=44;do{switch(Dt(r)){case 0:38===r&&12===_t()&&(t[n]=1),e[n]+=Jt(wt-1,t,n);break;case 2:e[n]+=jt(r);break;case 4:if(44===r){e[++n]=58===_t()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=pt(r)}}while(r=Pt());return e}(Mt(e),t))},Qt=new WeakMap,en=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qt.get(n))&&!r){Qt.set(e,!0);for(var o=[],i=Zt(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},tn=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},nn=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},rn=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},on=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},an=function(e,t,n){rn(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."),on(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!rn(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),on(e)))};function sn(e,t){switch(function(e,t){return 45^yt(e,0)?(((t<<2^yt(