@harpercollins/harpercollins-design-system 1.8.4 → 1.8.7
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/cjs/index.js +299 -105
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/src/App.d.ts +2 -0
- package/dist/cjs/types/src/components/index.d.ts +2 -1
- package/dist/esm/index.js +300 -106
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/App.d.ts +2 -0
- package/dist/esm/types/src/components/index.d.ts +2 -1
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,4 +1,198 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("react-dom");function o(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=o(t),i=o(n),a=function(){return a=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},a.apply(this,arguments)};function l(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 s(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 c=/^((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)-.*))$/,u=s((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var g="-ms-",p="-moz-",f="-webkit-",h="comm",m="rule",v="decl",w="@import",b="@keyframes",x="@layer",y=Math.abs,S=String.fromCharCode,C=Object.assign;function R(e){return e.trim()}function z(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,n){return e.replace(t,n)}function M(e,t,n){return e.indexOf(t,n)}function j(e,t){return 0|e.charCodeAt(t)}function P(e,t,n){return e.slice(t,n)}function V(e){return e.length}function E(e){return e.length}function I(e,t){return t.push(e),e}function F(e,t){return e.filter((function(e){return!z(e,t)}))}var O=1,A=1,_=0,L=0,D=0,H="";function T(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:O,column:A,length:a,return:"",siblings:l}}function N(e,t){return C(T("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function $(e){for(;e.root;)e=N(e.root,{children:[e]});I(e,e.siblings)}function G(){return D=L>0?j(H,--L):0,A--,10===D&&(A=1,O--),D}function B(){return D=L<_?j(H,L++):0,A++,10===D&&(A=1,O++),D}function q(){return j(H,L)}function W(){return L}function U(e,t){return P(H,e,t)}function Y(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 X(e){return R(U(L-1,Z(91===e?e+2:40===e?e+1:e)))}function K(e){for(;(D=q())&&D<33;)B();return Y(e)>2||Y(D)>3?"":" "}function J(e,t){for(;--t&&B()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return U(e,W()+(t<6&&32==q()&&32==B()))}function Z(e){for(;B();)switch(D){case e:return L;case 34:case 39:34!==e&&39!==e&&Z(D);break;case 40:41===e&&Z(e);break;case 92:B()}return L}function Q(e,t){for(;B()&&e+D!==57&&(e+D!==84||47!==q()););return"/*"+U(t,L-1)+"*"+S(47===e?e:B())}function ee(e){for(;!Y(q());)B();return U(e,L)}function te(e){return function(e){return H="",e}(ne("",null,null,null,[""],e=function(e){return O=A=1,_=V(H=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,g=0,p=0,f=0,h=1,m=1,v=1,w=0,b="",x=r,C=i,R=o,z=b;m;)switch(f=w,w=B()){case 40:if(108!=f&&58==j(z,d-1)){-1!=M(z+=k(X(w),"&","&\f"),"&\f",y(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:z+=X(w);break;case 9:case 10:case 13:case 32:z+=K(f);break;case 92:z+=J(W()-1,7);continue;case 47:switch(q()){case 42:case 47:I(re(Q(B(),W()),t,n,s),s);break;default:z+="/"}break;case 123*h:l[c++]=V(z)*v;case 125*h:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+u:-1==v&&(z=k(z,/\f/g,"")),p>0&&V(z)-d&&I(p>32?ie(z+";",o,n,d-1,s):ie(k(z," ","")+";",o,n,d-2,s),s);break;case 59:z+=";";default:if(I(R=oe(z,t,n,c,u,r,l,b,x=[],C=[],d,i),i),123===w)if(0===u)ne(z,t,R,R,x,i,d,l,C);else switch(99===g&&110===j(z,3)?100:g){case 100:case 108:case 109:case 115:ne(e,R,R,o&&I(oe(e,R,R,0,0,r,l,b,r,x=[],d,C),C),r,C,d,l,o?x:C);break;default:ne(z,R,R,R,[""],C,0,l,C)}}c=u=p=0,h=v=1,b=z="",d=a;break;case 58:d=1+V(z),p=f;default:if(h<1)if(123==w)--h;else if(125==w&&0==h++&&125==G())continue;switch(z+=S(w),w*h){case 38:v=u>0?1:(z+="\f",-1);break;case 44:l[c++]=(V(z)-1)*v,v=1;break;case 64:45===q()&&(z+=X(B())),g=q(),u=d=V(b=z+=ee(W())),w++;break;case 45:45===f&&2==V(z)&&(h=0)}}return i}function oe(e,t,n,o,r,i,a,l,s,c,u,d){for(var g=r-1,p=0===r?i:[""],f=E(p),h=0,v=0,w=0;h<o;++h)for(var b=0,x=P(e,g+1,g=y(v=a[h])),S=e;b<f;++b)(S=R(v>0?p[b]+" "+x:k(x,/&\f/g,p[b])))&&(s[w++]=S);return T(e,t,n,0===r?m:l,s,c,u,d)}function re(e,t,n,o){return T(e,t,n,h,S(D),P(e,2,-2),0,o)}function ie(e,t,n,o,r){return T(e,t,n,v,P(e,0,o),P(e,o+1,-1),o,r)}function ae(e,t,n){switch(function(e,t){return 45^j(e,0)?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}(e,t)){case 5103:return f+"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 f+e+e;case 4789:return p+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return f+e+p+e+g+e+e;case 5936:switch(j(e,t+11)){case 114:return f+e+g+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return f+e+g+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return f+e+g+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return f+e+g+e+e;case 6165:return f+e+g+"flex-"+e+e;case 5187:return f+e+k(e,/(\w+).+(:[^]+)/,f+"box-$1$2"+g+"flex-$1$2")+e;case 5443:return f+e+g+"flex-item-"+k(e,/flex-|-self/g,"")+(z(e,/flex-|baseline/)?"":g+"grid-row-"+k(e,/flex-|-self/g,""))+e;case 4675:return f+e+g+"flex-line-pack"+k(e,/align-content|flex-|-self/g,"")+e;case 5548:return f+e+g+k(e,"shrink","negative")+e;case 5292:return f+e+g+k(e,"basis","preferred-size")+e;case 6060:return f+"box-"+k(e,"-grow","")+f+e+g+k(e,"grow","positive")+e;case 4554:return f+k(e,/([^-])(transform)/g,"$1"+f+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,f+"$1"),/(image-set)/,f+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,f+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,f+"box-pack:$3"+g+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+f+e+e;case 4200:if(!z(e,/flex-|baseline/))return g+"grid-column-align"+P(e,t)+e;break;case 2592:case 3360:return g+k(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,z(e.props,/grid-\w+-end/)}))?~M(e+(n=n[t].value),"span",0)?e:g+k(e,"-start","")+e+g+"grid-row-span:"+(~M(n,"span",0)?z(n,/\d+/):+z(n,/\d+/)-+z(e,/\d+/))+";":g+k(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return z(e.props,/grid-\w+-start/)}))?e:g+k(k(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,f+"$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(V(e)-1-t>6)switch(j(e,t+1)){case 109:if(45!==j(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+f+"$2-$3$1"+p+(108==j(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch",0)?ae(k(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return k(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,i,a,l){return g+n+":"+o+l+(r?g+n+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===j(e,t+6))return k(e,":",":"+f)+e;break;case 6444:switch(j(e,45===j(e,14)?18:11)){case 120:return k(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+f+(45===j(e,14)?"inline-":"")+"box$3$1"+f+"$2$3$1"+g+"$2box$3")+e;case 100:return k(e,":",":"+g)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return k(e,"scroll-","scroll-snap-")+e}return e}function le(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function se(e,t,n,o){switch(e.type){case x:if(e.children.length)break;case w:case v:return e.return=e.return||e.value;case h:return"";case b:return e.return=e.value+"{"+le(e.children,o)+"}";case m:if(!V(e.value=e.props.join(",")))return""}return V(n=le(e.children,o))?e.return=e.value+"{"+n+"}":""}function ce(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case v:return void(e.return=ae(e.value,e.length,n));case b:return le([N(e,{value:k(e.value,"@","@"+f)})],o);case m:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(z(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":$(N(e,{props:[k(t,/:(read-\w+)/,":"+p+"$1")]})),$(N(e,{props:[t]})),C(e,{props:F(n,o)});break;case"::placeholder":$(N(e,{props:[k(t,/:(plac\w+)/,":"+f+"input-$1")]})),$(N(e,{props:[k(t,/:(plac\w+)/,":"+p+"$1")]})),$(N(e,{props:[k(t,/:(plac\w+)/,g+"input-$1")]})),$(N(e,{props:[t]})),C(e,{props:F(n,o)})}return""}))}}var ue={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},de="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ge="active",pe="data-styled-version",fe="6.1.8",he="/*!sc*/\n",me="undefined"!=typeof window&&"HTMLElement"in window,ve=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),we=/invalid hook call/i,be=new Set,xe=function(e,n){if("production"!==process.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",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];we.test(e)?(a=!1,be.delete(r)):i.apply(void 0,l([e],t,!1))},t.useRef(),a&&!be.has(r)&&(console.warn(r),be.add(r))}catch(e){we.test(e.message)&&be.delete(r)}finally{console.error=i}}},ye=Object.freeze([]),Se=Object.freeze({});var Ce=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"]),Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ze=/(^-|-$)/g;function ke(e){return e.replace(Re,"-").replace(ze,"")}var Me=/(a)(d)/gi,je=52,Pe=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ve(e){var t,n="";for(t=Math.abs(e);t>je;t=t/je|0)n=Pe(t%je)+n;return(Pe(t%je)+n).replace(Me,"$1-$2")}var Ee,Ie=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Fe=function(e){return Ie(5381,e)};function Oe(e){return Ve(Fe(e)>>>0)}function Ae(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _e(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Le="function"==typeof Symbol&&Symbol.for,De=Le?Symbol.for("react.memo"):60115,He=Le?Symbol.for("react.forward_ref"):60112,Te={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ne={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},$e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ge=((Ee={})[He]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ee[De]=$e,Ee);function Be(e){return("type"in(t=e)&&t.type.$$typeof)===De?$e:"$$typeof"in e?Ge[e.$$typeof]:Te;var t}var qe=Object.defineProperty,We=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,Ye=Object.getOwnPropertyDescriptor,Xe=Object.getPrototypeOf,Ke=Object.prototype;function Je(e,t,n){if("string"!=typeof t){if(Ke){var o=Xe(t);o&&o!==Ke&&Je(e,o,n)}var r=We(t);Ue&&(r=r.concat(Ue(t)));for(var i=Be(e),a=Be(t),l=0;l<r.length;++l){var s=r[l];if(!(s in Ne||n&&n[s]||a&&s in a||i&&s in i)){var c=Ye(t,s);try{qe(e,s,c)}catch(e){}}}}return e}function Ze(e){return"function"==typeof e}function Qe(e){return"object"==typeof e&&"styledComponentId"in e}function et(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tt(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 nt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ot(e,t,n){if(void 0===n&&(n=!1),!n&&!nt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=ot(e[o],t[o]);else if(nt(t))for(var o in t)e[o]=ot(e[o],t[o]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}var it="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 at(){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 lt(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(at.apply(void 0,l([it[e]],t,!1)).trim())}var st=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 lt(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(he);return t},e}(),ct=new Map,ut=new Map,dt=1,gt=function(e){if(ct.has(e))return ct.get(e);for(;ut.has(dt);)dt++;var t=dt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw lt(16,"".concat(t));return ct.set(e,t),ut.set(t,e),t},pt=function(e,t){dt=t+1,ct.set(e,t),ut.set(t,e)},ft="style[".concat(de,"][").concat(pe,'="').concat(fe,'"]'),ht=new RegExp("^".concat(de,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),mt=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)},vt=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(he),r=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(ht);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(pt(u,c),mt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}};var wt=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(de,"]")));return t[t.length-1]}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(de,ge),o.setAttribute(pe,fe);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),n.insertBefore(o,i),o},bt=function(){function e(e){this.element=wt(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 lt(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}(),xt=function(){function e(e){this.element=wt(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}(),yt=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}(),St=me,Ct={isServer:!me,useCSSOMInjection:!ve},Rt=function(){function e(e,t,n){void 0===e&&(e=Se),void 0===t&&(t={});var o=this;this.options=a(a({},Ct),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&me&&St&&(St=!1,function(e){for(var t=document.querySelectorAll(ft),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(de)!==ge&&(vt(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),rt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ut.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(de,".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(he)},i=0;i<n;i++)r(i);return o}(o)}))}return e.registerId=function(e){return gt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(a(a({},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 yt(n):t?new bt(n):new xt(n)}(this.options),new st(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(gt(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(gt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(gt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),zt=/&/g,kt=/^\s*\/\/.*$/gm;function Mt(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=Mt(e.children,t)),e}))}var jt=new Rt,Pt=function(e){var t,n,o,r=void 0===e?Se:e,i=r.options,a=void 0===i?Se:i,l=r.plugins,s=void 0===l?ye: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===m&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(zt,n).replace(o,c))})),a.prefix&&u.push(ce),u.push(se);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(kt,""),c=te(i||r?"".concat(i," ").concat(r," { ").concat(s," }"):s);a.namespace&&(c=Mt(c,a.namespace));var d,g=[];return le(c,function(e){var t=E(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 g.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),g};return d.hash=s.length?s.reduce((function(e,t){return t.name||lt(15),Ie(e,t.name)}),5381).toString():"",d}(),Vt=t.createContext({shouldForwardProp:void 0,styleSheet:jt,stylis:Pt});function Et(){return t.useContext(Vt)}Vt.Consumer,t.createContext(void 0);var It=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Pt);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,rt(this,(function(){throw lt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Pt),this.name+e.hash},e}(),Ft=function(e){return e>="A"&&e<="Z"};function Ot(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Ft(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var At=function(e){return null==e||!1===e||""===e},_t=function(e){var t,n,o=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!At(i)&&(Array.isArray(i)&&i.isCss||Ze(i)?o.push("".concat(Ot(r),":"),i,";"):nt(i)?o.push.apply(o,l(l(["".concat(r," {")],_t(i),!1),["}"],!1)):o.push("".concat(Ot(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ue||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Lt(e,t,n,o){if(At(e))return[];if(Qe(e))return[".".concat(e.styledComponentId)];if(Ze(e)){if(!Ze(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 It||nt(r)||null===r||console.error("".concat(Ae(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.")),Lt(r,t,n,o)}var i;return e instanceof It?n?(e.inject(n,o),[e.getName(o)]):[e]:nt(e)?_t(e):Array.isArray(e)?Array.prototype.concat.apply(ye,e.map((function(e){return Lt(e,t,n,o)}))):[e.toString()]}var Dt=Fe(fe),Ht=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ze(n)&&!Qe(n))return!1}return!0}(e),this.componentId=t,this.baseHash=Ie(Dt,t),this.baseStyle=n,Rt.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=et(o,this.staticRulesId);else{var r=tt(Lt(this.rules,e,t,n)),i=Ve(Ie(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=et(o,i),this.staticRulesId=i}else{for(var l=Ie(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=Ie(l,u));else if(u){var d=tt(Lt(u,e,t,n));l=Ie(l,d+c),s+=d}}if(s){var g=Ve(l>>>0);t.hasNameForId(this.componentId,g)||t.insertRules(this.componentId,g,n(s,".".concat(g),void 0,this.componentId)),o=et(o,g)}}return o},e}(),Tt=t.createContext(void 0);Tt.Consumer;var Nt={},$t=new Set;function Gt(e,n,o){var r=Qe(e),i=e,l=!_e(e),s=n.attrs,c=void 0===s?ye:s,d=n.componentId,g=void 0===d?function(e,t){var n="string"!=typeof e?"sc":ke(e);Nt[n]=(Nt[n]||0)+1;var o="".concat(n,"-").concat(Oe(fe+n+Nt[n]));return t?"".concat(t,"-").concat(o):o}(n.displayName,n.parentComponentId):d,p=n.displayName,f=void 0===p?function(e){return _e(e)?"styled.".concat(e):"Styled(".concat(Ae(e),")")}(e):p,h=n.displayName&&n.componentId?"".concat(ke(n.displayName),"-").concat(n.componentId):n.componentId||g,m=r&&i.attrs?i.attrs.concat(c).filter(Boolean):c,v=n.shouldForwardProp;if(r&&i.shouldForwardProp){var w=i.shouldForwardProp;if(n.shouldForwardProp){var b=n.shouldForwardProp;v=function(e,t){return w(e,t)&&b(e,t)}}else v=w}var x=new Ht(o,h,r?i.componentStyle:void 0);function y(e,n){return function(e,n,o){var r=e.attrs,i=e.componentStyle,l=e.defaultProps,s=e.foldedComponentIds,c=e.styledComponentId,d=e.target,g=t.useContext(Tt),p=Et(),f=e.shouldForwardProp||p.shouldForwardProp;"production"!==process.env.NODE_ENV&&t.useDebugValue(c);var h=function(e,t,n){return void 0===n&&(n=Se),e.theme!==n.theme&&e.theme||t||n.theme}(n,g,l)||Se,m=function(e,t,n){for(var o,r=a(a({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var l=Ze(o=e[i])?o(r):o;for(var s in l)r[s]="className"===s?et(r[s],l[s]):"style"===s?a(a({},r[s]),l[s]):l[s]}return t.className&&(r.className=et(r.className,t.className)),r}(r,n,h),v=m.as||d,w={};for(var b in m)void 0===m[b]||"$"===b[0]||"as"===b||"theme"===b&&m.theme===h||("forwardedAs"===b?w.as=m.forwardedAs:f&&!f(b,v)||(w[b]=m[b],f||"development"!==process.env.NODE_ENV||u(b)||$t.has(b)||!Ce.has(v)||($t.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" 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 x=function(e,n){var o=Et(),r=e.generateAndInjectStyles(n,o.styleSheet,o.stylis);return"production"!==process.env.NODE_ENV&&t.useDebugValue(r),r}(i,m);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(x);var y=et(s,c);return x&&(y+=" "+x),m.className&&(y+=" "+m.className),w[_e(v)&&!Ce.has(v)?"class":"className"]=y,w.ref=o,t.createElement(v,w)}(S,e,n)}y.displayName=f;var S=t.forwardRef(y);return S.attrs=m,S.componentStyle=x,S.displayName=f,S.shouldForwardProp=v,S.foldedComponentIds=r?et(i.foldedComponentIds,i.styledComponentId):"",S.styledComponentId=h,S.target=r?i.target:e,Object.defineProperty(S,"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++)ot(e,r[o],!0);return e}({},i.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(xe(f,h),S.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={}}}}(f,h)),rt(S,(function(){return".".concat(S.styledComponentId)})),l&&Je(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Bt(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 qt=function(e){return Object.assign(e,{isCss:!0})};function Wt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Ze(e)||nt(e))return qt(Lt(Bt(ye,l([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Lt(o):qt(Lt(Bt(o,t)))}function Ut(e,t,n){if(void 0===n&&(n=Se),!t)throw lt(1,t);var o=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,Wt.apply(void 0,l([o],r,!1)))};return o.attrs=function(o){return Ut(e,t,a(a({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return Ut(e,t,a(a({},n),o))},o}var Yt=function(e){return Ut(Gt,e)},Xt=Yt;Ce.forEach((function(e){Xt[e]=Yt(e)})),"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 Kt="__sc-".concat(de,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[Kt]||(window[Kt]=0),1===window[Kt]&&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[Kt]+=1);const Jt=Xt.div`
|
|
1
|
+
"use strict";var e=require("react"),t=require("react/jsx-runtime"),n=require("react-dom");function o(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=o(e),i=o(n),l=function(){return l=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},l.apply(this,arguments)};function a(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 s(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 c=/^((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)-.*))$/,u=s((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var g="-ms-",p="-moz-",f="-webkit-",h="comm",m="rule",v="decl",b="@import",w="@keyframes",x="@layer",y=Math.abs,S=String.fromCharCode,C=Object.assign;function R(e){return e.trim()}function k(e,t){return(e=t.exec(e))?e[0]:e}function z(e,t,n){return e.replace(t,n)}function M(e,t,n){return e.indexOf(t,n)}function j(e,t){return 0|e.charCodeAt(t)}function P(e,t,n){return e.slice(t,n)}function V(e){return e.length}function E(e){return e.length}function I(e,t){return t.push(e),e}function O(e,t){return e.filter((function(e){return!k(e,t)}))}var F=1,A=1,_=0,L=0,D=0,H="";function N(e,t,n,o,r,i,l,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:F,column:A,length:l,return:"",siblings:a}}function T(e,t){return C(N("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function $(e){for(;e.root;)e=T(e.root,{children:[e]});I(e,e.siblings)}function G(){return D=L>0?j(H,--L):0,A--,10===D&&(A=1,F--),D}function B(){return D=L<_?j(H,L++):0,A++,10===D&&(A=1,F++),D}function q(){return j(H,L)}function W(){return L}function U(e,t){return P(H,e,t)}function X(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 Y(e){return R(U(L-1,Z(91===e?e+2:40===e?e+1:e)))}function K(e){for(;(D=q())&&D<33;)B();return X(e)>2||X(D)>3?"":" "}function J(e,t){for(;--t&&B()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return U(e,W()+(t<6&&32==q()&&32==B()))}function Z(e){for(;B();)switch(D){case e:return L;case 34:case 39:34!==e&&39!==e&&Z(D);break;case 40:41===e&&Z(e);break;case 92:B()}return L}function Q(e,t){for(;B()&&e+D!==57&&(e+D!==84||47!==q()););return"/*"+U(t,L-1)+"*"+S(47===e?e:B())}function ee(e){for(;!X(q());)B();return U(e,L)}function te(e){return function(e){return H="",e}(ne("",null,null,null,[""],e=function(e){return F=A=1,_=V(H=e),L=0,[]}(e),0,[0],e))}function ne(e,t,n,o,r,i,l,a,s){for(var c=0,u=0,d=l,g=0,p=0,f=0,h=1,m=1,v=1,b=0,w="",x=r,C=i,R=o,k=w;m;)switch(f=b,b=B()){case 40:if(108!=f&&58==j(k,d-1)){-1!=M(k+=z(Y(b),"&","&\f"),"&\f",y(c?a[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:k+=Y(b);break;case 9:case 10:case 13:case 32:k+=K(f);break;case 92:k+=J(W()-1,7);continue;case 47:switch(q()){case 42:case 47:I(re(Q(B(),W()),t,n,s),s);break;default:k+="/"}break;case 123*h:a[c++]=V(k)*v;case 125*h:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(k=z(k,/\f/g,"")),p>0&&V(k)-d&&I(p>32?ie(k+";",o,n,d-1,s):ie(z(k," ","")+";",o,n,d-2,s),s);break;case 59:k+=";";default:if(I(R=oe(k,t,n,c,u,r,a,w,x=[],C=[],d,i),i),123===b)if(0===u)ne(k,t,R,R,x,i,d,a,C);else switch(99===g&&110===j(k,3)?100:g){case 100:case 108:case 109:case 115:ne(e,R,R,o&&I(oe(e,R,R,0,0,r,a,w,r,x=[],d,C),C),r,C,d,a,o?x:C);break;default:ne(k,R,R,R,[""],C,0,a,C)}}c=u=p=0,h=v=1,w=k="",d=l;break;case 58:d=1+V(k),p=f;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==G())continue;switch(k+=S(b),b*h){case 38:v=u>0?1:(k+="\f",-1);break;case 44:a[c++]=(V(k)-1)*v,v=1;break;case 64:45===q()&&(k+=Y(B())),g=q(),u=d=V(w=k+=ee(W())),b++;break;case 45:45===f&&2==V(k)&&(h=0)}}return i}function oe(e,t,n,o,r,i,l,a,s,c,u,d){for(var g=r-1,p=0===r?i:[""],f=E(p),h=0,v=0,b=0;h<o;++h)for(var w=0,x=P(e,g+1,g=y(v=l[h])),S=e;w<f;++w)(S=R(v>0?p[w]+" "+x:z(x,/&\f/g,p[w])))&&(s[b++]=S);return N(e,t,n,0===r?m:a,s,c,u,d)}function re(e,t,n,o){return N(e,t,n,h,S(D),P(e,2,-2),0,o)}function ie(e,t,n,o,r){return N(e,t,n,v,P(e,0,o),P(e,o+1,-1),o,r)}function le(e,t,n){switch(function(e,t){return 45^j(e,0)?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}(e,t)){case 5103:return f+"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 f+e+e;case 4789:return p+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return f+e+p+e+g+e+e;case 5936:switch(j(e,t+11)){case 114:return f+e+g+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return f+e+g+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return f+e+g+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return f+e+g+e+e;case 6165:return f+e+g+"flex-"+e+e;case 5187:return f+e+z(e,/(\w+).+(:[^]+)/,f+"box-$1$2"+g+"flex-$1$2")+e;case 5443:return f+e+g+"flex-item-"+z(e,/flex-|-self/g,"")+(k(e,/flex-|baseline/)?"":g+"grid-row-"+z(e,/flex-|-self/g,""))+e;case 4675:return f+e+g+"flex-line-pack"+z(e,/align-content|flex-|-self/g,"")+e;case 5548:return f+e+g+z(e,"shrink","negative")+e;case 5292:return f+e+g+z(e,"basis","preferred-size")+e;case 6060:return f+"box-"+z(e,"-grow","")+f+e+g+z(e,"grow","positive")+e;case 4554:return f+z(e,/([^-])(transform)/g,"$1"+f+"$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,f+"$1"),/(image-set)/,f+"$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,f+"$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,f+"box-pack:$3"+g+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+f+e+e;case 4200:if(!k(e,/flex-|baseline/))return g+"grid-column-align"+P(e,t)+e;break;case 2592:case 3360:return g+z(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,k(e.props,/grid-\w+-end/)}))?~M(e+(n=n[t].value),"span",0)?e:g+z(e,"-start","")+e+g+"grid-row-span:"+(~M(n,"span",0)?k(n,/\d+/):+k(n,/\d+/)-+k(e,/\d+/))+";":g+z(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return k(e.props,/grid-\w+-start/)}))?e:g+z(z(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,f+"$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(V(e)-1-t>6)switch(j(e,t+1)){case 109:if(45!==j(e,t+4))break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1"+f+"$2-$3$1"+p+(108==j(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch",0)?le(z(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return z(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,i,l,a){return g+n+":"+o+a+(r?g+n+"-span:"+(i?l:+l-+o)+a:"")+e}));case 4949:if(121===j(e,t+6))return z(e,":",":"+f)+e;break;case 6444:switch(j(e,45===j(e,14)?18:11)){case 120:return z(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+f+(45===j(e,14)?"inline-":"")+"box$3$1"+f+"$2$3$1"+g+"$2box$3")+e;case 100:return z(e,":",":"+g)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return z(e,"scroll-","scroll-snap-")+e}return e}function ae(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function se(e,t,n,o){switch(e.type){case x:if(e.children.length)break;case b:case v:return e.return=e.return||e.value;case h:return"";case w:return e.return=e.value+"{"+ae(e.children,o)+"}";case m:if(!V(e.value=e.props.join(",")))return""}return V(n=ae(e.children,o))?e.return=e.value+"{"+n+"}":""}function ce(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case v:return void(e.return=le(e.value,e.length,n));case w:return ae([T(e,{value:z(e.value,"@","@"+f)})],o);case m:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(k(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":$(T(e,{props:[z(t,/:(read-\w+)/,":"+p+"$1")]})),$(T(e,{props:[t]})),C(e,{props:O(n,o)});break;case"::placeholder":$(T(e,{props:[z(t,/:(plac\w+)/,":"+f+"input-$1")]})),$(T(e,{props:[z(t,/:(plac\w+)/,":"+p+"$1")]})),$(T(e,{props:[z(t,/:(plac\w+)/,g+"input-$1")]})),$(T(e,{props:[t]})),C(e,{props:O(n,o)})}return""}))}}var ue={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},de="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ge="active",pe="data-styled-version",fe="6.1.8",he="/*!sc*/\n",me="undefined"!=typeof window&&"HTMLElement"in window,ve=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),be={},we=/invalid hook call/i,xe=new Set,ye=function(t,n){if("production"!==process.env.NODE_ENV){var o=n?' with the id of "'.concat(n,'"'):"",r="The component ".concat(t).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 l=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];we.test(e)?(l=!1,xe.delete(r)):i.apply(void 0,a([e],t,!1))},e.useRef(),l&&!xe.has(r)&&(console.warn(r),xe.add(r))}catch(e){we.test(e.message)&&xe.delete(r)}finally{console.error=i}}},Se=Object.freeze([]),Ce=Object.freeze({});function Re(e,t,n){return void 0===n&&(n=Ce),e.theme!==n.theme&&e.theme||t||n.theme}var ke=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"]),ze=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Me=/(^-|-$)/g;function je(e){return e.replace(ze,"-").replace(Me,"")}var Pe=/(a)(d)/gi,Ve=52,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ie(e){var t,n="";for(t=Math.abs(e);t>Ve;t=t/Ve|0)n=Ee(t%Ve)+n;return(Ee(t%Ve)+n).replace(Pe,"$1-$2")}var Oe,Fe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ae=function(e){return Fe(5381,e)};function _e(e){return Ie(Ae(e)>>>0)}function Le(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function De(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var He="function"==typeof Symbol&&Symbol.for,Ne=He?Symbol.for("react.memo"):60115,Te=He?Symbol.for("react.forward_ref"):60112,$e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ge={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Be={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qe=((Oe={})[Te]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Oe[Ne]=Be,Oe);function We(e){return("type"in(t=e)&&t.type.$$typeof)===Ne?Be:"$$typeof"in e?qe[e.$$typeof]:$e;var t}var Ue=Object.defineProperty,Xe=Object.getOwnPropertyNames,Ye=Object.getOwnPropertySymbols,Ke=Object.getOwnPropertyDescriptor,Je=Object.getPrototypeOf,Ze=Object.prototype;function Qe(e,t,n){if("string"!=typeof t){if(Ze){var o=Je(t);o&&o!==Ze&&Qe(e,o,n)}var r=Xe(t);Ye&&(r=r.concat(Ye(t)));for(var i=We(e),l=We(t),a=0;a<r.length;++a){var s=r[a];if(!(s in Ge||n&&n[s]||l&&s in l||i&&s in i)){var c=Ke(t,s);try{Ue(e,s,c)}catch(e){}}}}return e}function et(e){return"function"==typeof e}function tt(e){return"object"==typeof e&&"styledComponentId"in e}function nt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ot(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 rt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function it(e,t,n){if(void 0===n&&(n=!1),!n&&!rt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=it(e[o],t[o]);else if(rt(t))for(var o in t)e[o]=it(e[o],t[o]);return e}function lt(e,t){Object.defineProperty(e,"toString",{value:t})}var at="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 st(){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 ct(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(st.apply(void 0,a([at[e]],t,!1)).trim())}var ut=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 ct(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 l=this.indexOfGroup(e+1),a=(i=0,t.length);i<a;i++)this.tag.insertRule(l,t[i])&&(this.groupSizes[e]++,l++)},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(he);return t},e}(),dt=new Map,gt=new Map,pt=1,ft=function(e){if(dt.has(e))return dt.get(e);for(;gt.has(pt);)pt++;var t=pt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw ct(16,"".concat(t));return dt.set(e,t),gt.set(t,e),t},ht=function(e,t){pt=t+1,dt.set(e,t),gt.set(t,e)},mt="style[".concat(de,"][").concat(pe,'="').concat(fe,'"]'),vt=new RegExp("^".concat(de,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),bt=function(e,t,n){for(var o,r=n.split(","),i=0,l=r.length;i<l;i++)(o=r[i])&&e.registerName(t,o)},wt=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(he),r=[],i=0,l=o.length;i<l;i++){var a=o[i].trim();if(a){var s=a.match(vt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(ht(u,c),bt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(a)}}};var xt=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(de,"]")));return t[t.length-1]}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(de,ge),o.setAttribute(pe,fe);var l="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return l&&o.setAttribute("nonce",l),n.insertBefore(o,i),o},yt=function(){function e(e){this.element=xt(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 ct(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}(),St=function(){function e(e){this.element=xt(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}(),Ct=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}(),Rt=me,kt={isServer:!me,useCSSOMInjection:!ve},zt=function(){function e(e,t,n){void 0===e&&(e=Ce),void 0===t&&(t={});var o=this;this.options=l(l({},kt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&me&&Rt&&(Rt=!1,function(e){for(var t=document.querySelectorAll(mt),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(de)!==ge&&(wt(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),lt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return gt.get(e)}(n);if(void 0===r)return"continue";var i=e.names.get(r),l=t.getGroup(n);if(void 0===i||0===l.length)return"continue";var a="".concat(de,".g").concat(n,'[id="').concat(r,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(l).concat(a,'{content:"').concat(s,'"}').concat(he)},i=0;i<n;i++)r(i);return o}(o)}))}return e.registerId=function(e){return ft(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(l(l({},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 Ct(n):t?new yt(n):new St(n)}(this.options),new ut(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(ft(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(ft(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ft(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Mt=/&/g,jt=/^\s*\/\/.*$/gm;function Pt(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=Pt(e.children,t)),e}))}var Vt=new zt,Et=function(e){var t,n,o,r=void 0===e?Ce:e,i=r.options,l=void 0===i?Ce:i,a=r.plugins,s=void 0===a?Se:a,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===m&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Mt,n).replace(o,c))})),l.prefix&&u.push(ce),u.push(se);var d=function(e,r,i,a){void 0===r&&(r=""),void 0===i&&(i=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(jt,""),c=te(i||r?"".concat(i," ").concat(r," { ").concat(s," }"):s);l.namespace&&(c=Pt(c,l.namespace));var d,g=[];return ae(c,function(e){var t=E(e);return function(n,o,r,i){for(var l="",a=0;a<t;a++)l+=e[a](n,o,r,i)||"";return l}}(u.concat((d=function(e){return g.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),g};return d.hash=s.length?s.reduce((function(e,t){return t.name||ct(15),Fe(e,t.name)}),5381).toString():"",d}(),It=e.createContext({shouldForwardProp:void 0,styleSheet:Vt,stylis:Et});function Ot(){return e.useContext(It)}It.Consumer,e.createContext(void 0);var Ft=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Et);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,lt(this,(function(){throw ct(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Et),this.name+e.hash},e}(),At=function(e){return e>="A"&&e<="Z"};function _t(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;At(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Lt=function(e){return null==e||!1===e||""===e},Dt=function(e){var t,n,o=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!Lt(i)&&(Array.isArray(i)&&i.isCss||et(i)?o.push("".concat(_t(r),":"),i,";"):rt(i)?o.push.apply(o,a(a(["".concat(r," {")],Dt(i),!1),["}"],!1)):o.push("".concat(_t(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ue||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Ht(e,t,n,o){if(Lt(e))return[];if(tt(e))return[".".concat(e.styledComponentId)];if(et(e)){if(!et(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 Ft||rt(r)||null===r||console.error("".concat(Le(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.")),Ht(r,t,n,o)}var i;return e instanceof Ft?n?(e.inject(n,o),[e.getName(o)]):[e]:rt(e)?Dt(e):Array.isArray(e)?Array.prototype.concat.apply(Se,e.map((function(e){return Ht(e,t,n,o)}))):[e.toString()]}function Nt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(et(n)&&!tt(n))return!1}return!0}var Tt=Ae(fe),$t=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Nt(e),this.componentId=t,this.baseHash=Fe(Tt,t),this.baseStyle=n,zt.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=nt(o,this.staticRulesId);else{var r=ot(Ht(this.rules,e,t,n)),i=Ie(Fe(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,i)){var l=n(r,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,l)}o=nt(o,i),this.staticRulesId=i}else{for(var a=Fe(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&&(a=Fe(a,u));else if(u){var d=ot(Ht(u,e,t,n));a=Fe(a,d+c),s+=d}}if(s){var g=Ie(a>>>0);t.hasNameForId(this.componentId,g)||t.insertRules(this.componentId,g,n(s,".".concat(g),void 0,this.componentId)),o=nt(o,g)}}return o},e}(),Gt=e.createContext(void 0);Gt.Consumer;var Bt={},qt=new Set;function Wt(t,n,o){var r=tt(t),i=t,a=!De(t),s=n.attrs,c=void 0===s?Se:s,d=n.componentId,g=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Bt[n]=(Bt[n]||0)+1;var o="".concat(n,"-").concat(_e(fe+n+Bt[n]));return t?"".concat(t,"-").concat(o):o}(n.displayName,n.parentComponentId):d,p=n.displayName,f=void 0===p?function(e){return De(e)?"styled.".concat(e):"Styled(".concat(Le(e),")")}(t):p,h=n.displayName&&n.componentId?"".concat(je(n.displayName),"-").concat(n.componentId):n.componentId||g,m=r&&i.attrs?i.attrs.concat(c).filter(Boolean):c,v=n.shouldForwardProp;if(r&&i.shouldForwardProp){var b=i.shouldForwardProp;if(n.shouldForwardProp){var w=n.shouldForwardProp;v=function(e,t){return b(e,t)&&w(e,t)}}else v=b}var x=new $t(o,h,r?i.componentStyle:void 0);function y(t,n){return function(t,n,o){var r=t.attrs,i=t.componentStyle,a=t.defaultProps,s=t.foldedComponentIds,c=t.styledComponentId,d=t.target,g=e.useContext(Gt),p=Ot(),f=t.shouldForwardProp||p.shouldForwardProp;"production"!==process.env.NODE_ENV&&e.useDebugValue(c);var h=Re(n,g,a)||Ce,m=function(e,t,n){for(var o,r=l(l({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=et(o=e[i])?o(r):o;for(var s in a)r[s]="className"===s?nt(r[s],a[s]):"style"===s?l(l({},r[s]),a[s]):a[s]}return t.className&&(r.className=nt(r.className,t.className)),r}(r,n,h),v=m.as||d,b={};for(var w in m)void 0===m[w]||"$"===w[0]||"as"===w||"theme"===w&&m.theme===h||("forwardedAs"===w?b.as=m.forwardedAs:f&&!f(w,v)||(b[w]=m[w],f||"development"!==process.env.NODE_ENV||u(w)||qt.has(w)||!ke.has(v)||(qt.add(w),console.warn('styled-components: it looks like an unknown prop "'.concat(w,'" 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 x=function(t,n){var o=Ot(),r=t.generateAndInjectStyles(n,o.styleSheet,o.stylis);return"production"!==process.env.NODE_ENV&&e.useDebugValue(r),r}(i,m);"production"!==process.env.NODE_ENV&&t.warnTooManyClasses&&t.warnTooManyClasses(x);var y=nt(s,c);return x&&(y+=" "+x),m.className&&(y+=" "+m.className),b[De(v)&&!ke.has(v)?"class":"className"]=y,b.ref=o,e.createElement(v,b)}(S,t,n)}y.displayName=f;var S=e.forwardRef(y);return S.attrs=m,S.componentStyle=x,S.displayName=f,S.shouldForwardProp=v,S.foldedComponentIds=r?nt(i.foldedComponentIds,i.styledComponentId):"",S.styledComponentId=h,S.target=r?i.target:t,Object.defineProperty(S,"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++)it(e,r[o],!0);return e}({},i.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(ye(f,h),S.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={}}}}(f,h)),lt(S,(function(){return".".concat(S.styledComponentId)})),a&&Qe(S,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Ut(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 Xt=function(e){return Object.assign(e,{isCss:!0})};function Yt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(et(e)||rt(e))return Xt(Ht(Ut(Se,a([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Ht(o):Xt(Ht(Ut(o,t)))}function Kt(e,t,n){if(void 0===n&&(n=Ce),!t)throw ct(1,t);var o=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,Yt.apply(void 0,a([o],r,!1)))};return o.attrs=function(o){return Kt(e,t,l(l({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return Kt(e,t,l(l({},n),o))},o}var Jt=function(e){return Kt(Wt,e)},Zt=Jt;ke.forEach((function(e){Zt[e]=Jt(e)}));var Qt=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Nt(e),zt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ot(Ht(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&&zt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();"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 en="__sc-".concat(de,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[en]||(window[en]=0),1===window[en]&&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[en]+=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 tn=(function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=Yt.apply(void 0,a([t],n,!1)),i="sc-global-".concat(_e(JSON.stringify(r))),s=new Qt(r,i);"production"!==process.env.NODE_ENV&&ye(i);var c=function(t){var n=Ot(),o=e.useContext(Gt),a=e.useRef(n.styleSheet.allocateGSInstance(i)).current;return"production"!==process.env.NODE_ENV&&e.Children.count(t.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(s.isStatic)s.renderStyles(e,be,n,r);else{var i=l(l({},t),{theme:Re(t,o,c.defaultProps)});s.renderStyles(e,i,n,r)}}(a,t,n.styleSheet,o,n.stylis),null};return e.memo(c)})`
|
|
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
|
+
}
|
|
118
|
+
|
|
119
|
+
* {
|
|
120
|
+
margin: 0;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
a {
|
|
124
|
+
color: var(--color--primary);
|
|
125
|
+
text-decoration: none;
|
|
126
|
+
|
|
127
|
+
&:hover,
|
|
128
|
+
&:focus {
|
|
129
|
+
text-decoration: underline;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
body,
|
|
134
|
+
button {
|
|
135
|
+
font-family: var(--font-family--sans-serif);
|
|
136
|
+
font-weight: var(--font-weight--regular);
|
|
137
|
+
font-style: normal;
|
|
138
|
+
}
|
|
139
|
+
|
|
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
|
+
}
|
|
148
|
+
|
|
149
|
+
b {
|
|
150
|
+
font-weight: var(--font-weight--bold);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
*:focus-visible {
|
|
154
|
+
outline: 3px solid var(--color--focus-outline);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
input,
|
|
158
|
+
button,
|
|
159
|
+
textarea,
|
|
160
|
+
select {
|
|
161
|
+
font: inherit;
|
|
162
|
+
}
|
|
163
|
+
|
|
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
|
+
}
|
|
194
|
+
|
|
195
|
+
`,nn=Zt.div`
|
|
2
196
|
color: var(--color--grey-dark);
|
|
3
197
|
font-weight: var(--font-weight--bold);
|
|
4
198
|
|
|
@@ -28,59 +222,59 @@
|
|
|
28
222
|
h6 {
|
|
29
223
|
font-size: 0.95rem;
|
|
30
224
|
}
|
|
31
|
-
`;function Zt({children:t,as:n}){const o=n;return o?e.jsx(Jt,{children:e.jsx(o,{children:t})}):null}const Qt=e.jsx("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:e.jsx("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"})}),en=e.jsx("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:e.jsx("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"})}),tn=e.jsx("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:e.jsx("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"})}),nn=e.jsx("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:e.jsx("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"})}),on=e.jsx("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:e.jsx("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=e.jsx("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:e.jsx("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"})}),an=e.jsx("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:e.jsx("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"})}),ln=e.jsx("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:e.jsx("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"})}),sn=e.jsx("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:e.jsx("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"})}),cn=e.jsx("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:e.jsx("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"})}),un=e.jsx("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:e.jsx("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"})}),dn=e.jsx("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:e.jsx("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"})}),gn=e.jsx("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:e.jsx("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"})}),pn=e.jsx("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:e.jsx("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=e.jsx("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:e.jsx("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"})}),hn=e.jsx("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:e.jsx("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"})}),mn=e.jsx("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:e.jsx("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=e.jsx("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:e.jsx("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"})}),wn={"fa/exclamation-triangle-solid":Qt,"fa/question-circle-regular":en,"fa/check-circle-solid":tn,"fa/check-solid":nn,"fa/plus-circle-solid":on,"fa/ellipsis-h-solid":rn,"fa/chevron-down-solid":an,"fa/chevron-up-solid":e.jsx("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:e.jsx("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":sn,"fa/chevron-right-solid":cn,"fa/user-regular":ln,"fa/file-arrow-down-solid":un,"fa/trash-can-regular":dn,"fa/xmark":gn,"fa/clock":pn,"fa/file-upload-solid":fn,"fa/lock-solid":hn,"fa/info-circle-solid":mn,"fa/arrow-up-right-from-square-solid":vn,"fa/file-excel-regular":e.jsx("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:e.jsx("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":e.jsx("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:e.jsx("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})}),"fa/circle-exclamation-solid":e.jsx("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:e.jsx("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"})})},bn={xsmall:Wt`
|
|
225
|
+
`;function on({children:e,as:n}){const o=n;return o?t.jsx(nn,{children:t.jsx(o,{children:e})}):null}const rn=t.jsx("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:t.jsx("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"})}),ln=t.jsx("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:t.jsx("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"})}),an=t.jsx("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:t.jsx("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=t.jsx("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:t.jsx("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=t.jsx("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:t.jsx("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"})}),un=t.jsx("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:t.jsx("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"})}),dn=t.jsx("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:t.jsx("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"})}),gn=t.jsx("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:t.jsx("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"})}),pn=t.jsx("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:t.jsx("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"})}),fn=t.jsx("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:t.jsx("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"})}),hn=t.jsx("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:t.jsx("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"})}),mn=t.jsx("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:t.jsx("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"})}),vn=t.jsx("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:t.jsx("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"})}),bn=t.jsx("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:t.jsx("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"})}),wn=t.jsx("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:t.jsx("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"})}),xn=t.jsx("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:t.jsx("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"})}),yn=t.jsx("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:t.jsx("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"})}),Sn=t.jsx("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:t.jsx("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"})}),Cn={"fa/exclamation-triangle-solid":rn,"fa/question-circle-regular":ln,"fa/check-circle-solid":an,"fa/check-solid":sn,"fa/plus-circle-solid":cn,"fa/ellipsis-h-solid":un,"fa/chevron-down-solid":dn,"fa/chevron-up-solid":t.jsx("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:t.jsx("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":pn,"fa/chevron-right-solid":fn,"fa/user-regular":gn,"fa/file-arrow-down-solid":hn,"fa/trash-can-regular":mn,"fa/xmark":vn,"fa/clock":bn,"fa/file-upload-solid":wn,"fa/lock-solid":xn,"fa/info-circle-solid":yn,"fa/arrow-up-right-from-square-solid":Sn,"fa/file-excel-regular":t.jsx("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:t.jsx("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":t.jsx("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:t.jsx("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})}),"fa/circle-exclamation-solid":t.jsx("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:t.jsx("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"})})},Rn={xsmall:Yt`
|
|
32
226
|
width: 0.6rem;
|
|
33
227
|
height: 0.6rem;
|
|
34
|
-
`,small:
|
|
228
|
+
`,small:Yt`
|
|
35
229
|
width: 0.8rem;
|
|
36
230
|
height: 0.8rem;
|
|
37
|
-
`,medium:
|
|
231
|
+
`,medium:Yt`
|
|
38
232
|
width: 1rem;
|
|
39
233
|
height: 1rem;
|
|
40
|
-
`,large:
|
|
234
|
+
`,large:Yt`
|
|
41
235
|
width: 1.6rem;
|
|
42
236
|
height: 1.6rem;
|
|
43
|
-
`,xlarge:
|
|
237
|
+
`,xlarge:Yt`
|
|
44
238
|
width: 3rem;
|
|
45
239
|
height: 3rem;
|
|
46
|
-
`},
|
|
240
|
+
`},kn={default:Yt``,primary:Yt`
|
|
47
241
|
color: var(--color--primary);
|
|
48
|
-
`,danger:
|
|
242
|
+
`,danger:Yt`
|
|
49
243
|
color: var(--color--danger);
|
|
50
|
-
`,warning:
|
|
244
|
+
`,warning:Yt`
|
|
51
245
|
color: var(--color--warning);
|
|
52
|
-
`,success:
|
|
246
|
+
`,success:Yt`
|
|
53
247
|
color: var(--color--success);
|
|
54
|
-
`,grey:
|
|
248
|
+
`,grey:Yt`
|
|
55
249
|
color: var(--color--grey);
|
|
56
|
-
`,green:
|
|
250
|
+
`,green:Yt`
|
|
57
251
|
color: var(--color--green-dark);
|
|
58
|
-
`},
|
|
252
|
+
`},zn=Zt.i`
|
|
59
253
|
display: inline-block;
|
|
60
254
|
svg {
|
|
61
255
|
display: block;
|
|
62
256
|
transition: color 0.2s ease-in-out;
|
|
63
257
|
|
|
64
|
-
${({size:e})=>
|
|
65
|
-
${({colour:e})=>
|
|
258
|
+
${({size:e})=>Rn[e||"medium"]}
|
|
259
|
+
${({colour:e})=>kn[e||"default"]}
|
|
66
260
|
}
|
|
67
|
-
`;function
|
|
261
|
+
`;function Mn({name:e,size:n,colour:o}){return t.jsx(zn,{size:n,colour:o,children:Cn[e]})}const jn=Zt.div`
|
|
68
262
|
border: 1px solid var(---color--grey-borders);
|
|
69
263
|
width: 100%;
|
|
70
264
|
font-size: 1.5rem;
|
|
71
|
-
`,
|
|
265
|
+
`,Pn=Zt.div`
|
|
72
266
|
background-color: white;
|
|
73
267
|
box-shadow: var(--box-shadow--medium);
|
|
74
268
|
border-radius: var(--border-radius--small);
|
|
75
269
|
h3 {
|
|
76
270
|
margin: 0;
|
|
77
271
|
}
|
|
78
|
-
`,
|
|
272
|
+
`,Vn=Zt.div`
|
|
79
273
|
padding: var(---spacing--medium) var(--spacing--large);
|
|
80
274
|
border-top: 0.1rem solid var(--color-text);
|
|
81
275
|
background-color: var(--color-bakcground);
|
|
82
276
|
padding: var(--spacing--medium);
|
|
83
|
-
`,
|
|
277
|
+
`,En=Zt.button`
|
|
84
278
|
background-color: transparent;
|
|
85
279
|
border-style: none;
|
|
86
280
|
padding: var(--spacing--medium) var(--spacing--medium);
|
|
@@ -99,7 +293,7 @@
|
|
|
99
293
|
margin-left: auto;
|
|
100
294
|
font-size: var(--font-size--large);
|
|
101
295
|
}
|
|
102
|
-
`;const
|
|
296
|
+
`;const In=Yt`
|
|
103
297
|
position: relative;
|
|
104
298
|
display: inline-flex;
|
|
105
299
|
flex-flow: row nowrap;
|
|
@@ -109,58 +303,58 @@
|
|
|
109
303
|
border-radius: var(--border-radius--medium);
|
|
110
304
|
text-decoration: none;
|
|
111
305
|
white-space: nowrap;
|
|
112
|
-
`,
|
|
306
|
+
`,On={medium:Yt`
|
|
113
307
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
114
308
|
font-size: var(--font-size--medium);
|
|
115
309
|
font-weight: 600;
|
|
116
|
-
`,small:
|
|
310
|
+
`,small:Yt`
|
|
117
311
|
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
118
312
|
font-size: var(--font-size--small);
|
|
119
313
|
font-weight: 500;
|
|
120
|
-
`,xsmall:
|
|
314
|
+
`,xsmall:Yt`
|
|
121
315
|
padding: var(--spacing--xxsmall) var(--spacing--xsmall);
|
|
122
316
|
font-size: var(--font-size--xsmall);
|
|
123
317
|
font-weight: 500;
|
|
124
|
-
`,xxsmall:
|
|
318
|
+
`,xxsmall:Yt`
|
|
125
319
|
padding: var(--spacing--xxxsmall) var(--spacing--xxsmall);
|
|
126
320
|
font-size: var(--font-size--xxsmall);
|
|
127
321
|
font-weight: 500;
|
|
128
|
-
`},
|
|
322
|
+
`},Fn={default:Yt`
|
|
129
323
|
background-color: transaprent;
|
|
130
324
|
color: var(--color--body);
|
|
131
325
|
border: 1px solid var(--color--grey-line);
|
|
132
|
-
`,danger:
|
|
326
|
+
`,danger:Yt`
|
|
133
327
|
background-color: var(--color--white);
|
|
134
328
|
color: var(--color--danger);
|
|
135
329
|
border: 1px solid var(--color--danger-light);
|
|
136
|
-
`,warning:
|
|
330
|
+
`,warning:Yt`
|
|
137
331
|
background-color: var(--color--white);
|
|
138
332
|
color: var(--color--warning);
|
|
139
333
|
border: 1px solid var(--color--warning-light);
|
|
140
|
-
`,grey:
|
|
334
|
+
`,grey:Yt`
|
|
141
335
|
background-color: var(--color--grey-line);
|
|
142
336
|
color: var(--color--grey-dark);
|
|
143
337
|
border: 1px solid var(--color--grey-line);
|
|
144
|
-
`},
|
|
145
|
-
${
|
|
338
|
+
`},An=Zt.div`
|
|
339
|
+
${In}
|
|
146
340
|
|
|
147
|
-
${({size:e})=>
|
|
148
|
-
${({kind:e})=>
|
|
149
|
-
`;const
|
|
341
|
+
${({size:e})=>On[e||"medium"]}
|
|
342
|
+
${({kind:e})=>Fn[e||"default"]}
|
|
343
|
+
`;const _n=Zt.hr`
|
|
150
344
|
border: 0;
|
|
151
345
|
border-bottom: 1px solid var(--color--grey-line);
|
|
152
|
-
`;function
|
|
346
|
+
`;function Ln({size:e=80,strokeWidth:n=8,color:o="#4c3fdd"}){return t.jsxs("svg",{width:e,height:e,viewBox:"0 0 200 200",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsxs("defs",{children:[t.jsxs("linearGradient",{id:"spinner-secondHalf",children:[t.jsx("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),t.jsx("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),t.jsxs("linearGradient",{id:"spinner-firstHalf",children:[t.jsx("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),t.jsx("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),t.jsxs("g",{strokeWidth:n,children:[t.jsx("path",{stroke:"url(#spinner-secondHalf)",d:`M ${n/2} 100 A ${100-n/2} ${100-n/2} 0 0 1 ${200-n/2} 100`}),t.jsx("path",{stroke:"url(#spinner-firstHalf)",d:`M ${200-n/2} 100 A ${100-n/2} ${100-n/2} 0 0 1 ${n/2} 100`}),t.jsx("path",{stroke:"currentColor",strokeLinecap:"round",d:`M ${n/2} 100 A ${100-n/2} ${100-n/2} 0 0 1 ${n/2} ${100-n/4}`})]}),t.jsx("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}const Dn=Zt.div`
|
|
153
347
|
position: absolute;
|
|
154
348
|
left: calc(50% - 40px);
|
|
155
349
|
top: calc(50% - 40px);
|
|
156
|
-
`,
|
|
350
|
+
`,Hn=Zt.div`
|
|
157
351
|
position: absolute;
|
|
158
352
|
top: 28px;
|
|
159
353
|
font-size: var(---font-size--small);
|
|
160
354
|
color: black;
|
|
161
355
|
width: 80px;
|
|
162
356
|
text-align: center;
|
|
163
|
-
`;const
|
|
357
|
+
`;const Nn=Yt`
|
|
164
358
|
position: relative;
|
|
165
359
|
transition:
|
|
166
360
|
background-color 0.1s ease,
|
|
@@ -189,15 +383,15 @@
|
|
|
189
383
|
width: 90%;
|
|
190
384
|
max-height: 90%;
|
|
191
385
|
}
|
|
192
|
-
`,
|
|
386
|
+
`,Tn=Yt`
|
|
193
387
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
194
388
|
font-size: 0.9rem;
|
|
195
389
|
font-weight: 600;
|
|
196
|
-
|
|
390
|
+
`,$n=Yt`
|
|
197
391
|
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
198
392
|
font-size: 0.8rem;
|
|
199
393
|
font-weight: 500;
|
|
200
|
-
`,
|
|
394
|
+
`,Gn=Yt`
|
|
201
395
|
background-color: var(--color--primary);
|
|
202
396
|
color: var(--color--white);
|
|
203
397
|
border: none;
|
|
@@ -209,7 +403,7 @@
|
|
|
209
403
|
&:disabled {
|
|
210
404
|
background-color: #767676;
|
|
211
405
|
}
|
|
212
|
-
`,
|
|
406
|
+
`,Bn=Yt`
|
|
213
407
|
background-color: var(--color--white);
|
|
214
408
|
color: var(--color--primary);
|
|
215
409
|
border: 1px solid var(--color--primary);
|
|
@@ -224,7 +418,7 @@
|
|
|
224
418
|
color: #767676;
|
|
225
419
|
border-color: #767676;
|
|
226
420
|
}
|
|
227
|
-
`,
|
|
421
|
+
`,qn=Yt`
|
|
228
422
|
background-color: var(--color--red);
|
|
229
423
|
color: white;
|
|
230
424
|
border: none;
|
|
@@ -236,7 +430,7 @@
|
|
|
236
430
|
&:disabled {
|
|
237
431
|
background-color: #767676;
|
|
238
432
|
}
|
|
239
|
-
`,
|
|
433
|
+
`,Wn=Yt`
|
|
240
434
|
background-color: transparent;
|
|
241
435
|
color: var(--color--primary-light);
|
|
242
436
|
border: none;
|
|
@@ -251,7 +445,7 @@
|
|
|
251
445
|
color: #767676;
|
|
252
446
|
border-color: #767676;
|
|
253
447
|
}
|
|
254
|
-
|
|
448
|
+
`,Un=Yt`
|
|
255
449
|
background-color: var(--color--debug);
|
|
256
450
|
color: var(--color--white);
|
|
257
451
|
border: none;
|
|
@@ -263,24 +457,24 @@
|
|
|
263
457
|
&:disabled {
|
|
264
458
|
background-color: var(--color--debug-very-light);
|
|
265
459
|
}
|
|
266
|
-
`,
|
|
267
|
-
${
|
|
460
|
+
`,Xn=Zt.a`
|
|
461
|
+
${Nn}
|
|
268
462
|
|
|
269
|
-
${({size:e})=>"small"===e
|
|
463
|
+
${({size:e})=>"small"===e?$n:Tn}
|
|
270
464
|
|
|
271
|
-
${({kind:e})=>"secondary"===e?
|
|
272
|
-
`,
|
|
273
|
-
${
|
|
465
|
+
${({kind:e})=>"secondary"===e?Bn:"danger"===e?qn:"basic"===e?Wn:"debug"===e?Un:Gn}
|
|
466
|
+
`,Yn=Zt.button`
|
|
467
|
+
${Nn}
|
|
274
468
|
|
|
275
|
-
${({size:e})=>"small"===e
|
|
469
|
+
${({size:e})=>"small"===e?$n:Tn}
|
|
276
470
|
|
|
277
|
-
${({kind:e})=>"secondary"===e?
|
|
471
|
+
${({kind:e})=>"secondary"===e?Bn:"danger"===e?qn:"basic"===e?Wn:"debug"===e?Un:Gn}
|
|
278
472
|
|
|
279
|
-
${({$isSubmitting:e})=>e?
|
|
473
|
+
${({$isSubmitting:e})=>e?Yt`
|
|
280
474
|
padding-left: 33px;
|
|
281
475
|
pointer-events: none;
|
|
282
|
-
`:
|
|
283
|
-
`,
|
|
476
|
+
`:Yt``}
|
|
477
|
+
`,Kn=Zt.span`
|
|
284
478
|
position: absolute;
|
|
285
479
|
left: 10px;
|
|
286
480
|
top: calc(50% - 8px);
|
|
@@ -290,12 +484,12 @@
|
|
|
290
484
|
width: 16px;
|
|
291
485
|
height: 16px;
|
|
292
486
|
}
|
|
293
|
-
`;function
|
|
487
|
+
`;function Jn({children:e,...n}){const{type:o,kind:r}=n;if("link"===o)return t.jsx(Xn,{...n,children:e});if("submit"===o){const{hideSpinner:o=!1,isSubmitting:i}=n;return t.jsxs(Yn,{$isSubmitting:i,...n,children:[i&&!o&&t.jsx(Kn,{children:t.jsx(Ln,{strokeWidth:32,color:"primary"===r?"var(--color--white)":"inherit"})}),e]})}return t.jsx(Yn,{...n,children:e})}const Zn=Zt.div`
|
|
294
488
|
display: flex;
|
|
295
489
|
flex-direction: column;
|
|
296
490
|
align-items: flex-start;
|
|
297
491
|
padding: var(--spacing--medium);
|
|
298
|
-
`,
|
|
492
|
+
`,Qn=Zt.div`
|
|
299
493
|
display: -webkit-box;
|
|
300
494
|
-webkit-line-clamp: ${e=>e.$maxLines};
|
|
301
495
|
-webkit-box-orient: vertical;
|
|
@@ -304,20 +498,20 @@
|
|
|
304
498
|
@media print {
|
|
305
499
|
-webkit-line-clamp: unset;
|
|
306
500
|
}
|
|
307
|
-
`,
|
|
501
|
+
`,eo=Zt(Jn)`
|
|
308
502
|
margin: auto;
|
|
309
503
|
|
|
310
504
|
@media print {
|
|
311
505
|
display: none;
|
|
312
506
|
}
|
|
313
|
-
`;const Kn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var Jn=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},Zn="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,Qn="top",eo="bottom",to="right",no="left",oo="auto",ro=[Qn,eo,to,no],io="start",ao="end",lo="clippingParents",so="viewport",co="popper",uo="reference",go=ro.reduce((function(e,t){return e.concat([t+"-"+io,t+"-"+ao])}),[]),po=[].concat(ro,[oo]).reduce((function(e,t){return e.concat([t,t+"-"+io,t+"-"+ao])}),[]),fo=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ho(e){return e?(e.nodeName||"").toLowerCase():null}function mo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vo(e){return e instanceof mo(e).Element||e instanceof Element}function wo(e){return e instanceof mo(e).HTMLElement||e instanceof HTMLElement}function bo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof mo(e).ShadowRoot||e instanceof ShadowRoot)}var xo={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];wo(r)&&ho(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}),{});wo(o)&&ho(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function yo(e){return e.split("-")[0]}var So=Math.max,Co=Math.min,Ro=Math.round;function zo(){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 ko(){return!/^((?!chrome|android).)*safari/i.test(zo())}function Mo(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&wo(e)&&(r=e.offsetWidth>0&&Ro(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Ro(o.height)/e.offsetHeight||1);var a=(vo(e)?mo(e):window).visualViewport,l=!ko()&&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 jo(e){var t=Mo(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 Po(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 Vo(e){return mo(e).getComputedStyle(e)}function Eo(e){return["table","td","th"].indexOf(ho(e))>=0}function Io(e){return((vo(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fo(e){return"html"===ho(e)?e:e.assignedSlot||e.parentNode||(bo(e)?e.host:null)||Io(e)}function Oo(e){return wo(e)&&"fixed"!==Vo(e).position?e.offsetParent:null}function Ao(e){for(var t=mo(e),n=Oo(e);n&&Eo(n)&&"static"===Vo(n).position;)n=Oo(n);return n&&("html"===ho(n)||"body"===ho(n)&&"static"===Vo(n).position)?t:n||function(e){var t=/firefox/i.test(zo());if(/Trident/i.test(zo())&&wo(e)&&"fixed"===Vo(e).position)return null;var n=Fo(e);for(bo(n)&&(n=n.host);wo(n)&&["html","body"].indexOf(ho(n))<0;){var o=Vo(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 _o(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Lo(e,t,n){return So(e,Co(t,n))}function Do(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ho(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var To={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=yo(n.placement),s=_o(l),c=[no,to].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return Do("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ho(e,ro))}(r.padding,n),d=jo(i),g="y"===s?Qn:no,p="y"===s?eo:to,f=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],h=a[s]-n.rects.reference[s],m=Ao(i),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,w=f/2-h/2,b=u[g],x=v-d[c]-u[p],y=v/2-d[c]/2+w,S=Lo(b,y,x),C=s;n.modifiersData[o]=((t={})[C]=S,t.centerOffset=S-y,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)))&&Po(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function No(e){return e.split("-")[1]}var $o={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Go(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,g=a.x,p=void 0===g?0:g,f=a.y,h=void 0===f?0:f,m="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var v=a.hasOwnProperty("x"),w=a.hasOwnProperty("y"),b=no,x=Qn,y=window;if(c){var S=Ao(n),C="clientHeight",R="clientWidth";if(S===mo(n)&&"static"!==Vo(S=Io(n)).position&&"absolute"===l&&(C="scrollHeight",R="scrollWidth"),r===Qn||(r===no||r===to)&&i===ao)x=eo,h-=(d&&S===y&&y.visualViewport?y.visualViewport.height:S[C])-o.height,h*=s?1:-1;if(r===no||(r===Qn||r===eo)&&i===ao)b=to,p-=(d&&S===y&&y.visualViewport?y.visualViewport.width:S[R])-o.width,p*=s?1:-1}var z,k=Object.assign({position:l},c&&$o),M=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Ro(n*r)/r||0,y:Ro(o*r)/r||0}}({x:p,y:h},mo(n)):{x:p,y:h};return p=M.x,h=M.y,s?Object.assign({},k,((z={})[x]=w?"0":"",z[b]=v?"0":"",z.transform=(y.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",z)):Object.assign({},k,((t={})[x]=w?h+"px":"",t[b]=v?p+"px":"",t.transform="",t))}var Bo={passive:!0};var qo={left:"right",right:"left",bottom:"top",top:"bottom"};function Wo(e){return e.replace(/left|right|bottom|top/g,(function(e){return qo[e]}))}var Uo={start:"end",end:"start"};function Yo(e){return e.replace(/start|end/g,(function(e){return Uo[e]}))}function Xo(e){var t=mo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ko(e){return Mo(Io(e)).left+Xo(e).scrollLeft}function Jo(e){var t=Vo(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Zo(e){return["html","body","#document"].indexOf(ho(e))>=0?e.ownerDocument.body:wo(e)&&Jo(e)?e:Zo(Fo(e))}function Qo(e,t){var n;void 0===t&&(t=[]);var o=Zo(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=mo(o),a=r?[i].concat(i.visualViewport||[],Jo(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(Qo(Fo(a)))}function er(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tr(e,t,n){return t===so?er(function(e,t){var n=mo(e),o=Io(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;var c=ko();(c||!c&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l+Ko(e),y:s}}(e,n)):vo(t)?function(e,t){var n=Mo(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):er(function(e){var t,n=Io(e),o=Xo(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=So(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=So(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+Ko(e),s=-o.scrollTop;return"rtl"===Vo(r||n).direction&&(l+=So(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Io(e)))}function nr(e,t,n,o){var r="clippingParents"===t?function(e){var t=Qo(Fo(e)),n=["absolute","fixed"].indexOf(Vo(e).position)>=0&&wo(e)?Ao(e):e;return vo(n)?t.filter((function(e){return vo(e)&&Po(e,n)&&"body"!==ho(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),a=i[0],l=i.reduce((function(t,n){var r=tr(e,n,o);return t.top=So(r.top,t.top),t.right=Co(r.right,t.right),t.bottom=Co(r.bottom,t.bottom),t.left=So(r.left,t.left),t}),tr(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 or(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?yo(r):null,a=r?No(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case Qn:t={x:l,y:n.y-o.height};break;case eo:t={x:l,y:n.y+n.height};break;case to:t={x:n.x+n.width,y:s};break;case no:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?_o(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case io:t[c]=t[c]-(n[u]/2-o[u]/2);break;case ao:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function rr(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?lo:l,c=n.rootBoundary,u=void 0===c?so:c,d=n.elementContext,g=void 0===d?co:d,p=n.altBoundary,f=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,v=Do("number"!=typeof m?m:Ho(m,ro)),w=g===co?uo:co,b=e.rects.popper,x=e.elements[f?w:g],y=nr(vo(x)?x:x.contextElement||Io(e.elements.popper),s,u,a),S=Mo(e.elements.reference),C=or({reference:S,element:b,strategy:"absolute",placement:r}),R=er(Object.assign({},b,C)),z=g===co?R:S,k={top:y.top-z.top+v.top,bottom:z.bottom-y.bottom+v.bottom,left:y.left-z.left+v.left,right:z.right-y.right+v.right},M=e.modifiersData.offset;if(g===co&&M){var j=M[r];Object.keys(k).forEach((function(e){var t=[to,eo].indexOf(e)>=0?1:-1,n=[Qn,eo].indexOf(e)>=0?"y":"x";k[e]+=j[n]*t}))}return k}function ir(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?po:s,u=No(o),d=u?l?go:go.filter((function(e){return No(e)===u})):ro,g=d.filter((function(e){return c.indexOf(e)>=0}));0===g.length&&(g=d);var p=g.reduce((function(t,n){return t[n]=rr(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[yo(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var ar={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,g=n.altBoundary,p=n.flipVariations,f=void 0===p||p,h=n.allowedAutoPlacements,m=t.options.placement,v=yo(m),w=s||(v===m||!f?[Wo(m)]:function(e){if(yo(e)===oo)return[];var t=Wo(e);return[Yo(e),t,Yo(t)]}(m)),b=[m].concat(w).reduce((function(e,n){return e.concat(yo(n)===oo?ir(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,y=t.rects.popper,S=new Map,C=!0,R=b[0],z=0;z<b.length;z++){var k=b[z],M=yo(k),j=No(k)===io,P=[Qn,eo].indexOf(M)>=0,V=P?"width":"height",E=rr(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:g,padding:c}),I=P?j?to:no:j?eo:Qn;x[V]>y[V]&&(I=Wo(I));var F=Wo(I),O=[];if(i&&O.push(E[M]<=0),l&&O.push(E[I]<=0,E[F]<=0),O.every((function(e){return e}))){R=k,C=!1;break}S.set(k,O)}if(C)for(var A=function(e){var t=b.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"},_=f?3:1;_>0;_--){if("break"===A(_))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function lr(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 sr(e){return[Qn,to,eo,no].some((function(t){return e[t]>=0}))}var cr={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=po.reduce((function(e,n){return e[n]=function(e,t,n){var o=yo(e),r=[no,Qn].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,[no,to].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 ur={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,g=n.tether,p=void 0===g||g,f=n.tetherOffset,h=void 0===f?0:f,m=rr(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=yo(t.placement),w=No(t.placement),b=!w,x=_o(v),y="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,z="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,k="number"==typeof z?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(S){if(i){var P,V="y"===x?Qn:no,E="y"===x?eo:to,I="y"===x?"height":"width",F=S[x],O=F+m[V],A=F-m[E],_=p?-R[I]/2:0,L=w===io?C[I]:R[I],D=w===io?-R[I]:-C[I],H=t.elements.arrow,T=p&&H?jo(H):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=N[V],G=N[E],B=Lo(0,C[I],T[I]),q=b?C[I]/2-_-B-$-k.mainAxis:L-B-$-k.mainAxis,W=b?-C[I]/2+_+B+G+k.mainAxis:D+B+G+k.mainAxis,U=t.elements.arrow&&Ao(t.elements.arrow),Y=U?"y"===x?U.clientTop||0:U.clientLeft||0:0,X=null!=(P=null==M?void 0:M[x])?P:0,K=F+W-X,J=Lo(p?Co(O,F+q-X-Y):O,F,p?So(A,K):A);S[x]=J,j[x]=J-F}if(l){var Z,Q="x"===x?Qn:no,ee="x"===x?eo:to,te=S[y],ne="y"===y?"height":"width",oe=te+m[Q],re=te-m[ee],ie=-1!==[Qn,no].indexOf(v),ae=null!=(Z=null==M?void 0:M[y])?Z:0,le=ie?oe:te-C[ne]-R[ne]-ae+k.altAxis,se=ie?te+C[ne]+R[ne]-ae-k.altAxis:re,ce=p&&ie?function(e,t,n){var o=Lo(e,t,n);return o>n?n:o}(le,te,se):Lo(p?le:oe,te,p?se:re);S[y]=ce,j[y]=ce-te}t.modifiersData[o]=j}},requiresIfExists:["offset"]};function dr(e,t,n){void 0===n&&(n=!1);var o=wo(t),r=wo(t)&&function(e){var t=e.getBoundingClientRect(),n=Ro(t.width)/e.offsetWidth||1,o=Ro(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),i=Io(t),a=Mo(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==ho(t)||Jo(i))&&(l=function(e){return e!==mo(e)&&wo(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Xo(e);var t}(t)),wo(t)?((s=Mo(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=Ko(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function gr(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 pr={placement:"bottom",modifiers:[],strategy:"absolute"};function fr(){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 hr(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?pr:r;return function(e,t,n){void 0===n&&(n=i);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},pr,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:vo(e)?Qo(e):e.contextElement?Qo(e.contextElement):[],popper:Qo(t)};var a,c,g=function(e){var t=gr(e);return fo.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=g.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(fr(t,n)){l.rects={reference:dr(t,Ao(n),"fixed"===l.options.strategy),popper:jo(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(!fr(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 mr=hr({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=mo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Bo)})),l&&s.addEventListener("resize",n.update,Bo),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Bo)})),l&&s.removeEventListener("resize",n.update,Bo)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=or({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:yo(t.placement),variation:No(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,Go(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,Go(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:{}},xo,cr,ar,ur,To,{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=rr(t,{elementContext:"reference"}),l=rr(t,{altBoundary:!0}),s=lr(a,o),c=lr(l,r,i),u=sr(s),d=sr(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})}}]}),vr="undefined"!=typeof Element,wr="function"==typeof Map,br="function"==typeof Set,xr="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function yr(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(!yr(e[o],t[o]))return!1;return!0}if(wr&&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(!yr(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(xr&&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(vr&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!yr(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var Sr=d((function(e,t){try{return yr(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Cr=[],Rr=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Cr},l=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=l[0],c=l[1],u=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);i.flushSync((function(){c({styles:Jn(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Jn(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return Sr(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),g=r.useRef();return Zn((function(){g.current&&g.current.setOptions(d)}),[d]),Zn((function(){if(null!=e&&null!=t){var o=(n.createPopper||mr)(e,t,d);return g.current=o,function(){o.destroy(),g.current=null}}}),[e,t,n.createPopper]),{state:g.current?g.current.state:null,styles:s.styles,attributes:s.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}};const zr=Xt.div`
|
|
507
|
+
`;const to=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var no=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},oo="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,ro="top",io="bottom",lo="right",ao="left",so="auto",co=[ro,io,lo,ao],uo="start",go="end",po="clippingParents",fo="viewport",ho="popper",mo="reference",vo=co.reduce((function(e,t){return e.concat([t+"-"+uo,t+"-"+go])}),[]),bo=[].concat(co,[so]).reduce((function(e,t){return e.concat([t,t+"-"+uo,t+"-"+go])}),[]),wo=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function xo(e){return e?(e.nodeName||"").toLowerCase():null}function yo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function So(e){return e instanceof yo(e).Element||e instanceof Element}function Co(e){return e instanceof yo(e).HTMLElement||e instanceof HTMLElement}function Ro(e){return"undefined"!=typeof ShadowRoot&&(e instanceof yo(e).ShadowRoot||e instanceof ShadowRoot)}var ko={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];Co(r)&&xo(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}),{});Co(o)&&xo(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function zo(e){return e.split("-")[0]}var Mo=Math.max,jo=Math.min,Po=Math.round;function Vo(){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 Eo(){return!/^((?!chrome|android).)*safari/i.test(Vo())}function Io(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&Co(e)&&(r=e.offsetWidth>0&&Po(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Po(o.height)/e.offsetHeight||1);var l=(So(e)?yo(e):window).visualViewport,a=!Eo()&&n,s=(o.left+(a&&l?l.offsetLeft:0))/r,c=(o.top+(a&&l?l.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 Oo(e){var t=Io(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 Fo(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ro(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ao(e){return yo(e).getComputedStyle(e)}function _o(e){return["table","td","th"].indexOf(xo(e))>=0}function Lo(e){return((So(e)?e.ownerDocument:e.document)||window.document).documentElement}function Do(e){return"html"===xo(e)?e:e.assignedSlot||e.parentNode||(Ro(e)?e.host:null)||Lo(e)}function Ho(e){return Co(e)&&"fixed"!==Ao(e).position?e.offsetParent:null}function No(e){for(var t=yo(e),n=Ho(e);n&&_o(n)&&"static"===Ao(n).position;)n=Ho(n);return n&&("html"===xo(n)||"body"===xo(n)&&"static"===Ao(n).position)?t:n||function(e){var t=/firefox/i.test(Vo());if(/Trident/i.test(Vo())&&Co(e)&&"fixed"===Ao(e).position)return null;var n=Do(e);for(Ro(n)&&(n=n.host);Co(n)&&["html","body"].indexOf(xo(n))<0;){var o=Ao(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 To(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $o(e,t,n){return Mo(e,jo(t,n))}function Go(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Bo(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var qo={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,l=n.modifiersData.popperOffsets,a=zo(n.placement),s=To(a),c=[ao,lo].indexOf(a)>=0?"height":"width";if(i&&l){var u=function(e,t){return Go("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Bo(e,co))}(r.padding,n),d=Oo(i),g="y"===s?ro:ao,p="y"===s?io:lo,f=n.rects.reference[c]+n.rects.reference[s]-l[s]-n.rects.popper[c],h=l[s]-n.rects.reference[s],m=No(i),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,b=f/2-h/2,w=u[g],x=v-d[c]-u[p],y=v/2-d[c]/2+b,S=$o(w,y,x),C=s;n.modifiersData[o]=((t={})[C]=S,t.centerOffset=S-y,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)))&&Fo(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wo(e){return e.split("-")[1]}var Uo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Xo(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,l=e.offsets,a=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,g=l.x,p=void 0===g?0:g,f=l.y,h=void 0===f?0:f,m="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var v=l.hasOwnProperty("x"),b=l.hasOwnProperty("y"),w=ao,x=ro,y=window;if(c){var S=No(n),C="clientHeight",R="clientWidth";if(S===yo(n)&&"static"!==Ao(S=Lo(n)).position&&"absolute"===a&&(C="scrollHeight",R="scrollWidth"),r===ro||(r===ao||r===lo)&&i===go)x=io,h-=(d&&S===y&&y.visualViewport?y.visualViewport.height:S[C])-o.height,h*=s?1:-1;if(r===ao||(r===ro||r===io)&&i===go)w=lo,p-=(d&&S===y&&y.visualViewport?y.visualViewport.width:S[R])-o.width,p*=s?1:-1}var k,z=Object.assign({position:a},c&&Uo),M=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Po(n*r)/r||0,y:Po(o*r)/r||0}}({x:p,y:h},yo(n)):{x:p,y:h};return p=M.x,h=M.y,s?Object.assign({},z,((k={})[x]=b?"0":"",k[w]=v?"0":"",k.transform=(y.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",k)):Object.assign({},z,((t={})[x]=b?h+"px":"",t[w]=v?p+"px":"",t.transform="",t))}var Yo={passive:!0};var Ko={left:"right",right:"left",bottom:"top",top:"bottom"};function Jo(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ko[e]}))}var Zo={start:"end",end:"start"};function Qo(e){return e.replace(/start|end/g,(function(e){return Zo[e]}))}function er(e){var t=yo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tr(e){return Io(Lo(e)).left+er(e).scrollLeft}function nr(e){var t=Ao(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function or(e){return["html","body","#document"].indexOf(xo(e))>=0?e.ownerDocument.body:Co(e)&&nr(e)?e:or(Do(e))}function rr(e,t){var n;void 0===t&&(t=[]);var o=or(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=yo(o),l=r?[i].concat(i.visualViewport||[],nr(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(rr(Do(l)))}function ir(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function lr(e,t,n){return t===fo?ir(function(e,t){var n=yo(e),o=Lo(e),r=n.visualViewport,i=o.clientWidth,l=o.clientHeight,a=0,s=0;if(r){i=r.width,l=r.height;var c=Eo();(c||!c&&"fixed"===t)&&(a=r.offsetLeft,s=r.offsetTop)}return{width:i,height:l,x:a+tr(e),y:s}}(e,n)):So(t)?function(e,t){var n=Io(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):ir(function(e){var t,n=Lo(e),o=er(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Mo(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=Mo(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+tr(e),s=-o.scrollTop;return"rtl"===Ao(r||n).direction&&(a+=Mo(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:s}}(Lo(e)))}function ar(e,t,n,o){var r="clippingParents"===t?function(e){var t=rr(Do(e)),n=["absolute","fixed"].indexOf(Ao(e).position)>=0&&Co(e)?No(e):e;return So(n)?t.filter((function(e){return So(e)&&Fo(e,n)&&"body"!==xo(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),l=i[0],a=i.reduce((function(t,n){var r=lr(e,n,o);return t.top=Mo(r.top,t.top),t.right=jo(r.right,t.right),t.bottom=jo(r.bottom,t.bottom),t.left=Mo(r.left,t.left),t}),lr(e,l,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function sr(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?zo(r):null,l=r?Wo(r):null,a=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case ro:t={x:a,y:n.y-o.height};break;case io:t={x:a,y:n.y+n.height};break;case lo:t={x:n.x+n.width,y:s};break;case ao:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?To(i):null;if(null!=c){var u="y"===c?"height":"width";switch(l){case uo:t[c]=t[c]-(n[u]/2-o[u]/2);break;case go:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function cr(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.strategy,l=void 0===i?e.strategy:i,a=n.boundary,s=void 0===a?po:a,c=n.rootBoundary,u=void 0===c?fo:c,d=n.elementContext,g=void 0===d?ho:d,p=n.altBoundary,f=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,v=Go("number"!=typeof m?m:Bo(m,co)),b=g===ho?mo:ho,w=e.rects.popper,x=e.elements[f?b:g],y=ar(So(x)?x:x.contextElement||Lo(e.elements.popper),s,u,l),S=Io(e.elements.reference),C=sr({reference:S,element:w,strategy:"absolute",placement:r}),R=ir(Object.assign({},w,C)),k=g===ho?R:S,z={top:y.top-k.top+v.top,bottom:k.bottom-y.bottom+v.bottom,left:y.left-k.left+v.left,right:k.right-y.right+v.right},M=e.modifiersData.offset;if(g===ho&&M){var j=M[r];Object.keys(z).forEach((function(e){var t=[lo,io].indexOf(e)>=0?1:-1,n=[ro,io].indexOf(e)>=0?"y":"x";z[e]+=j[n]*t}))}return z}function ur(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,l=n.padding,a=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?bo:s,u=Wo(o),d=u?a?vo:vo.filter((function(e){return Wo(e)===u})):co,g=d.filter((function(e){return c.indexOf(e)>=0}));0===g.length&&(g=d);var p=g.reduce((function(t,n){return t[n]=cr(e,{placement:n,boundary:r,rootBoundary:i,padding:l})[zo(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var dr={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,l=n.altAxis,a=void 0===l||l,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,g=n.altBoundary,p=n.flipVariations,f=void 0===p||p,h=n.allowedAutoPlacements,m=t.options.placement,v=zo(m),b=s||(v===m||!f?[Jo(m)]:function(e){if(zo(e)===so)return[];var t=Jo(e);return[Qo(e),t,Qo(t)]}(m)),w=[m].concat(b).reduce((function(e,n){return e.concat(zo(n)===so?ur(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,y=t.rects.popper,S=new Map,C=!0,R=w[0],k=0;k<w.length;k++){var z=w[k],M=zo(z),j=Wo(z)===uo,P=[ro,io].indexOf(M)>=0,V=P?"width":"height",E=cr(t,{placement:z,boundary:u,rootBoundary:d,altBoundary:g,padding:c}),I=P?j?lo:ao:j?io:ro;x[V]>y[V]&&(I=Jo(I));var O=Jo(I),F=[];if(i&&F.push(E[M]<=0),a&&F.push(E[I]<=0,E[O]<=0),F.every((function(e){return e}))){R=z,C=!1;break}S.set(z,F)}if(C)for(var A=function(e){var t=w.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"},_=f?3:1;_>0;_--){if("break"===A(_))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function gr(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 pr(e){return[ro,lo,io,ao].some((function(t){return e[t]>=0}))}var fr={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,l=bo.reduce((function(e,n){return e[n]=function(e,t,n){var o=zo(e),r=[ao,ro].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,l=i[0],a=i[1];return l=l||0,a=(a||0)*r,[ao,lo].indexOf(o)>=0?{x:a,y:l}:{x:l,y:a}}(n,t.rects,i),e}),{}),a=l[t.placement],s=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=l}};var hr={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,l=n.altAxis,a=void 0!==l&&l,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,g=n.tether,p=void 0===g||g,f=n.tetherOffset,h=void 0===f?0:f,m=cr(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=zo(t.placement),b=Wo(t.placement),w=!b,x=To(v),y="x"===x?"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,z="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(S){if(i){var P,V="y"===x?ro:ao,E="y"===x?io:lo,I="y"===x?"height":"width",O=S[x],F=O+m[V],A=O-m[E],_=p?-R[I]/2:0,L=b===uo?C[I]:R[I],D=b===uo?-R[I]:-C[I],H=t.elements.arrow,N=p&&H?Oo(H):{width:0,height:0},T=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=T[V],G=T[E],B=$o(0,C[I],N[I]),q=w?C[I]/2-_-B-$-z.mainAxis:L-B-$-z.mainAxis,W=w?-C[I]/2+_+B+G+z.mainAxis:D+B+G+z.mainAxis,U=t.elements.arrow&&No(t.elements.arrow),X=U?"y"===x?U.clientTop||0:U.clientLeft||0:0,Y=null!=(P=null==M?void 0:M[x])?P:0,K=O+W-Y,J=$o(p?jo(F,O+q-Y-X):F,O,p?Mo(A,K):A);S[x]=J,j[x]=J-O}if(a){var Z,Q="x"===x?ro:ao,ee="x"===x?io:lo,te=S[y],ne="y"===y?"height":"width",oe=te+m[Q],re=te-m[ee],ie=-1!==[ro,ao].indexOf(v),le=null!=(Z=null==M?void 0:M[y])?Z:0,ae=ie?oe:te-C[ne]-R[ne]-le+z.altAxis,se=ie?te+C[ne]+R[ne]-le-z.altAxis:re,ce=p&&ie?function(e,t,n){var o=$o(e,t,n);return o>n?n:o}(ae,te,se):$o(p?ae:oe,te,p?se:re);S[y]=ce,j[y]=ce-te}t.modifiersData[o]=j}},requiresIfExists:["offset"]};function mr(e,t,n){void 0===n&&(n=!1);var o=Co(t),r=Co(t)&&function(e){var t=e.getBoundingClientRect(),n=Po(t.width)/e.offsetWidth||1,o=Po(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),i=Lo(t),l=Io(e,r,n),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==xo(t)||nr(i))&&(a=function(e){return e!==yo(e)&&Co(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:er(e);var t}(t)),Co(t)?((s=Io(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=tr(i))),{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}function vr(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 br={placement:"bottom",modifiers:[],strategy:"absolute"};function wr(){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 xr(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?br:r;return function(e,t,n){void 0===n&&(n=i);var r,l,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},br,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:a,setOptions:function(n){var r="function"==typeof n?n(a.options):n;d(),a.options=Object.assign({},i,a.options,r),a.scrollParents={reference:So(e)?rr(e):e.contextElement?rr(e.contextElement):[],popper:rr(t)};var l,c,g=function(e){var t=vr(e);return wo.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((l=[].concat(o,a.options.modifiers),c=l.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 a.orderedModifiers=g.filter((function(e){return e.enabled})),a.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:a,name:t,instance:u,options:o}),l=function(){};s.push(i||l)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(wr(t,n)){a.rects={reference:mr(t,No(n),"fixed"===a.options.strategy),popper:Oo(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var r=a.orderedModifiers[o],i=r.fn,l=r.options,s=void 0===l?{}:l,d=r.name;"function"==typeof i&&(a=i({state:a,options:s,name:d,instance:u})||a)}else a.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return l||(l=new Promise((function(e){Promise.resolve().then((function(){l=void 0,e(r())}))}))),l}),destroy:function(){d(),c=!0}};if(!wr(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 yr=xr({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,l=o.resize,a=void 0===l||l,s=yo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Yo)})),a&&s.addEventListener("resize",n.update,Yo),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Yo)})),a&&s.removeEventListener("resize",n.update,Yo)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=sr({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,l=void 0===i||i,a=n.roundOffsets,s=void 0===a||a,c={placement:zo(t.placement),variation:Wo(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,Xo(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Xo(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:{}},ko,fr,dr,hr,qo,{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,l=cr(t,{elementContext:"reference"}),a=cr(t,{altBoundary:!0}),s=gr(l,o),c=gr(a,r,i),u=pr(s),d=pr(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})}}]}),Sr="undefined"!=typeof Element,Cr="function"==typeof Map,Rr="function"==typeof Set,kr="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function zr(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(!zr(e[o],t[o]))return!1;return!0}if(Cr&&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(!zr(o.value[1],t.get(o.value[0])))return!1;return!0}if(Rr&&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(kr&&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(Sr&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!zr(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var Mr=function(e,t){try{return zr(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},jr=d(Mr),Pr=[],Vr=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),l={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Pr},a=r.useState({styles:{popper:{position:l.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],c=a[1],u=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);i.flushSync((function(){c({styles:no(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:no(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=r.useMemo((function(){var e={onFirstUpdate:l.onFirstUpdate,placement:l.placement,strategy:l.strategy,modifiers:[].concat(l.modifiers,[u,{name:"applyStyles",enabled:!1}])};return jr(o.current,e)?o.current||e:(o.current=e,e)}),[l.onFirstUpdate,l.placement,l.strategy,l.modifiers,u]),g=r.useRef();return oo((function(){g.current&&g.current.setOptions(d)}),[d]),oo((function(){if(null!=e&&null!=t){var o=(n.createPopper||yr)(e,t,d);return g.current=o,function(){o.destroy(),g.current=null}}}),[e,t,n.createPopper]),{state:g.current?g.current.state:null,styles:s.styles,attributes:s.attributes,update:g.current?g.current.update:null,forceUpdate:g.current?g.current.forceUpdate:null}};const Er=Zt.div`
|
|
314
508
|
display: inline-flex;
|
|
315
509
|
position: relative;
|
|
316
510
|
|
|
317
511
|
@media print {
|
|
318
512
|
display: none;
|
|
319
513
|
}
|
|
320
|
-
`,
|
|
514
|
+
`,Ir=Zt.div`
|
|
321
515
|
text-align: left;
|
|
322
516
|
position: relative;
|
|
323
517
|
font-size: var(--font-size--xsmall);
|
|
@@ -388,7 +582,7 @@
|
|
|
388
582
|
&[data-show] > .arrow::before {
|
|
389
583
|
visibility: visible;
|
|
390
584
|
}
|
|
391
|
-
`;function
|
|
585
|
+
`;function Or({children:n,content:o,placement:r="top"}){const[i,l]=e.useState(!1),[a,s]=e.useState(null),[c,u]=e.useState(null),[d,g]=e.useState(null),{styles:p,attributes:f}=Vr(a,c,{placement:r,modifiers:[{name:"arrow",options:{element:d}},{name:"offset",options:{offset:[0,5]}}]});let h=null;const m=()=>{h=setTimeout((()=>{l(!0)}),300)},v=()=>{h&&clearTimeout(h),l(!1)};return e.useEffect((()=>()=>{h&&clearTimeout(h)})),t.jsxs(Er,{onMouseEnter:m,onMouseLeave:v,onFocus:m,onBlur:v,tabIndex:0,children:[t.jsx("div",{ref:s,children:n}),i&&t.jsxs(Ir,{style:p.popper,"data-show":i,...f.popper,ref:u,children:[t.jsx("div",{children:o}),t.jsx("span",{ref:g,style:p.arrow,...f.arrow,className:"arrow"})]})]})}function Fr({size:e}){return t.jsx(Mn,{colour:"green",name:"fa/check-circle-solid",size:e})}function Ar({size:e}){return t.jsx(Mn,{colour:"grey",name:"fa/circle-solid",size:e})}function _r({size:e}){return t.jsx(Mn,{colour:"primary",name:"fa/circle-solid",size:e})}function Lr({size:e}){return t.jsx(Ln,{size:{xsmall:12,small:14,medium:16,large:22,xlarge:24}[e],strokeWidth:40})}function Dr({size:e}){return t.jsx(Mn,{colour:"warning",name:"fa/circle-exclamation-solid",size:e})}function Hr({size:e}){return t.jsx(Mn,{colour:"danger",name:"fa/circle-exclamation-solid",size:e})}const Nr=Zt.div`
|
|
392
586
|
flex-shrink: 0;
|
|
393
587
|
display: flex;
|
|
394
588
|
align-items: center;
|
|
@@ -409,7 +603,7 @@
|
|
|
409
603
|
*
|
|
410
604
|
* @license MIT
|
|
411
605
|
*/
|
|
412
|
-
function Ar(e,t){return"function"==typeof e?e(t):e}function _r(e,t){return n=>{t.setState((t=>({...t,[e]:Ar(n,t[e])})))}}function Lr(e){return e instanceof Function}function Dr(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 Hr(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 Tr="debugHeaders";function Nr(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 $r={createTable:e=>{e.getHeaderGroups=Dr((()=>[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 Gr(t,[...l,...c,...s],e)}),Hr(e.options,Tr,"getHeaderGroups")),e.getCenterHeaderGroups=Dr((()=>[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)))),Gr(t,n,e,"center"))),Hr(e.options,Tr,"getCenterHeaderGroups")),e.getLeftHeaderGroups=Dr((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;return Gr(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"left")}),Hr(e.options,Tr,"getLeftHeaderGroups")),e.getRightHeaderGroups=Dr((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;return Gr(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"right")}),Hr(e.options,Tr,"getRightHeaderGroups")),e.getFooterGroups=Dr((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Hr(e.options,Tr,"getFooterGroups")),e.getLeftFooterGroups=Dr((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Hr(e.options,Tr,"getLeftFooterGroups")),e.getCenterFooterGroups=Dr((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Hr(e.options,Tr,"getCenterFooterGroups")),e.getRightFooterGroups=Dr((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Hr(e.options,Tr,"getRightFooterGroups")),e.getFlatHeaders=Dr((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hr(e.options,Tr,"getFlatHeaders")),e.getLeftFlatHeaders=Dr((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hr(e.options,Tr,"getLeftFlatHeaders")),e.getCenterFlatHeaders=Dr((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hr(e.options,Tr,"getCenterFlatHeaders")),e.getRightFlatHeaders=Dr((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hr(e.options,Tr,"getRightFlatHeaders")),e.getCenterLeafHeaders=Dr((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Hr(e.options,Tr,"getCenterLeafHeaders")),e.getLeftLeafHeaders=Dr((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Hr(e.options,Tr,"getLeftLeafHeaders")),e.getRightLeafHeaders=Dr((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Hr(e.options,Tr,"getRightLeafHeaders")),e.getLeafHeaders=Dr((()=>[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()}),Hr(e.options,Tr,"getLeafHeaders"))}};function Gr(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=Nr(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)=>Nr(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 Br=(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:Dr((()=>[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:Dr((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),Hr(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)))),Hr(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:Dr((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Hr(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},qr={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()}}},Wr=(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))};Wr.autoRemove=e=>ni(e);const Ur=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};Ur.autoRemove=e=>ni(e);const Yr=(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())};Yr.autoRemove=e=>ni(e);const Xr=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};Xr.autoRemove=e=>ni(e)||!(null!=e&&e.length);const Kr=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));Kr.autoRemove=e=>ni(e)||!(null!=e&&e.length);const Jr=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));Jr.autoRemove=e=>ni(e)||!(null!=e&&e.length);const Zr=(e,t,n)=>e.getValue(t)===n;Zr.autoRemove=e=>ni(e);const Qr=(e,t,n)=>e.getValue(t)==n;Qr.autoRemove=e=>ni(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=>ni(e)||ni(e[0])&&ni(e[1]);const ti={includesString:Wr,includesStringSensitive:Ur,equalsString:Yr,arrIncludes:Xr,arrIncludesAll:Kr,arrIncludesSome:Jr,equals:Zr,weakEquals:Qr,inNumberRange:ei};function ni(e){return null==e||""===e}const oi={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:_r("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?ti.includesString:"number"==typeof o?ti.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?ti.equals:Array.isArray(o)?ti.arrIncludes:ti.weakEquals},e.getFilterFn=()=>{var n,o;return Lr(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:ti[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=Ar(n,r?r.value:void 0);var a;if(ri(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=Ar(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(ri(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 ri(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},ai={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:_r("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 Lr(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 li={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:_r("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Dr((e=>[fi(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Hr(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=fi(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=fi(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=Dr((()=>[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)}),Hr(e.options,"debugTable","_getOrderColumnsFn"))}},si={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:_r("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=Dr((()=>[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)))}),Hr(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=Dr((()=>[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"})))),Hr(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Dr((()=>[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"})))),Hr(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=Dr((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Hr(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=Dr((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Hr(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=Dr((()=>[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)))}),Hr(e.options,"debugColumns","getCenterLeafColumns"))}},ci={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},ui={getDefaultColumnDef:()=>ci,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:_r("columnSizing",e),onColumnSizingInfoChange:_r("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:ci.minSize,null!=(o=null!=i?i:e.columnDef.size)?o:ci.size),null!=(r=e.columnDef.maxSize)?r:ci.maxSize)},e.getStart=Dr((e=>[e,fi(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Hr(t.options,"debugColumns","getStart")),e.getAfter=Dr((e=>[e,fi(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Hr(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(),gi(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=gi(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),g=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,f={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",f.moveHandler),null==p||p.removeEventListener("mouseup",f.upHandler),g(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()),g(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof di)return di;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 di=e,di}()&&{passive:!1};gi(i)?(null==p||p.addEventListener("touchmove",h.moveHandler,m),null==p||p.addEventListener("touchend",h.upHandler,m)):(null==p||p.addEventListener("mousemove",f.moveHandler,m),null==p||p.addEventListener("mouseup",f.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 di=null;function gi(e){return"touchstart"===e.type}const pi={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:_r("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=Dr((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Hr(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=Dr((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Hr(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>Dr((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Hr(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 fi(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:_r("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=()=>ti.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return Lr(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:ti[o]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},mi={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:_r("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=Dr((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})))}),Hr(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Dr((()=>[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)))}),Hr(e.options,"debugRows","getCenterRows"))}},vi={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:_r("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=>{wi(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Dr((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?bi(e,n):{rows:[],flatRows:[],rowsById:{}}),Hr(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=Dr((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?bi(e,n):{rows:[],flatRows:[],rowsById:{}}),Hr(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=Dr((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?bi(e,n):{rows:[],flatRows:[],rowsById:{}}),Hr(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 wi(l,e.id,n,null==(a=null==o?void 0:o.selectChildren)||a,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return xi(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)}}}},wi=(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=>wi(e,t.id,n,o,r)))};function bi(e,t){const n=e.getState().rowSelection,o=[],r={},i=function(e,t){return e.map((e=>{var t;const a=xi(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 xi(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()&&(xi(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 Si=/([0-9]+)/gm;function Ci(e,t){return e===t?0:e>t?1:-1}function Ri(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(Si).filter(Boolean),o=t.split(Si).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)=>zi(Ri(e.getValue(n)).toLowerCase(),Ri(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>zi(Ri(e.getValue(n)),Ri(t.getValue(n))),text:(e,t,n)=>Ci(Ri(e.getValue(n)).toLowerCase(),Ri(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Ci(Ri(e.getValue(n)),Ri(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)=>Ci(e.getValue(n),t.getValue(n))},Mi={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:_r("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(Si).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 Lr(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 g;(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!=(g=t.options.maxMultiSortColCount)?g: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())}},ji=[$r,pi,li,si,qr,oi,{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,Mi,ai,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:_r("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:_r("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=>Ar(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=Ar(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,Ar(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=Ar(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=Dr((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Hr(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}}},mi,vi,ui];function Pi(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...ji,...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=Ar(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:Dr((()=>[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}}),Hr(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:Dr((()=>[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:Dr((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Hr(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:Dr((()=>[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]}),Hr(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)}),Hr(e,"debugColumns","getAllColumns")),getAllFlatColumns:Dr((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Hr(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:Dr((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Hr(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:Dr((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),Hr(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
|
+
function Tr(e,t){return"function"==typeof e?e(t):e}function $r(e,t){return n=>{t.setState((t=>({...t,[e]:Tr(n,t[e])})))}}function Gr(e){return e instanceof Function}function Br(e,t,n){let o,r=[];return i=>{let l;n.key&&n.debug&&(l=Date.now());const a=e(i);if(!(a.length!==r.length||a.some(((e,t)=>r[t]!==e))))return o;let s;if(r=a,n.key&&n.debug&&(s=Date.now()),o=t(...a),null==n||null==n.onChange||n.onChange(o),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-l))/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 qr(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 Wr="debugHeaders";function Ur(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 Xr={createTable:e=>{e.getHeaderGroups=Br((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>{var i,l;const a=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],s=null!=(l=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?l:[],c=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id))));return Yr(t,[...a,...c,...s],e)}),qr(e.options,Wr,"getHeaderGroups")),e.getCenterHeaderGroups=Br((()=>[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)))),Yr(t,n,e,"center"))),qr(e.options,Wr,"getCenterHeaderGroups")),e.getLeftHeaderGroups=Br((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;return Yr(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"left")}),qr(e.options,Wr,"getLeftHeaderGroups")),e.getRightHeaderGroups=Br((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;return Yr(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"right")}),qr(e.options,Wr,"getRightHeaderGroups")),e.getFooterGroups=Br((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),qr(e.options,Wr,"getFooterGroups")),e.getLeftFooterGroups=Br((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),qr(e.options,Wr,"getLeftFooterGroups")),e.getCenterFooterGroups=Br((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),qr(e.options,Wr,"getCenterFooterGroups")),e.getRightFooterGroups=Br((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),qr(e.options,Wr,"getRightFooterGroups")),e.getFlatHeaders=Br((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),qr(e.options,Wr,"getFlatHeaders")),e.getLeftFlatHeaders=Br((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),qr(e.options,Wr,"getLeftFlatHeaders")),e.getCenterFlatHeaders=Br((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),qr(e.options,Wr,"getCenterFlatHeaders")),e.getRightFlatHeaders=Br((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),qr(e.options,Wr,"getRightFlatHeaders")),e.getCenterLeafHeaders=Br((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),qr(e.options,Wr,"getCenterLeafHeaders")),e.getLeftLeafHeaders=Br((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),qr(e.options,Wr,"getLeftLeafHeaders")),e.getRightLeafHeaders=Br((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),qr(e.options,Wr,"getRightLeafHeaders")),e.getLeafHeaders=Br((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var o,r,i,l,a,s;return[...null!=(o=null==(r=e[0])?void 0:r.headers)?o:[],...null!=(i=null==(l=t[0])?void 0:l.headers)?i:[],...null!=(a=null==(s=n[0])?void 0:s.headers)?a:[]].map((e=>e.getLeafHeaders())).flat()}),qr(e.options,Wr,"getLeafHeaders"))}};function Yr(e,t,n,o){var r,i;let l=0;const a=function(e,t){void 0===t&&(t=1),l=Math.max(l,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&a(e.columns,t+1)}),0)};a(e);let s=[];const c=(e,t)=>{const r={depth:t,id:[o,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach((e=>{const l=[...i].reverse()[0];let a,s=!1;if(e.column.depth===r.depth&&e.column.parent?a=e.column.parent:(a=e.column,s=!0),l&&(null==l?void 0:l.column)===a)l.subHeaders.push(e);else{const r=Ur(n,a,{id:[o,t,a.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${i.filter((e=>e.column===a)).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)=>Ur(n,e,{depth:l,index:t})));c(u,l-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 Kr=(e,t,n,o,r,i,l)=>{let a={id:t,index:o,original:n,depth:r,parentId:l,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(a._valuesCache.hasOwnProperty(t))return a._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(a._valuesCache[t]=n.accessorFn(a.original,o),a._valuesCache[t]):void 0},getUniqueValues:t=>{if(a._uniqueValuesCache.hasOwnProperty(t))return a._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(a._uniqueValuesCache[t]=n.columnDef.getUniqueValues(a.original,o),a._uniqueValuesCache[t]):(a._uniqueValuesCache[t]=[a.getValue(t)],a._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=a.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}(a.subRows,(e=>e.subRows)),getParentRow:()=>a.parentId?e.getRow(a.parentId,!0):void 0,getParentRows:()=>{let e=[],t=a;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:Br((()=>[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:Br((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),qr(e.options,"debugCells","cell.getContext"))};return e._features.forEach((o=>{null==o.createCell||o.createCell(r,n,t,e)}),{}),r}(e,a,t,t.id)))),qr(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:Br((()=>[a.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),qr(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(a,e)}return a},Jr={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()}}},Zr=(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))};Zr.autoRemove=e=>si(e);const Qr=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};Qr.autoRemove=e=>si(e);const ei=(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())};ei.autoRemove=e=>si(e);const ti=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};ti.autoRemove=e=>si(e)||!(null!=e&&e.length);const ni=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));ni.autoRemove=e=>si(e)||!(null!=e&&e.length);const oi=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));oi.autoRemove=e=>si(e)||!(null!=e&&e.length);const ri=(e,t,n)=>e.getValue(t)===n;ri.autoRemove=e=>si(e);const ii=(e,t,n)=>e.getValue(t)==n;ii.autoRemove=e=>si(e);const li=(e,t,n)=>{let[o,r]=n;const i=e.getValue(t);return i>=o&&i<=r};li.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,l=null===n||Number.isNaN(r)?1/0:r;if(i>l){const e=i;i=l,l=e}return[i,l]},li.autoRemove=e=>si(e)||si(e[0])&&si(e[1]);const ai={includesString:Zr,includesStringSensitive:Qr,equalsString:ei,arrIncludes:ti,arrIncludesAll:ni,arrIncludesSome:oi,equals:ri,weakEquals:ii,inNumberRange:li};function si(e){return null==e||""===e}const ci={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:$r("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?ai.includesString:"number"==typeof o?ai.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?ai.equals:Array.isArray(o)?ai.arrIncludes:ai.weakEquals},e.getFilterFn=()=>{var n,o;return Gr(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:ai[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=Tr(n,r?r.value:void 0);var l;if(ui(o,i,e))return null!=(l=null==t?void 0:t.filter((t=>t.id!==e.id)))?l:[];const a={id:e.id,value:i};var s;return r?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?a:t)))?s:[]:null!=t&&t.length?[...t,a]:[a]}))}},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=Tr(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(ui(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 ui(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const di={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},gi={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:$r("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?di.sum:"[object Date]"===Object.prototype.toString.call(o)?di.extent:void 0},e.getAggregationFn=()=>{var n,o;if(!e)throw new Error;return Gr(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:di[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 pi={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:$r("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Br((e=>[xi(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),qr(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=xi(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=xi(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=Br((()=>[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)}),qr(e.options,"debugTable","_getOrderColumnsFn"))}},fi={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:$r("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,l,a,s;return"right"===n?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter((e=>!(null!=o&&o.includes(e)))),right:[...(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=o&&o.includes(e)))),...o]}:"left"===n?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).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))),l=n.some((e=>null==r?void 0:r.includes(e)));return i?"left":!!l&&"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=Br((()=>[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)))}),qr(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=Br((()=>[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"})))),qr(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Br((()=>[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"})))),qr(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=Br((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),qr(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=Br((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),qr(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=Br((()=>[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)))}),qr(e.options,"debugColumns","getCenterLeafColumns"))}},hi={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},mi={getDefaultColumnDef:()=>hi,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:$r("columnSizing",e),onColumnSizingInfoChange:$r("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:hi.minSize,null!=(o=null!=i?i:e.columnDef.size)?o:hi.size),null!=(r=e.columnDef.maxSize)?r:hi.maxSize)},e.getStart=Br((e=>[e,xi(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),qr(t.options,"debugColumns","getStart")),e.getAfter=Br((e=>[e,xi(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),qr(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(),bi(i)&&i.touches&&i.touches.length>1)return;const l=e.getSize(),a=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[o.id,o.getSize()]],s=bi(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,l=(n-(null!=(o=null==e?void 0:e.startOffset)?o:0))*i,a=Math.max(l/(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*a,0))/100})),{...e,deltaOffset:l,deltaPercentage:a}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),g=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,f={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",f.moveHandler),null==p||p.removeEventListener("mouseup",f.upHandler),g(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()),g(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof vi)return vi;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 vi=e,vi}()&&{passive:!1};bi(i)?(null==p||p.addEventListener("touchmove",h.moveHandler,m),null==p||p.addEventListener("touchend",h.upHandler,m)):(null==p||p.addEventListener("mousemove",f.moveHandler,m),null==p||p.addEventListener("mouseup",f.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:l,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,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 vi=null;function bi(e){return"touchstart"===e.type}const wi={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:$r("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=Br((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),qr(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=Br((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),qr(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>Br((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),qr(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 xi(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const yi={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:$r("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=()=>ai.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return Gr(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:ai[o]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Si={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:$r("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,o,r)=>{const i=o?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],l=r?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],a=new Set([...l,e.id,...i]);t.setRowPinning((e=>{var t,o,r,i,l,s;return"bottom"===n?{top:(null!=(r=null==e?void 0:e.top)?r:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)]}:"top"===n?{top:[...(null!=(l=null==e?void 0:e.top)?l:[]).filter((e=>!(null!=a&&a.has(e)))),...Array.from(a)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=a&&a.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=a&&a.has(e)))),bottom:(null!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=a&&a.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))),l=n.some((e=>null==r?void 0:r.includes(e)));return i?"top":!!l&&"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=Br((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})))}),qr(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Br((()=>[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)))}),qr(e.options,"debugRows","getCenterRows"))}},Ci={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:$r("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=>{Ri(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Br((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?ki(e,n):{rows:[],flatRows:[],rowsById:{}}),qr(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=Br((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?ki(e,n):{rows:[],flatRows:[],rowsById:{}}),qr(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=Br((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?ki(e,n):{rows:[],flatRows:[],rowsById:{}}),qr(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 l;if(n=void 0!==n?n:!r,e.getCanSelect()&&r===n)return i;const a={...i};return Ri(a,e.id,n,null==(l=null==o?void 0:o.selectChildren)||l,t),a}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return zi(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Mi(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Mi(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)}}}},Ri=(e,t,n,o,r)=>{var i;const l=r.getRow(t,!0);n?(l.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),l.getCanSelect()&&(e[t]=!0)):delete e[t],o&&null!=(i=l.subRows)&&i.length&&l.getCanSelectSubRows()&&l.subRows.forEach((t=>Ri(e,t.id,n,o,r)))};function ki(e,t){const n=e.getState().rowSelection,o=[],r={},i=function(e,t){return e.map((e=>{var t;const l=zi(e,n);if(l&&(o.push(e),r[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),l)return e})).filter(Boolean)};return{rows:i(t.rows),flatRows:o,rowsById:r}}function zi(e,t){var n;return null!=(n=t[e.id])&&n}function Mi(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()&&(zi(e,t)?i=!0:r=!1),e.subRows&&e.subRows.length)){const n=Mi(e,t);"all"===n?i=!0:"some"===n?(i=!0,r=!1):r=!1}})),r?"all":!!i&&"some"}const ji=/([0-9]+)/gm;function Pi(e,t){return e===t?0:e>t?1:-1}function Vi(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Ei(e,t){const n=e.split(ji).filter(Boolean),o=t.split(ji).filter(Boolean);for(;n.length&&o.length;){const e=n.shift(),t=o.shift(),r=parseInt(e,10),i=parseInt(t,10),l=[r,i].sort();if(isNaN(l[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(l[1]))return isNaN(r)?-1:1;if(r>i)return 1;if(i>r)return-1}}return n.length-o.length}const Ii={alphanumeric:(e,t,n)=>Ei(Vi(e.getValue(n)).toLowerCase(),Vi(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Ei(Vi(e.getValue(n)),Vi(t.getValue(n))),text:(e,t,n)=>Pi(Vi(e.getValue(n)).toLowerCase(),Vi(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Pi(Vi(e.getValue(n)),Vi(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)=>Pi(e.getValue(n),t.getValue(n))},Oi={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:$r("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 Ii.datetime;if("string"==typeof n&&(o=!0,n.split(ji).length>1))return Ii.alphanumeric}return o?Ii.text:Ii.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 Gr(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:Ii[e.columnDef.sortingFn]},e.toggleSorting=(n,o)=>{const r=e.getNextSortingOrder(),i=null!=n;t.setSorting((l=>{const a=null==l?void 0:l.find((t=>t.id===e.id)),s=null==l?void 0:l.findIndex((t=>t.id===e.id));let c,u=[],d=i?n:"desc"===r;var g;(c=null!=l&&l.length&&e.getCanMultiSort()&&o?a?"toggle":"add":null!=l&&l.length&&s!==l.length-1?"replace":a?"toggle":"replace","toggle"===c&&(i||r||(c="remove")),"add"===c)?(u=[...l,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(g=t.options.maxMultiSortColCount)?g:Number.MAX_SAFE_INTEGER))):u="toggle"===c?l.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?l.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(),l=e.getIsSorted();return l?!!(l===i||null!=(o=t.options.enableSortingRemoval)&&!o||n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===l?"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())}},Fi=[Xr,wi,pi,fi,Jr,ci,{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()}}},yi,Oi,gi,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:$r("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 l={};if(!0===o?Object.keys(t.getRowModel().rowsById).forEach((e=>{l[e]=!0})):l=o,n=null!=(r=n)?r:!i,!i&&n)return{...l,[e.id]:!0};if(i&&!n){const{[e.id]:t,...n}=l;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:$r("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=>Tr(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=Tr(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,Tr(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=Tr(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=Br((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),qr(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}}},Si,Ci,mi];function Ai(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...Fi,...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 l={...null!=(n=e.initialState)?n:{}};r._features.forEach((e=>{var t;l=null!=(t=null==e.getInitialState?void 0:e.getInitialState(l))?t:l}));const a=[];let s=!1;const c={_features:o,options:{...i,...e},initialState:l,_queue:e=>{a.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;a.length;)a.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{r.setState(r.initialState)},setOptions:e=>{const t=Tr(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:Br((()=>[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}}),qr(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:Br((()=>[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 l={...e._getDefaultColumnDef(),...t},a=l.accessorKey;let s,c=null!=(r=null!=(i=l.id)?i:a?a.replace(".","_"):void 0)?r:"string"==typeof l.header?l.header:void 0;if(l.accessorFn?s=l.accessorFn:a&&(s=a.includes(".")?e=>{let t=e;for(const e of a.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 "${a}" returned undefined.`)}return t}:e=>e[l.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(l.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:l,columns:[],getFlatColumns:Br((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),qr(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:Br((()=>[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]}),qr(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(r,e,o,n),l=e;return i.columns=l.columns?t(l.columns,i,o+1):[],i}))};return t(e)}),qr(e,"debugColumns","getAllColumns")),getAllFlatColumns:Br((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),qr(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:Br((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),qr(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:Br((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),qr(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}
|
|
413
607
|
/**
|
|
414
608
|
* react-table
|
|
415
609
|
*
|
|
@@ -420,7 +614,7 @@ function Ar(e,t){return"function"==typeof e?e(t):e}function _r(e,t){return n=>{t
|
|
|
420
614
|
*
|
|
421
615
|
* @license MIT
|
|
422
616
|
*/
|
|
423
|
-
function
|
|
617
|
+
function _i(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?r.createElement(e,t):e:null;var n}const Li=Zt.table`
|
|
424
618
|
width: 100%;
|
|
425
619
|
border-collapse: collapse;
|
|
426
620
|
position: relative;
|
|
@@ -496,7 +690,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
496
690
|
.heading {
|
|
497
691
|
font-size: var(--font-size--medium);
|
|
498
692
|
}
|
|
499
|
-
`,
|
|
693
|
+
`,Di=Zt.div`
|
|
500
694
|
display: flex;
|
|
501
695
|
justify-content: space-between;
|
|
502
696
|
align-items: center;
|
|
@@ -510,7 +704,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
510
704
|
align-items: center;
|
|
511
705
|
gap: var(--spacing--small);
|
|
512
706
|
}
|
|
513
|
-
`,
|
|
707
|
+
`,Hi=Zt.div`
|
|
514
708
|
display: flex;
|
|
515
709
|
gap: var(--spacing--medium);
|
|
516
710
|
|
|
@@ -542,7 +736,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
542
736
|
pointer-events: none;
|
|
543
737
|
}
|
|
544
738
|
}
|
|
545
|
-
`;const
|
|
739
|
+
`;const Ni=Zt.div`
|
|
546
740
|
background-color: transparent;
|
|
547
741
|
border-bottom: 2px solid transparent;
|
|
548
742
|
color: var(--color--grey-dark);
|
|
@@ -550,13 +744,13 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
550
744
|
transition: border-bottom 0.2s ease-in-out;
|
|
551
745
|
margin-top: var(--spacing--medium);
|
|
552
746
|
margin-bottom: var(--spacing--medium);
|
|
553
|
-
`,
|
|
747
|
+
`,Ti=Zt.div`
|
|
554
748
|
display: flex;
|
|
555
749
|
border-bottom: 3px solid var(--color--grey-borders);
|
|
556
750
|
@media print {
|
|
557
751
|
display: none;
|
|
558
752
|
}
|
|
559
|
-
|
|
753
|
+
`,$i=Zt.div`
|
|
560
754
|
display: flex;
|
|
561
755
|
width: 100%;
|
|
562
756
|
overflow: auto;
|
|
@@ -565,7 +759,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
565
759
|
&::-webkit-scrollbar {
|
|
566
760
|
display: none;
|
|
567
761
|
}
|
|
568
|
-
`,
|
|
762
|
+
`,Gi=Zt.button`
|
|
569
763
|
position: relative;
|
|
570
764
|
background-color: transparent;
|
|
571
765
|
border: none;
|
|
@@ -596,7 +790,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
596
790
|
@media print {
|
|
597
791
|
display: none;
|
|
598
792
|
}
|
|
599
|
-
`,
|
|
793
|
+
`,Bi=Zt.button`
|
|
600
794
|
background: transparent;
|
|
601
795
|
border: 0;
|
|
602
796
|
cursor: pointer;
|
|
@@ -619,7 +813,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
619
813
|
&.left-arrow[disabled] {
|
|
620
814
|
display: none;
|
|
621
815
|
}
|
|
622
|
-
`,
|
|
816
|
+
`,qi=Zt.div`
|
|
623
817
|
margin-top: var(--spacing--medium);
|
|
624
818
|
background-color: var(--color--white);
|
|
625
819
|
padding: var(--spacing--large);
|
|
@@ -633,7 +827,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
633
827
|
border-radius: 0;
|
|
634
828
|
box-shadow: none;
|
|
635
829
|
}
|
|
636
|
-
`,
|
|
830
|
+
`,Wi=Zt.section`
|
|
637
831
|
display: ${({$show:e})=>e?"flex":"none"};
|
|
638
832
|
flex-direction: column;
|
|
639
833
|
|
|
@@ -645,46 +839,46 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
645
839
|
page-break-after: avoid;
|
|
646
840
|
}
|
|
647
841
|
}
|
|
648
|
-
`;const
|
|
842
|
+
`;const Ui={small:Yt`
|
|
649
843
|
font-size: var(--font-size--small);
|
|
650
844
|
line-height: var(--line-height--small);
|
|
651
|
-
`,medium:
|
|
845
|
+
`,medium:Yt`
|
|
652
846
|
font-size: var(--font-size--medium);
|
|
653
847
|
line-height: var(--line-height--medium);
|
|
654
|
-
`,large:
|
|
848
|
+
`,large:Yt`
|
|
655
849
|
font-size: var(--font-size--large);
|
|
656
850
|
line-height: var(--line-height--large);
|
|
657
|
-
`}
|
|
851
|
+
`},Xi=Zt.div`
|
|
658
852
|
font-weight: var(--font-weight--bold);
|
|
659
853
|
color: var(--color--grey-dark);
|
|
660
854
|
margin-bottom: var(--spacing--xsmall);
|
|
661
|
-
${({$size:e})=>
|
|
662
|
-
`,
|
|
855
|
+
${({$size:e})=>Ui[e||"medium"]}
|
|
856
|
+
`,Yi=Zt.div`
|
|
663
857
|
font-weight: 400;
|
|
664
|
-
${({$size:e})=>
|
|
665
|
-
`,
|
|
858
|
+
${({$size:e})=>Ui[e||"medium"]}
|
|
859
|
+
`,Ki=Zt.div`
|
|
666
860
|
grid-gap: var(--spacing--medium);
|
|
667
|
-
${({$inline:e})=>e?
|
|
861
|
+
${({$inline:e})=>e?Yt`
|
|
668
862
|
display: grid;
|
|
669
863
|
grid-template-columns: 1fr 3fr;
|
|
670
864
|
@media (max-width: 768px) {
|
|
671
865
|
grid-template-columns: 1fr;
|
|
672
866
|
}
|
|
673
867
|
`:""}
|
|
674
|
-
`;const
|
|
868
|
+
`;const Ji=(function(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=ot(Yt.apply(void 0,a([e],t,!1))),r=_e(o);return new Ft(r,o)})`
|
|
675
869
|
0% {
|
|
676
870
|
background-position: 0% 50%;
|
|
677
871
|
}
|
|
678
872
|
100% {
|
|
679
873
|
background-position: 200% 50%;
|
|
680
874
|
}
|
|
681
|
-
`,
|
|
875
|
+
`,Zi=Zt.div`
|
|
682
876
|
position: relative;
|
|
683
877
|
width: 100%;
|
|
684
878
|
height: 6px;
|
|
685
879
|
background-color: #d7d7d7;
|
|
686
880
|
border-radius: 3px;
|
|
687
|
-
`,
|
|
881
|
+
`,Qi=Zt.div`
|
|
688
882
|
position: absolute;
|
|
689
883
|
left: 0;
|
|
690
884
|
top: 0;
|
|
@@ -697,15 +891,15 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
697
891
|
background-size: 200% 200%;
|
|
698
892
|
border-radius: 3px;
|
|
699
893
|
transition: width 1s ease;
|
|
700
|
-
animation: ${
|
|
894
|
+
animation: ${Ji} 3s ease infinite;
|
|
701
895
|
transform: rotate(180deg);
|
|
702
|
-
`;
|
|
896
|
+
`;Zt.div`
|
|
703
897
|
position: fixed;
|
|
704
898
|
bottom: 2rem;
|
|
705
899
|
width: 100%;
|
|
706
900
|
z-index: 2000;
|
|
707
901
|
pointer-events: none;
|
|
708
|
-
`,
|
|
902
|
+
`,Zt.div`
|
|
709
903
|
position: absolute;
|
|
710
904
|
top: 0;
|
|
711
905
|
width: 100%;
|
|
@@ -715,7 +909,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
715
909
|
align-items: center;
|
|
716
910
|
margin-top: var(--spacing--small);
|
|
717
911
|
transition: top 0.1s ease;
|
|
718
|
-
`;const
|
|
912
|
+
`;const el=Zt.div`
|
|
719
913
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
720
914
|
text-align: center;
|
|
721
915
|
border-radius: var(--border-radius--medium);
|
|
@@ -730,31 +924,31 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
730
924
|
margin-right: var(--spacing--small);
|
|
731
925
|
}
|
|
732
926
|
|
|
733
|
-
${e=>"success"===e.level?
|
|
927
|
+
${e=>"success"===e.level?Yt`
|
|
734
928
|
background-color: var(--color--green-light);
|
|
735
929
|
color: var(--color--dark-blue);
|
|
736
930
|
|
|
737
931
|
svg {
|
|
738
932
|
color: var(--color--dark-blue);
|
|
739
933
|
}
|
|
740
|
-
`:"warning"===e.level?
|
|
934
|
+
`:"warning"===e.level?Yt`
|
|
741
935
|
background-color: var(--color--amber-tint);
|
|
742
936
|
color: var(--color--dark-blue);
|
|
743
937
|
|
|
744
938
|
svg {
|
|
745
939
|
color: var(--color--amber);
|
|
746
940
|
}
|
|
747
|
-
`:"error"===e.level?
|
|
941
|
+
`:"error"===e.level?Yt`
|
|
748
942
|
background-color: #ffdadd;
|
|
749
943
|
color: var(--color--dark-blue);
|
|
750
944
|
|
|
751
945
|
svg {
|
|
752
946
|
color: var(--color--red-dark);
|
|
753
947
|
}
|
|
754
|
-
`:
|
|
948
|
+
`:Yt``}
|
|
755
949
|
|
|
756
950
|
// Fadeout animation
|
|
757
|
-
${({noFade:e})=>e?
|
|
951
|
+
${({noFade:e})=>e?Yt``:Yt`
|
|
758
952
|
animation: 5s ease 0s normal forwards 1 fadeout;
|
|
759
953
|
@keyframes fadeout {
|
|
760
954
|
0% {
|
|
@@ -768,7 +962,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
768
962
|
}
|
|
769
963
|
}
|
|
770
964
|
`}
|
|
771
|
-
`;function Xi(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[e.jsx("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),e.jsx("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),e.jsx("defs",{children:e.jsx("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 Ki(){return e.jsx(Xi,{})}const Ji=Xt.details`
|
|
965
|
+
`;function tl(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[t.jsx("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),t.jsx("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),t.jsx("defs",{children:t.jsx("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 nl(){return t.jsx(tl,{})}const ol=Zt.details`
|
|
772
966
|
position: relative;
|
|
773
967
|
margin-left: 10px;
|
|
774
968
|
|
|
@@ -776,7 +970,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
776
970
|
background-color: rgb(255, 255, 255, 0.1);
|
|
777
971
|
opacity: 1;
|
|
778
972
|
}
|
|
779
|
-
`,
|
|
973
|
+
`,rl=Zt.summary`
|
|
780
974
|
list-style: none;
|
|
781
975
|
background-color: rgb(255, 255, 255, 0);
|
|
782
976
|
border-radius: var(--border-radius--medium);
|
|
@@ -808,7 +1002,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
808
1002
|
margin-right: 5px;
|
|
809
1003
|
flex-shrink: 0;
|
|
810
1004
|
}
|
|
811
|
-
`,
|
|
1005
|
+
`,il=Zt.div`
|
|
812
1006
|
position: absolute;
|
|
813
1007
|
top: calc(100% + 5px);
|
|
814
1008
|
left: 0;
|
|
@@ -877,7 +1071,7 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
877
1071
|
}
|
|
878
1072
|
}
|
|
879
1073
|
}
|
|
880
|
-
`;function
|
|
1074
|
+
`;function ll({children:n,toggle:o,rightAlign:r}){const[i,l]=e.useState(!1),a=e.useRef(null),s=e.useRef(null);e.useEffect((()=>{i&&setTimeout((()=>a.current?.focus()),1)}),[i]);const c=e=>{s.current&&e.target instanceof Node&&!s.current.contains(e.target)&&l(!1)};return e.useEffect((()=>(document.addEventListener("click",c,!0),()=>{document.removeEventListener("click",c,!0)})),[]),t.jsx("div",{ref:s,children:t.jsxs(ol,{open:i,children:[t.jsx(rl,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),l(!i)},"aria-expanded":i,children:o}),t.jsx(il,{className:r?"right":"",ref:a,role:"menu",children:n})]})})}const al=Zt.header`
|
|
881
1075
|
display: flex;
|
|
882
1076
|
flex-flow: row;
|
|
883
1077
|
align-items: center;
|
|
@@ -890,29 +1084,29 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
890
1084
|
@media print {
|
|
891
1085
|
display: none;
|
|
892
1086
|
}
|
|
893
|
-
`,
|
|
1087
|
+
`,sl=Zt.a`
|
|
894
1088
|
flex-shrink: 0;
|
|
895
1089
|
display: inline-flex;
|
|
896
|
-
`,
|
|
1090
|
+
`,cl=Zt.div`
|
|
897
1091
|
margin-left: auto;
|
|
898
1092
|
display: flex;
|
|
899
1093
|
flex-flow: row;
|
|
900
1094
|
align-items: center;
|
|
901
1095
|
height: 100%;
|
|
902
|
-
`,
|
|
1096
|
+
`,ul=Zt.div``,dl=Zt.div`
|
|
903
1097
|
display: flex;
|
|
904
1098
|
align-items: center;
|
|
905
|
-
`;function
|
|
1099
|
+
`;function gl({currentApp:e,apps:n}){const o=t.jsx("svg",{viewBox:"0 0 32 32",children:t.jsxs("g",{children:[t.jsx("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"}),t.jsx("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"}),t.jsx("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"}),t.jsx("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"}),t.jsx("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"}),t.jsx("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"}),t.jsx("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"}),t.jsx("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"}),t.jsx("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 t.jsx(ll,{toggle:t.jsxs(t.Fragment,{children:[o,e&&t.jsx(dl,{children:e})]}),children:n})}const pl=Zt.div`
|
|
906
1100
|
height: 100%;
|
|
907
1101
|
position: absolute;
|
|
908
1102
|
width: 100%;
|
|
909
1103
|
top: 0;
|
|
910
1104
|
left: 0;
|
|
911
|
-
`,
|
|
1105
|
+
`,fl=Zt.main`
|
|
912
1106
|
width: 100%;
|
|
913
1107
|
height: calc(100% - 136px); // TODO: calculate the height of the header
|
|
914
1108
|
position: relative;
|
|
915
|
-
`;const
|
|
1109
|
+
`;const hl=Zt.div`
|
|
916
1110
|
display: flex;
|
|
917
1111
|
flex-flow: wrap;
|
|
918
1112
|
justify-content: space-between;
|
|
@@ -921,12 +1115,12 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
921
1115
|
@media print {
|
|
922
1116
|
display: none;
|
|
923
1117
|
}
|
|
924
|
-
`,
|
|
1118
|
+
`,ml=Zt.ul`
|
|
925
1119
|
display: flex;
|
|
926
1120
|
flex-flow: row;
|
|
927
1121
|
width: 100%;
|
|
928
1122
|
flex-wrap: wrap;
|
|
929
|
-
`,
|
|
1123
|
+
`,vl=Zt.li`
|
|
930
1124
|
display: inline-block;
|
|
931
1125
|
color: var(--color--grey);
|
|
932
1126
|
overflow: hidden;
|
|
@@ -945,5 +1139,5 @@ function Vi(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
945
1139
|
font-weight: 600;
|
|
946
1140
|
}
|
|
947
1141
|
}
|
|
948
|
-
`;function
|
|
1142
|
+
`;function bl({children:e}){return t.jsx(hl,{children:t.jsx(ml,{children:e})})}bl.Item=vl,exports.Accordion=function({title:n,children:o,open:r=!1}){const[i,l]=e.useState(r);return t.jsxs(jn,{children:[t.jsx(Pn,{children:t.jsx(on,{as:"h3",children:t.jsxs(En,{type:"button","aria-expanded":i,onClick:()=>l(!i),"aria-controls":"accordion-content",children:[n,t.jsxs("span",{children:[i?t.jsx(Mn,{name:"fa/chevron-up-solid"}):t.jsx(Mn,{name:"fa/chevron-down-solid"})," "]})]})})}),t.jsx(Vn,{"aria-labelledby":"accordion-button",hidden:!i,role:"region",children:o})]})},exports.AppBar=function({apps:e,currentApp:n,leftSide:o,rightSide:r}){return t.jsxs(al,{children:[t.jsx(sl,{href:"/",children:t.jsx(nl,{})}),t.jsx(gl,{apps:e,currentApp:n}),t.jsx(ul,{children:o}),t.jsx(cl,{children:r})]})},exports.Badge=function({children:e,...n}){return t.jsx(An,{...n,children:e})},exports.Breadcrumb=bl,exports.Button=Jn,exports.Divider=_n,exports.DropDownMenu=ll,exports.GlobalStyles=tn,exports.Heading=on,exports.Icon=Mn,exports.Layout=function({children:e,header:n,footer:o}){return t.jsxs(pl,{children:[n,t.jsx(fl,{children:e}),o]})},exports.LoadingSpinner=function(){return t.jsxs(Dn,{children:[t.jsx(Ln,{}),t.jsx(Hn,{children:"Loading"})]})},exports.Logo=nl,exports.ProgressBar=function({ariaLabel:e,percentage:n}){return t.jsx(Zi,{role:"progressbar","aria-label":e,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,children:t.jsx(Qi,{style:{width:`${n}%`}})})},exports.ProgressCircle=function({size:n="medium",value:o=0,kind:r="default",trafficLightRanges:i={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 l={mini:"0.8rem",tiny:"1rem",small:"1.2rem",medium:"1.6rem",large:"2rem"}[n],a={mini:50,tiny:75,small:100,medium:150,large:200}[n],s=(({kind:e,percentage:t,trafficLightRanges:n})=>{const o="var(--color--primary)",r="var(--color--danger)",i="var(--color--green-dark)",l="var(--color--red)",a="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?l:"orange"===e?a:"green"===e||"greenHigh"===e?s:"#d7d7d7"}return"danger"===e?r:"success"===e?i:"default"===e?o:"#d7d7d7"})()})({kind:r,percentage:Math.round(o),trafficLightRanges:i}),c=a/7,[u,d]=e.useState(0);e.useEffect((()=>{d(o)}),[o]);const g=(a-c)/2,p=g*Math.PI*2,f=u*p/100,h=`0 0 ${a} ${a}`;return t.jsxs("svg",{width:a,height:a,viewBox:h,children:[t.jsx("circle",{fill:"white",stroke:"#d7d7d7",cx:a/2,cy:a/2,r:g,strokeWidth:`${c}px`}),t.jsx("circle",{fill:"none",stroke:s,cx:a/2,cy:a/2,r:g,strokeWidth:`${c}px`,transform:`rotate(-90 ${a/2} ${a/2})`,strokeDasharray:`${f}, ${p-f}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),t.jsx("text",{fill:"black",fontSize:l,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(m=o,m>=0&&m<=100?`${o}%`:"-")})]});var m},exports.ReadMore=function({children:n,maxLines:o=3}){const[r,i]=e.useState(!1),l=e.useRef(null),[a,s]=e.useState(!1),c=()=>{const{offsetHeight:e,scrollHeight:t}=l.current||{};s(!!(e&&t&&e<t))};return e.useLayoutEffect((()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c))),[l]),e.useEffect((()=>{c()}),[]),t.jsxs(Zn,{children:[t.jsx(Qn,{$maxLines:r?void 0:o,ref:l,children:n}),o&&a&&t.jsx(eo,{type:"button",kind:"basic",onClick:()=>i(!r),children:r?"Read less":"Read more"})]})},exports.RelativeTime=function({time:n}){const[o,r]=e.useState((()=>new Date)),i=e.useMemo((()=>new Date(n)),[n]);e.useEffect((()=>{r(new Date)}),[n]),e.useEffect((()=>{if(Math.abs(i.getTime()/1e3-o.getTime()/1e3)<86400){const e=setTimeout((()=>{r(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[o,i]);const l=e.useMemo((()=>{const e=Math.abs(i.getTime()/1e3-o.getTime()/1e3),t=i>o;if(e<60&&!t)return"just now";if(e>604800)return`${i.getDate()} ${to[i.getMonth()]} ${i.getFullYear()}`;let n;return n=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 ${n}`:`${n} ago`}),[i,o]);return t.jsx("time",{dateTime:i.toISOString(),title:i.toLocaleString(),children:l})},exports.StatusIcon=function({status:e="uploaded",size:n="medium"}){const o=e.charAt(0).toUpperCase()+e.slice(1),r={uploaded:t.jsx(Ar,{size:n}),running:t.jsx(Lr,{size:n}),processed:t.jsx(_r,{size:n}),reviewed:t.jsx(Fr,{size:n}),warning:t.jsx(Dr,{size:n}),failed:t.jsx(Hr,{size:n})};return t.jsx(Or,{content:o,children:t.jsx(Nr,{status:e,"aria-label":o,children:r[e]})})},exports.Table=function({data:n,columns:o,pageCount:i,totalCount:l,next:a,previous:s,page:c,pageable:u,pageSize:d}){const[g,p]=e.useState((()=>[...n])),[f,h]=e.useState({pageIndex:0,pageSize:d||10}),m=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=r.useState((()=>({current:Ai(t)}))),[o,i]=r.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...o,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}({columns:o,data:g,getCoreRowModel:e=>Br((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const l=[];for(let s=0;s<t.length;s++){const c=Kr(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var a;n.flatRows.push(c),n.rowsById[c.id]=c,l.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[s],s),null!=(a=c.originalSubRows)&&a.length&&(c.subRows=o(c.originalSubRows,r+1,c)))}return l};return n.rows=o(t),n}),qr(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),pageCount:i,state:{pagination:e.useMemo((()=>({pageIndex:f.pageIndex,pageSize:f.pageSize})),[f.pageIndex,f.pageSize])},onPaginationChange:h,manualPagination:!0});return e.useEffect((()=>{void 0!==c&&m.setPageIndex(Number(c-1))}),[c,m]),e.useEffect((()=>{p(n)}),[n]),t.jsxs(Li,{children:[m.getHeaderGroups().map((e=>t.jsx("thead",{children:t.jsx("tr",{children:e.headers.map((e=>t.jsx("th",{key:e.id,colSpan:e.colSpan,style:{width:e.getSize()},children:e.isPlaceholder?null:_i(e.column.columnDef.header,e.getContext())})))},e.id)}))),t.jsx("tbody",{children:m.getRowModel().rows.map((e=>t.jsx("tr",{children:e.getVisibleCells().map((e=>t.jsx("td",{key:e.id,style:{width:e.column.getSize()},children:_i(e.column.columnDef.cell,e.getContext())})))},e.id)))}),t.jsx("tfoot",{children:t.jsxs(Di,{children:[void 0!==l?t.jsxs("div",{children:["Total: ",l]}):null,u?t.jsxs(Hi,{children:[t.jsx(Jn,{type:"link",href:m.getCanPreviousPage()?window.location.href:"",disabled:!m.getCanPreviousPage(),children:"<<"}),t.jsx(Jn,{type:"link",href:m.getCanPreviousPage()&&s?s:"",disabled:!m.getCanPreviousPage(),children:"<"}),t.jsx(Jn,{type:"link",href:m.getCanNextPage()&&a?a:"",disabled:!m.getCanNextPage(),children:">"}),t.jsx(Jn,{href:m.getCanNextPage()?`${window.location.href}?page=${String(i)}`:"",type:"link",disabled:!m.getCanNextPage(),children:">>"}),t.jsxs("span",{children:[t.jsx("div",{children:"Page"}),t.jsxs("strong",{children:[m.getState().pagination.pageIndex+1," of"," ",m.getPageCount()]})]})]}):null]})})]})},exports.Tabs=function({tabsConfig:n=[],defaultIndex:o=0}){const[r,i]=e.useState(o),l=e.useRef(null),a=e.useRef([]),[s,c]=e.useState(!1),[u,d]=e.useState({right:!1,left:!0}),g=e=>{if(!l.current)return;const t=a.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},p=e=>{const t=a.current[e];t&&t.focus(),g(e)},f=e=>{const t=n.length,o={ArrowRight:()=>p((r+1)%t),ArrowLeft:()=>p((r-1+t)%t),Home:()=>p(0),End:()=>p(t-1)}[e.key];o&&(e.preventDefault(),o())},h=(e,t)=>{if(!e)return;let n=0;const o=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(o)}),20);d({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return e.useEffect((()=>{l.current&&c(l.current.offsetWidth<l.current.scrollWidth)}),[]),e.useLayoutEffect((()=>{const e=()=>{if(!l.current)return;const{offsetWidth:e,scrollWidth:t}=l.current;c(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),t.jsxs(Ni,{children:[t.jsxs(Ti,{role:"tablist","aria-orientation":"horizontal",children:[s&&t.jsxs(Bi,{onClick:()=>l.current&&h(l.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:u.left,children:[t.jsx(Mn,{name:"fa/chevron-left-solid",size:"large"})," "]}),t.jsx($i,{ref:l,children:n.length>0?n.map(((e,n)=>t.jsx(Gi,{type:"button",onClick:()=>(e=>{g(e),i(e)})(n),role:"tab",ref:e=>{e&&(a.current[n]=e)},"aria-controls":`panel-id-${n}`,"aria-selected":r===n,id:`tab-id-${n}`,onKeyDown:f,onFocus:()=>i(n),tabIndex:r===n?0:-1,children:e.label},`tab-${e.label}`))):t.jsx("div",{children:"No tab content to display"})}),s&&t.jsx(Bi,{onClick:()=>l.current&&h(l.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:u.right,children:t.jsx(Mn,{name:"fa/chevron-right-solid",size:"large"})})]}),t.jsx(qi,{children:n.map(((e,n)=>t.jsxs(Wi,{role:"tabpanel","aria-labelledby":`tab-id-${n}`,id:`panel-id-${n}`,$show:r===n,tabIndex:0,children:[e.label?t.jsx(on,{as:"h2",children:e.label}):null,e.content]},`tabpanel-${e.label}`)))})]})},exports.TextField=function({label:e,content:n,size:o,inline:r=!1}){return t.jsxs(Ki,{$inline:r,children:[e?t.jsx(Xi,{$size:o,children:e}):null,n?t.jsx(Yi,{$size:o,children:n}):null]})},exports.ToastMessage=function({message:e,noFade:n}){const o="success"===e.level?t.jsx(Mn,{name:"fa/check-circle-solid"}):t.jsx(Mn,{name:"fa/exclamation-triangle-solid"});return"html"in e?t.jsxs(el,{level:e.level,noFade:n,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[o,t.jsx("span",{dangerouslySetInnerHTML:{__html:e.html}})]}):t.jsxs(el,{level:e.level,noFade:n,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[o,e.text]})},exports.Tooltip=Or;
|
|
949
1143
|
//# sourceMappingURL=index.js.map
|