All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.jsx-runtime.dist.emotion-react-jsx-runtime.umd.min.js Maven / Gradle / Ivy

The newest version!
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react/jsx-runtime"),require("react")):"function"==typeof define&&define.amd?define(["exports","react/jsx-runtime","react"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).emotionReactJSXRuntime={},e.ReactJSX,e.React)}(this,(function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(t),s=n(r);var c=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?w(j,--S):0,A--,10===_&&(A=1,O--),_}function T(){return _=S2||G(_)>3?"":" "}function D(e,t){for(;--t&&T()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return I(e,z()+(t<6&&32==M()&&32==T()))}function H(e){for(;T();)switch(_){case e:return S;case 34:case 39:34!==e&&39!==e&&H(_);break;case 40:41===e&&H(e);break;case 92:T()}return S}function J(e,t){for(;T()&&e+_!==57&&(e+_!==84||47!==M()););return"/*"+I(t,S-1)+"*"+v(47===e?e:T())}function X(e){for(;!G(M());)T();return I(e,S)}function B(e){return L(U("",null,null,null,[""],e=F(e),0,[0],e))}function U(e,t,r,n,a,s,c,i,o){for(var u=0,l=0,f=c,d=0,h=0,p=0,m=1,g=1,x=1,C=0,O="",A=a,E=s,S=n,_=O;g;)switch(p=C,C=T()){case 40:if(108!=p&&58==w(_,f-1)){-1!=b(_+=y(W(C),"&","&\f"),"&\f")&&(x=-1);break}case 34:case 39:case 91:_+=W(C);break;case 9:case 10:case 13:case 32:_+=q(p);break;case 92:_+=D(z()-1,7);continue;case 47:switch(M()){case 42:case 47:$(Z(J(T(),z()),t,r),o);break;default:_+="/"}break;case 123*m:i[u++]=k(_)*x;case 125*m:case 59:case 0:switch(C){case 0:case 125:g=0;case 59+l:-1==x&&(_=y(_,/\f/g,"")),h>0&&k(_)-f&&$(h>32?K(_+";",n,r,f-1):K(y(_," ","")+";",n,r,f-2),o);break;case 59:_+=";";default:if($(S=Y(_,t,r,u,l,a,i,O,A=[],E=[],f),s),123===C)if(0===l)U(_,t,S,S,A,s,f,i,E);else switch(99===d&&110===w(_,3)?100:d){case 100:case 108:case 109:case 115:U(e,S,S,n&&$(Y(e,S,S,0,0,a,i,O,a,A=[],f),E),a,E,f,i,n?A:E);break;default:U(_,S,S,S,[""],E,0,i,E)}}u=l=h=0,m=x=1,O=_="",f=c;break;case 58:f=1+k(_),h=p;default:if(m<1)if(123==C)--m;else if(125==C&&0==m++&&125==R())continue;switch(_+=v(C),C*m){case 38:x=l>0?1:(_+="\f",-1);break;case 44:i[u++]=(k(_)-1)*x,x=1;break;case 64:45===M()&&(_+=W(T())),d=M(),l=f=k(O=_+=X(z())),C++;break;case 45:45===p&&2==k(_)&&(m=0)}}return s}function Y(e,t,r,n,a,s,c,i,o,u,l){for(var d=a-1,h=0===a?s:[""],v=C(h),m=0,b=0,w=0;m0?h[k]+" "+$:y($,/&\f/g,h[k])))&&(o[w++]=O);return N(e,t,r,0===a?f:i,o,u,l)}function Z(e,t,r){return N(e,t,r,l,v(_),x(e,2,-2),0)}function K(e,t,r,n){return N(e,t,r,d,x(e,0,n),x(e,n+1,-1),n)}function Q(e,t){for(var r="",n=C(e),a=0;a6)switch(w(e,t+1)){case 109:if(45!==w(e,t+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+o+(108==w(e,t+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch")?ce(y(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==w(e,t+1))break;case 6444:switch(w(e,k(e)-3-(~b(e,"!important")&&10))){case 107:return y(e,":",":"+u)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+u+(45===w(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(w(e,t+11)){case 114:return u+e+i+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+i+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+i+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return u+e+i+e+e}return e}var ie=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case d:e.return=ce(e.value,e.length);break;case h:return Q([P(e,{value:y(e.value,"@","@"+u)})],n);case f:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Q([P(e,{props:[y(t,/:(read-\w+)/,":"+o+"$1")]})],n);case"::placeholder":return Q([P(e,{props:[y(t,/:(plac\w+)/,":"+u+"input-$1")]}),P(e,{props:[y(t,/:(plac\w+)/,":"+o+"$1")]}),P(e,{props:[y(t,/:(plac\w+)/,i+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,a,s=e.stylisPlugins||ie,i={},o=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r=4;++n,a-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(a){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(a)+o,styles:a,next:$e}}(c,void 0,s.useContext(fe));i+=t.key+"-"+o.name;var u={};for(var l in e)he.call(e,l)&&"css"!==l&&l!==Ee&&(u[l]=e[l]);return u.className=i,r&&(u.ref=r),s.createElement(s.Fragment,null,s.createElement(_e,{cache:t,serialized:o,isStringTag:"string"==typeof a}),s.createElement(a,u))})),Ne=je,Pe=a.Fragment;e.Fragment=Pe,e.jsx=function(e,t,r){return he.call(t,"css")?a.jsx(Ne,Se(e,t),r):a.jsx(e,t,r)},e.jsxs=function(e,t,r){return he.call(t,"css")?a.jsxs(Ne,Se(e,t),r):a.jsxs(e,t,r)},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=emotion-react-jsx-runtime.umd.min.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy