@harpercollins/harpercollins-design-system 1.8.20 → 1.8.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,198 +1,198 @@
1
- import*as e from"react";import t,{useRef as n,useContext as o,useDebugValue as r,createElement as i,useState as a,useEffect as l,useLayoutEffect as s,forwardRef as c,useCallback as u}from"react";import{jsx as d,jsxs as f,Fragment as p}from"react/jsx-runtime";import*as g from"react-dom";var h=function(){return h=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},h.apply(this,arguments)};function m(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function v(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var b=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,y=v((function(e){return b.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function w(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var S="-ms-",C="-moz-",R="-webkit-",k="comm",O="rule",E="decl",P="@import",z="@keyframes",F="@layer",M=Math.abs,I=String.fromCharCode,V=Object.assign;function D(e){return e.trim()}function A(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,n){return e.replace(t,n)}function _(e,t,n){return e.indexOf(t,n)}function N(e,t){return 0|e.charCodeAt(t)}function L(e,t,n){return e.slice(t,n)}function $(e){return e.length}function j(e){return e.length}function H(e,t){return t.push(e),e}function G(e,t){return e.filter((function(e){return!A(e,t)}))}var B=1,q=1,U=0,W=0,Y=0,X="";function K(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:B,column:q,length:a,return:"",siblings:l}}function J(e,t){return V(K("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Z(e){for(;e.root;)e=J(e.root,{children:[e]});H(e,e.siblings)}function Q(){return Y=W>0?N(X,--W):0,q--,10===Y&&(q=1,B--),Y}function ee(){return Y=W<U?N(X,W++):0,q++,10===Y&&(q=1,B++),Y}function te(){return N(X,W)}function ne(){return W}function oe(e,t){return L(X,e,t)}function re(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ie(e){return D(oe(W-1,se(91===e?e+2:40===e?e+1:e)))}function ae(e){for(;(Y=te())&&Y<33;)ee();return re(e)>2||re(Y)>3?"":" "}function le(e,t){for(;--t&&ee()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return oe(e,ne()+(t<6&&32==te()&&32==ee()))}function se(e){for(;ee();)switch(Y){case e:return W;case 34:case 39:34!==e&&39!==e&&se(Y);break;case 40:41===e&&se(e);break;case 92:ee()}return W}function ce(e,t){for(;ee()&&e+Y!==57&&(e+Y!==84||47!==te()););return"/*"+oe(t,W-1)+"*"+I(47===e?e:ee())}function ue(e){for(;!re(te());)ee();return oe(e,W)}function de(e){return function(e){return X="",e}(fe("",null,null,null,[""],e=function(e){return B=q=1,U=$(X=e),W=0,[]}(e),0,[0],e))}function fe(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,f=0,p=0,g=0,h=1,m=1,v=1,b=0,y="",w=r,x=i,S=o,C=y;m;)switch(g=b,b=ee()){case 40:if(108!=g&&58==N(C,d-1)){-1!=_(C+=T(ie(b),"&","&\f"),"&\f",M(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=ie(b);break;case 9:case 10:case 13:case 32:C+=ae(g);break;case 92:C+=le(ne()-1,7);continue;case 47:switch(te()){case 42:case 47:H(ge(ce(ee(),ne()),t,n,s),s);break;default:C+="/"}break;case 123*h:l[c++]=$(C)*v;case 125*h:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(C=T(C,/\f/g,"")),p>0&&$(C)-d&&H(p>32?he(C+";",o,n,d-1,s):he(T(C," ","")+";",o,n,d-2,s),s);break;case 59:C+=";";default:if(H(S=pe(C,t,n,c,u,r,l,y,w=[],x=[],d,i),i),123===b)if(0===u)fe(C,t,S,S,w,i,d,l,x);else switch(99===f&&110===N(C,3)?100:f){case 100:case 108:case 109:case 115:fe(e,S,S,o&&H(pe(e,S,S,0,0,r,l,y,r,w=[],d,x),x),r,x,d,l,o?w:x);break;default:fe(C,S,S,S,[""],x,0,l,x)}}c=u=p=0,h=v=1,y=C="",d=a;break;case 58:d=1+$(C),p=g;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==Q())continue;switch(C+=I(b),b*h){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=($(C)-1)*v,v=1;break;case 64:45===te()&&(C+=ie(ee())),f=te(),u=d=$(y=C+=ue(ne())),b++;break;case 45:45===g&&2==$(C)&&(h=0)}}return i}function pe(e,t,n,o,r,i,a,l,s,c,u,d){for(var f=r-1,p=0===r?i:[""],g=j(p),h=0,m=0,v=0;h<o;++h)for(var b=0,y=L(e,f+1,f=M(m=a[h])),w=e;b<g;++b)(w=D(m>0?p[b]+" "+y:T(y,/&\f/g,p[b])))&&(s[v++]=w);return K(e,t,n,0===r?O:l,s,c,u,d)}function ge(e,t,n,o){return K(e,t,n,k,I(Y),L(e,2,-2),0,o)}function he(e,t,n,o,r){return K(e,t,n,E,L(e,0,o),L(e,o+1,-1),o,r)}function me(e,t,n){switch(function(e,t){return 45^N(e,0)?(((t<<2^N(e,0))<<2^N(e,1))<<2^N(e,2))<<2^N(e,3):0}(e,t)){case 5103:return R+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return R+e+e;case 4789:return C+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return R+e+C+e+S+e+e;case 5936:switch(N(e,t+11)){case 114:return R+e+S+T(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return R+e+S+T(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return R+e+S+T(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return R+e+S+e+e;case 6165:return R+e+S+"flex-"+e+e;case 5187:return R+e+T(e,/(\w+).+(:[^]+)/,R+"box-$1$2"+S+"flex-$1$2")+e;case 5443:return R+e+S+"flex-item-"+T(e,/flex-|-self/g,"")+(A(e,/flex-|baseline/)?"":S+"grid-row-"+T(e,/flex-|-self/g,""))+e;case 4675:return R+e+S+"flex-line-pack"+T(e,/align-content|flex-|-self/g,"")+e;case 5548:return R+e+S+T(e,"shrink","negative")+e;case 5292:return R+e+S+T(e,"basis","preferred-size")+e;case 6060:return R+"box-"+T(e,"-grow","")+R+e+S+T(e,"grow","positive")+e;case 4554:return R+T(e,/([^-])(transform)/g,"$1"+R+"$2")+e;case 6187:return T(T(T(e,/(zoom-|grab)/,R+"$1"),/(image-set)/,R+"$1"),e,"")+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,R+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,R+"box-pack:$3"+S+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+R+e+e;case 4200:if(!A(e,/flex-|baseline/))return S+"grid-column-align"+L(e,t)+e;break;case 2592:case 3360:return S+T(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,A(e.props,/grid-\w+-end/)}))?~_(e+(n=n[t].value),"span",0)?e:S+T(e,"-start","")+e+S+"grid-row-span:"+(~_(n,"span",0)?A(n,/\d+/):+A(n,/\d+/)-+A(e,/\d+/))+";":S+T(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return A(e.props,/grid-\w+-start/)}))?e:S+T(T(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,R+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($(e)-1-t>6)switch(N(e,t+1)){case 109:if(45!==N(e,t+4))break;case 102:return T(e,/(.+:)(.+)-([^]+)/,"$1"+R+"$2-$3$1"+C+(108==N(e,t+3)?"$3":"$2-$3"))+e;case 115:return~_(e,"stretch",0)?me(T(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return T(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,i,a,l){return S+n+":"+o+l+(r?S+n+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===N(e,t+6))return T(e,":",":"+R)+e;break;case 6444:switch(N(e,45===N(e,14)?18:11)){case 120:return T(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+R+(45===N(e,14)?"inline-":"")+"box$3$1"+R+"$2$3$1"+S+"$2box$3")+e;case 100:return T(e,":",":"+S)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return T(e,"scroll-","scroll-snap-")+e}return e}function ve(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function be(e,t,n,o){switch(e.type){case F:if(e.children.length)break;case P:case E:return e.return=e.return||e.value;case k:return"";case z:return e.return=e.value+"{"+ve(e.children,o)+"}";case O:if(!$(e.value=e.props.join(",")))return""}return $(n=ve(e.children,o))?e.return=e.value+"{"+n+"}":""}function ye(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case E:return void(e.return=me(e.value,e.length,n));case z:return ve([J(e,{value:T(e.value,"@","@"+R)})],o);case O:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(A(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Z(J(e,{props:[T(t,/:(read-\w+)/,":"+C+"$1")]})),Z(J(e,{props:[t]})),V(e,{props:G(n,o)});break;case"::placeholder":Z(J(e,{props:[T(t,/:(plac\w+)/,":"+R+"input-$1")]})),Z(J(e,{props:[T(t,/:(plac\w+)/,":"+C+"$1")]})),Z(J(e,{props:[T(t,/:(plac\w+)/,S+"input-$1")]})),Z(J(e,{props:[t]})),V(e,{props:G(n,o)})}return""}))}}var we={animationIterationCount: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},xe="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Se="active",Ce="data-styled-version",Re="6.1.8",ke="/*!sc*/\n",Oe="undefined"!=typeof window&&"HTMLElement"in window,Ee=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),Pe={},ze=/invalid hook call/i,Fe=new Set,Me=function(e,t){if("production"!==process.env.NODE_ENV){var o=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];ze.test(e)?(a=!1,Fe.delete(r)):i.apply(void 0,m([e],t,!1))},n(),a&&!Fe.has(r)&&(console.warn(r),Fe.add(r))}catch(e){ze.test(e.message)&&Fe.delete(r)}finally{console.error=i}}},Ie=Object.freeze([]),Ve=Object.freeze({});function De(e,t,n){return void 0===n&&(n=Ve),e.theme!==n.theme&&e.theme||t||n.theme}var Ae=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"]),Te=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_e=/(^-|-$)/g;function Ne(e){return e.replace(Te,"-").replace(_e,"")}var Le=/(a)(d)/gi,$e=52,je=function(e){return String.fromCharCode(e+(e>25?39:97))};function He(e){var t,n="";for(t=Math.abs(e);t>$e;t=t/$e|0)n=je(t%$e)+n;return(je(t%$e)+n).replace(Le,"$1-$2")}var Ge,Be=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},qe=function(e){return Be(5381,e)};function Ue(e){return He(qe(e)>>>0)}function We(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Ye(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Xe="function"==typeof Symbol&&Symbol.for,Ke=Xe?Symbol.for("react.memo"):60115,Je=Xe?Symbol.for("react.forward_ref"):60112,Ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Qe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},et={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tt=((Ge={})[Je]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ge[Ke]=et,Ge);function nt(e){return("type"in(t=e)&&t.type.$$typeof)===Ke?et:"$$typeof"in e?tt[e.$$typeof]:Ze;var t}var ot=Object.defineProperty,rt=Object.getOwnPropertyNames,it=Object.getOwnPropertySymbols,at=Object.getOwnPropertyDescriptor,lt=Object.getPrototypeOf,st=Object.prototype;function ct(e,t,n){if("string"!=typeof t){if(st){var o=lt(t);o&&o!==st&&ct(e,o,n)}var r=rt(t);it&&(r=r.concat(it(t)));for(var i=nt(e),a=nt(t),l=0;l<r.length;++l){var s=r[l];if(!(s in Qe||n&&n[s]||a&&s in a||i&&s in i)){var c=at(t,s);try{ot(e,s,c)}catch(e){}}}}return e}function ut(e){return"function"==typeof e}function dt(e){return"object"==typeof e&&"styledComponentId"in e}function ft(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function pt(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function gt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ht(e,t,n){if(void 0===n&&(n=!1),!n&&!gt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=ht(e[o],t[o]);else if(gt(t))for(var o in t)e[o]=ht(e[o],t[o]);return e}function mt(e,t){Object.defineProperty(e,"toString",{value:t})}var vt="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",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.\n\n',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\n\n",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.\n\n",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.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',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.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function bt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,i=e.length;r<i;r+=1)o.push(e[r]);return o.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function yt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(bt.apply(void 0,m([vt[e]],t,!1)).trim())}var wt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw yt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=o;i<r;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,i=o;i<r;i++)t+="".concat(this.tag.getRule(i)).concat(ke);return t},e}(),xt=new Map,St=new Map,Ct=1,Rt=function(e){if(xt.has(e))return xt.get(e);for(;St.has(Ct);)Ct++;var t=Ct++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw yt(16,"".concat(t));return xt.set(e,t),St.set(t,e),t},kt=function(e,t){Ct=t+1,xt.set(e,t),St.set(t,e)},Ot="style[".concat(xe,"][").concat(Ce,'="').concat(Re,'"]'),Et=new RegExp("^".concat(xe,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Pt=function(e,t,n){for(var o,r=n.split(","),i=0,a=r.length;i<a;i++)(o=r[i])&&e.registerName(t,o)},zt=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(ke),r=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(Et);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(kt(u,c),Pt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}};var Ft=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(xe,"]")));return t[t.length-1]}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(xe,Se),o.setAttribute(Ce,Re);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),n.insertBefore(o,i),o},Mt=function(){function e(e){this.element=Ft(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw yt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),It=function(){function e(e){this.element=Ft(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Vt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Dt=Oe,At={isServer:!Oe,useCSSOMInjection:!Ee},Tt=function(){function e(e,t,n){void 0===e&&(e=Ve),void 0===t&&(t={});var o=this;this.options=h(h({},At),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Oe&&Dt&&(Dt=!1,function(e){for(var t=document.querySelectorAll(Ot),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(xe)!==Se&&(zt(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),mt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return St.get(e)}(n);if(void 0===r)return"continue";var i=e.names.get(r),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var l="".concat(xe,".g").concat(n,'[id="').concat(r,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(ke)},i=0;i<n;i++)r(i);return o}(o)}))}return e.registerId=function(e){return Rt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(h(h({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Vt(n):t?new Mt(n):new It(n)}(this.options),new wt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Rt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Rt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Rt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_t=/&/g,Nt=/^\s*\/\/.*$/gm;function Lt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Lt(e.children,t)),e}))}var $t=new Tt,jt=function(e){var t,n,o,r=void 0===e?Ve:e,i=r.options,a=void 0===i?Ve:i,l=r.plugins,s=void 0===l?Ie:l,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===O&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(_t,n).replace(o,c))})),a.prefix&&u.push(ye),u.push(be);var d=function(e,r,i,l){void 0===r&&(r=""),void 0===i&&(i=""),void 0===l&&(l="&"),t=l,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(Nt,""),c=de(i||r?"".concat(i," ").concat(r," { ").concat(s," }"):s);a.namespace&&(c=Lt(c,a.namespace));var d,f=[];return ve(c,function(e){var t=j(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}(u.concat((d=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),f};return d.hash=s.length?s.reduce((function(e,t){return t.name||yt(15),Be(e,t.name)}),5381).toString():"",d}(),Ht=t.createContext({shouldForwardProp:void 0,styleSheet:$t,stylis:jt});function Gt(){return o(Ht)}Ht.Consumer,t.createContext(void 0);var Bt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=jt);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,mt(this,(function(){throw yt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=jt),this.name+e.hash},e}(),qt=function(e){return e>="A"&&e<="Z"};function Ut(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qt(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Wt=function(e){return null==e||!1===e||""===e},Yt=function(e){var t,n,o=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!Wt(i)&&(Array.isArray(i)&&i.isCss||ut(i)?o.push("".concat(Ut(r),":"),i,";"):gt(i)?o.push.apply(o,m(m(["".concat(r," {")],Yt(i),!1),["}"],!1)):o.push("".concat(Ut(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in we||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Xt(e,t,n,o){if(Wt(e))return[];if(dt(e))return[".".concat(e.styledComponentId)];if(ut(e)){if(!ut(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var r=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof Bt||gt(r)||null===r||console.error("".concat(We(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Xt(r,t,n,o)}var i;return e instanceof Bt?n?(e.inject(n,o),[e.getName(o)]):[e]:gt(e)?Yt(e):Array.isArray(e)?Array.prototype.concat.apply(Ie,e.map((function(e){return Xt(e,t,n,o)}))):[e.toString()]}function Kt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ut(n)&&!dt(n))return!1}return!0}var Jt=qe(Re),Zt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Kt(e),this.componentId=t,this.baseHash=Be(Jt,t),this.baseStyle=n,Tt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ft(o,this.staticRulesId);else{var r=pt(Xt(this.rules,e,t,n)),i=He(Be(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(r,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}o=ft(o,i),this.staticRulesId=i}else{for(var l=Be(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=Be(l,u));else if(u){var d=pt(Xt(u,e,t,n));l=Be(l,d+c),s+=d}}if(s){var f=He(l>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(s,".".concat(f),void 0,this.componentId)),o=ft(o,f)}}return o},e}(),Qt=t.createContext(void 0);Qt.Consumer;var en={},tn=new Set;function nn(e,n,o){var a=dt(e),l=e,s=!Ye(e),c=n.attrs,u=void 0===c?Ie:c,d=n.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Ne(e);en[n]=(en[n]||0)+1;var o="".concat(n,"-").concat(Ue(Re+n+en[n]));return t?"".concat(t,"-").concat(o):o}(n.displayName,n.parentComponentId):d,p=n.displayName,g=void 0===p?function(e){return Ye(e)?"styled.".concat(e):"Styled(".concat(We(e),")")}(e):p,m=n.displayName&&n.componentId?"".concat(Ne(n.displayName),"-").concat(n.componentId):n.componentId||f,v=a&&l.attrs?l.attrs.concat(u).filter(Boolean):u,b=n.shouldForwardProp;if(a&&l.shouldForwardProp){var w=l.shouldForwardProp;if(n.shouldForwardProp){var x=n.shouldForwardProp;b=function(e,t){return w(e,t)&&x(e,t)}}else b=w}var S=new Zt(o,m,a?l.componentStyle:void 0);function C(e,n){return function(e,n,o){var a=e.attrs,l=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=t.useContext(Qt),p=Gt(),g=e.shouldForwardProp||p.shouldForwardProp;"production"!==process.env.NODE_ENV&&r(u);var m=De(n,f,s)||Ve,v=function(e,t,n){for(var o,r=h(h({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=ut(o=e[i])?o(r):o;for(var l in a)r[l]="className"===l?ft(r[l],a[l]):"style"===l?h(h({},r[l]),a[l]):a[l]}return t.className&&(r.className=ft(r.className,t.className)),r}(a,n,m),b=v.as||d,w={};for(var x in v)void 0===v[x]||"$"===x[0]||"as"===x||"theme"===x&&v.theme===m||("forwardedAs"===x?w.as=v.forwardedAs:g&&!g(x,b)||(w[x]=v[x],g||"development"!==process.env.NODE_ENV||y(x)||tn.has(x)||!Ae.has(b)||(tn.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" 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 S=function(e,t){var n=Gt(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&r(o),o}(l,v);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=ft(c,u);return S&&(C+=" "+S),v.className&&(C+=" "+v.className),w[Ye(b)&&!Ae.has(b)?"class":"className"]=C,w.ref=o,i(b,w)}(R,e,n)}C.displayName=g;var R=t.forwardRef(C);return R.attrs=v,R.componentStyle=S,R.displayName=g,R.shouldForwardProp=b,R.foldedComponentIds=a?ft(l.foldedComponentIds,l.styledComponentId):"",R.styledComponentId=m,R.target=a?l.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=a?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)ht(e,r[o],!0);return e}({},l.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Me(g,m),R.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,n={}}}}(g,m)),mt(R,(function(){return".".concat(R.styledComponentId)})),s&&ct(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function on(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var rn=function(e){return Object.assign(e,{isCss:!0})};function an(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(ut(e)||gt(e))return rn(Xt(on(Ie,m([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Xt(o):rn(Xt(on(o,t)))}function ln(e,t,n){if(void 0===n&&(n=Ve),!t)throw yt(1,t);var o=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,an.apply(void 0,m([o],r,!1)))};return o.attrs=function(o){return ln(e,t,h(h({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return ln(e,t,h(h({},n),o))},o}var sn=function(e){return ln(nn,e)},cn=sn;Ae.forEach((function(e){cn[e]=sn(e)}));var un=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Kt(e),Tt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(pt(Xt(this.rules,t,n,o)),""),i=this.componentId+e;n.insertRules(i,i,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&Tt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function dn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=pt(an.apply(void 0,m([e],t,!1))),r=Ue(o);return new Bt(r,o)}"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var fn="__sc-".concat(xe,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[fn]||(window[fn]=0),1===window[fn]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[fn]+=1);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}('/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\nbody {\n line-height: 1;\n}\nol,\nul {\n list-style: none;\n}\nblockquote,\nq {\n quotes: none;\n}\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n');const pn=(function(e){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=an.apply(void 0,m([e],n,!1)),i="sc-global-".concat(Ue(JSON.stringify(r))),a=new un(r,i);"production"!==process.env.NODE_ENV&&Me(i);var l=function(e){var n=Gt(),o=t.useContext(Qt),s=t.useRef(n.styleSheet.allocateGSInstance(i)).current;return"production"!==process.env.NODE_ENV&&t.Children.count(e.children)&&console.warn("The global style component ".concat(i," was given child JSX. createGlobalStyle does not render children.")),"production"!==process.env.NODE_ENV&&r.some((function(e){return"string"==typeof e&&-1!==e.indexOf("@import")}))&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),n.styleSheet.server&&function(e,t,n,o,r){if(a.isStatic)a.renderStyles(e,Pe,n,r);else{var i=h(h({},t),{theme:De(t,o,l.defaultProps)});a.renderStyles(e,i,n,r)}}(s,e,n.styleSheet,o,n.stylis),null};return t.memo(l)})`
2
- :root {
3
- /* HarperCollins Enterprise Design System in progress */
4
- /* https://www.figma.com/proto/8hrCEYpQtKYk2XlvToxk0s/Manuscript-Analytics?page-id=0%3A1&node-id=136-31833&starting-point-node-id=118%3A26705&show-proto-sidebar=1&mode=design&t=En7ZwEVsDyXxqaeu-1 */
5
- --color--black: #000000;
6
- --color--grey-dark: #262626;
7
- --color--grey: #5c5c5c;
8
- --color--grey-light: #a8aab7;
9
- --color--grey-lighter: #f5f5f5;
10
- --color--grey-lightest: #f3f6fa;
11
- --color--grey-borders: #d7d7d7;
12
- --color--grey-line: #e0e0e0;
13
- --color--grey-hover: #f9f9f9;
14
- --color--white: #fff;
15
-
16
- --color--teal: #007d7e;
17
- --color--teal-light: #00b0b1;
18
- --color--teal-tint: #f2fcfc;
19
-
20
- --color--red: #d9303e;
21
- --color--red-dark: #c02330;
22
- --color--red-light: #f7dbdd;
23
- --color--red-tint: #ffdddf;
24
-
25
- --color--amber: #e9b04d;
26
- --color--amber-tint: #faecd5;
27
- --color--orange: #f5a623;
28
- --color--orange-dark: #eb6f00;
29
- --color--orange-light: #f2c06f;
30
-
31
- --color--green: #29c889;
32
- --color--green-dark: #1c874c;
33
- --color--green-light: #afe7d0;
34
- --color--indigo: #2e1f5e;
35
- --color--lemon: #ffe60b;
36
- --color--focus-outline: #fcc726;
37
-
38
- --color--dark-blue: #192a3c;
39
-
40
- --color--primary: #4c3fdd;
41
- --color--primary-light: #4c3fdddb;
42
- --color--primary-verylight: #a8a0f7;
43
- --color--body: var(--color--dark-blue);
44
-
45
- --color--danger: var(--color--red);
46
- --color--danger-light: var(--color--red-light);
47
- --color--warning: var(--color--orange);
48
- --color--warning-light: var(--color--orange-light);
49
- --color--success: var(--color--green);
50
-
51
- --color--dark-blue: #192a3c;
52
-
53
- --color--debug: #663399;
54
- --color--debug-light: #663399db;
55
- --color--debug-very-light: #6633991a;
56
-
57
- /* Fonts */
58
- --font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,
59
- "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;
60
-
61
- --font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,
62
- "Courier New", monospace;
63
-
64
- /* Spacing */
65
- --spacing--xxxsmall: 0.1rem;
66
- --spacing--xxsmall: 0.2rem;
67
- --spacing--xsmall: 0.3rem;
68
- --spacing--small: 0.5rem;
69
- --spacing--medium: 1rem;
70
- --spacing--large: 2rem;
71
- --spacing--xlarge: 4rem;
72
-
73
- /* Font sizes */
74
- --font-size--xxsmall: 0.6rem;
75
- --font-size--xsmall: 0.75rem;
76
- --font-size--small: 0.875rem;
77
- --font-size--medium: 1rem;
78
- --font-size--large: 1.25rem;
79
- --font-size--xlarge: 1.5rem;
80
- --font-size--xxlarge: 2rem;
81
- --font-size--xxxlarge: 3rem;
82
-
83
- /* Line heights */
84
- --line-height--small: 1.2rem;
85
- --line-height--medium: 1.4rem;
86
- --line-height--large: 1.4rem;
87
-
88
- /* Font weights */
89
- --font-weight--thin: 200;
90
- --font-weight--light: 300;
91
- --font-weight--regular: 400;
92
- --font-weight--medium: 500;
93
- --font-weight--bold: 700;
94
-
95
- /* Border radius */
96
- --border-radius--small: 0.25rem;
97
- --border-radius--medium: 0.5rem;
98
- --border-radius--large: 1rem;
99
- --border-radius--xlarge: 2rem;
100
-
101
- /* Box shadows */
102
- --box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
103
-
104
- /* Breakpoints */
105
- --breakpoint--small: 480px;
106
- --breakpoint--medium: 768px;
107
- --breakpoint--large: 1024px;
108
- --breakpoint--xlarge: 1200px;
109
- --breakpoint--xxlarge: 1440px;
110
- --breakpoint--xxxlarge: 1920px;
111
- }
112
-
113
- *,
114
- *::before,
115
- *::after {
116
- box-sizing: border-box;
117
- }
1
+ import*as e from"react";import t,{useRef as n,useContext as o,useMemo as r,useDebugValue as i,createElement as a,useState as l,useEffect as s,useLayoutEffect as c,forwardRef as u,useCallback as d}from"react";import{jsx as f,jsxs as p,Fragment as g}from"react/jsx-runtime";import*as h from"react-dom";var m=function(){return m=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m.apply(this,arguments)};function v(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function b(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var y=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,w=b((function(e){return y.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var C="-ms-",R="-moz-",k="-webkit-",O="comm",E="rule",P="decl",z="@import",F="@keyframes",M="@layer",I=Math.abs,V=String.fromCharCode,D=Object.assign;function A(e){return e.trim()}function T(e,t){return(e=t.exec(e))?e[0]:e}function _(e,t,n){return e.replace(t,n)}function N(e,t,n){return e.indexOf(t,n)}function L(e,t){return 0|e.charCodeAt(t)}function $(e,t,n){return e.slice(t,n)}function j(e){return e.length}function H(e){return e.length}function G(e,t){return t.push(e),e}function B(e,t){return e.filter((function(e){return!T(e,t)}))}var q=1,U=1,W=0,Y=0,X=0,K="";function J(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:q,column:U,length:a,return:"",siblings:l}}function Z(e,t){return D(J("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Q(e){for(;e.root;)e=Z(e.root,{children:[e]});G(e,e.siblings)}function ee(){return X=Y>0?L(K,--Y):0,U--,10===X&&(U=1,q--),X}function te(){return X=Y<W?L(K,Y++):0,U++,10===X&&(U=1,q++),X}function ne(){return L(K,Y)}function oe(){return Y}function re(e,t){return $(K,e,t)}function ie(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ae(e){return A(re(Y-1,ce(91===e?e+2:40===e?e+1:e)))}function le(e){for(;(X=ne())&&X<33;)te();return ie(e)>2||ie(X)>3?"":" "}function se(e,t){for(;--t&&te()&&!(X<48||X>102||X>57&&X<65||X>70&&X<97););return re(e,oe()+(t<6&&32==ne()&&32==te()))}function ce(e){for(;te();)switch(X){case e:return Y;case 34:case 39:34!==e&&39!==e&&ce(X);break;case 40:41===e&&ce(e);break;case 92:te()}return Y}function ue(e,t){for(;te()&&e+X!==57&&(e+X!==84||47!==ne()););return"/*"+re(t,Y-1)+"*"+V(47===e?e:te())}function de(e){for(;!ie(ne());)te();return re(e,Y)}function fe(e){return function(e){return K="",e}(pe("",null,null,null,[""],e=function(e){return q=U=1,W=j(K=e),Y=0,[]}(e),0,[0],e))}function pe(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,f=0,p=0,g=0,h=1,m=1,v=1,b=0,y="",w=r,x=i,S=o,C=y;m;)switch(g=b,b=te()){case 40:if(108!=g&&58==L(C,d-1)){-1!=N(C+=_(ae(b),"&","&\f"),"&\f",I(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=ae(b);break;case 9:case 10:case 13:case 32:C+=le(g);break;case 92:C+=se(oe()-1,7);continue;case 47:switch(ne()){case 42:case 47:G(he(ue(te(),oe()),t,n,s),s);break;default:C+="/"}break;case 123*h:l[c++]=j(C)*v;case 125*h:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(C=_(C,/\f/g,"")),p>0&&j(C)-d&&G(p>32?me(C+";",o,n,d-1,s):me(_(C," ","")+";",o,n,d-2,s),s);break;case 59:C+=";";default:if(G(S=ge(C,t,n,c,u,r,l,y,w=[],x=[],d,i),i),123===b)if(0===u)pe(C,t,S,S,w,i,d,l,x);else switch(99===f&&110===L(C,3)?100:f){case 100:case 108:case 109:case 115:pe(e,S,S,o&&G(ge(e,S,S,0,0,r,l,y,r,w=[],d,x),x),r,x,d,l,o?w:x);break;default:pe(C,S,S,S,[""],x,0,l,x)}}c=u=p=0,h=v=1,y=C="",d=a;break;case 58:d=1+j(C),p=g;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==ee())continue;switch(C+=V(b),b*h){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(j(C)-1)*v,v=1;break;case 64:45===ne()&&(C+=ae(te())),f=ne(),u=d=j(y=C+=de(oe())),b++;break;case 45:45===g&&2==j(C)&&(h=0)}}return i}function ge(e,t,n,o,r,i,a,l,s,c,u,d){for(var f=r-1,p=0===r?i:[""],g=H(p),h=0,m=0,v=0;h<o;++h)for(var b=0,y=$(e,f+1,f=I(m=a[h])),w=e;b<g;++b)(w=A(m>0?p[b]+" "+y:_(y,/&\f/g,p[b])))&&(s[v++]=w);return J(e,t,n,0===r?E:l,s,c,u,d)}function he(e,t,n,o){return J(e,t,n,O,V(X),$(e,2,-2),0,o)}function me(e,t,n,o,r){return J(e,t,n,P,$(e,0,o),$(e,o+1,-1),o,r)}function ve(e,t,n){switch(function(e,t){return 45^L(e,0)?(((t<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}(e,t)){case 5103:return k+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return k+e+e;case 4789:return R+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+R+e+C+e+e;case 5936:switch(L(e,t+11)){case 114:return k+e+C+_(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+C+_(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+C+_(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return k+e+C+e+e;case 6165:return k+e+C+"flex-"+e+e;case 5187:return k+e+_(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return k+e+C+"flex-item-"+_(e,/flex-|-self/g,"")+(T(e,/flex-|baseline/)?"":C+"grid-row-"+_(e,/flex-|-self/g,""))+e;case 4675:return k+e+C+"flex-line-pack"+_(e,/align-content|flex-|-self/g,"")+e;case 5548:return k+e+C+_(e,"shrink","negative")+e;case 5292:return k+e+C+_(e,"basis","preferred-size")+e;case 6060:return k+"box-"+_(e,"-grow","")+k+e+C+_(e,"grow","positive")+e;case 4554:return k+_(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return _(_(_(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return _(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return _(_(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4200:if(!T(e,/flex-|baseline/))return C+"grid-column-align"+$(e,t)+e;break;case 2592:case 3360:return C+_(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,T(e.props,/grid-\w+-end/)}))?~N(e+(n=n[t].value),"span",0)?e:C+_(e,"-start","")+e+C+"grid-row-span:"+(~N(n,"span",0)?T(n,/\d+/):+T(n,/\d+/)-+T(e,/\d+/))+";":C+_(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return T(e.props,/grid-\w+-start/)}))?e:C+_(_(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return _(e,/(.+)-inline(.+)/,k+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(j(e)-1-t>6)switch(L(e,t+1)){case 109:if(45!==L(e,t+4))break;case 102:return _(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+R+(108==L(e,t+3)?"$3":"$2-$3"))+e;case 115:return~N(e,"stretch",0)?ve(_(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return _(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,i,a,l){return C+n+":"+o+l+(r?C+n+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===L(e,t+6))return _(e,":",":"+k)+e;break;case 6444:switch(L(e,45===L(e,14)?18:11)){case 120:return _(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+k+(45===L(e,14)?"inline-":"")+"box$3$1"+k+"$2$3$1"+C+"$2box$3")+e;case 100:return _(e,":",":"+C)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return _(e,"scroll-","scroll-snap-")+e}return e}function be(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function ye(e,t,n,o){switch(e.type){case M:if(e.children.length)break;case z:case P:return e.return=e.return||e.value;case O:return"";case F:return e.return=e.value+"{"+be(e.children,o)+"}";case E:if(!j(e.value=e.props.join(",")))return""}return j(n=be(e.children,o))?e.return=e.value+"{"+n+"}":""}function we(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case P:return void(e.return=ve(e.value,e.length,n));case F:return be([Z(e,{value:_(e.value,"@","@"+k)})],o);case E:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(T(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Q(Z(e,{props:[_(t,/:(read-\w+)/,":"+R+"$1")]})),Q(Z(e,{props:[t]})),D(e,{props:B(n,o)});break;case"::placeholder":Q(Z(e,{props:[_(t,/:(plac\w+)/,":"+k+"input-$1")]})),Q(Z(e,{props:[_(t,/:(plac\w+)/,":"+R+"$1")]})),Q(Z(e,{props:[_(t,/:(plac\w+)/,C+"input-$1")]})),Q(Z(e,{props:[t]})),D(e,{props:B(n,o)})}return""}))}}var xe={animationIterationCount: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},Se="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ce="active",Re="data-styled-version",ke="6.1.8",Oe="/*!sc*/\n",Ee="undefined"!=typeof window&&"HTMLElement"in window,Pe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),ze={},Fe=/invalid hook call/i,Me=new Set,Ie=function(e,t){if("production"!==process.env.NODE_ENV){var o=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Fe.test(e)?(a=!1,Me.delete(r)):i.apply(void 0,v([e],t,!1))},n(),a&&!Me.has(r)&&(console.warn(r),Me.add(r))}catch(e){Fe.test(e.message)&&Me.delete(r)}finally{console.error=i}}},Ve=Object.freeze([]),De=Object.freeze({});function Ae(e,t,n){return void 0===n&&(n=De),e.theme!==n.theme&&e.theme||t||n.theme}var Te=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"]),_e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ne=/(^-|-$)/g;function Le(e){return e.replace(_e,"-").replace(Ne,"")}var $e=/(a)(d)/gi,je=52,He=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ge(e){var t,n="";for(t=Math.abs(e);t>je;t=t/je|0)n=He(t%je)+n;return(He(t%je)+n).replace($e,"$1-$2")}var Be,qe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ue=function(e){return qe(5381,e)};function We(e){return Ge(Ue(e)>>>0)}function Ye(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Xe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ke="function"==typeof Symbol&&Symbol.for,Je=Ke?Symbol.for("react.memo"):60115,Ze=Ke?Symbol.for("react.forward_ref"):60112,Qe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},et={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},nt=((Be={})[Ze]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Be[Je]=tt,Be);function ot(e){return("type"in(t=e)&&t.type.$$typeof)===Je?tt:"$$typeof"in e?nt[e.$$typeof]:Qe;var t}var rt=Object.defineProperty,it=Object.getOwnPropertyNames,at=Object.getOwnPropertySymbols,lt=Object.getOwnPropertyDescriptor,st=Object.getPrototypeOf,ct=Object.prototype;function ut(e,t,n){if("string"!=typeof t){if(ct){var o=st(t);o&&o!==ct&&ut(e,o,n)}var r=it(t);at&&(r=r.concat(at(t)));for(var i=ot(e),a=ot(t),l=0;l<r.length;++l){var s=r[l];if(!(s in et||n&&n[s]||a&&s in a||i&&s in i)){var c=lt(t,s);try{rt(e,s,c)}catch(e){}}}}return e}function dt(e){return"function"==typeof e}function ft(e){return"object"==typeof e&&"styledComponentId"in e}function pt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function gt(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ht(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function mt(e,t,n){if(void 0===n&&(n=!1),!n&&!ht(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=mt(e[o],t[o]);else if(ht(t))for(var o in t)e[o]=mt(e[o],t[o]);return e}function vt(e,t){Object.defineProperty(e,"toString",{value:t})}var bt="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",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.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",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.\n\n',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\n\n",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.\n\n",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.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',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.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function yt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,i=e.length;r<i;r+=1)o.push(e[r]);return o.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function wt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(yt.apply(void 0,v([bt[e]],t,!1)).trim())}var xt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw wt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=o;i<r;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,i=o;i<r;i++)t+="".concat(this.tag.getRule(i)).concat(Oe);return t},e}(),St=new Map,Ct=new Map,Rt=1,kt=function(e){if(St.has(e))return St.get(e);for(;Ct.has(Rt);)Rt++;var t=Rt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw wt(16,"".concat(t));return St.set(e,t),Ct.set(t,e),t},Ot=function(e,t){Rt=t+1,St.set(e,t),Ct.set(t,e)},Et="style[".concat(Se,"][").concat(Re,'="').concat(ke,'"]'),Pt=new RegExp("^".concat(Se,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),zt=function(e,t,n){for(var o,r=n.split(","),i=0,a=r.length;i<a;i++)(o=r[i])&&e.registerName(t,o)},Ft=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Oe),r=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(Pt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(Ot(u,c),zt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}};var Mt=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Se,"]")));return t[t.length-1]}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(Se,Ce),o.setAttribute(Re,ke);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),n.insertBefore(o,i),o},It=function(){function e(e){this.element=Mt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw wt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Vt=function(){function e(e){this.element=Mt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Dt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),At=Ee,Tt={isServer:!Ee,useCSSOMInjection:!Pe},_t=function(){function e(e,t,n){void 0===e&&(e=De),void 0===t&&(t={});var o=this;this.options=m(m({},Tt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ee&&At&&(At=!1,function(e){for(var t=document.querySelectorAll(Et),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(Se)!==Ce&&(Ft(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),vt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return Ct.get(e)}(n);if(void 0===r)return"continue";var i=e.names.get(r),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var l="".concat(Se,".g").concat(n,'[id="').concat(r,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(Oe)},i=0;i<n;i++)r(i);return o}(o)}))}return e.registerId=function(e){return kt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(m(m({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Dt(n):t?new It(n):new Vt(n)}(this.options),new xt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(kt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(kt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(kt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Nt=/&/g,Lt=/^\s*\/\/.*$/gm;function $t(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=$t(e.children,t)),e}))}var jt=new _t,Ht=function(e){var t,n,o,r=void 0===e?De:e,i=r.options,a=void 0===i?De:i,l=r.plugins,s=void 0===l?Ve:l,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===E&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Nt,n).replace(o,c))})),a.prefix&&u.push(we),u.push(ye);var d=function(e,r,i,l){void 0===r&&(r=""),void 0===i&&(i=""),void 0===l&&(l="&"),t=l,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(Lt,""),c=fe(i||r?"".concat(i," ").concat(r," { ").concat(s," }"):s);a.namespace&&(c=$t(c,a.namespace));var d,f=[];return be(c,function(e){var t=H(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}(u.concat((d=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),f};return d.hash=s.length?s.reduce((function(e,t){return t.name||wt(15),qe(e,t.name)}),5381).toString():"",d}(),Gt=t.createContext({shouldForwardProp:void 0,styleSheet:jt,stylis:Ht});function Bt(){return o(Gt)}Gt.Consumer,t.createContext(void 0);var qt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ht);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,vt(this,(function(){throw wt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Ht),this.name+e.hash},e}(),Ut=function(e){return e>="A"&&e<="Z"};function Wt(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Ut(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Yt=function(e){return null==e||!1===e||""===e},Xt=function(e){var t,n,o=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!Yt(i)&&(Array.isArray(i)&&i.isCss||dt(i)?o.push("".concat(Wt(r),":"),i,";"):ht(i)?o.push.apply(o,v(v(["".concat(r," {")],Xt(i),!1),["}"],!1)):o.push("".concat(Wt(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in xe||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Kt(e,t,n,o){if(Yt(e))return[];if(ft(e))return[".".concat(e.styledComponentId)];if(dt(e)){if(!dt(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var r=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof qt||ht(r)||null===r||console.error("".concat(Ye(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Kt(r,t,n,o)}var i;return e instanceof qt?n?(e.inject(n,o),[e.getName(o)]):[e]:ht(e)?Xt(e):Array.isArray(e)?Array.prototype.concat.apply(Ve,e.map((function(e){return Kt(e,t,n,o)}))):[e.toString()]}function Jt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(dt(n)&&!ft(n))return!1}return!0}var Zt=Ue(ke),Qt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Jt(e),this.componentId=t,this.baseHash=qe(Zt,t),this.baseStyle=n,_t.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=pt(o,this.staticRulesId);else{var r=gt(Kt(this.rules,e,t,n)),i=Ge(qe(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(r,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}o=pt(o,i),this.staticRulesId=i}else{for(var l=qe(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=qe(l,u));else if(u){var d=gt(Kt(u,e,t,n));l=qe(l,d+c),s+=d}}if(s){var f=Ge(l>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(s,".".concat(f),void 0,this.componentId)),o=pt(o,f)}}return o},e}(),en=t.createContext(void 0);function tn(e){var n=t.useContext(en),o=r((function(){return function(e,t){if(!e)throw wt(14);if(dt(e)){var n=e(t);if("production"!==process.env.NODE_ENV&&(null===n||Array.isArray(n)||"object"!=typeof n))throw wt(7);return n}if(Array.isArray(e)||"object"!=typeof e)throw wt(8);return t?m(m({},t),e):e}(e.theme,n)}),[e.theme,n]);return e.children?t.createElement(en.Provider,{value:o},e.children):null}en.Consumer;var nn={},on=new Set;function rn(e,n,o){var r=ft(e),l=e,s=!Xe(e),c=n.attrs,u=void 0===c?Ve:c,d=n.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Le(e);nn[n]=(nn[n]||0)+1;var o="".concat(n,"-").concat(We(ke+n+nn[n]));return t?"".concat(t,"-").concat(o):o}(n.displayName,n.parentComponentId):d,p=n.displayName,g=void 0===p?function(e){return Xe(e)?"styled.".concat(e):"Styled(".concat(Ye(e),")")}(e):p,h=n.displayName&&n.componentId?"".concat(Le(n.displayName),"-").concat(n.componentId):n.componentId||f,v=r&&l.attrs?l.attrs.concat(u).filter(Boolean):u,b=n.shouldForwardProp;if(r&&l.shouldForwardProp){var y=l.shouldForwardProp;if(n.shouldForwardProp){var x=n.shouldForwardProp;b=function(e,t){return y(e,t)&&x(e,t)}}else b=y}var S=new Qt(o,h,r?l.componentStyle:void 0);function C(e,n){return function(e,n,o){var r=e.attrs,l=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=t.useContext(en),p=Bt(),g=e.shouldForwardProp||p.shouldForwardProp;"production"!==process.env.NODE_ENV&&i(u);var h=Ae(n,f,s)||De,v=function(e,t,n){for(var o,r=m(m({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=dt(o=e[i])?o(r):o;for(var l in a)r[l]="className"===l?pt(r[l],a[l]):"style"===l?m(m({},r[l]),a[l]):a[l]}return t.className&&(r.className=pt(r.className,t.className)),r}(r,n,h),b=v.as||d,y={};for(var x in v)void 0===v[x]||"$"===x[0]||"as"===x||"theme"===x&&v.theme===h||("forwardedAs"===x?y.as=v.forwardedAs:g&&!g(x,b)||(y[x]=v[x],g||"development"!==process.env.NODE_ENV||w(x)||on.has(x)||!Te.has(b)||(on.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" 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 S=function(e,t){var n=Bt(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&i(o),o}(l,v);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=pt(c,u);return S&&(C+=" "+S),v.className&&(C+=" "+v.className),y[Xe(b)&&!Te.has(b)?"class":"className"]=C,y.ref=o,a(b,y)}(R,e,n)}C.displayName=g;var R=t.forwardRef(C);return R.attrs=v,R.componentStyle=S,R.displayName=g,R.shouldForwardProp=b,R.foldedComponentIds=r?pt(l.foldedComponentIds,l.styledComponentId):"",R.styledComponentId=h,R.target=r?l.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)mt(e,r[o],!0);return e}({},l.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Ie(g,h),R.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,n={}}}}(g,h)),vt(R,(function(){return".".concat(R.styledComponentId)})),s&&ut(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function an(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ln=function(e){return Object.assign(e,{isCss:!0})};function sn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(dt(e)||ht(e))return ln(Kt(an(Ve,v([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Kt(o):ln(Kt(an(o,t)))}function cn(e,t,n){if(void 0===n&&(n=De),!t)throw wt(1,t);var o=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,sn.apply(void 0,v([o],r,!1)))};return o.attrs=function(o){return cn(e,t,m(m({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return cn(e,t,m(m({},n),o))},o}var un=function(e){return cn(rn,e)},dn=un;Te.forEach((function(e){dn[e]=un(e)}));var fn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Jt(e),_t.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(gt(Kt(this.rules,t,n,o)),""),i=this.componentId+e;n.insertRules(i,i,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&_t.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function pn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=gt(sn.apply(void 0,v([e],t,!1))),r=We(o);return new qt(r,o)}"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var gn="__sc-".concat(Se,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[gn]||(window[gn]=0),1===window[gn]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[gn]+=1);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}('/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\nbody {\n line-height: 1;\n}\nol,\nul {\n list-style: none;\n}\nblockquote,\nq {\n quotes: none;\n}\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n');const hn=(function(e){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=sn.apply(void 0,v([e],n,!1)),i="sc-global-".concat(We(JSON.stringify(r))),a=new fn(r,i);"production"!==process.env.NODE_ENV&&Ie(i);var l=function(e){var n=Bt(),o=t.useContext(en),s=t.useRef(n.styleSheet.allocateGSInstance(i)).current;return"production"!==process.env.NODE_ENV&&t.Children.count(e.children)&&console.warn("The global style component ".concat(i," was given child JSX. createGlobalStyle does not render children.")),"production"!==process.env.NODE_ENV&&r.some((function(e){return"string"==typeof e&&-1!==e.indexOf("@import")}))&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),n.styleSheet.server&&function(e,t,n,o,r){if(a.isStatic)a.renderStyles(e,ze,n,r);else{var i=m(m({},t),{theme:Ae(t,o,l.defaultProps)});a.renderStyles(e,i,n,r)}}(s,e,n.styleSheet,o,n.stylis),null};return t.memo(l)})`
2
+ :root {
3
+ /* HarperCollins Enterprise Design System in progress */
4
+ /* https://www.figma.com/proto/8hrCEYpQtKYk2XlvToxk0s/Manuscript-Analytics?page-id=0%3A1&node-id=136-31833&starting-point-node-id=118%3A26705&show-proto-sidebar=1&mode=design&t=En7ZwEVsDyXxqaeu-1 */
5
+ --color--black: #000000;
6
+ --color--grey-dark: #262626;
7
+ --color--grey: #5c5c5c;
8
+ --color--grey-light: #a8aab7;
9
+ --color--grey-lighter: #f5f5f5;
10
+ --color--grey-lightest: #f3f6fa;
11
+ --color--grey-borders: #d7d7d7;
12
+ --color--grey-line: #e0e0e0;
13
+ --color--grey-hover: #f9f9f9;
14
+ --color--white: #fff;
15
+
16
+ --color--teal: #007d7e;
17
+ --color--teal-light: #00b0b1;
18
+ --color--teal-tint: #f2fcfc;
19
+
20
+ --color--red: #d9303e;
21
+ --color--red-dark: #c02330;
22
+ --color--red-light: #f7dbdd;
23
+ --color--red-tint: #ffdddf;
24
+
25
+ --color--amber: #e9b04d;
26
+ --color--amber-tint: #faecd5;
27
+ --color--orange: #f5a623;
28
+ --color--orange-dark: #eb6f00;
29
+ --color--orange-light: #f2c06f;
30
+
31
+ --color--green: #29c889;
32
+ --color--green-dark: #1c874c;
33
+ --color--green-light: #afe7d0;
34
+ --color--indigo: #2e1f5e;
35
+ --color--lemon: #ffe60b;
36
+ --color--focus-outline: #fcc726;
37
+
38
+ --color--dark-blue: #192a3c;
39
+
40
+ --color--primary: #4c3fdd;
41
+ --color--primary-light: #4c3fdddb;
42
+ --color--primary-verylight: #a8a0f7;
43
+ --color--body: var(--color--dark-blue);
44
+
45
+ --color--danger: var(--color--red);
46
+ --color--danger-light: var(--color--red-light);
47
+ --color--warning: var(--color--orange);
48
+ --color--warning-light: var(--color--orange-light);
49
+ --color--success: var(--color--green);
50
+
51
+ --color--dark-blue: #192a3c;
52
+
53
+ --color--debug: #663399;
54
+ --color--debug-light: #663399db;
55
+ --color--debug-very-light: #6633991a;
56
+
57
+ /* Fonts */
58
+ --font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,
59
+ "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell,
60
+ sans-serif;
61
+
62
+ --font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,
63
+ "Courier New", monospace;
64
+
65
+ /* Spacing */
66
+ --spacing--xxxsmall: 0.1rem;
67
+ --spacing--xxsmall: 0.2rem;
68
+ --spacing--xsmall: 0.3rem;
69
+ --spacing--small: 0.5rem;
70
+ --spacing--medium: 1rem;
71
+ --spacing--large: 2rem;
72
+ --spacing--xlarge: 4rem;
73
+
74
+ /* Font sizes */
75
+ --font-size--xxsmall: 0.6rem;
76
+ --font-size--xsmall: 0.75rem;
77
+ --font-size--small: 0.875rem;
78
+ --font-size--medium: 1rem;
79
+ --font-size--large: 1.25rem;
80
+ --font-size--xlarge: 1.5rem;
81
+ --font-size--xxlarge: 2rem;
82
+ --font-size--xxxlarge: 3rem;
83
+
84
+ /* Line heights */
85
+ --line-height--small: 1.2rem;
86
+ --line-height--medium: 1.4rem;
87
+ --line-height--large: 1.4rem;
88
+
89
+ /* Font weights */
90
+ --font-weight--thin: 200;
91
+ --font-weight--light: 300;
92
+ --font-weight--regular: 400;
93
+ --font-weight--medium: 500;
94
+ --font-weight--bold: 700;
95
+
96
+ /* Border radius */
97
+ --border-radius--small: 0.25rem;
98
+ --border-radius--medium: 0.5rem;
99
+ --border-radius--large: 1rem;
100
+ --border-radius--xlarge: 2rem;
101
+
102
+ /* Box shadows */
103
+ --box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
104
+
105
+ /* Breakpoints */
106
+ --breakpoint--small: 480px;
107
+ --breakpoint--medium: 768px;
108
+ --breakpoint--large: 1024px;
109
+ --breakpoint--xlarge: 1200px;
110
+ --breakpoint--xxlarge: 1440px;
111
+ --breakpoint--xxxlarge: 1920px;
112
+ }
113
+
114
+ *,
115
+ *::before,
116
+ *::after {
117
+ box-sizing: border-box;
118
+ }
119
+
120
+ * {
121
+ margin: 0;
122
+ }
118
123
 
119
- * {
120
- margin: 0;
121
- }
124
+ a {
125
+ color: var(--color--primary);
126
+ text-decoration: none;
122
127
 
123
- a {
124
- color: var(--color--primary);
125
- text-decoration: none;
128
+ &:hover,
129
+ &:focus {
130
+ text-decoration: underline;
131
+ }
132
+ }
126
133
 
127
- &:hover,
128
- &:focus {
129
- text-decoration: underline;
134
+ body,
135
+ button {
136
+ font-family: var(--font-family--sans-serif);
137
+ font-weight: var(--font-weight--regular);
138
+ font-style: normal;
139
+ }
140
+
141
+ body {
142
+ background-color: red;
143
+ line-height: 1.5;
144
+ -webkit-font-smoothing: antialiased;
145
+ color: var(--color--grey-dark);
146
+ -webkit-print-color-adjust: exact !important;
147
+ print-color-adjust: exact !important;
130
148
  }
131
- }
132
149
 
133
- body,
134
- button {
135
- font-family: var(--font-family--sans-serif);
136
- font-weight: var(--font-weight--regular);
137
- font-style: normal;
138
- }
150
+ b {
151
+ font-weight: var(--font-weight--bold);
152
+ }
139
153
 
140
- body {
141
- background-color: var(--color--grey-lightest);
142
- line-height: 1.5;
143
- -webkit-font-smoothing: antialiased;
144
- color: var(--color--grey-dark);
145
- -webkit-print-color-adjust: exact !important;
146
- print-color-adjust: exact !important;
147
- }
154
+ *:focus-visible {
155
+ outline: 3px solid var(--color--focus-outline);
156
+ }
148
157
 
149
- b {
150
- font-weight: var(--font-weight--bold);
151
- }
158
+ input,
159
+ button,
160
+ textarea,
161
+ select {
162
+ font: inherit;
163
+ }
152
164
 
153
- *:focus-visible {
154
- outline: 3px solid var(--color--focus-outline);
155
- }
165
+ textarea {
166
+ border: 1px solid var(--color--grey-borders);
167
+ border-radius: var(--border-radius--small);
168
+ background-color: var(--color--grey-lighter);
169
+ padding: var(--spacing--medium);
170
+ }
156
171
 
157
- input,
158
- button,
159
- textarea,
160
- select {
161
- font: inherit;
162
- }
172
+ p,
173
+ h1,
174
+ h2,
175
+ h3,
176
+ h4,
177
+ h5,
178
+ h6 {
179
+ overflow-wrap: break-word;
180
+ }
163
181
 
164
- textarea {
165
- border: 1px solid var(--color--grey-borders);
166
- border-radius: var(--border-radius--small);
167
- background-color: var(--color--grey-lighter);
168
- padding: var(--spacing--medium);
169
- }
170
-
171
- p,
172
- h1,
173
- h2,
174
- h3,
175
- h4,
176
- h5,
177
- h6 {
178
- overflow-wrap: break-word;
179
- }
180
-
181
- p {
182
- font-size: var(--font-size--medium);
183
- }
184
-
185
- #root,
186
- #__next {
187
- isolation: isolate;
188
- }
189
-
190
- small {
191
- font-size: 80%;
192
- color: var(--color--grey);
193
- }
182
+ p {
183
+ font-size: var(--font-size--medium);
184
+ }
185
+
186
+ #root,
187
+ #__next {
188
+ isolation: isolate;
189
+ }
194
190
 
195
- `,gn=cn.div`
191
+ small {
192
+ font-size: 80%;
193
+ color: var(--color--grey);
194
+ }
195
+ `,mn={colours:{primary:"var(--color--primary)"},fontFamily:"var(--font-family--sans-serif)"},vn=dn.div`
196
196
  color: var(--color--grey-dark);
197
197
  font-weight: var(--font-weight--bold);
198
198
 
@@ -222,59 +222,59 @@ small {
222
222
  h6 {
223
223
  font-size: 0.95rem;
224
224
  }
225
- `;function hn({children:e,as:t}){return t?d(gn,{children:d(t,{children:e})}):null}const mn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:d("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"})}),vn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"question-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"})}),bn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})}),yn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})}),wn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"plus-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"})}),xn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"ellipsis-h",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"})}),Sn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-down",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{fill:"currentColor",d:"M444.5 133.5L234.5 343.5c-4.7 4.7-12.3 4.7-17 0L3.5 133.5C-1.2 128.6-1.2 120.9 3.5 116l22.3-22.3c4.7-4.7 12.3-4.7 17 0L224 278.1l180.2-180.2c4.7-4.7 12.3-4.7 17 0l22.3 22.3c4.7 4.8 4.7 12.5-.1 17.2z"})}),Cn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"user-regular",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{fill:"currentColor",d:"M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"})}),Rn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-left",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{fill:"currentColor",d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"})}),kn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-right",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{fill:"currentColor",d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}),On=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"file-arrow-down",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:d("path",{fill:"currentColor",d:"M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"})}),En=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"trash-can",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{fill:"currentColor",d:"M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z"})}),Pn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"xmark",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"})}),zn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"clock",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"})}),Fn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"file-upload",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:d("path",{fill:"currentColor",d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"})}),Mn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"lock",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:d("path",{fill:"currentColor",d:"M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"})}),In=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"})}),Vn=d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"arrow-up-right-from-square",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"})}),Dn={"fa/exclamation-triangle-solid":mn,"fa/question-circle-regular":vn,"fa/check-circle-solid":bn,"fa/check-solid":yn,"fa/plus-circle-solid":wn,"fa/ellipsis-h-solid":xn,"fa/chevron-down-solid":Sn,"fa/chevron-up-solid":d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-up",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"})}),"fa/chevron-left-solid":Rn,"fa/chevron-right-solid":kn,"fa/user-regular":Cn,"fa/file-arrow-down-solid":On,"fa/trash-can-regular":En,"fa/xmark":Pn,"fa/clock":zn,"fa/file-upload-solid":Fn,"fa/lock-solid":Mn,"fa/info-circle-solid":In,"fa/arrow-up-right-from-square-solid":Vn,"fa/file-excel-regular":d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"file-excel",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm90.9 233.3c-8.1-10.5-23.2-12.3-33.7-4.2s-12.3 23.2-4.2 33.7L161.6 320l-44.5 57.3c-8.1 10.5-6.3 25.5 4.2 33.7s25.5 6.3 33.7-4.2L192 359.1l37.1 47.6c8.1 10.5 23.2 12.3 33.7 4.2s12.3-23.2 4.2-33.7L222.4 320l44.5-57.3c8.1-10.5 6.3-25.5-4.2-33.7s-25.5-6.3-33.7 4.2L192 280.9l-37.1-47.6z"})}),"fa/circle-solid":d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})}),"fa/circle-exclamation-solid":d("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:d("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"})})},An={xsmall:an`
225
+ `;function bn({children:e,as:t}){return t?f(vn,{children:f(t,{children:e})}):null}const yn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:f("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"})}),wn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"question-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"})}),xn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})}),Sn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})}),Cn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"plus-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"})}),Rn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"ellipsis-h",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"})}),kn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-down",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M444.5 133.5L234.5 343.5c-4.7 4.7-12.3 4.7-17 0L3.5 133.5C-1.2 128.6-1.2 120.9 3.5 116l22.3-22.3c4.7-4.7 12.3-4.7 17 0L224 278.1l180.2-180.2c4.7-4.7 12.3-4.7 17 0l22.3 22.3c4.7 4.8 4.7 12.5-.1 17.2z"})}),On=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"user-regular",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"})}),En=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-left",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"})}),Pn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-right",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}),zn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"file-arrow-down",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:f("path",{fill:"currentColor",d:"M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"})}),Fn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"trash-can",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z"})}),Mn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"xmark",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"})}),In=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"clock",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"})}),Vn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"file-upload",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:f("path",{fill:"currentColor",d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"})}),Dn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"lock",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"})}),An=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"})}),Tn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"arrow-up-right-from-square",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"})}),_n={"fa/exclamation-triangle-solid":yn,"fa/question-circle-regular":wn,"fa/check-circle-solid":xn,"fa/check-solid":Sn,"fa/plus-circle-solid":Cn,"fa/ellipsis-h-solid":Rn,"fa/chevron-down-solid":kn,"fa/chevron-up-solid":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-up",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"})}),"fa/chevron-left-solid":En,"fa/chevron-right-solid":Pn,"fa/user-regular":On,"fa/file-arrow-down-solid":zn,"fa/trash-can-regular":Fn,"fa/xmark":Mn,"fa/clock":In,"fa/file-upload-solid":Vn,"fa/lock-solid":Dn,"fa/info-circle-solid":An,"fa/arrow-up-right-from-square-solid":Tn,"fa/file-excel-regular":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"file-excel",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm90.9 233.3c-8.1-10.5-23.2-12.3-33.7-4.2s-12.3 23.2-4.2 33.7L161.6 320l-44.5 57.3c-8.1 10.5-6.3 25.5 4.2 33.7s25.5 6.3 33.7-4.2L192 359.1l37.1 47.6c8.1 10.5 23.2 12.3 33.7 4.2s12.3-23.2 4.2-33.7L222.4 320l44.5-57.3c8.1-10.5 6.3-25.5-4.2-33.7s-25.5-6.3-33.7 4.2L192 280.9l-37.1-47.6z"})}),"fa/circle-solid":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})}),"fa/circle-exclamation-solid":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"})})},Nn={xsmall:sn`
226
226
  width: 0.6rem;
227
227
  height: 0.6rem;
228
- `,small:an`
228
+ `,small:sn`
229
229
  width: 0.8rem;
230
230
  height: 0.8rem;
231
- `,medium:an`
231
+ `,medium:sn`
232
232
  width: 1rem;
233
233
  height: 1rem;
234
- `,large:an`
234
+ `,large:sn`
235
235
  width: 1.6rem;
236
236
  height: 1.6rem;
237
- `,xlarge:an`
237
+ `,xlarge:sn`
238
238
  width: 3rem;
239
239
  height: 3rem;
240
- `},Tn={default:an``,primary:an`
240
+ `},Ln={default:sn``,primary:sn`
241
241
  color: var(--color--primary);
242
- `,danger:an`
242
+ `,danger:sn`
243
243
  color: var(--color--danger);
244
- `,warning:an`
244
+ `,warning:sn`
245
245
  color: var(--color--warning);
246
- `,success:an`
246
+ `,success:sn`
247
247
  color: var(--color--success);
248
- `,grey:an`
248
+ `,grey:sn`
249
249
  color: var(--color--grey);
250
- `,green:an`
250
+ `,green:sn`
251
251
  color: var(--color--green-dark);
252
- `},_n=cn.i`
252
+ `},$n=dn.i`
253
253
  display: inline-block;
254
254
  svg {
255
255
  display: block;
256
256
  transition: color 0.2s ease-in-out;
257
257
 
258
- ${({size:e})=>An[e||"medium"]}
259
- ${({colour:e})=>Tn[e||"default"]}
258
+ ${({size:e})=>Nn[e||"medium"]}
259
+ ${({colour:e})=>Ln[e||"default"]}
260
260
  }
261
- `;function Nn({name:e,size:t,colour:n}){return d(_n,{size:t,colour:n,children:Dn[e]})}const Ln=cn.div`
261
+ `;function jn({name:e,size:t,colour:n}){return f($n,{size:t,colour:n,children:_n[e]})}const Hn=dn.div`
262
262
  border: 1px solid var(---color--grey-borders);
263
263
  width: 100%;
264
264
  font-size: 1.5rem;
265
- `,$n=cn.div`
265
+ `,Gn=dn.div`
266
266
  background-color: white;
267
267
  box-shadow: var(--box-shadow--medium);
268
268
  border-radius: var(--border-radius--small);
269
269
  h3 {
270
270
  margin: 0;
271
271
  }
272
- `,jn=cn.div`
272
+ `,Bn=dn.div`
273
273
  padding: var(---spacing--medium) var(--spacing--large);
274
274
  border-top: 0.1rem solid var(--color-text);
275
275
  background-color: var(--color-bakcground);
276
276
  padding: var(--spacing--medium);
277
- `,Hn=cn.button`
277
+ `,qn=dn.button`
278
278
  background-color: transparent;
279
279
  border-style: none;
280
280
  padding: var(--spacing--medium) var(--spacing--medium);
@@ -293,7 +293,7 @@ small {
293
293
  margin-left: auto;
294
294
  font-size: var(--font-size--large);
295
295
  }
296
- `;function Gn({title:e,children:t,open:n=!1}){const[o,r]=a(n);return f(Ln,{children:[d($n,{children:d(hn,{as:"h3",children:f(Hn,{type:"button","aria-expanded":o,onClick:()=>r(!o),"aria-controls":"accordion-content",children:[e,f("span",{children:[d(Nn,o?{name:"fa/chevron-up-solid"}:{name:"fa/chevron-down-solid"})," "]})]})})}),d(jn,{"aria-labelledby":"accordion-button",hidden:!o,role:"region",children:t})]})}const Bn=an`
296
+ `;function Un({title:e,children:t,open:n=!1}){const[o,r]=l(n);return p(Hn,{children:[f(Gn,{children:f(bn,{as:"h3",children:p(qn,{type:"button","aria-expanded":o,onClick:()=>r(!o),"aria-controls":"accordion-content",children:[e,p("span",{children:[f(jn,o?{name:"fa/chevron-up-solid"}:{name:"fa/chevron-down-solid"})," "]})]})})}),f(Bn,{"aria-labelledby":"accordion-button",hidden:!o,role:"region",children:t})]})}const Wn=sn`
297
297
  position: relative;
298
298
  display: inline-flex;
299
299
  flex-flow: row nowrap;
@@ -303,58 +303,58 @@ small {
303
303
  border-radius: var(--border-radius--medium);
304
304
  text-decoration: none;
305
305
  white-space: nowrap;
306
- `,qn={medium:an`
306
+ `,Yn={medium:sn`
307
307
  padding: var(--spacing--small) var(--spacing--medium);
308
308
  font-size: var(--font-size--medium);
309
309
  font-weight: 600;
310
- `,small:an`
310
+ `,small:sn`
311
311
  padding: var(--spacing--xsmall) var(--spacing--small);
312
312
  font-size: var(--font-size--small);
313
313
  font-weight: 500;
314
- `,xsmall:an`
314
+ `,xsmall:sn`
315
315
  padding: var(--spacing--xxsmall) var(--spacing--xsmall);
316
316
  font-size: var(--font-size--xsmall);
317
317
  font-weight: 500;
318
- `,xxsmall:an`
318
+ `,xxsmall:sn`
319
319
  padding: var(--spacing--xxxsmall) var(--spacing--xxsmall);
320
320
  font-size: var(--font-size--xxsmall);
321
321
  font-weight: 500;
322
- `},Un={default:an`
322
+ `},Xn={default:sn`
323
323
  background-color: transaprent;
324
324
  color: var(--color--body);
325
325
  border: 1px solid var(--color--grey-line);
326
- `,danger:an`
326
+ `,danger:sn`
327
327
  background-color: var(--color--white);
328
328
  color: var(--color--danger);
329
329
  border: 1px solid var(--color--danger-light);
330
- `,warning:an`
330
+ `,warning:sn`
331
331
  background-color: var(--color--white);
332
332
  color: var(--color--warning);
333
333
  border: 1px solid var(--color--warning-light);
334
- `,grey:an`
334
+ `,grey:sn`
335
335
  background-color: var(--color--grey-line);
336
336
  color: var(--color--grey-dark);
337
337
  border: 1px solid var(--color--grey-line);
338
- `},Wn=cn.div`
339
- ${Bn}
338
+ `},Kn=dn.div`
339
+ ${Wn}
340
340
 
341
- ${({size:e})=>qn[e||"medium"]}
342
- ${({kind:e})=>Un[e||"default"]}
343
- `;function Yn({children:e,...t}){return d(Wn,{...t,children:e})}const Xn=cn.hr`
341
+ ${({size:e})=>Yn[e||"medium"]}
342
+ ${({kind:e})=>Xn[e||"default"]}
343
+ `;function Jn({children:e,...t}){return f(Kn,{...t,children:e})}const Zn=dn.hr`
344
344
  border: 0;
345
345
  border-bottom: 1px solid var(--color--grey-line);
346
- `;function Kn({size:e="medium",value:t=0,kind:n="default",trafficLightRanges:o={red:{min:0,max:20,text:""},redLow:{min:20,max:40,text:""},orange:{min:40,max:60,text:""},green:{min:60,max:80,text:""},greenHigh:{min:80,max:100,text:""}}}){const r={mini:"0.8rem",tiny:"1rem",small:"1.2rem",medium:"1.6rem",large:"2rem"}[e],i={mini:50,tiny:75,small:100,medium:150,large:200}[e],s=(({kind:e,percentage:t,trafficLightRanges:n})=>{const o="var(--color--primary)",r="var(--color--danger)",i="var(--color--green-dark)",a="var(--color--red)",l="var(--color--orange-dark)",s="var(--color--green-dark)";return(()=>{if("traffic-light"===e){const e=Object.entries(n).find((([,e])=>t>=e.min&&t<=e.max))?.[0];return"red"===e||"redLow"===e?a:"orange"===e?l:"green"===e||"greenHigh"===e?s:"#d7d7d7"}return"danger"===e?r:"success"===e?i:"default"===e?o:"#d7d7d7"})()})({kind:n,percentage:Math.round(t),trafficLightRanges:o}),c=i/7,[u,p]=a(0);l((()=>{p(t)}),[t]);const g=(i-c)/2,h=g*Math.PI*2,m=u*h/100;return f("svg",{width:i,height:i,viewBox:`0 0 ${i} ${i}`,children:[d("circle",{fill:"white",stroke:"#d7d7d7",cx:i/2,cy:i/2,r:g,strokeWidth:`${c}px`}),d("circle",{fill:"none",stroke:s,cx:i/2,cy:i/2,r:g,strokeWidth:`${c}px`,transform:`rotate(-90 ${i/2} ${i/2})`,strokeDasharray:`${m}, ${h-m}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),d("text",{fill:"black",fontSize:r,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(v=t,v>=0&&v<=100?`${t}%`:"-")})]});var v}function Jn({size:e=80,strokeWidth:t=8,color:n="#4c3fdd"}){return f("svg",{width:e,height:e,viewBox:"0 0 200 200",color:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f("defs",{children:[f("linearGradient",{id:"spinner-secondHalf",children:[d("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),d("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),f("linearGradient",{id:"spinner-firstHalf",children:[d("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),d("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),f("g",{strokeWidth:t,children:[d("path",{stroke:"url(#spinner-secondHalf)",d:`M ${t/2} 100 A ${100-t/2} ${100-t/2} 0 0 1 ${200-t/2} 100`}),d("path",{stroke:"url(#spinner-firstHalf)",d:`M ${200-t/2} 100 A ${100-t/2} ${100-t/2} 0 0 1 ${t/2} 100`}),d("path",{stroke:"currentColor",strokeLinecap:"round",d:`M ${t/2} 100 A ${100-t/2} ${100-t/2} 0 0 1 ${t/2} ${100-t/4}`})]}),d("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}const Zn=cn.div`
346
+ `;function Qn({size:e="medium",value:t=0,kind:n="default",trafficLightRanges:o={red:{min:0,max:20,text:""},redLow:{min:20,max:40,text:""},orange:{min:40,max:60,text:""},green:{min:60,max:80,text:""},greenHigh:{min:80,max:100,text:""}}}){const r={mini:"0.8rem",tiny:"1rem",small:"1.2rem",medium:"1.6rem",large:"2rem"}[e],i={mini:50,tiny:75,small:100,medium:150,large:200}[e],a=(({kind:e,percentage:t,trafficLightRanges:n})=>{const o="var(--color--primary)",r="var(--color--danger)",i="var(--color--green-dark)",a="var(--color--red)",l="var(--color--orange-dark)",s="var(--color--green-dark)";return(()=>{if("traffic-light"===e){const e=Object.entries(n).find((([,e])=>t>=e.min&&t<=e.max))?.[0];return"red"===e||"redLow"===e?a:"orange"===e?l:"green"===e||"greenHigh"===e?s:"#d7d7d7"}return"danger"===e?r:"success"===e?i:"default"===e?o:"#d7d7d7"})()})({kind:n,percentage:Math.round(t),trafficLightRanges:o}),c=i/7,[u,d]=l(0);s((()=>{d(t)}),[t]);const g=(i-c)/2,h=g*Math.PI*2,m=u*h/100;return p("svg",{width:i,height:i,viewBox:`0 0 ${i} ${i}`,children:[f("circle",{fill:"white",stroke:"#d7d7d7",cx:i/2,cy:i/2,r:g,strokeWidth:`${c}px`}),f("circle",{fill:"none",stroke:a,cx:i/2,cy:i/2,r:g,strokeWidth:`${c}px`,transform:`rotate(-90 ${i/2} ${i/2})`,strokeDasharray:`${m}, ${h-m}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),f("text",{fill:"black",fontSize:r,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(v=t,v>=0&&v<=100?`${t}%`:"-")})]});var v}function eo({size:e=80,strokeWidth:t=8,color:n="#4c3fdd"}){return p("svg",{width:e,height:e,viewBox:"0 0 200 200",color:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[p("defs",{children:[p("linearGradient",{id:"spinner-secondHalf",children:[f("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),f("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),p("linearGradient",{id:"spinner-firstHalf",children:[f("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),f("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),p("g",{strokeWidth:t,children:[f("path",{stroke:"url(#spinner-secondHalf)",d:`M ${t/2} 100 A ${100-t/2} ${100-t/2} 0 0 1 ${200-t/2} 100`}),f("path",{stroke:"url(#spinner-firstHalf)",d:`M ${200-t/2} 100 A ${100-t/2} ${100-t/2} 0 0 1 ${t/2} 100`}),f("path",{stroke:"currentColor",strokeLinecap:"round",d:`M ${t/2} 100 A ${100-t/2} ${100-t/2} 0 0 1 ${t/2} ${100-t/4}`})]}),f("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}const to=dn.div`
347
347
  position: absolute;
348
348
  left: calc(50% - 40px);
349
349
  top: calc(50% - 40px);
350
- `,Qn=cn.div`
350
+ `,no=dn.div`
351
351
  position: absolute;
352
352
  top: 28px;
353
353
  font-size: var(---font-size--small);
354
354
  color: black;
355
355
  width: 80px;
356
356
  text-align: center;
357
- `;function eo(e){return f(Zn,{children:[d(Jn,{...e}),d(Qn,{children:"Loading"})]})}const to=an`
357
+ `;function oo(e){return p(to,{children:[f(eo,{...e}),f(no,{children:"Loading"})]})}const ro=sn`
358
358
  position: relative;
359
359
  transition:
360
360
  background-color 0.1s ease,
@@ -383,16 +383,16 @@ small {
383
383
  width: 90%;
384
384
  max-height: 90%;
385
385
  }
386
- `,no=an`
386
+ `,io=sn`
387
387
  padding: var(--spacing--small) var(--spacing--medium);
388
388
  font-size: 0.9rem;
389
389
  font-weight: 600;
390
- `,oo=an`
390
+ `,ao=sn`
391
391
  padding: var(--spacing--xsmall) var(--spacing--small);
392
392
  font-size: 0.8rem;
393
393
  font-weight: 500;
394
- `,ro=an`
395
- background-color: var(--color--primary);
394
+ `,lo=sn`
395
+ background-color: ${({theme:e})=>e.colours.primary};
396
396
  color: var(--color--white);
397
397
  border: none;
398
398
 
@@ -403,7 +403,7 @@ small {
403
403
  &:disabled {
404
404
  background-color: #767676;
405
405
  }
406
- `,io=an`
406
+ `,so=sn`
407
407
  background-color: var(--color--white);
408
408
  color: var(--color--primary);
409
409
  border: 1px solid var(--color--primary);
@@ -418,7 +418,7 @@ small {
418
418
  color: #767676;
419
419
  border-color: #767676;
420
420
  }
421
- `,ao=an`
421
+ `,co=sn`
422
422
  background-color: var(--color--red);
423
423
  color: white;
424
424
  border: none;
@@ -430,7 +430,7 @@ small {
430
430
  &:disabled {
431
431
  background-color: #767676;
432
432
  }
433
- `,lo=an`
433
+ `,uo=sn`
434
434
  background-color: transparent;
435
435
  color: var(--color--primary-light);
436
436
  border: none;
@@ -445,7 +445,7 @@ small {
445
445
  color: #767676;
446
446
  border-color: #767676;
447
447
  }
448
- `,so=an`
448
+ `,fo=sn`
449
449
  background-color: var(--color--debug);
450
450
  color: var(--color--white);
451
451
  border: none;
@@ -457,24 +457,24 @@ small {
457
457
  &:disabled {
458
458
  background-color: var(--color--debug-very-light);
459
459
  }
460
- `,co=cn.a`
461
- ${to}
460
+ `,po=dn.a`
461
+ ${ro}
462
462
 
463
- ${({size:e})=>"small"===e?oo:no}
463
+ ${({size:e})=>"small"===e?ao:io}
464
464
 
465
- ${({kind:e})=>"secondary"===e?io:"danger"===e?ao:"basic"===e?lo:"debug"===e?so:ro}
466
- `,uo=cn.button`
467
- ${to}
465
+ ${({kind:e})=>"secondary"===e?so:"danger"===e?co:"basic"===e?uo:"debug"===e?fo:lo}
466
+ `,go=dn.button`
467
+ ${ro}
468
468
 
469
- ${({size:e})=>"small"===e?oo:no}
469
+ ${({size:e})=>"small"===e?ao:io}
470
470
 
471
- ${({kind:e})=>"secondary"===e?io:"danger"===e?ao:"basic"===e?lo:"debug"===e?so:ro}
471
+ ${({kind:e})=>"secondary"===e?so:"danger"===e?co:"basic"===e?uo:"debug"===e?fo:lo}
472
472
 
473
- ${({$isSubmitting:e})=>e?an`
473
+ ${({$isSubmitting:e})=>e?sn`
474
474
  padding-left: 33px;
475
475
  pointer-events: none;
476
- `:an``}
477
- `,fo=cn.span`
476
+ `:sn``}
477
+ `,ho=dn.span`
478
478
  position: absolute;
479
479
  left: 10px;
480
480
  top: calc(50% - 8px);
@@ -484,12 +484,12 @@ small {
484
484
  width: 16px;
485
485
  height: 16px;
486
486
  }
487
- `;function po({children:e,...t}){const{type:n,kind:o}=t;if("link"===n)return d(co,{...t,children:e});if("submit"===n){const{hideSpinner:n=!1,isSubmitting:r}=t;return f(uo,{$isSubmitting:r,...t,children:[r&&!n&&d(fo,{children:d(Jn,{strokeWidth:32,color:"primary"===o?"var(--color--white)":"inherit"})}),e]})}return d(uo,{...t,children:e})}const go=cn.div`
487
+ `;function mo({children:e,...t}){const{type:n,kind:o}=t;if("link"===n)return f(po,{...t,children:e});if("submit"===n){const{hideSpinner:n=!1,isSubmitting:r}=t;return p(go,{$isSubmitting:r,...t,children:[r&&!n&&f(ho,{children:f(eo,{strokeWidth:32,color:"primary"===o?"var(--color--white)":"inherit"})}),e]})}return f(go,{...t,children:e})}const vo=dn.div`
488
488
  display: flex;
489
489
  flex-direction: column;
490
490
  align-items: flex-start;
491
491
  padding: var(--spacing--medium);
492
- `,ho=cn.div`
492
+ `,bo=dn.div`
493
493
  display: -webkit-box;
494
494
  -webkit-line-clamp: ${e=>e.$maxLines};
495
495
  -webkit-box-orient: vertical;
@@ -498,20 +498,20 @@ small {
498
498
  @media print {
499
499
  -webkit-line-clamp: unset;
500
500
  }
501
- `,mo=cn(po)`
501
+ `,yo=dn(mo)`
502
502
  margin: auto;
503
503
 
504
504
  @media print {
505
505
  display: none;
506
506
  }
507
- `;function vo({children:e,maxLines:t=3}){const[o,r]=a(!1),i=n(null),[c,u]=a(!1),p=()=>{const{offsetHeight:e,scrollHeight:t}=i.current||{};u(!!(e&&t&&e<t))};return s((()=>(window.addEventListener("resize",p),()=>window.removeEventListener("resize",p))),[i]),l((()=>{p()}),[]),f(go,{children:[d(ho,{$maxLines:o?void 0:t,ref:i,children:e}),t&&c&&d(mo,{type:"button",kind:"basic",onClick:()=>r(!o),children:o?"Read less":"Read more"})]})}const bo=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function yo({time:e}){const[n,o]=t.useState((()=>new Date)),r=t.useMemo((()=>new Date(e)),[e]);t.useEffect((()=>{o(new Date)}),[e]),t.useEffect((()=>{if(Math.abs(r.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,r]);const i=t.useMemo((()=>{const e=Math.abs(r.getTime()/1e3-n.getTime()/1e3),t=r>n;if(e<60&&!t)return"just now";if(e>604800)return`${r.getDate()} ${bo[r.getMonth()]} ${r.getFullYear()}`;let o;return o=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${o}`:`${o} ago`}),[r,n]);return d("time",{dateTime:r.toISOString(),title:r.toLocaleString(),children:i})}var wo=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},xo="undefined"!=typeof window&&window.document&&window.document.createElement?e.useLayoutEffect:e.useEffect,So="top",Co="bottom",Ro="right",ko="left",Oo="auto",Eo=[So,Co,Ro,ko],Po="start",zo="end",Fo="clippingParents",Mo="viewport",Io="popper",Vo="reference",Do=Eo.reduce((function(e,t){return e.concat([t+"-"+Po,t+"-"+zo])}),[]),Ao=[].concat(Eo,[Oo]).reduce((function(e,t){return e.concat([t,t+"-"+Po,t+"-"+zo])}),[]),To=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function _o(e){return e?(e.nodeName||"").toLowerCase():null}function No(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Lo(e){return e instanceof No(e).Element||e instanceof Element}function $o(e){return e instanceof No(e).HTMLElement||e instanceof HTMLElement}function jo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof No(e).ShadowRoot||e instanceof ShadowRoot)}var Ho={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];$o(r)&&_o(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});$o(o)&&_o(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Go(e){return e.split("-")[0]}var Bo=Math.max,qo=Math.min,Uo=Math.round;function Wo(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Yo(){return!/^((?!chrome|android).)*safari/i.test(Wo())}function Xo(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&$o(e)&&(r=e.offsetWidth>0&&Uo(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Uo(o.height)/e.offsetHeight||1);var a=(Lo(e)?No(e):window).visualViewport,l=!Yo()&&n,s=(o.left+(l&&a?a.offsetLeft:0))/r,c=(o.top+(l&&a?a.offsetTop:0))/i,u=o.width/r,d=o.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Ko(e){var t=Xo(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Jo(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&jo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Zo(e){return No(e).getComputedStyle(e)}function Qo(e){return["table","td","th"].indexOf(_o(e))>=0}function er(e){return((Lo(e)?e.ownerDocument:e.document)||window.document).documentElement}function tr(e){return"html"===_o(e)?e:e.assignedSlot||e.parentNode||(jo(e)?e.host:null)||er(e)}function nr(e){return $o(e)&&"fixed"!==Zo(e).position?e.offsetParent:null}function or(e){for(var t=No(e),n=nr(e);n&&Qo(n)&&"static"===Zo(n).position;)n=nr(n);return n&&("html"===_o(n)||"body"===_o(n)&&"static"===Zo(n).position)?t:n||function(e){var t=/firefox/i.test(Wo());if(/Trident/i.test(Wo())&&$o(e)&&"fixed"===Zo(e).position)return null;var n=tr(e);for(jo(n)&&(n=n.host);$o(n)&&["html","body"].indexOf(_o(n))<0;){var o=Zo(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function rr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ir(e,t,n){return Bo(e,qo(t,n))}function ar(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function lr(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var sr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Go(n.placement),s=rr(l),c=[ko,Ro].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return ar("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:lr(e,Eo))}(r.padding,n),d=Ko(i),f="y"===s?So:ko,p="y"===s?Co:Ro,g=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],h=a[s]-n.rects.reference[s],m=or(i),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,b=g/2-h/2,y=u[f],w=v-d[c]-u[p],x=v/2-d[c]/2+b,S=ir(y,x,w),C=s;n.modifiersData[o]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&Jo(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cr(e){return e.split("-")[1]}var ur={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dr(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,g=a.y,h=void 0===g?0:g,m="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=ko,w=So,x=window;if(c){var S=or(n),C="clientHeight",R="clientWidth";if(S===No(n)&&"static"!==Zo(S=er(n)).position&&"absolute"===l&&(C="scrollHeight",R="scrollWidth"),r===So||(r===ko||r===Ro)&&i===zo)w=Co,h-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-o.height,h*=s?1:-1;if(r===ko||(r===So||r===Co)&&i===zo)y=Ro,p-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[R])-o.width,p*=s?1:-1}var k,O=Object.assign({position:l},c&&ur),E=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Uo(n*r)/r||0,y:Uo(o*r)/r||0}}({x:p,y:h},No(n)):{x:p,y:h};return p=E.x,h=E.y,s?Object.assign({},O,((k={})[w]=b?"0":"",k[y]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",k)):Object.assign({},O,((t={})[w]=b?h+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var fr={passive:!0};var pr={left:"right",right:"left",bottom:"top",top:"bottom"};function gr(e){return e.replace(/left|right|bottom|top/g,(function(e){return pr[e]}))}var hr={start:"end",end:"start"};function mr(e){return e.replace(/start|end/g,(function(e){return hr[e]}))}function vr(e){var t=No(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function br(e){return Xo(er(e)).left+vr(e).scrollLeft}function yr(e){var t=Zo(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function wr(e){return["html","body","#document"].indexOf(_o(e))>=0?e.ownerDocument.body:$o(e)&&yr(e)?e:wr(tr(e))}function xr(e,t){var n;void 0===t&&(t=[]);var o=wr(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=No(o),a=r?[i].concat(i.visualViewport||[],yr(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(xr(tr(a)))}function Sr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Cr(e,t,n){return t===Mo?Sr(function(e,t){var n=No(e),o=er(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;var c=Yo();(c||!c&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l+br(e),y:s}}(e,n)):Lo(t)?function(e,t){var n=Xo(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Sr(function(e){var t,n=er(e),o=vr(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Bo(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Bo(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+br(e),s=-o.scrollTop;return"rtl"===Zo(r||n).direction&&(l+=Bo(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(er(e)))}function Rr(e,t,n,o){var r="clippingParents"===t?function(e){var t=xr(tr(e)),n=["absolute","fixed"].indexOf(Zo(e).position)>=0&&$o(e)?or(e):e;return Lo(n)?t.filter((function(e){return Lo(e)&&Jo(e,n)&&"body"!==_o(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),a=i[0],l=i.reduce((function(t,n){var r=Cr(e,n,o);return t.top=Bo(r.top,t.top),t.right=qo(r.right,t.right),t.bottom=qo(r.bottom,t.bottom),t.left=Bo(r.left,t.left),t}),Cr(e,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function kr(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?Go(r):null,a=r?cr(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case So:t={x:l,y:n.y-o.height};break;case Co:t={x:l,y:n.y+n.height};break;case Ro:t={x:n.x+n.width,y:s};break;case ko:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?rr(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Po:t[c]=t[c]-(n[u]/2-o[u]/2);break;case zo:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function Or(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?Fo:l,c=n.rootBoundary,u=void 0===c?Mo:c,d=n.elementContext,f=void 0===d?Io:d,p=n.altBoundary,g=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,v=ar("number"!=typeof m?m:lr(m,Eo)),b=f===Io?Vo:Io,y=e.rects.popper,w=e.elements[g?b:f],x=Rr(Lo(w)?w:w.contextElement||er(e.elements.popper),s,u,a),S=Xo(e.elements.reference),C=kr({reference:S,element:y,strategy:"absolute",placement:r}),R=Sr(Object.assign({},y,C)),k=f===Io?R:S,O={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},E=e.modifiersData.offset;if(f===Io&&E){var P=E[r];Object.keys(O).forEach((function(e){var t=[Ro,Co].indexOf(e)>=0?1:-1,n=[So,Co].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}function Er(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Ao:s,u=cr(o),d=u?l?Do:Do.filter((function(e){return cr(e)===u})):Eo,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Or(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[Go(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Pr={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=void 0===p||p,h=n.allowedAutoPlacements,m=t.options.placement,v=Go(m),b=s||(v===m||!g?[gr(m)]:function(e){if(Go(e)===Oo)return[];var t=gr(e);return[mr(e),t,mr(t)]}(m)),y=[m].concat(b).reduce((function(e,n){return e.concat(Go(n)===Oo?Er(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,R=y[0],k=0;k<y.length;k++){var O=y[k],E=Go(O),P=cr(O)===Po,z=[So,Co].indexOf(E)>=0,F=z?"width":"height",M=Or(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),I=z?P?Ro:ko:P?Co:So;w[F]>x[F]&&(I=gr(I));var V=gr(I),D=[];if(i&&D.push(M[E]<=0),l&&D.push(M[I]<=0,M[V]<=0),D.every((function(e){return e}))){R=O,C=!1;break}S.set(O,D)}if(C)for(var A=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return R=t,"break"},T=g?3:1;T>0;T--){if("break"===A(T))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function zr(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Fr(e){return[So,Ro,Co,ko].some((function(t){return e[t]>=0}))}var Mr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=Ao.reduce((function(e,n){return e[n]=function(e,t,n){var o=Go(e),r=[ko,So].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*r,[ko,Ro].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}};var Ir={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,g=n.tetherOffset,h=void 0===g?0:g,m=Or(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Go(t.placement),b=cr(t.placement),y=!b,w=rr(v),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,k="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,O="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var z,F="y"===w?So:ko,M="y"===w?Co:Ro,I="y"===w?"height":"width",V=S[w],D=V+m[F],A=V-m[M],T=p?-R[I]/2:0,_=b===Po?C[I]:R[I],N=b===Po?-R[I]:-C[I],L=t.elements.arrow,$=p&&L?Ko(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=j[F],G=j[M],B=ir(0,C[I],$[I]),q=y?C[I]/2-T-B-H-O.mainAxis:_-B-H-O.mainAxis,U=y?-C[I]/2+T+B+G+O.mainAxis:N+B+G+O.mainAxis,W=t.elements.arrow&&or(t.elements.arrow),Y=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,X=null!=(z=null==E?void 0:E[w])?z:0,K=V+U-X,J=ir(p?qo(D,V+q-X-Y):D,V,p?Bo(A,K):A);S[w]=J,P[w]=J-V}if(l){var Z,Q="x"===w?So:ko,ee="x"===w?Co:Ro,te=S[x],ne="y"===x?"height":"width",oe=te+m[Q],re=te-m[ee],ie=-1!==[So,ko].indexOf(v),ae=null!=(Z=null==E?void 0:E[x])?Z:0,le=ie?oe:te-C[ne]-R[ne]-ae+O.altAxis,se=ie?te+C[ne]+R[ne]-ae-O.altAxis:re,ce=p&&ie?function(e,t,n){var o=ir(e,t,n);return o>n?n:o}(le,te,se):ir(p?le:oe,te,p?se:re);S[x]=ce,P[x]=ce-te}t.modifiersData[o]=P}},requiresIfExists:["offset"]};function Vr(e,t,n){void 0===n&&(n=!1);var o=$o(t),r=$o(t)&&function(e){var t=e.getBoundingClientRect(),n=Uo(t.width)/e.offsetWidth||1,o=Uo(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),i=er(t),a=Xo(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==_o(t)||yr(i))&&(l=function(e){return e!==No(e)&&$o(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:vr(e);var t}(t)),$o(t)?((s=Xo(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=br(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Dr(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Ar={placement:"bottom",modifiers:[],strategy:"absolute"};function Tr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function _r(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Ar:r;return function(e,t,n){void 0===n&&(n=i);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ar,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,r),l.scrollParents={reference:Lo(e)?xr(e):e.contextElement?xr(e.contextElement):[],popper:xr(t)};var a,c,f=function(e){var t=Dr(e);return To.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(o,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:u,options:o}),a=function(){};s.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Tr(t,n)){l.rects={reference:Vr(t,or(n),"fixed"===l.options.strategy),popper:Ko(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<l.orderedModifiers.length;o++)if(!0!==l.reset){var r=l.orderedModifiers[o],i=r.fn,a=r.options,s=void 0===a?{}:a,d=r.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){d(),c=!0}};if(!Tr(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Nr=_r({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,l=void 0===a||a,s=No(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,fr)})),l&&s.addEventListener("resize",n.update,fr),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,fr)})),l&&s.removeEventListener("resize",n.update,fr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=kr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Go(t.placement),variation:cr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,dr(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,dr(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ho,Mr,Pr,Ir,sr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=Or(t,{elementContext:"reference"}),l=Or(t,{altBoundary:!0}),s=zr(a,o),c=zr(l,r,i),u=Fr(s),d=Fr(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Lr="undefined"!=typeof Element,$r="function"==typeof Map,jr="function"==typeof Set,Hr="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Gr(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,o,r,i;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(!Gr(e[o],t[o]))return!1;return!0}if($r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return!1;for(i=e.entries();!(o=i.next()).done;)if(!Gr(o.value[1],t.get(o.value[0])))return!1;return!0}if(jr&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return!1;return!0}if(Hr&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;if(Lr&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!Gr(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var Br=function(e,t){try{return Gr(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},qr=w(Br),Ur=[],Wr=function(t,n,o){void 0===o&&(o={});var r=e.useRef(null),i={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||Ur},a=e.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],s=a[1],c=e.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);g.flushSync((function(){s({styles:wo(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:wo(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=e.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return qr(r.current,e)?r.current||e:(r.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),d=e.useRef();return xo((function(){d.current&&d.current.setOptions(u)}),[u]),xo((function(){if(null!=t&&null!=n){var e=(o.createPopper||Nr)(t,n,u);return d.current=e,function(){e.destroy(),d.current=null}}}),[t,n,o.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const Yr=cn.div`
507
+ `;function wo({children:e,maxLines:t=3}){const[o,r]=l(!1),i=n(null),[a,u]=l(!1),d=()=>{const{offsetHeight:e,scrollHeight:t}=i.current||{};u(!!(e&&t&&e<t))};return c((()=>(window.addEventListener("resize",d),()=>window.removeEventListener("resize",d))),[i]),s((()=>{d()}),[]),p(vo,{children:[f(bo,{$maxLines:o?void 0:t,ref:i,children:e}),t&&a&&f(yo,{type:"button",kind:"basic",onClick:()=>r(!o),children:o?"Read less":"Read more"})]})}const xo=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function So({time:e}){const[n,o]=t.useState((()=>new Date)),r=t.useMemo((()=>new Date(e)),[e]);t.useEffect((()=>{o(new Date)}),[e]),t.useEffect((()=>{if(Math.abs(r.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,r]);const i=t.useMemo((()=>{const e=Math.abs(r.getTime()/1e3-n.getTime()/1e3),t=r>n;if(e<60&&!t)return"just now";if(e>604800)return`${r.getDate()} ${xo[r.getMonth()]} ${r.getFullYear()}`;let o;return o=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${o}`:`${o} ago`}),[r,n]);return f("time",{dateTime:r.toISOString(),title:r.toLocaleString(),children:i})}var Co=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},Ro="undefined"!=typeof window&&window.document&&window.document.createElement?e.useLayoutEffect:e.useEffect,ko="top",Oo="bottom",Eo="right",Po="left",zo="auto",Fo=[ko,Oo,Eo,Po],Mo="start",Io="end",Vo="clippingParents",Do="viewport",Ao="popper",To="reference",_o=Fo.reduce((function(e,t){return e.concat([t+"-"+Mo,t+"-"+Io])}),[]),No=[].concat(Fo,[zo]).reduce((function(e,t){return e.concat([t,t+"-"+Mo,t+"-"+Io])}),[]),Lo=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $o(e){return e?(e.nodeName||"").toLowerCase():null}function jo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ho(e){return e instanceof jo(e).Element||e instanceof Element}function Go(e){return e instanceof jo(e).HTMLElement||e instanceof HTMLElement}function Bo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof jo(e).ShadowRoot||e instanceof ShadowRoot)}var qo={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];Go(r)&&$o(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Go(o)&&$o(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Uo(e){return e.split("-")[0]}var Wo=Math.max,Yo=Math.min,Xo=Math.round;function Ko(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Jo(){return!/^((?!chrome|android).)*safari/i.test(Ko())}function Zo(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&Go(e)&&(r=e.offsetWidth>0&&Xo(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Xo(o.height)/e.offsetHeight||1);var a=(Ho(e)?jo(e):window).visualViewport,l=!Jo()&&n,s=(o.left+(l&&a?a.offsetLeft:0))/r,c=(o.top+(l&&a?a.offsetTop:0))/i,u=o.width/r,d=o.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Qo(e){var t=Zo(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function er(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function tr(e){return jo(e).getComputedStyle(e)}function nr(e){return["table","td","th"].indexOf($o(e))>=0}function or(e){return((Ho(e)?e.ownerDocument:e.document)||window.document).documentElement}function rr(e){return"html"===$o(e)?e:e.assignedSlot||e.parentNode||(Bo(e)?e.host:null)||or(e)}function ir(e){return Go(e)&&"fixed"!==tr(e).position?e.offsetParent:null}function ar(e){for(var t=jo(e),n=ir(e);n&&nr(n)&&"static"===tr(n).position;)n=ir(n);return n&&("html"===$o(n)||"body"===$o(n)&&"static"===tr(n).position)?t:n||function(e){var t=/firefox/i.test(Ko());if(/Trident/i.test(Ko())&&Go(e)&&"fixed"===tr(e).position)return null;var n=rr(e);for(Bo(n)&&(n=n.host);Go(n)&&["html","body"].indexOf($o(n))<0;){var o=tr(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function lr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sr(e,t,n){return Wo(e,Yo(t,n))}function cr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ur(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var dr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Uo(n.placement),s=lr(l),c=[Po,Eo].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return cr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ur(e,Fo))}(r.padding,n),d=Qo(i),f="y"===s?ko:Po,p="y"===s?Oo:Eo,g=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],h=a[s]-n.rects.reference[s],m=ar(i),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,b=g/2-h/2,y=u[f],w=v-d[c]-u[p],x=v/2-d[c]/2+b,S=sr(y,x,w),C=s;n.modifiersData[o]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&er(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fr(e){return e.split("-")[1]}var pr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gr(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,g=a.y,h=void 0===g?0:g,m="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Po,w=ko,x=window;if(c){var S=ar(n),C="clientHeight",R="clientWidth";if(S===jo(n)&&"static"!==tr(S=or(n)).position&&"absolute"===l&&(C="scrollHeight",R="scrollWidth"),r===ko||(r===Po||r===Eo)&&i===Io)w=Oo,h-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-o.height,h*=s?1:-1;if(r===Po||(r===ko||r===Oo)&&i===Io)y=Eo,p-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[R])-o.width,p*=s?1:-1}var k,O=Object.assign({position:l},c&&pr),E=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Xo(n*r)/r||0,y:Xo(o*r)/r||0}}({x:p,y:h},jo(n)):{x:p,y:h};return p=E.x,h=E.y,s?Object.assign({},O,((k={})[w]=b?"0":"",k[y]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",k)):Object.assign({},O,((t={})[w]=b?h+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var hr={passive:!0};var mr={left:"right",right:"left",bottom:"top",top:"bottom"};function vr(e){return e.replace(/left|right|bottom|top/g,(function(e){return mr[e]}))}var br={start:"end",end:"start"};function yr(e){return e.replace(/start|end/g,(function(e){return br[e]}))}function wr(e){var t=jo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xr(e){return Zo(or(e)).left+wr(e).scrollLeft}function Sr(e){var t=tr(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Cr(e){return["html","body","#document"].indexOf($o(e))>=0?e.ownerDocument.body:Go(e)&&Sr(e)?e:Cr(rr(e))}function Rr(e,t){var n;void 0===t&&(t=[]);var o=Cr(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=jo(o),a=r?[i].concat(i.visualViewport||[],Sr(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(Rr(rr(a)))}function kr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Or(e,t,n){return t===Do?kr(function(e,t){var n=jo(e),o=or(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;var c=Jo();(c||!c&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l+xr(e),y:s}}(e,n)):Ho(t)?function(e,t){var n=Zo(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):kr(function(e){var t,n=or(e),o=wr(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Wo(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Wo(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+xr(e),s=-o.scrollTop;return"rtl"===tr(r||n).direction&&(l+=Wo(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(or(e)))}function Er(e,t,n,o){var r="clippingParents"===t?function(e){var t=Rr(rr(e)),n=["absolute","fixed"].indexOf(tr(e).position)>=0&&Go(e)?ar(e):e;return Ho(n)?t.filter((function(e){return Ho(e)&&er(e,n)&&"body"!==$o(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),a=i[0],l=i.reduce((function(t,n){var r=Or(e,n,o);return t.top=Wo(r.top,t.top),t.right=Yo(r.right,t.right),t.bottom=Yo(r.bottom,t.bottom),t.left=Wo(r.left,t.left),t}),Or(e,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Pr(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?Uo(r):null,a=r?fr(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case ko:t={x:l,y:n.y-o.height};break;case Oo:t={x:l,y:n.y+n.height};break;case Eo:t={x:n.x+n.width,y:s};break;case Po:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?lr(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Mo:t[c]=t[c]-(n[u]/2-o[u]/2);break;case Io:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function zr(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?Vo:l,c=n.rootBoundary,u=void 0===c?Do:c,d=n.elementContext,f=void 0===d?Ao:d,p=n.altBoundary,g=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,v=cr("number"!=typeof m?m:ur(m,Fo)),b=f===Ao?To:Ao,y=e.rects.popper,w=e.elements[g?b:f],x=Er(Ho(w)?w:w.contextElement||or(e.elements.popper),s,u,a),S=Zo(e.elements.reference),C=Pr({reference:S,element:y,strategy:"absolute",placement:r}),R=kr(Object.assign({},y,C)),k=f===Ao?R:S,O={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},E=e.modifiersData.offset;if(f===Ao&&E){var P=E[r];Object.keys(O).forEach((function(e){var t=[Eo,Oo].indexOf(e)>=0?1:-1,n=[ko,Oo].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}function Fr(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?No:s,u=fr(o),d=u?l?_o:_o.filter((function(e){return fr(e)===u})):Fo,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=zr(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[Uo(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Mr={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=void 0===p||p,h=n.allowedAutoPlacements,m=t.options.placement,v=Uo(m),b=s||(v===m||!g?[vr(m)]:function(e){if(Uo(e)===zo)return[];var t=vr(e);return[yr(e),t,yr(t)]}(m)),y=[m].concat(b).reduce((function(e,n){return e.concat(Uo(n)===zo?Fr(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,R=y[0],k=0;k<y.length;k++){var O=y[k],E=Uo(O),P=fr(O)===Mo,z=[ko,Oo].indexOf(E)>=0,F=z?"width":"height",M=zr(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),I=z?P?Eo:Po:P?Oo:ko;w[F]>x[F]&&(I=vr(I));var V=vr(I),D=[];if(i&&D.push(M[E]<=0),l&&D.push(M[I]<=0,M[V]<=0),D.every((function(e){return e}))){R=O,C=!1;break}S.set(O,D)}if(C)for(var A=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return R=t,"break"},T=g?3:1;T>0;T--){if("break"===A(T))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ir(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vr(e){return[ko,Eo,Oo,Po].some((function(t){return e[t]>=0}))}var Dr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=No.reduce((function(e,n){return e[n]=function(e,t,n){var o=Uo(e),r=[Po,ko].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*r,[Po,Eo].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}};var Ar={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,g=n.tetherOffset,h=void 0===g?0:g,m=zr(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Uo(t.placement),b=fr(t.placement),y=!b,w=lr(v),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,k="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,O="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var z,F="y"===w?ko:Po,M="y"===w?Oo:Eo,I="y"===w?"height":"width",V=S[w],D=V+m[F],A=V-m[M],T=p?-R[I]/2:0,_=b===Mo?C[I]:R[I],N=b===Mo?-R[I]:-C[I],L=t.elements.arrow,$=p&&L?Qo(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=j[F],G=j[M],B=sr(0,C[I],$[I]),q=y?C[I]/2-T-B-H-O.mainAxis:_-B-H-O.mainAxis,U=y?-C[I]/2+T+B+G+O.mainAxis:N+B+G+O.mainAxis,W=t.elements.arrow&&ar(t.elements.arrow),Y=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,X=null!=(z=null==E?void 0:E[w])?z:0,K=V+U-X,J=sr(p?Yo(D,V+q-X-Y):D,V,p?Wo(A,K):A);S[w]=J,P[w]=J-V}if(l){var Z,Q="x"===w?ko:Po,ee="x"===w?Oo:Eo,te=S[x],ne="y"===x?"height":"width",oe=te+m[Q],re=te-m[ee],ie=-1!==[ko,Po].indexOf(v),ae=null!=(Z=null==E?void 0:E[x])?Z:0,le=ie?oe:te-C[ne]-R[ne]-ae+O.altAxis,se=ie?te+C[ne]+R[ne]-ae-O.altAxis:re,ce=p&&ie?function(e,t,n){var o=sr(e,t,n);return o>n?n:o}(le,te,se):sr(p?le:oe,te,p?se:re);S[x]=ce,P[x]=ce-te}t.modifiersData[o]=P}},requiresIfExists:["offset"]};function Tr(e,t,n){void 0===n&&(n=!1);var o=Go(t),r=Go(t)&&function(e){var t=e.getBoundingClientRect(),n=Xo(t.width)/e.offsetWidth||1,o=Xo(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),i=or(t),a=Zo(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==$o(t)||Sr(i))&&(l=function(e){return e!==jo(e)&&Go(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:wr(e);var t}(t)),Go(t)?((s=Zo(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=xr(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function _r(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Nr={placement:"bottom",modifiers:[],strategy:"absolute"};function Lr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function $r(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Nr:r;return function(e,t,n){void 0===n&&(n=i);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nr,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,r),l.scrollParents={reference:Ho(e)?Rr(e):e.contextElement?Rr(e.contextElement):[],popper:Rr(t)};var a,c,f=function(e){var t=_r(e);return Lo.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(o,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:u,options:o}),a=function(){};s.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Lr(t,n)){l.rects={reference:Tr(t,ar(n),"fixed"===l.options.strategy),popper:Qo(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<l.orderedModifiers.length;o++)if(!0!==l.reset){var r=l.orderedModifiers[o],i=r.fn,a=r.options,s=void 0===a?{}:a,d=r.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){d(),c=!0}};if(!Lr(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var jr=$r({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,l=void 0===a||a,s=jo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,hr)})),l&&s.addEventListener("resize",n.update,hr),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,hr)})),l&&s.removeEventListener("resize",n.update,hr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Pr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Uo(t.placement),variation:fr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gr(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gr(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},qo,Dr,Mr,Ar,dr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=zr(t,{elementContext:"reference"}),l=zr(t,{altBoundary:!0}),s=Ir(a,o),c=Ir(l,r,i),u=Vr(s),d=Vr(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Hr="undefined"!=typeof Element,Gr="function"==typeof Map,Br="function"==typeof Set,qr="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Ur(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,o,r,i;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(!Ur(e[o],t[o]))return!1;return!0}if(Gr&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return!1;for(i=e.entries();!(o=i.next()).done;)if(!Ur(o.value[1],t.get(o.value[0])))return!1;return!0}if(Br&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return!1;return!0}if(qr&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;if(Hr&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!Ur(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var Wr=function(e,t){try{return Ur(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},Yr=x(Wr),Xr=[],Kr=function(t,n,o){void 0===o&&(o={});var r=e.useRef(null),i={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||Xr},a=e.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],s=a[1],c=e.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);h.flushSync((function(){s({styles:Co(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Co(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=e.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Yr(r.current,e)?r.current||e:(r.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),d=e.useRef();return Ro((function(){d.current&&d.current.setOptions(u)}),[u]),Ro((function(){if(null!=t&&null!=n){var e=(o.createPopper||jr)(t,n,u);return d.current=e,function(){e.destroy(),d.current=null}}}),[t,n,o.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const Jr=dn.div`
508
508
  display: inline-flex;
509
509
  position: relative;
510
510
 
511
511
  @media print {
512
512
  display: none;
513
513
  }
514
- `,Xr=cn.div`
514
+ `,Zr=dn.div`
515
515
  text-align: left;
516
516
  position: relative;
517
517
  font-size: var(--font-size--xsmall);
@@ -582,7 +582,7 @@ small {
582
582
  &[data-show] > .arrow::before {
583
583
  visibility: visible;
584
584
  }
585
- `;function Kr({children:e,content:t,placement:n="top"}){const[o,r]=a(!1),[i,s]=a(null),[c,u]=a(null),[p,g]=a(null),{styles:h,attributes:m}=Wr(i,c,{placement:n,modifiers:[{name:"arrow",options:{element:p}},{name:"offset",options:{offset:[0,5]}}]});let v=null;const b=()=>{v=setTimeout((()=>{r(!0)}),300)},y=()=>{v&&clearTimeout(v),r(!1)};return l((()=>()=>{v&&clearTimeout(v)})),f(Yr,{onMouseEnter:b,onMouseLeave:y,onFocus:b,onBlur:y,tabIndex:0,children:[d("div",{ref:s,children:e}),o&&f(Xr,{style:h.popper,"data-show":o,...m.popper,ref:u,children:[d("div",{children:t}),d("span",{ref:g,style:h.arrow,...m.arrow,className:"arrow"})]})]})}function Jr({size:e}){return d(Nn,{colour:"green",name:"fa/check-circle-solid",size:e})}function Zr({size:e}){return d(Nn,{colour:"grey",name:"fa/circle-solid",size:e})}function Qr({size:e}){return d(Nn,{colour:"primary",name:"fa/circle-solid",size:e})}function ei({size:e}){return d(Jn,{size:{xsmall:12,small:14,medium:16,large:22,xlarge:24}[e],strokeWidth:40})}function ti({size:e}){return d(Nn,{colour:"warning",name:"fa/circle-exclamation-solid",size:e})}function ni({size:e}){return d(Nn,{colour:"danger",name:"fa/circle-exclamation-solid",size:e})}const oi=cn.div`
585
+ `;function Qr({children:e,content:t,placement:n="top"}){const[o,r]=l(!1),[i,a]=l(null),[c,u]=l(null),[d,g]=l(null),{styles:h,attributes:m}=Kr(i,c,{placement:n,modifiers:[{name:"arrow",options:{element:d}},{name:"offset",options:{offset:[0,5]}}]});let v=null;const b=()=>{v=setTimeout((()=>{r(!0)}),300)},y=()=>{v&&clearTimeout(v),r(!1)};return s((()=>()=>{v&&clearTimeout(v)})),p(Jr,{onMouseEnter:b,onMouseLeave:y,onFocus:b,onBlur:y,tabIndex:0,children:[f("div",{ref:a,children:e}),o&&p(Zr,{style:h.popper,"data-show":o,...m.popper,ref:u,children:[f("div",{children:t}),f("span",{ref:g,style:h.arrow,...m.arrow,className:"arrow"})]})]})}function ei({size:e}){return f(jn,{colour:"green",name:"fa/check-circle-solid",size:e})}function ti({size:e}){return f(jn,{colour:"grey",name:"fa/circle-solid",size:e})}function ni({size:e}){return f(jn,{colour:"primary",name:"fa/circle-solid",size:e})}function oi({size:e}){return f(eo,{size:{xsmall:12,small:14,medium:16,large:22,xlarge:24}[e],strokeWidth:40})}function ri({size:e}){return f(jn,{colour:"warning",name:"fa/circle-exclamation-solid",size:e})}function ii({size:e}){return f(jn,{colour:"danger",name:"fa/circle-exclamation-solid",size:e})}const ai=dn.div`
586
586
  flex-shrink: 0;
587
587
  display: flex;
588
588
  align-items: center;
@@ -592,7 +592,7 @@ small {
592
592
  background-color: var(--color--white);
593
593
  border-radius: 50%;
594
594
  }
595
- `;function ri({status:e="uploaded",size:t="medium"}){const n=e.charAt(0).toUpperCase()+e.slice(1),o={uploaded:d(Zr,{size:t}),running:d(ei,{size:t}),processed:d(Qr,{size:t}),reviewed:d(Jr,{size:t}),warning:d(ti,{size:t}),failed:d(ni,{size:t})};return d(Kr,{content:n,children:d(oi,{status:e,"aria-label":n,children:o[e]})})}
595
+ `;function li({status:e="uploaded",size:t="medium"}){const n=e.charAt(0).toUpperCase()+e.slice(1),o={uploaded:f(ti,{size:t}),running:f(oi,{size:t}),processed:f(ni,{size:t}),reviewed:f(ei,{size:t}),warning:f(ri,{size:t}),failed:f(ii,{size:t})};return f(Qr,{content:n,children:f(ai,{status:e,"aria-label":n,children:o[e]})})}
596
596
  /**
597
597
  * table-core
598
598
  *
@@ -602,7 +602,7 @@ small {
602
602
  * LICENSE.md file in the root directory of this source tree.
603
603
  *
604
604
  * @license MIT
605
- */function ii(e,t){return"function"==typeof e?e(t):e}function ai(e,t){return n=>{t.setState((t=>({...t,[e]:ii(n,t[e])})))}}function li(e){return e instanceof Function}function si(e,t,n){let o,r=[];return i=>{let a;n.key&&n.debug&&(a=Date.now());const l=e(i);if(!(l.length!==r.length||l.some(((e,t)=>r[t]!==e))))return o;let s;if(r=l,n.key&&n.debug&&(s=Date.now()),o=t(...l),null==n||null==n.onChange||n.onChange(o),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-a))/100,t=Math.round(100*(Date.now()-s))/100,o=t/16,r=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${r(t,5)} /${r(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*o,120))}deg 100% 31%);`,null==n?void 0:n.key)}return o}}function ci(e,t,n,o){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:o}}const ui="debugHeaders";function di(e,t,n){var o;let r={id:null!=(o=n.id)?o:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(r),e},getContext:()=>({table:e,header:r,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(r,e)})),r}const fi={createTable:e=>{e.getHeaderGroups=si((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>{var i,a;const l=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],s=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],c=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id))));return pi(t,[...l,...c,...s],e)}),ci(e.options,ui,"getHeaderGroups")),e.getCenterHeaderGroups=si((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>(n=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id)))),pi(t,n,e,"center"))),ci(e.options,ui,"getCenterHeaderGroups")),e.getLeftHeaderGroups=si((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;return pi(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"left")}),ci(e.options,ui,"getLeftHeaderGroups")),e.getRightHeaderGroups=si((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;return pi(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"right")}),ci(e.options,ui,"getRightHeaderGroups")),e.getFooterGroups=si((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),ci(e.options,ui,"getFooterGroups")),e.getLeftFooterGroups=si((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),ci(e.options,ui,"getLeftFooterGroups")),e.getCenterFooterGroups=si((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),ci(e.options,ui,"getCenterFooterGroups")),e.getRightFooterGroups=si((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),ci(e.options,ui,"getRightFooterGroups")),e.getFlatHeaders=si((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ci(e.options,ui,"getFlatHeaders")),e.getLeftFlatHeaders=si((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ci(e.options,ui,"getLeftFlatHeaders")),e.getCenterFlatHeaders=si((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ci(e.options,ui,"getCenterFlatHeaders")),e.getRightFlatHeaders=si((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ci(e.options,ui,"getRightFlatHeaders")),e.getCenterLeafHeaders=si((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ci(e.options,ui,"getCenterLeafHeaders")),e.getLeftLeafHeaders=si((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ci(e.options,ui,"getLeftLeafHeaders")),e.getRightLeafHeaders=si((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ci(e.options,ui,"getRightLeafHeaders")),e.getLeafHeaders=si((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var o,r,i,a,l,s;return[...null!=(o=null==(r=e[0])?void 0:r.headers)?o:[],...null!=(i=null==(a=t[0])?void 0:a.headers)?i:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),ci(e.options,ui,"getLeafHeaders"))}};function pi(e,t,n,o){var r,i;let a=0;const l=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let s=[];const c=(e,t)=>{const r={depth:t,id:[o,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach((e=>{const a=[...i].reverse()[0];let l,s=!1;if(e.column.depth===r.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),a&&(null==a?void 0:a.column)===l)a.subHeaders.push(e);else{const r=di(n,l,{id:[o,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${i.filter((e=>e.column===l)).length}`:void 0,depth:t,index:i.length});r.subHeaders.push(e),i.push(r)}r.headers.push(e),e.headerGroup=r})),s.push(r),t>0&&c(i,t-1)},u=t.map(((e,t)=>di(n,e,{depth:a,index:t})));c(u,a-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,o=[0];e.subHeaders&&e.subHeaders.length?(o=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:r}=e;t+=n,o.push(r)}))):t=1;return n+=Math.min(...o),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(r=null==(i=s[0])?void 0:i.headers)?r:[]),s}const gi=(e,t,n,o,r,i,a)=>{let l={id:t,index:o,original:n,depth:r,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(l._valuesCache[t]=n.accessorFn(l.original,o),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=n.columnDef.getUniqueValues(l.original,o),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=l.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>function(e,t){const n=[],o=e=>{e.forEach((e=>{n.push(e);const r=t(e);null!=r&&r.length&&o(r)}))};return o(e),n}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:si((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,o){const r={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(o),renderValue:()=>{var t;return null!=(t=r.getValue())?t:e.options.renderFallbackValue},getContext:si((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),ci(e.options,"debugCells","cell.getContext"))};return e._features.forEach((o=>{null==o.createCell||o.createCell(r,n,t,e)}),{}),r}(e,l,t,t.id)))),ci(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:si((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),ci(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(l,e)}return l},hi={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},mi=(e,t,n)=>{var o;const r=n.toLowerCase();return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())||null==(o=o.toLowerCase())?void 0:o.includes(r))};mi.autoRemove=e=>Oi(e);const vi=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};vi.autoRemove=e=>Oi(e);const bi=(e,t,n)=>{var o;return(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.toLowerCase())===(null==n?void 0:n.toLowerCase())};bi.autoRemove=e=>Oi(e);const yi=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};yi.autoRemove=e=>Oi(e)||!(null!=e&&e.length);const wi=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));wi.autoRemove=e=>Oi(e)||!(null!=e&&e.length);const xi=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));xi.autoRemove=e=>Oi(e)||!(null!=e&&e.length);const Si=(e,t,n)=>e.getValue(t)===n;Si.autoRemove=e=>Oi(e);const Ci=(e,t,n)=>e.getValue(t)==n;Ci.autoRemove=e=>Oi(e);const Ri=(e,t,n)=>{let[o,r]=n;const i=e.getValue(t);return i>=o&&i<=r};Ri.resolveFilterValue=e=>{let[t,n]=e,o="number"!=typeof t?parseFloat(t):t,r="number"!=typeof n?parseFloat(n):n,i=null===t||Number.isNaN(o)?-1/0:o,a=null===n||Number.isNaN(r)?1/0:r;if(i>a){const e=i;i=a,a=e}return[i,a]},Ri.autoRemove=e=>Oi(e)||Oi(e[0])&&Oi(e[1]);const ki={includesString:mi,includesStringSensitive:vi,equalsString:bi,arrIncludes:yi,arrIncludesAll:wi,arrIncludesSome:xi,equals:Si,weakEquals:Ci,inNumberRange:Ri};function Oi(e){return null==e||""===e}const Ei={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:ai("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"string"==typeof o?ki.includesString:"number"==typeof o?ki.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?ki.equals:Array.isArray(o)?ki.arrIncludes:ki.weakEquals},e.getFilterFn=()=>{var n,o;return li(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(o=t.options.filterFns)?void 0:o[e.columnDef.filterFn])?n:ki[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,o,r;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(o=t.options.enableColumnFilters)||o)&&(null==(r=t.options.enableFilters)||r)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().columnFilters)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const o=e.getFilterFn(),r=null==t?void 0:t.find((t=>t.id===e.id)),i=ii(n,r?r.value:void 0);var a;if(Pi(o,i,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const l={id:e.id,value:i};var s;return r?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?s:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var o;return null==(o=ii(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(Pi(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,o;e.setColumnFilters(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Pi(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const zi={sum:(e,t,n)=>n.reduce(((t,n)=>{const o=n.getValue(e);return t+("number"==typeof o?o:0)}),0),min:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o>n||void 0===o&&n>=n)&&(o=n)})),o},max:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o<n||void 0===o&&n>=n)&&(o=n)})),o},extent:(e,t,n)=>{let o,r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===o?n>=n&&(o=r=n):(o>n&&(o=n),r<n&&(r=n)))})),[o,r]},mean:(e,t)=>{let n=0,o=0;if(t.forEach((t=>{let r=t.getValue(e);null!=r&&(r=+r)>=r&&(++n,o+=r)})),n)return o/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(o=n,!Array.isArray(o)||!o.every((e=>"number"==typeof e)))return;var o;if(1===n.length)return n[0];const r=Math.floor(n.length/2),i=n.sort(((e,t)=>e-t));return n.length%2!=0?i[r]:(i[r-1]+i[r])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},Fi={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:ai("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,o;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(o=t.options.enableGrouping)||o)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"number"==typeof o?zi.sum:"[object Date]"===Object.prototype.toString.call(o)?zi.extent:void 0},e.getAggregationFn=()=>{var n,o;if(!e)throw new Error;return li(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(o=t.options.aggregationFns)?void 0:o[e.columnDef.aggregationFn])?n:zi[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,o;e.setGrouping(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const o=t.getColumn(n);return null!=o&&o.columnDef.getGroupingValue?(e._groupingValuesCache[n]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,o)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const Mi={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ai("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=si((e=>[Ni(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),ci(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=Ni(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=Ni(t,n);return(null==(o=r[r.length-1])?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=si((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>o=>{let r=[];if(null!=e&&e.length){const t=[...e],n=[...o];for(;n.length&&t.length;){const e=t.shift(),o=n.findIndex((t=>t.id===e));o>-1&&r.push(n.splice(o,1)[0])}r=[...r,...n]}else r=o;return function(e,t,n){if(null==t||!t.length||!n)return e;const o=e.filter((e=>!t.includes(e.id)));if("remove"===n)return o;const r=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...r,...o]}(r,t,n)}),ci(e.options,"debugTable","_getOrderColumnsFn"))}},Ii={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:ai("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const o=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,r,i,a,l,s;return"right"===n?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter((e=>!(null!=o&&o.includes(e)))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter((e=>!(null!=o&&o.includes(e)))),...o]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=o&&o.includes(e)))),...o],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=o&&o.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=o&&o.includes(e)))),right:(null!=(r=null==e?void 0:e.right)?r:[]).filter((e=>!(null!=o&&o.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,o,r;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(o=null!=(r=t.options.enableColumnPinning)?r:t.options.enablePinning)||o)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:o,right:r}=t.getState().columnPinning,i=n.some((e=>null==o?void 0:o.includes(e))),a=n.some((e=>null==r?void 0:r.includes(e)));return i?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();return r?null!=(n=null==(o=t.getState().columnPinning)||null==(o=o[r])?void 0:o.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=si((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.column.id)))}),ci(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=si((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),ci(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=si((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),ci(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,o;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(o=e.initialState)?void 0:o.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const o=e.getState().columnPinning;var r,i;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.left)?void 0:r.length)||(null==(i=o.right)?void 0:i.length))},e.getLeftLeafColumns=si((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ci(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=si((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ci(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=si((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.id)))}),ci(e.options,"debugColumns","getCenterLeafColumns"))}},Vi={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Di={getDefaultColumnDef:()=>Vi,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:ai("columnSizing",e),onColumnSizingInfoChange:ai("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,o,r;const i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Vi.minSize,null!=(o=null!=i?i:e.columnDef.size)?o:Vi.size),null!=(r=e.columnDef.maxSize)?r:Vi.maxSize)},e.getStart=si((e=>[e,Ni(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),ci(t.options,"debugColumns","getStart")),e.getAfter=si((e=>[e,Ni(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),ci(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...o}=t;return o}))},e.getCanResize=()=>{var n,o;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(o=t.options.enableColumnResizing)||o)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var o;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(o=e.column.getSize())?o:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const o=t.getColumn(e.column.id),r=null==o?void 0:o.getCanResize();return i=>{if(!o||!r)return;if(null==i.persist||i.persist(),Ti(i)&&i.touches&&i.touches.length>1)return;const a=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[o.id,o.getSize()]],s=Ti(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var o,r;const i="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(o=null==e?void 0:e.startOffset)?o:0))*i,l=Math.max(a/(null!=(r=null==e?void 0:e.startSize)?r:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset:a,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),f=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},p=n||"undefined"!=typeof document?document:null,g={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",g.moveHandler),null==p||p.removeEventListener("mouseup",g.upHandler),f(e.clientX)}},h={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",h.moveHandler),null==p||p.removeEventListener("touchend",h.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof Ai)return Ai;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return Ai=e,Ai}()&&{passive:!1};Ti(i)?(null==p||p.addEventListener("touchmove",h.moveHandler,m),null==p||p.addEventListener("touchend",h.upHandler,m)):(null==p||p.addEventListener("mousemove",g.moveHandler,m),null==p||p.addEventListener("mouseup",g.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:o.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let Ai=null;function Ti(e){return"touchstart"===e.type}const _i={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ai("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,o;const r=e.columns;return null==(n=r.length?r.some((e=>e.getIsVisible())):null==(o=t.getState().columnVisibility)?void 0:o[e.id])||n},e.getCanHide=()=>{var n,o;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(o=t.options.enableHiding)||o)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=si((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),ci(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=si((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),ci(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>si((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),ci(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function Ni(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Li={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:ai("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const o=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof o||"number"==typeof o}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,o,r,i;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(o=t.options.enableGlobalFilter)||o)&&(null==(r=t.options.enableFilters)||r)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>ki.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return li(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:ki[o]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},$i={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:ai("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,o,r)=>{const i=o?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],a=r?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...a,e.id,...i]);t.setRowPinning((e=>{var t,o,r,i,a,s;return"bottom"===n?{top:(null!=(r=null==e?void 0:e.top)?r:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=l&&l.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:(null!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:o,enablePinning:r}=t.options;return"function"==typeof o?o(e):null==(n=null!=o?o:r)||n},e.getIsPinned=()=>{const n=[e.id],{top:o,bottom:r}=t.getState().rowPinning,i=n.some((e=>null==o?void 0:o.includes(e))),a=n.some((e=>null==r?void 0:r.includes(e)));return i?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();if(!r)return-1;const i=null==(n=t._getPinnedRows(r))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(o=null==i?void 0:i.indexOf(e.id))?o:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,o;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(o=e.initialState)?void 0:o.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const o=e.getState().rowPinning;var r,i;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.top)?void 0:r.length)||(null==(i=o.bottom)?void 0:i.length))},e._getPinnedRows=si((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,o)=>{var r;return(null==(r=e.options.keepPinnedRows)||r?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:o})))}),ci(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=si((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const o=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!o.has(e.id)))}),ci(e.options,"debugRows","getCenterRows"))}},ji={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ai("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const o={...n},r=e.getPreGroupedRowModel().flatRows;return t?r.forEach((e=>{e.getCanSelect()&&(o[e.id]=!0)})):r.forEach((e=>{delete o[e.id]})),o}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const o=void 0!==t?t:!e.getIsAllPageRowsSelected(),r={...n};return e.getRowModel().rows.forEach((t=>{Hi(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=si((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Gi(e,n):{rows:[],flatRows:[],rowsById:{}}),ci(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=si((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Gi(e,n):{rows:[],flatRows:[],rowsById:{}}),ci(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=si((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Gi(e,n):{rows:[],flatRows:[],rowsById:{}}),ci(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let o=Boolean(t.length&&Object.keys(n).length);return o&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let o=!!t.length;return o&&t.some((e=>!n[e.id]))&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,o)=>{const r=e.getIsSelected();t.setRowSelection((i=>{var a;if(n=void 0!==n?n:!r,e.getCanSelect()&&r===n)return i;const l={...i};return Hi(l,e.id,n,null==(a=null==o?void 0:o.selectChildren)||a,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Bi(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===qi(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===qi(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var o;t&&e.toggleSelected(null==(o=n.target)?void 0:o.checked)}}}},Hi=(e,t,n,o,r)=>{var i;const a=r.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),a.getCanSelect()&&(e[t]=!0)):delete e[t],o&&null!=(i=a.subRows)&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach((t=>Hi(e,t.id,n,o,r)))};function Gi(e,t){const n=e.getState().rowSelection,o=[],r={},i=function(e,t){return e.map((e=>{var t;const a=Bi(e,n);if(a&&(o.push(e),r[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),a)return e})).filter(Boolean)};return{rows:i(t.rows),flatRows:o,rowsById:r}}function Bi(e,t){var n;return null!=(n=t[e.id])&&n}function qi(e,t,n){var o;if(null==(o=e.subRows)||!o.length)return!1;let r=!0,i=!1;return e.subRows.forEach((e=>{if((!i||r)&&(e.getCanSelect()&&(Bi(e,t)?i=!0:r=!1),e.subRows&&e.subRows.length)){const n=qi(e,t);"all"===n?i=!0:"some"===n?(i=!0,r=!1):r=!1}})),r?"all":!!i&&"some"}const Ui=/([0-9]+)/gm;function Wi(e,t){return e===t?0:e>t?1:-1}function Yi(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Xi(e,t){const n=e.split(Ui).filter(Boolean),o=t.split(Ui).filter(Boolean);for(;n.length&&o.length;){const e=n.shift(),t=o.shift(),r=parseInt(e,10),i=parseInt(t,10),a=[r,i].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(r)?-1:1;if(r>i)return 1;if(i>r)return-1}}return n.length-o.length}const Ki={alphanumeric:(e,t,n)=>Xi(Yi(e.getValue(n)).toLowerCase(),Yi(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Xi(Yi(e.getValue(n)),Yi(t.getValue(n))),text:(e,t,n)=>Wi(Yi(e.getValue(n)).toLowerCase(),Yi(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Wi(Yi(e.getValue(n)),Yi(t.getValue(n))),datetime:(e,t,n)=>{const o=e.getValue(n),r=t.getValue(n);return o>r?1:o<r?-1:0},basic:(e,t,n)=>Wi(e.getValue(n),t.getValue(n))},Ji={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ai("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Ki.datetime;if("string"==typeof n&&(o=!0,n.split(Ui).length>1))return Ki.alphanumeric}return o?Ki.text:Ki.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,o;if(!e)throw new Error;return li(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(o=t.options.sortingFns)?void 0:o[e.columnDef.sortingFn])?n:Ki[e.columnDef.sortingFn]},e.toggleSorting=(n,o)=>{const r=e.getNextSortingOrder(),i=null!=n;t.setSorting((a=>{const l=null==a?void 0:a.find((t=>t.id===e.id)),s=null==a?void 0:a.findIndex((t=>t.id===e.id));let c,u=[],d=i?n:"desc"===r;var f;(c=null!=a&&a.length&&e.getCanMultiSort()&&o?l?"toggle":"add":null!=a&&a.length&&s!==a.length-1?"replace":l?"toggle":"replace","toggle"===c&&(i||r||(c="remove")),"add"===c)?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(f=t.options.maxMultiSortColCount)?f:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,o;return(null!=(n=null!=(o=e.columnDef.sortDescFirst)?o:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var o,r;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===i||null!=(o=t.options.enableSortingRemoval)&&!o||n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===a?"asc":"desc"):i},e.getCanSort=()=>{var n,o;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(o=t.options.enableSorting)||o)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,o;return null!=(n=null!=(o=e.columnDef.enableMultiSort)?o:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const o=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!o&&(o.desc?"desc":"asc")},e.getSortIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().sorting)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return o=>{n&&(null==o.persist||o.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(o))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,o;e.setSorting(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Zi=[fi,_i,Mi,Ii,hi,Ei,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Li,Ji,Fi,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ai("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetExpanded)?o:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,o;e.setExpanded(t?{}:null!=(n=null==(o=e.initialState)?void 0:o.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((o=>{var r;const i=!0===o||!(null==o||!o[e.id]);let a={};if(!0===o?Object.keys(t.getRowModel().rowsById).forEach((e=>{a[e]=!0})):a=o,n=null!=(r=n)?r:!i,!i&&n)return{...a,[e.id]:!0};if(i&&!n){const{[e.id]:t,...n}=a;return n}return o}))},e.getIsExpanded=()=>{var n;const o=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===o||(null==o?void 0:o[e.id]))},e.getCanExpand=()=>{var n,o,r;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(o=t.options.enableExpanding)||o)&&!(null==(r=e.subRows)||!r.length)},e.getIsAllParentsExpanded=()=>{let n=!0,o=e;for(;n&&o.parentId;)o=t.getRow(o.parentId,!0),n=o.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ai("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetPageIndex)?o:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>ii(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let o=ii(t,n.pageIndex);const r=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,r)),{...n,pageIndex:o}}))},e.resetPageIndex=t=>{var n,o;e.setPageIndex(t?0:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageIndex)?n:0)},e.resetPageSize=t=>{var n,o;e.setPageSize(t?10:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,ii(t,e.pageSize)),o=e.pageSize*e.pageIndex,r=Math.floor(o/n);return{...e,pageIndex:r,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var o;let r=ii(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=si((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),ci(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},$i,ji,Di];function Qi(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...Zi,...null!=(t=e._features)?t:[]];let r={_features:o};const i=r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(r))),{});let a={...null!=(n=e.initialState)?n:{}};r._features.forEach((e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a}));const l=[];let s=!1;const c={_features:o,options:{...i,...e},initialState:a,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{r.setState(r.initialState)},setOptions:e=>{const t=ii(e,r.options);r.options=(e=>r.options.mergeOptions?r.options.mergeOptions(i,e):{...i,...e})(t)},getState:()=>r.options.state,setState:e=>{null==r.options.onStateChange||r.options.onStateChange(e)},_getRowId:(e,t,n)=>{var o;return null!=(o=null==r.options.getRowId?void 0:r.options.getRowId(e,t,n))?o:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?r.getPrePaginationRowModel():r.getRowModel()).rowsById[e];if(!n&&(n=r.getCoreRowModel().rowsById[e],!n)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return n},_getDefaultColumnDef:si((()=>[r.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),ci(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:si((()=>[r._getColumnDefs()]),(e=>{const t=function(e,n,o){return void 0===o&&(o=0),e.map((e=>{const i=function(e,t,n,o){var r,i;const a={...e._getDefaultColumnDef(),...t},l=a.accessorKey;let s,c=null!=(r=null!=(i=a.id)?i:l?l.replace(".","_"):void 0)?r:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?s=a.accessorFn:l&&(s=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var n;t=null==(n=t)?void 0:n[e],"production"!==process.env.NODE_ENV&&void 0===t&&console.warn(`"${e}" in deeply nested key "${l}" returned undefined.`)}return t}:e=>e[a.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(a.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header");throw new Error}let u={id:`${String(c)}`,accessorFn:s,parent:o,depth:n,columnDef:a,columns:[],getFlatColumns:si((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),ci(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:si((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),ci(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(r,e,o,n),a=e;return i.columns=a.columns?t(a.columns,i,o+1):[],i}))};return t(e)}),ci(e,"debugColumns","getAllColumns")),getAllFlatColumns:si((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),ci(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:si((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),ci(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:si((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),ci(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=r._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(r,c);for(let e=0;e<r._features.length;e++){const t=r._features[e];null==t||null==t.createTable||t.createTable(r)}return r}
605
+ */function si(e,t){return"function"==typeof e?e(t):e}function ci(e,t){return n=>{t.setState((t=>({...t,[e]:si(n,t[e])})))}}function ui(e){return e instanceof Function}function di(e,t,n){let o,r=[];return i=>{let a;n.key&&n.debug&&(a=Date.now());const l=e(i);if(!(l.length!==r.length||l.some(((e,t)=>r[t]!==e))))return o;let s;if(r=l,n.key&&n.debug&&(s=Date.now()),o=t(...l),null==n||null==n.onChange||n.onChange(o),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-a))/100,t=Math.round(100*(Date.now()-s))/100,o=t/16,r=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${r(t,5)} /${r(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*o,120))}deg 100% 31%);`,null==n?void 0:n.key)}return o}}function fi(e,t,n,o){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:o}}const pi="debugHeaders";function gi(e,t,n){var o;let r={id:null!=(o=n.id)?o:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(r),e},getContext:()=>({table:e,header:r,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(r,e)})),r}const hi={createTable:e=>{e.getHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>{var i,a;const l=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],s=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],c=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id))));return mi(t,[...l,...c,...s],e)}),fi(e.options,pi,"getHeaderGroups")),e.getCenterHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>(n=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id)))),mi(t,n,e,"center"))),fi(e.options,pi,"getCenterHeaderGroups")),e.getLeftHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;return mi(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"left")}),fi(e.options,pi,"getLeftHeaderGroups")),e.getRightHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;return mi(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"right")}),fi(e.options,pi,"getRightHeaderGroups")),e.getFooterGroups=di((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getFooterGroups")),e.getLeftFooterGroups=di((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getLeftFooterGroups")),e.getCenterFooterGroups=di((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getCenterFooterGroups")),e.getRightFooterGroups=di((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getRightFooterGroups")),e.getFlatHeaders=di((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getFlatHeaders")),e.getLeftFlatHeaders=di((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getLeftFlatHeaders")),e.getCenterFlatHeaders=di((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getCenterFlatHeaders")),e.getRightFlatHeaders=di((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getRightFlatHeaders")),e.getCenterLeafHeaders=di((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),fi(e.options,pi,"getCenterLeafHeaders")),e.getLeftLeafHeaders=di((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),fi(e.options,pi,"getLeftLeafHeaders")),e.getRightLeafHeaders=di((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),fi(e.options,pi,"getRightLeafHeaders")),e.getLeafHeaders=di((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var o,r,i,a,l,s;return[...null!=(o=null==(r=e[0])?void 0:r.headers)?o:[],...null!=(i=null==(a=t[0])?void 0:a.headers)?i:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),fi(e.options,pi,"getLeafHeaders"))}};function mi(e,t,n,o){var r,i;let a=0;const l=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let s=[];const c=(e,t)=>{const r={depth:t,id:[o,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach((e=>{const a=[...i].reverse()[0];let l,s=!1;if(e.column.depth===r.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),a&&(null==a?void 0:a.column)===l)a.subHeaders.push(e);else{const r=gi(n,l,{id:[o,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${i.filter((e=>e.column===l)).length}`:void 0,depth:t,index:i.length});r.subHeaders.push(e),i.push(r)}r.headers.push(e),e.headerGroup=r})),s.push(r),t>0&&c(i,t-1)},u=t.map(((e,t)=>gi(n,e,{depth:a,index:t})));c(u,a-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,o=[0];e.subHeaders&&e.subHeaders.length?(o=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:r}=e;t+=n,o.push(r)}))):t=1;return n+=Math.min(...o),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(r=null==(i=s[0])?void 0:i.headers)?r:[]),s}const vi=(e,t,n,o,r,i,a)=>{let l={id:t,index:o,original:n,depth:r,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(l._valuesCache[t]=n.accessorFn(l.original,o),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=n.columnDef.getUniqueValues(l.original,o),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=l.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>function(e,t){const n=[],o=e=>{e.forEach((e=>{n.push(e);const r=t(e);null!=r&&r.length&&o(r)}))};return o(e),n}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:di((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,o){const r={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(o),renderValue:()=>{var t;return null!=(t=r.getValue())?t:e.options.renderFallbackValue},getContext:di((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),fi(e.options,"debugCells","cell.getContext"))};return e._features.forEach((o=>{null==o.createCell||o.createCell(r,n,t,e)}),{}),r}(e,l,t,t.id)))),fi(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:di((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),fi(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(l,e)}return l},bi={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},yi=(e,t,n)=>{var o;const r=n.toLowerCase();return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())||null==(o=o.toLowerCase())?void 0:o.includes(r))};yi.autoRemove=e=>zi(e);const wi=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};wi.autoRemove=e=>zi(e);const xi=(e,t,n)=>{var o;return(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.toLowerCase())===(null==n?void 0:n.toLowerCase())};xi.autoRemove=e=>zi(e);const Si=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};Si.autoRemove=e=>zi(e)||!(null!=e&&e.length);const Ci=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));Ci.autoRemove=e=>zi(e)||!(null!=e&&e.length);const Ri=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));Ri.autoRemove=e=>zi(e)||!(null!=e&&e.length);const ki=(e,t,n)=>e.getValue(t)===n;ki.autoRemove=e=>zi(e);const Oi=(e,t,n)=>e.getValue(t)==n;Oi.autoRemove=e=>zi(e);const Ei=(e,t,n)=>{let[o,r]=n;const i=e.getValue(t);return i>=o&&i<=r};Ei.resolveFilterValue=e=>{let[t,n]=e,o="number"!=typeof t?parseFloat(t):t,r="number"!=typeof n?parseFloat(n):n,i=null===t||Number.isNaN(o)?-1/0:o,a=null===n||Number.isNaN(r)?1/0:r;if(i>a){const e=i;i=a,a=e}return[i,a]},Ei.autoRemove=e=>zi(e)||zi(e[0])&&zi(e[1]);const Pi={includesString:yi,includesStringSensitive:wi,equalsString:xi,arrIncludes:Si,arrIncludesAll:Ci,arrIncludesSome:Ri,equals:ki,weakEquals:Oi,inNumberRange:Ei};function zi(e){return null==e||""===e}const Fi={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:ci("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"string"==typeof o?Pi.includesString:"number"==typeof o?Pi.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?Pi.equals:Array.isArray(o)?Pi.arrIncludes:Pi.weakEquals},e.getFilterFn=()=>{var n,o;return ui(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(o=t.options.filterFns)?void 0:o[e.columnDef.filterFn])?n:Pi[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,o,r;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(o=t.options.enableColumnFilters)||o)&&(null==(r=t.options.enableFilters)||r)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().columnFilters)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const o=e.getFilterFn(),r=null==t?void 0:t.find((t=>t.id===e.id)),i=si(n,r?r.value:void 0);var a;if(Mi(o,i,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const l={id:e.id,value:i};var s;return r?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?s:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var o;return null==(o=si(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(Mi(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,o;e.setColumnFilters(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Mi(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const Ii={sum:(e,t,n)=>n.reduce(((t,n)=>{const o=n.getValue(e);return t+("number"==typeof o?o:0)}),0),min:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o>n||void 0===o&&n>=n)&&(o=n)})),o},max:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o<n||void 0===o&&n>=n)&&(o=n)})),o},extent:(e,t,n)=>{let o,r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===o?n>=n&&(o=r=n):(o>n&&(o=n),r<n&&(r=n)))})),[o,r]},mean:(e,t)=>{let n=0,o=0;if(t.forEach((t=>{let r=t.getValue(e);null!=r&&(r=+r)>=r&&(++n,o+=r)})),n)return o/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(o=n,!Array.isArray(o)||!o.every((e=>"number"==typeof e)))return;var o;if(1===n.length)return n[0];const r=Math.floor(n.length/2),i=n.sort(((e,t)=>e-t));return n.length%2!=0?i[r]:(i[r-1]+i[r])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},Vi={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:ci("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,o;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(o=t.options.enableGrouping)||o)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"number"==typeof o?Ii.sum:"[object Date]"===Object.prototype.toString.call(o)?Ii.extent:void 0},e.getAggregationFn=()=>{var n,o;if(!e)throw new Error;return ui(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(o=t.options.aggregationFns)?void 0:o[e.columnDef.aggregationFn])?n:Ii[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,o;e.setGrouping(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const o=t.getColumn(n);return null!=o&&o.columnDef.getGroupingValue?(e._groupingValuesCache[n]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,o)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const Di={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ci("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=di((e=>[ji(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),fi(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=ji(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=ji(t,n);return(null==(o=r[r.length-1])?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=di((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>o=>{let r=[];if(null!=e&&e.length){const t=[...e],n=[...o];for(;n.length&&t.length;){const e=t.shift(),o=n.findIndex((t=>t.id===e));o>-1&&r.push(n.splice(o,1)[0])}r=[...r,...n]}else r=o;return function(e,t,n){if(null==t||!t.length||!n)return e;const o=e.filter((e=>!t.includes(e.id)));if("remove"===n)return o;const r=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...r,...o]}(r,t,n)}),fi(e.options,"debugTable","_getOrderColumnsFn"))}},Ai={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:ci("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const o=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,r,i,a,l,s;return"right"===n?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter((e=>!(null!=o&&o.includes(e)))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter((e=>!(null!=o&&o.includes(e)))),...o]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=o&&o.includes(e)))),...o],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=o&&o.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=o&&o.includes(e)))),right:(null!=(r=null==e?void 0:e.right)?r:[]).filter((e=>!(null!=o&&o.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,o,r;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(o=null!=(r=t.options.enableColumnPinning)?r:t.options.enablePinning)||o)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:o,right:r}=t.getState().columnPinning,i=n.some((e=>null==o?void 0:o.includes(e))),a=n.some((e=>null==r?void 0:r.includes(e)));return i?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();return r?null!=(n=null==(o=t.getState().columnPinning)||null==(o=o[r])?void 0:o.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=di((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.column.id)))}),fi(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=di((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),fi(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=di((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),fi(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,o;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(o=e.initialState)?void 0:o.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const o=e.getState().columnPinning;var r,i;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.left)?void 0:r.length)||(null==(i=o.right)?void 0:i.length))},e.getLeftLeafColumns=di((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),fi(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=di((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),fi(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=di((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.id)))}),fi(e.options,"debugColumns","getCenterLeafColumns"))}},Ti={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},_i={getDefaultColumnDef:()=>Ti,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:ci("columnSizing",e),onColumnSizingInfoChange:ci("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,o,r;const i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Ti.minSize,null!=(o=null!=i?i:e.columnDef.size)?o:Ti.size),null!=(r=e.columnDef.maxSize)?r:Ti.maxSize)},e.getStart=di((e=>[e,ji(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),fi(t.options,"debugColumns","getStart")),e.getAfter=di((e=>[e,ji(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),fi(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...o}=t;return o}))},e.getCanResize=()=>{var n,o;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(o=t.options.enableColumnResizing)||o)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var o;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(o=e.column.getSize())?o:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const o=t.getColumn(e.column.id),r=null==o?void 0:o.getCanResize();return i=>{if(!o||!r)return;if(null==i.persist||i.persist(),Li(i)&&i.touches&&i.touches.length>1)return;const a=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[o.id,o.getSize()]],s=Li(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var o,r;const i="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(o=null==e?void 0:e.startOffset)?o:0))*i,l=Math.max(a/(null!=(r=null==e?void 0:e.startSize)?r:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset:a,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),f=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},p=n||"undefined"!=typeof document?document:null,g={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",g.moveHandler),null==p||p.removeEventListener("mouseup",g.upHandler),f(e.clientX)}},h={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",h.moveHandler),null==p||p.removeEventListener("touchend",h.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof Ni)return Ni;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return Ni=e,Ni}()&&{passive:!1};Li(i)?(null==p||p.addEventListener("touchmove",h.moveHandler,m),null==p||p.addEventListener("touchend",h.upHandler,m)):(null==p||p.addEventListener("mousemove",g.moveHandler,m),null==p||p.addEventListener("mouseup",g.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:o.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let Ni=null;function Li(e){return"touchstart"===e.type}const $i={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ci("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,o;const r=e.columns;return null==(n=r.length?r.some((e=>e.getIsVisible())):null==(o=t.getState().columnVisibility)?void 0:o[e.id])||n},e.getCanHide=()=>{var n,o;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(o=t.options.enableHiding)||o)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=di((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),fi(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=di((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),fi(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>di((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),fi(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function ji(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Hi={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:ci("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const o=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof o||"number"==typeof o}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,o,r,i;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(o=t.options.enableGlobalFilter)||o)&&(null==(r=t.options.enableFilters)||r)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Pi.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return ui(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:Pi[o]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Gi={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:ci("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,o,r)=>{const i=o?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],a=r?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...a,e.id,...i]);t.setRowPinning((e=>{var t,o,r,i,a,s;return"bottom"===n?{top:(null!=(r=null==e?void 0:e.top)?r:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=l&&l.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:(null!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:o,enablePinning:r}=t.options;return"function"==typeof o?o(e):null==(n=null!=o?o:r)||n},e.getIsPinned=()=>{const n=[e.id],{top:o,bottom:r}=t.getState().rowPinning,i=n.some((e=>null==o?void 0:o.includes(e))),a=n.some((e=>null==r?void 0:r.includes(e)));return i?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();if(!r)return-1;const i=null==(n=t._getPinnedRows(r))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(o=null==i?void 0:i.indexOf(e.id))?o:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,o;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(o=e.initialState)?void 0:o.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const o=e.getState().rowPinning;var r,i;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.top)?void 0:r.length)||(null==(i=o.bottom)?void 0:i.length))},e._getPinnedRows=di((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,o)=>{var r;return(null==(r=e.options.keepPinnedRows)||r?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:o})))}),fi(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=di((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const o=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!o.has(e.id)))}),fi(e.options,"debugRows","getCenterRows"))}},Bi={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ci("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const o={...n},r=e.getPreGroupedRowModel().flatRows;return t?r.forEach((e=>{e.getCanSelect()&&(o[e.id]=!0)})):r.forEach((e=>{delete o[e.id]})),o}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const o=void 0!==t?t:!e.getIsAllPageRowsSelected(),r={...n};return e.getRowModel().rows.forEach((t=>{qi(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=di((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Ui(e,n):{rows:[],flatRows:[],rowsById:{}}),fi(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=di((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Ui(e,n):{rows:[],flatRows:[],rowsById:{}}),fi(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=di((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Ui(e,n):{rows:[],flatRows:[],rowsById:{}}),fi(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let o=Boolean(t.length&&Object.keys(n).length);return o&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let o=!!t.length;return o&&t.some((e=>!n[e.id]))&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,o)=>{const r=e.getIsSelected();t.setRowSelection((i=>{var a;if(n=void 0!==n?n:!r,e.getCanSelect()&&r===n)return i;const l={...i};return qi(l,e.id,n,null==(a=null==o?void 0:o.selectChildren)||a,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Wi(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Yi(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Yi(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var o;t&&e.toggleSelected(null==(o=n.target)?void 0:o.checked)}}}},qi=(e,t,n,o,r)=>{var i;const a=r.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),a.getCanSelect()&&(e[t]=!0)):delete e[t],o&&null!=(i=a.subRows)&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach((t=>qi(e,t.id,n,o,r)))};function Ui(e,t){const n=e.getState().rowSelection,o=[],r={},i=function(e,t){return e.map((e=>{var t;const a=Wi(e,n);if(a&&(o.push(e),r[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),a)return e})).filter(Boolean)};return{rows:i(t.rows),flatRows:o,rowsById:r}}function Wi(e,t){var n;return null!=(n=t[e.id])&&n}function Yi(e,t,n){var o;if(null==(o=e.subRows)||!o.length)return!1;let r=!0,i=!1;return e.subRows.forEach((e=>{if((!i||r)&&(e.getCanSelect()&&(Wi(e,t)?i=!0:r=!1),e.subRows&&e.subRows.length)){const n=Yi(e,t);"all"===n?i=!0:"some"===n?(i=!0,r=!1):r=!1}})),r?"all":!!i&&"some"}const Xi=/([0-9]+)/gm;function Ki(e,t){return e===t?0:e>t?1:-1}function Ji(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Zi(e,t){const n=e.split(Xi).filter(Boolean),o=t.split(Xi).filter(Boolean);for(;n.length&&o.length;){const e=n.shift(),t=o.shift(),r=parseInt(e,10),i=parseInt(t,10),a=[r,i].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(r)?-1:1;if(r>i)return 1;if(i>r)return-1}}return n.length-o.length}const Qi={alphanumeric:(e,t,n)=>Zi(Ji(e.getValue(n)).toLowerCase(),Ji(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Zi(Ji(e.getValue(n)),Ji(t.getValue(n))),text:(e,t,n)=>Ki(Ji(e.getValue(n)).toLowerCase(),Ji(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Ki(Ji(e.getValue(n)),Ji(t.getValue(n))),datetime:(e,t,n)=>{const o=e.getValue(n),r=t.getValue(n);return o>r?1:o<r?-1:0},basic:(e,t,n)=>Ki(e.getValue(n),t.getValue(n))},ea={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ci("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Qi.datetime;if("string"==typeof n&&(o=!0,n.split(Xi).length>1))return Qi.alphanumeric}return o?Qi.text:Qi.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,o;if(!e)throw new Error;return ui(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(o=t.options.sortingFns)?void 0:o[e.columnDef.sortingFn])?n:Qi[e.columnDef.sortingFn]},e.toggleSorting=(n,o)=>{const r=e.getNextSortingOrder(),i=null!=n;t.setSorting((a=>{const l=null==a?void 0:a.find((t=>t.id===e.id)),s=null==a?void 0:a.findIndex((t=>t.id===e.id));let c,u=[],d=i?n:"desc"===r;var f;(c=null!=a&&a.length&&e.getCanMultiSort()&&o?l?"toggle":"add":null!=a&&a.length&&s!==a.length-1?"replace":l?"toggle":"replace","toggle"===c&&(i||r||(c="remove")),"add"===c)?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(f=t.options.maxMultiSortColCount)?f:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,o;return(null!=(n=null!=(o=e.columnDef.sortDescFirst)?o:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var o,r;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===i||null!=(o=t.options.enableSortingRemoval)&&!o||n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===a?"asc":"desc"):i},e.getCanSort=()=>{var n,o;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(o=t.options.enableSorting)||o)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,o;return null!=(n=null!=(o=e.columnDef.enableMultiSort)?o:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const o=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!o&&(o.desc?"desc":"asc")},e.getSortIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().sorting)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return o=>{n&&(null==o.persist||o.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(o))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,o;e.setSorting(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},ta=[hi,$i,Di,Ai,bi,Fi,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Hi,ea,Vi,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ci("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetExpanded)?o:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,o;e.setExpanded(t?{}:null!=(n=null==(o=e.initialState)?void 0:o.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((o=>{var r;const i=!0===o||!(null==o||!o[e.id]);let a={};if(!0===o?Object.keys(t.getRowModel().rowsById).forEach((e=>{a[e]=!0})):a=o,n=null!=(r=n)?r:!i,!i&&n)return{...a,[e.id]:!0};if(i&&!n){const{[e.id]:t,...n}=a;return n}return o}))},e.getIsExpanded=()=>{var n;const o=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===o||(null==o?void 0:o[e.id]))},e.getCanExpand=()=>{var n,o,r;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(o=t.options.enableExpanding)||o)&&!(null==(r=e.subRows)||!r.length)},e.getIsAllParentsExpanded=()=>{let n=!0,o=e;for(;n&&o.parentId;)o=t.getRow(o.parentId,!0),n=o.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ci("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetPageIndex)?o:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>si(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let o=si(t,n.pageIndex);const r=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,r)),{...n,pageIndex:o}}))},e.resetPageIndex=t=>{var n,o;e.setPageIndex(t?0:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageIndex)?n:0)},e.resetPageSize=t=>{var n,o;e.setPageSize(t?10:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,si(t,e.pageSize)),o=e.pageSize*e.pageIndex,r=Math.floor(o/n);return{...e,pageIndex:r,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var o;let r=si(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=di((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),fi(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Gi,Bi,_i];function na(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...ta,...null!=(t=e._features)?t:[]];let r={_features:o};const i=r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(r))),{});let a={...null!=(n=e.initialState)?n:{}};r._features.forEach((e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a}));const l=[];let s=!1;const c={_features:o,options:{...i,...e},initialState:a,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{r.setState(r.initialState)},setOptions:e=>{const t=si(e,r.options);r.options=(e=>r.options.mergeOptions?r.options.mergeOptions(i,e):{...i,...e})(t)},getState:()=>r.options.state,setState:e=>{null==r.options.onStateChange||r.options.onStateChange(e)},_getRowId:(e,t,n)=>{var o;return null!=(o=null==r.options.getRowId?void 0:r.options.getRowId(e,t,n))?o:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?r.getPrePaginationRowModel():r.getRowModel()).rowsById[e];if(!n&&(n=r.getCoreRowModel().rowsById[e],!n)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return n},_getDefaultColumnDef:di((()=>[r.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),fi(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:di((()=>[r._getColumnDefs()]),(e=>{const t=function(e,n,o){return void 0===o&&(o=0),e.map((e=>{const i=function(e,t,n,o){var r,i;const a={...e._getDefaultColumnDef(),...t},l=a.accessorKey;let s,c=null!=(r=null!=(i=a.id)?i:l?l.replace(".","_"):void 0)?r:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?s=a.accessorFn:l&&(s=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var n;t=null==(n=t)?void 0:n[e],"production"!==process.env.NODE_ENV&&void 0===t&&console.warn(`"${e}" in deeply nested key "${l}" returned undefined.`)}return t}:e=>e[a.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(a.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header");throw new Error}let u={id:`${String(c)}`,accessorFn:s,parent:o,depth:n,columnDef:a,columns:[],getFlatColumns:di((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),fi(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:di((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),fi(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(r,e,o,n),a=e;return i.columns=a.columns?t(a.columns,i,o+1):[],i}))};return t(e)}),fi(e,"debugColumns","getAllColumns")),getAllFlatColumns:di((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),fi(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:di((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),fi(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:di((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),fi(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=r._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(r,c);for(let e=0;e<r._features.length;e++){const t=r._features[e];null==t||null==t.createTable||t.createTable(r)}return r}
606
606
  /**
607
607
  * react-table
608
608
  *
@@ -613,7 +613,7 @@ small {
613
613
  *
614
614
  * @license MIT
615
615
  */
616
- function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(o=t)||"function"==typeof o||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(o)?e.createElement(t,n):t:null;var o}const ta=cn.table`
616
+ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(o=t)||"function"==typeof o||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(o)?e.createElement(t,n):t:null;var o}const ra=dn.table`
617
617
  width: 100%;
618
618
  border-collapse: collapse;
619
619
  position: relative;
@@ -689,7 +689,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
689
689
  .heading {
690
690
  font-size: var(--font-size--medium);
691
691
  }
692
- `,na=cn.div`
692
+ `,ia=dn.div`
693
693
  display: flex;
694
694
  justify-content: space-between;
695
695
  align-items: center;
@@ -703,7 +703,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
703
703
  align-items: center;
704
704
  gap: var(--spacing--small);
705
705
  }
706
- `,oa=cn.div`
706
+ `,aa=dn.div`
707
707
  display: flex;
708
708
  gap: var(--spacing--medium);
709
709
 
@@ -735,7 +735,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
735
735
  pointer-events: none;
736
736
  }
737
737
  }
738
- `;function ra({data:n,columns:o,pageCount:r,totalCount:i,next:a,previous:l,page:s,pageable:c,pageSize:u}){const[p,g]=t.useState((()=>[...n])),[h,m]=t.useState({pageIndex:0,pageSize:u||10}),v=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=e.useState((()=>({current:Qi(n)}))),[r,i]=e.useState((()=>o.current.initialState));return o.current.setOptions((e=>({...e,...t,state:{...r,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),o.current}({columns:o,data:p,getCoreRowModel:e=>si((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const a=[];for(let s=0;s<t.length;s++){const c=gi(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var l;n.flatRows.push(c),n.rowsById[c.id]=c,a.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[s],s),null!=(l=c.originalSubRows)&&l.length&&(c.subRows=o(c.originalSubRows,r+1,c)))}return a};return n.rows=o(t),n}),ci(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),pageCount:r,state:{pagination:t.useMemo((()=>({pageIndex:h.pageIndex,pageSize:h.pageSize})),[h.pageIndex,h.pageSize])},onPaginationChange:m,manualPagination:!0});return t.useEffect((()=>{void 0!==s&&v.setPageIndex(Number(s-1))}),[s,v]),t.useEffect((()=>{g(n)}),[n]),f(ta,{children:[v.getHeaderGroups().map((e=>d("thead",{children:d("tr",{children:e.headers.map((e=>d("th",{key:e.id,colSpan:e.colSpan,style:{width:e.getSize()},children:e.isPlaceholder?null:ea(e.column.columnDef.header,e.getContext())})))},e.id)}))),d("tbody",{children:v.getRowModel().rows.map((e=>d("tr",{children:e.getVisibleCells().map((e=>d("td",{key:e.id,style:{width:e.column.getSize()},children:ea(e.column.columnDef.cell,e.getContext())})))},e.id)))}),d("tfoot",{children:f(na,{children:[void 0!==i?f("div",{children:["Total: ",i]}):null,c?f(oa,{children:[d(po,{type:"link",href:v.getCanPreviousPage()?window.location.href:"",disabled:!v.getCanPreviousPage(),children:"<<"}),d(po,{type:"link",href:v.getCanPreviousPage()&&l?l:"",disabled:!v.getCanPreviousPage(),children:"<"}),d(po,{type:"link",href:v.getCanNextPage()&&a?a:"",disabled:!v.getCanNextPage(),children:">"}),d(po,{href:v.getCanNextPage()?`${window.location.href}?page=${String(r)}`:"",type:"link",disabled:!v.getCanNextPage(),children:">>"}),f("span",{children:[d("div",{children:"Page"}),f("strong",{children:[v.getState().pagination.pageIndex+1," of"," ",v.getPageCount()]})]})]}):null]})})]})}const ia=cn.div`
738
+ `;function la({data:n,columns:o,pageCount:r,totalCount:i,next:a,previous:l,page:s,pageable:c,pageSize:u}){const[d,g]=t.useState((()=>[...n])),[h,m]=t.useState({pageIndex:0,pageSize:u||10}),v=function(t){const n={state:{},onStateChange:()=>{},renderFallbackValue:null,...t},[o]=e.useState((()=>({current:na(n)}))),[r,i]=e.useState((()=>o.current.initialState));return o.current.setOptions((e=>({...e,...t,state:{...r,...t.state},onStateChange:e=>{i(e),null==t.onStateChange||t.onStateChange(e)}}))),o.current}({columns:o,data:d,getCoreRowModel:e=>di((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const a=[];for(let s=0;s<t.length;s++){const c=vi(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var l;n.flatRows.push(c),n.rowsById[c.id]=c,a.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[s],s),null!=(l=c.originalSubRows)&&l.length&&(c.subRows=o(c.originalSubRows,r+1,c)))}return a};return n.rows=o(t),n}),fi(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),pageCount:r,state:{pagination:t.useMemo((()=>({pageIndex:h.pageIndex,pageSize:h.pageSize})),[h.pageIndex,h.pageSize])},onPaginationChange:m,manualPagination:!0});return t.useEffect((()=>{void 0!==s&&v.setPageIndex(Number(s-1))}),[s,v]),t.useEffect((()=>{g(n)}),[n]),p(ra,{children:[v.getHeaderGroups().map((e=>f("thead",{children:f("tr",{children:e.headers.map((e=>f("th",{key:e.id,colSpan:e.colSpan,style:{width:e.getSize()},children:e.isPlaceholder?null:oa(e.column.columnDef.header,e.getContext())})))},e.id)}))),f("tbody",{children:v.getRowModel().rows.map((e=>f("tr",{children:e.getVisibleCells().map((e=>f("td",{key:e.id,style:{width:e.column.getSize()},children:oa(e.column.columnDef.cell,e.getContext())})))},e.id)))}),f("tfoot",{children:p(ia,{children:[void 0!==i?p("div",{children:["Total: ",i]}):null,c?p(aa,{children:[f(mo,{type:"link",href:v.getCanPreviousPage()?window.location.href:"",disabled:!v.getCanPreviousPage(),children:"<<"}),f(mo,{type:"link",href:v.getCanPreviousPage()&&l?l:"",disabled:!v.getCanPreviousPage(),children:"<"}),f(mo,{type:"link",href:v.getCanNextPage()&&a?a:"",disabled:!v.getCanNextPage(),children:">"}),f(mo,{href:v.getCanNextPage()?`${window.location.href}?page=${String(r)}`:"",type:"link",disabled:!v.getCanNextPage(),children:">>"}),p("span",{children:[f("div",{children:"Page"}),p("strong",{children:[v.getState().pagination.pageIndex+1," of"," ",v.getPageCount()]})]})]}):null]})})]})}const sa=dn.div`
739
739
  background-color: transparent;
740
740
  border-bottom: 2px solid transparent;
741
741
  color: var(--color--grey-dark);
@@ -743,13 +743,13 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
743
743
  transition: border-bottom 0.2s ease-in-out;
744
744
  margin-top: var(--spacing--medium);
745
745
  margin-bottom: var(--spacing--medium);
746
- `,aa=cn.div`
746
+ `,ca=dn.div`
747
747
  display: flex;
748
748
  border-bottom: 3px solid var(--color--grey-borders);
749
749
  @media print {
750
750
  display: none;
751
751
  }
752
- `,la=cn.div`
752
+ `,ua=dn.div`
753
753
  display: flex;
754
754
  width: 100%;
755
755
  overflow: auto;
@@ -758,7 +758,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
758
758
  &::-webkit-scrollbar {
759
759
  display: none;
760
760
  }
761
- `,sa=cn.button`
761
+ `,da=dn.button`
762
762
  position: relative;
763
763
  background-color: transparent;
764
764
  border: none;
@@ -789,7 +789,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
789
789
  @media print {
790
790
  display: none;
791
791
  }
792
- `,ca=cn.button`
792
+ `,fa=dn.button`
793
793
  background: transparent;
794
794
  border: 0;
795
795
  cursor: pointer;
@@ -812,7 +812,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
812
812
  &.left-arrow[disabled] {
813
813
  display: none;
814
814
  }
815
- `,ua=cn.div`
815
+ `,pa=dn.div`
816
816
  margin-top: var(--spacing--medium);
817
817
  background-color: var(--color--white);
818
818
  padding: var(--spacing--large);
@@ -826,7 +826,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
826
826
  border-radius: 0;
827
827
  box-shadow: none;
828
828
  }
829
- `,da=cn.section`
829
+ `,ga=dn.section`
830
830
  display: ${({$show:e})=>e?"flex":"none"};
831
831
  flex-direction: column;
832
832
 
@@ -838,46 +838,46 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
838
838
  page-break-after: avoid;
839
839
  }
840
840
  }
841
- `;function fa({tabsConfig:e=[],defaultIndex:t=0}){const[o,r]=a(t),i=n(null),c=n([]),[u,p]=a(!1),[g,h]=a({right:!1,left:!0}),m=e=>{if(!i.current)return;const t=c.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},v=e=>{const t=c.current[e];t&&t.focus(),m(e)},b=t=>{const n=e.length,r={ArrowRight:()=>v((o+1)%n),ArrowLeft:()=>v((o-1+n)%n),Home:()=>v(0),End:()=>v(n-1)}[t.key];r&&(t.preventDefault(),r())},y=(e,t)=>{if(!e)return;let n=0;const o=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(o)}),20);h({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return l((()=>{i.current&&p(i.current.offsetWidth<i.current.scrollWidth)}),[]),s((()=>{const e=()=>{if(!i.current)return;const{offsetWidth:e,scrollWidth:t}=i.current;p(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),f(ia,{children:[f(aa,{role:"tablist","aria-orientation":"horizontal",children:[u&&f(ca,{onClick:()=>i.current&&y(i.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:g.left,children:[d(Nn,{name:"fa/chevron-left-solid",size:"large"})," "]}),d(la,{ref:i,children:e.length>0?e.map(((e,t)=>d(sa,{type:"button",onClick:()=>(e=>{m(e),r(e)})(t),role:"tab",ref:e=>{e&&(c.current[t]=e)},"aria-controls":`panel-id-${t}`,"aria-selected":o===t,id:`tab-id-${t}`,onKeyDown:b,onFocus:()=>r(t),tabIndex:o===t?0:-1,children:e.label},`tab-${e.label}`))):d("div",{children:"No tab content to display"})}),u&&d(ca,{onClick:()=>i.current&&y(i.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:g.right,children:d(Nn,{name:"fa/chevron-right-solid",size:"large"})})]}),d(ua,{children:e.map(((e,t)=>f(da,{role:"tabpanel","aria-labelledby":`tab-id-${t}`,id:`panel-id-${t}`,$show:o===t,tabIndex:0,children:[e.label?d(hn,{as:"h2",children:e.label}):null,e.content]},`tabpanel-${e.label}`)))})]})}const pa={small:an`
841
+ `;function ha({tabsConfig:e=[],defaultIndex:t=0}){const[o,r]=l(t),i=n(null),a=n([]),[u,d]=l(!1),[g,h]=l({right:!1,left:!0}),m=e=>{if(!i.current)return;const t=a.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},v=e=>{const t=a.current[e];t&&t.focus(),m(e)},b=t=>{const n=e.length,r={ArrowRight:()=>v((o+1)%n),ArrowLeft:()=>v((o-1+n)%n),Home:()=>v(0),End:()=>v(n-1)}[t.key];r&&(t.preventDefault(),r())},y=(e,t)=>{if(!e)return;let n=0;const o=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(o)}),20);h({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return s((()=>{i.current&&d(i.current.offsetWidth<i.current.scrollWidth)}),[]),c((()=>{const e=()=>{if(!i.current)return;const{offsetWidth:e,scrollWidth:t}=i.current;d(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),p(sa,{children:[p(ca,{role:"tablist","aria-orientation":"horizontal",children:[u&&p(fa,{onClick:()=>i.current&&y(i.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:g.left,children:[f(jn,{name:"fa/chevron-left-solid",size:"large"})," "]}),f(ua,{ref:i,children:e.length>0?e.map(((e,t)=>f(da,{type:"button",onClick:()=>(e=>{m(e),r(e)})(t),role:"tab",ref:e=>{e&&(a.current[t]=e)},"aria-controls":`panel-id-${t}`,"aria-selected":o===t,id:`tab-id-${t}`,onKeyDown:b,onFocus:()=>r(t),tabIndex:o===t?0:-1,children:e.label},`tab-${e.label}`))):f("div",{children:"No tab content to display"})}),u&&f(fa,{onClick:()=>i.current&&y(i.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:g.right,children:f(jn,{name:"fa/chevron-right-solid",size:"large"})})]}),f(pa,{children:e.map(((e,t)=>p(ga,{role:"tabpanel","aria-labelledby":`tab-id-${t}`,id:`panel-id-${t}`,$show:o===t,tabIndex:0,children:[e.label?f(bn,{as:"h2",children:e.label}):null,e.content]},`tabpanel-${e.label}`)))})]})}const ma={small:sn`
842
842
  font-size: var(--font-size--small);
843
843
  line-height: var(--line-height--small);
844
- `,medium:an`
844
+ `,medium:sn`
845
845
  font-size: var(--font-size--medium);
846
846
  line-height: var(--line-height--medium);
847
- `,large:an`
847
+ `,large:sn`
848
848
  font-size: var(--font-size--large);
849
849
  line-height: var(--line-height--large);
850
- `},ga=cn.div`
850
+ `},va=dn.div`
851
851
  font-weight: var(--font-weight--bold);
852
852
  color: var(--color--grey-dark);
853
853
  margin-bottom: var(--spacing--xsmall);
854
- ${({$size:e})=>pa[e||"medium"]}
855
- `,ha=cn.div`
854
+ ${({$size:e})=>ma[e||"medium"]}
855
+ `,ba=dn.div`
856
856
  font-weight: 400;
857
- ${({$size:e})=>pa[e||"medium"]}
858
- `,ma=cn.div`
857
+ ${({$size:e})=>ma[e||"medium"]}
858
+ `,ya=dn.div`
859
859
  grid-gap: var(--spacing--medium);
860
- ${({$inline:e})=>e?an`
860
+ ${({$inline:e})=>e?sn`
861
861
  display: grid;
862
862
  grid-template-columns: 1fr 3fr;
863
863
  @media (max-width: 768px) {
864
864
  grid-template-columns: 1fr;
865
865
  }
866
866
  `:""}
867
- `;function va({label:e,content:t,size:n,inline:o=!1}){return f(ma,{$inline:o,children:[e?d(ga,{$size:n,children:e}):null,t?d(ha,{$size:n,children:t}):null]})}const ba=dn`
867
+ `;function wa({label:e,content:t,size:n,inline:o=!1}){return p(ya,{$inline:o,children:[e?f(va,{$size:n,children:e}):null,t?f(ba,{$size:n,children:t}):null]})}const xa=pn`
868
868
  0% {
869
869
  background-position: 0% 50%;
870
870
  }
871
871
  100% {
872
872
  background-position: 200% 50%;
873
873
  }
874
- `,ya=cn.div`
874
+ `,Sa=dn.div`
875
875
  position: relative;
876
876
  width: 100%;
877
877
  height: 6px;
878
878
  background-color: #d7d7d7;
879
879
  border-radius: 3px;
880
- `,wa=cn.div`
880
+ `,Ca=dn.div`
881
881
  position: absolute;
882
882
  left: 0;
883
883
  top: 0;
@@ -890,15 +890,15 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
890
890
  background-size: 200% 200%;
891
891
  border-radius: 3px;
892
892
  transition: width 1s ease;
893
- animation: ${ba} 3s ease infinite;
893
+ animation: ${xa} 3s ease infinite;
894
894
  transform: rotate(180deg);
895
- `;function xa({ariaLabel:e,percentage:t}){return d(ya,{role:"progressbar","aria-label":e,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t,children:d(wa,{style:{width:`${t}%`}})})}const Sa=cn.div`
895
+ `;function Ra({ariaLabel:e,percentage:t}){return f(Sa,{role:"progressbar","aria-label":e,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":t,children:f(Ca,{style:{width:`${t}%`}})})}const ka=dn.div`
896
896
  position: fixed;
897
897
  bottom: 2rem;
898
898
  width: 100%;
899
899
  z-index: 2000;
900
900
  pointer-events: none;
901
- `,Ca=cn.div`
901
+ `,Oa=dn.div`
902
902
  position: absolute;
903
903
  top: 0;
904
904
  width: 100%;
@@ -908,7 +908,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
908
908
  align-items: center;
909
909
  margin-top: var(--spacing--small);
910
910
  transition: top 0.1s ease;
911
- `,Ra=cn.div`
911
+ `,Ea=dn.div`
912
912
  padding: var(--spacing--small) var(--spacing--medium);
913
913
  text-align: center;
914
914
  border-radius: var(--border-radius--medium);
@@ -923,31 +923,31 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
923
923
  margin-right: var(--spacing--small);
924
924
  }
925
925
 
926
- ${e=>"success"===e.level?an`
926
+ ${e=>"success"===e.level?sn`
927
927
  background-color: var(--color--green-light);
928
928
  color: var(--color--dark-blue);
929
929
 
930
930
  svg {
931
931
  color: var(--color--dark-blue);
932
932
  }
933
- `:"warning"===e.level?an`
933
+ `:"warning"===e.level?sn`
934
934
  background-color: var(--color--amber-tint);
935
935
  color: var(--color--dark-blue);
936
936
 
937
937
  svg {
938
938
  color: var(--color--amber);
939
939
  }
940
- `:"error"===e.level?an`
940
+ `:"error"===e.level?sn`
941
941
  background-color: #ffdadd;
942
942
  color: var(--color--dark-blue);
943
943
 
944
944
  svg {
945
945
  color: var(--color--red-dark);
946
946
  }
947
- `:an``}
947
+ `:sn``}
948
948
 
949
949
  // Fadeout animation
950
- ${({noFade:e})=>e?an``:an`
950
+ ${({noFade:e})=>e?sn``:sn`
951
951
  animation: 5s ease 0s normal forwards 1 fadeout;
952
952
  @keyframes fadeout {
953
953
  0% {
@@ -961,7 +961,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
961
961
  }
962
962
  }
963
963
  `}
964
- `;function ka({message:e}){const t="success"===e.level?d(Nn,{name:"fa/check-circle-solid"}):d(Nn,{name:"fa/exclamation-triangle-solid"});return f(Ra,"html"in e?{level:e.level,noFade:e.noFade,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[t,d("span",{dangerouslySetInnerHTML:{__html:e.html}})]}:{level:e.level,noFade:e.noFade,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[t,e.text]})}function Oa({messages:e}){return d(Sa,{children:d(Ca,{style:{top:`-${55*e.length}px`},children:e.map((e=>d(ka,{message:e},String(e))))})})}function Ea(){return f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[d("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),d("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),d("defs",{children:d("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function Pa(){return d(Ea,{})}const za=cn.details`
964
+ `;function Pa({message:e}){const t="success"===e.level?f(jn,{name:"fa/check-circle-solid"}):f(jn,{name:"fa/exclamation-triangle-solid"});return p(Ea,"html"in e?{level:e.level,noFade:e.noFade,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[t,f("span",{dangerouslySetInnerHTML:{__html:e.html}})]}:{level:e.level,noFade:e.noFade,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[t,e.text]})}function za({messages:e}){return f(ka,{children:f(Oa,{style:{top:`-${55*e.length}px`},children:e.map((e=>f(Pa,{message:e},String(e))))})})}function Fa(){return p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[f("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),f("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),f("defs",{children:f("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function Ma(){return f(Fa,{})}const Ia=dn.details`
965
965
  position: relative;
966
966
  margin-left: 10px;
967
967
 
@@ -969,7 +969,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
969
969
  background-color: rgb(255, 255, 255, 0.1);
970
970
  opacity: 1;
971
971
  }
972
- `,Fa=cn.summary`
972
+ `,Va=dn.summary`
973
973
  list-style: none;
974
974
  background-color: rgb(255, 255, 255, 0);
975
975
  border-radius: var(--border-radius--medium);
@@ -1001,7 +1001,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
1001
1001
  margin-right: 5px;
1002
1002
  flex-shrink: 0;
1003
1003
  }
1004
- `,Ma=cn.div`
1004
+ `,Da=dn.div`
1005
1005
  position: absolute;
1006
1006
  top: calc(100% + 5px);
1007
1007
  left: 0;
@@ -1070,7 +1070,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
1070
1070
  }
1071
1071
  }
1072
1072
  }
1073
- `;function Ia({children:e,toggle:n,rightAlign:o}){const[r,i]=t.useState(!1),a=t.useRef(null),l=t.useRef(null);t.useEffect((()=>{r&&setTimeout((()=>a.current?.focus()),1)}),[r]);const s=e=>{l.current&&e.target instanceof Node&&!l.current.contains(e.target)&&i(!1)};return t.useEffect((()=>(document.addEventListener("click",s,!0),()=>{document.removeEventListener("click",s,!0)})),[]),d("div",{ref:l,children:f(za,{open:r,children:[d(Fa,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),i(!r)},"aria-expanded":r,children:n}),d(Ma,{className:o?"right":"",ref:a,role:"menu",children:e})]})})}const Va=cn.header`
1073
+ `;function Aa({children:e,toggle:n,rightAlign:o}){const[r,i]=t.useState(!1),a=t.useRef(null),l=t.useRef(null);t.useEffect((()=>{r&&setTimeout((()=>a.current?.focus()),1)}),[r]);const s=e=>{l.current&&e.target instanceof Node&&!l.current.contains(e.target)&&i(!1)};return t.useEffect((()=>(document.addEventListener("click",s,!0),()=>{document.removeEventListener("click",s,!0)})),[]),f("div",{ref:l,children:p(Ia,{open:r,children:[f(Va,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),i(!r)},"aria-expanded":r,children:n}),f(Da,{className:o?"right":"",ref:a,role:"menu",children:e})]})})}const Ta=dn.header`
1074
1074
  display: flex;
1075
1075
  flex-flow: row;
1076
1076
  align-items: center;
@@ -1083,29 +1083,29 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
1083
1083
  @media print {
1084
1084
  display: none;
1085
1085
  }
1086
- `,Da=cn.a`
1086
+ `,_a=dn.a`
1087
1087
  flex-shrink: 0;
1088
1088
  display: inline-flex;
1089
- `,Aa=cn.div`
1089
+ `,Na=dn.div`
1090
1090
  margin-left: auto;
1091
1091
  display: flex;
1092
1092
  flex-flow: row;
1093
1093
  align-items: center;
1094
1094
  height: 100%;
1095
- `,Ta=cn.div``,_a=cn.div`
1095
+ `,La=dn.div``,$a=dn.div`
1096
1096
  display: flex;
1097
1097
  align-items: center;
1098
- `;function Na({currentApp:e,apps:t}){const n=d("svg",{viewBox:"0 0 32 32",children:f("g",{children:[d("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),d("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),d("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),d("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),d("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),d("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),d("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),d("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),d("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return d(Ia,{toggle:f(p,{children:[n,e&&d(_a,{children:e})]}),children:t})}function La({apps:e,currentApp:t,leftSide:n,rightSide:o}){return f(Va,{children:[d(Da,{href:"/",children:d(Pa,{})}),d(Na,{apps:e,currentApp:t}),d(Ta,{children:n}),d(Aa,{children:o})]})}const $a=cn.div`
1098
+ `;function ja({currentApp:e,apps:t}){const n=f("svg",{viewBox:"0 0 32 32",children:p("g",{children:[f("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),f("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),f("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),f("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),f("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),f("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),f("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),f("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),f("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return f(Aa,{toggle:p(g,{children:[n,e&&f($a,{children:e})]}),children:t})}function Ha({apps:e,currentApp:t,leftSide:n,rightSide:o}){return p(Ta,{children:[f(_a,{href:"/",children:f(Ma,{})}),f(ja,{apps:e,currentApp:t}),f(La,{children:n}),f(Na,{children:o})]})}const Ga=dn.div`
1099
1099
  height: 100%;
1100
1100
  position: absolute;
1101
1101
  width: 100%;
1102
1102
  top: 0;
1103
1103
  left: 0;
1104
- `,ja=cn.main`
1104
+ `,Ba=dn.main`
1105
1105
  width: 100%;
1106
1106
  height: calc(100% - 136px); // TODO: calculate the height of the header
1107
1107
  position: relative;
1108
- `;function Ha({children:e,header:t,footer:n}){return f($a,{children:[d(pn,{}),t,d(ja,{children:e}),n]})}const Ga=cn.div`
1108
+ `;function qa({children:e,header:t,footer:n}){return f(tn,{theme:mn,children:p(Ga,{children:[f(hn,{}),t,f(Ba,{children:e}),n]})})}const Ua=dn.div`
1109
1109
  display: flex;
1110
1110
  flex-flow: wrap;
1111
1111
  justify-content: space-between;
@@ -1114,12 +1114,12 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
1114
1114
  @media print {
1115
1115
  display: none;
1116
1116
  }
1117
- `,Ba=cn.ul`
1117
+ `,Wa=dn.ul`
1118
1118
  display: flex;
1119
1119
  flex-flow: row;
1120
1120
  width: 100%;
1121
1121
  flex-wrap: wrap;
1122
- `,qa=cn.li`
1122
+ `,Ya=dn.li`
1123
1123
  display: inline-block;
1124
1124
  color: var(--color--grey);
1125
1125
  overflow: hidden;
@@ -1138,7 +1138,7 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
1138
1138
  font-weight: 600;
1139
1139
  }
1140
1140
  }
1141
- `;function Ua({children:e}){return d(Ga,{children:d(Ba,{children:e})})}Ua.Item=qa;var Wa,Ya={exports:{}},Xa={exports:{}},Ka={};var Ja,Za,Qa,el,tl,nl,ol,rl,il,al,ll,sl,cl,ul,dl={};
1141
+ `;function Xa({children:e}){return f(Ua,{children:f(Wa,{children:e})})}Xa.Item=Ya;var Ka,Ja={exports:{}},Za={exports:{}},Qa={};var el,tl,nl,ol,rl,il,al,ll,sl,cl,ul,dl,fl,pl,gl={};
1142
1142
  /** @license React v16.13.1
1143
1143
  * react-is.development.js
1144
1144
  *
@@ -1146,12 +1146,12 @@ function ea(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
1146
1146
  *
1147
1147
  * This source code is licensed under the MIT license found in the
1148
1148
  * LICENSE file in the root directory of this source tree.
1149
- */function fl(){return Za||(Za=1,"production"===process.env.NODE_ENV?Xa.exports=function(){if(Wa)return Ka;Wa=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case g:case p:case a:return e;default:return f}}case n:return f}}}function w(e){return y(e)===c}return Ka.AsyncMode=s,Ka.ConcurrentMode=c,Ka.ContextConsumer=l,Ka.ContextProvider=a,Ka.Element=t,Ka.ForwardRef=u,Ka.Fragment=o,Ka.Lazy=g,Ka.Memo=p,Ka.Portal=n,Ka.Profiler=i,Ka.StrictMode=r,Ka.Suspense=d,Ka.isAsyncMode=function(e){return w(e)||y(e)===s},Ka.isConcurrentMode=w,Ka.isContextConsumer=function(e){return y(e)===l},Ka.isContextProvider=function(e){return y(e)===a},Ka.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ka.isForwardRef=function(e){return y(e)===u},Ka.isFragment=function(e){return y(e)===o},Ka.isLazy=function(e){return y(e)===g},Ka.isMemo=function(e){return y(e)===p},Ka.isPortal=function(e){return y(e)===n},Ka.isProfiler=function(e){return y(e)===i},Ka.isStrictMode=function(e){return y(e)===r},Ka.isSuspense=function(e){return y(e)===d},Ka.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b||e.$$typeof===h)},Ka.typeOf=y,Ka}():Xa.exports=(Ja||(Ja=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case s:case c:case o:case i:case r:case d:return h;default:var m=h&&h.$$typeof;switch(m){case l:case u:case g:case p:case a:return m;default:return f}}case n:return f}}}var w=s,x=c,S=l,C=a,R=t,k=u,O=o,E=g,P=p,z=n,F=i,M=r,I=d,V=!1;function D(e){return y(e)===c}dl.AsyncMode=w,dl.ConcurrentMode=x,dl.ContextConsumer=S,dl.ContextProvider=C,dl.Element=R,dl.ForwardRef=k,dl.Fragment=O,dl.Lazy=E,dl.Memo=P,dl.Portal=z,dl.Profiler=F,dl.StrictMode=M,dl.Suspense=I,dl.isAsyncMode=function(e){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||y(e)===s},dl.isConcurrentMode=D,dl.isContextConsumer=function(e){return y(e)===l},dl.isContextProvider=function(e){return y(e)===a},dl.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},dl.isForwardRef=function(e){return y(e)===u},dl.isFragment=function(e){return y(e)===o},dl.isLazy=function(e){return y(e)===g},dl.isMemo=function(e){return y(e)===p},dl.isPortal=function(e){return y(e)===n},dl.isProfiler=function(e){return y(e)===i},dl.isStrictMode=function(e){return y(e)===r},dl.isSuspense=function(e){return y(e)===d},dl.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b||e.$$typeof===h)},dl.typeOf=y}()),dl)),Xa.exports}
1149
+ */function hl(){return tl||(tl=1,"production"===process.env.NODE_ENV?Za.exports=function(){if(Ka)return Qa;Ka=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case g:case p:case a:return e;default:return f}}case n:return f}}}function w(e){return y(e)===c}return Qa.AsyncMode=s,Qa.ConcurrentMode=c,Qa.ContextConsumer=l,Qa.ContextProvider=a,Qa.Element=t,Qa.ForwardRef=u,Qa.Fragment=o,Qa.Lazy=g,Qa.Memo=p,Qa.Portal=n,Qa.Profiler=i,Qa.StrictMode=r,Qa.Suspense=d,Qa.isAsyncMode=function(e){return w(e)||y(e)===s},Qa.isConcurrentMode=w,Qa.isContextConsumer=function(e){return y(e)===l},Qa.isContextProvider=function(e){return y(e)===a},Qa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qa.isForwardRef=function(e){return y(e)===u},Qa.isFragment=function(e){return y(e)===o},Qa.isLazy=function(e){return y(e)===g},Qa.isMemo=function(e){return y(e)===p},Qa.isPortal=function(e){return y(e)===n},Qa.isProfiler=function(e){return y(e)===i},Qa.isStrictMode=function(e){return y(e)===r},Qa.isSuspense=function(e){return y(e)===d},Qa.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b||e.$$typeof===h)},Qa.typeOf=y,Qa}():Za.exports=(el||(el=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,h=e?Symbol.for("react.block"):60121,m=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var h=e.type;switch(h){case s:case c:case o:case i:case r:case d:return h;default:var m=h&&h.$$typeof;switch(m){case l:case u:case g:case p:case a:return m;default:return f}}case n:return f}}}var w=s,x=c,S=l,C=a,R=t,k=u,O=o,E=g,P=p,z=n,F=i,M=r,I=d,V=!1;function D(e){return y(e)===c}gl.AsyncMode=w,gl.ConcurrentMode=x,gl.ContextConsumer=S,gl.ContextProvider=C,gl.Element=R,gl.ForwardRef=k,gl.Fragment=O,gl.Lazy=E,gl.Memo=P,gl.Portal=z,gl.Profiler=F,gl.StrictMode=M,gl.Suspense=I,gl.isAsyncMode=function(e){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||y(e)===s},gl.isConcurrentMode=D,gl.isContextConsumer=function(e){return y(e)===l},gl.isContextProvider=function(e){return y(e)===a},gl.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},gl.isForwardRef=function(e){return y(e)===u},gl.isFragment=function(e){return y(e)===o},gl.isLazy=function(e){return y(e)===g},gl.isMemo=function(e){return y(e)===p},gl.isPortal=function(e){return y(e)===n},gl.isProfiler=function(e){return y(e)===i},gl.isStrictMode=function(e){return y(e)===r},gl.isSuspense=function(e){return y(e)===d},gl.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===m||e.$$typeof===v||e.$$typeof===b||e.$$typeof===h)},gl.typeOf=y}()),gl)),Za.exports}
1150
1150
  /*
1151
1151
  object-assign
1152
1152
  (c) Sindre Sorhus
1153
1153
  @license MIT
1154
- */function pl(){if(el)return Qa;el=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Qa=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))t.call(i,c)&&(l[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(l[a[u]]=i[a[u]])}}return l},Qa}function gl(){if(nl)return tl;nl=1;return tl="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function hl(){return rl?ol:(rl=1,ol=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var ml=fl();Ya.exports=function(){if(sl)return ll;sl=1;var e=fl(),t=pl(),n=gl(),o=hl(),r=function(){if(al)return il;al=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=gl(),n={},o=hl();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,l,s){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((l||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,l,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+a+" type: "+u.message+(null!=f?f:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},il=r}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),ll=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(a),arrayOf:function(e){return h((function(t,o,r,i,a){if("function"!=typeof e)return new g("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[o];if(!Array.isArray(l))return new g("Invalid "+i+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,r,i,a+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:h((function(e,t,n,o,r){var i=e[t];return l(i)?null:new g("Invalid "+o+" `"+r+"` of type `"+y(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new g("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||d;return new g("Invalid "+r+" `"+i+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+o+"`, expected instance of `"+a+"`.")}var l;return null}))},node:h((function(e,t,n,o,r){return b(e[t])?null:new g("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,r,i,a,l){if("function"!=typeof e)return new g("Property `"+l+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[r],c=y(s);if("object"!==c)return new g("Invalid "+a+" `"+l+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(o(s,u)){var d=e(s,u,i,a,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,o,r,i){for(var a=t[n],l=0;l<e.length;l++)if(p(a,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new g("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),a}return h((function(t,r,i,a,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,l,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&s.push(u.data.expectedType)}return new g("Invalid "+a+" `"+l+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,o,r,i,a){var l=t[o],s=y(l);if("object"!==s)return new g("Invalid "+i+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(r,i,a,c,w(u));var d=u(l,c,r,i,a+"."+c,n);if(d)return d}return null}))},exact:function(e){return h((function(r,i,a,l,s){var c=r[i],u=y(c);if("object"!==u)return new g("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var f in d){var p=e[f];if(o(e,f)&&"function"!=typeof p)return v(a,l,s,f,w(p));if(!p)return new g("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(c,f,a,l,s+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function g(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,l,c,u,f,p){if(c=c||d,f=f||l,p!==n){if(s){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=c+":"+l;!t[m]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,o++)}}return null==a[l]?r?null===a[l]?new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,l,c,u,f)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function m(e){return h((function(t,n,o,r,i,a){var l=t[n];return y(l)!==e?new g("Invalid "+r+" `"+i+"` of type `"+w(l)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,o,r){return new g((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(r[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return g.prototype=Error.prototype,f.checkPropTypes=r,f.resetWarningCache=r.resetWarningCache,f.PropTypes=f,f},ll}()(ml.isElement,!0)}else Ya.exports=function(){if(ul)return cl;ul=1;var e=gl();function t(){}function n(){}return n.resetWarningCache=t,cl=function(){function o(t,n,o,r,i,a){if(a!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var vl=Ya.exports,bl=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],yl=bl.join(","),wl="undefined"==typeof Element,xl=wl?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Sl=!wl&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Cl=function e(t,n){var o;void 0===n&&(n=!0);var r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},Rl=function(e,t,n){if(Cl(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(yl));return t&&xl.call(e,yl)&&o.unshift(e),o=o.filter(n)},kl=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var a=i.shift();if(!Cl(a,!1))if("SLOT"===a.tagName){var l=a.assignedElements(),s=e(l.length?l:a.children,!0,o);o.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{xl.call(a,yl)&&o.filter(a)&&(n||!t.includes(a))&&r.push(a);var c=a.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(a),u=!Cl(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scopeParent:a,candidates:d})}else i.unshift.apply(i,a.children)}}return r},Ol=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},El=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Ol(e)?0:e.tabIndex},Pl=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},zl=function(e){return"INPUT"===e.tagName},Fl=function(e){return function(e){return zl(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Sl(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},Ml=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},Il=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=xl.call(e,"details>summary:first-of-type")?e.parentElement:e;if(xl.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Ml(e)}else{if("function"==typeof o){for(var i=e;e;){var a=e.parentElement,l=Sl(e);if(a&&!a.shadowRoot&&!0===o(a))return Ml(e);e=e.assignedSlot?e.assignedSlot:a||l===e.ownerDocument?a:l.host}e=i}if(function(e){var t,n,o,r,i=e&&Sl(e),a=null===(t=i)||void 0===t?void 0:t.host,l=!1;if(i&&i!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!l&&a;){var s,c,u;l=!(null===(c=a=null===(s=i=Sl(a))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Vl=function(e,t){return!(t.disabled||Cl(t)||function(e){return zl(e)&&"hidden"===e.type}(t)||Il(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!xl.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},Dl=function(e,t){return!(Fl(t)||El(t)<0||!Vl(e,t))},Al=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Tl=function e(t){var n=[],o=[];return t.forEach((function(t,r){var i=!!t.scopeParent,a=i?t.scopeParent:t,l=function(e,t){var n=El(e);return n<0&&t&&!Ol(e)?0:n}(a,i),s=i?e(t.candidates):a;0===l?i?n.push.apply(n,s):n.push(a):o.push({documentOrder:r,tabIndex:l,item:t,isScope:i,content:s})})),o.sort(Pl).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},_l=function(e,t){var n;return n=(t=t||{}).getShadowRoot?kl([e],t.includeContainer,{filter:Dl.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Al}):Rl(e,t.includeContainer,Dl.bind(null,t)),Tl(n)},Nl=function(e,t){return(t=t||{}).getShadowRoot?kl([e],t.includeContainer,{filter:Vl.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Rl(e,t.includeContainer,Vl.bind(null,t))},Ll=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==xl.call(e,yl)&&Dl(t,e)},$l=bl.concat("iframe").join(","),jl=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==xl.call(e,$l)&&Vl(t,e)},Hl=Object.freeze({__proto__:null,focusable:Nl,getTabIndex:El,isFocusable:jl,isTabbable:Ll,tabbable:_l});
1154
+ */function ml(){if(ol)return nl;ol=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return nl=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))t.call(i,c)&&(l[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(l[a[u]]=i[a[u]])}}return l},nl}function vl(){if(il)return rl;il=1;return rl="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function bl(){return ll?al:(ll=1,al=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var yl=hl();Ja.exports=function(){if(dl)return ul;dl=1;var e=hl(),t=ml(),n=vl(),o=bl(),r=function(){if(cl)return sl;cl=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=vl(),n={},o=bl();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,l,s){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((l||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,l,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+a+" type: "+u.message+(null!=f?f:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},sl=r}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),ul=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(a),arrayOf:function(e){return h((function(t,o,r,i,a){if("function"!=typeof e)return new g("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[o];if(!Array.isArray(l))return new g("Invalid "+i+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,r,i,a+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:h((function(e,t,n,o,r){var i=e[t];return l(i)?null:new g("Invalid "+o+" `"+r+"` of type `"+y(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new g("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||d;return new g("Invalid "+r+" `"+i+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+o+"`, expected instance of `"+a+"`.")}var l;return null}))},node:h((function(e,t,n,o,r){return b(e[t])?null:new g("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,r,i,a,l){if("function"!=typeof e)return new g("Property `"+l+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[r],c=y(s);if("object"!==c)return new g("Invalid "+a+" `"+l+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(o(s,u)){var d=e(s,u,i,a,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,o,r,i){for(var a=t[n],l=0;l<e.length;l++)if(p(a,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new g("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),a}return h((function(t,r,i,a,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,l,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&s.push(u.data.expectedType)}return new g("Invalid "+a+" `"+l+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,o,r,i,a){var l=t[o],s=y(l);if("object"!==s)return new g("Invalid "+i+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(r,i,a,c,w(u));var d=u(l,c,r,i,a+"."+c,n);if(d)return d}return null}))},exact:function(e){return h((function(r,i,a,l,s){var c=r[i],u=y(c);if("object"!==u)return new g("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var f in d){var p=e[f];if(o(e,f)&&"function"!=typeof p)return v(a,l,s,f,w(p));if(!p)return new g("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(c,f,a,l,s+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function g(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,l,c,u,f,p){if(c=c||d,f=f||l,p!==n){if(s){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=c+":"+l;!t[m]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,o++)}}return null==a[l]?r?null===a[l]?new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,l,c,u,f)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function m(e){return h((function(t,n,o,r,i,a){var l=t[n];return y(l)!==e?new g("Invalid "+r+" `"+i+"` of type `"+w(l)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,o,r){return new g((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(r[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return g.prototype=Error.prototype,f.checkPropTypes=r,f.resetWarningCache=r.resetWarningCache,f.PropTypes=f,f},ul}()(yl.isElement,!0)}else Ja.exports=function(){if(pl)return fl;pl=1;var e=vl();function t(){}function n(){}return n.resetWarningCache=t,fl=function(){function o(t,n,o,r,i,a){if(a!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var wl=Ja.exports,xl=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Sl=xl.join(","),Cl="undefined"==typeof Element,Rl=Cl?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,kl=!Cl&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Ol=function e(t,n){var o;void 0===n&&(n=!0);var r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},El=function(e,t,n){if(Ol(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(Sl));return t&&Rl.call(e,Sl)&&o.unshift(e),o=o.filter(n)},Pl=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var a=i.shift();if(!Ol(a,!1))if("SLOT"===a.tagName){var l=a.assignedElements(),s=e(l.length?l:a.children,!0,o);o.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{Rl.call(a,Sl)&&o.filter(a)&&(n||!t.includes(a))&&r.push(a);var c=a.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(a),u=!Ol(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scopeParent:a,candidates:d})}else i.unshift.apply(i,a.children)}}return r},zl=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Fl=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!zl(e)?0:e.tabIndex},Ml=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Il=function(e){return"INPUT"===e.tagName},Vl=function(e){return function(e){return Il(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||kl(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},Dl=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},Al=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=Rl.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Rl.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Dl(e)}else{if("function"==typeof o){for(var i=e;e;){var a=e.parentElement,l=kl(e);if(a&&!a.shadowRoot&&!0===o(a))return Dl(e);e=e.assignedSlot?e.assignedSlot:a||l===e.ownerDocument?a:l.host}e=i}if(function(e){var t,n,o,r,i=e&&kl(e),a=null===(t=i)||void 0===t?void 0:t.host,l=!1;if(i&&i!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!l&&a;){var s,c,u;l=!(null===(c=a=null===(s=i=kl(a))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Tl=function(e,t){return!(t.disabled||Ol(t)||function(e){return Il(e)&&"hidden"===e.type}(t)||Al(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!Rl.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},_l=function(e,t){return!(Vl(t)||Fl(t)<0||!Tl(e,t))},Nl=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ll=function e(t){var n=[],o=[];return t.forEach((function(t,r){var i=!!t.scopeParent,a=i?t.scopeParent:t,l=function(e,t){var n=Fl(e);return n<0&&t&&!zl(e)?0:n}(a,i),s=i?e(t.candidates):a;0===l?i?n.push.apply(n,s):n.push(a):o.push({documentOrder:r,tabIndex:l,item:t,isScope:i,content:s})})),o.sort(Ml).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},$l=function(e,t){var n;return n=(t=t||{}).getShadowRoot?Pl([e],t.includeContainer,{filter:_l.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Nl}):El(e,t.includeContainer,_l.bind(null,t)),Ll(n)},jl=function(e,t){return(t=t||{}).getShadowRoot?Pl([e],t.includeContainer,{filter:Tl.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):El(e,t.includeContainer,Tl.bind(null,t))},Hl=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Rl.call(e,Sl)&&_l(t,e)},Gl=xl.concat("iframe").join(","),Bl=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Rl.call(e,Gl)&&Tl(t,e)},ql=Object.freeze({__proto__:null,focusable:jl,getTabIndex:Fl,isFocusable:Bl,isTabbable:Hl,tabbable:$l});
1155
1155
  /*!
1156
1156
  * tabbable 6.2.0
1157
1157
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
@@ -1160,7 +1160,7 @@ object-assign
1160
1160
  * focus-trap 7.5.4
1161
1161
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
1162
1162
  */
1163
- function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Bl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gl(Object(n),!0).forEach((function(t){ql(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ql(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ul=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},Wl=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},Yl=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Xl=function(e){return Yl(e)&&!e.shiftKey},Kl=function(e){return Yl(e)&&e.shiftKey},Jl=function(e){return setTimeout(e,0)},Zl=function(e,t){var n=-1;return e.every((function(e,o){return!t(e)||(n=o,!1)})),n},Ql=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},es=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},ts=[],ns=Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,o=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||ts,i=Bl({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Xl,isKeyBackward:Kl},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return a.containerGroups.findIndex((function(t){var o=t.container,r=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||r.find((function(t){return t===e}))}))},c=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!jl(e,i.tabbableOptions))if(s(o.activeElement)>=0)e=o.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(a.containerGroups=a.containers.map((function(e){var t=_l(e,i.tabbableOptions),n=Nl(e,i.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return Ll(e)})),l=n.slice().reverse().find((function(e){return Ll(e)})),s=!!t.find((function(e){return El(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:a,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find((function(e){return Ll(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return Ll(e)})):t[r+(o?1:-1)]}}})),a.tabbableGroups=a.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),a.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find((function(e){return e.posTabIndexesFound}))&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==f(document)&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(u()))},g=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||es(n),d();var l=null;if(a.tabbableGroups.length>0){var u=s(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)l=r?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(r){var p=Zl(a.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(f.container===t||jl(t,i.tabbableOptions)&&!Ll(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var g=0===p?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[g];l=El(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else Yl(n)||(l=f.nextTabbableNode(t,!1))}else{var m=Zl(a.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(f.container===t||jl(t,i.tabbableOptions)&&!Ll(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(m=u),m>=0){var v=m===a.tabbableGroups.length-1?0:m+1,b=a.tabbableGroups[v];l=El(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else Yl(n)||(l=f.nextTabbableNode(t))}}else l=c("fallbackFocus");return l},m=function(e){var t=es(e);s(t,e)>=0||(Ql(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate}):Ql(i.allowOutsideClick,e)||e.preventDefault())},v=function(e){var t=es(e),n=s(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(a.mostRecentlyFocusedNode)if(El(a.mostRecentlyFocusedNode)>0){var l=s(a.mostRecentlyFocusedNode),c=a.containerGroups[l].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===a.mostRecentlyFocusedNode}));d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<c.length&&(o=c[d+1],r=!1):d-1>=0&&(o=c[d-1],r=!1))}}else a.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return El(e)>0}))}))||(r=!1);else r=!1;r&&(o=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(o||(a.mostRecentlyFocusedNode||u()))}a.recentNavEvent=void 0},b=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===Ql(i.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(i.isKeyForward(e)||i.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(Yl(e)&&e.preventDefault(),p(n))}(e,i.isKeyBackward(e))},y=function(e){var t=es(e);s(t,e)>=0||Ql(i.clickOutsideDeactivates,e)||Ql(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(a.active)return Ul(r,n),a.delayInitialFocusTimer=i.delayInitialFocus?Jl((function(){p(u())})):p(u()),o.addEventListener("focusin",v,!0),o.addEventListener("mousedown",m,{capture:!0,passive:!1}),o.addEventListener("touchstart",m,{capture:!0,passive:!1}),o.addEventListener("click",y,{capture:!0,passive:!1}),o.addEventListener("keydown",b,{capture:!0,passive:!1}),n},x=function(){if(a.active)return o.removeEventListener("focusin",v,!0),o.removeEventListener("mousedown",m,!0),o.removeEventListener("touchstart",m,!0),o.removeEventListener("click",y,!0),o.removeEventListener("keydown",b,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===a.mostRecentlyFocusedNode}))}));t&&p(u())})):void 0,C=function(){S&&(S.disconnect(),a.active&&!a.paused&&a.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=l(e,"onActivate"),n=l(e,"onPostActivate"),r=l(e,"checkCanFocusTrap");r||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var i=function(){r&&d(),w(),C(),null==n||n()};return r?(r(a.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!a.active)return this;var t=Bl({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,x(),a.active=!1,a.paused=!1,C(),Wl(r,n);var o=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),u=l(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var d=function(){Jl((function(){u&&p(g(a.nodeFocusedBeforeActivation)),null==s||s()}))};return u&&c?(c(g(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(a.paused||!a.active)return this;var t=l(e,"onPause"),n=l(e,"onPostPause");return a.paused=!0,null==t||t(),x(),C(),null==n||n(),this},unpause:function(e){if(!a.paused||!a.active)return this;var t=l(e,"onUnpause"),n=l(e,"onPostUnpause");return a.paused=!1,null==t||t(),d(),w(),C(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),a.active&&d(),C(),this}}).updateContainerElements(e),n}}),os=x(ns),rs=x(Hl);function is(e){return is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},is(e)}function as(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,ds(o.key),o)}}function ls(e,t){return ls=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ls(e,t)}function ss(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=us(e);if(t){var r=us(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===is(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cs(e)}(this,n)}}function cs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},us(e)}function ds(e){var t=function(e,t){if("object"!==is(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==is(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===is(t)?t:String(t)}var fs=t,ps=vl,gs=os.createFocusTrap,hs=rs.isFocusable,ms=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ls(e,t)}(i,fs.Component);var t,n,o,r=ss(i);function i(e){var t,n,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=r.call(this,e),n=cs(t),a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,l=n;if("string"==typeof n&&!(l=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(o=ds(o="getNodeForOption"))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,t.handleDeactivate=t.handleDeactivate.bind(cs(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(cs(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(cs(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var l=e.focusTrapOptions;for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=l[s]:t.originalOptions[s]=l[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=i,n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||hs(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll,r=void 0!==o&&o;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();o&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?fs.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===fs.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return fs.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}],n&&as(t.prototype,n),o&&as(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(),vs="undefined"==typeof Element?Function:Element;ms.propTypes={active:ps.bool,paused:ps.bool,focusTrapOptions:ps.shape({document:ps.object,onActivate:ps.func,onPostActivate:ps.func,checkCanFocusTrap:ps.func,onPause:ps.func,onPostPause:ps.func,onUnpause:ps.func,onPostUnpause:ps.func,onDeactivate:ps.func,onPostDeactivate:ps.func,checkCanReturnFocus:ps.func,initialFocus:ps.oneOfType([ps.instanceOf(vs),ps.string,ps.bool,ps.func]),fallbackFocus:ps.oneOfType([ps.instanceOf(vs),ps.string,ps.func]),escapeDeactivates:ps.oneOfType([ps.bool,ps.func]),clickOutsideDeactivates:ps.oneOfType([ps.bool,ps.func]),returnFocusOnDeactivate:ps.bool,setReturnFocus:ps.oneOfType([ps.instanceOf(vs),ps.string,ps.bool,ps.func]),allowOutsideClick:ps.oneOfType([ps.bool,ps.func]),preventScroll:ps.bool,tabbableOptions:ps.shape({displayCheck:ps.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:ps.oneOfType([ps.bool,ps.func])}),trapStack:ps.array,isKeyForward:ps.func,isKeyBackward:ps.func}),containerElements:ps.arrayOf(ps.instanceOf(vs)),children:ps.oneOfType([ps.element,ps.instanceOf(vs)])},ms.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:gs};var bs=w(ms);const ys=dn`
1163
+ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Wl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ul(Object(n),!0).forEach((function(t){Yl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ul(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yl(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xl=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},Kl=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},Jl=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Zl=function(e){return Jl(e)&&!e.shiftKey},Ql=function(e){return Jl(e)&&e.shiftKey},es=function(e){return setTimeout(e,0)},ts=function(e,t){var n=-1;return e.every((function(e,o){return!t(e)||(n=o,!1)})),n},ns=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},os=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},rs=[],is=Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,o=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||rs,i=Wl({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Zl,isKeyBackward:Ql},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return a.containerGroups.findIndex((function(t){var o=t.container,r=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||r.find((function(t){return t===e}))}))},c=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!Bl(e,i.tabbableOptions))if(s(o.activeElement)>=0)e=o.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(a.containerGroups=a.containers.map((function(e){var t=$l(e,i.tabbableOptions),n=jl(e,i.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return Hl(e)})),l=n.slice().reverse().find((function(e){return Hl(e)})),s=!!t.find((function(e){return Fl(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:a,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find((function(e){return Hl(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return Hl(e)})):t[r+(o?1:-1)]}}})),a.tabbableGroups=a.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),a.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find((function(e){return e.posTabIndexesFound}))&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==f(document)&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(u()))},g=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||os(n),d();var l=null;if(a.tabbableGroups.length>0){var u=s(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)l=r?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(r){var p=ts(a.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(f.container===t||Bl(t,i.tabbableOptions)&&!Hl(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var g=0===p?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[g];l=Fl(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else Jl(n)||(l=f.nextTabbableNode(t,!1))}else{var m=ts(a.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(f.container===t||Bl(t,i.tabbableOptions)&&!Hl(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(m=u),m>=0){var v=m===a.tabbableGroups.length-1?0:m+1,b=a.tabbableGroups[v];l=Fl(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else Jl(n)||(l=f.nextTabbableNode(t))}}else l=c("fallbackFocus");return l},m=function(e){var t=os(e);s(t,e)>=0||(ns(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate}):ns(i.allowOutsideClick,e)||e.preventDefault())},v=function(e){var t=os(e),n=s(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(a.mostRecentlyFocusedNode)if(Fl(a.mostRecentlyFocusedNode)>0){var l=s(a.mostRecentlyFocusedNode),c=a.containerGroups[l].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===a.mostRecentlyFocusedNode}));d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<c.length&&(o=c[d+1],r=!1):d-1>=0&&(o=c[d-1],r=!1))}}else a.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return Fl(e)>0}))}))||(r=!1);else r=!1;r&&(o=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(o||(a.mostRecentlyFocusedNode||u()))}a.recentNavEvent=void 0},b=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===ns(i.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(i.isKeyForward(e)||i.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(Jl(e)&&e.preventDefault(),p(n))}(e,i.isKeyBackward(e))},y=function(e){var t=os(e);s(t,e)>=0||ns(i.clickOutsideDeactivates,e)||ns(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(a.active)return Xl(r,n),a.delayInitialFocusTimer=i.delayInitialFocus?es((function(){p(u())})):p(u()),o.addEventListener("focusin",v,!0),o.addEventListener("mousedown",m,{capture:!0,passive:!1}),o.addEventListener("touchstart",m,{capture:!0,passive:!1}),o.addEventListener("click",y,{capture:!0,passive:!1}),o.addEventListener("keydown",b,{capture:!0,passive:!1}),n},x=function(){if(a.active)return o.removeEventListener("focusin",v,!0),o.removeEventListener("mousedown",m,!0),o.removeEventListener("touchstart",m,!0),o.removeEventListener("click",y,!0),o.removeEventListener("keydown",b,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===a.mostRecentlyFocusedNode}))}));t&&p(u())})):void 0,C=function(){S&&(S.disconnect(),a.active&&!a.paused&&a.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=l(e,"onActivate"),n=l(e,"onPostActivate"),r=l(e,"checkCanFocusTrap");r||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var i=function(){r&&d(),w(),C(),null==n||n()};return r?(r(a.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!a.active)return this;var t=Wl({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,x(),a.active=!1,a.paused=!1,C(),Kl(r,n);var o=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),u=l(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var d=function(){es((function(){u&&p(g(a.nodeFocusedBeforeActivation)),null==s||s()}))};return u&&c?(c(g(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(a.paused||!a.active)return this;var t=l(e,"onPause"),n=l(e,"onPostPause");return a.paused=!0,null==t||t(),x(),C(),null==n||n(),this},unpause:function(e){if(!a.paused||!a.active)return this;var t=l(e,"onUnpause"),n=l(e,"onPostUnpause");return a.paused=!1,null==t||t(),d(),w(),C(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),a.active&&d(),C(),this}}).updateContainerElements(e),n}}),as=S(is),ls=S(ql);function ss(e){return ss="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ss(e)}function cs(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,gs(o.key),o)}}function us(e,t){return us=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},us(e,t)}function ds(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=ps(e);if(t){var r=ps(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===ss(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return fs(e)}(this,n)}}function fs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ps(e)}function gs(e){var t=function(e,t){if("object"!==ss(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==ss(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ss(t)?t:String(t)}var hs=t,ms=wl,vs=as.createFocusTrap,bs=ls.isFocusable,ys=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&us(e,t)}(i,hs.Component);var t,n,o,r=ds(i);function i(e){var t,n,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=r.call(this,e),n=fs(t),a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,l=n;if("string"==typeof n&&!(l=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(o=gs(o="getNodeForOption"))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,t.handleDeactivate=t.handleDeactivate.bind(fs(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(fs(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(fs(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var l=e.focusTrapOptions;for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=l[s]:t.originalOptions[s]=l[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=i,n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||bs(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll,r=void 0!==o&&o;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();o&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?hs.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===hs.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return hs.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}],n&&cs(t.prototype,n),o&&cs(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(),ws="undefined"==typeof Element?Function:Element;ys.propTypes={active:ms.bool,paused:ms.bool,focusTrapOptions:ms.shape({document:ms.object,onActivate:ms.func,onPostActivate:ms.func,checkCanFocusTrap:ms.func,onPause:ms.func,onPostPause:ms.func,onUnpause:ms.func,onPostUnpause:ms.func,onDeactivate:ms.func,onPostDeactivate:ms.func,checkCanReturnFocus:ms.func,initialFocus:ms.oneOfType([ms.instanceOf(ws),ms.string,ms.bool,ms.func]),fallbackFocus:ms.oneOfType([ms.instanceOf(ws),ms.string,ms.func]),escapeDeactivates:ms.oneOfType([ms.bool,ms.func]),clickOutsideDeactivates:ms.oneOfType([ms.bool,ms.func]),returnFocusOnDeactivate:ms.bool,setReturnFocus:ms.oneOfType([ms.instanceOf(ws),ms.string,ms.bool,ms.func]),allowOutsideClick:ms.oneOfType([ms.bool,ms.func]),preventScroll:ms.bool,tabbableOptions:ms.shape({displayCheck:ms.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:ms.oneOfType([ms.bool,ms.func])}),trapStack:ms.array,isKeyForward:ms.func,isKeyBackward:ms.func}),containerElements:ms.arrayOf(ms.instanceOf(ws)),children:ms.oneOfType([ms.element,ms.instanceOf(ws)])},ys.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:vs};var xs=x(ys);const Ss=pn`
1164
1164
  from {
1165
1165
  opacity: 0;
1166
1166
  }
@@ -1168,7 +1168,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1168
1168
  to {
1169
1169
  opacity: 0.5;
1170
1170
  }
1171
- `,ws=dn`
1171
+ `,Cs=pn`
1172
1172
  from {
1173
1173
  opacity: 0.5;
1174
1174
  }
@@ -1176,7 +1176,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1176
1176
  to {
1177
1177
  opacity: 0;
1178
1178
  }
1179
- `,xs=cn.div`
1179
+ `,Rs=dn.div`
1180
1180
  width: 100vw;
1181
1181
  min-height: 100%;
1182
1182
  max-width: 650px;
@@ -1194,7 +1194,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1194
1194
  font-weight: 600;
1195
1195
  color: var(--color--grey-dark);
1196
1196
  }
1197
- `,Ss=cn.div`
1197
+ `,ks=dn.div`
1198
1198
  position: fixed;
1199
1199
  top: 0;
1200
1200
  right: 0;
@@ -1203,15 +1203,15 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1203
1203
  z-index: 1000;
1204
1204
  background-color: #000;
1205
1205
  opacity: 0.5;
1206
- animation: ${ys} 0.2s ease;
1206
+ animation: ${Ss} 0.2s ease;
1207
1207
  visibility: visible;
1208
1208
 
1209
1209
  &.closing {
1210
- animation: ${ws} 0.2s ease;
1210
+ animation: ${Cs} 0.2s ease;
1211
1211
  opacity: 0;
1212
1212
  visibility: hidden;
1213
1213
  }
1214
- `,Cs=dn`
1214
+ `,Os=pn`
1215
1215
  from {
1216
1216
  transform: translate(-100%, 0);
1217
1217
  }
@@ -1219,7 +1219,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1219
1219
  to {
1220
1220
  transform: none;
1221
1221
  }
1222
- `,Rs=dn`
1222
+ `,Es=pn`
1223
1223
  from {
1224
1224
  transform: none;
1225
1225
  }
@@ -1227,7 +1227,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1227
1227
  to {
1228
1228
  transform: translate(-100%, 0);
1229
1229
  }
1230
- `,ks=dn`
1230
+ `,Ps=pn`
1231
1231
  from {
1232
1232
  transform: translate(100%, 0);
1233
1233
  }
@@ -1235,7 +1235,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1235
1235
  to {
1236
1236
  transform: none;
1237
1237
  }
1238
- `,Os=dn`
1238
+ `,zs=pn`
1239
1239
  from {
1240
1240
  transform: none;
1241
1241
  }
@@ -1243,7 +1243,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1243
1243
  to {
1244
1244
  transform: translate(100%, 0);
1245
1245
  }
1246
- `,Es=dn`
1246
+ `,Fs=pn`
1247
1247
  from {
1248
1248
  transform: translate(0, 100%);
1249
1249
  }
@@ -1251,7 +1251,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1251
1251
  to {
1252
1252
  transform: none;
1253
1253
  }
1254
- `,Ps=dn`
1254
+ `,Ms=pn`
1255
1255
  from {
1256
1256
  transform: none;
1257
1257
  }
@@ -1259,7 +1259,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1259
1259
  to {
1260
1260
  transform: translate(0, 100%);
1261
1261
  }
1262
- `,zs=cn.div`
1262
+ `,Is=dn.div`
1263
1263
  position: fixed;
1264
1264
  top: 0;
1265
1265
  right: 0;
@@ -1269,46 +1269,46 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1269
1269
  overflow: hidden;
1270
1270
 
1271
1271
  &.left {
1272
- animation: ${Cs} 0.2s ease;
1272
+ animation: ${Os} 0.2s ease;
1273
1273
  }
1274
1274
 
1275
1275
  &.left.closing {
1276
- animation: ${Rs} 0.2s ease;
1276
+ animation: ${Es} 0.2s ease;
1277
1277
  transform: translate(100%, 0);
1278
1278
  }
1279
1279
 
1280
1280
  &.right {
1281
- animation: ${ks} 0.2s ease;
1281
+ animation: ${Ps} 0.2s ease;
1282
1282
  }
1283
1283
 
1284
1284
  &.right.closing {
1285
- animation: ${Os} 0.2s ease;
1285
+ animation: ${zs} 0.2s ease;
1286
1286
  transform: translate(100%, 0);
1287
1287
  }
1288
1288
 
1289
1289
  &.center {
1290
- animation: ${Es} 0.2s ease;
1290
+ animation: ${Fs} 0.2s ease;
1291
1291
  }
1292
1292
 
1293
1293
  &.center.closing {
1294
- animation: ${Ps} 0.2s ease;
1294
+ animation: ${Ms} 0.2s ease;
1295
1295
  transform: translate(0, 100%);
1296
1296
  }
1297
- `,Fs=cn.div`
1297
+ `,Vs=dn.div`
1298
1298
  display: flex;
1299
1299
 
1300
- ${zs}.left & {
1300
+ ${Is}.left & {
1301
1301
  flex-flow: row-reverse nowrap;
1302
1302
  }
1303
1303
 
1304
- ${zs}.right & {
1304
+ ${Is}.right & {
1305
1305
  flex-flow: row nowrap;
1306
1306
  }
1307
1307
 
1308
- ${zs}.center & {
1308
+ ${Is}.center & {
1309
1309
  flex-flow: row nowrap;
1310
1310
  }
1311
- `,Ms=cn.div`
1311
+ `,Ds=dn.div`
1312
1312
  z-index: 1010;
1313
1313
  height: 100vh;
1314
1314
  background-color: #fff;
@@ -1316,19 +1316,19 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1316
1316
  flex-direction: column;
1317
1317
  overflow: auto;
1318
1318
 
1319
- ${zs}.left & {
1319
+ ${Is}.left & {
1320
1320
  margin-right: auto;
1321
1321
  }
1322
1322
 
1323
- ${zs}.right & {
1323
+ ${Is}.right & {
1324
1324
  margin-left: auto;
1325
1325
  }
1326
1326
 
1327
- ${zs}.center & {
1327
+ ${Is}.center & {
1328
1328
  margin: auto;
1329
1329
  height: 95vh;
1330
1330
  }
1331
- `,Is=cn.div`
1331
+ `,As=dn.div`
1332
1332
  display: flex;
1333
1333
  flex-flow: row nowrap;
1334
1334
  align-items: center;
@@ -1351,7 +1351,7 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1351
1351
  strong {
1352
1352
  font-weight: 700;
1353
1353
  }
1354
- `,Vs=dn`
1354
+ `,Ts=pn`
1355
1355
  from {
1356
1356
  margin-top: -50px;
1357
1357
  }
@@ -1359,14 +1359,14 @@ function Gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
1359
1359
  to {
1360
1360
  margin-top: 0
1361
1361
  }
1362
- `,Ds=cn(Is)`
1362
+ `,_s=dn(As)`
1363
1363
  background-color: #ffdadd;
1364
- animation: ${Vs} 0.5s ease;
1364
+ animation: ${Ts} 0.5s ease;
1365
1365
 
1366
1366
  svg {
1367
1367
  color: var(--color--red);
1368
1368
  }
1369
- `,As=cn.div`
1369
+ `,Ns=dn.div`
1370
1370
  position: relative;
1371
- `;let Ts=1;const _s=c((({children:e,side:t,open:o=!1,showWarning:r,onClose:i=(()=>{})},a)=>{const s=n(null),c=n(null);s.current||(s.current=`modal-${Ts}`,Ts+=1),l((()=>{document.body.style.overflow=o?"hidden":"auto"}),[o]),l((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),i())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[i]),l((()=>{const e=e=>{c.current&&e.target instanceof HTMLElement&&!c.current.contains(e.target)&&(e.preventDefault(),i())};return document.body.addEventListener("mouseup",e),()=>{document.body.removeEventListener("mouseup",e)}}),[i]);const u=o?"open":"closing";return f(p,{children:[d(Ss,{className:u}),d(zs,{role:"dialog","aria-modal":"true","aria-hidden":!o,className:`${t} ${u}`,children:d(bs,{children:d("div",{children:d(Fs,{children:f(Ms,{ref:c,children:[r&&f(Ds,{role:"alert","aria-live":"assertive",children:[d(Nn,{name:"fa/exclamation-triangle-solid"}),f("p",{children:[d("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),d(As,{ref:a,children:d(xs,{children:e})})]})})})})})]})}));function Ns(e){const[t,n]=a(e);return{value:t,toggle:u((()=>n((e=>!e))),[]),setTrue:u((()=>n(!0)),[]),setFalse:u((()=>n(!1)),[])}}export{Gn as Accordion,La as AppBar,Yn as Badge,Ua as Breadcrumb,po as Button,Xn as Divider,Ia as DropDownMenu,pn as GlobalStyles,hn as Heading,Nn as Icon,Ha as Layout,eo as LoadingSpinner,Pa as Logo,_s as Modal,xa as ProgressBar,Kn as ProgressCircle,vo as ReadMore,yo as RelativeTime,ri as StatusIcon,ra as Table,fa as Tabs,va as TextField,Oa as ToastMessages,Kr as Tooltip,Ns as useToggle};
1371
+ `;let Ls=1;const $s=u((({children:e,side:t,open:o=!1,showWarning:r,onClose:i=(()=>{})},a)=>{const l=n(null),c=n(null);l.current||(l.current=`modal-${Ls}`,Ls+=1),s((()=>{document.body.style.overflow=o?"hidden":"auto"}),[o]),s((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),i())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[i]),s((()=>{const e=e=>{c.current&&e.target instanceof HTMLElement&&!c.current.contains(e.target)&&(e.preventDefault(),i())};return document.body.addEventListener("mouseup",e),()=>{document.body.removeEventListener("mouseup",e)}}),[i]);const u=o?"open":"closing";return p(g,{children:[f(ks,{className:u}),f(Is,{role:"dialog","aria-modal":"true","aria-hidden":!o,className:`${t} ${u}`,children:f(xs,{children:f("div",{children:f(Vs,{children:p(Ds,{ref:c,children:[r&&p(_s,{role:"alert","aria-live":"assertive",children:[f(jn,{name:"fa/exclamation-triangle-solid"}),p("p",{children:[f("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),f(Ns,{ref:a,children:f(Rs,{children:e})})]})})})})})]})}));function js(e){const[t,n]=l(e);return{value:t,toggle:d((()=>n((e=>!e))),[]),setTrue:d((()=>n(!0)),[]),setFalse:d((()=>n(!1)),[])}}export{Un as Accordion,Ha as AppBar,Jn as Badge,Xa as Breadcrumb,mo as Button,Zn as Divider,Aa as DropDownMenu,hn as GlobalStyles,bn as Heading,jn as Icon,qa as Layout,oo as LoadingSpinner,Ma as Logo,$s as Modal,Ra as ProgressBar,Qn as ProgressCircle,wo as ReadMore,So as RelativeTime,li as StatusIcon,la as Table,ha as Tabs,wa as TextField,za as ToastMessages,Qr as Tooltip,mn as theme,js as useToggle};
1372
1372
  //# sourceMappingURL=index.js.map