@emotion/css
Advanced tools
Comparing version 11.0.0-next.17 to 11.0.0-next.19
# emotion | ||
## 11.0.0-next.19 | ||
### Patch Changes | ||
- Updated dependencies [[`42df3f3b`](https://github.com/emotion-js/emotion/commit/42df3f3bc01526eed61cedba106d86b9e3807f9d), [`42df3f3b`](https://github.com/emotion-js/emotion/commit/42df3f3bc01526eed61cedba106d86b9e3807f9d)]: | ||
- @emotion/sheet@1.0.0-next.5 | ||
- @emotion/cache@11.0.0-next.19 | ||
## 11.0.0-next.17 | ||
@@ -4,0 +12,0 @@ |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).createEmotion=r()}(this,(function(){"use strict";var e=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.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 r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),r="-ms-",t="-moz-",n="-webkit-",a="comm",s="rule",c="decl",i=Math.abs,o=String.fromCharCode;function u(e){return e.trim()}function f(e,r,t){return e.replace(r,t)}function l(e,r){return 0|e.charCodeAt(r)}function d(e,r,t){return e.slice(r,t)}function h(e){return e.length}function p(e){return e.length}function v(e,r){return r.push(e),e}var y=1,m=1,g=0,b=0,w=0,k="";function x(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:y,column:m,length:c,return:""}}function $(e,r,t){return x(e,r.root,r.parent,t,r.props,r.children,0)}function A(){return w=b<g?l(k,b++):0,m++,10===w&&(m=1,y++),w}function C(){return l(k,b)}function S(){return b}function E(e,r){return d(k,e,r)}function _(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 O(e){return y=m=1,g=h(k=e),b=0,[]}function j(e){return k="",e}function R(e){return u(E(b-1,function e(r){for(;A();)switch(w){case r:return b;case 34:case 39:return e(34===r||39===r?r:w);case 40:41===r&&e(r);break;case 92:A()}return b}(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(w=C())&&w<33;)A();return _(e)>2||_(w)>3?"":" "}function G(e,r){for(;A()&&e+w!==57&&(e+w!==84||47!==C()););return"/*"+E(r,b-1)+"*"+o(47===e?e:A())}function I(e){for(;!_(C());)A();return E(e,b)}function N(e){return j(function e(r,t,n,a,s,c,i,u,l){var d=0,p=0,y=i,m=0,g=0,b=0,w=1,k=1,x=1,$=0,E="",_=s,O=c,j=a,N=E;for(;k;)switch(b=$,$=A()){case 34:case 39:case 91:case 40:N+=R($);break;case 9:case 10:case 13:case 32:N+=z(b);break;case 47:switch(C()){case 42:case 47:v(q(G(A(),S()),t,n),l);break;default:N+="/"}break;case 123*w:u[d++]=h(N)*x;case 125*w:case 59:case 0:switch($){case 0:case 125:k=0;case 59+p:g>0&&v(g>32?M(N+";",a,n,y-1):M(f(N," ","")+";",a,n,y-2),l);break;case 59:N+=";";default:if(v(j=T(N,t,n,d,p,s,u,E,_=[],O=[],y),c),123===$)if(0===p)e(N,t,j,j,_,c,y,u,O);else switch(m){case 100:case 109:case 115:e(r,j,j,a&&v(T(r,j,j,0,0,s,u,E,s,_=[],y),O),s,O,y,u,a?_:O);break;default:e(N,j,j,j,[""],O,y,u,O)}}d=p=g=0,w=x=1,E=N="",y=i;break;case 58:y=1+h(N),g=b;default:switch(N+=o($),$*w){case 38:x=p>0?1:(N+="\f",-1);break;case 44:u[d++]=(h(N)-1)*x,x=1;break;case 64:45===C()&&(N+=R(A())),m=C(),p=h(E=N+=I(S())),$++;break;case 45:45===b&&2==h(N)&&(w=0)}}return c}("",null,null,null,[""],e=O(e),0,[0],e))}function T(e,r,t,n,a,c,o,l,h,v,y){for(var m=a-1,g=0===a?c:[""],b=p(g),w=0,k=0,$=0;w<n;++w)for(var A=0,C=d(e,m+1,m=i(k=o[w])),S=e;A<b;++A)(S=u(k>0?g[A]+" "+C:f(C,/&\f/g,g[A])))&&(h[$++]=S);return x(e,r,t,0===a?s:l,h,v,y)}function q(e,r,t){return x(e,r,t,a,o(w),d(e,2,-2),0)}function M(e,r,t,n){return x(e,r,t,c,d(e,0,n),d(e,n+1,-1),n)}function W(e,a){switch(function(e,r){return(((r<<2^l(e,0))<<2^l(e,1))<<2^l(e,2))<<2^l(e,3)}(e,a)){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 n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return n+e+t+e+r+e+e;case 6828:case 4268:return n+e+r+e+e;case 6165:return n+e+r+"flex-"+e+e;case 5187:return n+e+f(e,/(\w+).+(:[^]+)/,n+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return n+e+r+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return n+e+r+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return n+e+r+f(e,"shrink","negative")+e;case 5292:return n+e+r+f(e,"basis","preferred-size")+e;case 6060:return n+"box-"+f(e,"-grow","")+n+e+r+f(e,"grow","positive")+e;case 4554:return n+f(e,/([^-])(transform)/g,"$1"+n+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,n+"$1"),/(image-set)/,n+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,n+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,n+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,n+"$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-a>6)switch(l(e,a+1)){case 109:return f(e,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+t+"$2-$3")+e;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+t+"$3")+e;case 115:return W(f(e,"stretch","fill-available"),a)+e}break;case 4949:if(115!==l(e,a+1))break;case 6444:switch(l(e,h(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return f(e,e,n+e)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+n+(45===l(e,14)?"inline-":"")+"box$3$1"+n+"$2$3$1"+r+"$2box$3")+e}break;case 5936:switch(l(e,a+11)){case 114:return n+e+r+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return n+e+r+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return n+e+r+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return n+e+r+e+e}return e}function P(e,r){for(var t="",n=p(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function D(e,r,t,n){switch(e.type){case"@import":case c:return e.return=e.return||e.value;case a:return"";case s:e.value=e.props.join(",")}return h(t=P(e.children,n))?e.return=e.value+"{"+t+"}":""}function F(e){return function(r){r.root||(r=r.return)&&e(r)}}function L(e){var r={};return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var B=function(e,r){return j(function(e,r){var t=-1,n=44;do{switch(_(n)){case 0:e[t]+=I(b-1);break;case 2:e[t]+=R(n);break;case 4:if(44===n){e[++t]=58===C()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=o(n)}}while(n=A());return e}(O(e),r))},H=function(e){if("rule"===e.type&&e.parent&&e.length){var r=e.value;if(1!==e.props.length||58===r.charCodeAt(0)){var t=e.parent;if(!(e.column===t.column&&e.line===t.line)){for(;"rule"!==t.type;)t=t.parent;for(var n=[],a=B(r,n),s=t.props,c=0,i=0;c<a.length;c++)for(var o=0;o<s.length;o++,i++)n[c]&&(e.props[i]=a[c].replace(/&\f/g,s[o]))}}}},Y=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},Z=[function(e,t,a,i){if(!e.return)switch(e.type){case c:e.return=W(e.value,e.length);break;case"@keyframes":return P([$(f(e.value,"@","@"+n),e,"")],i);case s:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(t){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return P([$(f(t,/:(read-\w+)/,":-moz-$1"),e,"")],i);case"::placeholder":return P([$(f(t,/:(plac\w+)/,":"+n+"input-$1"),e,""),$(f(t,/:(plac\w+)/,":-moz-$1"),e,""),$(f(t,/:(plac\w+)/,r+"input-$1"),e,"")],i)}return""}))}}],J=!1,K=function(r){var t=r.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(!J&&"css"===t){J=!0;var n=document.querySelectorAll("style[data-emotion]");Array.prototype.forEach.call(n,(function(e){document.head.appendChild(e)}))}var a,s,c=r.stylisPlugins||Z,i={},o=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var r=e.getAttribute("data-emotion").split(" ");if(r[0]===t){for(var n=1;n<r.length;n++)i[r[n]]=!0;o.push(e)}}));var u,f=[H,Y],l=[D,F((function(e){u.insert(e)}))],d=function(e){var r=p(e);return function(t,n,a,s){for(var c="",i=0;i<r;i++)c+=e[i](t,n,a,s)||"";return c}}(f.concat(c,l));s=function(e,r,t,n){u=t,P(N(e?e+"{"+r.styles+"}":r.styles),d),n&&(h.inserted[r.name]=!0)};var h={key:t,sheet:new e({key:t,container:a,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend}),nonce:r.nonce,inserted:i,registered:{},insert:s};return h.sheet.hydrate(o),h};var Q={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},U=/[A-Z]|^ms/g,V=/_EMO_([^_]+?)_([^]*?)_EMO_/g,X=function(e){return 45===e.charCodeAt(1)},ee=function(e){return null!=e&&"boolean"!=typeof e},re=L((function(e){return X(e)?e:e.replace(U,"-$&").toLowerCase()})),te=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(V,(function(e,r,t){return ae={name:r,styles:t,next:ae},r}))}return 1===Q[e]||X(e)||"number"!=typeof r||0===r?r:r+"px"};function ne(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return ae={name:t.name,styles:t.styles,next:ae},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)ae={name:n.name,styles:n.styles,next:ae},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=ne(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":ee(c)&&(n+=re(s)+":"+te(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var i=ne(e,r,c);switch(s){case"animation":case"animationName":n+=re(s)+":"+i+";";break;default:n+=s+"{"+i+"}"}}else for(var o=0;o<c.length;o++)ee(c[o])&&(n+=re(s)+":"+te(s,c[o])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=ae,s=t(e);return ae=a,ne(e,r,s)}}if(null==r)return t;var c=r[t];return void 0!==c?c:t}var ae,se=/label:\s*([^\s;\n{]+)\s*;/g,ce=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";ae=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=ne(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=ne(t,r,e[c]),n&&(a+=s[c]);se.lastIndex=0;for(var i,o="";null!==(i=se.exec(a));)o+="-"+i[1];return{name:function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+o,styles:a,next:ae}};function ie(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var oe=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};function ue(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function fe(e,r,t){var n=[],a=ie(e,n,t);return n.length<2?t:a+r(n)}var le=function e(r){for(var t="",n=0;n<r.length;n++){var a=r[n];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var c in s="",a)a[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=a}s&&(t&&(t+=" "),t+=s)}}return t};return function(e){var r=K(e);r.sheet.speedy=function(e){this.isSpeedy=e},r.compat=!0;var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ce(t,r.registered,void 0);return oe(r,a,!1),r.key+"-"+a.name};return{css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return fe(r.registered,t,le(n))},injectGlobal:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ce(t,r.registered);ue(r,a)},keyframes:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ce(t,r.registered),s="animation-"+a.name;return ue(r,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach((function(e){r.inserted[e]=!0}))},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:ie.bind(null,r.registered),merge:fe.bind(null,r.registered,t)}}})); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).createEmotion=r()}(this,(function(){"use strict";var e=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.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 r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),r="-ms-",t="-moz-",n="-webkit-",a="comm",s="rule",c="decl",i=Math.abs,o=String.fromCharCode;function u(e){return e.trim()}function l(e,r,t){return e.replace(r,t)}function f(e,r){return 0|e.charCodeAt(r)}function d(e,r,t){return e.slice(r,t)}function h(e){return e.length}function p(e){return e.length}function v(e,r){return r.push(e),e}var y=1,m=1,g=0,b=0,w=0,k="";function x(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:y,column:m,length:c,return:""}}function $(e,r,t){return x(e,r.root,r.parent,t,r.props,r.children,0)}function A(){return w=b<g?f(k,b++):0,m++,10===w&&(m=1,y++),w}function C(){return f(k,b)}function S(){return b}function E(e,r){return d(k,e,r)}function _(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 O(e){return y=m=1,g=h(k=e),b=0,[]}function j(e){return k="",e}function R(e){return u(E(b-1,function e(r){for(;A();)switch(w){case r:return b;case 34:case 39:return e(34===r||39===r?r:w);case 40:41===r&&e(r);break;case 92:A()}return b}(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(w=C())&&w<33;)A();return _(e)>2||_(w)>3?"":" "}function G(e,r){for(;A()&&e+w!==57&&(e+w!==84||47!==C()););return"/*"+E(r,b-1)+"*"+o(47===e?e:A())}function I(e){for(;!_(C());)A();return E(e,b)}function N(e){return j(function e(r,t,n,a,s,c,i,u,f){var d=0,p=0,y=i,m=0,g=0,b=0,w=1,k=1,x=1,$=0,E="",_=s,O=c,j=a,N=E;for(;k;)switch(b=$,$=A()){case 34:case 39:case 91:case 40:N+=R($);break;case 9:case 10:case 13:case 32:N+=z(b);break;case 47:switch(C()){case 42:case 47:v(M(G(A(),S()),t,n),f);break;default:N+="/"}break;case 123*w:u[d++]=h(N)*x;case 125*w:case 59:case 0:switch($){case 0:case 125:k=0;case 59+p:g>0&&v(g>32?W(N+";",a,n,y-1):W(l(N," ","")+";",a,n,y-2),f);break;case 59:N+=";";default:if(v(j=T(N,t,n,d,p,s,u,E,_=[],O=[],y),c),123===$)if(0===p)e(N,t,j,j,_,c,y,u,O);else switch(m){case 100:case 109:case 115:e(r,j,j,a&&v(T(r,j,j,0,0,s,u,E,s,_=[],y),O),s,O,y,u,a?_:O);break;default:e(N,j,j,j,[""],O,y,u,O)}}d=p=g=0,w=x=1,E=N="",y=i;break;case 58:y=1+h(N),g=b;default:switch(N+=o($),$*w){case 38:x=p>0?1:(N+="\f",-1);break;case 44:u[d++]=(h(N)-1)*x,x=1;break;case 64:45===C()&&(N+=R(A())),m=C(),p=h(E=N+=I(S())),$++;break;case 45:45===b&&2==h(N)&&(w=0)}}return c}("",null,null,null,[""],e=O(e),0,[0],e))}function T(e,r,t,n,a,c,o,f,h,v,y){for(var m=a-1,g=0===a?c:[""],b=p(g),w=0,k=0,$=0;w<n;++w)for(var A=0,C=d(e,m+1,m=i(k=o[w])),S=e;A<b;++A)(S=u(k>0?g[A]+" "+C:l(C,/&\f/g,g[A])))&&(h[$++]=S);return x(e,r,t,0===a?s:f,h,v,y)}function M(e,r,t){return x(e,r,t,a,o(w),d(e,2,-2),0)}function W(e,r,t,n){return x(e,r,t,c,d(e,0,n),d(e,n+1,-1),n)}function q(e,a){switch(function(e,r){return(((r<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3)}(e,a)){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 n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return n+e+t+e+r+e+e;case 6828:case 4268:return n+e+r+e+e;case 6165:return n+e+r+"flex-"+e+e;case 5187:return n+e+l(e,/(\w+).+(:[^]+)/,n+"box-$1$2"+r+"flex-$1$2")+e;case 5443:return n+e+r+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return n+e+r+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return n+e+r+l(e,"shrink","negative")+e;case 5292:return n+e+r+l(e,"basis","preferred-size")+e;case 6060:return n+"box-"+l(e,"-grow","")+n+e+r+l(e,"grow","positive")+e;case 4554:return n+l(e,/([^-])(transform)/g,"$1"+n+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,n+"$1"),/(image-set)/,n+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,n+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,n+"box-pack:$3"+r+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,n+"$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-a>6)switch(f(e,a+1)){case 109:return l(e,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+t+"$2-$3")+e;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+t+"$3")+e;case 115:return q(l(e,"stretch","fill-available"),a)+e}break;case 4949:if(115!==f(e,a+1))break;case 6444:switch(f(e,h(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return l(e,e,n+e)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+n+(45===f(e,14)?"inline-":"")+"box$3$1"+n+"$2$3$1"+r+"$2box$3")+e}break;case 5936:switch(f(e,a+11)){case 114:return n+e+r+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return n+e+r+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return n+e+r+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return n+e+r+e+e}return e}function P(e,r){for(var t="",n=p(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function D(e,r,t,n){switch(e.type){case"@import":case c:return e.return=e.return||e.value;case a:return"";case s:e.value=e.props.join(",")}return h(t=P(e.children,n))?e.return=e.value+"{"+t+"}":""}function F(e){return function(r){r.root||(r=r.return)&&e(r)}}function L(e){var r={};return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var B=function(e,r){return j(function(e,r){var t=-1,n=44;do{switch(_(n)){case 0:38===n&&12===C()&&(r[t]=1),e[t]+=I(b-1);break;case 2:e[t]+=R(n);break;case 4:if(44===n){e[++t]=58===C()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=o(n)}}while(n=A());return e}(O(e),r))},H=new WeakMap,Y=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)t=t.parent;if((1!==e.props.length||58===r.charCodeAt(0)||H.get(t))&&!n){H.set(e,!0);for(var a=[],s=B(r,a),c=t.props,i=0,o=0;i<s.length;i++)for(var u=0;u<c.length;u++,o++)e.props[o]=a[i]?s[i].replace(/&\f/g,c[u]):c[u]+" "+s[i]}}},Z=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},J=[function(e,t,a,i){if(!e.return)switch(e.type){case c:e.return=q(e.value,e.length);break;case"@keyframes":return P([$(l(e.value,"@","@"+n),e,"")],i);case s:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(t){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return P([$(l(t,/:(read-\w+)/,":-moz-$1"),e,"")],i);case"::placeholder":return P([$(l(t,/:(plac\w+)/,":"+n+"input-$1"),e,""),$(l(t,/:(plac\w+)/,":-moz-$1"),e,""),$(l(t,/:(plac\w+)/,r+"input-$1"),e,"")],i)}return""}))}}],K=function(r){var t=r.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){document.head.appendChild(e),e.setAttribute("data-s","")}))}var a,s,c=r.stylisPlugins||J,i={},o=[];a=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var r=e.getAttribute("data-emotion").split(" ");if(r[0]===t){for(var n=1;n<r.length;n++)i[r[n]]=!0;o.push(e)}}));var u,l=[Y,Z],f=[D,F((function(e){u.insert(e)}))],d=function(e){var r=p(e);return function(t,n,a,s){for(var c="",i=0;i<r;i++)c+=e[i](t,n,a,s)||"";return c}}(l.concat(c,f));s=function(e,r,t,n){u=t,P(N(e?e+"{"+r.styles+"}":r.styles),d),n&&(h.inserted[r.name]=!0)};var h={key:t,sheet:new e({key:t,container:a,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend}),nonce:r.nonce,inserted:i,registered:{},insert:s};return h.sheet.hydrate(o),h};var Q={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},U=/[A-Z]|^ms/g,V=/_EMO_([^_]+?)_([^]*?)_EMO_/g,X=function(e){return 45===e.charCodeAt(1)},ee=function(e){return null!=e&&"boolean"!=typeof e},re=L((function(e){return X(e)?e:e.replace(U,"-$&").toLowerCase()})),te=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(V,(function(e,r,t){return ae={name:r,styles:t,next:ae},r}))}return 1===Q[e]||X(e)||"number"!=typeof r||0===r?r:r+"px"};function ne(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return ae={name:t.name,styles:t.styles,next:ae},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)ae={name:n.name,styles:n.styles,next:ae},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=ne(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":ee(c)&&(n+=re(s)+":"+te(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var i=ne(e,r,c);switch(s){case"animation":case"animationName":n+=re(s)+":"+i+";";break;default:n+=s+"{"+i+"}"}}else for(var o=0;o<c.length;o++)ee(c[o])&&(n+=re(s)+":"+te(s,c[o])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=ae,s=t(e);return ae=a,ne(e,r,s)}}if(null==r)return t;var c=r[t];return void 0!==c?c:t}var ae,se=/label:\s*([^\s;\n{]+)\s*;/g,ce=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";ae=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=ne(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=ne(t,r,e[c]),n&&(a+=s[c]);se.lastIndex=0;for(var i,o="";null!==(i=se.exec(a));)o+="-"+i[1];return{name:function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+o,styles:a,next:ae}};function ie(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var oe=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};function ue(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function le(e,r,t){var n=[],a=ie(e,n,t);return n.length<2?t:a+r(n)}var fe=function e(r){for(var t="",n=0;n<r.length;n++){var a=r[n];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var c in s="",a)a[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=a}s&&(t&&(t+=" "),t+=s)}}return t};return function(e){var r=K(e);r.sheet.speedy=function(e){this.isSpeedy=e},r.compat=!0;var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ce(t,r.registered,void 0);return oe(r,a,!1),r.key+"-"+a.name};return{css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return le(r.registered,t,fe(n))},injectGlobal:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ce(t,r.registered);ue(r,a)},keyframes:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ce(t,r.registered),s="animation-"+a.name;return ue(r,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach((function(e){r.inserted[e]=!0}))},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:ie.bind(null,r.registered),merge:le.bind(null,r.registered,t)}}})); | ||
//# sourceMappingURL=css.umd.min.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).emotion={})}(this,(function(e){"use strict";var r=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.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 r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),t="-ms-",n="-moz-",a="-webkit-",s="comm",c="rule",i="decl",o=Math.abs,u=String.fromCharCode;function l(e){return e.trim()}function f(e,r,t){return e.replace(r,t)}function h(e,r){return 0|e.charCodeAt(r)}function d(e,r,t){return e.slice(r,t)}function p(e){return e.length}function v(e){return e.length}function y(e,r){return r.push(e),e}var g=1,m=1,b=0,w=0,k=0,x="";function $(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:g,column:m,length:c,return:""}}function A(e,r,t){return $(e,r.root,r.parent,t,r.props,r.children,0)}function C(){return k=w<b?h(x,w++):0,m++,10===k&&(m=1,g++),k}function S(){return h(x,w)}function _(){return w}function j(e,r){return d(x,e,r)}function E(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 O(e){return g=m=1,b=p(x=e),w=0,[]}function R(e){return x="",e}function G(e){return l(j(w-1,function e(r){for(;C();)switch(k){case r:return w;case 34:case 39:return e(34===r||39===r?r:k);case 40:41===r&&e(r);break;case 92:C()}return w}(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(k=S())&&k<33;)C();return E(e)>2||E(k)>3?"":" "}function I(e,r){for(;C()&&e+k!==57&&(e+k!==84||47!==S()););return"/*"+j(r,w-1)+"*"+u(47===e?e:C())}function N(e){for(;!E(S());)C();return j(e,w)}function T(e){return R(function e(r,t,n,a,s,c,i,o,l){var h=0,d=0,v=i,g=0,m=0,b=0,w=1,k=1,x=1,$=0,A="",j=s,E=c,O=a,R=A;for(;k;)switch(b=$,$=C()){case 34:case 39:case 91:case 40:R+=G($);break;case 9:case 10:case 13:case 32:R+=z(b);break;case 47:switch(S()){case 42:case 47:y(q(I(C(),_()),t,n),l);break;default:R+="/"}break;case 123*w:o[h++]=p(R)*x;case 125*w:case 59:case 0:switch($){case 0:case 125:k=0;case 59+d:m>0&&y(m>32?P(R+";",a,n,v-1):P(f(R," ","")+";",a,n,v-2),l);break;case 59:R+=";";default:if(y(O=M(R,t,n,h,d,s,o,A,j=[],E=[],v),c),123===$)if(0===d)e(R,t,O,O,j,c,v,o,E);else switch(g){case 100:case 109:case 115:e(r,O,O,a&&y(M(r,O,O,0,0,s,o,A,s,j=[],v),E),s,E,v,o,a?j:E);break;default:e(R,O,O,O,[""],E,v,o,E)}}h=d=m=0,w=x=1,A=R="",v=i;break;case 58:v=1+p(R),m=b;default:switch(R+=u($),$*w){case 38:x=d>0?1:(R+="\f",-1);break;case 44:o[h++]=(p(R)-1)*x,x=1;break;case 64:45===S()&&(R+=G(C())),g=S(),d=p(A=R+=N(_())),$++;break;case 45:45===b&&2==p(R)&&(w=0)}}return c}("",null,null,null,[""],e=O(e),0,[0],e))}function M(e,r,t,n,a,s,i,u,h,p,y){for(var g=a-1,m=0===a?s:[""],b=v(m),w=0,k=0,x=0;w<n;++w)for(var A=0,C=d(e,g+1,g=o(k=i[w])),S=e;A<b;++A)(S=l(k>0?m[A]+" "+C:f(C,/&\f/g,m[A])))&&(h[x++]=S);return $(e,r,t,0===a?c:u,h,p,y)}function q(e,r,t){return $(e,r,t,s,u(k),d(e,2,-2),0)}function P(e,r,t,n){return $(e,r,t,i,d(e,0,n),d(e,n+1,-1),n)}function W(e,r){switch(function(e,r){return(((r<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,r)){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 a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+n+e+t+e+e;case 6828:case 4268:return a+e+t+e+e;case 6165:return a+e+t+"flex-"+e+e;case 5187:return a+e+f(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return a+e+t+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return a+e+t+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+t+f(e,"shrink","negative")+e;case 5292:return a+e+t+f(e,"basis","preferred-size")+e;case 6060:return a+"box-"+f(e,"-grow","")+a+e+t+f(e,"grow","positive")+e;case 4554:return a+f(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,a+"$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(p(e)-1-r>6)switch(h(e,r+1)){case 109:return f(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+n+"$2-$3")+e;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+n+"$3")+e;case 115:return W(f(e,"stretch","fill-available"),r)+e}break;case 4949:if(115!==h(e,r+1))break;case 6444:switch(h(e,p(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return f(e,e,a+e)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===h(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(h(e,r+11)){case 114:return a+e+t+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+t+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+t+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+t+e+e}return e}function D(e,r){for(var t="",n=v(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function F(e,r,t,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 p(t=D(e.children,n))?e.return=e.value+"{"+t+"}":""}function L(e){return function(r){r.root||(r=r.return)&&e(r)}}function B(e){var r={};return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var H=function(e,r){return R(function(e,r){var t=-1,n=44;do{switch(E(n)){case 0:e[t]+=N(w-1);break;case 2:e[t]+=G(n);break;case 4:if(44===n){e[++t]=58===S()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=u(n)}}while(n=C());return e}(O(e),r))},Y=function(e){if("rule"===e.type&&e.parent&&e.length){var r=e.value;if(1!==e.props.length||58===r.charCodeAt(0)){var t=e.parent;if(!(e.column===t.column&&e.line===t.line)){for(;"rule"!==t.type;)t=t.parent;for(var n=[],a=H(r,n),s=t.props,c=0,i=0;c<a.length;c++)for(var o=0;o<s.length;o++,i++)n[c]&&(e.props[i]=a[c].replace(/&\f/g,s[o]))}}}},Z=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},J=[function(e,r,n,s){if(!e.return)switch(e.type){case i:e.return=W(e.value,e.length);break;case"@keyframes":return D([A(f(e.value,"@","@"+a),e,"")],s);case c:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return D([A(f(r,/:(read-\w+)/,":-moz-$1"),e,"")],s);case"::placeholder":return D([A(f(r,/:(plac\w+)/,":"+a+"input-$1"),e,""),A(f(r,/:(plac\w+)/,":-moz-$1"),e,""),A(f(r,/:(plac\w+)/,t+"input-$1"),e,"")],s)}return""}))}}],K=!1,Q=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(!K&&"css"===t){K=!0;var n=document.querySelectorAll("style[data-emotion]");Array.prototype.forEach.call(n,(function(e){document.head.appendChild(e)}))}var a,s,c=e.stylisPlugins||J,i={},o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var r=e.getAttribute("data-emotion").split(" ");if(r[0]===t){for(var n=1;n<r.length;n++)i[r[n]]=!0;o.push(e)}}));var u,l=[Y,Z],f=[F,L((function(e){u.insert(e)}))],h=function(e){var r=v(e);return function(t,n,a,s){for(var c="",i=0;i<r;i++)c+=e[i](t,n,a,s)||"";return c}}(l.concat(c,f));s=function(e,r,t,n){u=t,D(T(e?e+"{"+r.styles+"}":r.styles),h),n&&(d.inserted[r.name]=!0)};var d={key:t,sheet:new r({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:i,registered:{},insert:s};return d.sheet.hydrate(o),d};var U={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},V=/[A-Z]|^ms/g,X=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ee=function(e){return 45===e.charCodeAt(1)},re=function(e){return null!=e&&"boolean"!=typeof e},te=B((function(e){return ee(e)?e:e.replace(V,"-$&").toLowerCase()})),ne=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(X,(function(e,r,t){return se={name:r,styles:t,next:se},r}))}return 1===U[e]||ee(e)||"number"!=typeof r||0===r?r:r+"px"};function ae(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return se={name:t.name,styles:t.styles,next:se},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)se={name:n.name,styles:n.styles,next:se},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=ae(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":re(c)&&(n+=te(s)+":"+ne(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var i=ae(e,r,c);switch(s){case"animation":case"animationName":n+=te(s)+":"+i+";";break;default:n+=s+"{"+i+"}"}}else for(var o=0;o<c.length;o++)re(c[o])&&(n+=te(s)+":"+ne(s,c[o])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=se,s=t(e);return se=a,ae(e,r,s)}}if(null==r)return t;var c=r[t];return void 0!==c?c:t}var se,ce=/label:\s*([^\s;\n{]+)\s*;/g,ie=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";se=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=ae(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=ae(t,r,e[c]),n&&(a+=s[c]);ce.lastIndex=0;for(var i,o="";null!==(i=ce.exec(a));)o+="-"+i[1];return{name:function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+o,styles:a,next:se}};function oe(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var ue=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};function le(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function fe(e,r,t){var n=[],a=oe(e,n,t);return n.length<2?t:a+r(n)}var he=function e(r){for(var t="",n=0;n<r.length;n++){var a=r[n];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var c in s="",a)a[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=a}s&&(t&&(t+=" "),t+=s)}}return t},de=function(e){var r=Q(e);r.sheet.speedy=function(e){this.isSpeedy=e},r.compat=!0;var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ie(t,r.registered,void 0);return ue(r,a,!1),r.key+"-"+a.name};return{css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return fe(r.registered,t,he(n))},injectGlobal:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ie(t,r.registered);le(r,a)},keyframes:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ie(t,r.registered),s="animation-"+a.name;return le(r,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach((function(e){r.inserted[e]=!0}))},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:oe.bind(null,r.registered),merge:fe.bind(null,r.registered,t)}}({key:"css"}),pe=de.flush,ve=de.hydrate,ye=de.cx,ge=de.merge,me=de.getRegisteredStyles,be=de.injectGlobal,we=de.keyframes,ke=de.css,xe=de.sheet,$e=de.cache;e.cache=$e,e.css=ke,e.cx=ye,e.flush=pe,e.getRegisteredStyles=me,e.hydrate=ve,e.injectGlobal=be,e.keyframes=we,e.merge=ge,e.sheet=xe,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).emotion={})}(this,(function(e){"use strict";var r=function(){function e(e){var r=this;this._insertTag=function(e){var t;t=0===r.tags.length?r.prepend?r.container.firstChild:r.before:r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(e,t),r.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 r=e.prototype;return r.hydrate=function(e){e.forEach(this._insertTag)},r.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),void 0!==e.nonce&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}(r);try{t.insertRule(e,t.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},r.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),t="-ms-",n="-moz-",a="-webkit-",s="comm",c="rule",i="decl",o=Math.abs,u=String.fromCharCode;function l(e){return e.trim()}function f(e,r,t){return e.replace(r,t)}function d(e,r){return 0|e.charCodeAt(r)}function h(e,r,t){return e.slice(r,t)}function p(e){return e.length}function v(e){return e.length}function y(e,r){return r.push(e),e}var g=1,m=1,b=0,w=0,k=0,x="";function $(e,r,t,n,a,s,c){return{value:e,root:r,parent:t,type:n,props:a,children:s,line:g,column:m,length:c,return:""}}function A(e,r,t){return $(e,r.root,r.parent,t,r.props,r.children,0)}function C(){return k=w<b?d(x,w++):0,m++,10===k&&(m=1,g++),k}function S(){return d(x,w)}function _(){return w}function j(e,r){return h(x,e,r)}function E(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 O(e){return g=m=1,b=p(x=e),w=0,[]}function R(e){return x="",e}function G(e){return l(j(w-1,function e(r){for(;C();)switch(k){case r:return w;case 34:case 39:return e(34===r||39===r?r:k);case 40:41===r&&e(r);break;case 92:C()}return w}(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(k=S())&&k<33;)C();return E(e)>2||E(k)>3?"":" "}function I(e,r){for(;C()&&e+k!==57&&(e+k!==84||47!==S()););return"/*"+j(r,w-1)+"*"+u(47===e?e:C())}function N(e){for(;!E(S());)C();return j(e,w)}function T(e){return R(function e(r,t,n,a,s,c,i,o,l){var d=0,h=0,v=i,g=0,m=0,b=0,w=1,k=1,x=1,$=0,A="",j=s,E=c,O=a,R=A;for(;k;)switch(b=$,$=C()){case 34:case 39:case 91:case 40:R+=G($);break;case 9:case 10:case 13:case 32:R+=z(b);break;case 47:switch(S()){case 42:case 47:y(W(I(C(),_()),t,n),l);break;default:R+="/"}break;case 123*w:o[d++]=p(R)*x;case 125*w:case 59:case 0:switch($){case 0:case 125:k=0;case 59+h:m>0&&y(m>32?q(R+";",a,n,v-1):q(f(R," ","")+";",a,n,v-2),l);break;case 59:R+=";";default:if(y(O=M(R,t,n,d,h,s,o,A,j=[],E=[],v),c),123===$)if(0===h)e(R,t,O,O,j,c,v,o,E);else switch(g){case 100:case 109:case 115:e(r,O,O,a&&y(M(r,O,O,0,0,s,o,A,s,j=[],v),E),s,E,v,o,a?j:E);break;default:e(R,O,O,O,[""],E,v,o,E)}}d=h=m=0,w=x=1,A=R="",v=i;break;case 58:v=1+p(R),m=b;default:switch(R+=u($),$*w){case 38:x=h>0?1:(R+="\f",-1);break;case 44:o[d++]=(p(R)-1)*x,x=1;break;case 64:45===S()&&(R+=G(C())),g=S(),h=p(A=R+=N(_())),$++;break;case 45:45===b&&2==p(R)&&(w=0)}}return c}("",null,null,null,[""],e=O(e),0,[0],e))}function M(e,r,t,n,a,s,i,u,d,p,y){for(var g=a-1,m=0===a?s:[""],b=v(m),w=0,k=0,x=0;w<n;++w)for(var A=0,C=h(e,g+1,g=o(k=i[w])),S=e;A<b;++A)(S=l(k>0?m[A]+" "+C:f(C,/&\f/g,m[A])))&&(d[x++]=S);return $(e,r,t,0===a?c:u,d,p,y)}function W(e,r,t){return $(e,r,t,s,u(k),h(e,2,-2),0)}function q(e,r,t,n){return $(e,r,t,i,h(e,0,n),h(e,n+1,-1),n)}function P(e,r){switch(function(e,r){return(((r<<2^d(e,0))<<2^d(e,1))<<2^d(e,2))<<2^d(e,3)}(e,r)){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 a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+n+e+t+e+e;case 6828:case 4268:return a+e+t+e+e;case 6165:return a+e+t+"flex-"+e+e;case 5187:return a+e+f(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return a+e+t+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return a+e+t+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+t+f(e,"shrink","negative")+e;case 5292:return a+e+t+f(e,"basis","preferred-size")+e;case 6060:return a+"box-"+f(e,"-grow","")+a+e+t+f(e,"grow","positive")+e;case 4554:return a+f(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,a+"$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(p(e)-1-r>6)switch(d(e,r+1)){case 109:return f(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+n+"$2-$3")+e;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+n+"$3")+e;case 115:return P(f(e,"stretch","fill-available"),r)+e}break;case 4949:if(115!==d(e,r+1))break;case 6444:switch(d(e,p(e)-3-(~function(e,r){return e.indexOf(r)}(e,"!important")&&10))){case 107:case 111:return f(e,e,a+e)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===d(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+t+"$2box$3")+e}break;case 5936:switch(d(e,r+11)){case 114:return a+e+t+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+t+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+t+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+t+e+e}return e}function D(e,r){for(var t="",n=v(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function F(e,r,t,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 p(t=D(e.children,n))?e.return=e.value+"{"+t+"}":""}function L(e){return function(r){r.root||(r=r.return)&&e(r)}}function B(e){var r={};return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}var H=function(e,r){return R(function(e,r){var t=-1,n=44;do{switch(E(n)){case 0:38===n&&12===S()&&(r[t]=1),e[t]+=N(w-1);break;case 2:e[t]+=G(n);break;case 4:if(44===n){e[++t]=58===S()?"&\f":"",r[t]=e[t].length;break}default:e[t]+=u(n)}}while(n=C());return e}(O(e),r))},Y=new WeakMap,Z=function(e){if("rule"===e.type&&e.parent&&e.length){for(var r=e.value,t=e.parent,n=e.column===t.column&&e.line===t.line;"rule"!==t.type;)t=t.parent;if((1!==e.props.length||58===r.charCodeAt(0)||Y.get(t))&&!n){Y.set(e,!0);for(var a=[],s=H(r,a),c=t.props,i=0,o=0;i<s.length;i++)for(var u=0;u<c.length;u++,o++)e.props[o]=a[i]?s[i].replace(/&\f/g,c[u]):c[u]+" "+s[i]}}},J=function(e){if("decl"===e.type){var r=e.value;108===r.charCodeAt(0)&&98===r.charCodeAt(2)&&(e.return="",e.value="")}},K=[function(e,r,n,s){if(!e.return)switch(e.type){case i:e.return=P(e.value,e.length);break;case"@keyframes":return D([A(f(e.value,"@","@"+a),e,"")],s);case c:if(e.length)return function(e,r){return e.map(r).join("")}(e.props,(function(r){switch(function(e,r){return(e=r.exec(e))?e[0]:e}(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return D([A(f(r,/:(read-\w+)/,":-moz-$1"),e,"")],s);case"::placeholder":return D([A(f(r,/:(plac\w+)/,":"+a+"input-$1"),e,""),A(f(r,/:(plac\w+)/,":-moz-$1"),e,""),A(f(r,/:(plac\w+)/,t+"input-$1"),e,"")],s)}return""}))}}],Q=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){document.head.appendChild(e),e.setAttribute("data-s","")}))}var a,s,c=e.stylisPlugins||K,i={},o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"),(function(e){var r=e.getAttribute("data-emotion").split(" ");if(r[0]===t){for(var n=1;n<r.length;n++)i[r[n]]=!0;o.push(e)}}));var u,l=[Z,J],f=[F,L((function(e){u.insert(e)}))],d=function(e){var r=v(e);return function(t,n,a,s){for(var c="",i=0;i<r;i++)c+=e[i](t,n,a,s)||"";return c}}(l.concat(c,f));s=function(e,r,t,n){u=t,D(T(e?e+"{"+r.styles+"}":r.styles),d),n&&(h.inserted[r.name]=!0)};var h={key:t,sheet:new r({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:i,registered:{},insert:s};return h.sheet.hydrate(o),h};var U={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},V=/[A-Z]|^ms/g,X=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ee=function(e){return 45===e.charCodeAt(1)},re=function(e){return null!=e&&"boolean"!=typeof e},te=B((function(e){return ee(e)?e:e.replace(V,"-$&").toLowerCase()})),ne=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(X,(function(e,r,t){return se={name:r,styles:t,next:se},r}))}return 1===U[e]||ee(e)||"number"!=typeof r||0===r?r:r+"px"};function ae(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return se={name:t.name,styles:t.styles,next:se},t.name;if(void 0!==t.styles){var n=t.next;if(void 0!==n)for(;void 0!==n;)se={name:n.name,styles:n.styles,next:se},n=n.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=ae(e,r,t[a])+";";else for(var s in t){var c=t[s];if("object"!=typeof c)null!=r&&void 0!==r[c]?n+=s+"{"+r[c]+"}":re(c)&&(n+=te(s)+":"+ne(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=r&&void 0!==r[c[0]]){var i=ae(e,r,c);switch(s){case"animation":case"animationName":n+=te(s)+":"+i+";";break;default:n+=s+"{"+i+"}"}}else for(var o=0;o<c.length;o++)re(c[o])&&(n+=te(s)+":"+ne(s,c[o])+";")}return n}(e,r,t);case"function":if(void 0!==e){var a=se,s=t(e);return se=a,ae(e,r,s)}}if(null==r)return t;var c=r[t];return void 0!==c?c:t}var se,ce=/label:\s*([^\s;\n{]+)\s*;/g,ie=function(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";se=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=ae(t,r,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=ae(t,r,e[c]),n&&(a+=s[c]);ce.lastIndex=0;for(var i,o="";null!==(i=ce.exec(a));)o+="-"+i[1];return{name:function(e){for(var r,t=0,n=0,a=e.length;a>=4;++n,a-=4)r=1540483477*(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(r>>>16)<<16),t=1540483477*(65535&(r^=r>>>24))+(59797*(r>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(a){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(n)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(a)+o,styles:a,next:se}};function oe(e,r,t){var n="";return t.split(" ").forEach((function(t){void 0!==e[t]?r.push(e[t]+";"):n+=t+" "})),n}var ue=function(e,r,t){var n=e.key+"-"+r.name;if(!1===t&&void 0===e.registered[n]&&(e.registered[n]=r.styles),void 0===e.inserted[r.name]){var a=r;do{e.insert(r===a?"."+n:"",a,e.sheet,!0);a=a.next}while(void 0!==a)}};function le(e,r){if(void 0===e.inserted[r.name])return e.insert("",r,e.sheet,!0)}function fe(e,r,t){var n=[],a=oe(e,n,t);return n.length<2?t:a+r(n)}var de=function e(r){for(var t="",n=0;n<r.length;n++){var a=r[n];if(null!=a){var s=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))s=e(a);else for(var c in s="",a)a[c]&&c&&(s&&(s+=" "),s+=c);break;default:s=a}s&&(t&&(t+=" "),t+=s)}}return t},he=function(e){var r=Q(e);r.sheet.speedy=function(e){this.isSpeedy=e},r.compat=!0;var t=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ie(t,r.registered,void 0);return ue(r,a,!1),r.key+"-"+a.name};return{css:t,cx:function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return fe(r.registered,t,de(n))},injectGlobal:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ie(t,r.registered);le(r,a)},keyframes:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=ie(t,r.registered),s="animation-"+a.name;return le(r,{name:a.name,styles:"@keyframes "+s+"{"+a.styles+"}"}),s},hydrate:function(e){e.forEach((function(e){r.inserted[e]=!0}))},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:oe.bind(null,r.registered),merge:fe.bind(null,r.registered,t)}}({key:"css"}),pe=he.flush,ve=he.hydrate,ye=he.cx,ge=he.merge,me=he.getRegisteredStyles,be=he.injectGlobal,we=he.keyframes,ke=he.css,xe=he.sheet,$e=he.cache;e.cache=$e,e.css=ke,e.cx=ye,e.flush=pe,e.getRegisteredStyles=me,e.hydrate=ve,e.injectGlobal=be,e.keyframes=we,e.merge=ge,e.sheet=xe,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=css.umd.min.js.map |
{ | ||
"name": "@emotion/css", | ||
"version": "11.0.0-next.17", | ||
"version": "11.0.0-next.19", | ||
"description": "The Next Generation of CSS-in-JS.", | ||
@@ -22,5 +22,5 @@ "main": "dist/css.cjs.js", | ||
"@emotion/babel-plugin": "^11.0.0-next.17", | ||
"@emotion/cache": "^11.0.0-next.16", | ||
"@emotion/cache": "^11.0.0-next.19", | ||
"@emotion/serialize": "^1.0.0-next.5", | ||
"@emotion/sheet": "1.0.0-next.4", | ||
"@emotion/sheet": "1.0.0-next.5", | ||
"@emotion/utils": "1.0.0-next.1" | ||
@@ -27,0 +27,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
209625
1011
+ Added@emotion/sheet@1.0.0-next.5(transitive)
- Removed@emotion/sheet@1.0.0-next.4(transitive)
Updated@emotion/sheet@1.0.0-next.5