!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t(e.emotionCore={},e.React)}(this,function(e,h){"use strict";var l=function(){function e(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.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,r=(a=this,(n=document.createElement("style")).setAttribute("data-emotion",a.key),void 0!==a.nonce&&n.setAttribute("nonce",a.nonce),n.appendChild(document.createTextNode("")),n);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,t),this.tags.push(r)}var a,n,s=this.tags[this.tags.length-1];if(this.isSpeedy){var i=function(e){if(e.sheet)return e.sheet;for(var t=0;t>>16)&65535)<<16),a=1540483477*(65535&a)+((1540483477*(a>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),r-=4,++n;switch(r){case 3:a^=(255&e.charCodeAt(n+2))<<16;case 2:a^=(255&e.charCodeAt(n+1))<<8;case 1:a=1540483477*(65535&(a^=255&e.charCodeAt(n)))+((1540483477*(a>>>16)&65535)<<16)}return a=1540483477*(65535&(a^=a>>>13))+((1540483477*(a>>>16)&65535)<<16),((a^=a>>>15)>>>0).toString(36)}(n)+o,styles:n,next:w}},x="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",E=Object.prototype.hasOwnProperty,O=function(e,t,r,a){var n=t[x],s=[],i="",c=null===r?t.css:t.css(r);"string"==typeof c&&void 0!==e.registered[c]&&(c=e.registered[c]),s.push(c),void 0!==t.className&&(i=m(e.registered,s,t.className));var o=A(s);v(e,o,"string"==typeof n);i+=e.key+"-"+o.name;var l={};for(var u in t)E.call(t,u)&&"css"!==u&&u!==x&&(l[u]=t[u]);return l.ref=a,l.className=i,h.createElement(n,l)},_=e.withEmotionCache(function(t,r,a){return"function"==typeof t.css?h.createElement(s.Consumer,null,function(e){return O(r,t,e,a)}):O(r,t,null,a)}),S=e.withEmotionCache(function(e,r){var a=e.styles;if("function"==typeof a)return h.createElement(s.Consumer,null,function(e){var t=A([a(e)]);return h.createElement(z,{serialized:t,cache:r})});var t=A([a]);return h.createElement(z,{serialized:t,cache:r})}),z=function(a){var e,t;function r(e,t,r){return a.call(this,e,t,r)||this}t=a,(e=r).prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t;var n=r.prototype;return n.componentDidMount=function(){this.sheet=new l({key:this.props.cache.key+"-global",nonce:this.props.cache.sheet.nonce,container:this.props.cache.sheet.container});var e=document.querySelector("style[data-emotion-"+this.props.cache.key+'="'+this.props.serialized.name+'"]');null!==e&&this.sheet.tags.push(e),this.props.cache.sheet.tags.length&&(this.sheet.before=this.props.cache.sheet.tags[0]),this.insertStyles()},n.componentDidUpdate=function(e){e.serialized.name!==this.props.serialized.name&&this.insertStyles()},n.insertStyles=function(){if(void 0!==this.props.serialized.next&&v(this.props.cache,this.props.serialized.next,!0),this.sheet.tags.length){var e=this.sheet.tags[this.sheet.tags.length-1].nextElementSibling;this.sheet.before=e,this.sheet.flush()}this.props.cache.insert("",this.props.serialized,this.sheet,!1)},n.componentWillUnmount=function(){this.sheet.flush()},n.render=function(){return null},r}(h.Component);function $(){for(var e=arguments.length,t=new Array(e),r=0;r