amis-rpc-design/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.umd.min.js
2023-10-07 19:42:30 +08:00

3 lines
15 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";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;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){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i="-ms-",o="-moz-",u="-webkit-",l="comm",f="rule",d="decl",h="@keyframes",p=Math.abs,v=String.fromCharCode,g=Object.assign;function m(e){return e.trim()}function y(e,t,r){return e.replace(t,r)}function b(e,t){return e.indexOf(t)}function x(e,t){return 0|e.charCodeAt(t)}function w(e,t,r){return e.slice(t,r)}function k(e){return e.length}function $(e){return e.length}function C(e,t){return t.push(e),e}var A=1,S=1,O=0,_=0,j=0,E="";function N(e,t,r,n,a,s,c){return{value:e,root:t,parent:r,type:n,props:a,children:s,line:A,column:S,length:c,return:""}}function P(e,t){return g(N("",null,null,"",null,null,0),e,{length:-e.length},t)}function R(){return j=_>0?x(E,--_):0,S--,10===j&&(S=1,A--),j}function T(){return j=_<O?x(E,_++):0,S++,10===j&&(S=1,A++),j}function z(){return x(E,_)}function I(){return _}function M(e,t){return w(E,e,t)}function G(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 F(e){return A=S=1,O=k(E=e),_=0,[]}function W(e){return E="",e}function q(e){return m(M(_-1,H(91===e?e+2:40===e?e+1:e)))}function D(e){for(;(j=z())&&j<33;)T();return G(e)>2||G(j)>3?"":" "}function L(e,t){for(;--t&&T()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return M(e,I()+(t<6&&32==z()&&32==T()))}function H(e){for(;T();)switch(j){case e:return _;case 34:case 39:34!==e&&39!==e&&H(j);break;case 40:41===e&&H(e);break;case 92:T()}return _}function J(e,t){for(;T()&&e+j!==57&&(e+j!==84||47!==z()););return"/*"+M(t,_-1)+"*"+v(47===e?e:T())}function X(e){for(;!G(z());)T();return M(e,_)}function B(e){return W(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,g=1,m=1,w=1,$=0,A="",S=a,O=s,_=n,j=A;m;)switch(p=$,$=T()){case 40:if(108!=p&&58==x(j,f-1)){-1!=b(j+=y(q($),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:j+=q($);break;case 9:case 10:case 13:case 32:j+=D(p);break;case 92:j+=L(I()-1,7);continue;case 47:switch(z()){case 42:case 47:C(Z(J(T(),I()),t,r),o);break;default:j+="/"}break;case 123*g:i[u++]=k(j)*w;case 125*g:case 59:case 0:switch($){case 0:case 125:m=0;case 59+l:-1==w&&(j=y(j,/\f/g,"")),h>0&&k(j)-f&&C(h>32?K(j+";",n,r,f-1):K(y(j," ","")+";",n,r,f-2),o);break;case 59:j+=";";default:if(C(_=Y(j,t,r,u,l,a,i,A,S=[],O=[],f),s),123===$)if(0===l)U(j,t,_,_,S,s,f,i,O);else switch(99===d&&110===x(j,3)?100:d){case 100:case 108:case 109:case 115:U(e,_,_,n&&C(Y(e,_,_,0,0,a,i,A,a,S=[],f),O),a,O,f,i,n?S:O);break;default:U(j,_,_,_,[""],O,0,i,O)}}u=l=h=0,g=w=1,A=j="",f=c;break;case 58:f=1+k(j),h=p;default:if(g<1)if(123==$)--g;else if(125==$&&0==g++&&125==R())continue;switch(j+=v($),$*g){case 38:w=l>0?1:(j+="\f",-1);break;case 44:i[u++]=(k(j)-1)*w,w=1;break;case 64:45===z()&&(j+=q(T())),d=z(),l=f=k(A=j+=X(I())),$++;break;case 45:45===p&&2==k(j)&&(g=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=$(h),g=0,b=0,x=0;g<n;++g)for(var k=0,C=w(e,d+1,d=p(b=c[g])),A=e;k<v;++k)(A=m(b>0?h[k]+" "+C:y(C,/&\f/g,h[k])))&&(o[x++]=A);return N(e,t,r,0===a?f:i,o,u,l)}function Z(e,t,r){return N(e,t,r,l,v(j),w(e,2,-2),0)}function K(e,t,r,n){return N(e,t,r,d,w(e,0,n),w(e,n+1,-1),n)}function Q(e,t){for(var r="",n=$(e),a=0;a<n;a++)r+=t(e[a],a,e,t)||"";return r}function V(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case d:return e.return=e.return||e.value;case l:return"";case h:return e.return=e.value+"{"+Q(e.children,n)+"}";case f:e.value=e.props.join(",")}return k(r=Q(e.children,n))?e.return=e.value+"{"+r+"}":""}function ee(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var te=function(e,t,r){for(var n=0,a=0;n=a,a=z(),38===n&&12===a&&(t[r]=1),!G(a);)T();return M(e,_)},re=function(e,t){return W(function(e,t){var r=-1,n=44;do{switch(G(n)){case 0:38===n&&12===z()&&(t[r]=1),e[r]+=te(_-1,t,r);break;case 2:e[r]+=q(n);break;case 4:if(44===n){e[++r]=58===z()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=v(n)}}while(n=T());return e}(F(e),t))},ne=new WeakMap,ae=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){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)||ne.get(r))&&!n){ne.set(e,!0);for(var a=[],s=re(t,a),c=r.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]}}},se=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ce(e,t){switch(function(e,t){return 45^x(e,0)?(((t<<2^x(e,0))<<2^x(e,1))<<2^x(e,2))<<2^x(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;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 u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+o+e+i+e+e;case 6828:case 4268:return u+e+i+e+e;case 6165:return u+e+i+"flex-"+e+e;case 5187:return u+e+y(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return u+e+i+"flex-item-"+y(e,/flex-|-self/,"")+e;case 4675:return u+e+i+"flex-line-pack"+y(e,/align-content|flex-|-self/,"")+e;case 5548:return u+e+i+y(e,"shrink","negative")+e;case 5292:return u+e+i+y(e,"basis","preferred-size")+e;case 6060:return u+"box-"+y(e,"-grow","")+u+e+i+y(e,"grow","positive")+e;case 4554:return u+y(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+i+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,u+"$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(k(e)-1-t>6)switch(x(e,t+1)){case 109:if(45!==x(e,t+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+o+(108==x(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!==x(e,t+1))break;case 6444:switch(x(e,k(e)-3-(~b(e,"!important")&&10))){case 107:return y(e,":",":"+u)+e;case 101:return y(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+u+(45===x(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+i+"$2box$3")+e}break;case 5936:switch(x(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<t.length;r++)i[t[r]]=!0;o.push(e)}));var u,l,f=[V,(l=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],d=function(e){var t=$(e);return function(r,n,a,s){for(var c="",i=0;i<t;i++)c+=e[i](r,n,a,s)||"";return c}}([ae,se].concat(s,f));a=function(e,t,r,n){u=r,Q(B(e?e+"{"+t.styles+"}":t.styles),d),n&&(h.inserted[t.name]=!0)};var h={key:t,sheet:new c({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return h.sheet.hydrate(o),h},ue={}.hasOwnProperty,le=s.createContext("undefined"!=typeof HTMLElement?oe({key:"css"}):null);le.Provider;var fe=function(e){return r.forwardRef((function(t,n){var a=r.useContext(le);return e(t,a,n)}))},de=s.createContext({});var he=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)};var pe={animationIterationCount:1,aspectRatio: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},ve=/[A-Z]|^ms/g,ge=/_EMO_([^_]+?)_([^]*?)_EMO_/g,me=function(e){return 45===e.charCodeAt(1)},ye=function(e){return null!=e&&"boolean"!=typeof e},be=ee((function(e){return me(e)?e:e.replace(ve,"-$&").toLowerCase()})),xe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ge,(function(e,t,r){return ke={name:t,styles:r,next:ke},t}))}return 1===pe[e]||me(e)||"number"!=typeof t||0===t?t:t+"px"};function we(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 ke={name:r.name,styles:r.styles,next:ke},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)ke={name:n.name,styles:n.styles,next:ke},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=we(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]+"}":ye(c)&&(n+=be(s)+":"+xe(s,c)+";");else if(!Array.isArray(c)||"string"!=typeof c[0]||null!=t&&void 0!==t[c[0]]){var i=we(e,t,c);switch(s){case"animation":case"animationName":n+=be(s)+":"+i+";";break;default:n+=s+"{"+i+"}"}}else for(var o=0;o<c.length;o++)ye(c[o])&&(n+=be(s)+":"+xe(s,c[o])+";")}return n}(e,t,r);case"function":if(void 0!==e){var a=ke,s=r(e);return ke=a,we(e,t,s)}}if(null==t)return r;var c=t[r];return void 0!==c?c:r}var ke,$e=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Ce=!!s.useInsertionEffect&&s.useInsertionEffect||function(e){return e()},Ae="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Se=function(e,t){var r={};for(var n in t)ue.call(t,n)&&(r[n]=t[n]);return r[Ae]=e,r},Oe=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return he(t,r,n),Ce((function(){return function(e,t,r){he(e,t,r);var n=e.key+"-"+t.name;if(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,r,n)})),null},_e=fe((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var a=e[Ae],c=[n],i="";"string"==typeof e.className?i=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&&(i=e.className+" ");var o=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="";ke=void 0;var s=e[0];null==s||void 0===s.raw?(n=!1,a+=we(r,t,s)):a+=s[0];for(var c=1;c<e.length;c++)a+=we(r,t,e[c]),n&&(a+=s[c]);$e.lastIndex=0;for(var i,o="";null!==(i=$e.exec(a));)o+="-"+i[1];return{name: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)+o,styles:a,next:ke}}(c,void 0,s.useContext(de));i+=t.key+"-"+o.name;var u={};for(var l in e)ue.call(e,l)&&"css"!==l&&l!==Ae&&(u[l]=e[l]);return u.ref=r,u.className=i,s.createElement(s.Fragment,null,s.createElement(Oe,{cache:t,serialized:o,isStringTag:"string"==typeof a}),s.createElement(a,u))})),je=_e,Ee=a.Fragment;e.Fragment=Ee,e.jsx=function(e,t,r){return ue.call(t,"css")?a.jsx(je,Se(e,t),r):a.jsx(e,t,r)},e.jsxs=function(e,t,r){return ue.call(t,"css")?a.jsxs(je,Se(e,t),r):a.jsxs(e,t,r)},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=emotion-react-jsx-runtime.umd.min.js.map