UNPKG

kylin-ui-component

Version:

A React UI library for some developers to develop quickly

82 lines (62 loc) 53.2 kB
(function(le,F){typeof exports=="object"&&typeof module<"u"?F(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],F):(le=typeof globalThis<"u"?globalThis:le||self,F(le.Tag={},le.React))})(this,function(le,F){"use strict";var it={exports:{}},Ie={};/** * @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 Nt;function Nr(){if(Nt)return Ie;Nt=1;var e=F,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(f,l,g){var h,m={},v=null,S=null;g!==void 0&&(v=""+g),l.key!==void 0&&(v=""+l.key),l.ref!==void 0&&(S=l.ref);for(h in l)o.call(l,h)&&!i.hasOwnProperty(h)&&(m[h]=l[h]);if(f&&f.defaultProps)for(h in l=f.defaultProps,l)m[h]===void 0&&(m[h]=l[h]);return{$$typeof:t,type:f,key:v,ref:S,props:m,_owner:a.current}}return Ie.Fragment=r,Ie.jsx=c,Ie.jsxs=c,Ie}var Ne={};/** * @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 jt;function jr(){return jt||(jt=1,process.env.NODE_ENV!=="production"&&function(){var e=F,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),f=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),k=Symbol.iterator,I="@@iterator";function M(n){if(n===null||typeof n!="object")return null;var s=k&&n[k]||n[I];return typeof s=="function"?s:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function b(n){{for(var s=arguments.length,u=new Array(s>1?s-1:0),p=1;p<s;p++)u[p-1]=arguments[p];L("error",n,u)}}function L(n,s,u){{var p=x.ReactDebugCurrentFrame,R=p.getStackAddendum();R!==""&&(s+="%s",u=u.concat([R]));var T=u.map(function(E){return String(E)});T.unshift("Warning: "+s),Function.prototype.apply.call(console[n],console,T)}}var A=!1,C=!1,P=!1,d=!1,V=!1,J;J=Symbol.for("react.module.reference");function ie(n){return!!(typeof n=="string"||typeof n=="function"||n===o||n===i||V||n===a||n===g||n===h||d||n===S||A||C||P||typeof n=="object"&&n!==null&&(n.$$typeof===v||n.$$typeof===m||n.$$typeof===c||n.$$typeof===f||n.$$typeof===l||n.$$typeof===J||n.getModuleId!==void 0))}function Ct(n,s,u){var p=n.displayName;if(p)return p;var R=s.displayName||s.name||"";return R!==""?u+"("+R+")":u}function Qe(n){return n.displayName||"Context"}function H(n){if(n==null)return null;if(typeof n.tag=="number"&&b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case g:return"Suspense";case h:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case f:var s=n;return Qe(s)+".Consumer";case c:var u=n;return Qe(u._context)+".Provider";case l:return Ct(n,n.render,"ForwardRef");case m:var p=n.displayName||null;return p!==null?p:H(n.type)||"Memo";case v:{var R=n,T=R._payload,E=R._init;try{return H(E(T))}catch{return null}}}return null}var te=Object.assign,se=0,et,tt,rt,Pe,X,ye,ce;function z(){}z.__reactDisabledLog=!0;function $e(){{if(se===0){et=console.log,tt=console.info,rt=console.warn,Pe=console.error,X=console.group,ye=console.groupCollapsed,ce=console.groupEnd;var n={configurable:!0,enumerable:!0,value:z,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}se++}}function Fe(){{if(se--,se===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},n,{value:et}),info:te({},n,{value:tt}),warn:te({},n,{value:rt}),error:te({},n,{value:Pe}),group:te({},n,{value:X}),groupCollapsed:te({},n,{value:ye}),groupEnd:te({},n,{value:ce})})}se<0&&b("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ue=x.ReactCurrentDispatcher,re;function ne(n,s,u){{if(re===void 0)try{throw Error()}catch(R){var p=R.stack.trim().match(/\n( *(at )?)/);re=p&&p[1]||""}return` `+re+n}}var Z=!1,U;{var Me=typeof WeakMap=="function"?WeakMap:Map;U=new Me}function ve(n,s){if(!n||Z)return"";{var u=U.get(n);if(u!==void 0)return u}var p;Z=!0;var R=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var T;T=ue.current,ue.current=null,$e();try{if(s){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(oe){p=oe}Reflect.construct(n,[],E)}else{try{E.call()}catch(oe){p=oe}n.call(E.prototype)}}else{try{throw Error()}catch(oe){p=oe}n()}}catch(oe){if(oe&&p&&typeof oe.stack=="string"){for(var w=oe.stack.split(` `),Y=p.stack.split(` `),N=w.length-1,D=Y.length-1;N>=1&&D>=0&&w[N]!==Y[D];)D--;for(;N>=1&&D>=0;N--,D--)if(w[N]!==Y[D]){if(N!==1||D!==1)do if(N--,D--,D<0||w[N]!==Y[D]){var G=` `+w[N].replace(" at new "," at ");return n.displayName&&G.includes("<anonymous>")&&(G=G.replace("<anonymous>",n.displayName)),typeof n=="function"&&U.set(n,G),G}while(N>=1&&D>=0);break}}}finally{Z=!1,ue.current=T,Fe(),Error.prepareStackTrace=R}var Ae=n?n.displayName||n.name:"",Ir=Ae?ne(Ae):"";return typeof n=="function"&&U.set(n,Ir),Ir}function Q(n,s,u){return ve(n,!1)}function Zn(n){var s=n.prototype;return!!(s&&s.isReactComponent)}function nt(n,s,u){if(n==null)return"";if(typeof n=="function")return ve(n,Zn(n));if(typeof n=="string")return ne(n);switch(n){case g:return ne("Suspense");case h:return ne("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case l:return Q(n.render);case m:return nt(n.type,s,u);case v:{var p=n,R=p._payload,T=p._init;try{return nt(T(R),s,u)}catch{}}}return""}var ot=Object.prototype.hasOwnProperty,wr={},Sr=x.ReactDebugCurrentFrame;function at(n){if(n){var s=n._owner,u=nt(n.type,n._source,s?s.type:null);Sr.setExtraStackFrame(u)}else Sr.setExtraStackFrame(null)}function Qn(n,s,u,p,R){{var T=Function.call.bind(ot);for(var E in n)if(T(n,E)){var w=void 0;try{if(typeof n[E]!="function"){var Y=Error((p||"React class")+": "+u+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Y.name="Invariant Violation",Y}w=n[E](s,E,p,u,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(N){w=N}w&&!(w instanceof Error)&&(at(R),b("%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).",p||"React class",u,E,typeof w),at(null)),w instanceof Error&&!(w.message in wr)&&(wr[w.message]=!0,at(R),b("Failed %s type: %s",u,w.message),at(null))}}}var eo=Array.isArray;function Tt(n){return eo(n)}function to(n){{var s=typeof Symbol=="function"&&Symbol.toStringTag,u=s&&n[Symbol.toStringTag]||n.constructor.name||"Object";return u}}function ro(n){try{return Er(n),!1}catch{return!0}}function Er(n){return""+n}function Rr(n){if(ro(n))return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",to(n)),Er(n)}var Le=x.ReactCurrentOwner,no={key:!0,ref:!0,__self:!0,__source:!0},_r,kr,Pt;Pt={};function oo(n){if(ot.call(n,"ref")){var s=Object.getOwnPropertyDescriptor(n,"ref").get;if(s&&s.isReactWarning)return!1}return n.ref!==void 0}function ao(n){if(ot.call(n,"key")){var s=Object.getOwnPropertyDescriptor(n,"key").get;if(s&&s.isReactWarning)return!1}return n.key!==void 0}function io(n,s){if(typeof n.ref=="string"&&Le.current&&s&&Le.current.stateNode!==s){var u=H(Le.current.type);Pt[u]||(b('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',H(Le.current.type),n.ref),Pt[u]=!0)}}function so(n,s){{var u=function(){_r||(_r=!0,b("%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)",s))};u.isReactWarning=!0,Object.defineProperty(n,"key",{get:u,configurable:!0})}}function co(n,s){{var u=function(){kr||(kr=!0,b("%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)",s))};u.isReactWarning=!0,Object.defineProperty(n,"ref",{get:u,configurable:!0})}}var uo=function(n,s,u,p,R,T,E){var w={$$typeof:t,type:n,key:s,ref:u,props:E,_owner:T};return w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(w,"_self",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.defineProperty(w,"_source",{configurable:!1,enumerable:!1,writable:!1,value:R}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w};function lo(n,s,u,p,R){{var T,E={},w=null,Y=null;u!==void 0&&(Rr(u),w=""+u),ao(s)&&(Rr(s.key),w=""+s.key),oo(s)&&(Y=s.ref,io(s,R));for(T in s)ot.call(s,T)&&!no.hasOwnProperty(T)&&(E[T]=s[T]);if(n&&n.defaultProps){var N=n.defaultProps;for(T in N)E[T]===void 0&&(E[T]=N[T])}if(w||Y){var D=typeof n=="function"?n.displayName||n.name||"Unknown":n;w&&so(E,D),Y&&co(E,D)}return uo(n,w,Y,R,p,Le.current,E)}}var Ot=x.ReactCurrentOwner,xr=x.ReactDebugCurrentFrame;function Oe(n){if(n){var s=n._owner,u=nt(n.type,n._source,s?s.type:null);xr.setExtraStackFrame(u)}else xr.setExtraStackFrame(null)}var At;At=!1;function It(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function Cr(){{if(Ot.current){var n=H(Ot.current.type);if(n)return` Check the render method of \``+n+"`."}return""}}function fo(n){{if(n!==void 0){var s=n.fileName.replace(/^.*[\\\/]/,""),u=n.lineNumber;return` Check your code at `+s+":"+u+"."}return""}}var Tr={};function po(n){{var s=Cr();if(!s){var u=typeof n=="string"?n:n.displayName||n.name;u&&(s=` Check the top-level render call using <`+u+">.")}return s}}function Pr(n,s){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var u=po(s);if(Tr[u])return;Tr[u]=!0;var p="";n&&n._owner&&n._owner!==Ot.current&&(p=" It was passed a child from "+H(n._owner.type)+"."),Oe(n),b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',u,p),Oe(null)}}function Or(n,s){{if(typeof n!="object")return;if(Tt(n))for(var u=0;u<n.length;u++){var p=n[u];It(p)&&Pr(p,s)}else if(It(n))n._store&&(n._store.validated=!0);else if(n){var R=M(n);if(typeof R=="function"&&R!==n.entries)for(var T=R.call(n),E;!(E=T.next()).done;)It(E.value)&&Pr(E.value,s)}}}function ho(n){{var s=n.type;if(s==null||typeof s=="string")return;var u;if(typeof s=="function")u=s.propTypes;else if(typeof s=="object"&&(s.$$typeof===l||s.$$typeof===m))u=s.propTypes;else return;if(u){var p=H(s);Qn(u,n.props,"prop",p,n)}else if(s.PropTypes!==void 0&&!At){At=!0;var R=H(s);b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",R||"Unknown")}typeof s.getDefaultProps=="function"&&!s.getDefaultProps.isReactClassApproved&&b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function go(n){{for(var s=Object.keys(n.props),u=0;u<s.length;u++){var p=s[u];if(p!=="children"&&p!=="key"){Oe(n),b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",p),Oe(null);break}}n.ref!==null&&(Oe(n),b("Invalid attribute `ref` supplied to `React.Fragment`."),Oe(null))}}function Ar(n,s,u,p,R,T){{var E=ie(n);if(!E){var w="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(w+=" 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 Y=fo(R);Y?w+=Y:w+=Cr();var N;n===null?N="null":Tt(n)?N="array":n!==void 0&&n.$$typeof===t?(N="<"+(H(n.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):N=typeof n,b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",N,w)}var D=lo(n,s,u,R,T);if(D==null)return D;if(E){var G=s.children;if(G!==void 0)if(p)if(Tt(G)){for(var Ae=0;Ae<G.length;Ae++)Or(G[Ae],n);Object.freeze&&Object.freeze(G)}else b("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 Or(G,n)}return n===o?go(D):ho(D),D}}function mo(n,s,u){return Ar(n,s,u,!0)}function yo(n,s,u){return Ar(n,s,u,!1)}var vo=yo,bo=mo;Ne.Fragment=o,Ne.jsx=vo,Ne.jsxs=bo}()),Ne}process.env.NODE_ENV==="production"?it.exports=Nr():it.exports=jr();var st=it.exports;const Dr=st.Fragment,be=st.jsx,$r=st.jsxs;var W=function(){return W=Object.assign||function(t){for(var r,o=1,a=arguments.length;o<a;o++){r=arguments[o];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},W.apply(this,arguments)};function we(e,t,r){if(r||arguments.length===2)for(var o=0,a=t.length,i;o<a;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function Fr(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Mr=/^((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)-.*))$/,Lr=Fr(function(e){return Mr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),O="-ms-",je="-moz-",_="-webkit-",Dt="comm",Ve="rule",ct="decl",Vr="@import",$t="@keyframes",zr="@layer",Yr=Math.abs,ut=String.fromCharCode,lt=Object.assign;function Wr(e,t){return $(e,0)^45?(((t<<2^$(e,0))<<2^$(e,1))<<2^$(e,2))<<2^$(e,3):0}function Ft(e){return e.trim()}function ee(e,t){return(e=t.exec(e))?e[0]:e}function y(e,t,r){return e.replace(t,r)}function ze(e,t){return e.indexOf(t)}function $(e,t){return e.charCodeAt(t)|0}function Se(e,t,r){return e.slice(t,r)}function K(e){return e.length}function Mt(e){return e.length}function De(e,t){return t.push(e),e}function Br(e,t){return e.map(t).join("")}function Lt(e,t){return e.filter(function(r){return!ee(r,t)})}var Ye=1,Ee=1,Vt=0,B=0,j=0,Re="";function We(e,t,r,o,a,i,c,f){return{value:e,root:t,parent:r,type:o,props:a,children:i,line:Ye,column:Ee,length:c,return:"",siblings:f}}function ae(e,t){return lt(We("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function _e(e){for(;e.root;)e=ae(e.root,{children:[e]});De(e,e.siblings)}function Ur(){return j}function Gr(){return j=B>0?$(Re,--B):0,Ee--,j===10&&(Ee=1,Ye--),j}function q(){return j=B<Vt?$(Re,B++):0,Ee++,j===10&&(Ee=1,Ye++),j}function fe(){return $(Re,B)}function Be(){return B}function Ue(e,t){return Se(Re,e,t)}function ft(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 qr(e){return Ye=Ee=1,Vt=K(Re=e),B=0,[]}function Hr(e){return Re="",e}function dt(e){return Ft(Ue(B-1,pt(e===91?e+2:e===40?e+1:e)))}function Xr(e){for(;(j=fe())&&j<33;)q();return ft(e)>2||ft(j)>3?"":" "}function Kr(e,t){for(;--t&&q()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return Ue(e,Be()+(t<6&&fe()==32&&q()==32))}function pt(e){for(;q();)switch(j){case e:return B;case 34:case 39:e!==34&&e!==39&&pt(j);break;case 40:e===41&&pt(e);break;case 92:q();break}return B}function Jr(e,t){for(;q()&&e+j!==47+10;)if(e+j===42+42&&fe()===47)break;return"/*"+Ue(t,B-1)+"*"+ut(e===47?e:q())}function Zr(e){for(;!ft(fe());)q();return Ue(e,B)}function Qr(e){return Hr(Ge("",null,null,null,[""],e=qr(e),0,[0],e))}function Ge(e,t,r,o,a,i,c,f,l){for(var g=0,h=0,m=c,v=0,S=0,k=0,I=1,M=1,x=1,b=0,L="",A=a,C=i,P=o,d=L;M;)switch(k=b,b=q()){case 40:if(k!=108&&$(d,m-1)==58){ze(d+=y(dt(b),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:d+=dt(b);break;case 9:case 10:case 13:case 32:d+=Xr(k);break;case 92:d+=Kr(Be()-1,7);continue;case 47:switch(fe()){case 42:case 47:De(en(Jr(q(),Be()),t,r,l),l);break;default:d+="/"}break;case 123*I:f[g++]=K(d)*x;case 125*I:case 59:case 0:switch(b){case 0:case 125:M=0;case 59+h:x==-1&&(d=y(d,/\f/g,"")),S>0&&K(d)-m&&De(S>32?Yt(d+";",o,r,m-1,l):Yt(y(d," ","")+";",o,r,m-2,l),l);break;case 59:d+=";";default:if(De(P=zt(d,t,r,g,h,a,f,L,A=[],C=[],m,i),i),b===123)if(h===0)Ge(d,t,P,P,A,i,m,f,C);else switch(v===99&&$(d,3)===110?100:v){case 100:case 108:case 109:case 115:Ge(e,P,P,o&&De(zt(e,P,P,0,0,a,f,L,a,A=[],m,C),C),a,C,m,f,o?A:C);break;default:Ge(d,P,P,P,[""],C,0,f,C)}}g=h=S=0,I=x=1,L=d="",m=c;break;case 58:m=1+K(d),S=k;default:if(I<1){if(b==123)--I;else if(b==125&&I++==0&&Gr()==125)continue}switch(d+=ut(b),b*I){case 38:x=h>0?1:(d+="\f",-1);break;case 44:f[g++]=(K(d)-1)*x,x=1;break;case 64:fe()===45&&(d+=dt(q())),v=fe(),h=m=K(L=d+=Zr(Be())),b++;break;case 45:k===45&&K(d)==2&&(I=0)}}return i}function zt(e,t,r,o,a,i,c,f,l,g,h,m){for(var v=a-1,S=a===0?i:[""],k=Mt(S),I=0,M=0,x=0;I<o;++I)for(var b=0,L=Se(e,v+1,v=Yr(M=c[I])),A=e;b<k;++b)(A=Ft(M>0?S[b]+" "+L:y(L,/&\f/g,S[b])))&&(l[x++]=A);return We(e,t,r,a===0?Ve:f,l,g,h,m)}function en(e,t,r,o){return We(e,t,r,Dt,ut(Ur()),Se(e,2,-2),0,o)}function Yt(e,t,r,o,a){return We(e,t,r,ct,Se(e,0,o),Se(e,o+1,-1),o,a)}function Wt(e,t,r){switch(Wr(e,t)){case 5103:return _+"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 _+e+e;case 4789:return je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _+e+je+e+O+e+e;case 5936:switch($(e,t+11)){case 114:return _+e+O+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _+e+O+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _+e+O+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return _+e+O+e+e;case 6165:return _+e+O+"flex-"+e+e;case 5187:return _+e+y(e,/(\w+).+(:[^]+)/,_+"box-$1$2"+O+"flex-$1$2")+e;case 5443:return _+e+O+"flex-item-"+y(e,/flex-|-self/g,"")+(ee(e,/flex-|baseline/)?"":O+"grid-row-"+y(e,/flex-|-self/g,""))+e;case 4675:return _+e+O+"flex-line-pack"+y(e,/align-content|flex-|-self/g,"")+e;case 5548:return _+e+O+y(e,"shrink","negative")+e;case 5292:return _+e+O+y(e,"basis","preferred-size")+e;case 6060:return _+"box-"+y(e,"-grow","")+_+e+O+y(e,"grow","positive")+e;case 4554:return _+y(e,/([^-])(transform)/g,"$1"+_+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,_+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,_+"box-pack:$3"+O+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_+e+e;case 4200:if(!ee(e,/flex-|baseline/))return O+"grid-column-align"+Se(e,t)+e;break;case 2592:case 3360:return O+y(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(o,a){return t=a,ee(o.props,/grid-\w+-end/)})?~ze(e+(r=r[t].value),"span")?e:O+y(e,"-start","")+e+O+"grid-row-span:"+(~ze(r,"span")?ee(r,/\d+/):+ee(r,/\d+/)-+ee(e,/\d+/))+";":O+y(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(o){return ee(o.props,/grid-\w+-start/)})?e:O+y(y(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,_+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(K(e)-1-t>6)switch($(e,t+1)){case 109:if($(e,t+4)!==45)break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+je+($(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ze(e,"stretch")?Wt(y(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return y(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(o,a,i,c,f,l,g){return O+a+":"+i+g+(c?O+a+"-span:"+(f?l:+l-+i)+g:"")+e});case 4949:if($(e,t+6)===121)return y(e,":",":"+_)+e;break;case 6444:switch($(e,$(e,14)===45?18:11)){case 120:return y(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+_+($(e,14)===45?"inline-":"")+"box$3$1"+_+"$2$3$1"+O+"$2box$3")+e;case 100:return y(e,":",":"+O)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return y(e,"scroll-","scroll-snap-")+e}return e}function qe(e,t){for(var r="",o=0;o<e.length;o++)r+=t(e[o],o,e,t)||"";return r}function tn(e,t,r,o){switch(e.type){case zr:if(e.children.length)break;case Vr:case ct:return e.return=e.return||e.value;case Dt:return"";case $t:return e.return=e.value+"{"+qe(e.children,o)+"}";case Ve:if(!K(e.value=e.props.join(",")))return""}return K(r=qe(e.children,o))?e.return=e.value+"{"+r+"}":""}function rn(e){var t=Mt(e);return function(r,o,a,i){for(var c="",f=0;f<t;f++)c+=e[f](r,o,a,i)||"";return c}}function nn(e){return function(t){t.root||(t=t.return)&&e(t)}}function on(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case ct:e.return=Wt(e.value,e.length,r);return;case $t:return qe([ae(e,{value:y(e.value,"@","@"+_)})],o);case Ve:if(e.length)return Br(r=e.props,function(a){switch(ee(a,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":_e(ae(e,{props:[y(a,/:(read-\w+)/,":"+je+"$1")]})),_e(ae(e,{props:[a]})),lt(e,{props:Lt(r,o)});break;case"::placeholder":_e(ae(e,{props:[y(a,/:(plac\w+)/,":"+_+"input-$1")]})),_e(ae(e,{props:[y(a,/:(plac\w+)/,":"+je+"$1")]})),_e(ae(e,{props:[y(a,/:(plac\w+)/,O+"input-$1")]})),_e(ae(e,{props:[a]})),lt(e,{props:Lt(r,o)});break}return""})}}var an={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},de=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ht=typeof window<"u"&&"HTMLElement"in window,sn=!!(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"),Bt=/invalid hook call/i,He=new Set,cn=function(e,t){if(process.env.NODE_ENV!=="production"){var r=t?' with the id of "'.concat(t,'"'):"",o="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.`,a=console.error;try{var i=!0;console.error=function(c){for(var f=[],l=1;l<arguments.length;l++)f[l-1]=arguments[l];Bt.test(c)?(i=!1,He.delete(o)):a.apply(void 0,we([c],f,!1))},F.useRef(),i&&!He.has(o)&&(console.warn(o),He.add(o))}catch(c){Bt.test(c.message)&&He.delete(o)}finally{console.error=a}}},gt=Object.freeze([]),ke=Object.freeze({});function un(e,t,r){return r===void 0&&(r=ke),e.theme!==r.theme&&e.theme||t||r.theme}var Ut=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"]),ln=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,fn=/(^-|-$)/g;function Gt(e){return e.replace(ln,"-").replace(fn,"")}var dn=/(a)(d)/gi,qt=function(e){return String.fromCharCode(e+(e>25?39:97))};function mt(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=qt(t%52)+r;return(qt(t%52)+r).replace(dn,"$1-$2")}var yt,pe=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ht=function(e){return pe(5381,e)};function pn(e){return mt(Ht(e)>>>0)}function Xt(e){return process.env.NODE_ENV!=="production"&&typeof e=="string"&&e||e.displayName||e.name||"Component"}function vt(e){return typeof e=="string"&&(process.env.NODE_ENV==="production"||e.charAt(0)===e.charAt(0).toLowerCase())}var Kt=typeof Symbol=="function"&&Symbol.for,Jt=Kt?Symbol.for("react.memo"):60115,hn=Kt?Symbol.for("react.forward_ref"):60112,gn={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},mn={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Zt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yn=((yt={})[hn]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yt[Jt]=Zt,yt);function Qt(e){return("type"in(t=e)&&t.type.$$typeof)===Jt?Zt:"$$typeof"in e?yn[e.$$typeof]:gn;var t}var vn=Object.defineProperty,bn=Object.getOwnPropertyNames,er=Object.getOwnPropertySymbols,wn=Object.getOwnPropertyDescriptor,Sn=Object.getPrototypeOf,tr=Object.prototype;function rr(e,t,r){if(typeof t!="string"){if(tr){var o=Sn(t);o&&o!==tr&&rr(e,o,r)}var a=bn(t);er&&(a=a.concat(er(t)));for(var i=Qt(e),c=Qt(t),f=0;f<a.length;++f){var l=a[f];if(!(l in mn||r&&r[l]||c&&l in c||i&&l in i)){var g=wn(t,l);try{vn(e,l,g)}catch{}}}}return e}function xe(e){return typeof e=="function"}function bt(e){return typeof e=="object"&&"styledComponentId"in e}function he(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function nr(e,t){if(e.length===0)return"";for(var r=e[0],o=1;o<e.length;o++)r+=t?t+e[o]:e[o];return r}function Ce(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function wt(e,t,r){if(r===void 0&&(r=!1),!r&&!Ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=wt(e[o],t[o]);else if(Ce(t))for(var o in t)e[o]=wt(e[o],t[o]);return e}function St(e,t){Object.defineProperty(e,"toString",{value:t})}var En=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 Rn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e[0],o=[],a=1,i=e.length;a<i;a+=1)o.push(e[a]);return o.forEach(function(c){r=r.replace(/%[a-z]/,c)}),r}function Te(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(Rn.apply(void 0,we([En[e]],t,!1)).trim())}var _n=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,o=0;o<t;o++)r+=this.groupSizes[o];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var o=this.groupSizes,a=o.length,i=a;t>=i;)if((i<<=1)<0)throw Te(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(o),this.length=i;for(var c=a;c<i;c++)this.groupSizes[c]=0}for(var f=this.indexOfGroup(t+1),l=(c=0,r.length);c<l;c++)this.tag.insertRule(f,r[c])&&(this.groupSizes[t]++,f++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],o=this.indexOfGroup(t),a=o+r;this.groupSizes[t]=0;for(var i=o;i<a;i++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var o=this.groupSizes[t],a=this.indexOfGroup(t),i=a+o,c=a;c<i;c++)r+="".concat(this.tag.getRule(c)).concat(`/*!sc*/ `);return r},e}(),Xe=new Map,Ke=new Map,Et=1,Je=function(e){if(Xe.has(e))return Xe.get(e);for(;Ke.has(Et);)Et++;var t=Et++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>1073741824))throw Te(16,"".concat(t));return Xe.set(e,t),Ke.set(t,e),t},kn=function(e,t){Xe.set(e,t),Ke.set(t,e)},xn="style[".concat(de,"][").concat("data-styled-version",'="').concat("6.0.1",'"]'),Cn=new RegExp("^".concat(de,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Tn=function(e,t,r){for(var o,a=r.split(","),i=0,c=a.length;i<c;i++)(o=a[i])&&e.registerName(t,o)},Pn=function(e,t){for(var r,o=((r=t.textContent)!==null&&r!==void 0?r:"").split(`/*!sc*/ `),a=[],i=0,c=o.length;i<c;i++){var f=o[i].trim();if(f){var l=f.match(Cn);if(l){var g=0|parseInt(l[1],10),h=l[2];g!==0&&(kn(h,g),Tn(e,h,l[3]),e.getTag().insertRules(g,a)),a.length=0}else a.push(f)}}};function On(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var or=function(e){var t=document.head,r=e||t,o=document.createElement("style"),a=function(f){return Array.from(f.querySelectorAll("style[".concat(de,"]"))).at(-1)}(r),i=a!==void 0?a.nextSibling:null;o.setAttribute(de,"active"),o.setAttribute("data-styled-version","6.0.1");var c=On();return c&&o.setAttribute("nonce",c),r.insertBefore(o,i),o},An=function(){function e(t){this.element=or(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var o=document.styleSheets,a=0,i=o.length;a<i;a++){var c=o[a];if(c.ownerNode===r)return c}throw Te(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}(),In=function(){function e(t){this.element=or(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var o=document.createTextNode(r);return this.element.insertBefore(o,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}(),Nn=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}(),ar=ht,jn={isServer:!ht,useCSSOMInjection:!sn},ir=function(){function e(t,r,o){t===void 0&&(t=ke),r===void 0&&(r={});var a=this;this.options=W(W({},jn),t),this.gs=r,this.names=new Map(o),this.server=!!t.isServer,!this.server&&ht&&ar&&(ar=!1,function(i){for(var c=document.querySelectorAll(xn),f=0,l=c.length;f<l;f++){var g=c[f];g&&g.getAttribute(de)!=="active"&&(Pn(i,g),g.parentNode&&g.parentNode.removeChild(g))}}(this)),St(this,function(){return function(i){for(var c=i.getTag(),f=c.length,l="",g=function(m){var v=function(x){return Ke.get(x)}(m);if(v===void 0)return"continue";var S=i.names.get(v),k=c.getGroup(m);if(S===void 0||k.length===0)return"continue";var I="".concat(de,".g").concat(m,'[id="').concat(v,'"]'),M="";S!==void 0&&S.forEach(function(x){x.length>0&&(M+="".concat(x,","))}),l+="".concat(k).concat(I,'{content:"').concat(M,'"}').concat(`/*!sc*/ `)},h=0;h<f;h++)g(h);return l}(a)})}return e.registerId=function(t){return Je(t)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(W(W({},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 o=r.useCSSOMInjection,a=r.target;return r.isServer?new Nn(a):o?new An(a):new In(a)}(this.options),new _n(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(Je(t),this.names.has(t))this.names.get(t).add(r);else{var o=new Set;o.add(r),this.names.set(t,o)}},e.prototype.insertRules=function(t,r,o){this.registerName(t,r),this.getTag().insertRules(Je(t),o)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Je(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Dn=/&/g,$n=/^\s*\/\/.*$/gm;function sr(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(o){return"".concat(t," ").concat(o)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=sr(r.children,t)),r})}function Fn(e){var t,r,o,a=e===void 0?ke:e,i=a.options,c=i===void 0?ke:i,f=a.plugins,l=f===void 0?gt:f,g=function(v,S,k){return k===r||k.startsWith(r)&&k.endsWith(r)&&k.replaceAll(r,"").length>0?".".concat(t):v},h=l.slice();h.push(function(v){v.type===Ve&&v.value.includes("&")&&(v.props[0]=v.props[0].replace(Dn,r).replace(o,g))}),c.prefix&&h.push(on),h.push(tn);var m=function(v,S,k,I){S===void 0&&(S=""),k===void 0&&(k=""),I===void 0&&(I="&"),t=I,r=S,o=new RegExp("\\".concat(r,"\\b"),"g");var M=v.replace($n,""),x=Qr(k||S?"".concat(k," ").concat(S," { ").concat(M," }"):M);c.namespace&&(x=sr(x,c.namespace));var b=[];return qe(x,rn(h.concat(nn(function(L){return b.push(L)})))),b};return m.hash=l.length?l.reduce(function(v,S){return S.name||Te(15),pe(v,S.name)},5381).toString():"",m}var Mn=new ir,Rt=Fn(),cr=F.createContext({shouldForwardProp:void 0,styleSheet:Mn,stylis:Rt});cr.Consumer,F.createContext(void 0);function ur(){return F.useContext(cr)}var lr=function(){function e(t,r){var o=this;this.inject=function(a,i){i===void 0&&(i=Rt);var c=o.name+i.hash;a.hasNameForId(o.id,c)||a.insertRules(o.id,c,i(o.rules,c,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,St(this,function(){throw Te(12,String(o.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Rt),this.name+t.hash},e}(),Ln=function(e){return e>="A"&&e<="Z"};function fr(e){for(var t="",r=0;r<e.length;r++){var o=e[r];if(r===1&&o==="-"&&e[0]==="-")return e;Ln(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var dr=function(e){return e==null||e===!1||e===""},pr=function(e){var t,r,o=[];for(var a in e){var i=e[a];e.hasOwnProperty(a)&&!dr(i)&&(Array.isArray(i)&&i.isCss||xe(i)?o.push("".concat(fr(a),":"),i,";"):Ce(i)?o.push.apply(o,we(we(["".concat(a," {")],pr(i),!1),["}"],!1)):o.push("".concat(fr(a),": ").concat((t=a,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in an||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return o};function ge(e,t,r,o){if(dr(e))return[];if(bt(e))return[".".concat(e.styledComponentId)];if(xe(e)){if(!xe(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var a=e(t);return process.env.NODE_ENV==="production"||typeof a!="object"||Array.isArray(a)||a instanceof lr||Ce(a)||a===null||console.error("".concat(Xt(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.")),ge(a,t,r,o)}var i;return e instanceof lr?r?(e.inject(r,o),[e.getName(o)]):[e]:Ce(e)?pr(e):Array.isArray(e)?e.flatMap(function(c){return ge(c,t,r,o)}):[e.toString()]}function Vn(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(xe(r)&&!bt(r))return!1}return!0}var zn=Ht("6.0.1"),Yn=function(){function e(t,r,o){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(o===void 0||o.isStatic)&&Vn(t),this.componentId=r,this.baseHash=pe(zn,r),this.baseStyle=o,ir.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,o){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=he(a,this.staticRulesId);else{var i=nr(ge(this.rules,t,r,o)),c=mt(pe(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,c)){var f=o(i,".".concat(c),void 0,this.componentId);r.insertRules(this.componentId,c,f)}a=he(a,c),this.staticRulesId=c}else{for(var l=pe(this.baseHash,o.hash),g="",h=0;h<this.rules.length;h++){var m=this.rules[h];if(typeof m=="string")g+=m,process.env.NODE_ENV!=="production"&&(l=pe(l,m));else if(m){var v=nr(ge(m,t,r,o));l=pe(l,v),g+=v}}if(g){var S=mt(l>>>0);r.hasNameForId(this.componentId,S)||r.insertRules(this.componentId,S,o(g,".".concat(S),void 0,this.componentId)),a=he(a,S)}}return a},e}(),hr=F.createContext(void 0);hr.Consumer;var _t={},gr=new Set;function Wn(e,t,r){var o=bt(e),a=e,i=!vt(e),c=t.attrs,f=c===void 0?gt:c,l=t.componentId,g=l===void 0?function(C,P){var d=typeof C!="string"?"sc":Gt(C);_t[d]=(_t[d]||0)+1;var V="".concat(d,"-").concat(pn("6.0.1"+d+_t[d]));return P?"".concat(P,"-").concat(V):V}(t.displayName,t.parentComponentId):l,h=t.displayName,m=h===void 0?function(C){return vt(C)?"styled.".concat(C):"Styled(".concat(Xt(C),")")}(e):h,v=t.displayName&&t.componentId?"".concat(Gt(t.displayName),"-").concat(t.componentId):t.componentId||g,S=o&&a.attrs?a.attrs.concat(f).filter(Boolean):f,k=t.shouldForwardProp;if(o&&a.shouldForwardProp){var I=a.shouldForwardProp;if(t.shouldForwardProp){var M=t.shouldForwardProp;k=function(C,P){return I(C,P)&&M(C,P)}}else k=I}var x=new Yn(r,v,o?a.componentStyle:void 0),b=x.isStatic&&f.length===0;function L(C,P){return function(d,V,J,ie){var Ct=d.attrs,Qe=d.componentStyle,H=d.defaultProps,te=d.foldedComponentIds,se=d.styledComponentId,et=d.target,tt=F.useContext(hr),rt=ur(),Pe=d.shouldForwardProp||rt.shouldForwardProp;process.env.NODE_ENV!=="production"&&F.useDebugValue(se);var X=function(ue,re,ne){for(var Z,U=W(W({},re),{className:void 0,theme:ne}),Me=0;Me<ue.length;Me+=1){var ve=xe(Z=ue[Me])?Z(U):Z;for(var Q in ve)U[Q]=Q==="className"?he(U[Q],ve[Q]):Q==="style"?W(W({},U[Q]),ve[Q]):ve[Q]}return re.className&&(U.className=he(U.className,re.className)),U}(Ct,V,un(V,tt,H)||ke),ye=X.as||et,ce={};for(var z in X)X[z]===void 0||z[0]==="$"||z==="as"||z==="theme"||(z==="forwardedAs"?ce.as=X.forwardedAs:Pe&&!Pe(z,ye)||(ce[z]=X[z],Pe||process.env.NODE_ENV!=="development"||Lr(z)||gr.has(z)||(gr.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 $e=function(ue,re){var ne=ur(),Z=ue.generateAndInjectStyles(re,ne.styleSheet,ne.stylis);return process.env.NODE_ENV!=="production"&&F.useDebugValue(Z),Z}(Qe,X);process.env.NODE_ENV!=="production"&&!ie&&d.warnTooManyClasses&&d.warnTooManyClasses($e);var Fe=he(te,se);return $e&&(Fe+=" "+$e),X.className&&(Fe+=" "+X.className),ce[vt(ye)&&!Ut.has(ye)?"class":"className"]=Fe,ce.ref=J,F.createElement(ye,ce)}(A,C,P,b)}L.displayName=m;var A=F.forwardRef(L);return A.attrs=S,A.componentStyle=x,A.displayName=m,A.shouldForwardProp=k,A.foldedComponentIds=o?he(a.foldedComponentIds,a.styledComponentId):"",A.styledComponentId=v,A.target=o?a.target:e,Object.defineProperty(A,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(C){this._foldedDefaultProps=o?function(P){for(var d=[],V=1;V<arguments.length;V++)d[V-1]=arguments[V];for(var J=0,ie=d;J<ie.length;J++)wt(P,ie[J],!0);return P}({},a.defaultProps,C):C}}),process.env.NODE_ENV!=="production"&&(cn(m,v),A.warnTooManyClasses=function(C,P){var d={},V=!1;return function(J){if(!V&&(d[J]=!0,Object.keys(d).length>=200)){var ie=P?' with the id of "'.concat(P,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(C).concat(ie,`. `)+`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 />`),V=!0,d={}}}}(m,v)),St(A,function(){return".".concat(A.styledComponentId)}),i&&rr(A,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),A}function mr(e,t){for(var r=[e[0]],o=0,a=t.length;o<a;o+=1)r.push(t[o],e[o+1]);return r}var yr=function(e){return Object.assign(e,{isCss:!0})};function Bn(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(xe(e)||Ce(e)){var o=e;return yr(ge(mr(gt,we([o],t,!0))))}var a=e;return t.length===0&&a.length===1&&typeof a[0]=="string"?ge(a):yr(ge(mr(a,t)))}function kt(e,t,r){if(r===void 0&&(r=ke),!t)throw Te(1,t);var o=function(a){for(var i=[],c=1;c<arguments.length;c++)i[c-1