UNPKG

react-tenstack-table

Version:

Full Customizable and full functionality react tenstack table

51 lines (46 loc) 478 kB
(function(nn,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],E):(nn=typeof globalThis<"u"?globalThis:nn||self,E(nn.ViteButton={},nn.React))})(this,function(nn,E){"use strict";function gv(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Be=gv(E);var ea=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $e(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var a=[null];a.push.apply(a,arguments);var o=Function.bind.apply(t,a);return new o}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var ns={exports:{}},ta={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var mc;function mv(){if(mc)return ta;mc=1;var e=E,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function i(s,u,l){var c,f={},d=null,p=null;l!==void 0&&(d=""+l),u.key!==void 0&&(d=""+u.key),u.ref!==void 0&&(p=u.ref);for(c in u)n.call(u,c)&&!o.hasOwnProperty(c)&&(f[c]=u[c]);if(s&&s.defaultProps)for(c in u=s.defaultProps,u)f[c]===void 0&&(f[c]=u[c]);return{$$typeof:t,type:s,key:d,ref:p,props:f,_owner:a.current}}return ta.Fragment=r,ta.jsx=i,ta.jsxs=i,ta}var ra={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var vc;function vv(){return vc||(vc=1,process.env.NODE_ENV!=="production"&&function(){var e=E,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),g=Symbol.iterator,h="@@iterator";function m(w){if(w===null||typeof w!="object")return null;var z=g&&w[g]||w[h];return typeof z=="function"?z:null}var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(w){{for(var z=arguments.length,G=new Array(z>1?z-1:0),ue=1;ue<z;ue++)G[ue-1]=arguments[ue];S("error",w,G)}}function S(w,z,G){{var ue=y.ReactDebugCurrentFrame,Pe=ue.getStackAddendum();Pe!==""&&(z+="%s",G=G.concat([Pe]));var Se=G.map(function(ve){return String(ve)});Se.unshift("Warning: "+z),Function.prototype.apply.call(console[w],console,Se)}}var P=!1,_=!1,M=!1,k=!1,V=!1,U;U=Symbol.for("react.module.reference");function j(w){return!!(typeof w=="string"||typeof w=="function"||w===n||w===o||V||w===a||w===l||w===c||k||w===p||P||_||M||typeof w=="object"&&w!==null&&(w.$$typeof===d||w.$$typeof===f||w.$$typeof===i||w.$$typeof===s||w.$$typeof===u||w.$$typeof===U||w.getModuleId!==void 0))}function Y(w,z,G){var ue=w.displayName;if(ue)return ue;var Pe=z.displayName||z.name||"";return Pe!==""?G+"("+Pe+")":G}function re(w){return w.displayName||"Context"}function ae(w){if(w==null)return null;if(typeof w.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case n:return"Fragment";case r:return"Portal";case o:return"Profiler";case a:return"StrictMode";case l:return"Suspense";case c:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case s:var z=w;return re(z)+".Consumer";case i:var G=w;return re(G._context)+".Provider";case u:return Y(w,w.render,"ForwardRef");case f:var ue=w.displayName||null;return ue!==null?ue:ae(w.type)||"Memo";case d:{var Pe=w,Se=Pe._payload,ve=Pe._init;try{return ae(ve(Se))}catch{return null}}}return null}var oe=Object.assign,J=0,ee,ce,qe,We,L,B,te;function H(){}H.__reactDisabledLog=!0;function T(){{if(J===0){ee=console.log,ce=console.info,qe=console.warn,We=console.error,L=console.group,B=console.groupCollapsed,te=console.groupEnd;var w={configurable:!0,enumerable:!0,value:H,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}J++}}function F(){{if(J--,J===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:oe({},w,{value:ee}),info:oe({},w,{value:ce}),warn:oe({},w,{value:qe}),error:oe({},w,{value:We}),group:oe({},w,{value:L}),groupCollapsed:oe({},w,{value:B}),groupEnd:oe({},w,{value:te})})}J<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var A=y.ReactCurrentDispatcher,$;function C(w,z,G){{if($===void 0)try{throw Error()}catch(Pe){var ue=Pe.stack.trim().match(/\n( *(at )?)/);$=ue&&ue[1]||""}return` `+$+w}}var D=!1,N;{var q=typeof WeakMap=="function"?WeakMap:Map;N=new q}function I(w,z){if(!w||D)return"";{var G=N.get(w);if(G!==void 0)return G}var ue;D=!0;var Pe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Se;Se=A.current,A.current=null,T();try{if(z){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(Mt){ue=Mt}Reflect.construct(w,[],ve)}else{try{ve.call()}catch(Mt){ue=Mt}w.call(ve.prototype)}}else{try{throw Error()}catch(Mt){ue=Mt}w()}}catch(Mt){if(Mt&&ue&&typeof Mt.stack=="string"){for(var ge=Mt.stack.split(` `),vt=ue.stack.split(` `),tt=ge.length-1,it=vt.length-1;tt>=1&&it>=0&&ge[tt]!==vt[it];)it--;for(;tt>=1&&it>=0;tt--,it--)if(ge[tt]!==vt[it]){if(tt!==1||it!==1)do if(tt--,it--,it<0||ge[tt]!==vt[it]){var Rt=` `+ge[tt].replace(" at new "," at ");return w.displayName&&Rt.includes("<anonymous>")&&(Rt=Rt.replace("<anonymous>",w.displayName)),typeof w=="function"&&N.set(w,Rt),Rt}while(tt>=1&&it>=0);break}}}finally{D=!1,A.current=Se,F(),Error.prepareStackTrace=Pe}var vr=w?w.displayName||w.name:"",Ji=vr?C(vr):"";return typeof w=="function"&&N.set(w,Ji),Ji}function Z(w,z,G){return I(w,!1)}function he(w){var z=w.prototype;return!!(z&&z.isReactComponent)}function fe(w,z,G){if(w==null)return"";if(typeof w=="function")return I(w,he(w));if(typeof w=="string")return C(w);switch(w){case l:return C("Suspense");case c:return C("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case u:return Z(w.render);case f:return fe(w.type,z,G);case d:{var ue=w,Pe=ue._payload,Se=ue._init;try{return fe(Se(Pe),z,G)}catch{}}}return""}var pe=Object.prototype.hasOwnProperty,me={},Je=y.ReactDebugCurrentFrame;function et(w){if(w){var z=w._owner,G=fe(w.type,w._source,z?z.type:null);Je.setExtraStackFrame(G)}else Je.setExtraStackFrame(null)}function ze(w,z,G,ue,Pe){{var Se=Function.call.bind(pe);for(var ve in w)if(Se(w,ve)){var ge=void 0;try{if(typeof w[ve]!="function"){var vt=Error((ue||"React class")+": "+G+" type `"+ve+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[ve]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw vt.name="Invariant Violation",vt}ge=w[ve](z,ve,ue,G,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(tt){ge=tt}ge&&!(ge instanceof Error)&&(et(Pe),b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ue||"React class",G,ve,typeof ge),et(null)),ge instanceof Error&&!(ge.message in me)&&(me[ge.message]=!0,et(Pe),b("Failed %s type: %s",G,ge.message),et(null))}}}var bt=Array.isArray;function Dt(w){return bt(w)}function mt(w){{var z=typeof Symbol=="function"&&Symbol.toStringTag,G=z&&w[Symbol.toStringTag]||w.constructor.name||"Object";return G}}function Jt(w){try{return qt(w),!1}catch{return!0}}function qt(w){return""+w}function Dr(w){if(Jt(w))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",mt(w)),qt(w)}var er=y.ReactCurrentOwner,tr={key:!0,ref:!0,__self:!0,__source:!0},ro,no,Qn;Qn={};function qi(w){if(pe.call(w,"ref")){var z=Object.getOwnPropertyDescriptor(w,"ref").get;if(z&&z.isReactWarning)return!1}return w.ref!==void 0}function Yi(w){if(pe.call(w,"key")){var z=Object.getOwnPropertyDescriptor(w,"key").get;if(z&&z.isReactWarning)return!1}return w.key!==void 0}function Ql(w,z){if(typeof w.ref=="string"&&er.current&&z&&er.current.stateNode!==z){var G=ae(er.current.type);Qn[G]||(b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',ae(er.current.type),w.ref),Qn[G]=!0)}}function Zl(w,z){{var G=function(){ro||(ro=!0,b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};G.isReactWarning=!0,Object.defineProperty(w,"key",{get:G,configurable:!0})}}function Rr(w,z){{var G=function(){no||(no=!0,b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",z))};G.isReactWarning=!0,Object.defineProperty(w,"ref",{get:G,configurable:!0})}}var Zn=function(w,z,G,ue,Pe,Se,ve){var ge={$$typeof:t,type:w,key:z,ref:G,props:ve,_owner:Se};return ge._store={},Object.defineProperty(ge._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ge,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ue}),Object.defineProperty(ge,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Pe}),Object.freeze&&(Object.freeze(ge.props),Object.freeze(ge)),ge};function Jl(w,z,G,ue,Pe){{var Se,ve={},ge=null,vt=null;G!==void 0&&(Dr(G),ge=""+G),Yi(z)&&(Dr(z.key),ge=""+z.key),qi(z)&&(vt=z.ref,Ql(z,Pe));for(Se in z)pe.call(z,Se)&&!tr.hasOwnProperty(Se)&&(ve[Se]=z[Se]);if(w&&w.defaultProps){var tt=w.defaultProps;for(Se in tt)ve[Se]===void 0&&(ve[Se]=tt[Se])}if(ge||vt){var it=typeof w=="function"?w.displayName||w.name||"Unknown":w;ge&&Zl(ve,it),vt&&Rr(ve,it)}return Zn(w,ge,vt,Pe,ue,er.current,ve)}}var Jn=y.ReactCurrentOwner,Gi=y.ReactDebugCurrentFrame;function Mr(w){if(w){var z=w._owner,G=fe(w.type,w._source,z?z.type:null);Gi.setExtraStackFrame(G)}else Gi.setExtraStackFrame(null)}var kr;kr=!1;function ao(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function mr(){{if(Jn.current){var w=ae(Jn.current.type);if(w)return` Check the render method of \``+w+"`."}return""}}function ec(w){{if(w!==void 0){var z=w.fileName.replace(/^.*[\\\/]/,""),G=w.lineNumber;return` Check your code at `+z+":"+G+"."}return""}}var Ki={};function tc(w){{var z=mr();if(!z){var G=typeof w=="string"?w:w.displayName||w.name;G&&(z=` Check the top-level render call using <`+G+">.")}return z}}function Xi(w,z){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var G=tc(z);if(Ki[G])return;Ki[G]=!0;var ue="";w&&w._owner&&w._owner!==Jn.current&&(ue=" It was passed a child from "+ae(w._owner.type)+"."),Mr(w),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',G,ue),Mr(null)}}function Qi(w,z){{if(typeof w!="object")return;if(Dt(w))for(var G=0;G<w.length;G++){var ue=w[G];ao(ue)&&Xi(ue,z)}else if(ao(w))w._store&&(w._store.validated=!0);else if(w){var Pe=m(w);if(typeof Pe=="function"&&Pe!==w.entries)for(var Se=Pe.call(w),ve;!(ve=Se.next()).done;)ao(ve.value)&&Xi(ve.value,z)}}}function rr(w){{var z=w.type;if(z==null||typeof z=="string")return;var G;if(typeof z=="function")G=z.propTypes;else if(typeof z=="object"&&(z.$$typeof===u||z.$$typeof===f))G=z.propTypes;else return;if(G){var ue=ae(z);ze(G,w.props,"prop",ue,w)}else if(z.PropTypes!==void 0&&!kr){kr=!0;var Pe=ae(z);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Pe||"Unknown")}typeof z.getDefaultProps=="function"&&!z.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function rc(w){{for(var z=Object.keys(w.props),G=0;G<z.length;G++){var ue=z[G];if(ue!=="children"&&ue!=="key"){Mr(w),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ue),Mr(null);break}}w.ref!==null&&(Mr(w),b("Invalid attribute `ref` supplied to `React.Fragment`."),Mr(null))}}function Zi(w,z,G,ue,Pe,Se){{var ve=j(w);if(!ve){var ge="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(ge+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var vt=ec(Pe);vt?ge+=vt:ge+=mr();var tt;w===null?tt="null":Dt(w)?tt="array":w!==void 0&&w.$$typeof===t?(tt="<"+(ae(w.type)||"Unknown")+" />",ge=" Did you accidentally export a JSX literal instead of a component?"):tt=typeof w,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",tt,ge)}var it=Jl(w,z,G,Pe,Se);if(it==null)return it;if(ve){var Rt=z.children;if(Rt!==void 0)if(ue)if(Dt(Rt)){for(var vr=0;vr<Rt.length;vr++)Qi(Rt[vr],w);Object.freeze&&Object.freeze(Rt)}else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Qi(Rt,w)}return w===n?rc(it):rr(it),it}}function nc(w,z,G){return Zi(w,z,G,!0)}function ac(w,z,G){return Zi(w,z,G,!1)}var oc=ac,rn=nc;ra.Fragment=n,ra.jsx=oc,ra.jsxs=rn}()),ra}process.env.NODE_ENV==="production"?ns.exports=mv():ns.exports=vv();var W=ns.exports;function yv(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]}function bv(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var wv=function(){function e(r){var n=this;this._insertTag=function(a){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,o),n.tags.push(a)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(bv(this));var a=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule: `+n+"\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 i=yv(a);try{i.insertRule(n,i.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else a.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),yt="-ms-",so="-moz-",Te="-webkit-",as="comm",os="rule",is="decl",Sv="@import",yc="@keyframes",_v="@layer",xv=Math.abs,uo=String.fromCharCode,Ov=Object.assign;function Cv(e,t){return pt(e,0)^45?(((t<<2^pt(e,0))<<2^pt(e,1))<<2^pt(e,2))<<2^pt(e,3):0}function bc(e){return e.trim()}function Pv(e,t){return(e=t.exec(e))?e[0]:e}function De(e,t,r){return e.replace(t,r)}function ss(e,t){return e.indexOf(t)}function pt(e,t){return e.charCodeAt(t)|0}function na(e,t,r){return e.slice(t,r)}function nr(e){return e.length}function us(e){return e.length}function lo(e,t){return t.push(e),e}function Ev(e,t){return e.map(t).join("")}var co=1,On=1,wc=0,_t=0,lt=0,Cn="";function fo(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:co,column:On,length:i,return:""}}function aa(e,t){return Ov(fo("",null,null,"",null,null,0),e,{length:-e.length},t)}function Tv(){return lt}function Dv(){return lt=_t>0?pt(Cn,--_t):0,On--,lt===10&&(On=1,co--),lt}function kt(){return lt=_t<wc?pt(Cn,_t++):0,On++,lt===10&&(On=1,co++),lt}function ar(){return pt(Cn,_t)}function po(){return _t}function oa(e,t){return na(Cn,e,t)}function ia(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 Sc(e){return co=On=1,wc=nr(Cn=e),_t=0,[]}function _c(e){return Cn="",e}function ho(e){return bc(oa(_t-1,ls(e===91?e+2:e===40?e+1:e)))}function Rv(e){for(;(lt=ar())&&lt<33;)kt();return ia(e)>2||ia(lt)>3?"":" "}function Mv(e,t){for(;--t&&kt()&&!(lt<48||lt>102||lt>57&&lt<65||lt>70&&lt<97););return oa(e,po()+(t<6&&ar()==32&&kt()==32))}function ls(e){for(;kt();)switch(lt){case e:return _t;case 34:case 39:e!==34&&e!==39&&ls(lt);break;case 40:e===41&&ls(e);break;case 92:kt();break}return _t}function kv(e,t){for(;kt()&&e+lt!==47+10;)if(e+lt===42+42&&ar()===47)break;return"/*"+oa(t,_t-1)+"*"+uo(e===47?e:kt())}function $v(e){for(;!ia(ar());)kt();return oa(e,_t)}function Av(e){return _c(go("",null,null,null,[""],e=Sc(e),0,[0],e))}function go(e,t,r,n,a,o,i,s,u){for(var l=0,c=0,f=i,d=0,p=0,g=0,h=1,m=1,y=1,b=0,S="",P=a,_=o,M=n,k=S;m;)switch(g=b,b=kt()){case 40:if(g!=108&&pt(k,f-1)==58){ss(k+=De(ho(b),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:k+=ho(b);break;case 9:case 10:case 13:case 32:k+=Rv(g);break;case 92:k+=Mv(po()-1,7);continue;case 47:switch(ar()){case 42:case 47:lo(Iv(kv(kt(),po()),t,r),u);break;default:k+="/"}break;case 123*h:s[l++]=nr(k)*y;case 125*h:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+c:y==-1&&(k=De(k,/\f/g,"")),p>0&&nr(k)-f&&lo(p>32?Oc(k+";",n,r,f-1):Oc(De(k," ","")+";",n,r,f-2),u);break;case 59:k+=";";default:if(lo(M=xc(k,t,r,l,c,a,s,S,P=[],_=[],f),o),b===123)if(c===0)go(k,t,M,M,P,o,f,s,_);else switch(d===99&&pt(k,3)===110?100:d){case 100:case 108:case 109:case 115:go(e,M,M,n&&lo(xc(e,M,M,0,0,a,s,S,a,P=[],f),_),a,_,f,s,n?P:_);break;default:go(k,M,M,M,[""],_,0,s,_)}}l=c=p=0,h=y=1,S=k="",f=i;break;case 58:f=1+nr(k),p=g;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&Dv()==125)continue}switch(k+=uo(b),b*h){case 38:y=c>0?1:(k+="\f",-1);break;case 44:s[l++]=(nr(k)-1)*y,y=1;break;case 64:ar()===45&&(k+=ho(kt())),d=ar(),c=f=nr(S=k+=$v(po())),b++;break;case 45:g===45&&nr(k)==2&&(h=0)}}return o}function xc(e,t,r,n,a,o,i,s,u,l,c){for(var f=a-1,d=a===0?o:[""],p=us(d),g=0,h=0,m=0;g<n;++g)for(var y=0,b=na(e,f+1,f=xv(h=i[g])),S=e;y<p;++y)(S=bc(h>0?d[y]+" "+b:De(b,/&\f/g,d[y])))&&(u[m++]=S);return fo(e,t,r,a===0?os:s,u,l,c)}function Iv(e,t,r){return fo(e,t,r,as,uo(Tv()),na(e,2,-2),0)}function Oc(e,t,r,n){return fo(e,t,r,is,na(e,0,n),na(e,n+1,-1),n)}function Pn(e,t){for(var r="",n=us(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function Fv(e,t,r,n){switch(e.type){case _v:if(e.children.length)break;case Sv:case is:return e.return=e.return||e.value;case as:return"";case yc:return e.return=e.value+"{"+Pn(e.children,n)+"}";case os:e.value=e.props.join(",")}return nr(r=Pn(e.children,n))?e.return=e.value+"{"+r+"}":""}function Nv(e){var t=us(e);return function(r,n,a,o){for(var i="",s=0;s<t;s++)i+=e[s](r,n,a,o)||"";return i}}function Vv(e){return function(t){t.root||(t=t.return)&&e(t)}}function Cc(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var jv=function(t,r,n){for(var a=0,o=0;a=o,o=ar(),a===38&&o===12&&(r[n]=1),!ia(o);)kt();return oa(t,_t)},Lv=function(t,r){var n=-1,a=44;do switch(ia(a)){case 0:a===38&&ar()===12&&(r[n]=1),t[n]+=jv(_t-1,r,n);break;case 2:t[n]+=ho(a);break;case 4:if(a===44){t[++n]=ar()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=uo(a)}while(a=kt());return t},Bv=function(t,r){return _c(Lv(Sc(t),r))},Pc=new WeakMap,Wv=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,a=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Pc.get(n))&&!a){Pc.set(t,!0);for(var o=[],i=Bv(r,o),s=n.props,u=0,l=0;u<i.length;u++)for(var c=0;c<s.length;c++,l++)t.props[l]=o[u]?i[u].replace(/&\f/g,s[c]):s[c]+" "+i[u]}}},zv=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},Hv="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Uv=function(t){return t.type==="comm"&&t.children.indexOf(Hv)>-1},qv=function(t){return function(r,n,a){if(!(r.type!=="rule"||t.compat)){var o=r.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=!!r.parent,s=i?r.parent.children:a,u=s.length-1;u>=0;u--){var l=s[u];if(l.line<r.line)break;if(l.column<r.column){if(Uv(l))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Ec=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Yv=function(t,r){for(var n=t-1;n>=0;n--)if(!Ec(r[n]))return!0;return!1},Tc=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Gv=function(t,r,n){Ec(t)&&(t.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."),Tc(t)):Yv(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Tc(t)))};function Dc(e,t){switch(Cv(e,t)){case 5103:return Te+"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 Te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Te+e+so+e+yt+e+e;case 6828:case 4268:return Te+e+yt+e+e;case 6165:return Te+e+yt+"flex-"+e+e;case 5187:return Te+e+De(e,/(\w+).+(:[^]+)/,Te+"box-$1$2"+yt+"flex-$1$2")+e;case 5443:return Te+e+yt+"flex-item-"+De(e,/flex-|-self/,"")+e;case 4675:return Te+e+yt+"flex-line-pack"+De(e,/align-content|flex-|-self/,"")+e;case 5548:return Te+e+yt+De(e,"shrink","negative")+e;case 5292:return Te+e+yt+De(e,"basis","preferred-size")+e;case 6060:return Te+"box-"+De(e,"-grow","")+Te+e+yt+De(e,"grow","positive")+e;case 4554:return Te+De(e,/([^-])(transform)/g,"$1"+Te+"$2")+e;case 6187:return De(De(De(e,/(zoom-|grab)/,Te+"$1"),/(image-set)/,Te+"$1"),e,"")+e;case 5495:case 3959:return De(e,/(image-set\([^]*)/,Te+"$1$`$1");case 4968:return De(De(e,/(.+:)(flex-)?(.*)/,Te+"box-pack:$3"+yt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Te+e+e;case 4095:case 3583:case 4068:case 2532:return De(e,/(.+)-inline(.+)/,Te+"$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(nr(e)-1-t>6)switch(pt(e,t+1)){case 109:if(pt(e,t+4)!==45)break;case 102:return De(e,/(.+:)(.+)-([^]+)/,"$1"+Te+"$2-$3$1"+so+(pt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ss(e,"stretch")?Dc(De(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(pt(e,t+1)!==115)break;case 6444:switch(pt(e,nr(e)-3-(~ss(e,"!important")&&10))){case 107:return De(e,":",":"+Te)+e;case 101:return De(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Te+(pt(e,14)===45?"inline-":"")+"box$3$1"+Te+"$2$3$1"+yt+"$2box$3")+e}break;case 5936:switch(pt(e,t+11)){case 114:return Te+e+yt+De(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Te+e+yt+De(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Te+e+yt+De(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Te+e+yt+e+e}return e}var Kv=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case is:t.return=Dc(t.value,t.length);break;case yc:return Pn([aa(t,{value:De(t.value,"@","@"+Te)})],a);case os:if(t.length)return Ev(t.props,function(o){switch(Pv(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Pn([aa(t,{props:[De(o,/:(read-\w+)/,":"+so+"$1")]})],a);case"::placeholder":return Pn([aa(t,{props:[De(o,/:(plac\w+)/,":"+Te+"input-$1")]}),aa(t,{props:[De(o,/:(plac\w+)/,":"+so+"$1")]}),aa(t,{props:[De(o,/:(plac\w+)/,yt+"input-$1")]})],a)}return""})}},Xv=[Kv],Qv=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)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. If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var m=h.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var a=t.stylisPlugins||Xv;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var m=h.getAttribute("data-emotion").split(" "),y=1;y<m.length;y++)o[m[y]]=!0;s.push(h)});var u,l=[Wv,zv];process.env.NODE_ENV!=="production"&&l.push(qv({get compat(){return g.compat}}),Gv);{var c,f=[Fv,process.env.NODE_ENV!=="production"?function(h){h.root||(h.return?c.insert(h.return):h.value&&h.type!==as&&c.insert(h.value+"{}"))}:Vv(function(h){c.insert(h)})],d=Nv(l.concat(a,f)),p=function(m){return Pn(Av(m),d)};u=function(m,y,b,S){c=b,process.env.NODE_ENV!=="production"&&y.map!==void 0&&(c={insert:function(_){b.insert(_+y.map)}}),p(m?m+"{"+y.styles+"}":y.styles),S&&(g.inserted[y.name]=!0)}}var g={key:r,sheet:new wv({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:u};return g.sheet.hydrate(s),g};function cs(){return cs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cs.apply(this,arguments)}var mo={exports:{}},Ae={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Rc;function Zv(){if(Rc)return Ae;Rc=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function S(_){if(typeof _=="object"&&_!==null){var M=_.$$typeof;switch(M){case t:switch(_=_.type,_){case u:case l:case n:case o:case a:case f:return _;default:switch(_=_&&_.$$typeof,_){case s:case c:case g:case p:case i:return _;default:return M}}case r:return M}}}function P(_){return S(_)===l}return Ae.AsyncMode=u,Ae.ConcurrentMode=l,Ae.ContextConsumer=s,Ae.ContextProvider=i,Ae.Element=t,Ae.ForwardRef=c,Ae.Fragment=n,Ae.Lazy=g,Ae.Memo=p,Ae.Portal=r,Ae.Profiler=o,Ae.StrictMode=a,Ae.Suspense=f,Ae.isAsyncMode=function(_){return P(_)||S(_)===u},Ae.isConcurrentMode=P,Ae.isContextConsumer=function(_){return S(_)===s},Ae.isContextProvider=function(_){return S(_)===i},Ae.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===t},Ae.isForwardRef=function(_){return S(_)===c},Ae.isFragment=function(_){return S(_)===n},Ae.isLazy=function(_){return S(_)===g},Ae.isMemo=function(_){return S(_)===p},Ae.isPortal=function(_){return S(_)===r},Ae.isProfiler=function(_){return S(_)===o},Ae.isStrictMode=function(_){return S(_)===a},Ae.isSuspense=function(_){return S(_)===f},Ae.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===n||_===l||_===o||_===a||_===f||_===d||typeof _=="object"&&_!==null&&(_.$$typeof===g||_.$$typeof===p||_.$$typeof===i||_.$$typeof===s||_.$$typeof===c||_.$$typeof===m||_.$$typeof===y||_.$$typeof===b||_.$$typeof===h)},Ae.typeOf=S,Ae}var Ie={};/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Mc;function Jv(){return Mc||(Mc=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,l=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function S(I){return typeof I=="string"||typeof I=="function"||I===n||I===l||I===o||I===a||I===f||I===d||typeof I=="object"&&I!==null&&(I.$$typeof===g||I.$$typeof===p||I.$$typeof===i||I.$$typeof===s||I.$$typeof===c||I.$$typeof===m||I.$$typeof===y||I.$$typeof===b||I.$$typeof===h)}function P(I){if(typeof I=="object"&&I!==null){var Z=I.$$typeof;switch(Z){case t:var he=I.type;switch(he){case u:case l:case n:case o:case a:case f:return he;default:var fe=he&&he.$$typeof;switch(fe){case s:case c:case g:case p:case i:return fe;default:return Z}}case r:return Z}}}var _=u,M=l,k=s,V=i,U=t,j=c,Y=n,re=g,ae=p,oe=r,J=o,ee=a,ce=f,qe=!1;function We(I){return qe||(qe=!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.")),L(I)||P(I)===u}function L(I){return P(I)===l}function B(I){return P(I)===s}function te(I){return P(I)===i}function H(I){return typeof I=="object"&&I!==null&&I.$$typeof===t}function T(I){return P(I)===c}function F(I){return P(I)===n}function A(I){return P(I)===g}function $(I){return P(I)===p}function C(I){return P(I)===r}function D(I){return P(I)===o}function N(I){return P(I)===a}function q(I){return P(I)===f}Ie.AsyncMode=_,Ie.ConcurrentMode=M,Ie.ContextConsumer=k,Ie.ContextProvider=V,Ie.Element=U,Ie.ForwardRef=j,Ie.Fragment=Y,Ie.Lazy=re,Ie.Memo=ae,Ie.Portal=oe,Ie.Profiler=J,Ie.StrictMode=ee,Ie.Suspense=ce,Ie.isAsyncMode=We,Ie.isConcurrentMode=L,Ie.isContextConsumer=B,Ie.isContextProvider=te,Ie.isElement=H,Ie.isForwardRef=T,Ie.isFragment=F,Ie.isLazy=A,Ie.isMemo=$,Ie.isPortal=C,Ie.isProfiler=D,Ie.isStrictMode=N,Ie.isSuspense=q,Ie.isValidElementType=S,Ie.typeOf=P}()),Ie}var kc;function fs(){return kc||(kc=1,process.env.NODE_ENV==="production"?mo.exports=Zv():mo.exports=Jv()),mo.exports}var $c=fs(),ey={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},ty={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ac={};Ac[$c.ForwardRef]=ey,Ac[$c.Memo]=ty;var ry=!0;function ds(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}var vo=function(t,r,n){var a=t.key+"-"+r.name;(n===!1||ry===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},yo=function(t,r,n){vo(t,r,n);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+a:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function ny(e){for(var t=0,r,n=0,a=e.length;a>=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ay={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ic=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,oy="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",iy=/[A-Z]|^ms/g,Fc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ps=function(t){return t.charCodeAt(1)===45},Nc=function(t){return t!=null&&typeof t!="boolean"},hs=Cc(function(e){return ps(e)?e:e.replace(iy,"-$&").toLowerCase()}),bo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Fc,function(n,a,o){return Gt={name:a,styles:o,next:Gt},a})}return ay[t]!==1&&!ps(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var sy=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,uy=["normal","none","initial","inherit","unset"],ly=bo,cy=/^-ms-/,fy=/-(.)/g,Vc={};bo=function(t,r){if(t==="content"&&(typeof r!="string"||uy.indexOf(r)===-1&&!sy.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=ly(t,r);return n!==""&&!ps(t)&&t.indexOf("-")!==-1&&Vc[t]===void 0&&(Vc[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(cy,"ms-").replace(fy,function(a,o){return o.toUpperCase()})+"?")),n}}var jc="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function sa(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(jc);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Gt={name:r.name,styles:r.styles,next:Gt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Gt={name:n.name,styles:n.styles,next:Gt},n=n.next;var a=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(a+=r.map),a}return dy(e,t,r)}case"function":{if(e!==void 0){var o=Gt,i=r(e);return Gt=o,sa(e,t,i)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],u=r.replace(Fc,function(c,f,d){var p="animation"+s.length;return s.push("const "+p+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(` `)+` You should wrap it with \`css\` like this: `+("css`"+u+"`"))}break}if(t==null)return r;var l=t[r];return l!==void 0?l:r}function dy(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=sa(e,t,r[a])+";";else for(var o in r){var i=r[o];if(typeof i!="object")t!=null&&t[i]!==void 0?n+=o+"{"+t[i]+"}":Nc(i)&&(n+=hs(o)+":"+bo(o,i)+";");else{if(o==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(jc);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var s=0;s<i.length;s++)Nc(i[s])&&(n+=hs(o)+":"+bo(o,i[s])+";");else{var u=sa(e,t,i);switch(o){case"animation":case"animationName":{n+=hs(o)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&o==="undefined"&&console.error(oy),n+=o+"{"+u+"}"}}}}return n}var Lc=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Bc;process.env.NODE_ENV!=="production"&&(Bc=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Gt,En=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,o="";Gt=void 0;var i=t[0];i==null||i.raw===void 0?(a=!1,o+=sa(n,r,i)):(process.env.NODE_ENV!=="production"&&i[0]===void 0&&console.error(Ic),o+=i[0]);for(var s=1;s<t.length;s++)o+=sa(n,r,t[s]),a&&(process.env.NODE_ENV!=="production"&&i[s]===void 0&&console.error(Ic),o+=i[s]);var u;process.env.NODE_ENV!=="production"&&(o=o.replace(Bc,function(d){return u=d,""})),Lc.lastIndex=0;for(var l="",c;(c=Lc.exec(o))!==null;)l+="-"+c[1];var f=ny(o)+l;return process.env.NODE_ENV!=="production"?{name:f,styles:o,map:u,next:Gt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:o,next:Gt}},py=function(t){return t()},Wc=Be["useInsertionEffect"]?Be["useInsertionEffect"]:!1,gs=Wc||py,zc=Wc||Be.useLayoutEffect,hy={}.hasOwnProperty,ms=Be.createContext(typeof HTMLElement<"u"?Qv({key:"css"}):null);process.env.NODE_ENV!=="production"&&(ms.displayName="EmotionCacheContext"),ms.Provider;var wo=function(t){return E.forwardRef(function(r,n){var a=E.useContext(ms);return t(r,a,n)})},Tn=Be.createContext({});process.env.NODE_ENV!=="production"&&(Tn.displayName="EmotionThemeContext");var Hc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Uc="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",gy=function(t){var r=t.cache,n=t.serialized,a=t.isStringTag;return vo(r,n,a),gs(function(){return yo(r,n,a)}),null},my=wo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Hc],o=[n],i="";typeof e.className=="string"?i=ds(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=En(o,void 0,Be.useContext(Tn));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var u=e[Uc];u&&(s=En([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var l={};for(var c in e)hy.call(e,c)&&c!=="css"&&c!==Hc&&(process.env.NODE_ENV==="production"||c!==Uc)&&(l[c]=e[c]);return l.ref=r,l.className=i,Be.createElement(Be.Fragment,null,Be.createElement(gy,{cache:t,serialized:s,isStringTag:typeof a=="string"}),Be.createElement(a,l))});process.env.NODE_ENV!=="production"&&(my.displayName="EmotionCssPropInternal");var vy={name:"@emotion/react",version:"11.11.0",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},qc=!1,yy=wo(function(e,t){process.env.NODE_ENV!=="production"&&!qc&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),qc=!0);var r=e.styles,n=En([r],void 0,Be.useContext(Tn)),a=Be.useRef();return zc(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),zc(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&yo(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(yy.displayName="EmotionGlobal");function by(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return En(t)}var wy=function(){var t=by.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Sy=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var o=t[n];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{process.env.NODE_ENV!=="production"&&o.styles!==void 0&&o.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a};function _y(e,t,r){var n=[],a=ds(e,n,r);return n.length<2?r:a+t(n)}var xy=function(t){var r=t.cache,n=t.serializedArr;return gs(function(){for(var a=0;a<n.length;a++)yo(r,n[a],!1)}),null},Oy=wo(function(e,t){var r=!1,n=[],a=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var l=arguments.length,c=new Array(l),f=0;f<l;f++)c[f]=arguments[f];var d=En(c,t.registered);return n.push(d),vo(t,d,!1),t.key+"-"+d.name},o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var l=arguments.length,c=new Array(l),f=0;f<l;f++)c[f]=arguments[f];return _y(t.registered,a,Sy(c))},i={css:a,cx:o,theme:Be.useContext(Tn)},s=e.children(i);return r=!0,Be.createElement(Be.Fragment,null,Be.createElement(xy,{cache:t,serializedArr:n}),s)});if(process.env.NODE_ENV!=="production"&&(Oy.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Yc=!0,Cy=typeof jest<"u"||typeof vi<"u";if(Yc&&!Cy){var Gc=typeof globalThis<"u"?globalThis:Yc?window:global,Kc="__EMOTION_REACT_"+vy.version.split(".")[0]+"__";Gc[Kc]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Gc[Kc]=!0}}function Py(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function $r(e={}){const{name:t,strict:r=!0,hookName:n="useContext",providerName:a="Provider",errorMessage:o,defaultValue:i}=e,s=E.createContext(i);s.displayName=t;function u(){var l;const c=E.useContext(s);if(!c&&r){const f=new Error(o??Py(n,a));throw f.name="ContextError",(l=Error.captureStackTrace)==null||l.call(Error,f,u),f}return c}return[s.Provider,u,s]}function Xc(){const e=E.useContext(Tn);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var Qc=E.createContext({});Qc.displayName="ColorModeContext";function vs(){const e=E.useContext(Qc);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Ey(){const e=vs(),t=Xc();return{...e,theme:t}}var ht=(...e)=>e.filter(Boolean).join(" ");function Ar(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function Ir(e,...t){return Ty(e)?e(...t):e}var Ty=e=>typeof e=="function",Fr=e=>e?"":void 0,ys=e=>e?!0:void 0;function ua(...e){return function(r){e.some(n=>(n==null||n(r),r==null?void 0:r.defaultPrevented))}}function Dy(...e){return function(r){e.forEach(n=>{n==null||n(r)})}}var So={exports:{}};So.exports,function(e,t){var r=200,n="__lodash_hash_undefined__",a=800,o=16,i=9007199254740991,s="[object Arguments]",u="[o