mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
3 lines
20 KiB
JavaScript
3 lines
20 KiB
JavaScript
!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;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),n="-ms-",a="-moz-",o="-webkit-",s="comm",c="rule",i="decl",u=Math.abs,f=String.fromCharCode;function l(e){return e.trim()}function p(e,t,r){return e.replace(t,r)}function d(e,t){return 0|e.charCodeAt(t)}function y(e,t,r){return e.slice(t,r)}function h(e){return e.length}function m(e){return e.length}function v(e,t){return t.push(e),e}var g=1,b=1,x=0,w=0,$=0,C="";function S(e,t,r,n,a,o,s){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:g,column:b,length:s,return:""}}function k(e,t,r){return S(e,t.root,t.parent,r,t.props,t.children,0)}function _(){return $=w<x?d(C,w++):0,b++,10===$&&(b=1,g++),$}function O(){return d(C,w)}function A(){return w}function E(e,t){return y(C,e,t)}function P(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 j(e){return g=b=1,x=h(C=e),w=0,[]}function M(e){return C="",e}function T(e){return l(E(w-1,R(91===e?e+2:40===e?e+1:e)))}function N(e){for(;($=O())&&$<33;)_();return P(e)>2||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;x<n;++x)for(var C=0,k=y(e,v+1,v=u(w=s[x])),_=e;C<b;++C)(_=l(w>0?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<n;a++)r+=t(e[a],a,e,t)||"";return r}function B(e,t,r,n){switch(e.type){case"@import":case i:return e.return=e.return||e.value;case s:return"";case c:e.value=e.props.join(",")}return h(r=H(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return function(t){t.root||(t=t.return)&&e(t)}}var V=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}};function Y(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Z=function(e,t){return M(function(e,t){var r=-1,n=44;do{switch(P(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=F(w-1);break;case 2:e[r]+=T(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=_());return e}(j(e),t))},J=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(r))&&!n){J.set(e,!0);for(var a=[],o=Z(t,a),s=r.props,c=0,i=0;c<o.length;c++)for(var u=0;u<s.length;u++,i++)e.props[i]=a[c]?o[c].replace(/&\f/g,s[u]):s[u]+" "+o[c]}}},Q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},X=[function(e,t,r,a){if(!e.return)switch(e.type){case i:e.return=q(e.value,e.length);break;case"@keyframes":return H([k(p(e.value,"@","@"+o),e,"")],a);case c:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return H([k(p(t,/:(read-\w+)/,":-moz-$1"),e,"")],a);case"::placeholder":return H([k(p(t,/:(plac\w+)/,":"+o+"input-$1"),e,""),k(p(t,/:(plac\w+)/,":-moz-$1"),e,""),k(p(t,/:(plac\w+)/,n+"input-$1"),e,"")],a)}return""}))}}],ee=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var a=e.stylisPlugins||X;var o,s,c={},i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)c[t[r]]=!0;i.push(e)}));var u=[K,Q];var f,l=[B,U((function(e){f.insert(e)}))],p=function(e){var t=m(e);return function(r,n,a,o){for(var s="",c=0;c<t;c++)s+=e[c](r,n,a,o)||"";return s}}(u.concat(a,l));s=function(e,t,r,n){f=r,H(D(e?e+"{"+t.styles+"}":t.styles),p),n&&(d.inserted[t.name]=!0)};var d={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:c,registered:{},insert:s};return d.sheet.hydrate(i),d},te=Object.prototype.hasOwnProperty,re=t.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null);var ne=re.Provider,ae=function(e){return t.forwardRef((function(r,n){var a=t.useContext(re);return e(r,a,n)}))};function oe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function se(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}var ce=oe(se((function(e){function t(){return e.exports=t=Object.assign||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},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}))),ie=se((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,i=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,l=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case f:case l:case o:case c:case s:case d:return e;default:switch(e=e&&e.$$typeof){case u:case p:case m:case h:case i:return e;default:return t}}case a:return t}}}function w(e){return x(e)===l}t.typeOf=x,t.AsyncMode=f,t.ConcurrentMode=l,t.ContextConsumer=u,t.ContextProvider=i,t.Element=n,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=h,t.Portal=a,t.Profiler=c,t.StrictMode=s,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===l||e===c||e===s||e===d||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===i||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===g||e.$$typeof===b)},t.isAsyncMode=function(e){return w(e)||x(e)===f},t.isConcurrentMode=w,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===i},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===h},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===c},t.isStrictMode=function(e){return x(e)===s},t.isSuspense=function(e){return x(e)===d}})),ue=(se((function(e,t){0})),se((function(e){e.exports=ie}))),fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},le={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},de={};function ye(e){return ue.isMemo(e)?pe:de[e.$$typeof]||fe}de[ue.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var he=Object.defineProperty,me=Object.getOwnPropertyNames,ve=Object.getOwnPropertySymbols,ge=Object.getOwnPropertyDescriptor,be=Object.getPrototypeOf,xe=Object.prototype;var we=function e(t,r,n){if("string"!=typeof r){if(xe){var a=be(r);a&&a!==xe&&e(t,a,n)}var o=me(r);ve&&(o=o.concat(ve(r)));for(var s=ye(t),c=ye(r),i=0;i<o.length;++i){var u=o[i];if(!(le[u]||n&&n[u]||c&&c[u]||s&&s[u])){var f=ge(r,u);try{he(t,u,f)}catch(e){}}}}return t},$e=t.createContext({});var Ce=V((function(e){return V((function(t){return function(e,t){if("function"==typeof t){return t(e)}return ce({},e,t)}(e,t)}))}));function Se(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var ke=function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};var _e={animationIterationCount: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},Oe=/[A-Z]|^ms/g,Ae=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ee=function(e){return 45===e.charCodeAt(1)},Pe=function(e){return null!=e&&"boolean"!=typeof e},je=Y((function(e){return Ee(e)?e:e.replace(Oe,"-$&").toLowerCase()})),Me=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ae,(function(e,t,r){return Ne={name:t,styles:r,next:Ne},t}))}return 1===_e[e]||Ee(e)||"number"!=typeof t||0===t?t:t+"px"};function Te(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return Ne={name:r.name,styles:r.styles,next:Ne},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)Ne={name:n.name,styles:n.styles,next:Ne},n=n.next;var a=r.styles+";";return a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=Te(e,t,r[a])+";";else for(var o in r){var s=r[o];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=o+"{"+t[s]+"}":Pe(s)&&(n+=je(o)+":"+Me(o,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var c=Te(e,t,s);switch(o){case"animation":case"animationName":n+=je(o)+":"+c+";";break;default:n+=o+"{"+c+"}"}}else for(var i=0;i<s.length;i++)Pe(s[i])&&(n+=je(o)+":"+Me(o,s[i])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=Ne,s=r(e);return Ne=o,Te(e,t,s)}break;case"string":}if(null==t)return r;var c=t[r];return void 0!==c?c:r}var Ne,Re=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ze=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";Ne=void 0;var o=e[0];null==o||void 0===o.raw?(n=!1,a+=Te(r,t,o)):a+=o[0];for(var s=1;s<e.length;s++)a+=Te(r,t,e[s]),n&&(a+=o[s]);Re.lastIndex=0;for(var c,i="";null!==(c=Re.exec(a));)i+="-"+c[1];var u=function(e){for(var t,r=0,n=0,a=e.length;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<a;s++)o[s]=n[s];return t.createElement.apply(null,o)},Ie=ae((function(e,n){var a=e.styles,o=ze([a],void 0,t.useContext($e)),s=t.useRef();return t.useLayoutEffect((function(){var e=n.key+"-global",t=new r({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),a=!1,c=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==c&&(a=!0,c.setAttribute("data-emotion",e),t.hydrate([c])),s.current=[t,a],function(){t.flush()}}),[n]),t.useLayoutEffect((function(){var e=s.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&ke(n,o.next,!0),t.tags.length){var r=t.tags[t.tags.length-1].nextElementSibling;t.before=r,t.flush()}n.insert("",o,t,!1)}}),[n,o.name]),null}));function We(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return ze(t)}var qe=function e(t){for(var r=t.length,n=0,a="";n<r;n++){var o=t[n];if(null!=o){var s=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))s=e(o);else for(var c in s="",o)o[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=o}s&&(a&&(a+=" "),a+=s)}}return a};function He(e,t,r){var n=[],a=Se(e,n,r);return n.length<2?r:a+t(n)}var Be=ae((function(e,r){var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ze(t,r.registered);return ke(r,a,!1),r.key+"-"+a.name},a={css:n,cx:function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return He(r.registered,n,qe(t))},theme:t.useContext($e)},o=e.children(a);return!0,o}));e.CacheProvider=ne,e.ClassNames=Be,e.Global=Ie,e.ThemeContext=$e,e.ThemeProvider=function(e){var r=t.useContext($e);return e.theme!==r&&(r=Ce(r)(e.theme)),t.createElement($e.Provider,{value:r},e.children)},e.__unsafe_useEmotionCache=function(){return t.useContext(re)},e.createElement=Le,e.css=We,e.jsx=Le,e.keyframes=function(){var e=We.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_"}}},e.useTheme=function(){return t.useContext($e)},e.withEmotionCache=ae,e.withTheme=function(e){var r=e.displayName||e.name||"Component",n=function(r,n){var a=t.useContext($e);return t.createElement(e,ce({theme:a,ref:n},r))},a=t.forwardRef(n);return a.displayName="WithTheme("+r+")",we(a,e)},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
//# sourceMappingURL=emotion-react.umd.min.js.map
|