@bitnoi.se/react-scheduler
Version:
<div align="center"> <img src="logo.svg" style="height: 60px" alt="@bitnoise/react-scheduler"> <hr /> <p align="center"> ✨ <a href="https://scheduler.bitnoise.pl/">https://scheduler.bitnoise.pl/</a> ✨ <br/> Open sourced, typescript orien
103 lines (83 loc) • 133 kB
JavaScript
(function(fe,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],v):(fe=typeof globalThis<"u"?globalThis:fe||self,v(fe["react-scheduler"]={},fe["react/jsx-runtime"],fe.React))})(this,function(fe,v,b){"use strict";var Oi=Object.defineProperty;var Pi=(fe,v,b)=>v in fe?Oi(fe,v,{enumerable:!0,configurable:!0,writable:!0,value:b}):fe[v]=b;var Jr=(fe,v,b)=>(Pi(fe,typeof v!="symbol"?v+"":v,b),b);function qr(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const F=qr(b);var pe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ye={},Kr={get exports(){return Ye},set exports(e){Ye=e}},re={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Gt;function Qr(){if(Gt)return re;Gt=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function j(p){if(typeof p=="object"&&p!==null){var k=p.$$typeof;switch(k){case n:switch(p=p.type,p){case l:case c:case r:case s:case o:case u:return p;default:switch(p=p&&p.$$typeof,p){case a:case d:case y:case m:case i:return p;default:return k}}case t:return k}}}function Y(p){return j(p)===c}return re.AsyncMode=l,re.ConcurrentMode=c,re.ContextConsumer=a,re.ContextProvider=i,re.Element=n,re.ForwardRef=d,re.Fragment=r,re.Lazy=y,re.Memo=m,re.Portal=t,re.Profiler=s,re.StrictMode=o,re.Suspense=u,re.isAsyncMode=function(p){return Y(p)||j(p)===l},re.isConcurrentMode=Y,re.isContextConsumer=function(p){return j(p)===a},re.isContextProvider=function(p){return j(p)===i},re.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===n},re.isForwardRef=function(p){return j(p)===d},re.isFragment=function(p){return j(p)===r},re.isLazy=function(p){return j(p)===y},re.isMemo=function(p){return j(p)===m},re.isPortal=function(p){return j(p)===t},re.isProfiler=function(p){return j(p)===s},re.isStrictMode=function(p){return j(p)===o},re.isSuspense=function(p){return j(p)===u},re.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===r||p===c||p===s||p===o||p===u||p===f||typeof p=="object"&&p!==null&&(p.$$typeof===y||p.$$typeof===m||p.$$typeof===i||p.$$typeof===a||p.$$typeof===d||p.$$typeof===T||p.$$typeof===D||p.$$typeof===A||p.$$typeof===E)},re.typeOf=j,re}var ne={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ut;function en(){return Ut||(Ut=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,E=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function j(g){return typeof g=="string"||typeof g=="function"||g===r||g===c||g===s||g===o||g===u||g===f||typeof g=="object"&&g!==null&&(g.$$typeof===y||g.$$typeof===m||g.$$typeof===i||g.$$typeof===a||g.$$typeof===d||g.$$typeof===T||g.$$typeof===D||g.$$typeof===A||g.$$typeof===E)}function Y(g){if(typeof g=="object"&&g!==null){var se=g.$$typeof;switch(se){case n:var ae=g.type;switch(ae){case l:case c:case r:case s:case o:case u:return ae;default:var ee=ae&&ae.$$typeof;switch(ee){case a:case d:case y:case m:case i:return ee;default:return se}}case t:return se}}}var p=l,k=c,O=a,z=i,B=n,I=d,q=r,Q=y,P=m,$=t,x=s,N=o,w=u,H=!1;function V(g){return H||(H=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),X(g)||Y(g)===l}function X(g){return Y(g)===c}function te(g){return Y(g)===a}function _(g){return Y(g)===i}function M(g){return typeof g=="object"&&g!==null&&g.$$typeof===n}function S(g){return Y(g)===d}function Z(g){return Y(g)===r}function h(g){return Y(g)===y}function R(g){return Y(g)===m}function C(g){return Y(g)===t}function J(g){return Y(g)===s}function G(g){return Y(g)===o}function K(g){return Y(g)===u}ne.AsyncMode=p,ne.ConcurrentMode=k,ne.ContextConsumer=O,ne.ContextProvider=z,ne.Element=B,ne.ForwardRef=I,ne.Fragment=q,ne.Lazy=Q,ne.Memo=P,ne.Portal=$,ne.Profiler=x,ne.StrictMode=N,ne.Suspense=w,ne.isAsyncMode=V,ne.isConcurrentMode=X,ne.isContextConsumer=te,ne.isContextProvider=_,ne.isElement=M,ne.isForwardRef=S,ne.isFragment=Z,ne.isLazy=h,ne.isMemo=R,ne.isPortal=C,ne.isProfiler=J,ne.isStrictMode=G,ne.isSuspense=K,ne.isValidElementType=j,ne.typeOf=Y}()),ne}(function(e){process.env.NODE_ENV==="production"?e.exports=Qr():e.exports=en()})(Kr);function tn(e){function n(_,M,S,Z,h){for(var R=0,C=0,J=0,G=0,K,g,se=0,ae=0,ee,ue=ee=K=0,oe=0,le=0,Ke=0,de=0,dt=S.length,Qe=dt-1,xe,U="",ie="",Vt="",Rt="",Te;oe<dt;){if(g=S.charCodeAt(oe),oe===Qe&&C+G+J+R!==0&&(C!==0&&(g=C===47?10:47),G=J=R=0,dt++,Qe++),C+G+J+R===0){if(oe===Qe&&(0<le&&(U=U.replace(f,"")),0<U.trim().length)){switch(g){case 32:case 9:case 59:case 13:case 10:break;default:U+=S.charAt(oe)}g=59}switch(g){case 123:for(U=U.trim(),K=U.charCodeAt(0),ee=1,de=++oe;oe<dt;){switch(g=S.charCodeAt(oe)){case 123:ee++;break;case 125:ee--;break;case 47:switch(g=S.charCodeAt(oe+1)){case 42:case 47:e:{for(ue=oe+1;ue<Qe;++ue)switch(S.charCodeAt(ue)){case 47:if(g===42&&S.charCodeAt(ue-1)===42&&oe+2!==ue){oe=ue+1;break e}break;case 10:if(g===47){oe=ue+1;break e}}oe=ue}}break;case 91:g++;case 40:g++;case 34:case 39:for(;oe++<Qe&&S.charCodeAt(oe)!==g;);}if(ee===0)break;oe++}switch(ee=S.substring(de,oe),K===0&&(K=(U=U.replace(u,"").trim()).charCodeAt(0)),K){case 64:switch(0<le&&(U=U.replace(f,"")),g=U.charCodeAt(1),g){case 100:case 109:case 115:case 45:le=M;break;default:le=N}if(ee=n(M,le,ee,g,h+1),de=ee.length,0<H&&(le=t(N,U,Ke),Te=a(3,ee,le,M,P,Q,de,g,h,Z),U=le.join(""),Te!==void 0&&(de=(ee=Te.trim()).length)===0&&(g=0,ee="")),0<de)switch(g){case 115:U=U.replace(k,i);case 100:case 109:case 45:ee=U+"{"+ee+"}";break;case 107:U=U.replace(A,"$1 $2"),ee=U+"{"+ee+"}",ee=x===1||x===2&&s("@"+ee,3)?"@-webkit-"+ee+"@"+ee:"@"+ee;break;default:ee=U+ee,Z===112&&(ee=(ie+=ee,""))}else ee="";break;default:ee=n(M,t(M,U,Ke),ee,Z,h+1)}Vt+=ee,ee=Ke=le=ue=K=0,U="",g=S.charCodeAt(++oe);break;case 125:case 59:if(U=(0<le?U.replace(f,""):U).trim(),1<(de=U.length))switch(ue===0&&(K=U.charCodeAt(0),K===45||96<K&&123>K)&&(de=(U=U.replace(" ",":")).length),0<H&&(Te=a(1,U,M,_,P,Q,ie.length,Z,h,Z))!==void 0&&(de=(U=Te.trim()).length)===0&&(U="\0\0"),K=U.charCodeAt(0),g=U.charCodeAt(1),K){case 0:break;case 64:if(g===105||g===99){Rt+=U+S.charAt(oe);break}default:U.charCodeAt(de-1)!==58&&(ie+=o(U,K,g,U.charCodeAt(2)))}Ke=le=ue=K=0,U="",g=S.charCodeAt(++oe)}}switch(g){case 13:case 10:C===47?C=0:1+K===0&&Z!==107&&0<U.length&&(le=1,U+="\0"),0<H*X&&a(0,U,M,_,P,Q,ie.length,Z,h,Z),Q=1,P++;break;case 59:case 125:if(C+G+J+R===0){Q++;break}default:switch(Q++,xe=S.charAt(oe),g){case 9:case 32:if(G+R+C===0)switch(se){case 44:case 58:case 9:case 32:xe="";break;default:g!==32&&(xe=" ")}break;case 0:xe="\\0";break;case 12:xe="\\f";break;case 11:xe="\\v";break;case 38:G+C+R===0&&(le=Ke=1,xe="\f"+xe);break;case 108:if(G+C+R+$===0&&0<ue)switch(oe-ue){case 2:se===112&&S.charCodeAt(oe-3)===58&&($=se);case 8:ae===111&&($=ae)}break;case 58:G+C+R===0&&(ue=oe);break;case 44:C+J+G+R===0&&(le=1,xe+="\r");break;case 34:case 39:C===0&&(G=G===g?0:G===0?g:G);break;case 91:G+C+J===0&&R++;break;case 93:G+C+J===0&&R--;break;case 41:G+C+R===0&&J--;break;case 40:if(G+C+R===0){if(K===0)switch(2*se+3*ae){case 533:break;default:K=1}J++}break;case 64:C+J+G+R+ue+ee===0&&(ee=1);break;case 42:case 47:if(!(0<G+R+J))switch(C){case 0:switch(2*g+3*S.charCodeAt(oe+1)){case 235:C=47;break;case 220:de=oe,C=42}break;case 42:g===47&&se===42&&de+2!==oe&&(S.charCodeAt(de+2)===33&&(ie+=S.substring(de,oe+1)),xe="",C=0)}}C===0&&(U+=xe)}ae=se,se=g,oe++}if(de=ie.length,0<de){if(le=M,0<H&&(Te=a(2,ie,le,_,P,Q,de,Z,h,Z),Te!==void 0&&(ie=Te).length===0))return Rt+ie+Vt;if(ie=le.join(",")+"{"+ie+"}",x*$!==0){switch(x!==2||s(ie,2)||($=0),$){case 111:ie=ie.replace(Y,":-moz-$1")+ie;break;case 112:ie=ie.replace(j,"::-webkit-input-$1")+ie.replace(j,"::-moz-$1")+ie.replace(j,":-ms-input-$1")+ie}$=0}}return Rt+ie+Vt}function t(_,M,S){var Z=M.trim().split(T);M=Z;var h=Z.length,R=_.length;switch(R){case 0:case 1:var C=0;for(_=R===0?"":_[0]+" ";C<h;++C)M[C]=r(_,M[C],S).trim();break;default:var J=C=0;for(M=[];C<h;++C)for(var G=0;G<R;++G)M[J++]=r(_[G]+" ",Z[C],S).trim()}return M}function r(_,M,S){var Z=M.charCodeAt(0);switch(33>Z&&(Z=(M=M.trim()).charCodeAt(0)),Z){case 38:return M.replace(D,"$1"+_.trim());case 58:return _.trim()+M.replace(D,"$1"+_.trim());default:if(0<1*S&&0<M.indexOf("\f"))return M.replace(D,(_.charCodeAt(0)===58?"":"$1")+_.trim())}return _+M}function o(_,M,S,Z){var h=_+";",R=2*M+3*S+4*Z;if(R===944){_=h.indexOf(":",9)+1;var C=h.substring(_,h.length-1).trim();return C=h.substring(0,_).trim()+C+";",x===1||x===2&&s(C,1)?"-webkit-"+C+C:C}if(x===0||x===2&&!s(h,1))return h;switch(R){case 1015:return h.charCodeAt(10)===97?"-webkit-"+h+h:h;case 951:return h.charCodeAt(3)===116?"-webkit-"+h+h:h;case 963:return h.charCodeAt(5)===110?"-webkit-"+h+h:h;case 1009:if(h.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+h+h;case 978:return"-webkit-"+h+"-moz-"+h+h;case 1019:case 983:return"-webkit-"+h+"-moz-"+h+"-ms-"+h+h;case 883:if(h.charCodeAt(8)===45)return"-webkit-"+h+h;if(0<h.indexOf("image-set(",11))return h.replace(q,"$1-webkit-$2")+h;break;case 932:if(h.charCodeAt(4)===45)switch(h.charCodeAt(5)){case 103:return"-webkit-box-"+h.replace("-grow","")+"-webkit-"+h+"-ms-"+h.replace("grow","positive")+h;case 115:return"-webkit-"+h+"-ms-"+h.replace("shrink","negative")+h;case 98:return"-webkit-"+h+"-ms-"+h.replace("basis","preferred-size")+h}return"-webkit-"+h+"-ms-"+h+h;case 964:return"-webkit-"+h+"-ms-flex-"+h+h;case 1023:if(h.charCodeAt(8)!==99)break;return C=h.substring(h.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+C+"-webkit-"+h+"-ms-flex-pack"+C+h;case 1005:return y.test(h)?h.replace(m,":-webkit-")+h.replace(m,":-moz-")+h:h;case 1e3:switch(C=h.substring(13).trim(),M=C.indexOf("-")+1,C.charCodeAt(0)+C.charCodeAt(M)){case 226:C=h.replace(p,"tb");break;case 232:C=h.replace(p,"tb-rl");break;case 220:C=h.replace(p,"lr");break;default:return h}return"-webkit-"+h+"-ms-"+C+h;case 1017:if(h.indexOf("sticky",9)===-1)break;case 975:switch(M=(h=_).length-10,C=(h.charCodeAt(M)===33?h.substring(0,M):h).substring(_.indexOf(":",7)+1).trim(),R=C.charCodeAt(0)+(C.charCodeAt(7)|0)){case 203:if(111>C.charCodeAt(8))break;case 115:h=h.replace(C,"-webkit-"+C)+";"+h;break;case 207:case 102:h=h.replace(C,"-webkit-"+(102<R?"inline-":"")+"box")+";"+h.replace(C,"-webkit-"+C)+";"+h.replace(C,"-ms-"+C+"box")+";"+h}return h+";";case 938:if(h.charCodeAt(5)===45)switch(h.charCodeAt(6)){case 105:return C=h.replace("-items",""),"-webkit-"+h+"-webkit-box-"+C+"-ms-flex-"+C+h;case 115:return"-webkit-"+h+"-ms-flex-item-"+h.replace(z,"")+h;default:return"-webkit-"+h+"-ms-flex-line-pack"+h.replace("align-content","").replace(z,"")+h}break;case 973:case 989:if(h.charCodeAt(3)!==45||h.charCodeAt(4)===122)break;case 931:case 953:if(I.test(_)===!0)return(C=_.substring(_.indexOf(":")+1)).charCodeAt(0)===115?o(_.replace("stretch","fill-available"),M,S,Z).replace(":fill-available",":stretch"):h.replace(C,"-webkit-"+C)+h.replace(C,"-moz-"+C.replace("fill-",""))+h;break;case 962:if(h="-webkit-"+h+(h.charCodeAt(5)===102?"-ms-"+h:"")+h,S+Z===211&&h.charCodeAt(13)===105&&0<h.indexOf("transform",10))return h.substring(0,h.indexOf(";",27)+1).replace(E,"$1-webkit-$2")+h}return h}function s(_,M){var S=_.indexOf(M===1?":":"{"),Z=_.substring(0,M!==3?S:10);return S=_.substring(S+1,_.length-1),V(M!==2?Z:Z.replace(B,"$1"),S,M)}function i(_,M){var S=o(M,M.charCodeAt(0),M.charCodeAt(1),M.charCodeAt(2));return S!==M+";"?S.replace(O," or ($1)").substring(4):"("+M+")"}function a(_,M,S,Z,h,R,C,J,G,K){for(var g=0,se=M,ae;g<H;++g)switch(ae=w[g].call(d,_,se,S,Z,h,R,C,J,G,K)){case void 0:case!1:case!0:case null:break;default:se=ae}if(se!==M)return se}function l(_){switch(_){case void 0:case null:H=w.length=0;break;default:if(typeof _=="function")w[H++]=_;else if(typeof _=="object")for(var M=0,S=_.length;M<S;++M)l(_[M]);else X=!!_|0}return l}function c(_){return _=_.prefix,_!==void 0&&(V=null,_?typeof _!="function"?x=1:(x=2,V=_):x=0),c}function d(_,M){var S=_;if(33>S.charCodeAt(0)&&(S=S.trim()),te=S,S=[te],0<H){var Z=a(-1,M,S,S,P,Q,0,0,0,0);Z!==void 0&&typeof Z=="string"&&(M=Z)}var h=n(N,S,M,0,0);return 0<H&&(Z=a(-2,h,S,S,P,Q,h.length,0,0,0),Z!==void 0&&(h=Z)),te="",$=0,Q=P=1,h}var u=/^\0+/g,f=/[\0\r\f]/g,m=/: */g,y=/zoo|gra/,E=/([,: ])(transform)/g,T=/,\r+?/g,D=/([\t\r\n ])*\f?&/g,A=/@(k\w+)\s*(\S*)\s*/,j=/::(place)/g,Y=/:(read-only)/g,p=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,z=/-self|flex-/g,B=/[^]*?(:[rp][el]a[\w-]+)[^]*/,I=/stretch|:\s*\w+\-(?:conte|avail)/,q=/([^-])(image-set\()/,Q=1,P=1,$=0,x=1,N=[],w=[],H=0,V=null,X=0,te="";return d.use=l,d.set=c,e!==void 0&&c(e),d}var rn={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};function nn(e){var n=Object.create(null);return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var on=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|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|enterKeyHint|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|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|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)-.*))$/,Xt=nn(function(e){return on.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ut=Ye,sn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},an={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},cn={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Jt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ht={};ht[ut.ForwardRef]=cn,ht[ut.Memo]=Jt;function qt(e){return ut.isMemo(e)?Jt:ht[e.$$typeof]||sn}var ln=Object.defineProperty,dn=Object.getOwnPropertyNames,Kt=Object.getOwnPropertySymbols,un=Object.getOwnPropertyDescriptor,hn=Object.getPrototypeOf,Qt=Object.prototype;function er(e,n,t){if(typeof n!="string"){if(Qt){var r=hn(n);r&&r!==Qt&&er(e,r,t)}var o=dn(n);Kt&&(o=o.concat(Kt(n)));for(var s=qt(e),i=qt(n),a=0;a<o.length;++a){var l=o[a];if(!an[l]&&!(t&&t[l])&&!(i&&i[l])&&!(s&&s[l])){var c=un(n,l);try{ln(e,l,c)}catch{}}}}return e}var fn=er;function we(){return(we=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var tr=function(e,n){for(var t=[e[0]],r=0,o=n.length;r<o;r+=1)t.push(n[r],e[r+1]);return t},ft=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!Ye.typeOf(e)},et=Object.freeze([]),$e=Object.freeze({});function Ie(e){return typeof e=="function"}function pt(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function mt(e){return e&&typeof e.styledComponentId=="string"}var Ne=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",vt=typeof window<"u"&&"HTMLElement"in window,pn=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production")),mn={},vn=process.env.NODE_ENV!=="production"?{1:`Cannot create styled-component for component: %s.
`,2:`Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
- Are you trying to reuse it across renders?
- Are you accidentally calling collectStyles twice?
`,3:`Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
`,4:`The \`StyleSheetManager\` expects a valid target or sheet prop!
- Does this error occur on the client and is your target falsy?
- Does this error occur on the server and is the sheet falsy?
`,5:`The clone method cannot be used on the client!
- Are you running in a client-like environment on the server?
- Are you trying to run SSR on the client?
`,6:`Trying to insert a new style tag, but the given Node is unmounted!
- Are you using a custom target that isn't mounted?
- Does your document not have a valid head element?
- Have you accidentally removed a style tag manually?
`,7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:`ThemeProvider: Please make your "theme" prop an object.
`,9:"Missing document `<head>`\n\n",10:`Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
`,11:`_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
`,12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:`%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
`,14:`ThemeProvider: "theme" prop is required.
`,15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:`Reached the limit of how many styled components may be created at group %s.
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
as for instance in your render method then you may be running into this limitation.
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
Has styled-components' style tag been unmounted or altered by another script?
`}:{};function yn(){for(var e=arguments.length<=0?void 0:arguments[0],n=[],t=1,r=arguments.length;t<r;t+=1)n.push(t<0||arguments.length<=t?void 0:arguments[t]);return n.forEach(function(o){e=e.replace(/%[a-z]/,o)}),e}function Ce(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];throw process.env.NODE_ENV==="production"?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(t.length>0?" Args: "+t.join(", "):"")):new Error(yn.apply(void 0,[vn[e]].concat(t)).trim())}var gn=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var n=e.prototype;return n.indexOfGroup=function(t){for(var r=0,o=0;o<t;o++)r+=this.groupSizes[o];return r},n.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var o=this.groupSizes,s=o.length,i=s;t>=i;)(i<<=1)<0&&Ce(16,""+t);this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var a=s;a<i;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(t+1),c=0,d=r.length;c<d;c++)this.tag.insertRule(l,r[c])&&(this.groupSizes[t]++,l++)},n.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],o=this.indexOfGroup(t),s=o+r;this.groupSizes[t]=0;for(var i=o;i<s;i++)this.tag.deleteRule(o)}},n.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],s=this.indexOfGroup(t),i=s+o,a=s;a<i;a++)r+=this.tag.getRule(a)+`/*!sc*/
`;return r},e}(),tt=new Map,rt=new Map,Xe=1,nt=function(e){if(tt.has(e))return tt.get(e);for(;rt.has(Xe);)Xe++;var n=Xe++;return process.env.NODE_ENV!=="production"&&((0|n)<0||n>1<<30)&&Ce(16,""+n),tt.set(e,n),rt.set(n,e),n},wn=function(e){return rt.get(e)},bn=function(e,n){n>=Xe&&(Xe=n+1),tt.set(e,n),rt.set(n,e)},xn="style["+Ne+'][data-styled-version="5.3.8"]',Cn=new RegExp("^"+Ne+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),Sn=function(e,n,t){for(var r,o=t.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(n,r)},kn=function(e,n){for(var t=(n.textContent||"").split(`/*!sc*/
`),r=[],o=0,s=t.length;o<s;o++){var i=t[o].trim();if(i){var a=i.match(Cn);if(a){var l=0|parseInt(a[1],10),c=a[2];l!==0&&(bn(c,l),Sn(e,c,a[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(i)}}},Mn=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null},rr=function(e){var n=document.head,t=e||n,r=document.createElement("style"),o=function(a){for(var l=a.childNodes,c=l.length;c>=0;c--){var d=l[c];if(d&&d.nodeType===1&&d.hasAttribute(Ne))return d}}(t),s=o!==void 0?o.nextSibling:null;r.setAttribute(Ne,"active"),r.setAttribute("data-styled-version","5.3.8");var i=Mn();return i&&r.setAttribute("nonce",i),t.insertBefore(r,s),r},$n=function(){function e(t){var r=this.element=rr(t);r.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var s=document.styleSheets,i=0,a=s.length;i<a;i++){var l=s[i];if(l.ownerNode===o)return l}Ce(17)}(r),this.length=0}var n=e.prototype;return n.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},n.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},n.getRule=function(t){var r=this.sheet.cssRules[t];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),_n=function(){function e(t){var r=this.element=rr(t);this.nodes=r.childNodes,this.length=0}var n=e.prototype;return n.insertRule=function(t,r){if(t<=this.length&&t>=0){var o=document.createTextNode(r),s=this.nodes[t];return this.element.insertBefore(o,s||null),this.length++,!0}return!1},n.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},n.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),En=function(){function e(t){this.rules=[],this.length=0}var n=e.prototype;return n.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},n.deleteRule=function(t){this.rules.splice(t,1),this.length--},n.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),nr=vt,Tn={isServer:!vt,useCSSOMInjection:!pn},ot=function(){function e(t,r,o){t===void 0&&(t=$e),r===void 0&&(r={}),this.options=we({},Tn,{},t),this.gs=r,this.names=new Map(o),this.server=!!t.isServer,!this.server&&vt&&nr&&(nr=!1,function(s){for(var i=document.querySelectorAll(xn),a=0,l=i.length;a<l;a++){var c=i[a];c&&c.getAttribute(Ne)!=="active"&&(kn(s,c),c.parentNode&&c.parentNode.removeChild(c))}}(this))}e.registerId=function(t){return nt(t)};var n=e.prototype;return n.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(we({},this.options,{},t),this.gs,r&&this.names||void 0)},n.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},n.getTag=function(){return this.tag||(this.tag=(o=(r=this.options).isServer,s=r.useCSSOMInjection,i=r.target,t=o?new En(i):s?new $n(i):new _n(i),new gn(t)));var t,r,o,s,i},n.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},n.registerName=function(t,r){if(nt(t),this.names.has(t))this.names.get(t).add(r);else{var o=new Set;o.add(r),this.names.set(t,o)}},n.insertRules=function(t,r,o){this.registerName(t,r),this.getTag().insertRules(nt(t),o)},n.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},n.clearRules=function(t){this.getTag().clearGroup(nt(t)),this.clearNames(t)},n.clearTag=function(){this.tag=void 0},n.toString=function(){return function(t){for(var r=t.getTag(),o=r.length,s="",i=0;i<o;i++){var a=wn(i);if(a!==void 0){var l=t.names.get(a),c=r.getGroup(i);if(l&&c&&l.size){var d=Ne+".g"+i+'[id="'+a+'"]',u="";l!==void 0&&l.forEach(function(f){f.length>0&&(u+=f+",")}),s+=""+c+d+'{content:"'+u+`"}/*!sc*/
`}}}return s}(this)},e}(),Dn=/(a)(d)/gi,or=function(e){return String.fromCharCode(e+(e>25?39:97))};function yt(e){var n,t="";for(n=Math.abs(e);n>52;n=n/52|0)t=or(n%52)+t;return(or(n%52)+t).replace(Dn,"$1-$2")}var De=function(e,n){for(var t=n.length;t;)e=33*e^n.charCodeAt(--t);return e},sr=function(e){return De(5381,e)};function ir(e){for(var n=0;n<e.length;n+=1){var t=e[n];if(Ie(t)&&!mt(t))return!1}return!0}var On=sr("5.3.8"),Pn=function(){function e(n,t,r){this.rules=n,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&ir(n),this.componentId=t,this.baseHash=De(On,t),this.baseStyle=r,ot.registerId(t)}return e.prototype.generateAndInjectStyles=function(n,t,r){var o=this.componentId,s=[];if(this.baseStyle&&s.push(this.baseStyle.generateAndInjectStyles(n,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(o,this.staticRulesId))s.push(this.staticRulesId);else{var i=Oe(this.rules,n,t,r).join(""),a=yt(De(this.baseHash,i)>>>0);if(!t.hasNameForId(o,a)){var l=r(i,"."+a,void 0,o);t.insertRules(o,a,l)}s.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,d=De(this.baseHash,r.hash),u="",f=0;f<c;f++){var m=this.rules[f];if(typeof m=="string")u+=m,process.env.NODE_ENV!=="production"&&(d=De(d,m+f));else if(m){var y=Oe(m,n,t,r),E=Array.isArray(y)?y.join(""):y;d=De(d,E+f),u+=E}}if(u){var T=yt(d>>>0);if(!t.hasNameForId(o,T)){var D=r(u,"."+T,void 0,o);t.insertRules(o,T,D)}s.push(T)}}return s.join(" ")},e}(),An=/^\s*\/\/.*$/gm,Ln=[":","[",".","#"];function Yn(e){var n,t,r,o,s=e===void 0?$e:e,i=s.options,a=i===void 0?$e:i,l=s.plugins,c=l===void 0?et:l,d=new tn(a),u=[],f=function(E){function T(D){if(D)try{E(D+"}")}catch{}}return function(D,A,j,Y,p,k,O,z,B,I){switch(D){case 1:if(B===0&&A.charCodeAt(0)===64)return E(A+";"),"";break;case 2:if(z===0)return A+"/*|*/";break;case 3:switch(z){case 102:case 112:return E(j[0]+A),"";default:return A+(I===0?"/*|*/":"")}case-2:A.split("/*|*/}").forEach(T)}}}(function(E){u.push(E)}),m=function(E,T,D){return T===0&&Ln.indexOf(D[t.length])!==-1||D.match(o)?E:"."+n};function y(E,T,D,A){A===void 0&&(A="&");var j=E.replace(An,""),Y=T&&D?D+" "+T+" { "+j+" }":j;return n=A,t=T,r=new RegExp("\\"+t+"\\b","g"),o=new RegExp("(\\"+t+"\\b){2,}"),d(D||!T?"":T,Y)}return d.use([].concat(c,[function(E,T,D){E===2&&D.length&&D[0].lastIndexOf(t)>0&&(D[0]=D[0].replace(r,m))},f,function(E){if(E===-2){var T=u;return u=[],T}}])),y.hash=c.length?c.reduce(function(E,T){return T.name||Ce(15),De(E,T.name)},5381).toString():"",y}var ar=b.createContext();ar.Consumer;var cr=b.createContext(),In=(cr.Consumer,new ot),gt=Yn();function lr(){return b.useContext(ar)||In}function dr(){return b.useContext(cr)||gt}var ur=function(){function e(n,t){var r=this;this.inject=function(o,s){s===void 0&&(s=gt);var i=r.name+s.hash;o.hasNameForId(r.id,i)||o.insertRules(r.id,i,s(r.rules,i,"@keyframes"))},this.toString=function(){return Ce(12,String(r.name))},this.name=n,this.id="sc-keyframes-"+n,this.rules=t}return e.prototype.getName=function(n){return n===void 0&&(n=gt),this.name+n.hash},e}(),Nn=/([A-Z])/,Hn=/([A-Z])/g,Zn=/^ms-/,Wn=function(e){return"-"+e.toLowerCase()};function hr(e){return Nn.test(e)?e.replace(Hn,Wn).replace(Zn,"-ms-"):e}var fr=function(e){return e==null||e===!1||e===""};function Oe(e,n,t,r){if(Array.isArray(e)){for(var o,s=[],i=0,a=e.length;i<a;i+=1)(o=Oe(e[i],n,t,r))!==""&&(Array.isArray(o)?s.push.apply(s,o):s.push(o));return s}if(fr(e))return"";if(mt(e))return"."+e.styledComponentId;if(Ie(e)){if(typeof(c=e)!="function"||c.prototype&&c.prototype.isReactComponent||!n)return e;var l=e(n);return process.env.NODE_ENV!=="production"&&Ye.isElement(l)&&console.warn(pt(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),Oe(l,n,t,r)}var c;return e instanceof ur?t?(e.inject(t,r),e.getName(r)):e:ft(e)?function d(u,f){var m,y,E=[];for(var T in u)u.hasOwnProperty(T)&&!fr(u[T])&&(Array.isArray(u[T])&&u[T].isCss||Ie(u[T])?E.push(hr(T)+":",u[T],";"):ft(u[T])?E.push.apply(E,d(u[T],T)):E.push(hr(T)+": "+(m=T,(y=u[T])==null||typeof y=="boolean"||y===""?"":typeof y!="number"||y===0||m in rn?String(y).trim():y+"px")+";"));return f?[f+" {"].concat(E,["}"]):E}(e):e.toString()}var pr=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function wt(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return Ie(e)||ft(e)?pr(Oe(tr(et,[e].concat(t)))):t.length===0&&e.length===1&&typeof e[0]=="string"?e:pr(Oe(tr(e,t)))}var mr=/invalid hook call/i,st=new Set,vr=function(e,n){if(process.env.NODE_ENV!=="production"){var t="The component "+e+(n?' with the id of "'+n+'"':"")+` has been created dynamically.
You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`,r=console.error;try{var o=!0;console.error=function(s){if(mr.test(s))o=!1,st.delete(t);else{for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++)a[l-1]=arguments[l];r.apply(void 0,[s].concat(a))}},b.useRef(),o&&!st.has(t)&&(console.warn(t),st.add(t))}catch(s){mr.test(s.message)&&st.delete(t)}finally{console.error=r}}},yr=function(e,n,t){return t===void 0&&(t=$e),e.theme!==t.theme&&e.theme||n||t.theme},Fn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,jn=/(^-|-$)/g;function bt(e){return e.replace(Fn,"-").replace(jn,"")}var xt=function(e){return yt(sr(e)>>>0)};function it(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Ct=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},zn=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function Bn(e,n,t){var r=e[t];Ct(n)&&Ct(r)?gr(r,n):e[t]=n}function gr(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];for(var o=0,s=t;o<s.length;o++){var i=s[o];if(Ct(i))for(var a in i)zn(a)&&Bn(e,i[a],a)}return e}var He=b.createContext();He.Consumer;function Vn(e){var n=b.useContext(He),t=b.useMemo(function(){return function(r,o){if(!r)return Ce(14);if(Ie(r)){var s=r(o);return process.env.NODE_ENV==="production"||s!==null&&!Array.isArray(s)&&typeof s=="object"?s:Ce(7)}return Array.isArray(r)||typeof r!="object"?Ce(8):o?we({},o,{},r):r}(e.theme,n)},[e.theme,n]);return e.children?b.createElement(He.Provider,{value:t},e.children):null}var St={};function wr(e,n,t){var r=mt(e),o=!it(e),s=n.attrs,i=s===void 0?et:s,a=n.componentId,l=a===void 0?function(A,j){var Y=typeof A!="string"?"sc":bt(A);St[Y]=(St[Y]||0)+1;var p=Y+"-"+xt("5.3.8"+Y+St[Y]);return j?j+"-"+p:p}(n.displayName,n.parentComponentId):a,c=n.displayName,d=c===void 0?function(A){return it(A)?"styled."+A:"Styled("+pt(A)+")"}(e):c,u=n.displayName&&n.componentId?bt(n.displayName)+"-"+n.componentId:n.componentId||l,f=r&&e.attrs?Array.prototype.concat(e.attrs,i).filter(Boolean):i,m=n.shouldForwardProp;r&&e.shouldForwardProp&&(m=n.shouldForwardProp?function(A,j,Y){return e.shouldForwardProp(A,j,Y)&&n.shouldForwardProp(A,j,Y)}:e.shouldForwardProp);var y,E=new Pn(t,u,r?e.componentStyle:void 0),T=E.isStatic&&i.length===0,D=function(A,j){return function(Y,p,k,O){var z=Y.attrs,B=Y.componentStyle,I=Y.defaultProps,q=Y.foldedComponentIds,Q=Y.shouldForwardProp,P=Y.styledComponentId,$=Y.target;process.env.NODE_ENV!=="production"&&b.useDebugValue(P);var x=function(Z,h,R){Z===void 0&&(Z=$e);var C=we({},h,{theme:Z}),J={};return R.forEach(function(G){var K,g,se,ae=G;for(K in Ie(ae)&&(ae=ae(C)),ae)C[K]=J[K]=K==="className"?(g=J[K],se=ae[K],g&&se?g+" "+se:g||se):ae[K]}),[C,J]}(yr(p,b.useContext(He),I)||$e,p,z),N=x[0],w=x[1],H=function(Z,h,R,C){var J=lr(),G=dr(),K=h?Z.generateAndInjectStyles($e,J,G):Z.generateAndInjectStyles(R,J,G);return process.env.NODE_ENV!=="production"&&b.useDebugValue(K),process.env.NODE_ENV!=="production"&&!h&&C&&C(K),K}(B,O,N,process.env.NODE_ENV!=="production"?Y.warnTooManyClasses:void 0),V=k,X=w.$as||p.$as||w.as||p.as||$,te=it(X),_=w!==p?we({},p,{},w):p,M={};for(var S in _)S[0]!=="$"&&S!=="as"&&(S==="forwardedAs"?M.as=_[S]:(Q?Q(S,Xt,X):!te||Xt(S))&&(M[S]=_[S]));return p.style&&w.style!==p.style&&(M.style=we({},p.style,{},w.style)),M.className=Array.prototype.concat(q,P,H!==P?H:null,p.className,w.className).filter(Boolean).join(" "),M.ref=V,b.createElement(X,M)}(y,A,j,T)};return D.displayName=d,(y=b.forwardRef(D)).attrs=f,y.componentStyle=E,y.displayName=d,y.shouldForwardProp=m,y.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):et,y.styledComponentId=u,y.target=r?e.target:e,y.withComponent=function(A){var j=n.componentId,Y=function(k,O){if(k==null)return{};var z,B,I={},q=Object.keys(k);for(B=0;B<q.length;B++)z=q[B],O.indexOf(z)>=0||(I[z]=k[z]);return I}(n,["componentId"]),p=j&&j+"-"+(it(A)?A:bt(pt(A)));return wr(A,we({},Y,{attrs:f,componentId:p}),t)},Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(A){this._foldedDefaultProps=r?gr({},e.defaultProps,A):A}}),process.env.NODE_ENV!=="production"&&(vr(d,u),y.warnTooManyClasses=function(A,j){var Y={},p=!1;return function(k){if(!p&&(Y[k]=!0,Object.keys(Y).length>=200)){var O=j?' with the id of "'+j+'"':"";console.warn("Over 200 classes were generated for component "+A+O+`.
Consider using the attrs method, together with a style object for frequently changed styles.
Example:
const Component = styled.div.attrs(props => ({
style: {
background: props.background,
},
}))\`width: 100%;\`
<Component />`),p=!0,Y={}}}}(d,u)),y.toString=function(){return"."+y.styledComponentId},o&&fn(y,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),y}var kt=function(e){return function n(t,r,o){if(o===void 0&&(o=$e),!Ye.isValidElementType(r))return Ce(1,String(r));var s=function(){return t(r,o,wt.apply(void 0,arguments))};return s.withConfig=function(i){return n(t,r,we({},o,{},i))},s.attrs=function(i){return n(t,r,we({},o,{attrs:Array.prototype.concat(o.attrs,i).filter(Boolean)}))},s}(wr,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","textPath","tspan"].forEach(function(e){kt[e]=kt(e)});var Rn=function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=ir(t),ot.registerId(this.componentId+1)}var n=e.prototype;return n.createStyles=function(t,r,o,s){var i=s(Oe(this.rules,r,o,s).join(""),""),a=this.componentId+t;o.insertRules(a,a,i)},n.removeStyles=function(t,r){r.clearRules(this.componentId+t)},n.renderStyles=function(t,r,o,s){t>2&&ot.registerId(this.componentId+t),this.removeStyles(t,o),this.createStyles(t,r,o,s)},e}();function Gn(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var o=wt.apply(void 0,[e].concat(t)),s="sc-global-"+xt(JSON.stringify(o)),i=new Rn(o,s);function a(c){var d=lr(),u=dr(),f=b.useContext(He),m=b.useRef(d.allocateGSInstance(s)).current;return process.env.NODE_ENV!=="production"&&b.Children.count(c.children)&&console.warn("The global style component "+s+" was given child JSX. createGlobalStyle does not render children."),process.env.NODE_ENV!=="production"&&o.some(function(y){return typeof y=="string"&&y.indexOf("@import")!==-1})&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),d.server&&l(m,c,d,f,u),b.useLayoutEffect(function(){if(!d.server)return l(m,c,d,f,u),function(){return i.removeStyles(m,d)}},[m,c,d,f,u]),null}function l(c,d,u,f,m){if(i.isStatic)i.renderStyles(c,mn,u,m);else{var y=we({},d,{theme:yr(d,f,a.defaultProps)});i.renderStyles(c,y,u,m)}}return process.env.NODE_ENV!=="production"&&vr(s),b.memo(a)}function Un(e){process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];var o=wt.apply(void 0,[e].concat(t)).join(""),s=xt(o);return new ur(s,o)}var Pe=function(){return b.useContext(He)};process.env.NODE_ENV!=="production"&&typeof navigator<"u"&&navigator.product==="ReactNative"&&console.warn(`It looks like you've imported 'styled-components' on React Native.
Perhaps you're looking to import 'styled-components/native'?
Read more about this at https://www.styled-components.com/docs/basics#react-native`),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&typeof window<"u"&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,window["__styled-components-init__"]===1&&console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
See https://s-c.sh/2BAXzed for more info.`),window["__styled-components-init__"]+=1);const W=kt,Je="reactSchedulerOutsideWrapper",Xn=Gn`
#${Je} {
font-family: 'Inter', sans-serif;
box-sizing: border-box;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
margin: 0;
}
#${Je} *,
#${Je} *:before,
#${Je} *:after {
box-sizing: inherit;
font-family: inherit;
line-height: inherit;
}
`,Jn={mode:"light",navHeight:"44px",colors:{background:"#FFFFFF",gridBackground:"#FFFFFF",primary:"#F8F8FD",secondary:"#E6F3FF",tertiary:"#C9E5FF",textPrimary:"#1C222F",textSecondary:"#FFFFFF",placeholder:"#777777",button:"#FFFFFF",border:"#D2D2D2",tooltip:"#3B3C5F",hover:"#E6F3FF",disabled:"#777777",warning:"#EF4444",defaultTile:"#728DE2",accent:"#0A11EB"}},qn={mode:"dark",navHeight:"44px",colors:{background:"#161B22",gridBackground:"#1E252E",primary:"#303b49",secondary:"#444e5b",tertiary:"#6E757F",textPrimary:"#DADCE0",textSecondary:"#EAEBED",placeholder:"#bbbbbb",button:"#60676f",border:"#2C333A",hover:"#303439",tooltip:"#3B3C5F",disabled:"#38414a",warning:"#FF4C4C",defaultTile:"#728DE2",accent:"#1798c2"}},Ze=`
margin: 0;
padding: 0;
`,br=`
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`;W.div`
margin: 10rem 10rem;
position: relative;
width: 40vw;
height: 40vh;
`;const me=50,Se=24,We=16,Ae=40,Fe=Ae+We+Se,_e=84,ve=56,ye=196,ke=12,he=50,je=24,qe=16,Mt=40,Kn=je+qe+Mt,xr=1,Cr=52,be={topRow:"600 14px Inter",middleRow:"400 10px Inter",bottomRow:{name:"600 14px Inter",number:"600 10px Inter"}},ze=3,Qn=1.6,eo=4.5,$t=12,at=24,to="reactSchedulerCanvasHeaderWrapper",Sr="reactSchedulerCanvasWrapper",Le=Je,ro=4,no=48,Ee=5,oo=40,kr=8,_t=Se/2+2,Mr=We/2+Se+1,$r=2,ce=60;var Be={},so={get exports(){return Be},set exports(e){Be=e}};(function(e,n){(function(t,r){e.exports=r()})(pe,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",c="day",d="week",u="month",f="quarter",m="year",y="date",E="Invalid Date",T=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var $=["th","st","nd","rd"],x=P%100;return"["+P+($[(x-20)%10]||$[x]||$[0])+"]"}},j=function(P,$,x){var N=String(P);return!N||N.length>=$?P:""+Array($+1-N.length).join(x)+P},Y={s:j,z:function(P){var $=-P.utcOffset(),x=Math.abs($),N=Math.floor(x/60),w=x%60;return($<=0?"+":"-")+j(N,2,"0")+":"+j(w,2,"0")},m:function P($,x){if($.date()<x.date())return-P(x,$);var N=12*(x.year()-$.year())+(x.month()-$.month()),w=$.clone().add(N,u),H=x-w<0,V=$.clone().add(N+(H?-1:1),u);return+(-(N+(x-w)/(H?w-V:V-w))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:u,y:m,w:d,d:c,D:y,h:l,m:a,s:i,ms:s,Q:f}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},p="en",k={};k[p]=A;var O=function(P){return P instanceof q},z=function P($,x,N){var w;if(!$)return p;if(typeof $=="string"){var H=$.toLowerCase();k[H]&&(w=H),x&&(k[H]=x,w=H);var V=$.split("-");if(!w&&V.length>1)return P(V[0])}else{var X=$.name;k[X]=$,w=X}return!N&&w&&(p=w),w||!N&&p},B=function(P,$){if(O(P))return P.clone();var x=typeof $=="object"?$:{};return x.date=P,x.args=arguments,new q(x)},I=Y;I.l=z,I.i=O,I.w=function(P,$){return B(P,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var q=function(){function P(x){this.$L=z(x.locale,null,!0),this.parse(x)}var $=P.prototype;return $.parse=function(x){this.$d=function(N){var w=N.date,H=N.utc;if(w===null)return new Date(NaN);if(I.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var V=w.match(T);if(V){var X=V[2]-1||0,te=(V[7]||"0").substring(0,3);return H?new Date(Date.UTC(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,te)):new Date(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,te)}}return new Date(w)}(x),this.$x=x.x||{},this.init()},$.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},$.$utils=function(){return I},$.isValid=function(){return this.$d.toString()!==E},$.isSame=function(x,N){var w=B(x);return this.startOf(N)<=w&&w<=this.endOf(N)},$.isAfter=function(x,N){return B(x)<this.startOf(N)},$.isBefore=function(x,N){return this.endOf(N)<B(x)},$.$g=function(x,N,w){return I.u(x)?this[N]:this.set(w,x)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(x,N){var w=this,H=!!I.u(N)||N,V=I.p(x),X=function(C,J){var G=I.w(w.$u?Date.UTC(w.$y,J,C):new Date(w.