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

@emotion/cache

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emotion/cache - npm Package Compare versions

Comparing version 10.0.0-beta.6 to 10.0.0-beta.7

2

dist/index.min.js

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.emotionCache=t()}(this,function(){"use strict";var h=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}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,r=(a=this,(c=document.createElement("style")).setAttribute("data-emotion",a.key),void 0!==a.nonce&&c.setAttribute("nonce",a.nonce),c.appendChild(document.createTextNode("")),c);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,c,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<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(s);try{var n=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,n?0:i.cssRules.length)}catch(e){}}else s.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}();function l(e){function z(e,t,r){var a=t.trim().split(u),c=(t=a).length,s=e.length;switch(s){case 0:case 1:var i=0;for(e=0===s?"":e[0]+" ";i<c;++i)t[i]=h(e,t[i],r).trim();break;default:var n=i=0;for(t=[];i<c;++i)for(var o=0;o<s;++o)t[n++]=h(e[o]+" ",a[i],r).trim()}return t}function h(e,t,r){var a=t.charCodeAt(0);switch(a<33&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(c,"$1"+e.trim());case 58:return e.trim()+t.replace(c,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(c,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function E(e,t,r,a){var c=e+";",s=2*t+3*r+4*a;if(944===s){e=c.indexOf(":",9)+1;var i=c.substring(e,c.length-1).trim();return i=c.substring(0,e).trim()+i+";",1===J||2===J&&N(i,1)?"-webkit-"+i+i:i}if(0===J||2===J&&!N(c,1))return c;switch(s){case 1015:return 97===c.charCodeAt(10)?"-webkit-"+c+c:c;case 951:return 116===c.charCodeAt(3)?"-webkit-"+c+c:c;case 963:return 110===c.charCodeAt(5)?"-webkit-"+c+c:c;case 1009:if(100!==c.charCodeAt(4))break;case 969:case 942:return"-webkit-"+c+c;case 978:return"-webkit-"+c+"-moz-"+c+c;case 1019:case 983:return"-webkit-"+c+"-moz-"+c+"-ms-"+c+c;case 883:if(45===c.charCodeAt(8))return"-webkit-"+c+c;if(0<c.indexOf("image-set(",11))return c.replace(p,"$1-webkit-$2")+c;break;case 932:if(45===c.charCodeAt(4))switch(c.charCodeAt(5)){case 103:return"-webkit-box-"+c.replace("-grow","")+"-webkit-"+c+"-ms-"+c.replace("grow","positive")+c;case 115:return"-webkit-"+c+"-ms-"+c.replace("shrink","negative")+c;case 98:return"-webkit-"+c+"-ms-"+c.replace("basis","preferred-size")+c}return"-webkit-"+c+"-ms-"+c+c;case 964:return"-webkit-"+c+"-ms-flex-"+c+c;case 1023:if(99!==c.charCodeAt(8))break;return"-webkit-box-pack"+(i=c.substring(c.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+c+"-ms-flex-pack"+i+c;case 1005:return o.test(c)?c.replace(n,":-webkit-")+c.replace(n,":-moz-")+c:c;case 1e3:switch(t=(i=c.substring(13).trim()).indexOf("-")+1,i.charCodeAt(0)+i.charCodeAt(t)){case 226:i=c.replace(f,"tb");break;case 232:i=c.replace(f,"tb-rl");break;case 220:i=c.replace(f,"lr");break;default:return c}return"-webkit-"+c+"-ms-"+i+c;case 1017:if(-1===c.indexOf("sticky",9))break;case 975:switch(t=(c=e).length-10,s=(i=(33===c.charCodeAt(t)?c.substring(0,t):c).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|i.charCodeAt(7))){case 203:if(i.charCodeAt(8)<111)break;case 115:c=c.replace(i,"-webkit-"+i)+";"+c;break;case 207:case 102:c=c.replace(i,"-webkit-"+(102<s?"inline-":"")+"box")+";"+c.replace(i,"-webkit-"+i)+";"+c.replace(i,"-ms-"+i+"box")+";"+c}return c+";";case 938:if(45===c.charCodeAt(5))switch(c.charCodeAt(6)){case 105:return i=c.replace("-items",""),"-webkit-"+c+"-webkit-box-"+i+"-ms-flex-"+i+c;case 115:return"-webkit-"+c+"-ms-flex-item-"+c.replace(b,"")+c;default:return"-webkit-"+c+"-ms-flex-line-pack"+c.replace("align-content","").replace(b,"")+c}break;case 973:case 989:if(45!==c.charCodeAt(3)||122===c.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(i=e.substring(e.indexOf(":")+1)).charCodeAt(0)?E(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):c.replace(i,"-webkit-"+i)+c.replace(i,"-moz-"+i.replace("fill-",""))+c;break;case 962:if(c="-webkit-"+c+(102===c.charCodeAt(5)?"-ms-"+c:"")+c,211===r+a&&105===c.charCodeAt(13)&&0<c.indexOf("transform",10))return c.substring(0,c.indexOf(";",27)+1).replace(l,"$1-webkit-$2")+c}return c}function N(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),i(2!==t?a:a.replace(s,"$1"),r,t)}function j(e,t){var r=E(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(a," or ($1)").substring(4):"("+t+")"}function B(e,t,r,a,c,s,i,n,o,h){for(var l,u=0,f=t;u<L;++u)switch(l=w[u].call(d,e,f,r,a,c,s,i,n,o,h)){case void 0:case!1:case!0:case null:break;default:f=l}if(f!==t)return f}function t(e){return void 0!==(e=e.prefix)&&(i=null,e?"function"!=typeof e?J=1:(J=2,i=e):J=0),t}function d(e,t){var r=e;if(r.charCodeAt(0)<33&&(r=r.trim()),r=[r],0<L){var a=B(-1,t,r,r,H,G,0,0,0,0);void 0!==a&&"string"==typeof a&&(t=a)}var c=function e(t,r,a,c,s){for(var i,n,o,h,l,u=0,f=0,d=0,b=0,k=0,p=0,w=o=i=0,g=0,m=0,A=0,C=0,v=a.length,y=v-1,x="",$="",O="",S="";g<v;){if(n=a.charCodeAt(g),g===y&&0!==f+b+d+u&&(0!==f&&(n=47===f?10:47),b=d=u=0,v++,y++),0===f+b+d+u){if(g===y&&(0<m&&(x=x.replace(T,"")),0<x.trim().length)){switch(n){case 32:case 9:case 59:case 13:case 10:break;default:x+=a.charAt(g)}n=59}switch(n){case 123:for(i=(x=x.trim()).charCodeAt(0),o=1,C=++g;g<v;){switch(n=a.charCodeAt(g)){case 123:o++;break;case 125:o--;break;case 47:switch(n=a.charCodeAt(g+1)){case 42:case 47:e:{for(w=g+1;w<y;++w)switch(a.charCodeAt(w)){case 47:if(42===n&&42===a.charCodeAt(w-1)&&g+2!==w){g=w+1;break e}break;case 10:if(47===n){g=w+1;break e}}g=w}}break;case 91:n++;case 40:n++;case 34:case 39:for(;g++<y&&a.charCodeAt(g)!==n;);}if(0===o)break;g++}switch(o=a.substring(C,g),0===i&&(i=(x=x.replace(R,"").trim()).charCodeAt(0)),i){case 64:switch(0<m&&(x=x.replace(T,"")),n=x.charCodeAt(1)){case 100:case 109:case 115:case 45:m=r;break;default:m=K}if(C=(o=e(r,m,o,n,s+1)).length,0<L&&(l=B(3,o,m=z(K,x,A),r,H,G,C,n,s,c),x=m.join(""),void 0!==l&&0===(C=(o=l.trim()).length)&&(n=0,o="")),0<C)switch(n){case 115:x=x.replace(D,j);case 100:case 109:case 45:o=x+"{"+o+"}";break;case 107:o=(x=x.replace(q,"$1 $2"))+"{"+o+"}",o=1===J||2===J&&N("@"+o,3)?"@-webkit-"+o+"@"+o:"@"+o;break;default:o=x+o,112===c&&($+=o,o="")}else o="";break;default:o=e(r,z(r,x,A),o,c,s+1)}O+=o,o=A=m=w=i=0,x="",n=a.charCodeAt(++g);break;case 125:case 59:if(1<(C=(x=(0<m?x.replace(T,""):x).trim()).length))switch(0===w&&(i=x.charCodeAt(0),45===i||96<i&&i<123)&&(C=(x=x.replace(" ",":")).length),0<L&&void 0!==(l=B(1,x,r,t,H,G,$.length,c,s,c))&&0===(C=(x=l.trim()).length)&&(x="\0\0"),i=x.charCodeAt(0),n=x.charCodeAt(1),i){case 0:break;case 64:if(105===n||99===n){S+=x+a.charAt(g);break}default:58!==x.charCodeAt(C-1)&&($+=E(x,i,n,x.charCodeAt(2)))}A=m=w=i=0,x="",n=a.charCodeAt(++g)}}switch(n){case 13:case 10:47===f?f=0:0===1+i&&107!==c&&0<x.length&&(m=1,x+="\0"),0<L*M&&B(0,x,r,t,H,G,$.length,c,s,c),G=1,H++;break;case 59:case 125:if(0===f+b+d+u){G++;break}default:switch(G++,h=a.charAt(g),n){case 9:case 32:if(0===b+u+f)switch(k){case 44:case 58:case 9:case 32:h="";break;default:32!==n&&(h=" ")}break;case 0:h="\\0";break;case 12:h="\\f";break;case 11:h="\\v";break;case 38:0===b+f+u&&(m=A=1,h="\f"+h);break;case 108:if(0===b+f+u+I&&0<w)switch(g-w){case 2:112===k&&58===a.charCodeAt(g-3)&&(I=k);case 8:111===p&&(I=p)}break;case 58:0===b+f+u&&(w=g);break;case 44:0===f+d+b+u&&(m=1,h+="\r");break;case 34:case 39:0===f&&(b=b===n?0:0===b?n:b);break;case 91:0===b+f+d&&u++;break;case 93:0===b+f+d&&u--;break;case 41:0===b+f+u&&d--;break;case 40:if(0===b+f+u){if(0===i)switch(2*k+3*p){case 533:break;default:i=1}d++}break;case 64:0===f+d+b+u+w+o&&(o=1);break;case 42:case 47:if(!(0<b+u+d))switch(f){case 0:switch(2*n+3*a.charCodeAt(g+1)){case 235:f=47;break;case 220:C=g,f=42}break;case 42:47===n&&42===k&&C+2!==g&&(33===a.charCodeAt(C+2)&&($+=a.substring(C,g+1)),h="",f=0)}}0===f&&(x+=h)}p=k,k=n,g++}if(0<(C=$.length)){if(m=r,0<L&&void 0!==(l=B(2,$,m,t,H,G,C,c,s,c))&&0===($=l).length)return S+$+O;if($=m.join(",")+"{"+$+"}",0!=J*I){switch(2!==J||N($,2)||(I=0),I){case 111:$=$.replace(P,":-moz-$1")+$;break;case 112:$=$.replace(F,"::-webkit-input-$1")+$.replace(F,"::-moz-$1")+$.replace(F,":-ms-input-$1")+$}I=0}}return S+$+O}(K,r,t,0,0);return 0<L&&(void 0!==(a=B(-2,c,r,r,H,G,c.length,0,0,0))&&(c=a)),"",I=0,G=H=1,c}var R=/^\0+/g,T=/[\0\r\f]/g,n=/: */g,o=/zoo|gra/,l=/([,: ])(transform)/g,u=/,\r+?/g,c=/([\t\r\n ])*\f?&/g,q=/@(k\w+)\s*(\S*)\s*/,F=/::(place)/g,P=/:(read-only)/g,f=/[svh]\w+-[tblr]{2}/,D=/\(\s*(.*)\s*\)/g,a=/([\s\S]*?);/g,b=/-self|flex-/g,s=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,p=/([^-])(image-set\()/,G=1,H=1,I=0,J=1,K=[],w=[],L=0,i=null,M=0;return d.use=function e(t){switch(t){case void 0:case null:L=w.length=0;break;default:switch(t.constructor){case Array:for(var r=0,a=t.length;r<a;++r)e(t[r]);break;case Function:w[L++]=t;break;case Boolean:M=0|!!t}}return e},d.set=t,void 0!==e&&t(e),d}var u="/*|*/";function f(e){e&&d.current.insert(e+"}")}var d={current:null},b=function(e,t,r,a,c,s,i,n,o,h){switch(e){case 1:switch(t.charCodeAt(0)){case 64:if(0===o)return d.current.insert(t+";"),"";break;case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===n)return t+u;break;case 3:switch(n){case 102:case 112:return d.current.insert(r[0]+t),"";default:return t+(0===h?u:"")}case-2:t.split("/*|*/}").forEach(f)}};return function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a,s=new l(t),c={};a=e.container||document.head;var i,n=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(n,function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach(function(e){c[e]=!0}),e.parentNode!==a&&a.appendChild(e)}),s.use(e.stylisPlugins)(b),i=function(e,t,r,a){var c=t.name;d.current=r,s(e,t.styles),a&&(o.inserted[c]=!0)};var o={key:r,sheet:new h({key:r,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:c,registered:{},insert:i};return o}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.emotionCache=t()}(this,function(){"use strict";var h=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,(c=document.createElement("style")).setAttribute("data-emotion",a.key),void 0!==a.nonce&&c.setAttribute("nonce",a.nonce),c.appendChild(document.createTextNode("")),c);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,c,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<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(s);try{var n=105===e.charCodeAt(1)&&64===e.charCodeAt(0);i.insertRule(e,n?0:i.cssRules.length)}catch(e){}}else s.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}();function l(e){function z(e,t,r){var a=t.trim().split(u),c=(t=a).length,s=e.length;switch(s){case 0:case 1:var i=0;for(e=0===s?"":e[0]+" ";i<c;++i)t[i]=h(e,t[i],r).trim();break;default:var n=i=0;for(t=[];i<c;++i)for(var o=0;o<s;++o)t[n++]=h(e[o]+" ",a[i],r).trim()}return t}function h(e,t,r){var a=t.charCodeAt(0);switch(a<33&&(a=(t=t.trim()).charCodeAt(0)),a){case 38:return t.replace(c,"$1"+e.trim());case 58:return e.trim()+t.replace(c,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(c,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function E(e,t,r,a){var c=e+";",s=2*t+3*r+4*a;if(944===s){e=c.indexOf(":",9)+1;var i=c.substring(e,c.length-1).trim();return i=c.substring(0,e).trim()+i+";",1===J||2===J&&N(i,1)?"-webkit-"+i+i:i}if(0===J||2===J&&!N(c,1))return c;switch(s){case 1015:return 97===c.charCodeAt(10)?"-webkit-"+c+c:c;case 951:return 116===c.charCodeAt(3)?"-webkit-"+c+c:c;case 963:return 110===c.charCodeAt(5)?"-webkit-"+c+c:c;case 1009:if(100!==c.charCodeAt(4))break;case 969:case 942:return"-webkit-"+c+c;case 978:return"-webkit-"+c+"-moz-"+c+c;case 1019:case 983:return"-webkit-"+c+"-moz-"+c+"-ms-"+c+c;case 883:if(45===c.charCodeAt(8))return"-webkit-"+c+c;if(0<c.indexOf("image-set(",11))return c.replace(p,"$1-webkit-$2")+c;break;case 932:if(45===c.charCodeAt(4))switch(c.charCodeAt(5)){case 103:return"-webkit-box-"+c.replace("-grow","")+"-webkit-"+c+"-ms-"+c.replace("grow","positive")+c;case 115:return"-webkit-"+c+"-ms-"+c.replace("shrink","negative")+c;case 98:return"-webkit-"+c+"-ms-"+c.replace("basis","preferred-size")+c}return"-webkit-"+c+"-ms-"+c+c;case 964:return"-webkit-"+c+"-ms-flex-"+c+c;case 1023:if(99!==c.charCodeAt(8))break;return"-webkit-box-pack"+(i=c.substring(c.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+c+"-ms-flex-pack"+i+c;case 1005:return o.test(c)?c.replace(n,":-webkit-")+c.replace(n,":-moz-")+c:c;case 1e3:switch(t=(i=c.substring(13).trim()).indexOf("-")+1,i.charCodeAt(0)+i.charCodeAt(t)){case 226:i=c.replace(f,"tb");break;case 232:i=c.replace(f,"tb-rl");break;case 220:i=c.replace(f,"lr");break;default:return c}return"-webkit-"+c+"-ms-"+i+c;case 1017:if(-1===c.indexOf("sticky",9))break;case 975:switch(t=(c=e).length-10,s=(i=(33===c.charCodeAt(t)?c.substring(0,t):c).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|i.charCodeAt(7))){case 203:if(i.charCodeAt(8)<111)break;case 115:c=c.replace(i,"-webkit-"+i)+";"+c;break;case 207:case 102:c=c.replace(i,"-webkit-"+(102<s?"inline-":"")+"box")+";"+c.replace(i,"-webkit-"+i)+";"+c.replace(i,"-ms-"+i+"box")+";"+c}return c+";";case 938:if(45===c.charCodeAt(5))switch(c.charCodeAt(6)){case 105:return i=c.replace("-items",""),"-webkit-"+c+"-webkit-box-"+i+"-ms-flex-"+i+c;case 115:return"-webkit-"+c+"-ms-flex-item-"+c.replace(b,"")+c;default:return"-webkit-"+c+"-ms-flex-line-pack"+c.replace("align-content","").replace(b,"")+c}break;case 973:case 989:if(45!==c.charCodeAt(3)||122===c.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(i=e.substring(e.indexOf(":")+1)).charCodeAt(0)?E(e.replace("stretch","fill-available"),t,r,a).replace(":fill-available",":stretch"):c.replace(i,"-webkit-"+i)+c.replace(i,"-moz-"+i.replace("fill-",""))+c;break;case 962:if(c="-webkit-"+c+(102===c.charCodeAt(5)?"-ms-"+c:"")+c,211===r+a&&105===c.charCodeAt(13)&&0<c.indexOf("transform",10))return c.substring(0,c.indexOf(";",27)+1).replace(l,"$1-webkit-$2")+c}return c}function N(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),i(2!==t?a:a.replace(s,"$1"),r,t)}function j(e,t){var r=E(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(a," or ($1)").substring(4):"("+t+")"}function B(e,t,r,a,c,s,i,n,o,h){for(var l,u=0,f=t;u<L;++u)switch(l=w[u].call(d,e,f,r,a,c,s,i,n,o,h)){case void 0:case!1:case!0:case null:break;default:f=l}if(f!==t)return f}function t(e){return void 0!==(e=e.prefix)&&(i=null,e?"function"!=typeof e?J=1:(J=2,i=e):J=0),t}function d(e,t){var r=e;if(r.charCodeAt(0)<33&&(r=r.trim()),r=[r],0<L){var a=B(-1,t,r,r,H,G,0,0,0,0);void 0!==a&&"string"==typeof a&&(t=a)}var c=function e(t,r,a,c,s){for(var i,n,o,h,l,u=0,f=0,d=0,b=0,k=0,p=0,w=o=i=0,g=0,m=0,A=0,C=0,v=a.length,y=v-1,x="",$="",O="",S="";g<v;){if(n=a.charCodeAt(g),g===y&&0!==f+b+d+u&&(0!==f&&(n=47===f?10:47),b=d=u=0,v++,y++),0===f+b+d+u){if(g===y&&(0<m&&(x=x.replace(T,"")),0<x.trim().length)){switch(n){case 32:case 9:case 59:case 13:case 10:break;default:x+=a.charAt(g)}n=59}switch(n){case 123:for(i=(x=x.trim()).charCodeAt(0),o=1,C=++g;g<v;){switch(n=a.charCodeAt(g)){case 123:o++;break;case 125:o--;break;case 47:switch(n=a.charCodeAt(g+1)){case 42:case 47:e:{for(w=g+1;w<y;++w)switch(a.charCodeAt(w)){case 47:if(42===n&&42===a.charCodeAt(w-1)&&g+2!==w){g=w+1;break e}break;case 10:if(47===n){g=w+1;break e}}g=w}}break;case 91:n++;case 40:n++;case 34:case 39:for(;g++<y&&a.charCodeAt(g)!==n;);}if(0===o)break;g++}switch(o=a.substring(C,g),0===i&&(i=(x=x.replace(R,"").trim()).charCodeAt(0)),i){case 64:switch(0<m&&(x=x.replace(T,"")),n=x.charCodeAt(1)){case 100:case 109:case 115:case 45:m=r;break;default:m=K}if(C=(o=e(r,m,o,n,s+1)).length,0<L&&(l=B(3,o,m=z(K,x,A),r,H,G,C,n,s,c),x=m.join(""),void 0!==l&&0===(C=(o=l.trim()).length)&&(n=0,o="")),0<C)switch(n){case 115:x=x.replace(D,j);case 100:case 109:case 45:o=x+"{"+o+"}";break;case 107:o=(x=x.replace(q,"$1 $2"))+"{"+o+"}",o=1===J||2===J&&N("@"+o,3)?"@-webkit-"+o+"@"+o:"@"+o;break;default:o=x+o,112===c&&($+=o,o="")}else o="";break;default:o=e(r,z(r,x,A),o,c,s+1)}O+=o,o=A=m=w=i=0,x="",n=a.charCodeAt(++g);break;case 125:case 59:if(1<(C=(x=(0<m?x.replace(T,""):x).trim()).length))switch(0===w&&(i=x.charCodeAt(0),45===i||96<i&&i<123)&&(C=(x=x.replace(" ",":")).length),0<L&&void 0!==(l=B(1,x,r,t,H,G,$.length,c,s,c))&&0===(C=(x=l.trim()).length)&&(x="\0\0"),i=x.charCodeAt(0),n=x.charCodeAt(1),i){case 0:break;case 64:if(105===n||99===n){S+=x+a.charAt(g);break}default:58!==x.charCodeAt(C-1)&&($+=E(x,i,n,x.charCodeAt(2)))}A=m=w=i=0,x="",n=a.charCodeAt(++g)}}switch(n){case 13:case 10:47===f?f=0:0===1+i&&107!==c&&0<x.length&&(m=1,x+="\0"),0<L*M&&B(0,x,r,t,H,G,$.length,c,s,c),G=1,H++;break;case 59:case 125:if(0===f+b+d+u){G++;break}default:switch(G++,h=a.charAt(g),n){case 9:case 32:if(0===b+u+f)switch(k){case 44:case 58:case 9:case 32:h="";break;default:32!==n&&(h=" ")}break;case 0:h="\\0";break;case 12:h="\\f";break;case 11:h="\\v";break;case 38:0===b+f+u&&(m=A=1,h="\f"+h);break;case 108:if(0===b+f+u+I&&0<w)switch(g-w){case 2:112===k&&58===a.charCodeAt(g-3)&&(I=k);case 8:111===p&&(I=p)}break;case 58:0===b+f+u&&(w=g);break;case 44:0===f+d+b+u&&(m=1,h+="\r");break;case 34:case 39:0===f&&(b=b===n?0:0===b?n:b);break;case 91:0===b+f+d&&u++;break;case 93:0===b+f+d&&u--;break;case 41:0===b+f+u&&d--;break;case 40:if(0===b+f+u){if(0===i)switch(2*k+3*p){case 533:break;default:i=1}d++}break;case 64:0===f+d+b+u+w+o&&(o=1);break;case 42:case 47:if(!(0<b+u+d))switch(f){case 0:switch(2*n+3*a.charCodeAt(g+1)){case 235:f=47;break;case 220:C=g,f=42}break;case 42:47===n&&42===k&&C+2!==g&&(33===a.charCodeAt(C+2)&&($+=a.substring(C,g+1)),h="",f=0)}}0===f&&(x+=h)}p=k,k=n,g++}if(0<(C=$.length)){if(m=r,0<L&&void 0!==(l=B(2,$,m,t,H,G,C,c,s,c))&&0===($=l).length)return S+$+O;if($=m.join(",")+"{"+$+"}",0!=J*I){switch(2!==J||N($,2)||(I=0),I){case 111:$=$.replace(P,":-moz-$1")+$;break;case 112:$=$.replace(F,"::-webkit-input-$1")+$.replace(F,"::-moz-$1")+$.replace(F,":-ms-input-$1")+$}I=0}}return S+$+O}(K,r,t,0,0);return 0<L&&(void 0!==(a=B(-2,c,r,r,H,G,c.length,0,0,0))&&(c=a)),"",I=0,G=H=1,c}var R=/^\0+/g,T=/[\0\r\f]/g,n=/: */g,o=/zoo|gra/,l=/([,: ])(transform)/g,u=/,\r+?/g,c=/([\t\r\n ])*\f?&/g,q=/@(k\w+)\s*(\S*)\s*/,F=/::(place)/g,P=/:(read-only)/g,f=/[svh]\w+-[tblr]{2}/,D=/\(\s*(.*)\s*\)/g,a=/([\s\S]*?);/g,b=/-self|flex-/g,s=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,p=/([^-])(image-set\()/,G=1,H=1,I=0,J=1,K=[],w=[],L=0,i=null,M=0;return d.use=function e(t){switch(t){case void 0:case null:L=w.length=0;break;default:switch(t.constructor){case Array:for(var r=0,a=t.length;r<a;++r)e(t[r]);break;case Function:w[L++]=t;break;case Boolean:M=0|!!t}}return e},d.set=t,void 0!==e&&t(e),d}var u="/*|*/";function f(e){e&&d.current.insert(e+"}")}var d={current:null},b=function(e,t,r,a,c,s,i,n,o,h){switch(e){case 1:switch(t.charCodeAt(0)){case 64:if(0===o)return d.current.insert(t+";"),"";break;case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===n)return t+u;break;case 3:switch(n){case 102:case 112:return d.current.insert(r[0]+t),"";default:return t+(0===h?u:"")}case-2:t.split("/*|*/}").forEach(f)}};return function(e){void 0===e&&(e={});var t,r=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var a,s=new l(t),c={};a=e.container||document.head;var i,n=document.querySelectorAll("style[data-emotion-"+r+"]");Array.prototype.forEach.call(n,function(e){e.getAttribute("data-emotion-"+r).split(" ").forEach(function(e){c[e]=!0}),e.parentNode!==a&&a.appendChild(e)}),s.use(e.stylisPlugins)(b),i=function(e,t,r,a){var c=t.name;d.current=r,s(e,t.styles),a&&(o.inserted[c]=!0)};var o={key:r,sheet:new h({key:r,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:c,registered:{},insert:i};return o}});
//# sourceMappingURL=index.min.js.map
{
"name": "@emotion/cache",
"version": "10.0.0-beta.6",
"version": "10.0.0-beta.7",
"description": "emotion's cache",

@@ -14,5 +14,5 @@ "main": "dist/cache.cjs.js",

"dependencies": {
"@emotion/sheet": "^0.9.0",
"@emotion/sheet": "^0.9.1",
"@emotion/stylis": "^0.8.0",
"@emotion/utils": "^0.10.0",
"@emotion/utils": "^0.10.1",
"@emotion/weak-memoize": "^0.2.0"

@@ -19,0 +19,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