mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
3 lines
14 KiB
JavaScript
3 lines
14 KiB
JavaScript
!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";var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?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.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;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){0}}else t.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}(),a="-ms-",s="-moz-",c="-webkit-",o="comm",i="rule",u="decl",l=Math.abs,f=String.fromCharCode;function d(e){return e.trim()}function p(e,t,r){return e.replace(t,r)}function h(e,t){return 0|e.charCodeAt(t)}function v(e,t,r){return e.slice(t,r)}function m(e){return e.length}function y(e){return e.length}function g(e,t){return t.push(e),e}var b=1,x=1,w=0,k=0,$=0,C="";function A(e,t,r,n,a,s,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:b,column:x,length:c,return:""}}function _(e,t,r){return A(e,t.root,t.parent,r,t.props,t.children,0)}function S(){return $=k<w?h(C,k++):0,x++,10===$&&(x=1,b++),$}function O(){return h(C,k)}function j(){return k}function E(e,t){return v(C,e,t)}function N(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 R(e){return b=x=1,w=m(C=e),k=0,[]}function T(e){return C="",e}function M(e){return d(E(k-1,P(91===e?e+2:40===e?e+1:e)))}function z(e){for(;($=O())&&$<33;)S();return N(e)>2||N($)>3?"":" "}function P(e){for(;S();)switch($){case e:return k;case 34:case 39:return P(34===e||39===e?e:$);case 40:41===e&&P(e);break;case 92:S()}return k}function G(e,t){for(;S()&&e+$!==57&&(e+$!==84||47!==O()););return"/*"+E(t,k-1)+"*"+f(47===e?e:S())}function I(e){for(;!N(O());)S();return E(e,k)}function q(e){return T(W("",null,null,null,[""],e=R(e),0,[0],e))}function W(e,t,r,n,a,s,c,o,i){for(var u=0,l=0,d=c,h=0,v=0,y=0,b=1,x=1,w=1,k=0,$="",C=a,A=s,_=n,E=$;x;)switch(y=k,k=S()){case 34:case 39:case 91:case 40:E+=M(k);break;case 9:case 10:case 13:case 32:E+=z(y);break;case 47:switch(O()){case 42:case 47:g(F(G(S(),j()),t,r),i);break;default:E+="/"}break;case 123*b:o[u++]=m(E)*w;case 125*b:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+l:v>0&&g(v>32?L(E+";",n,r,d-1):L(p(E," ","")+";",n,r,d-2),i);break;case 59:E+=";";default:if(g(_=D(E,t,r,u,l,a,o,$,C=[],A=[],d),s),123===k)if(0===l)W(E,t,_,_,C,s,d,o,A);else switch(h){case 100:case 109:case 115:W(e,_,_,n&&g(D(e,_,_,0,0,a,o,$,a,C=[],d),A),a,A,d,o,n?C:A);break;default:W(E,_,_,_,[""],A,d,o,A)}}u=l=v=0,b=w=1,$=E="",d=c;break;case 58:d=1+m(E),v=y;default:switch(E+=f(k),k*b){case 38:w=l>0?1:(E+="\f",-1);break;case 44:o[u++]=(m(E)-1)*w,w=1;break;case 64:45===O()&&(E+=M(S())),h=O(),l=m($=E+=I(j())),k++;break;case 45:45===y&&2==m(E)&&(b=0)}}return s}function D(e,t,r,n,a,s,c,o,u,f,h){for(var m=a-1,g=0===a?s:[""],b=y(g),x=0,w=0,k=0;x<n;++x)for(var $=0,C=v(e,m+1,m=l(w=c[x])),_=e;$<b;++$)(_=d(w>0?g[$]+" "+C:p(C,/&\f/g,g[$])))&&(u[k++]=_);return A(e,t,r,0===a?i:o,u,f,h)}function F(e,t,r){return A(e,t,r,o,f($),v(e,2,-2),0)}function L(e,t,r,n){return A(e,t,r,u,v(e,0,n),v(e,n+1,-1),n)}function H(e,t){switch(function(e,t){return(((t<<2^h(e,0))<<2^h(e,1))<<2^h(e,2))<<2^h(e,3)}(e,t)){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 c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return c+e+s+e+a+e+e;case 6828:case 4268:return c+e+a+e+e;case 6165:return c+e+a+"flex-"+e+e;case 5187:return c+e+p(e,/(\w+).+(:[^]+)/,c+"box-$1$2"+a+"flex-$1$2")+e;case 5443:return c+e+a+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return c+e+a+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return c+e+a+p(e,"shrink","negative")+e;case 5292:return c+e+a+p(e,"basis","preferred-size")+e;case 6060:return c+"box-"+p(e,"-grow","")+c+e+a+p(e,"grow","positive")+e;case 4554:return c+p(e,/([^-])(transform)/g,"$1"+c+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,c+"$1"),/(image-set)/,c+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,c+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,c+"box-pack:$3"+a+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+c+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,c+"$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(m(e)-1-t>6)switch(h(e,t+1)){case 109:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$2-$3")+e;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+c+"$2-$3$1"+s+"$3")+e;case 115:return H(p(e,"stretch","fill-available"),t)+e}break;case 4949:if(115!==h(e,t+1))break;case 6444:switch(h(e,m(e)-3-(~function(e,t){return e.indexOf(t)}(e,"!important")&&10))){case 107:case 111:return p(e,e,c+e)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+c+(45===h(e,14)?"inline-":"")+"box$3$1"+c+"$2$3$1"+a+"$2box$3")+e}break;case 5936:switch(h(e,t+11)){case 114:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return c+e+a+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return c+e+a+e+e}return e}function J(e,t){for(var r="",n=y(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function X(e,t,r,n){switch(e.type){case"@import":case u:return e.return=e.return||e.value;case o:return"";case i:e.value=e.props.join(",")}return m(r=J(e.children,n))?e.return=e.value+"{"+r+"}":""}function B(e){return function(t){t.root||(t=t.return)&&e(t)}}function U(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Y=function(e,t){return T(function(e,t){var r=-1,n=44;do{switch(N(n)){case 0:38===n&&12===O()&&(t[r]=1),e[r]+=I(k-1);break;case 2:e[r]+=M(n);break;case 4:if(44===n){e[++r]=58===O()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=S());return e}(R(e),t))},Z=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&e.length){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var a=[],s=Y(t,a),c=r.props,o=0,i=0;o<s.length;o++)for(var u=0;u<c.length;u++,i++)e.props[i]=a[o]?s[o].replace(/&\f/g,c[u]):c[u]+" "+s[o]}}},Q=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},V=[function(e,t,r,n){if(!e.return)switch(e.type){case u:e.return=H(e.value,e.length);break;case"@keyframes":return J([_(p(e.value,"@","@"+c),e,"")],n);case i: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 J([_(p(t,/:(read-\w+)/,":-moz-$1"),e,"")],n);case"::placeholder":return J([_(p(t,/:(plac\w+)/,":"+c+"input-$1"),e,""),_(p(t,/:(plac\w+)/,":-moz-$1"),e,""),_(p(t,/:(plac\w+)/,a+"input-$1"),e,"")],n)}return""}))}}],ee=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 a=e.stylisPlugins||V;var s,c,o={},i=[];s=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<t.length;r++)o[t[r]]=!0;i.push(e)}));var u=[K,Q];var l,f=[X,B((function(e){l.insert(e)}))],d=function(e){var t=y(e);return function(r,n,a,s){for(var c="",o=0;o<t;o++)c+=e[o](r,n,a,s)||"";return c}}(u.concat(a,f));c=function(e,t,r,n){l=r,J(q(e?e+"{"+t.styles+"}":t.styles),d),n&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new n({key:t,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend}),nonce:e.nonce,inserted:o,registered:{},insert:c};return p.sheet.hydrate(i),p},te=Object.prototype.hasOwnProperty,re=r.createContext("undefined"!=typeof HTMLElement?ee({key:"css"}):null);re.Provider;var ne=function(e){return r.forwardRef((function(t,n){var a=r.useContext(re);return e(t,a,n)}))};!function(e,t,r){e(r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&r.path)}},r.exports),r.exports}((function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}));var ae=r.createContext({});var se={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},ce=/[A-Z]|^ms/g,oe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ie=function(e){return 45===e.charCodeAt(1)},ue=function(e){return null!=e&&"boolean"!=typeof e},le=U((function(e){return ie(e)?e:e.replace(ce,"-$&").toLowerCase()})),fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(oe,(function(e,t,r){return pe={name:t,styles:r,next:pe},t}))}return 1===se[e]||ie(e)||"number"!=typeof t||0===t?t:t+"px"};function de(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return pe={name:r.name,styles:r.styles,next:pe},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)pe={name:n.name,styles:n.styles,next:pe},n=n.next;var a=r.styles+";";return a}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=de(e,t,r[a])+";";else for(var s in r){var c=r[s];if("object"!=typeof c)null!=t&&void 0!==t[c]?n+=s+"{"+t[c]+"}":ue(c)&&(n+=le(s)+":"+fe(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=t&&void 0!==t[c[0]]){var o=de(e,t,c);switch(s){case"animation":case"animationName":n+=le(s)+":"+o+";";break;default:n+=s+"{"+o+"}"}}else for(var i=0;i<c.length;i++)ue(c[i])&&(n+=le(s)+":"+fe(s,c[i])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=pe,c=r(e);return pe=s,de(e,t,c)}break;case"string":}if(null==t)return r;var o=t[r];return void 0!==o?o:r}var pe,he=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ve=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,a="";pe=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=de(r,t,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=de(r,t,e[c]),n&&(a+=s[c]);he.lastIndex=0;for(var o,i="";null!==(o=he.exec(a));)i+="-"+o[1];var u=function(e){for(var t,r=0,n=0,a=e.length;a>=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)+i;return{name:u,styles:a,next:pe}},me="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ye=function(e,t){var r={};for(var n in t)te.call(t,n)&&(r[n]=t[n]);return r[me]=e,r},ge=ne((function(e,t,n){var a=e.css;"string"==typeof a&&void 0!==t.registered[a]&&(a=t.registered[a]);var s=e[me],c=[a],o="";"string"==typeof e.className?o=function(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var i=ve(c,void 0,r.useContext(ae));!function(e,t,r){var n=e.key+"-"+t.name;if(!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}(t,i,"string"==typeof s);o+=t.key+"-"+i.name;var u={};for(var l in e)te.call(e,l)&&"css"!==l&&l!==me&&(u[l]=e[l]);return u.ref=n,u.className=o,r.createElement(s,u)}));var be=t.Fragment;e.Fragment=be,e.jsx=function(e,r,n){return te.call(r,"css")?t.jsx(ge,ye(e,r),n):t.jsx(e,r,n)},e.jsxs=function(e,r,n){return te.call(r,"css")?t.jsxs(ge,ye(e,r),n):t.jsxs(e,r,n)},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
//# sourceMappingURL=emotion-react-jsx-runtime.umd.min.js.map
|