@mini-markdown-rc/editor
Version:
74 lines (56 loc) • 3.93 MB
JavaScript
(function(ra,re){typeof exports=="object"&&typeof module<"u"?re(exports,require("react"),require("react-dom"),require("highlight.js")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","highlight.js"],re):(ra=typeof globalThis<"u"?globalThis:ra||self,re(ra["mini-markdown-editor"]={},ra.React,ra.ReactDOM,ra.hljs))})(this,function(ra,re,Ko,yP){"use strict";var Fft=Object.defineProperty;var Ift=(ra,re,Ko)=>re in ra?Fft(ra,re,{enumerable:!0,configurable:!0,writable:!0,value:Ko}):ra[re]=Ko;var Or=(ra,re,Ko)=>Ift(ra,typeof re!="symbol"?re+"":re,Ko);function JL(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const x=JL(re),e9=JL(Ko);var WA=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ev(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ghe(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var Ib={exports:{}},Uv={};/**
* @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 t9;function mhe(){if(t9)return Uv;t9=1;var t=re,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,l,c){var A,u={},f=null,d=null;c!==void 0&&(f=""+c),l.key!==void 0&&(f=""+l.key),l.ref!==void 0&&(d=l.ref);for(A in l)r.call(l,A)&&!a.hasOwnProperty(A)&&(u[A]=l[A]);if(s&&s.defaultProps)for(A in l=s.defaultProps,l)u[A]===void 0&&(u[A]=l[A]);return{$$typeof:e,type:s,key:f,ref:d,props:u,_owner:i.current}}return Uv.Fragment=n,Uv.jsx=o,Uv.jsxs=o,Uv}var Rv={};/**
* @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 n9;function vhe(){return n9||(n9=1,process.env.NODE_ENV!=="production"&&function(){var t=re,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),A=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),O=Symbol.iterator,h="@@iterator";function g(we){if(we===null||typeof we!="object")return null;var lt=O&&we[O]||we[h];return typeof lt=="function"?lt:null}var p=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function m(we){{for(var lt=arguments.length,ht=new Array(lt>1?lt-1:0),Mt=1;Mt<lt;Mt++)ht[Mt-1]=arguments[Mt];v("error",we,ht)}}function v(we,lt,ht){{var Mt=p.ReactDebugCurrentFrame,Kt=Mt.getStackAddendum();Kt!==""&&(lt+="%s",ht=ht.concat([Kt]));var fn=ht.map(function(rn){return String(rn)});fn.unshift("Warning: "+lt),Function.prototype.apply.call(console[we],console,fn)}}var b=!1,y=!1,$=!1,S=!1,_=!1,C;C=Symbol.for("react.module.reference");function I(we){return!!(typeof we=="string"||typeof we=="function"||we===r||we===a||_||we===i||we===c||we===A||S||we===d||b||y||$||typeof we=="object"&&we!==null&&(we.$$typeof===f||we.$$typeof===u||we.$$typeof===o||we.$$typeof===s||we.$$typeof===l||we.$$typeof===C||we.getModuleId!==void 0))}function U(we,lt,ht){var Mt=we.displayName;if(Mt)return Mt;var Kt=lt.displayName||lt.name||"";return Kt!==""?ht+"("+Kt+")":ht}function R(we){return we.displayName||"Context"}function F(we){if(we==null)return null;if(typeof we.tag=="number"&&m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof we=="function")return we.displayName||we.name||null;if(typeof we=="string")return we;switch(we){case r:return"Fragment";case n:return"Portal";case a:return"Profiler";case i:return"StrictMode";case c:return"Suspense";case A:return"SuspenseList"}if(typeof we=="object")switch(we.$$typeof){case s:var lt=we;return R(lt)+".Consumer";case o:var ht=we;return R(ht._context)+".Provider";case l:return U(we,we.render,"ForwardRef");case u:var Mt=we.displayName||null;return Mt!==null?Mt:F(we.type)||"Memo";case f:{var Kt=we,fn=Kt._payload,rn=Kt._init;try{return F(rn(fn))}catch{return null}}}return null}var E=Object.assign,W=0,N,L,D,H,Z,J,z;function M(){}M.__reactDisabledLog=!0;function G(){{if(W===0){N=console.log,L=console.info,D=console.warn,H=console.error,Z=console.group,J=console.groupCollapsed,z=console.groupEnd;var we={configurable:!0,enumerable:!0,value:M,writable:!0};Object.defineProperties(console,{info:we,log:we,warn:we,error:we,group:we,groupCollapsed:we,groupEnd:we})}W++}}function Y(){{if(W--,W===0){var we={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},we,{value:N}),info:E({},we,{value:L}),warn:E({},we,{value:D}),error:E({},we,{value:H}),group:E({},we,{value:Z}),groupCollapsed:E({},we,{value:J}),groupEnd:E({},we,{value:z})})}W<0&&m("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var te=p.ReactCurrentDispatcher,ne;function oe(we,lt,ht){{if(ne===void 0)try{throw Error()}catch(Kt){var Mt=Kt.stack.trim().match(/\n( *(at )?)/);ne=Mt&&Mt[1]||""}return`
`+ne+we}}var Ae=!1,Qe;{var ye=typeof WeakMap=="function"?WeakMap:Map;Qe=new ye}function be(we,lt){if(!we||Ae)return"";{var ht=Qe.get(we);if(ht!==void 0)return ht}var Mt;Ae=!0;var Kt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var fn;fn=te.current,te.current=null,G();try{if(lt){var rn=function(){throw Error()};if(Object.defineProperty(rn.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rn,[])}catch(Zt){Mt=Zt}Reflect.construct(we,[],rn)}else{try{rn.call()}catch(Zt){Mt=Zt}we.call(rn.prototype)}}else{try{throw Error()}catch(Zt){Mt=Zt}we()}}catch(Zt){if(Zt&&Mt&&typeof Zt.stack=="string"){for(var An=Zt.stack.split(`
`),tr=Mt.stack.split(`
`),Un=An.length-1,Ct=tr.length-1;Un>=1&&Ct>=0&&An[Un]!==tr[Ct];)Ct--;for(;Un>=1&&Ct>=0;Un--,Ct--)if(An[Un]!==tr[Ct]){if(Un!==1||Ct!==1)do if(Un--,Ct--,Ct<0||An[Un]!==tr[Ct]){var he=`
`+An[Un].replace(" at new "," at ");return we.displayName&&he.includes("<anonymous>")&&(he=he.replace("<anonymous>",we.displayName)),typeof we=="function"&&Qe.set(we,he),he}while(Un>=1&&Ct>=0);break}}}finally{Ae=!1,te.current=fn,Y(),Error.prepareStackTrace=Kt}var Ye=we?we.displayName||we.name:"",dt=Ye?oe(Ye):"";return typeof we=="function"&&Qe.set(we,dt),dt}function xe(we,lt,ht){return be(we,!1)}function $e(we){var lt=we.prototype;return!!(lt&<.isReactComponent)}function pe(we,lt,ht){if(we==null)return"";if(typeof we=="function")return be(we,$e(we));if(typeof we=="string")return oe(we);switch(we){case c:return oe("Suspense");case A:return oe("SuspenseList")}if(typeof we=="object")switch(we.$$typeof){case l:return xe(we.render);case u:return pe(we.type,lt,ht);case f:{var Mt=we,Kt=Mt._payload,fn=Mt._init;try{return pe(fn(Kt),lt,ht)}catch{}}}return""}var le=Object.prototype.hasOwnProperty,at={},Re=p.ReactDebugCurrentFrame;function Te(we){if(we){var lt=we._owner,ht=pe(we.type,we._source,lt?lt.type:null);Re.setExtraStackFrame(ht)}else Re.setExtraStackFrame(null)}function ze(we,lt,ht,Mt,Kt){{var fn=Function.call.bind(le);for(var rn in we)if(fn(we,rn)){var An=void 0;try{if(typeof we[rn]!="function"){var tr=Error((Mt||"React class")+": "+ht+" type `"+rn+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof we[rn]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw tr.name="Invariant Violation",tr}An=we[rn](lt,rn,Mt,ht,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Un){An=Un}An&&!(An instanceof Error)&&(Te(Kt),m("%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).",Mt||"React class",ht,rn,typeof An),Te(null)),An instanceof Error&&!(An.message in at)&&(at[An.message]=!0,Te(Kt),m("Failed %s type: %s",ht,An.message),Te(null))}}}var je=Array.isArray;function Ze(we){return je(we)}function Pe(we){{var lt=typeof Symbol=="function"&&Symbol.toStringTag,ht=lt&&we[Symbol.toStringTag]||we.constructor.name||"Object";return ht}}function Ee(we){try{return Me(we),!1}catch{return!0}}function Me(we){return""+we}function Je(we){if(Ee(we))return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Pe(we)),Me(we)}var rt=p.ReactCurrentOwner,vt={key:!0,ref:!0,__self:!0,__source:!0},Ot,Ce;function ke(we){if(le.call(we,"ref")){var lt=Object.getOwnPropertyDescriptor(we,"ref").get;if(lt&<.isReactWarning)return!1}return we.ref!==void 0}function Ge(we){if(le.call(we,"key")){var lt=Object.getOwnPropertyDescriptor(we,"key").get;if(lt&<.isReactWarning)return!1}return we.key!==void 0}function qe(we,lt){typeof we.ref=="string"&&rt.current}function We(we,lt){{var ht=function(){Ot||(Ot=!0,m("%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)",lt))};ht.isReactWarning=!0,Object.defineProperty(we,"key",{get:ht,configurable:!0})}}function Ve(we,lt){{var ht=function(){Ce||(Ce=!0,m("%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)",lt))};ht.isReactWarning=!0,Object.defineProperty(we,"ref",{get:ht,configurable:!0})}}var ct=function(we,lt,ht,Mt,Kt,fn,rn){var An={$$typeof:e,type:we,key:lt,ref:ht,props:rn,_owner:fn};return An._store={},Object.defineProperty(An._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(An,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Mt}),Object.defineProperty(An,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Kt}),Object.freeze&&(Object.freeze(An.props),Object.freeze(An)),An};function Qt(we,lt,ht,Mt,Kt){{var fn,rn={},An=null,tr=null;ht!==void 0&&(Je(ht),An=""+ht),Ge(lt)&&(Je(lt.key),An=""+lt.key),ke(lt)&&(tr=lt.ref,qe(lt,Kt));for(fn in lt)le.call(lt,fn)&&!vt.hasOwnProperty(fn)&&(rn[fn]=lt[fn]);if(we&&we.defaultProps){var Un=we.defaultProps;for(fn in Un)rn[fn]===void 0&&(rn[fn]=Un[fn])}if(An||tr){var Ct=typeof we=="function"?we.displayName||we.name||"Unknown":we;An&&We(rn,Ct),tr&&Ve(rn,Ct)}return ct(we,An,tr,Kt,Mt,rt.current,rn)}}var pt=p.ReactCurrentOwner,un=p.ReactDebugCurrentFrame;function an(we){if(we){var lt=we._owner,ht=pe(we.type,we._source,lt?lt.type:null);un.setExtraStackFrame(ht)}else un.setExtraStackFrame(null)}var Pn;Pn=!1;function qt(we){return typeof we=="object"&&we!==null&&we.$$typeof===e}function bt(){{if(pt.current){var we=F(pt.current.type);if(we)return`
Check the render method of \``+we+"`."}return""}}function ut(we){return""}var Rt={};function Ht(we){{var lt=bt();if(!lt){var ht=typeof we=="string"?we:we.displayName||we.name;ht&&(lt=`
Check the top-level render call using <`+ht+">.")}return lt}}function Tt(we,lt){{if(!we._store||we._store.validated||we.key!=null)return;we._store.validated=!0;var ht=Ht(lt);if(Rt[ht])return;Rt[ht]=!0;var Mt="";we&&we._owner&&we._owner!==pt.current&&(Mt=" It was passed a child from "+F(we._owner.type)+"."),an(we),m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',ht,Mt),an(null)}}function Wt(we,lt){{if(typeof we!="object")return;if(Ze(we))for(var ht=0;ht<we.length;ht++){var Mt=we[ht];qt(Mt)&&Tt(Mt,lt)}else if(qt(we))we._store&&(we._store.validated=!0);else if(we){var Kt=g(we);if(typeof Kt=="function"&&Kt!==we.entries)for(var fn=Kt.call(we),rn;!(rn=fn.next()).done;)qt(rn.value)&&Tt(rn.value,lt)}}}function Nt(we){{var lt=we.type;if(lt==null||typeof lt=="string")return;var ht;if(typeof lt=="function")ht=lt.propTypes;else if(typeof lt=="object"&&(lt.$$typeof===l||lt.$$typeof===u))ht=lt.propTypes;else return;if(ht){var Mt=F(lt);ze(ht,we.props,"prop",Mt,we)}else if(lt.PropTypes!==void 0&&!Pn){Pn=!0;var Kt=F(lt);m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Kt||"Unknown")}typeof lt.getDefaultProps=="function"&&!lt.getDefaultProps.isReactClassApproved&&m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function It(we){{for(var lt=Object.keys(we.props),ht=0;ht<lt.length;ht++){var Mt=lt[ht];if(Mt!=="children"&&Mt!=="key"){an(we),m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Mt),an(null);break}}we.ref!==null&&(an(we),m("Invalid attribute `ref` supplied to `React.Fragment`."),an(null))}}var Cn={};function Dt(we,lt,ht,Mt,Kt,fn){{var rn=I(we);if(!rn){var An="";(we===void 0||typeof we=="object"&&we!==null&&Object.keys(we).length===0)&&(An+=" 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 tr=ut();tr?An+=tr:An+=bt();var Un;we===null?Un="null":Ze(we)?Un="array":we!==void 0&&we.$$typeof===e?(Un="<"+(F(we.type)||"Unknown")+" />",An=" Did you accidentally export a JSX literal instead of a component?"):Un=typeof we,m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Un,An)}var Ct=Qt(we,lt,ht,Kt,fn);if(Ct==null)return Ct;if(rn){var he=lt.children;if(he!==void 0)if(Mt)if(Ze(he)){for(var Ye=0;Ye<he.length;Ye++)Wt(he[Ye],we);Object.freeze&&Object.freeze(he)}else m("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 Wt(he,we)}if(le.call(lt,"key")){var dt=F(we),Zt=Object.keys(lt).filter(function(me){return me!=="key"}),Dn=Zt.length>0?"{key: someKey, "+Zt.join(": ..., ")+": ...}":"{key: someKey}";if(!Cn[dt+Dn]){var ie=Zt.length>0?"{"+Zt.join(": ..., ")+": ...}":"{}";m(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,Dn,dt,ie,dt),Cn[dt+Dn]=!0}}return we===r?It(Ct):Nt(Ct),Ct}}function Et(we,lt,ht){return Dt(we,lt,ht,!0)}function wt(we,lt,ht){return Dt(we,lt,ht,!1)}var Ut=wt,Yt=Et;Rv.Fragment=r,Rv.jsx=Ut,Rv.jsxs=Yt}()),Rv}var r9;function yhe(){return r9||(r9=1,process.env.NODE_ENV==="production"?Ib.exports=mhe():Ib.exports=vhe()),Ib.exports}var St=yhe(),Jo=function(){return Jo=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Jo.apply(this,arguments)};function Lp(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;function bhe(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var whe=/^((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|disableRemotePlayback|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)-.*))$/,Qhe=bhe(function(t){return whe.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Ri="-ms-",Fv="-moz-",oi="-webkit-",i9="comm",Xb="rule",bP="decl",$he="@import",a9="@keyframes",She="@layer",o9=Math.abs,wP=String.fromCharCode,QP=Object.assign;function khe(t,e){return wo(t,0)^45?(((e<<2^wo(t,0))<<2^wo(t,1))<<2^wo(t,2))<<2^wo(t,3):0}function s9(t){return t.trim()}function Du(t,e){return(t=e.exec(t))?t[0]:t}function wr(t,e,n){return t.replace(e,n)}function Lb(t,e,n){return t.indexOf(e,n)}function wo(t,e){return t.charCodeAt(e)|0}function zp(t,e,n){return t.slice(e,n)}function Wc(t){return t.length}function l9(t){return t.length}function Iv(t,e){return e.push(t),t}function xhe(t,e){return t.map(e).join("")}function A9(t,e){return t.filter(function(n){return!Du(n,e)})}var zb=1,jp=1,c9=0,Kl=0,Da=0,Wp="";function jb(t,e,n,r,i,a,o,s){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:zb,column:jp,length:o,return:"",siblings:s}}function nd(t,e){return QP(jb("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function Np(t){for(;t.root;)t=nd(t.root,{children:[t]});Iv(t,t.siblings)}function Phe(){return Da}function Bhe(){return Da=Kl>0?wo(Wp,--Kl):0,jp--,Da===10&&(jp=1,zb--),Da}function NA(){return Da=Kl<c9?wo(Wp,Kl++):0,jp++,Da===10&&(jp=1,zb++),Da}function zO(){return wo(Wp,Kl)}function Wb(){return Kl}function Nb(t,e){return zp(Wp,t,e)}function $P(t){switch(t){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 Che(t){return zb=jp=1,c9=Wc(Wp=t),Kl=0,[]}function _he(t){return Wp="",t}function SP(t){return s9(Nb(Kl-1,kP(t===91?t+2:t===40?t+1:t)))}function The(t){for(;(Da=zO())&&Da<33;)NA();return $P(t)>2||$P(Da)>3?"":" "}function Ehe(t,e){for(;--e&&NA()&&!(Da<48||Da>102||Da>57&&Da<65||Da>70&&Da<97););return Nb(t,Wb()+(e<6&&zO()==32&&NA()==32))}function kP(t){for(;NA();)switch(Da){case t:return Kl;case 34:case 39:t!==34&&t!==39&&kP(Da);break;case 40:t===41&&kP(t);break;case 92:NA();break}return Kl}function Uhe(t,e){for(;NA()&&t+Da!==57;)if(t+Da===84&&zO()===47)break;return"/*"+Nb(e,Kl-1)+"*"+wP(t===47?t:NA())}function Rhe(t){for(;!$P(zO());)NA();return Nb(t,Kl)}function Fhe(t){return _he(Vb("",null,null,null,[""],t=Che(t),0,[0],t))}function Vb(t,e,n,r,i,a,o,s,l){for(var c=0,A=0,u=o,f=0,d=0,O=0,h=1,g=1,p=1,m=0,v="",b=i,y=a,$=r,S=v;g;)switch(O=m,m=NA()){case 40:if(O!=108&&wo(S,u-1)==58){Lb(S+=wr(SP(m),"&","&\f"),"&\f",o9(c?s[c-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:S+=SP(m);break;case 9:case 10:case 13:case 32:S+=The(O);break;case 92:S+=Ehe(Wb()-1,7);continue;case 47:switch(zO()){case 42:case 47:Iv(Ihe(Uhe(NA(),Wb()),e,n,l),l);break;default:S+="/"}break;case 123*h:s[c++]=Wc(S)*p;case 125*h:case 59:case 0:switch(m){case 0:case 125:g=0;case 59+A:p==-1&&(S=wr(S,/\f/g,"")),d>0&&Wc(S)-u&&Iv(d>32?f9(S+";",r,n,u-1,l):f9(wr(S," ","")+";",r,n,u-2,l),l);break;case 59:S+=";";default:if(Iv($=u9(S,e,n,c,A,i,s,v,b=[],y=[],u,a),a),m===123)if(A===0)Vb(S,e,$,$,b,a,u,s,y);else switch(f===99&&wo(S,3)===110?100:f){case 100:case 108:case 109:case 115:Vb(t,$,$,r&&Iv(u9(t,$,$,0,0,i,s,v,i,b=[],u,y),y),i,y,u,s,r?b:y);break;default:Vb(S,$,$,$,[""],y,0,s,y)}}c=A=d=0,h=p=1,v=S="",u=o;break;case 58:u=1+Wc(S),d=O;default:if(h<1){if(m==123)--h;else if(m==125&&h++==0&&Bhe()==125)continue}switch(S+=wP(m),m*h){case 38:p=A>0?1:(S+="\f",-1);break;case 44:s[c++]=(Wc(S)-1)*p,p=1;break;case 64:zO()===45&&(S+=SP(NA())),f=zO(),A=u=Wc(v=S+=Rhe(Wb())),m++;break;case 45:O===45&&Wc(S)==2&&(h=0)}}return a}function u9(t,e,n,r,i,a,o,s,l,c,A,u){for(var f=i-1,d=i===0?a:[""],O=l9(d),h=0,g=0,p=0;h<r;++h)for(var m=0,v=zp(t,f+1,f=o9(g=o[h])),b=t;m<O;++m)(b=s9(g>0?d[m]+" "+v:wr(v,/&\f/g,d[m])))&&(l[p++]=b);return jb(t,e,n,i===0?Xb:s,l,c,A,u)}function Ihe(t,e,n,r){return jb(t,e,n,i9,wP(Phe()),zp(t,2,-2),0,r)}function f9(t,e,n,r,i){return jb(t,e,n,bP,zp(t,0,r),zp(t,r+1,-1),r,i)}function d9(t,e,n){switch(khe(t,e)){case 5103:return oi+"print-"+t+t;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 oi+t+t;case 4789:return Fv+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return oi+t+Fv+t+Ri+t+t;case 5936:switch(wo(t,e+11)){case 114:return oi+t+Ri+wr(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return oi+t+Ri+wr(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return oi+t+Ri+wr(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return oi+t+Ri+t+t;case 6165:return oi+t+Ri+"flex-"+t+t;case 5187:return oi+t+wr(t,/(\w+).+(:[^]+)/,oi+"box-$1$2"+Ri+"flex-$1$2")+t;case 5443:return oi+t+Ri+"flex-item-"+wr(t,/flex-|-self/g,"")+(Du(t,/flex-|baseline/)?"":Ri+"grid-row-"+wr(t,/flex-|-self/g,""))+t;case 4675:return oi+t+Ri+"flex-line-pack"+wr(t,/align-content|flex-|-self/g,"")+t;case 5548:return oi+t+Ri+wr(t,"shrink","negative")+t;case 5292:return oi+t+Ri+wr(t,"basis","preferred-size")+t;case 6060:return oi+"box-"+wr(t,"-grow","")+oi+t+Ri+wr(t,"grow","positive")+t;case 4554:return oi+wr(t,/([^-])(transform)/g,"$1"+oi+"$2")+t;case 6187:return wr(wr(wr(t,/(zoom-|grab)/,oi+"$1"),/(image-set)/,oi+"$1"),t,"")+t;case 5495:case 3959:return wr(t,/(image-set\([^]*)/,oi+"$1$`$1");case 4968:return wr(wr(t,/(.+:)(flex-)?(.*)/,oi+"box-pack:$3"+Ri+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oi+t+t;case 4200:if(!Du(t,/flex-|baseline/))return Ri+"grid-column-align"+zp(t,e)+t;break;case 2592:case 3360:return Ri+wr(t,"template-","")+t;case 4384:case 3616:return n&&n.some(function(r,i){return e=i,Du(r.props,/grid-\w+-end/)})?~Lb(t+(n=n[e].value),"span",0)?t:Ri+wr(t,"-start","")+t+Ri+"grid-row-span:"+(~Lb(n,"span",0)?Du(n,/\d+/):+Du(n,/\d+/)-+Du(t,/\d+/))+";":Ri+wr(t,"-start","")+t;case 4896:case 4128:return n&&n.some(function(r){return Du(r.props,/grid-\w+-start/)})?t:Ri+wr(wr(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return wr(t,/(.+)-inline(.+)/,oi+"$1$2")+t;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(Wc(t)-1-e>6)switch(wo(t,e+1)){case 109:if(wo(t,e+4)!==45)break;case 102:return wr(t,/(.+:)(.+)-([^]+)/,"$1"+oi+"$2-$3$1"+Fv+(wo(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Lb(t,"stretch",0)?d9(wr(t,"stretch","fill-available"),e,n)+t:t}break;case 5152:case 5920:return wr(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,a,o,s,l,c){return Ri+i+":"+a+c+(o?Ri+i+"-span:"+(s?l:+l-+a)+c:"")+t});case 4949:if(wo(t,e+6)===121)return wr(t,":",":"+oi)+t;break;case 6444:switch(wo(t,wo(t,14)===45?18:11)){case 120:return wr(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oi+(wo(t,14)===45?"inline-":"")+"box$3$1"+oi+"$2$3$1"+Ri+"$2box$3")+t;case 100:return wr(t,":",":"+Ri)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return wr(t,"scroll-","scroll-snap-")+t}return t}function qb(t,e){for(var n="",r=0;r<t.length;r++)n+=e(t[r],r,t,e)||"";return n}function Xhe(t,e,n,r){switch(t.type){case She:if(t.children.length)break;case $he:case bP:return t.return=t.return||t.value;case i9:return"";case a9:return t.return=t.value+"{"+qb(t.children,r)+"}";case Xb:if(!Wc(t.value=t.props.join(",")))return""}return Wc(n=qb(t.children,r))?t.return=t.value+"{"+n+"}":""}function Lhe(t){var e=l9(t);return function(n,r,i,a){for(var o="",s=0;s<e;s++)o+=t[s](n,r,i,a)||"";return o}}function zhe(t){return function(e){e.root||(e=e.return)&&t(e)}}function jhe(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case bP:t.return=d9(t.value,t.length,n);return;case a9:return qb([nd(t,{value:wr(t.value,"@","@"+oi)})],r);case Xb:if(t.length)return xhe(n=t.props,function(i){switch(Du(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Np(nd(t,{props:[wr(i,/:(read-\w+)/,":"+Fv+"$1")]})),Np(nd(t,{props:[i]})),QP(t,{props:A9(n,r)});break;case"::placeholder":Np(nd(t,{props:[wr(i,/:(plac\w+)/,":"+oi+"input-$1")]})),Np(nd(t,{props:[wr(i,/:(plac\w+)/,":"+Fv+"$1")]})),Np(nd(t,{props:[wr(i,/:(plac\w+)/,Ri+"input-$1")]})),Np(nd(t,{props:[i]})),QP(t,{props:A9(n,r)});break}return""})}}var Whe={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},jO=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",O9="active",h9="data-styled-version",Db="6.1.15",xP=`/*!sc*/
`,Mb=typeof window<"u"&&"HTMLElement"in window,Nhe=!!(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"),p9=/invalid hook call/i,Hb=new Set,Vhe=function(t,e){if(process.env.NODE_ENV!=="production"){var n=e?' with the id of "'.concat(e,'"'):"",r="The component ".concat(t).concat(n,` has been created dynamically.
`)+`You may see this warning because you've called styled inside another component.
To resolve this only create new StyledComponents outside of any render method and function component.`,i=console.error;try{var a=!0;console.error=function(o){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];p9.test(o)?(a=!1,Hb.delete(r)):i.apply(void 0,Lp([o],s,!1))},re.useRef(),a&&!Hb.has(r)&&(console.warn(r),Hb.add(r))}catch(o){p9.test(o.message)&&Hb.delete(r)}finally{console.error=i}}},Zb=Object.freeze([]),Vp=Object.freeze({});function qhe(t,e,n){return n===void 0&&(n=Vp),t.theme!==n.theme&&t.theme||e||n.theme}var PP=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","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","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"]),Dhe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Mhe=/(^-|-$)/g;function g9(t){return t.replace(Dhe,"-").replace(Mhe,"")}var Hhe=/(a)(d)/gi,Yb=52,m9=function(t){return String.fromCharCode(t+(t>25?39:97))};function BP(t){var e,n="";for(e=Math.abs(t);e>Yb;e=e/Yb|0)n=m9(e%Yb)+n;return(m9(e%Yb)+n).replace(Hhe,"$1-$2")}var CP,v9=5381,WO=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},y9=function(t){return WO(v9,t)};function Zhe(t){return BP(y9(t)>>>0)}function b9(t){return process.env.NODE_ENV!=="production"&&typeof t=="string"&&t||t.displayName||t.name||"Component"}function _P(t){return typeof t=="string"&&(process.env.NODE_ENV==="production"||t.charAt(0)===t.charAt(0).toLowerCase())}var w9=typeof Symbol=="function"&&Symbol.for,Q9=w9?Symbol.for("react.memo"):60115,Yhe=w9?Symbol.for("react.forward_ref"):60112,Ghe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Khe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$9={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Jhe=((CP={})[Yhe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},CP[Q9]=$9,CP);function S9(t){return("type"in(e=t)&&e.type.$$typeof)===Q9?$9:"$$typeof"in t?Jhe[t.$$typeof]:Ghe;var e}var epe=Object.defineProperty,tpe=Object.getOwnPropertyNames,k9=Object.getOwnPropertySymbols,npe=Object.getOwnPropertyDescriptor,rpe=Object.getPrototypeOf,x9=Object.prototype;function P9(t,e,n){if(typeof e!="string"){if(x9){var r=rpe(e);r&&r!==x9&&P9(t,r,n)}var i=tpe(e);k9&&(i=i.concat(k9(e)));for(var a=S9(t),o=S9(e),s=0;s<i.length;++s){var l=i[s];if(!(l in Khe||n&&n[l]||o&&l in o||a&&l in a)){var c=npe(e,l);try{epe(t,l,c)}catch{}}}}return t}function NO(t){return typeof t=="function"}function TP(t){return typeof t=="object"&&"styledComponentId"in t}function VO(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function B9(t,e){if(t.length===0)return"";for(var n=t[0],r=1;r<t.length;r++)n+=t[r];return n}function qp(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function EP(t,e,n){if(n===void 0&&(n=!1),!n&&!qp(t)&&!Array.isArray(t))return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)t[r]=EP(t[r],e[r]);else if(qp(e))for(var r in e)t[r]=EP(t[r],e[r]);return t}function UP(t,e){Object.defineProperty(t,"toString",{value:e})}var ipe=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 ape(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],r=[],i=1,a=t.length;i<a;i+=1)r.push(t[i]);return r.forEach(function(o){n=n.replace(/%[a-z]/,o)}),n}function Mu(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];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(t," for more information.").concat(e.length>0?" Args: ".concat(e.join(", ")):"")):new Error(ape.apply(void 0,Lp([ipe[t]],e,!1)).trim())}var ope=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var n=0,r=0;r<e;r++)n+=this.groupSizes[r];return n},t.prototype.insertRules=function(e,n){if(e>=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,a=i;e>=a;)if((a<<=1)<0)throw Mu(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(r),this.length=a;for(var o=i;o<a;o++)this.groupSizes[o]=0}for(var s=this.indexOfGroup(e+1),l=(o=0,n.length);o<l;o++)this.tag.insertRule(s,n[o])&&(this.groupSizes[e]++,s++)},t.prototype.clearGroup=function(e){if(e<this.length){var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n;this.groupSizes[e]=0;for(var a=r;a<i;a++)this.tag.deleteRule(r)}},t.prototype.getGroup=function(e){var n="";if(e>=this.length||this.groupSizes[e]===0)return n;for(var r=this.groupSizes[e],i=this.indexOfGroup(e),a=i+r,o=i;o<a;o++)n+="".concat(this.tag.getRule(o)).concat(xP);return n},t}(),spe=1<<30,Gb=new Map,Kb=new Map,Jb=1,ew=function(t){if(Gb.has(t))return Gb.get(t);for(;Kb.has(Jb);)Jb++;var e=Jb++;if(process.env.NODE_ENV!=="production"&&((0|e)<0||e>spe))throw Mu(16,"".concat(e));return Gb.set(t,e),Kb.set(e,t),e},lpe=function(t,e){Jb=e+1,Gb.set(t,e),Kb.set(e,t)},Ape="style[".concat(jO,"][").concat(h9,'="').concat(Db,'"]'),cpe=new RegExp("^".concat(jO,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),upe=function(t,e,n){for(var r,i=n.split(","),a=0,o=i.length;a<o;a++)(r=i[a])&&t.registerName(e,r)},fpe=function(t,e){for(var n,r=((n=e.textContent)!==null&&n!==void 0?n:"").split(xP),i=[],a=0,o=r.length;a<o;a++){var s=r[a].trim();if(s){var l=s.match(cpe);if(l){var c=0|parseInt(l[1],10),A=l[2];c!==0&&(lpe(A,c),upe(t,A,l[3]),t.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},C9=function(t){for(var e=document.querySelectorAll(Ape),n=0,r=e.length;n<r;n++){var i=e[n];i&&i.getAttribute(jO)!==O9&&(fpe(t,i),i.parentNode&&i.parentNode.removeChild(i))}};function dpe(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var _9=function(t){var e=document.head,n=t||e,r=document.createElement("style"),i=function(s){var l=Array.from(s.querySelectorAll("style[".concat(jO,"]")));return l[l.length-1]}(n),a=i!==void 0?i.nextSibling:null;r.setAttribute(jO,O9),r.setAttribute(h9,Db);var o=dpe();return o&&r.setAttribute("nonce",o),n.insertBefore(r,a),r},Ope=function(){function t(e){this.element=_9(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,i=0,a=r.length;i<a;i++){var o=r[i];if(o.ownerNode===n)return o}throw Mu(17)}(this.element),this.length=0}return t.prototype.insertRule=function(e,n){try{return this.sheet.insertRule(n,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var n=this.sheet.cssRules[e];return n&&n.cssText?n.cssText:""},t}(),hpe=function(){function t(e){this.element=_9(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,n){if(e<=this.length&&e>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},t}(),ppe=function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,n){return e<=this.length&&(this.rules.splice(e,0,n),this.length++,!0)},t.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},t}(),T9=Mb,gpe={isServer:!Mb,useCSSOMInjection:!Nhe},E9=function(){function t(e,n,r){e===void 0&&(e=Vp),n===void 0&&(n={});var i=this;this.options=Jo(Jo({},gpe),e),this.gs=n,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Mb&&T9&&(T9=!1,C9(this)),UP(this,function(){return function(a){for(var o=a.getTag(),s=o.length,l="",c=function(u){var f=function(p){return Kb.get(p)}(u);if(f===void 0)return"continue";var d=a.names.get(f),O=o.getGroup(u);if(d===void 0||!d.size||O.length===0)return"continue";var h="".concat(jO,".g").concat(u,'[id="').concat(f,'"]'),g="";d!==void 0&&d.forEach(function(p){p.length>0&&(g+="".concat(p,","))}),l+="".concat(O).concat(h,'{content:"').concat(g,'"}').concat(xP)},A=0;A<s;A++)c(A);return l}(i)})}return t.registerId=function(e){return ew(e)},t.prototype.rehydrate=function(){!this.server&&Mb&&C9(this)},t.prototype.reconstructWithOptions=function(e,n){return n===void 0&&(n=!0),new t(Jo(Jo({},this.options),e),this.gs,n&&this.names||void 0)},t.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.prototype.getTag=function(){return this.tag||(this.tag=(e=function(n){var r=n.useCSSOMInjection,i=n.target;return n.isServer?new ppe(i):r?new Ope(i):new hpe(i)}(this.options),new ope(e)));var e},t.prototype.hasNameForId=function(e,n){return this.names.has(e)&&this.names.get(e).has(n)},t.prototype.registerName=function(e,n){if(ew(e),this.names.has(e))this.names.get(e).add(n);else{var r=new Set;r.add(n),this.names.set(e,r)}},t.prototype.insertRules=function(e,n,r){this.registerName(e,n),this.getTag().insertRules(ew(e),r)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(ew(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t}(),mpe=/&/g,vpe=/^\s*\/\/.*$/gm;function U9(t,e){return t.map(function(n){return n.type==="rule"&&(n.value="".concat(e," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(e," ")),n.props=n.props.map(function(r){return"".concat(e," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=U9(n.children,e)),n})}function ype(t){var e,n,r,i=Vp,a=i.options,o=a===void 0?Vp:a,s=i.plugins,l=s===void 0?Zb:s,c=function(f,d,O){return O.startsWith(n)&&O.endsWith(n)&&O.replaceAll(n,"").length>0?".".concat(e):f},A=l.slice();A.push(function(f){f.type===Xb&&f.value.includes("&")&&(f.props[0]=f.props[0].replace(mpe,n).replace(r,c))}),o.prefix&&A.push(jhe),A.push(Xhe);var u=function(f,d,O,h){d===void 0&&(d=""),O===void 0&&(O=""),h===void 0&&(h="&"),e=h,n=d,r=new RegExp("\\".concat(n,"\\b"),"g");var g=f.replace(vpe,""),p=Fhe(O||d?"".concat(O," ").concat(d," { ").concat(g," }"):g);o.namespace&&(p=U9(p,o.namespace));var m=[];return qb(p,Lhe(A.concat(zhe(function(v){return m.push(v)})))),m};return u.hash=l.length?l.reduce(function(f,d){return d.name||Mu(15),WO(f,d.name)},v9).toString():"",u}var bpe=new E9,RP=ype(),R9=re.createContext({shouldForwardProp:void 0,styleSheet:bpe,stylis:RP});R9.Consumer,re.createContext(void 0);function F9(){return re.useContext(R9)}var I9=function(){function t(e,n){var r=this;this.inject=function(i,a){a===void 0&&(a=RP);var o=r.name+a.hash;i.hasNameForId(r.id,o)||i.insertRules(r.id,o,a(r.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=n,UP(this,function(){throw Mu(12,String(r.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=RP),this.name+e.hash},t}(),wpe=function(t){return t>="A"&&t<="Z"};function X9(t){for(var e="",n=0;n<t.length;n++){var r=t[n];if(n===1&&r==="-"&&t[0]==="-")return t;wpe(r)?e+="-"+r.toLowerCase():e+=r}return e.startsWith("ms-")?"-"+e:e}var L9=function(t){return t==null||t===!1||t===""},z9=function(t){var e,n,r=[];for(var i in t){var a=t[i];t.hasOwnProperty(i)&&!L9(a)&&(Array.isArray(a)&&a.isCss||NO(a)?r.push("".concat(X9(i),":"),a,";"):qp(a)?r.push.apply(r,Lp(Lp(["".concat(i," {")],z9(a),!1),["}"],!1)):r.push("".concat(X9(i),": ").concat((e=i,(n=a)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||e in Whe||e.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function qO(t,e,n,r){if(L9(t))return[];if(TP(t))return[".".concat(t.styledComponentId)];if(NO(t)){if(!NO(a=t)||a.prototype&&a.prototype.isReactComponent||!e)return[t];var i=t(e);return process.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof I9||qp(i)||i===null||console.error("".concat(b9(t)," 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.")),qO(i,e,n,r)}var a;return t instanceof I9?n?(t.inject(n,r),[t.getName(r)]):[t]:qp(t)?z9(t):Array.isArray(t)?Array.prototype.concat.apply(Zb,t.map(function(o){return qO(o,e,n,r)})):[t.toString()]}function Qpe(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(NO(n)&&!TP(n))return!1}return!0}var $pe=y9(Db),Spe=function(){function t(e,n,r){this.rules=e,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&Qpe(e),this.componentId=n,this.baseHash=WO($pe,n),this.baseStyle=r,E9.registerId(n)}return t.prototype.generateAndInjectStyles=function(e,n,r){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))i=VO(i,this.staticRulesId);else{var a=B9(qO(this.rules,e,n,r)),o=BP(WO(this.baseHash,a)>>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(a,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}i=VO(i,o),this.staticRulesId=o}else{for(var l=WO(this.baseHash,r.hash),c="",A=0;A<this.rules.length;A++){var u=this.rules[A];if(typeof u=="string")c+=u,process.env.NODE_ENV!=="production"&&(l=WO(l,u));else if(u){var f=B9(qO(u,e,n,r));l=WO(l,f+A),c+=f}}if(c){var d=BP(l>>>0);n.hasNameForId(this.componentId,d)||n.insertRules(this.componentId,d,r(c,".".concat(d),void 0,this.componentId)),i=VO(i,d)}}return i},t}(),tw=re.createContext(void 0);tw.Consumer;function kpe(t){var e=re.useContext(tw),n=re.useMemo(function(){return function(r,i){if(!r)throw Mu(14);if(NO(r)){var a=r(i);if(process.env.NODE_ENV!=="production"&&(a===null||Array.isArray(a)||typeof a!="object"))throw Mu(7);return a}if(Array.isArray(r)||typeof r!="object")throw Mu(8);return i?Jo(Jo({},i),r):r}(t.theme,e)},[t.theme,e]);return t.children?re.createElement(tw.Provider,{value:n},t.children):null}var FP={},j9=new Set;function xpe(t,e,n){var r=TP(t),i=t,a=!_P(t),o=e.attrs,s=o===void 0?Zb:o,l=e.componentId,c=l===void 0?function(b,y){var $=typeof b!="string"?"sc":g9(b);FP[$]=(FP[$]||0)+1;var S="".concat($,"-").concat(Zhe(Db+$+FP[$]));return y?"".concat(y,"-").concat(S):S}(e.displayName,e.parentComponentId):l,A=e.displayName,u=A===void 0?function(b){return _P(b)?"styled.".concat(b):"Styled(".concat(b9(b),")")}(t):A,f=e.displayName&&e.componentId?"".concat(g9(e.displayName),"-").concat(e.componentId):e.componentId||c,d=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,O=e.shouldForwardProp;if(r&&i.shouldForwardProp){var h=i.shouldForwardProp;if(e.shouldForwardProp){var g=e.shouldForwardProp;O=function(b,y){return h(b,y)&&g(b,y)}}else O=h}var p=new Spe(n,f,r?i.componentStyle:void 0);function m(b,y){return function($,S,_){var C=$.attrs,I=$.componentStyle,U=$.defaultProps,R=$.foldedComponentIds,F=$.styledComponentId,E=$.target,W=re.useContext(tw),N=F9(),L=$.shouldForwardProp||N.shouldForwardProp;process.env.NODE_ENV!=="production"&&re.useDebugValue(F);var D=qhe(S,W,U)||Vp,H=function(Y,te,ne){for(var oe,Ae=Jo(Jo({},te),{className:void 0,theme:ne}),Qe=0;Qe<Y.length;Qe+=1){var ye=NO(oe=Y[Qe])?oe(Ae):oe;for(var be in ye)Ae[be]=be==="className"?VO(Ae[be],ye[be]):be==="style"?Jo(Jo({},Ae[be]),ye[be]):ye[be]}return te.className&&(Ae.className=VO(Ae.className,te.className)),Ae}(C,S,D),Z=H.as||E,J={};for(var z in H)H[z]===void 0||z[0]==="$"||z==="as"||z==="theme"&&H.theme===D||(z==="forwardedAs"?J.as=H.forwardedAs:L&&!L(z,Z)||(J[z]=H[z],L||proces