@yisheng90/react-loading
Version:
A React Skeleton Component
2 lines • 36 kB
JavaScript
/*! For license information please see Skeleton.js.LICENSE.txt */
(()=>{var e={679:(e,t,r)=>{"use strict";var n=r(864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=d(r);o&&o!==h&&e(t,o,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var s=c(t),g=c(r),m=0;m<i.length;++m){var y=i[m];if(!(a[y]||n&&n[y]||g&&g[y]||s&&s[y])){var b=p(r,y);try{l(t,y,b)}catch(e){}}}}return t}},703:(e,t,r)=>{"use strict";var n=r(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},921:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case s:case i:case d:return e;default:switch(e=e&&e.$$typeof){case l:case p:case m:case g:case c:return e;default:return t}}case o:return t}}}function S(e){return w(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=d,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===s||e===i||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===k||e.$$typeof===y)},t.typeOf=w},864:(e,t,r)=>{"use strict";e.exports=r(921)},774:e=>{e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var l=a[c];if(!s(l))return!1;var u=e[l],f=t[l];if(!1===(o=r?r.call(n,u,f,l):void 0)||void 0===o&&u!==f)return!1}return!0}}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var n={};(()=>{"use strict";r.r(n),r.d(n,{default:()=>Ve});const e=require("react");var t=r.n(e),o=r(697),a=r.n(o),i=r(864);r(774);const s=function(e){function t(e,n,c,l,p){for(var d,h,g,m,k,S=0,C=0,x=0,A=0,O=0,$=0,N=g=d=0,_=0,M=0,F=0,D=0,L=c.length,G=L-1,H="",B="",U="",W="";_<L;){if(h=c.charCodeAt(_),_===G&&0!==C+A+x+S&&(0!==C&&(h=47===C?10:47),A=x=S=0,L++,G++),0===C+A+x+S){if(_===G&&(0<M&&(H=H.replace(f,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=c.charAt(_)}h=59}switch(h){case 123:for(d=(H=H.trim()).charCodeAt(0),g=1,D=++_;_<L;){switch(h=c.charCodeAt(_)){case 123:g++;break;case 125:g--;break;case 47:switch(h=c.charCodeAt(_+1)){case 42:case 47:e:{for(N=_+1;N<G;++N)switch(c.charCodeAt(N)){case 47:if(42===h&&42===c.charCodeAt(N-1)&&_+2!==N){_=N+1;break e}break;case 10:if(47===h){_=N+1;break e}}_=N}}break;case 91:h++;case 40:h++;case 34:case 39:for(;_++<G&&c.charCodeAt(_)!==h;);}if(0===g)break;_++}if(g=c.substring(D,_),0===d&&(d=(H=H.replace(u,"").trim()).charCodeAt(0)),64===d){switch(0<M&&(H=H.replace(f,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:M=n;break;default:M=j}if(D=(g=t(n,M,g,h,p+1)).length,0<E&&(k=s(3,g,M=r(j,H,F),n,R,P,D,h,p,l),H=M.join(""),void 0!==k&&0===(D=(g=k.trim()).length)&&(h=0,g="")),0<D)switch(h){case 115:H=H.replace(w,i);case 100:case 109:case 45:g=H+"{"+g+"}";break;case 107:g=(H=H.replace(y,"$1 $2"))+"{"+g+"}",g=1===T||2===T&&a("@"+g,3)?"@-webkit-"+g+"@"+g:"@"+g;break;default:g=H+g,112===l&&(B+=g,g="")}else g=""}else g=t(n,r(n,H,F),g,l,p+1);U+=g,g=F=M=N=d=0,H="",h=c.charCodeAt(++_);break;case 125:case 59:if(1<(D=(H=(0<M?H.replace(f,""):H).trim()).length))switch(0===N&&(d=H.charCodeAt(0),45===d||96<d&&123>d)&&(D=(H=H.replace(" ",":")).length),0<E&&void 0!==(k=s(1,H,n,e,R,P,B.length,l,p,l))&&0===(D=(H=k.trim()).length)&&(H="\0\0"),d=H.charCodeAt(0),h=H.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){W+=H+c.charAt(_);break}default:58!==H.charCodeAt(D-1)&&(B+=o(H,d,h,H.charCodeAt(2)))}F=M=N=d=0,H="",h=c.charCodeAt(++_)}}switch(h){case 13:case 10:47===C?C=0:0===1+d&&107!==l&&0<H.length&&(M=1,H+="\0"),0<E*z&&s(0,H,n,e,R,P,B.length,l,p,l),P=1,R++;break;case 59:case 125:if(0===C+A+x+S){P++;break}default:switch(P++,m=c.charAt(_),h){case 9:case 32:if(0===A+S+C)switch(O){case 44:case 58:case 9:case 32:m="";break;default:32!==h&&(m=" ")}break;case 0:m="\\0";break;case 12:m="\\f";break;case 11:m="\\v";break;case 38:0===A+C+S&&(M=F=1,m="\f"+m);break;case 108:if(0===A+C+S+I&&0<N)switch(_-N){case 2:112===O&&58===c.charCodeAt(_-3)&&(I=O);case 8:111===$&&(I=$)}break;case 58:0===A+C+S&&(N=_);break;case 44:0===C+x+A+S&&(M=1,m+="\r");break;case 34:case 39:0===C&&(A=A===h?0:0===A?h:A);break;case 91:0===A+C+x&&S++;break;case 93:0===A+C+x&&S--;break;case 41:0===A+C+S&&x--;break;case 40:0===A+C+S&&(0===d&&(2*O+3*$==533||(d=1)),x++);break;case 64:0===C+x+A+S+N+g&&(g=1);break;case 42:case 47:if(!(0<A+S+x))switch(C){case 0:switch(2*h+3*c.charCodeAt(_+1)){case 235:C=47;break;case 220:D=_,C=42}break;case 42:47===h&&42===O&&D+2!==_&&(33===c.charCodeAt(D+2)&&(B+=c.substring(D,_+1)),m="",C=0)}}0===C&&(H+=m)}$=O,O=h,_++}if(0<(D=B.length)){if(M=n,0<E&&void 0!==(k=s(2,B,M,e,R,P,D,l,p,l))&&0===(B=k).length)return W+B+U;if(B=M.join(",")+"{"+B+"}",0!=T*I){switch(2!==T||a(B,2)||(I=0),I){case 111:B=B.replace(v,":-moz-$1")+B;break;case 112:B=B.replace(b,"::-webkit-input-$1")+B.replace(b,"::-moz-$1")+B.replace(b,":-ms-input-$1")+B}I=0}}return W+B+U}function r(e,t,r){var o=t.trim().split(g);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=n(e,t[s],r).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<i;++l)t[c++]=n(e[l]+" ",o[s],r).trim()}return t}function n(e,t,r){var n=t.charCodeAt(0);switch(33>n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,n){var i=e+";",s=2*t+3*r+4*n;if(944===s){e=i.indexOf(":",9)+1;var c=i.substring(e,i.length-1).trim();return c=i.substring(0,e).trim()+c+";",1===T||2===T&&a(c,1)?"-webkit-"+c+c:c}if(0===T||2===T&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(O,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(c=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+c+i;case 1005:return d.test(i)?i.replace(p,":-webkit-")+i.replace(p,":-moz-")+i:i;case 1e3:switch(t=(c=i.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=i.replace(k,"tb");break;case 232:c=i.replace(k,"tb-rl");break;case 220:c=i.replace(k,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+c+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(c=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:i=i.replace(c,"-webkit-"+c)+";"+i;break;case 207:case 102:i=i.replace(c,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(c,"-webkit-"+c)+";"+i.replace(c,"-ms-"+c+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return c=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+c+"-ms-flex-"+c+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace(C,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace(C,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===A.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,n).replace(":fill-available",":stretch"):i.replace(c,"-webkit-"+c)+i.replace(c,"-moz-"+c.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===r+n&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+i}return i}function a(e,t){var r=e.indexOf(1===t?":":"{"),n=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),N(2!==t?n:n.replace(x,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(S," or ($1)").substring(4):"("+t+")"}function s(e,t,r,n,o,a,i,s,c,u){for(var f,p=0,d=t;p<E;++p)switch(f=$[p].call(l,e,d,r,n,o,a,i,s,c,u)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==t)return d}function c(e){return void 0!==(e=e.prefix)&&(N=null,e?"function"!=typeof e?T=1:(T=2,N=e):T=0),c}function l(e,r){var n=e;if(33>n.charCodeAt(0)&&(n=n.trim()),n=[n],0<E){var o=s(-1,r,n,n,R,P,0,0,0,0);void 0!==o&&"string"==typeof o&&(r=o)}var a=t(j,n,r,0,0);return 0<E&&void 0!==(o=s(-2,a,n,n,R,P,a.length,0,0,0))&&(a=o),I=0,P=R=1,a}var u=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,d=/zoo|gra/,h=/([,: ])(transform)/g,g=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,v=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,C=/-self|flex-/g,x=/[^]*?(:[rp][el]a[\w-]+)[^]*/,A=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,P=1,R=1,I=0,T=1,j=[],$=[],E=0,N=null,z=0;return l.use=function e(t){switch(t){case void 0:case null:E=$.length=0;break;default:if("function"==typeof t)$[E++]=t;else if("object"==typeof t)for(var r=0,n=t.length;r<n;++r)e(t[r]);else z=0|!!t}return e},l.set=c,void 0!==e&&c(e),l},c={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};var l=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const u=(f={},function(e){return void 0===f[e]&&(f[e]=(t=e,l.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),f[e];var t});var f,p=r(679),d=r.n(p);function h(){return h=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},h.apply(this,arguments)}var g=function(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r},m=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,i.typeOf)(e)},y=Object.freeze([]),b=Object.freeze({});function v(e){return"function"==typeof e}function k(e){return e.displayName||e.name||"Component"}function w(e){return e&&"string"==typeof e.styledComponentId}var S="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="active",x="data-styled-version",A="/*!sc*/\n",O="undefined"!=typeof window&&"HTMLElement"in window,P="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||"undefined"!=typeof process&&(process.env.REACT_APP_SC_DISABLE_SPEEDY||process.env.SC_DISABLE_SPEEDY)||!1;function R(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+e+" for more information."+(r.length>0?" Additional arguments: "+r.join(", "):""))}var I=function(e){var t=document.head,n=e||t,o=document.createElement("style"),a=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(S))return n}}(n),i=void 0!==a?a.nextSibling:null;o.setAttribute(S,C),o.setAttribute(x,"5.1.1");var s=r.nc;return s&&o.setAttribute("nonce",s),n.insertBefore(o,i),o},T=function(){function e(e){var t=this.element=I(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}R(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),j=function(){function e(e){var t=this.element=I(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),$=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&R(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=0,c=t.length;s<c;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a<o;a++)t+=""+this.tag.getRule(a)+A;return t},e}(),N=new Map,z=new Map,_=1,M=function(e){if(N.has(e))return N.get(e);var t=_++;return N.set(e,t),z.set(t,e),t},F=function(e){return z.get(e)},D=function(e,t){t>=_&&(_=t+1),N.set(e,t),z.set(t,e)},L="style["+S+"]["+x+'="5.1.1"]',G=new RegExp("^"+S+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),H=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a<i;a++)(n=o[a])&&e.registerName(t,n)},B=function(e,t){for(var r=t.innerHTML.split(A),n=[],o=0,a=r.length;o<a;o++){var i=r[o].trim();if(i){var s=i.match(G);if(s){var c=0|parseInt(s[1],10),l=s[2];0!==c&&(D(l,c),H(e,l,s[3]),e.getTag().insertRules(c,n)),n.length=0}else n.push(i)}}},U=O,W={isServer:!O,useCSSOMInjection:!P},q=function(){function e(e,t,r){void 0===e&&(e=W),void 0===t&&(t={}),this.options=h({},W,{},e),this.gs=t,this.names=new Map(r),!this.options.isServer&&O&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(L),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(S)!==C&&(B(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}e.registerId=function(e){return M(e)};var t=e.prototype;return t.reconstructWithOptions=function(t){return new e(h({},this.options,{},t),this.gs,this.names)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(r=(t=this.options).isServer,n=t.useCSSOMInjection,o=t.target,e=r?new $(o):n?new T(o):new j(o),new E(e)));var e,t,r,n,o},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(M(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(M(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(M(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=0;o<r;o++){var a=F(o);if(void 0!==a){var i=e.names.get(a),s=t.getGroup(o);if(void 0!==i&&0!==s.length){var c=S+".g"+o+'[id="'+a+'"]',l="";void 0!==i&&i.forEach((function(e){e.length>0&&(l+=e+",")})),n+=""+s+c+'{content:"'+l+'"}'+A}}}return n}(this)},e}(),V=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Y=function(e){return V(5381,e)},X=/^\s*\/\/.*$/gm;var Z=t().createContext(),K=(Z.Consumer,t().createContext()),J=(K.Consumer,new q),Q=function(e){var t,r,n,o=void 0===e?b:e,a=o.options,i=void 0===a?b:a,c=o.plugins,l=void 0===c?y:c,u=new s(i),f=[],p=function(e){var t="/*|*/";function r(t){if(t)try{e(t+"}")}catch(e){}}return function(n,o,a,i,s,c,l,u,f,p){switch(n){case 1:if(0===f&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===u)return o+t;break;case 3:switch(u){case 102:case 112:return e(a[0]+o),"";default:return o+(0===p?t:"")}case-2:o.split("/*|*/}").forEach(r)}}}((function(e){f.push(e)})),d=function(e,n,o){return n>0&&-1!==o.slice(0,n).indexOf(r)&&o.slice(n-r.length,n)!==r?"."+t:e};function h(e,o,a,i){void 0===i&&(i="&");var s=e.replace(X,""),c=o&&a?a+" "+o+" { "+s+" }":s;return t=i,r=o,n=new RegExp("\\"+r+"\\b","g"),u(a||!o?"":o,c)}return u.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,d))},p,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=l.length?l.reduce((function(e,t){return t.name||R(15),V(e,t.name)}),5381).toString():"",h}();var ee=function(){function e(e,t){var r=this;this.inject=function(e){e.hasNameForId(r.id,r.name)||e.insertRules(r.id,r.name,Q.apply(void 0,r.stringifyArgs))},this.toString=function(){return R(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.stringifyArgs=t}return e.prototype.getName=function(){return this.name},e}(),te=/([A-Z])/g,re=/^ms-/;function ne(e){return e.replace(te,"-$1").toLowerCase().replace(re,"-ms-")}var oe=function(e){return null==e||!1===e||""===e},ae=function e(t,r){var n=[];return Object.keys(t).forEach((function(r){if(!oe(t[r])){if(m(t[r]))return n.push.apply(n,e(t[r],r)),n;if(v(t[r]))return n.push(ne(r)+":",t[r],";"),n;n.push(ne(r)+": "+(o=r,(null==(a=t[r])||"boolean"==typeof a||""===a?"":"number"!=typeof a||0===a||o in c?String(a).trim():a+"px")+";"))}var o,a;return n})),r?[r+" {"].concat(n,["}"]):n};function ie(e,t,r){if(Array.isArray(e)){for(var n,o=[],a=0,i=e.length;a<i;a+=1)""!==(n=ie(e[a],t,r))&&(Array.isArray(n)?o.push.apply(o,n):o.push(n));return o}return oe(e)?"":w(e)?"."+e.styledComponentId:v(e)?"function"!=typeof(s=e)||s.prototype&&s.prototype.isReactComponent||!t?e:ie(e(t),t,r):e instanceof ee?r?(e.inject(r),e.getName()):e:m(e)?ae(e):e.toString();var s}function se(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return v(e)||m(e)?ie(g(y,[e].concat(r))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:ie(g(e,r))}function ce(e,t,r){if(void 0===r&&(r=b),!(0,i.isValidElementType)(t))return R(1,String(t));var n=function(){return e(t,r,se.apply(void 0,arguments))};return n.withConfig=function(n){return ce(e,t,h({},r,{},n))},n.attrs=function(n){return ce(e,t,h({},r,{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n}var le=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},ue=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function fe(e,t,r){var n=e[r];le(t)&&le(n)?pe(n,t):e[r]=t}function pe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if(le(i))for(var s in i)ue(s)&&fe(e,i[s],s)}return e}var de=/(a)(d)/gi,he=function(e){return String.fromCharCode(e+(e>25?39:97))};function ge(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=he(t%52)+r;return(he(t%52)+r).replace(de,"$1-$2")}var me=function(){function e(e,t){this.rules=e,this.staticRulesId="",this.isStatic=function(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(v(r)&&!w(r))return!1}return!0}(e),this.componentId=t,this.baseHash=Y(t),q.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.componentId;if(this.isStatic&&!r.hash){if(this.staticRulesId&&t.hasNameForId(n,this.staticRulesId))return this.staticRulesId;var o=ie(this.rules,e,t).join(""),a=ge(V(this.baseHash,o.length)>>>0);if(!t.hasNameForId(n,a)){var i=r(o,"."+a,void 0,n);t.insertRules(n,a,i)}return this.staticRulesId=a,a}for(var s=this.rules.length,c=V(this.baseHash,r.hash),l="",u=0;u<s;u++){var f=this.rules[u];if("string"==typeof f)l+=f;else{var p=ie(f,e,t),d=Array.isArray(p)?p.join(""):p;c=V(c,d+u),l+=d}}var h=ge(c>>>0);if(!t.hasNameForId(n,h)){var g=r(l,"."+h,void 0,n);t.insertRules(n,h,g)}return h},e}(),ye=(new Set,function(e,t,r){return void 0===r&&(r=b),e.theme!==r.theme&&e.theme||t||r.theme}),be=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ve=/(^-|-$)/g;function ke(e){return e.replace(be,"-").replace(ve,"")}function we(e){return"string"==typeof e&&!0}var Se=function(e){return ge(Y(e)>>>0)},Ce=t().createContext();Ce.Consumer;var xe={};function Ae(t,r,n){var o=t.attrs,a=t.componentStyle,i=t.defaultProps,s=t.foldedComponentIds,c=t.shouldForwardProp,l=t.styledComponentId,f=t.target;(0,e.useDebugValue)(l);var p=function(e,t,r){void 0===e&&(e=b);var n=h({},t,{theme:e}),o={};return r.forEach((function(e){var t,r,a,i=e;for(t in v(i)&&(i=i(n)),i)n[t]=o[t]="className"===t?(r=o[t],a=i[t],r&&a?r+" "+a:r||a):i[t]})),[n,o]}(ye(r,(0,e.useContext)(Ce),i)||b,r,o),d=p[0],g=p[1],m=function(t,r,n,o){var a=(0,e.useContext)(Z)||J,i=(0,e.useContext)(K)||Q,s=t.isStatic&&!r?t.generateAndInjectStyles(b,a,i):t.generateAndInjectStyles(n,a,i);return(0,e.useDebugValue)(s),s}(a,o.length>0,d),y=n,k=g.$as||r.$as||g.as||r.as||f,w=we(k),S=g!==r?h({},r,{},g):r,C=c||w&&u,x={};for(var A in S)"$"!==A[0]&&"as"!==A&&("forwardedAs"===A?x.as=S[A]:C&&!C(A,u)||(x[A]=S[A]));return r.style&&g.style!==r.style&&(x.style=h({},r.style,{},g.style)),x.className=Array.prototype.concat(s,l,m!==l?m:null,r.className,g.className).filter(Boolean).join(" "),x.ref=y,(0,e.createElement)(k,x)}function Oe(e,r,n){var o=w(e),a=!we(e),i=r.displayName,s=void 0===i?function(e){return we(e)?"styled."+e:"Styled("+k(e)+")"}(e):i,c=r.componentId,l=void 0===c?function(e,t){var r="string"!=typeof e?"sc":ke(e);xe[r]=(xe[r]||0)+1;var n=r+"-"+Se(r+xe[r]);return t?t+"-"+n:n}(r.displayName,r.parentComponentId):c,u=r.attrs,f=void 0===u?y:u,p=r.displayName&&r.componentId?ke(r.displayName)+"-"+r.componentId:r.componentId||l,g=o&&e.attrs?Array.prototype.concat(e.attrs,f).filter(Boolean):f,m=r.shouldForwardProp;o&&e.shouldForwardProp&&(m=m?function(t,n){return e.shouldForwardProp(t,n)&&r.shouldForwardProp(t,n)}:e.shouldForwardProp);var b,v=new me(o?e.componentStyle.rules.concat(n):n,p),S=function(e,t){return Ae(b,e,t)};return S.displayName=s,(b=t().forwardRef(S)).attrs=g,b.componentStyle=v,b.displayName=s,b.shouldForwardProp=m,b.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):y,b.styledComponentId=p,b.target=o?e.target:e,b.withComponent=function(e){var t=r.componentId,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["componentId"]),a=t&&t+"-"+(we(e)?e:ke(k(e)));return Oe(e,h({},o,{attrs:g,componentId:a}),n)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?pe({},e.defaultProps,t):t}}),b.toString=function(){return"."+b.styledComponentId},a&&d()(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,self:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var Pe=function(e){return ce(Oe,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Pe[e]=Pe(e)}));const Re=Pe;var Ie,Te,je,$e,Ee,Ne,ze,_e,Me,Fe,De=function(e){return e.match(/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)$/)};function Le(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ge="#eee",He=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=se.apply(void 0,[e].concat(r)).join(""),a=Se(o);return new ee(a,[o,a,""])}(_e||(_e=Le(["\n 0% {\n background-position: -220px 0;\n }\n 100% {\n background-position: calc(220px + 100%) 0;\n }\n"]))),Be=Re.span(Me||(Me=Le(["\n &&& {\n display: block;\n margin: 0 0 4px 0;\n background-size: 220px 100%;\n background-repeat: no-repeat;\n line-height: 1.5;\n min-height: 16px;\n animation: "," 1.5s ease-in-out infinite;\n ","\n ","\n ","\n ","\n ","\n }\n"])),He,(function(e){var t=e.radius;return e.circle?"":se(je||(je=Le(["\n border-radius: ",";\n "])),t?"".concat(t,"px"):"4px")}),(function(e){return e.circle&&se(Ee||(Ee=Le(["\n border-radius: 50%;\n "])))}),(function(e){var t=e.height,r=e.circle,n=e.width;return r&&n&&(t=n),"number"==typeof t&&(t="".concat(t,"px")),se(Ne||(Ne=Le(["\n height: ",";\n "])),t||"100%")}),(function(e){var t=e.width,r=e.circle,n=e.height;return!t&&r&&n&&(t=n),"number"==typeof t&&(t="".concat(t,"px")),se(ze||(ze=Le(["\n width: ",";\n "])),t||"100%")}),(function(e){var t=e.color,r=e.translucent,n=function(e){var t=(new Option).style;return t.color=e,!!t.color}(t)?t:Ge,o=n===Ge?"#f5f5f5":"#f5f5f54D";return se($e||($e=Le(["\n opacity: ",";\n background-color: ",";\n ","\n "])),r?.3:1,n,function(e,t){var r,n;if(De(e)){var o=(n=De(r=e))?"rgba(".concat(Number(n[1]),", ").concat(Number(n[2]),", ").concat(Number(n[3]),", ").concat(0,")"):r;return se(Ie||(Ie=Le(["\n background-image: linear-gradient(90deg, ",", ",");\n "])),o,e)}return se(Te||(Te=Le(["\n background-image: linear-gradient(\n 90deg,\n ",",\n ",",\n ","\n );\n "])),e,t,e)}(n,o))})),Ue=(Re.div(Fe||(Fe=Le(["\n &&& {\n display: flex;\n align-items: center;\n\n > span {\n margin-right: 10px;\n }\n }\n"]))),["rows"]);function We(){return We=Object.assign?Object.assign.bind():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},We.apply(this,arguments)}var qe=function(e){var r=e.rows,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Ue),o=Array(r).fill(1).map((function(e,r){return t().createElement(Be,We({key:r,"data-testid":"skeleton__item"},n))}));return t().createElement(t().Fragment,null,o)};qe.propTypes={rows:a().number,circle:a().bool,color:a().string,translucent:a().bool,height:a().oneOfType([a().string,a().number]),width:a().oneOfType([a().string,a().number]),radius:a().number},qe.defaultProps={rows:1};const Ve=qe})(),module.exports=n})();