!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReact={},e.React)}(this,(function(e,t){"use strict";var r=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t2||P($)>3?"":" "}function R(e){for(;_();)switch($){case e:return w;case 34:case 39:return R(34===e||39===e?e:$);case 40:41===e&&R(e);break;case 92:_()}return w}function z(e,t){for(;_()&&e+$!==57&&(e+$!==84||47!==O()););return"/*"+E(t,w-1)+"*"+f(47===e?e:_())}function F(e){for(;!P(O());)_();return E(e,w)}function D(e){return M(G("",null,null,null,[""],e=j(e),0,[0],e))}function G(e,t,r,n,a,o,s,c,i){for(var u=0,l=0,d=s,y=0,m=0,g=0,b=1,x=1,w=1,$=0,C="",S=a,k=o,E=n,P=C;x;)switch(g=$,$=_()){case 34:case 39:case 91:case 40:P+=T($);break;case 9:case 10:case 13:case 32:P+=N(g);break;case 47:switch(O()){case 42:case 47:v(I(z(_(),A()),t,r),i);break;default:P+="/"}break;case 123*b:c[u++]=h(P)*w;case 125*b:case 59:case 0:switch($){case 0:case 125:x=0;case 59+l:m>0&&v(m>32?W(P+";",n,r,d-1):W(p(P," ","")+";",n,r,d-2),i);break;case 59:P+=";";default:if(v(E=L(P,t,r,u,l,a,c,C,S=[],k=[],d),o),123===$)if(0===l)G(P,t,E,E,S,o,d,c,k);else switch(y){case 100:case 109:case 115:G(e,E,E,n&&v(L(e,E,E,0,0,a,c,C,a,S=[],d),k),a,k,d,c,n?S:k);break;default:G(P,E,E,E,[""],k,d,c,k)}}u=l=m=0,b=w=1,C=P="",d=s;break;case 58:d=1+h(P),m=g;default:switch(P+=f($),$*b){case 38:w=l>0?1:(P+="\f",-1);break;case 44:c[u++]=(h(P)-1)*w,w=1;break;case 64:45===O()&&(P+=T(_())),y=O(),l=h(C=P+=F(A())),$++;break;case 45:45===g&&2==h(P)&&(b=0)}}return o}function L(e,t,r,n,a,o,s,i,f,d,h){for(var v=a-1,g=0===a?o:[""],b=m(g),x=0,w=0,$=0;x0?g[C]+" "+k:p(k,/&\f/g,g[C])))&&(f[$++]=_);return S(e,t,r,0===a?c:i,f,d,h)}function I(e,t,r){return S(e,t,r,s,f($),y(e,2,-2),0)}function W(e,t,r,n){return S(e,t,r,i,y(e,0,n),y(e,n+1,-1),n)}function q(e,t){switch(function(e,t){return(((t<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3)}(e,t)){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 o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+a+e+n+e+e;case 6828:case 4268:return o+e+n+e+e;case 6165:return o+e+n+"flex-"+e+e;case 5187:return o+e+p(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+n+"flex-$1$2")+e;case 5443:return o+e+n+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return o+e+n+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+n+p(e,"shrink","negative")+e;case 5292:return o+e+n+p(e,"basis","preferred-size")+e;case 6060:return o+"box-"+p(e,"-grow","")+o+e+n+p(e,"grow","positive")+e;case 4554:return o+p(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+n+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,o+"$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(h(e)-1-t>6)switch(d(e,t+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+a+"$3")+e;case 115:return q(p(e,"stretch","fill-available"),t)+e}break;case 4949:if(115!==d(e,t+1))break;case 6444:switch(d(e,h(e)-3-(~function(e,t){return e.indexOf(t)}(e,"!important")&&10))){case 107:case 111:return p(e,e,o+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(45===d(e,14)?"inline-":"")+"box$3$1"+o+"$2$3$1"+n+"$2box$3")+e}break;case 5936:switch(d(e,t+11)){case 114:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+n+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+n+e+e}return e}function H(e,t){for(var r="",n=m(e),a=0;a=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+i;return{name:u,styles:a,next:Ne}},Fe="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",De=function(e,t){var r={};for(var n in t)te.call(t,n)&&(r[n]=t[n]);return r[Fe]=e,r},Ge=ae((function(e,r,n){var a=e.css;"string"==typeof a&&void 0!==r.registered[a]&&(a=r.registered[a]);var o=e[Fe],s=[a],c="";"string"==typeof e.className?c=Se(r.registered,s,e.className):null!=e.className&&(c=e.className+" ");var i=ze(s,void 0,t.useContext($e));ke(r,i,"string"==typeof o);c+=r.key+"-"+i.name;var u={};for(var f in e)te.call(e,f)&&"css"!==f&&f!==Fe&&(u[f]=e[f]);return u.ref=n,u.className=c,t.createElement(o,u)}));var Le=function(e,r){var n=arguments;if(null==r||!te.call(r,"css"))return t.createElement.apply(void 0,n);var a=n.length,o=new Array(a);o[0]=Ge,o[1]=De(e,r);for(var s=2;s