UNPKG

kylin-ui-component

Version:

A React UI library for some developers to develop quickly

73 lines (54 loc) 103 kB
(function(O,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],y):(O=typeof globalThis<"u"?globalThis:O||self,y(O.KylinUI={},O.React,O.ReactDOM))})(this,function(O,y,Qn){"use strict";function eo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const Cr=eo(y);function to(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dt={exports:{}},rt={};/** * @license React * react-jsx-runtime.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 Er;function ro(){if(Er)return rt;Er=1;var e=y,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(d,c,u){var f,p={},m=null,v=null;u!==void 0&&(m=""+u),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(v=c.ref);for(f in c)n.call(c,f)&&!a.hasOwnProperty(f)&&(p[f]=c[f]);if(d&&d.defaultProps)for(f in c=d.defaultProps,c)p[f]===void 0&&(p[f]=c[f]);return{$$typeof:t,type:d,key:m,ref:v,props:p,_owner:o.current}}return rt.Fragment=r,rt.jsx=s,rt.jsxs=s,rt}var nt={};/** * @license React * react-jsx-runtime.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 _r;function no(){return _r||(_r=1,process.env.NODE_ENV!=="production"&&function(){var e=y,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),S=Symbol.iterator,w="@@iterator";function h(i){if(i===null||typeof i!="object")return null;var g=S&&i[S]||i[w];return typeof g=="function"?g:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(i){{for(var g=arguments.length,b=new Array(g>1?g-1:0),T=1;T<g;T++)b[T-1]=arguments[T];N("error",i,b)}}function N(i,g,b){{var T=x.ReactDebugCurrentFrame,z=T.getStackAddendum();z!==""&&(g+="%s",b=b.concat([z]));var Y=b.map(function(j){return String(j)});Y.unshift("Warning: "+g),Function.prototype.apply.call(console[i],console,Y)}}var P=!1,C=!1,I=!1,_=!1,L=!1,U;U=Symbol.for("react.module.reference");function W(i){return!!(typeof i=="string"||typeof i=="function"||i===n||i===a||L||i===o||i===u||i===f||_||i===v||P||C||I||typeof i=="object"&&i!==null&&(i.$$typeof===m||i.$$typeof===p||i.$$typeof===s||i.$$typeof===d||i.$$typeof===c||i.$$typeof===U||i.getModuleId!==void 0))}function de(i,g,b){var T=i.displayName;if(T)return T;var z=g.displayName||g.name||"";return z!==""?b+"("+z+")":b}function Je(i){return i.displayName||"Context"}function ne(i){if(i==null)return null;if(typeof i.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case d:var g=i;return Je(g)+".Consumer";case s:var b=i;return Je(b._context)+".Provider";case c:return de(i,i.render,"ForwardRef");case p:var T=i.displayName||null;return T!==null?T:ne(i.type)||"Memo";case m:{var z=i,Y=z._payload,j=z._init;try{return ne(j(Y))}catch{return null}}}return null}var fe=Object.assign,ve=0,Ze,Qe,Le,xe,oe,Se,ye;function Z(){}Z.__reactDisabledLog=!0;function je(){{if(ve===0){Ze=console.log,Qe=console.info,Le=console.warn,xe=console.error,oe=console.group,Se=console.groupCollapsed,ye=console.groupEnd;var i={configurable:!0,enumerable:!0,value:Z,writable:!0};Object.defineProperties(console,{info:i,log:i,warn:i,error:i,group:i,groupCollapsed:i,groupEnd:i})}ve++}}function ze(){{if(ve--,ve===0){var i={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:fe({},i,{value:Ze}),info:fe({},i,{value:Qe}),warn:fe({},i,{value:Le}),error:fe({},i,{value:xe}),group:fe({},i,{value:oe}),groupCollapsed:fe({},i,{value:Se}),groupEnd:fe({},i,{value:ye})})}ve<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var we=x.ReactCurrentDispatcher,pe;function he(i,g,b){{if(pe===void 0)try{throw Error()}catch(z){var T=z.stack.trim().match(/\n( *(at )?)/);pe=T&&T[1]||""}return` `+pe+i}}var ae=!1,te;{var Fe=typeof WeakMap=="function"?WeakMap:Map;te=new Fe}function Ce(i,g){if(!i||ae)return"";{var b=te.get(i);if(b!==void 0)return b}var T;ae=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Y;Y=we.current,we.current=null,je();try{if(g){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(_e){T=_e}Reflect.construct(i,[],j)}else{try{j.call()}catch(_e){T=_e}i.call(j.prototype)}}else{try{throw Error()}catch(_e){T=_e}i()}}catch(_e){if(_e&&T&&typeof _e.stack=="string"){for(var A=_e.stack.split(` `),Q=T.stack.split(` `),H=A.length-1,X=Q.length-1;H>=1&&X>=0&&A[H]!==Q[X];)X--;for(;H>=1&&X>=0;H--,X--)if(A[H]!==Q[X]){if(H!==1||X!==1)do if(H--,X--,X<0||A[H]!==Q[X]){var ce=` `+A[H].replace(" at new "," at ");return i.displayName&&ce.includes("<anonymous>")&&(ce=ce.replace("<anonymous>",i.displayName)),typeof i=="function"&&te.set(i,ce),ce}while(H>=1&&X>=0);break}}}finally{ae=!1,we.current=Y,ze(),Error.prepareStackTrace=z}var tt=i?i.displayName||i.name:"",Zn=tt?he(tt):"";return typeof i=="function"&&te.set(i,Zn),Zn}function se(i,g,b){return Ce(i,!1)}function $(i){var g=i.prototype;return!!(g&&g.isReactComponent)}function $e(i,g,b){if(i==null)return"";if(typeof i=="function")return Ce(i,$(i));if(typeof i=="string")return he(i);switch(i){case u:return he("Suspense");case f:return he("SuspenseList")}if(typeof i=="object")switch(i.$$typeof){case c:return se(i.render);case p:return $e(i.type,g,b);case m:{var T=i,z=T._payload,Y=T._init;try{return $e(Y(z),g,b)}catch{}}}return""}var Ee=Object.prototype.hasOwnProperty,dt={},Bn=x.ReactDebugCurrentFrame;function Mt(i){if(i){var g=i._owner,b=$e(i.type,i._source,g?g.type:null);Bn.setExtraStackFrame(b)}else Bn.setExtraStackFrame(null)}function Rs(i,g,b,T,z){{var Y=Function.call.bind(Ee);for(var j in i)if(Y(i,j)){var A=void 0;try{if(typeof i[j]!="function"){var Q=Error((T||"React class")+": "+b+" type `"+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[j]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Q.name="Invariant Violation",Q}A=i[j](g,j,T,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(H){A=H}A&&!(A instanceof Error)&&(Mt(z),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",T||"React class",b,j,typeof A),Mt(null)),A instanceof Error&&!(A.message in dt)&&(dt[A.message]=!0,Mt(z),E("Failed %s type: %s",b,A.message),Mt(null))}}}var Os=Array.isArray;function yr(i){return Os(i)}function As(i){{var g=typeof Symbol=="function"&&Symbol.toStringTag,b=g&&i[Symbol.toStringTag]||i.constructor.name||"Object";return b}}function Ms(i){try{return Vn(i),!1}catch{return!0}}function Vn(i){return""+i}function Wn(i){if(Ms(i))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",As(i)),Vn(i)}var ft=x.ReactCurrentOwner,Ds={key:!0,ref:!0,__self:!0,__source:!0},Yn,Gn,wr;wr={};function Ls(i){if(Ee.call(i,"ref")){var g=Object.getOwnPropertyDescriptor(i,"ref").get;if(g&&g.isReactWarning)return!1}return i.ref!==void 0}function js(i){if(Ee.call(i,"key")){var g=Object.getOwnPropertyDescriptor(i,"key").get;if(g&&g.isReactWarning)return!1}return i.key!==void 0}function zs(i,g){if(typeof i.ref=="string"&&ft.current&&g&&ft.current.stateNode!==g){var b=ne(ft.current.type);wr[b]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',ne(ft.current.type),i.ref),wr[b]=!0)}}function Fs(i,g){{var b=function(){Yn||(Yn=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))};b.isReactWarning=!0,Object.defineProperty(i,"key",{get:b,configurable:!0})}}function Bs(i,g){{var b=function(){Gn||(Gn=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",g))};b.isReactWarning=!0,Object.defineProperty(i,"ref",{get:b,configurable:!0})}}var Vs=function(i,g,b,T,z,Y,j){var A={$$typeof:t,type:i,key:g,ref:b,props:j,_owner:Y};return A._store={},Object.defineProperty(A._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(A,"_self",{configurable:!1,enumerable:!1,writable:!1,value:T}),Object.defineProperty(A,"_source",{configurable:!1,enumerable:!1,writable:!1,value:z}),Object.freeze&&(Object.freeze(A.props),Object.freeze(A)),A};function Ws(i,g,b,T,z){{var Y,j={},A=null,Q=null;b!==void 0&&(Wn(b),A=""+b),js(g)&&(Wn(g.key),A=""+g.key),Ls(g)&&(Q=g.ref,zs(g,z));for(Y in g)Ee.call(g,Y)&&!Ds.hasOwnProperty(Y)&&(j[Y]=g[Y]);if(i&&i.defaultProps){var H=i.defaultProps;for(Y in H)j[Y]===void 0&&(j[Y]=H[Y])}if(A||Q){var X=typeof i=="function"?i.displayName||i.name||"Unknown":i;A&&Fs(j,X),Q&&Bs(j,X)}return Vs(i,A,Q,z,T,ft.current,j)}}var br=x.ReactCurrentOwner,Un=x.ReactDebugCurrentFrame;function et(i){if(i){var g=i._owner,b=$e(i.type,i._source,g?g.type:null);Un.setExtraStackFrame(b)}else Un.setExtraStackFrame(null)}var xr;xr=!1;function Sr(i){return typeof i=="object"&&i!==null&&i.$$typeof===t}function Hn(){{if(br.current){var i=ne(br.current.type);if(i)return` Check the render method of \``+i+"`."}return""}}function Ys(i){{if(i!==void 0){var g=i.fileName.replace(/^.*[\\\/]/,""),b=i.lineNumber;return` Check your code at `+g+":"+b+"."}return""}}var qn={};function Gs(i){{var g=Hn();if(!g){var b=typeof i=="string"?i:i.displayName||i.name;b&&(g=` Check the top-level render call using <`+b+">.")}return g}}function Xn(i,g){{if(!i._store||i._store.validated||i.key!=null)return;i._store.validated=!0;var b=Gs(g);if(qn[b])return;qn[b]=!0;var T="";i&&i._owner&&i._owner!==br.current&&(T=" It was passed a child from "+ne(i._owner.type)+"."),et(i),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,T),et(null)}}function Kn(i,g){{if(typeof i!="object")return;if(yr(i))for(var b=0;b<i.length;b++){var T=i[b];Sr(T)&&Xn(T,g)}else if(Sr(i))i._store&&(i._store.validated=!0);else if(i){var z=h(i);if(typeof z=="function"&&z!==i.entries)for(var Y=z.call(i),j;!(j=Y.next()).done;)Sr(j.value)&&Xn(j.value,g)}}}function Us(i){{var g=i.type;if(g==null||typeof g=="string")return;var b;if(typeof g=="function")b=g.propTypes;else if(typeof g=="object"&&(g.$$typeof===c||g.$$typeof===p))b=g.propTypes;else return;if(b){var T=ne(g);Rs(b,i.props,"prop",T,i)}else if(g.PropTypes!==void 0&&!xr){xr=!0;var z=ne(g);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",z||"Unknown")}typeof g.getDefaultProps=="function"&&!g.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Hs(i){{for(var g=Object.keys(i.props),b=0;b<g.length;b++){var T=g[b];if(T!=="children"&&T!=="key"){et(i),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",T),et(null);break}}i.ref!==null&&(et(i),E("Invalid attribute `ref` supplied to `React.Fragment`."),et(null))}}function Jn(i,g,b,T,z,Y){{var j=W(i);if(!j){var A="";(i===void 0||typeof i=="object"&&i!==null&&Object.keys(i).length===0)&&(A+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Q=Ys(z);Q?A+=Q:A+=Hn();var H;i===null?H="null":yr(i)?H="array":i!==void 0&&i.$$typeof===t?(H="<"+(ne(i.type)||"Unknown")+" />",A=" Did you accidentally export a JSX literal instead of a component?"):H=typeof i,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",H,A)}var X=Ws(i,g,b,z,Y);if(X==null)return X;if(j){var ce=g.children;if(ce!==void 0)if(T)if(yr(ce)){for(var tt=0;tt<ce.length;tt++)Kn(ce[tt],i);Object.freeze&&Object.freeze(ce)}else E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Kn(ce,i)}return i===n?Hs(X):Us(X),X}}function qs(i,g,b){return Jn(i,g,b,!0)}function Xs(i,g,b){return Jn(i,g,b,!1)}var Ks=Xs,Js=qs;nt.Fragment=n,nt.jsx=Ks,nt.jsxs=Js}()),nt}process.env.NODE_ENV==="production"?Dt.exports=ro():Dt.exports=no();var Lt=Dt.exports;const Be=Lt.Fragment,l=Lt.jsx,D=Lt.jsxs,J={type:{default:"#951bcd",primary:"#1677ff",secondary:"#006597",success:"#36d399",info:"#3abff8",disabled:"#bdc3c7",warning:"#e67e22",danger:"#e74c3c",error:"#e74c3c",description:"#00000073"},color:{default:"#fff",primary:"#fff",secondary:"#fff",success:"#000000",info:"#000000",disabled:"#00000040",warning:"#fff",danger:"#fff",error:"#fff"},gradient:{aquamarine:"linear-gradient(45deg, #00d2ff 0%, #3a7bd5 100%)",blue:"linear-gradient(45deg, #00d2ff 0%, #3a7bd5 100%)",orange:"linear-gradient(45deg, #f2994a 0%, #f2c94c 100%)",red:"linear-gradient(45deg, #2193b0 0%, #6dd5ed 100%)"},fontSize:{small:"1rem",middle:"1.2rem",large:"1.4rem"},padding:{small:"0.2rem 0.4rem",middle:"0.6rem 0.8rem",large:"0.8rem 1.2rem"},width:{small:"2.4rem",middle:"3.2rem",large:"4rem"},shape:{square:0,rounded:"0.25rem",circle:"50%"}};var ee=function(){return ee=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},ee.apply(this,arguments)};function Te(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,a;n<o;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function oo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var io=/^((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)-.*))$/,ao=oo(function(e){return io.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),G="-ms-",ot="-moz-",F="-webkit-",kr="comm",pt="rule",jt="decl",so="@import",$r="@keyframes",co="@layer",lo=Math.abs,zt=String.fromCharCode,Ft=Object.assign;function uo(e,t){return K(e,0)^45?(((t<<2^K(e,0))<<2^K(e,1))<<2^K(e,2))<<2^K(e,3):0}function Tr(e){return e.trim()}function be(e,t){return(e=t.exec(e))?e[0]:e}function R(e,t,r){return e.replace(t,r)}function ht(e,t){return e.indexOf(t)}function K(e,t){return e.charCodeAt(t)|0}function Ve(e,t,r){return e.slice(t,r)}function me(e){return e.length}function Pr(e){return e.length}function it(e,t){return t.push(e),e}function fo(e,t){return e.map(t).join("")}function Nr(e,t){return e.filter(function(r){return!be(r,t)})}var mt=1,We=1,Ir=0,ie=0,q=0,Ye="";function gt(e,t,r,n,o,a,s,d){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:mt,column:We,length:s,return:"",siblings:d}}function ke(e,t){return Ft(gt("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ge(e){for(;e.root;)e=ke(e.root,{children:[e]});it(e,e.siblings)}function po(){return q}function ho(){return q=ie>0?K(Ye,--ie):0,We--,q===10&&(We=1,mt--),q}function le(){return q=ie<Ir?K(Ye,ie++):0,We++,q===10&&(We=1,mt++),q}function Pe(){return K(Ye,ie)}function vt(){return ie}function yt(e,t){return Ve(Ye,e,t)}function Bt(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 mo(e){return mt=We=1,Ir=me(Ye=e),ie=0,[]}function go(e){return Ye="",e}function Vt(e){return Tr(yt(ie-1,Wt(e===91?e+2:e===40?e+1:e)))}function vo(e){for(;(q=Pe())&&q<33;)le();return Bt(e)>2||Bt(q)>3?"":" "}function yo(e,t){for(;--t&&le()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return yt(e,vt()+(t<6&&Pe()==32&&le()==32))}function Wt(e){for(;le();)switch(q){case e:return ie;case 34:case 39:e!==34&&e!==39&&Wt(q);break;case 40:e===41&&Wt(e);break;case 92:le();break}return ie}function wo(e,t){for(;le()&&e+q!==47+10;)if(e+q===42+42&&Pe()===47)break;return"/*"+yt(t,ie-1)+"*"+zt(e===47?e:le())}function bo(e){for(;!Bt(Pe());)le();return yt(e,ie)}function xo(e){return go(wt("",null,null,null,[""],e=mo(e),0,[0],e))}function wt(e,t,r,n,o,a,s,d,c){for(var u=0,f=0,p=s,m=0,v=0,S=0,w=1,h=1,x=1,E=0,N="",P=o,C=a,I=n,_=N;h;)switch(S=E,E=le()){case 40:if(S!=108&&K(_,p-1)==58){ht(_+=R(Vt(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:_+=Vt(E);break;case 9:case 10:case 13:case 32:_+=vo(S);break;case 92:_+=yo(vt()-1,7);continue;case 47:switch(Pe()){case 42:case 47:it(So(wo(le(),vt()),t,r,c),c);break;default:_+="/"}break;case 123*w:d[u++]=me(_)*x;case 125*w:case 59:case 0:switch(E){case 0:case 125:h=0;case 59+f:x==-1&&(_=R(_,/\f/g,"")),v>0&&me(_)-p&&it(v>32?Or(_+";",n,r,p-1,c):Or(R(_," ","")+";",n,r,p-2,c),c);break;case 59:_+=";";default:if(it(I=Rr(_,t,r,u,f,o,d,N,P=[],C=[],p,a),a),E===123)if(f===0)wt(_,t,I,I,P,a,p,d,C);else switch(m===99&&K(_,3)===110?100:m){case 100:case 108:case 109:case 115:wt(e,I,I,n&&it(Rr(e,I,I,0,0,o,d,N,o,P=[],p,C),C),o,C,p,d,n?P:C);break;default:wt(_,I,I,I,[""],C,0,d,C)}}u=f=v=0,w=x=1,N=_="",p=s;break;case 58:p=1+me(_),v=S;default:if(w<1){if(E==123)--w;else if(E==125&&w++==0&&ho()==125)continue}switch(_+=zt(E),E*w){case 38:x=f>0?1:(_+="\f",-1);break;case 44:d[u++]=(me(_)-1)*x,x=1;break;case 64:Pe()===45&&(_+=Vt(le())),m=Pe(),f=p=me(N=_+=bo(vt())),E++;break;case 45:S===45&&me(_)==2&&(w=0)}}return a}function Rr(e,t,r,n,o,a,s,d,c,u,f,p){for(var m=o-1,v=o===0?a:[""],S=Pr(v),w=0,h=0,x=0;w<n;++w)for(var E=0,N=Ve(e,m+1,m=lo(h=s[w])),P=e;E<S;++E)(P=Tr(h>0?v[E]+" "+N:R(N,/&\f/g,v[E])))&&(c[x++]=P);return gt(e,t,r,o===0?pt:d,c,u,f,p)}function So(e,t,r,n){return gt(e,t,r,kr,zt(po()),Ve(e,2,-2),0,n)}function Or(e,t,r,n,o){return gt(e,t,r,jt,Ve(e,0,n),Ve(e,n+1,-1),n,o)}function Ar(e,t,r){switch(uo(e,t)){case 5103:return F+"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 F+e+e;case 4789:return ot+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+ot+e+G+e+e;case 5936:switch(K(e,t+11)){case 114:return F+e+G+R(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+G+R(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+G+R(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return F+e+G+e+e;case 6165:return F+e+G+"flex-"+e+e;case 5187:return F+e+R(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+G+"flex-$1$2")+e;case 5443:return F+e+G+"flex-item-"+R(e,/flex-|-self/g,"")+(be(e,/flex-|baseline/)?"":G+"grid-row-"+R(e,/flex-|-self/g,""))+e;case 4675:return F+e+G+"flex-line-pack"+R(e,/align-content|flex-|-self/g,"")+e;case 5548:return F+e+G+R(e,"shrink","negative")+e;case 5292:return F+e+G+R(e,"basis","preferred-size")+e;case 6060:return F+"box-"+R(e,"-grow","")+F+e+G+R(e,"grow","positive")+e;case 4554:return F+R(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return R(R(R(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return R(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return R(R(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+G+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4200:if(!be(e,/flex-|baseline/))return G+"grid-column-align"+Ve(e,t)+e;break;case 2592:case 3360:return G+R(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,be(n.props,/grid-\w+-end/)})?~ht(e+(r=r[t].value),"span")?e:G+R(e,"-start","")+e+G+"grid-row-span:"+(~ht(r,"span")?be(r,/\d+/):+be(r,/\d+/)-+be(e,/\d+/))+";":G+R(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return be(n.props,/grid-\w+-start/)})?e:G+R(R(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return R(e,/(.+)-inline(.+)/,F+"$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(me(e)-1-t>6)switch(K(e,t+1)){case 109:if(K(e,t+4)!==45)break;case 102:return R(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+ot+(K(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ht(e,"stretch")?Ar(R(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return R(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,a,s,d,c,u){return G+o+":"+a+u+(s?G+o+"-span:"+(d?c:+c-+a)+u:"")+e});case 4949:if(K(e,t+6)===121)return R(e,":",":"+F)+e;break;case 6444:switch(K(e,K(e,14)===45?18:11)){case 120:return R(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+F+(K(e,14)===45?"inline-":"")+"box$3$1"+F+"$2$3$1"+G+"$2box$3")+e;case 100:return R(e,":",":"+G)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return R(e,"scroll-","scroll-snap-")+e}return e}function bt(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function Co(e,t,r,n){switch(e.type){case co:if(e.children.length)break;case so:case jt:return e.return=e.return||e.value;case kr:return"";case $r:return e.return=e.value+"{"+bt(e.children,n)+"}";case pt:if(!me(e.value=e.props.join(",")))return""}return me(r=bt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Eo(e){var t=Pr(e);return function(r,n,o,a){for(var s="",d=0;d<t;d++)s+=e[d](r,n,o,a)||"";return s}}function _o(e){return function(t){t.root||(t=t.return)&&e(t)}}function ko(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case jt:e.return=Ar(e.value,e.length,r);return;case $r:return bt([ke(e,{value:R(e.value,"@","@"+F)})],n);case pt:if(e.length)return fo(r=e.props,function(o){switch(be(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ge(ke(e,{props:[R(o,/:(read-\w+)/,":"+ot+"$1")]})),Ge(ke(e,{props:[o]})),Ft(e,{props:Nr(r,n)});break;case"::placeholder":Ge(ke(e,{props:[R(o,/:(plac\w+)/,":"+F+"input-$1")]})),Ge(ke(e,{props:[R(o,/:(plac\w+)/,":"+ot+"$1")]})),Ge(ke(e,{props:[R(o,/:(plac\w+)/,G+"input-$1")]})),Ge(ke(e,{props:[o]})),Ft(e,{props:Nr(r,n)});break}return""})}}var $o={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},Ne=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Yt=typeof window<"u"&&"HTMLElement"in window,To=!!(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:typeof process<"u"&&process.env!==void 0&&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"),Mr=/invalid hook call/i,xt=new Set,Po=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(e).concat(r,` 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.`,o=console.error;try{var a=!0;console.error=function(s){for(var d=[],c=1;c<arguments.length;c++)d[c-1]=arguments[c];Mr.test(s)?(a=!1,xt.delete(n)):o.apply(void 0,Te([s],d,!1))},y.useRef(),a&&!xt.has(n)&&(console.warn(n),xt.add(n))}catch(s){Mr.test(s.message)&&xt.delete(n)}finally{console.error=o}}},Gt=Object.freeze([]),Ue=Object.freeze({});function No(e,t,r){return r===void 0&&(r=Ue),e.theme!==r.theme&&e.theme||t||r.theme}var Dr=new Set(["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","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","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Io=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ro=/(^-|-$)/g;function Lr(e){return e.replace(Io,"-").replace(Ro,"")}var Oo=/(a)(d)/gi,jr=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ut(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=jr(t%52)+r;return(jr(t%52)+r).replace(Oo,"$1-$2")}var Ht,Ie=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},zr=function(e){return Ie(5381,e)};function Fr(e){return Ut(zr(e)>>>0)}function Br(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function qt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Vr=typeof Symbol=="function"&&Symbol.for,Wr=Vr?Symbol.for("react.memo"):60115,Ao=Vr?Symbol.for("react.forward_ref"):60112,Mo={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Do={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Yr={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Lo=((Ht={})[Ao]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ht[Wr]=Yr,Ht);function Gr(e){return("type"in(t=e)&&t.type.$$typeof)===Wr?Yr:"$$typeof"in e?Lo[e.$$typeof]:Mo;var t}var jo=Object.defineProperty,zo=Object.getOwnPropertyNames,Ur=Object.getOwnPropertySymbols,Fo=Object.getOwnPropertyDescriptor,Bo=Object.getPrototypeOf,Hr=Object.prototype;function qr(e,t,r){if(typeof t!="string"){if(Hr){var n=Bo(t);n&&n!==Hr&&qr(e,n,r)}var o=zo(t);Ur&&(o=o.concat(Ur(t)));for(var a=Gr(e),s=Gr(t),d=0;d<o.length;++d){var c=o[d];if(!(c in Do||r&&r[c]||s&&c in s||a&&c in a)){var u=Fo(t,c);try{jo(e,c,u)}catch{}}}}return e}function He(e){return typeof e=="function"}function Xt(e){return typeof e=="object"&&"styledComponentId"in e}function Re(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Kt(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function qe(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Jt(e,t,r){if(r===void 0&&(r=!1),!r&&!qe(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Jt(e[n],t[n]);else if(qe(t))for(var n in t)e[n]=Jt(e[n],t[n]);return e}function Zt(e,t){Object.defineProperty(e,"toString",{value:t})}var Vo=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? `,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function Wo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],n=[],o=1,a=e.length;o<a;o+=1)n.push(e[o]);return n.forEach(function(s){r=r.replace(/%[a-z]/,s)}),r}function Xe(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(Wo.apply(void 0,Te([Vo[e]],t,!1)).trim())}var Yo=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,a=o;t>=a;)if((a<<=1)<0)throw Xe(16,"".concat(t));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var s=o;s<a;s++)this.groupSizes[s]=0}for(var d=this.indexOfGroup(t+1),c=(s=0,r.length);s<c;s++)this.tag.insertRule(d,r[s])&&(this.groupSizes[t]++,d++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var a=n;a<o;a++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),a=o+n,s=o;s<a;s++)r+="".concat(this.tag.getRule(s)).concat(`/*!sc*/ `);return r},e}(),St=new Map,Ct=new Map,Qt=1,Et=function(e){if(St.has(e))return St.get(e);for(;Ct.has(Qt);)Qt++;var t=Qt++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw Xe(16,"".concat(t));return St.set(e,t),Ct.set(t,e),t},Go=function(e,t){St.set(e,t),Ct.set(t,e)},Uo="style[".concat(Ne,"][").concat("data-styled-version",'="').concat("6.0.1",'"]'),Ho=new RegExp("^".concat(Ne,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),qo=function(e,t,r){for(var n,o=r.split(","),a=0,s=o.length;a<s;a++)(n=o[a])&&e.registerName(t,n)},Xo=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(`/*!sc*/ `),o=[],a=0,s=n.length;a<s;a++){var d=n[a].trim();if(d){var c=d.match(Ho);if(c){var u=0|parseInt(c[1],10),f=c[2];u!==0&&(Go(f,u),qo(e,f,c[3]),e.getTag().insertRules(u,o)),o.length=0}else o.push(d)}}};function Ko(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Xr=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(d){return Array.from(d.querySelectorAll("style[".concat(Ne,"]"))).at(-1)}(r),a=o!==void 0?o.nextSibling:null;n.setAttribute(Ne,"active"),n.setAttribute("data-styled-version","6.0.1");var s=Ko();return s&&n.setAttribute("nonce",s),r.insertBefore(n,a),n},Jo=function(){function e(t){this.element=Xr(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,a=n.length;o<a;o++){var s=n[o];if(s.ownerNode===r)return s}throw Xe(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),Zo=function(){function e(t){this.element=Xr(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),Qo=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Kr=Yt,ei={isServer:!Yt,useCSSOMInjection:!To},Jr=function(){function e(t,r,n){t===void 0&&(t=Ue),r===void 0&&(r={});var o=this;this.options=ee(ee({},ei),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Yt&&Kr&&(Kr=!1,function(a){for(var s=document.querySelectorAll(Uo),d=0,c=s.length;d<c;d++){var u=s[d];u&&u.getAttribute(Ne)!=="active"&&(Xo(a,u),u.parentNode&&u.parentNode.removeChild(u))}}(this)),Zt(this,function(){return function(a){for(var s=a.getTag(),d=s.length,c="",u=function(p){var m=function(x){return Ct.get(x)}(p);if(m===void 0)return"continue";var v=a.names.get(m),S=s.getGroup(p);if(v===void 0||S.length===0)return"continue";var w="".concat(Ne,".g").concat(p,'[id="').concat(m,'"]'),h="";v!==void 0&&v.forEach(function(x){x.length>0&&(h+="".concat(x,","))}),c+="".concat(S).concat(w,'{content:"').concat(h,'"}').concat(`/*!sc*/ `)},f=0;f<d;f++)u(f);return c}(o)})}return e.registerId=function(t){return Et(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(ee(ee({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new Qo(o):n?new Jo(o):new Zo(o)}(this.options),new Yo(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Et(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Et(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Et(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),ti=/&/g,ri=/^\s*\/\/.*$/gm;function Zr(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Zr(r.children,t)),r})}function ni(e){var t,r,n,o=e===void 0?Ue:e,a=o.options,s=a===void 0?Ue:a,d=o.plugins,c=d===void 0?Gt:d,u=function(m,v,S){return S===r||S.startsWith(r)&&S.endsWith(r)&&S.replaceAll(r,"").length>0?".".concat(t):m},f=c.slice();f.push(function(m){m.type===pt&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(ti,r).replace(n,u))}),s.prefix&&f.push(ko),f.push(Co);var p=function(m,v,S,w){v===void 0&&(v=""),S===void 0&&(S=""),w===void 0&&(w="&"),t=w,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var h=m.replace(ri,""),x=xo(S||v?"".concat(S," ").concat(v," { ").concat(h," }"):h);s.namespace&&(x=Zr(x,s.namespace));var E=[];return bt(x,Eo(f.concat(_o(function(N){return E.push(N)})))),E};return p.hash=c.length?c.reduce(function(m,v){return v.name||Xe(15),Ie(m,v.name)},5381).toString():"",p}var oi=new Jr,er=ni(),Qr=y.createContext({shouldForwardProp:void 0,styleSheet:oi,stylis:er});Qr.Consumer,y.createContext(void 0);function en(){return y.useContext(Qr)}var tr=function(){function e(t,r){var n=this;this.inject=function(o,a){a===void 0&&(a=er);var s=n.name+a.hash;o.hasNameForId(n.id,s)||o.insertRules(n.id,s,a(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,Zt(this,function(){throw Xe(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=er),this.name+t.hash},e}(),ii=function(e){return e>="A"&&e<="Z"};function tn(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;ii(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var rn=function(e){return e==null||e===!1||e===""},nn=function(e){var t,r,n=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!rn(a)&&(Array.isArray(a)&&a.isCss||He(a)?n.push("".concat(tn(o),":"),a,";"):qe(a)?n.push.apply(n,Te(Te(["".concat(o," {")],nn(a),!1),["}"],!1)):n.push("".concat(tn(o),": ").concat((t=o,(r=a)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in $o||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Oe(e,t,r,n){if(rn(e))return[];if(Xt(e))return[".".concat(e.styledComponentId)];if(He(e)){if(!He(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof tr||qe(o)||o===null||console.error("".concat(Br(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(o,t,r,n)}var a;return e instanceof tr?r?(e.inject(r,n),[e.getName(n)]):[e]:qe(e)?nn(e):Array.isArray(e)?e.flatMap(function(s){return Oe(s,t,r,n)}):[e.toString()]}function ai(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(He(r)&&!Xt(r))return!1}return!0}var si=zr("6.0.1"),ci=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&ai(t),this.componentId=r,this.baseHash=Ie(si,r),this.baseStyle=n,Jr.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=Re(o,this.staticRulesId);else{var a=Kt(Oe(this.rules,t,r,n)),s=Ut(Ie(this.baseHash,a)>>>0);if(!r.hasNameForId(this.componentId,s)){var d=n(a,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,d)}o=Re(o,s),this.staticRulesId=s}else{for(var c=Ie(this.baseHash,n.hash),u="",f=0;f<this.rules.length;f++){var p=this.rules[f];if(typeof p=="string")u+=p,process.env.NODE_ENV!=="production"&&(c=Ie(c,p));else if(p){var m=Kt(Oe(p,t,r,n));c=Ie(c,m),u+=m}}if(u){var v=Ut(c>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(u,".".concat(v),void 0,this.componentId)),o=Re(o,v)}}return o},e}(),on=y.createContext(void 0);on.Consumer;var rr={},an=new Set;function li(e,t,r){var n=Xt(e),o=e,a=!qt(e),s=t.attrs,d=s===void 0?Gt:s,c=t.componentId,u=c===void 0?function(C,I){var _=typeof C!="string"?"sc":Lr(C);rr[_]=(rr[_]||0)+1;var L="".concat(_,"-").concat(Fr("6.0.1"+_+rr[_]));return I?"".concat(I,"-").concat(L):L}(t.displayName,t.parentComponentId):c,f=t.displayName,p=f===void 0?function(C){return qt(C)?"styled.".concat(C):"Styled(".concat(Br(C),")")}(e):f,m=t.displayName&&t.componentId?"".concat(Lr(t.displayName),"-").concat(t.componentId):t.componentId||u,v=n&&o.attrs?o.attrs.concat(d).filter(Boolean):d,S=t.shouldForwardProp;if(n&&o.shouldForwardProp){var w=o.shouldForwardProp;if(t.shouldForwardProp){var h=t.shouldForwardProp;S=function(C,I){return w(C,I)&&h(C,I)}}else S=w}var x=new ci(r,m,n?o.componentStyle:void 0),E=x.isStatic&&d.length===0;function N(C,I){return function(_,L,U,W){var de=_.attrs,Je=_.componentStyle,ne=_.defaultProps,fe=_.foldedComponentIds,ve=_.styledComponentId,Ze=_.target,Qe=y.useContext(on),Le=en(),xe=_.shouldForwardProp||Le.shouldForwardProp;process.env.NODE_ENV!=="production"&&y.useDebugValue(ve);var oe=function(we,pe,he){for(var ae,te=ee(ee({},pe),{className:void 0,theme:he}),Fe=0;Fe<we.length;Fe+=1){var Ce=He(ae=we[Fe])?ae(te):ae;for(var se in Ce)te[se]=se==="className"?Re(te[se],Ce[se]):se==="style"?ee(ee({},te[se]),Ce[se]):Ce[se]}return pe.className&&(te.className=Re(te.className,pe.className)),te}(de,L,No(L,Qe,ne)||Ue),Se=oe.as||Ze,ye={};for(var Z in oe)oe[Z]===void 0||Z[0]==="$"||Z==="as"||Z==="theme"||(Z==="forwardedAs"?ye.as=oe.forwardedAs:xe&&!xe(Z,Se)||(ye[Z]=oe[Z],xe||process.env.NODE_ENV!=="development"||ao(Z)||an.has(Z)||(an.add(Z),console.warn('styled-components: it looks like an unknown prop "'.concat(Z,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var je=function(we,pe){var he=en(),ae=we.generateAndInjectStyles(pe,he.styleSheet,he.stylis);return process.env.NODE_ENV!=="production"&&y.useDebugValue(ae),ae}(Je,oe);process.env.NODE_ENV!=="production"&&!W&&_.warnTooManyClasses&&_.warnTooManyClasses(je);var ze=Re(fe,ve);return je&&(ze+=" "+je),oe.className&&(ze+=" "+oe.className),ye[qt(Se)&&!Dr.has(Se)?"class":"className"]=ze,ye.ref=U,y.createElement(Se,ye)}(P,C,I,E)}N.displayName=p;var P=y.forwardRef(N);return P.attrs=v,P.componentStyle=x,P.displayName=p,P.shouldForwardProp=S,P.foldedComponentIds=n?Re(o.foldedComponentIds,o.styledComponentId):"",P.styledComponentId=m,P.target=n?o.target:e,Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=n?function(I){for(var _=[],L=1;L<arguments