@harpercollins/harpercollins-design-system 1.8.68 → 1.8.70
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 +150 -226
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/data-display/Chip/Chip.d.ts +2 -1
- package/dist/cjs/types/src/components/data-display/Chip/Chip.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/data-display/List/List.d.ts +2 -1
- package/dist/cjs/types/src/components/data-display/List/List.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/data-display/List/ListItemContent.d.ts +2 -0
- package/dist/cjs/types/src/components/global/AppBar/AppBar.d.ts +7 -1
- package/dist/cjs/types/src/components/global/AppBar/testdata.d.ts +1 -1
- package/dist/cjs/types/src/components/index.d.ts +4 -2
- package/dist/cjs/types/src/components/inputs/Input/Input.d.ts +1 -1
- package/dist/cjs/types/src/components/layout/Grid/Grid.d.ts +4 -1
- package/dist/cjs/types/src/components/layout/Grid/Grid.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/navigation/Dropdown/Dropdown.d.ts +3 -0
- package/dist/cjs/types/src/components/navigation/Dropdown/index.d.ts +2 -0
- package/dist/cjs/types/src/components/navigation/Menu/Menu.d.ts +3 -0
- package/dist/cjs/types/src/components/navigation/Menu/Menu.stories.d.ts +5 -0
- package/dist/cjs/types/src/components/navigation/Menu/MenuButton.d.ts +2 -0
- package/dist/cjs/types/src/components/navigation/Menu/MenuHeading.d.ts +13 -0
- package/dist/cjs/types/src/components/navigation/Menu/MenuItem.d.ts +4 -0
- package/dist/cjs/types/src/components/navigation/Menu/index.d.ts +2 -0
- package/dist/esm/index.js +179 -255
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/data-display/Chip/Chip.d.ts +2 -1
- package/dist/esm/types/src/components/data-display/Chip/Chip.stories.d.ts +6 -0
- package/dist/esm/types/src/components/data-display/List/List.d.ts +2 -1
- package/dist/esm/types/src/components/data-display/List/List.stories.d.ts +6 -0
- package/dist/esm/types/src/components/data-display/List/ListItemContent.d.ts +2 -0
- package/dist/esm/types/src/components/global/AppBar/AppBar.d.ts +7 -1
- package/dist/esm/types/src/components/global/AppBar/testdata.d.ts +1 -1
- package/dist/esm/types/src/components/index.d.ts +4 -2
- package/dist/esm/types/src/components/inputs/Input/Input.d.ts +1 -1
- package/dist/esm/types/src/components/layout/Grid/Grid.d.ts +4 -1
- package/dist/esm/types/src/components/layout/Grid/Grid.stories.d.ts +6 -0
- package/dist/esm/types/src/components/navigation/Dropdown/Dropdown.d.ts +3 -0
- package/dist/esm/types/src/components/navigation/Dropdown/index.d.ts +2 -0
- package/dist/esm/types/src/components/navigation/Menu/Menu.d.ts +3 -0
- package/dist/esm/types/src/components/navigation/Menu/Menu.stories.d.ts +5 -0
- package/dist/esm/types/src/components/navigation/Menu/MenuButton.d.ts +2 -0
- package/dist/esm/types/src/components/navigation/Menu/MenuHeading.d.ts +13 -0
- package/dist/esm/types/src/components/navigation/Menu/MenuItem.d.ts +4 -0
- package/dist/esm/types/src/components/navigation/Menu/index.d.ts +2 -0
- package/dist/index.d.ts +28 -12
- package/package.json +1 -1
- package/dist/cjs/types/src/components/global/AppBar/DropDownMenu.d.ts +0 -11
- package/dist/esm/types/src/components/global/AppBar/DropDownMenu.d.ts +0 -11
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("react-dom");function r(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(t),a=r(n),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function l(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function s(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,u=s((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var p="-ms-",f="-moz-",m="-webkit-",g="comm",h="rule",v="decl",b="@import",y="@keyframes",x="@layer",w=Math.abs,S=String.fromCharCode,C=Object.assign;function k(e){return e.trim()}function O(e,t){return(e=t.exec(e))?e[0]:e}function E(e,t,n){return e.replace(t,n)}function I(e,t,n){return e.indexOf(t,n)}function P(e,t){return 0|e.charCodeAt(t)}function $(e,t,n){return e.slice(t,n)}function N(e){return e.length}function z(e){return e.length}function R(e,t){return t.push(e),e}function T(e,t){return e.filter((function(e){return!O(e,t)}))}var D=1,j=1,A=0,M=0,_=0,L="";function F(e,t,n,r,o,a,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:D,column:j,length:i,return:"",siblings:l}}function V(e,t){return C(F("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function B(e){for(;e.root;)e=V(e.root,{children:[e]});R(e,e.siblings)}function H(){return _=M<A?P(L,M++):0,j++,10===_&&(j=1,D++),_}function W(){return P(L,M)}function G(){return M}function q(e,t){return $(L,e,t)}function Y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(e){return k(q(M-1,X(91===e?e+2:40===e?e+1:e)))}function K(e){for(;(_=W())&&_<33;)H();return Y(e)>2||Y(_)>3?"":" "}function J(e,t){for(;--t&&H()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return q(e,G()+(t<6&&32==W()&&32==H()))}function X(e){for(;H();)switch(_){case e:return M;case 34:case 39:34!==e&&39!==e&&X(_);break;case 40:41===e&&X(e);break;case 92:H()}return M}function Q(e,t){for(;H()&&e+_!==57&&(e+_!==84||47!==W()););return"/*"+q(t,M-1)+"*"+S(47===e?e:H())}function Z(e){for(;!Y(W());)H();return q(e,M)}function ee(e){return function(e){return L="",e}(te("",null,null,null,[""],e=function(e){return D=j=1,A=N(L=e),M=0,[]}(e),0,[0],e))}function te(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",x=o,C=a,k=r,O=y;h;)switch(m=b,b=H()){case 40:if(108!=m&&58==P(O,d-1)){-1!=I(O+=E(U(b),"&","&\f"),"&\f",w(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:O+=U(b);break;case 9:case 10:case 13:case 32:O+=K(m);break;case 92:O+=J(G()-1,7);continue;case 47:switch(W()){case 42:case 47:R(re(Q(H(),G()),t,n,s),s);break;default:O+="/"}break;case 123*g:l[c++]=N(O)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(O=E(O,/\f/g,"")),f>0&&N(O)-d&&R(f>32?oe(O+";",r,n,d-1,s):oe(E(O," ","")+";",r,n,d-2,s),s);break;case 59:O+=";";default:if(R(k=ne(O,t,n,c,u,o,l,y,x=[],C=[],d,a),a),123===b)if(0===u)te(O,t,k,k,x,a,d,l,C);else switch(99===p&&110===P(O,3)?100:p){case 100:case 108:case 109:case 115:te(e,k,k,r&&R(ne(e,k,k,0,0,o,l,y,o,x=[],d,C),C),o,C,d,l,r?x:C);break;default:te(O,k,k,k,[""],C,0,l,C)}}c=u=f=0,g=v=1,y=O="",d=i;break;case 58:d=1+N(O),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(_=M>0?P(L,--M):0,j--,10===_&&(j=1,D--),_))continue;switch(O+=S(b),b*g){case 38:v=u>0?1:(O+="\f",-1);break;case 44:l[c++]=(N(O)-1)*v,v=1;break;case 64:45===W()&&(O+=U(H())),p=W(),u=d=N(y=O+=Z(G())),b++;break;case 45:45===m&&2==N(O)&&(g=0)}}return a}function ne(e,t,n,r,o,a,i,l,s,c,u,d){for(var p=o-1,f=0===o?a:[""],m=z(f),g=0,v=0,b=0;g<r;++g)for(var y=0,x=$(e,p+1,p=w(v=i[g])),S=e;y<m;++y)(S=k(v>0?f[y]+" "+x:E(x,/&\f/g,f[y])))&&(s[b++]=S);return F(e,t,n,0===o?h:l,s,c,u,d)}function re(e,t,n,r){return F(e,t,n,g,S(_),$(e,2,-2),0,r)}function oe(e,t,n,r,o){return F(e,t,n,v,$(e,0,r),$(e,r+1,-1),r,o)}function ae(e,t,n){switch(function(e,t){return 45^P(e,0)?(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3):0}(e,t)){case 5103:return m+"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 m+e+e;case 4789:return f+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return m+e+f+e+p+e+e;case 5936:switch(P(e,t+11)){case 114:return m+e+p+E(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return m+e+p+E(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return m+e+p+E(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return m+e+p+e+e;case 6165:return m+e+p+"flex-"+e+e;case 5187:return m+e+E(e,/(\w+).+(:[^]+)/,m+"box-$1$2"+p+"flex-$1$2")+e;case 5443:return m+e+p+"flex-item-"+E(e,/flex-|-self/g,"")+(O(e,/flex-|baseline/)?"":p+"grid-row-"+E(e,/flex-|-self/g,""))+e;case 4675:return m+e+p+"flex-line-pack"+E(e,/align-content|flex-|-self/g,"")+e;case 5548:return m+e+p+E(e,"shrink","negative")+e;case 5292:return m+e+p+E(e,"basis","preferred-size")+e;case 6060:return m+"box-"+E(e,"-grow","")+m+e+p+E(e,"grow","positive")+e;case 4554:return m+E(e,/([^-])(transform)/g,"$1"+m+"$2")+e;case 6187:return E(E(E(e,/(zoom-|grab)/,m+"$1"),/(image-set)/,m+"$1"),e,"")+e;case 5495:case 3959:return E(e,/(image-set\([^]*)/,m+"$1$`$1");case 4968:return E(E(e,/(.+:)(flex-)?(.*)/,m+"box-pack:$3"+p+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+m+e+e;case 4200:if(!O(e,/flex-|baseline/))return p+"grid-column-align"+$(e,t)+e;break;case 2592:case 3360:return p+E(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,O(e.props,/grid-\w+-end/)}))?~I(e+(n=n[t].value),"span",0)?e:p+E(e,"-start","")+e+p+"grid-row-span:"+(~I(n,"span",0)?O(n,/\d+/):+O(n,/\d+/)-+O(e,/\d+/))+";":p+E(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return O(e.props,/grid-\w+-start/)}))?e:p+E(E(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return E(e,/(.+)-inline(.+)/,m+"$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(N(e)-1-t>6)switch(P(e,t+1)){case 109:if(45!==P(e,t+4))break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1"+m+"$2-$3$1"+f+(108==P(e,t+3)?"$3":"$2-$3"))+e;case 115:return~I(e,"stretch",0)?ae(E(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return E(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,l){return p+n+":"+r+l+(o?p+n+"-span:"+(a?i:+i-+r)+l:"")+e}));case 4949:if(121===P(e,t+6))return E(e,":",":"+m)+e;break;case 6444:switch(P(e,45===P(e,14)?18:11)){case 120:return E(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+m+(45===P(e,14)?"inline-":"")+"box$3$1"+m+"$2$3$1"+p+"$2box$3")+e;case 100:return E(e,":",":"+p)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return E(e,"scroll-","scroll-snap-")+e}return e}function ie(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function le(e,t,n,r){switch(e.type){case x:if(e.children.length)break;case b:case v:return e.return=e.return||e.value;case g:return"";case y:return e.return=e.value+"{"+ie(e.children,r)+"}";case h:if(!N(e.value=e.props.join(",")))return""}return N(n=ie(e.children,r))?e.return=e.value+"{"+n+"}":""}function se(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case v:return void(e.return=ae(e.value,e.length,n));case y:return ie([V(e,{value:E(e.value,"@","@"+m)})],r);case h:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(O(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(V(e,{props:[E(t,/:(read-\w+)/,":"+f+"$1")]})),B(V(e,{props:[t]})),C(e,{props:T(n,r)});break;case"::placeholder":B(V(e,{props:[E(t,/:(plac\w+)/,":"+m+"input-$1")]})),B(V(e,{props:[E(t,/:(plac\w+)/,":"+f+"$1")]})),B(V(e,{props:[E(t,/:(plac\w+)/,p+"input-$1")]})),B(V(e,{props:[t]})),C(e,{props:T(n,r)})}return""}))}}var ce={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ue="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",de="active",pe="data-styled-version",fe="6.1.11",me="/*!sc*/\n",ge="undefined"!=typeof window&&"HTMLElement"in window,he=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),ve=/invalid hook call/i,be=new Set,ye=function(e,n){if("production"!==process.env.NODE_ENV){var r=n?' with the id of "'.concat(n,'"'):"",o="The component ".concat(e).concat(r," 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.",a=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];ve.test(e)?(i=!1,be.delete(o)):a.apply(void 0,l([e],t,!1))},t.useRef(),i&&!be.has(o)&&(console.warn(o),be.add(o))}catch(e){ve.test(e.message)&&be.delete(o)}finally{console.error=a}}},xe=Object.freeze([]),we=Object.freeze({});var Se=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"]),Ce=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Oe(e){return e.replace(Ce,"-").replace(ke,"")}var Ee=/(a)(d)/gi,Ie=52,Pe=function(e){return String.fromCharCode(e+(e>25?39:97))};function $e(e){var t,n="";for(t=Math.abs(e);t>Ie;t=t/Ie|0)n=Pe(t%Ie)+n;return(Pe(t%Ie)+n).replace(Ee,"$1-$2")}var Ne,ze=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Re=function(e){return ze(5381,e)};function Te(e){return $e(Re(e)>>>0)}function De(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function je(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ae="function"==typeof Symbol&&Symbol.for,Me=Ae?Symbol.for("react.memo"):60115,_e=Ae?Symbol.for("react.forward_ref"):60112,Le={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Fe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ve={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Be=((Ne={})[_e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ne[Me]=Ve,Ne);function He(e){return("type"in(t=e)&&t.type.$$typeof)===Me?Ve:"$$typeof"in e?Be[e.$$typeof]:Le;var t}var We=Object.defineProperty,Ge=Object.getOwnPropertyNames,qe=Object.getOwnPropertySymbols,Ye=Object.getOwnPropertyDescriptor,Ue=Object.getPrototypeOf,Ke=Object.prototype;function Je(e,t,n){if("string"!=typeof t){if(Ke){var r=Ue(t);r&&r!==Ke&&Je(e,r,n)}var o=Ge(t);qe&&(o=o.concat(qe(t)));for(var a=He(e),i=He(t),l=0;l<o.length;++l){var s=o[l];if(!(s in Fe||n&&n[s]||i&&s in i||a&&s in a)){var c=Ye(t,s);try{We(e,s,c)}catch(e){}}}}return e}function Xe(e){return"function"==typeof e}function Qe(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function et(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function tt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nt(e,t,n){if(void 0===n&&(n=!1),!n&&!tt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=nt(e[r],t[r]);else if(tt(t))for(var r in t)e[r]=nt(e[r],t[r]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}var ot="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function at(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,a=e.length;o<a;o+=1)r.push(e[o]);return r.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function it(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(at.apply(void 0,l([ot[e]],t,!1)).trim())}var lt=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,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw it(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),l=(a=0,t.length);a<l;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)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],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(me);return t},e}(),st=1<<30,ct=new Map,ut=new Map,dt=1,pt=function(e){if(ct.has(e))return ct.get(e);for(;ut.has(dt);)dt++;var t=dt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>st))throw it(16,"".concat(t));return ct.set(e,t),ut.set(t,e),t},ft=function(e,t){dt=t+1,ct.set(e,t),ut.set(t,e)},mt="style[".concat(ue,"][").concat(pe,'="').concat(fe,'"]'),gt=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ht=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},vt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(me),o=[],a=0,i=r.length;a<i;a++){var l=r[a].trim();if(l){var s=l.match(gt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(ft(u,c),ht(e,u,s[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}};var bt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ue,de),r.setAttribute(pe,fe);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},yt=function(){function e(e){this.element=bt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw it(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),xt=function(){function e(e){this.element=bt(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}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),St=ge,Ct={isServer:!ge,useCSSOMInjection:!he},kt=function(){function e(e,t,n){void 0===e&&(e=we),void 0===t&&(t={});var r=this;this.options=i(i({},Ct),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ge&&St&&(St=!1,function(e){for(var t=document.querySelectorAll(mt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==de&&(vt(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),rt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return ut.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||0===i.length)return"continue";var l="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(i).concat(l,'{content:"').concat(s,'"}').concat(me)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return pt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(i(i({},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 wt(n):t?new yt(n):new xt(n)}(this.options),new lt(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(pt(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(pt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(pt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ot=/&/g,Et=/^\s*\/\/.*$/gm;function It(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=It(e.children,t)),e}))}var Pt=new kt,$t=function(e){var t,n,r,o=we,a=o.options,i=void 0===a?we:a,l=o.plugins,s=void 0===l?xe:l,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ot,n).replace(r,c))})),i.prefix&&u.push(se),u.push(le);var d=function(e,o,a,l){void 0===o&&(o=""),void 0===a&&(a=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(Et,""),c=ee(a||o?"".concat(a," ").concat(o," { ").concat(s," }"):s);i.namespace&&(c=It(c,i.namespace));var d,p=[];return ie(c,function(e){var t=z(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}(u.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=s.length?s.reduce((function(e,t){return t.name||it(15),ze(e,t.name)}),5381).toString():"",d}(),Nt=t.createContext({shouldForwardProp:void 0,styleSheet:Pt,stylis:$t});function zt(){return t.useContext(Nt)}Nt.Consumer,t.createContext(void 0);var Rt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=$t);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rt(this,(function(){throw it(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=$t),this.name+e.hash},e}(),Tt=function(e){return e>="A"&&e<="Z"};function Dt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Tt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var jt=function(e){return null==e||!1===e||""===e},At=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!jt(a)&&(Array.isArray(a)&&a.isCss||Xe(a)?r.push("".concat(Dt(o),":"),a,";"):tt(a)?r.push.apply(r,l(l(["".concat(o," {")],At(a),!1),["}"],!1)):r.push("".concat(Dt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ce||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Mt(e,t,n,r){if(jt(e))return[];if(Qe(e))return[".".concat(e.styledComponentId)];if(Xe(e)){if(!Xe(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof Rt||tt(o)||null===o||console.error("".concat(De(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.")),Mt(o,t,n,r)}var a;return e instanceof Rt?n?(e.inject(n,r),[e.getName(r)]):[e]:tt(e)?At(e):Array.isArray(e)?Array.prototype.concat.apply(xe,e.map((function(e){return Mt(e,t,n,r)}))):[e.toString()]}var _t=Re(fe),Lt=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(Xe(n)&&!Qe(n))return!1}return!0}(e),this.componentId=t,this.baseHash=ze(_t,t),this.baseStyle=n,kt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ze(r,this.staticRulesId);else{var o=et(Mt(this.rules,e,t,n)),a=$e(ze(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Ze(r,a),this.staticRulesId=a}else{for(var l=ze(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=ze(l,u));else if(u){var d=et(Mt(u,e,t,n));l=ze(l,d+c),s+=d}}if(s){var p=$e(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=Ze(r,p)}}return r},e}(),Ft=t.createContext(void 0);Ft.Consumer;var Vt={},Bt=new Set;function Ht(e,n,r){var o=Qe(e),a=e,l=!je(e),s=n.attrs,c=void 0===s?xe:s,d=n.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Oe(e);Vt[n]=(Vt[n]||0)+1;var r="".concat(n,"-").concat(Te(fe+n+Vt[n]));return t?"".concat(t,"-").concat(r):r}(n.displayName,n.parentComponentId):d,f=n.displayName,m=void 0===f?function(e){return je(e)?"styled.".concat(e):"Styled(".concat(De(e),")")}(e):f,g=n.displayName&&n.componentId?"".concat(Oe(n.displayName),"-").concat(n.componentId):n.componentId||p,h=o&&a.attrs?a.attrs.concat(c).filter(Boolean):c,v=n.shouldForwardProp;if(o&&a.shouldForwardProp){var b=a.shouldForwardProp;if(n.shouldForwardProp){var y=n.shouldForwardProp;v=function(e,t){return b(e,t)&&y(e,t)}}else v=b}var x=new Lt(r,g,o?a.componentStyle:void 0);function w(e,n){return function(e,n,r){var o=e.attrs,a=e.componentStyle,l=e.defaultProps,s=e.foldedComponentIds,c=e.styledComponentId,d=e.target,p=t.useContext(Ft),f=zt(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&t.useDebugValue(c);var g=function(e,t,n){return void 0===n&&(n=we),e.theme!==n.theme&&e.theme||t||n.theme}(n,p,l)||we,h=function(e,t,n){for(var r,o=i(i({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var l=Xe(r=e[a])?r(o):r;for(var s in l)o[s]="className"===s?Ze(o[s],l[s]):"style"===s?i(i({},o[s]),l[s]):l[s]}return t.className&&(o.className=Ze(o.className,t.className)),o}(o,n,g),v=h.as||d,b={};for(var y in h)void 0===h[y]||"$"===y[0]||"as"===y||"theme"===y&&h.theme===g||("forwardedAs"===y?b.as=h.forwardedAs:m&&!m(y,v)||(b[y]=h[y],m||"development"!==process.env.NODE_ENV||u(y)||Bt.has(y)||!Se.has(v)||(Bt.add(y),console.warn('styled-components: it looks like an unknown prop "'.concat(y,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var x=function(e,n){var r=zt(),o=e.generateAndInjectStyles(n,r.styleSheet,r.stylis);return"production"!==process.env.NODE_ENV&&t.useDebugValue(o),o}(a,h);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(x);var w=Ze(s,c);return x&&(w+=" "+x),h.className&&(w+=" "+h.className),b[je(v)&&!Se.has(v)?"class":"className"]=w,b.ref=r,t.createElement(v,b)}(S,e,n)}w.displayName=m;var S=t.forwardRef(w);return S.attrs=h,S.componentStyle=x,S.displayName=m,S.shouldForwardProp=v,S.foldedComponentIds=o?Ze(a.foldedComponentIds,a.styledComponentId):"",S.styledComponentId=g,S.target=o?a.target:e,Object.defineProperty(S,"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 r=0,o=t;r<o.length;r++)nt(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(ye(m,g),S.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var a=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(a,".\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 />"),r=!0,n={}}}}(m,g)),rt(S,(function(){return".".concat(S.styledComponentId)})),l&&Je(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Wt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Gt=function(e){return Object.assign(e,{isCss:!0})};function qt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Xe(e)||tt(e))return Gt(Mt(Wt(xe,l([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Mt(r):Gt(Mt(Wt(r,t)))}function Yt(e,t,n){if(void 0===n&&(n=we),!t)throw it(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,qt.apply(void 0,l([r],o,!1)))};return r.attrs=function(r){return Yt(e,t,i(i({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Yt(e,t,i(i({},n),r))},r}var Ut=function(e){return Yt(Ht,e)},Kt=Ut;function Jt(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 r=et(qt.apply(void 0,l([e],t,!1))),o=Te(r);return new Rt(o,r)}Se.forEach((function(e){Kt[e]=Ut(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 Xt="__sc-".concat(ue,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[Xt]||(window[Xt]=0),1===window[Xt]&&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[Xt]+=1);const Qt=Kt.div`
|
|
1
|
+
"use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("react-dom");function r(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(t),a=r(n),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function l(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function s(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var c=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,u=s((function(e){return c.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function d(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var p="-ms-",f="-moz-",m="-webkit-",g="comm",h="rule",v="decl",b="@import",y="@keyframes",x="@layer",w=Math.abs,S=String.fromCharCode,C=Object.assign;function k(e){return e.trim()}function O(e,t){return(e=t.exec(e))?e[0]:e}function I(e,t,n){return e.replace(t,n)}function E(e,t,n){return e.indexOf(t,n)}function P(e,t){return 0|e.charCodeAt(t)}function N(e,t,n){return e.slice(t,n)}function $(e){return e.length}function z(e){return e.length}function R(e,t){return t.push(e),e}function D(e,t){return e.filter((function(e){return!O(e,t)}))}var T=1,j=1,M=0,A=0,V=0,_="";function L(e,t,n,r,o,a,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:T,column:j,length:i,return:"",siblings:l}}function F(e,t){return C(L("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function B(e){for(;e.root;)e=F(e.root,{children:[e]});R(e,e.siblings)}function H(){return V=A<M?P(_,A++):0,j++,10===V&&(j=1,T++),V}function W(){return P(_,A)}function G(){return A}function q(e,t){return N(_,e,t)}function U(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Y(e){return k(q(A-1,X(91===e?e+2:40===e?e+1:e)))}function K(e){for(;(V=W())&&V<33;)H();return U(e)>2||U(V)>3?"":" "}function J(e,t){for(;--t&&H()&&!(V<48||V>102||V>57&&V<65||V>70&&V<97););return q(e,G()+(t<6&&32==W()&&32==H()))}function X(e){for(;H();)switch(V){case e:return A;case 34:case 39:34!==e&&39!==e&&X(V);break;case 40:41===e&&X(e);break;case 92:H()}return A}function Q(e,t){for(;H()&&e+V!==57&&(e+V!==84||47!==W()););return"/*"+q(t,A-1)+"*"+S(47===e?e:H())}function Z(e){for(;!U(W());)H();return q(e,A)}function ee(e){return function(e){return _="",e}(te("",null,null,null,[""],e=function(e){return T=j=1,M=$(_=e),A=0,[]}(e),0,[0],e))}function te(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",x=o,C=a,k=r,O=y;h;)switch(m=b,b=H()){case 40:if(108!=m&&58==P(O,d-1)){-1!=E(O+=I(Y(b),"&","&\f"),"&\f",w(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:O+=Y(b);break;case 9:case 10:case 13:case 32:O+=K(m);break;case 92:O+=J(G()-1,7);continue;case 47:switch(W()){case 42:case 47:R(re(Q(H(),G()),t,n,s),s);break;default:O+="/"}break;case 123*g:l[c++]=$(O)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(O=I(O,/\f/g,"")),f>0&&$(O)-d&&R(f>32?oe(O+";",r,n,d-1,s):oe(I(O," ","")+";",r,n,d-2,s),s);break;case 59:O+=";";default:if(R(k=ne(O,t,n,c,u,o,l,y,x=[],C=[],d,a),a),123===b)if(0===u)te(O,t,k,k,x,a,d,l,C);else switch(99===p&&110===P(O,3)?100:p){case 100:case 108:case 109:case 115:te(e,k,k,r&&R(ne(e,k,k,0,0,o,l,y,o,x=[],d,C),C),o,C,d,l,r?x:C);break;default:te(O,k,k,k,[""],C,0,l,C)}}c=u=f=0,g=v=1,y=O="",d=i;break;case 58:d=1+$(O),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(V=A>0?P(_,--A):0,j--,10===V&&(j=1,T--),V))continue;switch(O+=S(b),b*g){case 38:v=u>0?1:(O+="\f",-1);break;case 44:l[c++]=($(O)-1)*v,v=1;break;case 64:45===W()&&(O+=Y(H())),p=W(),u=d=$(y=O+=Z(G())),b++;break;case 45:45===m&&2==$(O)&&(g=0)}}return a}function ne(e,t,n,r,o,a,i,l,s,c,u,d){for(var p=o-1,f=0===o?a:[""],m=z(f),g=0,v=0,b=0;g<r;++g)for(var y=0,x=N(e,p+1,p=w(v=i[g])),S=e;y<m;++y)(S=k(v>0?f[y]+" "+x:I(x,/&\f/g,f[y])))&&(s[b++]=S);return L(e,t,n,0===o?h:l,s,c,u,d)}function re(e,t,n,r){return L(e,t,n,g,S(V),N(e,2,-2),0,r)}function oe(e,t,n,r,o){return L(e,t,n,v,N(e,0,r),N(e,r+1,-1),r,o)}function ae(e,t,n){switch(function(e,t){return 45^P(e,0)?(((t<<2^P(e,0))<<2^P(e,1))<<2^P(e,2))<<2^P(e,3):0}(e,t)){case 5103:return m+"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 m+e+e;case 4789:return f+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return m+e+f+e+p+e+e;case 5936:switch(P(e,t+11)){case 114:return m+e+p+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return m+e+p+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return m+e+p+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return m+e+p+e+e;case 6165:return m+e+p+"flex-"+e+e;case 5187:return m+e+I(e,/(\w+).+(:[^]+)/,m+"box-$1$2"+p+"flex-$1$2")+e;case 5443:return m+e+p+"flex-item-"+I(e,/flex-|-self/g,"")+(O(e,/flex-|baseline/)?"":p+"grid-row-"+I(e,/flex-|-self/g,""))+e;case 4675:return m+e+p+"flex-line-pack"+I(e,/align-content|flex-|-self/g,"")+e;case 5548:return m+e+p+I(e,"shrink","negative")+e;case 5292:return m+e+p+I(e,"basis","preferred-size")+e;case 6060:return m+"box-"+I(e,"-grow","")+m+e+p+I(e,"grow","positive")+e;case 4554:return m+I(e,/([^-])(transform)/g,"$1"+m+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,m+"$1"),/(image-set)/,m+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,m+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,m+"box-pack:$3"+p+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+m+e+e;case 4200:if(!O(e,/flex-|baseline/))return p+"grid-column-align"+N(e,t)+e;break;case 2592:case 3360:return p+I(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,O(e.props,/grid-\w+-end/)}))?~E(e+(n=n[t].value),"span",0)?e:p+I(e,"-start","")+e+p+"grid-row-span:"+(~E(n,"span",0)?O(n,/\d+/):+O(n,/\d+/)-+O(e,/\d+/))+";":p+I(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return O(e.props,/grid-\w+-start/)}))?e:p+I(I(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,m+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($(e)-1-t>6)switch(P(e,t+1)){case 109:if(45!==P(e,t+4))break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+m+"$2-$3$1"+f+(108==P(e,t+3)?"$3":"$2-$3"))+e;case 115:return~E(e,"stretch",0)?ae(I(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return I(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,l){return p+n+":"+r+l+(o?p+n+"-span:"+(a?i:+i-+r)+l:"")+e}));case 4949:if(121===P(e,t+6))return I(e,":",":"+m)+e;break;case 6444:switch(P(e,45===P(e,14)?18:11)){case 120:return I(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+m+(45===P(e,14)?"inline-":"")+"box$3$1"+m+"$2$3$1"+p+"$2box$3")+e;case 100:return I(e,":",":"+p)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return I(e,"scroll-","scroll-snap-")+e}return e}function ie(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function le(e,t,n,r){switch(e.type){case x:if(e.children.length)break;case b:case v:return e.return=e.return||e.value;case g:return"";case y:return e.return=e.value+"{"+ie(e.children,r)+"}";case h:if(!$(e.value=e.props.join(",")))return""}return $(n=ie(e.children,r))?e.return=e.value+"{"+n+"}":""}function se(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case v:return void(e.return=ae(e.value,e.length,n));case y:return ie([F(e,{value:I(e.value,"@","@"+m)})],r);case h:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(O(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":B(F(e,{props:[I(t,/:(read-\w+)/,":"+f+"$1")]})),B(F(e,{props:[t]})),C(e,{props:D(n,r)});break;case"::placeholder":B(F(e,{props:[I(t,/:(plac\w+)/,":"+m+"input-$1")]})),B(F(e,{props:[I(t,/:(plac\w+)/,":"+f+"$1")]})),B(F(e,{props:[I(t,/:(plac\w+)/,p+"input-$1")]})),B(F(e,{props:[t]})),C(e,{props:D(n,r)})}return""}))}}var ce={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ue="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",de="active",pe="data-styled-version",fe="6.1.11",me="/*!sc*/\n",ge="undefined"!=typeof window&&"HTMLElement"in window,he=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),ve=/invalid hook call/i,be=new Set,ye=function(e,n){if("production"!==process.env.NODE_ENV){var r=n?' with the id of "'.concat(n,'"'):"",o="The component ".concat(e).concat(r," 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.",a=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];ve.test(e)?(i=!1,be.delete(o)):a.apply(void 0,l([e],t,!1))},t.useRef(),i&&!be.has(o)&&(console.warn(o),be.add(o))}catch(e){ve.test(e.message)&&be.delete(o)}finally{console.error=a}}},xe=Object.freeze([]),we=Object.freeze({});var Se=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"]),Ce=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Oe(e){return e.replace(Ce,"-").replace(ke,"")}var Ie=/(a)(d)/gi,Ee=52,Pe=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ne(e){var t,n="";for(t=Math.abs(e);t>Ee;t=t/Ee|0)n=Pe(t%Ee)+n;return(Pe(t%Ee)+n).replace(Ie,"$1-$2")}var $e,ze=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Re=function(e){return ze(5381,e)};function De(e){return Ne(Re(e)>>>0)}function Te(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function je(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Me="function"==typeof Symbol&&Symbol.for,Ae=Me?Symbol.for("react.memo"):60115,Ve=Me?Symbol.for("react.forward_ref"):60112,_e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Le={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Be=(($e={})[Ve]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$e[Ae]=Fe,$e);function He(e){return("type"in(t=e)&&t.type.$$typeof)===Ae?Fe:"$$typeof"in e?Be[e.$$typeof]:_e;var t}var We=Object.defineProperty,Ge=Object.getOwnPropertyNames,qe=Object.getOwnPropertySymbols,Ue=Object.getOwnPropertyDescriptor,Ye=Object.getPrototypeOf,Ke=Object.prototype;function Je(e,t,n){if("string"!=typeof t){if(Ke){var r=Ye(t);r&&r!==Ke&&Je(e,r,n)}var o=Ge(t);qe&&(o=o.concat(qe(t)));for(var a=He(e),i=He(t),l=0;l<o.length;++l){var s=o[l];if(!(s in Le||n&&n[s]||i&&s in i||a&&s in a)){var c=Ue(t,s);try{We(e,s,c)}catch(e){}}}}return e}function Xe(e){return"function"==typeof e}function Qe(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function et(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function tt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nt(e,t,n){if(void 0===n&&(n=!1),!n&&!tt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=nt(e[r],t[r]);else if(tt(t))for(var r in t)e[r]=nt(e[r],t[r]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}var ot="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function at(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,a=e.length;o<a;o+=1)r.push(e[o]);return r.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function it(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(at.apply(void 0,l([ot[e]],t,!1)).trim())}var lt=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,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw it(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),l=(a=0,t.length);a<l;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)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],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(me);return t},e}(),st=1<<30,ct=new Map,ut=new Map,dt=1,pt=function(e){if(ct.has(e))return ct.get(e);for(;ut.has(dt);)dt++;var t=dt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>st))throw it(16,"".concat(t));return ct.set(e,t),ut.set(t,e),t},ft=function(e,t){dt=t+1,ct.set(e,t),ut.set(t,e)},mt="style[".concat(ue,"][").concat(pe,'="').concat(fe,'"]'),gt=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ht=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},vt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(me),o=[],a=0,i=r.length;a<i;a++){var l=r[a].trim();if(l){var s=l.match(gt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(ft(u,c),ht(e,u,s[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}};var bt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ue,de),r.setAttribute(pe,fe);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},yt=function(){function e(e){this.element=bt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw it(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),xt=function(){function e(e){this.element=bt(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}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),St=ge,Ct={isServer:!ge,useCSSOMInjection:!he},kt=function(){function e(e,t,n){void 0===e&&(e=we),void 0===t&&(t={});var r=this;this.options=i(i({},Ct),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ge&&St&&(St=!1,function(e){for(var t=document.querySelectorAll(mt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==de&&(vt(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),rt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return ut.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||0===i.length)return"continue";var l="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(i).concat(l,'{content:"').concat(s,'"}').concat(me)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return pt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(i(i({},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 wt(n):t?new yt(n):new xt(n)}(this.options),new lt(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(pt(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(pt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(pt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ot=/&/g,It=/^\s*\/\/.*$/gm;function Et(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=Et(e.children,t)),e}))}var Pt=new kt,Nt=function(e){var t,n,r,o=we,a=o.options,i=void 0===a?we:a,l=o.plugins,s=void 0===l?xe:l,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ot,n).replace(r,c))})),i.prefix&&u.push(se),u.push(le);var d=function(e,o,a,l){void 0===o&&(o=""),void 0===a&&(a=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(It,""),c=ee(a||o?"".concat(a," ").concat(o," { ").concat(s," }"):s);i.namespace&&(c=Et(c,i.namespace));var d,p=[];return ie(c,function(e){var t=z(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}(u.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=s.length?s.reduce((function(e,t){return t.name||it(15),ze(e,t.name)}),5381).toString():"",d}(),$t=t.createContext({shouldForwardProp:void 0,styleSheet:Pt,stylis:Nt});function zt(){return t.useContext($t)}$t.Consumer,t.createContext(void 0);var Rt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Nt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rt(this,(function(){throw it(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Nt),this.name+e.hash},e}(),Dt=function(e){return e>="A"&&e<="Z"};function Tt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Dt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var jt=function(e){return null==e||!1===e||""===e},Mt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!jt(a)&&(Array.isArray(a)&&a.isCss||Xe(a)?r.push("".concat(Tt(o),":"),a,";"):tt(a)?r.push.apply(r,l(l(["".concat(o," {")],Mt(a),!1),["}"],!1)):r.push("".concat(Tt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ce||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function At(e,t,n,r){if(jt(e))return[];if(Qe(e))return[".".concat(e.styledComponentId)];if(Xe(e)){if(!Xe(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof Rt||tt(o)||null===o||console.error("".concat(Te(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.")),At(o,t,n,r)}var a;return e instanceof Rt?n?(e.inject(n,r),[e.getName(r)]):[e]:tt(e)?Mt(e):Array.isArray(e)?Array.prototype.concat.apply(xe,e.map((function(e){return At(e,t,n,r)}))):[e.toString()]}var Vt=Re(fe),_t=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Xe(n)&&!Qe(n))return!1}return!0}(e),this.componentId=t,this.baseHash=ze(Vt,t),this.baseStyle=n,kt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ze(r,this.staticRulesId);else{var o=et(At(this.rules,e,t,n)),a=Ne(ze(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Ze(r,a),this.staticRulesId=a}else{for(var l=ze(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=ze(l,u));else if(u){var d=et(At(u,e,t,n));l=ze(l,d+c),s+=d}}if(s){var p=Ne(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=Ze(r,p)}}return r},e}(),Lt=t.createContext(void 0);Lt.Consumer;var Ft={},Bt=new Set;function Ht(e,n,r){var o=Qe(e),a=e,l=!je(e),s=n.attrs,c=void 0===s?xe:s,d=n.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Oe(e);Ft[n]=(Ft[n]||0)+1;var r="".concat(n,"-").concat(De(fe+n+Ft[n]));return t?"".concat(t,"-").concat(r):r}(n.displayName,n.parentComponentId):d,f=n.displayName,m=void 0===f?function(e){return je(e)?"styled.".concat(e):"Styled(".concat(Te(e),")")}(e):f,g=n.displayName&&n.componentId?"".concat(Oe(n.displayName),"-").concat(n.componentId):n.componentId||p,h=o&&a.attrs?a.attrs.concat(c).filter(Boolean):c,v=n.shouldForwardProp;if(o&&a.shouldForwardProp){var b=a.shouldForwardProp;if(n.shouldForwardProp){var y=n.shouldForwardProp;v=function(e,t){return b(e,t)&&y(e,t)}}else v=b}var x=new _t(r,g,o?a.componentStyle:void 0);function w(e,n){return function(e,n,r){var o=e.attrs,a=e.componentStyle,l=e.defaultProps,s=e.foldedComponentIds,c=e.styledComponentId,d=e.target,p=t.useContext(Lt),f=zt(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&t.useDebugValue(c);var g=function(e,t,n){return void 0===n&&(n=we),e.theme!==n.theme&&e.theme||t||n.theme}(n,p,l)||we,h=function(e,t,n){for(var r,o=i(i({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var l=Xe(r=e[a])?r(o):r;for(var s in l)o[s]="className"===s?Ze(o[s],l[s]):"style"===s?i(i({},o[s]),l[s]):l[s]}return t.className&&(o.className=Ze(o.className,t.className)),o}(o,n,g),v=h.as||d,b={};for(var y in h)void 0===h[y]||"$"===y[0]||"as"===y||"theme"===y&&h.theme===g||("forwardedAs"===y?b.as=h.forwardedAs:m&&!m(y,v)||(b[y]=h[y],m||"development"!==process.env.NODE_ENV||u(y)||Bt.has(y)||!Se.has(v)||(Bt.add(y),console.warn('styled-components: it looks like an unknown prop "'.concat(y,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var x=function(e,n){var r=zt(),o=e.generateAndInjectStyles(n,r.styleSheet,r.stylis);return"production"!==process.env.NODE_ENV&&t.useDebugValue(o),o}(a,h);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(x);var w=Ze(s,c);return x&&(w+=" "+x),h.className&&(w+=" "+h.className),b[je(v)&&!Se.has(v)?"class":"className"]=w,b.ref=r,t.createElement(v,b)}(S,e,n)}w.displayName=m;var S=t.forwardRef(w);return S.attrs=h,S.componentStyle=x,S.displayName=m,S.shouldForwardProp=v,S.foldedComponentIds=o?Ze(a.foldedComponentIds,a.styledComponentId):"",S.styledComponentId=g,S.target=o?a.target:e,Object.defineProperty(S,"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 r=0,o=t;r<o.length;r++)nt(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(ye(m,g),S.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var a=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(a,".\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 />"),r=!0,n={}}}}(m,g)),rt(S,(function(){return".".concat(S.styledComponentId)})),l&&Je(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Wt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Gt=function(e){return Object.assign(e,{isCss:!0})};function qt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Xe(e)||tt(e))return Gt(At(Wt(xe,l([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?At(r):Gt(At(Wt(r,t)))}function Ut(e,t,n){if(void 0===n&&(n=we),!t)throw it(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,qt.apply(void 0,l([r],o,!1)))};return r.attrs=function(r){return Ut(e,t,i(i({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Ut(e,t,i(i({},n),r))},r}var Yt=function(e){return Ut(Ht,e)},Kt=Yt;function Jt(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 r=et(qt.apply(void 0,l([e],t,!1))),o=De(r);return new Rt(o,r)}Se.forEach((function(e){Kt[e]=Yt(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var Xt="__sc-".concat(ue,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[Xt]||(window[Xt]=0),1===window[Xt]&&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[Xt]+=1);const Qt=Kt.div`
|
|
2
2
|
color: var(--color--grey-dark);
|
|
3
3
|
font-weight: var(--font-weight--bold);
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
h6 {
|
|
29
29
|
font-size: 0.95rem;
|
|
30
30
|
}
|
|
31
|
-
`;function Zt({children:t,as:n}){const r=n;return r?e.jsx(Qt,{children:e.jsx(r,{children:t})}):null}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){on(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nn(e){return nn="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},nn(e)}function rn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function an(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||sn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(e){return function(e){if(Array.isArray(e))return cn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sn(e,t){if(e){if("string"==typeof e)return cn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cn(e,t):void 0}}function cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var un=function(){},dn={},pn={},fn=null,mn={mark:un,measure:un};try{"undefined"!=typeof window&&(dn=window),"undefined"!=typeof document&&(pn=document),"undefined"!=typeof MutationObserver&&(fn=MutationObserver),"undefined"!=typeof performance&&(mn=performance)}catch(e){}var gn=(dn.navigator||{}).userAgent,hn=void 0===gn?"":gn,vn=dn,bn=pn,yn=fn,xn=mn;vn.document;var wn,Sn,Cn,kn,On,En=!!bn.documentElement&&!!bn.head&&"function"==typeof bn.addEventListener&&"function"==typeof bn.createElement,In=~hn.indexOf("MSIE")||~hn.indexOf("Trident/"),Pn="___FONT_AWESOME___",$n=16,Nn="fa",zn="svg-inline--fa",Rn="data-fa-i2svg",Tn="data-fa-pseudo-element",Dn="data-fa-pseudo-element-pending",jn="data-prefix",An="data-icon",Mn="fontawesome-i2svg",_n="async",Ln=["HTML","HEAD","STYLE","SCRIPT"],Fn=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}(),Vn="classic",Bn="sharp",Hn=[Vn,Bn];function Wn(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[Vn]}})}var Gn=Wn((on(wn={},Vn,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),on(wn,Bn,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),wn)),qn=Wn((on(Sn={},Vn,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),on(Sn,Bn,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Sn)),Yn=Wn((on(Cn={},Vn,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),on(Cn,Bn,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Cn)),Un=Wn((on(kn={},Vn,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),on(kn,Bn,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),kn)),Kn=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Jn="fa-layers-text",Xn=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Qn=Wn((on(On={},Vn,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),on(On,Bn,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),On)),Zn=[1,2,3,4,5,6,7,8,9,10],er=Zn.concat([11,12,13,14,15,16,17,18,19,20]),tr=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],nr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},rr=new Set;Object.keys(qn[Vn]).map(rr.add.bind(rr)),Object.keys(qn[Bn]).map(rr.add.bind(rr));var or=[].concat(Hn,ln(rr),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",nr.GROUP,nr.SWAP_OPACITY,nr.PRIMARY,nr.SECONDARY]).concat(Zn.map((function(e){return"".concat(e,"x")}))).concat(er.map((function(e){return"w-".concat(e)}))),ar=vn.FontAwesomeConfig||{};if(bn&&"function"==typeof bn.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=an(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=bn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(ar[r]=o)}))}var ir={styleDefault:"solid",familyDefault:"classic",cssPrefix:Nn,replacementClass:zn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ar.familyPrefix&&(ar.cssPrefix=ar.familyPrefix);var lr=tn(tn({},ir),ar);lr.autoReplaceSvg||(lr.observeMutations=!1);var sr={};Object.keys(ir).forEach((function(e){Object.defineProperty(sr,e,{enumerable:!0,set:function(t){lr[e]=t,cr.forEach((function(e){return e(sr)}))},get:function(){return lr[e]}})})),Object.defineProperty(sr,"familyPrefix",{enumerable:!0,set:function(e){lr.cssPrefix=e,cr.forEach((function(e){return e(sr)}))},get:function(){return lr.cssPrefix}}),vn.FontAwesomeConfig=sr;var cr=[];var ur=$n,dr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var pr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function fr(){for(var e=12,t="";e-- >0;)t+=pr[62*Math.random()|0];return t}function mr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function gr(e){return e.classList?mr(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function hr(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function vr(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function br(e){return e.size!==dr.size||e.x!==dr.x||e.y!==dr.y||e.rotate!==dr.rotate||e.flipX||e.flipY}var yr=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function xr(){var e=Nn,t=zn,n=sr.cssPrefix,r=sr.replacementClass,o=yr;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return o}var wr=!1;function Sr(){sr.autoAddCss&&!wr&&(!function(e){if(e&&En){var t=bn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=bn.head.childNodes,r=null,o=n.length-1;o>-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}bn.head.insertBefore(t,r)}}(xr()),wr=!0)}var Cr={mixout:function(){return{dom:{css:xr,insertCss:Sr}}},hooks:function(){return{beforeDOMElementCreation:function(){Sr()},beforeI2svg:function(){Sr()}}}},kr=vn||{};kr[Pn]||(kr[Pn]={}),kr[Pn].styles||(kr[Pn].styles={}),kr[Pn].hooks||(kr[Pn].hooks={}),kr[Pn].shims||(kr[Pn].shims=[]);var Or=kr[Pn],Er=[],Ir=!1;function Pr(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?hr(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(hr(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(Pr).join(""),"</").concat(t,">")}function $r(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}En&&((Ir=(bn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(bn.readyState))||bn.addEventListener("DOMContentLoaded",(function e(){bn.removeEventListener("DOMContentLoaded",e),Ir=1,Er.map((function(e){return e()}))})));var Nr,zr,Rr,Tr=function(e,t,n,r){var o,a,i,l=Object.keys(e),s=l.length,c=t;for(void 0===n?(o=1,i=e[l[0]]):(o=0,i=n);o<s;o++)i=c(i,e[a=l[o]],a,e);return i};function Dr(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&o)<<10)+(1023&a)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function jr(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Ar(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=jr(t);"function"!=typeof Or.hooks.addPack||r?Or.styles[e]=tn(tn({},Or.styles[e]||{}),o):Or.hooks.addPack(e,jr(t)),"fas"===e&&Ar("fa",t)}var Mr=Or.styles,_r=Or.shims,Lr=(on(Nr={},Vn,Object.values(Yn[Vn])),on(Nr,Bn,Object.values(Yn[Bn])),Nr),Fr=null,Vr={},Br={},Hr={},Wr={},Gr={},qr=(on(zr={},Vn,Object.keys(Gn[Vn])),on(zr,Bn,Object.keys(Gn[Bn])),zr);function Yr(e,t){var n,r=t.split("-"),o=r[0],a=r.slice(1).join("-");return o!==e||""===a||(n=a,~or.indexOf(n))?null:a}var Ur,Kr=function(){var e=function(e){return Tr(Mr,(function(t,n,r){return t[r]=Tr(n,e,{}),t}),{})};Vr=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Br=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),Gr=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Mr||sr.autoFetchSvg,n=Tr(_r,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:a}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:a}),e}),{names:{},unicodes:{}});Hr=n.names,Wr=n.unicodes,Fr=to(sr.styleDefault,{family:sr.familyDefault})};function Jr(e,t){return(Vr[e]||{})[t]}function Xr(e,t){return(Gr[e]||{})[t]}function Qr(e){return Hr[e]||{prefix:null,iconName:null}}function Zr(){return Fr}Ur=function(e){Fr=to(e.styleDefault,{family:sr.familyDefault})},cr.push(Ur),Kr();var eo=function(){return{prefix:null,iconName:null,rest:[]}};function to(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?Vn:t,r=Gn[n][e],o=qn[n][e]||qn[n][r],a=e in Or.styles?e:null;return o||a||null}var no=(on(Rr={},Vn,Object.keys(Yn[Vn])),on(Rr,Bn,Object.keys(Yn[Bn])),Rr);function ro(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,o=(on(t={},Vn,"".concat(sr.cssPrefix,"-").concat(Vn)),on(t,Bn,"".concat(sr.cssPrefix,"-").concat(Bn)),t),a=null,i=Vn;(e.includes(o[Vn])||e.some((function(e){return no[Vn].includes(e)})))&&(i=Vn),(e.includes(o[Bn])||e.some((function(e){return no[Bn].includes(e)})))&&(i=Bn);var l=e.reduce((function(e,t){var n=Yr(sr.cssPrefix,t);if(Mr[t]?(t=Lr[i].includes(t)?Un[i][t]:t,a=t,e.prefix=t):qr[i].indexOf(t)>-1?(a=t,e.prefix=to(t,{family:i})):n?e.iconName=n:t!==sr.replacementClass&&t!==o[Vn]&&t!==o[Bn]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var l="fa"===a?Qr(e.iconName):{},s=Xr(e.prefix,e.iconName);l.prefix&&(a=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||Mr.far||!Mr.fas||sr.autoFetchSvg||(e.prefix="fas")}return e}),eo());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==Bn||!Mr.fass&&!sr.autoFetchSvg||(l.prefix="fass",l.iconName=Xr(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=Zr()||"fas"),l}var oo=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}return rn(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=tn(tn({},e.definitions[t]||{}),o[t]),Ar(t,o[t]);var n=Yn[Vn][t];n&&Ar(n,o[t]),Kr()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,a=r.iconName,i=r.icon,l=i[2];e[o]||(e[o]={}),l.length>0&&l.forEach((function(t){"string"==typeof t&&(e[o][t]=i)})),e[o][a]=i})),e}}]),e}(),ao=[],io={},lo={},so=Object.keys(lo);function co(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(io[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function uo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(io[e]||[]).forEach((function(e){e.apply(null,n)}))}function po(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return lo[e]?lo[e].apply(null,t):void 0}function fo(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Zr();if(t)return t=Xr(n,t)||t,$r(mo.definitions,n,t)||$r(Or.styles,n,t)}var mo=new oo,go={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return En?(uo("beforeI2svg",e),po("pseudoElements2svg",e),po("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===sr.autoReplaceSvg&&(sr.autoReplaceSvg=!0),sr.observeMutations=!0,e=function(){bo({autoReplaceSvgRoot:n}),uo("watch",t)},En&&(Ir?setTimeout(e,0):Er.push(e))}},ho={icon:function(e){if(null===e)return null;if("object"===nn(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Xr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=to(e[0]);return{prefix:n,iconName:Xr(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(sr.cssPrefix,"-"))>-1||e.match(Kn))){var r=ro(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Zr(),iconName:Xr(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=Zr();return{prefix:o,iconName:Xr(o,e)||e}}}},vo={noAuto:function(){sr.autoReplaceSvg=!1,sr.observeMutations=!1,uo("noAuto")},config:sr,dom:go,parse:ho,library:mo,findIconDefinition:fo,toHtml:Pr},bo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?bn:e;(Object.keys(Or.styles).length>0||sr.autoFetchSvg)&&En&&sr.autoReplaceSvg&&vo.dom.i2svg({node:t})};function yo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Pr(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(En){var t=bn.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function xo(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,g=m.width,h=m.height,v="fak"===o,b=[sr.replacementClass,a?"".concat(sr.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),y={children:[],attributes:tn(tn({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},x=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};f&&(y.attributes[Rn]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||fr())},children:[s]}),delete y.attributes.title);var w=tn(tn({},y),{},{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:tn(tn({},x),d.styles)}),S=r.found&&n.found?po("generateAbstractMask",w)||{children:[],attributes:{}}:po("generateAbstractIcon",w)||{children:[],attributes:{}},C=S.children,k=S.attributes;return w.children=C,w.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,i=!0===a?"".concat(t,"-").concat(sr.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:tn(tn({},o),{},{id:i}),children:r}]}]}(w):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(br(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=vr(tn(tn({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(w)}function wo(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=tn(tn(tn({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(c[Rn]="");var u=tn({},i.styles);br(o)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?$n:n,o=e.height,a=void 0===o?$n:o,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&In?"translate(".concat(t.x/ur-r/2,"em, ").concat(t.y/ur-a/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/ur,"em), calc(-50% + ").concat(t.y/ur,"em)) "):"translate(".concat(t.x/ur,"em, ").concat(t.y/ur,"em) "),s+="scale(".concat(t.size/ur*(t.flipX?-1:1),", ").concat(t.size/ur*(t.flipY?-1:1),") "),s+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=vr(u);d.length>0&&(c.style=d);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var So=Or.styles;function Co(e){var t=e[0],n=e[1],r=an(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(sr.cssPrefix,"-").concat(nr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(sr.cssPrefix,"-").concat(nr.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(sr.cssPrefix,"-").concat(nr.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var ko={found:!1,width:512,height:512};function Oo(e,t){var n=t;return"fa"===t&&null!==sr.styleDefault&&(t=Zr()),new Promise((function(r,o){if(po("missingIconAbstract"),"fa"===n){var a=Qr(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&So[t]&&So[t][e])return r(Co(So[t][e]));!function(e,t){Fn||sr.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(tn(tn({},ko),{},{icon:sr.showMissingIcons&&e&&po("missingIconAbstract")||{}}))}))}var Eo=function(){},Io=sr.measurePerformance&&xn&&xn.mark&&xn.measure?xn:{mark:Eo,measure:Eo},Po='FA "6.5.2"',$o=function(e){Io.mark("".concat(Po," ").concat(e," ends")),Io.measure("".concat(Po," ").concat(e),"".concat(Po," ").concat(e," begins"),"".concat(Po," ").concat(e," ends"))},No={begin:function(e){return Io.mark("".concat(Po," ").concat(e," begins")),function(){return $o(e)}},end:$o},zo=function(){};function Ro(e){return"string"==typeof(e.getAttribute?e.getAttribute(Rn):null)}function To(e){return bn.createElementNS("http://www.w3.org/2000/svg",e)}function Do(e){return bn.createElement(e)}function jo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?To:Do:t;if("string"==typeof e)return bn.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(jo(e,{ceFn:n}))})),r}var Ao={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(jo(e),t)})),null===t.getAttribute(Rn)&&sr.keepOriginalSource){var n=bn.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~gr(t).indexOf(sr.replacementClass))return Ao.replace(e);var r=new RegExp("".concat(sr.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===sr.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=n.map((function(e){return Pr(e)})).join("\n");t.setAttribute(Rn,""),t.innerHTML=a}};function Mo(e){e()}function _o(e,t){var n="function"==typeof t?t:zo;if(0===e.length)n();else{var r=Mo;sr.mutateApproach===_n&&(r=vn.requestAnimationFrame||Mo),r((function(){var t=!0===sr.autoReplaceSvg?Ao.replace:Ao[sr.autoReplaceSvg]||Ao.replace,r=No.begin("mutate");e.map(t),r(),n()}))}}var Lo=!1;function Fo(){Lo=!0}function Vo(){Lo=!1}var Bo=null;function Ho(e){if(yn&&sr.observeMutations){var t=e.treeCallback,n=void 0===t?zo:t,r=e.nodeCallback,o=void 0===r?zo:r,a=e.pseudoElementsCallback,i=void 0===a?zo:a,l=e.observeMutationsRoot,s=void 0===l?bn:l;Bo=new yn((function(e){if(!Lo){var t=Zr();mr(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ro(e.addedNodes[0])&&(sr.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&sr.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&Ro(e.target)&&~tr.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(jn):null,n=e.getAttribute?e.getAttribute(An):null;return t&&n}(e.target)){var r=ro(gr(e.target)),a=r.prefix,l=r.iconName;e.target.setAttribute(jn,a||t),l&&e.target.setAttribute(An,l)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(sr.replacementClass)})(e.target)&&o(e.target)}))}})),En&&Bo.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Wo(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=ro(gr(e));return o.prefix||(o.prefix=Zr()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Br[e]||{})[t]}(o.prefix,e.innerText)||Jr(o.prefix,Dr(e.innerText))),!o.iconName&&sr.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Go(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Wo(e),r=n.iconName,o=n.prefix,a=n.rest,i=function(e){var t=mr(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return sr.autoA11y&&(n?t["aria-labelledby"]="".concat(sr.replacementClass,"-title-").concat(r||fr()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=co("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return tn({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:dr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:i}},l)}var qo=Or.styles;function Yo(e){var t="nest"===sr.autoReplaceSvg?Go(e,{styleParser:!1}):Go(e);return~t.extra.classes.indexOf(Jn)?po("generateLayersText",e,t):po("generateSvgReplacementMutation",e,t)}var Uo=new Set;function Ko(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!En)return Promise.resolve();var n=bn.documentElement.classList,r=function(e){return n.add("".concat(Mn,"-").concat(e))},o=function(e){return n.remove("".concat(Mn,"-").concat(e))},a=sr.autoFetchSvg?Uo:Hn.map((function(e){return"fa-".concat(e)})).concat(Object.keys(qo));a.includes("fa")||a.push("fa");var i=[".".concat(Jn,":not([").concat(Rn,"])")].concat(a.map((function(e){return".".concat(e,":not([").concat(Rn,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=mr(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),o("complete");var s=No.begin("onTree"),c=l.reduce((function(e,t){try{var n=Yo(t);n&&e.push(n)}catch(e){Fn||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){_o(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function Jo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Yo(e).then((function(e){e&&_o([e],t)}))}function Xo(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:fo(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:fo(o||{})),e(r,tn(tn({},n),{},{mask:o}))}}Hn.map((function(e){Uo.add("fa-".concat(e))})),Object.keys(Gn[Vn]).map(Uo.add.bind(Uo)),Object.keys(Gn[Bn]).map(Uo.add.bind(Uo)),Uo=ln(Uo);var Qo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?dr:n,o=t.symbol,a=void 0!==o&&o,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,d=void 0===u?null:u,p=t.titleId,f=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,h=t.attributes,v=void 0===h?{}:h,b=t.styles,y=void 0===b?{}:b;if(e){var x=e.prefix,w=e.iconName,S=e.icon;return yo(tn({type:"icon"},e),(function(){return uo("beforeDOMElementCreation",{iconDefinition:e,params:t}),sr.autoA11y&&(d?v["aria-labelledby"]="".concat(sr.replacementClass,"-title-").concat(f||fr()):(v["aria-hidden"]="true",v.focusable="false")),xo({icons:{main:Co(S),mask:l?Co(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:w,transform:tn(tn({},dr),r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:v,styles:y,classes:g}})}))}},Zo={mixout:function(){return{icon:Xo(Qo)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Ko,e.nodeCallback=Jo,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?bn:t,r=e.callback;return Ko(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,a=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([Oo(n,a),s.iconName?Oo(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=an(s,2),p=d[0],f=d[1];t([e,xo({icons:{main:p,mask:f},prefix:a,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:o,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.transform,i=vr(e.styles);return i.length>0&&(r.style=i),br(a)&&(t=po("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},ea={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return yo({type:"layer"},(function(){uo("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(sr.cssPrefix,"-layers")].concat(ln(r)).join(" ")},children:n}]}))}}}},ta={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,a=void 0===o?[]:o,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return yo({type:"counter",content:e},(function(){return uo("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=tn(tn(tn({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=vr(r.styles);a.length>0&&(o.style=a);var i=[];return i.push({tag:"span",attributes:o,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(sr.cssPrefix,"-layers-counter")].concat(ln(a))}})}))}}}},na={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?dr:n,o=t.title,a=void 0===o?null:o,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,d=void 0===u?{}:u;return yo({type:"text",content:e},(function(){return uo("beforeDOMElementCreation",{content:e,params:t}),wo({content:e,transform:tn(tn({},dr),r),title:a,extra:{attributes:c,styles:d,classes:["".concat(sr.cssPrefix,"-layers-text")].concat(ln(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,a=null,i=null;if(In){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/l,i=s.height/l}return sr.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,wo({content:e.innerHTML,width:a,height:i,transform:r,title:n,extra:o,watchable:!0})])}}},ra=new RegExp('"',"ug"),oa=[1105920,1112319];function aa(e,t){var n="".concat(Dn).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,i,l,s=mr(e.children).filter((function(e){return e.getAttribute(Tn)===t}))[0],c=vn.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(Xn),d=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==p&&""!==p){var f=c.getPropertyValue("content"),m=~["Sharp"].indexOf(u[2])?Bn:Vn,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?qn[m][u[2].toLowerCase()]:Qn[m][d],h=function(e){var t,n,r,o,a,i=e.replace(ra,""),l=(n=0,o=(t=i).length,(a=t.charCodeAt(n))>=55296&&a<=56319&&o>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(a-55296)+r-56320+65536:a),s=l>=oa[0]&&l<=oa[1],c=2===i.length&&i[0]===i[1];return{value:Dr(c?i[0]:i),isSecondary:s||c}}(f),v=h.value,b=h.isSecondary,y=u[0].startsWith("FontAwesome"),x=Jr(g,v),w=x;if(y){var S=(i=Wr[a=v],l=Jr("fas",a),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});S.iconName&&S.prefix&&(x=S.iconName,g=S.prefix)}if(!x||b||s&&s.getAttribute(jn)===g&&s.getAttribute(An)===w)r();else{e.setAttribute(n,w),s&&e.removeChild(s);var C={iconName:null,title:null,titleId:null,prefix:null,transform:dr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=C.extra;k.attributes[Tn]=t,Oo(x,g).then((function(o){var a=xo(tn(tn({},C),{},{icons:{main:o,mask:eo()},prefix:g,iconName:w,extra:k,watchable:!0})),i=bn.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=a.map((function(e){return Pr(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ia(e){return Promise.all([aa(e,"::before"),aa(e,"::after")])}function la(e){return!(e.parentNode===document.head||~Ln.indexOf(e.tagName.toUpperCase())||e.getAttribute(Tn)||e.parentNode&&"svg"===e.parentNode.tagName)}function sa(e){if(En)return new Promise((function(t,n){var r=mr(e.querySelectorAll("*")).filter(la).map(ia),o=No.begin("searchPseudoElements");Fo(),Promise.all(r).then((function(){o(),Vo(),t()})).catch((function(){o(),Vo(),n()}))}))}var ca={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=sa,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?bn:t;sr.searchPseudoElements&&sa(n)}}},ua=!1,da=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},pa={mixout:function(){return{parse:{transform:function(e){return da(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=da(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),c={outer:a,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:tn({},c.outer),children:[{tag:"g",attributes:tn({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:tn(tn({},t.icon.attributes),c.path)}]}]}}}},fa={x:0,y:0,width:"100%",height:"100%"};function ma(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ga={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?ro(n.split(" ").map((function(e){return e.trim()}))):eo();return r.prefix||(r.prefix=Zr()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,l=e.transform,s=o.width,c=o.icon,u=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),f={tag:"rect",attributes:tn(tn({},fa),{},{fill:"white"})},m=c.children?{children:c.children.map(ma)}:{},g={tag:"g",attributes:tn({},p.inner),children:[ma(tn({tag:c.tag,attributes:tn(tn({},c.attributes),p.path)},m))]},h={tag:"g",attributes:tn({},p.outer),children:[g]},v="mask-".concat(i||fr()),b="clip-".concat(i||fr()),y={tag:"mask",attributes:tn(tn({},fa),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,h]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(x,{tag:"rect",attributes:tn({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},fa)}),{children:n,attributes:r}}}},ha={provides:function(e){var t=!1;vn.matchMedia&&(t=vn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:tn(tn({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=tn(tn({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:tn(tn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:tn(tn({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:tn(tn({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:tn(tn({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:tn(tn({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:tn(tn({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:tn(tn({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},va=[Cr,Zo,ea,ta,na,ca,{mixout:function(){return{dom:{unwatch:function(){Fo(),ua=!0}}}},hooks:function(){return{bootstrap:function(){Ho(co("mutationObserverCallbacks",{}))},noAuto:function(){Bo&&Bo.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ua?Vo():Ho(co("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},pa,ga,ha,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];!function(e,t){var n=t.mixoutsTo;ao=e,io={},Object.keys(lo).forEach((function(e){-1===so.indexOf(e)&&delete lo[e]})),ao.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===nn(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){io[e]||(io[e]=[]),io[e].push(r[e])}))}e.provides&&e.provides(lo)}))}(va,{mixoutsTo:vo});var ba,ya=vo.library,xa=vo.parse,wa=vo.icon,Sa={exports:{}},Ca={exports:{}},ka={};var Oa,Ea,Ia,Pa,$a,Na,za,Ra,Ta,Da,ja,Aa,Ma,_a,La={};
|
|
31
|
+
`;function Zt({children:t,as:n}){const r=n;return r?e.jsx(Qt,{children:e.jsx(r,{children:t})}):null}function en(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?en(Object(n),!0).forEach((function(t){on(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):en(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nn(e){return nn="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},nn(e)}function rn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function an(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||sn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ln(e){return function(e){if(Array.isArray(e))return cn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sn(e,t){if(e){if("string"==typeof e)return cn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?cn(e,t):void 0}}function cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var un=function(){},dn={},pn={},fn=null,mn={mark:un,measure:un};try{"undefined"!=typeof window&&(dn=window),"undefined"!=typeof document&&(pn=document),"undefined"!=typeof MutationObserver&&(fn=MutationObserver),"undefined"!=typeof performance&&(mn=performance)}catch(e){}var gn=(dn.navigator||{}).userAgent,hn=void 0===gn?"":gn,vn=dn,bn=pn,yn=fn,xn=mn;vn.document;var wn,Sn,Cn,kn,On,In=!!bn.documentElement&&!!bn.head&&"function"==typeof bn.addEventListener&&"function"==typeof bn.createElement,En=~hn.indexOf("MSIE")||~hn.indexOf("Trident/"),Pn="___FONT_AWESOME___",Nn=16,$n="fa",zn="svg-inline--fa",Rn="data-fa-i2svg",Dn="data-fa-pseudo-element",Tn="data-fa-pseudo-element-pending",jn="data-prefix",Mn="data-icon",An="fontawesome-i2svg",Vn="async",_n=["HTML","HEAD","STYLE","SCRIPT"],Ln=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}(),Fn="classic",Bn="sharp",Hn=[Fn,Bn];function Wn(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[Fn]}})}var Gn=Wn((on(wn={},Fn,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),on(wn,Bn,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),wn)),qn=Wn((on(Sn={},Fn,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),on(Sn,Bn,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Sn)),Un=Wn((on(Cn={},Fn,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),on(Cn,Bn,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Cn)),Yn=Wn((on(kn={},Fn,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),on(kn,Bn,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),kn)),Kn=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Jn="fa-layers-text",Xn=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Qn=Wn((on(On={},Fn,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),on(On,Bn,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),On)),Zn=[1,2,3,4,5,6,7,8,9,10],er=Zn.concat([11,12,13,14,15,16,17,18,19,20]),tr=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],nr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},rr=new Set;Object.keys(qn[Fn]).map(rr.add.bind(rr)),Object.keys(qn[Bn]).map(rr.add.bind(rr));var or=[].concat(Hn,ln(rr),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",nr.GROUP,nr.SWAP_OPACITY,nr.PRIMARY,nr.SECONDARY]).concat(Zn.map((function(e){return"".concat(e,"x")}))).concat(er.map((function(e){return"w-".concat(e)}))),ar=vn.FontAwesomeConfig||{};if(bn&&"function"==typeof bn.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=an(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=bn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(ar[r]=o)}))}var ir={styleDefault:"solid",familyDefault:"classic",cssPrefix:$n,replacementClass:zn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ar.familyPrefix&&(ar.cssPrefix=ar.familyPrefix);var lr=tn(tn({},ir),ar);lr.autoReplaceSvg||(lr.observeMutations=!1);var sr={};Object.keys(ir).forEach((function(e){Object.defineProperty(sr,e,{enumerable:!0,set:function(t){lr[e]=t,cr.forEach((function(e){return e(sr)}))},get:function(){return lr[e]}})})),Object.defineProperty(sr,"familyPrefix",{enumerable:!0,set:function(e){lr.cssPrefix=e,cr.forEach((function(e){return e(sr)}))},get:function(){return lr.cssPrefix}}),vn.FontAwesomeConfig=sr;var cr=[];var ur=Nn,dr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var pr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function fr(){for(var e=12,t="";e-- >0;)t+=pr[62*Math.random()|0];return t}function mr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function gr(e){return e.classList?mr(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function hr(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function vr(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function br(e){return e.size!==dr.size||e.x!==dr.x||e.y!==dr.y||e.rotate!==dr.rotate||e.flipX||e.flipY}var yr=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function xr(){var e=$n,t=zn,n=sr.cssPrefix,r=sr.replacementClass,o=yr;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return o}var wr=!1;function Sr(){sr.autoAddCss&&!wr&&(!function(e){if(e&&In){var t=bn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=bn.head.childNodes,r=null,o=n.length-1;o>-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}bn.head.insertBefore(t,r)}}(xr()),wr=!0)}var Cr={mixout:function(){return{dom:{css:xr,insertCss:Sr}}},hooks:function(){return{beforeDOMElementCreation:function(){Sr()},beforeI2svg:function(){Sr()}}}},kr=vn||{};kr[Pn]||(kr[Pn]={}),kr[Pn].styles||(kr[Pn].styles={}),kr[Pn].hooks||(kr[Pn].hooks={}),kr[Pn].shims||(kr[Pn].shims=[]);var Or=kr[Pn],Ir=[],Er=!1;function Pr(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?hr(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(hr(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(Pr).join(""),"</").concat(t,">")}function Nr(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}In&&((Er=(bn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(bn.readyState))||bn.addEventListener("DOMContentLoaded",(function e(){bn.removeEventListener("DOMContentLoaded",e),Er=1,Ir.map((function(e){return e()}))})));var $r,zr,Rr,Dr=function(e,t,n,r){var o,a,i,l=Object.keys(e),s=l.length,c=t;for(void 0===n?(o=1,i=e[l[0]]):(o=0,i=n);o<s;o++)i=c(i,e[a=l[o]],a,e);return i};function Tr(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&o)<<10)+(1023&a)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function jr(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Mr(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=jr(t);"function"!=typeof Or.hooks.addPack||r?Or.styles[e]=tn(tn({},Or.styles[e]||{}),o):Or.hooks.addPack(e,jr(t)),"fas"===e&&Mr("fa",t)}var Ar=Or.styles,Vr=Or.shims,_r=(on($r={},Fn,Object.values(Un[Fn])),on($r,Bn,Object.values(Un[Bn])),$r),Lr=null,Fr={},Br={},Hr={},Wr={},Gr={},qr=(on(zr={},Fn,Object.keys(Gn[Fn])),on(zr,Bn,Object.keys(Gn[Bn])),zr);function Ur(e,t){var n,r=t.split("-"),o=r[0],a=r.slice(1).join("-");return o!==e||""===a||(n=a,~or.indexOf(n))?null:a}var Yr,Kr=function(){var e=function(e){return Dr(Ar,(function(t,n,r){return t[r]=Dr(n,e,{}),t}),{})};Fr=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Br=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),Gr=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Ar||sr.autoFetchSvg,n=Dr(Vr,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:a}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:a}),e}),{names:{},unicodes:{}});Hr=n.names,Wr=n.unicodes,Lr=to(sr.styleDefault,{family:sr.familyDefault})};function Jr(e,t){return(Fr[e]||{})[t]}function Xr(e,t){return(Gr[e]||{})[t]}function Qr(e){return Hr[e]||{prefix:null,iconName:null}}function Zr(){return Lr}Yr=function(e){Lr=to(e.styleDefault,{family:sr.familyDefault})},cr.push(Yr),Kr();var eo=function(){return{prefix:null,iconName:null,rest:[]}};function to(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?Fn:t,r=Gn[n][e],o=qn[n][e]||qn[n][r],a=e in Or.styles?e:null;return o||a||null}var no=(on(Rr={},Fn,Object.keys(Un[Fn])),on(Rr,Bn,Object.keys(Un[Bn])),Rr);function ro(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,o=(on(t={},Fn,"".concat(sr.cssPrefix,"-").concat(Fn)),on(t,Bn,"".concat(sr.cssPrefix,"-").concat(Bn)),t),a=null,i=Fn;(e.includes(o[Fn])||e.some((function(e){return no[Fn].includes(e)})))&&(i=Fn),(e.includes(o[Bn])||e.some((function(e){return no[Bn].includes(e)})))&&(i=Bn);var l=e.reduce((function(e,t){var n=Ur(sr.cssPrefix,t);if(Ar[t]?(t=_r[i].includes(t)?Yn[i][t]:t,a=t,e.prefix=t):qr[i].indexOf(t)>-1?(a=t,e.prefix=to(t,{family:i})):n?e.iconName=n:t!==sr.replacementClass&&t!==o[Fn]&&t!==o[Bn]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var l="fa"===a?Qr(e.iconName):{},s=Xr(e.prefix,e.iconName);l.prefix&&(a=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||Ar.far||!Ar.fas||sr.autoFetchSvg||(e.prefix="fas")}return e}),eo());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==Bn||!Ar.fass&&!sr.autoFetchSvg||(l.prefix="fass",l.iconName=Xr(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=Zr()||"fas"),l}var oo=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}return rn(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=tn(tn({},e.definitions[t]||{}),o[t]),Mr(t,o[t]);var n=Un[Fn][t];n&&Mr(n,o[t]),Kr()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,a=r.iconName,i=r.icon,l=i[2];e[o]||(e[o]={}),l.length>0&&l.forEach((function(t){"string"==typeof t&&(e[o][t]=i)})),e[o][a]=i})),e}}]),e}(),ao=[],io={},lo={},so=Object.keys(lo);function co(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(io[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function uo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(io[e]||[]).forEach((function(e){e.apply(null,n)}))}function po(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return lo[e]?lo[e].apply(null,t):void 0}function fo(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Zr();if(t)return t=Xr(n,t)||t,Nr(mo.definitions,n,t)||Nr(Or.styles,n,t)}var mo=new oo,go={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return In?(uo("beforeI2svg",e),po("pseudoElements2svg",e),po("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===sr.autoReplaceSvg&&(sr.autoReplaceSvg=!0),sr.observeMutations=!0,e=function(){bo({autoReplaceSvgRoot:n}),uo("watch",t)},In&&(Er?setTimeout(e,0):Ir.push(e))}},ho={icon:function(e){if(null===e)return null;if("object"===nn(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Xr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=to(e[0]);return{prefix:n,iconName:Xr(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(sr.cssPrefix,"-"))>-1||e.match(Kn))){var r=ro(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Zr(),iconName:Xr(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=Zr();return{prefix:o,iconName:Xr(o,e)||e}}}},vo={noAuto:function(){sr.autoReplaceSvg=!1,sr.observeMutations=!1,uo("noAuto")},config:sr,dom:go,parse:ho,library:mo,findIconDefinition:fo,toHtml:Pr},bo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?bn:e;(Object.keys(Or.styles).length>0||sr.autoFetchSvg)&&In&&sr.autoReplaceSvg&&vo.dom.i2svg({node:t})};function yo(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Pr(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(In){var t=bn.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function xo(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,g=m.width,h=m.height,v="fak"===o,b=[sr.replacementClass,a?"".concat(sr.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),y={children:[],attributes:tn(tn({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},x=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};f&&(y.attributes[Rn]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||fr())},children:[s]}),delete y.attributes.title);var w=tn(tn({},y),{},{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:tn(tn({},x),d.styles)}),S=r.found&&n.found?po("generateAbstractMask",w)||{children:[],attributes:{}}:po("generateAbstractIcon",w)||{children:[],attributes:{}},C=S.children,k=S.attributes;return w.children=C,w.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,i=!0===a?"".concat(t,"-").concat(sr.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:tn(tn({},o),{},{id:i}),children:r}]}]}(w):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(br(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=vr(tn(tn({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(w)}function wo(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=tn(tn(tn({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(c[Rn]="");var u=tn({},i.styles);br(o)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?Nn:n,o=e.height,a=void 0===o?Nn:o,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&En?"translate(".concat(t.x/ur-r/2,"em, ").concat(t.y/ur-a/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/ur,"em), calc(-50% + ").concat(t.y/ur,"em)) "):"translate(".concat(t.x/ur,"em, ").concat(t.y/ur,"em) "),s+="scale(".concat(t.size/ur*(t.flipX?-1:1),", ").concat(t.size/ur*(t.flipY?-1:1),") "),s+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=vr(u);d.length>0&&(c.style=d);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var So=Or.styles;function Co(e){var t=e[0],n=e[1],r=an(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(sr.cssPrefix,"-").concat(nr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(sr.cssPrefix,"-").concat(nr.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(sr.cssPrefix,"-").concat(nr.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var ko={found:!1,width:512,height:512};function Oo(e,t){var n=t;return"fa"===t&&null!==sr.styleDefault&&(t=Zr()),new Promise((function(r,o){if(po("missingIconAbstract"),"fa"===n){var a=Qr(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&So[t]&&So[t][e])return r(Co(So[t][e]));!function(e,t){Ln||sr.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(tn(tn({},ko),{},{icon:sr.showMissingIcons&&e&&po("missingIconAbstract")||{}}))}))}var Io=function(){},Eo=sr.measurePerformance&&xn&&xn.mark&&xn.measure?xn:{mark:Io,measure:Io},Po='FA "6.5.2"',No=function(e){Eo.mark("".concat(Po," ").concat(e," ends")),Eo.measure("".concat(Po," ").concat(e),"".concat(Po," ").concat(e," begins"),"".concat(Po," ").concat(e," ends"))},$o={begin:function(e){return Eo.mark("".concat(Po," ").concat(e," begins")),function(){return No(e)}},end:No},zo=function(){};function Ro(e){return"string"==typeof(e.getAttribute?e.getAttribute(Rn):null)}function Do(e){return bn.createElementNS("http://www.w3.org/2000/svg",e)}function To(e){return bn.createElement(e)}function jo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Do:To:t;if("string"==typeof e)return bn.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(jo(e,{ceFn:n}))})),r}var Mo={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(jo(e),t)})),null===t.getAttribute(Rn)&&sr.keepOriginalSource){var n=bn.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~gr(t).indexOf(sr.replacementClass))return Mo.replace(e);var r=new RegExp("".concat(sr.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===sr.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=n.map((function(e){return Pr(e)})).join("\n");t.setAttribute(Rn,""),t.innerHTML=a}};function Ao(e){e()}function Vo(e,t){var n="function"==typeof t?t:zo;if(0===e.length)n();else{var r=Ao;sr.mutateApproach===Vn&&(r=vn.requestAnimationFrame||Ao),r((function(){var t=!0===sr.autoReplaceSvg?Mo.replace:Mo[sr.autoReplaceSvg]||Mo.replace,r=$o.begin("mutate");e.map(t),r(),n()}))}}var _o=!1;function Lo(){_o=!0}function Fo(){_o=!1}var Bo=null;function Ho(e){if(yn&&sr.observeMutations){var t=e.treeCallback,n=void 0===t?zo:t,r=e.nodeCallback,o=void 0===r?zo:r,a=e.pseudoElementsCallback,i=void 0===a?zo:a,l=e.observeMutationsRoot,s=void 0===l?bn:l;Bo=new yn((function(e){if(!_o){var t=Zr();mr(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ro(e.addedNodes[0])&&(sr.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&sr.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&Ro(e.target)&&~tr.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(jn):null,n=e.getAttribute?e.getAttribute(Mn):null;return t&&n}(e.target)){var r=ro(gr(e.target)),a=r.prefix,l=r.iconName;e.target.setAttribute(jn,a||t),l&&e.target.setAttribute(Mn,l)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(sr.replacementClass)})(e.target)&&o(e.target)}))}})),In&&Bo.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Wo(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=ro(gr(e));return o.prefix||(o.prefix=Zr()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Br[e]||{})[t]}(o.prefix,e.innerText)||Jr(o.prefix,Tr(e.innerText))),!o.iconName&&sr.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Go(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Wo(e),r=n.iconName,o=n.prefix,a=n.rest,i=function(e){var t=mr(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return sr.autoA11y&&(n?t["aria-labelledby"]="".concat(sr.replacementClass,"-title-").concat(r||fr()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=co("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return tn({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:dr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:i}},l)}var qo=Or.styles;function Uo(e){var t="nest"===sr.autoReplaceSvg?Go(e,{styleParser:!1}):Go(e);return~t.extra.classes.indexOf(Jn)?po("generateLayersText",e,t):po("generateSvgReplacementMutation",e,t)}var Yo=new Set;function Ko(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!In)return Promise.resolve();var n=bn.documentElement.classList,r=function(e){return n.add("".concat(An,"-").concat(e))},o=function(e){return n.remove("".concat(An,"-").concat(e))},a=sr.autoFetchSvg?Yo:Hn.map((function(e){return"fa-".concat(e)})).concat(Object.keys(qo));a.includes("fa")||a.push("fa");var i=[".".concat(Jn,":not([").concat(Rn,"])")].concat(a.map((function(e){return".".concat(e,":not([").concat(Rn,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=mr(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),o("complete");var s=$o.begin("onTree"),c=l.reduce((function(e,t){try{var n=Uo(t);n&&e.push(n)}catch(e){Ln||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Vo(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function Jo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Uo(e).then((function(e){e&&Vo([e],t)}))}function Xo(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:fo(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:fo(o||{})),e(r,tn(tn({},n),{},{mask:o}))}}Hn.map((function(e){Yo.add("fa-".concat(e))})),Object.keys(Gn[Fn]).map(Yo.add.bind(Yo)),Object.keys(Gn[Bn]).map(Yo.add.bind(Yo)),Yo=ln(Yo);var Qo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?dr:n,o=t.symbol,a=void 0!==o&&o,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,d=void 0===u?null:u,p=t.titleId,f=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,h=t.attributes,v=void 0===h?{}:h,b=t.styles,y=void 0===b?{}:b;if(e){var x=e.prefix,w=e.iconName,S=e.icon;return yo(tn({type:"icon"},e),(function(){return uo("beforeDOMElementCreation",{iconDefinition:e,params:t}),sr.autoA11y&&(d?v["aria-labelledby"]="".concat(sr.replacementClass,"-title-").concat(f||fr()):(v["aria-hidden"]="true",v.focusable="false")),xo({icons:{main:Co(S),mask:l?Co(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:w,transform:tn(tn({},dr),r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:v,styles:y,classes:g}})}))}},Zo={mixout:function(){return{icon:Xo(Qo)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Ko,e.nodeCallback=Jo,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?bn:t,r=e.callback;return Ko(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,a=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([Oo(n,a),s.iconName?Oo(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=an(s,2),p=d[0],f=d[1];t([e,xo({icons:{main:p,mask:f},prefix:a,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:o,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.transform,i=vr(e.styles);return i.length>0&&(r.style=i),br(a)&&(t=po("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},ea={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return yo({type:"layer"},(function(){uo("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(sr.cssPrefix,"-layers")].concat(ln(r)).join(" ")},children:n}]}))}}}},ta={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,a=void 0===o?[]:o,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return yo({type:"counter",content:e},(function(){return uo("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=tn(tn(tn({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=vr(r.styles);a.length>0&&(o.style=a);var i=[];return i.push({tag:"span",attributes:o,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(sr.cssPrefix,"-layers-counter")].concat(ln(a))}})}))}}}},na={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?dr:n,o=t.title,a=void 0===o?null:o,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,d=void 0===u?{}:u;return yo({type:"text",content:e},(function(){return uo("beforeDOMElementCreation",{content:e,params:t}),wo({content:e,transform:tn(tn({},dr),r),title:a,extra:{attributes:c,styles:d,classes:["".concat(sr.cssPrefix,"-layers-text")].concat(ln(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,a=null,i=null;if(En){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/l,i=s.height/l}return sr.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,wo({content:e.innerHTML,width:a,height:i,transform:r,title:n,extra:o,watchable:!0})])}}},ra=new RegExp('"',"ug"),oa=[1105920,1112319];function aa(e,t){var n="".concat(Tn).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,i,l,s=mr(e.children).filter((function(e){return e.getAttribute(Dn)===t}))[0],c=vn.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(Xn),d=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==p&&""!==p){var f=c.getPropertyValue("content"),m=~["Sharp"].indexOf(u[2])?Bn:Fn,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?qn[m][u[2].toLowerCase()]:Qn[m][d],h=function(e){var t,n,r,o,a,i=e.replace(ra,""),l=(n=0,o=(t=i).length,(a=t.charCodeAt(n))>=55296&&a<=56319&&o>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(a-55296)+r-56320+65536:a),s=l>=oa[0]&&l<=oa[1],c=2===i.length&&i[0]===i[1];return{value:Tr(c?i[0]:i),isSecondary:s||c}}(f),v=h.value,b=h.isSecondary,y=u[0].startsWith("FontAwesome"),x=Jr(g,v),w=x;if(y){var S=(i=Wr[a=v],l=Jr("fas",a),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});S.iconName&&S.prefix&&(x=S.iconName,g=S.prefix)}if(!x||b||s&&s.getAttribute(jn)===g&&s.getAttribute(Mn)===w)r();else{e.setAttribute(n,w),s&&e.removeChild(s);var C={iconName:null,title:null,titleId:null,prefix:null,transform:dr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=C.extra;k.attributes[Dn]=t,Oo(x,g).then((function(o){var a=xo(tn(tn({},C),{},{icons:{main:o,mask:eo()},prefix:g,iconName:w,extra:k,watchable:!0})),i=bn.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=a.map((function(e){return Pr(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ia(e){return Promise.all([aa(e,"::before"),aa(e,"::after")])}function la(e){return!(e.parentNode===document.head||~_n.indexOf(e.tagName.toUpperCase())||e.getAttribute(Dn)||e.parentNode&&"svg"===e.parentNode.tagName)}function sa(e){if(In)return new Promise((function(t,n){var r=mr(e.querySelectorAll("*")).filter(la).map(ia),o=$o.begin("searchPseudoElements");Lo(),Promise.all(r).then((function(){o(),Fo(),t()})).catch((function(){o(),Fo(),n()}))}))}var ca={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=sa,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?bn:t;sr.searchPseudoElements&&sa(n)}}},ua=!1,da=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},pa={mixout:function(){return{parse:{transform:function(e){return da(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=da(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),c={outer:a,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:tn({},c.outer),children:[{tag:"g",attributes:tn({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:tn(tn({},t.icon.attributes),c.path)}]}]}}}},fa={x:0,y:0,width:"100%",height:"100%"};function ma(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ga={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?ro(n.split(" ").map((function(e){return e.trim()}))):eo();return r.prefix||(r.prefix=Zr()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,l=e.transform,s=o.width,c=o.icon,u=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),f={tag:"rect",attributes:tn(tn({},fa),{},{fill:"white"})},m=c.children?{children:c.children.map(ma)}:{},g={tag:"g",attributes:tn({},p.inner),children:[ma(tn({tag:c.tag,attributes:tn(tn({},c.attributes),p.path)},m))]},h={tag:"g",attributes:tn({},p.outer),children:[g]},v="mask-".concat(i||fr()),b="clip-".concat(i||fr()),y={tag:"mask",attributes:tn(tn({},fa),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,h]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(x,{tag:"rect",attributes:tn({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},fa)}),{children:n,attributes:r}}}},ha={provides:function(e){var t=!1;vn.matchMedia&&(t=vn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:tn(tn({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=tn(tn({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:tn(tn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:tn(tn({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:tn(tn({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:tn(tn({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:tn(tn({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:tn(tn({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:tn(tn({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},va=[Cr,Zo,ea,ta,na,ca,{mixout:function(){return{dom:{unwatch:function(){Lo(),ua=!0}}}},hooks:function(){return{bootstrap:function(){Ho(co("mutationObserverCallbacks",{}))},noAuto:function(){Bo&&Bo.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ua?Fo():Ho(co("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},pa,ga,ha,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];!function(e,t){var n=t.mixoutsTo;ao=e,io={},Object.keys(lo).forEach((function(e){-1===so.indexOf(e)&&delete lo[e]})),ao.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===nn(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){io[e]||(io[e]=[]),io[e].push(r[e])}))}e.provides&&e.provides(lo)}))}(va,{mixoutsTo:vo});var ba,ya=vo.library,xa=vo.parse,wa=vo.icon,Sa={exports:{}},Ca={exports:{}},ka={};var Oa,Ia,Ea,Pa,Na,$a,za,Ra,Da,Ta,ja,Ma,Aa,Va,_a={};
|
|
32
32
|
/** @license React v16.13.1
|
|
33
33
|
* react-is.development.js
|
|
34
34
|
*
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
*
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/function
|
|
39
|
+
*/function La(){return Ia||(Ia=1,"production"===process.env.NODE_ENV?Ca.exports=function(){if(ba)return ka;ba=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=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,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=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 p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case m:case f:case i:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return ka.AsyncMode=s,ka.ConcurrentMode=c,ka.ContextConsumer=l,ka.ContextProvider=i,ka.Element=t,ka.ForwardRef=u,ka.Fragment=r,ka.Lazy=m,ka.Memo=f,ka.Portal=n,ka.Profiler=a,ka.StrictMode=o,ka.Suspense=d,ka.isAsyncMode=function(e){return x(e)||y(e)===s},ka.isConcurrentMode=x,ka.isContextConsumer=function(e){return y(e)===l},ka.isContextProvider=function(e){return y(e)===i},ka.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ka.isForwardRef=function(e){return y(e)===u},ka.isFragment=function(e){return y(e)===r},ka.isLazy=function(e){return y(e)===m},ka.isMemo=function(e){return y(e)===f},ka.isPortal=function(e){return y(e)===n},ka.isProfiler=function(e){return y(e)===a},ka.isStrictMode=function(e){return y(e)===o},ka.isSuspense=function(e){return y(e)===d},ka.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},ka.typeOf=y,ka}():Ca.exports=(Oa||(Oa=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,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=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,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=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 p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case s:case c:case r:case a:case o:case d:return g;default:var h=g&&g.$$typeof;switch(h){case l:case u:case m:case f:case i:return h;default:return p}}case n:return p}}}var x=s,w=c,S=l,C=i,k=t,O=u,I=r,E=m,P=f,N=n,$=a,z=o,R=d,D=!1;function T(e){return y(e)===c}_a.AsyncMode=x,_a.ConcurrentMode=w,_a.ContextConsumer=S,_a.ContextProvider=C,_a.Element=k,_a.ForwardRef=O,_a.Fragment=I,_a.Lazy=E,_a.Memo=P,_a.Portal=N,_a.Profiler=$,_a.StrictMode=z,_a.Suspense=R,_a.isAsyncMode=function(e){return D||(D=!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.")),T(e)||y(e)===s},_a.isConcurrentMode=T,_a.isContextConsumer=function(e){return y(e)===l},_a.isContextProvider=function(e){return y(e)===i},_a.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},_a.isForwardRef=function(e){return y(e)===u},_a.isFragment=function(e){return y(e)===r},_a.isLazy=function(e){return y(e)===m},_a.isMemo=function(e){return y(e)===f},_a.isPortal=function(e){return y(e)===n},_a.isProfiler=function(e){return y(e)===a},_a.isStrictMode=function(e){return y(e)===o},_a.isSuspense=function(e){return y(e)===d},_a.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},_a.typeOf=y}()),_a)),Ca.exports}
|
|
40
40
|
/*
|
|
41
41
|
object-assign
|
|
42
42
|
(c) Sindre Sorhus
|
|
43
43
|
@license MIT
|
|
44
|
-
*/function Va(){if(Pa)return Ia;Pa=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ia=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 r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in a=Object(arguments[s]))t.call(a,c)&&(l[c]=a[c]);if(e){i=e(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(l[i[u]]=a[i[u]])}}return l},Ia}function Ba(){if(Na)return $a;Na=1;return $a="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Ha(){return Ra?za:(Ra=1,za=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Wa=Fa();Sa.exports=function(){if(Aa)return ja;Aa=1;var e=Fa(),t=Va(),n=Ba(),r=Ha(),o=function(){if(Da)return Ta;Da=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ba(),n={},r=Ha();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((l||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](a,c,l,i,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+i+" `"+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 p=s?s():"";e("Failed "+i+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ta=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),ja=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",p={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:g(i),arrayOf:function(e){return g((function(t,r,o,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+y(l)+"` supplied to `"+o+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,o,a,i+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:g((function(e,t,n,r,o){var a=e[t];return l(a)?null:new m("Invalid "+r+" `"+o+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:g((function(t,n,r,o,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+y(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+o+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:g((function(e,t,n,r,o){return b(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,o,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[o],c=y(s);if("object"!==c)return new m("Invalid "+i+" `"+l+"` of type `"+c+"` supplied to `"+a+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,a,i,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===x(t)?String(t):t}));return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(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."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(o)+" at index "+t+"."),i}return g((function(t,o,a,i,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,a,i,l,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new m("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(t,r,o,a,i){var l=t[r],s=y(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(o,a,i,c,x(u));var d=u(l,c,o,a,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return g((function(o,a,i,l,s){var c=o[a],u=y(c);if("object"!==u)return new m("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var p in d){var f=e[p];if(r(e,p)&&"function"!=typeof f)return v(i,l,s,p,x(f));if(!f)return new m("Invalid "+l+" `"+s+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=f(c,p,i,l,s+"."+p,n);if(g)return g}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,l,c,u,p,f){if(c=c||d,p=p||l,f!==n){if(s){var g=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 g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!t[h]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` 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,r++)}}return null==i[l]?o?null===i[l]?new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,l,c,u,p)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return g((function(t,n,r,o,a,i){var l=t[n];return y(l)!==e?new m("Invalid "+o+" `"+a+"` of type `"+x(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}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,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[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 x(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 w(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},ja}()(Wa.isElement,!0)}else Sa.exports=function(){if(_a)return Ma;_a=1;var e=Ba();function t(){}function n(){}return n.resetWarningCache=t,Ma=function(){function r(t,n,r,o,a,i){if(i!==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 o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var Ga=d(Sa.exports);function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){Ka(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ua(e){return Ua="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},Ua(e)}function Ka(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ja(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Xa(e){return function(e){if(Array.isArray(e))return Qa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Za(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var ei=["style"];var ti=!1;try{ti="production"===process.env.NODE_ENV}catch(e){}function ni(e){return e&&"object"===Ua(e)&&e.prefix&&e.iconName&&e.icon?e:xa.icon?xa.icon(e):null===e?null:e&&"object"===Ua(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ri(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ka({},e,t):{}}var oi={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},ai=t.forwardRef((function(e,t){var n=Ya(Ya({},oi),e),r=n.icon,o=n.mask,a=n.symbol,i=n.className,l=n.title,s=n.titleId,c=n.maskId,u=ni(r),d=ri("classes",[].concat(Xa(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,a=e.bounce,i=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,m=e.border,g=e.listItem,h=e.flip,v=e.size,b=e.rotation,y=e.pull,x=(Ka(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":a,"fa-shake":i,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":m,"fa-li":g,"fa-flip":!0===h,"fa-flip-horizontal":"horizontal"===h||"both"===h,"fa-flip-vertical":"vertical"===h||"both"===h},"fa-".concat(v),null!=v),Ka(t,"fa-rotate-".concat(b),null!=b&&0!==b),Ka(t,"fa-pull-".concat(y),null!=y),Ka(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(n)),Xa((i||"").split(" ")))),p=ri("transform","string"==typeof n.transform?xa.transform(n.transform):n.transform),f=ri("mask",ni(o)),m=wa(u,Ya(Ya(Ya(Ya({},d),p),f),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!m)return function(){var e;!ti&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var g=m.abstract,h={ref:t};return Object.keys(n).forEach((function(e){oi.hasOwnProperty(e)||(h[e]=n[e])})),ii(g[0],h)}));ai.displayName="FontAwesomeIcon",ai.propTypes={beat:Ga.bool,border:Ga.bool,beatFade:Ga.bool,bounce:Ga.bool,className:Ga.string,fade:Ga.bool,flash:Ga.bool,mask:Ga.oneOfType([Ga.object,Ga.array,Ga.string]),maskId:Ga.string,fixedWidth:Ga.bool,inverse:Ga.bool,flip:Ga.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Ga.oneOfType([Ga.object,Ga.array,Ga.string]),listItem:Ga.bool,pull:Ga.oneOf(["right","left"]),pulse:Ga.bool,rotation:Ga.oneOf([0,90,180,270]),shake:Ga.bool,size:Ga.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ga.bool,spinPulse:Ga.bool,spinReverse:Ga.bool,symbol:Ga.oneOfType([Ga.bool,Ga.string]),title:Ga.string,titleId:Ga.string,transform:Ga.oneOfType([Ga.string,Ga.object]),swapOpacity:Ga.bool};var ii=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=function(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Za(t.slice(0,r)),a=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[o]=a,e}),{})}(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Za(t)]=r}return e}),{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=Ja(r,ei);return a.attrs.style=Ya(Ya({},a.attrs.style),l),t.apply(void 0,[n.tag,Ya(Ya({},a.attrs),s)].concat(Xa(o)))}.bind(null,t.createElement),li={prefix:"far",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},si={prefix:"fas",iconName:"circle-chevron-down",icon:[512,512,["chevron-circle-down"],"f13a","M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"]},ci={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","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 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},ui=ci,di={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},pi={prefix:"fas",iconName:"circle-chevron-up",icon:[512,512,["chevron-circle-up"],"f139","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM377 271c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-87-87-87 87c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 167c9.4-9.4 24.6-9.4 33.9 0L377 271z"]},fi={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","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"]},mi=fi,gi={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},hi={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","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"]},bi={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","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"]},yi={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},xi={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};ya.add({prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},{prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},{prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},{prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},{prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","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"]},{prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},di,si,pi,{prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.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 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},bi,bi,{prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","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"]},{prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","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"]},{prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},{prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","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"]},{prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","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"]},{prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},{prefix:"far",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"]},{prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","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"]},gi,xi,fi,ci,mi,ui,{prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},{prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","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"]},yi,li,{prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},hi,{prefix:"far",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","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"]},{prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","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"]},{prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]});const wi={xsmall:qt`
|
|
44
|
+
*/function Fa(){if(Pa)return Ea;Pa=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ea=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 r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in a=Object(arguments[s]))t.call(a,c)&&(l[c]=a[c]);if(e){i=e(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(l[i[u]]=a[i[u]])}}return l},Ea}function Ba(){if($a)return Na;$a=1;return Na="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Ha(){return Ra?za:(Ra=1,za=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Wa=La();Sa.exports=function(){if(Ma)return ja;Ma=1;var e=La(),t=Fa(),n=Ba(),r=Ha(),o=function(){if(Ta)return Da;Ta=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Ba(),n={},r=Ha();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((l||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](a,c,l,i,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+i+" `"+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 p=s?s():"";e("Failed "+i+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Da=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),ja=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",p={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:g(i),arrayOf:function(e){return g((function(t,r,o,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+y(l)+"` supplied to `"+o+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,o,a,i+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:g((function(e,t,n,r,o){var a=e[t];return l(a)?null:new m("Invalid "+r+" `"+o+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:g((function(t,n,r,o,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+y(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+o+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:g((function(e,t,n,r,o){return b(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,o,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[o],c=y(s);if("object"!==c)return new m("Invalid "+i+" `"+l+"` of type `"+c+"` supplied to `"+a+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,a,i,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===x(t)?String(t):t}));return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(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."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(o)+" at index "+t+"."),i}return g((function(t,o,a,i,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,a,i,l,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new m("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(t,r,o,a,i){var l=t[r],s=y(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(o,a,i,c,x(u));var d=u(l,c,o,a,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return g((function(o,a,i,l,s){var c=o[a],u=y(c);if("object"!==u)return new m("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var p in d){var f=e[p];if(r(e,p)&&"function"!=typeof f)return v(i,l,s,p,x(f));if(!f)return new m("Invalid "+l+" `"+s+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=f(c,p,i,l,s+"."+p,n);if(g)return g}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,l,c,u,p,f){if(c=c||d,p=p||l,f!==n){if(s){var g=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 g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!t[h]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` 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,r++)}}return null==i[l]?o?null===i[l]?new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,l,c,u,p)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return g((function(t,n,r,o,a,i){var l=t[n];return y(l)!==e?new m("Invalid "+o+" `"+a+"` of type `"+x(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}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,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[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 x(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 w(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},ja}()(Wa.isElement,!0)}else Sa.exports=function(){if(Va)return Aa;Va=1;var e=Ba();function t(){}function n(){}return n.resetWarningCache=t,Aa=function(){function r(t,n,r,o,a,i){if(i!==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 o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var Ga=d(Sa.exports);function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ua(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){Ka(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ya(e){return Ya="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},Ya(e)}function Ka(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ja(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Xa(e){return function(e){if(Array.isArray(e))return Qa(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qa(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qa(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Za(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var ei=["style"];var ti=!1;try{ti="production"===process.env.NODE_ENV}catch(e){}function ni(e){return e&&"object"===Ya(e)&&e.prefix&&e.iconName&&e.icon?e:xa.icon?xa.icon(e):null===e?null:e&&"object"===Ya(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ri(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Ka({},e,t):{}}var oi={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},ai=t.forwardRef((function(e,t){var n=Ua(Ua({},oi),e),r=n.icon,o=n.mask,a=n.symbol,i=n.className,l=n.title,s=n.titleId,c=n.maskId,u=ni(r),d=ri("classes",[].concat(Xa(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,a=e.bounce,i=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,m=e.border,g=e.listItem,h=e.flip,v=e.size,b=e.rotation,y=e.pull,x=(Ka(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":a,"fa-shake":i,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":m,"fa-li":g,"fa-flip":!0===h,"fa-flip-horizontal":"horizontal"===h||"both"===h,"fa-flip-vertical":"vertical"===h||"both"===h},"fa-".concat(v),null!=v),Ka(t,"fa-rotate-".concat(b),null!=b&&0!==b),Ka(t,"fa-pull-".concat(y),null!=y),Ka(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(n)),Xa((i||"").split(" ")))),p=ri("transform","string"==typeof n.transform?xa.transform(n.transform):n.transform),f=ri("mask",ni(o)),m=wa(u,Ua(Ua(Ua(Ua({},d),p),f),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!m)return function(){var e;!ti&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var g=m.abstract,h={ref:t};return Object.keys(n).forEach((function(e){oi.hasOwnProperty(e)||(h[e]=n[e])})),ii(g[0],h)}));ai.displayName="FontAwesomeIcon",ai.propTypes={beat:Ga.bool,border:Ga.bool,beatFade:Ga.bool,bounce:Ga.bool,className:Ga.string,fade:Ga.bool,flash:Ga.bool,mask:Ga.oneOfType([Ga.object,Ga.array,Ga.string]),maskId:Ga.string,fixedWidth:Ga.bool,inverse:Ga.bool,flip:Ga.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Ga.oneOfType([Ga.object,Ga.array,Ga.string]),listItem:Ga.bool,pull:Ga.oneOf(["right","left"]),pulse:Ga.bool,rotation:Ga.oneOf([0,90,180,270]),shake:Ga.bool,size:Ga.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Ga.bool,spinPulse:Ga.bool,spinReverse:Ga.bool,symbol:Ga.oneOfType([Ga.bool,Ga.string]),title:Ga.string,titleId:Ga.string,transform:Ga.oneOfType([Ga.string,Ga.object]),swapOpacity:Ga.bool};var ii=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=function(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=Za(t.slice(0,r)),a=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[o]=a,e}),{})}(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Za(t)]=r}return e}),{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=Ja(r,ei);return a.attrs.style=Ua(Ua({},a.attrs.style),l),t.apply(void 0,[n.tag,Ua(Ua({},a.attrs),s)].concat(Xa(o)))}.bind(null,t.createElement),li={prefix:"far",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},si={prefix:"fas",iconName:"circle-chevron-down",icon:[512,512,["chevron-circle-down"],"f13a","M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"]},ci={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","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 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},ui=ci,di={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},pi={prefix:"fas",iconName:"circle-chevron-up",icon:[512,512,["chevron-circle-up"],"f139","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM377 271c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-87-87-87 87c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 167c9.4-9.4 24.6-9.4 33.9 0L377 271z"]},fi={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]},mi={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","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"]},gi=mi,hi={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},bi={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","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"]},yi={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","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"]},xi={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},wi={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};ya.add({prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},{prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},{prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},{prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},{prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","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"]},{prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},di,si,pi,{prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.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 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},yi,yi,{prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","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"]},{prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","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"]},{prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},{prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","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"]},{prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","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"]},{prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},{prefix:"far",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"]},{prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","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"]},hi,wi,mi,ci,gi,ui,{prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},{prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","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"]},xi,li,{prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},fi,bi,{prefix:"far",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","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"]},{prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","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"]},{prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]});const Si={xsmall:qt`
|
|
45
45
|
width: 0.6rem;
|
|
46
46
|
height: 0.6rem;
|
|
47
47
|
`,small:qt`
|
|
@@ -56,7 +56,7 @@ object-assign
|
|
|
56
56
|
`,xlarge:qt`
|
|
57
57
|
width: 3rem;
|
|
58
58
|
height: 3rem;
|
|
59
|
-
`},
|
|
59
|
+
`},Ci={default:qt``,primary:qt`
|
|
60
60
|
color: var(--color--primary);
|
|
61
61
|
`,danger:qt`
|
|
62
62
|
color: var(--color--danger);
|
|
@@ -68,16 +68,16 @@ object-assign
|
|
|
68
68
|
color: var(--color--grey);
|
|
69
69
|
`,green:qt`
|
|
70
70
|
color: var(--color--green-dark);
|
|
71
|
-
`},
|
|
71
|
+
`},ki=Kt.i`
|
|
72
72
|
display: inline-block;
|
|
73
73
|
svg {
|
|
74
74
|
display: block;
|
|
75
75
|
transition: color 0.2s ease-in-out;
|
|
76
76
|
|
|
77
|
-
${({size:e})=>
|
|
78
|
-
${({colour:e})=>
|
|
77
|
+
${({size:e})=>Si[e||"medium"]}
|
|
78
|
+
${({colour:e})=>Ci[e||"default"]}
|
|
79
79
|
}
|
|
80
|
-
`;function
|
|
80
|
+
`;function Oi({name:t,size:n,colour:r,spin:o,className:a}){return e.jsx(ki,{size:n,colour:r,className:a,children:e.jsx(ai,{icon:t,spin:o})})}const Ii=Kt.div`
|
|
81
81
|
border: 1px solid var(---color--grey-borders);
|
|
82
82
|
width: 100%;
|
|
83
83
|
font-size: 1.5rem;
|
|
@@ -88,13 +88,13 @@ object-assign
|
|
|
88
88
|
h3 {
|
|
89
89
|
margin: 0;
|
|
90
90
|
}
|
|
91
|
-
`,
|
|
91
|
+
`,Pi=Kt.div`
|
|
92
92
|
max-height: ${({isOpen:e})=>e?"auto":"0"};
|
|
93
93
|
overflow: hidden;
|
|
94
94
|
transition: max-height 0.3s ease;
|
|
95
95
|
border-top: ${({isOpen:e})=>e?"0.1rem solid var(--color-text)":"none"};
|
|
96
96
|
background-color: var(--color-bakcground);
|
|
97
|
-
`,
|
|
97
|
+
`,Ni=Kt.button`
|
|
98
98
|
background-color: transparent;
|
|
99
99
|
border-style: none;
|
|
100
100
|
padding: var(--spacing--medium) var(--spacing--medium);
|
|
@@ -130,7 +130,7 @@ object-assign
|
|
|
130
130
|
border-radius: var(--border-radius--medium);
|
|
131
131
|
text-decoration: none;
|
|
132
132
|
white-space: nowrap;
|
|
133
|
-
`,
|
|
133
|
+
`,zi={medium:qt`
|
|
134
134
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
135
135
|
font-size: var(--font-size--medium);
|
|
136
136
|
font-weight: 600;
|
|
@@ -146,7 +146,7 @@ object-assign
|
|
|
146
146
|
padding: var(--spacing--xxxsmall) var(--spacing--xxsmall);
|
|
147
147
|
font-size: var(--font-size--xxsmall);
|
|
148
148
|
font-weight: 500;
|
|
149
|
-
`},
|
|
149
|
+
`},Ri={default:qt`
|
|
150
150
|
background-color: transaprent;
|
|
151
151
|
color: var(--color--body);
|
|
152
152
|
border: 1px solid var(--color--grey-line);
|
|
@@ -162,15 +162,15 @@ object-assign
|
|
|
162
162
|
background-color: var(--color--grey-line);
|
|
163
163
|
color: var(--color--grey-dark);
|
|
164
164
|
border: 1px solid var(--color--grey-line);
|
|
165
|
-
`},
|
|
165
|
+
`},Di=Kt.div`
|
|
166
166
|
${$i}
|
|
167
167
|
|
|
168
|
-
${({size:e})=>
|
|
169
|
-
${({kind:e})=>
|
|
168
|
+
${({size:e})=>zi[e||"medium"]}
|
|
169
|
+
${({kind:e})=>Ri[e||"default"]}
|
|
170
170
|
`;const Ti=Kt.hr`
|
|
171
171
|
border: 0;
|
|
172
172
|
border-bottom: 1px solid var(--color--grey-line);
|
|
173
|
-
`;function
|
|
173
|
+
`;function ji({size:t=80,strokeWidth:n=8,color:r="#4c3fdd"}){return e.jsxs("svg",{width:t,height:t,viewBox:"0 0 200 200",color:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"spinner-secondHalf",children:[e.jsx("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),e.jsx("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),e.jsxs("linearGradient",{id:"spinner-firstHalf",children:[e.jsx("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),e.jsx("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),e.jsxs("g",{strokeWidth:n,children:[e.jsx("path",{stroke:"url(#spinner-secondHalf)",d:`M ${n/2} 100 A ${100-n/2} ${100-n/2} 0 0 1 ${200-n/2} 100`}),e.jsx("path",{stroke:"url(#spinner-firstHalf)",d:`M ${200-n/2} 100 A ${100-n/2} ${100-n/2} 0 0 1 ${n/2} 100`}),e.jsx("path",{stroke:"currentColor",strokeLinecap:"round",d:`M ${n/2} 100 A ${100-n/2} ${100-n/2} 0 0 1 ${n/2} ${100-n/4}`})]}),e.jsx("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}const Mi=Kt.div`
|
|
174
174
|
position: absolute;
|
|
175
175
|
left: calc(50% - 40px);
|
|
176
176
|
top: calc(50% - 40px);
|
|
@@ -181,7 +181,7 @@ object-assign
|
|
|
181
181
|
color: black;
|
|
182
182
|
width: 80px;
|
|
183
183
|
text-align: center;
|
|
184
|
-
`;const
|
|
184
|
+
`;const Vi=qt`
|
|
185
185
|
position: relative;
|
|
186
186
|
transition:
|
|
187
187
|
background-color 0.1s ease,
|
|
@@ -230,7 +230,7 @@ object-assign
|
|
|
230
230
|
&:disabled {
|
|
231
231
|
background-color: #767676;
|
|
232
232
|
}
|
|
233
|
-
`,
|
|
233
|
+
`,Bi=qt`
|
|
234
234
|
background-color: var(--color--white);
|
|
235
235
|
color: var(--color--primary);
|
|
236
236
|
border: 1px solid var(--color--primary);
|
|
@@ -245,7 +245,7 @@ object-assign
|
|
|
245
245
|
color: #767676;
|
|
246
246
|
border-color: #767676;
|
|
247
247
|
}
|
|
248
|
-
`,
|
|
248
|
+
`,Hi=qt`
|
|
249
249
|
background-color: var(--color--red);
|
|
250
250
|
color: white;
|
|
251
251
|
border: none;
|
|
@@ -257,7 +257,7 @@ object-assign
|
|
|
257
257
|
&:disabled {
|
|
258
258
|
background-color: #767676;
|
|
259
259
|
}
|
|
260
|
-
`,
|
|
260
|
+
`,Wi=qt`
|
|
261
261
|
background-color: transparent;
|
|
262
262
|
color: var(--color--primary-light);
|
|
263
263
|
border: none;
|
|
@@ -272,7 +272,7 @@ object-assign
|
|
|
272
272
|
color: #767676;
|
|
273
273
|
border-color: #767676;
|
|
274
274
|
}
|
|
275
|
-
`,
|
|
275
|
+
`,Gi=qt`
|
|
276
276
|
background-color: var(--color--debug);
|
|
277
277
|
color: var(--color--white);
|
|
278
278
|
border: none;
|
|
@@ -284,18 +284,18 @@ object-assign
|
|
|
284
284
|
&:disabled {
|
|
285
285
|
background-color: var(--color--debug-very-light);
|
|
286
286
|
}
|
|
287
|
-
`,
|
|
288
|
-
${
|
|
287
|
+
`,qi=Kt.a`
|
|
288
|
+
${Vi}
|
|
289
289
|
|
|
290
290
|
${({size:e})=>"small"===e?Li:_i}
|
|
291
291
|
|
|
292
|
-
${({kind:e})=>"secondary"===e?
|
|
293
|
-
`,
|
|
294
|
-
${
|
|
292
|
+
${({kind:e})=>"secondary"===e?Bi:"danger"===e?Hi:"basic"===e?Wi:"debug"===e?Gi:Fi}
|
|
293
|
+
`,Ui=Kt.button`
|
|
294
|
+
${Vi}
|
|
295
295
|
|
|
296
296
|
${({size:e})=>"small"===e?Li:_i}
|
|
297
297
|
|
|
298
|
-
${({kind:e})=>"secondary"===e?
|
|
298
|
+
${({kind:e})=>"secondary"===e?Bi:"danger"===e?Hi:"basic"===e?Wi:"debug"===e?Gi:Fi}
|
|
299
299
|
|
|
300
300
|
${({$isSubmitting:e})=>e?qt`
|
|
301
301
|
padding-left: 33px;
|
|
@@ -311,12 +311,12 @@ object-assign
|
|
|
311
311
|
width: 16px;
|
|
312
312
|
height: 16px;
|
|
313
313
|
}
|
|
314
|
-
`;function
|
|
314
|
+
`;function Ki({children:t,...n}){const{type:r,kind:o}=n;if("link"===r)return e.jsx(qi,{...n,children:t});if("submit"===r){const{hideSpinner:r=!1,isSubmitting:a}=n;return e.jsxs(Ui,{$isSubmitting:a,...n,children:[a&&!r&&e.jsx(Yi,{children:e.jsx(ji,{strokeWidth:32,color:"primary"===o?"var(--color--white)":"inherit"})}),t]})}return e.jsx(Ui,{...n,children:t})}const Ji=Kt.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: flex-start;
|
|
318
318
|
padding: var(--spacing--medium);
|
|
319
|
-
`,
|
|
319
|
+
`,Xi=Kt.div`
|
|
320
320
|
display: -webkit-box;
|
|
321
321
|
-webkit-line-clamp: ${e=>e.$maxLines};
|
|
322
322
|
-webkit-box-orient: vertical;
|
|
@@ -325,20 +325,20 @@ object-assign
|
|
|
325
325
|
@media print {
|
|
326
326
|
-webkit-line-clamp: unset;
|
|
327
327
|
}
|
|
328
|
-
`,
|
|
328
|
+
`,Qi=Kt(Ki)`
|
|
329
329
|
margin: auto;
|
|
330
330
|
|
|
331
331
|
@media print {
|
|
332
332
|
display: none;
|
|
333
333
|
}
|
|
334
|
-
`;const Qi=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var Zi=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},el="undefined"!=typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,tl="top",nl="bottom",rl="right",ol="left",al="auto",il=[tl,nl,rl,ol],ll="start",sl="end",cl="clippingParents",ul="viewport",dl="popper",pl="reference",fl=il.reduce((function(e,t){return e.concat([t+"-"+ll,t+"-"+sl])}),[]),ml=[].concat(il,[al]).reduce((function(e,t){return e.concat([t,t+"-"+ll,t+"-"+sl])}),[]),gl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function hl(e){return e?(e.nodeName||"").toLowerCase():null}function vl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function bl(e){return e instanceof vl(e).Element||e instanceof Element}function yl(e){return e instanceof vl(e).HTMLElement||e instanceof HTMLElement}function xl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof vl(e).ShadowRoot||e instanceof ShadowRoot)}var wl={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]||{},r=t.attributes[e]||{},o=t.elements[e];yl(o)&&hl(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.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 r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});yl(r)&&hl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Sl(e){return e.split("-")[0]}var Cl=Math.max,kl=Math.min,Ol=Math.round;function El(){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 Il(){return!/^((?!chrome|android).)*safari/i.test(El())}function Pl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&yl(e)&&(o=e.offsetWidth>0&&Ol(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ol(r.height)/e.offsetHeight||1);var i=(bl(e)?vl(e):window).visualViewport,l=!Il()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function $l(e){var t=Pl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Nl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function zl(e){return vl(e).getComputedStyle(e)}function Rl(e){return["table","td","th"].indexOf(hl(e))>=0}function Tl(e){return((bl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dl(e){return"html"===hl(e)?e:e.assignedSlot||e.parentNode||(xl(e)?e.host:null)||Tl(e)}function jl(e){return yl(e)&&"fixed"!==zl(e).position?e.offsetParent:null}function Al(e){for(var t=vl(e),n=jl(e);n&&Rl(n)&&"static"===zl(n).position;)n=jl(n);return n&&("html"===hl(n)||"body"===hl(n)&&"static"===zl(n).position)?t:n||function(e){var t=/firefox/i.test(El());if(/Trident/i.test(El())&&yl(e)&&"fixed"===zl(e).position)return null;var n=Dl(e);for(xl(n)&&(n=n.host);yl(n)&&["html","body"].indexOf(hl(n))<0;){var r=zl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ml(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _l(e,t,n){return Cl(e,kl(t,n))}function Ll(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Fl(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Vl={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Sl(n.placement),s=Ml(l),c=[ol,rl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Ll("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Fl(e,il))}(o.padding,n),d=$l(a),p="y"===s?tl:ol,f="y"===s?nl:rl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],h=Al(a),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,b=m/2-g/2,y=u[p],x=v-d[c]-u[f],w=v/2-d[c]/2+b,S=_l(y,w,x),C=s;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Nl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Bl(e){return e.split("-")[1]}var Hl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Wl(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,m=i.y,g=void 0===m?0:m,h="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=h.x,g=h.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=ol,x=tl,w=window;if(c){var S=Al(n),C="clientHeight",k="clientWidth";if(S===vl(n)&&"static"!==zl(S=Tl(n)).position&&"absolute"===l&&(C="scrollHeight",k="scrollWidth"),o===tl||(o===ol||o===rl)&&a===sl)x=nl,g-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[C])-r.height,g*=s?1:-1;if(o===ol||(o===tl||o===nl)&&a===sl)y=rl,f-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[k])-r.width,f*=s?1:-1}var O,E=Object.assign({position:l},c&&Hl),I=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Ol(n*o)/o||0,y:Ol(r*o)/o||0}}({x:f,y:g},vl(n)):{x:f,y:g};return f=I.x,g=I.y,s?Object.assign({},E,((O={})[x]=b?"0":"",O[y]=v?"0":"",O.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",O)):Object.assign({},E,((t={})[x]=b?g+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var Gl={passive:!0};var ql={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=vl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,Gl)})),l&&s.addEventListener("resize",n.update,Gl),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Gl)})),l&&s.removeEventListener("resize",n.update,Gl)}},data:{}},Yl={left:"right",right:"left",bottom:"top",top:"bottom"};function Ul(e){return e.replace(/left|right|bottom|top/g,(function(e){return Yl[e]}))}var Kl={start:"end",end:"start"};function Jl(e){return e.replace(/start|end/g,(function(e){return Kl[e]}))}function Xl(e){var t=vl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ql(e){return Pl(Tl(e)).left+Xl(e).scrollLeft}function Zl(e){var t=zl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function es(e){return["html","body","#document"].indexOf(hl(e))>=0?e.ownerDocument.body:yl(e)&&Zl(e)?e:es(Dl(e))}function ts(e,t){var n;void 0===t&&(t=[]);var r=es(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=vl(r),i=o?[a].concat(a.visualViewport||[],Zl(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(ts(Dl(i)))}function ns(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function rs(e,t,n){return t===ul?ns(function(e,t){var n=vl(e),r=Tl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Il();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Ql(e),y:s}}(e,n)):bl(t)?function(e,t){var n=Pl(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):ns(function(e){var t,n=Tl(e),r=Xl(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Cl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Cl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Ql(e),s=-r.scrollTop;return"rtl"===zl(o||n).direction&&(l+=Cl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Tl(e)))}function os(e,t,n,r){var o="clippingParents"===t?function(e){var t=ts(Dl(e)),n=["absolute","fixed"].indexOf(zl(e).position)>=0&&yl(e)?Al(e):e;return bl(n)?t.filter((function(e){return bl(e)&&Nl(e,n)&&"body"!==hl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=rs(e,n,r);return t.top=Cl(o.top,t.top),t.right=kl(o.right,t.right),t.bottom=kl(o.bottom,t.bottom),t.left=Cl(o.left,t.left),t}),rs(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function as(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Sl(o):null,i=o?Bl(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case tl:t={x:l,y:n.y-r.height};break;case nl:t={x:l,y:n.y+n.height};break;case rl:t={x:n.x+n.width,y:s};break;case ol:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Ml(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case ll:t[c]=t[c]-(n[u]/2-r[u]/2);break;case sl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function is(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?cl:l,c=n.rootBoundary,u=void 0===c?ul:c,d=n.elementContext,p=void 0===d?dl:d,f=n.altBoundary,m=void 0!==f&&f,g=n.padding,h=void 0===g?0:g,v=Ll("number"!=typeof h?h:Fl(h,il)),b=p===dl?pl:dl,y=e.rects.popper,x=e.elements[m?b:p],w=os(bl(x)?x:x.contextElement||Tl(e.elements.popper),s,u,i),S=Pl(e.elements.reference),C=as({reference:S,element:y,strategy:"absolute",placement:o}),k=ns(Object.assign({},y,C)),O=p===dl?k:S,E={top:w.top-O.top+v.top,bottom:O.bottom-w.bottom+v.bottom,left:w.left-O.left+v.left,right:O.right-w.right+v.right},I=e.modifiersData.offset;if(p===dl&&I){var P=I[o];Object.keys(E).forEach((function(e){var t=[rl,nl].indexOf(e)>=0?1:-1,n=[tl,nl].indexOf(e)>=0?"y":"x";E[e]+=P[n]*t}))}return E}function ls(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?ml:s,u=Bl(r),d=u?l?fl:fl.filter((function(e){return Bl(e)===u})):il,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=is(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Sl(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var ss={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,g=n.allowedAutoPlacements,h=t.options.placement,v=Sl(h),b=s||(v===h||!m?[Ul(h)]:function(e){if(Sl(e)===al)return[];var t=Ul(e);return[Jl(e),t,Jl(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(Sl(n)===al?ls(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=y[0],O=0;O<y.length;O++){var E=y[O],I=Sl(E),P=Bl(E)===ll,$=[tl,nl].indexOf(I)>=0,N=$?"width":"height",z=is(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=$?P?rl:ol:P?nl:tl;x[N]>w[N]&&(R=Ul(R));var T=Ul(R),D=[];if(a&&D.push(z[I]<=0),l&&D.push(z[R]<=0,z[T]<=0),D.every((function(e){return e}))){k=E,C=!1;break}S.set(E,D)}if(C)for(var j=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 k=t,"break"},A=m?3:1;A>0;A--){if("break"===j(A))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function cs(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 us(e){return[tl,rl,nl,ol].some((function(t){return e[t]>=0}))}var ds={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=is(t,{elementContext:"reference"}),l=is(t,{altBoundary:!0}),s=cs(i,r),c=cs(l,o,a),u=us(s),d=us(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})}};var ps={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=ml.reduce((function(e,n){return e[n]=function(e,t,n){var r=Sl(e),o=[ol,tl].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[ol,rl].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var fs={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=as({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var ms={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,g=void 0===m?0:m,h=is(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Sl(t.placement),b=Bl(t.placement),y=!b,x=Ml(v),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,O="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(a){var $,N="y"===x?tl:ol,z="y"===x?nl:rl,R="y"===x?"height":"width",T=S[x],D=T+h[N],j=T-h[z],A=f?-k[R]/2:0,M=b===ll?C[R]:k[R],_=b===ll?-k[R]:-C[R],L=t.elements.arrow,F=f&&L?$l(L):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=V[N],H=V[z],W=_l(0,C[R],F[R]),G=y?C[R]/2-A-W-B-E.mainAxis:M-W-B-E.mainAxis,q=y?-C[R]/2+A+W+H+E.mainAxis:_+W+H+E.mainAxis,Y=t.elements.arrow&&Al(t.elements.arrow),U=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,K=null!=($=null==I?void 0:I[x])?$:0,J=T+q-K,X=_l(f?kl(D,T+G-K-U):D,T,f?Cl(j,J):j);S[x]=X,P[x]=X-T}if(l){var Q,Z="x"===x?tl:ol,ee="x"===x?nl:rl,te=S[w],ne="y"===w?"height":"width",re=te+h[Z],oe=te-h[ee],ae=-1!==[tl,ol].indexOf(v),ie=null!=(Q=null==I?void 0:I[w])?Q:0,le=ae?re:te-C[ne]-k[ne]-ie+E.altAxis,se=ae?te+C[ne]+k[ne]-ie-E.altAxis:oe,ce=f&&ae?function(e,t,n){var r=_l(e,t,n);return r>n?n:r}(le,te,se):_l(f?le:re,te,f?se:oe);S[w]=ce,P[w]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function gs(e,t,n){void 0===n&&(n=!1);var r=yl(t),o=yl(t)&&function(e){var t=e.getBoundingClientRect(),n=Ol(t.width)/e.offsetWidth||1,r=Ol(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Tl(t),i=Pl(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==hl(t)||Zl(a))&&(l=function(e){return e!==vl(e)&&yl(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Xl(e);var t}(t)),yl(t)?((s=Pl(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Ql(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function hs(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var vs={placement:"bottom",modifiers:[],strategy:"absolute"};function bs(){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 ys(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?vs:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},vs,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:bl(e)?ts(e):e.contextElement?ts(e.contextElement):[],popper:ts(t)};var i,c,p=function(e){var t=hs(e);return gl.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.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=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(bs(t,n)){l.rects={reference:gs(t,Al(n),"fixed"===l.options.strategy),popper:$l(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 r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!bs(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 xs=ys({defaultModifiers:[ql,fs,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:Sl(t.placement),variation:Bl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Wl(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Wl(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:{}},wl,ps,ss,ms,Vl,ds]}),ws="undefined"!=typeof Element,Ss="function"==typeof Map,Cs="function"==typeof Set,ks="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Os(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,r,o,a;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Os(e[r],t[r]))return!1;return!0}if(Ss&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Os(r.value[1],t.get(r.value[0])))return!1;return!0}if(Cs&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ks&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])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=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(ws&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==o[r]&&"__v"!==o[r]&&"__o"!==o[r]||!e.$$typeof)&&!Os(e[o[r]],t[o[r]]))return!1;return!0}return e!=e&&t!=t}var Es=d((function(e,t){try{return Os(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Is=[],Ps=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||Is},l=o.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=l[0],c=l[1],u=o.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);a.flushSync((function(){c({styles:Zi(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Zi(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=o.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[u,{name:"applyStyles",enabled:!1}])};return Es(r.current,e)?r.current||e:(r.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,u]),p=o.useRef();return el((function(){p.current&&p.current.setOptions(d)}),[d]),el((function(){if(null!=e&&null!=t){var r=(n.createPopper||xs)(e,t,d);return p.current=r,function(){r.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:s.styles,attributes:s.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}};const $s=Kt.div`
|
|
334
|
+
`;const Zi=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var el=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},tl="undefined"!=typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,nl="top",rl="bottom",ol="right",al="left",il="auto",ll=[nl,rl,ol,al],sl="start",cl="end",ul="clippingParents",dl="viewport",pl="popper",fl="reference",ml=ll.reduce((function(e,t){return e.concat([t+"-"+sl,t+"-"+cl])}),[]),gl=[].concat(ll,[il]).reduce((function(e,t){return e.concat([t,t+"-"+sl,t+"-"+cl])}),[]),hl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function vl(e){return e?(e.nodeName||"").toLowerCase():null}function bl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function yl(e){return e instanceof bl(e).Element||e instanceof Element}function xl(e){return e instanceof bl(e).HTMLElement||e instanceof HTMLElement}function wl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof bl(e).ShadowRoot||e instanceof ShadowRoot)}var Sl={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]||{},r=t.attributes[e]||{},o=t.elements[e];xl(o)&&vl(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.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 r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});xl(r)&&vl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Cl(e){return e.split("-")[0]}var kl=Math.max,Ol=Math.min,Il=Math.round;function El(){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 Pl(){return!/^((?!chrome|android).)*safari/i.test(El())}function Nl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&xl(e)&&(o=e.offsetWidth>0&&Il(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Il(r.height)/e.offsetHeight||1);var i=(yl(e)?bl(e):window).visualViewport,l=!Pl()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function $l(e){var t=Nl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function zl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&wl(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Rl(e){return bl(e).getComputedStyle(e)}function Dl(e){return["table","td","th"].indexOf(vl(e))>=0}function Tl(e){return((yl(e)?e.ownerDocument:e.document)||window.document).documentElement}function jl(e){return"html"===vl(e)?e:e.assignedSlot||e.parentNode||(wl(e)?e.host:null)||Tl(e)}function Ml(e){return xl(e)&&"fixed"!==Rl(e).position?e.offsetParent:null}function Al(e){for(var t=bl(e),n=Ml(e);n&&Dl(n)&&"static"===Rl(n).position;)n=Ml(n);return n&&("html"===vl(n)||"body"===vl(n)&&"static"===Rl(n).position)?t:n||function(e){var t=/firefox/i.test(El());if(/Trident/i.test(El())&&xl(e)&&"fixed"===Rl(e).position)return null;var n=jl(e);for(wl(n)&&(n=n.host);xl(n)&&["html","body"].indexOf(vl(n))<0;){var r=Rl(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Vl(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _l(e,t,n){return kl(e,Ol(t,n))}function Ll(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Fl(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Bl={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Cl(n.placement),s=Vl(l),c=[al,ol].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Ll("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Fl(e,ll))}(o.padding,n),d=$l(a),p="y"===s?nl:al,f="y"===s?rl:ol,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],h=Al(a),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,b=m/2-g/2,y=u[p],x=v-d[c]-u[f],w=v/2-d[c]/2+b,S=_l(y,w,x),C=s;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&zl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hl(e){return e.split("-")[1]}var Wl={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gl(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,m=i.y,g=void 0===m?0:m,h="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=h.x,g=h.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=al,x=nl,w=window;if(c){var S=Al(n),C="clientHeight",k="clientWidth";if(S===bl(n)&&"static"!==Rl(S=Tl(n)).position&&"absolute"===l&&(C="scrollHeight",k="scrollWidth"),o===nl||(o===al||o===ol)&&a===cl)x=rl,g-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[C])-r.height,g*=s?1:-1;if(o===al||(o===nl||o===rl)&&a===cl)y=ol,f-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[k])-r.width,f*=s?1:-1}var O,I=Object.assign({position:l},c&&Wl),E=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Il(n*o)/o||0,y:Il(r*o)/o||0}}({x:f,y:g},bl(n)):{x:f,y:g};return f=E.x,g=E.y,s?Object.assign({},I,((O={})[x]=b?"0":"",O[y]=v?"0":"",O.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",O)):Object.assign({},I,((t={})[x]=b?g+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var ql={passive:!0};var Ul={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=bl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,ql)})),l&&s.addEventListener("resize",n.update,ql),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ql)})),l&&s.removeEventListener("resize",n.update,ql)}},data:{}},Yl={left:"right",right:"left",bottom:"top",top:"bottom"};function Kl(e){return e.replace(/left|right|bottom|top/g,(function(e){return Yl[e]}))}var Jl={start:"end",end:"start"};function Xl(e){return e.replace(/start|end/g,(function(e){return Jl[e]}))}function Ql(e){var t=bl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Zl(e){return Nl(Tl(e)).left+Ql(e).scrollLeft}function es(e){var t=Rl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ts(e){return["html","body","#document"].indexOf(vl(e))>=0?e.ownerDocument.body:xl(e)&&es(e)?e:ts(jl(e))}function ns(e,t){var n;void 0===t&&(t=[]);var r=ts(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=bl(r),i=o?[a].concat(a.visualViewport||[],es(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(ns(jl(i)))}function rs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function os(e,t,n){return t===dl?rs(function(e,t){var n=bl(e),r=Tl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Pl();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+Zl(e),y:s}}(e,n)):yl(t)?function(e,t){var n=Nl(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):rs(function(e){var t,n=Tl(e),r=Ql(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=kl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=kl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Zl(e),s=-r.scrollTop;return"rtl"===Rl(o||n).direction&&(l+=kl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Tl(e)))}function as(e,t,n,r){var o="clippingParents"===t?function(e){var t=ns(jl(e)),n=["absolute","fixed"].indexOf(Rl(e).position)>=0&&xl(e)?Al(e):e;return yl(n)?t.filter((function(e){return yl(e)&&zl(e,n)&&"body"!==vl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=os(e,n,r);return t.top=kl(o.top,t.top),t.right=Ol(o.right,t.right),t.bottom=Ol(o.bottom,t.bottom),t.left=kl(o.left,t.left),t}),os(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function is(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Cl(o):null,i=o?Hl(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case nl:t={x:l,y:n.y-r.height};break;case rl:t={x:l,y:n.y+n.height};break;case ol:t={x:n.x+n.width,y:s};break;case al:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Vl(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case sl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case cl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function ls(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?ul:l,c=n.rootBoundary,u=void 0===c?dl:c,d=n.elementContext,p=void 0===d?pl:d,f=n.altBoundary,m=void 0!==f&&f,g=n.padding,h=void 0===g?0:g,v=Ll("number"!=typeof h?h:Fl(h,ll)),b=p===pl?fl:pl,y=e.rects.popper,x=e.elements[m?b:p],w=as(yl(x)?x:x.contextElement||Tl(e.elements.popper),s,u,i),S=Nl(e.elements.reference),C=is({reference:S,element:y,strategy:"absolute",placement:o}),k=rs(Object.assign({},y,C)),O=p===pl?k:S,I={top:w.top-O.top+v.top,bottom:O.bottom-w.bottom+v.bottom,left:w.left-O.left+v.left,right:O.right-w.right+v.right},E=e.modifiersData.offset;if(p===pl&&E){var P=E[o];Object.keys(I).forEach((function(e){var t=[ol,rl].indexOf(e)>=0?1:-1,n=[nl,rl].indexOf(e)>=0?"y":"x";I[e]+=P[n]*t}))}return I}function ss(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?gl:s,u=Hl(r),d=u?l?ml:ml.filter((function(e){return Hl(e)===u})):ll,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ls(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Cl(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var cs={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,g=n.allowedAutoPlacements,h=t.options.placement,v=Cl(h),b=s||(v===h||!m?[Kl(h)]:function(e){if(Cl(e)===il)return[];var t=Kl(e);return[Xl(e),t,Xl(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(Cl(n)===il?ss(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=y[0],O=0;O<y.length;O++){var I=y[O],E=Cl(I),P=Hl(I)===sl,N=[nl,rl].indexOf(E)>=0,$=N?"width":"height",z=ls(t,{placement:I,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=N?P?ol:al:P?rl:nl;x[$]>w[$]&&(R=Kl(R));var D=Kl(R),T=[];if(a&&T.push(z[E]<=0),l&&T.push(z[R]<=0,z[D]<=0),T.every((function(e){return e}))){k=I,C=!1;break}S.set(I,T)}if(C)for(var j=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 k=t,"break"},M=m?3:1;M>0;M--){if("break"===j(M))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function us(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 ds(e){return[nl,ol,rl,al].some((function(t){return e[t]>=0}))}var ps={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ls(t,{elementContext:"reference"}),l=ls(t,{altBoundary:!0}),s=us(i,r),c=us(l,o,a),u=ds(s),d=ds(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})}};var fs={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=gl.reduce((function(e,n){return e[n]=function(e,t,n){var r=Cl(e),o=[al,nl].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[al,ol].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var ms={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=is({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var gs={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,g=void 0===m?0:m,h=ls(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Cl(t.placement),b=Hl(t.placement),y=!b,x=Vl(v),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,O="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,I="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(a){var N,$="y"===x?nl:al,z="y"===x?rl:ol,R="y"===x?"height":"width",D=S[x],T=D+h[$],j=D-h[z],M=f?-k[R]/2:0,A=b===sl?C[R]:k[R],V=b===sl?-k[R]:-C[R],_=t.elements.arrow,L=f&&_?$l(_):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[$],H=F[z],W=_l(0,C[R],L[R]),G=y?C[R]/2-M-W-B-I.mainAxis:A-W-B-I.mainAxis,q=y?-C[R]/2+M+W+H+I.mainAxis:V+W+H+I.mainAxis,U=t.elements.arrow&&Al(t.elements.arrow),Y=U?"y"===x?U.clientTop||0:U.clientLeft||0:0,K=null!=(N=null==E?void 0:E[x])?N:0,J=D+q-K,X=_l(f?Ol(T,D+G-K-Y):T,D,f?kl(j,J):j);S[x]=X,P[x]=X-D}if(l){var Q,Z="x"===x?nl:al,ee="x"===x?rl:ol,te=S[w],ne="y"===w?"height":"width",re=te+h[Z],oe=te-h[ee],ae=-1!==[nl,al].indexOf(v),ie=null!=(Q=null==E?void 0:E[w])?Q:0,le=ae?re:te-C[ne]-k[ne]-ie+I.altAxis,se=ae?te+C[ne]+k[ne]-ie-I.altAxis:oe,ce=f&&ae?function(e,t,n){var r=_l(e,t,n);return r>n?n:r}(le,te,se):_l(f?le:re,te,f?se:oe);S[w]=ce,P[w]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function hs(e,t,n){void 0===n&&(n=!1);var r=xl(t),o=xl(t)&&function(e){var t=e.getBoundingClientRect(),n=Il(t.width)/e.offsetWidth||1,r=Il(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Tl(t),i=Nl(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==vl(t)||es(a))&&(l=function(e){return e!==bl(e)&&xl(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Ql(e);var t}(t)),xl(t)?((s=Nl(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Zl(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function vs(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var bs={placement:"bottom",modifiers:[],strategy:"absolute"};function ys(){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 xs(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?bs:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},bs,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:yl(e)?ns(e):e.contextElement?ns(e.contextElement):[],popper:ns(t)};var i,c,p=function(e){var t=vs(e);return hl.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.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=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(ys(t,n)){l.rects={reference:hs(t,Al(n),"fixed"===l.options.strategy),popper:$l(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 r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!ys(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 ws=xs({defaultModifiers:[Ul,ms,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:Cl(t.placement),variation:Hl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Gl(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Gl(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:{}},Sl,fs,cs,gs,Bl,ps]}),Ss="undefined"!=typeof Element,Cs="function"==typeof Map,ks="function"==typeof Set,Os="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Is(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,r,o,a;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Is(e[r],t[r]))return!1;return!0}if(Cs&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Is(r.value[1],t.get(r.value[0])))return!1;return!0}if(ks&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Os&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])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=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Ss&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==o[r]&&"__v"!==o[r]&&"__o"!==o[r]||!e.$$typeof)&&!Is(e[o[r]],t[o[r]]))return!1;return!0}return e!=e&&t!=t}var Es=d((function(e,t){try{return Is(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Ps=[],Ns=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||Ps},l=o.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=l[0],c=l[1],u=o.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);a.flushSync((function(){c({styles:el(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:el(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),d=o.useMemo((function(){var e={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[u,{name:"applyStyles",enabled:!1}])};return Es(r.current,e)?r.current||e:(r.current=e,e)}),[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,u]),p=o.useRef();return tl((function(){p.current&&p.current.setOptions(d)}),[d]),tl((function(){if(null!=e&&null!=t){var r=(n.createPopper||ws)(e,t,d);return p.current=r,function(){r.destroy(),p.current=null}}}),[e,t,n.createPopper]),{state:p.current?p.current.state:null,styles:s.styles,attributes:s.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}};const $s=Kt.div`
|
|
335
335
|
display: inline-flex;
|
|
336
336
|
position: relative;
|
|
337
337
|
|
|
338
338
|
@media print {
|
|
339
339
|
display: none;
|
|
340
340
|
}
|
|
341
|
-
`,
|
|
341
|
+
`,zs=Kt.div`
|
|
342
342
|
text-align: left;
|
|
343
343
|
position: relative;
|
|
344
344
|
font-size: var(--font-size--xsmall);
|
|
@@ -409,7 +409,7 @@ object-assign
|
|
|
409
409
|
&[data-show] > .arrow::before {
|
|
410
410
|
visibility: visible;
|
|
411
411
|
}
|
|
412
|
-
`;function
|
|
412
|
+
`;function Rs({children:n,content:r,placement:o="top"}){const[a,i]=t.useState(!1),[l,s]=t.useState(null),[c,u]=t.useState(null),[d,p]=t.useState(null),{styles:f,attributes:m}=Ns(l,c,{placement:o,modifiers:[{name:"arrow",options:{element:d}},{name:"offset",options:{offset:[0,5]}}]});let g=null;const h=()=>{g=setTimeout((()=>{i(!0)}),300)},v=()=>{g&&clearTimeout(g),i(!1)};return t.useEffect((()=>()=>{g&&clearTimeout(g)})),e.jsxs($s,{onMouseEnter:h,onMouseLeave:v,onFocus:h,onBlur:v,tabIndex:0,children:[e.jsx("div",{ref:s,children:n}),a&&e.jsxs(zs,{style:f.popper,"data-show":a,...m.popper,ref:u,children:[e.jsx("div",{children:r}),e.jsx("span",{ref:p,style:f.arrow,...m.arrow,className:"arrow"})]})]})}function Ds({size:t}){return e.jsx(Oi,{colour:"green",name:["fas","check-circle"],size:t})}function Ts({size:t}){return e.jsx(Oi,{colour:"grey",name:["fas","circle"],size:t})}function js({size:t}){return e.jsx(Oi,{colour:"primary",name:["fas","circle"],size:t})}function Ms({size:t}){return e.jsx(Oi,{colour:"primary",name:["fas","circle-notch"],size:t,spin:!0})}function As({size:t}){return e.jsx(Oi,{colour:"warning",name:["fas","circle-exclamation"],size:t})}function Vs({size:t}){return e.jsx(Oi,{colour:"danger",name:["fas","circle-exclamation"],size:t})}const _s=Kt.div`
|
|
413
413
|
flex-shrink: 0;
|
|
414
414
|
display: flex;
|
|
415
415
|
align-items: center;
|
|
@@ -430,7 +430,7 @@ object-assign
|
|
|
430
430
|
*
|
|
431
431
|
* @license MIT
|
|
432
432
|
*/
|
|
433
|
-
function Ls(e,t){return"function"==typeof e?e(t):e}function Fs(e,t){return n=>{t.setState((t=>({...t,[e]:Ls(n,t[e])})))}}function Vs(e){return e instanceof Function}function Bs(e,t,n){let r,o=[];return a=>{let i;n.key&&n.debug&&(i=Date.now());const l=e(a);if(!(l.length!==o.length||l.some(((e,t)=>o[t]!==e))))return r;let s;if(o=l,n.key&&n.debug&&(s=Date.now()),r=t(...l),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function Hs(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:r}}const Ws="debugHeaders";function Gs(e,t,n){var r;let o={id:null!=(r=n.id)?r: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(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(o,e)})),o}const qs={createTable:e=>{e.getHeaderGroups=Bs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{var a,i;const l=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],s=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],c=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id))));return Ys(t,[...l,...c,...s],e)}),Hs(e.options,Ws,"getHeaderGroups")),e.getCenterHeaderGroups=Bs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>(n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),Ys(t,n,e,"center"))),Hs(e.options,Ws,"getCenterHeaderGroups")),e.getLeftHeaderGroups=Bs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return Ys(t,a,e,"left")}),Hs(e.options,Ws,"getLeftHeaderGroups")),e.getRightHeaderGroups=Bs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return Ys(t,a,e,"right")}),Hs(e.options,Ws,"getRightHeaderGroups")),e.getFooterGroups=Bs((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Hs(e.options,Ws,"getFooterGroups")),e.getLeftFooterGroups=Bs((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Hs(e.options,Ws,"getLeftFooterGroups")),e.getCenterFooterGroups=Bs((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Hs(e.options,Ws,"getCenterFooterGroups")),e.getRightFooterGroups=Bs((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Hs(e.options,Ws,"getRightFooterGroups")),e.getFlatHeaders=Bs((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hs(e.options,Ws,"getFlatHeaders")),e.getLeftFlatHeaders=Bs((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hs(e.options,Ws,"getLeftFlatHeaders")),e.getCenterFlatHeaders=Bs((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hs(e.options,Ws,"getCenterFlatHeaders")),e.getRightFlatHeaders=Bs((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Hs(e.options,Ws,"getRightFlatHeaders")),e.getCenterLeafHeaders=Bs((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Hs(e.options,Ws,"getCenterLeafHeaders")),e.getLeftLeafHeaders=Bs((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Hs(e.options,Ws,"getLeftLeafHeaders")),e.getRightLeafHeaders=Bs((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Hs(e.options,Ws,"getRightLeafHeaders")),e.getLeafHeaders=Bs((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,o,a,i,l,s;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(a=null==(i=t[0])?void 0:i.headers)?a:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),Hs(e.options,Ws,"getLeafHeaders"))}};function Ys(e,t,n,r){var o,a;let i=0;const l=function(e,t){void 0===t&&(t=1),i=Math.max(i,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 o={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,s=!1;if(e.column.depth===o.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),i&&(null==i?void 0:i.column)===l)i.subHeaders.push(e);else{const o=Gs(n,l,{id:[r,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${a.filter((e=>e.column===l)).length}`:void 0,depth:t,index:a.length});o.subHeaders.push(e),a.push(o)}o.headers.push(e),e.headerGroup=o})),s.push(o),t>0&&c(a,t-1)},u=t.map(((e,t)=>Gs(n,e,{depth:i,index:t})));c(u,i-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(o=null==(a=s[0])?void 0:a.headers)?o:[]),s}const Us=(e,t,n,r,o,a,i)=>{let l={id:t,index:r,original:n,depth:o,parentId:i,_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,r),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,r),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:[],getLeafRows:()=>function(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(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:Bs((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:Bs((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),Hs(e.options,"debugCells","cell.getContext"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)}),{}),o}(e,l,t,t.id)))),Hs(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:Bs((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Hs(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},Ks={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()}}},Js=(e,t,n)=>{var r;const o=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))};Js.autoRemove=e=>ic(e);const Xs=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};Xs.autoRemove=e=>ic(e);const Qs=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};Qs.autoRemove=e=>ic(e);const Zs=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};Zs.autoRemove=e=>ic(e)||!(null!=e&&e.length);const ec=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));ec.autoRemove=e=>ic(e)||!(null!=e&&e.length);const tc=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));tc.autoRemove=e=>ic(e)||!(null!=e&&e.length);const nc=(e,t,n)=>e.getValue(t)===n;nc.autoRemove=e=>ic(e);const rc=(e,t,n)=>e.getValue(t)==n;rc.autoRemove=e=>ic(e);const oc=(e,t,n)=>{let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};oc.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,a=null===t||Number.isNaN(r)?-1/0:r,i=null===n||Number.isNaN(o)?1/0:o;if(a>i){const e=a;a=i,i=e}return[a,i]},oc.autoRemove=e=>ic(e)||ic(e[0])&&ic(e[1]);const ac={includesString:Js,includesStringSensitive:Xs,equalsString:Qs,arrIncludes:Zs,arrIncludesAll:ec,arrIncludesSome:tc,equals:nc,weakEquals:rc,inNumberRange:oc};function ic(e){return null==e||""===e}const lc={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Fs("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?ac.includesString:"number"==typeof r?ac.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?ac.equals:Array.isArray(r)?ac.arrIncludes:ac.weakEquals},e.getFilterFn=()=>{var n,r;return Vs(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:ac[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!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,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=Ls(n,o?o.value:void 0);var i;if(sc(r,a,e))return null!=(i=null==t?void 0:t.filter((t=>t.id!==e.id)))?i:[];const l={id:e.id,value:a};var s;return o?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 r;return null==(r=Ls(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(sc(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.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 sc(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const cc={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o<n&&(o=n)))})),[r,o]},mean:(e,t)=>{let n=0,r=0;if(t.forEach((t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++n,r+=o)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(!function(e){return Array.isArray(e)&&e.every((e=>"number"==typeof e))}(n))return;if(1===n.length)return n[0];const r=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[r]:(o[r-1]+o[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},uc={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:Fs("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,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!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],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?cc.sum:"[object Date]"===Object.prototype.toString.call(r)?cc.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Vs(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:cc[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.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 r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{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 dc={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Fs("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Bs((e=>[bc(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Hs(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=bc(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=bc(t,n);return(null==(r=o[o.length-1])?void 0:r.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=Bs((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let o=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));if("remove"===n)return r;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]}(o,t,n)}),Hs(e.options,"debugTable","_getOrderColumnsFn"))}},pc={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:Fs("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,o,a,i,l,s;return"right"===n?{left:(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,o;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"left":!!i&&"right"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Bs((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),Hs(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=Bs((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})));return n}),Hs(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Bs((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})));return n}),Hs(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(a=r.right)?void 0:a.length))},e.getLeftLeafColumns=Bs((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Hs(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=Bs((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Hs(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=Bs((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),Hs(e.options,"debugColumns","getCenterLeafColumns"))}},fc={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},mc={getDefaultColumnDef:()=>fc,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Fs("columnSizing",e),onColumnSizingInfoChange:Fs("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const a=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:fc.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:fc.size),null!=(o=e.columnDef.maxSize)?o:fc.maxSize)},e.getStart=Bs((e=>[e,bc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Hs(t.options,"debugColumns","getStart")),e.getAfter=Bs((e=>[e,bc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Hs(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r: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 r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return a=>{if(!r||!o)return;if(null==a.persist||a.persist(),hc(a)&&a.touches&&a.touches.length>1)return;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],s=hc(a)?Math.round(a.touches[0].clientX):a.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o;const a="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*a,l=Math.max(i/(null!=(o=null==e?void 0:e.startSize)?o: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:i,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),p=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},f=n||"undefined"!=typeof document?document:null,m={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",m.moveHandler),null==f||f.removeEventListener("mouseup",m.upHandler),p(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",g.moveHandler),null==f||f.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(null==(t=e.touches[0])?void 0:t.clientX)}},h=!!function(){if("boolean"==typeof gc)return gc;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 gc=e,gc}()&&{passive:!1};hc(a)?(null==f||f.addEventListener("touchmove",g.moveHandler,h),null==f||f.addEventListener("touchend",g.upHandler,h)):(null==f||f.addEventListener("mousemove",m.moveHandler,h),null==f||f.addEventListener("mouseup",m.upHandler,h)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:r.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 gc=null;function hc(e){return"touchstart"===e.type}const vc={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Fs("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,r;const o=e.columns;return null==(n=o.length?o.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Bs((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Hs(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=Bs((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Hs(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>Bs((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Hs(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 bc(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const yc={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Fs("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,a;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(a=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>ac.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Vs(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:ac[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},xc={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Fs("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!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,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.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((r=>{var o;const a=!0===r||!(null==r||!r[e.id]);let i={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{i[e]=!0})):i=r,n=null!=(o=n)?o:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:t,...n}=i;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},wc={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Fs("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!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=>Ls(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 r=Ls(t,n.pageIndex);const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,Ls(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let o=Ls(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=Bs((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Hs(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}}},Sc={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:Fs("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const a=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],i=o?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,r,o,a,i,s;return"bottom"===n?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(a=null==e?void 0:e.bottom)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(i=null==e?void 0:e.top)?i:[]).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!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:o)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const a=null==(n=t._getPinnedRows(o))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==a?void 0:a.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(a=r.bottom)?void 0:a.length))},e._getPinnedRows=Bs((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(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:r})))}),Hs(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Bs((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),Hs(e.options,"debugRows","getCenterRows"))}},Cc={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Fs("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 r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach((t=>{kc(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Bs((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Oc(e,n):{rows:[],flatRows:[],rowsById:{}}),Hs(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=Bs((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Oc(e,n):{rows:[],flatRows:[],rowsById:{}}),Hs(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=Bs((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Oc(e,n):{rows:[],flatRows:[],rowsById:{}}),Hs(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},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,r)=>{const o=e.getIsSelected();t.setRowSelection((a=>{var i;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return a;const l={...a};return kc(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Ec(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Ic(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Ic(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 r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},kc=(e,t,n,r,o)=>{var a;const i=o.getRow(t,!0);n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>kc(e,t.id,n,r,o)))};function Oc(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){return e.map((e=>{var t;const i=Ec(e,n);if(i&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:o}}function Ec(e,t){var n;return null!=(n=t[e.id])&&n}function Ic(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let o=!0,a=!1;return e.subRows.forEach((e=>{if((!a||o)&&(e.getCanSelect()&&(Ec(e,t)?a=!0:o=!1),e.subRows&&e.subRows.length)){const n=Ic(e,t);"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}const Pc=/([0-9]+)/gm;function $c(e,t){return e===t?0:e>t?1:-1}function Nc(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function zc(e,t){const n=e.split(Pc).filter(Boolean),r=t.split(Pc).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),o=parseInt(e,10),a=parseInt(t,10),i=[o,a].sort();if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(i[1]))return isNaN(o)?-1:1;if(o>a)return 1;if(a>o)return-1}}return n.length-r.length}const Rc={alphanumeric:(e,t,n)=>zc(Nc(e.getValue(n)).toLowerCase(),Nc(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>zc(Nc(e.getValue(n)),Nc(t.getValue(n))),text:(e,t,n)=>$c(Nc(e.getValue(n)).toLowerCase(),Nc(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>$c(Nc(e.getValue(n)),Nc(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},basic:(e,t,n)=>$c(e.getValue(n),t.getValue(n))},Tc={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Fs("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!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 Rc.datetime;if("string"==typeof n&&(r=!0,n.split(Pc).length>1))return Rc.alphanumeric}return r?Rc.text:Rc.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,r;if(!e)throw new Error;return Vs(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Rc[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),a=null!=n;t.setSorting((i=>{const l=null==i?void 0:i.find((t=>t.id===e.id)),s=null==i?void 0:i.findIndex((t=>t.id===e.id));let c,u=[],d=a?n:"desc"===o;var p;(c=null!=i&&i.length&&e.getCanMultiSort()&&r?l?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":l?"toggle":"replace","toggle"===c&&(a||o||(c="remove")),"add"===c)?(u=[...i,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(p=t.options.maxMultiSortColCount)?p:Number.MAX_SAFE_INTEGER))):u="toggle"===c?i.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?i.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?!!(i===a||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===i?"asc":"desc"):a},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.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 r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.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())}},Dc=[qs,vc,dc,pc,Ks,lc,{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()}}},yc,Tc,uc,xc,wc,Sc,Cc,mc];function jc(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...Dc,...null!=(t=e._features)?t:[]];let o={_features:r};const a=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{});let i={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}));const l=[];let s=!1;const c={_features:r,options:{...a,...e},initialState:i,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=Ls(e,o.options);o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(a,e):{...a,...e})(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&(n=o.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:Bs((()=>[o.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},...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),Hs(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:Bs((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={...e._getDefaultColumnDef(),...t},l=i.accessorKey;let s,c=null!=(o=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?o:"string"==typeof i.header?i.header:void 0;if(i.accessorFn?s=i.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[i.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(i.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:r,depth:n,columnDef:i,columns:[],getFlatColumns:Bs((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Hs(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:Bs((()=>[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]}),Hs(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(o,e,r,n),i=e;return a.columns=i.columns?t(i.columns,a,r+1):[],a}))};return t(e)}),Hs(e,"debugColumns","getAllColumns")),getAllFlatColumns:Bs((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Hs(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:Bs((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Hs(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:Bs((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),Hs(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=o._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(o,c);for(let e=0;e<o._features.length;e++){const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}
|
|
433
|
+
function Ls(e,t){return"function"==typeof e?e(t):e}function Fs(e,t){return n=>{t.setState((t=>({...t,[e]:Ls(n,t[e])})))}}function Bs(e){return e instanceof Function}function Hs(e,t,n){let r,o=[];return a=>{let i;n.key&&n.debug&&(i=Date.now());const l=e(a);if(!(l.length!==o.length||l.some(((e,t)=>o[t]!==e))))return r;let s;if(o=l,n.key&&n.debug&&(s=Date.now()),r=t(...l),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function Ws(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:r}}const Gs="debugHeaders";function qs(e,t,n){var r;let o={id:null!=(r=n.id)?r: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(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(o,e)})),o}const Us={createTable:e=>{e.getHeaderGroups=Hs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{var a,i;const l=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],s=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],c=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id))));return Ys(t,[...l,...c,...s],e)}),Ws(e.options,Gs,"getHeaderGroups")),e.getCenterHeaderGroups=Hs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>(n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),Ys(t,n,e,"center"))),Ws(e.options,Gs,"getCenterHeaderGroups")),e.getLeftHeaderGroups=Hs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return Ys(t,a,e,"left")}),Ws(e.options,Gs,"getLeftHeaderGroups")),e.getRightHeaderGroups=Hs((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return Ys(t,a,e,"right")}),Ws(e.options,Gs,"getRightHeaderGroups")),e.getFooterGroups=Hs((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Ws(e.options,Gs,"getFooterGroups")),e.getLeftFooterGroups=Hs((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Ws(e.options,Gs,"getLeftFooterGroups")),e.getCenterFooterGroups=Hs((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Ws(e.options,Gs,"getCenterFooterGroups")),e.getRightFooterGroups=Hs((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Ws(e.options,Gs,"getRightFooterGroups")),e.getFlatHeaders=Hs((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Ws(e.options,Gs,"getFlatHeaders")),e.getLeftFlatHeaders=Hs((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Ws(e.options,Gs,"getLeftFlatHeaders")),e.getCenterFlatHeaders=Hs((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Ws(e.options,Gs,"getCenterFlatHeaders")),e.getRightFlatHeaders=Hs((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Ws(e.options,Gs,"getRightFlatHeaders")),e.getCenterLeafHeaders=Hs((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Ws(e.options,Gs,"getCenterLeafHeaders")),e.getLeftLeafHeaders=Hs((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Ws(e.options,Gs,"getLeftLeafHeaders")),e.getRightLeafHeaders=Hs((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Ws(e.options,Gs,"getRightLeafHeaders")),e.getLeafHeaders=Hs((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,o,a,i,l,s;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(a=null==(i=t[0])?void 0:i.headers)?a:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),Ws(e.options,Gs,"getLeafHeaders"))}};function Ys(e,t,n,r){var o,a;let i=0;const l=function(e,t){void 0===t&&(t=1),i=Math.max(i,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 o={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,s=!1;if(e.column.depth===o.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),i&&(null==i?void 0:i.column)===l)i.subHeaders.push(e);else{const o=qs(n,l,{id:[r,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${a.filter((e=>e.column===l)).length}`:void 0,depth:t,index:a.length});o.subHeaders.push(e),a.push(o)}o.headers.push(e),e.headerGroup=o})),s.push(o),t>0&&c(a,t-1)},u=t.map(((e,t)=>qs(n,e,{depth:i,index:t})));c(u,i-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(o=null==(a=s[0])?void 0:a.headers)?o:[]),s}const Ks=(e,t,n,r,o,a,i)=>{let l={id:t,index:r,original:n,depth:o,parentId:i,_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,r),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,r),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:[],getLeafRows:()=>function(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(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:Hs((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:Hs((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),Ws(e.options,"debugCells","cell.getContext"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)}),{}),o}(e,l,t,t.id)))),Ws(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:Hs((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Ws(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},Js={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()}}},Xs=(e,t,n)=>{var r;const o=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))};Xs.autoRemove=e=>lc(e);const Qs=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};Qs.autoRemove=e=>lc(e);const Zs=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};Zs.autoRemove=e=>lc(e);const ec=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};ec.autoRemove=e=>lc(e)||!(null!=e&&e.length);const tc=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));tc.autoRemove=e=>lc(e)||!(null!=e&&e.length);const nc=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));nc.autoRemove=e=>lc(e)||!(null!=e&&e.length);const rc=(e,t,n)=>e.getValue(t)===n;rc.autoRemove=e=>lc(e);const oc=(e,t,n)=>e.getValue(t)==n;oc.autoRemove=e=>lc(e);const ac=(e,t,n)=>{let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};ac.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,a=null===t||Number.isNaN(r)?-1/0:r,i=null===n||Number.isNaN(o)?1/0:o;if(a>i){const e=a;a=i,i=e}return[a,i]},ac.autoRemove=e=>lc(e)||lc(e[0])&&lc(e[1]);const ic={includesString:Xs,includesStringSensitive:Qs,equalsString:Zs,arrIncludes:ec,arrIncludesAll:tc,arrIncludesSome:nc,equals:rc,weakEquals:oc,inNumberRange:ac};function lc(e){return null==e||""===e}const sc={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Fs("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?ic.includesString:"number"==typeof r?ic.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?ic.equals:Array.isArray(r)?ic.arrIncludes:ic.weakEquals},e.getFilterFn=()=>{var n,r;return Bs(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:ic[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!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,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=Ls(n,o?o.value:void 0);var i;if(cc(r,a,e))return null!=(i=null==t?void 0:t.filter((t=>t.id!==e.id)))?i:[];const l={id:e.id,value:a};var s;return o?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 r;return null==(r=Ls(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(cc(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.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 cc(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const uc={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o<n&&(o=n)))})),[r,o]},mean:(e,t)=>{let n=0,r=0;if(t.forEach((t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++n,r+=o)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(!function(e){return Array.isArray(e)&&e.every((e=>"number"==typeof e))}(n))return;if(1===n.length)return n[0];const r=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[r]:(o[r-1]+o[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},dc={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:Fs("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,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!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],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?uc.sum:"[object Date]"===Object.prototype.toString.call(r)?uc.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Bs(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:uc[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.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 r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{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 pc={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Fs("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Hs((e=>[yc(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Ws(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=yc(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=yc(t,n);return(null==(r=o[o.length-1])?void 0:r.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=Hs((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let o=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));if("remove"===n)return r;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]}(o,t,n)}),Ws(e.options,"debugTable","_getOrderColumnsFn"))}},fc={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:Fs("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,o,a,i,l,s;return"right"===n?{left:(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,o;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"left":!!i&&"right"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Hs((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),Ws(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=Hs((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})));return n}),Ws(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=Hs((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})));return n}),Ws(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(a=r.right)?void 0:a.length))},e.getLeftLeafColumns=Hs((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Ws(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=Hs((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Ws(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=Hs((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),Ws(e.options,"debugColumns","getCenterLeafColumns"))}},mc={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},gc={getDefaultColumnDef:()=>mc,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Fs("columnSizing",e),onColumnSizingInfoChange:Fs("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const a=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:mc.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:mc.size),null!=(o=e.columnDef.maxSize)?o:mc.maxSize)},e.getStart=Hs((e=>[e,yc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Ws(t.options,"debugColumns","getStart")),e.getAfter=Hs((e=>[e,yc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Ws(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r: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 r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return a=>{if(!r||!o)return;if(null==a.persist||a.persist(),vc(a)&&a.touches&&a.touches.length>1)return;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],s=vc(a)?Math.round(a.touches[0].clientX):a.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o;const a="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*a,l=Math.max(i/(null!=(o=null==e?void 0:e.startSize)?o: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:i,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),p=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},f=n||"undefined"!=typeof document?document:null,m={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",m.moveHandler),null==f||f.removeEventListener("mouseup",m.upHandler),p(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",g.moveHandler),null==f||f.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(null==(t=e.touches[0])?void 0:t.clientX)}},h=!!function(){if("boolean"==typeof hc)return hc;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 hc=e,hc}()&&{passive:!1};vc(a)?(null==f||f.addEventListener("touchmove",g.moveHandler,h),null==f||f.addEventListener("touchend",g.upHandler,h)):(null==f||f.addEventListener("mousemove",m.moveHandler,h),null==f||f.addEventListener("mouseup",m.upHandler,h)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:r.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 hc=null;function vc(e){return"touchstart"===e.type}const bc={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Fs("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,r;const o=e.columns;return null==(n=o.length?o.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Hs((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Ws(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=Hs((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Ws(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>Hs((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Ws(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 yc(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const xc={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Fs("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,a;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(a=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>ic.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Bs(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:ic[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},wc={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Fs("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!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,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.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((r=>{var o;const a=!0===r||!(null==r||!r[e.id]);let i={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{i[e]=!0})):i=r,n=null!=(o=n)?o:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:t,...n}=i;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Sc={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Fs("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!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=>Ls(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 r=Ls(t,n.pageIndex);const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,Ls(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let o=Ls(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=Hs((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Ws(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}}},Cc={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:Fs("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const a=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],i=o?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,r,o,a,i,s;return"bottom"===n?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(a=null==e?void 0:e.bottom)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(i=null==e?void 0:e.top)?i:[]).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!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:o)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const a=null==(n=t._getPinnedRows(o))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==a?void 0:a.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(a=r.bottom)?void 0:a.length))},e._getPinnedRows=Hs((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(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:r})))}),Ws(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Hs((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),Ws(e.options,"debugRows","getCenterRows"))}},kc={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Fs("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 r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach((t=>{Oc(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Hs((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Ic(e,n):{rows:[],flatRows:[],rowsById:{}}),Ws(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=Hs((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Ic(e,n):{rows:[],flatRows:[],rowsById:{}}),Ws(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=Hs((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Ic(e,n):{rows:[],flatRows:[],rowsById:{}}),Ws(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},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,r)=>{const o=e.getIsSelected();t.setRowSelection((a=>{var i;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return a;const l={...a};return Oc(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Ec(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Pc(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Pc(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 r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},Oc=(e,t,n,r,o)=>{var a;const i=o.getRow(t,!0);n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>Oc(e,t.id,n,r,o)))};function Ic(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){return e.map((e=>{var t;const i=Ec(e,n);if(i&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:o}}function Ec(e,t){var n;return null!=(n=t[e.id])&&n}function Pc(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let o=!0,a=!1;return e.subRows.forEach((e=>{if((!a||o)&&(e.getCanSelect()&&(Ec(e,t)?a=!0:o=!1),e.subRows&&e.subRows.length)){const n=Pc(e,t);"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}const Nc=/([0-9]+)/gm;function $c(e,t){return e===t?0:e>t?1:-1}function zc(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Rc(e,t){const n=e.split(Nc).filter(Boolean),r=t.split(Nc).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),o=parseInt(e,10),a=parseInt(t,10),i=[o,a].sort();if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(i[1]))return isNaN(o)?-1:1;if(o>a)return 1;if(a>o)return-1}}return n.length-r.length}const Dc={alphanumeric:(e,t,n)=>Rc(zc(e.getValue(n)).toLowerCase(),zc(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Rc(zc(e.getValue(n)),zc(t.getValue(n))),text:(e,t,n)=>$c(zc(e.getValue(n)).toLowerCase(),zc(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>$c(zc(e.getValue(n)),zc(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},basic:(e,t,n)=>$c(e.getValue(n),t.getValue(n))},Tc={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Fs("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!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 Dc.datetime;if("string"==typeof n&&(r=!0,n.split(Nc).length>1))return Dc.alphanumeric}return r?Dc.text:Dc.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,r;if(!e)throw new Error;return Bs(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Dc[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),a=null!=n;t.setSorting((i=>{const l=null==i?void 0:i.find((t=>t.id===e.id)),s=null==i?void 0:i.findIndex((t=>t.id===e.id));let c,u=[],d=a?n:"desc"===o;var p;(c=null!=i&&i.length&&e.getCanMultiSort()&&r?l?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":l?"toggle":"replace","toggle"===c&&(a||o||(c="remove")),"add"===c)?(u=[...i,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(p=t.options.maxMultiSortColCount)?p:Number.MAX_SAFE_INTEGER))):u="toggle"===c?i.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?i.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?!!(i===a||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===i?"asc":"desc"):a},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.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 r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.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())}},jc=[Us,bc,pc,fc,Js,sc,{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()}}},xc,Tc,dc,wc,Sc,Cc,kc,gc];function Mc(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...jc,...null!=(t=e._features)?t:[]];let o={_features:r};const a=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{});let i={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}));const l=[];let s=!1;const c={_features:r,options:{...a,...e},initialState:i,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=Ls(e,o.options);o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(a,e):{...a,...e})(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&(n=o.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:Hs((()=>[o.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},...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),Ws(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:Hs((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={...e._getDefaultColumnDef(),...t},l=i.accessorKey;let s,c=null!=(o=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?o:"string"==typeof i.header?i.header:void 0;if(i.accessorFn?s=i.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[i.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(i.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:r,depth:n,columnDef:i,columns:[],getFlatColumns:Hs((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Ws(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:Hs((()=>[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]}),Ws(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(o,e,r,n),i=e;return a.columns=i.columns?t(i.columns,a,r+1):[],a}))};return t(e)}),Ws(e,"debugColumns","getAllColumns")),getAllFlatColumns:Hs((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Ws(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:Hs((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Ws(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:Hs((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),Ws(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=o._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(o,c);for(let e=0;e<o._features.length;e++){const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}
|
|
434
434
|
/**
|
|
435
435
|
* react-table
|
|
436
436
|
*
|
|
@@ -441,7 +441,7 @@ function Ls(e,t){return"function"==typeof e?e(t):e}function Fs(e,t){return n=>{t
|
|
|
441
441
|
*
|
|
442
442
|
* @license MIT
|
|
443
443
|
*/
|
|
444
|
-
function Ac(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}function
|
|
444
|
+
function Ac(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}function Vc(e,n){const[r,o]=t.useState((()=>{if("undefined"==typeof window)return n;try{const t=window.localStorage.getItem(e);return t?JSON.parse(t):n}catch(e){return console.log(e),n}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;o(n),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(e){console.log(e)}}]}const _c=Kt.div`
|
|
445
445
|
overflow-x: auto;
|
|
446
446
|
width: 100%;
|
|
447
447
|
max-height: 90vh;
|
|
@@ -458,6 +458,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
458
458
|
display: table;
|
|
459
459
|
width: 100%;
|
|
460
460
|
table-layout: fixed;
|
|
461
|
+
background-color: white;
|
|
461
462
|
}
|
|
462
463
|
|
|
463
464
|
thead:last-of-type {
|
|
@@ -622,7 +623,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
622
623
|
pointer-events: none;
|
|
623
624
|
}
|
|
624
625
|
}
|
|
625
|
-
`;const
|
|
626
|
+
`;const Bc=Kt.div`
|
|
626
627
|
background-color: transparent;
|
|
627
628
|
border-bottom: 2px solid transparent;
|
|
628
629
|
color: var(--color--grey-dark);
|
|
@@ -630,13 +631,13 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
630
631
|
transition: border-bottom 0.2s ease-in-out;
|
|
631
632
|
margin-top: var(--spacing--medium);
|
|
632
633
|
margin-bottom: var(--spacing--medium);
|
|
633
|
-
`,
|
|
634
|
+
`,Hc=Kt.div`
|
|
634
635
|
display: flex;
|
|
635
636
|
border-bottom: 3px solid var(--color--grey-borders);
|
|
636
637
|
@media print {
|
|
637
638
|
display: none;
|
|
638
639
|
}
|
|
639
|
-
`,
|
|
640
|
+
`,Wc=Kt.div`
|
|
640
641
|
display: flex;
|
|
641
642
|
width: 100%;
|
|
642
643
|
overflow: auto;
|
|
@@ -645,7 +646,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
645
646
|
&::-webkit-scrollbar {
|
|
646
647
|
display: none;
|
|
647
648
|
}
|
|
648
|
-
`,
|
|
649
|
+
`,Gc=Kt.button`
|
|
649
650
|
position: relative;
|
|
650
651
|
background-color: transparent;
|
|
651
652
|
border: none;
|
|
@@ -676,7 +677,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
676
677
|
@media print {
|
|
677
678
|
display: none;
|
|
678
679
|
}
|
|
679
|
-
`,
|
|
680
|
+
`,qc=Kt.button`
|
|
680
681
|
background: transparent;
|
|
681
682
|
border: 0;
|
|
682
683
|
cursor: pointer;
|
|
@@ -699,7 +700,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
699
700
|
&.left-arrow[disabled] {
|
|
700
701
|
display: none;
|
|
701
702
|
}
|
|
702
|
-
`,
|
|
703
|
+
`,Uc=Kt.div`
|
|
703
704
|
margin-top: var(--spacing--medium);
|
|
704
705
|
background-color: var(--color--white);
|
|
705
706
|
padding: var(--spacing--large);
|
|
@@ -725,7 +726,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
725
726
|
page-break-after: avoid;
|
|
726
727
|
}
|
|
727
728
|
}
|
|
728
|
-
`;const
|
|
729
|
+
`;const Kc={small:qt`
|
|
729
730
|
font-size: var(--font-size--small);
|
|
730
731
|
line-height: var(--line-height--small);
|
|
731
732
|
`,medium:qt`
|
|
@@ -734,15 +735,15 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
734
735
|
`,large:qt`
|
|
735
736
|
font-size: var(--font-size--large);
|
|
736
737
|
line-height: var(--line-height--large);
|
|
737
|
-
`},
|
|
738
|
+
`},Jc=Kt.div`
|
|
738
739
|
font-weight: var(--font-weight--bold);
|
|
739
740
|
color: var(--color--grey-dark);
|
|
740
741
|
margin-bottom: var(--spacing--xsmall);
|
|
741
|
-
${({$size:e})=>
|
|
742
|
-
`,Jc=Kt.div`
|
|
743
|
-
font-weight: 400;
|
|
744
|
-
${({$size:e})=>Uc[e||"medium"]}
|
|
742
|
+
${({$size:e})=>Kc[e||"medium"]}
|
|
745
743
|
`,Xc=Kt.div`
|
|
744
|
+
font-weight: 400;
|
|
745
|
+
${({$size:e})=>Kc[e||"medium"]}
|
|
746
|
+
`,Qc=Kt.div`
|
|
746
747
|
grid-gap: var(--spacing--medium);
|
|
747
748
|
${({$inline:e})=>e?qt`
|
|
748
749
|
display: grid;
|
|
@@ -751,20 +752,20 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
751
752
|
grid-template-columns: 1fr;
|
|
752
753
|
}
|
|
753
754
|
`:""}
|
|
754
|
-
`;const
|
|
755
|
+
`;const Zc=Jt`
|
|
755
756
|
0% {
|
|
756
757
|
background-position: 0% 50%;
|
|
757
758
|
}
|
|
758
759
|
100% {
|
|
759
760
|
background-position: 200% 50%;
|
|
760
761
|
}
|
|
761
|
-
`,
|
|
762
|
+
`,eu=Kt.div`
|
|
762
763
|
position: relative;
|
|
763
764
|
width: 100%;
|
|
764
765
|
height: 6px;
|
|
765
766
|
background-color: #d7d7d7;
|
|
766
767
|
border-radius: 3px;
|
|
767
|
-
`,
|
|
768
|
+
`,tu=Kt.div`
|
|
768
769
|
position: absolute;
|
|
769
770
|
left: 0;
|
|
770
771
|
top: 0;
|
|
@@ -777,15 +778,15 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
777
778
|
background-size: 200% 200%;
|
|
778
779
|
border-radius: 3px;
|
|
779
780
|
transition: width 1s ease;
|
|
780
|
-
animation: ${
|
|
781
|
+
animation: ${Zc} 3s ease infinite;
|
|
781
782
|
transform: rotate(180deg);
|
|
782
|
-
`;const
|
|
783
|
+
`;const nu=Kt.div`
|
|
783
784
|
position: fixed;
|
|
784
785
|
bottom: 2rem;
|
|
785
786
|
width: 100%;
|
|
786
787
|
z-index: 2000;
|
|
787
788
|
pointer-events: none;
|
|
788
|
-
`,
|
|
789
|
+
`,ru=Kt.div`
|
|
789
790
|
position: absolute;
|
|
790
791
|
top: 0;
|
|
791
792
|
width: 100%;
|
|
@@ -795,7 +796,7 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
795
796
|
align-items: center;
|
|
796
797
|
margin-top: var(--spacing--small);
|
|
797
798
|
transition: top 0.1s ease;
|
|
798
|
-
`,
|
|
799
|
+
`,ou=Kt.div`
|
|
799
800
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
800
801
|
text-align: center;
|
|
801
802
|
border-radius: var(--border-radius--medium);
|
|
@@ -848,116 +849,27 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
848
849
|
}
|
|
849
850
|
}
|
|
850
851
|
`}
|
|
851
|
-
`;function ou({message:t}){const n="success"===t.level?e.jsx(ki,{name:["fas","check-circle"]}):e.jsx(ki,{name:["fas","exclamation-triangle"]});return"html"in t?e.jsxs(ru,{level:t.level,noFade:t.noFade,role:"alert","aria-live":"error"===t.level?"assertive":"polite",children:[n,e.jsx("span",{dangerouslySetInnerHTML:{__html:t.html}})]}):e.jsxs(ru,{level:t.level,noFade:t.noFade,role:"alert","aria-live":"error"===t.level?"assertive":"polite",children:[n,t.text]})}function au(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[e.jsx("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),e.jsx("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),e.jsx("defs",{children:e.jsx("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function iu(){return e.jsx(au,{})}const lu=Kt.details`
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
`,su=Kt.summary`
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
transition: background-color 0.2s;
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
gap: var(--spacing--xsmall);
|
|
872
|
-
user-select: none;
|
|
873
|
-
|
|
874
|
-
&::-webkit-details-marker {
|
|
875
|
-
display: none;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
&:hover {
|
|
879
|
-
background-color: rgb(255, 255, 255, 0.1);
|
|
880
|
-
cursor: pointer;
|
|
881
|
-
opacity: 1;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
svg {
|
|
885
|
-
width: 15px;
|
|
886
|
-
height: 15px;
|
|
887
|
-
vertical-align: middle;
|
|
888
|
-
margin-right: 5px;
|
|
889
|
-
flex-shrink: 0;
|
|
890
|
-
}
|
|
891
|
-
`,cu=Kt.div`
|
|
892
|
-
position: absolute;
|
|
893
|
-
top: calc(100% + 5px);
|
|
894
|
-
left: 0;
|
|
895
|
-
background-color: white;
|
|
896
|
-
box-shadow: var(--box-shadow--medium);
|
|
897
|
-
border: 1px solid var(--color--grey-borders);
|
|
898
|
-
z-index: 1000;
|
|
899
|
-
min-width: 200px;
|
|
900
|
-
border-radius: var(--border-radius--small);
|
|
901
|
-
|
|
902
|
-
&.right {
|
|
903
|
-
left: auto;
|
|
904
|
-
right: 0;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
h2 {
|
|
908
|
-
font-size: 12px;
|
|
909
|
-
font-weight: var(--font-weight--bold);
|
|
910
|
-
text-transform: uppercase;
|
|
911
|
-
white-space: nowrap;
|
|
912
|
-
padding: 10px;
|
|
913
|
-
padding-bottom: 5px;
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
ul {
|
|
917
|
-
li {
|
|
918
|
-
font-size: 12px;
|
|
919
|
-
white-space: nowrap;
|
|
920
|
-
|
|
921
|
-
> a,
|
|
922
|
-
> button,
|
|
923
|
-
> form > button {
|
|
924
|
-
display: block;
|
|
925
|
-
width: 100%;
|
|
926
|
-
font-size: 14px;
|
|
927
|
-
font-weight: var(--font-weight--regular);
|
|
928
|
-
color: #333e48;
|
|
929
|
-
text-decoration: none;
|
|
930
|
-
text-align: left;
|
|
931
|
-
padding: 10px;
|
|
932
|
-
padding-left: 20px;
|
|
933
|
-
background-color: rgba(0, 0, 0, 0);
|
|
934
|
-
transition: background-color 0.2s ease-in-out;
|
|
935
|
-
outline-offset: -3px;
|
|
936
|
-
border: none;
|
|
937
|
-
|
|
938
|
-
&:hover {
|
|
939
|
-
background-color: rgba(0, 0, 0, 0.1);
|
|
940
|
-
cursor: pointer;
|
|
941
|
-
}
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
&.active {
|
|
945
|
-
> a {
|
|
946
|
-
border-left: 4px solid #56c5a7;
|
|
947
|
-
padding-left: 16px;
|
|
948
|
-
font-weight: var(--font-weight--bold);
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
&.admin-only {
|
|
953
|
-
div {
|
|
954
|
-
font-size: 10px;
|
|
955
|
-
font-weight: var(--font-weight--bold);
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
`;function uu({children:n,toggle:r,rightAlign:o}){const[a,i]=t.useState(!1),l=t.useRef(null),s=t.useRef(null);t.useEffect((()=>{a&&setTimeout((()=>l.current?.focus()),1)}),[a]);const c=e=>{s.current&&e.target instanceof Node&&!s.current.contains(e.target)&&i(!1)};return t.useEffect((()=>(document.addEventListener("click",c,!0),()=>{document.removeEventListener("click",c,!0)})),[]),e.jsx("div",{ref:s,children:e.jsxs(lu,{open:a,children:[e.jsx(su,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),i(!a)},"aria-expanded":a,children:r}),e.jsx(cu,{className:o?"right":"",ref:l,role:"menu",children:n})]})})}const du=Kt.header`
|
|
852
|
+
`;function au({message:t}){const n="success"===t.level?e.jsx(Oi,{name:["fas","check-circle"]}):e.jsx(Oi,{name:["fas","exclamation-triangle"]});return"html"in t?e.jsxs(ou,{level:t.level,noFade:t.noFade,role:"alert","aria-live":"error"===t.level?"assertive":"polite",children:[n,e.jsx("span",{dangerouslySetInnerHTML:{__html:t.html}})]}):e.jsxs(ou,{level:t.level,noFade:t.noFade,role:"alert","aria-live":"error"===t.level?"assertive":"polite",children:[n,t.text]})}const iu={grey:{50:"#FBFCFE",100:"#F0F4F8",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#171A1C",900:"#0B0D0E"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};var lu="$$joy";function su(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function cu(){return cu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cu.apply(null,arguments)}var uu=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),du="-ms-",pu="-moz-",fu="-webkit-",mu="comm",gu="rule",hu="decl",vu="@keyframes",bu=Math.abs,yu=String.fromCharCode,xu=Object.assign;function wu(e){return e.trim()}function Su(e,t,n){return e.replace(t,n)}function Cu(e,t){return e.indexOf(t)}function ku(e,t){return 0|e.charCodeAt(t)}function Ou(e,t,n){return e.slice(t,n)}function Iu(e){return e.length}function Eu(e){return e.length}function Pu(e,t){return t.push(e),e}var Nu=1,$u=1,zu=0,Ru=0,Du=0,Tu="";function ju(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Nu,column:$u,length:i,return:""}}function Mu(e,t){return xu(ju("",null,null,"",null,null,0),e,{length:-e.length},t)}function Au(){return Du=Ru>0?ku(Tu,--Ru):0,$u--,10===Du&&($u=1,Nu--),Du}function Vu(){return Du=Ru<zu?ku(Tu,Ru++):0,$u++,10===Du&&($u=1,Nu++),Du}function _u(){return ku(Tu,Ru)}function Lu(){return Ru}function Fu(e,t){return Ou(Tu,e,t)}function Bu(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 Hu(e){return Nu=$u=1,zu=Iu(Tu=e),Ru=0,[]}function Wu(e){return Tu="",e}function Gu(e){return wu(Fu(Ru-1,Yu(91===e?e+2:40===e?e+1:e)))}function qu(e){for(;(Du=_u())&&Du<33;)Vu();return Bu(e)>2||Bu(Du)>3?"":" "}function Uu(e,t){for(;--t&&Vu()&&!(Du<48||Du>102||Du>57&&Du<65||Du>70&&Du<97););return Fu(e,Lu()+(t<6&&32==_u()&&32==Vu()))}function Yu(e){for(;Vu();)switch(Du){case e:return Ru;case 34:case 39:34!==e&&39!==e&&Yu(Du);break;case 40:41===e&&Yu(e);break;case 92:Vu()}return Ru}function Ku(e,t){for(;Vu()&&e+Du!==57&&(e+Du!==84||47!==_u()););return"/*"+Fu(t,Ru-1)+"*"+yu(47===e?e:Vu())}function Ju(e){for(;!Bu(_u());)Vu();return Fu(e,Ru)}function Xu(e){return Wu(Qu("",null,null,null,[""],e=Hu(e),0,[0],e))}function Qu(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",x=o,w=a,S=r,C=y;h;)switch(m=b,b=Vu()){case 40:if(108!=m&&58==ku(C,d-1)){-1!=Cu(C+=Su(Gu(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=Gu(b);break;case 9:case 10:case 13:case 32:C+=qu(m);break;case 92:C+=Uu(Lu()-1,7);continue;case 47:switch(_u()){case 42:case 47:Pu(ed(Ku(Vu(),Lu()),t,n),s);break;default:C+="/"}break;case 123*g:l[c++]=Iu(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=Su(C,/\f/g,"")),f>0&&Iu(C)-d&&Pu(f>32?td(C+";",r,n,d-1):td(Su(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(Pu(S=Zu(C,t,n,c,u,o,l,y,x=[],w=[],d),a),123===b)if(0===u)Qu(C,t,S,S,x,a,d,l,w);else switch(99===p&&110===ku(C,3)?100:p){case 100:case 108:case 109:case 115:Qu(e,S,S,r&&Pu(Zu(e,S,S,0,0,o,l,y,o,x=[],d),w),o,w,d,l,r?x:w);break;default:Qu(C,S,S,S,[""],w,0,l,w)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+Iu(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Au())continue;switch(C+=yu(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(Iu(C)-1)*v,v=1;break;case 64:45===_u()&&(C+=Gu(Vu())),p=_u(),u=d=Iu(y=C+=Ju(Lu())),b++;break;case 45:45===m&&2==Iu(C)&&(g=0)}}return a}function Zu(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=Eu(p),m=0,g=0,h=0;m<r;++m)for(var v=0,b=Ou(e,d+1,d=bu(g=i[m])),y=e;v<f;++v)(y=wu(g>0?p[v]+" "+b:Su(b,/&\f/g,p[v])))&&(s[h++]=y);return ju(e,t,n,0===o?gu:l,s,c,u)}function ed(e,t,n){return ju(e,t,n,mu,yu(Du),Ou(e,2,-2),0)}function td(e,t,n,r){return ju(e,t,n,hu,Ou(e,0,r),Ou(e,r+1,-1),r)}function nd(e,t){for(var n="",r=Eu(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function rd(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case hu:return e.return=e.return||e.value;case mu:return"";case vu:return e.return=e.value+"{"+nd(e.children,r)+"}";case gu:e.value=e.props.join(",")}return Iu(n=nd(e.children,r))?e.return=e.value+"{"+n+"}":""}function od(e){var t=Eu(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var ad=function(e,t,n){for(var r=0,o=0;r=o,o=_u(),38===r&&12===o&&(t[n]=1),!Bu(o);)Vu();return Fu(e,Ru)},id=function(e,t){return Wu(function(e,t){var n=-1,r=44;do{switch(Bu(r)){case 0:38===r&&12===_u()&&(t[n]=1),e[n]+=ad(Ru-1,t,n);break;case 2:e[n]+=Gu(r);break;case 4:if(44===r){e[++n]=58===_u()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=yu(r)}}while(r=Vu());return e}(Hu(e),t))},ld=new WeakMap,sd=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ld.get(n))&&!r){ld.set(e,!0);for(var o=[],a=id(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},cd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ud=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},dd=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},pd=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},fd=function(e,t,n){dd(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),pd(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!dd(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),pd(e)))};function md(e,t){switch(function(e,t){return 45^ku(e,0)?(((t<<2^ku(e,0))<<2^ku(e,1))<<2^ku(e,2))<<2^ku(e,3):0}(e,t)){case 5103:return fu+"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 fu+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return fu+e+pu+e+du+e+e;case 6828:case 4268:return fu+e+du+e+e;case 6165:return fu+e+du+"flex-"+e+e;case 5187:return fu+e+Su(e,/(\w+).+(:[^]+)/,fu+"box-$1$2"+du+"flex-$1$2")+e;case 5443:return fu+e+du+"flex-item-"+Su(e,/flex-|-self/,"")+e;case 4675:return fu+e+du+"flex-line-pack"+Su(e,/align-content|flex-|-self/,"")+e;case 5548:return fu+e+du+Su(e,"shrink","negative")+e;case 5292:return fu+e+du+Su(e,"basis","preferred-size")+e;case 6060:return fu+"box-"+Su(e,"-grow","")+fu+e+du+Su(e,"grow","positive")+e;case 4554:return fu+Su(e,/([^-])(transform)/g,"$1"+fu+"$2")+e;case 6187:return Su(Su(Su(e,/(zoom-|grab)/,fu+"$1"),/(image-set)/,fu+"$1"),e,"")+e;case 5495:case 3959:return Su(e,/(image-set\([^]*)/,fu+"$1$`$1");case 4968:return Su(Su(e,/(.+:)(flex-)?(.*)/,fu+"box-pack:$3"+du+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+fu+e+e;case 4095:case 3583:case 4068:case 2532:return Su(e,/(.+)-inline(.+)/,fu+"$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(Iu(e)-1-t>6)switch(ku(e,t+1)){case 109:if(45!==ku(e,t+4))break;case 102:return Su(e,/(.+:)(.+)-([^]+)/,"$1"+fu+"$2-$3$1"+pu+(108==ku(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Cu(e,"stretch")?md(Su(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ku(e,t+1))break;case 6444:switch(ku(e,Iu(e)-3-(~Cu(e,"!important")&&10))){case 107:return Su(e,":",":"+fu)+e;case 101:return Su(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fu+(45===ku(e,14)?"inline-":"")+"box$3$1"+fu+"$2$3$1"+du+"$2box$3")+e}break;case 5936:switch(ku(e,t+11)){case 114:return fu+e+du+Su(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return fu+e+du+Su(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return fu+e+du+Su(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return fu+e+du+e+e}return e}var gd,hd,vd="undefined"!=typeof document,bd=vd?void 0:(gd=function(){return s((function(){var e={};return function(t){return e[t]}}))},hd=new WeakMap,function(e){if(hd.has(e))return hd.get(e);var t=gd(e);return hd.set(e,t),t}),yd=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case hu:e.return=md(e.value,e.length);break;case vu:return nd([Mu(e,{value:Su(e.value,"@","@"+fu)})],r);case gu:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nd([Mu(e,{props:[Su(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return nd([Mu(e,{props:[Su(t,/:(plac\w+)/,":"+fu+"input-$1")]}),Mu(e,{props:[Su(t,/:(plac\w+)/,":-moz-$1")]}),Mu(e,{props:[Su(t,/:(plac\w+)/,du+"input-$1")]})],r)}return""}))}}],xd=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(vd&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||yd;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},l=[];vd&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,c=[sd,cd];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=t.parent?t.parent.children:r,i=a.length-1;i>=0;i--){var l=a[i];if(l.line<t.line)break;if(l.column<t.column){if(ud(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),fd),vd){var u,d=[rd,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==mu&&u.insert(e.value+"{}"))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=od(c.concat(r,d));a=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),function(e){nd(Xu(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[rd],m=od(c.concat(r,f)),g=bd(r)(t),h=function(e,t){var n=t.name;return void 0===g[n]&&(g[n]=function(e){return nd(Xu(e),m)}(e?e+"{"+t.styles+"}":t.styles)),g[n]};a=function(e,t,n,r){var o=t.name,a=h(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new uu({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return v.sheet.hydrate(l),v},wd=La(),Sd={};Sd[wd.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Sd[wd.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Cd="undefined"!=typeof document;function kd(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Od=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Cd&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Id=function(e,t,n){Od(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);Cd||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Cd&&0!==o.length)return o}};var Ed="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Pd="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Nd=/[A-Z]|^ms/g,$d=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zd=function(e){return 45===e.charCodeAt(1)},Rd=function(e){return null!=e&&"boolean"!=typeof e},Dd=s((function(e){return zd(e)?e:e.replace(Nd,"-$&").toLowerCase()})),Td=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace($d,(function(e,t,n){return Wd={name:t,styles:n,next:Wd},t}))}return 1===ce[e]||zd(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var jd=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Md=["normal","none","initial","inherit","unset"],Ad=Td,Vd=/^-ms-/,_d=/-(.)/g,Ld={};Td=function(e,t){if("content"===e&&("string"!=typeof t||-1===Md.indexOf(t)&&!jd.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=Ad(e,t);return""===n||zd(e)||-1===e.indexOf("-")||void 0!==Ld[e]||(Ld[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Vd,"ms-").replace(_d,(function(e,t){return t.toUpperCase()}))+"?")),n}}var Fd="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Bd(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(Fd);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Wd={name:n.name,styles:n.styles,next:Wd},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Wd={name:r.name,styles:r.styles,next:Wd},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Bd(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Rd(i)&&(r+=Dd(a)+":"+Td(a,i)+";");else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(Fd);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Bd(e,t,i);switch(a){case"animation":case"animationName":r+=Dd(a)+":"+l+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(Pd),r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Rd(i[s])&&(r+=Dd(a)+":"+Td(a,i[s])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=Wd,i=n(e);return Wd=a,Bd(e,t,i)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var l=[],s=n.replace($d,(function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+s+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+s+"`")}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var Hd,Wd,Gd=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Hd=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var qd=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Wd=void 0;var a,i=e[0];null==i||void 0===i.raw?(r=!1,o+=Bd(n,t,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(Ed),o+=i[0]);for(var l=1;l<e.length;l++)o+=Bd(n,t,e[l]),r&&("production"!==process.env.NODE_ENV&&void 0===i[l]&&console.error(Ed),o+=i[l]);"production"!==process.env.NODE_ENV&&(o=o.replace(Hd,(function(e){return a=e,""}))),Gd.lastIndex=0;for(var s,c="";null!==(s=Gd.exec(o));)c+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:a,next:Wd,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:Wd}},Ud="undefined"!=typeof document,Yd=function(e){return e()},Kd=!!o.useInsertionEffect&&o.useInsertionEffect,Jd=Ud&&Kd||Yd,Xd=Kd||o.useLayoutEffect,Qd="undefined"!=typeof document,Zd={}.hasOwnProperty,ep=o.createContext("undefined"!=typeof HTMLElement?xd({key:"css"}):null);"production"!==process.env.NODE_ENV&&(ep.displayName="EmotionCacheContext"),ep.Provider;var tp=function(e){return t.forwardRef((function(n,r){var o=t.useContext(ep);return e(n,o,r)}))};Qd||(tp=function(e){return function(n){var r=t.useContext(ep);return null===r?(r=xd({key:"css"}),o.createElement(ep.Provider,{value:r},e(n,r))):e(n,r)}});var np=o.createContext({});"production"!==process.env.NODE_ENV&&(np.displayName="EmotionThemeContext");var rp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",op="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ap=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Od(t,n,r);var a=Jd((function(){return Id(t,n,r)}));if(!Qd&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return o.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},ip=tp((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var a=e[rp],i=[r],l="";"string"==typeof e.className?l=kd(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=qd(i,void 0,o.useContext(np));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var c=e[op];c&&(s=qd([s,"label:"+c+";"]))}l+=t.key+"-"+s.name;var u={};for(var d in e)!Zd.call(e,d)||"css"===d||d===rp||"production"!==process.env.NODE_ENV&&d===op||(u[d]=e[d]);return u.ref=n,u.className=l,o.createElement(o.Fragment,null,o.createElement(ap,{cache:t,serialized:s,isStringTag:"string"==typeof a}),o.createElement(a,u))}));"production"!==process.env.NODE_ENV&&(ip.displayName="EmotionCssPropInternal");var lp=!1,sp=tp((function(e,t){"production"===process.env.NODE_ENV||lp||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),lp=!0);var n=e.styles,r=qd([n],void 0,o.useContext(np));if(!Qd){for(var a,i=r.name,l=r.styles,s=r.next;void 0!==s;)i+=" "+s.name,l+=s.styles,s=s.next;var c=!0===t.compat,u=t.insert("",{name:i,styles:l},t.sheet,c);return c?null:o.createElement("style",((a={})["data-emotion"]=t.key+"-global "+i,a.dangerouslySetInnerHTML={__html:u},a.nonce=t.sheet.nonce,a))}var d=o.useRef();return Xd((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,o],function(){n.flush()}}),[t]),Xd((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Id(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function cp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return qd(t)}"production"!==process.env.NODE_ENV&&(sp.displayName="EmotionGlobal");var up=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var dp=function(e){var t,n=e.cache,r=e.serializedArr,a=Jd((function(){for(var e="",t=0;t<r.length;t++){var o=Id(n,r[t],!1);Qd||void 0===o||(e+=o)}if(!Qd)return e}));return Qd||0===a.length?null:o.createElement("style",((t={})["data-emotion"]=n.key+" "+r.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:a},t.nonce=n.sheet.nonce,t))},pp=tp((function(e,t){var n=!1,r=[],a=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var i=qd(o,t.registered);return r.push(i),Od(t,i,!1),t.key+"-"+i.name},i={css:a,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(e,t,n){var r=[],o=kd(e,r,n);return r.length<2?n:o+t(r)}(t.registered,a,up(r))},theme:o.useContext(np)},l=e.children(i);return n=!0,o.createElement(o.Fragment,null,o.createElement(dp,{cache:t,serializedArr:r}),l)}));if("production"!==process.env.NODE_ENV&&(pp.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var fp="undefined"!=typeof document,mp="undefined"!=typeof jest||"undefined"!=typeof vi;if(fp&&!mp){var gp="undefined"!=typeof globalThis?globalThis:fp?window:global,hp="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";gp[hp]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),gp[hp]=!0}}var vp=u,bp=function(e){return"theme"!==e},yp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?vp:bp},xp=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},wp="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Sp="undefined"!=typeof document,Cp=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Od(t,n,r);var a=Jd((function(){return Id(t,n,r)}));if(!Sp&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return o.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},kp=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,a,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,a=n.target);var s=xp(t,n,i),c=s||yp(l),u=!c("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(wp),p.push(d[0][0]);for(var f=d.length,m=1;m<f;m++)"production"!==process.env.NODE_ENV&&void 0===d[0][m]&&console.error(wp),p.push(d[m],d[0][m])}var g=tp((function(e,t,n){var r=u&&e.as||l,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=o.useContext(np)}"string"==typeof e.className?i=kd(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var g=qd(p.concat(d),t.registered,f);i+=t.key+"-"+g.name,void 0!==a&&(i+=" "+a);var h=u&&void 0===s?yp(r):c,v={};for(var b in e)u&&"as"===b||h(b)&&(v[b]=e[b]);return v.className=i,v.ref=n,o.createElement(o.Fragment,null,o.createElement(Cp,{cache:t,serialized:g,isStringTag:"string"==typeof r}),o.createElement(r,v))}));return g.displayName=void 0!==r?r:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return void 0===a&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+a}}),g.withComponent=function(t,r){return e(t,cu({},n,r,{shouldForwardProp:xp(g,r,!0)})).apply(void 0,p)},g}}.bind();function Op(t){const{styles:n,defaultTheme:r={}}=t,o="function"==typeof n?e=>{return n(null==(t=e)||0===Object.keys(t).length?r:e);var t}:n;return e.jsx(sp,{styles:o})}
|
|
853
|
+
/**
|
|
854
|
+
* @mui/styled-engine v5.15.14
|
|
855
|
+
*
|
|
856
|
+
* @license MIT
|
|
857
|
+
* This source code is licensed under the MIT license found in the
|
|
858
|
+
* LICENSE file in the root directory of this source tree.
|
|
859
|
+
*/
|
|
860
|
+
function Ip(e,t){const n=kp(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){kp[e]=kp(e)})),"production"!==process.env.NODE_ENV&&(Op.propTypes={defaultTheme:Ga.object,styles:Ga.oneOfType([Ga.array,Ga.string,Ga.object,Ga.func])});function Ep(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Pp(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Np(e){if(!Pp(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Np(e[n])})),t}function $p(e,t,n={clone:!0}){const r=n.clone?cu({},e):e;return Pp(e)&&Pp(t)&&Object.keys(t).forEach((o=>{Pp(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Pp(e[o])?r[o]=$p(e[o],t[o],n):n.clone?r[o]=Pp(t[o])?Np(t[o]):t[o]:r[o]=t[o]})),r}const zp=["values","unit","step"],Rp=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>cu({},e,{[t.key]:t.val})),{})};function Dp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ep(e,zp),a=Rp(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return cu({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Tp={borderRadius:4},jp="production"!==process.env.NODE_ENV?Ga.oneOfType([Ga.number,Ga.string,Ga.object,Ga.array]):{};function Mp(e,t){return t?$p(e,t,{clone:!1}):e}const Ap={xs:0,sm:600,md:900,lg:1200,xl:1536},Vp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ap[e]}px)`};function _p(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Vp;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Vp;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Ap).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Lp(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":su(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fp(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Bp(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Fp(e,n)||r,t&&(o=t(o,r,e)),o}function Hp(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Fp(e.theme,r)||{};return _p(e,a,(e=>{let r=Bp(i,o,e);return e===r&&"string"==typeof e&&(r=Bp(i,o,`${t}${"default"===e?"":Lp(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:jp}:{},a.filterProps=[t],a}const Wp={m:"margin",p:"padding"},Gp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},qp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Up=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!qp[e])return[e];e=qp[e]}const[t,n]=e.split(""),r=Wp[t],o=Gp[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Yp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Kp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Jp=[...Yp,...Kp];function Xp(e,t,n,r){var o;const a=null!=(o=Fp(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Qp(e){return Xp(e,"spacing",8,"spacing")}function Zp(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function ef(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Zp(t,n),e)),{})}(Up(n),r);return _p(e,e[n],o)}function tf(e,t){const n=Qp(e.theme);return Object.keys(e).map((r=>ef(e,t,r,n))).reduce(Mp,{})}function nf(e){return tf(e,Yp)}function rf(e){return tf(e,Kp)}function of(e=8){if(e.mui)return e;const t=Qp({spacing:e}),n=(...e)=>{"production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`));return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}function af(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?Mp(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function lf(e){return"number"!=typeof e?e:`${e}px solid`}function sf(e,t){return Hp({prop:e,themeKey:"borders",transform:t})}nf.propTypes="production"!==process.env.NODE_ENV?Yp.reduce(((e,t)=>(e[t]=jp,e)),{}):{},nf.filterProps=Yp,rf.propTypes="production"!==process.env.NODE_ENV?Kp.reduce(((e,t)=>(e[t]=jp,e)),{}):{},rf.filterProps=Kp,"production"===process.env.NODE_ENV||Jp.reduce(((e,t)=>(e[t]=jp,e)),{});const cf=sf("border",lf),uf=sf("borderTop",lf),df=sf("borderRight",lf),pf=sf("borderBottom",lf),ff=sf("borderLeft",lf),mf=sf("borderColor"),gf=sf("borderTopColor"),hf=sf("borderRightColor"),vf=sf("borderBottomColor"),bf=sf("borderLeftColor"),yf=sf("outline",lf),xf=sf("outlineColor"),wf=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Xp(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Zp(t,e)});return _p(e,e.borderRadius,n)}return null};wf.propTypes="production"!==process.env.NODE_ENV?{borderRadius:jp}:{},wf.filterProps=["borderRadius"],af(cf,uf,df,pf,ff,mf,gf,hf,vf,bf,wf,yf,xf);const Sf=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Xp(e.theme,"spacing",8,"gap"),n=e=>({gap:Zp(t,e)});return _p(e,e.gap,n)}return null};Sf.propTypes="production"!==process.env.NODE_ENV?{gap:jp}:{},Sf.filterProps=["gap"];const Cf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Xp(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Zp(t,e)});return _p(e,e.columnGap,n)}return null};Cf.propTypes="production"!==process.env.NODE_ENV?{columnGap:jp}:{},Cf.filterProps=["columnGap"];const kf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Xp(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Zp(t,e)});return _p(e,e.rowGap,n)}return null};kf.propTypes="production"!==process.env.NODE_ENV?{rowGap:jp}:{},kf.filterProps=["rowGap"];function Of(e,t){return"grey"===t?t:e}af(Sf,Cf,kf,Hp({prop:"gridColumn"}),Hp({prop:"gridRow"}),Hp({prop:"gridAutoFlow"}),Hp({prop:"gridAutoColumns"}),Hp({prop:"gridAutoRows"}),Hp({prop:"gridTemplateColumns"}),Hp({prop:"gridTemplateRows"}),Hp({prop:"gridTemplateAreas"}),Hp({prop:"gridArea"}));function If(e){return e<=1&&0!==e?100*e+"%":e}af(Hp({prop:"color",themeKey:"palette",transform:Of}),Hp({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Of}),Hp({prop:"backgroundColor",themeKey:"palette",transform:Of}));const Ef=Hp({prop:"width",transform:If}),Pf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Ap[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:If(t)}};return _p(e,e.maxWidth,t)}return null};Pf.filterProps=["maxWidth"];const Nf=Hp({prop:"minWidth",transform:If}),$f=Hp({prop:"height",transform:If}),zf=Hp({prop:"maxHeight",transform:If}),Rf=Hp({prop:"minHeight",transform:If});Hp({prop:"size",cssProperty:"width",transform:If}),Hp({prop:"size",cssProperty:"height",transform:If});af(Ef,Pf,Nf,$f,zf,Rf,Hp({prop:"boxSizing"}));const Df={border:{themeKey:"borders",transform:lf},borderTop:{themeKey:"borders",transform:lf},borderRight:{themeKey:"borders",transform:lf},borderBottom:{themeKey:"borders",transform:lf},borderLeft:{themeKey:"borders",transform:lf},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:lf},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:wf},color:{themeKey:"palette",transform:Of},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Of},backgroundColor:{themeKey:"palette",transform:Of},p:{style:rf},pt:{style:rf},pr:{style:rf},pb:{style:rf},pl:{style:rf},px:{style:rf},py:{style:rf},padding:{style:rf},paddingTop:{style:rf},paddingRight:{style:rf},paddingBottom:{style:rf},paddingLeft:{style:rf},paddingX:{style:rf},paddingY:{style:rf},paddingInline:{style:rf},paddingInlineStart:{style:rf},paddingInlineEnd:{style:rf},paddingBlock:{style:rf},paddingBlockStart:{style:rf},paddingBlockEnd:{style:rf},m:{style:nf},mt:{style:nf},mr:{style:nf},mb:{style:nf},ml:{style:nf},mx:{style:nf},my:{style:nf},margin:{style:nf},marginTop:{style:nf},marginRight:{style:nf},marginBottom:{style:nf},marginLeft:{style:nf},marginX:{style:nf},marginY:{style:nf},marginInline:{style:nf},marginInlineStart:{style:nf},marginInlineEnd:{style:nf},marginBlock:{style:nf},marginBlockStart:{style:nf},marginBlockEnd:{style:nf},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Sf},rowGap:{style:kf},columnGap:{style:Cf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:If},maxWidth:{style:Pf},minWidth:{transform:If},height:{transform:If},maxHeight:{transform:If},minHeight:{transform:If},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Tf=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const u=Fp(n,l)||{};if(c)return c(o);return _p(o,t,(t=>{let n=Bp(u,s,t);return t===n&&"string"==typeof t&&(n=Bp(u,s,`${e}${"default"===t?"":Lp(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:Df;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=Mp(s,e(n,o,a,i));else{const e=_p({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=Mp(s,e):s[n]=t({sx:o,theme:a})}else s=Mp(s,e(n,o,a,i))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}();function jf(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Tf.filterProps=["sx"];const Mf=["breakpoints","palette","spacing","shape"];function Af(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=Ep(e,Mf),l=Dp(n),s=of(o);let c=$p({breakpoints:l,direction:"ltr",components:{},palette:cu({mode:"light"},r),spacing:s,shape:cu({},Tp,a)},i);return c.applyStyles=jf,c=t.reduce(((e,t)=>$p(e,t)),c),c.unstable_sxConfig=cu({},Df,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return Tf({sx:e,theme:this})},c}function Vf(e=null){const t=o.useContext(np);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const _f=Af();function Lf(e=_f){return Vf(e)}const Ff=["sx"],Bf=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Df;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Hf(e){const{sx:t}=e,n=Ep(e,Ff),{systemProps:r,otherProps:o}=Bf(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Pp(n)?cu({},r,n):r}:cu({},r,t),cu({},o,{sx:a})}const Wf=e=>e,Gf=(()=>{let e=Wf;return{configure(t){e=t},generate:t=>e(t),reset(){e=Wf}}})();function qf(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=qf(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Uf(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=qf(e))&&(r&&(r+=" "),r+=t);return r}const Yf=["className","component"];const Kf={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Jf(e,t,n="Mui"){const r=Kf[t];return r?`${n}-${r}`:`${Gf.generate(e)}-${t}`}function Xf(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Jf(e,t,n)})),r}var Qf,Zf={exports:{}},em={};var tm,nm={};
|
|
861
|
+
/**
|
|
862
|
+
* @license React
|
|
863
|
+
* react-is.development.js
|
|
864
|
+
*
|
|
865
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
866
|
+
*
|
|
867
|
+
* This source code is licensed under the MIT license found in the
|
|
868
|
+
* LICENSE file in the root directory of this source tree.
|
|
869
|
+
*/"production"===process.env.NODE_ENV?Zf.exports=function(){if(Qf)return em;Qf=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case c:case f:case p:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),em.ContextConsumer=l,em.ContextProvider=i,em.Element=t,em.ForwardRef=c,em.Fragment=r,em.Lazy=f,em.Memo=p,em.Portal=n,em.Profiler=a,em.StrictMode=o,em.Suspense=u,em.SuspenseList=d,em.isAsyncMode=function(){return!1},em.isConcurrentMode=function(){return!1},em.isContextConsumer=function(e){return g(e)===l},em.isContextProvider=function(e){return g(e)===i},em.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},em.isForwardRef=function(e){return g(e)===c},em.isFragment=function(e){return g(e)===r},em.isLazy=function(e){return g(e)===f},em.isMemo=function(e){return g(e)===p},em.isPortal=function(e){return g(e)===n},em.isProfiler=function(e){return g(e)===a},em.isStrictMode=function(e){return g(e)===o},em.isSuspense=function(e){return g(e)===u},em.isSuspenseList=function(e){return g(e)===d},em.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},em.typeOf=g,em}():Zf.exports=(tm||(tm=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case r:case a:case o:case u:case d:return g;default:var h=g&&g.$$typeof;switch(h){case s:case l:case c:case f:case p:case i:return h;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var h=l,v=i,b=t,y=c,x=r,w=f,S=p,C=n,k=a,O=o,I=u,E=d,P=!1,N=!1;nm.ContextConsumer=h,nm.ContextProvider=v,nm.Element=b,nm.ForwardRef=y,nm.Fragment=x,nm.Lazy=w,nm.Memo=S,nm.Portal=C,nm.Profiler=k,nm.StrictMode=O,nm.Suspense=I,nm.SuspenseList=E,nm.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},nm.isConcurrentMode=function(e){return N||(N=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},nm.isContextConsumer=function(e){return g(e)===l},nm.isContextProvider=function(e){return g(e)===i},nm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},nm.isForwardRef=function(e){return g(e)===c},nm.isFragment=function(e){return g(e)===r},nm.isLazy=function(e){return g(e)===f},nm.isMemo=function(e){return g(e)===p},nm.isPortal=function(e){return g(e)===n},nm.isProfiler=function(e){return g(e)===a},nm.isStrictMode=function(e){return g(e)===o},nm.isSuspense=function(e){return g(e)===u},nm.isSuspenseList=function(e){return g(e)===d},nm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},nm.typeOf=g}()),nm);var rm=Zf.exports;const om=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function am(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(om);return t&&t[1]||""}(e)||t}function im(e,t,n){const r=am(t);return e.displayName||(""!==r?`${n}(${r})`:n)}const lm=["ownerState"],sm=["variants"],cm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function um(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const dm=Af(),pm=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function fm({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function mm(e){return e?(t,n)=>n[e]:null}function gm(e,t){let{ownerState:n}=t,r=Ep(t,lm);const o="function"==typeof e?e(cu({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>gm(e,cu({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=Ep(o,sm);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(cu({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(cu({ownerState:n},r,n)):e.style))})),t}return o}function hm(e={}){const{themeId:t,defaultTheme:n=dm,rootShouldForwardProp:r=um,slotShouldForwardProp:o=um}=e,a=e=>Tf(cu({},e,{theme:fm(cu({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=mm(pm(s))}=i,p=Ep(i,cm),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,m=u||!1;let g;"production"!==process.env.NODE_ENV&&l&&(g=`${l}-${pm(s||"Root")}`);let h=um;"Root"===s||"root"===s?h=r:s?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const v=Ip(e,cu({shouldForwardProp:h,label:g},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||Pp(e)?r=>gm(e,cu({},r,{theme:fm({theme:r.theme,defaultTheme:n,themeId:t})})):e,y=(r,...o)=>{let i=b(r);const c=o?o.map(b):[];l&&d&&c.push((e=>{const r=fm(cu({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=gm(n,cu({},e,{theme:r}))})),d(e,a)})),l&&!f&&c.push((e=>{var r;const o=fm(cu({},e,{defaultTheme:n,themeId:t}));return gm({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},cu({},e,{theme:o}))})),m||c.push(a);const u=c.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const p=v(i,...c);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${Lp(s||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return am(e,"Component");if("object"==typeof e)switch(e.$$typeof){case rm.ForwardRef:return im(e,e.render,"ForwardRef");case rm.Memo:return im(e,e.type,"memo");default:return}}}(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return v.withConfig&&(y.withConfig=v.withConfig),y}}const vm=hm();function bm(e,t){const n=cu({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=cu({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=cu({},a),Object.keys(o).forEach((e=>{n[r][e]=bm(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function ym(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?bm(t.components[n].defaultProps,r):r}function xm({props:e,name:t,defaultTheme:n,themeId:r}){let o=Lf(n);r&&(o=o[r]||o);return ym({theme:o,name:t,props:e})}const wm="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Sm(e){if(e.type)return e;if("#"===e.charAt(0))return Sm(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:su(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:su(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Cm=e=>{const t=Sm(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function km(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Om(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;const s=a.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Im=km(Ga.element,Om);Im.isRequired=km(Ga.element.isRequired,Om);const Em="exact-prop: ";function Pm(e){return"production"===process.env.NODE_ENV?e:cu({},e,{[Em]:t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function Nm(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=o||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const $m=Ga.oneOfType([Ga.func,Ga.object]);function zm(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Rm(e,t){var n,r;return o.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}function Dm(e){return e&&e.ownerDocument||document}function Tm(e){return Dm(e).defaultView||window}function jm(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let Mm=0;const Am=o["useId".toString()];function Vm(e){if(void 0!==Am){const t=Am();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(Mm+=1,n(`mui-${Mm}`))}),[t]),r}(e)}function _m({controlled:e,default:t,name:n,state:r="value"}){const{current:a}=o.useRef(void 0!==e),[i,l]=o.useState(t),s=a?e:i;if("production"!==process.env.NODE_ENV){o.useEffect((()=>{a!==(void 0!==e)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${r} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[r,n,e]);const{current:i}=o.useRef(t);o.useEffect((()=>{a||Object.is(i,t)||console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(t)])}return[s,o.useCallback((e=>{a||l(e)}),[])]}function Lm(e){const t=o.useRef(e);return wm((()=>{t.current=e})),o.useRef(((...e)=>(0,t.current)(...e))).current}function Fm(...e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{jm(e,t)}))}),e)}class Bm{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Bm}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Hm=!0,Wm=!1;const Gm=new Bm,qm={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Um(e){e.metaKey||e.altKey||e.ctrlKey||(Hm=!0)}function Ym(){Hm=!1}function Km(){"hidden"===this.visibilityState&&Wm&&(Hm=!0)}function Jm(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Hm||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!qm[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Xm(){const e=o.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Um,!0),t.addEventListener("mousedown",Ym,!0),t.addEventListener("pointerdown",Ym,!0),t.addEventListener("touchstart",Ym,!0),t.addEventListener("visibilitychange",Km,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Jm(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Wm=!0,Gm.start(100,(()=>{Wm=!1})),t.current=!1,!0)},ref:e}}const Qm=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Zm(e,t,n,r){const o=e[t];if(null==o||!Qm(o)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function eg(e,t,...n){return void 0===e[t]?null:Zm(e,t,...n)}function tg(){return null}eg.isRequired=Zm,tg.isRequired=tg;var ng="production"===process.env.NODE_ENV?tg:eg;function rg(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const og=o.createContext(null);function ag(){const e=o.useContext(og);return"production"!==process.env.NODE_ENV&&o.useDebugValue(e),e}"production"!==process.env.NODE_ENV&&(og.displayName="ThemeContext");var ig="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function lg(t){const{children:n,theme:r}=t,a=ag();"production"!==process.env.NODE_ENV&&null===a&&"function"==typeof r&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const i=o.useMemo((()=>{const e=null===a?r:function(e,t){if("function"==typeof t){const n=t(e);return"production"!==process.env.NODE_ENV&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),n}return cu({},e,t)}(a,r);return null!=e&&(e[ig]=null!==a),e}),[r,a]);return e.jsx(og.Provider,{value:i,children:n})}"production"!==process.env.NODE_ENV&&(lg.propTypes={children:Ga.node,theme:Ga.oneOfType([Ga.object,Ga.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(lg.propTypes=Pm(lg.propTypes));const sg=["value"],cg=o.createContext();function ug(t){let{value:n}=t,r=Ep(t,sg);return e.jsx(cg.Provider,cu({value:null==n||n},r))}"production"!==process.env.NODE_ENV&&(ug.propTypes={children:Ga.node,value:Ga.bool});const dg=o.createContext(void 0);function pg({value:t,children:n}){return e.jsx(dg.Provider,{value:t,children:n})}"production"!==process.env.NODE_ENV&&(pg.propTypes={children:Ga.node,value:Ga.object});const fg={};function mg(e,t,n,r=!1){return o.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),i=e?cu({},t,{[e]:a}):a;return r?()=>i:i}return cu({},t,e?{[e]:n}:n)}),[e,t,n,r])}function gg(t){const{children:n,theme:r,themeId:o}=t,a=Vf(fg),i=ag()||fg;"production"!==process.env.NODE_ENV&&(null===a&&"function"==typeof r||o&&a&&!a[o]&&"function"==typeof r)&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const l=mg(o,a,r),s=mg(o,i,r,!0),c="rtl"===l.direction;return e.jsx(lg,{theme:s,children:e.jsx(np.Provider,{value:l,children:e.jsx(ug,{value:c,children:e.jsx(pg,{value:null==l?void 0:l.components,children:n})})})})}"production"!==process.env.NODE_ENV&&(gg.propTypes={children:Ga.node,theme:Ga.oneOfType([Ga.func,Ga.object]).isRequired,themeId:Ga.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(gg.propTypes=Pm(gg.propTypes));const hg="mode",vg="color-scheme",bg="data-color-scheme";function yg(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function xg(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function wg(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}function Sg(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:i=hg,colorSchemeStorageKey:l=vg,storageWindow:s=("undefined"==typeof window?void 0:window)}=e,c=a.join(","),[u,d]=o.useState((()=>{const e=wg(i,t),o=wg(`${l}-light`,n),a=wg(`${l}-dark`,r);return{mode:e,systemMode:yg(e),lightColorScheme:o,darkColorScheme:a}})),p=function(e){return xg(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=o.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=null!=e?e:t;try{localStorage.setItem(i,r)}catch(e){}return cu({},n,{mode:r,systemMode:yg(r)})}))}),[i,t]),m=o.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=cu({},t);return xg(t,(t=>{try{localStorage.setItem(`${l}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=cu({},t),a=null===e.light?n:e.light,i=null===e.dark?r:e.dark;if(a)if(c.includes(a)){o.lightColorScheme=a;try{localStorage.setItem(`${l}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(i)if(c.includes(i)){o.darkColorScheme=i;try{localStorage.setItem(`${l}-dark`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);return o})):d((e=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch(e){}return cu({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[c,l,n,r]),g=o.useCallback((e=>{"system"===u.mode&&d((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:cu({},t,{systemMode:n})}))}),[u.mode]),h=o.useRef(g);return h.current=g,o.useEffect((()=>{const e=(...e)=>h.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),o.useEffect((()=>{if(s){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(l)||n&&!c.match(n)||(e.key.endsWith("light")&&m({light:n}),e.key.endsWith("dark")&&m({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||f(n||t)};return s.addEventListener("storage",e),()=>{s.removeEventListener("storage",e)}}}),[m,f,i,l,c,t,s]),cu({},u,{colorScheme:p,setMode:f,setColorScheme:m})}const Cg=["colorSchemes","components","generateCssVars","cssVarPrefix"];function kg(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const Og=(e,t,n,r=[])=>{let o=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},Ig=(e,t,n)=>{!function e(r,o=[],a=[]){Object.entries(r).forEach((([r,i])=>{(!n||n&&!n([...o,r]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...o,r],Array.isArray(i)?[...a,r]:a):t([...o,r],i,a))}))}(e)},Eg=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function Pg(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return Ig(e,((e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:Eg(e,t)}),Og(a,e,`var(${r})`,l),Og(i,e,`var(${r}, ${t})`,l)}}),(e=>"vars"===e[0])),{css:o,vars:a,varsWithDefaults:i}}function Ng(e){return Ng="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},Ng(e)}function $g(e){var t=function(e,t){if("object"!=Ng(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Ng(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Ng(t)?t:t+""}const zg=["colorSchemes","components","defaultColorScheme"];const Rg=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,a=Object.keys(t),o.filter((e=>a.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const a=t[o];void 0!==a&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),a)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,a};function Dg(e){return e?`Level${e}`:""}function Tg(e){return e.unstable_level>0&&e.container}function jg(e){return function(t){return`var(--Grid-${t}Spacing${Dg(e.unstable_level)})`}}function Mg(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${Dg(e.unstable_level-1)})`}}function Ag(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${Dg(e.unstable_level-1)})`}const Vg=({theme:e,ownerState:t})=>{const n=jg(t),r={};return Rg(e.breakpoints,t.gridSize,((e,o)=>{let a={};!0===o&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Ag(t)}${Tg(t)?` + ${n("column")}`:""})`}),e(r,a)})),r},_g=({theme:e,ownerState:t})=>{const n={};return Rg(e.breakpoints,t.gridOffset,((e,r)=>{let o={};"auto"===r&&(o={marginLeft:"auto"}),"number"==typeof r&&(o={marginLeft:0===r?"0px":`calc(100% * ${r} / ${Ag(t)})`}),e(n,o)})),n},Lg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Tg(t)?{[`--Grid-columns${Dg(t.unstable_level)}`]:Ag(t)}:{"--Grid-columns":12};return Rg(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${Dg(t.unstable_level)}`]:r})})),n},Fg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Mg(t),r=Tg(t)?{[`--Grid-rowSpacing${Dg(t.unstable_level)}`]:n("row")}:{};return Rg(e.breakpoints,t.rowSpacing,((n,o)=>{var a;n(r,{[`--Grid-rowSpacing${Dg(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})})),r},Bg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Mg(t),r=Tg(t)?{[`--Grid-columnSpacing${Dg(t.unstable_level)}`]:n("column")}:{};return Rg(e.breakpoints,t.columnSpacing,((n,o)=>{var a;n(r,{[`--Grid-columnSpacing${Dg(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})})),r},Hg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Rg(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Wg=({ownerState:e})=>{const t=jg(e),n=Mg(e);return cu({minWidth:0,boxSizing:"border-box"},e.container&&cu({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Tg(e))&&cu({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},Gg=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},qg=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},Ug=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],Yg=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],Kg=Af(),Jg=vm("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Xg(e){return xm({props:e,name:"MuiGrid",defaultTheme:Kg})}const Qg=cu({},Df,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function Zg(e){var t;return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}const eh=(e,t)=>Jf(e,t,"Mui"),th=(e,t)=>Xf(e,t,"Mui"),nh=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},rh=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach((([t,o])=>{if(t.match(new RegExp(`${e}(color|bg|border)`,"i"))&&o){const e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),nh(r,t,e)}})),r},oh=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach((t=>{const[a,i]=t;(e=>e&&"object"==typeof e&&Object.keys(e).some((e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)})))(i)&&"object"==typeof i&&(n=cu({},n,{[a]:rh(e,i,(e=>`var(--variant-${e}, ${r(`palette-${a}-${e}`,o[a][e])})`))}))}))}return n.context=rh(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},ah=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],ih=["colorSchemes"];function lh(e){var t,n,r,o,a,i,l,s,c,u;const d=e||{},{cssVarPrefix:p="joy",breakpoints:f,spacing:m,components:g,variants:h,shouldSkipGeneratingVar:v=Zg}=d,b=Ep(d,ah),y=((e="joy")=>kg(e))(p),x={primary:iu.blue,neutral:iu.grey,danger:iu.red,success:iu.green,warning:iu.yellow,common:{white:"#FFF",black:"#000"}},w=e=>{var t;const n=e.split("-"),r=n[1],o=n[2];return y(e,null==(t=x[r])?void 0:t[o])},S=e=>({plainColor:w(`palette-${e}-500`),plainHoverBg:w(`palette-${e}-100`),plainActiveBg:w(`palette-${e}-200`),plainDisabledColor:w("palette-neutral-400"),outlinedColor:w(`palette-${e}-500`),outlinedBorder:w(`palette-${e}-300`),outlinedHoverBg:w(`palette-${e}-100`),outlinedActiveBg:w(`palette-${e}-200`),outlinedDisabledColor:w("palette-neutral-400"),outlinedDisabledBorder:w("palette-neutral-200"),softColor:w(`palette-${e}-700`),softBg:w(`palette-${e}-100`),softHoverBg:w(`palette-${e}-200`),softActiveColor:w(`palette-${e}-800`),softActiveBg:w(`palette-${e}-300`),softDisabledColor:w("palette-neutral-400"),softDisabledBg:w("palette-neutral-50"),solidColor:w("palette-common-white"),solidBg:w(`palette-${e}-500`),solidHoverBg:w(`palette-${e}-600`),solidActiveBg:w(`palette-${e}-700`),solidDisabledColor:w("palette-neutral-400"),solidDisabledBg:w("palette-neutral-100")}),C=e=>({plainColor:w(`palette-${e}-300`),plainHoverBg:w(`palette-${e}-800`),plainActiveBg:w(`palette-${e}-700`),plainDisabledColor:w("palette-neutral-500"),outlinedColor:w(`palette-${e}-200`),outlinedBorder:w(`palette-${e}-700`),outlinedHoverBg:w(`palette-${e}-800`),outlinedActiveBg:w(`palette-${e}-700`),outlinedDisabledColor:w("palette-neutral-500"),outlinedDisabledBorder:w("palette-neutral-800"),softColor:w(`palette-${e}-200`),softBg:w(`palette-${e}-800`),softHoverBg:w(`palette-${e}-700`),softActiveColor:w(`palette-${e}-100`),softActiveBg:w(`palette-${e}-600`),softDisabledColor:w("palette-neutral-500"),softDisabledBg:w("palette-neutral-800"),solidColor:w("palette-common-white"),solidBg:w(`palette-${e}-500`),solidHoverBg:w(`palette-${e}-600`),solidActiveBg:w(`palette-${e}-700`),solidDisabledColor:w("palette-neutral-500"),solidDisabledBg:w("palette-neutral-800")}),k={palette:{mode:"light",primary:cu({},x.primary,S("primary")),neutral:cu({},x.neutral,S("neutral"),{plainColor:w("palette-neutral-700"),plainHoverColor:w("palette-neutral-900"),outlinedColor:w("palette-neutral-700")}),danger:cu({},x.danger,S("danger")),success:cu({},x.success,S("success")),warning:cu({},x.warning,S("warning")),common:{white:"#FFF",black:"#000"},text:{primary:w("palette-neutral-800"),secondary:w("palette-neutral-700"),tertiary:w("palette-neutral-600"),icon:w("palette-neutral-500")},background:{body:w("palette-common-white"),surface:w("palette-neutral-50"),popup:w("palette-common-white"),level1:w("palette-neutral-100"),level2:w("palette-neutral-200"),level3:w("palette-neutral-300"),tooltip:w("palette-neutral-500"),backdrop:`rgba(${y("palette-neutral-darkChannel",Cm(x.neutral[900]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",Cm(x.neutral[500]))} / 0.2)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},O={palette:{mode:"dark",primary:cu({},x.primary,C("primary")),neutral:cu({},x.neutral,C("neutral"),{plainColor:w("palette-neutral-300"),plainHoverColor:w("palette-neutral-300")}),danger:cu({},x.danger,C("danger")),success:cu({},x.success,C("success")),warning:cu({},x.warning,C("warning")),common:{white:"#FFF",black:"#000"},text:{primary:w("palette-neutral-100"),secondary:w("palette-neutral-300"),tertiary:w("palette-neutral-400"),icon:w("palette-neutral-400")},background:{body:w("palette-common-black"),surface:w("palette-neutral-900"),popup:w("palette-common-black"),level1:w("palette-neutral-800"),level2:w("palette-neutral-700"),level3:w("palette-neutral-600"),tooltip:w("palette-neutral-600"),backdrop:`rgba(${y("palette-neutral-darkChannel",Cm(x.neutral[50]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",Cm(x.neutral[500]))} / 0.16)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},I='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',E=cu({body:`"Inter", ${y(`fontFamily-fallback, ${I}`)}`,display:`"Inter", ${y(`fontFamily-fallback, ${I}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:I},b.fontFamily),P=cu({sm:300,md:500,lg:600,xl:700},b.fontWeight),N=cu({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},b.fontSize),$=cu({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},b.lineHeight),z=null!=(t=null==(n=b.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?t:k.shadowRing,R=null!=(r=null==(o=b.colorSchemes)||null==(o=o.light)?void 0:o.shadowChannel)?r:k.shadowChannel,D=null!=(a=null==(i=b.colorSchemes)||null==(i=i.light)?void 0:i.shadowOpacity)?a:k.shadowOpacity,T={colorSchemes:{light:k,dark:O},fontSize:N,fontFamily:E,fontWeight:P,focus:{thickness:"2px",selector:`&.${eh("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${y("focus-thickness",null!=(l=null==(s=b.focus)?void 0:s.thickness)?l:"2px")})`,outline:`${y("focus-thickness",null!=(c=null==(u=b.focus)?void 0:u.thickness)?c:"2px")} solid ${y("palette-focusVisible",x.primary[500])}`}},lineHeight:$,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)})`,sm:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)}), 0px 2px 4px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)})`,md:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)}), 0px 6px 12px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)})`,lg:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)}), 0px 12px 16px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)})`,xl:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)}), 0px 20px 24px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",D)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:y(`fontFamily-display, ${E.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl4, ${N.xl4}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h2:{fontFamily:y(`fontFamily-display, ${E.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl3, ${N.xl3}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h3:{fontFamily:y(`fontFamily-display, ${E.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl2, ${N.xl2}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h4:{fontFamily:y(`fontFamily-display, ${E.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl, ${N.xl}`),lineHeight:y(`lineHeight-md, ${$.md}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-lg":{fontFamily:y(`fontFamily-body, ${E.body}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-lg, ${N.lg}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-md":{fontFamily:y(`fontFamily-body, ${E.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-md, ${N.md}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-sm":{fontFamily:y(`fontFamily-body, ${E.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-sm, ${N.sm}`),lineHeight:y(`lineHeight-sm, ${$.sm}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"body-lg":{fontFamily:y(`fontFamily-body, ${E.body}`),fontSize:y(`fontSize-lg, ${N.lg}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-md":{fontFamily:y(`fontFamily-body, ${E.body}`),fontSize:y(`fontSize-md, ${N.md}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-sm":{fontFamily:y(`fontFamily-body, ${E.body}`),fontSize:y(`fontSize-sm, ${N.sm}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)},"body-xs":{fontFamily:y(`fontFamily-body, ${E.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-xs, ${N.xs}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)}}},j=b?$p(T,b):T,{colorSchemes:M}=j,A=Ep(j,ih),V=cu({colorSchemes:M},A,{breakpoints:Dp(null!=f?f:{}),components:$p({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;const r=e.instanceFontSize;return cu({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&cu({color:`var(--Icon-color, ${V.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`}),r&&"inherit"!==r&&{"--Icon-fontSize":t.vars.fontSize[r]})}}}},g),cssVarPrefix:p,getCssVar:y,spacing:of(m)});Object.entries(V.colorSchemes).forEach((([e,t])=>{!function(e,t){Object.keys(t).forEach((n=>{const r={main:"500",light:"200",dark:"700"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=Cm(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=Cm(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=Cm(t[n][r.dark]))}))}(e,t.palette)}));const _={prefix:p,shouldSkipGeneratingVar:v},{vars:L,generateCssVars:F}=function(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=Ep(e,zg),{vars:a,css:i,varsWithDefaults:l}=Pg(o,t);let s=l;const c={},{[r]:u}=n,d=Ep(n,[r].map($g));if(Object.entries(d||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=Pg(n,t);s=$p(s,a),c[e]={css:o,vars:r}})),u){const{css:e,vars:n,varsWithDefaults:o}=Pg(u,t);s=$p(s,o),c[r]={css:e,vars:n}}return{vars:s,generateCssVars:e=>{var n;if(!e){var r;const n=cu({},i);return{css:n,vars:a,selector:(null==t||null==(r=t.getSelector)?void 0:r.call(t,e,n))||":root"}}const o=cu({},c[e].css);return{css:o,vars:c[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,o))||":root"}}}}(cu({colorSchemes:M},A),_);V.vars=L,V.generateCssVars=F,V.unstable_sxConfig=cu({},Qg,null==e?void 0:e.unstable_sxConfig),V.unstable_sx=function(e){return Tf({sx:e,theme:this})},V.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;const B={getCssVar:y,palette:V.colorSchemes.light.palette};return V.variants=$p({plain:oh("plain",B),plainHover:oh("plainHover",B),plainActive:oh("plainActive",B),plainDisabled:oh("plainDisabled",B),outlined:oh("outlined",B),outlinedHover:oh("outlinedHover",B),outlinedActive:oh("outlinedActive",B),outlinedDisabled:oh("outlinedDisabled",B),soft:oh("soft",B),softHover:oh("softHover",B),softActive:oh("softActive",B),softDisabled:oh("softDisabled",B),solid:oh("solid",B),solidHover:oh("solidHover",B),solidActive:oh("solidActive",B),solidDisabled:oh("solidDisabled",B)},h),V.palette=cu({},V.colorSchemes.light.palette,{colorScheme:"light"}),V.shouldSkipGeneratingVar=v,V.applyStyles=jf,V}const sh=lh(),ch="data-joy-color-scheme",uh="joy-color-scheme",dh="light",ph="dark",fh="joy-mode",{CssVarsProvider:mh,useColorScheme:gh,getInitColorSchemeScript:hh}=function(t){const{themeId:n,theme:r={},attribute:a=bg,modeStorageKey:i=hg,colorSchemeStorageKey:l=vg,defaultMode:s="light",defaultColorScheme:c,disableTransitionOnChange:u=!1,resolveTheme:d,excludeVariablesFromRoot:p}=t;(!r.colorSchemes||"string"==typeof c&&!r.colorSchemes[c]||"object"==typeof c&&!r.colorSchemes[null==c?void 0:c.light]||"object"==typeof c&&!r.colorSchemes[null==c?void 0:c.dark])&&console.error(`MUI: \`${c}\` does not exist in \`theme.colorSchemes\`.`);const f=o.createContext(void 0);function m(t){const{children:m,theme:g=r,modeStorageKey:h=i,colorSchemeStorageKey:v=l,attribute:b=a,defaultMode:y=s,defaultColorScheme:x=c,disableTransitionOnChange:w=u,storageWindow:S=("undefined"==typeof window?void 0:window),documentNode:C=("undefined"==typeof document?void 0:document),colorSchemeNode:k=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:O=":root",disableNestedContext:I=!1,disableStyleSheetGeneration:E=!1}=t,P=o.useRef(!1),N=ag(),$=o.useContext(f),z=!!$&&!I,R=g[n],D=R||g,{colorSchemes:T={},components:j={},generateCssVars:M=(()=>({vars:{},css:{}})),cssVarPrefix:A}=D,V=Ep(D,Cg),_=Object.keys(T),L="string"==typeof x?x:x.light,F="string"==typeof x?x:x.dark,{mode:B,setMode:H,systemMode:W,lightColorScheme:G,darkColorScheme:q,colorScheme:U,setColorScheme:Y}=Sg({supportedColorSchemes:_,defaultLightColorScheme:L,defaultDarkColorScheme:F,modeStorageKey:h,colorSchemeStorageKey:v,defaultMode:y,storageWindow:S});let K=B,J=U;z&&(K=$.mode,J=$.colorScheme);const X=J||("dark"===(K||("system"===y?s:y))?F:L),{css:Q,vars:Z}=M(),ee=cu({},V,{components:j,colorSchemes:T,cssVarPrefix:A,vars:Z,getColorSchemeSelector:e=>`[${b}="${e}"] &`}),te={},ne={};Object.entries(T).forEach((([e,t])=>{const{css:n,vars:r}=M(e);ee.vars=$p(ee.vars,r),e===X&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?ee[e]=cu({},ee[e],t[e]):ee[e]=t[e]})),ee.palette&&(ee.palette.colorScheme=e));if(e===("string"==typeof x?x:"dark"===y?x.dark:x.light)){if(p){const t={};p(A).forEach((e=>{t[e]=n[e],delete n[e]})),te[`[${b}="${e}"]`]=t}te[`${O}, [${b}="${e}"]`]=n}else ne[`${":root"===O?"":O}[${b}="${e}"]`]=n})),ee.vars=$p(ee.vars,Z),o.useEffect((()=>{J&&k&&k.setAttribute(b,J)}),[J,b,k]),o.useEffect((()=>{let e;if(w&&P.current&&C){const t=C.createElement("style");t.appendChild(C.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),C.head.appendChild(t),window.getComputedStyle(C.body),e=setTimeout((()=>{C.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[J,w,C]),o.useEffect((()=>(P.current=!0,()=>{P.current=!1})),[]);const re=o.useMemo((()=>({allColorSchemes:_,colorScheme:J,darkColorScheme:q,lightColorScheme:G,mode:K,setColorScheme:Y,setMode:H,systemMode:W})),[_,J,q,G,K,Y,H,W]);let oe=!0;(E||z&&(null==N?void 0:N.cssVarPrefix)===A)&&(oe=!1);const ae=e.jsxs(o.Fragment,{children:[oe&&e.jsxs(o.Fragment,{children:[e.jsx(Op,{styles:{[O]:Q}}),e.jsx(Op,{styles:te}),e.jsx(Op,{styles:ne})]}),e.jsx(gg,{themeId:R?n:void 0,theme:d?d(ee):ee,children:m})]});return z?ae:e.jsx(f.Provider,{value:re,children:ae})}"production"!==process.env.NODE_ENV&&(f.displayName="ColorSchemeContext"),"production"!==process.env.NODE_ENV&&(m.propTypes={attribute:Ga.string,children:Ga.node,colorSchemeNode:Ga.any,colorSchemeSelector:Ga.string,colorSchemeStorageKey:Ga.string,defaultColorScheme:Ga.oneOfType([Ga.string,Ga.object]),defaultMode:Ga.string,disableNestedContext:Ga.bool,disableStyleSheetGeneration:Ga.bool,disableTransitionOnChange:Ga.bool,documentNode:Ga.any,modeStorageKey:Ga.string,storageWindow:Ga.any,theme:Ga.object});const g="string"==typeof c?c:c.light,h="string"==typeof c?c:c.dark;return{CssVarsProvider:m,useColorScheme:()=>{const e=o.useContext(f);if(!e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `useColorScheme` must be called under <CssVarsProvider />":su(19));return e},getInitColorSchemeScript:t=>function(t){const{defaultMode:n="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:o="dark",modeStorageKey:a=hg,colorSchemeStorageKey:i=vg,attribute:l=bg,colorSchemeNode:s="document.documentElement",nonce:c}=t||{};return e.jsx("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${a}') || '${n}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n } else {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${l}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}(cu({attribute:a,colorSchemeStorageKey:l,defaultMode:s,defaultLightColorScheme:g,defaultDarkColorScheme:h,modeStorageKey:i},t))}}({themeId:lu,theme:sh,attribute:ch,modeStorageKey:fh,colorSchemeStorageKey:uh,defaultColorScheme:{light:dh,dark:ph}}),vh=hm({defaultTheme:sh,themeId:lu});function bh({props:e,name:t}){return xm({props:e,name:t,defaultTheme:cu({},sh,{components:{}}),themeId:lu})}function yh(e,t,n){return void 0===e||"string"==typeof e?t:cu({},t,{ownerState:cu({},t.ownerState,n)})}function xh(e,t,n=((e,t)=>e===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}const wh={disableDefaultClasses:!1},Sh=o.createContext(wh);function Ch(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function kh(e,t,n){return"function"==typeof e?e(t,n):e}function Oh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Ih(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Uf(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=cu({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=cu({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=Ch(cu({},o,r)),l=Oh(r),s=Oh(o),c=t(i),u=Uf(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=cu({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=cu({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}"production"!==process.env.NODE_ENV&&(Sh.displayName="ClassNameConfiguratorContext");const Eh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ph(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=Ep(e,Eh),l=a?{}:kh(r,o),{props:s,internalRef:c}=Ih(cu({},i,{externalSlotProps:l}));return yh(n,cu({},s,{ref:Fm(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}const Nh="base";function $h(e,t){const n=Kf[t];return n?`${Nh}--${n}`:function(e,t){return`${Nh}-${e}-${t}`}(e,t)}function zh(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:a,tabIndex:i,to:l,type:s,rootElementName:c}=e,u=o.useRef(),[d,p]=o.useState(!1),{isFocusVisibleRef:f,onFocus:m,onBlur:g,ref:h}=Xm(),[v,b]=o.useState(!1);t&&!n&&v&&b(!1),o.useEffect((()=>{f.current=v}),[v,f]);const[y,x]=function(e){const{rootElementName:t="",componentName:n}=e,[r,a]=o.useState(t.toUpperCase());"production"!==process.env.NODE_ENV&&o.useEffect((()=>{t&&r!==t.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${n?`the ${n} component`:"a component"} expected the '${t}' element, but a '${r.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")}),[t,r,n]);const i=o.useCallback((e=>{var t;a(null!=(t=null==e?void 0:e.tagName)?t:"")}),[]);return[r,i]}({rootElementName:null!=c?c:r||l?"a":void 0,componentName:"Button"}),w=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(u.current||(u.current=t.currentTarget),m(t),!0===f.current)&&(b(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},C=()=>{const e=u.current;return"BUTTON"===y||"INPUT"===y&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===y&&(null==e?void 0:e.href)},k=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},O=e=>n=>{var r;t||(p(!0),document.addEventListener("mouseup",(()=>{p(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},I=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||C()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||p(!0),n.target!==n.currentTarget||C()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},E=e=>n=>{var r,o;(n.target===n.currentTarget&&p(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||C()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},P=Fm(x,a,h,u),N={};void 0!==i&&(N.tabIndex=i),"BUTTON"===y?(N.type=null!=s?s:"button",n?N["aria-disabled"]=t:N.disabled=t):"INPUT"===y?s&&["button","submit","reset"].includes(s)&&(n?N["aria-disabled"]=t:N.disabled=t):""!==y&&(r||l||(N.role="button",N.tabIndex=null!=i?i:0),t&&(N["aria-disabled"]=t,N.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=cu({},Ch(e),Ch(t)),r=cu({type:s},n,N,t,{onBlur:(o=n,e=>{var t;g(e),!1===f.current&&b(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:k(n),onFocus:S(n),onKeyDown:I(n),onKeyUp:E(n),onMouseDown:O(n),onMouseLeave:w(n),ref:P});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:b,active:d,rootRef:P}}const Rh=o.createContext(null);function Dh(e,t){return e===t}"production"!==process.env.NODE_ENV&&(Rh.displayName="DropdownContext");const Th={},jh=()=>{};function Mh(e,t){const n=cu({},e);return Object.keys(t).forEach((e=>{void 0!==t[e]&&(n[e]=t[e])})),n}function Ah(e){const t=o.useRef(null),{reducer:n,initialState:r,controlledProps:a=Th,stateComparers:i=Th,onStateChange:l=jh,actionContext:s,componentName:c=""}=e,u=o.useRef(a);"production"!==process.env.NODE_ENV&&o.useEffect((()=>{Object.keys(a).forEach((e=>{void 0!==u.current[e]&&void 0===a[e]&&console.error(`useControllableReducer: ${c?`The ${c} component`:"A component"} is changing a controlled prop to be uncontrolled: ${e}`),void 0===u.current[e]&&void 0!==a[e]&&console.error(`useControllableReducer: ${c?`The ${c} component`:"A component"} is changing an uncontrolled prop to be controlled: ${e}`)}))}),[a,c]);const d=o.useCallback(((e,r)=>{t.current=r;const o=Mh(e,a);return n(o,r)}),[a,n]),[p,f]=o.useReducer(d,r),m=o.useCallback((e=>{f(cu({},e,{context:s}))}),[s]);return function(e){const{nextState:t,initialState:n,stateComparers:r,onStateChange:a,controlledProps:i,lastActionRef:l}=e,s=o.useRef(n);o.useEffect((()=>{if(null===l.current)return;const e=Mh(s.current,i);Object.keys(t).forEach((n=>{var o;const i=null!=(o=r[n])?o:Dh,s=t[n],c=e[n];var u,d;(null==c&&null!=s||null!=c&&null==s||null!=c&&null!=s&&!i(s,c))&&(null==a||a(null!=(u=l.current.event)?u:null,n,s,null!=(d=l.current.type)?d:"",t))})),s.current=t,l.current=null}),[s,t,l,a,r,i])}({nextState:p,initialState:r,stateComparers:null!=i?i:Th,onStateChange:null!=l?l:jh,controlledProps:a,lastActionRef:t}),[Mh(p,a),m]}const Vh={blur:"dropdown:blur",escapeKeyDown:"dropdown:escapeKeyDown",toggle:"dropdown:toggle",open:"dropdown:open",close:"dropdown:close"};function _h(e,t){switch(t.type){case Vh.blur:case Vh.escapeKeyDown:return{open:!1,changeReason:t.event};case Vh.toggle:return{open:!e.open,changeReason:t.event};case Vh.open:return{open:!0,changeReason:t.event};case Vh.close:return{open:!1,changeReason:t.event};default:throw new Error("Unhandled action")}}function Lh(t){const{children:n,open:r,defaultOpen:a,onOpenChange:i}=t,{contextValue:l}=function(e={}){const{defaultOpen:t,onOpenChange:n,open:r,componentName:a="useDropdown"}=e,[i,l]=o.useState(""),[s,c]=o.useState(null),u=o.useRef(null),d=o.useCallback(((e,t,r,o)=>{"open"===t&&(null==n||n(e,r)),u.current=o}),[n]),p=o.useMemo((()=>void 0!==r?{open:r}:{}),[r]),[f,m]=Ah({controlledProps:p,initialState:t?{open:!0,changeReason:null}:{open:!1,changeReason:null},onStateChange:d,reducer:_h,componentName:a});return o.useEffect((()=>{f.open||null===u.current||u.current===Vh.blur||null==s||s.focus()}),[f.open,s]),{contextValue:{state:f,dispatch:m,popupId:i,registerPopup:l,registerTrigger:c,triggerElement:s},open:f.open}}({defaultOpen:a,onOpenChange:i,open:r});return e.jsx(Rh.Provider,{value:l,children:n})}"production"!==process.env.NODE_ENV&&(Lh.propTypes={children:Ga.node,defaultOpen:Ga.bool,onOpenChange:Ga.func,open:Ga.bool}),"production"!==process.env.NODE_ENV&&(Lh.propTypes=Pm(Lh.propTypes));const Fh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Bh(e){const t=[],n=[];return Array.from(e.querySelectorAll(Fh)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Hh(){return!0}function Wh(t){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:a=!1,disableRestoreFocus:i=!1,getTabbable:l=Bh,isEnabled:s=Hh,open:c}=t,u=o.useRef(!1),d=o.useRef(null),p=o.useRef(null),f=o.useRef(null),m=o.useRef(null),g=o.useRef(!1),h=o.useRef(null),v=Fm(n.ref,h),b=o.useRef(null);o.useEffect((()=>{c&&h.current&&(g.current=!r)}),[r,c]),o.useEffect((()=>{if(!c||!h.current)return;const e=Dm(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||("production"!==process.env.NODE_ENV&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join("\n")),h.current.setAttribute("tabIndex","-1")),g.current&&h.current.focus()),()=>{i||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}}),[c]),o.useEffect((()=>{if(!c||!h.current)return;const e=Dm(h.current),t=t=>{b.current=t,!a&&s()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(u.current=!0,p.current&&p.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!s()||u.current)return void(u.current=!1);if(t.contains(e.activeElement))return;if(a&&e.activeElement!==d.current&&e.activeElement!==p.current)return;if(e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!g.current)return;let n=[];if(e.activeElement!==d.current&&e.activeElement!==p.current||(n=l(h.current)),n.length>0){var r,o;const e=Boolean((null==(r=b.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=b.current)?void 0:o.key)),t=n[0],a=n[n.length-1];"string"!=typeof t&&"string"!=typeof a&&(e?a.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[r,a,i,s,c,l]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),g.current=!0};return e.jsxs(o.Fragment,{children:[e.jsx("div",{tabIndex:c?0:-1,onFocus:y,ref:d,"data-testid":"sentinelStart"}),o.cloneElement(n,{ref:v,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),g.current=!0,m.current=e.target;const t=n.props.onFocus;t&&t(e)}}),e.jsx("div",{tabIndex:c?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(Wh.propTypes={children:Im,disableAutoFocus:Ga.bool,disableEnforceFocus:Ga.bool,disableRestoreFocus:Ga.bool,getTabbable:Ga.func,isEnabled:Ga.func,open:Ga.bool.isRequired}),"production"!==process.env.NODE_ENV&&(Wh.propTypes=Pm(Wh.propTypes));const Gh=o.createContext(void 0);function qh(e={}){const{defaultValue:t,disabled:n=!1,error:r=!1,onBlur:a,onChange:i,onFocus:l,required:s=!1,value:c,inputRef:u}=e,d=o.useContext(Gh);let p,f,m,g,h;var v,b,y;if(d){if(p=void 0,f=null!=(v=d.disabled)&&v,m=null!=(b=d.error)&&b,g=null!=(y=d.required)&&y,h=d.value,"production"!==process.env.NODE_ENV){const t=["defaultValue","disabled","error","required","value"].filter((t=>void 0!==e[t]));t.length>0&&console.warn(["MUI: You have set props on an input that is inside a FormControl.","Set these props on a FormControl instead. Otherwise they will be ignored.",`Ignored props: ${t.join(", ")}`].join("\n"))}}else p=t,f=n,m=r,g=s,h=c;const{current:x}=o.useRef(null!=h),w=o.useCallback((e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&!e.focus&&console.error(["MUI: You have provided a `slots.input` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join("\n"))}),[]),S=o.useRef(null),C=Fm(S,u,w),[k,O]=o.useState(!1);o.useEffect((()=>{!d&&f&&k&&(O(!1),null==a||a())}),[d,f,k,a]);const I=e=>t=>{var n,r;null!=d&&d.disabled?t.stopPropagation():(null==(n=e.onFocus)||n.call(e,t),d&&d.onFocus?null==d||null==(r=d.onFocus)||r.call(d):O(!0))},E=e=>(t,...n)=>{var r,o;if(!x){if(null==(t.target||S.current))throw new Error("production"!==process.env.NODE_ENV?"MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":su(17))}null==d||null==(r=d.onChange)||r.call(d,t),null==(o=e.onChange)||o.call(e,t,...n)};return{disabled:f,error:m,focused:k,formControlContext:d,getInputProps:(e={})=>{const t=cu({},{onBlur:a,onChange:i,onFocus:l},Ch(e)),n=cu({},t,{onBlur:(r=t,e=>{var t;null==(t=r.onBlur)||t.call(r,e),d&&d.onBlur?d.onBlur():O(!1)}),onChange:E(t),onFocus:I(t)});var r;return cu({},n,{"aria-invalid":m||void 0,defaultValue:p,value:h,required:g,disabled:f},e,{ref:C},n)},getRootProps:(t={})=>{const n=cu({},Ch(e,["onBlur","onChange","onFocus"]),Ch(t));return cu({},t,n,{onClick:(r=n,e=>{var t;S.current&&e.currentTarget===e.target&&S.current.focus(),null==(t=r.onClick)||t.call(r,e)})});var r},inputRef:C,required:g,value:h}}"production"!==process.env.NODE_ENV&&(Gh.displayName="FormControlContext");const Uh={blur:"list:blur",focus:"list:focus",itemClick:"list:itemClick",itemHover:"list:itemHover",itemsChange:"list:itemsChange",keyDown:"list:keyDown",resetHighlight:"list:resetHighlight",highlightLast:"list:highlightLast",textNavigation:"list:textNavigation",clearSelection:"list:clearSelection"};function Yh(e,t,n){var r;const{items:o,isItemDisabled:a,disableListWrap:i,disabledItemsFocusable:l,itemComparer:s,focusManagement:c}=n,u="DOM"===c?0:-1,d=o.length-1,p=null==e?-1:o.findIndex((t=>s(t,e)));let f,m,g=!i;switch(t){case"reset":if(-1===u)return null;f=0,m="next",g=!1;break;case"start":f=0,m="next",g=!1;break;case"end":f=d,m="previous",g=!1;break;default:{const e=p+t;e<0?!g&&-1!==p||Math.abs(t)>1?(f=0,m="next"):(f=d,m="previous"):e>d?!g||Math.abs(t)>1?(f=d,m="previous"):(f=0,m="next"):(f=e,m=t>=0?"next":"previous")}}const h=function(e,t,n,r,o,a){if(0===n.length||!r&&n.every(((e,t)=>o(e,t))))return-1;let i=e;for(;;){if(!a&&"next"===t&&i===n.length||!a&&"previous"===t&&-1===i)return-1;if(r||!o(n[i],i))return i;i+="next"===t?1:-1,a&&(i=(i+n.length)%n.length)}}(f,m,o,l,a,g);return-1!==h||null===e||a(e,p)?null!=(r=o[h])?r:null:e}function Kh(e,t,n){const{itemComparer:r,isItemDisabled:o,selectionMode:a,items:i}=n,{selectedValues:l}=t,s=i.findIndex((t=>r(e,t)));if(o(e,s))return t;const c=function(e,t,n,r){return"none"===n?[]:"single"===n?r(t[0],e)?t:[e]:t.some((t=>r(t,e)))?t.filter((t=>!r(t,e))):[...t,e]}(e,l,a,r);return cu({},t,{selectedValues:c,highlightedValue:e})}function Jh(e,t,n){var r;const o=null==(r=n(e))?void 0:r.trim().toLowerCase();return!(!o||0===o.length)&&0===o.indexOf(t)}function Xh(e,t){const{type:n,context:r}=t;switch(n){case Uh.keyDown:return function(e,t,n){const r=t.highlightedValue,{orientation:o,pageSize:a}=n;switch(e){case"Home":return cu({},t,{highlightedValue:Yh(r,"start",n)});case"End":return cu({},t,{highlightedValue:Yh(r,"end",n)});case"PageUp":return cu({},t,{highlightedValue:Yh(r,-a,n)});case"PageDown":return cu({},t,{highlightedValue:Yh(r,a,n)});case"ArrowUp":if("vertical"!==o)break;return cu({},t,{highlightedValue:Yh(r,-1,n)});case"ArrowDown":if("vertical"!==o)break;return cu({},t,{highlightedValue:Yh(r,1,n)});case"ArrowLeft":if("vertical"===o)break;return cu({},t,{highlightedValue:Yh(r,"horizontal-ltr"===o?-1:1,n)});case"ArrowRight":if("vertical"===o)break;return cu({},t,{highlightedValue:Yh(r,"horizontal-ltr"===o?1:-1,n)});case"Enter":case" ":return null===t.highlightedValue?t:Kh(t.highlightedValue,t,n)}return t}(t.key,e,r);case Uh.itemClick:return Kh(t.item,e,r);case Uh.blur:return function(e,t){return"DOM"===t.focusManagement?e:cu({},e,{highlightedValue:null})}(e,r);case Uh.textNavigation:return function(e,t,n){const{items:r,isItemDisabled:o,disabledItemsFocusable:a,getItemAsString:i}=n,l=t.length>1;let s=l?e.highlightedValue:Yh(e.highlightedValue,1,n);for(let c=0;c<r.length;c+=1){if(!s||!l&&e.highlightedValue===s)return e;if(Jh(s,t,i)&&(!o(s,r.indexOf(s))||a))return cu({},e,{highlightedValue:s});s=Yh(s,1,n)}return e}(e,t.searchString,r);case Uh.itemsChange:return function(e,t,n,r){var o;const{itemComparer:a,focusManagement:i}=r;let l=null;var s;null!=n.highlightedValue?l=null!=(s=e.find((e=>a(e,n.highlightedValue))))?s:null:"DOM"===i&&0===t.length&&(l=Yh(null,"reset",r));const c=(null!=(o=n.selectedValues)?o:[]).filter((t=>e.some((e=>a(e,t)))));return cu({},n,{highlightedValue:l,selectedValues:c})}(t.items,t.previousItems,e,r);case Uh.resetHighlight:return function(e,t){return cu({},e,{highlightedValue:Yh(null,"reset",t)})}(e,r);case Uh.highlightLast:return function(e,t){return cu({},e,{highlightedValue:Yh(null,"end",t)})}(e,r);case Uh.clearSelection:return function(e,t){return cu({},e,{selectedValues:[],highlightedValue:Yh(null,"reset",t)})}(e,r);default:return e}}const Qh=500;const Zh={},ev=()=>{},tv=(e,t)=>e===t,nv=()=>!1,rv=e=>"string"==typeof e?e:String(e),ov=()=>({highlightedValue:null,selectedValues:[]});function av(e){const{controlledProps:t=Zh,disabledItemsFocusable:n=!1,disableListWrap:r=!1,focusManagement:a="activeDescendant",getInitialState:i=ov,getItemDomElement:l,getItemId:s,isItemDisabled:c=nv,rootRef:u,onStateChange:d=ev,items:p,itemComparer:f=tv,getItemAsString:m=rv,onChange:g,onHighlightChange:h,onItemsChange:v,orientation:b="vertical",pageSize:y=5,reducerActionContext:x=Zh,selectionMode:w="single",stateReducer:S,componentName:C="useList"}=e;if("production"!==process.env.NODE_ENV){if("DOM"===a&&null==l)throw new Error("useList: The `getItemDomElement` prop is required when using the `DOM` focus management.");if("activeDescendant"===a&&null==s)throw new Error("useList: The `getItemId` prop is required when using the `activeDescendant` focus management.")}const k=o.useRef(null),O=Fm(u,k),I=o.useCallback(((e,t,n)=>{var r;(null==h||h(e,t,n),"DOM"!==a||null==t||n!==Uh.itemClick&&n!==Uh.keyDown&&n!==Uh.textNavigation)||(null==l||null==(r=l(t))||r.focus())}),[l,h,a]),E=o.useMemo((()=>({highlightedValue:f,selectedValues:(e,t)=>xh(e,t,f)})),[f]),P=o.useCallback(((e,t,n,r,o)=>{switch(null==d||d(e,t,n,r,o),t){case"highlightedValue":I(e,n,r);break;case"selectedValues":null==g||g(e,n,r)}}),[I,g,d]),N=o.useMemo((()=>({disabledItemsFocusable:n,disableListWrap:r,focusManagement:a,isItemDisabled:c,itemComparer:f,items:p,getItemAsString:m,onHighlightChange:I,orientation:b,pageSize:y,selectionMode:w,stateComparers:E})),[n,r,a,c,f,p,m,I,b,y,w,E]),$=i(),z=null!=S?S:Xh,R=o.useMemo((()=>cu({},x,N)),[x,N]),[D,T]=Ah({reducer:z,actionContext:R,initialState:$,controlledProps:t,stateComparers:E,onStateChange:P,componentName:C}),{highlightedValue:j,selectedValues:M}=D,A=function(e){const t=o.useRef({searchString:"",lastTime:null});return o.useCallback((n=>{if(1===n.key.length&&" "!==n.key){const r=t.current,o=n.key.toLowerCase(),a=performance.now();r.searchString.length>0&&r.lastTime&&a-r.lastTime>Qh?r.searchString=o:1===r.searchString.length&&o===r.searchString||(r.searchString+=o),r.lastTime=a,e(r.searchString,n)}}),[e])}(((e,t)=>T({type:Uh.textNavigation,event:t,searchString:e}))),V=o.useRef([]);o.useEffect((()=>{xh(V.current,p,f)||(T({type:Uh.itemsChange,event:null,items:p,previousItems:V.current}),V.current=p,null==v||v(p))}),[p,f,T,v]);const _=e=>t=>{var n;if(null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented)return;const r=["Home","End","PageUp","PageDown"];"vertical"===b?r.push("ArrowUp","ArrowDown"):r.push("ArrowLeft","ArrowRight"),"activeDescendant"===a&&r.push(" ","Enter"),r.includes(t.key)&&t.preventDefault(),T({type:Uh.keyDown,key:t.key,event:t}),A(t)},L=o.useCallback((e=>{const t=(null!=M?M:[]).some((t=>null!=t&&f(e,t))),n=null!=j&&f(e,j);return{focusable:"DOM"===a,highlighted:n,selected:t}}),[f,M,j,a]),F=o.useMemo((()=>({dispatch:T,getItemState:L})),[T,L]);return o.useDebugValue({state:D}),{contextValue:F,dispatch:T,getRootProps:(e={})=>{const t=Ch(e);return cu({},e,{"aria-activedescendant":"activeDescendant"===a&&null!=j?s(j):void 0,tabIndex:"DOM"===a?-1:0,ref:O},t,{onBlur:(n=t,e=>{var t,r;null==(t=n.onBlur)||t.call(n,e),e.defaultMuiPrevented||null!=(r=k.current)&&r.contains(e.relatedTarget)||T({type:Uh.blur,event:e})}),onKeyDown:_(t)});var n},rootRef:O,state:D}}const iv=o.createContext(null);function lv(e,t){if(t.type===Uh.itemHover)return cu({},e,{highlightedValue:t.item});const n=Xh(e,t);if(null===n.highlightedValue&&t.context.items.length>0)return cu({},n,{highlightedValue:t.context.items[0]});if(t.type===Uh.keyDown&&"Escape"===t.event.key)return cu({},n,{open:!1});var r;if(t.type===Uh.blur&&(null==(r=t.context.listboxRef.current)||!r.contains(t.event.relatedTarget))){var o,a;const e=null==(o=t.context.listboxRef.current)?void 0:o.getAttribute("id"),r=null==(a=t.event.relatedTarget)?void 0:a.getAttribute("aria-controls");return e&&r&&e===r?n:cu({},n,{open:!1,highlightedValue:t.context.items[0]})}return n}"production"!==process.env.NODE_ENV&&(iv.displayName="ListContext");const sv=o.createContext(null);function cv(){const[e,t]=o.useState(new Map),n=o.useRef(new Set),r=o.useCallback((function(e){n.current.delete(e),t((t=>{const n=new Map(t);return n.delete(e),n}))}),[]),a=o.useCallback((function(e,o){let a;return a="function"==typeof e?e(n.current):e,n.current.add(a),t((e=>{const t=new Map(e);return t.set(a,o),t})),{id:a,deregister:()=>r(a)}}),[r]),i=o.useMemo((()=>function(e){const t=Array.from(e.keys()).map((t=>({key:t,subitem:e.get(t)})));return t.sort(((e,t)=>{const n=e.subitem.ref.current,r=t.subitem.ref.current;return null===n||null===r||n===r?0:n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1})),new Map(t.map((e=>[e.key,e.subitem])))}(e)),[e]),l=o.useCallback((function(e){return Array.from(i.keys()).indexOf(e)}),[i]);return{contextValue:o.useMemo((()=>({getItemIndex:l,registerItem:a,totalSubitemCount:e.size})),[l,a,e.size]),subitems:i}}function uv(e,t){return function(n={}){const r=cu({},n,e(n));return cu({},r,t(r))}}"production"!==process.env.NODE_ENV&&(sv.displayName="CompoundComponentContext");const dv={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0,changeReason:null},triggerElement:null};function pv(t){const{value:n,children:r}=t,{dispatch:a,getItemIndex:i,getItemState:l,registerItem:s,totalSubitemCount:c}=n,u=o.useMemo((()=>({dispatch:a,getItemState:l,getItemIndex:i})),[a,i,l]),d=o.useMemo((()=>({getItemIndex:i,registerItem:s,totalSubitemCount:c})),[s,i,c]);return e.jsx(sv.Provider,{value:d,children:e.jsx(iv.Provider,{value:u,children:r})})}const fv=o.forwardRef((function(t,n){const{children:r,container:i,disablePortal:l=!1}=t,[s,c]=o.useState(null),u=Fm(o.isValidElement(r)?r.ref:null,n);if(wm((()=>{l||c(function(e){return"function"==typeof e?e():e}(i)||document.body)}),[i,l]),wm((()=>{if(s&&!l)return jm(n,s),()=>{jm(n,null)}}),[n,s,l]),l){if(o.isValidElement(r)){const e={ref:u};return o.cloneElement(r,e)}return e.jsx(o.Fragment,{children:r})}return e.jsx(o.Fragment,{children:s?a.createPortal(r,s):s})}));function mv(e){return`menu-item-${e.size}`}"production"!==process.env.NODE_ENV&&(fv.propTypes={children:Ga.node,container:Ga.oneOfType([Nm,Ga.func]),disablePortal:Ga.bool}),"production"!==process.env.NODE_ENV&&(fv.propTypes=Pm(fv.propTypes));const gv={dispatch:()=>{},popupId:"",registerPopup:()=>{},registerTrigger:()=>{},state:{open:!0,changeReason:null},triggerElement:null};function hv(e){var t;const{disabled:n=!1,id:r,rootRef:a,label:i,disableFocusOnHover:l=!1}=e,s=Vm(r),c=o.useRef(null),u=o.useMemo((()=>({disabled:n,id:null!=s?s:"",label:i,ref:c})),[n,s,i]),{dispatch:d}=null!=(t=o.useContext(Rh))?t:gv,{getRootProps:p,highlighted:f}=function(e){const{handlePointerOverEvents:t=!1,item:n}=e,r=o.useContext(iv);if(!r)throw new Error("useListItem must be used within a ListProvider");const{dispatch:a,getItemState:i}=r,{highlighted:l,selected:s,focusable:c}=i(n),u=o.useCallback((e=>t=>{var r;if(null==(r=e.onClick)||r.call(e,t),!t.defaultPrevented){if("production"!==process.env.NODE_ENV&&void 0===n)throw new Error(["MUI: The `item` provided to useListItem() is undefined.","This should happen only during server-side rendering under React 17."].join("\n"));a({type:Uh.itemClick,item:n,event:t})}}),[a,n]),d=o.useCallback((e=>t=>{var r;if(null==(r=e.onMouseOver)||r.call(e,t),!t.defaultPrevented){if("production"!==process.env.NODE_ENV&&void 0===n)throw new Error(["MUI: The `item` provided to useListItem() is undefined.","This should happen only during server-side rendering under React 17."].join("\n"));a({type:Uh.itemHover,item:n,event:t})}}),[a,n]);let p;return c&&(p=l?0:-1),{getRootProps:(e={})=>{const n=Ch(e);return cu({},e,{onClick:u(n),onPointerOver:t?d(n):void 0,tabIndex:p})},highlighted:l,selected:s}}({item:s,handlePointerOverEvents:!l}),{index:m,totalItemCount:g}=function(e,t){const n=o.useContext(sv);if(null===n)throw new Error("useCompoundItem must be used within a useCompoundParent");const{registerItem:r}=n,[a,i]=o.useState("function"==typeof e?void 0:e);return wm((()=>{const{id:n,deregister:o}=r(e,t);return i(n),o}),[r,t,e]),{id:a,index:void 0!==a?n.getItemIndex(a):-1,totalItemCount:n.totalSubitemCount}}(null!=s?s:mv,u),{getRootProps:h,focusVisible:v,rootRef:b}=zh({disabled:n,focusableWhenDisabled:!0}),y=Fm(b,a,c);o.useDebugValue({id:s,highlighted:f,disabled:n,label:i});const x=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.defaultMuiPrevented||d({type:Vh.close,event:t})},w=(e={})=>cu({},e,{onClick:x(e)});function S(e={}){const t=Ch(e);return cu({},e,t,uv(w,uv(h,p))(t),{id:s,ref:y,role:"menuitem"})}return void 0===s?{getRootProps:S,disabled:!1,focusVisible:v,highlighted:!1,index:-1,totalItemCount:0,rootRef:y}:{getRootProps:S,disabled:n,focusVisible:v,highlighted:f,index:m,totalItemCount:g,rootRef:y}}function vv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function bv(e){return parseInt(Tm(e).getComputedStyle(e).paddingRight,10)||0}function yv(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&vv(e,o)}))}function xv(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function wv(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Dm(e);return t.body===e?Tm(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(Dm(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${bv(r)+e}px`;const t=Dm(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${bv(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Dm(r).body;else{const t=r.parentElement,n=Tm(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const Sv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&vv(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);yv(t,e.mount,e.modalRef,r,!0);const o=xv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=xv(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=wv(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=xv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&vv(e.modalRef,t),yv(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&vv(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Cv(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:a=Sv,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:p}=e,f=o.useRef({}),m=o.useRef(null),g=o.useRef(null),h=Fm(g,p),[v,b]=o.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const w=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),S=()=>{a.mount(w(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},C=Lm((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Dm(m.current).body;a.add(w(),e),g.current&&S()})),k=o.useCallback((()=>a.isTopModal(w())),[a]),O=Lm((e=>{m.current=e,e&&(d&&k()?S():g.current&&vv(g.current,x))})),I=o.useCallback((()=>{a.remove(w(),x)}),[x,a]);o.useEffect((()=>()=>{I()}),[I]),o.useEffect((()=>{d?C():y&&i||I()}),[d,I,y,i,C]);const E=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},P=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Ch(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=cu({},n,t);return cu({role:"presentation"},r,{onKeyDown:E(r),ref:h})},getBackdropProps:(e={})=>cu({"aria-hidden":!0},e,{onClick:P(e),open:d}),getTransitionProps:()=>({onEnter:zm((()=>{b(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:zm((()=>{b(!0),s&&s(),i&&I()}),null==c?void 0:c.props.onExited)}),rootRef:h,portalRef:O,isTopModal:k,exited:v,hasTransition:y}}const kv="Popper";function Ov(e){return $h(kv,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=$h(e,t)}))}(kv,["root"]);const Iv=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ev=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Pv(e){return"function"==typeof e?e():e}function Nv(e){return void 0!==e.nodeType}const $v=()=>rg({root:["root"]},function(e){const{disableDefaultClasses:t}=o.useContext(Sh);return n=>t?"":e(n)}(Ov)),zv={},Rv=o.forwardRef((function(t,n){var r;const{anchorEl:a,children:i,direction:l,disablePortal:s,modifiers:c,open:u,placement:d,popperOptions:p,popperRef:f,slotProps:m={},slots:g={},TransitionProps:h}=t,v=Ep(t,Iv),b=o.useRef(null),y=Fm(b,n),x=o.useRef(null),w=Fm(x,f),S=o.useRef(w);wm((()=>{S.current=w}),[w]),o.useImperativeHandle(f,(()=>x.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(d,l),[k,O]=o.useState(C),[I,E]=o.useState(Pv(a));o.useEffect((()=>{x.current&&x.current.forceUpdate()})),o.useEffect((()=>{a&&E(Pv(a))}),[a]),wm((()=>{if(!I||!u)return;if("production"!==process.env.NODE_ENV&&I&&Nv(I)&&1===I.nodeType){const e=I.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=ws(I,b.current,cu({placement:C},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[I,s,c,u,p,C]);const P={placement:k};null!==h&&(P.TransitionProps=h);const N=$v(),$=null!=(r=g.root)?r:"div",z=Ph({elementType:$,externalSlotProps:m.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:N.root});return e.jsx($,cu({},z,{children:"function"==typeof i?i(P):i}))})),Dv=o.forwardRef((function(t,n){const{anchorEl:r,children:a,container:i,direction:l="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:f=zv,popperRef:m,style:g,transition:h=!1,slotProps:v={},slots:b={}}=t,y=Ep(t,Ev),[x,w]=o.useState(!0);if(!c&&!d&&(!h||x))return null;let S;if(i)S=i;else if(r){const e=Pv(r);S=e&&Nv(e)?Dm(e).body:Dm(null).body}const C=d||!c||h&&!x?void 0:"none",k=h?{in:d,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return e.jsx(fv,{disablePortal:s,container:S,children:e.jsx(Rv,cu({anchorEl:r,direction:l,disablePortal:s,modifiers:u,ref:n,open:h?!x:d,placement:p,popperOptions:f,popperRef:m,slotProps:v,slots:b},y,{style:cu({position:"fixed",top:0,left:0,display:C},g),TransitionProps:k,children:a}))})}));function Tv(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function jv(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(Dv.propTypes={anchorEl:km(Ga.oneOfType([Nm,Ga.object,Ga.func]),(e=>{if(e.open){const t=Pv(e.anchorEl);if(t&&Nv(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!Nv(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:Ga.oneOfType([Ga.node,Ga.func]),container:Ga.oneOfType([Nm,Ga.func]),direction:Ga.oneOf(["ltr","rtl"]),disablePortal:Ga.bool,keepMounted:Ga.bool,modifiers:Ga.arrayOf(Ga.shape({data:Ga.object,effect:Ga.func,enabled:Ga.bool,fn:Ga.func,name:Ga.any,options:Ga.object,phase:Ga.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Ga.arrayOf(Ga.string),requiresIfExists:Ga.arrayOf(Ga.string)})),open:Ga.bool.isRequired,placement:Ga.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:Ga.shape({modifiers:Ga.array,onFirstUpdate:Ga.func,placement:Ga.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:Ga.oneOf(["absolute","fixed"])}),popperRef:$m,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),transition:Ga.bool});const Mv=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let c=i?l.trim():l;n&&(c=c.toLowerCase()),t&&(c=Tv(c));const u=c?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Tv(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),Av=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function Vv(e){const{unstable_isActiveElementInListbox:t=Av,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:l=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:p=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:g=!1,disableListWrap:h=!1,filterOptions:v=Mv,filterSelectedOptions:b=!1,freeSolo:y=!1,getOptionDisabled:x,getOptionKey:w,getOptionLabel:S=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:C,handleHomeEndKeys:k=!e.freeSolo,id:O,includeInputInList:I=!1,inputValue:E,isOptionEqualToValue:P=((e,t)=>e===t),multiple:N=!1,onChange:$,onClose:z,onHighlightChange:R,onInputChange:D,onOpen:T,open:j,openOnFocus:M=!1,options:A,readOnly:V=!1,selectOnFocus:_=!e.freeSolo,value:L}=e,F=Vm(O);let B=S;B=e=>{const t=S(e);if("string"!=typeof t){if("production"!==process.env.NODE_ENV){const n=void 0===t?"undefined":`${typeof t} (${t})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${n} instead of a string for ${JSON.stringify(e)}.`)}return String(t)}return t};const H=o.useRef(!1),W=o.useRef(!0),G=o.useRef(null),q=o.useRef(null),[U,Y]=o.useState(null),[K,J]=o.useState(-1),X=a?0:-1,Q=o.useRef(X),[Z,ee]=_m({controlled:L,default:d,name:u}),[te,ne]=_m({controlled:E,default:"",name:u,state:"inputValue"}),[re,oe]=o.useState(!1),ae=o.useCallback(((e,t)=>{if(!(N?Z.length<t.length:null!==t)&&!s)return;let n;if(N)n="";else if(null==t)n="";else{const e=B(t);n="string"==typeof e?e:""}te!==n&&(ne(n),D&&D(e,n,"reset"))}),[B,te,N,D,ne,s,Z]),[ie,le]=_m({controlled:j,default:!1,name:u,state:"open"}),[se,ce]=o.useState(!0),ue=!N&&null!=Z&&te===B(Z),de=ie&&!V,pe=de?v(A.filter((e=>!b||!(N?Z:[Z]).some((t=>null!==t&&P(e,t))))),{inputValue:ue&&se?"":te,getOptionLabel:B}):[],fe=(e=>{const t=o.useRef({});return o.useEffect((()=>{t.current=e})),t.current})({filteredOptions:pe,value:Z,inputValue:te});o.useEffect((()=>{const e=Z!==fe.value;re&&!e||y&&!e||ae(null,Z)}),[Z,ae,re,fe.value,y]);const me=ie&&pe.length>0&&!V;if("production"!==process.env.NODE_ENV&&null!==Z&&!y&&A.length>0){const e=(N?Z:[Z]).filter((e=>!A.some((t=>P(t,e)))));e.length>0&&console.warn([`MUI: The value provided to ${u} is invalid.`,`None of the options match with \`${e.length>1?JSON.stringify(e):JSON.stringify(e[0])}\`.`,"You can use the `isOptionEqualToValue` prop to customize the equality test."].join("\n"))}const ge=Lm((e=>{-1===e?G.current.focus():U.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{N&&K>Z.length-1&&(J(-1),ge(-1))}),[Z,N,K,ge]);const he=Lm((({event:e,index:t,reason:r="auto"})=>{if(Q.current=t,-1===t?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${F}-option-${t}`),R&&R(e,-1===t?null:pe[t],r),!q.current)return;const o=q.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=q.current;if("listbox"!==q.current.getAttribute("role")&&(a=q.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(C?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(C?1.3:0))}})),ve=Lm((({event:e,diff:t,direction:n="next",reason:o="auto"})=>{if(!de)return;const a=function(e,t){if(!q.current||e<0||e>=pe.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),o=!g&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%pe.length:(n-1+pe.length)%pe.length,n===e)return-1}}((()=>{const e=pe.length-1;if("reset"===t)return X;if("start"===t)return 0;if("end"===t)return e;const n=Q.current+t;return n<0?-1===n&&I?-1:h&&-1!==Q.current||Math.abs(t)>1?0:e:n>e?n===e+1&&I?-1:h||Math.abs(t)>1?e:0:n})(),n);if(he({index:a,reason:o,event:e}),r&&"reset"!==t)if(-1===a)G.current.value=te;else{const e=B(pe[a]);G.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&G.current.setSelectionRange(te.length,e.length)}})),be=o.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==Q.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===te&&(N?Z.length===fe.value.length&&fe.value.every(((e,t)=>B(Z[t])===B(e))):(e=fe.value,t=Z,(e?B(e):"")===(t?B(t):"")))){const e=fe.filteredOptions[Q.current];if(e)return jv(pe,(t=>B(t)===B(e)))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=N?Z[0]:Z;if(0!==pe.length&&null!=t){if(q.current)if(null==t)Q.current>=pe.length-1?he({index:pe.length-1}):he({index:Q.current});else{const e=pe[Q.current];if(N&&e&&-1!==jv(Z,(t=>P(e,t))))return;const n=jv(pe,(e=>P(e,t)));-1===n?ve({diff:"reset"}):he({index:n})}}else ve({diff:"reset"})}),[pe.length,!N&&Z,b,ve,he,de,te,N]),ye=Lm((e=>{jm(q,e),e&&be()}));"production"!==process.env.NODE_ENV&&o.useEffect((()=>{G.current&&"INPUT"===G.current.nodeName||(G.current&&"TEXTAREA"===G.current.nodeName?console.warn([`A textarea element was provided to ${u} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join("\n")):console.error([`MUI: Unable to find the input element. It was resolved to ${G.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"","useAutocomplete"===u?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join("\n")))}),[u]),o.useEffect((()=>{be()}),[be]);const xe=e=>{ie||(le(!0),ce(!0),T&&T(e))},we=(e,t)=>{ie&&(le(!1),z&&z(e,t))},Se=(e,t,n,r)=>{if(N){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;$&&$(e,t,n,r),ee(t)},Ce=o.useRef(!1),ke=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if(N){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>P(t,e)));e.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${e.length} matches.`].join("\n"))}const e=jv(a,(e=>P(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}ae(e,a),Se(e,a,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||we(e,o),(!0===l||"touch"===l&&Ce.current||"mouse"===l&&!Ce.current)&&G.current.blur()};const Oe=(e,t)=>{if(!N)return;""===te&&we(e,"toggleInput");let n=K;-1===K?""===te&&"previous"===t&&(n=Z.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Z.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Z.length||"previous"===t&&-1===n)return-1;const e=U.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),J(n),ge(n)},Ie=e=>{H.current=!0,ne(""),D&&D(e,"","clear"),Se(e,N?[]:null,"clear")},Ee=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==K&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(J(-1),ge(-1)),229!==t.which))switch(t.key){case"Home":de&&k&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&k&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),xe(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),xe(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),xe(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),xe(t);break;case"ArrowLeft":Oe(t,"previous");break;case"ArrowRight":Oe(t,"next");break;case"Enter":if(-1!==Q.current&&de){const e=pe[Q.current],n=!!x&&x(e);if(t.preventDefault(),n)return;ke(t,e,"selectOption"),r&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else y&&""!==te&&!1===ue&&(N&&t.preventDefault(),ke(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),we(t,"escape")):c&&(""!==te||N&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Ie(t));break;case"Backspace":if(N&&!V&&""===te&&Z.length>0){const e=-1===K?Z.length-1:K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}break;case"Delete":if(N&&!V&&""===te&&Z.length>0&&-1!==K){const e=K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}}},Pe=e=>{oe(!0),M&&!H.current&&xe(e)},Ne=e=>{t(q)?G.current.focus():(oe(!1),W.current=!0,H.current=!1,i&&-1!==Q.current&&de?ke(e,pe[Q.current],"blur"):i&&y&&""!==te?ke(e,te,"blur","freeSolo"):s&&ae(e,Z),we(e,"blur"))},$e=e=>{const t=e.target.value;te!==t&&(ne(t),ce(!1),D&&D(e,t,"input")),""===t?p||N||Se(e,null,"clear"):xe(e)},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&he({event:e,index:t,reason:"mouse"})},Re=e=>{he({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},De=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ke(e,pe[t],"selectOption"),Ce.current=!1},Te=e=>t=>{const n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})},je=e=>{ie?we(e,"toggleInput"):xe(e)},Me=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==F&&e.preventDefault()},Ae=e=>{e.currentTarget.contains(e.target)&&(G.current.focus(),_&&W.current&&G.current.selectionEnd-G.current.selectionStart==0&&G.current.select(),W.current=!1)},Ve=e=>{m||""!==te&&ie||je(e)};let _e=y&&te.length>0;_e=_e||(N?Z.length>0:null!==Z);let Le=pe;if(C){const e=new Map;let t=!1;Le=pe.reduce(((n,r,o)=>{const a=C(r);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(r):("production"!==process.env.NODE_ENV&&(e.get(a)&&!t&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),t=!0),e.set(a,!0)),n.push({key:o,index:o,group:a,options:[r]})),n}),[])}return m&&re&&Ne(),{getRootProps:(e={})=>cu({"aria-owns":me?`${F}-listbox`:null},e,{onKeyDown:Ee(e),onMouseDown:Me,onClick:Ae}),getInputLabelProps:()=>({id:`${F}-label`,htmlFor:F}),getInputProps:()=>({id:F,value:te,onBlur:Ne,onFocus:Pe,onChange:$e,onMouseDown:Ve,"aria-activedescendant":de?"":null,"aria-autocomplete":r?"both":"list","aria-controls":me?`${F}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:G,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ie}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:je}),getTagProps:({index:e})=>cu({key:e,"data-tag-index":e,tabIndex:-1},!V&&{onDelete:Te(e)}),getListboxProps:()=>({role:"listbox",id:`${F}-listbox`,"aria-labelledby":`${F}-label`,ref:ye,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=(N?Z:[Z]).some((e=>null!=e&&P(t,e))),o=!!x&&x(t);return{key:null!=(n=null==w?void 0:w(t))?n:B(t),tabIndex:-1,role:"option",id:`${F}-option-${e}`,onMouseMove:ze,onClick:De,onTouchStart:Re,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:F,inputValue:te,value:Z,dirty:_e,expanded:de&&U,popupOpen:de,focused:re||-1!==K,anchorEl:U,setAnchorEl:Y,focusedTag:K,groupedOptions:Le}}const _v=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Lv=["component","slots","slotProps"],Fv=["component"];function Bv(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:l}=t,s=Ep(t,_v),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=a,p=Ep(a,Lv),f=u[e]||r,m=kh(d[e],o),g=Ih(cu({className:n},s,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:m})),{props:{component:h},internalRef:v}=g,b=Ep(g.props,Fv),y=Fm(v,null==m?void 0:m.ref,t.ref),x=i?i(b):{},w=cu({},o,x),S="root"===e?h||c:h,C=yh(f,cu({},"root"===e&&!c&&!u[e]&&l,"root"!==e&&!u[e]&&l,b,S&&{as:S},{ref:y}),w);return Object.keys(x).forEach((e=>{delete C[e]})),[f,C]}function Hv(e){return eh("MuiListItem",e)}const Wv=th("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),Gv=o.createContext(!1);"production"!==process.env.NODE_ENV&&(Gv.displayName="NestedListContext");const qv=o.createContext(!1);"production"!==process.env.NODE_ENV&&(qv.displayName="RowListContext");const Uv=o.createContext(!1);"production"!==process.env.NODE_ENV&&(Uv.displayName="WrapListContext");const Yv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Yv.displayName="ComponentListContext");const Kv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Kv.displayName="ListSubheaderContext");const Jv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Jv.displayName="GroupListContext");const Xv=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],Qv=vh("li")((({theme:e,ownerState:t})=>{var n;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",gap:"var(--ListItem-gap)",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},cu({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"var(--_ListItem-display)","&:not([hidden])":{"--_ListItem-display":"var(--_List-markerDisplay, flex)"},flex:"none",listStyleType:"var(--_List-markerType, disc)",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&cu({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:`var(--ListItem-stickyBackground, ${e.vars.palette.background.body})`},{[`.${Wv.nested} > &`]:{"--_ListItem-display":"flex"}}),null==(n=e.variants[t.variant])?void 0:n[t.color]]})),Zv=vh(Qv,{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eb=vh("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1}))),tb=vh("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"}))),nb=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyListItem"}),a=o.useContext(Jv),i=o.useContext(Yv),l=o.useContext(qv),s=o.useContext(Uv),c=o.useContext(Gv),{component:u,className:d,children:p,nested:f=!1,sticky:m=!1,variant:g="plain",color:h="neutral",startAction:v,endAction:b,role:y,slots:x={},slotProps:w={}}=r,S=Ep(r,Xv),[C,k]=o.useState(""),[O,I]=(null==i?void 0:i.split(":"))||["",""],E=u||(O&&!O.match(/^(ul|ol|menu)$/)?"div":void 0);let P="menu"===a?"none":void 0;i&&(P={menu:"none",menubar:"none",group:"presentation"}[I]),y&&(P=y);const N=cu({},r,{sticky:m,startAction:v,endAction:b,row:l,wrap:s,variant:g,color:h,nesting:c,nested:f,component:E,role:P}),$=(e=>{const{sticky:t,nested:n,nesting:r,variant:o,color:a}=e;return rg({root:["root",n&&"nested",r&&"nesting",t&&"sticky",a&&`color${Lp(a)}`,o&&`variant${Lp(o)}`],startAction:["startAction"],endAction:["endAction"]},Hv,{})})(N),z=cu({},S,{component:E,slots:x,slotProps:w}),[R,D]=Bv("root",{additionalProps:{role:P},ref:n,className:Uf($.root,d),elementType:Zv,externalForwardedProps:z,ownerState:N}),[T,j]=Bv("startAction",{className:$.startAction,elementType:eb,externalForwardedProps:z,ownerState:N}),[M,A]=Bv("endAction",{className:$.endAction,elementType:tb,externalForwardedProps:z,ownerState:N});return e.jsx(Kv.Provider,{value:k,children:e.jsx(Gv.Provider,{value:!!f&&(C||!0),children:e.jsxs(R,cu({},D,{children:[v&&e.jsx(T,cu({},j,{children:v})),o.Children.map(p,((e,t)=>o.isValidElement(e)?o.cloneElement(e,cu({},0===t&&{"data-first-child":""},Rm(e,["ListItem"])&&{component:e.props.component||"div"})):e)),b&&e.jsx(M,cu({},A,{children:b}))]}))})})}));"production"!==process.env.NODE_ENV&&(nb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,endAction:Ga.node,nested:Ga.bool,role:Ga.string,slotProps:Ga.shape({endAction:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startAction:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({endAction:Ga.elementType,root:Ga.elementType,startAction:Ga.elementType}),startAction:Ga.node,sticky:Ga.bool,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),nb.muiName="ListItem";const rb={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};function ob(t){const{children:n,nested:r,row:a=!1,wrap:i=!1}=t,l=e.jsx(qv.Provider,{value:a,children:e.jsx(Uv.Provider,{value:i,children:o.Children.map(n,((e,t)=>o.isValidElement(e)?o.cloneElement(e,cu({},0===t&&{"data-first-child":""},t===o.Children.count(n)-1&&{"data-last-child":""})):e))})});return void 0===r?l:e.jsx(Gv.Provider,{value:r,children:l})}const ab=({theme:e,ownerState:t},n)=>{let r={};return t.sx&&(!function t(n){"function"==typeof n?t(n(e)):Array.isArray(n)?n.forEach((e=>{"boolean"!=typeof e&&t(e)})):"object"==typeof n&&(r=cu({},r,n))}(t.sx),n.forEach((t=>{const n=r[t];var o;"string"==typeof n||"number"==typeof n?"borderRadius"===t?r[t]="number"==typeof n?`${n}px`:(null==(o=e.vars)?void 0:o.radius[n])||n:-1!==["p","padding","m","margin"].indexOf(t)&&"number"==typeof n?r[t]=e.spacing(n):r[t]=n:r[t]="function"==typeof n?n(e):void 0}))),r};function ib(e){return eh("MuiList",e)}var lb=th("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]);const sb=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(sb.displayName="RadioGroupContext");const cb=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],ub=vh("ul")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:a}=ab({theme:e,ownerState:t},["p","padding","borderRadius"]);function i(n){return"sm"===n?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"3px","--ListItem-paddingX":t.marker?"3px":"0.5rem","--ListItem-gap":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===n?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.25rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":t.marker?"0.25rem":"0.75rem","--ListItem-gap":"0.625rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===n?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"2.75rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":t.marker?"0.5rem":"1rem","--ListItem-gap":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&cu({},i(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0},t.marker&&{paddingInlineStart:"calc(3ch - var(--_List-markerDeduct, 0px))"},{marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&cu({},i(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)"},t.marker&&{"--_List-markerDeduct":"1ch"},{"--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?cu({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"},t.marker&&{paddingInlineStart:"3ch"}),cu({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},t.marker&&{"--_List-markerDisplay":"list-item","--_List-markerType":t.marker,lineHeight:"calc(var(--ListItem-minHeight) - 2 * var(--ListItem-paddingY))"},{flexGrow:1,position:"relative"},null==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==a&&{"--List-radius":a},void 0!==r&&{"--List-padding":r},void 0!==o&&{"--List-padding":o})]})),db=vh(ub,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),pb=o.forwardRef((function(t,n){var r;const a=o.useContext(Gv),i=o.useContext(Jv),l=o.useContext(sb),s=bh({props:t,name:"JoyList"}),{component:c,className:u,children:d,size:p,orientation:f="vertical",wrap:m=!1,variant:g="plain",color:h="neutral",role:v,slots:b={},slotProps:y={}}=s,x=Ep(s,cb),w=p||(null!=(r=t.size)?r:"md");let S;i&&(S="group"),l&&(S="presentation"),v&&(S=v);const C=cu({},s,{instanceSize:t.size,size:w,nesting:a,orientation:f,wrap:m,variant:g,color:h,role:S}),k=(e=>{const{variant:t,color:n,size:r,nesting:o,orientation:a,instanceSize:i}=e;return rg({root:["root",a,t&&`variant${Lp(t)}`,n&&`color${Lp(n)}`,!i&&!o&&r&&`size${Lp(r)}`,i&&`size${Lp(i)}`,o&&"nesting"]},ib,{})})(C),O=cu({},x,{component:c,slots:b,slotProps:y}),[I,E]=Bv("root",{ref:n,className:Uf(k.root,u),elementType:db,externalForwardedProps:O,ownerState:C,additionalProps:{as:c,role:S,"aria-labelledby":"string"==typeof a?a:void 0}});return e.jsx(I,cu({},E,{children:e.jsx(Yv.Provider,{value:`${"string"==typeof c?c:""}:${S||""}`,children:e.jsx(ob,{row:"horizontal"===f,wrap:m,children:d})})}))}));function fb(e){return eh("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(pb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,marker:Ga.string,orientation:Ga.oneOf(["horizontal","vertical"]),role:Ga.string,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string]),wrap:Ga.bool});const mb=th("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]),gb=o.createContext("horizontal");"production"!==process.env.NODE_ENV&&(gb.displayName="ListItemButtonOrientationContext");const hb=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],vb=vh("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;return cu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch",gap:"var(--ListItem-gap)"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:cu({},e.focus.default,{zIndex:1})},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:active":null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],[`.${Wv.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${mb.selected}`]:cu({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${mb.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},[`&.${mb.disabled}`]:cu({},null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color])})})),bb=vh(vb,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>cu({},!e.row&&{[`&.${mb.selected}`]:{fontWeight:t.vars.fontWeight.md}}))),yb=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyListItemButton"}),a=o.useContext(qv),{children:i,className:l,action:s,component:c="div",orientation:u="horizontal",role:d,selected:p=!1,color:f="neutral",variant:m="plain",slots:g={},slotProps:h={}}=r,v=Ep(r,hb),b=o.useRef(null),y=Fm(b,n),{focusVisible:x,setFocusVisible:w,getRootProps:S}=zh(cu({},r,{rootRef:y}));o.useImperativeHandle(s,(()=>({focusVisible:()=>{var e;w(!0),null==(e=b.current)||e.focus()}})),[w]);const C=cu({},r,{component:c,color:f,focusVisible:x,orientation:u,row:a,selected:p,variant:m}),k=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,selected:a,variant:i}=e,l=rg({root:["root",n&&"disabled",r&&"focusVisible",t&&`color${Lp(t)}`,a&&"selected",i&&`variant${Lp(i)}`]},fb,{});return r&&o&&(l.root+=` ${o}`),l})(C),O=cu({},v,{component:c,slots:g,slotProps:h}),[I,E]=Bv("root",{ref:n,className:Uf(k.root,l),elementType:bb,externalForwardedProps:O,ownerState:C,getSlotProps:S});return e.jsx(gb.Provider,{value:u,children:e.jsx(I,cu({},E,{role:null!=d?d:E.role,children:i}))})}));function xb(e){return eh("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(yb.propTypes={action:Ga.oneOfType([Ga.func,Ga.shape({current:Ga.shape({focusVisible:Ga.func.isRequired})})]),autoFocus:Ga.bool,children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,focusVisibleClassName:Ga.string,orientation:Ga.oneOf(["horizontal","vertical"]),role:Ga.string,selected:Ga.bool,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),tabIndex:Ga.number,variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),th("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);const wb=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],Sb={sm:"xl",md:"xl2",lg:"xl3"},Cb=vh("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n;return cu({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[Sb[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[Sb[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&cu({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`}))})),kb=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoySvgIcon"}),{children:a,className:i,color:l,component:s="svg",fontSize:c,htmlColor:u,inheritViewBox:d=!1,titleAccess:p,viewBox:f="0 0 24 24",size:m="md",slots:g={},slotProps:h={}}=r,v=Ep(r,wb),b=o.isValidElement(a)&&"svg"===a.type,y=cu({},r,{color:l,component:s,size:m,instanceSize:t.size,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:f,hasSvgAsChild:b}),x=(e=>{const{color:t,size:n,fontSize:r}=e;return rg({root:["root",t&&"inherit"!==t&&`color${Lp(t)}`,n&&`size${Lp(n)}`,r&&`fontSize${Lp(r)}`]},xb,{})})(y),w=cu({},v,{component:s,slots:g,slotProps:h}),[S,C]=Bv("root",{ref:n,className:Uf(x.root,i),elementType:Cb,externalForwardedProps:w,ownerState:y,additionalProps:cu({color:u,focusable:!1},p&&{role:"img"},!p&&{"aria-hidden":!0},!d&&{viewBox:f},b&&a.props)});return e.jsxs(S,cu({},C,{children:[b?a.props.children:a,p?e.jsx("title",{children:p}):null]}))}));function Ob(t,n){function r(r,o){return e.jsx(kb,cu({"data-testid":`${n}Icon`,ref:o},r,{children:t}))}return"production"!==process.env.NODE_ENV&&(r.displayName=`${n}Icon`),r.muiName=kb.muiName,o.memo(o.forwardRef(r))}"production"!==process.env.NODE_ENV&&(kb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","inherit","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,fontSize:Ga.oneOfType([Ga.oneOf(["inherit","lg","md","sm","xl","xl2","xl3","xl4","xs"]),Ga.string]),htmlColor:Ga.string,inheritViewBox:Ga.bool,shapeRendering:Ga.string,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),titleAccess:Ga.string,viewBox:Ga.string});const Ib=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,Eb="data-skip-inverted-colors",Pb=`& :not([${Eb}], [${Eb}] *)`,Nb=e=>{var t,n,r,o,a,i,l,s,c,u,d,p,f,m,g,h,v,b,y,x,w,S;const C=Ib(e.cssVarPrefix);return{"--variant-plainColor":"var(--variant-plainColor) !important","--variant-plainHoverColor":"var(--variant-plainHoverColor) !important","--variant-plainHoverBg":"var(--variant-plainHoverBg) !important","--variant-plainActiveBg":"var(--variant-plainActiveBg) !important","--variant-plainDisabledColor":"var(--variant-plainDisabledColor) !important","--variant-outlinedColor":"var(--variant-outlinedColor) !important","--variant-outlinedBorder":"var(--variant-outlinedBorder) !important","--variant-outlinedHoverColor":"var(--variant-outlinedHoverColor) !important","--variant-outlinedHoverBorder":"var(--variant-outlinedHoverBorder) !important","--variant-outlinedHoverBg":"var(--variant-outlinedHoverBg) !important","--variant-outlinedActiveBg":"var(--variant-outlinedActiveBg) !important","--variant-outlinedDisabledColor":"var(--variant-outlinedDisabledColor) !important","--variant-outlinedDisabledBorder":"var(--variant-outlinedDisabledBorder) !important","--variant-softColor":"var(--variant-softColor) !important","--variant-softHoverColor":"var(--variant-softHoverColor) !important","--variant-softBg":"var(--variant-softBg) !important","--variant-softHoverBg":"var(--variant-softHoverBg) !important","--variant-softActiveBg":"var(--variant-softActiveBg) !important","--variant-softActiveColor":"var(--variant-softActiveColor) !important","--variant-softDisabledColor":"var(--variant-softDisabledColor) !important","--variant-softDisabledBg":"var(--variant-softDisabledBg) !important","--variant-solidColor":"var(--variant-solidColor) !important","--variant-solidBg":"var(--variant-solidBg) !important","--variant-solidHoverBg":"var(--variant-solidHoverBg) !important","--variant-solidActiveBg":"var(--variant-solidActiveBg) !important","--variant-solidDisabledColor":"var(--variant-solidDisabledColor) !important","--variant-solidDisabledBg":"var(--variant-solidDisabledBg) !important","--Badge-ringColor":"var(--Badge-ringColor) !important",colorScheme:"unset",[e.getColorSchemeSelector("light")]:{[C("--palette-focusVisible")]:`${null==(t=e.colorSchemes.light)?void 0:t.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(n=e.colorSchemes.light)?void 0:n.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(r=e.colorSchemes.light)?void 0:r.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(o=e.colorSchemes.light)?void 0:o.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(a=e.colorSchemes.light)?void 0:a.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(i=e.colorSchemes.light)?void 0:i.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(l=e.colorSchemes.light)?void 0:l.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(s=e.colorSchemes.light)?void 0:s.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(c=e.colorSchemes.light)?void 0:c.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(u=e.colorSchemes.light)?void 0:u.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(d=e.colorSchemes.light)?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[C("--palette-focusVisible")]:`${null==(p=e.colorSchemes.dark)?void 0:p.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(f=e.colorSchemes.dark)?void 0:f.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(m=e.colorSchemes.dark)?void 0:m.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(g=e.colorSchemes.dark)?void 0:g.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(h=e.colorSchemes.dark)?void 0:h.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(v=e.colorSchemes.dark)?void 0:v.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(b=e.colorSchemes.dark)?void 0:b.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(y=e.colorSchemes.dark)?void 0:y.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(x=e.colorSchemes.dark)?void 0:x.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(w=e.colorSchemes.dark)?void 0:w.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(S=e.colorSchemes.dark)?void 0:S.palette.divider} !important`}}};const $b=e=>t=>{const n=void 0!==t.theme?t.theme:t;const r=kg(n.cssVarPrefix),o=Ib(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[Pb]:{"--Badge-ringColor":a(`palette-${e}-solidBg`),"--Icon-color":"currentColor",[`${n.getColorSchemeSelector("light")}, ${n.getColorSchemeSelector("dark")}`]:{colorScheme:"dark",[o("--palette-focusVisible")]:a(`palette-${e}-200`),[o("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[o("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[o("--palette-background-popup")]:a(`palette-${e}-700`),[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[o("--palette-text-primary")]:a("palette-common-white"),[o("--palette-text-secondary")]:a(`palette-${e}-200`),[o("--palette-text-tertiary")]:a(`palette-${e}-300`),[o("--palette-text-icon")]:a(`palette-${e}-200`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softActiveColor":"#fff","--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`}},[`&, & [${Eb}]`]:Nb(n)}},zb=e=>t=>{const{theme:n=t}=t,r=kg(n.cssVarPrefix),o=Ib(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[Pb]:{"--Badge-ringColor":a(`palette-${e}-softBg`),"--Icon-color":"currentColor",[n.getColorSchemeSelector("dark")]:{[o("--palette-focusVisible")]:a(`palette-${e}-300`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,[o("--palette-text-primary")]:a(`palette-${e}-100`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-text-icon")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${e}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${e}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${e}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${e}-200`),"--variant-softBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${e}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`},[n.getColorSchemeSelector("light")]:{[o("--palette-focusVisible")]:a(`palette-${e}-500`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,[o("--palette-text-primary")]:a(`palette-${e}-700`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.68)`,[o("--palette-text-icon")]:a(`palette-${e}-500`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${e}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${e}-600`),"--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${e}-600`),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${e}-700`),"--variant-softHoverBg":a(`palette-${e}-200`),"--variant-softActiveBg":a(`palette-${e}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${e}-${"neutral"===e?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`}},[`&, & [${Eb}]`]:Nb(n)}};var Rb=Ob(e.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Db=Ob(e.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Tb=o.createContext(void 0);function jb(e,t){let n=t,r=e;return"outlined"===e&&(n="neutral",r="plain"),"plain"===e&&(n="neutral"),{variant:r,color:n}}function Mb(e,t,n=!1){const r=o.useContext(Tb),[a,i]="string"==typeof r?r.split(":"):[],l=jb(a||void 0,i||void 0);return l.variant=e||l.variant,l.color=t||(n?i:l.color),l}function Ab({children:t,color:n,variant:r}){return e.jsx(Tb.Provider,{value:`${r||""}:${n||""}`,children:t})}function Vb(e){return eh("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(Tb.displayName="VariantColorContext"),th("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","loading","loadingIndicator"]);const _b=o.createContext({});"production"!==process.env.NODE_ENV&&(_b.displayName="ButtonGroupContext");const Lb=o.createContext(void 0);function Fb(e){return eh("MuiCircularProgress",e)}"production"!==process.env.NODE_ENV&&(Lb.displayName="ToggleButtonGroupContext"),th("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);let Bb,Hb=e=>e;const Wb=["color","backgroundColor"],Gb=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],qb=function(){var e=cp.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}});function Ub(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}const Yb=vh("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{var n,r,o,a;const i=(null==(n=t.variants[e.variant])?void 0:n[e.color])||{},{color:l,backgroundColor:s}=i,c=Ep(i,Wb);return cu({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":s,"--CircularProgress-progressColor":l,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":Ub("track","3px"),"--_progress-thickness":Ub("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":Ub("track","6px"),"--_progress-thickness":Ub("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":Ub("track","8px"),"--_progress-thickness":Ub("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:l},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},c,"outlined"===e.variant&&{"&::before":cu({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},c)},"soft"===e.variant&&{"--CircularProgress-trackColor":t.variants.soft.neutral.backgroundColor,"--CircularProgress-progressColor":null==(r=t.variants.solid)?void 0:r[e.color].backgroundColor},"solid"===e.variant&&{"--CircularProgress-trackColor":null==(o=t.variants.softHover)?void 0:o[e.color].backgroundColor,"--CircularProgress-progressColor":null==(a=t.variants.solid)?void 0:a[e.color].backgroundColor})})),Kb=vh("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),Jb=vh("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),Xb=vh("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},(({ownerState:e})=>!e.determinate&&cp(Bb||(Bb=Hb`
|
|
870
|
+
animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running)
|
|
871
|
+
${0};
|
|
872
|
+
`),qb))),Qb=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyCircularProgress"}),{children:o,className:a,color:i="primary",size:l="md",variant:s="soft",thickness:c,determinate:u=!1,value:d=(u?0:25),component:p,slots:f={},slotProps:m={}}=r,g=Ep(r,Gb),h=cu({},r,{color:i,size:l,variant:s,thickness:c,value:d,determinate:u,instanceSize:t.size}),v=(e=>{const{determinate:t,color:n,variant:r,size:o}=e;return rg({root:["root",t&&"determinate",n&&`color${Lp(n)}`,r&&`variant${Lp(r)}`,o&&`size${Lp(o)}`],svg:["svg"],track:["track"],progress:["progress"]},Fb,{})})(h),b=cu({},g,{component:p,slots:f,slotProps:m}),[y,x]=Bv("root",{ref:n,className:Uf(v.root,a),elementType:Yb,externalForwardedProps:b,ownerState:h,additionalProps:cu({role:"progressbar",style:{"--CircularProgress-percent":d}},d&&u&&{"aria-valuenow":"number"==typeof d?Math.round(d):Math.round(Number(d||0))})}),[w,S]=Bv("svg",{className:v.svg,elementType:Kb,externalForwardedProps:b,ownerState:h}),[C,k]=Bv("track",{className:v.track,elementType:Jb,externalForwardedProps:b,ownerState:h}),[O,I]=Bv("progress",{className:v.progress,elementType:Xb,externalForwardedProps:b,ownerState:h});return e.jsxs(y,cu({},x,{children:[e.jsxs(w,cu({},S,{children:[e.jsx(C,cu({},k)),e.jsx(O,cu({},I))]})),o]}))}));"production"!==process.env.NODE_ENV&&(Qb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,determinate:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({progress:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),svg:Ga.oneOfType([Ga.func,Ga.object]),track:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({progress:Ga.elementType,root:Ga.elementType,svg:Ga.elementType,track:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),thickness:Ga.number,value:Ga.number,variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});const Zb=["children","action","component","color","disabled","variant","loading","loadingIndicator","size","slots","slotProps"],ey=vh("button")((({theme:e,ownerState:t})=>{var n,r,o,a;return[cu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":{sm:"2rem",md:"2.25rem",lg:"2.75rem"}[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.25rem) / 1.5)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2.25rem)",minHeight:"var(--IconButton-size, 2.25rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.75rem) / 1.571)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 2.75rem)",minHeight:"var(--IconButton-size, 2.75rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:cu({"--Icon-color":"currentColor"},e.focus.default)}),cu({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":cu({"--Icon-color":"currentColor"},null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color])},'&:active, &[aria-pressed="true"]':cu({"--Icon-color":"currentColor"},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]),"&:disabled":null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]})),ty=vh(ey,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ny=vh("span",{name:"JoyIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e,ownerState:t})=>{var n,r;return cu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),ry=o.forwardRef((function(t,n){var r;const a=bh({props:t,name:"JoyIconButton"}),{children:i,action:l,component:s="button",color:c="neutral",disabled:u,variant:d="plain",loading:p=!1,loadingIndicator:f,size:m="md",slots:g={},slotProps:h={}}=a,v=Ep(a,Zb),b=o.useContext(_b),y=o.useContext(Lb),x=t.variant||b.variant||d,w=t.size||b.size||m,S=t.color||b.color||c,C=null!=(r=t.loading||t.disabled)?r:b.disabled||p||u,k=o.useRef(null),O=Fm(k,n),{focusVisible:I,setFocusVisible:E,getRootProps:P}=zh(cu({},a,{disabled:C,rootRef:O})),N=null!=f?f:e.jsx(Qb,{color:S,thickness:{sm:2,md:3,lg:4}[w]||3});o.useImperativeHandle(l,(()=>({focusVisible:()=>{var e;E(!0),null==(e=k.current)||e.focus()}})),[E]);const $=cu({},a,{component:s,color:S,disabled:C,variant:x,loading:p,size:w,focusVisible:I,instanceSize:t.size}),z=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,size:a,variant:i,loading:l}=e,s=rg({root:["root",n&&"disabled",r&&"focusVisible",i&&`variant${Lp(i)}`,t&&`color${Lp(t)}`,a&&`size${Lp(a)}`,l&&"loading"],loadingIndicator:["loadingIndicator"]},Vb,{});return r&&o&&(s.root+=` ${o}`),s})($);let R=a["aria-pressed"];"function"==typeof h.root?R=h.root($)["aria-pressed"]:h.root&&(R=h.root["aria-pressed"]),null!=y&&y.value&&(R=Array.isArray(y.value)?-1!==y.value.indexOf(a.value):y.value===a.value);const D=cu({},v,{component:s,slots:g,slotProps:h}),[T,j]=Bv("root",{ref:n,className:z.root,elementType:ty,getSlotProps:P,externalForwardedProps:D,ownerState:$,additionalProps:{onClick:e=>{var t;let n=a.onClick;var r;("function"==typeof h.root?n=h.root($).onClick:h.root&&(n=h.root.onClick),null==(t=n)||t(e),y)&&(null==(r=y.onClick)||r.call(y,e,a.value))},"aria-pressed":R}}),[M,A]=Bv("loadingIndicator",{className:z.loadingIndicator,elementType:ny,externalForwardedProps:D,ownerState:$});return e.jsx(T,cu({},j,{children:p?e.jsx(M,cu({},A,{children:N})):i}))}));function oy(e){return eh("MuiChip",e)}"production"!==process.env.NODE_ENV&&(ry.propTypes={action:Ga.oneOfType([Ga.func,Ga.shape({current:Ga.shape({focusVisible:Ga.func.isRequired})})]),children:Ga.node,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,focusVisibleClassName:Ga.string,loading:Ga.bool,loadingIndicator:Ga.node,onClick:Ga.func,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({loadingIndicator:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({loadingIndicator:Ga.elementType,root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),tabIndex:Ga.number,value:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),ry.muiName="IconButton";const ay=th("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),iy=o.createContext({disabled:void 0,variant:void 0,color:void 0});"production"!==process.env.NODE_ENV&&(iy.displayName="ChipColorContext");const ly=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],sy=vh("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o;const a=null==(n=e.variants[t.variant])?void 0:n[t.color],{borderRadius:i}=ab({theme:e,ownerState:t},["borderRadius"]);return[cu({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--Icon-color":"currentColor","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-paddingInline":"0.375rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.sm,"--_Chip-minHeight":"var(--Chip-minHeight, 1.25rem)",gap:"3px"},"md"===t.size&&{"--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.25rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.md,"--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",gap:"0.25rem"},"lg"===t.size&&{"--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.375rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.lg,"--_Chip-minHeight":"var(--Chip-minHeight, 1.75rem)",gap:"0.375rem"},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",maxWidth:"max-content",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box"},e.typography[`body-${{sm:"xs",md:"sm",lg:"md"}[t.size]}`],{fontWeight:e.vars.fontWeight.md,[`&.${ay.disabled}`]:{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==a?void 0:a.color}]:[cu({backgroundColor:e.vars.palette.background.surface},a,{[`&.${ay.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]})],void 0!==i&&{"--_Chip-radius":i}]})),cy=vh("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})((({ownerState:e})=>cu({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"}))),uy=vh("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})((({theme:e,ownerState:t})=>{var n,r,o,a;return[{"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,width:"100%",border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},cu({backgroundColor:e.vars.palette.background.surface},null==(n=e.variants[t.variant])?void 0:n[t.color]),{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]}},{"&:active":null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]},{[`&.${ay.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]}]})),dy=vh("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--IconButton-margin":"0 calc(-1 * var(--Chip-paddingInline) / 3) 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",order:0,zIndex:1,pointerEvents:"none"}),py=vh("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--IconButton-margin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 calc(-1 * var(--Chip-paddingInline) / 3)","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",order:2,zIndex:1,pointerEvents:"none"}),fy=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyChip"}),{children:a,className:i,color:l="neutral",onClick:s,disabled:c=!1,size:u="md",variant:d="soft",startDecorator:p,endDecorator:f,component:m,slots:g={},slotProps:h={}}=r,v=Ep(r,ly),b=!!s||!!h.action,y=cu({},r,{disabled:c,size:u,color:l,variant:d,clickable:b,focusVisible:!1}),x="function"==typeof h.action?h.action(y):h.action,w=o.useRef(null),{focusVisible:S,getRootProps:C}=zh(cu({},x,{disabled:c,rootRef:w}));y.focusVisible=S;const k=(e=>{const{disabled:t,size:n,color:r,clickable:o,variant:a,focusVisible:i}=e;return rg({root:["root",t&&"disabled",r&&`color${Lp(r)}`,n&&`size${Lp(n)}`,a&&`variant${Lp(a)}`,o&&"clickable"],action:["action",t&&"disabled",i&&"focusVisible"],label:["label",n&&`label${Lp(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},oy,{})})(y),O=cu({},v,{component:m,slots:g,slotProps:h}),[I,E]=Bv("root",{ref:n,className:Uf(k.root,i),elementType:sy,externalForwardedProps:O,ownerState:y}),[P,N]=Bv("label",{className:k.label,elementType:cy,externalForwardedProps:O,ownerState:y}),$=Vm(N.id),[z,R]=Bv("action",{className:k.action,elementType:uy,externalForwardedProps:O,ownerState:y,getSlotProps:C,additionalProps:{"aria-labelledby":$,as:null==x?void 0:x.component,onClick:s}}),[D,T]=Bv("startDecorator",{className:k.startDecorator,elementType:dy,externalForwardedProps:O,ownerState:y}),[j,M]=Bv("endDecorator",{className:k.endDecorator,elementType:py,externalForwardedProps:O,ownerState:y}),A=o.useMemo((()=>({disabled:c})),[c]);return e.jsx(iy.Provider,{value:A,children:e.jsx(Ab,{variant:d,color:l,children:e.jsxs(I,cu({},E,{children:[b&&e.jsx(z,cu({},R)),e.jsx(P,cu({},N,{id:$,children:a})),p&&e.jsx(D,cu({},T,{children:p})),f&&e.jsx(j,cu({},M,{children:f}))]}))})})}));"production"!==process.env.NODE_ENV&&(fy.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,endDecorator:Ga.node,onClick:Ga.func,size:Ga.oneOfType([Ga.oneOf(["lg","md","sm"]),Ga.string]),slotProps:Ga.shape({action:Ga.oneOfType([Ga.func,Ga.object]),endDecorator:Ga.oneOfType([Ga.func,Ga.object]),label:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startDecorator:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({action:Ga.elementType,endDecorator:Ga.elementType,label:Ga.elementType,root:Ga.elementType,startDecorator:Ga.elementType}),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});var my,gy=Ob(e.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Cancel");function hy(e){return eh("MuiChipDelete",e)}th("MuiChipDelete",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSolid","variantSoft","variantOutlined"]);const vy=["children","variant","color","disabled","onKeyDown","onDelete","onClick","component","slots","slotProps"],by=["onDelete"],yy=vh(ey,{name:"JoyChipDelete",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({"--IconButton-size":"var(--Chip-deleteSize, 2rem)","--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.3)",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px",pointerEvents:"visible",borderRadius:"var(--Chip-deleteRadius, 50%)",zIndex:1,padding:0}))),xy=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyChipDelete"}),{children:a,variant:i="plain",color:l="neutral",disabled:s,onKeyDown:c,onDelete:u,onClick:d,component:p,slots:f={},slotProps:m={}}=r,g=Ep(r,vy),h=o.useContext(iy),{variant:v=i,color:b=l}=Mb(t.variant,t.color,!0),y=t.color||b,x=null!=s?s:h.disabled,w=Fm(o.useRef(null),n),{focusVisible:S,getRootProps:C}=zh(cu({},r,{disabled:x,rootRef:w})),k=cu({},r,{disabled:x,variant:v,color:y,focusVisible:S}),O=(e=>{const{focusVisible:t,variant:n,color:r,disabled:o}=e;return rg({root:["root",o&&"disabled",t&&"focusVisible",n&&`variant${Lp(n)}`,r&&`color${Lp(r)}`]},hy,{})})(k),I=cu({},g,{component:p,slots:f,slotProps:m}),[E,P]=Bv("root",{ref:n,elementType:yy,getSlotProps:C,externalForwardedProps:I,ownerState:k,additionalProps:{as:p,onKeyDown:e=>{["Backspace","Enter","Delete"].includes(e.key)&&(e.preventDefault(),!x&&u&&u(e)),c&&c(e)},onClick:e=>{!x&&u&&u(e),d&&d(e)}},className:O.root}),N=Ep(P,by);return e.jsx(E,cu({},N,{children:null!=a?a:my||(my=e.jsx(gy,{}))}))}));function wy(e){return eh("MuiInput",e)}"production"!==process.env.NODE_ENV&&(xy.propTypes={children:Ga.node,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,onClick:Ga.func,onDelete:Ga.func,onKeyDown:Ga.func,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});const Sy=th("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]),Cy=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Cy.displayName="FormControlContext");const ky=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","disabledInProp","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];const Oy=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],Iy=vh("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;const s=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color];return[cu({"--Input-radius":e.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.64,"--Input-decoratorColor":e.vars.palette.text.icon,"--Input-focused":"0","--Input-focusedThickness":e.vars.focus.thickness,"--Input-focusedHighlight":null==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[500],[`&:not([${Eb}])`]:cu({},t.instanceColor&&{"--_Input-focusedHighlight":null==(o=e.vars.palette["neutral"===t.instanceColor?"primary":t.instanceColor])?void 0:o[500]},{"--Input-focusedHighlight":`var(--_Input-focusedHighlight, ${e.vars.palette.focusVisible})`})},"sm"===t.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Input-minHeight":"2.25rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(1.75rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Input-minHeight":"2.75rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.25rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--Button-paddingBlock":"0px","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Input-minHeight)"},t.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),{"&:hover":cu({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null}),[`&.${Sy.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Input-focused":"1"}}]})),Ey=vh("input")((({ownerState:e})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":cu({paddingInline:"var(--Input-paddingInline)"},!e.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!e.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}}))),Py=vh("div")({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),Ny=vh("div")({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),$y=vh(Iy,{name:"JoyInput",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zy=vh(Ey,{name:"JoyInput",slot:"Input",overridesResolver:(e,t)=>t.input})({}),Ry=vh(Py,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),Dy=vh(Ny,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({}),Ty=o.forwardRef((function(t,n){var r,a,i,l,s,c;const u=bh({props:t,name:"JoyInput"}),d=function(e,t){var n;const r=o.useContext(Cy),{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,className:u,defaultValue:d,disabled:p,disabledInProp:f,error:m,id:g,name:h,onClick:v,onChange:b,onKeyDown:y,onKeyUp:x,onFocus:w,onBlur:S,placeholder:C,readOnly:k,required:O,type:I,value:E}=e,P=Ep(e,ky),{getRootProps:N,getInputProps:$,focused:z,error:R,disabled:D}=qh({disabled:null!=(n=null!=f?f:null==r?void 0:r.disabled)?n:p,defaultValue:d,error:m,onBlur:S,onClick:v,onChange:b,onFocus:w,required:null!=O?O:null==r?void 0:r.required,value:E});return cu({formControl:r,propsToForward:{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,disabled:D,id:g,onKeyDown:y,onKeyUp:x,name:h,placeholder:C,readOnly:k,type:I},rootStateClasses:{[t.disabled]:D,[t.error]:R,[t.focused]:z,[t.formControl]:Boolean(r),[u]:u},inputStateClasses:{[t.disabled]:D},getRootProps:N,getInputProps:$,focused:z,error:R,disabled:D},P)}(cu({},u,{disabledInProp:t.disabled}),Sy),{propsToForward:p,rootStateClasses:f,inputStateClasses:m,getRootProps:g,getInputProps:h,formControl:v,focused:b,error:y=!1,disabled:x,fullWidth:w=!1,size:S="md",color:C="neutral",variant:k="outlined",startDecorator:O,endDecorator:I,component:E,slots:P={},slotProps:N={}}=d,$=Ep(d,Oy);if("production"!==process.env.NODE_ENV){const e=null==v?void 0:v.registerEffect;o.useEffect((()=>{if(e)return e()}),[e])}const z=null!=(r=null!=(a=t.error)?a:null==v?void 0:v.error)?r:y,R=null!=(i=null!=(l=t.size)?l:null==v?void 0:v.size)?i:S,D=null!=(s=t.color)?s:z?"danger":null!=(c=null==v?void 0:v.color)?c:C,T=cu({instanceColor:z?"danger":t.color},u,{fullWidth:w,color:D,disabled:x,error:z,focused:b,size:R,variant:k}),j=(e=>{const{disabled:t,fullWidth:n,variant:r,color:o,size:a}=e;return rg({root:["root",t&&"disabled",n&&"fullWidth",r&&`variant${Lp(r)}`,o&&`color${Lp(o)}`,a&&`size${Lp(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},wy,{})})(T),M=cu({},$,{component:E,slots:P,slotProps:N}),[A,V]=Bv("root",{ref:n,className:[j.root,f],elementType:$y,getSlotProps:g,externalForwardedProps:M,ownerState:T}),[_,L]=Bv("input",cu({},v&&{additionalProps:{id:v.htmlFor,"aria-describedby":v["aria-describedby"]}},{className:[j.input,m],elementType:zy,getSlotProps:h,internalForwardedProps:p,externalForwardedProps:M,ownerState:T})),[F,B]=Bv("startDecorator",{className:j.startDecorator,elementType:Ry,externalForwardedProps:M,ownerState:T}),[H,W]=Bv("endDecorator",{className:j.endDecorator,elementType:Dy,externalForwardedProps:M,ownerState:T});return e.jsxs(A,cu({},V,{children:[O&&e.jsx(F,cu({},B,{children:O})),e.jsx(_,cu({},L)),I&&e.jsx(H,cu({},W,{children:I}))]}))}));function jy(e){return eh("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(Ty.propTypes={autoComplete:Ga.string,autoFocus:Ga.bool,children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),defaultValue:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),disabled:Ga.bool,endDecorator:Ga.node,error:Ga.bool,fullWidth:Ga.bool,id:Ga.string,name:Ga.string,onChange:Ga.func,placeholder:Ga.string,readOnly:Ga.bool,required:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),value:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),th("MuiListSubheader",["root","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const My=["component","className","children","id","sticky","variant","color","slots","slotProps"],Ay=vh("div",{name:"JoyListSubheader",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r;return cu({boxSizing:"border-box",display:"flex",alignItems:"center",marginInline:"var(--ListItem-marginInline)",paddingBlock:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)",minBlockSize:"var(--ListItem-minHeight)"},e.typography["body-xs"],{fontSize:"max(0.75em, 0.625rem)",textTransform:"uppercase",letterSpacing:"0.1em"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:"var(--ListItem-stickyBackground)"},{color:t.color?`var(--_Link-color, rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1))`:e.vars.palette.text.tertiary},t.instanceColor&&{[`&:not([${Eb}])`]:{"--_Link-color":e.vars.palette.text.secondary}},null==(r=e.variants[t.variant])?void 0:r[t.color])})),Vy=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyListSubheader"}),{component:a,className:i,children:l,id:s,sticky:c=!1,variant:u,color:d,slots:p={},slotProps:f={}}=r,m=Ep(r,My),g=Vm(s),h=o.useContext(Kv);o.useEffect((()=>{h&&h(g||"")}),[h,g]);const v=cu({instanceColor:t.color},r,{id:g,sticky:c,variant:u,color:u?null!=d?d:"neutral":d}),b=(e=>{const{variant:t,color:n,sticky:r}=e;return rg({root:["root",r&&"sticky",n&&`color${Lp(n)}`,t&&`variant${Lp(t)}`]},jy,{})})(v),y=cu({},m,{component:a,slots:p,slotProps:f}),[x,w]=Bv("root",{ref:n,className:Uf(b.root,i),elementType:Ay,externalForwardedProps:y,ownerState:v,additionalProps:{as:a,id:g}});return e.jsx(x,cu({},w,{children:l}))}));function _y(e){return eh("MuiAutocomplete",e)}"production"!==process.env.NODE_ENV&&(Vy.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,id:Ga.string,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sticky:Ga.bool,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});const Ly=th("MuiAutocomplete",["root","wrapper","input","startDecorator","endDecorator","formControl","focused","disabled","error","multiple","limitTag","hasPopupIcon","hasClearIcon","clearIndicator","popupIndicator","popupIndicatorOpen","listbox","option","loading","noOptions","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);function Fy(e){return eh("MuiAutocompleteListbox",e)}th("MuiAutocompleteListbox",["root","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const By=["anchorEl","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],Hy=["children","className","component","color","variant","size","slots","slotProps"],Wy=vh(ub)((({theme:e,ownerState:t})=>{var n;const r=null==(n=e.variants[t.variant])?void 0:n[t.color];return cu({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==r?void 0:r.backgroundColor)||(null==r?void 0:r.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},rb,{boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`},!(null!=r&&r.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup},{zIndex:e.vars.zIndex.popup,overflow:"auto",maxHeight:"40vh",position:"relative","&:empty":{visibility:"hidden"},[`& .${Wv.nested}, & .${Wv.nested} .${lb.root}`]:{position:"initial"}})})),Gy=vh(Wy,{name:"JoyAutocompleteListbox",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qy=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyAutocompleteListbox"}),{children:o,className:a,component:i,color:l="neutral",variant:s="outlined",size:c="md",slots:u={},slotProps:d={}}=r,p=Ep(r,Hy),f=cu({},r,{size:c,color:l,variant:s,nesting:!1,row:!1,wrap:!1}),m=(e=>Ep(e,By))(p),g=(e=>{const{variant:t,color:n,size:r}=e;return rg({root:["root",t&&`variant${Lp(t)}`,n&&`color${Lp(n)}`,r&&`size${Lp(r)}`]},Fy,{})})(f),h=cu({},m,{component:i,slots:u,slotProps:d}),[v,b]=Bv("root",{ref:n,className:Uf(g.root,a),elementType:Gy,externalForwardedProps:h,ownerState:f,additionalProps:{role:"listbox"}});return e.jsx(Ab,{variant:s,color:l,children:e.jsx(v,cu({},b,{children:o}))})}));function Uy(e){return eh("MuiAutocompleteOption",e)}"production"!==process.env.NODE_ENV&&(qy.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,size:Ga.oneOf(["sm","md","lg"]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["contained","light","outlined","text"]),Ga.string])}),th("MuiAutocompleteOption",["root","focused","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const Yy=["children","component","color","variant","className","slots","slotProps"],Ky=vh(vb)((({theme:e,ownerState:t})=>{var n,r;return{'&[aria-disabled="true"]':null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color],'&[aria-selected="true"]':cu({},null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],{fontWeight:e.vars.fontWeight.md})}})),Jy=vh(Ky,{name:"JoyAutocompleteOption",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xy=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyAutocompleteOption"}),{children:o,component:a="li",color:i="neutral",variant:l="plain",className:s,slots:c={},slotProps:u={}}=r,d=Ep(r,Yy),{variant:p=l,color:f=i}=Mb(t.variant,t.color),m=cu({},r,{component:a,color:f,variant:p}),g=(e=>{const{color:t,variant:n}=e;return rg({root:["root",t&&`color${Lp(t)}`,n&&`variant${Lp(n)}`]},Uy,{})})(m),h=cu({},d,{component:a,slots:c,slotProps:u}),[v,b]=Bv("root",{ref:n,className:Uf(g.root,s),elementType:Jy,externalForwardedProps:h,ownerState:m,additionalProps:{as:a,role:"option"}});return e.jsx(v,cu({},b,{children:o}))}));var Qy,Zy;"production"!==process.env.NODE_ENV&&(Xy.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["contained","light","outlined","text"]),Ga.string])});const ex=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoHighlight","autoSelect","autoFocus","blurOnSelect","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","defaultValue","disableCloseOnSelect","disabledItemsFocusable","disableListWrap","disableClearable","disabled","endDecorator","error","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","handleHomeEndKeys","includeInputInList","isOptionEqualToValue","groupBy","id","inputValue","limitTags","loading","loadingText","multiple","name","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","placeholder","popupIcon","readOnly","renderGroup","renderOption","renderTags","required","type","startDecorator","size","color","variant","value","component","selectOnFocus","slots","slotProps"],tx=["onDelete"],nx=["onBlur","onFocus","onMouseDown"],rx=e=>null!==e.current&&e.current.contains(document.activeElement),ox=e=>{var t;return null!=(t=e.label)?t:e},ax=e=>`+${e}`,ix=t=>e.jsxs(nb,{nested:!0,children:[e.jsx(Vy,{sticky:!0,children:t.group}),e.jsx(pb,{children:t.children})]},t.key),lx=vh(Iy,{name:"JoyAutocomplete",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>cu({},"sm"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"md"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"lg"===e.size&&{"--Autocomplete-wrapperGap":"4px"},{"@media (pointer: fine)":{[`&:hover .${Ly.clearIndicator}`]:{visibility:"visible"}}},e.multiple&&!e.startDecorator&&{paddingInlineStart:0}))),sx=vh("div",{name:"JoyAutocomplete",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>({flex:1,minWidth:0,display:"flex",alignItems:"center",flexWrap:"wrap",gap:"var(--Autocomplete-wrapperGap)",[`&.${Ly.multiple}`]:cu({paddingBlock:"var(--Autocomplete-wrapperGap)"},!e.startDecorator&&{paddingInlineStart:"var(--Autocomplete-wrapperGap)"},!e.endDecorator&&{paddingInlineEnd:"var(--Autocomplete-wrapperGap)"})}))),cx=vh(Ey,{name:"JoyAutocomplete",slot:"Input",overridesResolver:(e,t)=>t.input})((({ownerState:e})=>cu({minWidth:30,minHeight:"var(--Chip-minHeight)"},e.multiple&&{marginInlineStart:"calc(var(--Autocomplete-wrapperGap) * 2.5)"}))),ux=vh(Py,{name:"JoyAutocomplete",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),dx=vh(Ny,{name:"JoyAutocomplete",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})((({ownerState:e})=>cu({},(e.hasClearIcon||e.hasPopupIcon)&&{"--Button-margin":"0px","--IconButton-margin":"0px","--Icon-margin":"0px"}))),px=vh(ey,{name:"JoyAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})((({ownerState:e})=>cu({alignSelf:"center"},!e.hasPopupIcon&&{marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)"},{marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",visibility:e.focused?"visible":"hidden"}))),fx=vh(ey,{name:"JoyAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>t.popupIndicator})({alignSelf:"center",marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)",[`&.${Ly.popupIndicatorOpen}`]:{transform:"rotate(180deg)","--Icon-color":"currentColor"}}),mx=vh(Wy,{name:"JoyAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`}))),gx=vh(Ky,{name:"JoyAutocomplete",slot:"Option",overridesResolver:(e,t)=>t.option})({}),hx=vh(nb,{name:"JoyAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),vx=vh(nb,{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),bx=vh("div",{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})({marginInlineStart:"calc(var(--Input-paddingInline) / 2)",marginBlockStart:"var(--_Input-paddingBlock)"}),yx=o.forwardRef((function(t,n){var r,a,i,l,s,c,u;const d=bh({props:t,name:"JoyAutocomplete"}),{"aria-describedby":p,"aria-label":f,"aria-labelledby":m,autoFocus:g,clearIcon:h=Qy||(Qy=e.jsx(Rb,{fontSize:"md"})),clearText:v="Clear",closeText:b="Close",disableClearable:y=!1,disabled:x,endDecorator:w,error:S=!1,forcePopupIcon:C="auto",freeSolo:k=!1,getLimitTagsText:O=ax,getOptionLabel:I=ox,groupBy:E,id:P,limitTags:N=-1,loading:$=!1,loadingText:z="Loading…",multiple:R=!1,name:D,noOptionsText:T="No options",openText:j="Open",placeholder:M,popupIcon:A=Zy||(Zy=e.jsx(Db,{})),readOnly:V=!1,renderGroup:_=ix,renderOption:L,renderTags:F,required:B,type:H,startDecorator:W,size:G="md",color:q="neutral",variant:U="outlined",component:Y,slots:K={},slotProps:J={}}=d,X=Ep(d,ex),Q=o.useContext(Cy),Z=null!=(r=null!=(a=t.error)?a:null==Q?void 0:Q.error)?r:S,ee=null!=(i=null!=(l=t.size)?l:null==Q?void 0:Q.size)?i:G,te=null!=(s=t.color)?s:Z?"danger":null!=(c=null==Q?void 0:Q.color)?c:q,ne=null!=(u=null!=x?x:null==Q?void 0:Q.disabled)&&u,{getRootProps:re,getInputProps:oe,getPopupIndicatorProps:ae,getClearProps:ie,getTagProps:le,getListboxProps:se,getOptionProps:ce,value:ue,dirty:de,popupOpen:pe,focused:fe,focusedTag:me,anchorEl:ge,setAnchorEl:he,inputValue:ve,groupedOptions:be}=Vv(cu({},d,{id:null!=P?P:null==Q?void 0:Q.htmlFor,componentName:"Autocomplete",unstable_classNamePrefix:"Mui",unstable_isActiveElementInListbox:rx})),{onMouseDown:ye}=oe(),{onClick:xe}=re(),we=!y&&!ne&&de&&!V,Se=(!k||!0===C)&&!1!==C,Ce=cu({instanceColor:t.color},d,{value:ue,disabled:ne,focused:fe,getOptionLabel:I,hasOptions:!!be.length,hasClearIcon:we,hasPopupIcon:Se,inputFocused:-1===me,popupOpen:pe,size:ee,color:te,variant:U}),ke=(e=>{const{disabled:t,focused:n,hasClearIcon:r,hasPopupIcon:o,popupOpen:a,variant:i,color:l,size:s,multiple:c}=e;return rg({root:["root",n&&"focused",r&&"hasClearIcon",o&&"hasPopupIcon",i&&`variant${Lp(i)}`,l&&`color${Lp(l)}`,s&&`size${Lp(s)}`],wrapper:["wrapper",c&&"multiple"],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",a&&"popupIndicatorOpen",t&&"disabled"],listbox:["listbox"],option:["option"],loading:["loading"],noOptions:["noOptions"],limitTag:["limitTag"]},_y,{})})(Ce),Oe=cu({},X,{component:Y,slots:K,slotProps:J});let Ie;if(R&&ue.length>0){const t=e=>{const t=le(e),{onDelete:n}=t,r=Ep(t,tx);return cu({disabled:ne,size:ee,onClick:n},r)};Ie=F?F(ue,t,Ce):ue.map(((n,r)=>e.jsx(fy,{size:ee,variant:"soft",color:"neutral",endDecorator:e.jsx(xy,cu({},t({index:r}))),sx:{minWidth:0},children:I(n)},r)))}const Ee=Fm(n,he),Pe={[Ly.disabled]:ne,[Ly.error]:Z,[Ly.focused]:fe,[Ly.formControl]:Boolean(Q)},[Ne,$e]=Bv("root",{ref:Ee,className:[ke.root,Pe],elementType:lx,externalForwardedProps:Oe,ownerState:Ce,getSlotProps:re,additionalProps:{onClick:e=>{xe&&xe(e),e.currentTarget===e.target&&ye&&ye(e)}}}),[ze,Re]=Bv("wrapper",{className:ke.wrapper,elementType:sx,externalForwardedProps:Oe,ownerState:Ce}),De={[Ly.disabled]:ne},[Te,je]=Bv("input",{className:[ke.input,De],elementType:cx,getSlotProps:e=>{const t=oe(),{onBlur:n,onFocus:r,onMouseDown:o}=t;return cu({},Ep(t,nx),{onBlur:t=>{var r;null==n||n(t),null==(r=e.onBlur)||r.call(e,t)},onFocus:t=>{var n;null==r||r(t),null==(n=e.onFocus)||n.call(e,t)},onMouseDown:t=>{var n;null==o||o(t),null==(n=e.onMouseDown)||n.call(e,t)}})},externalForwardedProps:Oe,ownerState:Ce,additionalProps:{autoFocus:g,placeholder:M,name:D,readOnly:V,disabled:ne,required:null!=B?B:null==Q?void 0:Q.required,type:H,"aria-invalid":Z||void 0,"aria-label":f,"aria-labelledby":m,"aria-describedby":null!=p?p:null==Q?void 0:Q["aria-describedby"]}}),[Me,Ae]=Bv("startDecorator",{className:ke.startDecorator,elementType:ux,externalForwardedProps:Oe,ownerState:Ce}),[Ve,_e]=Bv("endDecorator",{className:ke.endDecorator,elementType:dx,externalForwardedProps:Oe,ownerState:Ce}),[Le,Fe]=Bv("clearIndicator",{className:ke.clearIndicator,elementType:px,getSlotProps:ie,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({size:e.size||ee,variant:e.variant||jb(U,te).variant||"plain",color:e.color||jb(U,te).color||"neutral",disableColorInversion:!!t.color}),additionalProps:{"aria-label":v,title:v}}),[Be,He]=Bv("popupIndicator",{className:ke.popupIndicator,elementType:fx,getSlotProps:ae,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({size:e.size||ee,variant:e.variant||jb(U,te).variant||"plain",color:e.color||jb(U,te).color||"neutral",disableColorInversion:!!t.color}),additionalProps:{disabled:ne,"aria-label":pe?b:j,title:pe?b:j,type:"button"}}),[We,Ge]=Bv("listbox",{className:ke.listbox,elementType:mx,getSlotProps:se,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({size:e.size||ee,variant:e.variant||U,color:e.color||te,disableColorInversion:!e.disablePortal}),additionalProps:{anchorEl:ge,open:pe,style:ge?{width:ge.clientWidth}:{}}}),[qe,Ue]=Bv("loading",{className:ke.loading,elementType:hx,externalForwardedProps:Oe,ownerState:Ce}),[Ye,Ke]=Bv("noOptions",{className:ke.noOptions,elementType:vx,externalForwardedProps:Oe,ownerState:Ce,additionalProps:{role:"presentation",onMouseDown:e=>{e.preventDefault()}}}),[Je,Xe]=Bv("limitTag",{className:ke.limitTag,elementType:bx,externalForwardedProps:Oe,ownerState:Ce});if(N>-1&&Array.isArray(Ie)){const t=Ie.length-N;!fe&&t>0&&(Ie=Ie.splice(0,N),Ie.push(e.jsx(Je,cu({},Xe,{children:O(t)}),Ie.length)))}const[Qe,Ze]=Bv("option",{className:ke.option,elementType:gx,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({variant:e.variant||jb(U,te).variant||"plain",color:e.color||jb(U,te).color||"neutral",disableColorInversion:!Ge.disablePortal}),additionalProps:{as:"li"}}),et=L||((t,n)=>e.jsx(Qe,cu({},t,{children:I(n)}))),tt=(e,t)=>{const n=ce({option:e,index:t});return et(cu({},Ze,n),e,{selected:!!n["aria-selected"],inputValue:ve,ownerState:Ce})},nt=o.useMemo((()=>[{name:"offset",options:{offset:[0,4]}},...Ge.modifiers||[]]),[Ge.modifiers]);let rt=null;var ot;ge&&(rt=e.jsx(Ab,{variant:U,color:te,children:e.jsx(ob,{nested:!0,children:e.jsxs(We,cu({},Ge,{className:Uf(Ge.className),modifiers:nt},!(null!=(ot=d.slots)&&ot.listbox)&&{as:Dv,slots:{root:Ge.as||"ul"}},{children:[be.map(((e,t)=>{if(E){const t=e;return _({key:String(t.key),group:t.group,children:t.options.map(((e,n)=>tt(e,t.index+n)))})}return tt(e,t)})),$&&0===be.length?e.jsx(qe,cu({},Ue,{children:z})):null,0!==be.length||k||$?null:e.jsx(Ye,cu({},Ke,{children:T}))]}))})}));return e.jsxs(o.Fragment,{children:[e.jsxs(Ne,cu({},$e,{children:[W&&e.jsx(Me,cu({},Ae,{children:W})),e.jsxs(ze,cu({},Re,{children:[Ie,e.jsx(Te,cu({},je))]})),w&&e.jsx(Ve,cu({},_e,{children:w})),we?e.jsx(Le,cu({},Fe,{children:h})):null,Se?e.jsx(Be,cu({},He,{children:A})):null]})),rt]})}));"production"!==process.env.NODE_ENV&&(yx.propTypes={"aria-describedby":Ga.string,"aria-label":Ga.string,"aria-labelledby":Ga.string,autoComplete:Ga.bool,autoFocus:Ga.bool,autoHighlight:Ga.bool,autoSelect:Ga.bool,blurOnSelect:Ga.oneOfType([Ga.oneOf(["mouse","touch"]),Ga.bool]),clearIcon:Ga.node,clearOnBlur:Ga.bool,clearOnEscape:Ga.bool,clearText:Ga.string,closeText:Ga.string,color:Ga.oneOf(["danger","neutral","primary","success","warning"]),defaultValue:km(Ga.any,(e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null)),disableClearable:Ga.bool,disableCloseOnSelect:Ga.bool,disabled:Ga.bool,disabledItemsFocusable:Ga.bool,disableListWrap:Ga.bool,endDecorator:Ga.node,error:Ga.bool,filterOptions:Ga.func,filterSelectedOptions:Ga.bool,forcePopupIcon:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.bool]),freeSolo:Ga.bool,getLimitTagsText:Ga.func,getOptionDisabled:Ga.func,getOptionKey:Ga.func,getOptionLabel:Ga.func,groupBy:Ga.func,handleHomeEndKeys:Ga.bool,id:Ga.string,includeInputInList:Ga.bool,inputValue:Ga.string,isOptionEqualToValue:Ga.func,limitTags:ng,loading:Ga.bool,loadingText:Ga.node,multiple:Ga.bool,name:Ga.string,noOptionsText:Ga.node,onChange:Ga.func,onClose:Ga.func,onHighlightChange:Ga.func,onInputChange:Ga.func,onKeyDown:Ga.func,onOpen:Ga.func,open:Ga.bool,openOnFocus:Ga.bool,openText:Ga.string,options:Ga.array.isRequired,placeholder:Ga.string,popupIcon:Ga.node,readOnly:Ga.bool,renderGroup:Ga.func,renderOption:Ga.func,renderTags:Ga.func,required:Ga.bool,selectOnFocus:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({clearIndicator:Ga.oneOfType([Ga.func,Ga.object]),endDecorator:Ga.oneOfType([Ga.func,Ga.object]),input:Ga.oneOfType([Ga.func,Ga.object]),limitTag:Ga.oneOfType([Ga.func,Ga.object]),listbox:Ga.oneOfType([Ga.func,Ga.object]),loading:Ga.oneOfType([Ga.func,Ga.object]),noOptions:Ga.oneOfType([Ga.func,Ga.object]),option:Ga.oneOfType([Ga.func,Ga.object]),popupIndicator:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startDecorator:Ga.oneOfType([Ga.func,Ga.object]),wrapper:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({clearIndicator:Ga.elementType,endDecorator:Ga.elementType,input:Ga.elementType,limitTag:Ga.elementType,listbox:Ga.elementType,loading:Ga.elementType,noOptions:Ga.elementType,option:Ga.elementType,popupIndicator:Ga.elementType,root:Ga.elementType,startDecorator:Ga.elementType,wrapper:Ga.elementType}),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),type:Ga.string,value:km(Ga.any,(e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null)),variant:Ga.oneOf(["outlined","plain","soft","solid"])});const xx=Xf("MuiBox",["root"]),wx=function(t={}){const{themeId:n,defaultTheme:r,defaultClassName:a="MuiBox-root",generateClassName:i}=t,l=Ip("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Tf);return o.forwardRef((function(t,o){const s=Lf(r),c=Hf(t),{className:u,component:d="div"}=c,p=Ep(c,Yf);return e.jsx(l,cu({as:d,ref:o,className:Uf(u,i?i(a):a),theme:n&&s[n]||s},p))}))}({themeId:lu,defaultTheme:sh,defaultClassName:xx.root,generateClassName:Gf.generate});function Sx(e){return eh("MuiButton",e)}"production"!==process.env.NODE_ENV&&(wx.propTypes={children:Ga.node,component:Ga.elementType,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])});const Cx=th("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]),kx=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],Ox=vh("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),Ix=vh("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),Ex=vh("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})((({theme:e,ownerState:t})=>{var n,r;return cu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),Px=({theme:e,ownerState:t})=>{var n,r,o,a;return[cu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},"sm"===t.size&&{"--Icon-fontSize":e.vars.fontSize.lg,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"var(--Button-paddingBlock, 0.25rem)",paddingInline:"0.75rem"},"md"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.25rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"var(--Button-paddingBlock, 0.375rem)",paddingInline:"1rem"},"lg"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl2,"--CircularProgress-size":"28px","--CircularProgress-thickness":"4px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 2.75rem)",fontSize:e.vars.fontSize.md,paddingBlock:"var(--Button-paddingBlock, 0.5rem)",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",userSelect:"none",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:e.vars.lineHeight.md},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),cu({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]},'&:active, &[aria-pressed="true"]':null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],[`&.${Cx.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]},"center"===t.loadingPosition&&{[`&.${Cx.loading}`]:{color:"transparent"}})]},Nx=vh("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(Px),$x=o.forwardRef((function(t,n){var r;const a=bh({props:t,name:"JoyButton"}),{children:i,action:l,color:s="primary",variant:c="solid",size:u="md",fullWidth:d=!1,startDecorator:p,endDecorator:f,loading:m=!1,loadingPosition:g="center",loadingIndicator:h,disabled:v,component:b,slots:y={},slotProps:x={}}=a,w=Ep(a,kx),S=o.useContext(_b),C=o.useContext(Lb),k=t.variant||S.variant||c,O=t.size||S.size||u,I=t.color||S.color||s,E=null!=(r=t.loading||t.disabled)?r:S.disabled||m||v,P=o.useRef(null),N=Fm(P,n),{focusVisible:$,setFocusVisible:z,getRootProps:R}=zh(cu({},a,{disabled:E,rootRef:N})),D=null!=h?h:e.jsx(Qb,{color:I,thickness:{sm:2,md:3,lg:4}[O]||3});o.useImperativeHandle(l,(()=>({focusVisible:()=>{var e;z(!0),null==(e=P.current)||e.focus()}})),[z]);const T=cu({},a,{color:I,fullWidth:d,variant:k,size:O,focusVisible:$,loading:m,loadingPosition:g,disabled:E}),j=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,fullWidth:a,size:i,variant:l,loading:s}=e,c=rg({root:["root",n&&"disabled",r&&"focusVisible",a&&"fullWidth",l&&`variant${Lp(l)}`,t&&`color${Lp(t)}`,i&&`size${Lp(i)}`,s&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},Sx,{});return r&&o&&(c.root+=` ${o}`),c})(T);let M=a["aria-pressed"];"function"==typeof x.root?M=x.root(T)["aria-pressed"]:x.root&&(M=x.root["aria-pressed"]),null!=C&&C.value&&(M=Array.isArray(C.value)?-1!==C.value.indexOf(a.value):C.value===a.value);const A=cu({},w,{component:b,slots:y,slotProps:x}),[V,_]=Bv("root",{ref:n,className:j.root,elementType:Nx,externalForwardedProps:A,getSlotProps:R,ownerState:T,additionalProps:{onClick:e=>{var t;let n=a.onClick;var r;("function"==typeof x.root?n=x.root(T).onClick:x.root&&(n=x.root.onClick),null==(t=n)||t(e),C)&&(null==(r=C.onClick)||r.call(C,e,a.value))},"aria-pressed":M}}),[L,F]=Bv("startDecorator",{className:j.startDecorator,elementType:Ox,externalForwardedProps:A,ownerState:T}),[B,H]=Bv("endDecorator",{className:j.endDecorator,elementType:Ix,externalForwardedProps:A,ownerState:T}),[W,G]=Bv("loadingIndicatorCenter",{className:j.loadingIndicatorCenter,elementType:Ex,externalForwardedProps:A,ownerState:T});return e.jsxs(V,cu({},_,{children:[(p||m&&"start"===g)&&e.jsx(L,cu({},F,{children:m&&"start"===g?D:p})),i,m&&"center"===g&&e.jsx(W,cu({},G,{children:D})),(f||m&&"end"===g)&&e.jsx(B,cu({},H,{children:m&&"end"===g?D:f}))]}))}));"production"!==process.env.NODE_ENV&&($x.propTypes={action:Ga.oneOfType([Ga.func,Ga.shape({current:Ga.shape({focusVisible:Ga.func.isRequired})})]),children:Ga.node,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,endDecorator:Ga.node,focusVisibleClassName:Ga.string,fullWidth:Ga.bool,loading:Ga.bool,loadingIndicator:Ga.node,loadingPosition:Ga.oneOf(["center","end","start"]),onClick:Ga.func,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({endDecorator:Ga.oneOfType([Ga.func,Ga.object]),loadingIndicatorCenter:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startDecorator:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({endDecorator:Ga.elementType,loadingIndicatorCenter:Ga.elementType,root:Ga.elementType,startDecorator:Ga.elementType}),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),tabIndex:Ga.number,value:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),$x.muiName="Button";const zx=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(zx.displayName="ModalDialogVariantColorContext");const Rx=th("MuiDialogTitle",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]),Dx=o.createContext(void 0);function Tx(e){return eh("MuiModal",e)}"production"!==process.env.NODE_ENV&&(Dx.displayName="ModalDialogSizeContext"),th("MuiModal",["root","hidden","backdrop"]);const jx=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(jx.displayName="CloseModalContext");const Mx=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],Ax=vh("div")((({ownerState:e,theme:t})=>cu({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"}))),Vx=vh(Ax,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_x=vh("div")((({theme:e})=>({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent",backdropFilter:"blur(8px)"}))),Lx=vh(_x,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({}),Fx=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyModal"}),{children:a,container:i,disableAutoFocus:l=!1,disableEnforceFocus:s=!1,disableEscapeKeyDown:c=!1,disablePortal:u=!1,disableRestoreFocus:d=!1,disableScrollLock:p=!1,hideBackdrop:f=!1,keepMounted:m=!1,onClose:g,open:h,component:v,slots:b={},slotProps:y={}}=r,x=Ep(r,Mx),w=cu({},r,{disableAutoFocus:l,disableEnforceFocus:s,disableEscapeKeyDown:c,disablePortal:u,disableRestoreFocus:d,disableScrollLock:p,hideBackdrop:f,keepMounted:m}),{getRootProps:S,getBackdropProps:C,rootRef:k,portalRef:O,isTopModal:I}=Cv(cu({},w,{rootRef:n})),E=(e=>{const{open:t}=e;return rg({root:["root",!t&&"hidden"],backdrop:["backdrop"]},Tx,{})})(w),P=cu({},x,{component:v,slots:b,slotProps:y}),[N,$]=Bv("root",{ref:k,className:E.root,elementType:Vx,externalForwardedProps:P,getSlotProps:S,ownerState:w}),[z,R]=Bv("backdrop",{className:E.backdrop,elementType:Lx,externalForwardedProps:P,getSlotProps:C,ownerState:w});return m||h?e.jsx(jx.Provider,{value:g,children:e.jsx(fv,{ref:O,container:i,disablePortal:u,children:e.jsxs(N,cu({},$,{children:[f?null:e.jsx(z,cu({},R)),e.jsx(Wh,{disableEnforceFocus:s,disableAutoFocus:l,disableRestoreFocus:d,isEnabled:I,open:h,children:o.Children.only(a)&&o.cloneElement(a,cu({},void 0===a.props.tabIndex&&{tabIndex:-1}))})]}))})}):null}));function Bx(e){return eh("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(Fx.propTypes={children:Im.isRequired,component:Ga.elementType,container:Ga.oneOfType([Nm,Ga.func]),disableAutoFocus:Ga.bool,disableEnforceFocus:Ga.bool,disableEscapeKeyDown:Ga.bool,disablePortal:Ga.bool,disableRestoreFocus:Ga.bool,disableScrollLock:Ga.bool,hideBackdrop:Ga.bool,keepMounted:Ga.bool,onClose:Ga.func,onKeyDown:Ga.func,open:Ga.bool.isRequired,slotProps:Ga.shape({backdrop:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({backdrop:Ga.elementType,root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])}),th("MuiDrawer",["root","hidden","backdrop","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);const Hx=["children","anchor","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","color","variant","invertedColors","size","onClose","onKeyDown","open","component","slots","slotProps"],Wx=vh(Ax,{name:"JoyDrawer",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>cu({"--Drawer-transitionDuration":"0.3s","--Drawer-transitionFunction":"ease","--ModalClose-radius":"max((var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(350px, 30%, 100%)","--Drawer-horizontalSize":"clamp(256px, 20%, 100%)","--Drawer-titleMargin":"0.625rem 0.75rem calc(0.625rem / 2)"},"md"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(400px, 45%, 100%)","--Drawer-horizontalSize":"clamp(300px, 30%, 100%)","--Drawer-titleMargin":"0.75rem 0.75rem calc(0.75rem / 2)"},"lg"===e.size&&{"--ModalClose-inset":"0.75rem","--Drawer-verticalSize":"clamp(500px, 60%, 100%)","--Drawer-horizontalSize":"clamp(440px, 60%, 100%)","--Drawer-titleMargin":"1rem 1rem calc(1rem / 2)"},{transitionProperty:"visibility",transitionDelay:e.open?"0s":"var(--Drawer-transitionDuration)"},!e.open&&{visibility:"hidden"}))),Gx=vh(_x,{name:"JoyDrawer",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})((({ownerState:e})=>({opacity:e.open?1:0,transition:"opacity var(--Drawer-transitionDuration) ease-in-out"}))),qx=vh("div",{name:"JoyDrawer",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>{var n;return cu({},e.typography[`body-${t.size}`],{boxShadow:e.shadow.md,backgroundColor:e.vars.palette.background.surface,outline:0,display:"flex",flexDirection:"column",position:"fixed",boxSizing:"border-box",overflow:"auto"},"left"===t.anchor&&{top:0,left:0,transform:t.open?"translateX(0)":"translateX(-100%)"},"right"===t.anchor&&{top:0,right:0,transform:t.open?"translateX(0)":"translateX(100%)"},"top"===t.anchor&&{top:0,transform:t.open?"translateY(0)":"translateY(-100%)"},"bottom"===t.anchor&&{bottom:0,transform:t.open?"translateY(0)":"translateY(100%)"},{height:t.anchor.match(/(left|right)/)?"100%":"min(100vh, var(--Drawer-verticalSize))",width:t.anchor.match(/(top|bottom)/)?"100vw":"min(100vw, var(--Drawer-horizontalSize))",transition:"transform var(--Drawer-transitionDuration) var(--Drawer-transitionFunction)"},"solid"===t.variant&&t.color&&t.invertedColors&&$b(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&zb(t.color)(e),null==(n=e.variants[t.variant])?void 0:n[t.color],{[`& > .${Rx.root}`]:{"--unstable_DialogTitle-margin":"var(--Drawer-titleMargin)"}})})),Ux=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyDrawer"}),{children:a,anchor:i="left",container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:p=!1,disableScrollLock:f=!1,hideBackdrop:m=!1,color:g="neutral",variant:h="plain",invertedColors:v=!1,size:b="md",onClose:y,open:x,component:w,slots:S={},slotProps:C={}}=r,k=Ep(r,Hx),O=cu({},r,{anchor:i,disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:p,disableScrollLock:f,hideBackdrop:m,invertedColors:v,color:g,variant:h,size:b}),{getRootProps:I,getBackdropProps:E,rootRef:P,portalRef:N,isTopModal:$}=Cv(cu({},O,{rootRef:n,children:null})),z=(e=>{const{open:t,variant:n,color:r,size:o}=e;return rg({root:["root",!t&&"hidden",n&&`variant${Lp(n)}`,r&&`color${Lp(r)}`,o&&`size${Lp(o)}`],backdrop:["backdrop"],content:["content"]},Bx,{})})(O),R=cu({},k,{component:w,slots:S,slotProps:C}),D=Vm(),T=Vm(),j=o.useMemo((()=>({variant:h,color:g,labelledBy:D,describedBy:T})),[g,h,D,T]),[M,A]=Bv("root",{ref:P,className:z.root,elementType:Wx,externalForwardedProps:R,getSlotProps:I,ownerState:O}),[V,_]=Bv("backdrop",{className:z.backdrop,elementType:Gx,externalForwardedProps:R,getSlotProps:E,ownerState:O}),[L,F]=Bv("content",{className:z.content,elementType:qx,additionalProps:{tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":D,"aria-describedby":T},externalForwardedProps:R,ownerState:O});return e.jsx(jx.Provider,{value:y,children:e.jsx(Dx.Provider,{value:b,children:e.jsx(zx.Provider,{value:j,children:e.jsx(fv,{ref:N,container:l,disablePortal:d,children:e.jsxs(M,cu({},A,{children:[m?null:e.jsx(V,cu({},_)),e.jsx(Wh,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:p,isEnabled:$,open:x,children:e.jsx(L,cu({},F,{children:a}))})]}))})})})})}));"production"!==process.env.NODE_ENV&&(Ux.propTypes={anchor:Ga.oneOf(["bottom","left","right","top"]),children:Ga.node,color:Ga.oneOf(["danger","neutral","primary","success","warning"]),component:Ga.elementType,container:Ga.oneOfType([Nm,Ga.func]),disableAutoFocus:Ga.bool,disableEnforceFocus:Ga.bool,disableEscapeKeyDown:Ga.bool,disablePortal:Ga.bool,disableRestoreFocus:Ga.bool,disableScrollLock:Ga.bool,hideBackdrop:Ga.bool,invertedColors:Ga.bool,onClose:Ga.func,onKeyDown:Ga.func,open:Ga.bool.isRequired,size:Ga.oneOf(["sm","md","lg"]),slotProps:Ga.shape({backdrop:Ga.oneOfType([Ga.func,Ga.object]),content:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({backdrop:Ga.elementType,content:Ga.elementType,root:Ga.elementType}),variant:Ga.oneOf(["outlined","plain","soft","solid"])});const Yx=function(t={}){const{createStyledComponent:n=Jg,useThemeProps:r=Xg,componentName:a="MuiGrid"}=t,i=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(i.displayName="GridOverflowContext");const l=n(Lg,Bg,Fg,Vg,Hg,Wg,_g),s=o.forwardRef((function(t,n){var s,c,u,d,p,f,m,g;const h=Lf(),v=Hf(r(t)),b=o.useContext(i),{className:y,children:x,columns:w=12,container:S=!1,component:C="div",direction:k="row",wrap:O="wrap",spacing:I=0,rowSpacing:E=I,columnSpacing:P=I,disableEqualOverflow:N,unstable_level:$=0}=v,z=Ep(v,Yg);let R=N;$&&void 0!==N&&(R=t.disableEqualOverflow);const D={},T={},j={};Object.entries(z).forEach((([e,t])=>{void 0!==h.breakpoints.values[e]?D[e]=t:void 0!==h.breakpoints.values[e.replace("Offset","")]?T[e.replace("Offset","")]=t:j[e]=t}));const M=null!=(s=t.columns)?s:$?void 0:w,A=null!=(c=t.spacing)?c:$?void 0:I,V=null!=(u=null!=(d=t.rowSpacing)?d:t.spacing)?u:$?void 0:E,_=null!=(p=null!=(f=t.columnSpacing)?f:t.spacing)?p:$?void 0:P,L=cu({},v,{level:$,columns:M,container:S,direction:k,wrap:O,spacing:A,rowSpacing:V,columnSpacing:_,gridSize:D,gridOffset:T,disableEqualOverflow:null!=(m=null!=(g=R)?g:b)&&m,parentDisableEqualOverflow:b}),F=((e,t)=>{const{container:n,direction:r,spacing:o,wrap:i,gridSize:l}=e;return rg({root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...Ug(r),...Gg(l),...n?qg(o,t.breakpoints.keys[0]):[]]},(e=>Jf(a,e)),{})})(L,h);let B=e.jsx(l,cu({ref:n,as:C,ownerState:L,className:Uf(F.root,y)},j,{children:o.Children.map(x,(e=>{var t;return o.isValidElement(e)&&Rm(e,["Grid"])?o.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:$+1}):e}))}));return void 0!==R&&R!==(null!=b&&b)&&(B=e.jsx(i.Provider,{value:R,children:B})),B}));return"production"!==process.env.NODE_ENV&&(s.propTypes={children:Ga.node,className:Ga.string,columns:Ga.oneOfType([Ga.arrayOf(Ga.number),Ga.number,Ga.object]),columnSpacing:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.number,Ga.string])),Ga.number,Ga.object,Ga.string]),component:Ga.elementType,container:Ga.bool,direction:Ga.oneOfType([Ga.oneOf(["column-reverse","column","row-reverse","row"]),Ga.arrayOf(Ga.oneOf(["column-reverse","column","row-reverse","row"])),Ga.object]),disableEqualOverflow:Ga.bool,lg:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),lgOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),md:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),mdOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),rowSpacing:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.number,Ga.string])),Ga.number,Ga.object,Ga.string]),sm:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),smOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),spacing:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.number,Ga.string])),Ga.number,Ga.object,Ga.string]),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),wrap:Ga.oneOf(["nowrap","wrap-reverse","wrap"]),xl:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),xlOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),xs:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),xsOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number])}),s.muiName="Grid",s}({createStyledComponent:vh("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>bh({props:e,name:"JoyGrid"})});function Kx(e){return eh("MuiListItemDecorator",e)}"production"!==process.env.NODE_ENV&&(Yx.propTypes={children:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])}),th("MuiListItemDecorator",["root"]);const Jx=["component","className","children","slots","slotProps"],Xx=vh("span",{name:"JoyListItemDecorator",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>cu({boxSizing:"border-box",display:"inline-flex",alignItems:`var(--unstable_ListItemDecorator-alignItems, ${"horizontal"===e.parentOrientation?"center":"initial"})`},"horizontal"===e.parentOrientation?{minInlineSize:"var(--ListItemDecorator-size)",marginInlineEnd:"calc(-1 * var(--ListItem-gap))"}:{minBlockSize:"var(--ListItemDecorator-size)",justifyContent:"center",marginBlockEnd:"calc(-1 * var(--ListItem-gap))"}))),Qx=o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyListItemDecorator"}),{component:a,className:i,children:l,slots:s={},slotProps:c={}}=r,u=Ep(r,Jx),d=cu({parentOrientation:o.useContext(gb)},r),p=rg({root:["root"]},Kx,{}),f=cu({},u,{component:a,slots:s,slotProps:c}),[m,g]=Bv("root",{ref:n,className:Uf(p.root,i),elementType:Xx,externalForwardedProps:f,ownerState:d});return e.jsx(m,cu({},g,{children:l}))}));function Zx(e){return eh("MuiMenu",e)}"production"!==process.env.NODE_ENV&&(Qx.propTypes={children:Ga.node,className:Ga.string,component:Ga.elementType,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])}),th("MuiMenu",["root","listbox","expanded","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);const ew=["actions","children","color","component","disablePortal","keepMounted","id","invertedColors","onItemsChange","modifiers","variant","size","slots","slotProps"],tw=vh(ub,{name:"JoyMenu",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r;const o=null==(n=e.variants[t.variant])?void 0:n[t.color];return[cu({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==o?void 0:o.backgroundColor)||(null==o?void 0:o.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},rb,{borderRadius:`var(--List-radius, ${e.vars.radius.sm})`,boxShadow:e.shadow.md,overflow:"auto",zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`},!(null!=o&&o.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup},"solid"===t.variant&&t.color&&t.invertedColors&&$b(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&zb(t.color)(e),null==(r=e.variants[t.variant])?void 0:r[t.color])]})),nw=o.forwardRef((function(t,n){var r;const a=bh({props:t,name:"JoyMenu"}),{actions:i,children:l,color:s="neutral",component:c,disablePortal:u=!1,keepMounted:d=!1,id:p,invertedColors:f=!1,onItemsChange:m,modifiers:g,variant:h="outlined",size:v="md",slots:b={},slotProps:y={}}=a,x=Ep(a,ew),{contextValue:w,getListboxProps:S,dispatch:C,open:k,triggerElement:O}=function(e={}){var t,n;const{listboxRef:r,onItemsChange:a,id:i,disabledItemsFocusable:l=!0,disableListWrap:s=!1,autoFocus:c=!0,componentName:u="useMenu"}=e,d=o.useRef(null),p=Fm(d,r),f=null!=(t=Vm(i))?t:"",{state:{open:m,changeReason:g},dispatch:h,triggerElement:v,registerPopup:b}=null!=(n=o.useContext(Rh))?n:dv,y=o.useRef(m),{subitems:x,contextValue:w}=cv(),S=o.useMemo((()=>Array.from(x.keys())),[x]),C=o.useCallback((e=>{var t,n;return null==e?null:null!=(t=null==(n=x.get(e))?void 0:n.ref.current)?t:null}),[x]),k=o.useCallback((e=>{var t;return(null==x||null==(t=x.get(e))?void 0:t.disabled)||!1}),[x]),O=o.useCallback((e=>{var t,n;return(null==(t=x.get(e))?void 0:t.label)||(null==(n=x.get(e))||null==(n=n.ref.current)?void 0:n.innerText)}),[x]),I=o.useMemo((()=>({listboxRef:d})),[d]),{dispatch:E,getRootProps:P,contextValue:N,state:{highlightedValue:$},rootRef:z}=av({disabledItemsFocusable:l,disableListWrap:s,focusManagement:"DOM",getItemDomElement:C,getInitialState:()=>({selectedValues:[],highlightedValue:null}),isItemDisabled:k,items:S,getItemAsString:O,rootRef:p,onItemsChange:a,reducerActionContext:I,selectionMode:"none",stateReducer:lv,componentName:u});wm((()=>{b(f)}),[f,b]),wm((()=>{m&&"keydown"===(null==g?void 0:g.type)&&"ArrowUp"===g.key&&E({type:Uh.highlightLast,event:g})}),[m,g,E]),o.useEffect((()=>{var e;m&&c&&$&&!y.current&&(null==(e=x.get($))||null==(e=e.ref)||null==(e=e.current)||e.focus())}),[m,c,$,x,S]),o.useEffect((()=>{var e,t;null!=(e=d.current)&&e.contains(document.activeElement)&&null!==$&&(null==x||null==(t=x.get($))||null==(t=t.ref.current)||t.focus())}),[$,x]);const R=e=>t=>{var n,r;null==(n=e.onBlur)||n.call(e,t),t.defaultMuiPrevented||null!=(r=d.current)&&r.contains(t.relatedTarget)||t.relatedTarget===v||h({type:Vh.blur,event:t})},D=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"Escape"===t.key&&h({type:Vh.escapeKeyDown,event:t})},T=(e={})=>({onBlur:R(e),onKeyDown:D(e)});return o.useDebugValue({subitems:x,highlightedValue:$}),{contextValue:cu({},w,N),dispatch:E,getListboxProps:(e={})=>{const t=uv(T,P),n=Ch(e);return cu({},e,n,t(n),{id:f,role:"menu"})},highlightedValue:$,listboxRef:z,menuItems:x,open:m,triggerElement:v}}({onItemsChange:m,id:p,listboxRef:n});o.useImperativeHandle(i,(()=>({dispatch:C,resetHighlight:()=>C({type:Uh.resetHighlight,event:null})})),[C]);const I=cu({},a,{disablePortal:u,invertedColors:f,color:s,variant:h,size:v,open:k,nesting:!1,row:!1}),E=(e=>{const{open:t,variant:n,color:r,size:o}=e;return rg({root:["root",t&&"expanded",n&&`variant${Lp(n)}`,r&&`color${Lp(r)}`,o&&`size${Lp(o)}`],listbox:["listbox"]},Zx,{})})(I),P=cu({},x,{component:c,slots:b,slotProps:y}),N=o.useMemo((()=>[{name:"offset",options:{offset:[0,4]}},...g||[]]),[g]),$=Ph({elementType:tw,getSlotProps:S,externalForwardedProps:P,externalSlotProps:{},ownerState:I,additionalProps:{anchorEl:O,open:k&&null!==O,disablePortal:u,keepMounted:d,modifiers:N},className:E.root});return e.jsx(tw,cu({},$,!(null!=(r=a.slots)&&r.root)&&{as:Dv,slots:{root:c||"ul"}},{children:e.jsx(pv,{value:w,children:e.jsx(Ab,{variant:f?void 0:h,color:s,children:e.jsx(Jv.Provider,{value:"menu",children:e.jsx(ob,{nested:!0,children:l})})})})}))}));function rw(e){return eh("MuiMenuButton",e)}"production"!==process.env.NODE_ENV&&(nw.propTypes={actions:$m,children:Ga.node,color:Ga.oneOf(["danger","neutral","primary","success","warning"]),component:Ga.elementType,disablePortal:Ga.bool,id:Ga.string,invertedColors:Ga.bool,keepMounted:Ga.bool,modifiers:Ga.arrayOf(Ga.shape({data:Ga.object,effect:Ga.func,enabled:Ga.bool,fn:Ga.func,name:Ga.any,options:Ga.object,phase:Ga.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Ga.arrayOf(Ga.string),requiresIfExists:Ga.arrayOf(Ga.string)})),onClose:Ga.func,onItemsChange:Ga.func,open:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),th("MuiMenuButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]);const ow=["children","color","component","disabled","endDecorator","loading","loadingPosition","loadingIndicator","size","slotProps","slots","startDecorator","variant"],aw=vh("button",{name:"JoyMenuButton",slot:"Root",overridesResolver:(e,t)=>t.root})(Px),iw=vh("span",{name:"JoyMenuButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),lw=vh("span",{name:"JoyMenuButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),sw=vh("span",{name:"JoyMenuButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})((({theme:e,ownerState:t})=>{var n,r;return cu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),cw=o.forwardRef((function(t,n){var r;const a=bh({props:t,name:"JoyMenuButton"}),{children:i,color:l="neutral",component:s,disabled:c=!1,endDecorator:u,loading:d=!1,loadingPosition:p="center",loadingIndicator:f,size:m="md",slotProps:g={},slots:h={},startDecorator:v,variant:b="outlined"}=a,y=Ep(a,ow),x=o.useContext(_b),w=t.variant||x.variant||b,S=t.size||x.size||m,C=null!=(r=t.disabled)?r:x.disabled||c||d,{getRootProps:k,open:O,active:I}=function(e={}){const{disabled:t=!1,focusableWhenDisabled:n,rootRef:r}=e,a=o.useContext(Rh);if(null===a)throw new Error("useMenuButton: no menu context available.");const{state:i,dispatch:l,registerTrigger:s,popupId:c}=a,{getRootProps:u,rootRef:d,active:p}=zh({disabled:t,focusableWhenDisabled:n,rootRef:r}),f=Fm(d,s),m=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.defaultMuiPrevented||l({type:Vh.toggle,event:t})},g=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),t.defaultMuiPrevented||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),l({type:Vh.open,event:t}))},h=(e={})=>({onClick:m(e),onKeyDown:g(e)});return{active:p,getRootProps:(e={})=>{const t=Ch(e),n=uv(h,u);return cu({"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":c},e,t,n(t),{tabIndex:0,ref:f})},open:i.open,rootRef:f}}({rootRef:n,disabled:C}),E=null!=f?f:e.jsx(Qb,{color:l,thickness:{sm:2,md:3,lg:4}[S]||3}),P=cu({},a,{active:I,color:l,disabled:C,open:O,size:S,variant:w}),N=(e=>{const{color:t,disabled:n,fullWidth:r,size:o,variant:a,loading:i}=e;return rg({root:["root",n&&"disabled",r&&"fullWidth",a&&`variant${Lp(a)}`,t&&`color${Lp(t)}`,o&&`size${Lp(o)}`,i&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},rw,{})})(P),$=cu({},y,{component:s,slots:h,slotProps:g}),[z,R]=Bv("root",{elementType:aw,getSlotProps:k,externalForwardedProps:$,ref:n,ownerState:P,className:N.root}),[D,T]=Bv("startDecorator",{className:N.startDecorator,elementType:iw,externalForwardedProps:$,ownerState:P}),[j,M]=Bv("endDecorator",{className:N.endDecorator,elementType:lw,externalForwardedProps:$,ownerState:P}),[A,V]=Bv("loadingIndicatorCenter",{className:N.loadingIndicatorCenter,elementType:sw,externalForwardedProps:$,ownerState:P});return e.jsxs(z,cu({},R,{children:[(v||d&&"start"===p)&&e.jsx(D,cu({},T,{children:d&&"start"===p?E:v})),i,d&&"center"===p&&e.jsx(A,cu({},V,{children:E})),(u||d&&"end"===p)&&e.jsx(j,cu({},M,{children:d&&"end"===p?E:u}))]}))}));function uw(e){return eh("MuiMenuItem",e)}"production"!==process.env.NODE_ENV&&(cw.propTypes={children:Ga.node,color:Ga.oneOfType([Ga.oneOf(["danger","info","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,endDecorator:Ga.node,fullWidth:Ga.bool,loading:Ga.bool,loadingIndicator:Ga.node,loadingPosition:Ga.oneOf(["center","end","start"]),size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({endDecorator:Ga.oneOfType([Ga.func,Ga.object]),loadingIndicatorCenter:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startDecorator:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({endDecorator:Ga.elementType,loadingIndicatorCenter:Ga.elementType,root:Ga.elementType,startDecorator:Ga.elementType}),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),tabIndex:Ga.number,variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),th("MuiMenuItem",["root","focusVisible","disabled","selected","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const dw=["children","disabled","component","selected","color","orientation","variant","slots","slotProps","id"],pw=vh(vb,{name:"JoyMenuItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fw=o.memo(o.forwardRef((function(t,n){const r=bh({props:t,name:"JoyMenuItem"}),a=o.useContext(qv),{children:i,disabled:l=!1,component:s="li",selected:c=!1,color:u="neutral",orientation:d="horizontal",variant:p="plain",slots:f={},slotProps:m={},id:g}=r,h=Ep(r,dw),{variant:v=p,color:b=u}=Mb(t.variant,t.color),{getRootProps:y,disabled:x,focusVisible:w}=hv({id:g,disabled:l,rootRef:n}),S=cu({},r,{component:s,color:b,disabled:x,focusVisible:w,orientation:d,selected:c,row:a,variant:v}),C=(e=>{const{focusVisible:t,disabled:n,selected:r,color:o,variant:a}=e;return rg({root:["root",t&&"focusVisible",n&&"disabled",r&&"selected",o&&`color${Lp(o)}`,a&&`variant${Lp(a)}`]},uw,{})})(S),k=cu({},h,{component:s,slots:f,slotProps:m}),[O,I]=Bv("root",{ref:n,elementType:pw,getSlotProps:y,externalForwardedProps:k,className:C.root,ownerState:S});return e.jsx(gb.Provider,{value:d,children:e.jsx(O,cu({},I,{children:i}))})}))),mw=o.forwardRef((function(t,n){const{contextValue:r,id:a}=function(e){const t=o.useContext(iv);if(!t)throw new Error("MenuItem: ListContext was not found.");const n=Vm(e),{getItemState:r,dispatch:a}=t;let i;i=null!=n?r(n):{focusable:!0,highlighted:!1,selected:!1};const{highlighted:l,selected:s,focusable:c}=i,u=o.useCallback((e=>{if(e!==n)throw new Error(["Base UI MenuItem: Tried to access the state of another MenuItem.",`itemValue: ${e} | id: ${n}`,"This is unsupported when the MenuItem uses the MenuItemContextStabilizer as a performance optimization."].join("/n"));return{highlighted:l,selected:s,focusable:c}}),[l,s,c,n]);return{contextValue:o.useMemo((()=>({dispatch:a,getItemState:u})),[a,u]),id:n}}(t.id);return e.jsx(iv.Provider,{value:r,children:e.jsx(fw,cu({},t,{id:a,ref:n}))})}));"production"!==process.env.NODE_ENV&&(mw.propTypes={children:Ga.node,id:Ga.string});function gw(){return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[e.jsx("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),e.jsx("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),e.jsx("defs",{children:e.jsx("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function hw(){return e.jsx(gw,{})}const vw=Kt.header`
|
|
961
873
|
display: flex;
|
|
962
874
|
flex-flow: row;
|
|
963
875
|
align-items: center;
|
|
@@ -970,46 +882,61 @@ function Ac(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
970
882
|
@media print {
|
|
971
883
|
display: none;
|
|
972
884
|
}
|
|
973
|
-
`,
|
|
885
|
+
`,bw=Kt.a`
|
|
974
886
|
flex-shrink: 0;
|
|
975
887
|
display: inline-flex;
|
|
976
|
-
`,
|
|
888
|
+
`,yw=Kt.div`
|
|
977
889
|
margin-left: auto;
|
|
978
890
|
display: flex;
|
|
979
891
|
flex-flow: row;
|
|
980
892
|
align-items: center;
|
|
981
893
|
height: 100%;
|
|
982
|
-
|
|
894
|
+
gap: var(--spacing--small);
|
|
895
|
+
`,xw=qt`
|
|
896
|
+
&& {
|
|
897
|
+
color: white;
|
|
898
|
+
opacity: 0.9;
|
|
899
|
+
font-size: var(--font-size--small);
|
|
900
|
+
white-space: nowrap;
|
|
901
|
+
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
902
|
+
transition: background-color 0.2s;
|
|
903
|
+
display: flex;
|
|
904
|
+
align-items: center;
|
|
905
|
+
border-radius: var(--border-radius--medium);
|
|
906
|
+
user-select: none;
|
|
907
|
+
font-weight: var(--font-weight--medium);
|
|
908
|
+
border: none;
|
|
909
|
+
text-decoration: none;
|
|
910
|
+
&:hover {
|
|
911
|
+
background-color: rgb(255, 255, 255, 0.1);
|
|
912
|
+
cursor: pointer;
|
|
913
|
+
opacity: 1;
|
|
914
|
+
text-decoration: none;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
`,ww=Kt(Ki)`
|
|
918
|
+
${xw}
|
|
919
|
+
gap: var(--spacing--small);
|
|
920
|
+
`,Sw=Kt(cw)`
|
|
921
|
+
${xw}
|
|
922
|
+
|
|
923
|
+
svg {
|
|
924
|
+
width: 1rem;
|
|
925
|
+
}
|
|
926
|
+
`,Cw=Kt.div``,kw=Kt.div`
|
|
983
927
|
display: flex;
|
|
984
928
|
align-items: center;
|
|
985
|
-
`;function hu({currentApp:t,apps:n}){const r=e.jsx("svg",{viewBox:"0 0 32 32",children:e.jsxs("g",{children:[e.jsx("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e.jsx("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),e.jsx("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e.jsx("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e.jsx("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),e.jsx("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e.jsx("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),e.jsx("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),e.jsx("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return e.jsx(uu,{toggle:e.jsxs(e.Fragment,{children:[r,t&&e.jsx(gu,{children:t})]}),children:n})}function vu(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}vu('/* 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');var bu="$$joy";function yu(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function xu(){return xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xu.apply(null,arguments)}var wu=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Su="-ms-",Cu="-moz-",ku="-webkit-",Ou="comm",Eu="rule",Iu="decl",Pu="@keyframes",$u=Math.abs,Nu=String.fromCharCode,zu=Object.assign;function Ru(e){return e.trim()}function Tu(e,t,n){return e.replace(t,n)}function Du(e,t){return e.indexOf(t)}function ju(e,t){return 0|e.charCodeAt(t)}function Au(e,t,n){return e.slice(t,n)}function Mu(e){return e.length}function _u(e){return e.length}function Lu(e,t){return t.push(e),e}var Fu=1,Vu=1,Bu=0,Hu=0,Wu=0,Gu="";function qu(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:Fu,column:Vu,length:i,return:""}}function Yu(e,t){return zu(qu("",null,null,"",null,null,0),e,{length:-e.length},t)}function Uu(){return Wu=Hu>0?ju(Gu,--Hu):0,Vu--,10===Wu&&(Vu=1,Fu--),Wu}function Ku(){return Wu=Hu<Bu?ju(Gu,Hu++):0,Vu++,10===Wu&&(Vu=1,Fu++),Wu}function Ju(){return ju(Gu,Hu)}function Xu(){return Hu}function Qu(e,t){return Au(Gu,e,t)}function Zu(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 ed(e){return Fu=Vu=1,Bu=Mu(Gu=e),Hu=0,[]}function td(e){return Gu="",e}function nd(e){return Ru(Qu(Hu-1,ad(91===e?e+2:40===e?e+1:e)))}function rd(e){for(;(Wu=Ju())&&Wu<33;)Ku();return Zu(e)>2||Zu(Wu)>3?"":" "}function od(e,t){for(;--t&&Ku()&&!(Wu<48||Wu>102||Wu>57&&Wu<65||Wu>70&&Wu<97););return Qu(e,Xu()+(t<6&&32==Ju()&&32==Ku()))}function ad(e){for(;Ku();)switch(Wu){case e:return Hu;case 34:case 39:34!==e&&39!==e&&ad(Wu);break;case 40:41===e&&ad(e);break;case 92:Ku()}return Hu}function id(e,t){for(;Ku()&&e+Wu!==57&&(e+Wu!==84||47!==Ju()););return"/*"+Qu(t,Hu-1)+"*"+Nu(47===e?e:Ku())}function ld(e){for(;!Zu(Ju());)Ku();return Qu(e,Hu)}function sd(e){return td(cd("",null,null,null,[""],e=ed(e),0,[0],e))}function cd(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",x=o,w=a,S=r,C=y;h;)switch(m=b,b=Ku()){case 40:if(108!=m&&58==ju(C,d-1)){-1!=Du(C+=Tu(nd(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=nd(b);break;case 9:case 10:case 13:case 32:C+=rd(m);break;case 92:C+=od(Xu()-1,7);continue;case 47:switch(Ju()){case 42:case 47:Lu(dd(id(Ku(),Xu()),t,n),s);break;default:C+="/"}break;case 123*g:l[c++]=Mu(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=Tu(C,/\f/g,"")),f>0&&Mu(C)-d&&Lu(f>32?pd(C+";",r,n,d-1):pd(Tu(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(Lu(S=ud(C,t,n,c,u,o,l,y,x=[],w=[],d),a),123===b)if(0===u)cd(C,t,S,S,x,a,d,l,w);else switch(99===p&&110===ju(C,3)?100:p){case 100:case 108:case 109:case 115:cd(e,S,S,r&&Lu(ud(e,S,S,0,0,o,l,y,o,x=[],d),w),o,w,d,l,r?x:w);break;default:cd(C,S,S,S,[""],w,0,l,w)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+Mu(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Uu())continue;switch(C+=Nu(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(Mu(C)-1)*v,v=1;break;case 64:45===Ju()&&(C+=nd(Ku())),p=Ju(),u=d=Mu(y=C+=ld(Xu())),b++;break;case 45:45===m&&2==Mu(C)&&(g=0)}}return a}function ud(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=_u(p),m=0,g=0,h=0;m<r;++m)for(var v=0,b=Au(e,d+1,d=$u(g=i[m])),y=e;v<f;++v)(y=Ru(g>0?p[v]+" "+b:Tu(b,/&\f/g,p[v])))&&(s[h++]=y);return qu(e,t,n,0===o?Eu:l,s,c,u)}function dd(e,t,n){return qu(e,t,n,Ou,Nu(Wu),Au(e,2,-2),0)}function pd(e,t,n,r){return qu(e,t,n,Iu,Au(e,0,r),Au(e,r+1,-1),r)}function fd(e,t){for(var n="",r=_u(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function md(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Iu:return e.return=e.return||e.value;case Ou:return"";case Pu:return e.return=e.value+"{"+fd(e.children,r)+"}";case Eu:e.value=e.props.join(",")}return Mu(n=fd(e.children,r))?e.return=e.value+"{"+n+"}":""}function gd(e){var t=_u(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var hd=function(e,t,n){for(var r=0,o=0;r=o,o=Ju(),38===r&&12===o&&(t[n]=1),!Zu(o);)Ku();return Qu(e,Hu)},vd=function(e,t){return td(function(e,t){var n=-1,r=44;do{switch(Zu(r)){case 0:38===r&&12===Ju()&&(t[n]=1),e[n]+=hd(Hu-1,t,n);break;case 2:e[n]+=nd(r);break;case 4:if(44===r){e[++n]=58===Ju()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Nu(r)}}while(r=Ku());return e}(ed(e),t))},bd=new WeakMap,yd=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||bd.get(n))&&!r){bd.set(e,!0);for(var o=[],a=vd(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},xd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},wd=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Sd=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Cd=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},kd=function(e,t,n){Sd(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Cd(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Sd(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Cd(e)))};function Od(e,t){switch(function(e,t){return 45^ju(e,0)?(((t<<2^ju(e,0))<<2^ju(e,1))<<2^ju(e,2))<<2^ju(e,3):0}(e,t)){case 5103:return ku+"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 ku+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ku+e+Cu+e+Su+e+e;case 6828:case 4268:return ku+e+Su+e+e;case 6165:return ku+e+Su+"flex-"+e+e;case 5187:return ku+e+Tu(e,/(\w+).+(:[^]+)/,ku+"box-$1$2"+Su+"flex-$1$2")+e;case 5443:return ku+e+Su+"flex-item-"+Tu(e,/flex-|-self/,"")+e;case 4675:return ku+e+Su+"flex-line-pack"+Tu(e,/align-content|flex-|-self/,"")+e;case 5548:return ku+e+Su+Tu(e,"shrink","negative")+e;case 5292:return ku+e+Su+Tu(e,"basis","preferred-size")+e;case 6060:return ku+"box-"+Tu(e,"-grow","")+ku+e+Su+Tu(e,"grow","positive")+e;case 4554:return ku+Tu(e,/([^-])(transform)/g,"$1"+ku+"$2")+e;case 6187:return Tu(Tu(Tu(e,/(zoom-|grab)/,ku+"$1"),/(image-set)/,ku+"$1"),e,"")+e;case 5495:case 3959:return Tu(e,/(image-set\([^]*)/,ku+"$1$`$1");case 4968:return Tu(Tu(e,/(.+:)(flex-)?(.*)/,ku+"box-pack:$3"+Su+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ku+e+e;case 4095:case 3583:case 4068:case 2532:return Tu(e,/(.+)-inline(.+)/,ku+"$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(Mu(e)-1-t>6)switch(ju(e,t+1)){case 109:if(45!==ju(e,t+4))break;case 102:return Tu(e,/(.+:)(.+)-([^]+)/,"$1"+ku+"$2-$3$1"+Cu+(108==ju(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Du(e,"stretch")?Od(Tu(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ju(e,t+1))break;case 6444:switch(ju(e,Mu(e)-3-(~Du(e,"!important")&&10))){case 107:return Tu(e,":",":"+ku)+e;case 101:return Tu(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ku+(45===ju(e,14)?"inline-":"")+"box$3$1"+ku+"$2$3$1"+Su+"$2box$3")+e}break;case 5936:switch(ju(e,t+11)){case 114:return ku+e+Su+Tu(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ku+e+Su+Tu(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ku+e+Su+Tu(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ku+e+Su+e+e}return e}var Ed,Id,Pd="undefined"!=typeof document,$d=Pd?void 0:(Ed=function(){return s((function(){var e={};return function(t){return e[t]}}))},Id=new WeakMap,function(e){if(Id.has(e))return Id.get(e);var t=Ed(e);return Id.set(e,t),t}),Nd=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Iu:e.return=Od(e.value,e.length);break;case Pu:return fd([Yu(e,{value:Tu(e.value,"@","@"+ku)})],r);case Eu:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fd([Yu(e,{props:[Tu(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return fd([Yu(e,{props:[Tu(t,/:(plac\w+)/,":"+ku+"input-$1")]}),Yu(e,{props:[Tu(t,/:(plac\w+)/,":-moz-$1")]}),Yu(e,{props:[Tu(t,/:(plac\w+)/,Su+"input-$1")]})],r)}return""}))}}],zd=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(Pd&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Nd;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},l=[];Pd&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,c=[yd,xd];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=t.parent?t.parent.children:r,i=a.length-1;i>=0;i--){var l=a[i];if(l.line<t.line)break;if(l.column<t.column){if(wd(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),kd),Pd){var u,d=[md,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==Ou&&u.insert(e.value+"{}"))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=gd(c.concat(r,d));a=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),function(e){fd(sd(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[md],m=gd(c.concat(r,f)),g=$d(r)(t),h=function(e,t){var n=t.name;return void 0===g[n]&&(g[n]=function(e){return fd(sd(e),m)}(e?e+"{"+t.styles+"}":t.styles)),g[n]};a=function(e,t,n,r){var o=t.name,a=h(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new wu({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return v.sheet.hydrate(l),v},Rd=Fa(),Td={};Td[Rd.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Td[Rd.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Dd="undefined"!=typeof document;function jd(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Ad=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Dd&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Md=function(e,t,n){Ad(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);Dd||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!Dd&&0!==o.length)return o}};var _d="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Ld="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Fd=/[A-Z]|^ms/g,Vd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bd=function(e){return 45===e.charCodeAt(1)},Hd=function(e){return null!=e&&"boolean"!=typeof e},Wd=s((function(e){return Bd(e)?e:e.replace(Fd,"-$&").toLowerCase()})),Gd=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Vd,(function(e,t,n){return tp={name:t,styles:n,next:tp},t}))}return 1===ce[e]||Bd(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var qd=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Yd=["normal","none","initial","inherit","unset"],Ud=Gd,Kd=/^-ms-/,Jd=/-(.)/g,Xd={};Gd=function(e,t){if("content"===e&&("string"!=typeof t||-1===Yd.indexOf(t)&&!qd.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=Ud(e,t);return""===n||Bd(e)||-1===e.indexOf("-")||void 0!==Xd[e]||(Xd[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Kd,"ms-").replace(Jd,(function(e,t){return t.toUpperCase()}))+"?")),n}}var Qd="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Zd(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(Qd);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return tp={name:n.name,styles:n.styles,next:tp},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)tp={name:r.name,styles:r.styles,next:tp},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Zd(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":Hd(i)&&(r+=Wd(a)+":"+Gd(a,i)+";");else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(Qd);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Zd(e,t,i);switch(a){case"animation":case"animationName":r+=Wd(a)+":"+l+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(Ld),r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Hd(i[s])&&(r+=Wd(a)+":"+Gd(a,i[s])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=tp,i=n(e);return tp=a,Zd(e,t,i)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var l=[],s=n.replace(Vd,(function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+s+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+s+"`")}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var ep,tp,np=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(ep=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var rp=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";tp=void 0;var a,i=e[0];null==i||void 0===i.raw?(r=!1,o+=Zd(n,t,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(_d),o+=i[0]);for(var l=1;l<e.length;l++)o+=Zd(n,t,e[l]),r&&("production"!==process.env.NODE_ENV&&void 0===i[l]&&console.error(_d),o+=i[l]);"production"!==process.env.NODE_ENV&&(o=o.replace(ep,(function(e){return a=e,""}))),np.lastIndex=0;for(var s,c="";null!==(s=np.exec(o));)c+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:a,next:tp,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:tp}},op="undefined"!=typeof document,ap=function(e){return e()},ip=!!o.useInsertionEffect&&o.useInsertionEffect,lp=op&&ip||ap,sp=ip||o.useLayoutEffect,cp="undefined"!=typeof document,up={}.hasOwnProperty,dp=o.createContext("undefined"!=typeof HTMLElement?zd({key:"css"}):null);"production"!==process.env.NODE_ENV&&(dp.displayName="EmotionCacheContext"),dp.Provider;var pp=function(e){return t.forwardRef((function(n,r){var o=t.useContext(dp);return e(n,o,r)}))};cp||(pp=function(e){return function(n){var r=t.useContext(dp);return null===r?(r=zd({key:"css"}),o.createElement(dp.Provider,{value:r},e(n,r))):e(n,r)}});var fp=o.createContext({});"production"!==process.env.NODE_ENV&&(fp.displayName="EmotionThemeContext");var mp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gp="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",hp=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ad(t,n,r);var a=lp((function(){return Md(t,n,r)}));if(!cp&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return o.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},vp=pp((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var a=e[mp],i=[r],l="";"string"==typeof e.className?l=jd(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=rp(i,void 0,o.useContext(fp));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var c=e[gp];c&&(s=rp([s,"label:"+c+";"]))}l+=t.key+"-"+s.name;var u={};for(var d in e)!up.call(e,d)||"css"===d||d===mp||"production"!==process.env.NODE_ENV&&d===gp||(u[d]=e[d]);return u.ref=n,u.className=l,o.createElement(o.Fragment,null,o.createElement(hp,{cache:t,serialized:s,isStringTag:"string"==typeof a}),o.createElement(a,u))}));"production"!==process.env.NODE_ENV&&(vp.displayName="EmotionCssPropInternal");var bp=!1,yp=pp((function(e,t){"production"===process.env.NODE_ENV||bp||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),bp=!0);var n=e.styles,r=rp([n],void 0,o.useContext(fp));if(!cp){for(var a,i=r.name,l=r.styles,s=r.next;void 0!==s;)i+=" "+s.name,l+=s.styles,s=s.next;var c=!0===t.compat,u=t.insert("",{name:i,styles:l},t.sheet,c);return c?null:o.createElement("style",((a={})["data-emotion"]=t.key+"-global "+i,a.dangerouslySetInnerHTML={__html:u},a.nonce=t.sheet.nonce,a))}var d=o.useRef();return sp((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,o],function(){n.flush()}}),[t]),sp((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Md(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null}));function xp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return rp(t)}"production"!==process.env.NODE_ENV&&(yp.displayName="EmotionGlobal");var wp=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var Sp=function(e){var t,n=e.cache,r=e.serializedArr,a=lp((function(){for(var e="",t=0;t<r.length;t++){var o=Md(n,r[t],!1);cp||void 0===o||(e+=o)}if(!cp)return e}));return cp||0===a.length?null:o.createElement("style",((t={})["data-emotion"]=n.key+" "+r.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:a},t.nonce=n.sheet.nonce,t))},Cp=pp((function(e,t){var n=!1,r=[],a=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];var i=rp(o,t.registered);return r.push(i),Ad(t,i,!1),t.key+"-"+i.name},i={css:a,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(e,t,n){var r=[],o=jd(e,r,n);return r.length<2?n:o+t(r)}(t.registered,a,wp(r))},theme:o.useContext(fp)},l=e.children(i);return n=!0,o.createElement(o.Fragment,null,o.createElement(Sp,{cache:t,serializedArr:r}),l)}));if("production"!==process.env.NODE_ENV&&(Cp.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var kp="undefined"!=typeof document,Op="undefined"!=typeof jest||"undefined"!=typeof vi;if(kp&&!Op){var Ep="undefined"!=typeof globalThis?globalThis:kp?window:global,Ip="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";Ep[Ip]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Ep[Ip]=!0}}var Pp=u,$p=function(e){return"theme"!==e},Np=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Pp:$p},zp=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Rp="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",Tp="undefined"!=typeof document,Dp=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;Ad(t,n,r);var a=lp((function(){return Md(t,n,r)}));if(!Tp&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return o.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},jp=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var r,a,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,a=n.target);var s=zp(t,n,i),c=s||Np(l),u=!c("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(Rp),p.push(d[0][0]);for(var f=d.length,m=1;m<f;m++)"production"!==process.env.NODE_ENV&&void 0===d[0][m]&&console.error(Rp),p.push(d[m],d[0][m])}var g=pp((function(e,t,n){var r=u&&e.as||l,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=o.useContext(fp)}"string"==typeof e.className?i=jd(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var g=rp(p.concat(d),t.registered,f);i+=t.key+"-"+g.name,void 0!==a&&(i+=" "+a);var h=u&&void 0===s?Np(r):c,v={};for(var b in e)u&&"as"===b||h(b)&&(v[b]=e[b]);return v.className=i,v.ref=n,o.createElement(o.Fragment,null,o.createElement(Dp,{cache:t,serialized:g,isStringTag:"string"==typeof r}),o.createElement(r,v))}));return g.displayName=void 0!==r?r:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return void 0===a&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+a}}),g.withComponent=function(t,r){return e(t,xu({},n,r,{shouldForwardProp:zp(g,r,!0)})).apply(void 0,p)},g}}.bind();function Ap(t){const{styles:n,defaultTheme:r={}}=t,o="function"==typeof n?e=>{return n(null==(t=e)||0===Object.keys(t).length?r:e);var t}:n;return e.jsx(yp,{styles:o})}
|
|
986
|
-
/**
|
|
987
|
-
* @mui/styled-engine v5.15.14
|
|
988
|
-
*
|
|
989
|
-
* @license MIT
|
|
990
|
-
* This source code is licensed under the MIT license found in the
|
|
991
|
-
* LICENSE file in the root directory of this source tree.
|
|
992
|
-
*/
|
|
993
|
-
function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}["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","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","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","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){jp[e]=jp(e)})),"production"!==process.env.NODE_ENV&&(Ap.propTypes={defaultTheme:Ga.object,styles:Ga.oneOfType([Ga.array,Ga.string,Ga.object,Ga.func])});function _p(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Lp(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Fp(e){if(!Lp(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Fp(e[n])})),t}function Vp(e,t,n={clone:!0}){const r=n.clone?xu({},e):e;return Lp(e)&&Lp(t)&&Object.keys(t).forEach((o=>{Lp(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Lp(e[o])?r[o]=Vp(e[o],t[o],n):n.clone?r[o]=Lp(t[o])?Fp(t[o]):t[o]:r[o]=t[o]})),r}const Bp=["values","unit","step"],Hp=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>xu({},e,{[t.key]:t.val})),{})};function Wp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=_p(e,Bp),a=Hp(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return xu({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Gp={borderRadius:4},qp="production"!==process.env.NODE_ENV?Ga.oneOfType([Ga.number,Ga.string,Ga.object,Ga.array]):{};function Yp(e,t){return t?Vp(e,t,{clone:!1}):e}const Up={xs:0,sm:600,md:900,lg:1200,xl:1536},Kp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Up[e]}px)`};function Jp(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Kp;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Kp;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||Up).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function Xp(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":yu(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Qp(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Zp(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Qp(e,n)||r,t&&(o=t(o,r,e)),o}function ef(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=Qp(e.theme,r)||{};return Jp(e,a,(e=>{let r=Zp(i,o,e);return e===r&&"string"==typeof e&&(r=Zp(i,o,`${t}${"default"===e?"":Xp(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:qp}:{},a.filterProps=[t],a}const tf={m:"margin",p:"padding"},nf={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},rf={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},of=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!rf[e])return[e];e=rf[e]}const[t,n]=e.split(""),r=tf[t],o=nf[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),af=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],lf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],sf=[...af,...lf];function cf(e,t,n,r){var o;const a=null!=(o=Qp(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function uf(e){return cf(e,"spacing",8,"spacing")}function df(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function pf(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=df(t,n),e)),{})}(of(n),r);return Jp(e,e[n],o)}function ff(e,t){const n=uf(e.theme);return Object.keys(e).map((r=>pf(e,t,r,n))).reduce(Yp,{})}function mf(e){return ff(e,af)}function gf(e){return ff(e,lf)}function hf(e=8){if(e.mui)return e;const t=uf({spacing:e}),n=(...e)=>{"production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`));return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}function vf(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?Yp(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function bf(e){return"number"!=typeof e?e:`${e}px solid`}function yf(e,t){return ef({prop:e,themeKey:"borders",transform:t})}mf.propTypes="production"!==process.env.NODE_ENV?af.reduce(((e,t)=>(e[t]=qp,e)),{}):{},mf.filterProps=af,gf.propTypes="production"!==process.env.NODE_ENV?lf.reduce(((e,t)=>(e[t]=qp,e)),{}):{},gf.filterProps=lf,"production"===process.env.NODE_ENV||sf.reduce(((e,t)=>(e[t]=qp,e)),{});const xf=yf("border",bf),wf=yf("borderTop",bf),Sf=yf("borderRight",bf),Cf=yf("borderBottom",bf),kf=yf("borderLeft",bf),Of=yf("borderColor"),Ef=yf("borderTopColor"),If=yf("borderRightColor"),Pf=yf("borderBottomColor"),$f=yf("borderLeftColor"),Nf=yf("outline",bf),zf=yf("outlineColor"),Rf=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=cf(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:df(t,e)});return Jp(e,e.borderRadius,n)}return null};Rf.propTypes="production"!==process.env.NODE_ENV?{borderRadius:qp}:{},Rf.filterProps=["borderRadius"],vf(xf,wf,Sf,Cf,kf,Of,Ef,If,Pf,$f,Rf,Nf,zf);const Tf=e=>{if(void 0!==e.gap&&null!==e.gap){const t=cf(e.theme,"spacing",8,"gap"),n=e=>({gap:df(t,e)});return Jp(e,e.gap,n)}return null};Tf.propTypes="production"!==process.env.NODE_ENV?{gap:qp}:{},Tf.filterProps=["gap"];const Df=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=cf(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:df(t,e)});return Jp(e,e.columnGap,n)}return null};Df.propTypes="production"!==process.env.NODE_ENV?{columnGap:qp}:{},Df.filterProps=["columnGap"];const jf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=cf(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:df(t,e)});return Jp(e,e.rowGap,n)}return null};jf.propTypes="production"!==process.env.NODE_ENV?{rowGap:qp}:{},jf.filterProps=["rowGap"];function Af(e,t){return"grey"===t?t:e}vf(Tf,Df,jf,ef({prop:"gridColumn"}),ef({prop:"gridRow"}),ef({prop:"gridAutoFlow"}),ef({prop:"gridAutoColumns"}),ef({prop:"gridAutoRows"}),ef({prop:"gridTemplateColumns"}),ef({prop:"gridTemplateRows"}),ef({prop:"gridTemplateAreas"}),ef({prop:"gridArea"}));function Mf(e){return e<=1&&0!==e?100*e+"%":e}vf(ef({prop:"color",themeKey:"palette",transform:Af}),ef({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Af}),ef({prop:"backgroundColor",themeKey:"palette",transform:Af}));const _f=ef({prop:"width",transform:Mf}),Lf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Up[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Mf(t)}};return Jp(e,e.maxWidth,t)}return null};Lf.filterProps=["maxWidth"];const Ff=ef({prop:"minWidth",transform:Mf}),Vf=ef({prop:"height",transform:Mf}),Bf=ef({prop:"maxHeight",transform:Mf}),Hf=ef({prop:"minHeight",transform:Mf});ef({prop:"size",cssProperty:"width",transform:Mf}),ef({prop:"size",cssProperty:"height",transform:Mf});vf(_f,Lf,Ff,Vf,Bf,Hf,ef({prop:"boxSizing"}));const Wf={border:{themeKey:"borders",transform:bf},borderTop:{themeKey:"borders",transform:bf},borderRight:{themeKey:"borders",transform:bf},borderBottom:{themeKey:"borders",transform:bf},borderLeft:{themeKey:"borders",transform:bf},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:bf},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Rf},color:{themeKey:"palette",transform:Af},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Af},backgroundColor:{themeKey:"palette",transform:Af},p:{style:gf},pt:{style:gf},pr:{style:gf},pb:{style:gf},pl:{style:gf},px:{style:gf},py:{style:gf},padding:{style:gf},paddingTop:{style:gf},paddingRight:{style:gf},paddingBottom:{style:gf},paddingLeft:{style:gf},paddingX:{style:gf},paddingY:{style:gf},paddingInline:{style:gf},paddingInlineStart:{style:gf},paddingInlineEnd:{style:gf},paddingBlock:{style:gf},paddingBlockStart:{style:gf},paddingBlockEnd:{style:gf},m:{style:mf},mt:{style:mf},mr:{style:mf},mb:{style:mf},ml:{style:mf},mx:{style:mf},my:{style:mf},margin:{style:mf},marginTop:{style:mf},marginRight:{style:mf},marginBottom:{style:mf},marginLeft:{style:mf},marginX:{style:mf},marginY:{style:mf},marginInline:{style:mf},marginInlineStart:{style:mf},marginInlineEnd:{style:mf},marginBlock:{style:mf},marginBlockStart:{style:mf},marginBlockEnd:{style:mf},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Tf},rowGap:{style:jf},columnGap:{style:Df},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Mf},maxWidth:{style:Lf},minWidth:{transform:Mf},height:{transform:Mf},maxHeight:{transform:Mf},minHeight:{transform:Mf},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Gf=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const u=Qp(n,l)||{};if(c)return c(o);return Jp(o,t,(t=>{let n=Zp(u,s,t);return t===n&&"string"==typeof t&&(n=Zp(u,s,`${e}${"default"===t?"":Xp(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:Wf;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=Yp(s,e(n,o,a,i));else{const e=Jp({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=Yp(s,e):s[n]=t({sx:o,theme:a})}else s=Yp(s,e(n,o,a,i))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}();function qf(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}Gf.filterProps=["sx"];const Yf=["breakpoints","palette","spacing","shape"];function Uf(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=_p(e,Yf),l=Wp(n),s=hf(o);let c=Vp({breakpoints:l,direction:"ltr",components:{},palette:xu({mode:"light"},r),spacing:s,shape:xu({},Gp,a)},i);return c.applyStyles=qf,c=t.reduce(((e,t)=>Vp(e,t)),c),c.unstable_sxConfig=xu({},Wf,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return Gf({sx:e,theme:this})},c}function Kf(e=null){const t=o.useContext(fp);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Jf=Uf();function Xf(e=Jf){return Kf(e)}const Qf=["sx"],Zf=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Wf;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function em(e){const{sx:t}=e,n=_p(e,Qf),{systemProps:r,otherProps:o}=Zf(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Lp(n)?xu({},r,n):r}:xu({},r,t),xu({},o,{sx:a})}const tm=e=>e,nm=(()=>{let e=tm;return{configure(t){e=t},generate:t=>e(t),reset(){e=tm}}})();function rm(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=rm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function om(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=rm(e))&&(r&&(r+=" "),r+=t);return r}const am=["className","component"];const im={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function lm(e,t,n="Mui"){const r=im[t];return r?`${n}-${r}`:`${nm.generate(e)}-${t}`}function sm(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=lm(e,t,n)})),r}var cm,um={exports:{}},dm={};var pm,fm={};
|
|
994
|
-
/**
|
|
995
|
-
* @license React
|
|
996
|
-
* react-is.development.js
|
|
997
|
-
*
|
|
998
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
999
|
-
*
|
|
1000
|
-
* This source code is licensed under the MIT license found in the
|
|
1001
|
-
* LICENSE file in the root directory of this source tree.
|
|
1002
|
-
*/"production"===process.env.NODE_ENV?um.exports=function(){if(cm)return dm;cm=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case c:case f:case p:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),dm.ContextConsumer=l,dm.ContextProvider=i,dm.Element=t,dm.ForwardRef=c,dm.Fragment=r,dm.Lazy=f,dm.Memo=p,dm.Portal=n,dm.Profiler=a,dm.StrictMode=o,dm.Suspense=u,dm.SuspenseList=d,dm.isAsyncMode=function(){return!1},dm.isConcurrentMode=function(){return!1},dm.isContextConsumer=function(e){return g(e)===l},dm.isContextProvider=function(e){return g(e)===i},dm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},dm.isForwardRef=function(e){return g(e)===c},dm.isFragment=function(e){return g(e)===r},dm.isLazy=function(e){return g(e)===f},dm.isMemo=function(e){return g(e)===p},dm.isPortal=function(e){return g(e)===n},dm.isProfiler=function(e){return g(e)===a},dm.isStrictMode=function(e){return g(e)===o},dm.isSuspense=function(e){return g(e)===u},dm.isSuspenseList=function(e){return g(e)===d},dm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},dm.typeOf=g,dm}():um.exports=(pm||(pm=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case r:case a:case o:case u:case d:return g;default:var h=g&&g.$$typeof;switch(h){case s:case l:case c:case f:case p:case i:return h;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var h=l,v=i,b=t,y=c,x=r,w=f,S=p,C=n,k=a,O=o,E=u,I=d,P=!1,$=!1;fm.ContextConsumer=h,fm.ContextProvider=v,fm.Element=b,fm.ForwardRef=y,fm.Fragment=x,fm.Lazy=w,fm.Memo=S,fm.Portal=C,fm.Profiler=k,fm.StrictMode=O,fm.Suspense=E,fm.SuspenseList=I,fm.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},fm.isConcurrentMode=function(e){return $||($=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},fm.isContextConsumer=function(e){return g(e)===l},fm.isContextProvider=function(e){return g(e)===i},fm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},fm.isForwardRef=function(e){return g(e)===c},fm.isFragment=function(e){return g(e)===r},fm.isLazy=function(e){return g(e)===f},fm.isMemo=function(e){return g(e)===p},fm.isPortal=function(e){return g(e)===n},fm.isProfiler=function(e){return g(e)===a},fm.isStrictMode=function(e){return g(e)===o},fm.isSuspense=function(e){return g(e)===u},fm.isSuspenseList=function(e){return g(e)===d},fm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},fm.typeOf=g}()),fm);var mm=um.exports;const gm=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function hm(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(gm);return t&&t[1]||""}(e)||t}function vm(e,t,n){const r=hm(t);return e.displayName||(""!==r?`${n}(${r})`:n)}const bm=["ownerState"],ym=["variants"],xm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function wm(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Sm=Uf(),Cm=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function km({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function Om(e){return e?(t,n)=>n[e]:null}function Em(e,t){let{ownerState:n}=t,r=_p(t,bm);const o="function"==typeof e?e(xu({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>Em(e,xu({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=_p(o,ym);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(xu({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(xu({ownerState:n},r,n)):e.style))})),t}return o}function Im(e={}){const{themeId:t,defaultTheme:n=Sm,rootShouldForwardProp:r=wm,slotShouldForwardProp:o=wm}=e,a=e=>Gf(xu({},e,{theme:km(xu({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=Om(Cm(s))}=i,p=_p(i,xm),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,m=u||!1;let g;"production"!==process.env.NODE_ENV&&l&&(g=`${l}-${Cm(s||"Root")}`);let h=wm;"Root"===s||"root"===s?h=r:s?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const v=Mp(e,xu({shouldForwardProp:h,label:g},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||Lp(e)?r=>Em(e,xu({},r,{theme:km({theme:r.theme,defaultTheme:n,themeId:t})})):e,y=(r,...o)=>{let i=b(r);const c=o?o.map(b):[];l&&d&&c.push((e=>{const r=km(xu({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=Em(n,xu({},e,{theme:r}))})),d(e,a)})),l&&!f&&c.push((e=>{var r;const o=km(xu({},e,{defaultTheme:n,themeId:t}));return Em({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},xu({},e,{theme:o}))})),m||c.push(a);const u=c.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const p=v(i,...c);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${Xp(s||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return hm(e,"Component");if("object"==typeof e)switch(e.$$typeof){case mm.ForwardRef:return vm(e,e.render,"ForwardRef");case mm.Memo:return vm(e,e.type,"memo");default:return}}}(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return v.withConfig&&(y.withConfig=v.withConfig),y}}const Pm=Im();function $m(e,t){const n=xu({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=xu({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=xu({},a),Object.keys(o).forEach((e=>{n[r][e]=$m(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function Nm(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?$m(t.components[n].defaultProps,r):r}function zm({props:e,name:t,defaultTheme:n,themeId:r}){let o=Xf(n);r&&(o=o[r]||o);return Nm({theme:o,name:t,props:e})}const Rm="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Tm(e){if(e.type)return e;if("#"===e.charAt(0))return Tm(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:yu(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:yu(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Dm=e=>{const t=Tm(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function jm(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Am(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;const s=a.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Mm=jm(Ga.element,Am);Mm.isRequired=jm(Ga.element.isRequired,Am);const _m="exact-prop: ";function Lm(e){return"production"===process.env.NODE_ENV?e:xu({},e,{[_m]:t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function Fm(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=o||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const Vm=Ga.oneOfType([Ga.func,Ga.object]);function Bm(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function Hm(e,t){var n,r;return o.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}function Wm(e){return e&&e.ownerDocument||document}function Gm(e){return Wm(e).defaultView||window}function qm(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let Ym=0;const Um=o["useId".toString()];function Km(e){if(void 0!==Um){const t=Um();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(Ym+=1,n(`mui-${Ym}`))}),[t]),r}(e)}function Jm({controlled:e,default:t,name:n,state:r="value"}){const{current:a}=o.useRef(void 0!==e),[i,l]=o.useState(t),s=a?e:i;if("production"!==process.env.NODE_ENV){o.useEffect((()=>{a!==(void 0!==e)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${r} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[r,n,e]);const{current:i}=o.useRef(t);o.useEffect((()=>{a||Object.is(i,t)||console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(t)])}return[s,o.useCallback((e=>{a||l(e)}),[])]}function Xm(e){const t=o.useRef(e);return Rm((()=>{t.current=e})),o.useRef(((...e)=>(0,t.current)(...e))).current}function Qm(...e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{qm(e,t)}))}),e)}class Zm{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Zm}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let eg=!0,tg=!1;const ng=new Zm,rg={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function og(e){e.metaKey||e.altKey||e.ctrlKey||(eg=!0)}function ag(){eg=!1}function ig(){"hidden"===this.visibilityState&&tg&&(eg=!0)}function lg(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return eg||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!rg[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function sg(){const e=o.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",og,!0),t.addEventListener("mousedown",ag,!0),t.addEventListener("pointerdown",ag,!0),t.addEventListener("touchstart",ag,!0),t.addEventListener("visibilitychange",ig,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!lg(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(tg=!0,ng.start(100,(()=>{tg=!1})),t.current=!1,!0)},ref:e}}const cg=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function ug(e,t,n,r){const o=e[t];if(null==o||!cg(o)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function dg(e,t,...n){return void 0===e[t]?null:ug(e,t,...n)}function pg(){return null}dg.isRequired=ug,pg.isRequired=pg;var fg="production"===process.env.NODE_ENV?pg:dg;function mg(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const gg=o.createContext(null);function hg(){const e=o.useContext(gg);return"production"!==process.env.NODE_ENV&&o.useDebugValue(e),e}"production"!==process.env.NODE_ENV&&(gg.displayName="ThemeContext");var vg="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function bg(t){const{children:n,theme:r}=t,a=hg();"production"!==process.env.NODE_ENV&&null===a&&"function"==typeof r&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const i=o.useMemo((()=>{const e=null===a?r:function(e,t){if("function"==typeof t){const n=t(e);return"production"!==process.env.NODE_ENV&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),n}return xu({},e,t)}(a,r);return null!=e&&(e[vg]=null!==a),e}),[r,a]);return e.jsx(gg.Provider,{value:i,children:n})}"production"!==process.env.NODE_ENV&&(bg.propTypes={children:Ga.node,theme:Ga.oneOfType([Ga.object,Ga.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(bg.propTypes=Lm(bg.propTypes));const yg=["value"],xg=o.createContext();function wg(t){let{value:n}=t,r=_p(t,yg);return e.jsx(xg.Provider,xu({value:null==n||n},r))}"production"!==process.env.NODE_ENV&&(wg.propTypes={children:Ga.node,value:Ga.bool});const Sg=o.createContext(void 0);function Cg({value:t,children:n}){return e.jsx(Sg.Provider,{value:t,children:n})}"production"!==process.env.NODE_ENV&&(Cg.propTypes={children:Ga.node,value:Ga.object});const kg={};function Og(e,t,n,r=!1){return o.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),i=e?xu({},t,{[e]:a}):a;return r?()=>i:i}return xu({},t,e?{[e]:n}:n)}),[e,t,n,r])}function Eg(t){const{children:n,theme:r,themeId:o}=t,a=Kf(kg),i=hg()||kg;"production"!==process.env.NODE_ENV&&(null===a&&"function"==typeof r||o&&a&&!a[o]&&"function"==typeof r)&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const l=Og(o,a,r),s=Og(o,i,r,!0),c="rtl"===l.direction;return e.jsx(bg,{theme:s,children:e.jsx(fp.Provider,{value:l,children:e.jsx(wg,{value:c,children:e.jsx(Cg,{value:null==l?void 0:l.components,children:n})})})})}"production"!==process.env.NODE_ENV&&(Eg.propTypes={children:Ga.node,theme:Ga.oneOfType([Ga.func,Ga.object]).isRequired,themeId:Ga.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Eg.propTypes=Lm(Eg.propTypes));const Ig="mode",Pg="color-scheme",$g="data-color-scheme";function Ng(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function zg(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function Rg(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}function Tg(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:i=Ig,colorSchemeStorageKey:l=Pg,storageWindow:s=("undefined"==typeof window?void 0:window)}=e,c=a.join(","),[u,d]=o.useState((()=>{const e=Rg(i,t),o=Rg(`${l}-light`,n),a=Rg(`${l}-dark`,r);return{mode:e,systemMode:Ng(e),lightColorScheme:o,darkColorScheme:a}})),p=function(e){return zg(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=o.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=null!=e?e:t;try{localStorage.setItem(i,r)}catch(e){}return xu({},n,{mode:r,systemMode:Ng(r)})}))}),[i,t]),m=o.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=xu({},t);return zg(t,(t=>{try{localStorage.setItem(`${l}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=xu({},t),a=null===e.light?n:e.light,i=null===e.dark?r:e.dark;if(a)if(c.includes(a)){o.lightColorScheme=a;try{localStorage.setItem(`${l}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(i)if(c.includes(i)){o.darkColorScheme=i;try{localStorage.setItem(`${l}-dark`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);return o})):d((e=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch(e){}return xu({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[c,l,n,r]),g=o.useCallback((e=>{"system"===u.mode&&d((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:xu({},t,{systemMode:n})}))}),[u.mode]),h=o.useRef(g);return h.current=g,o.useEffect((()=>{const e=(...e)=>h.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),o.useEffect((()=>{if(s){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(l)||n&&!c.match(n)||(e.key.endsWith("light")&&m({light:n}),e.key.endsWith("dark")&&m({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||f(n||t)};return s.addEventListener("storage",e),()=>{s.removeEventListener("storage",e)}}}),[m,f,i,l,c,t,s]),xu({},u,{colorScheme:p,setMode:f,setColorScheme:m})}const Dg=["colorSchemes","components","generateCssVars","cssVarPrefix"];function jg(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const Ag=(e,t,n,r=[])=>{let o=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},Mg=(e,t,n)=>{!function e(r,o=[],a=[]){Object.entries(r).forEach((([r,i])=>{(!n||n&&!n([...o,r]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...o,r],Array.isArray(i)?[...a,r]:a):t([...o,r],i,a))}))}(e)},_g=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function Lg(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return Mg(e,((e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:_g(e,t)}),Ag(a,e,`var(${r})`,l),Ag(i,e,`var(${r}, ${t})`,l)}}),(e=>"vars"===e[0])),{css:o,vars:a,varsWithDefaults:i}}function Fg(e){return Fg="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},Fg(e)}function Vg(e){var t=function(e,t){if("object"!=Fg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Fg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Fg(t)?t:t+""}const Bg=["colorSchemes","components","defaultColorScheme"];const Hg=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,a=Object.keys(t),o.filter((e=>a.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const a=t[o];void 0!==a&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),a)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,a};function Wg(e){return e?`Level${e}`:""}function Gg(e){return e.unstable_level>0&&e.container}function qg(e){return function(t){return`var(--Grid-${t}Spacing${Wg(e.unstable_level)})`}}function Yg(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${Wg(e.unstable_level-1)})`}}function Ug(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${Wg(e.unstable_level-1)})`}const Kg=({theme:e,ownerState:t})=>{const n=qg(t),r={};return Hg(e.breakpoints,t.gridSize,((e,o)=>{let a={};!0===o&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${Ug(t)}${Gg(t)?` + ${n("column")}`:""})`}),e(r,a)})),r},Jg=({theme:e,ownerState:t})=>{const n={};return Hg(e.breakpoints,t.gridOffset,((e,r)=>{let o={};"auto"===r&&(o={marginLeft:"auto"}),"number"==typeof r&&(o={marginLeft:0===r?"0px":`calc(100% * ${r} / ${Ug(t)})`}),e(n,o)})),n},Xg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Gg(t)?{[`--Grid-columns${Wg(t.unstable_level)}`]:Ug(t)}:{"--Grid-columns":12};return Hg(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${Wg(t.unstable_level)}`]:r})})),n},Qg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Yg(t),r=Gg(t)?{[`--Grid-rowSpacing${Wg(t.unstable_level)}`]:n("row")}:{};return Hg(e.breakpoints,t.rowSpacing,((n,o)=>{var a;n(r,{[`--Grid-rowSpacing${Wg(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})})),r},Zg=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Yg(t),r=Gg(t)?{[`--Grid-columnSpacing${Wg(t.unstable_level)}`]:n("column")}:{};return Hg(e.breakpoints,t.columnSpacing,((n,o)=>{var a;n(r,{[`--Grid-columnSpacing${Wg(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})})),r},eh=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Hg(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},th=({ownerState:e})=>{const t=qg(e),n=Yg(e);return xu({minWidth:0,boxSizing:"border-box"},e.container&&xu({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Gg(e))&&xu({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},nh=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},rh=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},oh=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],ah=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],ih=Uf(),lh=Pm("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function sh(e){return zm({props:e,name:"MuiGrid",defaultTheme:ih})}const ch=xu({},Wf,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}}),uh={grey:{50:"#FBFCFE",100:"#F0F4F8",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#171A1C",900:"#0B0D0E"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};function dh(e){var t;return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}const ph=(e,t)=>lm(e,t,"Mui"),fh=(e,t)=>sm(e,t,"Mui"),mh=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},gh=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach((([t,o])=>{if(t.match(new RegExp(`${e}(color|bg|border)`,"i"))&&o){const e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),mh(r,t,e)}})),r},hh=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach((t=>{const[a,i]=t;(e=>e&&"object"==typeof e&&Object.keys(e).some((e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)})))(i)&&"object"==typeof i&&(n=xu({},n,{[a]:gh(e,i,(e=>`var(--variant-${e}, ${r(`palette-${a}-${e}`,o[a][e])})`))}))}))}return n.context=gh(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},vh=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],bh=["colorSchemes"];function yh(e){var t,n,r,o,a,i,l,s,c,u;const d=e||{},{cssVarPrefix:p="joy",breakpoints:f,spacing:m,components:g,variants:h,shouldSkipGeneratingVar:v=dh}=d,b=_p(d,vh),y=((e="joy")=>jg(e))(p),x={primary:uh.blue,neutral:uh.grey,danger:uh.red,success:uh.green,warning:uh.yellow,common:{white:"#FFF",black:"#000"}},w=e=>{var t;const n=e.split("-"),r=n[1],o=n[2];return y(e,null==(t=x[r])?void 0:t[o])},S=e=>({plainColor:w(`palette-${e}-500`),plainHoverBg:w(`palette-${e}-100`),plainActiveBg:w(`palette-${e}-200`),plainDisabledColor:w("palette-neutral-400"),outlinedColor:w(`palette-${e}-500`),outlinedBorder:w(`palette-${e}-300`),outlinedHoverBg:w(`palette-${e}-100`),outlinedActiveBg:w(`palette-${e}-200`),outlinedDisabledColor:w("palette-neutral-400"),outlinedDisabledBorder:w("palette-neutral-200"),softColor:w(`palette-${e}-700`),softBg:w(`palette-${e}-100`),softHoverBg:w(`palette-${e}-200`),softActiveColor:w(`palette-${e}-800`),softActiveBg:w(`palette-${e}-300`),softDisabledColor:w("palette-neutral-400"),softDisabledBg:w("palette-neutral-50"),solidColor:w("palette-common-white"),solidBg:w(`palette-${e}-500`),solidHoverBg:w(`palette-${e}-600`),solidActiveBg:w(`palette-${e}-700`),solidDisabledColor:w("palette-neutral-400"),solidDisabledBg:w("palette-neutral-100")}),C=e=>({plainColor:w(`palette-${e}-300`),plainHoverBg:w(`palette-${e}-800`),plainActiveBg:w(`palette-${e}-700`),plainDisabledColor:w("palette-neutral-500"),outlinedColor:w(`palette-${e}-200`),outlinedBorder:w(`palette-${e}-700`),outlinedHoverBg:w(`palette-${e}-800`),outlinedActiveBg:w(`palette-${e}-700`),outlinedDisabledColor:w("palette-neutral-500"),outlinedDisabledBorder:w("palette-neutral-800"),softColor:w(`palette-${e}-200`),softBg:w(`palette-${e}-800`),softHoverBg:w(`palette-${e}-700`),softActiveColor:w(`palette-${e}-100`),softActiveBg:w(`palette-${e}-600`),softDisabledColor:w("palette-neutral-500"),softDisabledBg:w("palette-neutral-800"),solidColor:w("palette-common-white"),solidBg:w(`palette-${e}-500`),solidHoverBg:w(`palette-${e}-600`),solidActiveBg:w(`palette-${e}-700`),solidDisabledColor:w("palette-neutral-500"),solidDisabledBg:w("palette-neutral-800")}),k={palette:{mode:"light",primary:xu({},x.primary,S("primary")),neutral:xu({},x.neutral,S("neutral"),{plainColor:w("palette-neutral-700"),plainHoverColor:w("palette-neutral-900"),outlinedColor:w("palette-neutral-700")}),danger:xu({},x.danger,S("danger")),success:xu({},x.success,S("success")),warning:xu({},x.warning,S("warning")),common:{white:"#FFF",black:"#000"},text:{primary:w("palette-neutral-800"),secondary:w("palette-neutral-700"),tertiary:w("palette-neutral-600"),icon:w("palette-neutral-500")},background:{body:w("palette-common-white"),surface:w("palette-neutral-50"),popup:w("palette-common-white"),level1:w("palette-neutral-100"),level2:w("palette-neutral-200"),level3:w("palette-neutral-300"),tooltip:w("palette-neutral-500"),backdrop:`rgba(${y("palette-neutral-darkChannel",Dm(x.neutral[900]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",Dm(x.neutral[500]))} / 0.2)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},O={palette:{mode:"dark",primary:xu({},x.primary,C("primary")),neutral:xu({},x.neutral,C("neutral"),{plainColor:w("palette-neutral-300"),plainHoverColor:w("palette-neutral-300")}),danger:xu({},x.danger,C("danger")),success:xu({},x.success,C("success")),warning:xu({},x.warning,C("warning")),common:{white:"#FFF",black:"#000"},text:{primary:w("palette-neutral-100"),secondary:w("palette-neutral-300"),tertiary:w("palette-neutral-400"),icon:w("palette-neutral-400")},background:{body:w("palette-common-black"),surface:w("palette-neutral-900"),popup:w("palette-common-black"),level1:w("palette-neutral-800"),level2:w("palette-neutral-700"),level3:w("palette-neutral-600"),tooltip:w("palette-neutral-600"),backdrop:`rgba(${y("palette-neutral-darkChannel",Dm(x.neutral[50]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",Dm(x.neutral[500]))} / 0.16)`,focusVisible:w("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},E='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',I=xu({body:`"Inter", ${y(`fontFamily-fallback, ${E}`)}`,display:`"Inter", ${y(`fontFamily-fallback, ${E}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:E},b.fontFamily),P=xu({sm:300,md:500,lg:600,xl:700},b.fontWeight),$=xu({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},b.fontSize),N=xu({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},b.lineHeight),z=null!=(t=null==(n=b.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?t:k.shadowRing,R=null!=(r=null==(o=b.colorSchemes)||null==(o=o.light)?void 0:o.shadowChannel)?r:k.shadowChannel,T=null!=(a=null==(i=b.colorSchemes)||null==(i=i.light)?void 0:i.shadowOpacity)?a:k.shadowOpacity,D={colorSchemes:{light:k,dark:O},fontSize:$,fontFamily:I,fontWeight:P,focus:{thickness:"2px",selector:`&.${ph("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${y("focus-thickness",null!=(l=null==(s=b.focus)?void 0:s.thickness)?l:"2px")})`,outline:`${y("focus-thickness",null!=(c=null==(u=b.focus)?void 0:u.thickness)?c:"2px")} solid ${y("palette-focusVisible",x.primary[500])}`}},lineHeight:N,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,sm:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 2px 4px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,md:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 6px 12px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,lg:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 12px 16px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,xl:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 20px 24px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl4, ${$.xl4}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h2:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl3, ${$.xl3}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h3:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl2, ${$.xl2}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h4:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl, ${$.xl}`),lineHeight:y(`lineHeight-md, ${N.md}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-lg":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-lg, ${$.lg}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-md":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-md, ${$.md}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-sm":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-sm, ${$.sm}`),lineHeight:y(`lineHeight-sm, ${N.sm}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"body-lg":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-lg, ${$.lg}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-md":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-md, ${$.md}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-sm":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-sm, ${$.sm}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)},"body-xs":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-xs, ${$.xs}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)}}},j=b?Vp(D,b):D,{colorSchemes:A}=j,M=_p(j,bh),_=xu({colorSchemes:A},M,{breakpoints:Wp(null!=f?f:{}),components:Vp({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;const r=e.instanceFontSize;return xu({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&xu({color:`var(--Icon-color, ${_.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`}),r&&"inherit"!==r&&{"--Icon-fontSize":t.vars.fontSize[r]})}}}},g),cssVarPrefix:p,getCssVar:y,spacing:hf(m)});Object.entries(_.colorSchemes).forEach((([e,t])=>{!function(e,t){Object.keys(t).forEach((n=>{const r={main:"500",light:"200",dark:"700"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=Dm(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=Dm(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=Dm(t[n][r.dark]))}))}(e,t.palette)}));const L={prefix:p,shouldSkipGeneratingVar:v},{vars:F,generateCssVars:V}=function(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=_p(e,Bg),{vars:a,css:i,varsWithDefaults:l}=Lg(o,t);let s=l;const c={},{[r]:u}=n,d=_p(n,[r].map(Vg));if(Object.entries(d||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=Lg(n,t);s=Vp(s,a),c[e]={css:o,vars:r}})),u){const{css:e,vars:n,varsWithDefaults:o}=Lg(u,t);s=Vp(s,o),c[r]={css:e,vars:n}}return{vars:s,generateCssVars:e=>{var n;if(!e){var r;const n=xu({},i);return{css:n,vars:a,selector:(null==t||null==(r=t.getSelector)?void 0:r.call(t,e,n))||":root"}}const o=xu({},c[e].css);return{css:o,vars:c[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,o))||":root"}}}}(xu({colorSchemes:A},M),L);_.vars=F,_.generateCssVars=V,_.unstable_sxConfig=xu({},ch,null==e?void 0:e.unstable_sxConfig),_.unstable_sx=function(e){return Gf({sx:e,theme:this})},_.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;const B={getCssVar:y,palette:_.colorSchemes.light.palette};return _.variants=Vp({plain:hh("plain",B),plainHover:hh("plainHover",B),plainActive:hh("plainActive",B),plainDisabled:hh("plainDisabled",B),outlined:hh("outlined",B),outlinedHover:hh("outlinedHover",B),outlinedActive:hh("outlinedActive",B),outlinedDisabled:hh("outlinedDisabled",B),soft:hh("soft",B),softHover:hh("softHover",B),softActive:hh("softActive",B),softDisabled:hh("softDisabled",B),solid:hh("solid",B),solidHover:hh("solidHover",B),solidActive:hh("solidActive",B),solidDisabled:hh("solidDisabled",B)},h),_.palette=xu({},_.colorSchemes.light.palette,{colorScheme:"light"}),_.shouldSkipGeneratingVar=v,_.applyStyles=qf,_}const xh=yh(),wh="data-joy-color-scheme",Sh="joy-color-scheme",Ch="light",kh="dark",Oh="joy-mode",{CssVarsProvider:Eh,useColorScheme:Ih,getInitColorSchemeScript:Ph}=function(t){const{themeId:n,theme:r={},attribute:a=$g,modeStorageKey:i=Ig,colorSchemeStorageKey:l=Pg,defaultMode:s="light",defaultColorScheme:c,disableTransitionOnChange:u=!1,resolveTheme:d,excludeVariablesFromRoot:p}=t;(!r.colorSchemes||"string"==typeof c&&!r.colorSchemes[c]||"object"==typeof c&&!r.colorSchemes[null==c?void 0:c.light]||"object"==typeof c&&!r.colorSchemes[null==c?void 0:c.dark])&&console.error(`MUI: \`${c}\` does not exist in \`theme.colorSchemes\`.`);const f=o.createContext(void 0);function m(t){const{children:m,theme:g=r,modeStorageKey:h=i,colorSchemeStorageKey:v=l,attribute:b=a,defaultMode:y=s,defaultColorScheme:x=c,disableTransitionOnChange:w=u,storageWindow:S=("undefined"==typeof window?void 0:window),documentNode:C=("undefined"==typeof document?void 0:document),colorSchemeNode:k=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:O=":root",disableNestedContext:E=!1,disableStyleSheetGeneration:I=!1}=t,P=o.useRef(!1),$=hg(),N=o.useContext(f),z=!!N&&!E,R=g[n],T=R||g,{colorSchemes:D={},components:j={},generateCssVars:A=(()=>({vars:{},css:{}})),cssVarPrefix:M}=T,_=_p(T,Dg),L=Object.keys(D),F="string"==typeof x?x:x.light,V="string"==typeof x?x:x.dark,{mode:B,setMode:H,systemMode:W,lightColorScheme:G,darkColorScheme:q,colorScheme:Y,setColorScheme:U}=Tg({supportedColorSchemes:L,defaultLightColorScheme:F,defaultDarkColorScheme:V,modeStorageKey:h,colorSchemeStorageKey:v,defaultMode:y,storageWindow:S});let K=B,J=Y;z&&(K=N.mode,J=N.colorScheme);const X=J||("dark"===(K||("system"===y?s:y))?V:F),{css:Q,vars:Z}=A(),ee=xu({},_,{components:j,colorSchemes:D,cssVarPrefix:M,vars:Z,getColorSchemeSelector:e=>`[${b}="${e}"] &`}),te={},ne={};Object.entries(D).forEach((([e,t])=>{const{css:n,vars:r}=A(e);ee.vars=Vp(ee.vars,r),e===X&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?ee[e]=xu({},ee[e],t[e]):ee[e]=t[e]})),ee.palette&&(ee.palette.colorScheme=e));if(e===("string"==typeof x?x:"dark"===y?x.dark:x.light)){if(p){const t={};p(M).forEach((e=>{t[e]=n[e],delete n[e]})),te[`[${b}="${e}"]`]=t}te[`${O}, [${b}="${e}"]`]=n}else ne[`${":root"===O?"":O}[${b}="${e}"]`]=n})),ee.vars=Vp(ee.vars,Z),o.useEffect((()=>{J&&k&&k.setAttribute(b,J)}),[J,b,k]),o.useEffect((()=>{let e;if(w&&P.current&&C){const t=C.createElement("style");t.appendChild(C.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),C.head.appendChild(t),window.getComputedStyle(C.body),e=setTimeout((()=>{C.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[J,w,C]),o.useEffect((()=>(P.current=!0,()=>{P.current=!1})),[]);const re=o.useMemo((()=>({allColorSchemes:L,colorScheme:J,darkColorScheme:q,lightColorScheme:G,mode:K,setColorScheme:U,setMode:H,systemMode:W})),[L,J,q,G,K,U,H,W]);let oe=!0;(I||z&&(null==$?void 0:$.cssVarPrefix)===M)&&(oe=!1);const ae=e.jsxs(o.Fragment,{children:[oe&&e.jsxs(o.Fragment,{children:[e.jsx(Ap,{styles:{[O]:Q}}),e.jsx(Ap,{styles:te}),e.jsx(Ap,{styles:ne})]}),e.jsx(Eg,{themeId:R?n:void 0,theme:d?d(ee):ee,children:m})]});return z?ae:e.jsx(f.Provider,{value:re,children:ae})}"production"!==process.env.NODE_ENV&&(f.displayName="ColorSchemeContext"),"production"!==process.env.NODE_ENV&&(m.propTypes={attribute:Ga.string,children:Ga.node,colorSchemeNode:Ga.any,colorSchemeSelector:Ga.string,colorSchemeStorageKey:Ga.string,defaultColorScheme:Ga.oneOfType([Ga.string,Ga.object]),defaultMode:Ga.string,disableNestedContext:Ga.bool,disableStyleSheetGeneration:Ga.bool,disableTransitionOnChange:Ga.bool,documentNode:Ga.any,modeStorageKey:Ga.string,storageWindow:Ga.any,theme:Ga.object});const g="string"==typeof c?c:c.light,h="string"==typeof c?c:c.dark;return{CssVarsProvider:m,useColorScheme:()=>{const e=o.useContext(f);if(!e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `useColorScheme` must be called under <CssVarsProvider />":yu(19));return e},getInitColorSchemeScript:t=>function(t){const{defaultMode:n="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:o="dark",modeStorageKey:a=Ig,colorSchemeStorageKey:i=Pg,attribute:l=$g,colorSchemeNode:s="document.documentElement",nonce:c}=t||{};return e.jsx("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${a}') || '${n}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n } else {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${l}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}(xu({attribute:a,colorSchemeStorageKey:l,defaultMode:s,defaultLightColorScheme:g,defaultDarkColorScheme:h,modeStorageKey:i},t))}}({themeId:bu,theme:xh,attribute:wh,modeStorageKey:Oh,colorSchemeStorageKey:Sh,defaultColorScheme:{light:Ch,dark:kh}}),$h=Im({defaultTheme:xh,themeId:bu});function Nh({props:e,name:t}){return zm({props:e,name:t,defaultTheme:xu({},xh,{components:{}}),themeId:bu})}const zh=yh({colorSchemes:{light:{palette:{primary:{50:"#dbd9f8",100:"#b7b2f1",200:"#a69fee",300:"#8279e7",400:"#7065e4",500:"#4c3fdd",600:"#3d32b1",700:"#2e2685",800:"#1e1958",900:"#0f0d2c"},neutral:{50:"#fafbfd",100:"#f4f7fb",200:"#dbdde1",300:"#aaacaf",400:"#929496",500:"#7a7b7d",600:"#616264",700:"#494a4b",800:"#313132",900:"#181919"}}}},components:{}});vu(':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 margin-bottom: var(--spacing--medium);\n}\n\nol,\nul {\n margin-bottom: 1rem;\n margin-left: 2rem;\n}\n\nul {\n list-style-type: disc;\n}\n\nol {\n list-style-type: decimal;\n}\n\n#root,\n#__next {\n isolation: isolate;\n}\n\nsmall {\n font-size: 80%;\n color: var(--color--grey);\n}\n');const Rh=Kt.div`
|
|
929
|
+
`;function Ow({currentApp:t,apps:n}){const r=e.jsx("svg",{viewBox:"0 0 32 32",children:e.jsxs("g",{children:[e.jsx("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e.jsx("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),e.jsx("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e.jsx("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e.jsx("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),e.jsx("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e.jsx("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),e.jsx("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),e.jsx("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return e.jsxs(Lh,{children:[e.jsx(Sw,{size:"sm",startDecorator:r,children:t&&e.jsx(kw,{children:t})}),n]})}function Iw(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Iw('/* 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 Ew=lh({colorSchemes:{light:{palette:{primary:{50:"#dbd9f8",100:"#b7b2f1",200:"#a69fee",300:"#8279e7",400:"#7065e4",500:"#4c3fdd",600:"#3d32b1",700:"#2e2685",800:"#1e1958",900:"#0f0d2c"},neutral:{50:"#fafbfd",100:"#f4f7fb",200:"#dbdde1",300:"#aaacaf",400:"#929496",500:"#7a7b7d",600:"#616264",700:"#494a4b",800:"#313132",900:"#181919"}}}},components:{}});Iw(':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 margin-bottom: var(--spacing--medium);\n}\n\nol,\nul {\n margin-bottom: 1rem;\n margin-left: 2rem;\n}\n\nul {\n list-style-type: disc;\n}\n\nol {\n list-style-type: decimal;\n}\n\n#root,\n#__next {\n isolation: isolate;\n}\n\nsmall {\n font-size: 80%;\n color: var(--color--grey);\n}\n');const Pw=Kt.div`
|
|
1003
930
|
height: 100%;
|
|
1004
931
|
position: absolute;
|
|
1005
932
|
width: 100%;
|
|
1006
933
|
top: 0;
|
|
1007
934
|
left: 0;
|
|
1008
|
-
`,
|
|
935
|
+
`,Nw=Kt.main`
|
|
1009
936
|
width: 100%;
|
|
1010
937
|
height: calc(100% - 136px); // TODO: calculate the height of the header
|
|
1011
938
|
position: relative;
|
|
1012
|
-
`;const
|
|
939
|
+
`;const $w=Kt.div`
|
|
1013
940
|
display: flex;
|
|
1014
941
|
flex-flow: wrap;
|
|
1015
942
|
justify-content: space-between;
|
|
@@ -1018,12 +945,12 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1018
945
|
@media print {
|
|
1019
946
|
display: none;
|
|
1020
947
|
}
|
|
1021
|
-
`,
|
|
948
|
+
`,zw=Kt.ul`
|
|
1022
949
|
display: flex;
|
|
1023
950
|
flex-flow: row;
|
|
1024
951
|
width: 100%;
|
|
1025
952
|
flex-wrap: wrap;
|
|
1026
|
-
`,
|
|
953
|
+
`,Rw=Kt.li`
|
|
1027
954
|
display: inline-block;
|
|
1028
955
|
color: var(--color--grey);
|
|
1029
956
|
overflow: hidden;
|
|
@@ -1042,10 +969,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1042
969
|
font-weight: 600;
|
|
1043
970
|
}
|
|
1044
971
|
}
|
|
1045
|
-
`;function Mh({children:t}){return e.jsx(Dh,{children:e.jsx(jh,{children:t})})}function _h(e,t,n){return void 0===e||"string"==typeof e?t:xu({},t,{ownerState:xu({},t.ownerState,n)})}Mh.Item=Ah;const Lh={disableDefaultClasses:!1},Fh=o.createContext(Lh);function Vh(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Bh(e,t,n){return"function"==typeof e?e(t,n):e}function Hh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Wh(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=om(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=xu({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=xu({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=Vh(xu({},o,r)),l=Hh(r),s=Hh(o),c=t(i),u=om(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=xu({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=xu({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}"production"!==process.env.NODE_ENV&&(Fh.displayName="ClassNameConfiguratorContext");const Gh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const qh="base";function Yh(e,t){const n=im[t];return n?`${qh}--${n}`:function(e,t){return`${qh}-${e}-${t}`}(e,t)}function Uh(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:r,rootRef:a,tabIndex:i,to:l,type:s,rootElementName:c}=e,u=o.useRef(),[d,p]=o.useState(!1),{isFocusVisibleRef:f,onFocus:m,onBlur:g,ref:h}=sg(),[v,b]=o.useState(!1);t&&!n&&v&&b(!1),o.useEffect((()=>{f.current=v}),[v,f]);const[y,x]=function(e){const{rootElementName:t="",componentName:n}=e,[r,a]=o.useState(t.toUpperCase());"production"!==process.env.NODE_ENV&&o.useEffect((()=>{t&&r!==t.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${n?`the ${n} component`:"a component"} expected the '${t}' element, but a '${r.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")}),[t,r,n]);const i=o.useCallback((e=>{var t;a(null!=(t=null==e?void 0:e.tagName)?t:"")}),[]);return[r,i]}({rootElementName:null!=c?c:r||l?"a":void 0,componentName:"Button"}),w=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(u.current||(u.current=t.currentTarget),m(t),!0===f.current)&&(b(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},C=()=>{const e=u.current;return"BUTTON"===y||"INPUT"===y&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===y&&(null==e?void 0:e.href)},k=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},O=e=>n=>{var r;t||(p(!0),document.addEventListener("mouseup",(()=>{p(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},E=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||C()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||p(!0),n.target!==n.currentTarget||C()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},I=e=>n=>{var r,o;(n.target===n.currentTarget&&p(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||C()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},P=Qm(x,a,h,u),$={};void 0!==i&&($.tabIndex=i),"BUTTON"===y?($.type=null!=s?s:"button",n?$["aria-disabled"]=t:$.disabled=t):"INPUT"===y?s&&["button","submit","reset"].includes(s)&&(n?$["aria-disabled"]=t:$.disabled=t):""!==y&&(r||l||($.role="button",$.tabIndex=null!=i?i:0),t&&($["aria-disabled"]=t,$.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=xu({},Vh(e),Vh(t)),r=xu({type:s},n,$,t,{onBlur:(o=n,e=>{var t;g(e),!1===f.current&&b(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:k(n),onFocus:S(n),onKeyDown:E(n),onKeyUp:I(n),onMouseDown:O(n),onMouseLeave:w(n),ref:P});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:b,active:d,rootRef:P}}const Kh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Jh(e){const t=[],n=[];return Array.from(e.querySelectorAll(Kh)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Xh(){return!0}function Qh(t){const{children:n,disableAutoFocus:r=!1,disableEnforceFocus:a=!1,disableRestoreFocus:i=!1,getTabbable:l=Jh,isEnabled:s=Xh,open:c}=t,u=o.useRef(!1),d=o.useRef(null),p=o.useRef(null),f=o.useRef(null),m=o.useRef(null),g=o.useRef(!1),h=o.useRef(null),v=Qm(n.ref,h),b=o.useRef(null);o.useEffect((()=>{c&&h.current&&(g.current=!r)}),[r,c]),o.useEffect((()=>{if(!c||!h.current)return;const e=Wm(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||("production"!==process.env.NODE_ENV&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join("\n")),h.current.setAttribute("tabIndex","-1")),g.current&&h.current.focus()),()=>{i||(f.current&&f.current.focus&&(u.current=!0,f.current.focus()),f.current=null)}}),[c]),o.useEffect((()=>{if(!c||!h.current)return;const e=Wm(h.current),t=t=>{b.current=t,!a&&s()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(u.current=!0,p.current&&p.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!s()||u.current)return void(u.current=!1);if(t.contains(e.activeElement))return;if(a&&e.activeElement!==d.current&&e.activeElement!==p.current)return;if(e.activeElement!==m.current)m.current=null;else if(null!==m.current)return;if(!g.current)return;let n=[];if(e.activeElement!==d.current&&e.activeElement!==p.current||(n=l(h.current)),n.length>0){var r,o;const e=Boolean((null==(r=b.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=b.current)?void 0:o.key)),t=n[0],a=n[n.length-1];"string"!=typeof t&&"string"!=typeof a&&(e?a.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[r,a,i,s,c,l]);const y=e=>{null===f.current&&(f.current=e.relatedTarget),g.current=!0};return e.jsxs(o.Fragment,{children:[e.jsx("div",{tabIndex:c?0:-1,onFocus:y,ref:d,"data-testid":"sentinelStart"}),o.cloneElement(n,{ref:v,onFocus:e=>{null===f.current&&(f.current=e.relatedTarget),g.current=!0,m.current=e.target;const t=n.props.onFocus;t&&t(e)}}),e.jsx("div",{tabIndex:c?0:-1,onFocus:y,ref:p,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(Qh.propTypes={children:Mm,disableAutoFocus:Ga.bool,disableEnforceFocus:Ga.bool,disableRestoreFocus:Ga.bool,getTabbable:Ga.func,isEnabled:Ga.func,open:Ga.bool.isRequired}),"production"!==process.env.NODE_ENV&&(Qh.propTypes=Lm(Qh.propTypes));const Zh=o.createContext(void 0);function ev(e={}){const{defaultValue:t,disabled:n=!1,error:r=!1,onBlur:a,onChange:i,onFocus:l,required:s=!1,value:c,inputRef:u}=e,d=o.useContext(Zh);let p,f,m,g,h;var v,b,y;if(d){if(p=void 0,f=null!=(v=d.disabled)&&v,m=null!=(b=d.error)&&b,g=null!=(y=d.required)&&y,h=d.value,"production"!==process.env.NODE_ENV){const t=["defaultValue","disabled","error","required","value"].filter((t=>void 0!==e[t]));t.length>0&&console.warn(["MUI: You have set props on an input that is inside a FormControl.","Set these props on a FormControl instead. Otherwise they will be ignored.",`Ignored props: ${t.join(", ")}`].join("\n"))}}else p=t,f=n,m=r,g=s,h=c;const{current:x}=o.useRef(null!=h),w=o.useCallback((e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&!e.focus&&console.error(["MUI: You have provided a `slots.input` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join("\n"))}),[]),S=o.useRef(null),C=Qm(S,u,w),[k,O]=o.useState(!1);o.useEffect((()=>{!d&&f&&k&&(O(!1),null==a||a())}),[d,f,k,a]);const E=e=>t=>{var n,r;null!=d&&d.disabled?t.stopPropagation():(null==(n=e.onFocus)||n.call(e,t),d&&d.onFocus?null==d||null==(r=d.onFocus)||r.call(d):O(!0))},I=e=>(t,...n)=>{var r,o;if(!x){if(null==(t.target||S.current))throw new Error("production"!==process.env.NODE_ENV?"MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":yu(17))}null==d||null==(r=d.onChange)||r.call(d,t),null==(o=e.onChange)||o.call(e,t,...n)};return{disabled:f,error:m,focused:k,formControlContext:d,getInputProps:(e={})=>{const t=xu({},{onBlur:a,onChange:i,onFocus:l},Vh(e)),n=xu({},t,{onBlur:(r=t,e=>{var t;null==(t=r.onBlur)||t.call(r,e),d&&d.onBlur?d.onBlur():O(!1)}),onChange:I(t),onFocus:E(t)});var r;return xu({},n,{"aria-invalid":m||void 0,defaultValue:p,value:h,required:g,disabled:f},e,{ref:C},n)},getRootProps:(t={})=>{const n=xu({},Vh(e,["onBlur","onChange","onFocus"]),Vh(t));return xu({},t,n,{onClick:(r=n,e=>{var t;S.current&&e.currentTarget===e.target&&S.current.focus(),null==(t=r.onClick)||t.call(r,e)})});var r},inputRef:C,required:g,value:h}}"production"!==process.env.NODE_ENV&&(Zh.displayName="FormControlContext");const tv=o.forwardRef((function(t,n){const{children:r,container:i,disablePortal:l=!1}=t,[s,c]=o.useState(null),u=Qm(o.isValidElement(r)?r.ref:null,n);if(Rm((()=>{l||c(function(e){return"function"==typeof e?e():e}(i)||document.body)}),[i,l]),Rm((()=>{if(s&&!l)return qm(n,s),()=>{qm(n,null)}}),[n,s,l]),l){if(o.isValidElement(r)){const e={ref:u};return o.cloneElement(r,e)}return e.jsx(o.Fragment,{children:r})}return e.jsx(o.Fragment,{children:s?a.createPortal(r,s):s})}));function nv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function rv(e){return parseInt(Gm(e).getComputedStyle(e).paddingRight,10)||0}function ov(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&nv(e,o)}))}function av(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function iv(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=Wm(e);return t.body===e?Gm(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(Wm(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${rv(r)+e}px`;const t=Wm(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${rv(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=Wm(r).body;else{const t=r.parentElement,n=Gm(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}"production"!==process.env.NODE_ENV&&(tv.propTypes={children:Ga.node,container:Ga.oneOfType([Fm,Ga.func]),disablePortal:Ga.bool}),"production"!==process.env.NODE_ENV&&(tv.propTypes=Lm(tv.propTypes));const lv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&nv(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);ov(t,e.mount,e.modalRef,r,!0);const o=av(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=av(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=iv(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=av(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&nv(e.modalRef,t),ov(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&nv(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function sv(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:a=lv,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:p}=e,f=o.useRef({}),m=o.useRef(null),g=o.useRef(null),h=Qm(g,p),[v,b]=o.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const w=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),S=()=>{a.mount(w(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},C=Xm((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||Wm(m.current).body;a.add(w(),e),g.current&&S()})),k=o.useCallback((()=>a.isTopModal(w())),[a]),O=Xm((e=>{m.current=e,e&&(d&&k()?S():g.current&&nv(g.current,x))})),E=o.useCallback((()=>{a.remove(w(),x)}),[x,a]);o.useEffect((()=>()=>{E()}),[E]),o.useEffect((()=>{d?C():y&&i||E()}),[d,E,y,i,C]);const I=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},P=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Vh(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=xu({},n,t);return xu({role:"presentation"},r,{onKeyDown:I(r),ref:h})},getBackdropProps:(e={})=>xu({"aria-hidden":!0},e,{onClick:P(e),open:d}),getTransitionProps:()=>({onEnter:Bm((()=>{b(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:Bm((()=>{b(!0),s&&s(),i&&E()}),null==c?void 0:c.props.onExited)}),rootRef:h,portalRef:O,isTopModal:k,exited:v,hasTransition:y}}const cv="Popper";function uv(e){return Yh(cv,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=Yh(e,t)}))}(cv,["root"]);const dv=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],pv=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function fv(e){return"function"==typeof e?e():e}function mv(e){return void 0!==e.nodeType}const gv=()=>mg({root:["root"]},function(e){const{disableDefaultClasses:t}=o.useContext(Fh);return n=>t?"":e(n)}(uv)),hv={},vv=o.forwardRef((function(t,n){var r;const{anchorEl:a,children:i,direction:l,disablePortal:s,modifiers:c,open:u,placement:d,popperOptions:p,popperRef:f,slotProps:m={},slots:g={},TransitionProps:h}=t,v=_p(t,dv),b=o.useRef(null),y=Qm(b,n),x=o.useRef(null),w=Qm(x,f),S=o.useRef(w);Rm((()=>{S.current=w}),[w]),o.useImperativeHandle(f,(()=>x.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(d,l),[k,O]=o.useState(C),[E,I]=o.useState(fv(a));o.useEffect((()=>{x.current&&x.current.forceUpdate()})),o.useEffect((()=>{a&&I(fv(a))}),[a]),Rm((()=>{if(!E||!u)return;if("production"!==process.env.NODE_ENV&&E&&mv(E)&&1===E.nodeType){const e=E.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=xs(E,b.current,xu({placement:C},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[E,s,c,u,p,C]);const P={placement:k};null!==h&&(P.TransitionProps=h);const $=gv(),N=null!=(r=g.root)?r:"div",z=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=_p(e,Gh),l=a?{}:Bh(r,o),{props:s,internalRef:c}=Wh(xu({},i,{externalSlotProps:l}));return _h(n,xu({},s,{ref:Qm(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}({elementType:N,externalSlotProps:m.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:$.root});return e.jsx(N,xu({},z,{children:"function"==typeof i?i(P):i}))})),bv=o.forwardRef((function(t,n){const{anchorEl:r,children:a,container:i,direction:l="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:f=hv,popperRef:m,style:g,transition:h=!1,slotProps:v={},slots:b={}}=t,y=_p(t,pv),[x,w]=o.useState(!0);if(!c&&!d&&(!h||x))return null;let S;if(i)S=i;else if(r){const e=fv(r);S=e&&mv(e)?Wm(e).body:Wm(null).body}const C=d||!c||h&&!x?void 0:"none",k=h?{in:d,onEnter:()=>{w(!1)},onExited:()=>{w(!0)}}:void 0;return e.jsx(tv,{disablePortal:s,container:S,children:e.jsx(vv,xu({anchorEl:r,direction:l,disablePortal:s,modifiers:u,ref:n,open:h?!x:d,placement:p,popperOptions:f,popperRef:m,slotProps:v,slots:b},y,{style:xu({position:"fixed",top:0,left:0,display:C},g),TransitionProps:k,children:a}))})}));function yv(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function xv(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(bv.propTypes={anchorEl:jm(Ga.oneOfType([Fm,Ga.object,Ga.func]),(e=>{if(e.open){const t=fv(e.anchorEl);if(t&&mv(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!mv(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:Ga.oneOfType([Ga.node,Ga.func]),container:Ga.oneOfType([Fm,Ga.func]),direction:Ga.oneOf(["ltr","rtl"]),disablePortal:Ga.bool,keepMounted:Ga.bool,modifiers:Ga.arrayOf(Ga.shape({data:Ga.object,effect:Ga.func,enabled:Ga.bool,fn:Ga.func,name:Ga.any,options:Ga.object,phase:Ga.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Ga.arrayOf(Ga.string),requiresIfExists:Ga.arrayOf(Ga.string)})),open:Ga.bool.isRequired,placement:Ga.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:Ga.shape({modifiers:Ga.array,onFirstUpdate:Ga.func,placement:Ga.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:Ga.oneOf(["absolute","fixed"])}),popperRef:Vm,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),transition:Ga.bool});const wv=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let c=i?l.trim():l;n&&(c=c.toLowerCase()),t&&(c=yv(c));const u=c?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=yv(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),Sv=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function Cv(e){const{unstable_isActiveElementInListbox:t=Sv,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:l=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:p=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:g=!1,disableListWrap:h=!1,filterOptions:v=wv,filterSelectedOptions:b=!1,freeSolo:y=!1,getOptionDisabled:x,getOptionKey:w,getOptionLabel:S=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:C,handleHomeEndKeys:k=!e.freeSolo,id:O,includeInputInList:E=!1,inputValue:I,isOptionEqualToValue:P=((e,t)=>e===t),multiple:$=!1,onChange:N,onClose:z,onHighlightChange:R,onInputChange:T,onOpen:D,open:j,openOnFocus:A=!1,options:M,readOnly:_=!1,selectOnFocus:L=!e.freeSolo,value:F}=e,V=Km(O);let B=S;B=e=>{const t=S(e);if("string"!=typeof t){if("production"!==process.env.NODE_ENV){const n=void 0===t?"undefined":`${typeof t} (${t})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${n} instead of a string for ${JSON.stringify(e)}.`)}return String(t)}return t};const H=o.useRef(!1),W=o.useRef(!0),G=o.useRef(null),q=o.useRef(null),[Y,U]=o.useState(null),[K,J]=o.useState(-1),X=a?0:-1,Q=o.useRef(X),[Z,ee]=Jm({controlled:F,default:d,name:u}),[te,ne]=Jm({controlled:I,default:"",name:u,state:"inputValue"}),[re,oe]=o.useState(!1),ae=o.useCallback(((e,t)=>{if(!($?Z.length<t.length:null!==t)&&!s)return;let n;if($)n="";else if(null==t)n="";else{const e=B(t);n="string"==typeof e?e:""}te!==n&&(ne(n),T&&T(e,n,"reset"))}),[B,te,$,T,ne,s,Z]),[ie,le]=Jm({controlled:j,default:!1,name:u,state:"open"}),[se,ce]=o.useState(!0),ue=!$&&null!=Z&&te===B(Z),de=ie&&!_,pe=de?v(M.filter((e=>!b||!($?Z:[Z]).some((t=>null!==t&&P(e,t))))),{inputValue:ue&&se?"":te,getOptionLabel:B}):[],fe=(e=>{const t=o.useRef({});return o.useEffect((()=>{t.current=e})),t.current})({filteredOptions:pe,value:Z,inputValue:te});o.useEffect((()=>{const e=Z!==fe.value;re&&!e||y&&!e||ae(null,Z)}),[Z,ae,re,fe.value,y]);const me=ie&&pe.length>0&&!_;if("production"!==process.env.NODE_ENV&&null!==Z&&!y&&M.length>0){const e=($?Z:[Z]).filter((e=>!M.some((t=>P(t,e)))));e.length>0&&console.warn([`MUI: The value provided to ${u} is invalid.`,`None of the options match with \`${e.length>1?JSON.stringify(e):JSON.stringify(e[0])}\`.`,"You can use the `isOptionEqualToValue` prop to customize the equality test."].join("\n"))}const ge=Xm((e=>{-1===e?G.current.focus():Y.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{$&&K>Z.length-1&&(J(-1),ge(-1))}),[Z,$,K,ge]);const he=Xm((({event:e,index:t,reason:r="auto"})=>{if(Q.current=t,-1===t?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${V}-option-${t}`),R&&R(e,-1===t?null:pe[t],r),!q.current)return;const o=q.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=q.current;if("listbox"!==q.current.getAttribute("role")&&(a=q.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(C?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(C?1.3:0))}})),ve=Xm((({event:e,diff:t,direction:n="next",reason:o="auto"})=>{if(!de)return;const a=function(e,t){if(!q.current||e<0||e>=pe.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),o=!g&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%pe.length:(n-1+pe.length)%pe.length,n===e)return-1}}((()=>{const e=pe.length-1;if("reset"===t)return X;if("start"===t)return 0;if("end"===t)return e;const n=Q.current+t;return n<0?-1===n&&E?-1:h&&-1!==Q.current||Math.abs(t)>1?0:e:n>e?n===e+1&&E?-1:h||Math.abs(t)>1?e:0:n})(),n);if(he({index:a,reason:o,event:e}),r&&"reset"!==t)if(-1===a)G.current.value=te;else{const e=B(pe[a]);G.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&G.current.setSelectionRange(te.length,e.length)}})),be=o.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==Q.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===te&&($?Z.length===fe.value.length&&fe.value.every(((e,t)=>B(Z[t])===B(e))):(e=fe.value,t=Z,(e?B(e):"")===(t?B(t):"")))){const e=fe.filteredOptions[Q.current];if(e)return xv(pe,(t=>B(t)===B(e)))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=$?Z[0]:Z;if(0!==pe.length&&null!=t){if(q.current)if(null==t)Q.current>=pe.length-1?he({index:pe.length-1}):he({index:Q.current});else{const e=pe[Q.current];if($&&e&&-1!==xv(Z,(t=>P(e,t))))return;const n=xv(pe,(e=>P(e,t)));-1===n?ve({diff:"reset"}):he({index:n})}}else ve({diff:"reset"})}),[pe.length,!$&&Z,b,ve,he,de,te,$]),ye=Xm((e=>{qm(q,e),e&&be()}));"production"!==process.env.NODE_ENV&&o.useEffect((()=>{G.current&&"INPUT"===G.current.nodeName||(G.current&&"TEXTAREA"===G.current.nodeName?console.warn([`A textarea element was provided to ${u} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join("\n")):console.error([`MUI: Unable to find the input element. It was resolved to ${G.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"","useAutocomplete"===u?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join("\n")))}),[u]),o.useEffect((()=>{be()}),[be]);const xe=e=>{ie||(le(!0),ce(!0),D&&D(e))},we=(e,t)=>{ie&&(le(!1),z&&z(e,t))},Se=(e,t,n,r)=>{if($){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;N&&N(e,t,n,r),ee(t)},Ce=o.useRef(!1),ke=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if($){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>P(t,e)));e.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${e.length} matches.`].join("\n"))}const e=xv(a,(e=>P(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}ae(e,a),Se(e,a,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||we(e,o),(!0===l||"touch"===l&&Ce.current||"mouse"===l&&!Ce.current)&&G.current.blur()};const Oe=(e,t)=>{if(!$)return;""===te&&we(e,"toggleInput");let n=K;-1===K?""===te&&"previous"===t&&(n=Z.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Z.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Z.length||"previous"===t&&-1===n)return-1;const e=Y.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),J(n),ge(n)},Ee=e=>{H.current=!0,ne(""),T&&T(e,"","clear"),Se(e,$?[]:null,"clear")},Ie=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==K&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(J(-1),ge(-1)),229!==t.which))switch(t.key){case"Home":de&&k&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&k&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),xe(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),xe(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),xe(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),xe(t);break;case"ArrowLeft":Oe(t,"previous");break;case"ArrowRight":Oe(t,"next");break;case"Enter":if(-1!==Q.current&&de){const e=pe[Q.current],n=!!x&&x(e);if(t.preventDefault(),n)return;ke(t,e,"selectOption"),r&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else y&&""!==te&&!1===ue&&($&&t.preventDefault(),ke(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),we(t,"escape")):c&&(""!==te||$&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Ee(t));break;case"Backspace":if($&&!_&&""===te&&Z.length>0){const e=-1===K?Z.length-1:K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}break;case"Delete":if($&&!_&&""===te&&Z.length>0&&-1!==K){const e=K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}}},Pe=e=>{oe(!0),A&&!H.current&&xe(e)},$e=e=>{t(q)?G.current.focus():(oe(!1),W.current=!0,H.current=!1,i&&-1!==Q.current&&de?ke(e,pe[Q.current],"blur"):i&&y&&""!==te?ke(e,te,"blur","freeSolo"):s&&ae(e,Z),we(e,"blur"))},Ne=e=>{const t=e.target.value;te!==t&&(ne(t),ce(!1),T&&T(e,t,"input")),""===t?p||$||Se(e,null,"clear"):xe(e)},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&he({event:e,index:t,reason:"mouse"})},Re=e=>{he({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},Te=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ke(e,pe[t],"selectOption"),Ce.current=!1},De=e=>t=>{const n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})},je=e=>{ie?we(e,"toggleInput"):xe(e)},Ae=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==V&&e.preventDefault()},Me=e=>{e.currentTarget.contains(e.target)&&(G.current.focus(),L&&W.current&&G.current.selectionEnd-G.current.selectionStart==0&&G.current.select(),W.current=!1)},_e=e=>{m||""!==te&&ie||je(e)};let Le=y&&te.length>0;Le=Le||($?Z.length>0:null!==Z);let Fe=pe;if(C){const e=new Map;let t=!1;Fe=pe.reduce(((n,r,o)=>{const a=C(r);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(r):("production"!==process.env.NODE_ENV&&(e.get(a)&&!t&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),t=!0),e.set(a,!0)),n.push({key:o,index:o,group:a,options:[r]})),n}),[])}return m&&re&&$e(),{getRootProps:(e={})=>xu({"aria-owns":me?`${V}-listbox`:null},e,{onKeyDown:Ie(e),onMouseDown:Ae,onClick:Me}),getInputLabelProps:()=>({id:`${V}-label`,htmlFor:V}),getInputProps:()=>({id:V,value:te,onBlur:$e,onFocus:Pe,onChange:Ne,onMouseDown:_e,"aria-activedescendant":de?"":null,"aria-autocomplete":r?"both":"list","aria-controls":me?`${V}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:G,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ee}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:je}),getTagProps:({index:e})=>xu({key:e,"data-tag-index":e,tabIndex:-1},!_&&{onDelete:De(e)}),getListboxProps:()=>({role:"listbox",id:`${V}-listbox`,"aria-labelledby":`${V}-label`,ref:ye,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=($?Z:[Z]).some((e=>null!=e&&P(t,e))),o=!!x&&x(t);return{key:null!=(n=null==w?void 0:w(t))?n:B(t),tabIndex:-1,role:"option",id:`${V}-option-${e}`,onMouseMove:ze,onClick:Te,onTouchStart:Re,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:V,inputValue:te,value:Z,dirty:Le,expanded:de&&Y,popupOpen:de,focused:re||-1!==K,anchorEl:Y,setAnchorEl:U,focusedTag:K,groupedOptions:Fe}}const kv=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Ov=["component","slots","slotProps"],Ev=["component"];function Iv(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:l}=t,s=_p(t,kv),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=a,p=_p(a,Ov),f=u[e]||r,m=Bh(d[e],o),g=Wh(xu({className:n},s,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:m})),{props:{component:h},internalRef:v}=g,b=_p(g.props,Ev),y=Qm(v,null==m?void 0:m.ref,t.ref),x=i?i(b):{},w=xu({},o,x),S="root"===e?h||c:h,C=_h(f,xu({},"root"===e&&!c&&!u[e]&&l,"root"!==e&&!u[e]&&l,b,S&&{as:S},{ref:y}),w);return Object.keys(x).forEach((e=>{delete C[e]})),[f,C]}function Pv(e){return ph("MuiListItem",e)}const $v=fh("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),Nv=o.createContext(!1);"production"!==process.env.NODE_ENV&&(Nv.displayName="NestedListContext");const zv=o.createContext(!1);"production"!==process.env.NODE_ENV&&(zv.displayName="RowListContext");const Rv=o.createContext(!1);"production"!==process.env.NODE_ENV&&(Rv.displayName="WrapListContext");const Tv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Tv.displayName="ComponentListContext");const Dv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Dv.displayName="ListSubheaderContext");const jv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(jv.displayName="GroupListContext");const Av=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],Mv=$h("li")((({theme:e,ownerState:t})=>{var n;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",gap:"var(--ListItem-gap)",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},xu({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"var(--_ListItem-display)","&:not([hidden])":{"--_ListItem-display":"var(--_List-markerDisplay, flex)"},flex:"none",listStyleType:"var(--_List-markerType, disc)",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&xu({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:`var(--ListItem-stickyBackground, ${e.vars.palette.background.body})`},{[`.${$v.nested} > &`]:{"--_ListItem-display":"flex"}}),null==(n=e.variants[t.variant])?void 0:n[t.color]]})),_v=$h(Mv,{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Lv=$h("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1}))),Fv=$h("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"}))),Vv=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyListItem"}),a=o.useContext(jv),i=o.useContext(Tv),l=o.useContext(zv),s=o.useContext(Rv),c=o.useContext(Nv),{component:u,className:d,children:p,nested:f=!1,sticky:m=!1,variant:g="plain",color:h="neutral",startAction:v,endAction:b,role:y,slots:x={},slotProps:w={}}=r,S=_p(r,Av),[C,k]=o.useState(""),[O,E]=(null==i?void 0:i.split(":"))||["",""],I=u||(O&&!O.match(/^(ul|ol|menu)$/)?"div":void 0);let P="menu"===a?"none":void 0;i&&(P={menu:"none",menubar:"none",group:"presentation"}[E]),y&&(P=y);const $=xu({},r,{sticky:m,startAction:v,endAction:b,row:l,wrap:s,variant:g,color:h,nesting:c,nested:f,component:I,role:P}),N=(e=>{const{sticky:t,nested:n,nesting:r,variant:o,color:a}=e;return mg({root:["root",n&&"nested",r&&"nesting",t&&"sticky",a&&`color${Xp(a)}`,o&&`variant${Xp(o)}`],startAction:["startAction"],endAction:["endAction"]},Pv,{})})($),z=xu({},S,{component:I,slots:x,slotProps:w}),[R,T]=Iv("root",{additionalProps:{role:P},ref:n,className:om(N.root,d),elementType:_v,externalForwardedProps:z,ownerState:$}),[D,j]=Iv("startAction",{className:N.startAction,elementType:Lv,externalForwardedProps:z,ownerState:$}),[A,M]=Iv("endAction",{className:N.endAction,elementType:Fv,externalForwardedProps:z,ownerState:$});return e.jsx(Dv.Provider,{value:k,children:e.jsx(Nv.Provider,{value:!!f&&(C||!0),children:e.jsxs(R,xu({},T,{children:[v&&e.jsx(D,xu({},j,{children:v})),o.Children.map(p,((e,t)=>o.isValidElement(e)?o.cloneElement(e,xu({},0===t&&{"data-first-child":""},Hm(e,["ListItem"])&&{component:e.props.component||"div"})):e)),b&&e.jsx(A,xu({},M,{children:b}))]}))})})}));"production"!==process.env.NODE_ENV&&(Vv.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,endAction:Ga.node,nested:Ga.bool,role:Ga.string,slotProps:Ga.shape({endAction:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startAction:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({endAction:Ga.elementType,root:Ga.elementType,startAction:Ga.elementType}),startAction:Ga.node,sticky:Ga.bool,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),Vv.muiName="ListItem";const Bv={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};function Hv(t){const{children:n,nested:r,row:a=!1,wrap:i=!1}=t,l=e.jsx(zv.Provider,{value:a,children:e.jsx(Rv.Provider,{value:i,children:o.Children.map(n,((e,t)=>o.isValidElement(e)?o.cloneElement(e,xu({},0===t&&{"data-first-child":""},t===o.Children.count(n)-1&&{"data-last-child":""})):e))})});return void 0===r?l:e.jsx(Nv.Provider,{value:r,children:l})}const Wv=({theme:e,ownerState:t},n)=>{let r={};return t.sx&&(!function t(n){"function"==typeof n?t(n(e)):Array.isArray(n)?n.forEach((e=>{"boolean"!=typeof e&&t(e)})):"object"==typeof n&&(r=xu({},r,n))}(t.sx),n.forEach((t=>{const n=r[t];var o;"string"==typeof n||"number"==typeof n?"borderRadius"===t?r[t]="number"==typeof n?`${n}px`:(null==(o=e.vars)?void 0:o.radius[n])||n:-1!==["p","padding","m","margin"].indexOf(t)&&"number"==typeof n?r[t]=e.spacing(n):r[t]=n:r[t]="function"==typeof n?n(e):void 0}))),r};function Gv(e){return ph("MuiList",e)}const qv=fh("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]),Yv=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(Yv.displayName="RadioGroupContext");const Uv=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],Kv=$h("ul")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:a}=Wv({theme:e,ownerState:t},["p","padding","borderRadius"]);function i(n){return"sm"===n?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"3px","--ListItem-paddingX":t.marker?"3px":"0.5rem","--ListItem-gap":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===n?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.25rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":t.marker?"0.25rem":"0.75rem","--ListItem-gap":"0.625rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===n?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"2.75rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":t.marker?"0.5rem":"1rem","--ListItem-gap":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&xu({},i(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0},t.marker&&{paddingInlineStart:"calc(3ch - var(--_List-markerDeduct, 0px))"},{marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&xu({},i(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)"},t.marker&&{"--_List-markerDeduct":"1ch"},{"--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?xu({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"},t.marker&&{paddingInlineStart:"3ch"}),xu({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},t.marker&&{"--_List-markerDisplay":"list-item","--_List-markerType":t.marker,lineHeight:"calc(var(--ListItem-minHeight) - 2 * var(--ListItem-paddingY))"},{flexGrow:1,position:"relative"},null==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==a&&{"--List-radius":a},void 0!==r&&{"--List-padding":r},void 0!==o&&{"--List-padding":o})]})),Jv=$h(Kv,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xv=o.forwardRef((function(t,n){var r;const a=o.useContext(Nv),i=o.useContext(jv),l=o.useContext(Yv),s=Nh({props:t,name:"JoyList"}),{component:c,className:u,children:d,size:p,orientation:f="vertical",wrap:m=!1,variant:g="plain",color:h="neutral",role:v,slots:b={},slotProps:y={}}=s,x=_p(s,Uv),w=p||(null!=(r=t.size)?r:"md");let S;i&&(S="group"),l&&(S="presentation"),v&&(S=v);const C=xu({},s,{instanceSize:t.size,size:w,nesting:a,orientation:f,wrap:m,variant:g,color:h,role:S}),k=(e=>{const{variant:t,color:n,size:r,nesting:o,orientation:a,instanceSize:i}=e;return mg({root:["root",a,t&&`variant${Xp(t)}`,n&&`color${Xp(n)}`,!i&&!o&&r&&`size${Xp(r)}`,i&&`size${Xp(i)}`,o&&"nesting"]},Gv,{})})(C),O=xu({},x,{component:c,slots:b,slotProps:y}),[E,I]=Iv("root",{ref:n,className:om(k.root,u),elementType:Jv,externalForwardedProps:O,ownerState:C,additionalProps:{as:c,role:S,"aria-labelledby":"string"==typeof a?a:void 0}});return e.jsx(E,xu({},I,{children:e.jsx(Tv.Provider,{value:`${"string"==typeof c?c:""}:${S||""}`,children:e.jsx(Hv,{row:"horizontal"===f,wrap:m,children:d})})}))}));function Qv(e){return ph("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(Xv.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,marker:Ga.string,orientation:Ga.oneOf(["horizontal","vertical"]),role:Ga.string,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string]),wrap:Ga.bool});const Zv=fh("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]),eb=o.createContext("horizontal");"production"!==process.env.NODE_ENV&&(eb.displayName="ListItemButtonOrientationContext");const tb=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],nb=$h("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;return xu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch",gap:"var(--ListItem-gap)"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:xu({},e.focus.default,{zIndex:1})},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:active":null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],[`.${$v.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${Zv.selected}`]:xu({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${Zv.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},[`&.${Zv.disabled}`]:xu({},null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color])})})),rb=$h(nb,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>xu({},!e.row&&{[`&.${Zv.selected}`]:{fontWeight:t.vars.fontWeight.md}}))),ob=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyListItemButton"}),a=o.useContext(zv),{children:i,className:l,action:s,component:c="div",orientation:u="horizontal",role:d,selected:p=!1,color:f="neutral",variant:m="plain",slots:g={},slotProps:h={}}=r,v=_p(r,tb),b=o.useRef(null),y=Qm(b,n),{focusVisible:x,setFocusVisible:w,getRootProps:S}=Uh(xu({},r,{rootRef:y}));o.useImperativeHandle(s,(()=>({focusVisible:()=>{var e;w(!0),null==(e=b.current)||e.focus()}})),[w]);const C=xu({},r,{component:c,color:f,focusVisible:x,orientation:u,row:a,selected:p,variant:m}),k=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,selected:a,variant:i}=e,l=mg({root:["root",n&&"disabled",r&&"focusVisible",t&&`color${Xp(t)}`,a&&"selected",i&&`variant${Xp(i)}`]},Qv,{});return r&&o&&(l.root+=` ${o}`),l})(C),O=xu({},v,{component:c,slots:g,slotProps:h}),[E,I]=Iv("root",{ref:n,className:om(k.root,l),elementType:rb,externalForwardedProps:O,ownerState:C,getSlotProps:S});return e.jsx(eb.Provider,{value:u,children:e.jsx(E,xu({},I,{role:null!=d?d:I.role,children:i}))})}));function ab(e){return ph("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(ob.propTypes={action:Ga.oneOfType([Ga.func,Ga.shape({current:Ga.shape({focusVisible:Ga.func.isRequired})})]),autoFocus:Ga.bool,children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,focusVisibleClassName:Ga.string,orientation:Ga.oneOf(["horizontal","vertical"]),role:Ga.string,selected:Ga.bool,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),tabIndex:Ga.number,variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),fh("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);const ib=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],lb={sm:"xl",md:"xl2",lg:"xl3"},sb=$h("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n;return xu({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[lb[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[lb[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&xu({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`}))})),cb=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoySvgIcon"}),{children:a,className:i,color:l,component:s="svg",fontSize:c,htmlColor:u,inheritViewBox:d=!1,titleAccess:p,viewBox:f="0 0 24 24",size:m="md",slots:g={},slotProps:h={}}=r,v=_p(r,ib),b=o.isValidElement(a)&&"svg"===a.type,y=xu({},r,{color:l,component:s,size:m,instanceSize:t.size,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:f,hasSvgAsChild:b}),x=(e=>{const{color:t,size:n,fontSize:r}=e;return mg({root:["root",t&&"inherit"!==t&&`color${Xp(t)}`,n&&`size${Xp(n)}`,r&&`fontSize${Xp(r)}`]},ab,{})})(y),w=xu({},v,{component:s,slots:g,slotProps:h}),[S,C]=Iv("root",{ref:n,className:om(x.root,i),elementType:sb,externalForwardedProps:w,ownerState:y,additionalProps:xu({color:u,focusable:!1},p&&{role:"img"},!p&&{"aria-hidden":!0},!d&&{viewBox:f},b&&a.props)});return e.jsxs(S,xu({},C,{children:[b?a.props.children:a,p?e.jsx("title",{children:p}):null]}))}));function ub(t,n){function r(r,o){return e.jsx(cb,xu({"data-testid":`${n}Icon`,ref:o},r,{children:t}))}return"production"!==process.env.NODE_ENV&&(r.displayName=`${n}Icon`),r.muiName=cb.muiName,o.memo(o.forwardRef(r))}"production"!==process.env.NODE_ENV&&(cb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","inherit","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,fontSize:Ga.oneOfType([Ga.oneOf(["inherit","lg","md","sm","xl","xl2","xl3","xl4","xs"]),Ga.string]),htmlColor:Ga.string,inheritViewBox:Ga.bool,shapeRendering:Ga.string,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),titleAccess:Ga.string,viewBox:Ga.string});const db=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,pb="data-skip-inverted-colors",fb=`& :not([${pb}], [${pb}] *)`,mb=e=>{var t,n,r,o,a,i,l,s,c,u,d,p,f,m,g,h,v,b,y,x,w,S;const C=db(e.cssVarPrefix);return{"--variant-plainColor":"var(--variant-plainColor) !important","--variant-plainHoverColor":"var(--variant-plainHoverColor) !important","--variant-plainHoverBg":"var(--variant-plainHoverBg) !important","--variant-plainActiveBg":"var(--variant-plainActiveBg) !important","--variant-plainDisabledColor":"var(--variant-plainDisabledColor) !important","--variant-outlinedColor":"var(--variant-outlinedColor) !important","--variant-outlinedBorder":"var(--variant-outlinedBorder) !important","--variant-outlinedHoverColor":"var(--variant-outlinedHoverColor) !important","--variant-outlinedHoverBorder":"var(--variant-outlinedHoverBorder) !important","--variant-outlinedHoverBg":"var(--variant-outlinedHoverBg) !important","--variant-outlinedActiveBg":"var(--variant-outlinedActiveBg) !important","--variant-outlinedDisabledColor":"var(--variant-outlinedDisabledColor) !important","--variant-outlinedDisabledBorder":"var(--variant-outlinedDisabledBorder) !important","--variant-softColor":"var(--variant-softColor) !important","--variant-softHoverColor":"var(--variant-softHoverColor) !important","--variant-softBg":"var(--variant-softBg) !important","--variant-softHoverBg":"var(--variant-softHoverBg) !important","--variant-softActiveBg":"var(--variant-softActiveBg) !important","--variant-softActiveColor":"var(--variant-softActiveColor) !important","--variant-softDisabledColor":"var(--variant-softDisabledColor) !important","--variant-softDisabledBg":"var(--variant-softDisabledBg) !important","--variant-solidColor":"var(--variant-solidColor) !important","--variant-solidBg":"var(--variant-solidBg) !important","--variant-solidHoverBg":"var(--variant-solidHoverBg) !important","--variant-solidActiveBg":"var(--variant-solidActiveBg) !important","--variant-solidDisabledColor":"var(--variant-solidDisabledColor) !important","--variant-solidDisabledBg":"var(--variant-solidDisabledBg) !important","--Badge-ringColor":"var(--Badge-ringColor) !important",colorScheme:"unset",[e.getColorSchemeSelector("light")]:{[C("--palette-focusVisible")]:`${null==(t=e.colorSchemes.light)?void 0:t.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(n=e.colorSchemes.light)?void 0:n.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(r=e.colorSchemes.light)?void 0:r.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(o=e.colorSchemes.light)?void 0:o.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(a=e.colorSchemes.light)?void 0:a.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(i=e.colorSchemes.light)?void 0:i.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(l=e.colorSchemes.light)?void 0:l.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(s=e.colorSchemes.light)?void 0:s.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(c=e.colorSchemes.light)?void 0:c.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(u=e.colorSchemes.light)?void 0:u.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(d=e.colorSchemes.light)?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[C("--palette-focusVisible")]:`${null==(p=e.colorSchemes.dark)?void 0:p.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(f=e.colorSchemes.dark)?void 0:f.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(m=e.colorSchemes.dark)?void 0:m.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(g=e.colorSchemes.dark)?void 0:g.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(h=e.colorSchemes.dark)?void 0:h.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(v=e.colorSchemes.dark)?void 0:v.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(b=e.colorSchemes.dark)?void 0:b.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(y=e.colorSchemes.dark)?void 0:y.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(x=e.colorSchemes.dark)?void 0:x.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(w=e.colorSchemes.dark)?void 0:w.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(S=e.colorSchemes.dark)?void 0:S.palette.divider} !important`}}};var gb=ub(e.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),hb=ub(e.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const vb=o.createContext(void 0);function bb(e,t){let n=t,r=e;return"outlined"===e&&(n="neutral",r="plain"),"plain"===e&&(n="neutral"),{variant:r,color:n}}function yb(e,t,n=!1){const r=o.useContext(vb),[a,i]="string"==typeof r?r.split(":"):[],l=bb(a||void 0,i||void 0);return l.variant=e||l.variant,l.color=t||(n?i:l.color),l}function xb({children:t,color:n,variant:r}){return e.jsx(vb.Provider,{value:`${r||""}:${n||""}`,children:t})}function wb(e){return ph("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(vb.displayName="VariantColorContext"),fh("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","loading","loadingIndicator"]);const Sb=o.createContext({});"production"!==process.env.NODE_ENV&&(Sb.displayName="ButtonGroupContext");const Cb=o.createContext(void 0);function kb(e){return ph("MuiCircularProgress",e)}"production"!==process.env.NODE_ENV&&(Cb.displayName="ToggleButtonGroupContext"),fh("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);let Ob,Eb=e=>e;const Ib=["color","backgroundColor"],Pb=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],$b=function(){var e=xp.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}});function Nb(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}const zb=$h("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{var n,r,o,a;const i=(null==(n=t.variants[e.variant])?void 0:n[e.color])||{},{color:l,backgroundColor:s}=i,c=_p(i,Ib);return xu({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":s,"--CircularProgress-progressColor":l,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":Nb("track","3px"),"--_progress-thickness":Nb("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":Nb("track","6px"),"--_progress-thickness":Nb("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":Nb("track","8px"),"--_progress-thickness":Nb("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:l},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},c,"outlined"===e.variant&&{"&::before":xu({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},c)},"soft"===e.variant&&{"--CircularProgress-trackColor":t.variants.soft.neutral.backgroundColor,"--CircularProgress-progressColor":null==(r=t.variants.solid)?void 0:r[e.color].backgroundColor},"solid"===e.variant&&{"--CircularProgress-trackColor":null==(o=t.variants.softHover)?void 0:o[e.color].backgroundColor,"--CircularProgress-progressColor":null==(a=t.variants.solid)?void 0:a[e.color].backgroundColor})})),Rb=$h("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),Tb=$h("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),Db=$h("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},(({ownerState:e})=>!e.determinate&&xp(Ob||(Ob=Eb`
|
|
1046
|
-
animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running)
|
|
1047
|
-
${0};
|
|
1048
|
-
`),$b))),jb=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyCircularProgress"}),{children:o,className:a,color:i="primary",size:l="md",variant:s="soft",thickness:c,determinate:u=!1,value:d=(u?0:25),component:p,slots:f={},slotProps:m={}}=r,g=_p(r,Pb),h=xu({},r,{color:i,size:l,variant:s,thickness:c,value:d,determinate:u,instanceSize:t.size}),v=(e=>{const{determinate:t,color:n,variant:r,size:o}=e;return mg({root:["root",t&&"determinate",n&&`color${Xp(n)}`,r&&`variant${Xp(r)}`,o&&`size${Xp(o)}`],svg:["svg"],track:["track"],progress:["progress"]},kb,{})})(h),b=xu({},g,{component:p,slots:f,slotProps:m}),[y,x]=Iv("root",{ref:n,className:om(v.root,a),elementType:zb,externalForwardedProps:b,ownerState:h,additionalProps:xu({role:"progressbar",style:{"--CircularProgress-percent":d}},d&&u&&{"aria-valuenow":"number"==typeof d?Math.round(d):Math.round(Number(d||0))})}),[w,S]=Iv("svg",{className:v.svg,elementType:Rb,externalForwardedProps:b,ownerState:h}),[C,k]=Iv("track",{className:v.track,elementType:Tb,externalForwardedProps:b,ownerState:h}),[O,E]=Iv("progress",{className:v.progress,elementType:Db,externalForwardedProps:b,ownerState:h});return e.jsxs(y,xu({},x,{children:[e.jsxs(w,xu({},S,{children:[e.jsx(C,xu({},k)),e.jsx(O,xu({},E))]})),o]}))}));"production"!==process.env.NODE_ENV&&(jb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,determinate:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({progress:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),svg:Ga.oneOfType([Ga.func,Ga.object]),track:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({progress:Ga.elementType,root:Ga.elementType,svg:Ga.elementType,track:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),thickness:Ga.number,value:Ga.number,variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});const Ab=["children","action","component","color","disabled","variant","loading","loadingIndicator","size","slots","slotProps"],Mb=$h("button")((({theme:e,ownerState:t})=>{var n,r,o,a;return[xu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":{sm:"2rem",md:"2.25rem",lg:"2.75rem"}[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.25rem) / 1.5)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2.25rem)",minHeight:"var(--IconButton-size, 2.25rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.75rem) / 1.571)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 2.75rem)",minHeight:"var(--IconButton-size, 2.75rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:xu({"--Icon-color":"currentColor"},e.focus.default)}),xu({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":xu({"--Icon-color":"currentColor"},null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color])},'&:active, &[aria-pressed="true"]':xu({"--Icon-color":"currentColor"},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]),"&:disabled":null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]})),_b=$h(Mb,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Lb=$h("span",{name:"JoyIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e,ownerState:t})=>{var n,r;return xu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),Fb=o.forwardRef((function(t,n){var r;const a=Nh({props:t,name:"JoyIconButton"}),{children:i,action:l,component:s="button",color:c="neutral",disabled:u,variant:d="plain",loading:p=!1,loadingIndicator:f,size:m="md",slots:g={},slotProps:h={}}=a,v=_p(a,Ab),b=o.useContext(Sb),y=o.useContext(Cb),x=t.variant||b.variant||d,w=t.size||b.size||m,S=t.color||b.color||c,C=null!=(r=t.loading||t.disabled)?r:b.disabled||p||u,k=o.useRef(null),O=Qm(k,n),{focusVisible:E,setFocusVisible:I,getRootProps:P}=Uh(xu({},a,{disabled:C,rootRef:O})),$=null!=f?f:e.jsx(jb,{color:S,thickness:{sm:2,md:3,lg:4}[w]||3});o.useImperativeHandle(l,(()=>({focusVisible:()=>{var e;I(!0),null==(e=k.current)||e.focus()}})),[I]);const N=xu({},a,{component:s,color:S,disabled:C,variant:x,loading:p,size:w,focusVisible:E,instanceSize:t.size}),z=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,size:a,variant:i,loading:l}=e,s=mg({root:["root",n&&"disabled",r&&"focusVisible",i&&`variant${Xp(i)}`,t&&`color${Xp(t)}`,a&&`size${Xp(a)}`,l&&"loading"],loadingIndicator:["loadingIndicator"]},wb,{});return r&&o&&(s.root+=` ${o}`),s})(N);let R=a["aria-pressed"];"function"==typeof h.root?R=h.root(N)["aria-pressed"]:h.root&&(R=h.root["aria-pressed"]),null!=y&&y.value&&(R=Array.isArray(y.value)?-1!==y.value.indexOf(a.value):y.value===a.value);const T=xu({},v,{component:s,slots:g,slotProps:h}),[D,j]=Iv("root",{ref:n,className:z.root,elementType:_b,getSlotProps:P,externalForwardedProps:T,ownerState:N,additionalProps:{onClick:e=>{var t;let n=a.onClick;var r;("function"==typeof h.root?n=h.root(N).onClick:h.root&&(n=h.root.onClick),null==(t=n)||t(e),y)&&(null==(r=y.onClick)||r.call(y,e,a.value))},"aria-pressed":R}}),[A,M]=Iv("loadingIndicator",{className:z.loadingIndicator,elementType:Lb,externalForwardedProps:T,ownerState:N});return e.jsx(D,xu({},j,{children:p?e.jsx(A,xu({},M,{children:$})):i}))}));function Vb(e){return ph("MuiChip",e)}"production"!==process.env.NODE_ENV&&(Fb.propTypes={action:Ga.oneOfType([Ga.func,Ga.shape({current:Ga.shape({focusVisible:Ga.func.isRequired})})]),children:Ga.node,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,focusVisibleClassName:Ga.string,loading:Ga.bool,loadingIndicator:Ga.node,onClick:Ga.func,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({loadingIndicator:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({loadingIndicator:Ga.elementType,root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),tabIndex:Ga.number,value:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),Fb.muiName="IconButton";const Bb=fh("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),Hb=o.createContext({disabled:void 0,variant:void 0,color:void 0});"production"!==process.env.NODE_ENV&&(Hb.displayName="ChipColorContext");const Wb=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],Gb=$h("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o;const a=null==(n=e.variants[t.variant])?void 0:n[t.color],{borderRadius:i}=Wv({theme:e,ownerState:t},["borderRadius"]);return[xu({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--Icon-color":"currentColor","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-paddingInline":"0.375rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.sm,"--_Chip-minHeight":"var(--Chip-minHeight, 1.25rem)",gap:"3px"},"md"===t.size&&{"--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.25rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.md,"--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",gap:"0.25rem"},"lg"===t.size&&{"--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.375rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.lg,"--_Chip-minHeight":"var(--Chip-minHeight, 1.75rem)",gap:"0.375rem"},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",maxWidth:"max-content",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box"},e.typography[`body-${{sm:"xs",md:"sm",lg:"md"}[t.size]}`],{fontWeight:e.vars.fontWeight.md,[`&.${Bb.disabled}`]:{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==a?void 0:a.color}]:[xu({backgroundColor:e.vars.palette.background.surface},a,{[`&.${Bb.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]})],void 0!==i&&{"--_Chip-radius":i}]})),qb=$h("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})((({ownerState:e})=>xu({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"}))),Yb=$h("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})((({theme:e,ownerState:t})=>{var n,r,o,a;return[{"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,width:"100%",border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},xu({backgroundColor:e.vars.palette.background.surface},null==(n=e.variants[t.variant])?void 0:n[t.color]),{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]}},{"&:active":null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]},{[`&.${Bb.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]}]})),Ub=$h("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--IconButton-margin":"0 calc(-1 * var(--Chip-paddingInline) / 3) 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",order:0,zIndex:1,pointerEvents:"none"}),Kb=$h("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--IconButton-margin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 calc(-1 * var(--Chip-paddingInline) / 3)","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",order:2,zIndex:1,pointerEvents:"none"}),Jb=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyChip"}),{children:a,className:i,color:l="neutral",onClick:s,disabled:c=!1,size:u="md",variant:d="soft",startDecorator:p,endDecorator:f,component:m,slots:g={},slotProps:h={}}=r,v=_p(r,Wb),b=!!s||!!h.action,y=xu({},r,{disabled:c,size:u,color:l,variant:d,clickable:b,focusVisible:!1}),x="function"==typeof h.action?h.action(y):h.action,w=o.useRef(null),{focusVisible:S,getRootProps:C}=Uh(xu({},x,{disabled:c,rootRef:w}));y.focusVisible=S;const k=(e=>{const{disabled:t,size:n,color:r,clickable:o,variant:a,focusVisible:i}=e;return mg({root:["root",t&&"disabled",r&&`color${Xp(r)}`,n&&`size${Xp(n)}`,a&&`variant${Xp(a)}`,o&&"clickable"],action:["action",t&&"disabled",i&&"focusVisible"],label:["label",n&&`label${Xp(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},Vb,{})})(y),O=xu({},v,{component:m,slots:g,slotProps:h}),[E,I]=Iv("root",{ref:n,className:om(k.root,i),elementType:Gb,externalForwardedProps:O,ownerState:y}),[P,$]=Iv("label",{className:k.label,elementType:qb,externalForwardedProps:O,ownerState:y}),N=Km($.id),[z,R]=Iv("action",{className:k.action,elementType:Yb,externalForwardedProps:O,ownerState:y,getSlotProps:C,additionalProps:{"aria-labelledby":N,as:null==x?void 0:x.component,onClick:s}}),[T,D]=Iv("startDecorator",{className:k.startDecorator,elementType:Ub,externalForwardedProps:O,ownerState:y}),[j,A]=Iv("endDecorator",{className:k.endDecorator,elementType:Kb,externalForwardedProps:O,ownerState:y}),M=o.useMemo((()=>({disabled:c})),[c]);return e.jsx(Hb.Provider,{value:M,children:e.jsx(xb,{variant:d,color:l,children:e.jsxs(E,xu({},I,{children:[b&&e.jsx(z,xu({},R)),e.jsx(P,xu({},$,{id:N,children:a})),p&&e.jsx(T,xu({},D,{children:p})),f&&e.jsx(j,xu({},A,{children:f}))]}))})})}));"production"!==process.env.NODE_ENV&&(Jb.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,endDecorator:Ga.node,onClick:Ga.func,size:Ga.oneOfType([Ga.oneOf(["lg","md","sm"]),Ga.string]),slotProps:Ga.shape({action:Ga.oneOfType([Ga.func,Ga.object]),endDecorator:Ga.oneOfType([Ga.func,Ga.object]),label:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startDecorator:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({action:Ga.elementType,endDecorator:Ga.elementType,label:Ga.elementType,root:Ga.elementType,startDecorator:Ga.elementType}),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});var Xb,Qb=ub(e.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Cancel");function Zb(e){return ph("MuiChipDelete",e)}fh("MuiChipDelete",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSolid","variantSoft","variantOutlined"]);const ey=["children","variant","color","disabled","onKeyDown","onDelete","onClick","component","slots","slotProps"],ty=["onDelete"],ny=$h(Mb,{name:"JoyChipDelete",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({"--IconButton-size":"var(--Chip-deleteSize, 2rem)","--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.3)",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px",pointerEvents:"visible",borderRadius:"var(--Chip-deleteRadius, 50%)",zIndex:1,padding:0}))),ry=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyChipDelete"}),{children:a,variant:i="plain",color:l="neutral",disabled:s,onKeyDown:c,onDelete:u,onClick:d,component:p,slots:f={},slotProps:m={}}=r,g=_p(r,ey),h=o.useContext(Hb),{variant:v=i,color:b=l}=yb(t.variant,t.color,!0),y=t.color||b,x=null!=s?s:h.disabled,w=Qm(o.useRef(null),n),{focusVisible:S,getRootProps:C}=Uh(xu({},r,{disabled:x,rootRef:w})),k=xu({},r,{disabled:x,variant:v,color:y,focusVisible:S}),O=(e=>{const{focusVisible:t,variant:n,color:r,disabled:o}=e;return mg({root:["root",o&&"disabled",t&&"focusVisible",n&&`variant${Xp(n)}`,r&&`color${Xp(r)}`]},Zb,{})})(k),E=xu({},g,{component:p,slots:f,slotProps:m}),[I,P]=Iv("root",{ref:n,elementType:ny,getSlotProps:C,externalForwardedProps:E,ownerState:k,additionalProps:{as:p,onKeyDown:e=>{["Backspace","Enter","Delete"].includes(e.key)&&(e.preventDefault(),!x&&u&&u(e)),c&&c(e)},onClick:e=>{!x&&u&&u(e),d&&d(e)}},className:O.root}),$=_p(P,ty);return e.jsx(I,xu({},$,{children:null!=a?a:Xb||(Xb=e.jsx(Qb,{}))}))}));function oy(e){return ph("MuiInput",e)}"production"!==process.env.NODE_ENV&&(ry.propTypes={children:Ga.node,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,disabled:Ga.bool,onClick:Ga.func,onDelete:Ga.func,onKeyDown:Ga.func,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});const ay=fh("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]),iy=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(iy.displayName="FormControlContext");const ly=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","disabledInProp","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];const sy=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],cy=$h("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;const s=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color];return[xu({"--Input-radius":e.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.64,"--Input-decoratorColor":e.vars.palette.text.icon,"--Input-focused":"0","--Input-focusedThickness":e.vars.focus.thickness,"--Input-focusedHighlight":null==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[500],[`&:not([${pb}])`]:xu({},t.instanceColor&&{"--_Input-focusedHighlight":null==(o=e.vars.palette["neutral"===t.instanceColor?"primary":t.instanceColor])?void 0:o[500]},{"--Input-focusedHighlight":`var(--_Input-focusedHighlight, ${e.vars.palette.focusVisible})`})},"sm"===t.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Input-minHeight":"2.25rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(1.75rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Input-minHeight":"2.75rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.25rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--Button-paddingBlock":"0px","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Input-minHeight)"},t.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),{"&:hover":xu({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null}),[`&.${ay.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Input-focused":"1"}}]})),uy=$h("input")((({ownerState:e})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":xu({paddingInline:"var(--Input-paddingInline)"},!e.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!e.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}}))),dy=$h("div")({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),py=$h("div")({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),fy=$h(cy,{name:"JoyInput",slot:"Root",overridesResolver:(e,t)=>t.root})({}),my=$h(uy,{name:"JoyInput",slot:"Input",overridesResolver:(e,t)=>t.input})({}),gy=$h(dy,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),hy=$h(py,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({}),vy=o.forwardRef((function(t,n){var r,a,i,l,s,c;const u=Nh({props:t,name:"JoyInput"}),d=function(e,t){var n;const r=o.useContext(iy),{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,className:u,defaultValue:d,disabled:p,disabledInProp:f,error:m,id:g,name:h,onClick:v,onChange:b,onKeyDown:y,onKeyUp:x,onFocus:w,onBlur:S,placeholder:C,readOnly:k,required:O,type:E,value:I}=e,P=_p(e,ly),{getRootProps:$,getInputProps:N,focused:z,error:R,disabled:T}=ev({disabled:null!=(n=null!=f?f:null==r?void 0:r.disabled)?n:p,defaultValue:d,error:m,onBlur:S,onClick:v,onChange:b,onFocus:w,required:null!=O?O:null==r?void 0:r.required,value:I});return xu({formControl:r,propsToForward:{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,disabled:T,id:g,onKeyDown:y,onKeyUp:x,name:h,placeholder:C,readOnly:k,type:E},rootStateClasses:{[t.disabled]:T,[t.error]:R,[t.focused]:z,[t.formControl]:Boolean(r),[u]:u},inputStateClasses:{[t.disabled]:T},getRootProps:$,getInputProps:N,focused:z,error:R,disabled:T},P)}(xu({},u,{disabledInProp:t.disabled}),ay),{propsToForward:p,rootStateClasses:f,inputStateClasses:m,getRootProps:g,getInputProps:h,formControl:v,focused:b,error:y=!1,disabled:x,fullWidth:w=!1,size:S="md",color:C="neutral",variant:k="outlined",startDecorator:O,endDecorator:E,component:I,slots:P={},slotProps:$={}}=d,N=_p(d,sy);if("production"!==process.env.NODE_ENV){const e=null==v?void 0:v.registerEffect;o.useEffect((()=>{if(e)return e()}),[e])}const z=null!=(r=null!=(a=t.error)?a:null==v?void 0:v.error)?r:y,R=null!=(i=null!=(l=t.size)?l:null==v?void 0:v.size)?i:S,T=null!=(s=t.color)?s:z?"danger":null!=(c=null==v?void 0:v.color)?c:C,D=xu({instanceColor:z?"danger":t.color},u,{fullWidth:w,color:T,disabled:x,error:z,focused:b,size:R,variant:k}),j=(e=>{const{disabled:t,fullWidth:n,variant:r,color:o,size:a}=e;return mg({root:["root",t&&"disabled",n&&"fullWidth",r&&`variant${Xp(r)}`,o&&`color${Xp(o)}`,a&&`size${Xp(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},oy,{})})(D),A=xu({},N,{component:I,slots:P,slotProps:$}),[M,_]=Iv("root",{ref:n,className:[j.root,f],elementType:fy,getSlotProps:g,externalForwardedProps:A,ownerState:D}),[L,F]=Iv("input",xu({},v&&{additionalProps:{id:v.htmlFor,"aria-describedby":v["aria-describedby"]}},{className:[j.input,m],elementType:my,getSlotProps:h,internalForwardedProps:p,externalForwardedProps:A,ownerState:D})),[V,B]=Iv("startDecorator",{className:j.startDecorator,elementType:gy,externalForwardedProps:A,ownerState:D}),[H,W]=Iv("endDecorator",{className:j.endDecorator,elementType:hy,externalForwardedProps:A,ownerState:D});return e.jsxs(M,xu({},_,{children:[O&&e.jsx(V,xu({},B,{children:O})),e.jsx(L,xu({},F)),E&&e.jsx(H,xu({},W,{children:E}))]}))}));function by(e){return ph("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(vy.propTypes={autoComplete:Ga.string,autoFocus:Ga.bool,children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),defaultValue:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),disabled:Ga.bool,endDecorator:Ga.node,error:Ga.bool,fullWidth:Ga.bool,id:Ga.string,name:Ga.string,onChange:Ga.func,placeholder:Ga.string,readOnly:Ga.bool,required:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),value:Ga.oneOfType([Ga.arrayOf(Ga.string),Ga.number,Ga.string]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])}),fh("MuiListSubheader",["root","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const yy=["component","className","children","id","sticky","variant","color","slots","slotProps"],xy=$h("div",{name:"JoyListSubheader",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r;return xu({boxSizing:"border-box",display:"flex",alignItems:"center",marginInline:"var(--ListItem-marginInline)",paddingBlock:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)",minBlockSize:"var(--ListItem-minHeight)"},e.typography["body-xs"],{fontSize:"max(0.75em, 0.625rem)",textTransform:"uppercase",letterSpacing:"0.1em"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:"var(--ListItem-stickyBackground)"},{color:t.color?`var(--_Link-color, rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1))`:e.vars.palette.text.tertiary},t.instanceColor&&{[`&:not([${pb}])`]:{"--_Link-color":e.vars.palette.text.secondary}},null==(r=e.variants[t.variant])?void 0:r[t.color])})),wy=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyListSubheader"}),{component:a,className:i,children:l,id:s,sticky:c=!1,variant:u,color:d,slots:p={},slotProps:f={}}=r,m=_p(r,yy),g=Km(s),h=o.useContext(Dv);o.useEffect((()=>{h&&h(g||"")}),[h,g]);const v=xu({instanceColor:t.color},r,{id:g,sticky:c,variant:u,color:u?null!=d?d:"neutral":d}),b=(e=>{const{variant:t,color:n,sticky:r}=e;return mg({root:["root",r&&"sticky",n&&`color${Xp(n)}`,t&&`variant${Xp(t)}`]},by,{})})(v),y=xu({},m,{component:a,slots:p,slotProps:f}),[x,w]=Iv("root",{ref:n,className:om(b.root,i),elementType:xy,externalForwardedProps:y,ownerState:v,additionalProps:{as:a,id:g}});return e.jsx(x,xu({},w,{children:l}))}));function Sy(e){return ph("MuiAutocomplete",e)}"production"!==process.env.NODE_ENV&&(wy.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,id:Ga.string,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sticky:Ga.bool,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["outlined","plain","soft","solid"]),Ga.string])});const Cy=fh("MuiAutocomplete",["root","wrapper","input","startDecorator","endDecorator","formControl","focused","disabled","error","multiple","limitTag","hasPopupIcon","hasClearIcon","clearIndicator","popupIndicator","popupIndicatorOpen","listbox","option","loading","noOptions","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);function ky(e){return ph("MuiAutocompleteListbox",e)}fh("MuiAutocompleteListbox",["root","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const Oy=["anchorEl","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],Ey=["children","className","component","color","variant","size","slots","slotProps"],Iy=$h(Kv)((({theme:e,ownerState:t})=>{var n;const r=null==(n=e.variants[t.variant])?void 0:n[t.color];return xu({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==r?void 0:r.backgroundColor)||(null==r?void 0:r.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},Bv,{boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`},!(null!=r&&r.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup},{zIndex:e.vars.zIndex.popup,overflow:"auto",maxHeight:"40vh",position:"relative","&:empty":{visibility:"hidden"},[`& .${$v.nested}, & .${$v.nested} .${qv.root}`]:{position:"initial"}})})),Py=$h(Iy,{name:"JoyAutocompleteListbox",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$y=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyAutocompleteListbox"}),{children:o,className:a,component:i,color:l="neutral",variant:s="outlined",size:c="md",slots:u={},slotProps:d={}}=r,p=_p(r,Ey),f=xu({},r,{size:c,color:l,variant:s,nesting:!1,row:!1,wrap:!1}),m=(e=>_p(e,Oy))(p),g=(e=>{const{variant:t,color:n,size:r}=e;return mg({root:["root",t&&`variant${Xp(t)}`,n&&`color${Xp(n)}`,r&&`size${Xp(r)}`]},ky,{})})(f),h=xu({},m,{component:i,slots:u,slotProps:d}),[v,b]=Iv("root",{ref:n,className:om(g.root,a),elementType:Py,externalForwardedProps:h,ownerState:f,additionalProps:{role:"listbox"}});return e.jsx(xb,{variant:s,color:l,children:e.jsx(v,xu({},b,{children:o}))})}));function Ny(e){return ph("MuiAutocompleteOption",e)}"production"!==process.env.NODE_ENV&&($y.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,size:Ga.oneOf(["sm","md","lg"]),slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["contained","light","outlined","text"]),Ga.string])}),fh("MuiAutocompleteOption",["root","focused","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const zy=["children","component","color","variant","className","slots","slotProps"],Ry=$h(nb)((({theme:e,ownerState:t})=>{var n,r;return{'&[aria-disabled="true"]':null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color],'&[aria-selected="true"]':xu({},null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],{fontWeight:e.vars.fontWeight.md})}})),Ty=$h(Ry,{name:"JoyAutocompleteOption",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Dy=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyAutocompleteOption"}),{children:o,component:a="li",color:i="neutral",variant:l="plain",className:s,slots:c={},slotProps:u={}}=r,d=_p(r,zy),{variant:p=l,color:f=i}=yb(t.variant,t.color),m=xu({},r,{component:a,color:f,variant:p}),g=(e=>{const{color:t,variant:n}=e;return mg({root:["root",t&&`color${Xp(t)}`,n&&`variant${Xp(n)}`]},Ny,{})})(m),h=xu({},d,{component:a,slots:c,slotProps:u}),[v,b]=Iv("root",{ref:n,className:om(g.root,s),elementType:Ty,externalForwardedProps:h,ownerState:m,additionalProps:{as:a,role:"option"}});return e.jsx(v,xu({},b,{children:o}))}));var jy,Ay;"production"!==process.env.NODE_ENV&&(Dy.propTypes={children:Ga.node,className:Ga.string,color:Ga.oneOfType([Ga.oneOf(["danger","neutral","primary","success","warning"]),Ga.string]),component:Ga.elementType,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),variant:Ga.oneOfType([Ga.oneOf(["contained","light","outlined","text"]),Ga.string])});const My=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoHighlight","autoSelect","autoFocus","blurOnSelect","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","defaultValue","disableCloseOnSelect","disabledItemsFocusable","disableListWrap","disableClearable","disabled","endDecorator","error","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","handleHomeEndKeys","includeInputInList","isOptionEqualToValue","groupBy","id","inputValue","limitTags","loading","loadingText","multiple","name","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","placeholder","popupIcon","readOnly","renderGroup","renderOption","renderTags","required","type","startDecorator","size","color","variant","value","component","selectOnFocus","slots","slotProps"],_y=["onDelete"],Ly=["onBlur","onFocus","onMouseDown"],Fy=e=>null!==e.current&&e.current.contains(document.activeElement),Vy=e=>{var t;return null!=(t=e.label)?t:e},By=e=>`+${e}`,Hy=t=>e.jsxs(Vv,{nested:!0,children:[e.jsx(wy,{sticky:!0,children:t.group}),e.jsx(Xv,{children:t.children})]},t.key),Wy=$h(cy,{name:"JoyAutocomplete",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>xu({},"sm"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"md"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"lg"===e.size&&{"--Autocomplete-wrapperGap":"4px"},{"@media (pointer: fine)":{[`&:hover .${Cy.clearIndicator}`]:{visibility:"visible"}}},e.multiple&&!e.startDecorator&&{paddingInlineStart:0}))),Gy=$h("div",{name:"JoyAutocomplete",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>({flex:1,minWidth:0,display:"flex",alignItems:"center",flexWrap:"wrap",gap:"var(--Autocomplete-wrapperGap)",[`&.${Cy.multiple}`]:xu({paddingBlock:"var(--Autocomplete-wrapperGap)"},!e.startDecorator&&{paddingInlineStart:"var(--Autocomplete-wrapperGap)"},!e.endDecorator&&{paddingInlineEnd:"var(--Autocomplete-wrapperGap)"})}))),qy=$h(uy,{name:"JoyAutocomplete",slot:"Input",overridesResolver:(e,t)=>t.input})((({ownerState:e})=>xu({minWidth:30,minHeight:"var(--Chip-minHeight)"},e.multiple&&{marginInlineStart:"calc(var(--Autocomplete-wrapperGap) * 2.5)"}))),Yy=$h(dy,{name:"JoyAutocomplete",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),Uy=$h(py,{name:"JoyAutocomplete",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})((({ownerState:e})=>xu({},(e.hasClearIcon||e.hasPopupIcon)&&{"--Button-margin":"0px","--IconButton-margin":"0px","--Icon-margin":"0px"}))),Ky=$h(Mb,{name:"JoyAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})((({ownerState:e})=>xu({alignSelf:"center"},!e.hasPopupIcon&&{marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)"},{marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",visibility:e.focused?"visible":"hidden"}))),Jy=$h(Mb,{name:"JoyAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>t.popupIndicator})({alignSelf:"center",marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)",[`&.${Cy.popupIndicatorOpen}`]:{transform:"rotate(180deg)","--Icon-color":"currentColor"}}),Xy=$h(Iy,{name:"JoyAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`}))),Qy=$h(Ry,{name:"JoyAutocomplete",slot:"Option",overridesResolver:(e,t)=>t.option})({}),Zy=$h(Vv,{name:"JoyAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),ex=$h(Vv,{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),tx=$h("div",{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})({marginInlineStart:"calc(var(--Input-paddingInline) / 2)",marginBlockStart:"var(--_Input-paddingBlock)"}),nx=o.forwardRef((function(t,n){var r,a,i,l,s,c,u;const d=Nh({props:t,name:"JoyAutocomplete"}),{"aria-describedby":p,"aria-label":f,"aria-labelledby":m,autoFocus:g,clearIcon:h=jy||(jy=e.jsx(gb,{fontSize:"md"})),clearText:v="Clear",closeText:b="Close",disableClearable:y=!1,disabled:x,endDecorator:w,error:S=!1,forcePopupIcon:C="auto",freeSolo:k=!1,getLimitTagsText:O=By,getOptionLabel:E=Vy,groupBy:I,id:P,limitTags:$=-1,loading:N=!1,loadingText:z="Loading…",multiple:R=!1,name:T,noOptionsText:D="No options",openText:j="Open",placeholder:A,popupIcon:M=Ay||(Ay=e.jsx(hb,{})),readOnly:_=!1,renderGroup:L=Hy,renderOption:F,renderTags:V,required:B,type:H,startDecorator:W,size:G="md",color:q="neutral",variant:Y="outlined",component:U,slots:K={},slotProps:J={}}=d,X=_p(d,My),Q=o.useContext(iy),Z=null!=(r=null!=(a=t.error)?a:null==Q?void 0:Q.error)?r:S,ee=null!=(i=null!=(l=t.size)?l:null==Q?void 0:Q.size)?i:G,te=null!=(s=t.color)?s:Z?"danger":null!=(c=null==Q?void 0:Q.color)?c:q,ne=null!=(u=null!=x?x:null==Q?void 0:Q.disabled)&&u,{getRootProps:re,getInputProps:oe,getPopupIndicatorProps:ae,getClearProps:ie,getTagProps:le,getListboxProps:se,getOptionProps:ce,value:ue,dirty:de,popupOpen:pe,focused:fe,focusedTag:me,anchorEl:ge,setAnchorEl:he,inputValue:ve,groupedOptions:be}=Cv(xu({},d,{id:null!=P?P:null==Q?void 0:Q.htmlFor,componentName:"Autocomplete",unstable_classNamePrefix:"Mui",unstable_isActiveElementInListbox:Fy})),{onMouseDown:ye}=oe(),{onClick:xe}=re(),we=!y&&!ne&&de&&!_,Se=(!k||!0===C)&&!1!==C,Ce=xu({instanceColor:t.color},d,{value:ue,disabled:ne,focused:fe,getOptionLabel:E,hasOptions:!!be.length,hasClearIcon:we,hasPopupIcon:Se,inputFocused:-1===me,popupOpen:pe,size:ee,color:te,variant:Y}),ke=(e=>{const{disabled:t,focused:n,hasClearIcon:r,hasPopupIcon:o,popupOpen:a,variant:i,color:l,size:s,multiple:c}=e;return mg({root:["root",n&&"focused",r&&"hasClearIcon",o&&"hasPopupIcon",i&&`variant${Xp(i)}`,l&&`color${Xp(l)}`,s&&`size${Xp(s)}`],wrapper:["wrapper",c&&"multiple"],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",a&&"popupIndicatorOpen",t&&"disabled"],listbox:["listbox"],option:["option"],loading:["loading"],noOptions:["noOptions"],limitTag:["limitTag"]},Sy,{})})(Ce),Oe=xu({},X,{component:U,slots:K,slotProps:J});let Ee;if(R&&ue.length>0){const t=e=>{const t=le(e),{onDelete:n}=t,r=_p(t,_y);return xu({disabled:ne,size:ee,onClick:n},r)};Ee=V?V(ue,t,Ce):ue.map(((n,r)=>e.jsx(Jb,{size:ee,variant:"soft",color:"neutral",endDecorator:e.jsx(ry,xu({},t({index:r}))),sx:{minWidth:0},children:E(n)},r)))}const Ie=Qm(n,he),Pe={[Cy.disabled]:ne,[Cy.error]:Z,[Cy.focused]:fe,[Cy.formControl]:Boolean(Q)},[$e,Ne]=Iv("root",{ref:Ie,className:[ke.root,Pe],elementType:Wy,externalForwardedProps:Oe,ownerState:Ce,getSlotProps:re,additionalProps:{onClick:e=>{xe&&xe(e),e.currentTarget===e.target&&ye&&ye(e)}}}),[ze,Re]=Iv("wrapper",{className:ke.wrapper,elementType:Gy,externalForwardedProps:Oe,ownerState:Ce}),Te={[Cy.disabled]:ne},[De,je]=Iv("input",{className:[ke.input,Te],elementType:qy,getSlotProps:e=>{const t=oe(),{onBlur:n,onFocus:r,onMouseDown:o}=t;return xu({},_p(t,Ly),{onBlur:t=>{var r;null==n||n(t),null==(r=e.onBlur)||r.call(e,t)},onFocus:t=>{var n;null==r||r(t),null==(n=e.onFocus)||n.call(e,t)},onMouseDown:t=>{var n;null==o||o(t),null==(n=e.onMouseDown)||n.call(e,t)}})},externalForwardedProps:Oe,ownerState:Ce,additionalProps:{autoFocus:g,placeholder:A,name:T,readOnly:_,disabled:ne,required:null!=B?B:null==Q?void 0:Q.required,type:H,"aria-invalid":Z||void 0,"aria-label":f,"aria-labelledby":m,"aria-describedby":null!=p?p:null==Q?void 0:Q["aria-describedby"]}}),[Ae,Me]=Iv("startDecorator",{className:ke.startDecorator,elementType:Yy,externalForwardedProps:Oe,ownerState:Ce}),[_e,Le]=Iv("endDecorator",{className:ke.endDecorator,elementType:Uy,externalForwardedProps:Oe,ownerState:Ce}),[Fe,Ve]=Iv("clearIndicator",{className:ke.clearIndicator,elementType:Ky,getSlotProps:ie,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({size:e.size||ee,variant:e.variant||bb(Y,te).variant||"plain",color:e.color||bb(Y,te).color||"neutral",disableColorInversion:!!t.color}),additionalProps:{"aria-label":v,title:v}}),[Be,He]=Iv("popupIndicator",{className:ke.popupIndicator,elementType:Jy,getSlotProps:ae,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({size:e.size||ee,variant:e.variant||bb(Y,te).variant||"plain",color:e.color||bb(Y,te).color||"neutral",disableColorInversion:!!t.color}),additionalProps:{disabled:ne,"aria-label":pe?b:j,title:pe?b:j,type:"button"}}),[We,Ge]=Iv("listbox",{className:ke.listbox,elementType:Xy,getSlotProps:se,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({size:e.size||ee,variant:e.variant||Y,color:e.color||te,disableColorInversion:!e.disablePortal}),additionalProps:{anchorEl:ge,open:pe,style:ge?{width:ge.clientWidth}:{}}}),[qe,Ye]=Iv("loading",{className:ke.loading,elementType:Zy,externalForwardedProps:Oe,ownerState:Ce}),[Ue,Ke]=Iv("noOptions",{className:ke.noOptions,elementType:ex,externalForwardedProps:Oe,ownerState:Ce,additionalProps:{role:"presentation",onMouseDown:e=>{e.preventDefault()}}}),[Je,Xe]=Iv("limitTag",{className:ke.limitTag,elementType:tx,externalForwardedProps:Oe,ownerState:Ce});if($>-1&&Array.isArray(Ee)){const t=Ee.length-$;!fe&&t>0&&(Ee=Ee.splice(0,$),Ee.push(e.jsx(Je,xu({},Xe,{children:O(t)}),Ee.length)))}const[Qe,Ze]=Iv("option",{className:ke.option,elementType:Qy,externalForwardedProps:Oe,ownerState:Ce,getSlotOwnerState:e=>({variant:e.variant||bb(Y,te).variant||"plain",color:e.color||bb(Y,te).color||"neutral",disableColorInversion:!Ge.disablePortal}),additionalProps:{as:"li"}}),et=F||((t,n)=>e.jsx(Qe,xu({},t,{children:E(n)}))),tt=(e,t)=>{const n=ce({option:e,index:t});return et(xu({},Ze,n),e,{selected:!!n["aria-selected"],inputValue:ve,ownerState:Ce})},nt=o.useMemo((()=>[{name:"offset",options:{offset:[0,4]}},...Ge.modifiers||[]]),[Ge.modifiers]);let rt=null;var ot;ge&&(rt=e.jsx(xb,{variant:Y,color:te,children:e.jsx(Hv,{nested:!0,children:e.jsxs(We,xu({},Ge,{className:om(Ge.className),modifiers:nt},!(null!=(ot=d.slots)&&ot.listbox)&&{as:bv,slots:{root:Ge.as||"ul"}},{children:[be.map(((e,t)=>{if(I){const t=e;return L({key:String(t.key),group:t.group,children:t.options.map(((e,n)=>tt(e,t.index+n)))})}return tt(e,t)})),N&&0===be.length?e.jsx(qe,xu({},Ye,{children:z})):null,0!==be.length||k||N?null:e.jsx(Ue,xu({},Ke,{children:D}))]}))})}));return e.jsxs(o.Fragment,{children:[e.jsxs($e,xu({},Ne,{children:[W&&e.jsx(Ae,xu({},Me,{children:W})),e.jsxs(ze,xu({},Re,{children:[Ee,e.jsx(De,xu({},je))]})),w&&e.jsx(_e,xu({},Le,{children:w})),we?e.jsx(Fe,xu({},Ve,{children:h})):null,Se?e.jsx(Be,xu({},He,{children:M})):null]})),rt]})}));"production"!==process.env.NODE_ENV&&(nx.propTypes={"aria-describedby":Ga.string,"aria-label":Ga.string,"aria-labelledby":Ga.string,autoComplete:Ga.bool,autoFocus:Ga.bool,autoHighlight:Ga.bool,autoSelect:Ga.bool,blurOnSelect:Ga.oneOfType([Ga.oneOf(["mouse","touch"]),Ga.bool]),clearIcon:Ga.node,clearOnBlur:Ga.bool,clearOnEscape:Ga.bool,clearText:Ga.string,closeText:Ga.string,color:Ga.oneOf(["danger","neutral","primary","success","warning"]),defaultValue:jm(Ga.any,(e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null)),disableClearable:Ga.bool,disableCloseOnSelect:Ga.bool,disabled:Ga.bool,disabledItemsFocusable:Ga.bool,disableListWrap:Ga.bool,endDecorator:Ga.node,error:Ga.bool,filterOptions:Ga.func,filterSelectedOptions:Ga.bool,forcePopupIcon:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.bool]),freeSolo:Ga.bool,getLimitTagsText:Ga.func,getOptionDisabled:Ga.func,getOptionKey:Ga.func,getOptionLabel:Ga.func,groupBy:Ga.func,handleHomeEndKeys:Ga.bool,id:Ga.string,includeInputInList:Ga.bool,inputValue:Ga.string,isOptionEqualToValue:Ga.func,limitTags:fg,loading:Ga.bool,loadingText:Ga.node,multiple:Ga.bool,name:Ga.string,noOptionsText:Ga.node,onChange:Ga.func,onClose:Ga.func,onHighlightChange:Ga.func,onInputChange:Ga.func,onKeyDown:Ga.func,onOpen:Ga.func,open:Ga.bool,openOnFocus:Ga.bool,openText:Ga.string,options:Ga.array.isRequired,placeholder:Ga.string,popupIcon:Ga.node,readOnly:Ga.bool,renderGroup:Ga.func,renderOption:Ga.func,renderTags:Ga.func,required:Ga.bool,selectOnFocus:Ga.bool,size:Ga.oneOfType([Ga.oneOf(["sm","md","lg"]),Ga.string]),slotProps:Ga.shape({clearIndicator:Ga.oneOfType([Ga.func,Ga.object]),endDecorator:Ga.oneOfType([Ga.func,Ga.object]),input:Ga.oneOfType([Ga.func,Ga.object]),limitTag:Ga.oneOfType([Ga.func,Ga.object]),listbox:Ga.oneOfType([Ga.func,Ga.object]),loading:Ga.oneOfType([Ga.func,Ga.object]),noOptions:Ga.oneOfType([Ga.func,Ga.object]),option:Ga.oneOfType([Ga.func,Ga.object]),popupIndicator:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object]),startDecorator:Ga.oneOfType([Ga.func,Ga.object]),wrapper:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({clearIndicator:Ga.elementType,endDecorator:Ga.elementType,input:Ga.elementType,limitTag:Ga.elementType,listbox:Ga.elementType,loading:Ga.elementType,noOptions:Ga.elementType,option:Ga.elementType,popupIndicator:Ga.elementType,root:Ga.elementType,startDecorator:Ga.elementType,wrapper:Ga.elementType}),startDecorator:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),type:Ga.string,value:jm(Ga.any,(e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null)),variant:Ga.oneOf(["outlined","plain","soft","solid"])});const rx=sm("MuiBox",["root"]),ox=function(t={}){const{themeId:n,defaultTheme:r,defaultClassName:a="MuiBox-root",generateClassName:i}=t,l=Mp("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Gf);return o.forwardRef((function(t,o){const s=Xf(r),c=em(t),{className:u,component:d="div"}=c,p=_p(c,am);return e.jsx(l,xu({as:d,ref:o,className:om(u,i?i(a):a),theme:n&&s[n]||s},p))}))}({themeId:bu,defaultTheme:xh,defaultClassName:rx.root,generateClassName:nm.generate});"production"!==process.env.NODE_ENV&&(ox.propTypes={children:Ga.node,component:Ga.elementType,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])});const ax=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(ax.displayName="ModalDialogVariantColorContext");const ix=fh("MuiDialogTitle",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]),lx=o.createContext(void 0);function sx(e){return ph("MuiModal",e)}"production"!==process.env.NODE_ENV&&(lx.displayName="ModalDialogSizeContext"),fh("MuiModal",["root","hidden","backdrop"]);const cx=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(cx.displayName="CloseModalContext");const ux=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],dx=$h("div")((({ownerState:e,theme:t})=>xu({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"}))),px=$h(dx,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fx=$h("div")((({theme:e})=>({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent",backdropFilter:"blur(8px)"}))),mx=$h(fx,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({}),gx=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyModal"}),{children:a,container:i,disableAutoFocus:l=!1,disableEnforceFocus:s=!1,disableEscapeKeyDown:c=!1,disablePortal:u=!1,disableRestoreFocus:d=!1,disableScrollLock:p=!1,hideBackdrop:f=!1,keepMounted:m=!1,onClose:g,open:h,component:v,slots:b={},slotProps:y={}}=r,x=_p(r,ux),w=xu({},r,{disableAutoFocus:l,disableEnforceFocus:s,disableEscapeKeyDown:c,disablePortal:u,disableRestoreFocus:d,disableScrollLock:p,hideBackdrop:f,keepMounted:m}),{getRootProps:S,getBackdropProps:C,rootRef:k,portalRef:O,isTopModal:E}=sv(xu({},w,{rootRef:n})),I=(e=>{const{open:t}=e;return mg({root:["root",!t&&"hidden"],backdrop:["backdrop"]},sx,{})})(w),P=xu({},x,{component:v,slots:b,slotProps:y}),[$,N]=Iv("root",{ref:k,className:I.root,elementType:px,externalForwardedProps:P,getSlotProps:S,ownerState:w}),[z,R]=Iv("backdrop",{className:I.backdrop,elementType:mx,externalForwardedProps:P,getSlotProps:C,ownerState:w});return m||h?e.jsx(cx.Provider,{value:g,children:e.jsx(tv,{ref:O,container:i,disablePortal:u,children:e.jsxs($,xu({},N,{children:[f?null:e.jsx(z,xu({},R)),e.jsx(Qh,{disableEnforceFocus:s,disableAutoFocus:l,disableRestoreFocus:d,isEnabled:E,open:h,children:o.Children.only(a)&&o.cloneElement(a,xu({},void 0===a.props.tabIndex&&{tabIndex:-1}))})]}))})}):null}));function hx(e){return ph("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(gx.propTypes={children:Mm.isRequired,component:Ga.elementType,container:Ga.oneOfType([Fm,Ga.func]),disableAutoFocus:Ga.bool,disableEnforceFocus:Ga.bool,disableEscapeKeyDown:Ga.bool,disablePortal:Ga.bool,disableRestoreFocus:Ga.bool,disableScrollLock:Ga.bool,hideBackdrop:Ga.bool,keepMounted:Ga.bool,onClose:Ga.func,onKeyDown:Ga.func,open:Ga.bool.isRequired,slotProps:Ga.shape({backdrop:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({backdrop:Ga.elementType,root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])}),fh("MuiDrawer",["root","hidden","backdrop","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);const vx=["children","anchor","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","color","variant","invertedColors","size","onClose","onKeyDown","open","component","slots","slotProps"],bx=$h(dx,{name:"JoyDrawer",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>xu({"--Drawer-transitionDuration":"0.3s","--Drawer-transitionFunction":"ease","--ModalClose-radius":"max((var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(350px, 30%, 100%)","--Drawer-horizontalSize":"clamp(256px, 20%, 100%)","--Drawer-titleMargin":"0.625rem 0.75rem calc(0.625rem / 2)"},"md"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(400px, 45%, 100%)","--Drawer-horizontalSize":"clamp(300px, 30%, 100%)","--Drawer-titleMargin":"0.75rem 0.75rem calc(0.75rem / 2)"},"lg"===e.size&&{"--ModalClose-inset":"0.75rem","--Drawer-verticalSize":"clamp(500px, 60%, 100%)","--Drawer-horizontalSize":"clamp(440px, 60%, 100%)","--Drawer-titleMargin":"1rem 1rem calc(1rem / 2)"},{transitionProperty:"visibility",transitionDelay:e.open?"0s":"var(--Drawer-transitionDuration)"},!e.open&&{visibility:"hidden"}))),yx=$h(fx,{name:"JoyDrawer",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})((({ownerState:e})=>({opacity:e.open?1:0,transition:"opacity var(--Drawer-transitionDuration) ease-in-out"}))),xx=$h("div",{name:"JoyDrawer",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>{var n;return xu({},e.typography[`body-${t.size}`],{boxShadow:e.shadow.md,backgroundColor:e.vars.palette.background.surface,outline:0,display:"flex",flexDirection:"column",position:"fixed",boxSizing:"border-box",overflow:"auto"},"left"===t.anchor&&{top:0,left:0,transform:t.open?"translateX(0)":"translateX(-100%)"},"right"===t.anchor&&{top:0,right:0,transform:t.open?"translateX(0)":"translateX(100%)"},"top"===t.anchor&&{top:0,transform:t.open?"translateY(0)":"translateY(-100%)"},"bottom"===t.anchor&&{bottom:0,transform:t.open?"translateY(0)":"translateY(100%)"},{height:t.anchor.match(/(left|right)/)?"100%":"min(100vh, var(--Drawer-verticalSize))",width:t.anchor.match(/(top|bottom)/)?"100vw":"min(100vw, var(--Drawer-horizontalSize))",transition:"transform var(--Drawer-transitionDuration) var(--Drawer-transitionFunction)"},"solid"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const n=void 0!==t.theme?t.theme:t,r=jg(n.cssVarPrefix),o=db(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[fb]:{"--Badge-ringColor":a(`palette-${e}-solidBg`),"--Icon-color":"currentColor",[`${n.getColorSchemeSelector("light")}, ${n.getColorSchemeSelector("dark")}`]:{colorScheme:"dark",[o("--palette-focusVisible")]:a(`palette-${e}-200`),[o("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[o("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[o("--palette-background-popup")]:a(`palette-${e}-700`),[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[o("--palette-text-primary")]:a("palette-common-white"),[o("--palette-text-secondary")]:a(`palette-${e}-200`),[o("--palette-text-tertiary")]:a(`palette-${e}-300`),[o("--palette-text-icon")]:a(`palette-${e}-200`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softActiveColor":"#fff","--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`}},[`&, & [${pb}]`]:mb(n)}})(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const{theme:n=t}=t,r=jg(n.cssVarPrefix),o=db(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[fb]:{"--Badge-ringColor":a(`palette-${e}-softBg`),"--Icon-color":"currentColor",[n.getColorSchemeSelector("dark")]:{[o("--palette-focusVisible")]:a(`palette-${e}-300`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,[o("--palette-text-primary")]:a(`palette-${e}-100`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-text-icon")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${e}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${e}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${e}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${e}-200`),"--variant-softBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${e}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`},[n.getColorSchemeSelector("light")]:{[o("--palette-focusVisible")]:a(`palette-${e}-500`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,[o("--palette-text-primary")]:a(`palette-${e}-700`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.68)`,[o("--palette-text-icon")]:a(`palette-${e}-500`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${e}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${e}-600`),"--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${e}-600`),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${e}-700`),"--variant-softHoverBg":a(`palette-${e}-200`),"--variant-softActiveBg":a(`palette-${e}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${e}-${"neutral"===e?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`}},[`&, & [${pb}]`]:mb(n)}})(t.color)(e),null==(n=e.variants[t.variant])?void 0:n[t.color],{[`& > .${ix.root}`]:{"--unstable_DialogTitle-margin":"var(--Drawer-titleMargin)"}})})),wx=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyDrawer"}),{children:a,anchor:i="left",container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:p=!1,disableScrollLock:f=!1,hideBackdrop:m=!1,color:g="neutral",variant:h="plain",invertedColors:v=!1,size:b="md",onClose:y,open:x,component:w,slots:S={},slotProps:C={}}=r,k=_p(r,vx),O=xu({},r,{anchor:i,disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:p,disableScrollLock:f,hideBackdrop:m,invertedColors:v,color:g,variant:h,size:b}),{getRootProps:E,getBackdropProps:I,rootRef:P,portalRef:$,isTopModal:N}=sv(xu({},O,{rootRef:n,children:null})),z=(e=>{const{open:t,variant:n,color:r,size:o}=e;return mg({root:["root",!t&&"hidden",n&&`variant${Xp(n)}`,r&&`color${Xp(r)}`,o&&`size${Xp(o)}`],backdrop:["backdrop"],content:["content"]},hx,{})})(O),R=xu({},k,{component:w,slots:S,slotProps:C}),T=Km(),D=Km(),j=o.useMemo((()=>({variant:h,color:g,labelledBy:T,describedBy:D})),[g,h,T,D]),[A,M]=Iv("root",{ref:P,className:z.root,elementType:bx,externalForwardedProps:R,getSlotProps:E,ownerState:O}),[_,L]=Iv("backdrop",{className:z.backdrop,elementType:yx,externalForwardedProps:R,getSlotProps:I,ownerState:O}),[F,V]=Iv("content",{className:z.content,elementType:xx,additionalProps:{tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":T,"aria-describedby":D},externalForwardedProps:R,ownerState:O});return e.jsx(cx.Provider,{value:y,children:e.jsx(lx.Provider,{value:b,children:e.jsx(ax.Provider,{value:j,children:e.jsx(tv,{ref:$,container:l,disablePortal:d,children:e.jsxs(A,xu({},M,{children:[m?null:e.jsx(_,xu({},L)),e.jsx(Qh,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:p,isEnabled:N,open:x,children:e.jsx(F,xu({},V,{children:a}))})]}))})})})})}));"production"!==process.env.NODE_ENV&&(wx.propTypes={anchor:Ga.oneOf(["bottom","left","right","top"]),children:Ga.node,color:Ga.oneOf(["danger","neutral","primary","success","warning"]),component:Ga.elementType,container:Ga.oneOfType([Fm,Ga.func]),disableAutoFocus:Ga.bool,disableEnforceFocus:Ga.bool,disableEscapeKeyDown:Ga.bool,disablePortal:Ga.bool,disableRestoreFocus:Ga.bool,disableScrollLock:Ga.bool,hideBackdrop:Ga.bool,invertedColors:Ga.bool,onClose:Ga.func,onKeyDown:Ga.func,open:Ga.bool.isRequired,size:Ga.oneOf(["sm","md","lg"]),slotProps:Ga.shape({backdrop:Ga.oneOfType([Ga.func,Ga.object]),content:Ga.oneOfType([Ga.func,Ga.object]),root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({backdrop:Ga.elementType,content:Ga.elementType,root:Ga.elementType}),variant:Ga.oneOf(["outlined","plain","soft","solid"])});const Sx=function(t={}){const{createStyledComponent:n=lh,useThemeProps:r=sh,componentName:a="MuiGrid"}=t,i=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(i.displayName="GridOverflowContext");const l=n(Xg,Zg,Qg,Kg,eh,th,Jg),s=o.forwardRef((function(t,n){var s,c,u,d,p,f,m,g;const h=Xf(),v=em(r(t)),b=o.useContext(i),{className:y,children:x,columns:w=12,container:S=!1,component:C="div",direction:k="row",wrap:O="wrap",spacing:E=0,rowSpacing:I=E,columnSpacing:P=E,disableEqualOverflow:$,unstable_level:N=0}=v,z=_p(v,ah);let R=$;N&&void 0!==$&&(R=t.disableEqualOverflow);const T={},D={},j={};Object.entries(z).forEach((([e,t])=>{void 0!==h.breakpoints.values[e]?T[e]=t:void 0!==h.breakpoints.values[e.replace("Offset","")]?D[e.replace("Offset","")]=t:j[e]=t}));const A=null!=(s=t.columns)?s:N?void 0:w,M=null!=(c=t.spacing)?c:N?void 0:E,_=null!=(u=null!=(d=t.rowSpacing)?d:t.spacing)?u:N?void 0:I,L=null!=(p=null!=(f=t.columnSpacing)?f:t.spacing)?p:N?void 0:P,F=xu({},v,{level:N,columns:A,container:S,direction:k,wrap:O,spacing:M,rowSpacing:_,columnSpacing:L,gridSize:T,gridOffset:D,disableEqualOverflow:null!=(m=null!=(g=R)?g:b)&&m,parentDisableEqualOverflow:b}),V=((e,t)=>{const{container:n,direction:r,spacing:o,wrap:i,gridSize:l}=e;return mg({root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...oh(r),...nh(l),...n?rh(o,t.breakpoints.keys[0]):[]]},(e=>lm(a,e)),{})})(F,h);let B=e.jsx(l,xu({ref:n,as:C,ownerState:F,className:om(V.root,y)},j,{children:o.Children.map(x,(e=>{var t;return o.isValidElement(e)&&Hm(e,["Grid"])?o.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:N+1}):e}))}));return void 0!==R&&R!==(null!=b&&b)&&(B=e.jsx(i.Provider,{value:R,children:B})),B}));return"production"!==process.env.NODE_ENV&&(s.propTypes={children:Ga.node,className:Ga.string,columns:Ga.oneOfType([Ga.arrayOf(Ga.number),Ga.number,Ga.object]),columnSpacing:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.number,Ga.string])),Ga.number,Ga.object,Ga.string]),component:Ga.elementType,container:Ga.bool,direction:Ga.oneOfType([Ga.oneOf(["column-reverse","column","row-reverse","row"]),Ga.arrayOf(Ga.oneOf(["column-reverse","column","row-reverse","row"])),Ga.object]),disableEqualOverflow:Ga.bool,lg:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),lgOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),md:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),mdOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),rowSpacing:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.number,Ga.string])),Ga.number,Ga.object,Ga.string]),sm:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),smOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),spacing:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.number,Ga.string])),Ga.number,Ga.object,Ga.string]),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object]),wrap:Ga.oneOf(["nowrap","wrap-reverse","wrap"]),xl:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),xlOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number]),xs:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number,Ga.bool]),xsOffset:Ga.oneOfType([Ga.oneOf(["auto"]),Ga.number])}),s.muiName="Grid",s}({createStyledComponent:$h("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Nh({props:e,name:"JoyGrid"})});function Cx(e){return ph("MuiListItemDecorator",e)}"production"!==process.env.NODE_ENV&&(Sx.propTypes={children:Ga.node,sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])}),fh("MuiListItemDecorator",["root"]);const kx=["component","className","children","slots","slotProps"],Ox=$h("span",{name:"JoyListItemDecorator",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>xu({boxSizing:"border-box",display:"inline-flex",alignItems:`var(--unstable_ListItemDecorator-alignItems, ${"horizontal"===e.parentOrientation?"center":"initial"})`},"horizontal"===e.parentOrientation?{minInlineSize:"var(--ListItemDecorator-size)",marginInlineEnd:"calc(-1 * var(--ListItem-gap))"}:{minBlockSize:"var(--ListItemDecorator-size)",justifyContent:"center",marginBlockEnd:"calc(-1 * var(--ListItem-gap))"}))),Ex=o.forwardRef((function(t,n){const r=Nh({props:t,name:"JoyListItemDecorator"}),{component:a,className:i,children:l,slots:s={},slotProps:c={}}=r,u=_p(r,kx),d=xu({parentOrientation:o.useContext(eb)},r),p=mg({root:["root"]},Cx,{}),f=xu({},u,{component:a,slots:s,slotProps:c}),[m,g]=Iv("root",{ref:n,className:om(p.root,i),elementType:Ox,externalForwardedProps:f,ownerState:d});return e.jsx(m,xu({},g,{children:l}))}));"production"!==process.env.NODE_ENV&&(Ex.propTypes={children:Ga.node,className:Ga.string,component:Ga.elementType,slotProps:Ga.shape({root:Ga.oneOfType([Ga.func,Ga.object])}),slots:Ga.shape({root:Ga.elementType}),sx:Ga.oneOfType([Ga.arrayOf(Ga.oneOfType([Ga.func,Ga.object,Ga.bool])),Ga.func,Ga.object])});const Ix=Kt.div`
|
|
972
|
+
`;function Dw({children:t}){return e.jsx($w,{children:e.jsx(zw,{children:t})})}Dw.Item=Rw;const Tw=Kt.div`
|
|
1049
973
|
.MuiAutocomplete-root {
|
|
1050
974
|
background-color: #f5f5f5;
|
|
1051
975
|
border-radius: 8px;
|
|
@@ -1057,7 +981,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1057
981
|
.field-has-error & {
|
|
1058
982
|
border: 1px solid var(--color--red);
|
|
1059
983
|
}
|
|
1060
|
-
`;const
|
|
984
|
+
`;function jw(t){return e.jsx(pb,{...t})}const Mw=Kt.div`
|
|
1061
985
|
.MuiAutocomplete-root {
|
|
1062
986
|
background-color: #f5f5f5;
|
|
1063
987
|
border-radius: 8px;
|
|
@@ -1069,7 +993,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1069
993
|
.field-has-error & .MuiAutocomplete-root {
|
|
1070
994
|
border: 1px solid var(--color--red);
|
|
1071
995
|
}
|
|
1072
|
-
|
|
996
|
+
`,Aw=Kt.button`
|
|
1073
997
|
float: right;
|
|
1074
998
|
border: none;
|
|
1075
999
|
background: none;
|
|
@@ -1080,7 +1004,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1080
1004
|
&:hover {
|
|
1081
1005
|
color: var(--color--grey);
|
|
1082
1006
|
}
|
|
1083
|
-
`;const
|
|
1007
|
+
`;const Vw=Kt(Ty)`
|
|
1084
1008
|
&& .MuiInput-input {
|
|
1085
1009
|
background-color: var(--color--grey-hover);
|
|
1086
1010
|
padding: var(--spacing--small) var(--spacing--small);
|
|
@@ -1118,11 +1042,11 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1118
1042
|
color: var(--color--grey);
|
|
1119
1043
|
}
|
|
1120
1044
|
}
|
|
1121
|
-
`,
|
|
1045
|
+
`,_w=Kt(Ux)`
|
|
1122
1046
|
&.MuiDrawer-root {
|
|
1123
1047
|
--Drawer-horizontalSize: clamp(305px, 38%, 100%);
|
|
1124
1048
|
}
|
|
1125
|
-
`,
|
|
1049
|
+
`,Lw=Kt.div`
|
|
1126
1050
|
min-height: 100%;
|
|
1127
1051
|
padding-left: 60px;
|
|
1128
1052
|
padding-right: 60px;
|
|
@@ -1138,7 +1062,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1138
1062
|
font-weight: 600;
|
|
1139
1063
|
color: var(--color--grey-dark);
|
|
1140
1064
|
}
|
|
1141
|
-
`,
|
|
1065
|
+
`,Fw=Jt`
|
|
1142
1066
|
from {
|
|
1143
1067
|
transform: translate(-100%, 0);
|
|
1144
1068
|
}
|
|
@@ -1146,7 +1070,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1146
1070
|
to {
|
|
1147
1071
|
transform: none;
|
|
1148
1072
|
}
|
|
1149
|
-
`,
|
|
1073
|
+
`,Bw=Jt`
|
|
1150
1074
|
from {
|
|
1151
1075
|
transform: none;
|
|
1152
1076
|
}
|
|
@@ -1154,7 +1078,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1154
1078
|
to {
|
|
1155
1079
|
transform: translate(-100%, 0);
|
|
1156
1080
|
}
|
|
1157
|
-
`,
|
|
1081
|
+
`,Hw=Jt`
|
|
1158
1082
|
from {
|
|
1159
1083
|
transform: translate(100%, 0);
|
|
1160
1084
|
}
|
|
@@ -1162,7 +1086,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1162
1086
|
to {
|
|
1163
1087
|
transform: none;
|
|
1164
1088
|
}
|
|
1165
|
-
`,
|
|
1089
|
+
`,Ww=Jt`
|
|
1166
1090
|
from {
|
|
1167
1091
|
transform: none;
|
|
1168
1092
|
}
|
|
@@ -1170,7 +1094,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1170
1094
|
to {
|
|
1171
1095
|
transform: translate(100%, 0);
|
|
1172
1096
|
}
|
|
1173
|
-
`,
|
|
1097
|
+
`,Gw=Jt`
|
|
1174
1098
|
from {
|
|
1175
1099
|
transform: translate(0, 100%);
|
|
1176
1100
|
}
|
|
@@ -1178,7 +1102,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1178
1102
|
to {
|
|
1179
1103
|
transform: none;
|
|
1180
1104
|
}
|
|
1181
|
-
`,
|
|
1105
|
+
`,qw=Jt`
|
|
1182
1106
|
from {
|
|
1183
1107
|
transform: none;
|
|
1184
1108
|
}
|
|
@@ -1186,7 +1110,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1186
1110
|
to {
|
|
1187
1111
|
transform: translate(0, 100%);
|
|
1188
1112
|
}
|
|
1189
|
-
`,
|
|
1113
|
+
`,Uw=Kt.div`
|
|
1190
1114
|
position: fixed;
|
|
1191
1115
|
top: 0;
|
|
1192
1116
|
right: 0;
|
|
@@ -1196,32 +1120,32 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1196
1120
|
overflow: hidden;
|
|
1197
1121
|
|
|
1198
1122
|
&.left {
|
|
1199
|
-
animation: ${
|
|
1123
|
+
animation: ${Fw} 0.2s ease;
|
|
1200
1124
|
}
|
|
1201
1125
|
|
|
1202
1126
|
&.left.closing {
|
|
1203
|
-
animation: ${
|
|
1127
|
+
animation: ${Bw} 0.2s ease;
|
|
1204
1128
|
transform: translate(-100%, 0);
|
|
1205
1129
|
}
|
|
1206
1130
|
|
|
1207
1131
|
&.right {
|
|
1208
|
-
animation: ${
|
|
1132
|
+
animation: ${Hw} 0.2s ease;
|
|
1209
1133
|
}
|
|
1210
1134
|
|
|
1211
1135
|
&.right.closing {
|
|
1212
|
-
animation: ${
|
|
1136
|
+
animation: ${Ww} 0.2s ease;
|
|
1213
1137
|
transform: translate(100%, 0);
|
|
1214
1138
|
}
|
|
1215
1139
|
|
|
1216
1140
|
&.center {
|
|
1217
|
-
animation: ${
|
|
1141
|
+
animation: ${Gw} 0.2s ease;
|
|
1218
1142
|
}
|
|
1219
1143
|
|
|
1220
1144
|
&.center.closing {
|
|
1221
|
-
animation: ${
|
|
1145
|
+
animation: ${qw} 0.2s ease;
|
|
1222
1146
|
transform: translate(0, 100%);
|
|
1223
1147
|
}
|
|
1224
|
-
`,
|
|
1148
|
+
`,Yw=Kt.div`
|
|
1225
1149
|
z-index: 1010;
|
|
1226
1150
|
height: 100vh;
|
|
1227
1151
|
background-color: #fff;
|
|
@@ -1230,33 +1154,33 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1230
1154
|
overflow: auto;
|
|
1231
1155
|
width: 100%;
|
|
1232
1156
|
|
|
1233
|
-
${
|
|
1157
|
+
${Uw}.left & {
|
|
1234
1158
|
margin-right: auto;
|
|
1235
1159
|
}
|
|
1236
1160
|
|
|
1237
|
-
${
|
|
1161
|
+
${Uw}.right & {
|
|
1238
1162
|
margin-left: auto;
|
|
1239
1163
|
}
|
|
1240
1164
|
|
|
1241
|
-
${
|
|
1165
|
+
${Uw}.center & {
|
|
1242
1166
|
margin: auto;
|
|
1243
1167
|
height: 95vh;
|
|
1244
1168
|
}
|
|
1245
|
-
`,
|
|
1169
|
+
`,Kw=Kt.div`
|
|
1246
1170
|
display: flex;
|
|
1247
1171
|
|
|
1248
|
-
${
|
|
1172
|
+
${Uw}.left & {
|
|
1249
1173
|
flex-flow: row-reverse nowrap;
|
|
1250
1174
|
}
|
|
1251
1175
|
|
|
1252
|
-
${
|
|
1176
|
+
${Uw}.right & {
|
|
1253
1177
|
flex-flow: row nowrap;
|
|
1254
1178
|
}
|
|
1255
1179
|
|
|
1256
|
-
${
|
|
1180
|
+
${Uw}.center & {
|
|
1257
1181
|
flex-flow: row nowrap;
|
|
1258
1182
|
}
|
|
1259
|
-
`,
|
|
1183
|
+
`,Jw=Kt.div`
|
|
1260
1184
|
display: flex;
|
|
1261
1185
|
flex-flow: row nowrap;
|
|
1262
1186
|
align-items: center;
|
|
@@ -1279,7 +1203,7 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1279
1203
|
strong {
|
|
1280
1204
|
font-weight: 700;
|
|
1281
1205
|
}
|
|
1282
|
-
`,
|
|
1206
|
+
`,Xw=Jt`
|
|
1283
1207
|
from {
|
|
1284
1208
|
margin-top: -50px;
|
|
1285
1209
|
}
|
|
@@ -1287,14 +1211,14 @@ function Mp(e,t){const n=jp(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1287
1211
|
to {
|
|
1288
1212
|
margin-top: 0
|
|
1289
1213
|
}
|
|
1290
|
-
`,
|
|
1214
|
+
`,Qw=Kt(Jw)`
|
|
1291
1215
|
background-color: #ffdadd;
|
|
1292
|
-
animation: ${
|
|
1216
|
+
animation: ${Xw} 0.5s ease;
|
|
1293
1217
|
|
|
1294
1218
|
svg {
|
|
1295
1219
|
color: var(--color--red);
|
|
1296
1220
|
}
|
|
1297
|
-
`,
|
|
1221
|
+
`,Zw=Kt.div`
|
|
1298
1222
|
position: relative;
|
|
1299
|
-
`;let qx=1;const Yx=t.forwardRef((({children:n,side:r,size:o="md",open:a=!1,closeBlocked:i,onClose:l=(()=>{}),onCloseCompleted:s=(()=>{}),closeRequested:c=!1,...u},d)=>{const p=t.useRef(null);p.current||(p.current=`overlay-${qx}`,qx+=1);const f=t.useRef(null),[m,g]=t.useState(!1);t.useEffect((()=>{if(m){const e=setTimeout(s,200);return()=>{clearTimeout(e)}}return()=>{}})),t.useEffect((()=>{c&&g(!0)}),[c]),p.current||(p.current=`modal-${qx}`,qx+=1),t.useEffect((()=>{document.body.style.overflow=a?"hidden":"auto"}),[a]),t.useEffect((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),l())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[l]);const h=a?"open":"closing";return e.jsx(zx,{open:a&&!m,anchor:r,className:`${r} ${h}`,size:o,...u,children:e.jsx(Vx,{children:e.jsxs(Fx,{ref:f,children:[i&&e.jsxs(Wx,{role:"alert","aria-live":"assertive",children:[e.jsx(ki,{name:["fas","exclamation-triangle"]}),e.jsxs("p",{children:[e.jsx("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),e.jsx(Gx,{ref:d,children:e.jsx(Rx,{children:n})})]})})})}));function Ux(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function Kx(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Jx=6048e5,Xx=864e5,Qx=6e4,Zx=36e5;let ew={};function tw(){return ew}function nw(e,t){const n=tw(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=Ux(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function rw(e){return nw(e,{weekStartsOn:1})}function ow(e){const t=Ux(e),n=t.getFullYear(),r=Kx(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=rw(r),a=Kx(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=rw(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function aw(e){const t=Ux(e);return t.setHours(0,0,0,0),t}function iw(e){const t=Ux(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function lw(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=Ux(e);return!isNaN(Number(n))}const sw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function cw(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const uw={date:cw({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:cw({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:cw({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},dw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function pw(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function fw(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(l,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(s):s,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}var mw;const gw={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=sw[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:uw,formatRelative:(e,t,n,r)=>dw[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:pw({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:pw({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:pw({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:pw({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:pw({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(mw={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(mw.matchPattern);if(!n)return null;const r=n[0],o=e.match(mw.parsePattern);if(!o)return null;let a=mw.valueCallback?mw.valueCallback(o[0]):o[0];return a=t.valueCallback?t.valueCallback(a):a,{value:a,rest:e.slice(r.length)}}),era:fw({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:fw({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:fw({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:fw({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:fw({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function hw(e){const t=Ux(e),n=function(e,t){const n=aw(e),r=aw(t),o=+n-iw(n),a=+r-iw(r);return Math.round((o-a)/Xx)}(t,function(e){const t=Ux(e),n=Kx(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t));return n+1}function vw(e){const t=Ux(e),n=+rw(t)-+function(e){const t=ow(e),n=Kx(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),rw(n)}(t);return Math.round(n/Jx)+1}function bw(e,t){const n=Ux(e),r=n.getFullYear(),o=tw(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=Kx(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const l=nw(i,t),s=Kx(e,0);s.setFullYear(r,0,a),s.setHours(0,0,0,0);const c=nw(s,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function yw(e,t){const n=Ux(e),r=+nw(n,t)-+function(e,t){const n=tw(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=bw(e,t),a=Kx(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),nw(a,t)}(n,t);return Math.round(r/Jx)+1}function xw(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const ww={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return xw("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):xw(n+1,2)},d:(e,t)=>xw(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>xw(e.getHours()%12||12,t.length),H:(e,t)=>xw(e.getHours(),t.length),m:(e,t)=>xw(e.getMinutes(),t.length),s:(e,t)=>xw(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return xw(Math.trunc(r*Math.pow(10,n-3)),t.length)}},Sw="midnight",Cw="noon",kw="morning",Ow="afternoon",Ew="evening",Iw="night",Pw={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return ww.y(e,t)},Y:function(e,t,n,r){const o=bw(e,r),a=o>0?o:1-o;if("YY"===t){return xw(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):xw(a,t.length)},R:function(e,t){return xw(ow(e),t.length)},u:function(e,t){return xw(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return xw(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return xw(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return ww.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return xw(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=yw(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):xw(o,t.length)},I:function(e,t,n){const r=vw(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):xw(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):ww.d(e,t)},D:function(e,t,n){const r=hw(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):xw(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return xw(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return xw(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return xw(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?Cw:0===r?Sw:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?Ew:r>=12?Ow:r>=4?kw:Iw,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return ww.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):ww.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):xw(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):xw(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ww.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ww.s(e,t)},S:function(e,t){return ww.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Nw(r);case"XXXX":case"XX":return zw(r);default:return zw(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Nw(r);case"xxxx":case"xx":return zw(r);default:return zw(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+$w(r,":");default:return"GMT"+zw(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+$w(r,":");default:return"GMT"+zw(r,":")}},t:function(e,t,n){return xw(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return xw(e.getTime(),t.length)}};function $w(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return 0===a?n+String(o):n+String(o)+t+xw(a,2)}function Nw(e,t){if(e%60==0){return(e>0?"-":"+")+xw(Math.abs(e)/60,2)}return zw(e,t)}function zw(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+xw(Math.trunc(r/60),2)+t+xw(r%60,2)}const Rw=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Tw=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Dw={p:Tw,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Rw(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",Rw(r,t)).replace("{{time}}",Tw(o,t))}},jw=/^D+$/,Aw=/^Y+$/,Mw=["D","DD","YY","YYYY"];const _w=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lw=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Fw=/^'([^]*?)'?$/,Vw=/''/g,Bw=/[a-zA-Z]/;function Hw(e,t,n){const r=tw(),o=r.locale??gw,a=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=Ux(e);if(!lw(l))throw new RangeError("Invalid time value");let s=t.match(Lw).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,Dw[t])(e,o.formatLong)}return e})).join("").match(_w).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:Ww(e)};if(Pw[t])return{isToken:!0,value:e};if(t.match(Bw))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(s=o.localize.preprocessor(l,s));const c={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return s.map((n=>{if(!n.isToken)return n.value;const r=n.value;(function(e){return Aw.test(e)}(r)||function(e){return jw.test(e)}(r))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),Mw.includes(e))throw new RangeError(r)}(r,t,String(e));return(0,Pw[r[0]])(l,r,o.localize,c)})).join("")}function Ww(e){const t=e.match(Fw);return t?t[1].replace(Vw,"'"):e}function Gw(e,t){const n=function(e){const t={},n=e.split(qw.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],qw.timeZoneDelimiter.test(t.date)&&(t.date=e.split(qw.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=qw.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let r;if(n.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(n.date,2);r=function(e,t){if(null===t)return new Date(NaN);const n=e.match(Yw);if(!n)return new Date(NaN);const r=!!n[4],o=Jw(n[1]),a=Jw(n[2])-1,i=Jw(n[3]),l=Jw(n[4]),s=Jw(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,s)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,a=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}(t,l,s):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(Qw[t]||(Zw(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(Zw(e)?366:365)}(t,o)?(e.setUTCFullYear(t,a,Math.max(o,i)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const o=r.getTime();let a,i=0;if(n.time&&(i=function(e){const t=e.match(Uw);if(!t)return NaN;const n=Xw(t[1]),r=Xw(t[2]),o=Xw(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*Zx+r*Qx+1e3*o}(n.time),isNaN(i)))return new Date(NaN);if(!n.timezone){const e=new Date(o+i),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return a=function(e){if("Z"===e)return 0;const t=e.match(Kw);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*Zx+o*Qx)}(n.timezone),isNaN(a)?new Date(NaN):new Date(o+i+a)}const qw={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Yw=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Uw=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Kw=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Jw(e){return e?parseInt(e):1}function Xw(e){return e&&parseFloat(e.replace(",","."))||0}const Qw=[31,null,31,30,31,30,31,31,30,31,30,31];function Zw(e){return e%400==0||e%4==0&&e%100!=0}const eS="-",tS={style:"currency",currency:"GBP",minimumFractionDigits:0,maximumFractionDigits:0};exports.Accordion=function({title:n,children:r,open:o=!1}){const[a,i]=t.useState(o),l=t.useRef(null);return t.useEffect((()=>{a&&l.current?l.current.style.maxHeight=`${l.current.scrollHeight}px`:l.current&&(l.current.style.maxHeight="0px")}),[a]),e.jsxs(Oi,{children:[e.jsx(Ei,{children:e.jsx(Zt,{as:"h3",children:e.jsxs(Pi,{type:"button","aria-expanded":a,onClick:()=>i(!a),"aria-controls":"accordion-content",role:"button",isOpen:a,children:[n,e.jsx("span",{children:e.jsx(ki,{name:["fas","chevron-up"]})})]})})}),e.jsx(Ii,{ref:l,"aria-labelledby":"accordion-button",isOpen:a,role:"region",children:r})]})},exports.AppBar=function({apps:t,currentApp:n,leftSide:r,rightSide:o}){return e.jsxs(du,{children:[e.jsx(pu,{href:"/",children:e.jsx(iu,{})}),e.jsx(hu,{apps:t,currentApp:n}),e.jsx(mu,{children:r}),e.jsx(fu,{children:o})]})},exports.Autocomplete=function({id:n,options:r,onChange:o,name:a,...i}){const[l,s]=t.useState(i.defaultValue),[c,u]=t.useState(i.defaultValue?.value);return e.jsxs(Ix,{children:[e.jsx(nx,{...i,id:n,options:r,onChange:(e,t,n)=>{s(t),u(t?t?.value:""),o&&o(e,t,n)},getOptionLabel:e=>e.label,isOptionEqualToValue:(e,t)=>e.value===t.value,value:l,renderOption:i.renderOption,name:""}),e.jsx(vy,{name:a,value:c,type:"hidden",sx:{display:"none"}})]})},exports.AutocompleteSelectMultiple=function({defaultValue:n,id:r,name:o,inline:a,onChange:i,SelectedOption:l,...s}){const[c,u]=t.useState((()=>(n||[]).map((e=>{const t=s.options.find((t=>String(t.value)===String(e)));return t?{label:t.label,value:t.value}:null})).filter((e=>null!==e))));return e.jsxs(Px,{children:[e.jsx(nx,{...s,multiple:!0,value:c,onChange:(e,t,n)=>{u(t),i&&i(e,t,n)},renderTags:(n,r)=>a?n.map(((n,o)=>t.createElement(Jb,{component:"div",...r({index:o}),key:n.label,endDecorator:e.jsx(ki,{size:"small",name:["fas","times"]})},n.label))):null,isOptionEqualToValue:(e,t)=>e.value===t.value,name:""}),Array.isArray(c)&&c.map((t=>e.jsx(vy,{name:o,value:t.value,type:"hidden",sx:{display:"none"}},t.value))),!a&&e.jsx(Xv,{children:Array.isArray(c)&&c.length>0?c.map((t=>e.jsxs(Vv,{children:[l?e.jsx(l,{option:t}):t.label,e.jsx($x,{type:"button",onClick:()=>{u(c.filter((e=>e.value!==t.value)))},children:e.jsx(ki,{name:["fas","xmark"]})})]},t.value))):null})]})},exports.Badge=function({children:t,...n}){return e.jsx(Ri,{...n,children:t})},exports.Box=ox,exports.Breadcrumb=Mh,exports.Button=Ui,exports.Chip=Jb,exports.Divider=Ti,exports.Drawer=Yx,exports.DropDownMenu=uu,exports.Grid=Sx,exports.Heading=Zt,exports.Icon=ki,exports.IconButton=Fb,exports.Input=Nx,exports.Layout=function({children:t,header:n,footer:r}){return e.jsx(Eh,{theme:zh,children:e.jsxs(Rh,{children:[n,e.jsx(Th,{children:t}),r]})})},exports.List=Xv,exports.ListItem=Vv,exports.ListItemButton=ob,exports.ListItemDecorator=Ex,exports.LoadingSpinner=function(t){return e.jsxs(ji,{children:[e.jsx(Di,{...t}),e.jsx(Ai,{children:"Loading"})]})},exports.Logo=iu,exports.ProgressBar=function({ariaLabel:t,percentage:n}){return e.jsx(Zc,{role:"progressbar","aria-label":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,children:e.jsx(eu,{style:{width:`${n}%`}})})},exports.ProgressCircle=function({size:n="medium",value:r=0,kind:o="default",trafficLightRanges:a={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 i={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 r="var(--color--primary)",o="var(--color--danger)",a="var(--color--green-dark)",i="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?i:"orange"===e?l:"green"===e||"greenHigh"===e?s:"#d7d7d7"}return"danger"===e?o:"success"===e?a:"default"===e?r:"#d7d7d7"})()})({kind:o,percentage:Math.round(r),trafficLightRanges:a}),c=l/7,[u,d]=t.useState(0);t.useEffect((()=>{d(r)}),[r]);const p=(l-c)/2,f=p*Math.PI*2,m=u*f/100,g=`0 0 ${l} ${l}`;return e.jsxs("svg",{width:l,height:l,viewBox:g,children:[e.jsx("circle",{fill:"white",stroke:"#d7d7d7",cx:l/2,cy:l/2,r:p,strokeWidth:`${c}px`}),e.jsx("circle",{fill:"none",stroke:s,cx:l/2,cy:l/2,r:p,strokeWidth:`${c}px`,transform:`rotate(-90 ${l/2} ${l/2})`,strokeDasharray:`${m}, ${f-m}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),e.jsx("text",{fill:"black",fontSize:i,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(h=r,h>=0&&h<=100?`${r}%`:"-")})]});var h},exports.ReadMore=function({children:n,maxLines:r=3}){const[o,a]=t.useState(!1),i=t.useRef(null),[l,s]=t.useState(!1),c=()=>{const{offsetHeight:e,scrollHeight:t}=i.current||{};s(!!(e&&t&&e<t))};return t.useLayoutEffect((()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c))),[i]),t.useEffect((()=>{c()}),[]),e.jsxs(Ki,{children:[e.jsx(Ji,{$maxLines:o?void 0:r,ref:i,children:n}),r&&l&&e.jsx(Xi,{type:"button",kind:"basic",onClick:()=>a(!o),children:o?"Read less":"Read more"})]})},exports.RelativeTime=function({time:n}){const[r,o]=t.useState((()=>new Date)),a=t.useMemo((()=>new Date(n)),[n]);t.useEffect((()=>{o(new Date)}),[n]),t.useEffect((()=>{if(Math.abs(a.getTime()/1e3-r.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[r,a]);const i=t.useMemo((()=>{const e=Math.abs(a.getTime()/1e3-r.getTime()/1e3),t=a>r;if(e<60&&!t)return"just now";if(e>604800)return`${a.getDate()} ${Qi[a.getMonth()]} ${a.getFullYear()}`;let n;return n=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${n}`:`${n} ago`}),[a,r]);return e.jsx("time",{dateTime:a.toISOString(),title:a.toLocaleString(),children:i})},exports.StatusIcon=function({status:t="uploaded",size:n="medium"}){const r=t.charAt(0).toUpperCase()+t.slice(1),o={uploaded:e.jsx(Ts,{size:n}),running:e.jsx(js,{size:n}),processed:e.jsx(Ds,{size:n}),reviewed:e.jsx(Rs,{size:n}),warning:e.jsx(As,{size:n}),failed:e.jsx(Ms,{size:n})};return e.jsx(zs,{content:r,children:e.jsx(_s,{status:t,"aria-label":r,children:o[t]})})},exports.Table=function({id:n,data:r,columns:a,pageCount:i,totalCount:l,next:s,previous:c,page:u,pageable:d,pageSize:p}){const[f,m]=t.useState((()=>[...r])),[g,h]=t.useState([]),[v,b]=t.useState({pageIndex:0,pageSize:p||10}),[y,x]=Mc(`table.${n}.columnSizing`,{}),w=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=o.useState((()=>({current:jc(t)}))),[r,a]=o.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{a(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}({columns:a,data:f,getCoreRowModel:e=>Bs((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,o,a){void 0===o&&(o=0);const i=[];for(let s=0;s<t.length;s++){const c=Us(e,e._getRowId(t[s],s,a),t[s],s,o,void 0,null==a?void 0:a.id);var l;n.flatRows.push(c),n.rowsById[c.id]=c,i.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[s],s),null!=(l=c.originalSubRows)&&l.length&&(c.subRows=r(c.originalSubRows,o+1,c)))}return i};return n.rows=r(t),n}),Hs(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),getSortedRowModel:e=>Bs((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const r=e.getState().sorting,o=[],a=r.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),i={};a.forEach((t=>{const n=e.getColumn(t.id);n&&(i[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const l=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let r=0;r<a.length;r+=1){var n;const o=a[r],l=i[o.id],s=l.sortUndefined,c=null!=(n=null==o?void 0:o.desc)&&n;let u=0;if(s){const n=void 0===e.getValue(o.id),r=void 0===t.getValue(o.id);if(n||r){if("first"===s)return n?-1:1;if("last"===s)return n?1:-1;u=n&&r?0:n?s:-s}}if(0===u&&(u=l.sortingFn(e,t,o.id)),0!==u)return c&&(u*=-1),l.invertSorting&&(u*=-1),u}return e.index-t.index})),t.forEach((e=>{var t;o.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=l(e.subRows))})),t};return{rows:l(n.rows),flatRows:o,rowsById:n.rowsById}}),Hs(e.options,"debugTable","getSortedRowModel",(()=>e._autoResetPageIndex()))),onSortingChange:h,pageCount:i,state:{pagination:t.useMemo((()=>({pageIndex:v.pageIndex,pageSize:v.pageSize})),[v.pageIndex,v.pageSize]),sorting:g,columnSizing:y},onPaginationChange:b,manualPagination:!0,enableColumnResizing:!0,columnResizeMode:"onChange",defaultColumn:{size:200,minSize:50,maxSize:500},onColumnSizingChange:x});return t.useEffect((()=>{void 0!==u&&w.setPageIndex(Number(u-1))}),[u,w]),t.useEffect((()=>{m(r)}),[r]),e.jsxs(_c,{children:[e.jsxs(Lc,{children:[w.getHeaderGroups().map((t=>e.jsx("thead",{children:e.jsx("tr",{children:t.headers.map((t=>e.jsxs("th",{colSpan:t.colSpan,style:{width:t.getSize()},children:[t.isPlaceholder?null:e.jsxs("button",{type:"button",className:t.column.getCanSort()?"cursor-pointer select-none":"",onClick:t.column.getToggleSortingHandler(),onKeyDown:t.column.getToggleSortingHandler(),title:t.column.getCanSort()?"asc"===t.column.getNextSortingOrder()?"Sort ascending":"desc"===t.column.getNextSortingOrder()?"Sort descending":"Clear sort":void 0,children:[{asc:e.jsx(ki,{name:["fas","arrow-up"],size:"small"}),desc:e.jsx(ki,{name:["fas","arrow-down"],size:"small"})}[t.column.getIsSorted()]??(t.column.getCanSort()&&e.jsx(ki,{name:["fas","arrow-up"],size:"small",className:"fade"})),Ac(t.column.columnDef.header,t.getContext())]}),t.column.getCanResize()&&e.jsx("button",{type:"button","aria-label":"Resize column",onMouseDown:t.getResizeHandler(),onTouchStart:t.getResizeHandler(),className:"resizer "+(t.column.getIsResizing()?"isResizing":"")})]},t.id)))})},t.id))),e.jsx("tbody",{children:w.getRowModel().rows.length>0?w.getRowModel().rows.map((t=>e.jsx("tr",{children:t.getVisibleCells().map((t=>e.jsx("td",{style:{width:t.column.getSize()},children:Ac(t.column.columnDef.cell,t.getContext())},t.id)))},t.id))):e.jsx("tr",{children:e.jsx("td",{colSpan:a.length,style:{textAlign:"center"},children:"No data"})})})]}),e.jsxs("div",{children:[void 0!==l?e.jsxs("div",{children:["Total: ",l]}):null,d?e.jsxs(Fc,{children:[e.jsx(Ui,{type:"link",href:w.getCanPreviousPage()?window.location.href:"",disabled:!w.getCanPreviousPage(),children:"<<"}),e.jsx(Ui,{type:"link",href:w.getCanPreviousPage()&&c?c:"",disabled:!w.getCanPreviousPage(),children:"<"}),e.jsx(Ui,{type:"link",href:w.getCanNextPage()&&s?s:"",disabled:!w.getCanNextPage(),children:">"}),e.jsx(Ui,{href:w.getCanNextPage()?`${window.location.href}?page=${String(i)}`:"",type:"link",disabled:!w.getCanNextPage(),children:">>"}),e.jsxs("span",{children:[e.jsx("div",{children:"Page"}),e.jsxs("strong",{children:[w.getState().pagination.pageIndex+1," of"," ",w.getPageCount()]})]})]}):null]})]})},exports.Tabs=function({tabsConfig:n=[],defaultId:r}){const o=new URLSearchParams(window.location.search).get("tab")||r,a=n.findIndex((e=>e.id===o)),[i,l]=t.useState(a>=0?a:0),s=t.useRef(null),c=t.useRef({}),[u,d]=t.useState(!1),[p,f]=t.useState({right:!1,left:!0}),m=e=>{if(!s.current)return;const t=c.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},g=e=>{const t=new URL(window.location.href);t.searchParams.set("tab",e),window.history.pushState({},"",t.toString())},h=e=>{const t=n[e].id,r=c.current[t];r&&r.focus(),m(t),g(t)},v=e=>{const t=n.length,r={ArrowRight:()=>h((i+1)%t),ArrowLeft:()=>h((i-1+t)%t),Home:()=>h(0),End:()=>h(t-1)}[e.key];r&&(e.preventDefault(),r())},b=(e,t)=>{if(!e)return;let n=0;const r=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(r)}),20);f({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return t.useEffect((()=>{s.current&&d(s.current.offsetWidth<s.current.scrollWidth)}),[]),t.useEffect((()=>{m(n[i].id),g(n[i].id)}),[n,i]),t.useLayoutEffect((()=>{const e=()=>{if(!s.current)return;const{offsetWidth:e,scrollWidth:t}=s.current;d(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),e.jsxs(Vc,{children:[e.jsxs(Bc,{role:"tablist","aria-orientation":"horizontal",children:[u&&e.jsxs(Gc,{onClick:()=>s.current&&b(s.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:p.left,children:[e.jsx(ki,{name:["fas","chevron-left"],size:"large"})," "]}),e.jsx(Hc,{ref:s,children:n.length>0?n.map((t=>e.jsx(Wc,{type:"button",onClick:()=>(e=>{const t=n.findIndex((t=>t.id===e));m(e),l(t),g(e)})(t.id),role:"tab",ref:e=>{c.current[t.id]=e},"aria-controls":`panel-${t.id}`,"aria-selected":n[i].id===t.id,id:`tab-${t.id}`,onKeyDown:v,onFocus:()=>l(n.findIndex((e=>e.id===t.id))),tabIndex:n[i].id===t.id?0:-1,children:t.label},`tab-${t.id}`))):e.jsx("div",{children:"No tab content to display"})}),u&&e.jsx(Gc,{onClick:()=>s.current&&b(s.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:p.right,children:e.jsx(ki,{name:"chevron-right",size:"large"})})]}),e.jsx(qc,{children:n.map((t=>e.jsxs(Yc,{role:"tabpanel","aria-labelledby":`tab-${t.id}`,id:`panel-${t.id}`,$show:n[i].id===t.id,tabIndex:0,children:[t.label?e.jsx(Zt,{as:"h2",children:t.label}):null,t.content]},`tabpanel-${t.id}`)))})]})},exports.TextBlock=function({label:t,content:n,size:r,inline:o=!1}){return e.jsxs(Xc,{$inline:o,children:[t?e.jsx(Kc,{$size:r,children:t}):null,n?e.jsx(Jc,{$size:r,children:n}):null]})},exports.TextField=function(){throw new Error(["MUI: `TextField` component has been removed in favor of Input composition.","","To migrate, run `npx @mui/codemod@latest v5.0.0/joy-text-field-to-input <path>`.","For the codemod detail, visit https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#joy-text-field-to-input\n\nTo learn more why it has been removed, visit the RFC https://github.com/mui/material-ui/issues/34176"].join("\n"))},exports.ToastMessages=function({messages:t}){return e.jsx(tu,{children:e.jsx(nu,{style:{top:`-${55*t.length}px`},children:t.map((t=>e.jsx(ou,{message:t},String(t))))})})},exports.Tooltip=zs,exports.formatCurrency=(e,t="en-GB",n=tS)=>{let r=e;if(""===r||null==r)return eS;"string"==typeof e&&(r=Number(e));return new Intl.NumberFormat(t,{...tS,...n}).format(r)},exports.formatDate=(e,t="dd MMM yyyy")=>{if(""===e||null==e)return eS;const n=Gw(e);return lw(n)?Hw(n,t):eS},exports.formatNumber=e=>""===e||null==e?eS:e.toLocaleString(),exports.formatText=e=>""===e||null==e?eS:e,exports.useFetch=(e,n,r)=>{const[o,a]=t.useState(null),[i,l]=t.useState(!1),[s,c]=t.useState(null),u=t.useRef(null);return t.useEffect((()=>{if(!e)return()=>{};let t=!0;l(!0);return u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{(async()=>{try{const r=await fetch(e,n);if(!r.ok)throw new Error(`Error: ${r.statusText}`);const o=await r.json();t&&(a(o),l(!1))}catch(e){t&&(c(e),l(!1))}})()}),r||0),()=>{t=!1,u.current&&clearTimeout(u.current)}}),[e,n,r]),{data:o,loading:i,error:s}},exports.useLocalStorage=Mc,exports.useToggle=function(e){const[n,r]=t.useState(e);return{value:n,toggle:t.useCallback((()=>r((e=>!e))),[]),setTrue:t.useCallback((()=>r(!0)),[]),setFalse:t.useCallback((()=>r(!1)),[])}};
|
|
1223
|
+
`;let eS=1;const tS=t.forwardRef((({children:n,side:r,size:o="md",open:a=!1,closeBlocked:i,onClose:l=(()=>{}),onCloseCompleted:s=(()=>{}),closeRequested:c=!1,...u},d)=>{const p=t.useRef(null);p.current||(p.current=`overlay-${eS}`,eS+=1);const f=t.useRef(null),[m,g]=t.useState(!1);t.useEffect((()=>{if(m){const e=setTimeout(s,200);return()=>{clearTimeout(e)}}return()=>{}})),t.useEffect((()=>{c&&g(!0)}),[c]),p.current||(p.current=`modal-${eS}`,eS+=1),t.useEffect((()=>{document.body.style.overflow=a?"hidden":"auto"}),[a]),t.useEffect((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),l())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[l]);const h=a?"open":"closing";return e.jsx(_w,{open:a&&!m,anchor:r,className:`${r} ${h}`,size:o,...u,children:e.jsx(Kw,{children:e.jsxs(Yw,{ref:f,children:[i&&e.jsxs(Qw,{role:"alert","aria-live":"assertive",children:[e.jsx(Oi,{name:["fas","exclamation-triangle"]}),e.jsxs("p",{children:[e.jsx("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),e.jsx(Zw,{ref:d,children:e.jsx(Lw,{children:n})})]})})})}));const nS=Kt(mw)``;function rS(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function oS(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const aS=6048e5,iS=864e5,lS=6e4,sS=36e5;let cS={};function uS(){return cS}function dS(e,t){const n=uS(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=rS(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function pS(e){return dS(e,{weekStartsOn:1})}function fS(e){const t=rS(e),n=t.getFullYear(),r=oS(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=pS(r),a=oS(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=pS(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function mS(e){const t=rS(e);return t.setHours(0,0,0,0),t}function gS(e){const t=rS(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function hS(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=rS(e);return!isNaN(Number(n))}const vS={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function bS(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const yS={date:bS({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:bS({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:bS({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},xS={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function wS(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function SS(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(l,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(s):s,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}var CS;const kS={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=vS[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:yS,formatRelative:(e,t,n,r)=>xS[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:wS({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:wS({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:wS({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:wS({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:wS({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(CS={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(CS.matchPattern);if(!n)return null;const r=n[0],o=e.match(CS.parsePattern);if(!o)return null;let a=CS.valueCallback?CS.valueCallback(o[0]):o[0];return a=t.valueCallback?t.valueCallback(a):a,{value:a,rest:e.slice(r.length)}}),era:SS({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:SS({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:SS({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:SS({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:SS({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function OS(e){const t=rS(e),n=function(e,t){const n=mS(e),r=mS(t),o=+n-gS(n),a=+r-gS(r);return Math.round((o-a)/iS)}(t,function(e){const t=rS(e),n=oS(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t));return n+1}function IS(e){const t=rS(e),n=+pS(t)-+function(e){const t=fS(e),n=oS(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),pS(n)}(t);return Math.round(n/aS)+1}function ES(e,t){const n=rS(e),r=n.getFullYear(),o=uS(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=oS(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const l=dS(i,t),s=oS(e,0);s.setFullYear(r,0,a),s.setHours(0,0,0,0);const c=dS(s,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function PS(e,t){const n=rS(e),r=+dS(n,t)-+function(e,t){const n=uS(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=ES(e,t),a=oS(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),dS(a,t)}(n,t);return Math.round(r/aS)+1}function NS(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const $S={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return NS("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):NS(n+1,2)},d:(e,t)=>NS(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>NS(e.getHours()%12||12,t.length),H:(e,t)=>NS(e.getHours(),t.length),m:(e,t)=>NS(e.getMinutes(),t.length),s:(e,t)=>NS(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return NS(Math.trunc(r*Math.pow(10,n-3)),t.length)}},zS="midnight",RS="noon",DS="morning",TS="afternoon",jS="evening",MS="night",AS={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return $S.y(e,t)},Y:function(e,t,n,r){const o=ES(e,r),a=o>0?o:1-o;if("YY"===t){return NS(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):NS(a,t.length)},R:function(e,t){return NS(fS(e),t.length)},u:function(e,t){return NS(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return NS(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return NS(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return $S.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return NS(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=PS(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):NS(o,t.length)},I:function(e,t,n){const r=IS(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):NS(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):$S.d(e,t)},D:function(e,t,n){const r=OS(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):NS(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return NS(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return NS(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return NS(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?RS:0===r?zS:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?jS:r>=12?TS:r>=4?DS:MS,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return $S.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):$S.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):NS(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):NS(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):$S.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):$S.s(e,t)},S:function(e,t){return $S.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return _S(r);case"XXXX":case"XX":return LS(r);default:return LS(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return _S(r);case"xxxx":case"xx":return LS(r);default:return LS(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+VS(r,":");default:return"GMT"+LS(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+VS(r,":");default:return"GMT"+LS(r,":")}},t:function(e,t,n){return NS(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return NS(e.getTime(),t.length)}};function VS(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return 0===a?n+String(o):n+String(o)+t+NS(a,2)}function _S(e,t){if(e%60==0){return(e>0?"-":"+")+NS(Math.abs(e)/60,2)}return LS(e,t)}function LS(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+NS(Math.trunc(r/60),2)+t+NS(r%60,2)}const FS=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},BS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},HS={p:BS,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return FS(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",FS(r,t)).replace("{{time}}",BS(o,t))}},WS=/^D+$/,GS=/^Y+$/,qS=["D","DD","YY","YYYY"];const US=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,YS=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,KS=/^'([^]*?)'?$/,JS=/''/g,XS=/[a-zA-Z]/;function QS(e,t,n){const r=uS(),o=r.locale??kS,a=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=rS(e);if(!hS(l))throw new RangeError("Invalid time value");let s=t.match(YS).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,HS[t])(e,o.formatLong)}return e})).join("").match(US).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:ZS(e)};if(AS[t])return{isToken:!0,value:e};if(t.match(XS))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(s=o.localize.preprocessor(l,s));const c={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return s.map((n=>{if(!n.isToken)return n.value;const r=n.value;(function(e){return GS.test(e)}(r)||function(e){return WS.test(e)}(r))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),qS.includes(e))throw new RangeError(r)}(r,t,String(e));return(0,AS[r[0]])(l,r,o.localize,c)})).join("")}function ZS(e){const t=e.match(KS);return t?t[1].replace(JS,"'"):e}function eC(e,t){const n=function(e){const t={},n=e.split(tC.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],tC.timeZoneDelimiter.test(t.date)&&(t.date=e.split(tC.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=tC.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let r;if(n.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(n.date,2);r=function(e,t){if(null===t)return new Date(NaN);const n=e.match(nC);if(!n)return new Date(NaN);const r=!!n[4],o=aC(n[1]),a=aC(n[2])-1,i=aC(n[3]),l=aC(n[4]),s=aC(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,s)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,a=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}(t,l,s):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(lC[t]||(sC(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(sC(e)?366:365)}(t,o)?(e.setUTCFullYear(t,a,Math.max(o,i)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const o=r.getTime();let a,i=0;if(n.time&&(i=function(e){const t=e.match(rC);if(!t)return NaN;const n=iC(t[1]),r=iC(t[2]),o=iC(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*sS+r*lS+1e3*o}(n.time),isNaN(i)))return new Date(NaN);if(!n.timezone){const e=new Date(o+i),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return a=function(e){if("Z"===e)return 0;const t=e.match(oC);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*sS+o*lS)}(n.timezone),isNaN(a)?new Date(NaN):new Date(o+i+a)}const tC={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},nC=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,rC=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,oC=/^([+-])(\d{2})(?::?(\d{2}))?$/;function aC(e){return e?parseInt(e):1}function iC(e){return e&&parseFloat(e.replace(",","."))||0}const lC=[31,null,31,30,31,30,31,31,30,31,30,31];function sC(e){return e%400==0||e%4==0&&e%100!=0}const cC="-",uC={style:"currency",currency:"GBP",minimumFractionDigits:0,maximumFractionDigits:0};exports.Accordion=function({title:n,children:r,open:o=!1}){const[a,i]=t.useState(o),l=t.useRef(null);return t.useEffect((()=>{a&&l.current?l.current.style.maxHeight=`${l.current.scrollHeight}px`:l.current&&(l.current.style.maxHeight="0px")}),[a]),e.jsxs(Ii,{children:[e.jsx(Ei,{children:e.jsx(Zt,{as:"h3",children:e.jsxs(Ni,{type:"button","aria-expanded":a,onClick:()=>i(!a),"aria-controls":"accordion-content",role:"button",isOpen:a,children:[n,e.jsx("span",{children:e.jsx(Oi,{name:["fas","chevron-up"]})})]})})}),e.jsx(Pi,{ref:l,"aria-labelledby":"accordion-button",isOpen:a,role:"region",children:r})]})},exports.AppBar=function({apps:t,currentApp:n,leftSide:r,rightSide:o,myAccountMenu:a,helpButton:i}){return e.jsxs(vw,{children:[e.jsx(bw,{href:"/",children:e.jsx(hw,{})}),e.jsx(Ow,{apps:t,currentApp:n}),e.jsx(Cw,{children:r}),e.jsxs(yw,{children:[o,i?e.jsxs(ww,{type:"link",as:i.as,href:i.href,children:[e.jsx(Oi,{name:["far","circle-question"],size:"small"})," ",i.text||"Help"]}):null,a?e.jsxs(Lh,{children:[e.jsx(Sw,{size:"sm",startDecorator:e.jsx(Oi,{name:["far","user"],size:"small"}),children:"My Account"}),a]}):null]})]})},exports.Autocomplete=function({id:n,options:r,onChange:o,name:a,...i}){const[l,s]=t.useState(i.defaultValue),[c,u]=t.useState(i.defaultValue?.value);return e.jsxs(Tw,{children:[e.jsx(yx,{...i,id:n,options:r,onChange:(e,t,n)=>{s(t),u(t?t?.value:""),o&&o(e,t,n)},getOptionLabel:e=>e.label,isOptionEqualToValue:(e,t)=>e.value===t.value,value:l,renderOption:i.renderOption,name:""}),e.jsx(Ty,{name:a,value:c,type:"hidden",sx:{display:"none"}})]})},exports.AutocompleteSelectMultiple=function({defaultValue:n,id:r,name:o,inline:a,onChange:i,SelectedOption:l,...s}){const[c,u]=t.useState((()=>(n||[]).map((e=>{const t=s.options.find((t=>String(t.value)===String(e)));return t?{label:t.label,value:t.value}:null})).filter((e=>null!==e))));return e.jsxs(Mw,{children:[e.jsx(yx,{...s,multiple:!0,value:c,onChange:(e,t,n)=>{u(t),i&&i(e,t,n)},renderTags:(n,r)=>a?n.map(((n,o)=>t.createElement(fy,{component:"div",...r({index:o}),key:n.label,endDecorator:e.jsx(Oi,{size:"small",name:["fas","times"]})},n.label))):null,isOptionEqualToValue:(e,t)=>e.value===t.value,name:""}),Array.isArray(c)&&c.map((t=>e.jsx(Ty,{name:o,value:t.value,type:"hidden",sx:{display:"none"}},t.value))),!a&&e.jsx(jw,{children:Array.isArray(c)&&c.length>0?c.map((t=>e.jsxs(nb,{children:[l?e.jsx(l,{option:t}):t.label,e.jsx(Aw,{type:"button",onClick:()=>{u(c.filter((e=>e.value!==t.value)))},children:e.jsx(Oi,{name:["fas","xmark"]})})]},t.value))):null})]})},exports.Badge=function({children:t,...n}){return e.jsx(Di,{...n,children:t})},exports.Box=wx,exports.Breadcrumb=Dw,exports.Button=Ki,exports.Chip=function(t){return e.jsx(fy,{...t})},exports.Divider=Ti,exports.Drawer=tS,exports.Dropdown=function(t){return e.jsx(Lh,{...t})},exports.Grid=function({label:t,...n}){return e.jsx(Yx,{...n,children:t})},exports.Heading=Zt,exports.Icon=Oi,exports.IconButton=ry,exports.Input=Vw,exports.Layout=function({children:t,header:n,footer:r}){return e.jsx(mh,{theme:Ew,children:e.jsxs(Pw,{children:[n,e.jsx(Nw,{children:t}),r]})})},exports.List=jw,exports.ListItem=nb,exports.ListItemButton=yb,exports.ListItemDecorator=Qx,exports.LoadingSpinner=function(t){return e.jsxs(Mi,{children:[e.jsx(ji,{...t}),e.jsx(Ai,{children:"Loading"})]})},exports.Logo=hw,exports.Menu=function(t){return e.jsx(nw,{...t})},exports.MenuItem=nS,exports.ProgressBar=function({ariaLabel:t,percentage:n}){return e.jsx(eu,{role:"progressbar","aria-label":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,children:e.jsx(tu,{style:{width:`${n}%`}})})},exports.ProgressCircle=function({size:n="medium",value:r=0,kind:o="default",trafficLightRanges:a={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 i={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 r="var(--color--primary)",o="var(--color--danger)",a="var(--color--green-dark)",i="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?i:"orange"===e?l:"green"===e||"greenHigh"===e?s:"#d7d7d7"}return"danger"===e?o:"success"===e?a:"default"===e?r:"#d7d7d7"})()})({kind:o,percentage:Math.round(r),trafficLightRanges:a}),c=l/7,[u,d]=t.useState(0);t.useEffect((()=>{d(r)}),[r]);const p=(l-c)/2,f=p*Math.PI*2,m=u*f/100,g=`0 0 ${l} ${l}`;return e.jsxs("svg",{width:l,height:l,viewBox:g,children:[e.jsx("circle",{fill:"white",stroke:"#d7d7d7",cx:l/2,cy:l/2,r:p,strokeWidth:`${c}px`}),e.jsx("circle",{fill:"none",stroke:s,cx:l/2,cy:l/2,r:p,strokeWidth:`${c}px`,transform:`rotate(-90 ${l/2} ${l/2})`,strokeDasharray:`${m}, ${f-m}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),e.jsx("text",{fill:"black",fontSize:i,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(h=r,h>=0&&h<=100?`${r}%`:"-")})]});var h},exports.ReadMore=function({children:n,maxLines:r=3}){const[o,a]=t.useState(!1),i=t.useRef(null),[l,s]=t.useState(!1),c=()=>{const{offsetHeight:e,scrollHeight:t}=i.current||{};s(!!(e&&t&&e<t))};return t.useLayoutEffect((()=>(window.addEventListener("resize",c),()=>window.removeEventListener("resize",c))),[i]),t.useEffect((()=>{c()}),[]),e.jsxs(Ji,{children:[e.jsx(Xi,{$maxLines:o?void 0:r,ref:i,children:n}),r&&l&&e.jsx(Qi,{type:"button",kind:"basic",onClick:()=>a(!o),children:o?"Read less":"Read more"})]})},exports.RelativeTime=function({time:n}){const[r,o]=t.useState((()=>new Date)),a=t.useMemo((()=>new Date(n)),[n]);t.useEffect((()=>{o(new Date)}),[n]),t.useEffect((()=>{if(Math.abs(a.getTime()/1e3-r.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[r,a]);const i=t.useMemo((()=>{const e=Math.abs(a.getTime()/1e3-r.getTime()/1e3),t=a>r;if(e<60&&!t)return"just now";if(e>604800)return`${a.getDate()} ${Zi[a.getMonth()]} ${a.getFullYear()}`;let n;return n=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${n}`:`${n} ago`}),[a,r]);return e.jsx("time",{dateTime:a.toISOString(),title:a.toLocaleString(),children:i})},exports.StatusIcon=function({status:t="uploaded",size:n="medium"}){const r=t.charAt(0).toUpperCase()+t.slice(1),o={uploaded:e.jsx(Ts,{size:n}),running:e.jsx(Ms,{size:n}),processed:e.jsx(js,{size:n}),reviewed:e.jsx(Ds,{size:n}),warning:e.jsx(As,{size:n}),failed:e.jsx(Vs,{size:n})};return e.jsx(Rs,{content:r,children:e.jsx(_s,{status:t,"aria-label":r,children:o[t]})})},exports.Table=function({id:n,data:r,columns:a,pageCount:i,totalCount:l,next:s,previous:c,page:u,pageable:d,pageSize:p}){const[f,m]=t.useState((()=>[...r])),[g,h]=t.useState([]),[v,b]=t.useState({pageIndex:0,pageSize:p||10}),[y,x]=Vc(`table.${n}.columnSizing`,{}),w=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=o.useState((()=>({current:Mc(t)}))),[r,a]=o.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{a(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}({columns:a,data:f,getCoreRowModel:e=>Hs((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,o,a){void 0===o&&(o=0);const i=[];for(let s=0;s<t.length;s++){const c=Ks(e,e._getRowId(t[s],s,a),t[s],s,o,void 0,null==a?void 0:a.id);var l;n.flatRows.push(c),n.rowsById[c.id]=c,i.push(c),e.options.getSubRows&&(c.originalSubRows=e.options.getSubRows(t[s],s),null!=(l=c.originalSubRows)&&l.length&&(c.subRows=r(c.originalSubRows,o+1,c)))}return i};return n.rows=r(t),n}),Ws(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),getSortedRowModel:e=>Hs((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const r=e.getState().sorting,o=[],a=r.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),i={};a.forEach((t=>{const n=e.getColumn(t.id);n&&(i[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const l=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let r=0;r<a.length;r+=1){var n;const o=a[r],l=i[o.id],s=l.sortUndefined,c=null!=(n=null==o?void 0:o.desc)&&n;let u=0;if(s){const n=void 0===e.getValue(o.id),r=void 0===t.getValue(o.id);if(n||r){if("first"===s)return n?-1:1;if("last"===s)return n?1:-1;u=n&&r?0:n?s:-s}}if(0===u&&(u=l.sortingFn(e,t,o.id)),0!==u)return c&&(u*=-1),l.invertSorting&&(u*=-1),u}return e.index-t.index})),t.forEach((e=>{var t;o.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=l(e.subRows))})),t};return{rows:l(n.rows),flatRows:o,rowsById:n.rowsById}}),Ws(e.options,"debugTable","getSortedRowModel",(()=>e._autoResetPageIndex()))),onSortingChange:h,pageCount:i,state:{pagination:t.useMemo((()=>({pageIndex:v.pageIndex,pageSize:v.pageSize})),[v.pageIndex,v.pageSize]),sorting:g,columnSizing:y},onPaginationChange:b,manualPagination:!0,enableColumnResizing:!0,columnResizeMode:"onChange",defaultColumn:{size:200,minSize:50,maxSize:500},onColumnSizingChange:x});return t.useEffect((()=>{void 0!==u&&w.setPageIndex(Number(u-1))}),[u,w]),t.useEffect((()=>{m(r)}),[r]),e.jsxs(_c,{children:[e.jsxs(Lc,{children:[w.getHeaderGroups().map((t=>e.jsx("thead",{children:e.jsx("tr",{children:t.headers.map((t=>e.jsxs("th",{colSpan:t.colSpan,style:{width:t.getSize()},children:[t.isPlaceholder?null:e.jsxs("button",{type:"button",className:t.column.getCanSort()?"cursor-pointer select-none":"",onClick:t.column.getToggleSortingHandler(),onKeyDown:t.column.getToggleSortingHandler(),title:t.column.getCanSort()?"asc"===t.column.getNextSortingOrder()?"Sort ascending":"desc"===t.column.getNextSortingOrder()?"Sort descending":"Clear sort":void 0,children:[{asc:e.jsx(Oi,{name:["fas","arrow-up"],size:"small"}),desc:e.jsx(Oi,{name:["fas","arrow-down"],size:"small"})}[t.column.getIsSorted()]??(t.column.getCanSort()&&e.jsx(Oi,{name:["fas","arrow-up"],size:"small",className:"fade"})),Ac(t.column.columnDef.header,t.getContext())]}),t.column.getCanResize()&&e.jsx("button",{type:"button","aria-label":"Resize column",onMouseDown:t.getResizeHandler(),onTouchStart:t.getResizeHandler(),className:"resizer "+(t.column.getIsResizing()?"isResizing":"")})]},t.id)))})},t.id))),e.jsx("tbody",{children:w.getRowModel().rows.length>0?w.getRowModel().rows.map((t=>e.jsx("tr",{children:t.getVisibleCells().map((t=>e.jsx("td",{style:{width:t.column.getSize()},children:Ac(t.column.columnDef.cell,t.getContext())},t.id)))},t.id))):e.jsx("tr",{children:e.jsx("td",{colSpan:a.length,style:{textAlign:"center"},children:"No data"})})})]}),e.jsxs("div",{children:[void 0!==l?e.jsxs("div",{children:["Total: ",l]}):null,d?e.jsxs(Fc,{children:[e.jsx(Ki,{type:"link",href:w.getCanPreviousPage()?window.location.href:"",disabled:!w.getCanPreviousPage(),children:"<<"}),e.jsx(Ki,{type:"link",href:w.getCanPreviousPage()&&c?c:"",disabled:!w.getCanPreviousPage(),children:"<"}),e.jsx(Ki,{type:"link",href:w.getCanNextPage()&&s?s:"",disabled:!w.getCanNextPage(),children:">"}),e.jsx(Ki,{href:w.getCanNextPage()?`${window.location.href}?page=${String(i)}`:"",type:"link",disabled:!w.getCanNextPage(),children:">>"}),e.jsxs("span",{children:[e.jsx("div",{children:"Page"}),e.jsxs("strong",{children:[w.getState().pagination.pageIndex+1," of"," ",w.getPageCount()]})]})]}):null]})]})},exports.Tabs=function({tabsConfig:n=[],defaultId:r}){const o=new URLSearchParams(window.location.search).get("tab")||r,a=n.findIndex((e=>e.id===o)),[i,l]=t.useState(a>=0?a:0),s=t.useRef(null),c=t.useRef({}),[u,d]=t.useState(!1),[p,f]=t.useState({right:!1,left:!0}),m=e=>{if(!s.current)return;const t=c.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},g=e=>{const t=new URL(window.location.href);t.searchParams.set("tab",e),window.history.pushState({},"",t.toString())},h=e=>{const t=n[e].id,r=c.current[t];r&&r.focus(),m(t),g(t)},v=e=>{const t=n.length,r={ArrowRight:()=>h((i+1)%t),ArrowLeft:()=>h((i-1+t)%t),Home:()=>h(0),End:()=>h(t-1)}[e.key];r&&(e.preventDefault(),r())},b=(e,t)=>{if(!e)return;let n=0;const r=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(r)}),20);f({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return t.useEffect((()=>{s.current&&d(s.current.offsetWidth<s.current.scrollWidth)}),[]),t.useEffect((()=>{m(n[i].id),g(n[i].id)}),[n,i]),t.useLayoutEffect((()=>{const e=()=>{if(!s.current)return;const{offsetWidth:e,scrollWidth:t}=s.current;d(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),e.jsxs(Bc,{children:[e.jsxs(Hc,{role:"tablist","aria-orientation":"horizontal",children:[u&&e.jsxs(qc,{onClick:()=>s.current&&b(s.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:p.left,children:[e.jsx(Oi,{name:["fas","chevron-left"],size:"large"})," "]}),e.jsx(Wc,{ref:s,children:n.length>0?n.map((t=>e.jsx(Gc,{type:"button",onClick:()=>(e=>{const t=n.findIndex((t=>t.id===e));m(e),l(t),g(e)})(t.id),role:"tab",ref:e=>{c.current[t.id]=e},"aria-controls":`panel-${t.id}`,"aria-selected":n[i].id===t.id,id:`tab-${t.id}`,onKeyDown:v,onFocus:()=>l(n.findIndex((e=>e.id===t.id))),tabIndex:n[i].id===t.id?0:-1,children:t.label},`tab-${t.id}`))):e.jsx("div",{children:"No tab content to display"})}),u&&e.jsx(qc,{onClick:()=>s.current&&b(s.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:p.right,children:e.jsx(Oi,{name:"chevron-right",size:"large"})})]}),e.jsx(Uc,{children:n.map((t=>e.jsxs(Yc,{role:"tabpanel","aria-labelledby":`tab-${t.id}`,id:`panel-${t.id}`,$show:n[i].id===t.id,tabIndex:0,children:[t.label?e.jsx(Zt,{as:"h2",children:t.label}):null,t.content]},`tabpanel-${t.id}`)))})]})},exports.TextBlock=function({label:t,content:n,size:r,inline:o=!1}){return e.jsxs(Qc,{$inline:o,children:[t?e.jsx(Jc,{$size:r,children:t}):null,n?e.jsx(Xc,{$size:r,children:n}):null]})},exports.TextField=function(){throw new Error(["MUI: `TextField` component has been removed in favor of Input composition.","","To migrate, run `npx @mui/codemod@latest v5.0.0/joy-text-field-to-input <path>`.","For the codemod detail, visit https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#joy-text-field-to-input\n\nTo learn more why it has been removed, visit the RFC https://github.com/mui/material-ui/issues/34176"].join("\n"))},exports.ToastMessages=function({messages:t}){return e.jsx(nu,{children:e.jsx(ru,{style:{top:`-${55*t.length}px`},children:t.map((t=>e.jsx(au,{message:t},String(t))))})})},exports.Tooltip=Rs,exports.formatCurrency=(e,t="en-GB",n=uC)=>{let r=e;if(""===r||null==r)return cC;"string"==typeof e&&(r=Number(e));return new Intl.NumberFormat(t,{...uC,...n}).format(r)},exports.formatDate=(e,t="dd MMM yyyy")=>{if(""===e||null==e)return cC;const n=eC(e);return hS(n)?QS(n,t):cC},exports.formatNumber=e=>""===e||null==e?cC:e.toLocaleString(),exports.formatText=e=>""===e||null==e?cC:e,exports.useFetch=(e,n,r)=>{const[o,a]=t.useState(null),[i,l]=t.useState(!1),[s,c]=t.useState(null),u=t.useRef(null);return t.useEffect((()=>{if(!e)return()=>{};let t=!0;l(!0);return u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{(async()=>{try{const r=await fetch(e,n);if(!r.ok)throw new Error(`Error: ${r.statusText}`);const o=await r.json();t&&(a(o),l(!1))}catch(e){t&&(c(e),l(!1))}})()}),r||0),()=>{t=!1,u.current&&clearTimeout(u.current)}}),[e,n,r]),{data:o,loading:i,error:s}},exports.useLocalStorage=Vc,exports.useToggle=function(e){const[n,r]=t.useState(e);return{value:n,toggle:t.useCallback((()=>r((e=>!e))),[]),setTrue:t.useCallback((()=>r(!0)),[]),setFalse:t.useCallback((()=>r(!1)),[])}};
|
|
1300
1224
|
//# sourceMappingURL=index.cjs.map
|