UNPKG

harito-ui

Version:

A modern, transparent UI library for React.

59 lines (57 loc) 816 kB
(function(ke,We){typeof exports=="object"&&typeof module<"u"?We(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],We):(ke=typeof globalThis<"u"?globalThis:ke||self,We(ke.HaritoUI={},ke.React,ke.ReactDOM))})(this,function(ke,We,zo){"use strict";var nd=document.createElement("style");nd.textContent=`html,body{height:100%;margin:0;padding:0;box-sizing:border-box;background-color:rgb(var(--color-background-primary));color:rgb(var(--color-text-primary))}:root{--color-background-primary: 255 255 255;--color-text-primary: 30 30 30;--color-primary: 59 130 246;--color-surface-primary: 255 255 255;--color-shadow-light: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--color-shadow-dark: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--backdrop-filter-blur: blur(5px);--color-border: 220 220 220}.liquid-glass{background:rgba(var(--color-surface-primary),.7);backdrop-filter:var(--backdrop-filter-blur);-webkit-backdrop-filter:var(--backdrop-filter-blur);box-shadow:var(--color-shadow-light);border-radius:16px;border:1px solid rgba(var(--color-border),.18);padding:1rem 2rem;transition:background .3s,box-shadow .3s}.frosted-glass{background:rgba(var(--color-surface-primary),.1);backdrop-filter:var(--backdrop-filter-blur);-webkit-backdrop-filter:var(--backdrop-filter-blur);border-radius:10px;border:1px solid rgba(var(--color-border),.18);box-shadow:var(--color-shadow-light)}.transparent-glass{background:transparent;border:none;box-shadow:none}.neumorphic{border-radius:50px;background:rgb(var(--color-surface-primary));box-shadow:20px 20px 60px rgba(var(--color-shadow-dark),.5),-20px -20px 60px rgba(var(--color-shadow-light),.5)}.button-primary{background-color:rgb(var(--color-primary));color:rgb(var(--color-text-primary))}.text-primary{color:rgb(var(--color-text-primary))}.bg-primary{background-color:rgb(var(--color-background-primary))}.surface-primary{background-color:rgb(var(--color-surface-primary))}.shadow-light{box-shadow:0 4px 6px -1px var(--color-shadow-light),0 2px 4px -1px var(--color-shadow-light)}.shadow-dark{box-shadow:0 4px 6px -1px var(--color-shadow-dark),0 2px 4px -1px var(--color-shadow-dark)}.border-primary{border:1px solid rgb(var(--color-border))}.themed-card{padding:16px;border-radius:12px;background-color:rgb(var(--color-surface-primary));border:1px solid rgb(var(--color-border));box-shadow:var(--color-shadow-light);transition:background-color .3s,border-color .3s,box-shadow .3s}.themed-card-title{color:rgb(var(--color-primary));font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.themed-card-content{color:rgb(var(--color-text-primary));font-size:1rem} /*$vite$:1*/`,document.head.appendChild(nd);function rd(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d=rd(We),zb=rd(zo);var ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ns={exports:{}},Wo={};/** * @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 od;function Wb(){if(od)return Wo;od=1;var e=We,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(l,c,u){var p,m={},g=null,y=null;u!==void 0&&(g=""+u),c.key!==void 0&&(g=""+c.key),c.ref!==void 0&&(y=c.ref);for(p in c)o.call(c,p)&&!s.hasOwnProperty(p)&&(m[p]=c[p]);if(l&&l.defaultProps)for(p in c=l.defaultProps,c)m[p]===void 0&&(m[p]=c[p]);return{$$typeof:t,type:l,key:g,ref:y,props:m,_owner:a.current}}return Wo.Fragment=r,Wo.jsx=i,Wo.jsxs=i,Wo}var Ho={};/** * @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 ad;function Hb(){return ad||(ad=1,process.env.NODE_ENV!=="production"&&function(){var e=We,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),b=Symbol.iterator,f="@@iterator";function v(W){if(W===null||typeof W!="object")return null;var fe=b&&W[b]||W[f];return typeof fe=="function"?fe:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(W){{for(var fe=arguments.length,je=new Array(fe>1?fe-1:0),Ke=1;Ke<fe;Ke++)je[Ke-1]=arguments[Ke];C("error",W,je)}}function C(W,fe,je){{var Ke=x.ReactDebugCurrentFrame,it=Ke.getStackAddendum();it!==""&&(fe+="%s",je=je.concat([it]));var St=je.map(function(ct){return String(ct)});St.unshift("Warning: "+fe),Function.prototype.apply.call(console[W],console,St)}}var T=!1,w=!1,k=!1,R=!1,N=!1,O;O=Symbol.for("react.module.reference");function S(W){return!!(typeof W=="string"||typeof W=="function"||W===o||W===s||N||W===a||W===u||W===p||R||W===y||T||w||k||typeof W=="object"&&W!==null&&(W.$$typeof===g||W.$$typeof===m||W.$$typeof===i||W.$$typeof===l||W.$$typeof===c||W.$$typeof===O||W.getModuleId!==void 0))}function M(W,fe,je){var Ke=W.displayName;if(Ke)return Ke;var it=fe.displayName||fe.name||"";return it!==""?je+"("+it+")":je}function D(W){return W.displayName||"Context"}function j(W){if(W==null)return null;if(typeof W.tag=="number"&&E("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 o:return"Fragment";case r:return"Portal";case s:return"Profiler";case a:return"StrictMode";case u:return"Suspense";case p:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case l:var fe=W;return D(fe)+".Consumer";case i:var je=W;return D(je._context)+".Provider";case c:return M(W,W.render,"ForwardRef");case m:var Ke=W.displayName||null;return Ke!==null?Ke:j(W.type)||"Memo";case g:{var it=W,St=it._payload,ct=it._init;try{return j(ct(St))}catch{return null}}}return null}var I=Object.assign,$=0,P,B,L,F,A,V,X;function q(){}q.__reactDisabledLog=!0;function re(){{if($===0){P=console.log,B=console.info,L=console.warn,F=console.error,A=console.group,V=console.groupCollapsed,X=console.groupEnd;var W={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:W,log:W,warn:W,error:W,group:W,groupCollapsed:W,groupEnd:W})}$++}}function ee(){{if($--,$===0){var W={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},W,{value:P}),info:I({},W,{value:B}),warn:I({},W,{value:L}),error:I({},W,{value:F}),group:I({},W,{value:A}),groupCollapsed:I({},W,{value:V}),groupEnd:I({},W,{value:X})})}$<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=x.ReactCurrentDispatcher,ne;function ie(W,fe,je){{if(ne===void 0)try{throw Error()}catch(it){var Ke=it.stack.trim().match(/\n( *(at )?)/);ne=Ke&&Ke[1]||""}return` `+ne+W}}var ae=!1,G;{var Q=typeof WeakMap=="function"?WeakMap:Map;G=new Q}function z(W,fe){if(!W||ae)return"";{var je=G.get(W);if(je!==void 0)return je}var Ke;ae=!0;var it=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var St;St=U.current,U.current=null,re();try{if(fe){var ct=function(){throw Error()};if(Object.defineProperty(ct.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ct,[])}catch(Xt){Ke=Xt}Reflect.construct(W,[],ct)}else{try{ct.call()}catch(Xt){Ke=Xt}W.call(ct.prototype)}}else{try{throw Error()}catch(Xt){Ke=Xt}W()}}catch(Xt){if(Xt&&Ke&&typeof Xt.stack=="string"){for(var rt=Xt.stack.split(` `),tn=Ke.stack.split(` `),Bt=rt.length-1,Wt=tn.length-1;Bt>=1&&Wt>=0&&rt[Bt]!==tn[Wt];)Wt--;for(;Bt>=1&&Wt>=0;Bt--,Wt--)if(rt[Bt]!==tn[Wt]){if(Bt!==1||Wt!==1)do if(Bt--,Wt--,Wt<0||rt[Bt]!==tn[Wt]){var sn=` `+rt[Bt].replace(" at new "," at ");return W.displayName&&sn.includes("<anonymous>")&&(sn=sn.replace("<anonymous>",W.displayName)),typeof W=="function"&&G.set(W,sn),sn}while(Bt>=1&&Wt>=0);break}}}finally{ae=!1,U.current=St,ee(),Error.prepareStackTrace=it}var Br=W?W.displayName||W.name:"",Vn=Br?ie(Br):"";return typeof W=="function"&&G.set(W,Vn),Vn}function te(W,fe,je){return z(W,!1)}function oe(W){var fe=W.prototype;return!!(fe&&fe.isReactComponent)}function ve(W,fe,je){if(W==null)return"";if(typeof W=="function")return z(W,oe(W));if(typeof W=="string")return ie(W);switch(W){case u:return ie("Suspense");case p:return ie("SuspenseList")}if(typeof W=="object")switch(W.$$typeof){case c:return te(W.render);case m:return ve(W.type,fe,je);case g:{var Ke=W,it=Ke._payload,St=Ke._init;try{return ve(St(it),fe,je)}catch{}}}return""}var Z=Object.prototype.hasOwnProperty,ue={},Pe=x.ReactDebugCurrentFrame;function De(W){if(W){var fe=W._owner,je=ve(W.type,W._source,fe?fe.type:null);Pe.setExtraStackFrame(je)}else Pe.setExtraStackFrame(null)}function me(W,fe,je,Ke,it){{var St=Function.call.bind(Z);for(var ct in W)if(St(W,ct)){var rt=void 0;try{if(typeof W[ct]!="function"){var tn=Error((Ke||"React class")+": "+je+" type `"+ct+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof W[ct]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw tn.name="Invariant Violation",tn}rt=W[ct](fe,ct,Ke,je,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Bt){rt=Bt}rt&&!(rt instanceof Error)&&(De(it),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ke||"React class",je,ct,typeof rt),De(null)),rt instanceof Error&&!(rt.message in ue)&&(ue[rt.message]=!0,De(it),E("Failed %s type: %s",je,rt.message),De(null))}}}var Se=Array.isArray;function he(W){return Se(W)}function Ve(W){{var fe=typeof Symbol=="function"&&Symbol.toStringTag,je=fe&&W[Symbol.toStringTag]||W.constructor.name||"Object";return je}}function Ye(W){try{return ge(W),!1}catch{return!0}}function ge(W){return""+W}function de(W){if(Ye(W))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ve(W)),ge(W)}var Ee=x.ReactCurrentOwner,$e={key:!0,ref:!0,__self:!0,__source:!0},pe,ye;function be(W){if(Z.call(W,"ref")){var fe=Object.getOwnPropertyDescriptor(W,"ref").get;if(fe&&fe.isReactWarning)return!1}return W.ref!==void 0}function ze(W){if(Z.call(W,"key")){var fe=Object.getOwnPropertyDescriptor(W,"key").get;if(fe&&fe.isReactWarning)return!1}return W.key!==void 0}function Be(W,fe){typeof W.ref=="string"&&Ee.current}function Je(W,fe){{var je=function(){pe||(pe=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",fe))};je.isReactWarning=!0,Object.defineProperty(W,"key",{get:je,configurable:!0})}}function Xe(W,fe){{var je=function(){ye||(ye=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",fe))};je.isReactWarning=!0,Object.defineProperty(W,"ref",{get:je,configurable:!0})}}var Me=function(W,fe,je,Ke,it,St,ct){var rt={$$typeof:t,type:W,key:fe,ref:je,props:ct,_owner:St};return rt._store={},Object.defineProperty(rt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(rt,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ke}),Object.defineProperty(rt,"_source",{configurable:!1,enumerable:!1,writable:!1,value:it}),Object.freeze&&(Object.freeze(rt.props),Object.freeze(rt)),rt};function Oe(W,fe,je,Ke,it){{var St,ct={},rt=null,tn=null;je!==void 0&&(de(je),rt=""+je),ze(fe)&&(de(fe.key),rt=""+fe.key),be(fe)&&(tn=fe.ref,Be(fe,it));for(St in fe)Z.call(fe,St)&&!$e.hasOwnProperty(St)&&(ct[St]=fe[St]);if(W&&W.defaultProps){var Bt=W.defaultProps;for(St in Bt)ct[St]===void 0&&(ct[St]=Bt[St])}if(rt||tn){var Wt=typeof W=="function"?W.displayName||W.name||"Unknown":W;rt&&Je(ct,Wt),tn&&Xe(ct,Wt)}return Me(W,rt,tn,it,Ke,Ee.current,ct)}}var Ue=x.ReactCurrentOwner,nt=x.ReactDebugCurrentFrame;function ft(W){if(W){var fe=W._owner,je=ve(W.type,W._source,fe?fe.type:null);nt.setExtraStackFrame(je)}else nt.setExtraStackFrame(null)}var Ut;Ut=!1;function et(W){return typeof W=="object"&&W!==null&&W.$$typeof===t}function dt(){{if(Ue.current){var W=j(Ue.current.type);if(W)return` Check the render method of \``+W+"`."}return""}}function Pn(W){return""}var hn={};function Gt(W){{var fe=dt();if(!fe){var je=typeof W=="string"?W:W.displayName||W.name;je&&(fe=` Check the top-level render call using <`+je+">.")}return fe}}function Ae(W,fe){{if(!W._store||W._store.validated||W.key!=null)return;W._store.validated=!0;var je=Gt(fe);if(hn[je])return;hn[je]=!0;var Ke="";W&&W._owner&&W._owner!==Ue.current&&(Ke=" It was passed a child from "+j(W._owner.type)+"."),ft(W),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',je,Ke),ft(null)}}function jt(W,fe){{if(typeof W!="object")return;if(he(W))for(var je=0;je<W.length;je++){var Ke=W[je];et(Ke)&&Ae(Ke,fe)}else if(et(W))W._store&&(W._store.validated=!0);else if(W){var it=v(W);if(typeof it=="function"&&it!==W.entries)for(var St=it.call(W),ct;!(ct=St.next()).done;)et(ct.value)&&Ae(ct.value,fe)}}}function Re(W){{var fe=W.type;if(fe==null||typeof fe=="string")return;var je;if(typeof fe=="function")je=fe.propTypes;else if(typeof fe=="object"&&(fe.$$typeof===c||fe.$$typeof===m))je=fe.propTypes;else return;if(je){var Ke=j(fe);me(je,W.props,"prop",Ke,W)}else if(fe.PropTypes!==void 0&&!Ut){Ut=!0;var it=j(fe);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",it||"Unknown")}typeof fe.getDefaultProps=="function"&&!fe.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function _e(W){{for(var fe=Object.keys(W.props),je=0;je<fe.length;je++){var Ke=fe[je];if(Ke!=="children"&&Ke!=="key"){ft(W),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ke),ft(null);break}}W.ref!==null&&(ft(W),E("Invalid attribute `ref` supplied to `React.Fragment`."),ft(null))}}var st={};function lt(W,fe,je,Ke,it,St){{var ct=S(W);if(!ct){var rt="";(W===void 0||typeof W=="object"&&W!==null&&Object.keys(W).length===0)&&(rt+=" 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 tn=Pn();tn?rt+=tn:rt+=dt();var Bt;W===null?Bt="null":he(W)?Bt="array":W!==void 0&&W.$$typeof===t?(Bt="<"+(j(W.type)||"Unknown")+" />",rt=" Did you accidentally export a JSX literal instead of a component?"):Bt=typeof W,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Bt,rt)}var Wt=Oe(W,fe,je,it,St);if(Wt==null)return Wt;if(ct){var sn=fe.children;if(sn!==void 0)if(Ke)if(he(sn)){for(var Br=0;Br<sn.length;Br++)jt(sn[Br],W);Object.freeze&&Object.freeze(sn)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else jt(sn,W)}if(Z.call(fe,"key")){var Vn=j(W),Xt=Object.keys(fe).filter(function(ol){return ol!=="key"}),Za=Xt.length>0?"{key: someKey, "+Xt.join(": ..., ")+": ...}":"{key: someKey}";if(!st[Vn+Za]){var Vo=Xt.length>0?"{"+Xt.join(": ..., ")+": ...}":"{}";E(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,Za,Vn,Vo,Vn),st[Vn+Za]=!0}}return W===o?_e(Wt):Re(Wt),Wt}}function Mt(W,fe,je){return lt(W,fe,je,!0)}function gn(W,fe,je){return lt(W,fe,je,!1)}var an=gn,Cr=Mt;Ho.Fragment=o,Ho.jsx=an,Ho.jsxs=Cr}()),Ho}var sd;function Ub(){return sd||(sd=1,process.env.NODE_ENV==="production"?ns.exports=Wb():ns.exports=Hb()),ns.exports}var h=Ub();function Qn(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>r.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},Y.apply(null,arguments)}function Yb(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 qb(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 Kb=function(){function e(r){var o=this;this._insertTag=function(a){var s;o.tags.length===0?o.insertionPoint?s=o.insertionPoint.nextSibling:o.prepend?s=o.container.firstChild:s=o.before:s=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(a,s),o.tags.push(a)},this.isSpeedy=r.speedy===void 0?!0: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(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(qb(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var s=Yb(a);try{s.insertRule(o,s.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var a;return(a=o.parentNode)==null?void 0:a.removeChild(o)}),this.tags=[],this.ctr=0},e}(),nn="-ms-",rs="-moz-",mt="-webkit-",id="comm",il="rule",ll="decl",Gb="@import",ld="@keyframes",Xb="@layer",Qb=Math.abs,os=String.fromCharCode,Zb=Object.assign;function Jb(e,t){return Qt(e,0)^45?(((t<<2^Qt(e,0))<<2^Qt(e,1))<<2^Qt(e,2))<<2^Qt(e,3):0}function cd(e){return e.trim()}function ey(e,t){return(e=t.exec(e))?e[0]:e}function ht(e,t,r){return e.replace(t,r)}function cl(e,t){return e.indexOf(t)}function Qt(e,t){return e.charCodeAt(t)|0}function Uo(e,t,r){return e.slice(t,r)}function Zn(e){return e.length}function ul(e){return e.length}function as(e,t){return t.push(e),e}function ty(e,t){return e.map(t).join("")}var ss=1,oo=1,ud=0,un=0,Yt=0,ao="";function is(e,t,r,o,a,s,i){return{value:e,root:t,parent:r,type:o,props:a,children:s,line:ss,column:oo,length:i,return:""}}function Yo(e,t){return Zb(is("",null,null,"",null,null,0),e,{length:-e.length},t)}function ny(){return Yt}function ry(){return Yt=un>0?Qt(ao,--un):0,oo--,Yt===10&&(oo=1,ss--),Yt}function bn(){return Yt=un<ud?Qt(ao,un++):0,oo++,Yt===10&&(oo=1,ss++),Yt}function Jn(){return Qt(ao,un)}function ls(){return un}function qo(e,t){return Uo(ao,e,t)}function Ko(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 dd(e){return ss=oo=1,ud=Zn(ao=e),un=0,[]}function pd(e){return ao="",e}function cs(e){return cd(qo(un-1,dl(e===91?e+2:e===40?e+1:e)))}function oy(e){for(;(Yt=Jn())&&Yt<33;)bn();return Ko(e)>2||Ko(Yt)>3?"":" "}function ay(e,t){for(;--t&&bn()&&!(Yt<48||Yt>102||Yt>57&&Yt<65||Yt>70&&Yt<97););return qo(e,ls()+(t<6&&Jn()==32&&bn()==32))}function dl(e){for(;bn();)switch(Yt){case e:return un;case 34:case 39:e!==34&&e!==39&&dl(Yt);break;case 40:e===41&&dl(e);break;case 92:bn();break}return un}function sy(e,t){for(;bn()&&e+Yt!==57;)if(e+Yt===84&&Jn()===47)break;return"/*"+qo(t,un-1)+"*"+os(e===47?e:bn())}function iy(e){for(;!Ko(Jn());)bn();return qo(e,un)}function ly(e){return pd(us("",null,null,null,[""],e=dd(e),0,[0],e))}function us(e,t,r,o,a,s,i,l,c){for(var u=0,p=0,m=i,g=0,y=0,b=0,f=1,v=1,x=1,E=0,C="",T=a,w=s,k=o,R=C;v;)switch(b=E,E=bn()){case 40:if(b!=108&&Qt(R,m-1)==58){cl(R+=ht(cs(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:R+=cs(E);break;case 9:case 10:case 13:case 32:R+=oy(b);break;case 92:R+=ay(ls()-1,7);continue;case 47:switch(Jn()){case 42:case 47:as(cy(sy(bn(),ls()),t,r),c);break;default:R+="/"}break;case 123*f:l[u++]=Zn(R)*x;case 125*f:case 59:case 0:switch(E){case 0:case 125:v=0;case 59+p:x==-1&&(R=ht(R,/\f/g,"")),y>0&&Zn(R)-m&&as(y>32?md(R+";",o,r,m-1):md(ht(R," ","")+";",o,r,m-2),c);break;case 59:R+=";";default:if(as(k=fd(R,t,r,u,p,a,l,C,T=[],w=[],m),s),E===123)if(p===0)us(R,t,k,k,T,s,m,l,w);else switch(g===99&&Qt(R,3)===110?100:g){case 100:case 108:case 109:case 115:us(e,k,k,o&&as(fd(e,k,k,0,0,a,l,C,a,T=[],m),w),a,w,m,l,o?T:w);break;default:us(R,k,k,k,[""],w,0,l,w)}}u=p=y=0,f=x=1,C=R="",m=i;break;case 58:m=1+Zn(R),y=b;default:if(f<1){if(E==123)--f;else if(E==125&&f++==0&&ry()==125)continue}switch(R+=os(E),E*f){case 38:x=p>0?1:(R+="\f",-1);break;case 44:l[u++]=(Zn(R)-1)*x,x=1;break;case 64:Jn()===45&&(R+=cs(bn())),g=Jn(),p=m=Zn(C=R+=iy(ls())),E++;break;case 45:b===45&&Zn(R)==2&&(f=0)}}return s}function fd(e,t,r,o,a,s,i,l,c,u,p){for(var m=a-1,g=a===0?s:[""],y=ul(g),b=0,f=0,v=0;b<o;++b)for(var x=0,E=Uo(e,m+1,m=Qb(f=i[b])),C=e;x<y;++x)(C=cd(f>0?g[x]+" "+E:ht(E,/&\f/g,g[x])))&&(c[v++]=C);return is(e,t,r,a===0?il:l,c,u,p)}function cy(e,t,r){return is(e,t,r,id,os(ny()),Uo(e,2,-2),0)}function md(e,t,r,o){return is(e,t,r,ll,Uo(e,0,o),Uo(e,o+1,-1),o)}function so(e,t){for(var r="",o=ul(e),a=0;a<o;a++)r+=t(e[a],a,e,t)||"";return r}function uy(e,t,r,o){switch(e.type){case Xb:if(e.children.length)break;case Gb:case ll:return e.return=e.return||e.value;case id:return"";case ld:return e.return=e.value+"{"+so(e.children,o)+"}";case il:e.value=e.props.join(",")}return Zn(r=so(e.children,o))?e.return=e.value+"{"+r+"}":""}function dy(e){var t=ul(e);return function(r,o,a,s){for(var i="",l=0;l<t;l++)i+=e[l](r,o,a,s)||"";return i}}function py(e){return function(t){t.root||(t=t.return)&&e(t)}}function hd(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var fy=function(t,r,o){for(var a=0,s=0;a=s,s=Jn(),a===38&&s===12&&(r[o]=1),!Ko(s);)bn();return qo(t,un)},my=function(t,r){var o=-1,a=44;do switch(Ko(a)){case 0:a===38&&Jn()===12&&(r[o]=1),t[o]+=fy(un-1,r,o);break;case 2:t[o]+=cs(a);break;case 4:if(a===44){t[++o]=Jn()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=os(a)}while(a=bn());return t},hy=function(t,r){return pd(my(dd(t),r))},gd=new WeakMap,gy=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,a=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!gd.get(o))&&!a){gd.set(t,!0);for(var s=[],i=hy(r,s),l=o.props,c=0,u=0;c<i.length;c++)for(var p=0;p<l.length;p++,u++)t.props[u]=s[c]?i[c].replace(/&\f/g,l[p]):l[p]+" "+i[c]}}},by=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function bd(e,t){switch(Jb(e,t)){case 5103:return mt+"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 mt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return mt+e+rs+e+nn+e+e;case 6828:case 4268:return mt+e+nn+e+e;case 6165:return mt+e+nn+"flex-"+e+e;case 5187:return mt+e+ht(e,/(\w+).+(:[^]+)/,mt+"box-$1$2"+nn+"flex-$1$2")+e;case 5443:return mt+e+nn+"flex-item-"+ht(e,/flex-|-self/,"")+e;case 4675:return mt+e+nn+"flex-line-pack"+ht(e,/align-content|flex-|-self/,"")+e;case 5548:return mt+e+nn+ht(e,"shrink","negative")+e;case 5292:return mt+e+nn+ht(e,"basis","preferred-size")+e;case 6060:return mt+"box-"+ht(e,"-grow","")+mt+e+nn+ht(e,"grow","positive")+e;case 4554:return mt+ht(e,/([^-])(transform)/g,"$1"+mt+"$2")+e;case 6187:return ht(ht(ht(e,/(zoom-|grab)/,mt+"$1"),/(image-set)/,mt+"$1"),e,"")+e;case 5495:case 3959:return ht(e,/(image-set\([^]*)/,mt+"$1$`$1");case 4968:return ht(ht(e,/(.+:)(flex-)?(.*)/,mt+"box-pack:$3"+nn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+mt+e+e;case 4095:case 3583:case 4068:case 2532:return ht(e,/(.+)-inline(.+)/,mt+"$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(Zn(e)-1-t>6)switch(Qt(e,t+1)){case 109:if(Qt(e,t+4)!==45)break;case 102:return ht(e,/(.+:)(.+)-([^]+)/,"$1"+mt+"$2-$3$1"+rs+(Qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~cl(e,"stretch")?bd(ht(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qt(e,t+1)!==115)break;case 6444:switch(Qt(e,Zn(e)-3-(~cl(e,"!important")&&10))){case 107:return ht(e,":",":"+mt)+e;case 101:return ht(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+mt+(Qt(e,14)===45?"inline-":"")+"box$3$1"+mt+"$2$3$1"+nn+"$2box$3")+e}break;case 5936:switch(Qt(e,t+11)){case 114:return mt+e+nn+ht(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return mt+e+nn+ht(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return mt+e+nn+ht(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return mt+e+nn+e+e}return e}var yy=function(t,r,o,a){if(t.length>-1&&!t.return)switch(t.type){case ll:t.return=bd(t.value,t.length);break;case ld:return so([Yo(t,{value:ht(t.value,"@","@"+mt)})],a);case il:if(t.length)return ty(t.props,function(s){switch(ey(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return so([Yo(t,{props:[ht(s,/:(read-\w+)/,":"+rs+"$1")]})],a);case"::placeholder":return so([Yo(t,{props:[ht(s,/:(plac\w+)/,":"+mt+"input-$1")]}),Yo(t,{props:[ht(s,/:(plac\w+)/,":"+rs+"$1")]}),Yo(t,{props:[ht(s,/:(plac\w+)/,nn+"input-$1")]})],a)}return""})}},vy=[yy],xy=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(f){var v=f.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var a=t.stylisPlugins||vy,s={},i,l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(f){for(var v=f.getAttribute("data-emotion").split(" "),x=1;x<v.length;x++)s[v[x]]=!0;l.push(f)});var c,u=[gy,by];{var p,m=[uy,py(function(f){p.insert(f)})],g=dy(u.concat(a,m)),y=function(v){return so(ly(v),g)};c=function(v,x,E,C){p=E,y(v?v+"{"+x.styles+"}":x.styles),C&&(b.inserted[x.name]=!0)}}var b={key:r,sheet:new Kb({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:c};return b.sheet.hydrate(l),b},ds={exports:{}},bt={};/** @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 yd;function Sy(){if(yd)return bt;yd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function C(w){if(typeof w=="object"&&w!==null){var k=w.$$typeof;switch(k){case t:switch(w=w.type,w){case c:case u:case o:case s:case a:case m:return w;default:switch(w=w&&w.$$typeof,w){case l:case p:case b:case y:case i:return w;default:return k}}case r:return k}}}function T(w){return C(w)===u}return bt.AsyncMode=c,bt.ConcurrentMode=u,bt.ContextConsumer=l,bt.ContextProvider=i,bt.Element=t,bt.ForwardRef=p,bt.Fragment=o,bt.Lazy=b,bt.Memo=y,bt.Portal=r,bt.Profiler=s,bt.StrictMode=a,bt.Suspense=m,bt.isAsyncMode=function(w){return T(w)||C(w)===c},bt.isConcurrentMode=T,bt.isContextConsumer=function(w){return C(w)===l},bt.isContextProvider=function(w){return C(w)===i},bt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},bt.isForwardRef=function(w){return C(w)===p},bt.isFragment=function(w){return C(w)===o},bt.isLazy=function(w){return C(w)===b},bt.isMemo=function(w){return C(w)===y},bt.isPortal=function(w){return C(w)===r},bt.isProfiler=function(w){return C(w)===s},bt.isStrictMode=function(w){return C(w)===a},bt.isSuspense=function(w){return C(w)===m},bt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===o||w===u||w===s||w===a||w===m||w===g||typeof w=="object"&&w!==null&&(w.$$typeof===b||w.$$typeof===y||w.$$typeof===i||w.$$typeof===l||w.$$typeof===p||w.$$typeof===v||w.$$typeof===x||w.$$typeof===E||w.$$typeof===f)},bt.typeOf=C,bt}var yt={};/** @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 vd;function Cy(){return vd||(vd=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,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function C(z){return typeof z=="string"||typeof z=="function"||z===o||z===u||z===s||z===a||z===m||z===g||typeof z=="object"&&z!==null&&(z.$$typeof===b||z.$$typeof===y||z.$$typeof===i||z.$$typeof===l||z.$$typeof===p||z.$$typeof===v||z.$$typeof===x||z.$$typeof===E||z.$$typeof===f)}function T(z){if(typeof z=="object"&&z!==null){var te=z.$$typeof;switch(te){case t:var oe=z.type;switch(oe){case c:case u:case o:case s:case a:case m:return oe;default:var ve=oe&&oe.$$typeof;switch(ve){case l:case p:case b:case y:case i:return ve;default:return te}}case r:return te}}}var w=c,k=u,R=l,N=i,O=t,S=p,M=o,D=b,j=y,I=r,$=s,P=a,B=m,L=!1;function F(z){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),A(z)||T(z)===c}function A(z){return T(z)===u}function V(z){return T(z)===l}function X(z){return T(z)===i}function q(z){return typeof z=="object"&&z!==null&&z.$$typeof===t}function re(z){return T(z)===p}function ee(z){return T(z)===o}function U(z){return T(z)===b}function ne(z){return T(z)===y}function ie(z){return T(z)===r}function ae(z){return T(z)===s}function G(z){return T(z)===a}function Q(z){return T(z)===m}yt.AsyncMode=w,yt.ConcurrentMode=k,yt.ContextConsumer=R,yt.ContextProvider=N,yt.Element=O,yt.ForwardRef=S,yt.Fragment=M,yt.Lazy=D,yt.Memo=j,yt.Portal=I,yt.Profiler=$,yt.StrictMode=P,yt.Suspense=B,yt.isAsyncMode=F,yt.isConcurrentMode=A,yt.isContextConsumer=V,yt.isContextProvider=X,yt.isElement=q,yt.isForwardRef=re,yt.isFragment=ee,yt.isLazy=U,yt.isMemo=ne,yt.isPortal=ie,yt.isProfiler=ae,yt.isStrictMode=G,yt.isSuspense=Q,yt.isValidElementType=C,yt.typeOf=T}()),yt}var xd;function wy(){return xd||(xd=1,process.env.NODE_ENV==="production"?ds.exports=Sy():ds.exports=Cy()),ds.exports}var pl,Sd;function Ty(){if(Sd)return pl;Sd=1;var e=wy(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=o,s[e.Memo]=a;function i(b){return e.isMemo(b)?a:s[b.$$typeof]||t}var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function y(b,f,v){if(typeof f!="string"){if(g){var x=m(f);x&&x!==g&&y(b,x,v)}var E=c(f);u&&(E=E.concat(u(f)));for(var C=i(b),T=i(f),w=0;w<E.length;++w){var k=E[w];if(!r[k]&&!(v&&v[k])&&!(T&&T[k])&&!(C&&C[k])){var R=p(f,k);try{l(b,k,R)}catch{}}}}return b}return pl=y,pl}Ty();var Ey=!0;function Cd(e,t,r){var o="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(o+=a+" ")}),o}var fl=function(t,r,o){var a=t.key+"-"+r.name;(o===!1||Ey===!1)&&t.registered[a]===void 0&&(t.registered[a]=r.styles)},ml=function(t,r,o){fl(t,r,o);var a=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+a:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function Py(e){for(var t=0,r,o=0,a=e.length;a>=4;++o,a-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&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(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 Oy={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ky=/[A-Z]|^ms/g,Ry=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wd=function(t){return t.charCodeAt(1)===45},Td=function(t){return t!=null&&typeof t!="boolean"},hl=hd(function(e){return wd(e)?e:e.replace(ky,"-$&").toLowerCase()}),Ed=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ry,function(o,a,s){return er={name:a,styles:s,next:er},a})}return Oy[t]!==1&&!wd(t)&&typeof r=="number"&&r!==0?r+"px":r};function Go(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return er={name:a.name,styles:a.styles,next:er},a.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)er={name:i.name,styles:i.styles,next:er},i=i.next;var l=s.styles+";";return l}return My(e,t,r)}case"function":{if(e!==void 0){var c=er,u=r(e);return er=c,Go(e,t,u)}break}}var p=r;if(t==null)return p;var m=t[p];return m!==void 0?m:p}function My(e,t,r){var o="";if(Array.isArray(r))for(var a=0;a<r.length;a++)o+=Go(e,t,r[a])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var l=i;t!=null&&t[l]!==void 0?o+=s+"{"+t[l]+"}":Td(l)&&(o+=hl(s)+":"+Ed(s,l)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var c=0;c<i.length;c++)Td(i[c])&&(o+=hl(s)+":"+Ed(s,i[c])+";");else{var u=Go(e,t,i);switch(s){case"animation":case"animationName":{o+=hl(s)+":"+u+";";break}default:o+=s+"{"+u+"}"}}}return o}var Pd=/label:\s*([^\s;{]+)\s*(;|$)/g,er;function Xo(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,a="";er=void 0;var s=e[0];if(s==null||s.raw===void 0)o=!1,a+=Go(r,t,s);else{var i=s;a+=i[0]}for(var l=1;l<e.length;l++)if(a+=Go(r,t,e[l]),o){var c=s;a+=c[l]}Pd.lastIndex=0;for(var u="",p;(p=Pd.exec(a))!==null;)u+="-"+p[1];var m=Py(a)+u;return{name:m,styles:a,next:er}}var Iy=function(t){return t()},Od=d.useInsertionEffect?d.useInsertionEffect:!1,kd=Od||Iy,Rd=Od||d.useLayoutEffect,Md=d.createContext(typeof HTMLElement<"u"?xy({key:"css"}):null);Md.Provider;var gl=function(t){return We.forwardRef(function(r,o){var a=We.useContext(Md);return t(r,a,o)})},Qo=d.createContext({}),bl={}.hasOwnProperty,yl="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Dy=function(t,r){var o={};for(var a in r)bl.call(r,a)&&(o[a]=r[a]);return o[yl]=t,o},$y=function(t){var r=t.cache,o=t.serialized,a=t.isStringTag;return fl(r,o,a),kd(function(){return ml(r,o,a)}),null},Ny=gl(function(e,t,r){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var a=e[yl],s=[o],i="";typeof e.className=="string"?i=Cd(t.registered,s,e.className):e.className!=null&&(i=e.className+" ");var l=Xo(s,void 0,d.useContext(Qo));i+=t.key+"-"+l.name;var c={};for(var u in e)bl.call(e,u)&&u!=="css"&&u!==yl&&(c[u]=e[u]);return c.className=i,r&&(c.ref=r),d.createElement(d.Fragment,null,d.createElement($y,{cache:t,serialized:l,isStringTag:typeof a=="string"}),d.createElement(a,c))}),jy=Ny,Id=function(t,r){var o=arguments;if(r==null||!bl.call(r,"css"))return d.createElement.apply(void 0,o);var a=o.length,s=new Array(a);s[0]=jy,s[1]=Dy(t,r);for(var i=2;i<a;i++)s[i]=o[i];return d.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Id||(Id={}));var Ay=gl(function(e,t){var r=e.styles,o=Xo([r],void 0,d.useContext(Qo)),a=d.useRef();return Rd(function(){var s=t.key+"-global",i=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+s+" "+o.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",s),i.hydrate([c])),a.current=[i,l],function(){i.flush()}},[t]),Rd(function(){var s=a.current,i=s[0],l=s[1];if(l){s[1]=!1;return}if(o.next!==void 0&&ml(t,o.next,!0),i.tags.length){var c=i.tags[i.tags.length-1].nextElementSibling;i.before=c,i.flush()}t.insert("",o,i,!1)},[t,o.name]),null});function io(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Xo(t)}function wr(){var e=io.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Ly=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Fy=hd(function(e){return Ly.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),By=Fy,_y=function(t){return t!=="theme"},Dd=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?By:_y},$d=function(t,r,o){var a;if(r){var s=r.shouldForwardProp;a=t.__emotion_forwardProp&&s?function(i){return t.__emotion_forwardProp(i)&&s(i)}:s}return typeof a!="function"&&o&&(a=t.__emotion_forwardProp),a},Vy=function(t){var r=t.cache,o=t.serialized,a=t.isStringTag;return fl(r,o,a),kd(function(){return ml(r,o,a)}),null},zy=function e(t,r){var o=t.__emotion_real===t,a=o&&t.__emotion_base||t,s,i;r!==void 0&&(s=r.label,i=r.target);var l=$d(t,r,o),c=l||Dd(a),u=!c("as");return function(){var p=arguments,m=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&m.push("label:"+s+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{var g=p[0];m.push(g[0]);for(var y=p.length,b=1;b<y;b++)m.push(p[b],g[b])}var f=gl(function(v,x,E){var C=u&&v.as||a,T="",w=[],k=v;if(v.theme==null){k={};for(var R in v)k[R]=v[R];k.theme=d.useContext(Qo)}typeof v.className=="string"?T=Cd(x.registered,w,v.className):v.className!=null&&(T=v.className+" ");var N=Xo(m.concat(w),x.registered,k);T+=x.key+"-"+N.name,i!==void 0&&(T+=" "+i);var O=u&&l===void 0?Dd(C):c,S={};for(var M in v)u&&M==="as"||O(M)&&(S[M]=v[M]);return S.className=T,E&&(S.ref=E),d.createElement(d.Fragment,null,d.createElement(Vy,{cache:x,serialized:N,isStringTag:typeof C=="string"}),d.createElement(C,S))});return f.displayName=s!==void 0?s:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=a,f.__emotion_styles=m,f.__emotion_forwardProp=l,Object.defineProperty(f,"toString",{value:function(){return"."+i}}),f.withComponent=function(v,x){var E=e(v,Y({},r,x,{shouldForwardProp:$d(f,x,!0)}));return E.apply(void 0,m)},f}},Wy=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],vl=zy.bind(null);Wy.forEach(function(e){vl[e]=vl(e)});var ps={exports:{}},fs={exports:{}},vt={};/** @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 Nd;function Hy(){if(Nd)return vt;Nd=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,E=e?Symbol.for("react.scope"):60119;function C(w){if(typeof w=="object"&&w!==null){var k=w.$$typeof;switch(k){case t:switch(w=w.type,w){case c:case u:case o:case s:case a:case m:return w;default:switch(w=w&&w.$$typeof,w){case l:case p:case b:case y:case i:return w;default:return k}}case r:return k}}}function T(w){return C(w)===u}return vt.AsyncMode=c,vt.ConcurrentMode=u,vt.ContextConsumer=l,vt.ContextProvider=i,vt.Element=t,vt.ForwardRef=p,vt.Fragment=o,vt.Lazy=b,vt.Memo=y,vt.Portal=r,vt.Profiler=s,vt.StrictMode=a,vt.Suspense=m,vt.isAsyncMode=function(w){return T(w)||C(w)===c},vt.isConcurrentMode=T,vt.isContextConsumer=function(w){return C(w)===l},vt.isContextProvider=function(w){return C(w)===i},vt.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===t},vt.isForwardRef=function(w){return C(w)===p},vt.isFragment=function(w){return C(w)===o},vt.isLazy=function(w){return C(w)===b},vt.isMemo=function(w){return C(w)===y},vt.isPortal=function(w){return C(w)===r},vt.isProfiler=function(w){return C(w)===s},vt.isStrictMode=function(w){return C(w)===a},vt.isSuspense=function(w){return C(w)===m},vt.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===o||w===u||w===s||w===a||w===m||w===g||typeof w=="object"&&w!==null&&(w.$$typeof===b||w.$$typeof===y||w.$$typeof===i||w.$$typeof===l||w.$$typeof===p||w.$$typeof===v||w.$$typeof===x||w.$$typeof===E||w.$$typeof===f)},vt.typeOf=C,vt}var xt={};/** @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 jd;function Uy(){return jd||(jd=1,process.env.NODE_ENV!=="pro