@harpercollins/harpercollins-design-system 1.8.35 → 1.8.41
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.cjs +140 -332
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/global/Layout/Layout.d.ts +2 -0
- package/dist/cjs/types/src/components/index.d.ts +2 -2
- package/dist/cjs/types/src/styles/globalStyles.d.ts +2 -0
- package/dist/cjs/types/src/styles/theme.d.ts +6 -0
- package/dist/esm/index.js +141 -333
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/global/Layout/Layout.d.ts +2 -0
- package/dist/esm/types/src/components/index.d.ts +2 -2
- package/dist/esm/types/src/styles/globalStyles.d.ts +2 -0
- package/dist/esm/types/src/styles/theme.d.ts +6 -0
- package/dist/index.d.ts +2 -3
- package/package.json +1 -1
- package/dist/cjs/types/src/styles/GlobalStyles.d.ts +0 -9
- package/dist/esm/types/src/styles/GlobalStyles.d.ts +0 -9
package/dist/esm/index.js
CHANGED
|
@@ -1,196 +1,4 @@
|
|
|
1
|
-
import*as e from"react";import t,{useRef as n,useContext as o,useMemo as r,useDebugValue as i,createElement as a,useState as l,useEffect as s,useLayoutEffect as c,forwardRef as u,useCallback as d}from"react";import{jsx as f,jsxs as p,Fragment as g}from"react/jsx-runtime";import*as h from"react-dom";var m=function(){return m=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},m.apply(this,arguments)};function v(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function b(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var y=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,w=b((function(e){return y.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var C="-ms-",R="-moz-",k="-webkit-",O="comm",E="rule",P="decl",z="@import",F="@keyframes",M="@layer",I=Math.abs,V=String.fromCharCode,D=Object.assign;function A(e){return e.trim()}function T(e,t){return(e=t.exec(e))?e[0]:e}function _(e,t,n){return e.replace(t,n)}function N(e,t,n){return e.indexOf(t,n)}function L(e,t){return 0|e.charCodeAt(t)}function $(e,t,n){return e.slice(t,n)}function j(e){return e.length}function H(e){return e.length}function G(e,t){return t.push(e),e}function B(e,t){return e.filter((function(e){return!T(e,t)}))}var q=1,U=1,W=0,Y=0,X=0,K="";function J(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:q,column:U,length:a,return:"",siblings:l}}function Z(e,t){return D(J("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Q(e){for(;e.root;)e=Z(e.root,{children:[e]});G(e,e.siblings)}function ee(){return X=Y>0?L(K,--Y):0,U--,10===X&&(U=1,q--),X}function te(){return X=Y<W?L(K,Y++):0,U++,10===X&&(U=1,q++),X}function ne(){return L(K,Y)}function oe(){return Y}function re(e,t){return $(K,e,t)}function ie(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ae(e){return A(re(Y-1,ce(91===e?e+2:40===e?e+1:e)))}function le(e){for(;(X=ne())&&X<33;)te();return ie(e)>2||ie(X)>3?"":" "}function se(e,t){for(;--t&&te()&&!(X<48||X>102||X>57&&X<65||X>70&&X<97););return re(e,oe()+(t<6&&32==ne()&&32==te()))}function ce(e){for(;te();)switch(X){case e:return Y;case 34:case 39:34!==e&&39!==e&&ce(X);break;case 40:41===e&&ce(e);break;case 92:te()}return Y}function ue(e,t){for(;te()&&e+X!==57&&(e+X!==84||47!==ne()););return"/*"+re(t,Y-1)+"*"+V(47===e?e:te())}function de(e){for(;!ie(ne());)te();return re(e,Y)}function fe(e){return function(e){return K="",e}(pe("",null,null,null,[""],e=function(e){return q=U=1,W=j(K=e),Y=0,[]}(e),0,[0],e))}function pe(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,f=0,p=0,g=0,h=1,m=1,v=1,b=0,y="",w=r,x=i,S=o,C=y;m;)switch(g=b,b=te()){case 40:if(108!=g&&58==L(C,d-1)){-1!=N(C+=_(ae(b),"&","&\f"),"&\f",I(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=ae(b);break;case 9:case 10:case 13:case 32:C+=le(g);break;case 92:C+=se(oe()-1,7);continue;case 47:switch(ne()){case 42:case 47:G(he(ue(te(),oe()),t,n,s),s);break;default:C+="/"}break;case 123*h:l[c++]=j(C)*v;case 125*h:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+u:-1==v&&(C=_(C,/\f/g,"")),p>0&&j(C)-d&&G(p>32?me(C+";",o,n,d-1,s):me(_(C," ","")+";",o,n,d-2,s),s);break;case 59:C+=";";default:if(G(S=ge(C,t,n,c,u,r,l,y,w=[],x=[],d,i),i),123===b)if(0===u)pe(C,t,S,S,w,i,d,l,x);else switch(99===f&&110===L(C,3)?100:f){case 100:case 108:case 109:case 115:pe(e,S,S,o&&G(ge(e,S,S,0,0,r,l,y,r,w=[],d,x),x),r,x,d,l,o?w:x);break;default:pe(C,S,S,S,[""],x,0,l,x)}}c=u=p=0,h=v=1,y=C="",d=a;break;case 58:d=1+j(C),p=g;default:if(h<1)if(123==b)--h;else if(125==b&&0==h++&&125==ee())continue;switch(C+=V(b),b*h){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(j(C)-1)*v,v=1;break;case 64:45===ne()&&(C+=ae(te())),f=ne(),u=d=j(y=C+=de(oe())),b++;break;case 45:45===g&&2==j(C)&&(h=0)}}return i}function ge(e,t,n,o,r,i,a,l,s,c,u,d){for(var f=r-1,p=0===r?i:[""],g=H(p),h=0,m=0,v=0;h<o;++h)for(var b=0,y=$(e,f+1,f=I(m=a[h])),w=e;b<g;++b)(w=A(m>0?p[b]+" "+y:_(y,/&\f/g,p[b])))&&(s[v++]=w);return J(e,t,n,0===r?E:l,s,c,u,d)}function he(e,t,n,o){return J(e,t,n,O,V(X),$(e,2,-2),0,o)}function me(e,t,n,o,r){return J(e,t,n,P,$(e,0,o),$(e,o+1,-1),o,r)}function ve(e,t,n){switch(function(e,t){return 45^L(e,0)?(((t<<2^L(e,0))<<2^L(e,1))<<2^L(e,2))<<2^L(e,3):0}(e,t)){case 5103:return k+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return k+e+e;case 4789:return R+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+R+e+C+e+e;case 5936:switch(L(e,t+11)){case 114:return k+e+C+_(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+C+_(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+C+_(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return k+e+C+e+e;case 6165:return k+e+C+"flex-"+e+e;case 5187:return k+e+_(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return k+e+C+"flex-item-"+_(e,/flex-|-self/g,"")+(T(e,/flex-|baseline/)?"":C+"grid-row-"+_(e,/flex-|-self/g,""))+e;case 4675:return k+e+C+"flex-line-pack"+_(e,/align-content|flex-|-self/g,"")+e;case 5548:return k+e+C+_(e,"shrink","negative")+e;case 5292:return k+e+C+_(e,"basis","preferred-size")+e;case 6060:return k+"box-"+_(e,"-grow","")+k+e+C+_(e,"grow","positive")+e;case 4554:return k+_(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return _(_(_(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return _(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return _(_(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4200:if(!T(e,/flex-|baseline/))return C+"grid-column-align"+$(e,t)+e;break;case 2592:case 3360:return C+_(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,T(e.props,/grid-\w+-end/)}))?~N(e+(n=n[t].value),"span",0)?e:C+_(e,"-start","")+e+C+"grid-row-span:"+(~N(n,"span",0)?T(n,/\d+/):+T(n,/\d+/)-+T(e,/\d+/))+";":C+_(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return T(e.props,/grid-\w+-start/)}))?e:C+_(_(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return _(e,/(.+)-inline(.+)/,k+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(j(e)-1-t>6)switch(L(e,t+1)){case 109:if(45!==L(e,t+4))break;case 102:return _(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+R+(108==L(e,t+3)?"$3":"$2-$3"))+e;case 115:return~N(e,"stretch",0)?ve(_(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return _(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,i,a,l){return C+n+":"+o+l+(r?C+n+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===L(e,t+6))return _(e,":",":"+k)+e;break;case 6444:switch(L(e,45===L(e,14)?18:11)){case 120:return _(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+k+(45===L(e,14)?"inline-":"")+"box$3$1"+k+"$2$3$1"+C+"$2box$3")+e;case 100:return _(e,":",":"+C)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return _(e,"scroll-","scroll-snap-")+e}return e}function be(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function ye(e,t,n,o){switch(e.type){case M:if(e.children.length)break;case z:case P:return e.return=e.return||e.value;case O:return"";case F:return e.return=e.value+"{"+be(e.children,o)+"}";case E:if(!j(e.value=e.props.join(",")))return""}return j(n=be(e.children,o))?e.return=e.value+"{"+n+"}":""}function we(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case P:return void(e.return=ve(e.value,e.length,n));case F:return be([Z(e,{value:_(e.value,"@","@"+k)})],o);case E:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(T(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Q(Z(e,{props:[_(t,/:(read-\w+)/,":"+R+"$1")]})),Q(Z(e,{props:[t]})),D(e,{props:B(n,o)});break;case"::placeholder":Q(Z(e,{props:[_(t,/:(plac\w+)/,":"+k+"input-$1")]})),Q(Z(e,{props:[_(t,/:(plac\w+)/,":"+R+"$1")]})),Q(Z(e,{props:[_(t,/:(plac\w+)/,C+"input-$1")]})),Q(Z(e,{props:[t]})),D(e,{props:B(n,o)})}return""}))}}var xe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Se="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Ce="active",Re="data-styled-version",ke="6.1.8",Oe="/*!sc*/\n",Ee="undefined"!=typeof window&&"HTMLElement"in window,Pe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),ze={},Fe=/invalid hook call/i,Me=new Set,Ie=function(e,t){if("production"!==process.env.NODE_ENV){var o=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(o," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",i=console.error;try{var a=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Fe.test(e)?(a=!1,Me.delete(r)):i.apply(void 0,v([e],t,!1))},n(),a&&!Me.has(r)&&(console.warn(r),Me.add(r))}catch(e){Fe.test(e.message)&&Me.delete(r)}finally{console.error=i}}},Ve=Object.freeze([]),De=Object.freeze({});function Ae(e,t,n){return void 0===n&&(n=De),e.theme!==n.theme&&e.theme||t||n.theme}var Te=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),_e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ne=/(^-|-$)/g;function Le(e){return e.replace(_e,"-").replace(Ne,"")}var $e=/(a)(d)/gi,je=52,He=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ge(e){var t,n="";for(t=Math.abs(e);t>je;t=t/je|0)n=He(t%je)+n;return(He(t%je)+n).replace($e,"$1-$2")}var Be,qe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Ue=function(e){return qe(5381,e)};function We(e){return Ge(Ue(e)>>>0)}function Ye(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Xe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ke="function"==typeof Symbol&&Symbol.for,Je=Ke?Symbol.for("react.memo"):60115,Ze=Ke?Symbol.for("react.forward_ref"):60112,Qe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},et={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},nt=((Be={})[Ze]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Be[Je]=tt,Be);function ot(e){return("type"in(t=e)&&t.type.$$typeof)===Je?tt:"$$typeof"in e?nt[e.$$typeof]:Qe;var t}var rt=Object.defineProperty,it=Object.getOwnPropertyNames,at=Object.getOwnPropertySymbols,lt=Object.getOwnPropertyDescriptor,st=Object.getPrototypeOf,ct=Object.prototype;function ut(e,t,n){if("string"!=typeof t){if(ct){var o=st(t);o&&o!==ct&&ut(e,o,n)}var r=it(t);at&&(r=r.concat(at(t)));for(var i=ot(e),a=ot(t),l=0;l<r.length;++l){var s=r[l];if(!(s in et||n&&n[s]||a&&s in a||i&&s in i)){var c=lt(t,s);try{rt(e,s,c)}catch(e){}}}}return e}function dt(e){return"function"==typeof e}function ft(e){return"object"==typeof e&&"styledComponentId"in e}function pt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function gt(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ht(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function mt(e,t,n){if(void 0===n&&(n=!1),!n&&!ht(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=mt(e[o],t[o]);else if(ht(t))for(var o in t)e[o]=mt(e[o],t[o]);return e}function vt(e,t){Object.defineProperty(e,"toString",{value:t})}var bt="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function yt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,i=e.length;r<i;r+=1)o.push(e[r]);return o.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function wt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(yt.apply(void 0,v([bt[e]],t,!1)).trim())}var xt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw wt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=o;i<r;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,i=o;i<r;i++)t+="".concat(this.tag.getRule(i)).concat(Oe);return t},e}(),St=new Map,Ct=new Map,Rt=1,kt=function(e){if(St.has(e))return St.get(e);for(;Ct.has(Rt);)Rt++;var t=Rt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw wt(16,"".concat(t));return St.set(e,t),Ct.set(t,e),t},Ot=function(e,t){Rt=t+1,St.set(e,t),Ct.set(t,e)},Et="style[".concat(Se,"][").concat(Re,'="').concat(ke,'"]'),Pt=new RegExp("^".concat(Se,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),zt=function(e,t,n){for(var o,r=n.split(","),i=0,a=r.length;i<a;i++)(o=r[i])&&e.registerName(t,o)},Ft=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Oe),r=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(Pt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(Ot(u,c),zt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}};var Mt=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Se,"]")));return t[t.length-1]}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(Se,Ce),o.setAttribute(Re,ke);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),n.insertBefore(o,i),o},It=function(){function e(e){this.element=Mt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw wt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Vt=function(){function e(e){this.element=Mt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Dt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),At=Ee,Tt={isServer:!Ee,useCSSOMInjection:!Pe},_t=function(){function e(e,t,n){void 0===e&&(e=De),void 0===t&&(t={});var o=this;this.options=m(m({},Tt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ee&&At&&(At=!1,function(e){for(var t=document.querySelectorAll(Et),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(Se)!==Ce&&(Ft(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),vt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return Ct.get(e)}(n);if(void 0===r)return"continue";var i=e.names.get(r),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var l="".concat(Se,".g").concat(n,'[id="').concat(r,'"]'),s="";void 0!==i&&i.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(a).concat(l,'{content:"').concat(s,'"}').concat(Oe)},i=0;i<n;i++)r(i);return o}(o)}))}return e.registerId=function(e){return kt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(m(m({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Dt(n):t?new It(n):new Vt(n)}(this.options),new xt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(kt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(kt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(kt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Nt=/&/g,Lt=/^\s*\/\/.*$/gm;function $t(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=$t(e.children,t)),e}))}var jt=new _t,Ht=function(e){var t,n,o,r=void 0===e?De:e,i=r.options,a=void 0===i?De:i,l=r.plugins,s=void 0===l?Ve:l,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===E&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Nt,n).replace(o,c))})),a.prefix&&u.push(we),u.push(ye);var d=function(e,r,i,l){void 0===r&&(r=""),void 0===i&&(i=""),void 0===l&&(l="&"),t=l,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(Lt,""),c=fe(i||r?"".concat(i," ").concat(r," { ").concat(s," }"):s);a.namespace&&(c=$t(c,a.namespace));var d,f=[];return be(c,function(e){var t=H(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}(u.concat((d=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),f};return d.hash=s.length?s.reduce((function(e,t){return t.name||wt(15),qe(e,t.name)}),5381).toString():"",d}(),Gt=t.createContext({shouldForwardProp:void 0,styleSheet:jt,stylis:Ht});function Bt(){return o(Gt)}Gt.Consumer,t.createContext(void 0);var qt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ht);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,vt(this,(function(){throw wt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Ht),this.name+e.hash},e}(),Ut=function(e){return e>="A"&&e<="Z"};function Wt(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Ut(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Yt=function(e){return null==e||!1===e||""===e},Xt=function(e){var t,n,o=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!Yt(i)&&(Array.isArray(i)&&i.isCss||dt(i)?o.push("".concat(Wt(r),":"),i,";"):ht(i)?o.push.apply(o,v(v(["".concat(r," {")],Xt(i),!1),["}"],!1)):o.push("".concat(Wt(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in xe||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Kt(e,t,n,o){if(Yt(e))return[];if(ft(e))return[".".concat(e.styledComponentId)];if(dt(e)){if(!dt(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var r=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof qt||ht(r)||null===r||console.error("".concat(Ye(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Kt(r,t,n,o)}var i;return e instanceof qt?n?(e.inject(n,o),[e.getName(o)]):[e]:ht(e)?Xt(e):Array.isArray(e)?Array.prototype.concat.apply(Ve,e.map((function(e){return Kt(e,t,n,o)}))):[e.toString()]}function Jt(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(dt(n)&&!ft(n))return!1}return!0}var Zt=Ue(ke),Qt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Jt(e),this.componentId=t,this.baseHash=qe(Zt,t),this.baseStyle=n,_t.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=pt(o,this.staticRulesId);else{var r=gt(Kt(this.rules,e,t,n)),i=Ge(qe(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(r,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}o=pt(o,i),this.staticRulesId=i}else{for(var l=qe(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=qe(l,u));else if(u){var d=gt(Kt(u,e,t,n));l=qe(l,d+c),s+=d}}if(s){var f=Ge(l>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(s,".".concat(f),void 0,this.componentId)),o=pt(o,f)}}return o},e}(),en=t.createContext(void 0);function tn(e){var n=t.useContext(en),o=r((function(){return function(e,t){if(!e)throw wt(14);if(dt(e)){var n=e(t);if("production"!==process.env.NODE_ENV&&(null===n||Array.isArray(n)||"object"!=typeof n))throw wt(7);return n}if(Array.isArray(e)||"object"!=typeof e)throw wt(8);return t?m(m({},t),e):e}(e.theme,n)}),[e.theme,n]);return e.children?t.createElement(en.Provider,{value:o},e.children):null}en.Consumer;var nn={},on=new Set;function rn(e,n,o){var r=ft(e),l=e,s=!Xe(e),c=n.attrs,u=void 0===c?Ve:c,d=n.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Le(e);nn[n]=(nn[n]||0)+1;var o="".concat(n,"-").concat(We(ke+n+nn[n]));return t?"".concat(t,"-").concat(o):o}(n.displayName,n.parentComponentId):d,p=n.displayName,g=void 0===p?function(e){return Xe(e)?"styled.".concat(e):"Styled(".concat(Ye(e),")")}(e):p,h=n.displayName&&n.componentId?"".concat(Le(n.displayName),"-").concat(n.componentId):n.componentId||f,v=r&&l.attrs?l.attrs.concat(u).filter(Boolean):u,b=n.shouldForwardProp;if(r&&l.shouldForwardProp){var y=l.shouldForwardProp;if(n.shouldForwardProp){var x=n.shouldForwardProp;b=function(e,t){return y(e,t)&&x(e,t)}}else b=y}var S=new Qt(o,h,r?l.componentStyle:void 0);function C(e,n){return function(e,n,o){var r=e.attrs,l=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=t.useContext(en),p=Bt(),g=e.shouldForwardProp||p.shouldForwardProp;"production"!==process.env.NODE_ENV&&i(u);var h=Ae(n,f,s)||De,v=function(e,t,n){for(var o,r=m(m({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=dt(o=e[i])?o(r):o;for(var l in a)r[l]="className"===l?pt(r[l],a[l]):"style"===l?m(m({},r[l]),a[l]):a[l]}return t.className&&(r.className=pt(r.className,t.className)),r}(r,n,h),b=v.as||d,y={};for(var x in v)void 0===v[x]||"$"===x[0]||"as"===x||"theme"===x&&v.theme===h||("forwardedAs"===x?y.as=v.forwardedAs:g&&!g(x,b)||(y[x]=v[x],g||"development"!==process.env.NODE_ENV||w(x)||on.has(x)||!Te.has(b)||(on.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var S=function(e,t){var n=Bt(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&i(o),o}(l,v);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=pt(c,u);return S&&(C+=" "+S),v.className&&(C+=" "+v.className),y[Xe(b)&&!Te.has(b)?"class":"className"]=C,y.ref=o,a(b,y)}(R,e,n)}C.displayName=g;var R=t.forwardRef(C);return R.attrs=v,R.componentStyle=S,R.displayName=g,R.shouldForwardProp=b,R.foldedComponentIds=r?pt(l.foldedComponentIds,l.styledComponentId):"",R.styledComponentId=h,R.target=r?l.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)mt(e,r[o],!0);return e}({},l.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Ie(g,h),R.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,n={}}}}(g,h)),vt(R,(function(){return".".concat(R.styledComponentId)})),s&&ut(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function an(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ln=function(e){return Object.assign(e,{isCss:!0})};function sn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(dt(e)||ht(e))return ln(Kt(an(Ve,v([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Kt(o):ln(Kt(an(o,t)))}function cn(e,t,n){if(void 0===n&&(n=De),!t)throw wt(1,t);var o=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,sn.apply(void 0,v([o],r,!1)))};return o.attrs=function(o){return cn(e,t,m(m({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return cn(e,t,m(m({},n),o))},o}var un=function(e){return cn(rn,e)},dn=un;Te.forEach((function(e){dn[e]=un(e)}));var fn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Jt(e),_t.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(gt(Kt(this.rules,t,n,o)),""),i=this.componentId+e;n.insertRules(i,i,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&_t.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function pn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=gt(sn.apply(void 0,v([e],t,!1))),r=We(o);return new qt(r,o)}"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var gn="__sc-".concat(Se,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[gn]||(window[gn]=0),1===window[gn]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[gn]+=1);!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}('/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\nbody {\n line-height: 1;\n}\nol,\nul {\n list-style: none;\n}\nblockquote,\nq {\n quotes: none;\n}\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n');const hn=(function(e){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=sn.apply(void 0,v([e],n,!1)),i="sc-global-".concat(We(JSON.stringify(r))),a=new fn(r,i);"production"!==process.env.NODE_ENV&&Ie(i);var l=function(e){var n=Bt(),o=t.useContext(en),s=t.useRef(n.styleSheet.allocateGSInstance(i)).current;return"production"!==process.env.NODE_ENV&&t.Children.count(e.children)&&console.warn("The global style component ".concat(i," was given child JSX. createGlobalStyle does not render children.")),"production"!==process.env.NODE_ENV&&r.some((function(e){return"string"==typeof e&&-1!==e.indexOf("@import")}))&&console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."),n.styleSheet.server&&function(e,t,n,o,r){if(a.isStatic)a.renderStyles(e,ze,n,r);else{var i=m(m({},t),{theme:Ae(t,o,l.defaultProps)});a.renderStyles(e,i,n,r)}}(s,e,n.styleSheet,o,n.stylis),null};return t.memo(l)})`
|
|
2
|
-
:root {
|
|
3
|
-
--color--black: #000000;
|
|
4
|
-
--color--grey-dark: #262626;
|
|
5
|
-
--color--grey: #5c5c5c;
|
|
6
|
-
--color--grey-light: #a8aab7;
|
|
7
|
-
--color--grey-lighter: #f5f5f5;
|
|
8
|
-
--color--grey-lightest: #f3f6fa;
|
|
9
|
-
--color--grey-borders: #d7d7d7;
|
|
10
|
-
--color--grey-line: #e0e0e0;
|
|
11
|
-
--color--grey-hover: #f9f9f9;
|
|
12
|
-
--color--white: #fff;
|
|
13
|
-
|
|
14
|
-
--color--teal: #007d7e;
|
|
15
|
-
--color--teal-light: #00b0b1;
|
|
16
|
-
--color--teal-tint: #f2fcfc;
|
|
17
|
-
|
|
18
|
-
--color--red: #d9303e;
|
|
19
|
-
--color--red-dark: #c02330;
|
|
20
|
-
--color--red-light: #f7dbdd;
|
|
21
|
-
--color--red-tint: #ffdddf;
|
|
22
|
-
|
|
23
|
-
--color--amber: #e9b04d;
|
|
24
|
-
--color--amber-tint: #faecd5;
|
|
25
|
-
--color--orange: #f5a623;
|
|
26
|
-
--color--orange-dark: #eb6f00;
|
|
27
|
-
--color--orange-light: #f2c06f;
|
|
28
|
-
|
|
29
|
-
--color--green: #29c889;
|
|
30
|
-
--color--green-dark: #1c874c;
|
|
31
|
-
--color--green-light: #afe7d0;
|
|
32
|
-
--color--indigo: #2e1f5e;
|
|
33
|
-
--color--lemon: #ffe60b;
|
|
34
|
-
--color--focus-outline: #fcc726;
|
|
35
|
-
|
|
36
|
-
--color--dark-blue: #192a3c;
|
|
37
|
-
|
|
38
|
-
--color--primary: #4c3fdd;
|
|
39
|
-
--color--primary-light: #4c3fdddb;
|
|
40
|
-
--color--primary-verylight: #a8a0f7;
|
|
41
|
-
--color--body: var(--color--dark-blue);
|
|
42
|
-
|
|
43
|
-
--color--danger: var(--color--red);
|
|
44
|
-
--color--danger-light: var(--color--red-light);
|
|
45
|
-
--color--warning: var(--color--orange);
|
|
46
|
-
--color--warning-light: var(--color--orange-light);
|
|
47
|
-
--color--success: var(--color--green);
|
|
48
|
-
|
|
49
|
-
--color--dark-blue: #192a3c;
|
|
50
|
-
|
|
51
|
-
--color--debug: #663399;
|
|
52
|
-
--color--debug-light: #663399db;
|
|
53
|
-
--color--debug-very-light: #6633991a;
|
|
54
|
-
|
|
55
|
-
/* Fonts */
|
|
56
|
-
--font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,
|
|
57
|
-
"Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell,
|
|
58
|
-
sans-serif;
|
|
59
|
-
|
|
60
|
-
--font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,
|
|
61
|
-
"Courier New", monospace;
|
|
62
|
-
|
|
63
|
-
/* Spacing */
|
|
64
|
-
--spacing--xxxsmall: 0.1rem;
|
|
65
|
-
--spacing--xxsmall: 0.2rem;
|
|
66
|
-
--spacing--xsmall: 0.3rem;
|
|
67
|
-
--spacing--small: 0.5rem;
|
|
68
|
-
--spacing--medium: 1rem;
|
|
69
|
-
--spacing--large: 2rem;
|
|
70
|
-
--spacing--xlarge: 4rem;
|
|
71
|
-
|
|
72
|
-
/* Font sizes */
|
|
73
|
-
--font-size--xxsmall: 0.6rem;
|
|
74
|
-
--font-size--xsmall: 0.75rem;
|
|
75
|
-
--font-size--small: 0.875rem;
|
|
76
|
-
--font-size--medium: 1rem;
|
|
77
|
-
--font-size--large: 1.25rem;
|
|
78
|
-
--font-size--xlarge: 1.5rem;
|
|
79
|
-
--font-size--xxlarge: 2rem;
|
|
80
|
-
--font-size--xxxlarge: 3rem;
|
|
81
|
-
|
|
82
|
-
/* Line heights */
|
|
83
|
-
--line-height--small: 1.2rem;
|
|
84
|
-
--line-height--medium: 1.4rem;
|
|
85
|
-
--line-height--large: 1.4rem;
|
|
86
|
-
|
|
87
|
-
/* Font weights */
|
|
88
|
-
--font-weight--thin: 200;
|
|
89
|
-
--font-weight--light: 300;
|
|
90
|
-
--font-weight--regular: 400;
|
|
91
|
-
--font-weight--medium: 500;
|
|
92
|
-
--font-weight--bold: 700;
|
|
93
|
-
|
|
94
|
-
/* Border radius */
|
|
95
|
-
--border-radius--small: 0.25rem;
|
|
96
|
-
--border-radius--medium: 0.5rem;
|
|
97
|
-
--border-radius--large: 1rem;
|
|
98
|
-
--border-radius--xlarge: 2rem;
|
|
99
|
-
|
|
100
|
-
/* Box shadows */
|
|
101
|
-
--box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
|
|
102
|
-
|
|
103
|
-
/* Breakpoints */
|
|
104
|
-
--breakpoint--small: 480px;
|
|
105
|
-
--breakpoint--medium: 768px;
|
|
106
|
-
--breakpoint--large: 1024px;
|
|
107
|
-
--breakpoint--xlarge: 1200px;
|
|
108
|
-
--breakpoint--xxlarge: 1440px;
|
|
109
|
-
--breakpoint--xxxlarge: 1920px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
*,
|
|
113
|
-
*::before,
|
|
114
|
-
*::after {
|
|
115
|
-
box-sizing: border-box;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
* {
|
|
119
|
-
margin: 0;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
a {
|
|
123
|
-
color: var(--color--primary);
|
|
124
|
-
text-decoration: none;
|
|
125
|
-
|
|
126
|
-
&:hover,
|
|
127
|
-
&:focus {
|
|
128
|
-
text-decoration: underline;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
body,
|
|
133
|
-
button {
|
|
134
|
-
font-family: var(--font-family--sans-serif);
|
|
135
|
-
font-weight: var(--font-weight--regular);
|
|
136
|
-
font-style: normal;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
body {
|
|
140
|
-
background-color: var(--color--grey-lightest);
|
|
141
|
-
line-height: 1.5;
|
|
142
|
-
-webkit-font-smoothing: antialiased;
|
|
143
|
-
color: var(--color--grey-dark);
|
|
144
|
-
-webkit-print-color-adjust: exact !important;
|
|
145
|
-
print-color-adjust: exact !important;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
b {
|
|
149
|
-
font-weight: var(--font-weight--bold);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
*:focus-visible {
|
|
153
|
-
outline: 3px solid var(--color--focus-outline);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
input,
|
|
157
|
-
button,
|
|
158
|
-
textarea,
|
|
159
|
-
select {
|
|
160
|
-
font: inherit;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
textarea {
|
|
164
|
-
border: 1px solid var(--color--grey-borders);
|
|
165
|
-
border-radius: var(--border-radius--small);
|
|
166
|
-
background-color: var(--color--grey-lighter);
|
|
167
|
-
padding: var(--spacing--medium);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
p,
|
|
171
|
-
h1,
|
|
172
|
-
h2,
|
|
173
|
-
h3,
|
|
174
|
-
h4,
|
|
175
|
-
h5,
|
|
176
|
-
h6 {
|
|
177
|
-
overflow-wrap: break-word;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
p {
|
|
181
|
-
font-size: var(--font-size--medium);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
#root,
|
|
185
|
-
#__next {
|
|
186
|
-
isolation: isolate;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
small {
|
|
190
|
-
font-size: 80%;
|
|
191
|
-
color: var(--color--grey);
|
|
192
|
-
}
|
|
193
|
-
`,mn={colours:{primary:"var(--color--primary)"},fontFamily:"var(--font-family--sans-serif)"},vn=dn.div`
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from"react";import r,{useMemo as i,useRef as a,useDebugValue as l,createElement as s,useContext as c,useState as u,useEffect as d,useLayoutEffect as f,forwardRef as p,useCallback as g}from"react";import*as m from"react-dom";const h={colours:{primary:"var(--color--primary)"},fontFamily:"var(--font-family--sans-serif)"};var v=function(){return v=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},v.apply(this,arguments)};function b(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 y(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 w=/^((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)-.*))$/,x=y((function(e){return w.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function S(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var R="-ms-",k="-moz-",O="-webkit-",E="comm",P="rule",z="decl",F="@import",M="@keyframes",I="@layer",V=Math.abs,D=String.fromCharCode,A=Object.assign;function T(e){return e.trim()}function _(e,t){return(e=t.exec(e))?e[0]:e}function N(e,t,n){return e.replace(t,n)}function L(e,t,n){return e.indexOf(t,n)}function $(e,t){return 0|e.charCodeAt(t)}function j(e,t,n){return e.slice(t,n)}function H(e){return e.length}function G(e){return e.length}function B(e,t){return t.push(e),e}function q(e,t){return e.filter((function(e){return!_(e,t)}))}var U=1,W=1,Y=0,X=0,K=0,J="";function Z(e,t,n,o,r,i,a,l){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:U,column:W,length:a,return:"",siblings:l}}function Q(e,t){return A(Z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ee(e){for(;e.root;)e=Q(e.root,{children:[e]});B(e,e.siblings)}function te(){return K=X>0?$(J,--X):0,W--,10===K&&(W=1,U--),K}function ne(){return K=X<Y?$(J,X++):0,W++,10===K&&(W=1,U++),K}function oe(){return $(J,X)}function re(){return X}function ie(e,t){return j(J,e,t)}function ae(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 le(e){return T(ie(X-1,ue(91===e?e+2:40===e?e+1:e)))}function se(e){for(;(K=oe())&&K<33;)ne();return ae(e)>2||ae(K)>3?"":" "}function ce(e,t){for(;--t&&ne()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return ie(e,re()+(t<6&&32==oe()&&32==ne()))}function ue(e){for(;ne();)switch(K){case e:return X;case 34:case 39:34!==e&&39!==e&&ue(K);break;case 40:41===e&&ue(e);break;case 92:ne()}return X}function de(e,t){for(;ne()&&e+K!==57&&(e+K!==84||47!==oe()););return"/*"+ie(t,X-1)+"*"+D(47===e?e:ne())}function fe(e){for(;!ae(oe());)ne();return ie(e,X)}function pe(e){return function(e){return J="",e}(ge("",null,null,null,[""],e=function(e){return U=W=1,Y=H(J=e),X=0,[]}(e),0,[0],e))}function ge(e,t,n,o,r,i,a,l,s){for(var c=0,u=0,d=a,f=0,p=0,g=0,m=1,h=1,v=1,b=0,y="",w=r,x=i,S=o,C=y;h;)switch(g=b,b=ne()){case 40:if(108!=g&&58==$(C,d-1)){-1!=L(C+=N(le(b),"&","&\f"),"&\f",V(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=le(b);break;case 9:case 10:case 13:case 32:C+=se(g);break;case 92:C+=ce(re()-1,7);continue;case 47:switch(oe()){case 42:case 47:B(he(de(ne(),re()),t,n,s),s);break;default:C+="/"}break;case 123*m:l[c++]=H(C)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=N(C,/\f/g,"")),p>0&&H(C)-d&&B(p>32?ve(C+";",o,n,d-1,s):ve(N(C," ","")+";",o,n,d-2,s),s);break;case 59:C+=";";default:if(B(S=me(C,t,n,c,u,r,l,y,w=[],x=[],d,i),i),123===b)if(0===u)ge(C,t,S,S,w,i,d,l,x);else switch(99===f&&110===$(C,3)?100:f){case 100:case 108:case 109:case 115:ge(e,S,S,o&&B(me(e,S,S,0,0,r,l,y,r,w=[],d,x),x),r,x,d,l,o?w:x);break;default:ge(C,S,S,S,[""],x,0,l,x)}}c=u=p=0,m=v=1,y=C="",d=a;break;case 58:d=1+H(C),p=g;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==te())continue;switch(C+=D(b),b*m){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(H(C)-1)*v,v=1;break;case 64:45===oe()&&(C+=le(ne())),f=oe(),u=d=H(y=C+=fe(re())),b++;break;case 45:45===g&&2==H(C)&&(m=0)}}return i}function me(e,t,n,o,r,i,a,l,s,c,u,d){for(var f=r-1,p=0===r?i:[""],g=G(p),m=0,h=0,v=0;m<o;++m)for(var b=0,y=j(e,f+1,f=V(h=a[m])),w=e;b<g;++b)(w=T(h>0?p[b]+" "+y:N(y,/&\f/g,p[b])))&&(s[v++]=w);return Z(e,t,n,0===r?P:l,s,c,u,d)}function he(e,t,n,o){return Z(e,t,n,E,D(K),j(e,2,-2),0,o)}function ve(e,t,n,o,r){return Z(e,t,n,z,j(e,0,o),j(e,o+1,-1),o,r)}function be(e,t,n){switch(function(e,t){return 45^$(e,0)?(((t<<2^$(e,0))<<2^$(e,1))<<2^$(e,2))<<2^$(e,3):0}(e,t)){case 5103:return O+"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 O+e+e;case 4789:return k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+k+e+R+e+e;case 5936:switch($(e,t+11)){case 114:return O+e+R+N(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+R+N(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+R+N(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return O+e+R+e+e;case 6165:return O+e+R+"flex-"+e+e;case 5187:return O+e+N(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+R+"flex-$1$2")+e;case 5443:return O+e+R+"flex-item-"+N(e,/flex-|-self/g,"")+(_(e,/flex-|baseline/)?"":R+"grid-row-"+N(e,/flex-|-self/g,""))+e;case 4675:return O+e+R+"flex-line-pack"+N(e,/align-content|flex-|-self/g,"")+e;case 5548:return O+e+R+N(e,"shrink","negative")+e;case 5292:return O+e+R+N(e,"basis","preferred-size")+e;case 6060:return O+"box-"+N(e,"-grow","")+O+e+R+N(e,"grow","positive")+e;case 4554:return O+N(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return N(N(N(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return N(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return N(N(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+R+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4200:if(!_(e,/flex-|baseline/))return R+"grid-column-align"+j(e,t)+e;break;case 2592:case 3360:return R+N(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,_(e.props,/grid-\w+-end/)}))?~L(e+(n=n[t].value),"span",0)?e:R+N(e,"-start","")+e+R+"grid-row-span:"+(~L(n,"span",0)?_(n,/\d+/):+_(n,/\d+/)-+_(e,/\d+/))+";":R+N(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return _(e.props,/grid-\w+-start/)}))?e:R+N(N(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return N(e,/(.+)-inline(.+)/,O+"$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(H(e)-1-t>6)switch($(e,t+1)){case 109:if(45!==$(e,t+4))break;case 102:return N(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+k+(108==$(e,t+3)?"$3":"$2-$3"))+e;case 115:return~L(e,"stretch",0)?be(N(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return N(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,i,a,l){return R+n+":"+o+l+(r?R+n+"-span:"+(i?a:+a-+o)+l:"")+e}));case 4949:if(121===$(e,t+6))return N(e,":",":"+O)+e;break;case 6444:switch($(e,45===$(e,14)?18:11)){case 120:return N(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+O+(45===$(e,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+R+"$2box$3")+e;case 100:return N(e,":",":"+R)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return N(e,"scroll-","scroll-snap-")+e}return e}function ye(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function we(e,t,n,o){switch(e.type){case I:if(e.children.length)break;case F:case z:return e.return=e.return||e.value;case E:return"";case M:return e.return=e.value+"{"+ye(e.children,o)+"}";case P:if(!H(e.value=e.props.join(",")))return""}return H(n=ye(e.children,o))?e.return=e.value+"{"+n+"}":""}function xe(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case z:return void(e.return=be(e.value,e.length,n));case M:return ye([Q(e,{value:N(e.value,"@","@"+O)})],o);case P:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(_(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ee(Q(e,{props:[N(t,/:(read-\w+)/,":"+k+"$1")]})),ee(Q(e,{props:[t]})),A(e,{props:q(n,o)});break;case"::placeholder":ee(Q(e,{props:[N(t,/:(plac\w+)/,":"+O+"input-$1")]})),ee(Q(e,{props:[N(t,/:(plac\w+)/,":"+k+"$1")]})),ee(Q(e,{props:[N(t,/:(plac\w+)/,R+"input-$1")]})),ee(Q(e,{props:[t]})),A(e,{props:q(n,o)})}return""}))}}var Se={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},Ce="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Re="active",ke="data-styled-version",Oe="6.1.8",Ee="/*!sc*/\n",Pe="undefined"!=typeof window&&"HTMLElement"in window,ze=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),Fe=/invalid hook call/i,Me=new Set,Ie=function(e,t){if("production"!==process.env.NODE_ENV){var n=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(n," 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.",r=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Fe.test(e)?(i=!1,Me.delete(o)):r.apply(void 0,b([e],t,!1))},a(),i&&!Me.has(o)&&(console.warn(o),Me.add(o))}catch(e){Fe.test(e.message)&&Me.delete(o)}finally{console.error=r}}},Ve=Object.freeze([]),De=Object.freeze({});var Ae=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Te=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,_e=/(^-|-$)/g;function Ne(e){return e.replace(Te,"-").replace(_e,"")}var Le=/(a)(d)/gi,$e=52,je=function(e){return String.fromCharCode(e+(e>25?39:97))};function He(e){var t,n="";for(t=Math.abs(e);t>$e;t=t/$e|0)n=je(t%$e)+n;return(je(t%$e)+n).replace(Le,"$1-$2")}var Ge,Be=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},qe=function(e){return Be(5381,e)};function Ue(e){return He(qe(e)>>>0)}function We(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function Ye(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Xe="function"==typeof Symbol&&Symbol.for,Ke=Xe?Symbol.for("react.memo"):60115,Je=Xe?Symbol.for("react.forward_ref"):60112,Ze={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Qe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},et={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tt=((Ge={})[Je]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ge[Ke]=et,Ge);function nt(e){return("type"in(t=e)&&t.type.$$typeof)===Ke?et:"$$typeof"in e?tt[e.$$typeof]:Ze;var t}var ot=Object.defineProperty,rt=Object.getOwnPropertyNames,it=Object.getOwnPropertySymbols,at=Object.getOwnPropertyDescriptor,lt=Object.getPrototypeOf,st=Object.prototype;function ct(e,t,n){if("string"!=typeof t){if(st){var o=lt(t);o&&o!==st&&ct(e,o,n)}var r=rt(t);it&&(r=r.concat(it(t)));for(var i=nt(e),a=nt(t),l=0;l<r.length;++l){var s=r[l];if(!(s in Qe||n&&n[s]||a&&s in a||i&&s in i)){var c=at(t,s);try{ot(e,s,c)}catch(e){}}}}return e}function ut(e){return"function"==typeof e}function dt(e){return"object"==typeof e&&"styledComponentId"in e}function ft(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function pt(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function gt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function mt(e,t,n){if(void 0===n&&(n=!1),!n&&!gt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=mt(e[o],t[o]);else if(gt(t))for(var o in t)e[o]=mt(e[o],t[o]);return e}function ht(e,t){Object.defineProperty(e,"toString",{value:t})}var vt="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function bt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,i=e.length;r<i;r+=1)o.push(e[r]);return o.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function yt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(bt.apply(void 0,b([vt[e]],t,!1)).trim())}var wt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw yt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var i=o;i<r;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=(i=0,t.length);i<l;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,i=o;i<r;i++)t+="".concat(this.tag.getRule(i)).concat(Ee);return t},e}(),xt=new Map,St=new Map,Ct=1,Rt=function(e){if(xt.has(e))return xt.get(e);for(;St.has(Ct);)Ct++;var t=Ct++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>1073741824))throw yt(16,"".concat(t));return xt.set(e,t),St.set(t,e),t},kt=function(e,t){Ct=t+1,xt.set(e,t),St.set(t,e)},Ot="style[".concat(Ce,"][").concat(ke,'="').concat(Oe,'"]'),Et=new RegExp("^".concat(Ce,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Pt=function(e,t,n){for(var o,r=n.split(","),i=0,a=r.length;i<a;i++)(o=r[i])&&e.registerName(t,o)},zt=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Ee),r=[],i=0,a=o.length;i<a;i++){var l=o[i].trim();if(l){var s=l.match(Et);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(kt(u,c),Pt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}};var Ft=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Ce,"]")));return t[t.length-1]}(n),i=void 0!==r?r.nextSibling:null;o.setAttribute(Ce,Re),o.setAttribute(ke,Oe);var a="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return a&&o.setAttribute("nonce",a),n.insertBefore(o,i),o},Mt=function(){function e(e){this.element=Ft(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw yt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),It=function(){function e(e){this.element=Ft(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Vt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Dt=Pe,At={isServer:!Pe,useCSSOMInjection:!ze},Tt=function(){function e(e,t,n){void 0===e&&(e=De),void 0===t&&(t={});var o=this;this.options=v(v({},At),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Pe&&Dt&&(Dt=!1,function(e){for(var t=document.querySelectorAll(Ot),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(Ce)!==Re&&(zt(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),ht(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return St.get(e)}(n);if(void 0===r)return"continue";var i=e.names.get(r),a=t.getGroup(n);if(void 0===i||0===a.length)return"continue";var l="".concat(Ce,".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(Ee)},i=0;i<n;i++)r(i);return o}(o)}))}return e.registerId=function(e){return Rt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(v(v({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Vt(n):t?new Mt(n):new It(n)}(this.options),new wt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Rt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Rt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Rt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_t=/&/g,Nt=/^\s*\/\/.*$/gm;function Lt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Lt(e.children,t)),e}))}var $t=new Tt,jt=function(e){var t,n,o,r=void 0===e?De:e,i=r.options,a=void 0===i?De:i,l=r.plugins,s=void 0===l?Ve:l,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===P&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(_t,n).replace(o,c))})),a.prefix&&u.push(xe),u.push(we);var d=function(e,r,i,l){void 0===r&&(r=""),void 0===i&&(i=""),void 0===l&&(l="&"),t=l,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(Nt,""),c=pe(i||r?"".concat(i," ").concat(r," { ").concat(s," }"):s);a.namespace&&(c=Lt(c,a.namespace));var d,f=[];return ye(c,function(e){var t=G(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}(u.concat((d=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),f};return d.hash=s.length?s.reduce((function(e,t){return t.name||yt(15),Be(e,t.name)}),5381).toString():"",d}(),Ht=r.createContext({shouldForwardProp:void 0,styleSheet:$t,stylis:jt});function Gt(){return c(Ht)}Ht.Consumer,r.createContext(void 0);var Bt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=jt);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ht(this,(function(){throw yt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=jt),this.name+e.hash},e}(),qt=function(e){return e>="A"&&e<="Z"};function Ut(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qt(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var Wt=function(e){return null==e||!1===e||""===e},Yt=function(e){var t,n,o=[];for(var r in e){var i=e[r];e.hasOwnProperty(r)&&!Wt(i)&&(Array.isArray(i)&&i.isCss||ut(i)?o.push("".concat(Ut(r),":"),i,";"):gt(i)?o.push.apply(o,b(b(["".concat(r," {")],Yt(i),!1),["}"],!1)):o.push("".concat(Ut(r),": ").concat((t=r,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Se||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function Xt(e,t,n,o){if(Wt(e))return[];if(dt(e))return[".".concat(e.styledComponentId)];if(ut(e)){if(!ut(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var r=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof Bt||gt(r)||null===r||console.error("".concat(We(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Xt(r,t,n,o)}var i;return e instanceof Bt?n?(e.inject(n,o),[e.getName(o)]):[e]:gt(e)?Yt(e):Array.isArray(e)?Array.prototype.concat.apply(Ve,e.map((function(e){return Xt(e,t,n,o)}))):[e.toString()]}var Kt=qe(Oe),Jt=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(ut(n)&&!dt(n))return!1}return!0}(e),this.componentId=t,this.baseHash=Be(Kt,t),this.baseStyle=n,Tt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ft(o,this.staticRulesId);else{var r=pt(Xt(this.rules,e,t,n)),i=He(Be(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=n(r,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}o=ft(o,i),this.staticRulesId=i}else{for(var l=Be(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=Be(l,u));else if(u){var d=pt(Xt(u,e,t,n));l=Be(l,d+c),s+=d}}if(s){var f=He(l>>>0);t.hasNameForId(this.componentId,f)||t.insertRules(this.componentId,f,n(s,".".concat(f),void 0,this.componentId)),o=ft(o,f)}}return o},e}(),Zt=r.createContext(void 0);function Qt(e){var t=r.useContext(Zt),n=i((function(){return function(e,t){if(!e)throw yt(14);if(ut(e)){var n=e(t);if("production"!==process.env.NODE_ENV&&(null===n||Array.isArray(n)||"object"!=typeof n))throw yt(7);return n}if(Array.isArray(e)||"object"!=typeof e)throw yt(8);return t?v(v({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?r.createElement(Zt.Provider,{value:n},e.children):null}Zt.Consumer;var en={},tn=new Set;function nn(e,t,n){var o=dt(e),i=e,a=!Ye(e),c=t.attrs,u=void 0===c?Ve:c,d=t.componentId,f=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Ne(e);en[n]=(en[n]||0)+1;var o="".concat(n,"-").concat(Ue(Oe+n+en[n]));return t?"".concat(t,"-").concat(o):o}(t.displayName,t.parentComponentId):d,p=t.displayName,g=void 0===p?function(e){return Ye(e)?"styled.".concat(e):"Styled(".concat(We(e),")")}(e):p,m=t.displayName&&t.componentId?"".concat(Ne(t.displayName),"-").concat(t.componentId):t.componentId||f,h=o&&i.attrs?i.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(o&&i.shouldForwardProp){var y=i.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;b=function(e,t){return y(e,t)&&w(e,t)}}else b=y}var S=new Jt(n,m,o?i.componentStyle:void 0);function C(e,t){return function(e,t,n){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,f=r.useContext(Zt),p=Gt(),g=e.shouldForwardProp||p.shouldForwardProp;"production"!==process.env.NODE_ENV&&l(u);var m=function(e,t,n){return void 0===n&&(n=De),e.theme!==n.theme&&e.theme||t||n.theme}(t,f,a)||De,h=function(e,t,n){for(var o,r=v(v({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=ut(o=e[i])?o(r):o;for(var l in a)r[l]="className"===l?ft(r[l],a[l]):"style"===l?v(v({},r[l]),a[l]):a[l]}return t.className&&(r.className=ft(r.className,t.className)),r}(o,t,m),b=h.as||d,y={};for(var w in h)void 0===h[w]||"$"===w[0]||"as"===w||"theme"===w&&h.theme===m||("forwardedAs"===w?y.as=h.forwardedAs:g&&!g(w,b)||(y[w]=h[w],g||"development"!==process.env.NODE_ENV||x(w)||tn.has(w)||!Ae.has(b)||(tn.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 S=function(e,t){var n=Gt(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&l(o),o}(i,h);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=ft(c,u);return S&&(C+=" "+S),h.className&&(C+=" "+h.className),y[Ye(b)&&!Ae.has(b)?"class":"className"]=C,y.ref=n,s(b,y)}(R,e,t)}C.displayName=g;var R=r.forwardRef(C);return R.attrs=h,R.componentStyle=S,R.displayName=g,R.shouldForwardProp=b,R.foldedComponentIds=o?ft(i.foldedComponentIds,i.styledComponentId):"",R.styledComponentId=m,R.target=o?i.target:e,Object.defineProperty(R,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)mt(e,r[o],!0);return e}({},i.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Ie(g,m),R.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(i,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),o=!0,n={}}}}(g,m)),ht(R,(function(){return".".concat(R.styledComponentId)})),a&&ct(R,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),R}function on(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var rn=function(e){return Object.assign(e,{isCss:!0})};function an(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(ut(e)||gt(e))return rn(Xt(on(Ve,b([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?Xt(o):rn(Xt(on(o,t)))}function ln(e,t,n){if(void 0===n&&(n=De),!t)throw yt(1,t);var o=function(o){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];return e(t,n,an.apply(void 0,b([o],r,!1)))};return o.attrs=function(o){return ln(e,t,v(v({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return ln(e,t,v(v({},n),o))},o}var sn=function(e){return ln(nn,e)},cn=sn;function un(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=pt(an.apply(void 0,b([e],t,!1))),r=Ue(o);return new Bt(r,o)}Ae.forEach((function(e){cn[e]=sn(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 dn="__sc-".concat(Ce,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[dn]||(window[dn]=0),1===window[dn]&&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[dn]+=1);const fn=cn.div`
|
|
194
2
|
color: var(--color--grey-dark);
|
|
195
3
|
font-weight: var(--font-weight--bold);
|
|
196
4
|
|
|
@@ -220,59 +28,59 @@ small {
|
|
|
220
28
|
h6 {
|
|
221
29
|
font-size: 0.95rem;
|
|
222
30
|
}
|
|
223
|
-
`;function bn({children:e,as:t}){return t?f(vn,{children:f(t,{children:e})}):null}const yn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",children:f("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"})}),wn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"question-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"})}),xn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"})}),Sn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"})}),Cn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"plus-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"})}),Rn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"ellipsis-h",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"})}),kn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-down",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M444.5 133.5L234.5 343.5c-4.7 4.7-12.3 4.7-17 0L3.5 133.5C-1.2 128.6-1.2 120.9 3.5 116l22.3-22.3c4.7-4.7 12.3-4.7 17 0L224 278.1l180.2-180.2c4.7-4.7 12.3-4.7 17 0l22.3 22.3c4.7 4.8 4.7 12.5-.1 17.2z"})}),On=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"user-regular",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"})}),En=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-left",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"})}),Pn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-right",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})}),zn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"file-arrow-down",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:f("path",{fill:"currentColor",d:"M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"})}),Fn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"trash-can",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z"})}),Mn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"xmark",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"})}),In=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"clock",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"})}),Vn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"file-upload",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512",children:f("path",{fill:"currentColor",d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm65.18 216.01H224v80c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-80H94.82c-14.28 0-21.41-17.29-11.27-27.36l96.42-95.7c6.65-6.61 17.39-6.61 24.04 0l96.42 95.7c10.15 10.07 3.03 27.36-11.25 27.36zM377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9z"})}),Dn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"lock",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:f("path",{fill:"currentColor",d:"M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"})}),An=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"})}),Tn=f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"arrow-up-right-from-square",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"})}),_n={"fa/exclamation-triangle-solid":yn,"fa/question-circle-regular":wn,"fa/check-circle-solid":xn,"fa/check-solid":Sn,"fa/plus-circle-solid":Cn,"fa/ellipsis-h-solid":Rn,"fa/chevron-down-solid":kn,"fa/chevron-up-solid":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"chevron-up",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"})}),"fa/chevron-left-solid":En,"fa/chevron-right-solid":Pn,"fa/user-regular":On,"fa/file-arrow-down-solid":zn,"fa/trash-can-regular":Fn,"fa/xmark":Mn,"fa/clock":In,"fa/file-upload-solid":Vn,"fa/lock-solid":Dn,"fa/info-circle-solid":An,"fa/arrow-up-right-from-square-solid":Tn,"fa/file-excel-regular":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"file-excel",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M48 448V64c0-8.8 7.2-16 16-16H224v80c0 17.7 14.3 32 32 32h80V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V154.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0H64zm90.9 233.3c-8.1-10.5-23.2-12.3-33.7-4.2s-12.3 23.2-4.2 33.7L161.6 320l-44.5 57.3c-8.1 10.5-6.3 25.5 4.2 33.7s25.5 6.3 33.7-4.2L192 359.1l37.1 47.6c8.1 10.5 23.2 12.3 33.7 4.2s12.3-23.2 4.2-33.7L222.4 320l44.5-57.3c8.1-10.5 6.3-25.5-4.2-33.7s-25.5-6.3-33.7 4.2L192 280.9l-37.1-47.6z"})}),"fa/circle-solid":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})}),"fa/circle-exclamation-solid":f("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:f("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"})})},Nn={xsmall:sn`
|
|
31
|
+
`;function pn({children:t,as:n}){return n?e(fn,{children:e(n,{children:t})}):null}const gn=e("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("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"})}),mn=e("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("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"})}),hn=e("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("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"})}),vn=e("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("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"})}),bn=e("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("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"})}),yn=e("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("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"})}),wn=e("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("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"})}),xn=e("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("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("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("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("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("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"})}),Rn=e("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("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"})}),kn=e("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("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"})}),On=e("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("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"})}),En=e("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("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"})}),Pn=e("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("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"})}),zn=e("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("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"})}),Fn=e("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("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"})}),Mn=e("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("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"})}),In={"fa/exclamation-triangle-solid":gn,"fa/question-circle-regular":mn,"fa/check-circle-solid":hn,"fa/check-solid":vn,"fa/plus-circle-solid":bn,"fa/ellipsis-h-solid":yn,"fa/chevron-down-solid":wn,"fa/chevron-up-solid":e("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("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":xn,"fa/file-arrow-down-solid":Rn,"fa/trash-can-regular":kn,"fa/xmark":On,"fa/clock":En,"fa/file-upload-solid":Pn,"fa/lock-solid":zn,"fa/info-circle-solid":Fn,"fa/arrow-up-right-from-square-solid":Mn,"fa/file-excel-regular":e("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("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("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("path",{fill:"currentColor",d:"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"})}),"fa/circle-exclamation-solid":e("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("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"})})},Vn={xsmall:an`
|
|
224
32
|
width: 0.6rem;
|
|
225
33
|
height: 0.6rem;
|
|
226
|
-
`,small:
|
|
34
|
+
`,small:an`
|
|
227
35
|
width: 0.8rem;
|
|
228
36
|
height: 0.8rem;
|
|
229
|
-
`,medium:
|
|
37
|
+
`,medium:an`
|
|
230
38
|
width: 1rem;
|
|
231
39
|
height: 1rem;
|
|
232
|
-
`,large:
|
|
40
|
+
`,large:an`
|
|
233
41
|
width: 1.6rem;
|
|
234
42
|
height: 1.6rem;
|
|
235
|
-
`,xlarge:
|
|
43
|
+
`,xlarge:an`
|
|
236
44
|
width: 3rem;
|
|
237
45
|
height: 3rem;
|
|
238
|
-
`},
|
|
46
|
+
`},Dn={default:an``,primary:an`
|
|
239
47
|
color: var(--color--primary);
|
|
240
|
-
`,danger:
|
|
48
|
+
`,danger:an`
|
|
241
49
|
color: var(--color--danger);
|
|
242
|
-
`,warning:
|
|
50
|
+
`,warning:an`
|
|
243
51
|
color: var(--color--warning);
|
|
244
|
-
`,success:
|
|
52
|
+
`,success:an`
|
|
245
53
|
color: var(--color--success);
|
|
246
|
-
`,grey:
|
|
54
|
+
`,grey:an`
|
|
247
55
|
color: var(--color--grey);
|
|
248
|
-
`,green:
|
|
56
|
+
`,green:an`
|
|
249
57
|
color: var(--color--green-dark);
|
|
250
|
-
`}
|
|
58
|
+
`},An=cn.i`
|
|
251
59
|
display: inline-block;
|
|
252
60
|
svg {
|
|
253
61
|
display: block;
|
|
254
62
|
transition: color 0.2s ease-in-out;
|
|
255
63
|
|
|
256
|
-
${({size:e})=>
|
|
257
|
-
${({colour:e})=>
|
|
64
|
+
${({size:e})=>Vn[e||"medium"]}
|
|
65
|
+
${({colour:e})=>Dn[e||"default"]}
|
|
258
66
|
}
|
|
259
|
-
`;function
|
|
67
|
+
`;function Tn({name:t,size:n,colour:o}){return e(An,{size:n,colour:o,children:In[t]})}const _n=cn.div`
|
|
260
68
|
border: 1px solid var(---color--grey-borders);
|
|
261
69
|
width: 100%;
|
|
262
70
|
font-size: 1.5rem;
|
|
263
|
-
`,
|
|
71
|
+
`,Nn=cn.div`
|
|
264
72
|
background-color: white;
|
|
265
73
|
box-shadow: var(--box-shadow--medium);
|
|
266
74
|
border-radius: var(--border-radius--small);
|
|
267
75
|
h3 {
|
|
268
76
|
margin: 0;
|
|
269
77
|
}
|
|
270
|
-
`,
|
|
78
|
+
`,Ln=cn.div`
|
|
271
79
|
padding: var(---spacing--medium) var(--spacing--large);
|
|
272
80
|
border-top: 0.1rem solid var(--color-text);
|
|
273
81
|
background-color: var(--color-bakcground);
|
|
274
82
|
padding: var(--spacing--medium);
|
|
275
|
-
|
|
83
|
+
`,$n=cn.button`
|
|
276
84
|
background-color: transparent;
|
|
277
85
|
border-style: none;
|
|
278
86
|
padding: var(--spacing--medium) var(--spacing--medium);
|
|
@@ -291,7 +99,7 @@ small {
|
|
|
291
99
|
margin-left: auto;
|
|
292
100
|
font-size: var(--font-size--large);
|
|
293
101
|
}
|
|
294
|
-
`;function
|
|
102
|
+
`;function jn({title:n,children:o,open:r=!1}){const[i,a]=u(r);return t(_n,{children:[e(Nn,{children:e(pn,{as:"h3",children:t($n,{type:"button","aria-expanded":i,onClick:()=>a(!i),"aria-controls":"accordion-content",children:[n,t("span",{children:[e(Tn,i?{name:"fa/chevron-up-solid"}:{name:"fa/chevron-down-solid"})," "]})]})})}),e(Ln,{"aria-labelledby":"accordion-button",hidden:!i,role:"region",children:o})]})}const Hn=an`
|
|
295
103
|
position: relative;
|
|
296
104
|
display: inline-flex;
|
|
297
105
|
flex-flow: row nowrap;
|
|
@@ -301,58 +109,58 @@ small {
|
|
|
301
109
|
border-radius: var(--border-radius--medium);
|
|
302
110
|
text-decoration: none;
|
|
303
111
|
white-space: nowrap;
|
|
304
|
-
`,
|
|
112
|
+
`,Gn={medium:an`
|
|
305
113
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
306
114
|
font-size: var(--font-size--medium);
|
|
307
115
|
font-weight: 600;
|
|
308
|
-
`,small:
|
|
116
|
+
`,small:an`
|
|
309
117
|
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
310
118
|
font-size: var(--font-size--small);
|
|
311
119
|
font-weight: 500;
|
|
312
|
-
`,xsmall:
|
|
120
|
+
`,xsmall:an`
|
|
313
121
|
padding: var(--spacing--xxsmall) var(--spacing--xsmall);
|
|
314
122
|
font-size: var(--font-size--xsmall);
|
|
315
123
|
font-weight: 500;
|
|
316
|
-
`,xxsmall:
|
|
124
|
+
`,xxsmall:an`
|
|
317
125
|
padding: var(--spacing--xxxsmall) var(--spacing--xxsmall);
|
|
318
126
|
font-size: var(--font-size--xxsmall);
|
|
319
127
|
font-weight: 500;
|
|
320
|
-
`},
|
|
128
|
+
`},Bn={default:an`
|
|
321
129
|
background-color: transaprent;
|
|
322
130
|
color: var(--color--body);
|
|
323
131
|
border: 1px solid var(--color--grey-line);
|
|
324
|
-
`,danger:
|
|
132
|
+
`,danger:an`
|
|
325
133
|
background-color: var(--color--white);
|
|
326
134
|
color: var(--color--danger);
|
|
327
135
|
border: 1px solid var(--color--danger-light);
|
|
328
|
-
`,warning:
|
|
136
|
+
`,warning:an`
|
|
329
137
|
background-color: var(--color--white);
|
|
330
138
|
color: var(--color--warning);
|
|
331
139
|
border: 1px solid var(--color--warning-light);
|
|
332
|
-
`,grey:
|
|
140
|
+
`,grey:an`
|
|
333
141
|
background-color: var(--color--grey-line);
|
|
334
142
|
color: var(--color--grey-dark);
|
|
335
143
|
border: 1px solid var(--color--grey-line);
|
|
336
|
-
`},
|
|
337
|
-
${
|
|
144
|
+
`},qn=cn.div`
|
|
145
|
+
${Hn}
|
|
338
146
|
|
|
339
|
-
${({size:e})=>
|
|
340
|
-
${({kind:e})=>
|
|
341
|
-
`;function
|
|
147
|
+
${({size:e})=>Gn[e||"medium"]}
|
|
148
|
+
${({kind:e})=>Bn[e||"default"]}
|
|
149
|
+
`;function Un({children:t,...n}){return e(qn,{...n,children:t})}const Wn=cn.hr`
|
|
342
150
|
border: 0;
|
|
343
151
|
border-bottom: 1px solid var(--color--grey-line);
|
|
344
|
-
`;function
|
|
152
|
+
`;function Yn({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 a={mini:"0.8rem",tiny:"1rem",small:"1.2rem",medium:"1.6rem",large:"2rem"}[n],l={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)",a="var(--color--red)",l="var(--color--orange-dark)",s="var(--color--green-dark)";return(()=>{if("traffic-light"===e){const e=Object.entries(n).find((([,e])=>t>=e.min&&t<=e.max))?.[0];return"red"===e||"redLow"===e?a:"orange"===e?l:"green"===e||"greenHigh"===e?s:"#d7d7d7"}return"danger"===e?r:"success"===e?i:"default"===e?o:"#d7d7d7"})()})({kind:r,percentage:Math.round(o),trafficLightRanges:i}),c=l/7,[f,p]=u(0);d((()=>{p(o)}),[o]);const g=(l-c)/2,m=g*Math.PI*2,h=f*m/100;return t("svg",{width:l,height:l,viewBox:`0 0 ${l} ${l}`,children:[e("circle",{fill:"white",stroke:"#d7d7d7",cx:l/2,cy:l/2,r:g,strokeWidth:`${c}px`}),e("circle",{fill:"none",stroke:s,cx:l/2,cy:l/2,r:g,strokeWidth:`${c}px`,transform:`rotate(-90 ${l/2} ${l/2})`,strokeDasharray:`${h}, ${m-h}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),e("text",{fill:"black",fontSize:a,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(v=o,v>=0&&v<=100?`${o}%`:"-")})]});var v}function Xn({size:n=80,strokeWidth:o=8,color:r="#4c3fdd"}){return t("svg",{width:n,height:n,viewBox:"0 0 200 200",color:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("defs",{children:[t("linearGradient",{id:"spinner-secondHalf",children:[e("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),e("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),t("linearGradient",{id:"spinner-firstHalf",children:[e("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),e("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),t("g",{strokeWidth:o,children:[e("path",{stroke:"url(#spinner-secondHalf)",d:`M ${o/2} 100 A ${100-o/2} ${100-o/2} 0 0 1 ${200-o/2} 100`}),e("path",{stroke:"url(#spinner-firstHalf)",d:`M ${200-o/2} 100 A ${100-o/2} ${100-o/2} 0 0 1 ${o/2} 100`}),e("path",{stroke:"currentColor",strokeLinecap:"round",d:`M ${o/2} 100 A ${100-o/2} ${100-o/2} 0 0 1 ${o/2} ${100-o/4}`})]}),e("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}const Kn=cn.div`
|
|
345
153
|
position: absolute;
|
|
346
154
|
left: calc(50% - 40px);
|
|
347
155
|
top: calc(50% - 40px);
|
|
348
|
-
`,
|
|
156
|
+
`,Jn=cn.div`
|
|
349
157
|
position: absolute;
|
|
350
158
|
top: 28px;
|
|
351
159
|
font-size: var(---font-size--small);
|
|
352
160
|
color: black;
|
|
353
161
|
width: 80px;
|
|
354
162
|
text-align: center;
|
|
355
|
-
`;function
|
|
163
|
+
`;function Zn(n){return t(Kn,{children:[e(Xn,{...n}),e(Jn,{children:"Loading"})]})}const Qn=an`
|
|
356
164
|
position: relative;
|
|
357
165
|
transition:
|
|
358
166
|
background-color 0.1s ease,
|
|
@@ -381,15 +189,15 @@ small {
|
|
|
381
189
|
width: 90%;
|
|
382
190
|
max-height: 90%;
|
|
383
191
|
}
|
|
384
|
-
`,
|
|
192
|
+
`,eo=an`
|
|
385
193
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
386
194
|
font-size: 0.9rem;
|
|
387
195
|
font-weight: 600;
|
|
388
|
-
`,
|
|
196
|
+
`,to=an`
|
|
389
197
|
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
390
198
|
font-size: 0.8rem;
|
|
391
199
|
font-weight: 500;
|
|
392
|
-
`,
|
|
200
|
+
`,no=an`
|
|
393
201
|
background-color: var(--color--primary);
|
|
394
202
|
color: var(--color--white);
|
|
395
203
|
border: none;
|
|
@@ -401,7 +209,7 @@ small {
|
|
|
401
209
|
&:disabled {
|
|
402
210
|
background-color: #767676;
|
|
403
211
|
}
|
|
404
|
-
`,
|
|
212
|
+
`,oo=an`
|
|
405
213
|
background-color: var(--color--white);
|
|
406
214
|
color: var(--color--primary);
|
|
407
215
|
border: 1px solid var(--color--primary);
|
|
@@ -416,7 +224,7 @@ small {
|
|
|
416
224
|
color: #767676;
|
|
417
225
|
border-color: #767676;
|
|
418
226
|
}
|
|
419
|
-
`,
|
|
227
|
+
`,ro=an`
|
|
420
228
|
background-color: var(--color--red);
|
|
421
229
|
color: white;
|
|
422
230
|
border: none;
|
|
@@ -428,7 +236,7 @@ small {
|
|
|
428
236
|
&:disabled {
|
|
429
237
|
background-color: #767676;
|
|
430
238
|
}
|
|
431
|
-
`,
|
|
239
|
+
`,io=an`
|
|
432
240
|
background-color: transparent;
|
|
433
241
|
color: var(--color--primary-light);
|
|
434
242
|
border: none;
|
|
@@ -443,7 +251,7 @@ small {
|
|
|
443
251
|
color: #767676;
|
|
444
252
|
border-color: #767676;
|
|
445
253
|
}
|
|
446
|
-
`,
|
|
254
|
+
`,ao=an`
|
|
447
255
|
background-color: var(--color--debug);
|
|
448
256
|
color: var(--color--white);
|
|
449
257
|
border: none;
|
|
@@ -455,24 +263,24 @@ small {
|
|
|
455
263
|
&:disabled {
|
|
456
264
|
background-color: var(--color--debug-very-light);
|
|
457
265
|
}
|
|
458
|
-
`,
|
|
459
|
-
${
|
|
266
|
+
`,lo=cn.a`
|
|
267
|
+
${Qn}
|
|
460
268
|
|
|
461
|
-
${({size:e})=>"small"===e?
|
|
269
|
+
${({size:e})=>"small"===e?to:eo}
|
|
462
270
|
|
|
463
|
-
${({kind:e})=>"secondary"===e?
|
|
464
|
-
`,
|
|
465
|
-
${
|
|
271
|
+
${({kind:e})=>"secondary"===e?oo:"danger"===e?ro:"basic"===e?io:"debug"===e?ao:no}
|
|
272
|
+
`,so=cn.button`
|
|
273
|
+
${Qn}
|
|
466
274
|
|
|
467
|
-
${({size:e})=>"small"===e?
|
|
275
|
+
${({size:e})=>"small"===e?to:eo}
|
|
468
276
|
|
|
469
|
-
${({kind:e})=>"secondary"===e?
|
|
277
|
+
${({kind:e})=>"secondary"===e?oo:"danger"===e?ro:"basic"===e?io:"debug"===e?ao:no}
|
|
470
278
|
|
|
471
|
-
${({$isSubmitting:e})=>e?
|
|
279
|
+
${({$isSubmitting:e})=>e?an`
|
|
472
280
|
padding-left: 33px;
|
|
473
281
|
pointer-events: none;
|
|
474
|
-
`:
|
|
475
|
-
`,
|
|
282
|
+
`:an``}
|
|
283
|
+
`,co=cn.span`
|
|
476
284
|
position: absolute;
|
|
477
285
|
left: 10px;
|
|
478
286
|
top: calc(50% - 8px);
|
|
@@ -482,12 +290,12 @@ small {
|
|
|
482
290
|
width: 16px;
|
|
483
291
|
height: 16px;
|
|
484
292
|
}
|
|
485
|
-
`;function
|
|
293
|
+
`;function uo({children:n,...o}){const{type:r,kind:i}=o;if("link"===r)return e(lo,{...o,children:n});if("submit"===r){const{hideSpinner:r=!1,isSubmitting:a}=o;return t(so,{$isSubmitting:a,...o,children:[a&&!r&&e(co,{children:e(Xn,{strokeWidth:32,color:"primary"===i?"var(--color--white)":"inherit"})}),n]})}return e(so,{...o,children:n})}const fo=cn.div`
|
|
486
294
|
display: flex;
|
|
487
295
|
flex-direction: column;
|
|
488
296
|
align-items: flex-start;
|
|
489
297
|
padding: var(--spacing--medium);
|
|
490
|
-
`,
|
|
298
|
+
`,po=cn.div`
|
|
491
299
|
display: -webkit-box;
|
|
492
300
|
-webkit-line-clamp: ${e=>e.$maxLines};
|
|
493
301
|
-webkit-box-orient: vertical;
|
|
@@ -496,20 +304,20 @@ small {
|
|
|
496
304
|
@media print {
|
|
497
305
|
-webkit-line-clamp: unset;
|
|
498
306
|
}
|
|
499
|
-
`,
|
|
307
|
+
`,go=cn(uo)`
|
|
500
308
|
margin: auto;
|
|
501
309
|
|
|
502
310
|
@media print {
|
|
503
311
|
display: none;
|
|
504
312
|
}
|
|
505
|
-
`;function wo({children:e,maxLines:t=3}){const[o,r]=l(!1),i=n(null),[a,u]=l(!1),d=()=>{const{offsetHeight:e,scrollHeight:t}=i.current||{};u(!!(e&&t&&e<t))};return c((()=>(window.addEventListener("resize",d),()=>window.removeEventListener("resize",d))),[i]),s((()=>{d()}),[]),p(vo,{children:[f(bo,{$maxLines:o?void 0:t,ref:i,children:e}),t&&a&&f(yo,{type:"button",kind:"basic",onClick:()=>r(!o),children:o?"Read less":"Read more"})]})}const xo=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function So({time:e}){const[n,o]=t.useState((()=>new Date)),r=t.useMemo((()=>new Date(e)),[e]);t.useEffect((()=>{o(new Date)}),[e]),t.useEffect((()=>{if(Math.abs(r.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,r]);const i=t.useMemo((()=>{const e=Math.abs(r.getTime()/1e3-n.getTime()/1e3),t=r>n;if(e<60&&!t)return"just now";if(e>604800)return`${r.getDate()} ${xo[r.getMonth()]} ${r.getFullYear()}`;let o;return o=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${o}`:`${o} ago`}),[r,n]);return f("time",{dateTime:r.toISOString(),title:r.toLocaleString(),children:i})}var Co=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},Ro="undefined"!=typeof window&&window.document&&window.document.createElement?e.useLayoutEffect:e.useEffect,ko="top",Oo="bottom",Eo="right",Po="left",zo="auto",Fo=[ko,Oo,Eo,Po],Mo="start",Io="end",Vo="clippingParents",Do="viewport",Ao="popper",To="reference",_o=Fo.reduce((function(e,t){return e.concat([t+"-"+Mo,t+"-"+Io])}),[]),No=[].concat(Fo,[zo]).reduce((function(e,t){return e.concat([t,t+"-"+Mo,t+"-"+Io])}),[]),Lo=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $o(e){return e?(e.nodeName||"").toLowerCase():null}function jo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ho(e){return e instanceof jo(e).Element||e instanceof Element}function Go(e){return e instanceof jo(e).HTMLElement||e instanceof HTMLElement}function Bo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof jo(e).ShadowRoot||e instanceof ShadowRoot)}var qo={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];Go(r)&&$o(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Go(o)&&$o(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Uo(e){return e.split("-")[0]}var Wo=Math.max,Yo=Math.min,Xo=Math.round;function Ko(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Jo(){return!/^((?!chrome|android).)*safari/i.test(Ko())}function Zo(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&Go(e)&&(r=e.offsetWidth>0&&Xo(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Xo(o.height)/e.offsetHeight||1);var a=(Ho(e)?jo(e):window).visualViewport,l=!Jo()&&n,s=(o.left+(l&&a?a.offsetLeft:0))/r,c=(o.top+(l&&a?a.offsetTop:0))/i,u=o.width/r,d=o.height/i;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Qo(e){var t=Zo(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function er(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function tr(e){return jo(e).getComputedStyle(e)}function nr(e){return["table","td","th"].indexOf($o(e))>=0}function or(e){return((Ho(e)?e.ownerDocument:e.document)||window.document).documentElement}function rr(e){return"html"===$o(e)?e:e.assignedSlot||e.parentNode||(Bo(e)?e.host:null)||or(e)}function ir(e){return Go(e)&&"fixed"!==tr(e).position?e.offsetParent:null}function ar(e){for(var t=jo(e),n=ir(e);n&&nr(n)&&"static"===tr(n).position;)n=ir(n);return n&&("html"===$o(n)||"body"===$o(n)&&"static"===tr(n).position)?t:n||function(e){var t=/firefox/i.test(Ko());if(/Trident/i.test(Ko())&&Go(e)&&"fixed"===tr(e).position)return null;var n=rr(e);for(Bo(n)&&(n=n.host);Go(n)&&["html","body"].indexOf($o(n))<0;){var o=tr(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function lr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sr(e,t,n){return Wo(e,Yo(t,n))}function cr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ur(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var dr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Uo(n.placement),s=lr(l),c=[Po,Eo].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return cr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ur(e,Fo))}(r.padding,n),d=Qo(i),f="y"===s?ko:Po,p="y"===s?Oo:Eo,g=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],h=a[s]-n.rects.reference[s],m=ar(i),v=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,b=g/2-h/2,y=u[f],w=v-d[c]-u[p],x=v/2-d[c]/2+b,S=sr(y,x,w),C=s;n.modifiersData[o]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&er(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fr(e){return e.split("-")[1]}var pr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gr(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,g=a.y,h=void 0===g?0:g,m="function"==typeof u?u({x:p,y:h}):{x:p,y:h};p=m.x,h=m.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Po,w=ko,x=window;if(c){var S=ar(n),C="clientHeight",R="clientWidth";if(S===jo(n)&&"static"!==tr(S=or(n)).position&&"absolute"===l&&(C="scrollHeight",R="scrollWidth"),r===ko||(r===Po||r===Eo)&&i===Io)w=Oo,h-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-o.height,h*=s?1:-1;if(r===Po||(r===ko||r===Oo)&&i===Io)y=Eo,p-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[R])-o.width,p*=s?1:-1}var k,O=Object.assign({position:l},c&&pr),E=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Xo(n*r)/r||0,y:Xo(o*r)/r||0}}({x:p,y:h},jo(n)):{x:p,y:h};return p=E.x,h=E.y,s?Object.assign({},O,((k={})[w]=b?"0":"",k[y]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",k)):Object.assign({},O,((t={})[w]=b?h+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var hr={passive:!0};var mr={left:"right",right:"left",bottom:"top",top:"bottom"};function vr(e){return e.replace(/left|right|bottom|top/g,(function(e){return mr[e]}))}var br={start:"end",end:"start"};function yr(e){return e.replace(/start|end/g,(function(e){return br[e]}))}function wr(e){var t=jo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xr(e){return Zo(or(e)).left+wr(e).scrollLeft}function Sr(e){var t=tr(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Cr(e){return["html","body","#document"].indexOf($o(e))>=0?e.ownerDocument.body:Go(e)&&Sr(e)?e:Cr(rr(e))}function Rr(e,t){var n;void 0===t&&(t=[]);var o=Cr(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=jo(o),a=r?[i].concat(i.visualViewport||[],Sr(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(Rr(rr(a)))}function kr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Or(e,t,n){return t===Do?kr(function(e,t){var n=jo(e),o=or(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;var c=Jo();(c||!c&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l+xr(e),y:s}}(e,n)):Ho(t)?function(e,t){var n=Zo(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):kr(function(e){var t,n=or(e),o=wr(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Wo(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Wo(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+xr(e),s=-o.scrollTop;return"rtl"===tr(r||n).direction&&(l+=Wo(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(or(e)))}function Er(e,t,n,o){var r="clippingParents"===t?function(e){var t=Rr(rr(e)),n=["absolute","fixed"].indexOf(tr(e).position)>=0&&Go(e)?ar(e):e;return Ho(n)?t.filter((function(e){return Ho(e)&&er(e,n)&&"body"!==$o(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),a=i[0],l=i.reduce((function(t,n){var r=Or(e,n,o);return t.top=Wo(r.top,t.top),t.right=Yo(r.right,t.right),t.bottom=Yo(r.bottom,t.bottom),t.left=Wo(r.left,t.left),t}),Or(e,a,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Pr(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?Uo(r):null,a=r?fr(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case ko:t={x:l,y:n.y-o.height};break;case Oo:t={x:l,y:n.y+n.height};break;case Eo:t={x:n.x+n.width,y:s};break;case Po:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?lr(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Mo:t[c]=t[c]-(n[u]/2-o[u]/2);break;case Io:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function zr(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,i=n.strategy,a=void 0===i?e.strategy:i,l=n.boundary,s=void 0===l?Vo:l,c=n.rootBoundary,u=void 0===c?Do:c,d=n.elementContext,f=void 0===d?Ao:d,p=n.altBoundary,g=void 0!==p&&p,h=n.padding,m=void 0===h?0:h,v=cr("number"!=typeof m?m:ur(m,Fo)),b=f===Ao?To:Ao,y=e.rects.popper,w=e.elements[g?b:f],x=Er(Ho(w)?w:w.contextElement||or(e.elements.popper),s,u,a),S=Zo(e.elements.reference),C=Pr({reference:S,element:y,strategy:"absolute",placement:r}),R=kr(Object.assign({},y,C)),k=f===Ao?R:S,O={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},E=e.modifiersData.offset;if(f===Ao&&E){var P=E[r];Object.keys(O).forEach((function(e){var t=[Eo,Oo].indexOf(e)>=0?1:-1,n=[ko,Oo].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}function Fr(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?No:s,u=fr(o),d=u?l?_o:_o.filter((function(e){return fr(e)===u})):Fo,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=zr(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[Uo(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Mr={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=void 0===p||p,h=n.allowedAutoPlacements,m=t.options.placement,v=Uo(m),b=s||(v===m||!g?[vr(m)]:function(e){if(Uo(e)===zo)return[];var t=vr(e);return[yr(e),t,yr(t)]}(m)),y=[m].concat(b).reduce((function(e,n){return e.concat(Uo(n)===zo?Fr(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,R=y[0],k=0;k<y.length;k++){var O=y[k],E=Uo(O),P=fr(O)===Mo,z=[ko,Oo].indexOf(E)>=0,F=z?"width":"height",M=zr(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),I=z?P?Eo:Po:P?Oo:ko;w[F]>x[F]&&(I=vr(I));var V=vr(I),D=[];if(i&&D.push(M[E]<=0),l&&D.push(M[I]<=0,M[V]<=0),D.every((function(e){return e}))){R=O,C=!1;break}S.set(O,D)}if(C)for(var A=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return R=t,"break"},T=g?3:1;T>0;T--){if("break"===A(T))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ir(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Vr(e){return[ko,Eo,Oo,Po].some((function(t){return e[t]>=0}))}var Dr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,i=void 0===r?[0,0]:r,a=No.reduce((function(e,n){return e[n]=function(e,t,n){var o=Uo(e),r=[Po,ko].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*r,[Po,Eo].indexOf(o)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=a}};var Ar={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,g=n.tetherOffset,h=void 0===g?0:g,m=zr(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Uo(t.placement),b=fr(t.placement),y=!b,w=lr(v),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,k="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,O="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var z,F="y"===w?ko:Po,M="y"===w?Oo:Eo,I="y"===w?"height":"width",V=S[w],D=V+m[F],A=V-m[M],T=p?-R[I]/2:0,_=b===Mo?C[I]:R[I],N=b===Mo?-R[I]:-C[I],L=t.elements.arrow,$=p&&L?Qo(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=j[F],G=j[M],B=sr(0,C[I],$[I]),q=y?C[I]/2-T-B-H-O.mainAxis:_-B-H-O.mainAxis,U=y?-C[I]/2+T+B+G+O.mainAxis:N+B+G+O.mainAxis,W=t.elements.arrow&&ar(t.elements.arrow),Y=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,X=null!=(z=null==E?void 0:E[w])?z:0,K=V+U-X,J=sr(p?Yo(D,V+q-X-Y):D,V,p?Wo(A,K):A);S[w]=J,P[w]=J-V}if(l){var Z,Q="x"===w?ko:Po,ee="x"===w?Oo:Eo,te=S[x],ne="y"===x?"height":"width",oe=te+m[Q],re=te-m[ee],ie=-1!==[ko,Po].indexOf(v),ae=null!=(Z=null==E?void 0:E[x])?Z:0,le=ie?oe:te-C[ne]-R[ne]-ae+O.altAxis,se=ie?te+C[ne]+R[ne]-ae-O.altAxis:re,ce=p&&ie?function(e,t,n){var o=sr(e,t,n);return o>n?n:o}(le,te,se):sr(p?le:oe,te,p?se:re);S[x]=ce,P[x]=ce-te}t.modifiersData[o]=P}},requiresIfExists:["offset"]};function Tr(e,t,n){void 0===n&&(n=!1);var o=Go(t),r=Go(t)&&function(e){var t=e.getBoundingClientRect(),n=Xo(t.width)/e.offsetWidth||1,o=Xo(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),i=or(t),a=Zo(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==$o(t)||Sr(i))&&(l=function(e){return e!==jo(e)&&Go(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:wr(e);var t}(t)),Go(t)?((s=Zo(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=xr(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function _r(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Nr={placement:"bottom",modifiers:[],strategy:"absolute"};function Lr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function $r(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Nr:r;return function(e,t,n){void 0===n&&(n=i);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Nr,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},i,l.options,r),l.scrollParents={reference:Ho(e)?Rr(e):e.contextElement?Rr(e.contextElement):[],popper:Rr(t)};var a,c,f=function(e){var t=_r(e);return Lo.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(o,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:u,options:o}),a=function(){};s.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Lr(t,n)){l.rects={reference:Tr(t,ar(n),"fixed"===l.options.strategy),popper:Qo(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<l.orderedModifiers.length;o++)if(!0!==l.reset){var r=l.orderedModifiers[o],i=r.fn,a=r.options,s=void 0===a?{}:a,d=r.name;"function"==typeof i&&(l=i({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(r())}))}))),a}),destroy:function(){d(),c=!0}};if(!Lr(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var jr=$r({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,a=o.resize,l=void 0===a||a,s=jo(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,hr)})),l&&s.addEventListener("resize",n.update,hr),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,hr)})),l&&s.removeEventListener("resize",n.update,hr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Pr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,c={placement:Uo(t.placement),variation:fr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,gr(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,gr(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},qo,Dr,Mr,Ar,dr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=zr(t,{elementContext:"reference"}),l=zr(t,{altBoundary:!0}),s=Ir(a,o),c=Ir(l,r,i),u=Vr(s),d=Vr(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Hr="undefined"!=typeof Element,Gr="function"==typeof Map,Br="function"==typeof Set,qr="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Ur(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,o,r,i;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(!Ur(e[o],t[o]))return!1;return!0}if(Gr&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return!1;for(i=e.entries();!(o=i.next()).done;)if(!Ur(o.value[1],t.get(o.value[0])))return!1;return!0}if(Br&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(o=i.next()).done;)if(!t.has(o.value[0]))return!1;return!0}if(qr&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;if(Hr&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!Ur(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var Wr=function(e,t){try{return Ur(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},Yr=x(Wr),Xr=[],Kr=function(t,n,o){void 0===o&&(o={});var r=e.useRef(null),i={onFirstUpdate:o.onFirstUpdate,placement:o.placement||"bottom",strategy:o.strategy||"absolute",modifiers:o.modifiers||Xr},a=e.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],s=a[1],c=e.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);h.flushSync((function(){s({styles:Co(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Co(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=e.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Yr(r.current,e)?r.current||e:(r.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),d=e.useRef();return Ro((function(){d.current&&d.current.setOptions(u)}),[u]),Ro((function(){if(null!=t&&null!=n){var e=(o.createPopper||jr)(t,n,u);return d.current=e,function(){e.destroy(),d.current=null}}}),[t,n,o.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const Jr=dn.div`
|
|
313
|
+
`;function mo({children:n,maxLines:o=3}){const[r,i]=u(!1),l=a(null),[s,c]=u(!1),p=()=>{const{offsetHeight:e,scrollHeight:t}=l.current||{};c(!!(e&&t&&e<t))};return f((()=>(window.addEventListener("resize",p),()=>window.removeEventListener("resize",p))),[l]),d((()=>{p()}),[]),t(fo,{children:[e(po,{$maxLines:r?void 0:o,ref:l,children:n}),o&&s&&e(go,{type:"button",kind:"basic",onClick:()=>i(!r),children:r?"Read less":"Read more"})]})}const ho=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function vo({time:t}){const[n,o]=r.useState((()=>new Date)),i=r.useMemo((()=>new Date(t)),[t]);r.useEffect((()=>{o(new Date)}),[t]),r.useEffect((()=>{if(Math.abs(i.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,i]);const a=r.useMemo((()=>{const e=Math.abs(i.getTime()/1e3-n.getTime()/1e3),t=i>n;if(e<60&&!t)return"just now";if(e>604800)return`${i.getDate()} ${ho[i.getMonth()]} ${i.getFullYear()}`;let o;return o=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${o}`:`${o} ago`}),[i,n]);return e("time",{dateTime:i.toISOString(),title:i.toLocaleString(),children:a})}var bo=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},yo="undefined"!=typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,wo="top",xo="bottom",So="right",Co="left",Ro="auto",ko=[wo,xo,So,Co],Oo="start",Eo="end",Po="clippingParents",zo="viewport",Fo="popper",Mo="reference",Io=ko.reduce((function(e,t){return e.concat([t+"-"+Oo,t+"-"+Eo])}),[]),Vo=[].concat(ko,[Ro]).reduce((function(e,t){return e.concat([t,t+"-"+Oo,t+"-"+Eo])}),[]),Do=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ao(e){return e?(e.nodeName||"").toLowerCase():null}function To(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _o(e){return e instanceof To(e).Element||e instanceof Element}function No(e){return e instanceof To(e).HTMLElement||e instanceof HTMLElement}function Lo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof To(e).ShadowRoot||e instanceof ShadowRoot)}var $o={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];No(r)&&Ao(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}),{});No(o)&&Ao(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function jo(e){return e.split("-")[0]}var Ho=Math.max,Go=Math.min,Bo=Math.round;function qo(){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 Uo(){return!/^((?!chrome|android).)*safari/i.test(qo())}function Wo(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,i=1;t&&No(e)&&(r=e.offsetWidth>0&&Bo(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Bo(o.height)/e.offsetHeight||1);var a=(_o(e)?To(e):window).visualViewport,l=!Uo()&&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 Yo(e){var t=Wo(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 Xo(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Lo(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function Ko(e){return To(e).getComputedStyle(e)}function Jo(e){return["table","td","th"].indexOf(Ao(e))>=0}function Zo(e){return((_o(e)?e.ownerDocument:e.document)||window.document).documentElement}function Qo(e){return"html"===Ao(e)?e:e.assignedSlot||e.parentNode||(Lo(e)?e.host:null)||Zo(e)}function er(e){return No(e)&&"fixed"!==Ko(e).position?e.offsetParent:null}function tr(e){for(var t=To(e),n=er(e);n&&Jo(n)&&"static"===Ko(n).position;)n=er(n);return n&&("html"===Ao(n)||"body"===Ao(n)&&"static"===Ko(n).position)?t:n||function(e){var t=/firefox/i.test(qo());if(/Trident/i.test(qo())&&No(e)&&"fixed"===Ko(e).position)return null;var n=Qo(e);for(Lo(n)&&(n=n.host);No(n)&&["html","body"].indexOf(Ao(n))<0;){var o=Ko(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 nr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function or(e,t,n){return Ho(e,Go(t,n))}function rr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ir(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ar={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=jo(n.placement),s=nr(l),c=[Co,So].indexOf(l)>=0?"height":"width";if(i&&a){var u=function(e,t){return rr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ir(e,ko))}(r.padding,n),d=Yo(i),f="y"===s?wo:Co,p="y"===s?xo:So,g=n.rects.reference[c]+n.rects.reference[s]-a[s]-n.rects.popper[c],m=a[s]-n.rects.reference[s],h=tr(i),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,b=g/2-m/2,y=u[f],w=v-d[c]-u[p],x=v/2-d[c]/2+b,S=or(y,x,w),C=s;n.modifiersData[o]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&Xo(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lr(e){return e.split("-")[1]}var sr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cr(e){var t,n=e.popper,o=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,f=a.x,p=void 0===f?0:f,g=a.y,m=void 0===g?0:g,h="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=h.x,m=h.y;var v=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),y=Co,w=wo,x=window;if(c){var S=tr(n),C="clientHeight",R="clientWidth";if(S===To(n)&&"static"!==Ko(S=Zo(n)).position&&"absolute"===l&&(C="scrollHeight",R="scrollWidth"),r===wo||(r===Co||r===So)&&i===Eo)w=xo,m-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-o.height,m*=s?1:-1;if(r===Co||(r===wo||r===xo)&&i===Eo)y=So,p-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[R])-o.width,p*=s?1:-1}var k,O=Object.assign({position:l},c&&sr),E=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Bo(n*r)/r||0,y:Bo(o*r)/r||0}}({x:p,y:m},To(n)):{x:p,y:m};return p=E.x,m=E.y,s?Object.assign({},O,((k={})[w]=b?"0":"",k[y]=v?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",k)):Object.assign({},O,((t={})[w]=b?m+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var ur={passive:!0};var dr={left:"right",right:"left",bottom:"top",top:"bottom"};function fr(e){return e.replace(/left|right|bottom|top/g,(function(e){return dr[e]}))}var pr={start:"end",end:"start"};function gr(e){return e.replace(/start|end/g,(function(e){return pr[e]}))}function mr(e){var t=To(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function hr(e){return Wo(Zo(e)).left+mr(e).scrollLeft}function vr(e){var t=Ko(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function br(e){return["html","body","#document"].indexOf(Ao(e))>=0?e.ownerDocument.body:No(e)&&vr(e)?e:br(Qo(e))}function yr(e,t){var n;void 0===t&&(t=[]);var o=br(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=To(o),a=r?[i].concat(i.visualViewport||[],vr(o)?o:[]):o,l=t.concat(a);return r?l:l.concat(yr(Qo(a)))}function wr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xr(e,t,n){return t===zo?wr(function(e,t){var n=To(e),o=Zo(e),r=n.visualViewport,i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(r){i=r.width,a=r.height;var c=Uo();(c||!c&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:i,height:a,x:l+hr(e),y:s}}(e,n)):_o(t)?function(e,t){var n=Wo(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):wr(function(e){var t,n=Zo(e),o=mr(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Ho(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Ho(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+hr(e),s=-o.scrollTop;return"rtl"===Ko(r||n).direction&&(l+=Ho(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Zo(e)))}function Sr(e,t,n,o){var r="clippingParents"===t?function(e){var t=yr(Qo(e)),n=["absolute","fixed"].indexOf(Ko(e).position)>=0&&No(e)?tr(e):e;return _o(n)?t.filter((function(e){return _o(e)&&Xo(e,n)&&"body"!==Ao(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),a=i[0],l=i.reduce((function(t,n){var r=xr(e,n,o);return t.top=Ho(r.top,t.top),t.right=Go(r.right,t.right),t.bottom=Go(r.bottom,t.bottom),t.left=Ho(r.left,t.left),t}),xr(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 Cr(e){var t,n=e.reference,o=e.element,r=e.placement,i=r?jo(r):null,a=r?lr(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(i){case wo:t={x:l,y:n.y-o.height};break;case xo:t={x:l,y:n.y+n.height};break;case So:t={x:n.x+n.width,y:s};break;case Co:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=i?nr(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Oo:t[c]=t[c]-(n[u]/2-o[u]/2);break;case Eo: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?Po:l,c=n.rootBoundary,u=void 0===c?zo:c,d=n.elementContext,f=void 0===d?Fo:d,p=n.altBoundary,g=void 0!==p&&p,m=n.padding,h=void 0===m?0:m,v=rr("number"!=typeof h?h:ir(h,ko)),b=f===Fo?Mo:Fo,y=e.rects.popper,w=e.elements[g?b:f],x=Sr(_o(w)?w:w.contextElement||Zo(e.elements.popper),s,u,a),S=Wo(e.elements.reference),C=Cr({reference:S,element:y,strategy:"absolute",placement:r}),R=wr(Object.assign({},y,C)),k=f===Fo?R:S,O={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},E=e.modifiersData.offset;if(f===Fo&&E){var P=E[r];Object.keys(O).forEach((function(e){var t=[So,xo].indexOf(e)>=0?1:-1,n=[wo,xo].indexOf(e)>=0?"y":"x";O[e]+=P[n]*t}))}return O}function kr(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?Vo:s,u=lr(o),d=u?l?Io:Io.filter((function(e){return lr(e)===u})):ko,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=Rr(e,{placement:n,boundary:r,rootBoundary:i,padding:a})[jo(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Or={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=void 0===p||p,m=n.allowedAutoPlacements,h=t.options.placement,v=jo(h),b=s||(v===h||!g?[fr(h)]:function(e){if(jo(e)===Ro)return[];var t=fr(e);return[gr(e),t,gr(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(jo(n)===Ro?kr(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:g,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,R=y[0],k=0;k<y.length;k++){var O=y[k],E=jo(O),P=lr(O)===Oo,z=[wo,xo].indexOf(E)>=0,F=z?"width":"height",M=Rr(t,{placement:O,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),I=z?P?So:Co:P?xo:wo;w[F]>x[F]&&(I=fr(I));var V=fr(I),D=[];if(i&&D.push(M[E]<=0),l&&D.push(M[I]<=0,M[V]<=0),D.every((function(e){return e}))){R=O,C=!1;break}S.set(O,D)}if(C)for(var A=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return R=t,"break"},T=g?3:1;T>0;T--){if("break"===A(T))break}t.placement!==R&&(t.modifiersData[o]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Er(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[wo,So,xo,Co].some((function(t){return e[t]>=0}))}var zr={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=Vo.reduce((function(e,n){return e[n]=function(e,t,n){var o=jo(e),r=[Co,wo].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,[Co,So].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 Fr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,p=void 0===f||f,g=n.tetherOffset,m=void 0===g?0:g,h=Rr(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=jo(t.placement),b=lr(t.placement),y=!b,w=nr(v),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,R=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(i){var z,F="y"===w?wo:Co,M="y"===w?xo:So,I="y"===w?"height":"width",V=S[w],D=V+h[F],A=V-h[M],T=p?-R[I]/2:0,_=b===Oo?C[I]:R[I],N=b===Oo?-R[I]:-C[I],L=t.elements.arrow,$=p&&L?Yo(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=j[F],G=j[M],B=or(0,C[I],$[I]),q=y?C[I]/2-T-B-H-O.mainAxis:_-B-H-O.mainAxis,U=y?-C[I]/2+T+B+G+O.mainAxis:N+B+G+O.mainAxis,W=t.elements.arrow&&tr(t.elements.arrow),Y=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,X=null!=(z=null==E?void 0:E[w])?z:0,K=V+U-X,J=or(p?Go(D,V+q-X-Y):D,V,p?Ho(A,K):A);S[w]=J,P[w]=J-V}if(l){var Z,Q="x"===w?wo:Co,ee="x"===w?xo:So,te=S[x],ne="y"===x?"height":"width",oe=te+h[Q],re=te-h[ee],ie=-1!==[wo,Co].indexOf(v),ae=null!=(Z=null==E?void 0:E[x])?Z:0,le=ie?oe:te-C[ne]-R[ne]-ae+O.altAxis,se=ie?te+C[ne]+R[ne]-ae-O.altAxis:re,ce=p&&ie?function(e,t,n){var o=or(e,t,n);return o>n?n:o}(le,te,se):or(p?le:oe,te,p?se:re);S[x]=ce,P[x]=ce-te}t.modifiersData[o]=P}},requiresIfExists:["offset"]};function Mr(e,t,n){void 0===n&&(n=!1);var o=No(t),r=No(t)&&function(e){var t=e.getBoundingClientRect(),n=Bo(t.width)/e.offsetWidth||1,o=Bo(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),i=Zo(t),a=Wo(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==Ao(t)||vr(i))&&(l=function(e){return e!==To(e)&&No(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:mr(e);var t}(t)),No(t)?((s=Wo(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=hr(i))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Ir(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 Vr={placement:"bottom",modifiers:[],strategy:"absolute"};function Dr(){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 Ar(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Vr:r;return function(e,t,n){void 0===n&&(n=i);var r,a,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Vr,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:_o(e)?yr(e):e.contextElement?yr(e.contextElement):[],popper:yr(t)};var a,c,f=function(e){var t=Ir(e);return Do.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(o,l.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=f.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:l,name:t,instance:u,options:o}),a=function(){};s.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Dr(t,n)){l.rects={reference:Mr(t,tr(n),"fixed"===l.options.strategy),popper:Yo(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(!Dr(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 Tr=Ar({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=To(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,ur)})),l&&s.addEventListener("resize",n.update,ur),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ur)})),l&&s.removeEventListener("resize",n.update,ur)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Cr({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:jo(t.placement),variation:lr(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,cr(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,cr(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:{}},$o,zr,Or,Fr,ar,{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=Er(a,o),c=Er(l,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})}}]}),_r="undefined"!=typeof Element,Nr="function"==typeof Map,Lr="function"==typeof Set,$r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function jr(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(!jr(e[o],t[o]))return!1;return!0}if(Nr&&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(!jr(o.value[1],t.get(o.value[0])))return!1;return!0}if(Lr&&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($r&&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(_r&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!jr(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var Hr=S((function(e,t){try{return jr(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Gr=[],Br=function(e,t,n){void 0===n&&(n={});var r=o.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Gr},a=o.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=a[0],s=a[1],c=o.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);m.flushSync((function(){s({styles:bo(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:bo(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=o.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Hr(r.current,e)?r.current||e:(r.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),d=o.useRef();return yo((function(){d.current&&d.current.setOptions(u)}),[u]),yo((function(){if(null!=e&&null!=t){var o=(n.createPopper||Tr)(e,t,u);return d.current=o,function(){o.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const qr=cn.div`
|
|
506
314
|
display: inline-flex;
|
|
507
315
|
position: relative;
|
|
508
316
|
|
|
509
317
|
@media print {
|
|
510
318
|
display: none;
|
|
511
319
|
}
|
|
512
|
-
`,
|
|
320
|
+
`,Ur=cn.div`
|
|
513
321
|
text-align: left;
|
|
514
322
|
position: relative;
|
|
515
323
|
font-size: var(--font-size--xsmall);
|
|
@@ -580,7 +388,7 @@ small {
|
|
|
580
388
|
&[data-show] > .arrow::before {
|
|
581
389
|
visibility: visible;
|
|
582
390
|
}
|
|
583
|
-
`;function
|
|
391
|
+
`;function Wr({children:n,content:o,placement:r="top"}){const[i,a]=u(!1),[l,s]=u(null),[c,f]=u(null),[p,g]=u(null),{styles:m,attributes:h}=Br(l,c,{placement:r,modifiers:[{name:"arrow",options:{element:p}},{name:"offset",options:{offset:[0,5]}}]});let v=null;const b=()=>{v=setTimeout((()=>{a(!0)}),300)},y=()=>{v&&clearTimeout(v),a(!1)};return d((()=>()=>{v&&clearTimeout(v)})),t(qr,{onMouseEnter:b,onMouseLeave:y,onFocus:b,onBlur:y,tabIndex:0,children:[e("div",{ref:s,children:n}),i&&t(Ur,{style:m.popper,"data-show":i,...h.popper,ref:f,children:[e("div",{children:o}),e("span",{ref:g,style:m.arrow,...h.arrow,className:"arrow"})]})]})}function Yr({size:t}){return e(Tn,{colour:"green",name:"fa/check-circle-solid",size:t})}function Xr({size:t}){return e(Tn,{colour:"grey",name:"fa/circle-solid",size:t})}function Kr({size:t}){return e(Tn,{colour:"primary",name:"fa/circle-solid",size:t})}function Jr({size:t}){return e(Xn,{size:{xsmall:12,small:14,medium:16,large:22,xlarge:24}[t],strokeWidth:40})}function Zr({size:t}){return e(Tn,{colour:"warning",name:"fa/circle-exclamation-solid",size:t})}function Qr({size:t}){return e(Tn,{colour:"danger",name:"fa/circle-exclamation-solid",size:t})}const ei=cn.div`
|
|
584
392
|
flex-shrink: 0;
|
|
585
393
|
display: flex;
|
|
586
394
|
align-items: center;
|
|
@@ -590,7 +398,7 @@ small {
|
|
|
590
398
|
background-color: var(--color--white);
|
|
591
399
|
border-radius: 50%;
|
|
592
400
|
}
|
|
593
|
-
`;function
|
|
401
|
+
`;function ti({status:t="uploaded",size:n="medium"}){const o=t.charAt(0).toUpperCase()+t.slice(1),r={uploaded:e(Xr,{size:n}),running:e(Jr,{size:n}),processed:e(Kr,{size:n}),reviewed:e(Yr,{size:n}),warning:e(Zr,{size:n}),failed:e(Qr,{size:n})};return e(Wr,{content:o,children:e(ei,{status:t,"aria-label":o,children:r[t]})})}
|
|
594
402
|
/**
|
|
595
403
|
* table-core
|
|
596
404
|
*
|
|
@@ -600,7 +408,7 @@ small {
|
|
|
600
408
|
* LICENSE.md file in the root directory of this source tree.
|
|
601
409
|
*
|
|
602
410
|
* @license MIT
|
|
603
|
-
*/function si(e,t){return"function"==typeof e?e(t):e}function ci(e,t){return n=>{t.setState((t=>({...t,[e]:si(n,t[e])})))}}function ui(e){return e instanceof Function}function di(e,t,n){let o,r=[];return i=>{let a;n.key&&n.debug&&(a=Date.now());const l=e(i);if(!(l.length!==r.length||l.some(((e,t)=>r[t]!==e))))return o;let s;if(r=l,n.key&&n.debug&&(s=Date.now()),o=t(...l),null==n||null==n.onChange||n.onChange(o),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-a))/100,t=Math.round(100*(Date.now()-s))/100,o=t/16,r=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${r(t,5)} /${r(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*o,120))}deg 100% 31%);`,null==n?void 0:n.key)}return o}}function fi(e,t,n,o){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:o}}const pi="debugHeaders";function gi(e,t,n){var o;let r={id:null!=(o=n.id)?o:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(r),e},getContext:()=>({table:e,header:r,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(r,e)})),r}const hi={createTable:e=>{e.getHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>{var i,a;const l=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],s=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],c=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id))));return mi(t,[...l,...c,...s],e)}),fi(e.options,pi,"getHeaderGroups")),e.getCenterHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>(n=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id)))),mi(t,n,e,"center"))),fi(e.options,pi,"getCenterHeaderGroups")),e.getLeftHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;return mi(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"left")}),fi(e.options,pi,"getLeftHeaderGroups")),e.getRightHeaderGroups=di((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;return mi(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"right")}),fi(e.options,pi,"getRightHeaderGroups")),e.getFooterGroups=di((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getFooterGroups")),e.getLeftFooterGroups=di((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getLeftFooterGroups")),e.getCenterFooterGroups=di((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getCenterFooterGroups")),e.getRightFooterGroups=di((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),fi(e.options,pi,"getRightFooterGroups")),e.getFlatHeaders=di((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getFlatHeaders")),e.getLeftFlatHeaders=di((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getLeftFlatHeaders")),e.getCenterFlatHeaders=di((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getCenterFlatHeaders")),e.getRightFlatHeaders=di((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),fi(e.options,pi,"getRightFlatHeaders")),e.getCenterLeafHeaders=di((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),fi(e.options,pi,"getCenterLeafHeaders")),e.getLeftLeafHeaders=di((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),fi(e.options,pi,"getLeftLeafHeaders")),e.getRightLeafHeaders=di((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),fi(e.options,pi,"getRightLeafHeaders")),e.getLeafHeaders=di((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var o,r,i,a,l,s;return[...null!=(o=null==(r=e[0])?void 0:r.headers)?o:[],...null!=(i=null==(a=t[0])?void 0:a.headers)?i:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),fi(e.options,pi,"getLeafHeaders"))}};function mi(e,t,n,o){var r,i;let a=0;const l=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let s=[];const c=(e,t)=>{const r={depth:t,id:[o,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach((e=>{const a=[...i].reverse()[0];let l,s=!1;if(e.column.depth===r.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),a&&(null==a?void 0:a.column)===l)a.subHeaders.push(e);else{const r=gi(n,l,{id:[o,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${i.filter((e=>e.column===l)).length}`:void 0,depth:t,index:i.length});r.subHeaders.push(e),i.push(r)}r.headers.push(e),e.headerGroup=r})),s.push(r),t>0&&c(i,t-1)},u=t.map(((e,t)=>gi(n,e,{depth:a,index:t})));c(u,a-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,o=[0];e.subHeaders&&e.subHeaders.length?(o=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:r}=e;t+=n,o.push(r)}))):t=1;return n+=Math.min(...o),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(r=null==(i=s[0])?void 0:i.headers)?r:[]),s}const vi=(e,t,n,o,r,i,a)=>{let l={id:t,index:o,original:n,depth:r,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(l._valuesCache[t]=n.accessorFn(l.original,o),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=n.columnDef.getUniqueValues(l.original,o),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=l.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>function(e,t){const n=[],o=e=>{e.forEach((e=>{n.push(e);const r=t(e);null!=r&&r.length&&o(r)}))};return o(e),n}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:di((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,o){const r={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(o),renderValue:()=>{var t;return null!=(t=r.getValue())?t:e.options.renderFallbackValue},getContext:di((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),fi(e.options,"debugCells","cell.getContext"))};return e._features.forEach((o=>{null==o.createCell||o.createCell(r,n,t,e)}),{}),r}(e,l,t,t.id)))),fi(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:di((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),fi(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(l,e)}return l},bi={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},yi=(e,t,n)=>{var o;const r=n.toLowerCase();return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())||null==(o=o.toLowerCase())?void 0:o.includes(r))};yi.autoRemove=e=>zi(e);const wi=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};wi.autoRemove=e=>zi(e);const xi=(e,t,n)=>{var o;return(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.toLowerCase())===(null==n?void 0:n.toLowerCase())};xi.autoRemove=e=>zi(e);const Si=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};Si.autoRemove=e=>zi(e)||!(null!=e&&e.length);const Ci=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));Ci.autoRemove=e=>zi(e)||!(null!=e&&e.length);const Ri=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));Ri.autoRemove=e=>zi(e)||!(null!=e&&e.length);const ki=(e,t,n)=>e.getValue(t)===n;ki.autoRemove=e=>zi(e);const Oi=(e,t,n)=>e.getValue(t)==n;Oi.autoRemove=e=>zi(e);const Ei=(e,t,n)=>{let[o,r]=n;const i=e.getValue(t);return i>=o&&i<=r};Ei.resolveFilterValue=e=>{let[t,n]=e,o="number"!=typeof t?parseFloat(t):t,r="number"!=typeof n?parseFloat(n):n,i=null===t||Number.isNaN(o)?-1/0:o,a=null===n||Number.isNaN(r)?1/0:r;if(i>a){const e=i;i=a,a=e}return[i,a]},Ei.autoRemove=e=>zi(e)||zi(e[0])&&zi(e[1]);const Pi={includesString:yi,includesStringSensitive:wi,equalsString:xi,arrIncludes:Si,arrIncludesAll:Ci,arrIncludesSome:Ri,equals:ki,weakEquals:Oi,inNumberRange:Ei};function zi(e){return null==e||""===e}const Fi={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:ci("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"string"==typeof o?Pi.includesString:"number"==typeof o?Pi.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?Pi.equals:Array.isArray(o)?Pi.arrIncludes:Pi.weakEquals},e.getFilterFn=()=>{var n,o;return ui(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(o=t.options.filterFns)?void 0:o[e.columnDef.filterFn])?n:Pi[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,o,r;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(o=t.options.enableColumnFilters)||o)&&(null==(r=t.options.enableFilters)||r)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().columnFilters)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const o=e.getFilterFn(),r=null==t?void 0:t.find((t=>t.id===e.id)),i=si(n,r?r.value:void 0);var a;if(Mi(o,i,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const l={id:e.id,value:i};var s;return r?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?s:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var o;return null==(o=si(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(Mi(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,o;e.setColumnFilters(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Mi(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const Ii={sum:(e,t,n)=>n.reduce(((t,n)=>{const o=n.getValue(e);return t+("number"==typeof o?o:0)}),0),min:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o>n||void 0===o&&n>=n)&&(o=n)})),o},max:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o<n||void 0===o&&n>=n)&&(o=n)})),o},extent:(e,t,n)=>{let o,r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===o?n>=n&&(o=r=n):(o>n&&(o=n),r<n&&(r=n)))})),[o,r]},mean:(e,t)=>{let n=0,o=0;if(t.forEach((t=>{let r=t.getValue(e);null!=r&&(r=+r)>=r&&(++n,o+=r)})),n)return o/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(o=n,!Array.isArray(o)||!o.every((e=>"number"==typeof e)))return;var o;if(1===n.length)return n[0];const r=Math.floor(n.length/2),i=n.sort(((e,t)=>e-t));return n.length%2!=0?i[r]:(i[r-1]+i[r])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},Vi={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:ci("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,o;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(o=t.options.enableGrouping)||o)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"number"==typeof o?Ii.sum:"[object Date]"===Object.prototype.toString.call(o)?Ii.extent:void 0},e.getAggregationFn=()=>{var n,o;if(!e)throw new Error;return ui(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(o=t.options.aggregationFns)?void 0:o[e.columnDef.aggregationFn])?n:Ii[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,o;e.setGrouping(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const o=t.getColumn(n);return null!=o&&o.columnDef.getGroupingValue?(e._groupingValuesCache[n]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,o)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const Di={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ci("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=di((e=>[ji(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),fi(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=ji(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=ji(t,n);return(null==(o=r[r.length-1])?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=di((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>o=>{let r=[];if(null!=e&&e.length){const t=[...e],n=[...o];for(;n.length&&t.length;){const e=t.shift(),o=n.findIndex((t=>t.id===e));o>-1&&r.push(n.splice(o,1)[0])}r=[...r,...n]}else r=o;return function(e,t,n){if(null==t||!t.length||!n)return e;const o=e.filter((e=>!t.includes(e.id)));if("remove"===n)return o;const r=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...r,...o]}(r,t,n)}),fi(e.options,"debugTable","_getOrderColumnsFn"))}},Ai={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:ci("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const o=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,r,i,a,l,s;return"right"===n?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter((e=>!(null!=o&&o.includes(e)))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter((e=>!(null!=o&&o.includes(e)))),...o]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=o&&o.includes(e)))),...o],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=o&&o.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=o&&o.includes(e)))),right:(null!=(r=null==e?void 0:e.right)?r:[]).filter((e=>!(null!=o&&o.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,o,r;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(o=null!=(r=t.options.enableColumnPinning)?r:t.options.enablePinning)||o)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:o,right:r}=t.getState().columnPinning,i=n.some((e=>null==o?void 0:o.includes(e))),a=n.some((e=>null==r?void 0:r.includes(e)));return i?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();return r?null!=(n=null==(o=t.getState().columnPinning)||null==(o=o[r])?void 0:o.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=di((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.column.id)))}),fi(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=di((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),fi(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=di((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),fi(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,o;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(o=e.initialState)?void 0:o.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const o=e.getState().columnPinning;var r,i;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.left)?void 0:r.length)||(null==(i=o.right)?void 0:i.length))},e.getLeftLeafColumns=di((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),fi(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=di((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),fi(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=di((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.id)))}),fi(e.options,"debugColumns","getCenterLeafColumns"))}},Ti={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},_i={getDefaultColumnDef:()=>Ti,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:ci("columnSizing",e),onColumnSizingInfoChange:ci("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,o,r;const i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Ti.minSize,null!=(o=null!=i?i:e.columnDef.size)?o:Ti.size),null!=(r=e.columnDef.maxSize)?r:Ti.maxSize)},e.getStart=di((e=>[e,ji(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),fi(t.options,"debugColumns","getStart")),e.getAfter=di((e=>[e,ji(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),fi(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...o}=t;return o}))},e.getCanResize=()=>{var n,o;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(o=t.options.enableColumnResizing)||o)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var o;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(o=e.column.getSize())?o:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const o=t.getColumn(e.column.id),r=null==o?void 0:o.getCanResize();return i=>{if(!o||!r)return;if(null==i.persist||i.persist(),Li(i)&&i.touches&&i.touches.length>1)return;const a=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[o.id,o.getSize()]],s=Li(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var o,r;const i="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(o=null==e?void 0:e.startOffset)?o:0))*i,l=Math.max(a/(null!=(r=null==e?void 0:e.startSize)?r:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset:a,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),f=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},p=n||"undefined"!=typeof document?document:null,g={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",g.moveHandler),null==p||p.removeEventListener("mouseup",g.upHandler),f(e.clientX)}},h={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",h.moveHandler),null==p||p.removeEventListener("touchend",h.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof Ni)return Ni;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return Ni=e,Ni}()&&{passive:!1};Li(i)?(null==p||p.addEventListener("touchmove",h.moveHandler,m),null==p||p.addEventListener("touchend",h.upHandler,m)):(null==p||p.addEventListener("mousemove",g.moveHandler,m),null==p||p.addEventListener("mouseup",g.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:o.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let Ni=null;function Li(e){return"touchstart"===e.type}const $i={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ci("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,o;const r=e.columns;return null==(n=r.length?r.some((e=>e.getIsVisible())):null==(o=t.getState().columnVisibility)?void 0:o[e.id])||n},e.getCanHide=()=>{var n,o;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(o=t.options.enableHiding)||o)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=di((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),fi(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=di((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),fi(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>di((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),fi(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function ji(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Hi={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:ci("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const o=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof o||"number"==typeof o}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,o,r,i;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(o=t.options.enableGlobalFilter)||o)&&(null==(r=t.options.enableFilters)||r)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>Pi.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return ui(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:Pi[o]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Gi={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:ci("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,o,r)=>{const i=o?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],a=r?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...a,e.id,...i]);t.setRowPinning((e=>{var t,o,r,i,a,s;return"bottom"===n?{top:(null!=(r=null==e?void 0:e.top)?r:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=l&&l.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:(null!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:o,enablePinning:r}=t.options;return"function"==typeof o?o(e):null==(n=null!=o?o:r)||n},e.getIsPinned=()=>{const n=[e.id],{top:o,bottom:r}=t.getState().rowPinning,i=n.some((e=>null==o?void 0:o.includes(e))),a=n.some((e=>null==r?void 0:r.includes(e)));return i?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();if(!r)return-1;const i=null==(n=t._getPinnedRows(r))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(o=null==i?void 0:i.indexOf(e.id))?o:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,o;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(o=e.initialState)?void 0:o.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const o=e.getState().rowPinning;var r,i;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.top)?void 0:r.length)||(null==(i=o.bottom)?void 0:i.length))},e._getPinnedRows=di((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,o)=>{var r;return(null==(r=e.options.keepPinnedRows)||r?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:o})))}),fi(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=di((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const o=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!o.has(e.id)))}),fi(e.options,"debugRows","getCenterRows"))}},Bi={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ci("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const o={...n},r=e.getPreGroupedRowModel().flatRows;return t?r.forEach((e=>{e.getCanSelect()&&(o[e.id]=!0)})):r.forEach((e=>{delete o[e.id]})),o}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const o=void 0!==t?t:!e.getIsAllPageRowsSelected(),r={...n};return e.getRowModel().rows.forEach((t=>{qi(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=di((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Ui(e,n):{rows:[],flatRows:[],rowsById:{}}),fi(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=di((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Ui(e,n):{rows:[],flatRows:[],rowsById:{}}),fi(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=di((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Ui(e,n):{rows:[],flatRows:[],rowsById:{}}),fi(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let o=Boolean(t.length&&Object.keys(n).length);return o&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let o=!!t.length;return o&&t.some((e=>!n[e.id]))&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,o)=>{const r=e.getIsSelected();t.setRowSelection((i=>{var a;if(n=void 0!==n?n:!r,e.getCanSelect()&&r===n)return i;const l={...i};return qi(l,e.id,n,null==(a=null==o?void 0:o.selectChildren)||a,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Wi(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Yi(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Yi(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var o;t&&e.toggleSelected(null==(o=n.target)?void 0:o.checked)}}}},qi=(e,t,n,o,r)=>{var i;const a=r.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),a.getCanSelect()&&(e[t]=!0)):delete e[t],o&&null!=(i=a.subRows)&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach((t=>qi(e,t.id,n,o,r)))};function Ui(e,t){const n=e.getState().rowSelection,o=[],r={},i=function(e,t){return e.map((e=>{var t;const a=Wi(e,n);if(a&&(o.push(e),r[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),a)return e})).filter(Boolean)};return{rows:i(t.rows),flatRows:o,rowsById:r}}function Wi(e,t){var n;return null!=(n=t[e.id])&&n}function Yi(e,t,n){var o;if(null==(o=e.subRows)||!o.length)return!1;let r=!0,i=!1;return e.subRows.forEach((e=>{if((!i||r)&&(e.getCanSelect()&&(Wi(e,t)?i=!0:r=!1),e.subRows&&e.subRows.length)){const n=Yi(e,t);"all"===n?i=!0:"some"===n?(i=!0,r=!1):r=!1}})),r?"all":!!i&&"some"}const Xi=/([0-9]+)/gm;function Ki(e,t){return e===t?0:e>t?1:-1}function Ji(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Zi(e,t){const n=e.split(Xi).filter(Boolean),o=t.split(Xi).filter(Boolean);for(;n.length&&o.length;){const e=n.shift(),t=o.shift(),r=parseInt(e,10),i=parseInt(t,10),a=[r,i].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(r)?-1:1;if(r>i)return 1;if(i>r)return-1}}return n.length-o.length}const Qi={alphanumeric:(e,t,n)=>Zi(Ji(e.getValue(n)).toLowerCase(),Ji(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Zi(Ji(e.getValue(n)),Ji(t.getValue(n))),text:(e,t,n)=>Ki(Ji(e.getValue(n)).toLowerCase(),Ji(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Ki(Ji(e.getValue(n)),Ji(t.getValue(n))),datetime:(e,t,n)=>{const o=e.getValue(n),r=t.getValue(n);return o>r?1:o<r?-1:0},basic:(e,t,n)=>Ki(e.getValue(n),t.getValue(n))},ea={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ci("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Qi.datetime;if("string"==typeof n&&(o=!0,n.split(Xi).length>1))return Qi.alphanumeric}return o?Qi.text:Qi.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,o;if(!e)throw new Error;return ui(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(o=t.options.sortingFns)?void 0:o[e.columnDef.sortingFn])?n:Qi[e.columnDef.sortingFn]},e.toggleSorting=(n,o)=>{const r=e.getNextSortingOrder(),i=null!=n;t.setSorting((a=>{const l=null==a?void 0:a.find((t=>t.id===e.id)),s=null==a?void 0:a.findIndex((t=>t.id===e.id));let c,u=[],d=i?n:"desc"===r;var f;(c=null!=a&&a.length&&e.getCanMultiSort()&&o?l?"toggle":"add":null!=a&&a.length&&s!==a.length-1?"replace":l?"toggle":"replace","toggle"===c&&(i||r||(c="remove")),"add"===c)?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(f=t.options.maxMultiSortColCount)?f:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,o;return(null!=(n=null!=(o=e.columnDef.sortDescFirst)?o:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var o,r;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===i||null!=(o=t.options.enableSortingRemoval)&&!o||n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===a?"asc":"desc"):i},e.getCanSort=()=>{var n,o;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(o=t.options.enableSorting)||o)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,o;return null!=(n=null!=(o=e.columnDef.enableMultiSort)?o:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const o=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!o&&(o.desc?"desc":"asc")},e.getSortIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().sorting)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return o=>{n&&(null==o.persist||o.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(o))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,o;e.setSorting(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},ta=[hi,$i,Di,Ai,bi,Fi,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Hi,ea,Vi,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ci("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetExpanded)?o:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,o;e.setExpanded(t?{}:null!=(n=null==(o=e.initialState)?void 0:o.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((o=>{var r;const i=!0===o||!(null==o||!o[e.id]);let a={};if(!0===o?Object.keys(t.getRowModel().rowsById).forEach((e=>{a[e]=!0})):a=o,n=null!=(r=n)?r:!i,!i&&n)return{...a,[e.id]:!0};if(i&&!n){const{[e.id]:t,...n}=a;return n}return o}))},e.getIsExpanded=()=>{var n;const o=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===o||(null==o?void 0:o[e.id]))},e.getCanExpand=()=>{var n,o,r;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(o=t.options.enableExpanding)||o)&&!(null==(r=e.subRows)||!r.length)},e.getIsAllParentsExpanded=()=>{let n=!0,o=e;for(;n&&o.parentId;)o=t.getRow(o.parentId,!0),n=o.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ci("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetPageIndex)?o:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>si(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let o=si(t,n.pageIndex);const r=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,r)),{...n,pageIndex:o}}))},e.resetPageIndex=t=>{var n,o;e.setPageIndex(t?0:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageIndex)?n:0)},e.resetPageSize=t=>{var n,o;e.setPageSize(t?10:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,si(t,e.pageSize)),o=e.pageSize*e.pageIndex,r=Math.floor(o/n);return{...e,pageIndex:r,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var o;let r=si(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=di((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),fi(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Gi,Bi,_i];function na(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...ta,...null!=(t=e._features)?t:[]];let r={_features:o};const i=r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(r))),{});let a={...null!=(n=e.initialState)?n:{}};r._features.forEach((e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a}));const l=[];let s=!1;const c={_features:o,options:{...i,...e},initialState:a,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{r.setState(r.initialState)},setOptions:e=>{const t=si(e,r.options);r.options=(e=>r.options.mergeOptions?r.options.mergeOptions(i,e):{...i,...e})(t)},getState:()=>r.options.state,setState:e=>{null==r.options.onStateChange||r.options.onStateChange(e)},_getRowId:(e,t,n)=>{var o;return null!=(o=null==r.options.getRowId?void 0:r.options.getRowId(e,t,n))?o:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?r.getPrePaginationRowModel():r.getRowModel()).rowsById[e];if(!n&&(n=r.getCoreRowModel().rowsById[e],!n)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return n},_getDefaultColumnDef:di((()=>[r.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),fi(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:di((()=>[r._getColumnDefs()]),(e=>{const t=function(e,n,o){return void 0===o&&(o=0),e.map((e=>{const i=function(e,t,n,o){var r,i;const a={...e._getDefaultColumnDef(),...t},l=a.accessorKey;let s,c=null!=(r=null!=(i=a.id)?i:l?l.replace(".","_"):void 0)?r:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?s=a.accessorFn:l&&(s=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var n;t=null==(n=t)?void 0:n[e],"production"!==process.env.NODE_ENV&&void 0===t&&console.warn(`"${e}" in deeply nested key "${l}" returned undefined.`)}return t}:e=>e[a.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(a.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header");throw new Error}let u={id:`${String(c)}`,accessorFn:s,parent:o,depth:n,columnDef:a,columns:[],getFlatColumns:di((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),fi(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:di((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),fi(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(r,e,o,n),a=e;return i.columns=a.columns?t(a.columns,i,o+1):[],i}))};return t(e)}),fi(e,"debugColumns","getAllColumns")),getAllFlatColumns:di((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),fi(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:di((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),fi(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:di((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),fi(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=r._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(r,c);for(let e=0;e<r._features.length;e++){const t=r._features[e];null==t||null==t.createTable||t.createTable(r)}return r}
|
|
411
|
+
*/function ni(e,t){return"function"==typeof e?e(t):e}function oi(e,t){return n=>{t.setState((t=>({...t,[e]:ni(n,t[e])})))}}function ri(e){return e instanceof Function}function ii(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 ai(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 li="debugHeaders";function si(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 ci={createTable:e=>{e.getHeaderGroups=ii((()=>[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 ui(t,[...l,...c,...s],e)}),ai(e.options,li,"getHeaderGroups")),e.getCenterHeaderGroups=ii((()=>[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)))),ui(t,n,e,"center"))),ai(e.options,li,"getCenterHeaderGroups")),e.getLeftHeaderGroups=ii((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;return ui(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"left")}),ai(e.options,li,"getLeftHeaderGroups")),e.getRightHeaderGroups=ii((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;return ui(t,null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[],e,"right")}),ai(e.options,li,"getRightHeaderGroups")),e.getFooterGroups=ii((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),ai(e.options,li,"getFooterGroups")),e.getLeftFooterGroups=ii((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),ai(e.options,li,"getLeftFooterGroups")),e.getCenterFooterGroups=ii((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),ai(e.options,li,"getCenterFooterGroups")),e.getRightFooterGroups=ii((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),ai(e.options,li,"getRightFooterGroups")),e.getFlatHeaders=ii((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ai(e.options,li,"getFlatHeaders")),e.getLeftFlatHeaders=ii((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ai(e.options,li,"getLeftFlatHeaders")),e.getCenterFlatHeaders=ii((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ai(e.options,li,"getCenterFlatHeaders")),e.getRightFlatHeaders=ii((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ai(e.options,li,"getRightFlatHeaders")),e.getCenterLeafHeaders=ii((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ai(e.options,li,"getCenterLeafHeaders")),e.getLeftLeafHeaders=ii((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ai(e.options,li,"getLeftLeafHeaders")),e.getRightLeafHeaders=ii((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ai(e.options,li,"getRightLeafHeaders")),e.getLeafHeaders=ii((()=>[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()}),ai(e.options,li,"getLeafHeaders"))}};function ui(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=si(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)=>si(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 di=(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:ii((()=>[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:ii((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),ai(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)))),ai(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:ii((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),ai(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},fi={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()}}},pi=(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))};pi.autoRemove=e=>Ci(e);const gi=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};gi.autoRemove=e=>Ci(e);const mi=(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())};mi.autoRemove=e=>Ci(e);const hi=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};hi.autoRemove=e=>Ci(e)||!(null!=e&&e.length);const vi=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));vi.autoRemove=e=>Ci(e)||!(null!=e&&e.length);const bi=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));bi.autoRemove=e=>Ci(e)||!(null!=e&&e.length);const yi=(e,t,n)=>e.getValue(t)===n;yi.autoRemove=e=>Ci(e);const wi=(e,t,n)=>e.getValue(t)==n;wi.autoRemove=e=>Ci(e);const xi=(e,t,n)=>{let[o,r]=n;const i=e.getValue(t);return i>=o&&i<=r};xi.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]},xi.autoRemove=e=>Ci(e)||Ci(e[0])&&Ci(e[1]);const Si={includesString:pi,includesStringSensitive:gi,equalsString:mi,arrIncludes:hi,arrIncludesAll:vi,arrIncludesSome:bi,equals:yi,weakEquals:wi,inNumberRange:xi};function Ci(e){return null==e||""===e}const Ri={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:oi("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?Si.includesString:"number"==typeof o?Si.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?Si.equals:Array.isArray(o)?Si.arrIncludes:Si.weakEquals},e.getFilterFn=()=>{var n,o;return ri(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:Si[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=ni(n,r?r.value:void 0);var a;if(ki(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=ni(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(ki(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 ki(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const Oi={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},Ei={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:oi("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?Oi.sum:"[object Date]"===Object.prototype.toString.call(o)?Oi.extent:void 0},e.getAggregationFn=()=>{var n,o;if(!e)throw new Error;return ri(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:Oi[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:oi("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=ii((e=>[Ai(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),ai(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=Ai(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=Ai(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=ii((()=>[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)}),ai(e.options,"debugTable","_getOrderColumnsFn"))}},zi={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:oi("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=ii((()=>[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)))}),ai(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=ii((()=>[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"})))),ai(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=ii((()=>[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"})))),ai(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=ii((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ai(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=ii((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ai(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=ii((()=>[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)))}),ai(e.options,"debugColumns","getCenterLeafColumns"))}},Fi={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Mi={getDefaultColumnDef:()=>Fi,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:oi("columnSizing",e),onColumnSizingInfoChange:oi("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:Fi.minSize,null!=(o=null!=i?i:e.columnDef.size)?o:Fi.size),null!=(r=e.columnDef.maxSize)?r:Fi.maxSize)},e.getStart=ii((e=>[e,Ai(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),ai(t.options,"debugColumns","getStart")),e.getAfter=ii((e=>[e,Ai(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),ai(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(),Vi(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=Vi(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var o,r;const i="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(o=null==e?void 0:e.startOffset)?o:0))*i,l=Math.max(a/(null!=(r=null==e?void 0:e.startSize)?r:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset:a,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),f=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},p=n||"undefined"!=typeof document?document:null,g={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",g.moveHandler),null==p||p.removeEventListener("mouseup",g.upHandler),f(e.clientX)}},m={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",m.moveHandler),null==p||p.removeEventListener("touchend",m.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),f(null==(t=e.touches[0])?void 0:t.clientX)}},h=!!function(){if("boolean"==typeof Ii)return Ii;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 Ii=e,Ii}()&&{passive:!1};Vi(i)?(null==p||p.addEventListener("touchmove",m.moveHandler,h),null==p||p.addEventListener("touchend",m.upHandler,h)):(null==p||p.addEventListener("mousemove",g.moveHandler,h),null==p||p.addEventListener("mouseup",g.upHandler,h)),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 Ii=null;function Vi(e){return"touchstart"===e.type}const Di={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:oi("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=ii((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),ai(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=ii((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),ai(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>ii((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),ai(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 Ai(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ti={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:oi("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=()=>Si.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return ri(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:Si[o]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},_i={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:oi("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=ii((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})))}),ai(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=ii((()=>[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)))}),ai(e.options,"debugRows","getCenterRows"))}},Ni={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:oi("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=>{Li(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=ii((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?$i(e,n):{rows:[],flatRows:[],rowsById:{}}),ai(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=ii((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?$i(e,n):{rows:[],flatRows:[],rowsById:{}}),ai(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=ii((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?$i(e,n):{rows:[],flatRows:[],rowsById:{}}),ai(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 Li(l,e.id,n,null==(a=null==o?void 0:o.selectChildren)||a,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return ji(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Hi(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Hi(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)}}}},Li=(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=>Li(e,t.id,n,o,r)))};function $i(e,t){const n=e.getState().rowSelection,o=[],r={},i=function(e,t){return e.map((e=>{var t;const a=ji(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 ji(e,t){var n;return null!=(n=t[e.id])&&n}function Hi(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()&&(ji(e,t)?i=!0:r=!1),e.subRows&&e.subRows.length)){const n=Hi(e,t);"all"===n?i=!0:"some"===n?(i=!0,r=!1):r=!1}})),r?"all":!!i&&"some"}const Gi=/([0-9]+)/gm;function Bi(e,t){return e===t?0:e>t?1:-1}function qi(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Ui(e,t){const n=e.split(Gi).filter(Boolean),o=t.split(Gi).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 Wi={alphanumeric:(e,t,n)=>Ui(qi(e.getValue(n)).toLowerCase(),qi(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Ui(qi(e.getValue(n)),qi(t.getValue(n))),text:(e,t,n)=>Bi(qi(e.getValue(n)).toLowerCase(),qi(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Bi(qi(e.getValue(n)),qi(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)=>Bi(e.getValue(n),t.getValue(n))},Yi={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:oi("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 Wi.datetime;if("string"==typeof n&&(o=!0,n.split(Gi).length>1))return Wi.alphanumeric}return o?Wi.text:Wi.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 ri(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:Wi[e.columnDef.sortingFn]},e.toggleSorting=(n,o)=>{const r=e.getNextSortingOrder(),i=null!=n;t.setSorting((a=>{const l=null==a?void 0:a.find((t=>t.id===e.id)),s=null==a?void 0:a.findIndex((t=>t.id===e.id));let c,u=[],d=i?n:"desc"===r;var f;(c=null!=a&&a.length&&e.getCanMultiSort()&&o?l?"toggle":"add":null!=a&&a.length&&s!==a.length-1?"replace":l?"toggle":"replace","toggle"===c&&(i||r||(c="remove")),"add"===c)?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(f=t.options.maxMultiSortColCount)?f:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,o;return(null!=(n=null!=(o=e.columnDef.sortDescFirst)?o:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var o,r;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===i||null!=(o=t.options.enableSortingRemoval)&&!o||n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===a?"asc":"desc"):i},e.getCanSort=()=>{var n,o;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(o=t.options.enableSorting)||o)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,o;return null!=(n=null!=(o=e.columnDef.enableMultiSort)?o:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const o=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!o&&(o.desc?"desc":"asc")},e.getSortIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().sorting)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return o=>{n&&(null==o.persist||o.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(o))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,o;e.setSorting(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Xi=[ci,Di,Pi,zi,fi,Ri,{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()}}},Ti,Yi,Ei,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:oi("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:oi("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=>ni(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=ni(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,ni(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=ni(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=ii((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),ai(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},_i,Ni,Mi];function Ki(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...Xi,...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=ni(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:ii((()=>[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}}),ai(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:ii((()=>[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:ii((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),ai(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:ii((()=>[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]}),ai(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)}),ai(e,"debugColumns","getAllColumns")),getAllFlatColumns:ii((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),ai(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:ii((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),ai(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:ii((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),ai(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}
|
|
604
412
|
/**
|
|
605
413
|
* react-table
|
|
606
414
|
*
|
|
@@ -611,7 +419,7 @@ small {
|
|
|
611
419
|
*
|
|
612
420
|
* @license MIT
|
|
613
421
|
*/
|
|
614
|
-
function
|
|
422
|
+
function Ji(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)?o.createElement(e,t):e:null;var n}const Zi=cn.table`
|
|
615
423
|
width: 100%;
|
|
616
424
|
border-collapse: collapse;
|
|
617
425
|
position: relative;
|
|
@@ -687,7 +495,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
687
495
|
.heading {
|
|
688
496
|
font-size: var(--font-size--medium);
|
|
689
497
|
}
|
|
690
|
-
`,
|
|
498
|
+
`,Qi=cn.div`
|
|
691
499
|
display: flex;
|
|
692
500
|
justify-content: space-between;
|
|
693
501
|
align-items: center;
|
|
@@ -701,7 +509,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
701
509
|
align-items: center;
|
|
702
510
|
gap: var(--spacing--small);
|
|
703
511
|
}
|
|
704
|
-
`,
|
|
512
|
+
`,ea=cn.div`
|
|
705
513
|
display: flex;
|
|
706
514
|
gap: var(--spacing--medium);
|
|
707
515
|
|
|
@@ -733,7 +541,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
733
541
|
pointer-events: none;
|
|
734
542
|
}
|
|
735
543
|
}
|
|
736
|
-
`;function
|
|
544
|
+
`;function ta({data:n,columns:i,pageCount:a,totalCount:l,next:s,previous:c,page:u,pageable:d,pageSize:f}){const[p,g]=r.useState((()=>[...n])),[m,h]=r.useState({pageIndex:0,pageSize:f||10}),v=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=o.useState((()=>({current:Ki(t)}))),[r,i]=o.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}({columns:i,data:p,getCoreRowModel:e=>ii((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},o=function(t,r,i){void 0===r&&(r=0);const a=[];for(let s=0;s<t.length;s++){const c=di(e,e._getRowId(t[s],s,i),t[s],s,r,void 0,null==i?void 0:i.id);var l;n.flatRows.push(c),n.rowsById[c.id]=c,a.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[s],s),null!=(l=c.originalSubRows)&&l.length&&(c.subRows=o(c.originalSubRows,r+1,c)))}return a};return n.rows=o(t),n}),ai(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),pageCount:a,state:{pagination:r.useMemo((()=>({pageIndex:m.pageIndex,pageSize:m.pageSize})),[m.pageIndex,m.pageSize])},onPaginationChange:h,manualPagination:!0});return r.useEffect((()=>{void 0!==u&&v.setPageIndex(Number(u-1))}),[u,v]),r.useEffect((()=>{g(n)}),[n]),t(Zi,{children:[v.getHeaderGroups().map((t=>e("thead",{children:e("tr",{children:t.headers.map((t=>e("th",{key:t.id,colSpan:t.colSpan,style:{width:t.getSize()},children:t.isPlaceholder?null:Ji(t.column.columnDef.header,t.getContext())})))},t.id)}))),e("tbody",{children:v.getRowModel().rows.map((t=>e("tr",{children:t.getVisibleCells().map((t=>e("td",{key:t.id,style:{width:t.column.getSize()},children:Ji(t.column.columnDef.cell,t.getContext())})))},t.id)))}),e("tfoot",{children:t(Qi,{children:[void 0!==l?t("div",{children:["Total: ",l]}):null,d?t(ea,{children:[e(uo,{type:"link",href:v.getCanPreviousPage()?window.location.href:"",disabled:!v.getCanPreviousPage(),children:"<<"}),e(uo,{type:"link",href:v.getCanPreviousPage()&&c?c:"",disabled:!v.getCanPreviousPage(),children:"<"}),e(uo,{type:"link",href:v.getCanNextPage()&&s?s:"",disabled:!v.getCanNextPage(),children:">"}),e(uo,{href:v.getCanNextPage()?`${window.location.href}?page=${String(a)}`:"",type:"link",disabled:!v.getCanNextPage(),children:">>"}),t("span",{children:[e("div",{children:"Page"}),t("strong",{children:[v.getState().pagination.pageIndex+1," of"," ",v.getPageCount()]})]})]}):null]})})]})}const na=cn.div`
|
|
737
545
|
background-color: transparent;
|
|
738
546
|
border-bottom: 2px solid transparent;
|
|
739
547
|
color: var(--color--grey-dark);
|
|
@@ -741,13 +549,13 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
741
549
|
transition: border-bottom 0.2s ease-in-out;
|
|
742
550
|
margin-top: var(--spacing--medium);
|
|
743
551
|
margin-bottom: var(--spacing--medium);
|
|
744
|
-
`,
|
|
552
|
+
`,oa=cn.div`
|
|
745
553
|
display: flex;
|
|
746
554
|
border-bottom: 3px solid var(--color--grey-borders);
|
|
747
555
|
@media print {
|
|
748
556
|
display: none;
|
|
749
557
|
}
|
|
750
|
-
`,
|
|
558
|
+
`,ra=cn.div`
|
|
751
559
|
display: flex;
|
|
752
560
|
width: 100%;
|
|
753
561
|
overflow: auto;
|
|
@@ -756,7 +564,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
756
564
|
&::-webkit-scrollbar {
|
|
757
565
|
display: none;
|
|
758
566
|
}
|
|
759
|
-
`,
|
|
567
|
+
`,ia=cn.button`
|
|
760
568
|
position: relative;
|
|
761
569
|
background-color: transparent;
|
|
762
570
|
border: none;
|
|
@@ -787,7 +595,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
787
595
|
@media print {
|
|
788
596
|
display: none;
|
|
789
597
|
}
|
|
790
|
-
`,
|
|
598
|
+
`,aa=cn.button`
|
|
791
599
|
background: transparent;
|
|
792
600
|
border: 0;
|
|
793
601
|
cursor: pointer;
|
|
@@ -810,7 +618,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
810
618
|
&.left-arrow[disabled] {
|
|
811
619
|
display: none;
|
|
812
620
|
}
|
|
813
|
-
`,
|
|
621
|
+
`,la=cn.div`
|
|
814
622
|
margin-top: var(--spacing--medium);
|
|
815
623
|
background-color: var(--color--white);
|
|
816
624
|
padding: var(--spacing--large);
|
|
@@ -824,7 +632,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
824
632
|
border-radius: 0;
|
|
825
633
|
box-shadow: none;
|
|
826
634
|
}
|
|
827
|
-
`,
|
|
635
|
+
`,sa=cn.section`
|
|
828
636
|
display: ${({$show:e})=>e?"flex":"none"};
|
|
829
637
|
flex-direction: column;
|
|
830
638
|
|
|
@@ -836,46 +644,46 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
836
644
|
page-break-after: avoid;
|
|
837
645
|
}
|
|
838
646
|
}
|
|
839
|
-
`;function
|
|
647
|
+
`;function ca({tabsConfig:n=[],defaultIndex:o=0}){const[r,i]=u(o),l=a(null),s=a([]),[c,p]=u(!1),[g,m]=u({right:!1,left:!0}),h=e=>{if(!l.current)return;const t=s.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},v=e=>{const t=s.current[e];t&&t.focus(),h(e)},b=e=>{const t=n.length,o={ArrowRight:()=>v((r+1)%t),ArrowLeft:()=>v((r-1+t)%t),Home:()=>v(0),End:()=>v(t-1)}[e.key];o&&(e.preventDefault(),o())},y=(e,t)=>{if(!e)return;let n=0;const o=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(o)}),20);m({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return d((()=>{l.current&&p(l.current.offsetWidth<l.current.scrollWidth)}),[]),f((()=>{const e=()=>{if(!l.current)return;const{offsetWidth:e,scrollWidth:t}=l.current;p(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),t(na,{children:[t(oa,{role:"tablist","aria-orientation":"horizontal",children:[c&&t(aa,{onClick:()=>l.current&&y(l.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:g.left,children:[e(Tn,{name:"fa/chevron-left-solid",size:"large"})," "]}),e(ra,{ref:l,children:n.length>0?n.map(((t,n)=>e(ia,{type:"button",onClick:()=>(e=>{h(e),i(e)})(n),role:"tab",ref:e=>{e&&(s.current[n]=e)},"aria-controls":`panel-id-${n}`,"aria-selected":r===n,id:`tab-id-${n}`,onKeyDown:b,onFocus:()=>i(n),tabIndex:r===n?0:-1,children:t.label},`tab-${t.label}`))):e("div",{children:"No tab content to display"})}),c&&e(aa,{onClick:()=>l.current&&y(l.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:g.right,children:e(Tn,{name:"fa/chevron-right-solid",size:"large"})})]}),e(la,{children:n.map(((n,o)=>t(sa,{role:"tabpanel","aria-labelledby":`tab-id-${o}`,id:`panel-id-${o}`,$show:r===o,tabIndex:0,children:[n.label?e(pn,{as:"h2",children:n.label}):null,n.content]},`tabpanel-${n.label}`)))})]})}const ua={small:an`
|
|
840
648
|
font-size: var(--font-size--small);
|
|
841
649
|
line-height: var(--line-height--small);
|
|
842
|
-
`,medium:
|
|
650
|
+
`,medium:an`
|
|
843
651
|
font-size: var(--font-size--medium);
|
|
844
652
|
line-height: var(--line-height--medium);
|
|
845
|
-
`,large:
|
|
653
|
+
`,large:an`
|
|
846
654
|
font-size: var(--font-size--large);
|
|
847
655
|
line-height: var(--line-height--large);
|
|
848
|
-
`},
|
|
656
|
+
`},da=cn.div`
|
|
849
657
|
font-weight: var(--font-weight--bold);
|
|
850
658
|
color: var(--color--grey-dark);
|
|
851
659
|
margin-bottom: var(--spacing--xsmall);
|
|
852
|
-
${({$size:e})=>
|
|
853
|
-
`,
|
|
660
|
+
${({$size:e})=>ua[e||"medium"]}
|
|
661
|
+
`,fa=cn.div`
|
|
854
662
|
font-weight: 400;
|
|
855
|
-
${({$size:e})=>
|
|
856
|
-
`,
|
|
663
|
+
${({$size:e})=>ua[e||"medium"]}
|
|
664
|
+
`,pa=cn.div`
|
|
857
665
|
grid-gap: var(--spacing--medium);
|
|
858
|
-
${({$inline:e})=>e?
|
|
666
|
+
${({$inline:e})=>e?an`
|
|
859
667
|
display: grid;
|
|
860
668
|
grid-template-columns: 1fr 3fr;
|
|
861
669
|
@media (max-width: 768px) {
|
|
862
670
|
grid-template-columns: 1fr;
|
|
863
671
|
}
|
|
864
672
|
`:""}
|
|
865
|
-
`;function
|
|
673
|
+
`;function ga({label:n,content:o,size:r,inline:i=!1}){return t(pa,{$inline:i,children:[n?e(da,{$size:r,children:n}):null,o?e(fa,{$size:r,children:o}):null]})}const ma=un`
|
|
866
674
|
0% {
|
|
867
675
|
background-position: 0% 50%;
|
|
868
676
|
}
|
|
869
677
|
100% {
|
|
870
678
|
background-position: 200% 50%;
|
|
871
679
|
}
|
|
872
|
-
`,
|
|
680
|
+
`,ha=cn.div`
|
|
873
681
|
position: relative;
|
|
874
682
|
width: 100%;
|
|
875
683
|
height: 6px;
|
|
876
684
|
background-color: #d7d7d7;
|
|
877
685
|
border-radius: 3px;
|
|
878
|
-
`,
|
|
686
|
+
`,va=cn.div`
|
|
879
687
|
position: absolute;
|
|
880
688
|
left: 0;
|
|
881
689
|
top: 0;
|
|
@@ -888,15 +696,15 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
888
696
|
background-size: 200% 200%;
|
|
889
697
|
border-radius: 3px;
|
|
890
698
|
transition: width 1s ease;
|
|
891
|
-
animation: ${
|
|
699
|
+
animation: ${ma} 3s ease infinite;
|
|
892
700
|
transform: rotate(180deg);
|
|
893
|
-
`;function
|
|
701
|
+
`;function ba({ariaLabel:t,percentage:n}){return e(ha,{role:"progressbar","aria-label":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,children:e(va,{style:{width:`${n}%`}})})}const ya=cn.div`
|
|
894
702
|
position: fixed;
|
|
895
703
|
bottom: 2rem;
|
|
896
704
|
width: 100%;
|
|
897
705
|
z-index: 2000;
|
|
898
706
|
pointer-events: none;
|
|
899
|
-
`,
|
|
707
|
+
`,wa=cn.div`
|
|
900
708
|
position: absolute;
|
|
901
709
|
top: 0;
|
|
902
710
|
width: 100%;
|
|
@@ -906,7 +714,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
906
714
|
align-items: center;
|
|
907
715
|
margin-top: var(--spacing--small);
|
|
908
716
|
transition: top 0.1s ease;
|
|
909
|
-
`,
|
|
717
|
+
`,xa=cn.div`
|
|
910
718
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
911
719
|
text-align: center;
|
|
912
720
|
border-radius: var(--border-radius--medium);
|
|
@@ -921,31 +729,31 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
921
729
|
margin-right: var(--spacing--small);
|
|
922
730
|
}
|
|
923
731
|
|
|
924
|
-
${e=>"success"===e.level?
|
|
732
|
+
${e=>"success"===e.level?an`
|
|
925
733
|
background-color: var(--color--green-light);
|
|
926
734
|
color: var(--color--dark-blue);
|
|
927
735
|
|
|
928
736
|
svg {
|
|
929
737
|
color: var(--color--dark-blue);
|
|
930
738
|
}
|
|
931
|
-
`:"warning"===e.level?
|
|
739
|
+
`:"warning"===e.level?an`
|
|
932
740
|
background-color: var(--color--amber-tint);
|
|
933
741
|
color: var(--color--dark-blue);
|
|
934
742
|
|
|
935
743
|
svg {
|
|
936
744
|
color: var(--color--amber);
|
|
937
745
|
}
|
|
938
|
-
`:"error"===e.level?
|
|
746
|
+
`:"error"===e.level?an`
|
|
939
747
|
background-color: #ffdadd;
|
|
940
748
|
color: var(--color--dark-blue);
|
|
941
749
|
|
|
942
750
|
svg {
|
|
943
751
|
color: var(--color--red-dark);
|
|
944
752
|
}
|
|
945
|
-
`:
|
|
753
|
+
`:an``}
|
|
946
754
|
|
|
947
755
|
// Fadeout animation
|
|
948
|
-
${({noFade:e})=>e?
|
|
756
|
+
${({noFade:e})=>e?an``:an`
|
|
949
757
|
animation: 5s ease 0s normal forwards 1 fadeout;
|
|
950
758
|
@keyframes fadeout {
|
|
951
759
|
0% {
|
|
@@ -959,7 +767,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
959
767
|
}
|
|
960
768
|
}
|
|
961
769
|
`}
|
|
962
|
-
`;function Pa({message:e}){const t="success"===e.level?f(jn,{name:"fa/check-circle-solid"}):f(jn,{name:"fa/exclamation-triangle-solid"});return p(Ea,"html"in e?{level:e.level,noFade:e.noFade,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[t,f("span",{dangerouslySetInnerHTML:{__html:e.html}})]}:{level:e.level,noFade:e.noFade,role:"alert","aria-live":"error"===e.level?"assertive":"polite",children:[t,e.text]})}function za({messages:e}){return f(ka,{children:f(Oa,{style:{top:`-${55*e.length}px`},children:e.map((e=>f(Pa,{message:e},String(e))))})})}function Fa(){return p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[f("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),f("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),f("defs",{children:f("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function Ma(){return f(Fa,{})}const Ia=dn.details`
|
|
770
|
+
`;function Sa({message:n}){const o="success"===n.level?e(Tn,{name:"fa/check-circle-solid"}):e(Tn,{name:"fa/exclamation-triangle-solid"});return t(xa,"html"in n?{level:n.level,noFade:n.noFade,role:"alert","aria-live":"error"===n.level?"assertive":"polite",children:[o,e("span",{dangerouslySetInnerHTML:{__html:n.html}})]}:{level:n.level,noFade:n.noFade,role:"alert","aria-live":"error"===n.level?"assertive":"polite",children:[o,n.text]})}function Ca({messages:t}){return e(ya,{children:e(wa,{style:{top:`-${55*t.length}px`},children:t.map((t=>e(Sa,{message:t},String(t))))})})}function Ra(){return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[e("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),e("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),e("defs",{children:e("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 ka(){return e(Ra,{})}const Oa=cn.details`
|
|
963
771
|
position: relative;
|
|
964
772
|
margin-left: 10px;
|
|
965
773
|
|
|
@@ -967,7 +775,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
967
775
|
background-color: rgb(255, 255, 255, 0.1);
|
|
968
776
|
opacity: 1;
|
|
969
777
|
}
|
|
970
|
-
`,
|
|
778
|
+
`,Ea=cn.summary`
|
|
971
779
|
list-style: none;
|
|
972
780
|
background-color: rgb(255, 255, 255, 0);
|
|
973
781
|
border-radius: var(--border-radius--medium);
|
|
@@ -999,7 +807,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
999
807
|
margin-right: 5px;
|
|
1000
808
|
flex-shrink: 0;
|
|
1001
809
|
}
|
|
1002
|
-
`,
|
|
810
|
+
`,Pa=cn.div`
|
|
1003
811
|
position: absolute;
|
|
1004
812
|
top: calc(100% + 5px);
|
|
1005
813
|
left: 0;
|
|
@@ -1068,7 +876,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
1068
876
|
}
|
|
1069
877
|
}
|
|
1070
878
|
}
|
|
1071
|
-
`;function
|
|
879
|
+
`;function za({children:n,toggle:o,rightAlign:i}){const[a,l]=r.useState(!1),s=r.useRef(null),c=r.useRef(null);r.useEffect((()=>{a&&setTimeout((()=>s.current?.focus()),1)}),[a]);const u=e=>{c.current&&e.target instanceof Node&&!c.current.contains(e.target)&&l(!1)};return r.useEffect((()=>(document.addEventListener("click",u,!0),()=>{document.removeEventListener("click",u,!0)})),[]),e("div",{ref:c,children:t(Oa,{open:a,children:[e(Ea,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),l(!a)},"aria-expanded":a,children:o}),e(Pa,{className:i?"right":"",ref:s,role:"menu",children:n})]})})}const Fa=cn.header`
|
|
1072
880
|
display: flex;
|
|
1073
881
|
flex-flow: row;
|
|
1074
882
|
align-items: center;
|
|
@@ -1081,29 +889,29 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
1081
889
|
@media print {
|
|
1082
890
|
display: none;
|
|
1083
891
|
}
|
|
1084
|
-
`,
|
|
892
|
+
`,Ma=cn.a`
|
|
1085
893
|
flex-shrink: 0;
|
|
1086
894
|
display: inline-flex;
|
|
1087
|
-
`,
|
|
895
|
+
`,Ia=cn.div`
|
|
1088
896
|
margin-left: auto;
|
|
1089
897
|
display: flex;
|
|
1090
898
|
flex-flow: row;
|
|
1091
899
|
align-items: center;
|
|
1092
900
|
height: 100%;
|
|
1093
|
-
`,
|
|
901
|
+
`,Va=cn.div``,Da=cn.div`
|
|
1094
902
|
display: flex;
|
|
1095
903
|
align-items: center;
|
|
1096
|
-
`;function
|
|
904
|
+
`;function Aa({currentApp:o,apps:r}){const i=e("svg",{viewBox:"0 0 32 32",children:t("g",{children:[e("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"}),e("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"}),e("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"}),e("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"}),e("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"}),e("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"}),e("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"}),e("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"}),e("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 e(za,{toggle:t(n,{children:[i,o&&e(Da,{children:o})]}),children:r})}function Ta({apps:n,currentApp:o,leftSide:r,rightSide:i}){return t(Fa,{children:[e(Ma,{href:"/",children:e(ka,{})}),e(Aa,{apps:n,currentApp:o}),e(Va,{children:r}),e(Ia,{children:i})]})}function _a(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))}}_a('/* 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');_a(':root {\n --color--black: #000000;\n --color--grey-dark: #262626;\n --color--grey: #5c5c5c;\n --color--grey-light: #a8aab7;\n --color--grey-lighter: #f5f5f5;\n --color--grey-lightest: #f3f6fa;\n --color--grey-borders: #d7d7d7;\n --color--grey-line: #e0e0e0;\n --color--grey-hover: #f9f9f9;\n --color--white: #fff;\n\n --color--teal: #007d7e;\n --color--teal-light: #00b0b1;\n --color--teal-tint: #f2fcfc;\n\n --color--red: #d9303e;\n --color--red-dark: #c02330;\n --color--red-light: #f7dbdd;\n --color--red-tint: #ffdddf;\n\n --color--amber: #e9b04d;\n --color--amber-tint: #faecd5;\n --color--orange: #f5a623;\n --color--orange-dark: #eb6f00;\n --color--orange-light: #f2c06f;\n\n --color--green: #29c889;\n --color--green-dark: #1c874c;\n --color--green-light: #afe7d0;\n --color--indigo: #2e1f5e;\n --color--lemon: #ffe60b;\n --color--focus-outline: #fcc726;\n\n --color--dark-blue: #192a3c;\n\n --color--primary: #4c3fdd;\n --color--primary-light: #4c3fdddb;\n --color--primary-verylight: #a8a0f7;\n --color--body: var(--color--dark-blue);\n\n --color--danger: var(--color--red);\n --color--danger-light: var(--color--red-light);\n --color--warning: var(--color--orange);\n --color--warning-light: var(--color--orange-light);\n --color--success: var(--color--green);\n\n --color--dark-blue: #192a3c;\n\n --color--debug: #663399;\n --color--debug-light: #663399db;\n --color--debug-very-light: #6633991a;\n\n /* Fonts */\n --font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;\n\n --font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,\n "Courier New", monospace;\n\n /* Spacing */\n --spacing--xxxsmall: 0.1rem;\n --spacing--xxsmall: 0.2rem;\n --spacing--xsmall: 0.3rem;\n --spacing--small: 0.5rem;\n --spacing--medium: 1rem;\n --spacing--large: 2rem;\n --spacing--xlarge: 4rem;\n\n /* Font sizes */\n --font-size--xxsmall: 0.6rem;\n --font-size--xsmall: 0.75rem;\n --font-size--small: 0.875rem;\n --font-size--medium: 1rem;\n --font-size--large: 1.25rem;\n --font-size--xlarge: 1.5rem;\n --font-size--xxlarge: 2rem;\n --font-size--xxxlarge: 3rem;\n\n /* Line heights */\n --line-height--small: 1.2rem;\n --line-height--medium: 1.4rem;\n --line-height--large: 1.4rem;\n\n /* Font weights */\n --font-weight--thin: 200;\n --font-weight--light: 300;\n --font-weight--regular: 400;\n --font-weight--medium: 500;\n --font-weight--bold: 700;\n\n /* Border radius */\n --border-radius--small: 0.25rem;\n --border-radius--medium: 0.5rem;\n --border-radius--large: 1rem;\n --border-radius--xlarge: 2rem;\n\n /* Box shadows */\n --box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);\n\n /* Breakpoints */\n --breakpoint--small: 480px;\n --breakpoint--medium: 768px;\n --breakpoint--large: 1024px;\n --breakpoint--xlarge: 1200px;\n --breakpoint--xxlarge: 1440px;\n --breakpoint--xxxlarge: 1920px;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n* {\n margin: 0;\n}\n\na {\n color: var(--color--primary);\n text-decoration: none;\n\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n}\n\nbody,\nbutton {\n font-family: var(--font-family--sans-serif);\n font-weight: var(--font-weight--regular);\n font-style: normal;\n}\n\nbody {\n background-color: var(--color--grey-lightest);\n line-height: 1.5;\n -webkit-font-smoothing: antialiased;\n color: var(--color--grey-dark);\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n}\n\nb {\n font-weight: var(--font-weight--bold);\n}\n\n*:focus-visible {\n outline: 3px solid var(--color--focus-outline);\n}\n\ninput,\nbutton,\ntextarea,\nselect {\n font: inherit;\n}\n\ntextarea {\n border: 1px solid var(--color--grey-borders);\n border-radius: var(--border-radius--small);\n background-color: var(--color--grey-lighter);\n padding: var(--spacing--medium);\n}\n\np,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n overflow-wrap: break-word;\n}\n\np {\n font-size: var(--font-size--medium);\n}\n\n#root,\n#__next {\n isolation: isolate;\n}\n\nsmall {\n font-size: 80%;\n color: var(--color--grey);\n}\n');const Na=cn.div`
|
|
1097
905
|
height: 100%;
|
|
1098
906
|
position: absolute;
|
|
1099
907
|
width: 100%;
|
|
1100
908
|
top: 0;
|
|
1101
909
|
left: 0;
|
|
1102
|
-
`,
|
|
910
|
+
`,La=cn.main`
|
|
1103
911
|
width: 100%;
|
|
1104
912
|
height: calc(100% - 136px); // TODO: calculate the height of the header
|
|
1105
913
|
position: relative;
|
|
1106
|
-
`;function
|
|
914
|
+
`;function $a({children:n,header:o,footer:r}){return e(Qt,{theme:h,children:t(Na,{children:[o,e(La,{children:n}),r]})})}const ja=cn.div`
|
|
1107
915
|
display: flex;
|
|
1108
916
|
flex-flow: wrap;
|
|
1109
917
|
justify-content: space-between;
|
|
@@ -1112,12 +920,12 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
1112
920
|
@media print {
|
|
1113
921
|
display: none;
|
|
1114
922
|
}
|
|
1115
|
-
`,
|
|
923
|
+
`,Ha=cn.ul`
|
|
1116
924
|
display: flex;
|
|
1117
925
|
flex-flow: row;
|
|
1118
926
|
width: 100%;
|
|
1119
927
|
flex-wrap: wrap;
|
|
1120
|
-
`,
|
|
928
|
+
`,Ga=cn.li`
|
|
1121
929
|
display: inline-block;
|
|
1122
930
|
color: var(--color--grey);
|
|
1123
931
|
overflow: hidden;
|
|
@@ -1136,7 +944,7 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
1136
944
|
font-weight: 600;
|
|
1137
945
|
}
|
|
1138
946
|
}
|
|
1139
|
-
`;function
|
|
947
|
+
`;function Ba({children:t}){return e(ja,{children:e(Ha,{children:t})})}Ba.Item=Ga;var qa,Ua={exports:{}},Wa={exports:{}},Ya={};var Xa,Ka,Ja,Za,Qa,el,tl,nl,ol,rl,il,al,ll,sl,cl={};
|
|
1140
948
|
/** @license React v16.13.1
|
|
1141
949
|
* react-is.development.js
|
|
1142
950
|
*
|
|
@@ -1144,12 +952,12 @@ function oa(t,n){return t?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
1144
952
|
*
|
|
1145
953
|
* This source code is licensed under the MIT license found in the
|
|
1146
954
|
* LICENSE file in the root directory of this source tree.
|
|
1147
|
-
*/function
|
|
955
|
+
*/function ul(){return Ka||(Ka=1,"production"===process.env.NODE_ENV?Wa.exports=function(){if(qa)return Ya;qa=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:switch(e=e.type){case s:case c:case o:case i:case r:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case g:case p:case a:return e;default:return f}}case n:return f}}}function w(e){return y(e)===c}return Ya.AsyncMode=s,Ya.ConcurrentMode=c,Ya.ContextConsumer=l,Ya.ContextProvider=a,Ya.Element=t,Ya.ForwardRef=u,Ya.Fragment=o,Ya.Lazy=g,Ya.Memo=p,Ya.Portal=n,Ya.Profiler=i,Ya.StrictMode=r,Ya.Suspense=d,Ya.isAsyncMode=function(e){return w(e)||y(e)===s},Ya.isConcurrentMode=w,Ya.isContextConsumer=function(e){return y(e)===l},Ya.isContextProvider=function(e){return y(e)===a},Ya.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ya.isForwardRef=function(e){return y(e)===u},Ya.isFragment=function(e){return y(e)===o},Ya.isLazy=function(e){return y(e)===g},Ya.isMemo=function(e){return y(e)===p},Ya.isPortal=function(e){return y(e)===n},Ya.isProfiler=function(e){return y(e)===i},Ya.isStrictMode=function(e){return y(e)===r},Ya.isSuspense=function(e){return y(e)===d},Ya.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===m)},Ya.typeOf=y,Ya}():Wa.exports=(Xa||(Xa=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var f=e.$$typeof;switch(f){case t:var m=e.type;switch(m){case s:case c:case o:case i:case r:case d:return m;default:var h=m&&m.$$typeof;switch(h){case l:case u:case g:case p:case a:return h;default:return f}}case n:return f}}}var w=s,x=c,S=l,C=a,R=t,k=u,O=o,E=g,P=p,z=n,F=i,M=r,I=d,V=!1;function D(e){return y(e)===c}cl.AsyncMode=w,cl.ConcurrentMode=x,cl.ContextConsumer=S,cl.ContextProvider=C,cl.Element=R,cl.ForwardRef=k,cl.Fragment=O,cl.Lazy=E,cl.Memo=P,cl.Portal=z,cl.Profiler=F,cl.StrictMode=M,cl.Suspense=I,cl.isAsyncMode=function(e){return V||(V=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||y(e)===s},cl.isConcurrentMode=D,cl.isContextConsumer=function(e){return y(e)===l},cl.isContextProvider=function(e){return y(e)===a},cl.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},cl.isForwardRef=function(e){return y(e)===u},cl.isFragment=function(e){return y(e)===o},cl.isLazy=function(e){return y(e)===g},cl.isMemo=function(e){return y(e)===p},cl.isPortal=function(e){return y(e)===n},cl.isProfiler=function(e){return y(e)===i},cl.isStrictMode=function(e){return y(e)===r},cl.isSuspense=function(e){return y(e)===d},cl.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===p||e.$$typeof===a||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===m)},cl.typeOf=y}()),cl)),Wa.exports}
|
|
1148
956
|
/*
|
|
1149
957
|
object-assign
|
|
1150
958
|
(c) Sindre Sorhus
|
|
1151
959
|
@license MIT
|
|
1152
|
-
*/function ml(){if(ol)return nl;ol=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return nl=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))t.call(i,c)&&(l[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(l[a[u]]=i[a[u]])}}return l},nl}function vl(){if(il)return rl;il=1;return rl="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function bl(){return ll?al:(ll=1,al=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var yl=hl();Ja.exports=function(){if(dl)return ul;dl=1;var e=hl(),t=ml(),n=vl(),o=bl(),r=function(){if(cl)return sl;cl=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=vl(),n={},o=bl();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,l,s){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((l||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,l,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+a+" type: "+u.message+(null!=f?f:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},sl=r}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),ul=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:h(a),arrayOf:function(e){return h((function(t,o,r,i,a){if("function"!=typeof e)return new g("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[o];if(!Array.isArray(l))return new g("Invalid "+i+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,r,i,a+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:h((function(e,t,n,o,r){var i=e[t];return l(i)?null:new g("Invalid "+o+" `"+r+"` of type `"+y(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:h((function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new g("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return h((function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||d;return new g("Invalid "+r+" `"+i+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+o+"`, expected instance of `"+a+"`.")}var l;return null}))},node:h((function(e,t,n,o,r){return b(e[t])?null:new g("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return h((function(t,r,i,a,l){if("function"!=typeof e)return new g("Property `"+l+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[r],c=y(s);if("object"!==c)return new g("Invalid "+a+" `"+l+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(o(s,u)){var d=e(s,u,i,a,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?h((function(t,n,o,r,i){for(var a=t[n],l=0;l<e.length;l++)if(p(a,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new g("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),a}return h((function(t,r,i,a,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,l,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&s.push(u.data.expectedType)}return new g("Invalid "+a+" `"+l+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return h((function(t,o,r,i,a){var l=t[o],s=y(l);if("object"!==s)return new g("Invalid "+i+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(r,i,a,c,w(u));var d=u(l,c,r,i,a+"."+c,n);if(d)return d}return null}))},exact:function(e){return h((function(r,i,a,l,s){var c=r[i],u=y(c);if("object"!==u)return new g("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var f in d){var p=e[f];if(o(e,f)&&"function"!=typeof p)return v(a,l,s,f,w(p));if(!p)return new g("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var h=p(c,f,a,l,s+"."+f,n);if(h)return h}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function g(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function h(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,l,c,u,f,p){if(c=c||d,f=f||l,p!==n){if(s){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=c+":"+l;!t[m]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[m]=!0,o++)}}return null==a[l]?r?null===a[l]?new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,l,c,u,f)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function m(e){return h((function(t,n,o,r,i,a){var l=t[n];return y(l)!==e?new g("Invalid "+r+" `"+i+"` of type `"+w(l)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,o,r){return new g((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(r[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return g.prototype=Error.prototype,f.checkPropTypes=r,f.resetWarningCache=r.resetWarningCache,f.PropTypes=f,f},ul}()(yl.isElement,!0)}else Ja.exports=function(){if(pl)return fl;pl=1;var e=vl();function t(){}function n(){}return n.resetWarningCache=t,fl=function(){function o(t,n,o,r,i,a){if(a!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var wl=Ja.exports,xl=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Sl=xl.join(","),Cl="undefined"==typeof Element,Rl=Cl?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,kl=!Cl&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Ol=function e(t,n){var o;void 0===n&&(n=!0);var r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},El=function(e,t,n){if(Ol(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(Sl));return t&&Rl.call(e,Sl)&&o.unshift(e),o=o.filter(n)},Pl=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var a=i.shift();if(!Ol(a,!1))if("SLOT"===a.tagName){var l=a.assignedElements(),s=e(l.length?l:a.children,!0,o);o.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{Rl.call(a,Sl)&&o.filter(a)&&(n||!t.includes(a))&&r.push(a);var c=a.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(a),u=!Ol(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scopeParent:a,candidates:d})}else i.unshift.apply(i,a.children)}}return r},zl=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Fl=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!zl(e)?0:e.tabIndex},Ml=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Il=function(e){return"INPUT"===e.tagName},Vl=function(e){return function(e){return Il(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||kl(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},Dl=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},Al=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=Rl.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Rl.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Dl(e)}else{if("function"==typeof o){for(var i=e;e;){var a=e.parentElement,l=kl(e);if(a&&!a.shadowRoot&&!0===o(a))return Dl(e);e=e.assignedSlot?e.assignedSlot:a||l===e.ownerDocument?a:l.host}e=i}if(function(e){var t,n,o,r,i=e&&kl(e),a=null===(t=i)||void 0===t?void 0:t.host,l=!1;if(i&&i!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!l&&a;){var s,c,u;l=!(null===(c=a=null===(s=i=kl(a))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Tl=function(e,t){return!(t.disabled||Ol(t)||function(e){return Il(e)&&"hidden"===e.type}(t)||Al(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!Rl.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},_l=function(e,t){return!(Vl(t)||Fl(t)<0||!Tl(e,t))},Nl=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Ll=function e(t){var n=[],o=[];return t.forEach((function(t,r){var i=!!t.scopeParent,a=i?t.scopeParent:t,l=function(e,t){var n=Fl(e);return n<0&&t&&!zl(e)?0:n}(a,i),s=i?e(t.candidates):a;0===l?i?n.push.apply(n,s):n.push(a):o.push({documentOrder:r,tabIndex:l,item:t,isScope:i,content:s})})),o.sort(Ml).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},$l=function(e,t){var n;return n=(t=t||{}).getShadowRoot?Pl([e],t.includeContainer,{filter:_l.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Nl}):El(e,t.includeContainer,_l.bind(null,t)),Ll(n)},jl=function(e,t){return(t=t||{}).getShadowRoot?Pl([e],t.includeContainer,{filter:Tl.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):El(e,t.includeContainer,Tl.bind(null,t))},Hl=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Rl.call(e,Sl)&&_l(t,e)},Gl=xl.concat("iframe").join(","),Bl=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Rl.call(e,Gl)&&Tl(t,e)},ql=Object.freeze({__proto__:null,focusable:jl,getTabIndex:Fl,isFocusable:Bl,isTabbable:Hl,tabbable:$l});
|
|
960
|
+
*/function dl(){if(Za)return Ja;Za=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ja=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var i,a,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))t.call(i,c)&&(l[c]=i[c]);if(e){a=e(i);for(var u=0;u<a.length;u++)n.call(i,a[u])&&(l[a[u]]=i[a[u]])}}return l},Ja}function fl(){if(el)return Qa;el=1;return Qa="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function pl(){return nl?tl:(nl=1,tl=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var gl=ul();Ua.exports=function(){if(al)return il;al=1;var e=ul(),t=dl(),n=fl(),o=pl(),r=function(){if(rl)return ol;rl=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=fl(),n={},o=pl();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,i,a,l,s){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((l||"React class")+": "+a+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](i,c,l,a,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+a+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+a+" type: "+u.message+(null!=f?f:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ol=r}(),i=function(){};function a(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),il=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:m(a),arrayOf:function(e){return m((function(t,o,r,i,a){if("function"!=typeof e)return new g("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[o];if(!Array.isArray(l))return new g("Invalid "+i+" `"+a+"` of type `"+y(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,r,i,a+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,o,r){var i=e[t];return l(i)?null:new g("Invalid "+o+" `"+r+"` of type `"+y(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,o,r,i){var a=t[n];return e.isValidElementType(a)?null:new g("Invalid "+r+" `"+i+"` of type `"+y(a)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,o,r,i){if(!(t[n]instanceof e)){var a=e.name||d;return new g("Invalid "+r+" `"+i+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+o+"`, expected instance of `"+a+"`.")}var l;return null}))},node:m((function(e,t,n,o,r){return b(e[t])?null:new g("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,r,i,a,l){if("function"!=typeof e)return new g("Property `"+l+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[r],c=y(s);if("object"!==c)return new g("Invalid "+a+" `"+l+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(o(s,u)){var d=e(s,u,i,a,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,o,r,i){for(var a=t[n],l=0;l<e.length;l++)if(p(a,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new g("Invalid "+r+" `"+i+"` of value `"+String(a)+"` supplied to `"+o+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),a)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),a}return m((function(t,r,i,a,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,i,a,l,n);if(null==u)return null;u.data&&o(u.data,"expectedType")&&s.push(u.data.expectedType)}return new g("Invalid "+a+" `"+l+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,o,r,i,a){var l=t[o],s=y(l);if("object"!==s)return new g("Invalid "+i+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(r,i,a,c,w(u));var d=u(l,c,r,i,a+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(r,i,a,l,s){var c=r[i],u=y(c);if("object"!==u)return new g("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");var d=t({},r[i],e);for(var f in d){var p=e[f];if(o(e,f)&&"function"!=typeof p)return v(a,l,s,f,w(p));if(!p)return new g("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(r[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(c,f,a,l,s+"."+f,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function g(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},o=0;function r(r,a,l,c,u,f,p){if(c=c||d,f=f||l,p!==n){if(s){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!t[h]&&o<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[h]=!0,o++)}}return null==a[l]?r?null===a[l]?new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new g("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(a,l,c,u,f)}var a=r.bind(null,!1);return a.isRequired=r.bind(null,!0),a}function h(e){return m((function(t,n,o,r,i,a){var l=t[n];return y(l)!==e?new g("Invalid "+r+" `"+i+"` of type `"+w(l)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,o,r){return new g((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!b(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!b(r[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return g.prototype=Error.prototype,f.checkPropTypes=r,f.resetWarningCache=r.resetWarningCache,f.PropTypes=f,f},il}()(gl.isElement,!0)}else Ua.exports=function(){if(sl)return ll;sl=1;var e=fl();function t(){}function n(){}return n.resetWarningCache=t,ll=function(){function o(t,n,o,r,i,a){if(a!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function r(){return o}o.isRequired=o;var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var ml=Ua.exports,hl=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],vl=hl.join(","),bl="undefined"==typeof Element,yl=bl?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wl=!bl&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},xl=function e(t,n){var o;void 0===n&&(n=!0);var r=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},Sl=function(e,t,n){if(xl(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(vl));return t&&yl.call(e,vl)&&o.unshift(e),o=o.filter(n)},Cl=function e(t,n,o){for(var r=[],i=Array.from(t);i.length;){var a=i.shift();if(!xl(a,!1))if("SLOT"===a.tagName){var l=a.assignedElements(),s=e(l.length?l:a.children,!0,o);o.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{yl.call(a,vl)&&o.filter(a)&&(n||!t.includes(a))&&r.push(a);var c=a.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(a),u=!xl(c,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,o);o.flatten?r.push.apply(r,d):r.push({scopeParent:a,candidates:d})}else i.unshift.apply(i,a.children)}}return r},Rl=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},kl=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Rl(e)?0:e.tabIndex},Ol=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},El=function(e){return"INPUT"===e.tagName},Pl=function(e){return function(e){return El(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||wl(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},zl=function(e){var t=e.getBoundingClientRect(),n=t.width,o=t.height;return 0===n&&0===o},Fl=function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=yl.call(e,"details>summary:first-of-type")?e.parentElement:e;if(yl.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return zl(e)}else{if("function"==typeof o){for(var i=e;e;){var a=e.parentElement,l=wl(e);if(a&&!a.shadowRoot&&!0===o(a))return zl(e);e=e.assignedSlot?e.assignedSlot:a||l===e.ownerDocument?a:l.host}e=i}if(function(e){var t,n,o,r,i=e&&wl(e),a=null===(t=i)||void 0===t?void 0:t.host,l=!1;if(i&&i!==e)for(l=!!(null!==(n=a)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(a)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!l&&a;){var s,c,u;l=!(null===(c=a=null===(s=i=wl(a))||void 0===s?void 0:s.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Ml=function(e,t){return!(t.disabled||xl(t)||function(e){return El(e)&&"hidden"===e.type}(t)||Fl(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!yl.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t))},Il=function(e,t){return!(Pl(t)||kl(t)<0||!Ml(e,t))},Vl=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Dl=function e(t){var n=[],o=[];return t.forEach((function(t,r){var i=!!t.scopeParent,a=i?t.scopeParent:t,l=function(e,t){var n=kl(e);return n<0&&t&&!Rl(e)?0:n}(a,i),s=i?e(t.candidates):a;0===l?i?n.push.apply(n,s):n.push(a):o.push({documentOrder:r,tabIndex:l,item:t,isScope:i,content:s})})),o.sort(Ol).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},Al=function(e,t){var n;return n=(t=t||{}).getShadowRoot?Cl([e],t.includeContainer,{filter:Il.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Vl}):Sl(e,t.includeContainer,Il.bind(null,t)),Dl(n)},Tl=function(e,t){return(t=t||{}).getShadowRoot?Cl([e],t.includeContainer,{filter:Ml.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Sl(e,t.includeContainer,Ml.bind(null,t))},_l=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==yl.call(e,vl)&&Il(t,e)},Nl=hl.concat("iframe").join(","),Ll=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==yl.call(e,Nl)&&Ml(t,e)},$l=Object.freeze({__proto__:null,focusable:Tl,getTabIndex:kl,isFocusable:Ll,isTabbable:_l,tabbable:Al});
|
|
1153
961
|
/*!
|
|
1154
962
|
* tabbable 6.2.0
|
|
1155
963
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -1158,7 +966,7 @@ object-assign
|
|
|
1158
966
|
* focus-trap 7.5.4
|
|
1159
967
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
1160
968
|
*/
|
|
1161
|
-
function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Wl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ul(Object(n),!0).forEach((function(t){Yl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ul(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Yl(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xl=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},Kl=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},Jl=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Zl=function(e){return Jl(e)&&!e.shiftKey},Ql=function(e){return Jl(e)&&e.shiftKey},es=function(e){return setTimeout(e,0)},ts=function(e,t){var n=-1;return e.every((function(e,o){return!t(e)||(n=o,!1)})),n},ns=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},os=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},rs=[],is=Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,o=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||rs,i=Wl({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Zl,isKeyBackward:Ql},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return a.containerGroups.findIndex((function(t){var o=t.container,r=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||r.find((function(t){return t===e}))}))},c=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!Bl(e,i.tabbableOptions))if(s(o.activeElement)>=0)e=o.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(a.containerGroups=a.containers.map((function(e){var t=$l(e,i.tabbableOptions),n=jl(e,i.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return Hl(e)})),l=n.slice().reverse().find((function(e){return Hl(e)})),s=!!t.find((function(e){return Fl(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:a,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find((function(e){return Hl(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return Hl(e)})):t[r+(o?1:-1)]}}})),a.tabbableGroups=a.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),a.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find((function(e){return e.posTabIndexesFound}))&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==f(document)&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(u()))},g=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||os(n),d();var l=null;if(a.tabbableGroups.length>0){var u=s(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)l=r?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(r){var p=ts(a.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(f.container===t||Bl(t,i.tabbableOptions)&&!Hl(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var g=0===p?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[g];l=Fl(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else Jl(n)||(l=f.nextTabbableNode(t,!1))}else{var m=ts(a.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(f.container===t||Bl(t,i.tabbableOptions)&&!Hl(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(m=u),m>=0){var v=m===a.tabbableGroups.length-1?0:m+1,b=a.tabbableGroups[v];l=Fl(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else Jl(n)||(l=f.nextTabbableNode(t))}}else l=c("fallbackFocus");return l},m=function(e){var t=os(e);s(t,e)>=0||(ns(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate}):ns(i.allowOutsideClick,e)||e.preventDefault())},v=function(e){var t=os(e),n=s(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(a.mostRecentlyFocusedNode)if(Fl(a.mostRecentlyFocusedNode)>0){var l=s(a.mostRecentlyFocusedNode),c=a.containerGroups[l].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===a.mostRecentlyFocusedNode}));d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<c.length&&(o=c[d+1],r=!1):d-1>=0&&(o=c[d-1],r=!1))}}else a.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return Fl(e)>0}))}))||(r=!1);else r=!1;r&&(o=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(o||(a.mostRecentlyFocusedNode||u()))}a.recentNavEvent=void 0},b=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===ns(i.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(i.isKeyForward(e)||i.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(Jl(e)&&e.preventDefault(),p(n))}(e,i.isKeyBackward(e))},y=function(e){var t=os(e);s(t,e)>=0||ns(i.clickOutsideDeactivates,e)||ns(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(a.active)return Xl(r,n),a.delayInitialFocusTimer=i.delayInitialFocus?es((function(){p(u())})):p(u()),o.addEventListener("focusin",v,!0),o.addEventListener("mousedown",m,{capture:!0,passive:!1}),o.addEventListener("touchstart",m,{capture:!0,passive:!1}),o.addEventListener("click",y,{capture:!0,passive:!1}),o.addEventListener("keydown",b,{capture:!0,passive:!1}),n},x=function(){if(a.active)return o.removeEventListener("focusin",v,!0),o.removeEventListener("mousedown",m,!0),o.removeEventListener("touchstart",m,!0),o.removeEventListener("click",y,!0),o.removeEventListener("keydown",b,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===a.mostRecentlyFocusedNode}))}));t&&p(u())})):void 0,C=function(){S&&(S.disconnect(),a.active&&!a.paused&&a.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=l(e,"onActivate"),n=l(e,"onPostActivate"),r=l(e,"checkCanFocusTrap");r||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var i=function(){r&&d(),w(),C(),null==n||n()};return r?(r(a.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!a.active)return this;var t=Wl({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,x(),a.active=!1,a.paused=!1,C(),Kl(r,n);var o=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),u=l(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var d=function(){es((function(){u&&p(g(a.nodeFocusedBeforeActivation)),null==s||s()}))};return u&&c?(c(g(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(a.paused||!a.active)return this;var t=l(e,"onPause"),n=l(e,"onPostPause");return a.paused=!0,null==t||t(),x(),C(),null==n||n(),this},unpause:function(e){if(!a.paused||!a.active)return this;var t=l(e,"onUnpause"),n=l(e,"onPostUnpause");return a.paused=!1,null==t||t(),d(),w(),C(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),a.active&&d(),C(),this}}).updateContainerElements(e),n}}),as=S(is),ls=S(ql);function ss(e){return ss="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ss(e)}function cs(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,gs(o.key),o)}}function us(e,t){return us=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},us(e,t)}function ds(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=ps(e);if(t){var r=ps(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===ss(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return fs(e)}(this,n)}}function fs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ps(e)}function gs(e){var t=function(e,t){if("object"!==ss(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==ss(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ss(t)?t:String(t)}var hs=t,ms=wl,vs=as.createFocusTrap,bs=ls.isFocusable,ys=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&us(e,t)}(i,hs.Component);var t,n,o,r=ds(i);function i(e){var t,n,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=r.call(this,e),n=fs(t),a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,l=n;if("string"==typeof n&&!(l=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(o=gs(o="getNodeForOption"))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,t.handleDeactivate=t.handleDeactivate.bind(fs(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(fs(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(fs(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var l=e.focusTrapOptions;for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=l[s]:t.originalOptions[s]=l[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=i,n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||bs(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll,r=void 0!==o&&o;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();o&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?hs.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===hs.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return hs.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}],n&&cs(t.prototype,n),o&&cs(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(),ws="undefined"==typeof Element?Function:Element;ys.propTypes={active:ms.bool,paused:ms.bool,focusTrapOptions:ms.shape({document:ms.object,onActivate:ms.func,onPostActivate:ms.func,checkCanFocusTrap:ms.func,onPause:ms.func,onPostPause:ms.func,onUnpause:ms.func,onPostUnpause:ms.func,onDeactivate:ms.func,onPostDeactivate:ms.func,checkCanReturnFocus:ms.func,initialFocus:ms.oneOfType([ms.instanceOf(ws),ms.string,ms.bool,ms.func]),fallbackFocus:ms.oneOfType([ms.instanceOf(ws),ms.string,ms.func]),escapeDeactivates:ms.oneOfType([ms.bool,ms.func]),clickOutsideDeactivates:ms.oneOfType([ms.bool,ms.func]),returnFocusOnDeactivate:ms.bool,setReturnFocus:ms.oneOfType([ms.instanceOf(ws),ms.string,ms.bool,ms.func]),allowOutsideClick:ms.oneOfType([ms.bool,ms.func]),preventScroll:ms.bool,tabbableOptions:ms.shape({displayCheck:ms.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:ms.oneOfType([ms.bool,ms.func])}),trapStack:ms.array,isKeyForward:ms.func,isKeyBackward:ms.func}),containerElements:ms.arrayOf(ms.instanceOf(ws)),children:ms.oneOfType([ms.element,ms.instanceOf(ws)])},ys.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:vs};var xs=x(ys);const Ss=pn`
|
|
969
|
+
function jl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Hl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jl(Object(n),!0).forEach((function(t){Gl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gl(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bl=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},ql=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},Ul=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Wl=function(e){return Ul(e)&&!e.shiftKey},Yl=function(e){return Ul(e)&&e.shiftKey},Xl=function(e){return setTimeout(e,0)},Kl=function(e,t){var n=-1;return e.every((function(e,o){return!t(e)||(n=o,!1)})),n},Jl=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},Zl=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Ql=[],es=Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,o=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||Ql,i=Hl({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Wl,isKeyBackward:Yl},t),a={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:i[n||t]},s=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return a.containerGroups.findIndex((function(t){var o=t.container,r=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||r.find((function(t){return t===e}))}))},c=function(e){var t=i[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!Ll(e,i.tabbableOptions))if(s(o.activeElement)>=0)e=o.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(a.containerGroups=a.containers.map((function(e){var t=Al(e,i.tabbableOptions),n=Tl(e,i.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,a=n.find((function(e){return _l(e)})),l=n.slice().reverse().find((function(e){return _l(e)})),s=!!t.find((function(e){return kl(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:a,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find((function(e){return _l(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return _l(e)})):t[r+(o?1:-1)]}}})),a.tabbableGroups=a.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),a.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(a.containerGroups.find((function(e){return e.posTabIndexesFound}))&&a.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},f=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==f(document)&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(u()))},g=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},m=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||Zl(n),d();var l=null;if(a.tabbableGroups.length>0){var u=s(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)l=r?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(r){var p=Kl(a.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(f.container===t||Ll(t,i.tabbableOptions)&&!_l(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var g=0===p?a.tabbableGroups.length-1:p-1,m=a.tabbableGroups[g];l=kl(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode}else Ul(n)||(l=f.nextTabbableNode(t,!1))}else{var h=Kl(a.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(h<0&&(f.container===t||Ll(t,i.tabbableOptions)&&!_l(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(h=u),h>=0){var v=h===a.tabbableGroups.length-1?0:h+1,b=a.tabbableGroups[v];l=kl(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else Ul(n)||(l=f.nextTabbableNode(t))}}else l=c("fallbackFocus");return l},h=function(e){var t=Zl(e);s(t,e)>=0||(Jl(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate}):Jl(i.allowOutsideClick,e)||e.preventDefault())},v=function(e){var t=Zl(e),n=s(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(a.mostRecentlyFocusedNode)if(kl(a.mostRecentlyFocusedNode)>0){var l=s(a.mostRecentlyFocusedNode),c=a.containerGroups[l].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===a.mostRecentlyFocusedNode}));d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<c.length&&(o=c[d+1],r=!1):d-1>=0&&(o=c[d-1],r=!1))}}else a.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return kl(e)>0}))}))||(r=!1);else r=!1;r&&(o=m({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(o||(a.mostRecentlyFocusedNode||u()))}a.recentNavEvent=void 0},b=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===Jl(i.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(i.isKeyForward(e)||i.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];a.recentNavEvent=e;var n=m({event:e,isBackward:t});n&&(Ul(e)&&e.preventDefault(),p(n))}(e,i.isKeyBackward(e))},y=function(e){var t=Zl(e);s(t,e)>=0||Jl(i.clickOutsideDeactivates,e)||Jl(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(a.active)return Bl(r,n),a.delayInitialFocusTimer=i.delayInitialFocus?Xl((function(){p(u())})):p(u()),o.addEventListener("focusin",v,!0),o.addEventListener("mousedown",h,{capture:!0,passive:!1}),o.addEventListener("touchstart",h,{capture:!0,passive:!1}),o.addEventListener("click",y,{capture:!0,passive:!1}),o.addEventListener("keydown",b,{capture:!0,passive:!1}),n},x=function(){if(a.active)return o.removeEventListener("focusin",v,!0),o.removeEventListener("mousedown",h,!0),o.removeEventListener("touchstart",h,!0),o.removeEventListener("click",y,!0),o.removeEventListener("keydown",b,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===a.mostRecentlyFocusedNode}))}));t&&p(u())})):void 0,C=function(){S&&(S.disconnect(),a.active&&!a.paused&&a.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=l(e,"onActivate"),n=l(e,"onPostActivate"),r=l(e,"checkCanFocusTrap");r||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var i=function(){r&&d(),w(),C(),null==n||n()};return r?(r(a.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!a.active)return this;var t=Hl({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,x(),a.active=!1,a.paused=!1,C(),ql(r,n);var o=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),u=l(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var d=function(){Xl((function(){u&&p(g(a.nodeFocusedBeforeActivation)),null==s||s()}))};return u&&c?(c(g(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(a.paused||!a.active)return this;var t=l(e,"onPause"),n=l(e,"onPostPause");return a.paused=!0,null==t||t(),x(),C(),null==n||n(),this},unpause:function(e){if(!a.paused||!a.active)return this;var t=l(e,"onUnpause"),n=l(e,"onPostUnpause");return a.paused=!1,null==t||t(),d(),w(),C(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return a.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),a.active&&d(),C(),this}}).updateContainerElements(e),n}}),ts=C(es),ns=C($l);function os(e){return os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},os(e)}function rs(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,cs(o.key),o)}}function is(e,t){return is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},is(e,t)}function as(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=ss(e);if(t){var r=ss(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ls(e)}(this,n)}}function ls(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ss(e){return ss=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ss(e)}function cs(e){var t=function(e,t){if("object"!==os(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==os(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===os(t)?t:String(t)}var us=r,ds=ml,fs=ts.createFocusTrap,ps=ns.isFocusable,gs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&is(e,t)}(i,us.Component);var t,n,o,r=as(i);function i(e){var t,n,o,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),t=r.call(this,e),n=ls(t),a=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,l=n;if("string"==typeof n&&!(l=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(o=cs(o="getNodeForOption"))in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,t.handleDeactivate=t.handleDeactivate.bind(ls(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(ls(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(ls(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var l=e.focusTrapOptions;for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=l[s]:t.originalOptions[s]=l[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=i,n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||ps(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll,r=void 0!==o&&o;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();o&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?us.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===us.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return us.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}],n&&rs(t.prototype,n),o&&rs(t,o),Object.defineProperty(t,"prototype",{writable:!1}),i}(),ms="undefined"==typeof Element?Function:Element;gs.propTypes={active:ds.bool,paused:ds.bool,focusTrapOptions:ds.shape({document:ds.object,onActivate:ds.func,onPostActivate:ds.func,checkCanFocusTrap:ds.func,onPause:ds.func,onPostPause:ds.func,onUnpause:ds.func,onPostUnpause:ds.func,onDeactivate:ds.func,onPostDeactivate:ds.func,checkCanReturnFocus:ds.func,initialFocus:ds.oneOfType([ds.instanceOf(ms),ds.string,ds.bool,ds.func]),fallbackFocus:ds.oneOfType([ds.instanceOf(ms),ds.string,ds.func]),escapeDeactivates:ds.oneOfType([ds.bool,ds.func]),clickOutsideDeactivates:ds.oneOfType([ds.bool,ds.func]),returnFocusOnDeactivate:ds.bool,setReturnFocus:ds.oneOfType([ds.instanceOf(ms),ds.string,ds.bool,ds.func]),allowOutsideClick:ds.oneOfType([ds.bool,ds.func]),preventScroll:ds.bool,tabbableOptions:ds.shape({displayCheck:ds.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:ds.oneOfType([ds.bool,ds.func])}),trapStack:ds.array,isKeyForward:ds.func,isKeyBackward:ds.func}),containerElements:ds.arrayOf(ds.instanceOf(ms)),children:ds.oneOfType([ds.element,ds.instanceOf(ms)])},gs.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:fs};var hs=S(gs);const vs=un`
|
|
1162
970
|
from {
|
|
1163
971
|
opacity: 0;
|
|
1164
972
|
}
|
|
@@ -1166,7 +974,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1166
974
|
to {
|
|
1167
975
|
opacity: 0.5;
|
|
1168
976
|
}
|
|
1169
|
-
`,
|
|
977
|
+
`,bs=un`
|
|
1170
978
|
from {
|
|
1171
979
|
opacity: 0.5;
|
|
1172
980
|
}
|
|
@@ -1174,7 +982,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1174
982
|
to {
|
|
1175
983
|
opacity: 0;
|
|
1176
984
|
}
|
|
1177
|
-
`,
|
|
985
|
+
`,ys=cn.div`
|
|
1178
986
|
width: 100vw;
|
|
1179
987
|
min-height: 100%;
|
|
1180
988
|
max-width: 650px;
|
|
@@ -1192,7 +1000,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1192
1000
|
font-weight: 600;
|
|
1193
1001
|
color: var(--color--grey-dark);
|
|
1194
1002
|
}
|
|
1195
|
-
`,
|
|
1003
|
+
`,ws=cn.div`
|
|
1196
1004
|
position: fixed;
|
|
1197
1005
|
top: 0;
|
|
1198
1006
|
right: 0;
|
|
@@ -1201,15 +1009,15 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1201
1009
|
z-index: 1000;
|
|
1202
1010
|
background-color: #000;
|
|
1203
1011
|
opacity: 0.5;
|
|
1204
|
-
animation: ${
|
|
1012
|
+
animation: ${vs} 0.2s ease;
|
|
1205
1013
|
visibility: visible;
|
|
1206
1014
|
|
|
1207
1015
|
&.closing {
|
|
1208
|
-
animation: ${
|
|
1016
|
+
animation: ${bs} 0.2s ease;
|
|
1209
1017
|
opacity: 0;
|
|
1210
1018
|
visibility: hidden;
|
|
1211
1019
|
}
|
|
1212
|
-
`,
|
|
1020
|
+
`,xs=un`
|
|
1213
1021
|
from {
|
|
1214
1022
|
transform: translate(-100%, 0);
|
|
1215
1023
|
}
|
|
@@ -1217,7 +1025,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1217
1025
|
to {
|
|
1218
1026
|
transform: none;
|
|
1219
1027
|
}
|
|
1220
|
-
`,
|
|
1028
|
+
`,Ss=un`
|
|
1221
1029
|
from {
|
|
1222
1030
|
transform: none;
|
|
1223
1031
|
}
|
|
@@ -1225,7 +1033,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1225
1033
|
to {
|
|
1226
1034
|
transform: translate(-100%, 0);
|
|
1227
1035
|
}
|
|
1228
|
-
`,
|
|
1036
|
+
`,Cs=un`
|
|
1229
1037
|
from {
|
|
1230
1038
|
transform: translate(100%, 0);
|
|
1231
1039
|
}
|
|
@@ -1233,7 +1041,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1233
1041
|
to {
|
|
1234
1042
|
transform: none;
|
|
1235
1043
|
}
|
|
1236
|
-
`,
|
|
1044
|
+
`,Rs=un`
|
|
1237
1045
|
from {
|
|
1238
1046
|
transform: none;
|
|
1239
1047
|
}
|
|
@@ -1241,7 +1049,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1241
1049
|
to {
|
|
1242
1050
|
transform: translate(100%, 0);
|
|
1243
1051
|
}
|
|
1244
|
-
`,
|
|
1052
|
+
`,ks=un`
|
|
1245
1053
|
from {
|
|
1246
1054
|
transform: translate(0, 100%);
|
|
1247
1055
|
}
|
|
@@ -1249,7 +1057,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1249
1057
|
to {
|
|
1250
1058
|
transform: none;
|
|
1251
1059
|
}
|
|
1252
|
-
`,
|
|
1060
|
+
`,Os=un`
|
|
1253
1061
|
from {
|
|
1254
1062
|
transform: none;
|
|
1255
1063
|
}
|
|
@@ -1257,7 +1065,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1257
1065
|
to {
|
|
1258
1066
|
transform: translate(0, 100%);
|
|
1259
1067
|
}
|
|
1260
|
-
`,
|
|
1068
|
+
`,Es=cn.div`
|
|
1261
1069
|
position: fixed;
|
|
1262
1070
|
top: 0;
|
|
1263
1071
|
right: 0;
|
|
@@ -1267,46 +1075,46 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1267
1075
|
overflow: hidden;
|
|
1268
1076
|
|
|
1269
1077
|
&.left {
|
|
1270
|
-
animation: ${
|
|
1078
|
+
animation: ${xs} 0.2s ease;
|
|
1271
1079
|
}
|
|
1272
1080
|
|
|
1273
1081
|
&.left.closing {
|
|
1274
|
-
animation: ${
|
|
1082
|
+
animation: ${Ss} 0.2s ease;
|
|
1275
1083
|
transform: translate(100%, 0);
|
|
1276
1084
|
}
|
|
1277
1085
|
|
|
1278
1086
|
&.right {
|
|
1279
|
-
animation: ${
|
|
1087
|
+
animation: ${Cs} 0.2s ease;
|
|
1280
1088
|
}
|
|
1281
1089
|
|
|
1282
1090
|
&.right.closing {
|
|
1283
|
-
animation: ${
|
|
1091
|
+
animation: ${Rs} 0.2s ease;
|
|
1284
1092
|
transform: translate(100%, 0);
|
|
1285
1093
|
}
|
|
1286
1094
|
|
|
1287
1095
|
&.center {
|
|
1288
|
-
animation: ${
|
|
1096
|
+
animation: ${ks} 0.2s ease;
|
|
1289
1097
|
}
|
|
1290
1098
|
|
|
1291
1099
|
&.center.closing {
|
|
1292
|
-
animation: ${
|
|
1100
|
+
animation: ${Os} 0.2s ease;
|
|
1293
1101
|
transform: translate(0, 100%);
|
|
1294
1102
|
}
|
|
1295
|
-
`,
|
|
1103
|
+
`,Ps=cn.div`
|
|
1296
1104
|
display: flex;
|
|
1297
1105
|
|
|
1298
|
-
${
|
|
1106
|
+
${Es}.left & {
|
|
1299
1107
|
flex-flow: row-reverse nowrap;
|
|
1300
1108
|
}
|
|
1301
1109
|
|
|
1302
|
-
${
|
|
1110
|
+
${Es}.right & {
|
|
1303
1111
|
flex-flow: row nowrap;
|
|
1304
1112
|
}
|
|
1305
1113
|
|
|
1306
|
-
${
|
|
1114
|
+
${Es}.center & {
|
|
1307
1115
|
flex-flow: row nowrap;
|
|
1308
1116
|
}
|
|
1309
|
-
`,
|
|
1117
|
+
`,zs=cn.div`
|
|
1310
1118
|
z-index: 1010;
|
|
1311
1119
|
height: 100vh;
|
|
1312
1120
|
background-color: #fff;
|
|
@@ -1314,19 +1122,19 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1314
1122
|
flex-direction: column;
|
|
1315
1123
|
overflow: auto;
|
|
1316
1124
|
|
|
1317
|
-
${
|
|
1125
|
+
${Es}.left & {
|
|
1318
1126
|
margin-right: auto;
|
|
1319
1127
|
}
|
|
1320
1128
|
|
|
1321
|
-
${
|
|
1129
|
+
${Es}.right & {
|
|
1322
1130
|
margin-left: auto;
|
|
1323
1131
|
}
|
|
1324
1132
|
|
|
1325
|
-
${
|
|
1133
|
+
${Es}.center & {
|
|
1326
1134
|
margin: auto;
|
|
1327
1135
|
height: 95vh;
|
|
1328
1136
|
}
|
|
1329
|
-
`,
|
|
1137
|
+
`,Fs=cn.div`
|
|
1330
1138
|
display: flex;
|
|
1331
1139
|
flex-flow: row nowrap;
|
|
1332
1140
|
align-items: center;
|
|
@@ -1349,7 +1157,7 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1349
1157
|
strong {
|
|
1350
1158
|
font-weight: 700;
|
|
1351
1159
|
}
|
|
1352
|
-
`,
|
|
1160
|
+
`,Ms=un`
|
|
1353
1161
|
from {
|
|
1354
1162
|
margin-top: -50px;
|
|
1355
1163
|
}
|
|
@@ -1357,14 +1165,14 @@ function Ul(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1357
1165
|
to {
|
|
1358
1166
|
margin-top: 0
|
|
1359
1167
|
}
|
|
1360
|
-
`,
|
|
1168
|
+
`,Is=cn(Fs)`
|
|
1361
1169
|
background-color: #ffdadd;
|
|
1362
|
-
animation: ${
|
|
1170
|
+
animation: ${Ms} 0.5s ease;
|
|
1363
1171
|
|
|
1364
1172
|
svg {
|
|
1365
1173
|
color: var(--color--red);
|
|
1366
1174
|
}
|
|
1367
|
-
`,
|
|
1175
|
+
`,Vs=cn.div`
|
|
1368
1176
|
position: relative;
|
|
1369
|
-
`;let
|
|
1177
|
+
`;let Ds=1;const As=p((({children:o,side:r,open:i=!1,showWarning:l,onClose:s=(()=>{})},c)=>{const u=a(null),f=a(null);u.current||(u.current=`modal-${Ds}`,Ds+=1),d((()=>{document.body.style.overflow=i?"hidden":"auto"}),[i]),d((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),s())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[s]),d((()=>{const e=e=>{f.current&&e.target instanceof HTMLElement&&!f.current.contains(e.target)&&(e.preventDefault(),s())};return document.body.addEventListener("mouseup",e),()=>{document.body.removeEventListener("mouseup",e)}}),[s]);const p=i?"open":"closing";return t(n,{children:[e(ws,{className:p}),e(Es,{role:"dialog","aria-modal":"true","aria-hidden":!i,className:`${r} ${p}`,children:e(hs,{children:e("div",{children:e(Ps,{children:t(zs,{ref:f,children:[l&&t(Is,{role:"alert","aria-live":"assertive",children:[e(Tn,{name:"fa/exclamation-triangle-solid"}),t("p",{children:[e("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),e(Vs,{ref:c,children:e(ys,{children:o})})]})})})})})]})}));function Ts(e){const[t,n]=u(e);return{value:t,toggle:g((()=>n((e=>!e))),[]),setTrue:g((()=>n(!0)),[]),setFalse:g((()=>n(!1)),[])}}export{jn as Accordion,Ta as AppBar,Un as Badge,Ba as Breadcrumb,uo as Button,Wn as Divider,za as DropDownMenu,pn as Heading,Tn as Icon,$a as Layout,Zn as LoadingSpinner,ka as Logo,As as Modal,ba as ProgressBar,Yn as ProgressCircle,mo as ReadMore,vo as RelativeTime,ti as StatusIcon,ta as Table,ca as Tabs,ga as TextField,Ca as ToastMessages,Wr as Tooltip,h as theme,Ts as useToggle};
|
|
1370
1178
|
//# sourceMappingURL=index.js.map
|