import{f as P,r as Ee}from"./jsx-runtime-CgWCn3gT.js";import{l as Re,n as d,o as L,M as S,W as h,s as Pe,p as It,q as st,v as B,w as Ne,x as ie,y as $e,K as Oe,z as ae,A as W,D as De,B as Te,E as J,F as Kt,G as Ut,H as Ge,J as je}from"./useTranslation-CksCcIr-.js";function ce(t,e,r){switch(Re(t,e)){case 5103:return h+"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 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return h+t+t;case 4855:return h+t.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+t;case 4789:return st+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return h+t+st+t+S+t+t;case 5936:switch(L(t,e+11)){case 114:return h+t+S+d(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return h+t+S+d(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return h+t+S+d(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return h+t+S+t+t;case 6165:return h+t+S+"flex-"+t+t;case 5187:return h+t+d(t,/(\w+).+(:[^]+)/,h+"box-$1$2"+S+"flex-$1$2")+t;case 5443:return h+t+S+"flex-item-"+d(t,/flex-|-self/g,"")+(B(t,/flex-|baseline/)?"":S+"grid-row-"+d(t,/flex-|-self/g,""))+t;case 4675:return h+t+S+"flex-line-pack"+d(t,/align-content|flex-|-self/g,"")+t;case 5548:return h+t+S+d(t,"shrink","negative")+t;case 5292:return h+t+S+d(t,"basis","preferred-size")+t;case 6060:return h+"box-"+d(t,"-grow","")+h+t+S+d(t,"grow","positive")+t;case 4554:return h+d(t,/([^-])(transform)/g,"$1"+h+"$2")+t;case 6187:return d(d(d(t,/(zoom-|grab)/,h+"$1"),/(image-set)/,h+"$1"),t,"")+t;case 5495:case 3959:return d(t,/(image-set\([^]*)/,h+"$1$`$1");case 4968:return d(d(t,/(.+:)(flex-)?(.*)/,h+"box-pack:$3"+S+"flex-pack:$3"),/space-between/,"justify")+h+t+t;case 4200:if(!B(t,/flex-|baseline/))return S+"grid-column-align"+Ne(t,e)+t;break;case 2592:case 3360:return S+d(t,"template-","")+t;case 4384:case 3616:return r&&r.some(function(n,s){return e=s,B(n.props,/grid-\w+-end/)})?~It(t+(r=r[e].value),"span",0)?t:S+d(t,"-start","")+t+S+"grid-row-span:"+(~It(r,"span",0)?B(r,/\d+/):+B(r,/\d+/)-+B(t,/\d+/))+";":S+d(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(n){return B(n.props,/grid-\w+-start/)})?t:S+d(d(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return d(t,/(.+)-inline(.+)/,h+"$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(Pe(t)-1-e>6)switch(L(t,e+1)){case 109:if(L(t,e+4)!==45)break;case 102:return d(t,/(.+:)(.+)-([^]+)/,"$1"+h+"$2-$3$1"+st+(L(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~It(t,"stretch",0)?ce(d(t,"stretch","fill-available"),e,r)+t:t}break;case 5152:case 5920:return d(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,s,o,i,p,c,l){return S+s+":"+o+l+(i?S+s+"-span:"+(p?c:+c-+o)+l:"")+t});case 4949:if(L(t,e+6)===121)return d(t,":",":"+h)+t;break;case 6444:switch(L(t,L(t,14)===45?18:11)){case 120:return d(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+h+(L(t,14)===45?"inline-":"")+"box$3$1"+h+"$2$3$1"+S+"$2box$3")+t;case 100:return d(t,":",":"+S)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return d(t,"scroll-","scroll-snap-")+t}return t}function ke(t){var e=Te(t);return function(r,n,s,o){for(var i="",p=0;p<e;p++)i+=t[p](r,n,s,o)||"";return i}}function Fe(t){return function(e){e.root||(e=e.return)&&t(e)}}function ze(t,e,r,n){if(t.length>-1&&!t.return)switch(t.type){case De:t.return=ce(t.value,t.length,r);return;case Oe:return ae([W(t,{value:d(t.value,"@","@"+h)})],n);case ie:if(t.length)return $e(r=t.props,function(s){switch(B(s,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":J(W(t,{props:[d(s,/:(read-\w+)/,":"+st+"$1")]})),J(W(t,{props:[s]})),Kt(t,{props:Ut(r,n)});break;case"::placeholder":J(W(t,{props:[d(s,/:(plac\w+)/,":"+h+"input-$1")]})),J(W(t,{props:[d(s,/:(plac\w+)/,":"+st+"$1")]})),J(W(t,{props:[d(s,/:(plac\w+)/,S+"input-$1")]})),J(W(t,{props:[s]})),Kt(t,{props:Ut(r,n)});break}return""})}}var E=function(){return E=Object.assign||function(e){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},E.apply(this,arguments)};function V(t,e,r){if(r||arguments.length===2)for(var n=0,s=e.length,o;n<s;n++)(o||!(n in e))&&(o||(o=Array.prototype.slice.call(e,0,n)),o[n]=e[n]);return t.concat(o||Array.prototype.slice.call(e))}var Le={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,scale: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},N={},X=typeof process<"u"&&N!==void 0&&(N.REACT_APP_SC_ATTR||N.SC_ATTR)||"data-styled",ue="active",fe="data-styled-version",St="6.3.9",jt=`/*!sc*/
`,ot=typeof window<"u"&&typeof document<"u",G=P.createContext===void 0,Be=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&N!==void 0&&N.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&N.REACT_APP_SC_DISABLE_SPEEDY!==""?N.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&N.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&N!==void 0&&N.SC_DISABLE_SPEEDY!==void 0&&N.SC_DISABLE_SPEEDY!==""&&N.SC_DISABLE_SPEEDY!=="false"&&N.SC_DISABLE_SPEEDY),Me={},kt=Object.freeze([]),Q=Object.freeze({});function pe(t,e,r){return r===void 0&&(r=Q),t.theme!==r.theme&&t.theme||e||r.theme}var de=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","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","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]),We=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ye=/(^-|-$)/g;function Jt(t){return t.replace(We,"-").replace(Ye,"")}var qe=/(a)(d)/gi,Zt=function(t){return String.fromCharCode(t+(t>25?39:97))};function Pt(t){var e,r="";for(e=Math.abs(t);e>52;e=e/52|0)r=Zt(e%52)+r;return(Zt(e%52)+r).replace(qe,"$1-$2")}var xt,Y=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},he=function(t){return Y(5381,t)};function Ft(t){return Pt(he(t)>>>0)}function He(t){return t.displayName||t.name||"Component"}function _t(t){return typeof t=="string"&&!0}var le=typeof Symbol=="function"&&Symbol.for,ge=le?Symbol.for("react.memo"):60115,Ke=le?Symbol.for("react.forward_ref"):60112,Ue={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Je={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},me={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ze=((xt={})[Ke]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},xt[ge]=me,xt);function Vt(t){return("type"in(e=t)&&e.type.$$typeof)===ge?me:"$$typeof"in t?Ze[t.$$typeof]:Ue;var e}var Ve=Object.defineProperty,Xe=Object.getOwnPropertyNames,Xt=Object.getOwnPropertySymbols,Qe=Object.getOwnPropertyDescriptor,tr=Object.getPrototypeOf,Qt=Object.prototype;function ye(t,e,r){if(typeof e!="string"){if(Qt){var n=tr(e);n&&n!==Qt&&ye(t,n,r)}var s=Xe(e);Xt&&(s=s.concat(Xt(e)));for(var o=Vt(t),i=Vt(e),p=0;p<s.length;++p){var c=s[p];if(!(c in Je||r&&r[c]||i&&c in i||o&&c in o)){var l=Qe(e,c);try{Ve(t,c,l)}catch{}}}}return t}function tt(t){return typeof t=="function"}function zt(t){return typeof t=="object"&&"styledComponentId"in t}function H(t,e){return t&&e?"".concat(t," ").concat(e):t||e||""}function mt(t,e){return t.join("")}function it(t){return t!==null&&typeof t=="object"&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function Nt(t,e,r){if(r===void 0&&(r=!1),!r&&!it(t)&&!Array.isArray(t))return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)t[n]=Nt(t[n],e[n]);else if(it(e))for(var n in e)t[n]=Nt(t[n],e[n]);return t}function Lt(t,e){Object.defineProperty(t,"toString",{value:e})}function at(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return 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(", ")):""))}var er=(function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}return t.prototype.indexOfGroup=function(e){if(e===this._cGroup)return this._cIndex;var r=this._cIndex;if(e>this._cGroup)for(var n=this._cGroup;n<e;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=e;n--)r-=this.groupSizes[n];return this._cGroup=e,this._cIndex=r,r},t.prototype.insertRules=function(e,r){if(e>=this.groupSizes.length){for(var n=this.groupSizes,s=n.length,o=s;e>=o;)if((o<<=1)<0)throw at(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=s;i<o;i++)this.groupSizes[i]=0}for(var p=this.indexOfGroup(e+1),c=0,l=(i=0,r.length);i<l;i++)this.tag.insertRule(p,r[i])&&(this.groupSizes[e]++,p++,c++);c>0&&this._cGroup>e&&(this._cIndex+=c)},t.prototype.clearGroup=function(e){if(e<this.length){var r=this.groupSizes[e],n=this.indexOfGroup(e),s=n+r;this.groupSizes[e]=0;for(var o=n;o<s;o++)this.tag.deleteRule(n);r>0&&this._cGroup>e&&(this._cIndex-=r)}},t.prototype.getGroup=function(e){var r="";if(e>=this.length||this.groupSizes[e]===0)return r;for(var n=this.groupSizes[e],s=this.indexOfGroup(e),o=s+n,i=s;i<o;i++)r+=this.tag.getRule(i)+jt;return r},t})(),lt=new Map,yt=new Map,gt=1,Z=function(t){if(lt.has(t))return lt.get(t);for(;yt.has(gt);)gt++;var e=gt++;return lt.set(t,e),yt.set(e,t),e},rr=function(t,e){gt=e+1,lt.set(t,e),yt.set(e,t)},nr="style[".concat(X,"][").concat(fe,'="').concat(St,'"]'),sr=new RegExp("^".concat(X,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),te=function(t){return typeof ShadowRoot<"u"&&t instanceof ShadowRoot||"host"in t&&t.nodeType===11},$t=function(t){if(!t)return document;if(te(t))return t;if("getRootNode"in t){var e=t.getRootNode();if(te(e))return e}return document},or=function(t,e,r){for(var n,s=r.split(","),o=0,i=s.length;o<i;o++)(n=s[o])&&t.registerName(e,n)},ir=function(t,e){for(var r,n=((r=e.textContent)!==null&&r!==void 0?r:"").split(jt),s=[],o=0,i=n.length;o<i;o++){var p=n[o].trim();if(p){var c=p.match(sr);if(c){var l=0|parseInt(c[1],10),f=c[2];l!==0&&(rr(f,l),or(t,f,c[3]),t.getTag().insertRules(l,s)),s.length=0}else s.push(p)}}},Et=function(t){for(var e=$t(t.options.target).querySelectorAll(nr),r=0,n=e.length;r<n;r++){var s=e[r];s&&s.getAttribute(X)!==ue&&(ir(t,s),s.parentNode&&s.parentNode.removeChild(s))}};function ar(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var ve=function(t){var e=document.head,r=t||e,n=document.createElement("style"),s=(function(p){var c=Array.from(p.querySelectorAll("style[".concat(X,"]")));return c[c.length-1]})(r),o=s!==void 0?s.nextSibling:null;n.setAttribute(X,ue),n.setAttribute(fe,St);var i=ar();return i&&n.setAttribute("nonce",i),r.insertBefore(n,o),n},cr=(function(){function t(e){this.element=ve(e),this.element.appendChild(document.createTextNode("")),this.sheet=(function(r){var n;if(r.sheet)return r.sheet;for(var s=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,o=0,i=s.length;o<i;o++){var p=s[o];if(p.ownerNode===r)return p}throw at(17)})(this.element),this.length=0}return t.prototype.insertRule=function(e,r){try{return this.sheet.insertRule(r,e),this.length++,!0}catch{return!1}},t.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.prototype.getRule=function(e){var r=this.sheet.cssRules[e];return r&&r.cssText?r.cssText:""},t})(),ur=(function(){function t(e){this.element=ve(e),this.nodes=this.element.childNodes,this.length=0}return t.prototype.insertRule=function(e,r){if(e<=this.length&&e>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,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})(),fr=(function(){function t(e){this.rules=[],this.length=0}return t.prototype.insertRule=function(e,r){return e<=this.length&&(e===this.length?this.rules.push(r):this.rules.splice(e,0,r),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})(),ee=ot,pr={isServer:!ot,useCSSOMInjection:!Be},vt=(function(){function t(e,r,n){e===void 0&&(e=Q),r===void 0&&(r={});var s=this;this.options=E(E({},pr),e),this.gs=r,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ot&&ee&&(ee=!1,Et(this)),Lt(this,function(){return(function(o){for(var i=o.getTag(),p=i.length,c="",l=function(C){var b=(function(T){return yt.get(T)})(C);if(b===void 0)return"continue";var A=o.names.get(b);if(A===void 0||!A.size)return"continue";var y=i.getGroup(C);if(y.length===0)return"continue";var I=X+".g"+C+'[id="'+b+'"]',R="";A.forEach(function(T){T.length>0&&(R+=T+",")}),c+=y+I+'{content:"'+R+'"}'+jt},f=0;f<p;f++)l(f);return c})(s)})}return t.registerId=function(e){return Z(e)},t.prototype.rehydrate=function(){!this.server&&ot&&Et(this)},t.prototype.reconstructWithOptions=function(e,r){r===void 0&&(r=!0);var n=new t(E(E({},this.options),e),this.gs,r&&this.names||void 0);return!this.server&&ot&&e.target!==this.options.target&&$t(this.options.target)!==$t(e.target)&&Et(n),n},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(r){var n=r.useCSSOMInjection,s=r.target;return r.isServer?new fr(s):n?new cr(s):new ur(s)})(this.options),new er(e)));var e},t.prototype.hasNameForId=function(e,r){var n,s;return(s=(n=this.names.get(e))===null||n===void 0?void 0:n.has(r))!==null&&s!==void 0&&s},t.prototype.registerName=function(e,r){Z(e);var n=this.names.get(e);n?n.add(r):this.names.set(e,new Set([r]))},t.prototype.insertRules=function(e,r,n){this.registerName(e,r),this.getTag().insertRules(Z(e),n)},t.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.prototype.clearRules=function(e){this.getTag().clearGroup(Z(e)),this.clearNames(e)},t.prototype.clearTag=function(){this.tag=void 0},t})(),dr=/&/g,F=47,q=42;function re(t){if(t.indexOf("}")===-1)return!1;for(var e=t.length,r=0,n=0,s=!1,o=0;o<e;o++){var i=t.charCodeAt(o);if(n!==0||s||i!==F||t.charCodeAt(o+1)!==q)if(s)i===q&&t.charCodeAt(o+1)===F&&(s=!1,o++);else if(i!==34&&i!==39||o!==0&&t.charCodeAt(o-1)===92){if(n===0){if(i===123)r++;else if(i===125&&--r<0)return!0}}else n===0?n=i:n===i&&(n=0);else s=!0,o++}return r!==0||n!==0}function Se(t,e){return t.map(function(r){return r.type==="rule"&&(r.value="".concat(e," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(e," ")),r.props=r.props.map(function(n){return"".concat(e," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Se(r.children,e)),r})}function hr(t){var e,r,n,s=Q,o=s.options,i=o===void 0?Q:o,p=s.plugins,c=p===void 0?kt:p,l=function(y,I,R){return R.startsWith(r)&&R.endsWith(r)&&R.replaceAll(r,"").length>0?".".concat(e):y},f=c.slice();f.push(function(y){y.type===ie&&y.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),y.props[0]=y.props[0].replace(dr,r).replace(n,l))}),i.prefix&&f.push(ze),f.push(Ge);var C=[],b=ke(f.concat(Fe(function(y){return C.push(y)}))),A=function(y,I,R,T){I===void 0&&(I=""),R===void 0&&(R=""),T===void 0&&(T="&"),e=T,r=I,n=void 0;var et=(function(u){if(!re(u))return u;for(var w=u.length,v="",g=0,a=0,_=0,$=!1,m=0;m<w;m++){var O=u.charCodeAt(m);if(_!==0||$||O!==F||u.charCodeAt(m+1)!==q)if($)O===q&&u.charCodeAt(m+1)===F&&($=!1,m++);else if(O!==34&&O!==39||m!==0&&u.charCodeAt(m-1)===92){if(_===0)if(O===123)a++;else if(O===125){if(--a<0){for(var D=m+1;D<w;){var ct=u.charCodeAt(D);if(ct===59||ct===10)break;D++}D<w&&u.charCodeAt(D)===59&&D++,a=0,m=D-1,g=D;continue}a===0&&(v+=u.substring(g,m+1),g=m+1)}else O===59&&a===0&&(v+=u.substring(g,m+1),g=m+1)}else _===0?_=O:_===O&&(_=0);else $=!0,m++}if(g<w){var ut=u.substring(g);re(ut)||(v+=ut)}return v})((function(u){if(u.indexOf("//")===-1)return u;for(var w=u.length,v=[],g=0,a=0,_=0,$=0;a<w;){var m=u.charCodeAt(a);if(m!==34&&m!==39||a!==0&&u.charCodeAt(a-1)===92)if(_===0)if(m===F&&a+1<w&&u.charCodeAt(a+1)===q){for(a+=2;a+1<w&&(u.charCodeAt(a)!==q||u.charCodeAt(a+1)!==F);)a++;a+=2}else if(m===40&&a>=3&&(32|u.charCodeAt(a-1))==108&&(32|u.charCodeAt(a-2))==114&&(32|u.charCodeAt(a-3))==117)$=1,a++;else if($>0)m===41?$--:m===40&&$++,a++;else if(m===q&&a+1<w&&u.charCodeAt(a+1)===F)a>g&&v.push(u.substring(g,a)),g=a+=2;else if(m===F&&a+1<w&&u.charCodeAt(a+1)===F){for(a>g&&v.push(u.substring(g,a));a<w&&u.charCodeAt(a)!==10;)a++;g=a}else a++;else a++;else _===0?_=m:_===m&&(_=0),a++}return g===0?u:(g<w&&v.push(u.substring(g)),v.join(""))})(y)),x=je(R||I?"".concat(R," ").concat(I," { ").concat(et," }"):et);return i.namespace&&(x=Se(x,i.namespace)),C=[],ae(x,b),C};return A.hash=c.length?c.reduce(function(y,I){return I.name||at(15),Y(y,I.name)},5381).toString():"",A}var lr=new vt,Ot=hr(),Dt={shouldForwardProp:void 0,styleSheet:lr,stylis:Ot},be=G?{Provider:function(t){return t.children},Consumer:function(t){return(0,t.children)(Dt)}}:P.createContext(Dt);be.Consumer;G||P.createContext(void 0);function Tt(){return G?Dt:P.useContext(be)}var we=(function(){function t(e,r){var n=this;this.inject=function(s,o){o===void 0&&(o=Ot);var i=n.name+o.hash;s.hasNameForId(n.id,i)||s.insertRules(n.id,i,o(n.rules,i,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=r,Lt(this,function(){throw at(12,String(n.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=Ot),this.name+e.hash},t})();function gr(t,e){return e==null||typeof e=="boolean"||e===""?"":typeof e!="number"||e===0||t in Le||t.startsWith("--")?String(e).trim():"".concat(e,"px")}var mr=function(t){return t>="A"&&t<="Z"};function ne(t){for(var e="",r=0;r<t.length;r++){var n=t[r];if(r===1&&n==="-"&&t[0]==="-")return t;mr(n)?e+="-"+n.toLowerCase():e+=n}return e.startsWith("ms-")?"-"+e:e}var Ce=function(t){return t==null||t===!1||t===""},Ae=function(t){var e=[];for(var r in t){var n=t[r];t.hasOwnProperty(r)&&!Ce(n)&&(Array.isArray(n)&&n.isCss||tt(n)?e.push("".concat(ne(r),":"),n,";"):it(n)?e.push.apply(e,V(V(["".concat(r," {")],Ae(n),!1),["}"],!1)):e.push("".concat(ne(r),": ").concat(gr(r,n),";")))}return e};function M(t,e,r,n,s){if(s===void 0&&(s=[]),typeof t=="string")return t&&s.push(t),s;if(Ce(t))return s;if(zt(t))return s.push(".".concat(t.styledComponentId)),s;if(tt(t)){if(!tt(i=t)||i.prototype&&i.prototype.isReactComponent||!e)return s.push(t),s;var o=t(e);return M(o,e,r,n,s)}var i;if(t instanceof we)return r?(t.inject(r,n),s.push(t.getName(n))):s.push(t),s;if(it(t)){for(var p=Ae(t),c=0;c<p.length;c++)s.push(p[c]);return s}if(!Array.isArray(t))return s.push(t.toString()),s;for(c=0;c<t.length;c++)M(t[c],e,r,n,s);return s}function Ie(t){for(var e=0;e<t.length;e+=1){var r=t[e];if(tt(r)&&!zt(r))return!1}return!0}var yr=he(St),vr=(function(){function t(e,r,n){this.rules=e,this.staticRulesId="",this.isStatic=(n===void 0||n.isStatic)&&Ie(e),this.componentId=r,this.baseHash=Y(yr,r),this.baseStyle=n,vt.registerId(r)}return t.prototype.generateAndInjectStyles=function(e,r,n){var s=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,r,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))s=H(s,this.staticRulesId);else{var o=mt(M(this.rules,e,r,n)),i=Pt(Y(this.baseHash,o)>>>0);if(!r.hasNameForId(this.componentId,i)){var p=n(o,".".concat(i),void 0,this.componentId);r.insertRules(this.componentId,i,p)}s=H(s,i),this.staticRulesId=i}else{for(var c=Y(this.baseHash,n.hash),l="",f=0;f<this.rules.length;f++){var C=this.rules[f];if(typeof C=="string")l+=C;else if(C){var b=mt(M(C,e,r,n));c=Y(Y(c,String(f)),b),l+=b}}if(l){var A=Pt(c>>>0);if(!r.hasNameForId(this.componentId,A)){var y=n(l,".".concat(A),void 0,this.componentId);r.insertRules(this.componentId,A,y)}s=H(s,A)}}return{className:s,css:typeof window>"u"?r.getTag().getGroup(Z(this.componentId)):""}},t})(),Bt=G?{Provider:function(t){return t.children},Consumer:function(t){return(0,t.children)(void 0)}}:P.createContext(void 0);Bt.Consumer;var Rt={};function Sr(t,e,r){var n=zt(t),s=t,o=!_t(t),i=e.attrs,p=i===void 0?kt:i,c=e.componentId,l=c===void 0?(function(u,w){var v=typeof u!="string"?"sc":Jt(u);Rt[v]=(Rt[v]||0)+1;var g="".concat(v,"-").concat(Ft(St+v+Rt[v]));return w?"".concat(w,"-").concat(g):g})(e.displayName,e.parentComponentId):c,f=e.displayName,C=f===void 0?(function(u){return _t(u)?"styled.".concat(u):"Styled(".concat(He(u),")")})(t):f,b=e.displayName&&e.componentId?"".concat(Jt(e.displayName),"-").concat(e.componentId):e.componentId||l,A=n&&s.attrs?s.attrs.concat(p).filter(Boolean):p,y=e.shouldForwardProp;if(n&&s.shouldForwardProp){var I=s.shouldForwardProp;if(e.shouldForwardProp){var R=e.shouldForwardProp;y=function(u,w){return I(u,w)&&R(u,w)}}else y=I}var T=new vr(r,b,n?s.componentStyle:void 0);function et(u,w){return(function(v,g,a){var _=v.attrs,$=v.componentStyle,m=v.defaultProps,O=v.foldedComponentIds,D=v.styledComponentId,ct=v.target,ut=G?void 0:P.useContext(Bt),_e=Tt(),bt=v.shouldForwardProp||_e.shouldForwardProp,Wt=pe(g,ut,m)||(G?void 0:Q),j=(function(pt,K,dt){for(var nt,k=E(E({},K),{className:void 0,theme:dt}),At=0;At<pt.length;At+=1){var ht=tt(nt=pt[At])?nt(k):nt;for(var U in ht)U==="className"?k.className=H(k.className,ht[U]):U==="style"?k.style=E(E({},k.style),ht[U]):k[U]=ht[U]}return"className"in K&&typeof K.className=="string"&&(k.className=H(k.className,K.className)),k})(_,g,Wt),ft=j.as||ct,rt={};for(var z in j)j[z]===void 0||z[0]==="$"||z==="as"||z==="theme"&&j.theme===Wt||(z==="forwardedAs"?rt.as=j.forwardedAs:bt&&!bt(z,ft)||(rt[z]=j[z]));var Yt=(function(pt,K){var dt=Tt(),nt=pt.generateAndInjectStyles(K,dt.styleSheet,dt.stylis);return nt})($,j),wt=Yt.className,qt=Yt.css,Ct=H(O,D);wt&&(Ct+=" "+wt),j.className&&(Ct+=" "+j.className),rt[_t(ft)&&!de.has(ft)?"class":"className"]=Ct,a&&(rt.ref=a);var Ht=Ee.createElement(ft,rt);return G&&qt?P.createElement(P.Fragment,null,P.createElement("style",{precedence:"styled-components",href:"sc-".concat(D,"-").concat(wt),children:qt}),Ht):Ht})(x,u,w)}et.displayName=C;var x=P.forwardRef(et);return x.attrs=A,x.componentStyle=T,x.displayName=C,x.shouldForwardProp=y,x.foldedComponentIds=n?H(s.foldedComponentIds,s.styledComponentId):"",x.styledComponentId=b,x.target=n?s.target:t,Object.defineProperty(x,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(u){this._foldedDefaultProps=n?(function(w){for(var v=[],g=1;g<arguments.length;g++)v[g-1]=arguments[g];for(var a=0,_=v;a<_.length;a++)Nt(w,_[a],!0);return w})({},s.defaultProps,u):u}}),Lt(x,function(){return".".concat(x.styledComponentId)}),o&&ye(x,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),x}function se(t,e){for(var r=[t[0]],n=0,s=e.length;n<s;n+=1)r.push(e[n],t[n+1]);return r}var oe=function(t){return Object.assign(t,{isCss:!0})};function Mt(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(tt(t)||it(t))return oe(M(se(kt,V([t],e,!0))));var n=t;return e.length===0&&n.length===1&&typeof n[0]=="string"?M(n):oe(M(se(n,e)))}function Gt(t,e,r){if(r===void 0&&(r=Q),!e)throw at(1,e);var n=function(s){for(var o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return t(e,r,Mt.apply(void 0,V([s],o,!1)))};return n.attrs=function(s){return Gt(t,e,E(E({},r),{attrs:Array.prototype.concat(r.attrs,s).filter(Boolean)}))},n.withConfig=function(s){return Gt(t,e,E(E({},r),s))},n}var xe=function(t){return Gt(Sr,t)},br=xe;de.forEach(function(t){br[t]=xe(t)});var wr=(function(){function t(e,r){this.rules=e,this.componentId=r,this.isStatic=Ie(e),vt.registerId(this.componentId+1)}return t.prototype.createStyles=function(e,r,n,s){var o=s(mt(M(this.rules,r,n,s)),""),i=this.componentId+e;n.insertRules(i,i,o)},t.prototype.removeStyles=function(e,r){r.clearRules(this.componentId+e)},t.prototype.renderStyles=function(e,r,n,s){e>2&&vt.registerId(this.componentId+e);var o=this.componentId+e;this.isStatic?n.hasNameForId(o,o)||this.createStyles(e,r,n,s):(this.removeStyles(e,n),this.createStyles(e,r,n,s))},t})();function Ir(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Mt.apply(void 0,V([t],e,!1)),s="sc-global-".concat(Ft(JSON.stringify(n))),o=new wr(n,s),i=new WeakMap,p=function(l){var f=Tt(),C=G?void 0:P.useContext(Bt),b=i.get(f.styleSheet);if(b===void 0&&(b=f.styleSheet.allocateGSInstance(s),i.set(f.styleSheet,b)),(typeof window>"u"||!f.styleSheet.server)&&c(b,l,f.styleSheet,C,f.stylis),G||P.useLayoutEffect(function(){return f.styleSheet.server||c(b,l,f.styleSheet,C,f.stylis),function(){var I;o.removeStyles(b,f.styleSheet),I=f.styleSheet.options.target,typeof document<"u"&&(I??document).querySelectorAll('style[data-styled-global="'.concat(s,'"]')).forEach(function(R){return R.remove()})}},[b,l,f.styleSheet,C,f.stylis]),G){var A=s+b,y=typeof window>"u"?f.styleSheet.getTag().getGroup(Z(A)):"";if(y)return P.createElement("style",{key:"".concat(s,"-").concat(b),"data-styled-global":s,children:y})}return null};function c(l,f,C,b,A){if(o.isStatic)o.renderStyles(l,Me,C,A);else{var y=E(E({},f),{theme:pe(f,b,p.defaultProps)});o.renderStyles(l,y,C,A)}}return P.memo(p)}function xr(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=mt(Mt.apply(void 0,V([t],e,!1))),s=Ft(n);return new we(s,n)}export{Mt as a,Ir as h,br as l,xr as p};
