UNPKG

tdg-react-doc-viewer

Version:
54 lines (37 loc) 893 kB
"use strict";var XA=Object.defineProperty;var yx=r=>{throw TypeError(r)};var YA=(r,t,e)=>t in r?XA(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var je=(r,t,e)=>YA(r,typeof t!="symbol"?t+"":t,e),Ap=(r,t,e)=>t.has(r)||yx("Cannot "+e);var u=(r,t,e)=>(Ap(r,t,"read from private field"),e?e.call(r):t.get(r)),L=(r,t,e)=>t.has(r)?yx("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,e),k=(r,t,e,n)=>(Ap(r,t,"write to private field"),n?n.call(r,e):t.set(r,e),e),R=(r,t,e)=>(Ap(r,t,"access private method"),e);var Gr=(r,t,e,n)=>({set _(i){k(r,t,i,e)},get _(){return u(r,t,n)}});const V=require("react/jsx-runtime"),Q=require("react");var Hc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lm(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function KA(r){if(r.__esModule)return r;var t=r.default;if(typeof t=="function"){var e=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};e.prototype=t.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}),e}var ph=function(r){return r&&r.Math===Math&&r},_i=ph(typeof globalThis=="object"&&globalThis)||ph(typeof window=="object"&&window)||ph(typeof self=="object"&&self)||ph(typeof Hc=="object"&&Hc)||ph(typeof Hc=="object"&&Hc)||function(){return this}()||Function("return this")(),hm={},Oa=function(r){try{return!!r()}catch{return!0}},qA=Oa,fc=!qA(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),JA=Oa,ey=!JA(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),ZA=ey,Xf=Function.prototype.call,um=ZA?Xf.bind(Xf):function(){return Xf.apply(Xf,arguments)},ty={},ry={}.propertyIsEnumerable,ny=Object.getOwnPropertyDescriptor,QA=ny&&!ry.call({1:2},1);ty.f=QA?function(t){var e=ny(this,t);return!!e&&e.enumerable}:ry;var iy=function(r,t){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:t}},sy=ey,ay=Function.prototype,fg=ay.call,eT=sy&&ay.bind.bind(fg,fg),Vs=sy?eT:function(r){return function(){return fg.apply(r,arguments)}},oy=Vs,tT=oy({}.toString),rT=oy("".slice),nT=function(r){return rT(tT(r),8,-1)},iT=Vs,sT=Oa,aT=nT,Tp=Object,oT=iT("".split),cT=sT(function(){return!Tp("z").propertyIsEnumerable(0)})?function(r){return aT(r)==="String"?oT(r,""):Tp(r)}:Tp,cy=function(r){return r==null},lT=cy,hT=TypeError,ly=function(r){if(lT(r))throw new hT("Can't call method on "+r);return r},uT=cT,fT=ly,fm=function(r){return uT(fT(r))},Sp=typeof document=="object"&&document.all,Ki=typeof Sp>"u"&&Sp!==void 0?function(r){return typeof r=="function"||r===Sp}:function(r){return typeof r=="function"},dT=Ki,Tf=function(r){return typeof r=="object"?r!==null:dT(r)},kp=_i,pT=Ki,gT=function(r){return pT(r)?r:void 0},hy=function(r,t){return arguments.length<2?gT(kp[r]):kp[r]&&kp[r][t]},mT=Vs,xT=mT({}.isPrototypeOf),vT=_i,_x=vT.navigator,Ex=_x&&_x.userAgent,wT=Ex?String(Ex):"",uy=_i,Cp=wT,bx=uy.process,Ax=uy.Deno,Tx=bx&&bx.versions||Ax&&Ax.version,Sx=Tx&&Tx.v8,pi,Q0;Sx&&(pi=Sx.split("."),Q0=pi[0]>0&&pi[0]<4?1:+(pi[0]+pi[1]));!Q0&&Cp&&(pi=Cp.match(/Edge\/(\d+)/),(!pi||pi[1]>=74)&&(pi=Cp.match(/Chrome\/(\d+)/),pi&&(Q0=+pi[1])));var yT=Q0,kx=yT,_T=Oa,ET=_i,bT=ET.String,fy=!!Object.getOwnPropertySymbols&&!_T(function(){var r=Symbol("symbol detection");return!bT(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&kx&&kx<41}),AT=fy,dy=AT&&!Symbol.sham&&typeof Symbol.iterator=="symbol",TT=hy,ST=Ki,kT=xT,CT=dy,FT=Object,py=CT?function(r){return typeof r=="symbol"}:function(r){var t=TT("Symbol");return ST(t)&&kT(t.prototype,FT(r))},RT=String,PT=function(r){try{return RT(r)}catch{return"Object"}},IT=Ki,LT=PT,DT=TypeError,gy=function(r){if(IT(r))return r;throw new DT(LT(r)+" is not a function")},OT=gy,MT=cy,NT=function(r,t){var e=r[t];return MT(e)?void 0:OT(e)},Fp=um,Rp=Ki,Pp=Tf,BT=TypeError,UT=function(r,t){var e,n;if(t==="string"&&Rp(e=r.toString)&&!Pp(n=Fp(e,r))||Rp(e=r.valueOf)&&!Pp(n=Fp(e,r))||t!=="string"&&Rp(e=r.toString)&&!Pp(n=Fp(e,r)))return n;throw new BT("Can't convert object to primitive value")},my={exports:{}},Cx=_i,$T=Object.defineProperty,dm=function(r,t){try{$T(Cx,r,{value:t,configurable:!0,writable:!0})}catch{Cx[r]=t}return t},jT=_i,HT=dm,Fx="__core-js_shared__",Rx=my.exports=jT[Fx]||HT(Fx,{});(Rx.versions||(Rx.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var pm=my.exports,Px=pm,xy=function(r,t){return Px[r]||(Px[r]=t||{})},VT=ly,WT=Object,zT=function(r){return WT(VT(r))},GT=Vs,XT=zT,YT=GT({}.hasOwnProperty),dc=Object.hasOwn||function(t,e){return YT(XT(t),e)},KT=Vs,qT=0,JT=Math.random(),ZT=KT(1 .toString),vy=function(r){return"Symbol("+(r===void 0?"":r)+")_"+ZT(++qT+JT,36)},QT=_i,eS=xy,Ix=dc,tS=vy,rS=fy,nS=dy,Vc=QT.Symbol,Ip=eS("wks"),iS=nS?Vc.for||Vc:Vc&&Vc.withoutSetter||tS,sS=function(r){return Ix(Ip,r)||(Ip[r]=rS&&Ix(Vc,r)?Vc[r]:iS("Symbol."+r)),Ip[r]},aS=um,Lx=Tf,Dx=py,oS=NT,cS=UT,lS=sS,hS=TypeError,uS=lS("toPrimitive"),fS=function(r,t){if(!Lx(r)||Dx(r))return r;var e=oS(r,uS),n;if(e){if(t===void 0&&(t="default"),n=aS(e,r,t),!Lx(n)||Dx(n))return n;throw new hS("Can't convert object to primitive value")}return t===void 0&&(t="number"),cS(r,t)},dS=fS,pS=py,wy=function(r){var t=dS(r,"string");return pS(t)?t:t+""},gS=_i,Ox=Tf,dg=gS.document,mS=Ox(dg)&&Ox(dg.createElement),xS=function(r){return mS?dg.createElement(r):{}},vS=fc,wS=Oa,yS=xS,yy=!vS&&!wS(function(){return Object.defineProperty(yS("div"),"a",{get:function(){return 7}}).a!==7}),_S=fc,ES=um,bS=ty,AS=iy,TS=fm,SS=wy,kS=dc,CS=yy,Mx=Object.getOwnPropertyDescriptor;hm.f=_S?Mx:function(t,e){if(t=TS(t),e=SS(e),CS)try{return Mx(t,e)}catch{}if(kS(t,e))return AS(!ES(bS.f,t,e),t[e])};var Hd={},FS=fc,RS=Oa,PS=FS&&RS(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),IS=Tf,LS=String,DS=TypeError,_y=function(r){if(IS(r))return r;throw new DS(LS(r)+" is not an object")},OS=fc,MS=yy,NS=PS,Yf=_y,Nx=wy,BS=TypeError,Lp=Object.defineProperty,US=Object.getOwnPropertyDescriptor,Dp="enumerable",Op="configurable",Mp="writable";Hd.f=OS?NS?function(t,e,n){if(Yf(t),e=Nx(e),Yf(n),typeof t=="function"&&e==="prototype"&&"value"in n&&Mp in n&&!n[Mp]){var i=US(t,e);i&&i[Mp]&&(t[e]=n.value,n={configurable:Op in n?n[Op]:i[Op],enumerable:Dp in n?n[Dp]:i[Dp],writable:!1})}return Lp(t,e,n)}:Lp:function(t,e,n){if(Yf(t),e=Nx(e),Yf(n),MS)try{return Lp(t,e,n)}catch{}if("get"in n||"set"in n)throw new BS("Accessors not supported");return"value"in n&&(t[e]=n.value),t};var $S=fc,jS=Hd,HS=iy,Ey=$S?function(r,t,e){return jS.f(r,t,HS(1,e))}:function(r,t,e){return r[t]=e,r},by={exports:{}},pg=fc,VS=dc,Ay=Function.prototype,WS=pg&&Object.getOwnPropertyDescriptor,gm=VS(Ay,"name"),zS=gm&&(function(){}).name==="something",GS=gm&&(!pg||pg&&WS(Ay,"name").configurable),XS={EXISTS:gm,PROPER:zS,CONFIGURABLE:GS},YS=Vs,KS=Ki,gg=pm,qS=YS(Function.toString);KS(gg.inspectSource)||(gg.inspectSource=function(r){return qS(r)});var JS=gg.inspectSource,ZS=_i,QS=Ki,Bx=ZS.WeakMap,ek=QS(Bx)&&/native code/.test(String(Bx)),tk=xy,rk=vy,Ux=tk("keys"),nk=function(r){return Ux[r]||(Ux[r]=rk(r))},Ty={},ik=ek,Sy=_i,sk=Tf,ak=Ey,Np=dc,Bp=pm,ok=nk,ck=Ty,$x="Object already initialized",mg=Sy.TypeError,lk=Sy.WeakMap,ed,Zh,td,hk=function(r){return td(r)?Zh(r):ed(r,{})},uk=function(r){return function(t){var e;if(!sk(t)||(e=Zh(t)).type!==r)throw new mg("Incompatible receiver, "+r+" required");return e}};if(ik||Bp.state){var Ei=Bp.state||(Bp.state=new lk);Ei.get=Ei.get,Ei.has=Ei.has,Ei.set=Ei.set,ed=function(r,t){if(Ei.has(r))throw new mg($x);return t.facade=r,Ei.set(r,t),t},Zh=function(r){return Ei.get(r)||{}},td=function(r){return Ei.has(r)}}else{var kc=ok("state");ck[kc]=!0,ed=function(r,t){if(Np(r,kc))throw new mg($x);return t.facade=r,ak(r,kc,t),t},Zh=function(r){return Np(r,kc)?r[kc]:{}},td=function(r){return Np(r,kc)}}var fk={set:ed,get:Zh,has:td,enforce:hk,getterFor:uk},mm=Vs,dk=Oa,pk=Ki,Kf=dc,xg=fc,gk=XS.CONFIGURABLE,mk=JS,ky=fk,xk=ky.enforce,vk=ky.get,jx=String,m0=Object.defineProperty,wk=mm("".slice),yk=mm("".replace),_k=mm([].join),Ek=xg&&!dk(function(){return m0(function(){},"length",{value:8}).length!==8}),bk=String(String).split("String"),Ak=by.exports=function(r,t,e){wk(jx(t),0,7)==="Symbol("&&(t="["+yk(jx(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!Kf(r,"name")||gk&&r.name!==t)&&(xg?m0(r,"name",{value:t,configurable:!0}):r.name=t),Ek&&e&&Kf(e,"arity")&&r.length!==e.arity&&m0(r,"length",{value:e.arity});try{e&&Kf(e,"constructor")&&e.constructor?xg&&m0(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch{}var n=xk(r);return Kf(n,"source")||(n.source=_k(bk,typeof t=="string"?t:"")),r};Function.prototype.toString=Ak(function(){return pk(this)&&vk(this).source||mk(this)},"toString");var Tk=by.exports,Sk=Ki,kk=Hd,Ck=Tk,Fk=dm,Rk=function(r,t,e,n){n||(n={});var i=n.enumerable,s=n.name!==void 0?n.name:t;if(Sk(e)&&Ck(e,s,n),n.global)i?r[t]=e:Fk(t,e);else{try{n.unsafe?r[t]&&(i=!0):delete r[t]}catch{}i?r[t]=e:kk.f(r,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r},Cy={},Pk=Math.ceil,Ik=Math.floor,Lk=Math.trunc||function(t){var e=+t;return(e>0?Ik:Pk)(e)},Dk=Lk,Fy=function(r){var t=+r;return t!==t||t===0?0:Dk(t)},Ok=Fy,Mk=Math.max,Nk=Math.min,Bk=function(r,t){var e=Ok(r);return e<0?Mk(e+t,0):Nk(e,t)},Uk=Fy,$k=Math.min,jk=function(r){var t=Uk(r);return t>0?$k(t,9007199254740991):0},Hk=jk,Vk=function(r){return Hk(r.length)},Wk=fm,zk=Bk,Gk=Vk,Hx=function(r){return function(t,e,n){var i=Wk(t),s=Gk(i);if(s===0)return!r&&-1;var a=zk(n,s),o;if(r&&e!==e){for(;s>a;)if(o=i[a++],o!==o)return!0}else for(;s>a;a++)if((r||a in i)&&i[a]===e)return r||a||0;return!r&&-1}},Xk={includes:Hx(!0),indexOf:Hx(!1)},Yk=Vs,Up=dc,Kk=fm,qk=Xk.indexOf,Jk=Ty,Vx=Yk([].push),Zk=function(r,t){var e=Kk(r),n=0,i=[],s;for(s in e)!Up(Jk,s)&&Up(e,s)&&Vx(i,s);for(;t.length>n;)Up(e,s=t[n++])&&(~qk(i,s)||Vx(i,s));return i},Qk=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],eC=Zk,tC=Qk,rC=tC.concat("length","prototype");Cy.f=Object.getOwnPropertyNames||function(t){return eC(t,rC)};var Ry={};Ry.f=Object.getOwnPropertySymbols;var nC=hy,iC=Vs,sC=Cy,aC=Ry,oC=_y,cC=iC([].concat),lC=nC("Reflect","ownKeys")||function(t){var e=sC.f(oC(t)),n=aC.f;return n?cC(e,n(t)):e},Wx=dc,hC=lC,uC=hm,fC=Hd,dC=function(r,t,e){for(var n=hC(t),i=fC.f,s=uC.f,a=0;a<n.length;a++){var o=n[a];!Wx(r,o)&&!(e&&Wx(e,o))&&i(r,o,s(t,o))}},pC=Oa,gC=Ki,mC=/#|\.prototype\./,Sf=function(r,t){var e=vC[xC(r)];return e===yC?!0:e===wC?!1:gC(t)?pC(t):!!t},xC=Sf.normalize=function(r){return String(r).replace(mC,".").toLowerCase()},vC=Sf.data={},wC=Sf.NATIVE="N",yC=Sf.POLYFILL="P",_C=Sf,qf=_i,EC=hm.f,bC=Ey,AC=Rk,TC=dm,SC=dC,kC=_C,CC=function(r,t){var e=r.target,n=r.global,i=r.stat,s,a,o,c,h,l;if(n?a=qf:i?a=qf[e]||TC(e,{}):a=qf[e]&&qf[e].prototype,a)for(o in t){if(h=t[o],r.dontCallGetSet?(l=EC(a,o),c=l&&l.value):c=a[o],s=kC(n?o:e+(i?".":"#")+o,r.forced),!s&&c!==void 0){if(typeof h==typeof c)continue;SC(h,c)}(r.sham||c&&c.sham)&&bC(h,"sham",!0),AC(a,o,h,r)}},Py={},zx=gy,FC=TypeError,RC=function(r){var t,e;this.promise=new r(function(n,i){if(t!==void 0||e!==void 0)throw new FC("Bad Promise constructor");t=n,e=i}),this.resolve=zx(t),this.reject=zx(e)};Py.f=function(r){return new RC(r)};var PC=CC,IC=Py;PC({target:"Promise",stat:!0},{withResolvers:function(){var t=IC.f(this);return{promise:t.promise,resolve:t.resolve,reject:t.reject}}});function LC(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Iy={exports:{}},Xt=Iy.exports={},Si,ki;function vg(){throw new Error("setTimeout has not been defined")}function wg(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Si=setTimeout:Si=vg}catch{Si=vg}try{typeof clearTimeout=="function"?ki=clearTimeout:ki=wg}catch{ki=wg}})();function Ly(r){if(Si===setTimeout)return setTimeout(r,0);if((Si===vg||!Si)&&setTimeout)return Si=setTimeout,setTimeout(r,0);try{return Si(r,0)}catch{try{return Si.call(null,r,0)}catch{return Si.call(this,r,0)}}}function DC(r){if(ki===clearTimeout)return clearTimeout(r);if((ki===wg||!ki)&&clearTimeout)return ki=clearTimeout,clearTimeout(r);try{return ki(r)}catch{try{return ki.call(null,r)}catch{return ki.call(this,r)}}}var Rs=[],Gc=!1,qa,x0=-1;function OC(){!Gc||!qa||(Gc=!1,qa.length?Rs=qa.concat(Rs):x0=-1,Rs.length&&Dy())}function Dy(){if(!Gc){var r=Ly(OC);Gc=!0;for(var t=Rs.length;t;){for(qa=Rs,Rs=[];++x0<t;)qa&&qa[x0].run();x0=-1,t=Rs.length}qa=null,Gc=!1,DC(r)}}Xt.nextTick=function(r){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];Rs.push(new Oy(r,t)),Rs.length===1&&!Gc&&Ly(Dy)};function Oy(r,t){this.fun=r,this.array=t}Oy.prototype.run=function(){this.fun.apply(null,this.array)};Xt.title="browser";Xt.browser=!0;Xt.env={};Xt.argv=[];Xt.version="";Xt.versions={};function Ws(){}Xt.on=Ws;Xt.addListener=Ws;Xt.once=Ws;Xt.off=Ws;Xt.removeListener=Ws;Xt.removeAllListeners=Ws;Xt.emit=Ws;Xt.prependListener=Ws;Xt.prependOnceListener=Ws;Xt.listeners=function(r){return[]};Xt.binding=function(r){throw new Error("process.binding is not supported")};Xt.cwd=function(){return"/"};Xt.chdir=function(r){throw new Error("process.chdir is not supported")};Xt.umask=function(){return 0};var MC=Iy.exports;const Be=LC(MC);var $r=function(){return $r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},$r.apply(this,arguments)};function ec(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))}function NC(r){var t=Object.create(null);return function(e){return t[e]===void 0&&(t[e]=r(e)),t[e]}}var BC=/^((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)-.*))$/,UC=NC(function(r){return BC.test(r)||r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)<91}),Ft="-ms-",Uh="-moz-",ft="-webkit-",My="comm",Vd="rule",xm="decl",$C="@import",Ny="@keyframes",jC="@layer",By=Math.abs,vm=String.fromCharCode,yg=Object.assign;function HC(r,t){return wr(r,0)^45?(((t<<2^wr(r,0))<<2^wr(r,1))<<2^wr(r,2))<<2^wr(r,3):0}function Uy(r){return r.trim()}function rs(r,t){return(r=t.exec(r))?r[0]:r}function qe(r,t,e){return r.replace(t,e)}function v0(r,t,e){return r.indexOf(t,e)}function wr(r,t){return r.charCodeAt(t)|0}function Zl(r,t,e){return r.slice(t,e)}function Gi(r){return r.length}function $y(r){return r.length}function vh(r,t){return t.push(r),r}function VC(r,t){return r.map(t).join("")}function Gx(r,t){return r.filter(function(e){return!rs(e,t)})}var Wd=1,Ql=1,jy=0,Gn=0,er=0,ah="";function zd(r,t,e,n,i,s,a,o){return{value:r,root:t,parent:e,type:n,props:i,children:s,line:Wd,column:Ql,length:a,return:"",siblings:o}}function Xs(r,t){return yg(zd("",null,null,"",null,null,0,r.siblings),r,{length:-r.length},t)}function Cc(r){for(;r.root;)r=Xs(r.root,{children:[r]});vh(r,r.siblings)}function WC(){return er}function zC(){return er=Gn>0?wr(ah,--Gn):0,Ql--,er===10&&(Ql=1,Wd--),er}function wi(){return er=Gn<jy?wr(ah,Gn++):0,Ql++,er===10&&(Ql=1,Wd++),er}function qo(){return wr(ah,Gn)}function w0(){return Gn}function Gd(r,t){return Zl(ah,r,t)}function _g(r){switch(r){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 GC(r){return Wd=Ql=1,jy=Gi(ah=r),Gn=0,[]}function XC(r){return ah="",r}function $p(r){return Uy(Gd(Gn-1,Eg(r===91?r+2:r===40?r+1:r)))}function YC(r){for(;(er=qo())&&er<33;)wi();return _g(r)>2||_g(er)>3?"":" "}function KC(r,t){for(;--t&&wi()&&!(er<48||er>102||er>57&&er<65||er>70&&er<97););return Gd(r,w0()+(t<6&&qo()==32&&wi()==32))}function Eg(r){for(;wi();)switch(er){case r:return Gn;case 34:case 39:r!==34&&r!==39&&Eg(er);break;case 40:r===41&&Eg(r);break;case 92:wi();break}return Gn}function qC(r,t){for(;wi()&&r+er!==57;)if(r+er===84&&qo()===47)break;return"/*"+Gd(t,Gn-1)+"*"+vm(r===47?r:wi())}function JC(r){for(;!_g(qo());)wi();return Gd(r,Gn)}function ZC(r){return XC(y0("",null,null,null,[""],r=GC(r),0,[0],r))}function y0(r,t,e,n,i,s,a,o,c){for(var h=0,l=0,f=a,d=0,p=0,m=0,g=1,x=1,v=1,E=0,y="",S=i,I=s,F=n,T=y;x;)switch(m=E,E=wi()){case 40:if(m!=108&&wr(T,f-1)==58){v0(T+=qe($p(E),"&","&\f"),"&\f",By(h?o[h-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:T+=$p(E);break;case 9:case 10:case 13:case 32:T+=YC(m);break;case 92:T+=KC(w0()-1,7);continue;case 47:switch(qo()){case 42:case 47:vh(QC(qC(wi(),w0()),t,e,c),c);break;default:T+="/"}break;case 123*g:o[h++]=Gi(T)*v;case 125*g:case 59:case 0:switch(E){case 0:case 125:x=0;case 59+l:v==-1&&(T=qe(T,/\f/g,"")),p>0&&Gi(T)-f&&vh(p>32?Yx(T+";",n,e,f-1,c):Yx(qe(T," ","")+";",n,e,f-2,c),c);break;case 59:T+=";";default:if(vh(F=Xx(T,t,e,h,l,i,o,y,S=[],I=[],f,s),s),E===123)if(l===0)y0(T,t,F,F,S,s,f,o,I);else switch(d===99&&wr(T,3)===110?100:d){case 100:case 108:case 109:case 115:y0(r,F,F,n&&vh(Xx(r,F,F,0,0,i,o,y,i,S=[],f,I),I),i,I,f,o,n?S:I);break;default:y0(T,F,F,F,[""],I,0,o,I)}}h=l=p=0,g=v=1,y=T="",f=a;break;case 58:f=1+Gi(T),p=m;default:if(g<1){if(E==123)--g;else if(E==125&&g++==0&&zC()==125)continue}switch(T+=vm(E),E*g){case 38:v=l>0?1:(T+="\f",-1);break;case 44:o[h++]=(Gi(T)-1)*v,v=1;break;case 64:qo()===45&&(T+=$p(wi())),d=qo(),l=f=Gi(y=T+=JC(w0())),E++;break;case 45:m===45&&Gi(T)==2&&(g=0)}}return s}function Xx(r,t,e,n,i,s,a,o,c,h,l,f){for(var d=i-1,p=i===0?s:[""],m=$y(p),g=0,x=0,v=0;g<n;++g)for(var E=0,y=Zl(r,d+1,d=By(x=a[g])),S=r;E<m;++E)(S=Uy(x>0?p[E]+" "+y:qe(y,/&\f/g,p[E])))&&(c[v++]=S);return zd(r,t,e,i===0?Vd:o,c,h,l,f)}function QC(r,t,e,n){return zd(r,t,e,My,vm(WC()),Zl(r,2,-2),0,n)}function Yx(r,t,e,n,i){return zd(r,t,e,xm,Zl(r,0,n),Zl(r,n+1,-1),n,i)}function Hy(r,t,e){switch(HC(r,t)){case 5103:return ft+"print-"+r+r;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 ft+r+r;case 4789:return Uh+r+r;case 5349:case 4246:case 4810:case 6968:case 2756:return ft+r+Uh+r+Ft+r+r;case 5936:switch(wr(r,t+11)){case 114:return ft+r+Ft+qe(r,/[svh]\w+-[tblr]{2}/,"tb")+r;case 108:return ft+r+Ft+qe(r,/[svh]\w+-[tblr]{2}/,"tb-rl")+r;case 45:return ft+r+Ft+qe(r,/[svh]\w+-[tblr]{2}/,"lr")+r}case 6828:case 4268:case 2903:return ft+r+Ft+r+r;case 6165:return ft+r+Ft+"flex-"+r+r;case 5187:return ft+r+qe(r,/(\w+).+(:[^]+)/,ft+"box-$1$2"+Ft+"flex-$1$2")+r;case 5443:return ft+r+Ft+"flex-item-"+qe(r,/flex-|-self/g,"")+(rs(r,/flex-|baseline/)?"":Ft+"grid-row-"+qe(r,/flex-|-self/g,""))+r;case 4675:return ft+r+Ft+"flex-line-pack"+qe(r,/align-content|flex-|-self/g,"")+r;case 5548:return ft+r+Ft+qe(r,"shrink","negative")+r;case 5292:return ft+r+Ft+qe(r,"basis","preferred-size")+r;case 6060:return ft+"box-"+qe(r,"-grow","")+ft+r+Ft+qe(r,"grow","positive")+r;case 4554:return ft+qe(r,/([^-])(transform)/g,"$1"+ft+"$2")+r;case 6187:return qe(qe(qe(r,/(zoom-|grab)/,ft+"$1"),/(image-set)/,ft+"$1"),r,"")+r;case 5495:case 3959:return qe(r,/(image-set\([^]*)/,ft+"$1$`$1");case 4968:return qe(qe(r,/(.+:)(flex-)?(.*)/,ft+"box-pack:$3"+Ft+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ft+r+r;case 4200:if(!rs(r,/flex-|baseline/))return Ft+"grid-column-align"+Zl(r,t)+r;break;case 2592:case 3360:return Ft+qe(r,"template-","")+r;case 4384:case 3616:return e&&e.some(function(n,i){return t=i,rs(n.props,/grid-\w+-end/)})?~v0(r+(e=e[t].value),"span",0)?r:Ft+qe(r,"-start","")+r+Ft+"grid-row-span:"+(~v0(e,"span",0)?rs(e,/\d+/):+rs(e,/\d+/)-+rs(r,/\d+/))+";":Ft+qe(r,"-start","")+r;case 4896:case 4128:return e&&e.some(function(n){return rs(n.props,/grid-\w+-start/)})?r:Ft+qe(qe(r,"-end","-span"),"span ","")+r;case 4095:case 3583:case 4068:case 2532:return qe(r,/(.+)-inline(.+)/,ft+"$1$2")+r;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(Gi(r)-1-t>6)switch(wr(r,t+1)){case 109:if(wr(r,t+4)!==45)break;case 102:return qe(r,/(.+:)(.+)-([^]+)/,"$1"+ft+"$2-$3$1"+Uh+(wr(r,t+3)==108?"$3":"$2-$3"))+r;case 115:return~v0(r,"stretch",0)?Hy(qe(r,"stretch","fill-available"),t,e)+r:r}break;case 5152:case 5920:return qe(r,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,i,s,a,o,c,h){return Ft+i+":"+s+h+(a?Ft+i+"-span:"+(o?c:+c-+s)+h:"")+r});case 4949:if(wr(r,t+6)===121)return qe(r,":",":"+ft)+r;break;case 6444:switch(wr(r,wr(r,14)===45?18:11)){case 120:return qe(r,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ft+(wr(r,14)===45?"inline-":"")+"box$3$1"+ft+"$2$3$1"+Ft+"$2box$3")+r;case 100:return qe(r,":",":"+Ft)+r}break;case 5719:case 2647:case 2135:case 3927:case 2391:return qe(r,"scroll-","scroll-snap-")+r}return r}function rd(r,t){for(var e="",n=0;n<r.length;n++)e+=t(r[n],n,r,t)||"";return e}function eF(r,t,e,n){switch(r.type){case jC:if(r.children.length)break;case $C:case xm:return r.return=r.return||r.value;case My:return"";case Ny:return r.return=r.value+"{"+rd(r.children,n)+"}";case Vd:if(!Gi(r.value=r.props.join(",")))return""}return Gi(e=rd(r.children,n))?r.return=r.value+"{"+e+"}":""}function tF(r){var t=$y(r);return function(e,n,i,s){for(var a="",o=0;o<t;o++)a+=r[o](e,n,i,s)||"";return a}}function rF(r){return function(t){t.root||(t=t.return)&&r(t)}}function nF(r,t,e,n){if(r.length>-1&&!r.return)switch(r.type){case xm:r.return=Hy(r.value,r.length,e);return;case Ny:return rd([Xs(r,{value:qe(r.value,"@","@"+ft)})],n);case Vd:if(r.length)return VC(e=r.props,function(i){switch(rs(i,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Cc(Xs(r,{props:[qe(i,/:(read-\w+)/,":"+Uh+"$1")]})),Cc(Xs(r,{props:[i]})),yg(r,{props:Gx(e,n)});break;case"::placeholder":Cc(Xs(r,{props:[qe(i,/:(plac\w+)/,":"+ft+"input-$1")]})),Cc(Xs(r,{props:[qe(i,/:(plac\w+)/,":"+Uh+"$1")]})),Cc(Xs(r,{props:[qe(i,/:(plac\w+)/,Ft+"input-$1")]})),Cc(Xs(r,{props:[i]})),yg(r,{props:Gx(e,n)});break}return""})}}var iF={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},tc=typeof Be<"u"&&Be.env!==void 0&&(Be.env.REACT_APP_SC_ATTR||Be.env.SC_ATTR)||"data-styled",Vy="active",Wy="data-styled-version",Xd="6.1.14",wm=`/*!sc*/ `,nd=typeof window<"u"&&"HTMLElement"in window,sF=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof Be<"u"&&Be.env!==void 0&&Be.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&Be.env.REACT_APP_SC_DISABLE_SPEEDY!==""?Be.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&Be.env.REACT_APP_SC_DISABLE_SPEEDY:typeof Be<"u"&&Be.env!==void 0&&Be.env.SC_DISABLE_SPEEDY!==void 0&&Be.env.SC_DISABLE_SPEEDY!==""?Be.env.SC_DISABLE_SPEEDY!=="false"&&Be.env.SC_DISABLE_SPEEDY:Be.env.NODE_ENV!=="production"),Kx=/invalid hook call/i,Jf=new Set,aF=function(r,t){if(Be.env.NODE_ENV!=="production"){var e=t?' with the id of "'.concat(t,'"'):"",n="The component ".concat(r).concat(e,` 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 s=!0;console.error=function(a){for(var o=[],c=1;c<arguments.length;c++)o[c-1]=arguments[c];Kx.test(a)?(s=!1,Jf.delete(n)):i.apply(void 0,ec([a],o,!1))},Q.useRef(),s&&!Jf.has(n)&&(console.warn(n),Jf.add(n))}catch(a){Kx.test(a.message)&&Jf.delete(n)}finally{console.error=i}}},Yd=Object.freeze([]),eh=Object.freeze({});function oF(r,t,e){return e===void 0&&(e=eh),r.theme!==e.theme&&r.theme||t||e.theme}var bg=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"]),cF=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,lF=/(^-|-$)/g;function qx(r){return r.replace(cF,"-").replace(lF,"")}var hF=/(a)(d)/gi,Zf=52,Jx=function(r){return String.fromCharCode(r+(r>25?39:97))};function Ag(r){var t,e="";for(t=Math.abs(r);t>Zf;t=t/Zf|0)e=Jx(t%Zf)+e;return(Jx(t%Zf)+e).replace(hF,"$1-$2")}var jp,zy=5381,Ga=function(r,t){for(var e=t.length;e;)r=33*r^t.charCodeAt(--e);return r},Gy=function(r){return Ga(zy,r)};function Xy(r){return Ag(Gy(r)>>>0)}function Yy(r){return Be.env.NODE_ENV!=="production"&&typeof r=="string"&&r||r.displayName||r.name||"Component"}function Hp(r){return typeof r=="string"&&(Be.env.NODE_ENV==="production"||r.charAt(0)===r.charAt(0).toLowerCase())}var Ky=typeof Symbol=="function"&&Symbol.for,qy=Ky?Symbol.for("react.memo"):60115,uF=Ky?Symbol.for("react.forward_ref"):60112,fF={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},dF={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Jy={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},pF=((jp={})[uF]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},jp[qy]=Jy,jp);function Zx(r){return("type"in(t=r)&&t.type.$$typeof)===qy?Jy:"$$typeof"in r?pF[r.$$typeof]:fF;var t}var gF=Object.defineProperty,mF=Object.getOwnPropertyNames,Qx=Object.getOwnPropertySymbols,xF=Object.getOwnPropertyDescriptor,vF=Object.getPrototypeOf,ev=Object.prototype;function Zy(r,t,e){if(typeof t!="string"){if(ev){var n=vF(t);n&&n!==ev&&Zy(r,n,e)}var i=mF(t);Qx&&(i=i.concat(Qx(t)));for(var s=Zx(r),a=Zx(t),o=0;o<i.length;++o){var c=i[o];if(!(c in dF||e&&e[c]||a&&c in a||s&&c in s)){var h=xF(t,c);try{gF(r,c,h)}catch{}}}}return r}function rc(r){return typeof r=="function"}function ym(r){return typeof r=="object"&&"styledComponentId"in r}function Ja(r,t){return r&&t?"".concat(r," ").concat(t):r||t||""}function Tg(r,t){if(r.length===0)return"";for(var e=r[0],n=1;n<r.length;n++)e+=r[n];return e}function th(r){return r!==null&&typeof r=="object"&&r.constructor.name===Object.name&&!("props"in r&&r.$$typeof)}function Sg(r,t,e){if(e===void 0&&(e=!1),!e&&!th(r)&&!Array.isArray(r))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)r[n]=Sg(r[n],t[n]);else if(th(t))for(var n in t)r[n]=Sg(r[n],t[n]);return r}function _m(r,t){Object.defineProperty(r,"toString",{value:t})}var wF=Be.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 yF(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var e=r[0],n=[],i=1,s=r.length;i<s;i+=1)n.push(r[i]);return n.forEach(function(a){e=e.replace(/%[a-z]/,a)}),e}function Ls(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return Be.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(r," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(yF.apply(void 0,ec([wF[r]],t,!1)).trim())}var _F=function(){function r(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return r.prototype.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},r.prototype.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,i=n.length,s=i;t>=s;)if((s<<=1)<0)throw Ls(16,"".concat(t));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var a=i;a<s;a++)this.groupSizes[a]=0}for(var o=this.indexOfGroup(t+1),c=(a=0,e.length);a<c;a++)this.tag.insertRule(o,e[a])&&(this.groupSizes[t]++,o++)},r.prototype.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),i=n+e;this.groupSizes[t]=0;for(var s=n;s<i;s++)this.tag.deleteRule(n)}},r.prototype.getGroup=function(t){var e="";if(t>=this.length||this.groupSizes[t]===0)return e;for(var n=this.groupSizes[t],i=this.indexOfGroup(t),s=i+n,a=i;a<s;a++)e+="".concat(this.tag.getRule(a)).concat(wm);return e},r}(),EF=1<<30,_0=new Map,id=new Map,E0=1,Qf=function(r){if(_0.has(r))return _0.get(r);for(;id.has(E0);)E0++;var t=E0++;if(Be.env.NODE_ENV!=="production"&&((0|t)<0||t>EF))throw Ls(16,"".concat(t));return _0.set(r,t),id.set(t,r),t},bF=function(r,t){E0=t+1,_0.set(r,t),id.set(t,r)},AF="style[".concat(tc,"][").concat(Wy,'="').concat(Xd,'"]'),TF=new RegExp("^".concat(tc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),SF=function(r,t,e){for(var n,i=e.split(","),s=0,a=i.length;s<a;s++)(n=i[s])&&r.registerName(t,n)},kF=function(r,t){for(var e,n=((e=t.textContent)!==null&&e!==void 0?e:"").split(wm),i=[],s=0,a=n.length;s<a;s++){var o=n[s].trim();if(o){var c=o.match(TF);if(c){var h=0|parseInt(c[1],10),l=c[2];h!==0&&(bF(l,h),SF(r,l,c[3]),r.getTag().insertRules(h,i)),i.length=0}else i.push(o)}}},tv=function(r){for(var t=document.querySelectorAll(AF),e=0,n=t.length;e<n;e++){var i=t[e];i&&i.getAttribute(tc)!==Vy&&(kF(r,i),i.parentNode&&i.parentNode.removeChild(i))}};function CF(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Qy=function(r){var t=document.head,e=r||t,n=document.createElement("style"),i=function(o){var c=Array.from(o.querySelectorAll("style[".concat(tc,"]")));return c[c.length-1]}(e),s=i!==void 0?i.nextSibling:null;n.setAttribute(tc,Vy),n.setAttribute(Wy,Xd);var a=CF();return a&&n.setAttribute("nonce",a),e.insertBefore(n,s),n},FF=function(){function r(t){this.element=Qy(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var n=document.styleSheets,i=0,s=n.length;i<s;i++){var a=n[i];if(a.ownerNode===e)return a}throw Ls(17)}(this.element),this.length=0}return r.prototype.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch{return!1}},r.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},r.prototype.getRule=function(t){var e=this.sheet.cssRules[t];return e&&e.cssText?e.cssText:""},r}(),RF=function(){function r(t){this.element=Qy(t),this.nodes=this.element.childNodes,this.length=0}return r.prototype.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},r.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},r.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},r}(),PF=function(){function r(t){this.rules=[],this.length=0}return r.prototype.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},r.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},r.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},r}(),rv=nd,IF={isServer:!nd,useCSSOMInjection:!sF},e_=function(){function r(t,e,n){t===void 0&&(t=eh),e===void 0&&(e={});var i=this;this.options=$r($r({},IF),t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&nd&&rv&&(rv=!1,tv(this)),_m(this,function(){return function(s){for(var a=s.getTag(),o=a.length,c="",h=function(f){var d=function(v){return id.get(v)}(f);if(d===void 0)return"continue";var p=s.names.get(d),m=a.getGroup(f);if(p===void 0||!p.size||m.length===0)return"continue";var g="".concat(tc,".g").concat(f,'[id="').concat(d,'"]'),x="";p!==void 0&&p.forEach(function(v){v.length>0&&(x+="".concat(v,","))}),c+="".concat(m).concat(g,'{content:"').concat(x,'"}').concat(wm)},l=0;l<o;l++)h(l);return c}(i)})}return r.registerId=function(t){return Qf(t)},r.prototype.rehydrate=function(){!this.server&&nd&&tv(this)},r.prototype.reconstructWithOptions=function(t,e){return e===void 0&&(e=!0),new r($r($r({},this.options),t),this.gs,e&&this.names||void 0)},r.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},r.prototype.getTag=function(){return this.tag||(this.tag=(t=function(e){var n=e.useCSSOMInjection,i=e.target;return e.isServer?new PF(i):n?new FF(i):new RF(i)}(this.options),new _F(t)));var t},r.prototype.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},r.prototype.registerName=function(t,e){if(Qf(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},r.prototype.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(Qf(t),n)},r.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},r.prototype.clearRules=function(t){this.getTag().clearGroup(Qf(t)),this.clearNames(t)},r.prototype.clearTag=function(){this.tag=void 0},r}(),LF=/&/g,DF=/^\s*\/\/.*$/gm;function t_(r,t){return r.map(function(e){return e.type==="rule"&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(e.children)&&e.type!=="@keyframes"&&(e.children=t_(e.children,t)),e})}function OF(r){var t,e,n,i=eh,s=i.options,a=s===void 0?eh:s,o=i.plugins,c=o===void 0?Yd:o,h=function(d,p,m){return m.startsWith(e)&&m.endsWith(e)&&m.replaceAll(e,"").length>0?".".concat(t):d},l=c.slice();l.push(function(d){d.type===Vd&&d.value.includes("&")&&(d.props[0]=d.props[0].replace(LF,e).replace(n,h))}),a.prefix&&l.push(nF),l.push(eF);var f=function(d,p,m,g){p===void 0&&(p=""),m===void 0&&(m=""),g===void 0&&(g="&"),t=g,e=p,n=new RegExp("\\".concat(e,"\\b"),"g");var x=d.replace(DF,""),v=ZC(m||p?"".concat(m," ").concat(p," { ").concat(x," }"):x);a.namespace&&(v=t_(v,a.namespace));var E=[];return rd(v,tF(l.concat(rF(function(y){return E.push(y)})))),E};return f.hash=c.length?c.reduce(function(d,p){return p.name||Ls(15),Ga(d,p.name)},zy).toString():"",f}var MF=new e_,kg=OF(),r_=Q.createContext({shouldForwardProp:void 0,styleSheet:MF,stylis:kg});r_.Consumer;Q.createContext(void 0);function nv(){return Q.useContext(r_)}var Cg=function(){function r(t,e){var n=this;this.inject=function(i,s){s===void 0&&(s=kg);var a=n.name+s.hash;i.hasNameForId(n.id,a)||i.insertRules(n.id,a,s(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=e,_m(this,function(){throw Ls(12,String(n.name))})}return r.prototype.getName=function(t){return t===void 0&&(t=kg),this.name+t.hash},r}(),NF=function(r){return r>="A"&&r<="Z"};function iv(r){for(var t="",e=0;e<r.length;e++){var n=r[e];if(e===1&&n==="-"&&r[0]==="-")return r;NF(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var n_=function(r){return r==null||r===!1||r===""},i_=function(r){var t,e,n=[];for(var i in r){var s=r[i];r.hasOwnProperty(i)&&!n_(s)&&(Array.isArray(s)&&s.isCss||rc(s)?n.push("".concat(iv(i),":"),s,";"):th(s)?n.push.apply(n,ec(ec(["".concat(i," {")],i_(s),!1),["}"],!1)):n.push("".concat(iv(i),": ").concat((t=i,(e=s)==null||typeof e=="boolean"||e===""?"":typeof e!="number"||e===0||t in iF||t.startsWith("--")?String(e).trim():"".concat(e,"px")),";")))}return n};function Jo(r,t,e,n){if(n_(r))return[];if(ym(r))return[".".concat(r.styledComponentId)];if(rc(r)){if(!rc(s=r)||s.prototype&&s.prototype.isReactComponent||!t)return[r];var i=r(t);return Be.env.NODE_ENV==="production"||typeof i!="object"||Array.isArray(i)||i instanceof Cg||th(i)||i===null||console.error("".concat(Yy(r)," 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.")),Jo(i,t,e,n)}var s;return r instanceof Cg?e?(r.inject(e,n),[r.getName(n)]):[r]:th(r)?i_(r):Array.isArray(r)?Array.prototype.concat.apply(Yd,r.map(function(a){return Jo(a,t,e,n)})):[r.toString()]}function BF(r){for(var t=0;t<r.length;t+=1){var e=r[t];if(rc(e)&&!ym(e))return!1}return!0}var UF=Gy(Xd),$F=function(){function r(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=Be.env.NODE_ENV==="production"&&(n===void 0||n.isStatic)&&BF(t),this.componentId=e,this.baseHash=Ga(UF,e),this.baseStyle=n,e_.registerId(e)}return r.prototype.generateAndInjectStyles=function(t,e,n){var i=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,e,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&e.hasNameForId(this.componentId,this.staticRulesId))i=Ja(i,this.staticRulesId);else{var s=Tg(Jo(this.rules,t,e,n)),a=Ag(Ga(this.baseHash,s)>>>0);if(!e.hasNameForId(this.componentId,a)){var o=n(s,".".concat(a),void 0,this.componentId);e.insertRules(this.componentId,a,o)}i=Ja(i,a),this.staticRulesId=a}else{for(var c=Ga(this.baseHash,n.hash),h="",l=0;l<this.rules.length;l++){var f=this.rules[l];if(typeof f=="string")h+=f,Be.env.NODE_ENV!=="production"&&(c=Ga(c,f));else if(f){var d=Tg(Jo(f,t,e,n));c=Ga(c,d+l),h+=d}}if(h){var p=Ag(c>>>0);e.hasNameForId(this.componentId,p)||e.insertRules(this.componentId,p,n(h,".".concat(p),void 0,this.componentId)),i=Ja(i,p)}}return i},r}(),sd=Q.createContext(void 0);sd.Consumer;function jF(r){var t=Q.useContext(sd),e=Q.useMemo(function(){return function(n,i){if(!n)throw Ls(14);if(rc(n)){var s=n(i);if(Be.env.NODE_ENV!=="production"&&(s===null||Array.isArray(s)||typeof s!="object"))throw Ls(7);return s}if(Array.isArray(n)||typeof n!="object")throw Ls(8);return i?$r($r({},i),n):n}(r.theme,t)},[r.theme,t]);return r.children?Q.createElement(sd.Provider,{value:e},r.children):null}var Vp={},sv=new Set;function HF(r,t,e){var n=ym(r),i=r,s=!Hp(r),a=t.attrs,o=a===void 0?Yd:a,c=t.componentId,h=c===void 0?function(S,I){var F=typeof S!="string"?"sc":qx(S);Vp[F]=(Vp[F]||0)+1;var T="".concat(F,"-").concat(Xy(Xd+F+Vp[F]));return I?"".concat(I,"-").concat(T):T}(t.displayName,t.parentComponentId):c,l=t.displayName,f=l===void 0?function(S){return Hp(S)?"styled.".concat(S):"Styled(".concat(Yy(S),")")}(r):l,d=t.displayName&&t.componentId?"".concat(qx(t.displayName),"-").concat(t.componentId):t.componentId||h,p=n&&i.attrs?i.attrs.concat(o).filter(Boolean):o,m=t.shouldForwardProp;if(n&&i.shouldForwardProp){var g=i.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;m=function(S,I){return g(S,I)&&x(S,I)}}else m=g}var v=new $F(e,d,n?i.componentStyle:void 0);function E(S,I){return function(F,T,A){var b=F.attrs,O=F.componentStyle,j=F.defaultProps,N=F.foldedComponentIds,q=F.styledComponentId,ce=F.target,le=Q.useContext(sd),he=nv(),ee=F.shouldForwardProp||he.shouldForwardProp;Be.env.NODE_ENV!=="production"&&Q.useDebugValue(q);var ue=oF(T,le,j)||eh,Z=function(X,re,fe){for(var de,pe=$r($r({},re),{className:void 0,theme:fe}),te=0;te<X.length;te+=1){var Ae=rc(de=X[te])?de(pe):de;for(var H in Ae)pe[H]=H==="className"?Ja(pe[H],Ae[H]):H==="style"?$r($r({},pe[H]),Ae[H]):Ae[H]}return re.className&&(pe.className=Ja(pe.className,re.className)),pe}(b,T,ue),me=Z.as||ce,Te={};for(var D in Z)Z[D]===void 0||D[0]==="$"||D==="as"||D==="theme"&&Z.theme===ue||(D==="forwardedAs"?Te.as=Z.forwardedAs:ee&&!ee(D,me)||(Te[D]=Z[D],ee||Be.env.NODE_ENV!=="development"||UC(D)||sv.has(D)||!bg.has(me)||(sv.add(D),console.warn('styled-components: it looks like an unknown prop "'.concat(D,'" 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 K=function(X,re){var fe=nv(),de=X.generateAndInjectStyles(re,fe.styleSheet,fe.stylis);return Be.env.NODE_ENV!=="production"&&Q.useDebugValue(de),de}(O,Z);Be.env.NODE_ENV!=="production"&&F.warnTooManyClasses&&F.warnTooManyClasses(K);var Y=Ja(N,q);return K&&(Y+=" "+K),Z.className&&(Y+=" "+Z.className),Te[Hp(me)&&!bg.has(me)?"class":"className"]=Y,A&&(Te.ref=A),Q.createElement(me,Te)}(y,S,I)}E.displayName=f;var y=Q.forwardRef(E);return y.attrs=p,y.componentStyle=v,y.displayName=f,y.shouldForwardProp=m,y.foldedComponentIds=n?Ja(i.foldedComponentIds,i.styledComponentId):"",y.styledComponentId=d,y.target=n?i.target:r,Object.defineProperty(y,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(S){this._foldedDefaultProps=n?function(I){for(var F=[],T=1;T<arguments.length;T++)F[T-1]=arguments[T];for(var A=0,b=F;A<b.length;A++)Sg(I,b[A],!0);return I}({},i.defaultProps,S):S}}),Be.env.NODE_ENV!=="production"&&(aF(f,d),y.warnTooManyClasses=function(S,I){var F={},T=!1;return function(A){if(!T&&(F[A]=!0,Object.keys(F).length>=200)){var b=I?' with the id of "'.concat(I,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(S).concat(b,`. `)+`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 />`),T=!0,F={}}}}(f,d)),_m(y,function(){return".".concat(y.styledComponentId)}),s&&Zy(y,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),y}function av(r