Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-emotion

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-emotion - npm Package Compare versions

Comparing version 9.1.0 to 9.1.1

2

dist/emotion.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","react","prop-types"],t):t(e["react-emotion"]={},e.React,e.PropTypes)}(this,function(e,t,r){"use strict";function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e){return i(e,e.length).toString(36)}function i(e,t){for(var r,a=e.length,s=t^a,i=0;a>=4;)r=1540483477*(65535&(r=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(r>>>16)&65535)<<16),s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),a-=4,++i;switch(a){case 3:s^=(255&e.charCodeAt(i+2))<<16;case 2:s^=(255&e.charCodeAt(i+1))<<8;case 1:s=1540483477*(65535&(s^=255&e.charCodeAt(i)))+((1540483477*(s>>>16)&65535)<<16)}return s^=s>>>13,s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16),(s^=s>>>15)>>>0}function c(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,a,s,i,c,n,o,l,u,d){switch(r){case 1:if(0===u&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===l)return a+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(s[0]+a),"";default:return a+(0===d?"/*|*/":"")}case-2:a.split("/*|*/}").forEach(t)}}}function n(){return c}function o(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 l(e){var t=document.createElement("style");return t.type="text/css",t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}function u(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}function d(){if(this.injected)throw new Error("already injected!");this.tags[0]=l(this.opts),this.injected=!0}function h(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e}function f(e,t){if(this.isSpeedy){var r=o(this.tags[this.tags.length-1]);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else{var a=l(this.opts);this.tags.push(a),a.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(l(this.opts))}function p(e){return e.parentNode.removeChild(e)}function g(){this.tags.forEach(p),this.tags=[],this.ctr=0,this.injected=!1}function b(e){this.setState({theme:e})}function m(){void 0!==this.context[D]&&(this.unsubscribe=this.context[D].subscribe(b.bind(this)))}function k(){void 0!==this.unsubscribe&&this.context[D].unsubscribe(this.unsubscribe)}t=t&&t.hasOwnProperty("default")?t.default:t,r=r&&r.hasOwnProperty("default")?r.default:r;var v,y=function e(t){function r(e,t,s,l,u){for(var d,p,g,b,m=0,k=0,y=0,w=0,C=0,A=0,_=0,E=0,T=0,R=0,N=0,z=0,M=p=0,$=0,I=0,G=s.length,V=G-1,Z="",re="",ae="",se="";z<G;){if(g=s.charCodeAt(z),z===V&&0!==k+w+y+m&&(0!==k&&(g=47===k?10:47),w=y=m=0,G++,V++),0===k+w+y+m){if(z===V&&(0<p&&(Z=Z.replace(f,"")),0<Z.trim().length)){switch(g){case 32:case 9:case 59:case 13:case 10:break;default:Z+=s.charAt(z)}g=59}if(1===M)switch(g){case 123:case 125:case 59:case 34:case 39:case 40:case 41:case 44:M=0;case 9:case 13:case 10:case 32:break;default:for(M=0,I=z,d=g,z--,g=59;I<G;)switch(s.charCodeAt(I++)){case 10:case 13:case 59:++z,g=d,I=G;break;case 58:0<p&&(++z,g=d);case 123:I=G}}switch(g){case 123:for(d=(Z=Z.trim()).charCodeAt(0),E=1,I=++z;z<G;){switch(g=s.charCodeAt(z)){case 123:E++;break;case 125:E--}if(0===E)break;z++}switch(R=s.substring(I,z),0===d&&(d=(Z=Z.replace(h,"").trim()).charCodeAt(0)),d){case 64:switch(0<p&&(Z=Z.replace(f,"")),p=Z.charCodeAt(1)){case 100:case 109:case 115:case 45:d=t;break;default:d=X}if(R=r(t,d,R,p,u+1),I=R.length,0<B&&0===I&&(I=Z.length),0<Y&&(d=a(X,Z,$),b=o(3,R,d,t,W,L,I,p,u,l),Z=d.join(""),void 0!==b&&0===(I=(R=b.trim()).length)&&(p=0,R="")),0<I)switch(p){case 115:Z=Z.replace(P,n);case 100:case 109:case 45:R=Z+"{"+R+"}";break;case 107:R=(Z=Z.replace(x,"$1 $2"+(0<J?Q:"")))+"{"+R+"}",R=1===U||2===U&&c("@"+R,3)?"@-webkit-"+R+"@"+R:"@"+R;break;default:R=Z+R,112===l&&(re+=R,R="")}else R="";break;default:R=r(t,a(t,Z,$),R,l,u+1)}ae+=R,R=$=p=N=M=T=0,Z="",g=s.charCodeAt(++z);break;case 125:case 59:if(Z=(0<p?Z.replace(f,""):Z).trim(),1<(I=Z.length))switch(0===N&&(45===(d=Z.charCodeAt(0))||96<d&&123>d)&&(I=(Z=Z.replace(" ",":")).length),0<Y&&void 0!==(b=o(1,Z,t,e,W,L,re.length,l,u,l))&&0===(I=(Z=b.trim()).length)&&(Z="\0\0"),d=Z.charCodeAt(0),p=Z.charCodeAt(1),d+p){case 0:break;case 169:case 163:se+=Z+s.charAt(z);break;default:58!==Z.charCodeAt(I-1)&&(re+=i(Z,d,p,Z.charCodeAt(2)))}$=p=N=M=T=0,Z="",g=s.charCodeAt(++z)}}switch(g){case 13:case 10:if(0===k+w+y+m+q)switch(_){case 41:case 39:case 34:case 64:case 126:case 62:case 42:case 43:case 47:case 45:case 58:case 44:case 59:case 123:case 125:break;default:0<N&&(M=1)}47===k?k=0:0===H+T&&(p=1,Z+="\0"),0<Y*K&&o(0,Z,t,e,W,L,re.length,l,u,l),L=1,W++;break;case 59:case 125:if(0===k+w+y+m){L++;break}default:switch(L++,d=s.charAt(z),g){case 9:case 32:if(0===w+m+k)switch(C){case 44:case 58:case 9:case 32:d="";break;default:32!==g&&(d=" ")}break;case 0:d="\\0";break;case 12:d="\\f";break;case 11:d="\\v";break;case 38:0===w+k+m&&0<H&&(p=$=1,d="\f"+d);break;case 108:if(0===w+k+m+F&&0<N)switch(z-N){case 2:112===C&&58===s.charCodeAt(z-3)&&(F=C);case 8:111===A&&(F=A)}break;case 58:0===w+k+m&&(N=z);break;case 44:0===k+y+w+m&&(p=1,d+="\r");break;case 34:case 39:0===k&&(w=w===g?0:0===w?g:w);break;case 91:0===w+k+y&&m++;break;case 93:0===w+k+y&&m--;break;case 41:0===w+k+m&&y--;break;case 40:if(0===w+k+m){if(0===T)switch(2*C+3*A){case 533:break;default:E=0,T=1}y++}break;case 64:0===k+y+w+m+N+R&&(R=1);break;case 42:case 47:if(!(0<w+m+y))switch(k){case 0:switch(2*g+3*s.charCodeAt(z+1)){case 235:k=47;break;case 220:I=z,k=42}break;case 42:47===g&&42===C&&(33===s.charCodeAt(I+2)&&(re+=s.substring(I,z+1)),d="",k=0)}}if(0===k){if(0===H+w+m+R&&107!==l&&59!==g)switch(g){case 44:case 126:case 62:case 43:case 41:case 40:if(0===T){switch(C){case 9:case 32:case 10:case 13:d+="\0";break;default:d="\0"+d+(44===g?"":"\0")}p=1}else switch(g){case 40:T=++E;break;case 41:0==(T=--E)&&(p=1,d+="\0")}break;case 9:case 32:switch(C){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===T&&(p=1,d+="\0")}}Z+=d,32!==g&&9!==g&&(_=g)}}A=C,C=g,z++}if(I=re.length,0<B&&0===I&&0===ae.length&&0===t[0].length==!1&&(109!==l||1===t.length&&(0<H?ee:te)===t[0])&&(I=t.join(",").length+2),0<I){if(0===H&&107!==l){for(s=0,m=t.length,k=Array(m);s<m;++s){for(A="",_=0,G=(C=t[s].split(v)).length;_<G;++_)if(!(0===(E=(w=C[_]).length)&&1<G)){if(z=A.charCodeAt(A.length-1),$=w.charCodeAt(0),y="",0!==_)switch(z){case 42:case 126:case 62:case 43:case 32:case 40:break;default:y=" "}switch($){case 38:w=y+ee;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:w=y+w+ee;break;case 58:switch(2*w.charCodeAt(1)+3*w.charCodeAt(2)){case 530:if(0<D){w=y+w.substring(8,E-1);break}default:(1>_||1>C[_-1].length)&&(w=y+ee+w)}break;case 44:y="";default:w=1<E&&0<w.indexOf(":")?y+w.replace(j,"$1"+ee+"$2"):y+w+ee}A+=w}k[s]=A.replace(f,"").trim()}t=k}if(d=t,0<Y&&void 0!==(b=o(2,re,d,e,W,L,I,l,u,l))&&0===(re=b).length)return se+re+ae;if(re=d.join(",")+"{"+re+"}",0!=U*F){switch(2!==U||c(re,2)||(F=0),F){case 111:re=re.replace(O,":-moz-$1")+re;break;case 112:re=re.replace(S,"::-webkit-input-$1")+re.replace(S,"::-moz-$1")+re.replace(S,":-ms-input-$1")+re}F=0}}return se+re+ae}function a(e,t,r){var a=t.trim().split(y);t=a;var i=a.length,c=e.length;switch(c){case 0:case 1:var n=0;for(e=0===c?"":e[0]+" ";n<i;++n)t[n]=s(e,t[n],r,c).trim();break;default:var o=n=0;for(t=[];n<i;++n)for(var l=0;l<c;++l)t[o++]=s(e[l]+" ",a[n],r,c).trim()}return t}function s(e,t,r,a){var s=t.charCodeAt(0);switch(33>s&&(s=(t=t.trim()).charCodeAt(0)),s){case 38:switch(H+a){case 0:case 1:if(0===e.trim().length)break;default:return t.replace(w,"$1"+e.trim())}break;case 58:switch(t.charCodeAt(1)){case 103:if(0<D&&0<H)return t.replace(C,"$1").replace(w,"$1"+te);break;default:return e.trim()+t.replace(w,"$1"+e.trim())}default:if(0<r*H&&0<t.indexOf("\f"))return t.replace(w,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,a){var s=e+";",n=2*t+3*r+4*a;if(944===n){e=s.length;var o=s.indexOf(":",9)+1;switch(t=s.substring(0,o).trim(),r=s.substring(o,e-1).trim(),s.charCodeAt(9)*J){case 0:break;case 45:if(110!==s.charCodeAt(10))break;default:for(o=a=0,e=(s=r.split((r="",m))).length;a<e;o=0,++a){for(var l=(n=s[a]).split(k);n=l[o];){var u=n.charCodeAt(0);if(1===J&&(64<u&&90>u||96<u&&123>u||95===u||45===u&&45!==n.charCodeAt(1)))switch(isNaN(parseFloat(n))+(-1!==n.indexOf("("))){case 1:switch(n){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:n+=Q}}l[o++]=n}r+=(0===a?"":",")+l.join(" ")}}return r=t+r+";",1===U||2===U&&c(r,1)?"-webkit-"+r+r:r}if(0===U||2===U&&!c(s,1))return s;switch(n){case 1015:return 97===s.charCodeAt(10)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:return 45===s.charCodeAt(8)?"-webkit-"+s+s:s;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(o=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+o+s;case 1005:return g.test(s)?s.replace(p,":-webkit-")+s.replace(p,":-moz-")+s:s;case 1e3:switch(o=s.substring(13).trim(),t=o.indexOf("-")+1,o.charCodeAt(0)+o.charCodeAt(t)){case 226:o=s.replace(N,"tb");break;case 232:o=s.replace(N,"tb-rl");break;case 220:o=s.replace(N,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+o+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(t=(s=e).length-10,o=(33===s.charCodeAt(t)?s.substring(0,t):s).substring(e.indexOf(":",7)+1).trim(),n=o.charCodeAt(0)+(0|o.charCodeAt(7))){case 203:if(111>o.charCodeAt(8))break;case 115:s=s.replace(o,"-webkit-"+o)+";"+s;break;case 207:case 102:s=s.replace(o,"-webkit-"+(102<n?"inline-":"")+"box")+";"+s.replace(o,"-webkit-"+o)+";"+s.replace(o,"-ms-"+o+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return o=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+o+"-ms-flex-"+o+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(M,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(M,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(o=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):s.replace(o,"-webkit-"+o)+s.replace(o,"-moz-"+o.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===r+a&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(b,"$1-webkit-$2")+s}return s}function c(e,t){var r=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),Z(2!==t?a:a.replace($,"$1"),r,t)}function n(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(z," or ($1)").substring(4):"("+t+")"}function o(e,t,r,a,s,i,c,n,o,l){for(var u,h=0,f=t;h<Y;++h)switch(u=V[h].call(d,e,f,r,a,s,i,c,n,o,l)){case void 0:case!1:case!0:case null:break;default:f=u}switch(f){case void 0:case!1:case!0:case null:case t:break;default:return f}}function l(e){switch(e){case void 0:case null:Y=V.length=0;break;default:switch(e.constructor){case Array:for(var t=0,r=e.length;t<r;++t)l(e[t]);break;case Function:V[Y++]=e;break;case Boolean:K=0|!!e}}return l}function u(e){for(var t in e){var r=e[t];switch(t){case"keyframe":J=0|r;break;case"global":D=0|r;break;case"cascade":H=0|r;break;case"compress":G=0|r;break;case"semicolon":q=0|r;break;case"preserve":B=0|r;break;case"prefix":Z=null,r?"function"!=typeof r?U=1:(U=2,Z=r):U=0}}return u}function d(t,a){if(void 0!==this&&this.constructor===d)return e(t);var s=t,i=s.charCodeAt(0);if(33>i&&(i=(s=s.trim()).charCodeAt(0)),0<J&&(Q=s.replace(A,91===i?"":"-")),i=1,1===H?te=s:ee=s,s=[te],0<Y){var c=o(-1,a,s,s,W,L,0,0,0,0);void 0!==c&&"string"==typeof c&&(a=c)}var n=r(X,s,a,0,0);return 0<Y&&void 0!==(c=o(-2,n,s,s,W,L,n.length,0,0,0))&&"string"!=typeof(n=c)&&(i=0),ee=te=Q="",F=0,L=W=1,0==G*i?n:n.replace(f,"").replace(_,"").replace(E,"$1").replace(T,"$1").replace(R," ")}var h=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,g=/zoo|gra/,b=/([,: ])(transform)/g,m=/,+\s*(?![^(]*[)])/g,k=/ +\s*(?![^(]*[)])/g,v=/ *[\0] */g,y=/,\r+?/g,w=/([\t\r\n ])*\f?&/g,C=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,A=/\W+/g,x=/@(k\w+)\s*(\S*)\s*/,S=/::(place)/g,O=/:(read-only)/g,_=/\s+(?=[{\];=:>])/g,E=/([[}=:>])\s+/g,T=/(\{[^{]+?);(?=\})/g,R=/\s{2,}/g,j=/([^\(])(:+) */g,N=/[svh]\w+-[tblr]{2}/,P=/\(\s*(.*)\s*\)/g,z=/([\s\S]*?);/g,M=/-self|flex-/g,$=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,L=1,W=1,F=0,H=1,U=1,D=1,G=0,q=0,B=0,X=[],V=[],Y=0,Z=null,K=0,J=1,Q="",ee="",te="";return d.use=l,d.set=u,void 0!==t&&u(t),d},w=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}},C="__emotion_styles",A={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,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},x=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e,t){!function(t){e.exports=t()}(n)}),S=/[A-Z]|^ms/g,O=w(function(e){return e.replace(S,"-$&").toLowerCase()}),_=function(e,t){return null==t||"boolean"==typeof t?"":1===A[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},E=function e(t){for(var r=t.length,a=0,s="";a<r;a++){var i=t[a];if(null!=i){var c=void 0;switch(typeof i){case"boolean":break;case"function":c=e([i()]);break;case"object":if(Array.isArray(i))c=e(i);else{c="";for(var n in i)i[n]&&n&&(c&&(c+=" "),c+=n)}break;default:c=i}c&&(s&&(s+=" "),s+=c)}}return s},T="undefined"!=typeof document,R=function(){var e=u.prototype;return e.inject=d,e.speedy=h,e.insert=f,e.flush=g,u}(),j=function(e,t){function r(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":if(void 0!==e[C]){var s=e.toString();return s}return r.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return a.call(this,e);default:var i=f.registered[e];return!1===t&&void 0!==i?i:e}}function a(e){if(k.has(e))return k.get(e);var t="";return Array.isArray(e)?e.forEach(function(e){t+=r.call(this,e,!1)},this):Object.keys(e).forEach(function(a){"object"!=typeof e[a]?void 0!==f.registered[e[a]]?t+=a+"{"+f.registered[e[a]]+"}":t+=O(a)+":"+_(a,e[a])+";":t+=a+"{"+r.call(this,e[a],!1)+"}"},this),k.set(e,t),t}function i(e,t){void 0===f.inserted[b]&&(l="",g(e,t),f.inserted[b]=l)}function c(e,t){var r="";return t.split(" ").forEach(function(t){void 0!==f.registered[t]?e.push(t):r+=t+" "}),r}function n(e,t){var r=[],a=c(r,e);return r.length<2?e:a+A(r,t)}function o(e){f.inserted[e]=!0}if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===t&&(t={});var l,u=t.key||"css",d=x(function(e){l+=e,T&&p.insert(e,m)}),h={keyframe:!1,global:!1,prefix:void 0===t.prefix||t.prefix,semicolon:!0},f={registered:{},inserted:{},nonce:t.nonce,key:u},p=new R(t);T&&p.inject();var g=new y(h);g.use(t.stylisPlugins)(d);var b,m="",k=new WeakMap,v=/label:\s*([^\s;\n{]+)\s*;/g,w=function(e){var t=!0,a="",i="";null==e||void 0===e.raw?(t=!1,a+=r.call(this,e,!1)):a+=e[0];for(var c=arguments.length,n=new Array(c>1?c-1:0),o=1;o<c;o++)n[o-1]=arguments[o];return n.forEach(function(s,i){a+=r.call(this,s,46===a.charCodeAt(a.length-1)),!0===t&&void 0!==e[i+1]&&(a+=e[i+1])},this),a=a.replace(v,function(e,t){return i+="-"+t,""}),b=s(a+i)+i,a},A=function(){var e=w.apply(this,arguments),t=u+"-"+b;return void 0===f.registered[t]&&(f.registered[t]=e),i("."+t,e),t};if(T){var S=document.querySelectorAll("[data-emotion-"+u+"]");Array.prototype.forEach.call(S,function(e){p.tags[0].parentNode.insertBefore(e,p.tags[0]),e.getAttribute("data-emotion-"+u).split(" ").forEach(o)})}var j={flush:function(){T&&(p.flush(),p.inject()),f.inserted={},f.registered={}},hydrate:function(e){e.forEach(o)},cx:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(E(t))},merge:n,getRegisteredStyles:c,injectGlobal:function(){i("",w.apply(this,arguments))},keyframes:function(){var e=w.apply(this,arguments),t="animation-"+b;return i("","@keyframes "+t+"{"+e+"}"),t},css:A,sheet:p,caches:f};return e.__SECRET_EMOTION__=j,j}("undefined"!=typeof global?global:{}),N=j.flush,P=j.hydrate,z=j.cx,M=j.merge,$=j.getRegisteredStyles,I=j.injectGlobal,L=j.keyframes,W=j.css,F=j.sheet,H=j.caches,U=Object.freeze({flush:N,hydrate:P,cx:z,merge:M,getRegisteredStyles:$,injectGlobal:I,keyframes:L,css:W,sheet:F,caches:H}),D="__EMOTION_THEMING__",G=(v={},v[D]=r.object,v),q=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|accept|acceptCharset|accessKey|action|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|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)|(on[A-Z].*)|((data|aria)-.*))$/,B=w(function(e){return q.test(e)}),X=function(e){return"theme"!==e&&"innerRef"!==e},V=function(){return!0},Y=function(e,t){for(var r=2,a=arguments.length;r<a;r++){var s=arguments[r],i=void 0;for(i in s)e(i)&&(t[i]=s[i])}return t},Z=function(e,t){var r=function(s,i){function c(){return"."+l}var n,o,l;void 0!==i&&(n=i.e,o=i.label,l=i.target);var u=s.__emotion_real===s,d=void 0===n?u&&s.__emotion_base||s:s,h="string"==typeof d&&d.charAt(0)===d.charAt(0).toLowerCase()?B:X;return function(){function f(){var r=this.props,a=this.state;this.mergedProps=Y(V,{},r,{theme:null!==a&&a.theme||r.theme||{}});var s="",i=[];return r.className&&(s+=void 0===n?e.getRegisteredStyles(i,r.className):r.className+" "),s+=void 0===n?e.css.apply(this,g.concat(i)):n,void 0!==l&&(s+=" "+l),t.createElement(d,Y(h,{},r,{className:s,ref:r.innerRef}))}var p=arguments,g=u&&void 0!==s[C]?s[C].slice(0):[];if(void 0!==o&&g.push("label:"+o+";"),void 0===n)if(null==p[0]||void 0===p[0].raw)g.push.apply(g,p);else{g.push(p[0][0]);for(var b=p.length,v=1;v<b;v++)g.push(p[v],p[0][v])}var y=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var r=t.prototype;return r.componentWillMount=m,r.componentWillUnmount=k,r.render=f,t}(t.Component);return y.displayName=void 0!==o?o:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",y.contextTypes=G,y[C]=g,y.__emotion_base=d,y.__emotion_real=y,Object.defineProperty(y,"toString",{enumerable:!1,value:c}),y.withComponent=function(e,t){return r(e,void 0!==t?Y(V,{},i,t):i).apply(void 0,g)},y}};return r}(U,t);e.default=Z,e.flush=N,e.hydrate=P,e.cx=z,e.merge=M,e.getRegisteredStyles=$,e.injectGlobal=I,e.keyframes=L,e.css=W,e.sheet=F,e.caches=H,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","react","prop-types"],t):t(e["react-emotion"]={},e.React,e.PropTypes)}(this,function(e,t,r){"use strict";function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function s(e){return i(e,e.length).toString(36)}function i(e,t){for(var r,a=e.length,s=t^a,i=0;a>=4;)r=1540483477*(65535&(r=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(r>>>16)&65535)<<16),s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),a-=4,++i;switch(a){case 3:s^=(255&e.charCodeAt(i+2))<<16;case 2:s^=(255&e.charCodeAt(i+1))<<8;case 1:s=1540483477*(65535&(s^=255&e.charCodeAt(i)))+((1540483477*(s>>>16)&65535)<<16)}return s^=s>>>13,s=1540483477*(65535&s)+((1540483477*(s>>>16)&65535)<<16),(s^=s>>>15)>>>0}function c(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,a,s,i,c,n,o,l,u,d){switch(r){case 1:if(0===u&&64===a.charCodeAt(0))return e(a+";"),"";break;case 2:if(0===l)return a+"/*|*/";break;case 3:switch(l){case 102:case 112:return e(s[0]+a),"";default:return a+(0===d?"/*|*/":"")}case-2:a.split("/*|*/}").forEach(t)}}}function n(){return c}function o(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 l(e){var t=document.createElement("style");return t.type="text/css",t.setAttribute("data-emotion",e.key||""),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),(void 0!==e.container?e.container:document.head).appendChild(t),t}function u(e){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=e}function d(){if(this.injected)throw new Error("already injected!");this.tags[0]=l(this.opts),this.injected=!0}function h(e){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!e}function f(e,t){if(this.isSpeedy){var r=o(this.tags[this.tags.length-1]);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else{var a=l(this.opts);this.tags.push(a),a.appendChild(document.createTextNode(e+(t||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(l(this.opts))}function p(e){return e.parentNode.removeChild(e)}function g(){this.tags.forEach(p),this.tags=[],this.ctr=0,this.injected=!1}function b(e){this.setState({theme:e})}function m(){void 0!==this.context[D]&&(this.unsubscribe=this.context[D].subscribe(b.bind(this)))}function k(){void 0!==this.unsubscribe&&this.context[D].unsubscribe(this.unsubscribe)}t=t&&t.hasOwnProperty("default")?t.default:t,r=r&&r.hasOwnProperty("default")?r.default:r;var v,y=function e(t){function r(e,t,s,l,u){for(var d,p,g,b,m=0,k=0,y=0,w=0,C=0,A=0,_=0,E=0,R=0,T=0,N=0,z=0,M=p=0,$=0,I=0,G=s.length,V=G-1,Z="",re="",ae="",se="";z<G;){if(g=s.charCodeAt(z),z===V&&0!==k+w+y+m&&(0!==k&&(g=47===k?10:47),w=y=m=0,G++,V++),0===k+w+y+m){if(z===V&&(0<p&&(Z=Z.replace(f,"")),0<Z.trim().length)){switch(g){case 32:case 9:case 59:case 13:case 10:break;default:Z+=s.charAt(z)}g=59}if(1===M)switch(g){case 123:case 125:case 59:case 34:case 39:case 40:case 41:case 44:M=0;case 9:case 13:case 10:case 32:break;default:for(M=0,I=z,d=g,z--,g=59;I<G;)switch(s.charCodeAt(I++)){case 10:case 13:case 59:++z,g=d,I=G;break;case 58:0<p&&(++z,g=d);case 123:I=G}}switch(g){case 123:for(d=(Z=Z.trim()).charCodeAt(0),E=1,I=++z;z<G;){switch(g=s.charCodeAt(z)){case 123:E++;break;case 125:E--}if(0===E)break;z++}switch(T=s.substring(I,z),0===d&&(d=(Z=Z.replace(h,"").trim()).charCodeAt(0)),d){case 64:switch(0<p&&(Z=Z.replace(f,"")),p=Z.charCodeAt(1)){case 100:case 109:case 115:case 45:d=t;break;default:d=X}if(T=r(t,d,T,p,u+1),I=T.length,0<B&&0===I&&(I=Z.length),0<Y&&(d=a(X,Z,$),b=o(3,T,d,t,W,L,I,p,u,l),Z=d.join(""),void 0!==b&&0===(I=(T=b.trim()).length)&&(p=0,T="")),0<I)switch(p){case 115:Z=Z.replace(P,n);case 100:case 109:case 45:T=Z+"{"+T+"}";break;case 107:T=(Z=Z.replace(x,"$1 $2"+(0<J?Q:"")))+"{"+T+"}",T=1===U||2===U&&c("@"+T,3)?"@-webkit-"+T+"@"+T:"@"+T;break;default:T=Z+T,112===l&&(re+=T,T="")}else T="";break;default:T=r(t,a(t,Z,$),T,l,u+1)}ae+=T,T=$=p=N=M=R=0,Z="",g=s.charCodeAt(++z);break;case 125:case 59:if(Z=(0<p?Z.replace(f,""):Z).trim(),1<(I=Z.length))switch(0===N&&(45===(d=Z.charCodeAt(0))||96<d&&123>d)&&(I=(Z=Z.replace(" ",":")).length),0<Y&&void 0!==(b=o(1,Z,t,e,W,L,re.length,l,u,l))&&0===(I=(Z=b.trim()).length)&&(Z="\0\0"),d=Z.charCodeAt(0),p=Z.charCodeAt(1),d+p){case 0:break;case 169:case 163:se+=Z+s.charAt(z);break;default:58!==Z.charCodeAt(I-1)&&(re+=i(Z,d,p,Z.charCodeAt(2)))}$=p=N=M=R=0,Z="",g=s.charCodeAt(++z)}}switch(g){case 13:case 10:if(0===k+w+y+m+q)switch(_){case 41:case 39:case 34:case 64:case 126:case 62:case 42:case 43:case 47:case 45:case 58:case 44:case 59:case 123:case 125:break;default:0<N&&(M=1)}47===k?k=0:0===H+R&&(p=1,Z+="\0"),0<Y*K&&o(0,Z,t,e,W,L,re.length,l,u,l),L=1,W++;break;case 59:case 125:if(0===k+w+y+m){L++;break}default:switch(L++,d=s.charAt(z),g){case 9:case 32:if(0===w+m+k)switch(C){case 44:case 58:case 9:case 32:d="";break;default:32!==g&&(d=" ")}break;case 0:d="\\0";break;case 12:d="\\f";break;case 11:d="\\v";break;case 38:0===w+k+m&&0<H&&(p=$=1,d="\f"+d);break;case 108:if(0===w+k+m+F&&0<N)switch(z-N){case 2:112===C&&58===s.charCodeAt(z-3)&&(F=C);case 8:111===A&&(F=A)}break;case 58:0===w+k+m&&(N=z);break;case 44:0===k+y+w+m&&(p=1,d+="\r");break;case 34:case 39:0===k&&(w=w===g?0:0===w?g:w);break;case 91:0===w+k+y&&m++;break;case 93:0===w+k+y&&m--;break;case 41:0===w+k+m&&y--;break;case 40:if(0===w+k+m){if(0===R)switch(2*C+3*A){case 533:break;default:E=0,R=1}y++}break;case 64:0===k+y+w+m+N+T&&(T=1);break;case 42:case 47:if(!(0<w+m+y))switch(k){case 0:switch(2*g+3*s.charCodeAt(z+1)){case 235:k=47;break;case 220:I=z,k=42}break;case 42:47===g&&42===C&&(33===s.charCodeAt(I+2)&&(re+=s.substring(I,z+1)),d="",k=0)}}if(0===k){if(0===H+w+m+T&&107!==l&&59!==g)switch(g){case 44:case 126:case 62:case 43:case 41:case 40:if(0===R){switch(C){case 9:case 32:case 10:case 13:d+="\0";break;default:d="\0"+d+(44===g?"":"\0")}p=1}else switch(g){case 40:R=++E;break;case 41:0==(R=--E)&&(p=1,d+="\0")}break;case 9:case 32:switch(C){case 0:case 123:case 125:case 59:case 44:case 12:case 9:case 32:case 10:case 13:break;default:0===R&&(p=1,d+="\0")}}Z+=d,32!==g&&9!==g&&(_=g)}}A=C,C=g,z++}if(I=re.length,0<B&&0===I&&0===ae.length&&0===t[0].length==!1&&(109!==l||1===t.length&&(0<H?ee:te)===t[0])&&(I=t.join(",").length+2),0<I){if(0===H&&107!==l){for(s=0,m=t.length,k=Array(m);s<m;++s){for(A="",_=0,G=(C=t[s].split(v)).length;_<G;++_)if(!(0===(E=(w=C[_]).length)&&1<G)){if(z=A.charCodeAt(A.length-1),$=w.charCodeAt(0),y="",0!==_)switch(z){case 42:case 126:case 62:case 43:case 32:case 40:break;default:y=" "}switch($){case 38:w=y+ee;case 126:case 62:case 43:case 32:case 41:case 40:break;case 91:w=y+w+ee;break;case 58:switch(2*w.charCodeAt(1)+3*w.charCodeAt(2)){case 530:if(0<D){w=y+w.substring(8,E-1);break}default:(1>_||1>C[_-1].length)&&(w=y+ee+w)}break;case 44:y="";default:w=1<E&&0<w.indexOf(":")?y+w.replace(j,"$1"+ee+"$2"):y+w+ee}A+=w}k[s]=A.replace(f,"").trim()}t=k}if(d=t,0<Y&&void 0!==(b=o(2,re,d,e,W,L,I,l,u,l))&&0===(re=b).length)return se+re+ae;if(re=d.join(",")+"{"+re+"}",0!=U*F){switch(2!==U||c(re,2)||(F=0),F){case 111:re=re.replace(O,":-moz-$1")+re;break;case 112:re=re.replace(S,"::-webkit-input-$1")+re.replace(S,"::-moz-$1")+re.replace(S,":-ms-input-$1")+re}F=0}}return se+re+ae}function a(e,t,r){var a=t.trim().split(y);t=a;var i=a.length,c=e.length;switch(c){case 0:case 1:var n=0;for(e=0===c?"":e[0]+" ";n<i;++n)t[n]=s(e,t[n],r,c).trim();break;default:var o=n=0;for(t=[];n<i;++n)for(var l=0;l<c;++l)t[o++]=s(e[l]+" ",a[n],r,c).trim()}return t}function s(e,t,r,a){var s=t.charCodeAt(0);switch(33>s&&(s=(t=t.trim()).charCodeAt(0)),s){case 38:switch(H+a){case 0:case 1:if(0===e.trim().length)break;default:return t.replace(w,"$1"+e.trim())}break;case 58:switch(t.charCodeAt(1)){case 103:if(0<D&&0<H)return t.replace(C,"$1").replace(w,"$1"+te);break;default:return e.trim()+t.replace(w,"$1"+e.trim())}default:if(0<r*H&&0<t.indexOf("\f"))return t.replace(w,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,r,a){var s=e+";",n=2*t+3*r+4*a;if(944===n){e=s.length;var o=s.indexOf(":",9)+1;switch(t=s.substring(0,o).trim(),r=s.substring(o,e-1).trim(),s.charCodeAt(9)*J){case 0:break;case 45:if(110!==s.charCodeAt(10))break;default:for(o=a=0,e=(s=r.split((r="",m))).length;a<e;o=0,++a){for(var l=(n=s[a]).split(k);n=l[o];){var u=n.charCodeAt(0);if(1===J&&(64<u&&90>u||96<u&&123>u||95===u||45===u&&45!==n.charCodeAt(1)))switch(isNaN(parseFloat(n))+(-1!==n.indexOf("("))){case 1:switch(n){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:n+=Q}}l[o++]=n}r+=(0===a?"":",")+l.join(" ")}}return r=t+r+";",1===U||2===U&&c(r,1)?"-webkit-"+r+r:r}if(0===U||2===U&&!c(s,1))return s;switch(n){case 1015:return 97===s.charCodeAt(10)?"-webkit-"+s+s:s;case 951:return 116===s.charCodeAt(3)?"-webkit-"+s+s:s;case 963:return 110===s.charCodeAt(5)?"-webkit-"+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return"-webkit-"+s+s;case 978:return"-webkit-"+s+"-moz-"+s+s;case 1019:case 983:return"-webkit-"+s+"-moz-"+s+"-ms-"+s+s;case 883:return 45===s.charCodeAt(8)?"-webkit-"+s+s:s;case 932:if(45===s.charCodeAt(4))switch(s.charCodeAt(5)){case 103:return"-webkit-box-"+s.replace("-grow","")+"-webkit-"+s+"-ms-"+s.replace("grow","positive")+s;case 115:return"-webkit-"+s+"-ms-"+s.replace("shrink","negative")+s;case 98:return"-webkit-"+s+"-ms-"+s.replace("basis","preferred-size")+s}return"-webkit-"+s+"-ms-"+s+s;case 964:return"-webkit-"+s+"-ms-flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return"-webkit-box-pack"+(o=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+s+"-ms-flex-pack"+o+s;case 1005:return g.test(s)?s.replace(p,":-webkit-")+s.replace(p,":-moz-")+s:s;case 1e3:switch(o=s.substring(13).trim(),t=o.indexOf("-")+1,o.charCodeAt(0)+o.charCodeAt(t)){case 226:o=s.replace(N,"tb");break;case 232:o=s.replace(N,"tb-rl");break;case 220:o=s.replace(N,"lr");break;default:return s}return"-webkit-"+s+"-ms-"+o+s;case 1017:if(-1===s.indexOf("sticky",9))break;case 975:switch(t=(s=e).length-10,o=(33===s.charCodeAt(t)?s.substring(0,t):s).substring(e.indexOf(":",7)+1).trim(),n=o.charCodeAt(0)+(0|o.charCodeAt(7))){case 203:if(111>o.charCodeAt(8))break;case 115:s=s.replace(o,"-webkit-"+o)+";"+s;break;case 207:case 102:s=s.replace(o,"-webkit-"+(102<n?"inline-":"")+"box")+";"+s.replace(o,"-webkit-"+o)+";"+s.replace(o,"-ms-"+o+"box")+";"+s}return s+";";case 938:if(45===s.charCodeAt(5))switch(s.charCodeAt(6)){case 105:return o=s.replace("-items",""),"-webkit-"+s+"-webkit-box-"+o+"-ms-flex-"+o+s;case 115:return"-webkit-"+s+"-ms-flex-item-"+s.replace(M,"")+s;default:return"-webkit-"+s+"-ms-flex-line-pack"+s.replace("align-content","").replace(M,"")+s}break;case 973:case 989:if(45!==s.charCodeAt(3)||122===s.charCodeAt(4))break;case 931:case 953:if(!0===I.test(e))return 115===(o=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):s.replace(o,"-webkit-"+o)+s.replace(o,"-moz-"+o.replace("fill-",""))+s;break;case 962:if(s="-webkit-"+s+(102===s.charCodeAt(5)?"-ms-"+s:"")+s,211===r+a&&105===s.charCodeAt(13)&&0<s.indexOf("transform",10))return s.substring(0,s.indexOf(";",27)+1).replace(b,"$1-webkit-$2")+s}return s}function c(e,t){var r=e.indexOf(1===t?":":"{"),a=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),Z(2!==t?a:a.replace($,"$1"),r,t)}function n(e,t){var r=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(z," or ($1)").substring(4):"("+t+")"}function o(e,t,r,a,s,i,c,n,o,l){for(var u,h=0,f=t;h<Y;++h)switch(u=V[h].call(d,e,f,r,a,s,i,c,n,o,l)){case void 0:case!1:case!0:case null:break;default:f=u}switch(f){case void 0:case!1:case!0:case null:case t:break;default:return f}}function l(e){switch(e){case void 0:case null:Y=V.length=0;break;default:switch(e.constructor){case Array:for(var t=0,r=e.length;t<r;++t)l(e[t]);break;case Function:V[Y++]=e;break;case Boolean:K=0|!!e}}return l}function u(e){for(var t in e){var r=e[t];switch(t){case"keyframe":J=0|r;break;case"global":D=0|r;break;case"cascade":H=0|r;break;case"compress":G=0|r;break;case"semicolon":q=0|r;break;case"preserve":B=0|r;break;case"prefix":Z=null,r?"function"!=typeof r?U=1:(U=2,Z=r):U=0}}return u}function d(t,a){if(void 0!==this&&this.constructor===d)return e(t);var s=t,i=s.charCodeAt(0);if(33>i&&(i=(s=s.trim()).charCodeAt(0)),0<J&&(Q=s.replace(A,91===i?"":"-")),i=1,1===H?te=s:ee=s,s=[te],0<Y){var c=o(-1,a,s,s,W,L,0,0,0,0);void 0!==c&&"string"==typeof c&&(a=c)}var n=r(X,s,a,0,0);return 0<Y&&void 0!==(c=o(-2,n,s,s,W,L,n.length,0,0,0))&&"string"!=typeof(n=c)&&(i=0),ee=te=Q="",F=0,L=W=1,0==G*i?n:n.replace(f,"").replace(_,"").replace(E,"$1").replace(R,"$1").replace(T," ")}var h=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,g=/zoo|gra/,b=/([,: ])(transform)/g,m=/,+\s*(?![^(]*[)])/g,k=/ +\s*(?![^(]*[)])/g,v=/ *[\0] */g,y=/,\r+?/g,w=/([\t\r\n ])*\f?&/g,C=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,A=/\W+/g,x=/@(k\w+)\s*(\S*)\s*/,S=/::(place)/g,O=/:(read-only)/g,_=/\s+(?=[{\];=:>])/g,E=/([[}=:>])\s+/g,R=/(\{[^{]+?);(?=\})/g,T=/\s{2,}/g,j=/([^\(])(:+) */g,N=/[svh]\w+-[tblr]{2}/,P=/\(\s*(.*)\s*\)/g,z=/([\s\S]*?);/g,M=/-self|flex-/g,$=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,L=1,W=1,F=0,H=1,U=1,D=1,G=0,q=0,B=0,X=[],V=[],Y=0,Z=null,K=0,J=1,Q="",ee="",te="";return d.use=l,d.set=u,void 0!==t&&u(t),d},w=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}},C="__emotion_styles",A={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,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},x=function(e,t){return t={exports:{}},e(t,t.exports),t.exports}(function(e,t){!function(t){e.exports=t()}(n)}),S=/[A-Z]|^ms/g,O=w(function(e){return e.replace(S,"-$&").toLowerCase()}),_=function(e,t){return null==t||"boolean"==typeof t?"":1===A[e]||45===e.charCodeAt(1)||isNaN(t)||0===t?t:t+"px"},E=function e(t){for(var r=t.length,a=0,s="";a<r;a++){var i=t[a];if(null!=i){var c=void 0;switch(typeof i){case"boolean":break;case"function":c=e([i()]);break;case"object":if(Array.isArray(i))c=e(i);else{c="";for(var n in i)i[n]&&n&&(c&&(c+=" "),c+=n)}break;default:c=i}c&&(s&&(s+=" "),s+=c)}}return s},R="undefined"!=typeof document,T=function(){var e=u.prototype;return e.inject=d,e.speedy=h,e.insert=f,e.flush=g,u}(),j=function(e,t){function r(e,t){if(null==e)return"";switch(typeof e){case"boolean":return"";case"function":if(void 0!==e[C]){var s=e.toString();return s}return r.call(this,void 0===this?e():e(this.mergedProps,this.context),t);case"object":return a.call(this,e);default:var i=f.registered[e];return!1===t&&void 0!==i?i:e}}function a(e){if(v.has(e))return v.get(e);var t="";return Array.isArray(e)?e.forEach(function(e){t+=r.call(this,e,!1)},this):Object.keys(e).forEach(function(a){"object"!=typeof e[a]?void 0!==f.registered[e[a]]?t+=a+"{"+f.registered[e[a]]+"}":t+=O(a)+":"+_(a,e[a])+";":t+=a+"{"+r.call(this,e[a],!1)+"}"},this),v.set(e,t),t}function i(e,t){void 0===f.inserted[b]&&(l="",g(e,t),f.inserted[b]=l)}function c(e,t){var r="";return t.split(" ").forEach(function(t){void 0!==f.registered[t]?e.push(t):r+=t+" "}),r}function n(e,t){var r=[],a=c(r,e);return r.length<2?e:a+S(r,t)}function o(e){f.inserted[e]=!0}if(void 0!==e.__SECRET_EMOTION__)return e.__SECRET_EMOTION__;void 0===t&&(t={});var l,u=t.key||"css",d=x(function(e){l+=e,R&&p.insert(e,k)}),h={keyframe:!1,global:!1,prefix:void 0===t.prefix||t.prefix,semicolon:!0},f={registered:{},inserted:{},nonce:t.nonce,key:u},p=new T(t);R&&p.inject();var g=new y(h);g.use(t.stylisPlugins)(d);var b,m,k="",v=new WeakMap,w=/label:\s*([^\s;\n{]+)\s*;/g,A=function(e){var t=!0,a="",i="";null==e||void 0===e.raw?(t=!1,a+=r.call(this,e,!1)):a+=e[0];for(var c=arguments.length,n=new Array(c>1?c-1:0),o=1;o<c;o++)n[o-1]=arguments[o];return n.forEach(function(s,i){a+=r.call(this,s,46===a.charCodeAt(a.length-1)),!0===t&&void 0!==e[i+1]&&(a+=e[i+1])},this),m=a,a=a.replace(w,function(e,t){return i+="-"+t,""}),b=s(a+i)+i,a},S=function(){var e=A.apply(this,arguments),t=u+"-"+b;return void 0===f.registered[t]&&(f.registered[t]=m),i("."+t,e),t};if(R){var j=document.querySelectorAll("[data-emotion-"+u+"]");Array.prototype.forEach.call(j,function(e){p.tags[0].parentNode.insertBefore(e,p.tags[0]),e.getAttribute("data-emotion-"+u).split(" ").forEach(o)})}var N={flush:function(){R&&(p.flush(),p.inject()),f.inserted={},f.registered={}},hydrate:function(e){e.forEach(o)},cx:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(E(t))},merge:n,getRegisteredStyles:c,injectGlobal:function(){i("",A.apply(this,arguments))},keyframes:function(){var e=A.apply(this,arguments),t="animation-"+b;return i("","@keyframes "+t+"{"+e+"}"),t},css:S,sheet:p,caches:f};return e.__SECRET_EMOTION__=N,N}("undefined"!=typeof global?global:{}),N=j.flush,P=j.hydrate,z=j.cx,M=j.merge,$=j.getRegisteredStyles,I=j.injectGlobal,L=j.keyframes,W=j.css,F=j.sheet,H=j.caches,U=Object.freeze({flush:N,hydrate:P,cx:z,merge:M,getRegisteredStyles:$,injectGlobal:I,keyframes:L,css:W,sheet:F,caches:H}),D="__EMOTION_THEMING__",G=(v={},v[D]=r.object,v),q=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|accept|acceptCharset|accessKey|action|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|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|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|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|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)|(on[A-Z].*)|((data|aria)-.*))$/,B=w(RegExp.prototype.test.bind(q)),X=function(e){return"theme"!==e&&"innerRef"!==e},V=function(){return!0},Y=function(e,t){for(var r=2,a=arguments.length;r<a;r++){var s=arguments[r],i=void 0;for(i in s)e(i)&&(t[i]=s[i])}return t},Z=function(e,t){var r=function(s,i){function c(){return"."+l}var n,o,l;void 0!==i&&(n=i.e,o=i.label,l=i.target);var u=s.__emotion_real===s,d=void 0===n?u&&s.__emotion_base||s:s,h="string"==typeof d&&d.charAt(0)===d.charAt(0).toLowerCase()?B:X;return function(){function f(){var r=this.props,a=this.state;this.mergedProps=Y(V,{},r,{theme:null!==a&&a.theme||r.theme||{}});var s="",i=[];return r.className&&(s+=void 0===n?e.getRegisteredStyles(i,r.className):r.className+" "),s+=void 0===n?e.css.apply(this,g.concat(i)):n,void 0!==l&&(s+=" "+l),t.createElement(d,Y(h,{},r,{className:s,ref:r.innerRef}))}var p=arguments,g=u&&void 0!==s[C]?s[C].slice(0):[];if(void 0!==o&&g.push("label:"+o+";"),void 0===n)if(null==p[0]||void 0===p[0].raw)g.push.apply(g,p);else{g.push(p[0][0]);for(var b=p.length,v=1;v<b;v++)g.push(p[v],p[0][v])}var y=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var r=t.prototype;return r.componentWillMount=m,r.componentWillUnmount=k,r.render=f,t}(t.Component);return y.displayName=void 0!==o?o:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",y.contextTypes=G,y[C]=g,y.__emotion_base=d,y.__emotion_real=y,Object.defineProperty(y,"toString",{enumerable:!1,value:c}),y.withComponent=function(e,t){return r(e,void 0!==t?Y(V,{},i,t):i).apply(void 0,g)},y}};return r}(U,t);e.default=Z,e.flush=N,e.hydrate=P,e.cx=z,e.merge=M,e.getRegisteredStyles=$,e.injectGlobal=I,e.keyframes=L,e.css=W,e.sheet=F,e.caches=H,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=emotion.umd.min.js.map
{
"name": "react-emotion",
"version": "9.1.0",
"version": "9.1.1",
"description": "The Next Generation of CSS-in-JS, for React projects.",

@@ -23,6 +23,6 @@ "main": "dist/index.cjs.js",

"babel-plugin-emotion": "^9.1.0",
"create-emotion-styled": "^9.1.0"
"create-emotion-styled": "^9.1.1"
},
"peerDependencies": {
"emotion": "^9.1.0"
"emotion": "^9.1.1"
},

@@ -33,3 +33,3 @@ "devDependencies": {

"dtslint": "^0.2.0",
"emotion": "^9.1.0",
"emotion": "^9.1.1",
"npm-run-all": "^4.0.2",

@@ -36,0 +36,0 @@ "rimraf": "^2.6.1",

@@ -62,3 +62,3 @@ // TypeScript Version: 2.3

strings: TemplateStringsArray,
...vars: Array<Interpolation<ThemedProps<Props & IntrinsicProps, Theme>>>,
...vars: Array<Interpolation<ThemedProps<Props & IntrinsicProps, Theme>>>
): StyledComponent<Props, Theme, IntrinsicProps>;

@@ -82,3 +82,3 @@

strings: TemplateStringsArray,
...vars: Array<Interpolation<ThemedProps<Props & JSX.IntrinsicElements[Tag], Theme>>>,
...vars: Array<Interpolation<ThemedProps<Props & JSX.IntrinsicElements[Tag], Theme>>>
): StyledComponent<Props, Theme, ElementProps<Tag>>

@@ -85,0 +85,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc