@harpercollins/harpercollins-design-system 1.8.45 → 1.8.48
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 +226 -339
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/data-display/TextBlock/TextBlock.d.ts +9 -0
- package/dist/cjs/types/src/components/data-display/{TextField/TextField.stories.d.ts → TextBlock/TextBlock.stories.d.ts} +3 -3
- package/dist/cjs/types/src/components/data-display/TextBlock/index.d.ts +2 -0
- package/dist/cjs/types/src/components/index.d.ts +4 -3
- package/dist/cjs/types/src/components/inputs/Autocomplete/Autocomplete.d.ts +5 -4
- package/dist/cjs/types/src/components/inputs/Autocomplete/Autocomplete.stories.d.ts +3 -3
- package/dist/cjs/types/src/components/inputs/Autocomplete/AutocompleteSelectMultiple/AutocompleteSelectMultiple.d.ts +1 -8
- package/dist/cjs/types/src/components/inputs/Autocomplete/types.d.ts +10 -0
- package/dist/cjs/types/src/components/inputs/Input/Input.d.ts +15 -0
- package/dist/cjs/types/src/components/inputs/Input/Input.stories.d.ts +6 -0
- package/dist/cjs/types/src/components/inputs/Input/index.d.ts +2 -0
- package/dist/cjs/types/src/components/overlay/{Modal/Modal.d.ts → Drawer/Drawer.d.ts} +5 -2
- package/dist/cjs/types/src/components/overlay/{Modal/Modal.stories.d.ts → Drawer/Drawer.stories.d.ts} +3 -4
- package/dist/cjs/types/src/components/overlay/Drawer/index.d.ts +2 -0
- package/dist/esm/index.js +227 -340
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/data-display/TextBlock/TextBlock.d.ts +9 -0
- package/dist/esm/types/src/components/data-display/{TextField/TextField.stories.d.ts → TextBlock/TextBlock.stories.d.ts} +3 -3
- package/dist/esm/types/src/components/data-display/TextBlock/index.d.ts +2 -0
- package/dist/esm/types/src/components/index.d.ts +4 -3
- package/dist/esm/types/src/components/inputs/Autocomplete/Autocomplete.d.ts +5 -4
- package/dist/esm/types/src/components/inputs/Autocomplete/Autocomplete.stories.d.ts +3 -3
- package/dist/esm/types/src/components/inputs/Autocomplete/AutocompleteSelectMultiple/AutocompleteSelectMultiple.d.ts +1 -8
- package/dist/esm/types/src/components/inputs/Autocomplete/types.d.ts +10 -0
- package/dist/esm/types/src/components/inputs/Input/Input.d.ts +15 -0
- package/dist/esm/types/src/components/inputs/Input/Input.stories.d.ts +6 -0
- package/dist/esm/types/src/components/inputs/Input/index.d.ts +2 -0
- package/dist/esm/types/src/components/overlay/{Modal/Modal.d.ts → Drawer/Drawer.d.ts} +5 -2
- package/dist/esm/types/src/components/overlay/{Modal/Modal.stories.d.ts → Drawer/Drawer.stories.d.ts} +3 -4
- package/dist/esm/types/src/components/overlay/Drawer/index.d.ts +2 -0
- package/dist/index.d.ts +47 -24
- package/package.json +3 -6
- package/dist/cjs/types/src/components/data-display/TextField/TextField.d.ts +0 -9
- package/dist/cjs/types/src/components/data-display/TextField/index.d.ts +0 -2
- package/dist/cjs/types/src/components/inputs/TextField/TextField.d.ts +0 -6
- package/dist/cjs/types/src/components/inputs/TextField/index.d.ts +0 -2
- package/dist/cjs/types/src/components/overlay/Modal/index.d.ts +0 -2
- package/dist/esm/types/src/components/data-display/TextField/TextField.d.ts +0 -9
- package/dist/esm/types/src/components/data-display/TextField/index.d.ts +0 -2
- package/dist/esm/types/src/components/inputs/TextField/TextField.d.ts +0 -6
- package/dist/esm/types/src/components/inputs/TextField/index.d.ts +0 -2
- package/dist/esm/types/src/components/overlay/Modal/index.d.ts +0 -2
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from"react";import r,{useMemo as a,useRef as i,useDebugValue as l,createElement as s,useContext as c,useState as u,useEffect as d,useLayoutEffect as p,forwardRef as f,Children as m,isValidElement as g,cloneElement as h,useCallback as b}from"react";import*as v from"react-dom";import y from"react-dom";const w={colours:{primary:"var(--color--primary)"},fontFamily:"var(--font-family--sans-serif)"};var x=function(){return x=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},x.apply(this,arguments)};function S(e,t,n){if(n||2===arguments.length)for(var o,r=0,a=t.length;r<a;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function O(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)-.*))$/,k=O((function(e){return C.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function R(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){if(this instanceof e){var n=[null];return n.push.apply(n,arguments),new(Function.bind.apply(t,n))}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})})),n}var P="-ms-",T="-moz-",N="-webkit-",I="comm",M="rule",$="decl",A="@import",z="@keyframes",F="@layer",j=Math.abs,D=String.fromCharCode,V=Object.assign;function L(e){return e.trim()}function _(e,t){return(e=t.exec(e))?e[0]:e}function B(e,t,n){return e.replace(t,n)}function H(e,t,n){return e.indexOf(t,n)}function W(e,t){return 0|e.charCodeAt(t)}function q(e,t,n){return e.slice(t,n)}function G(e){return e.length}function U(e){return e.length}function K(e,t){return t.push(e),e}function Y(e,t){return e.filter((function(e){return!_(e,t)}))}var X=1,J=1,Z=0,Q=0,ee=0,te="";function ne(e,t,n,o,r,a,i,l){return{value:e,root:t,parent:n,type:o,props:r,children:a,line:X,column:J,length:i,return:"",siblings:l}}function oe(e,t){return V(ne("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function re(e){for(;e.root;)e=oe(e.root,{children:[e]});K(e,e.siblings)}function ae(){return ee=Q>0?W(te,--Q):0,J--,10===ee&&(J=1,X--),ee}function ie(){return ee=Q<Z?W(te,Q++):0,J++,10===ee&&(J=1,X++),ee}function le(){return W(te,Q)}function se(){return Q}function ce(e,t){return q(te,e,t)}function ue(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 de(e){return L(ce(Q-1,me(91===e?e+2:40===e?e+1:e)))}function pe(e){for(;(ee=le())&&ee<33;)ie();return ue(e)>2||ue(ee)>3?"":" "}function fe(e,t){for(;--t&&ie()&&!(ee<48||ee>102||ee>57&&ee<65||ee>70&&ee<97););return ce(e,se()+(t<6&&32==le()&&32==ie()))}function me(e){for(;ie();)switch(ee){case e:return Q;case 34:case 39:34!==e&&39!==e&&me(ee);break;case 40:41===e&&me(e);break;case 92:ie()}return Q}function ge(e,t){for(;ie()&&e+ee!==57&&(e+ee!==84||47!==le()););return"/*"+ce(t,Q-1)+"*"+D(47===e?e:ie())}function he(e){for(;!ue(le());)ie();return ce(e,Q)}function be(e){return function(e){return te="",e}(ve("",null,null,null,[""],e=function(e){return X=J=1,Z=G(te=e),Q=0,[]}(e),0,[0],e))}function ve(e,t,n,o,r,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,b=1,v=0,y="",w=r,x=a,S=o,O=y;h;)switch(m=v,v=ie()){case 40:if(108!=m&&58==W(O,d-1)){-1!=H(O+=B(de(v),"&","&\f"),"&\f",j(c?l[c-1]:0))&&(b=-1);break}case 34:case 39:case 91:O+=de(v);break;case 9:case 10:case 13:case 32:O+=pe(m);break;case 92:O+=fe(se()-1,7);continue;case 47:switch(le()){case 42:case 47:K(we(ge(ie(),se()),t,n,s),s);break;default:O+="/"}break;case 123*g:l[c++]=G(O)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:h=0;case 59+u:-1==b&&(O=B(O,/\f/g,"")),f>0&&G(O)-d&&K(f>32?xe(O+";",o,n,d-1,s):xe(B(O," ","")+";",o,n,d-2,s),s);break;case 59:O+=";";default:if(K(S=ye(O,t,n,c,u,r,l,y,w=[],x=[],d,a),a),123===v)if(0===u)ve(O,t,S,S,w,a,d,l,x);else switch(99===p&&110===W(O,3)?100:p){case 100:case 108:case 109:case 115:ve(e,S,S,o&&K(ye(e,S,S,0,0,r,l,y,r,w=[],d,x),x),r,x,d,l,o?w:x);break;default:ve(O,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=b=1,y=O="",d=i;break;case 58:d=1+G(O),f=m;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==ae())continue;switch(O+=D(v),v*g){case 38:b=u>0?1:(O+="\f",-1);break;case 44:l[c++]=(G(O)-1)*b,b=1;break;case 64:45===le()&&(O+=de(ie())),p=le(),u=d=G(y=O+=he(se())),v++;break;case 45:45===m&&2==G(O)&&(g=0)}}return a}function ye(e,t,n,o,r,a,i,l,s,c,u,d){for(var p=r-1,f=0===r?a:[""],m=U(f),g=0,h=0,b=0;g<o;++g)for(var v=0,y=q(e,p+1,p=j(h=i[g])),w=e;v<m;++v)(w=L(h>0?f[v]+" "+y:B(y,/&\f/g,f[v])))&&(s[b++]=w);return ne(e,t,n,0===r?M:l,s,c,u,d)}function we(e,t,n,o){return ne(e,t,n,I,D(ee),q(e,2,-2),0,o)}function xe(e,t,n,o,r){return ne(e,t,n,$,q(e,0,o),q(e,o+1,-1),o,r)}function Se(e,t,n){switch(function(e,t){return 45^W(e,0)?(((t<<2^W(e,0))<<2^W(e,1))<<2^W(e,2))<<2^W(e,3):0}(e,t)){case 5103:return N+"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 N+e+e;case 4789:return T+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return N+e+T+e+P+e+e;case 5936:switch(W(e,t+11)){case 114:return N+e+P+B(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return N+e+P+B(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return N+e+P+B(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return N+e+P+e+e;case 6165:return N+e+P+"flex-"+e+e;case 5187:return N+e+B(e,/(\w+).+(:[^]+)/,N+"box-$1$2"+P+"flex-$1$2")+e;case 5443:return N+e+P+"flex-item-"+B(e,/flex-|-self/g,"")+(_(e,/flex-|baseline/)?"":P+"grid-row-"+B(e,/flex-|-self/g,""))+e;case 4675:return N+e+P+"flex-line-pack"+B(e,/align-content|flex-|-self/g,"")+e;case 5548:return N+e+P+B(e,"shrink","negative")+e;case 5292:return N+e+P+B(e,"basis","preferred-size")+e;case 6060:return N+"box-"+B(e,"-grow","")+N+e+P+B(e,"grow","positive")+e;case 4554:return N+B(e,/([^-])(transform)/g,"$1"+N+"$2")+e;case 6187:return B(B(B(e,/(zoom-|grab)/,N+"$1"),/(image-set)/,N+"$1"),e,"")+e;case 5495:case 3959:return B(e,/(image-set\([^]*)/,N+"$1$`$1");case 4968:return B(B(e,/(.+:)(flex-)?(.*)/,N+"box-pack:$3"+P+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+N+e+e;case 4200:if(!_(e,/flex-|baseline/))return P+"grid-column-align"+q(e,t)+e;break;case 2592:case 3360:return P+B(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,_(e.props,/grid-\w+-end/)}))?~H(e+(n=n[t].value),"span",0)?e:P+B(e,"-start","")+e+P+"grid-row-span:"+(~H(n,"span",0)?_(n,/\d+/):+_(n,/\d+/)-+_(e,/\d+/))+";":P+B(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return _(e.props,/grid-\w+-start/)}))?e:P+B(B(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return B(e,/(.+)-inline(.+)/,N+"$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(G(e)-1-t>6)switch(W(e,t+1)){case 109:if(45!==W(e,t+4))break;case 102:return B(e,/(.+:)(.+)-([^]+)/,"$1"+N+"$2-$3$1"+T+(108==W(e,t+3)?"$3":"$2-$3"))+e;case 115:return~H(e,"stretch",0)?Se(B(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return B(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,o,r,a,i,l){return P+n+":"+o+l+(r?P+n+"-span:"+(a?i:+i-+o)+l:"")+e}));case 4949:if(121===W(e,t+6))return B(e,":",":"+N)+e;break;case 6444:switch(W(e,45===W(e,14)?18:11)){case 120:return B(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+N+(45===W(e,14)?"inline-":"")+"box$3$1"+N+"$2$3$1"+P+"$2box$3")+e;case 100:return B(e,":",":"+P)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return B(e,"scroll-","scroll-snap-")+e}return e}function Oe(e,t){for(var n="",o=0;o<e.length;o++)n+=t(e[o],o,e,t)||"";return n}function Ce(e,t,n,o){switch(e.type){case F:if(e.children.length)break;case A:case $:return e.return=e.return||e.value;case I:return"";case z:return e.return=e.value+"{"+Oe(e.children,o)+"}";case M:if(!G(e.value=e.props.join(",")))return""}return G(n=Oe(e.children,o))?e.return=e.value+"{"+n+"}":""}function ke(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case $:return void(e.return=Se(e.value,e.length,n));case z:return Oe([oe(e,{value:B(e.value,"@","@"+N)})],o);case M:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(_(t,o=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":re(oe(e,{props:[B(t,/:(read-\w+)/,":"+T+"$1")]})),re(oe(e,{props:[t]})),V(e,{props:Y(n,o)});break;case"::placeholder":re(oe(e,{props:[B(t,/:(plac\w+)/,":"+N+"input-$1")]})),re(oe(e,{props:[B(t,/:(plac\w+)/,":"+T+"$1")]})),re(oe(e,{props:[B(t,/:(plac\w+)/,P+"input-$1")]})),re(oe(e,{props:[t]})),V(e,{props:Y(n,o)})}return""}))}}var Ee={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},Re="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Pe="active",Te="data-styled-version",Ne="6.1.11",Ie="/*!sc*/\n",Me="undefined"!=typeof window&&"HTMLElement"in window,$e=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),Ae={},ze=/invalid hook call/i,Fe=new Set,je=function(e,t){if("production"!==process.env.NODE_ENV){var n=t?' with the id of "'.concat(t,'"'):"",o="The component ".concat(e).concat(n," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",r=console.error;try{var a=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];ze.test(e)?(a=!1,Fe.delete(o)):r.apply(void 0,S([e],t,!1))},i(),a&&!Fe.has(o)&&(console.warn(o),Fe.add(o))}catch(e){ze.test(e.message)&&Fe.delete(o)}finally{console.error=r}}},De=Object.freeze([]),Ve=Object.freeze({});function Le(e,t,n){return void 0===n&&(n=Ve),e.theme!==n.theme&&e.theme||t||n.theme}var _e=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"]),Be=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,He=/(^-|-$)/g;function We(e){return e.replace(Be,"-").replace(He,"")}var qe=/(a)(d)/gi,Ge=52,Ue=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ke(e){var t,n="";for(t=Math.abs(e);t>Ge;t=t/Ge|0)n=Ue(t%Ge)+n;return(Ue(t%Ge)+n).replace(qe,"$1-$2")}var Ye,Xe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Je=function(e){return Xe(5381,e)};function Ze(e){return Ke(Je(e)>>>0)}function Qe(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function et(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var tt="function"==typeof Symbol&&Symbol.for,nt=tt?Symbol.for("react.memo"):60115,ot=tt?Symbol.for("react.forward_ref"):60112,rt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},at={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},it={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},lt=((Ye={})[ot]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ye[nt]=it,Ye);function st(e){return("type"in(t=e)&&t.type.$$typeof)===nt?it:"$$typeof"in e?lt[e.$$typeof]:rt;var t}var ct=Object.defineProperty,ut=Object.getOwnPropertyNames,dt=Object.getOwnPropertySymbols,pt=Object.getOwnPropertyDescriptor,ft=Object.getPrototypeOf,mt=Object.prototype;function gt(e,t,n){if("string"!=typeof t){if(mt){var o=ft(t);o&&o!==mt&>(e,o,n)}var r=ut(t);dt&&(r=r.concat(dt(t)));for(var a=st(e),i=st(t),l=0;l<r.length;++l){var s=r[l];if(!(s in at||n&&n[s]||i&&s in i||a&&s in a)){var c=pt(t,s);try{ct(e,s,c)}catch(e){}}}}return e}function ht(e){return"function"==typeof e}function bt(e){return"object"==typeof e&&"styledComponentId"in e}function vt(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function yt(e,t){if(0===e.length)return"";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function wt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function xt(e,t,n){if(void 0===n&&(n=!1),!n&&!wt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=xt(e[o],t[o]);else if(wt(t))for(var o in t)e[o]=xt(e[o],t[o]);return e}function St(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 Ct(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,a=e.length;r<a;r+=1)o.push(e[r]);return o.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function kt(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(Ct.apply(void 0,S([Ot[e]],t,!1)).trim())}var Et=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw kt(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var a=o;a<r;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),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,a=o;a<r;a++)t+="".concat(this.tag.getRule(a)).concat(Ie);return t},e}(),Rt=1<<30,Pt=new Map,Tt=new Map,Nt=1,It=function(e){if(Pt.has(e))return Pt.get(e);for(;Tt.has(Nt);)Nt++;var t=Nt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>Rt))throw kt(16,"".concat(t));return Pt.set(e,t),Tt.set(t,e),t},Mt=function(e,t){Nt=t+1,Pt.set(e,t),Tt.set(t,e)},$t="style[".concat(Re,"][").concat(Te,'="').concat(Ne,'"]'),At=new RegExp("^".concat(Re,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),zt=function(e,t,n){for(var o,r=n.split(","),a=0,i=r.length;a<i;a++)(o=r[a])&&e.registerName(t,o)},Ft=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Ie),r=[],a=0,i=o.length;a<i;a++){var l=o[a].trim();if(l){var s=l.match(At);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(Mt(u,c),zt(e,u,s[3]),e.getTag().insertRules(c,r)),r.length=0}else r.push(l)}}};var jt=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Re,"]")));return t[t.length-1]}(n),a=void 0!==r?r.nextSibling:null;o.setAttribute(Re,Pe),o.setAttribute(Te,Ne);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&o.setAttribute("nonce",i),n.insertBefore(o,a),o},Dt=function(){function e(e){this.element=jt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw kt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Vt=function(){function e(e){this.element=jt(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}(),Lt=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}(),_t=Me,Bt={isServer:!Me,useCSSOMInjection:!$e},Ht=function(){function e(e,t,n){void 0===e&&(e=Ve),void 0===t&&(t={});var o=this;this.options=x(x({},Bt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Me&&_t&&(_t=!1,function(e){for(var t=document.querySelectorAll($t),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(Re)!==Pe&&(Ft(e,r),r.parentNode&&r.parentNode.removeChild(r))}}(this)),St(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return Tt.get(e)}(n);if(void 0===r)return"continue";var a=e.names.get(r),i=t.getGroup(n);if(void 0===a||0===i.length)return"continue";var l="".concat(Re,".g").concat(n,'[id="').concat(r,'"]'),s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),o+="".concat(i).concat(l,'{content:"').concat(s,'"}').concat(Ie)},a=0;a<n;a++)r(a);return o}(o)}))}return e.registerId=function(e){return It(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(x(x({},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 Lt(n):t?new Dt(n):new Vt(n)}(this.options),new Et(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(It(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(It(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(It(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Wt=/&/g,qt=/^\s*\/\/.*$/gm;function Gt(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=Gt(e.children,t)),e}))}var Ut=new Ht,Kt=function(e){var t,n,o,r=void 0===e?Ve:e,a=r.options,i=void 0===a?Ve:a,l=r.plugins,s=void 0===l?De:l,c=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===M&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Wt,n).replace(o,c))})),i.prefix&&u.push(ke),u.push(Ce);var d=function(e,r,a,l){void 0===r&&(r=""),void 0===a&&(a=""),void 0===l&&(l="&"),t=l,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(qt,""),c=be(a||r?"".concat(a," ").concat(r," { ").concat(s," }"):s);i.namespace&&(c=Gt(c,i.namespace));var d,p=[];return Oe(c,function(e){var t=U(e);return function(n,o,r,a){for(var i="",l=0;l<t;l++)i+=e[l](n,o,r,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||kt(15),Xe(e,t.name)}),5381).toString():"",d}(),Yt=r.createContext({shouldForwardProp:void 0,styleSheet:Ut,stylis:Kt});function Xt(){return c(Yt)}Yt.Consumer,r.createContext(void 0);var Jt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Kt);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,St(this,(function(){throw kt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Kt),this.name+e.hash},e}(),Zt=function(e){return e>="A"&&e<="Z"};function Qt(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;Zt(o)?t+="-"+o.toLowerCase():t+=o}return t.startsWith("ms-")?"-"+t:t}var en=function(e){return null==e||!1===e||""===e},tn=function(e){var t,n,o=[];for(var r in e){var a=e[r];e.hasOwnProperty(r)&&!en(a)&&(Array.isArray(a)&&a.isCss||ht(a)?o.push("".concat(Qt(r),":"),a,";"):wt(a)?o.push.apply(o,S(S(["".concat(r," {")],tn(a),!1),["}"],!1)):o.push("".concat(Qt(r),": ").concat((t=r,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in Ee||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return o};function nn(e,t,n,o){if(en(e))return[];if(bt(e))return[".".concat(e.styledComponentId)];if(ht(e)){if(!ht(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var r=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof r||Array.isArray(r)||r instanceof Jt||wt(r)||null===r||console.error("".concat(Qe(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.")),nn(r,t,n,o)}var a;return e instanceof Jt?n?(e.inject(n,o),[e.getName(o)]):[e]:wt(e)?tn(e):Array.isArray(e)?Array.prototype.concat.apply(De,e.map((function(e){return nn(e,t,n,o)}))):[e.toString()]}function on(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(ht(n)&&!bt(n))return!1}return!0}var rn=Je(Ne),an=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&on(e),this.componentId=t,this.baseHash=Xe(rn,t),this.baseStyle=n,Ht.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=vt(o,this.staticRulesId);else{var r=yt(nn(this.rules,e,t,n)),a=Ke(Xe(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(r,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}o=vt(o,a),this.staticRulesId=a}else{for(var l=Xe(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=Xe(l,u));else if(u){var d=yt(nn(u,e,t,n));l=Xe(l,d+c),s+=d}}if(s){var p=Ke(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),o=vt(o,p)}}return o},e}(),ln=r.createContext(void 0);function sn(e){var t=r.useContext(ln),n=a((function(){return function(e,t){if(!e)throw kt(14);if(ht(e)){var n=e(t);if("production"!==process.env.NODE_ENV&&(null===n||Array.isArray(n)||"object"!=typeof n))throw kt(7);return n}if(Array.isArray(e)||"object"!=typeof e)throw kt(8);return t?x(x({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?r.createElement(ln.Provider,{value:n},e.children):null}ln.Consumer;var cn={},un=new Set;function dn(e,t,n){var o=bt(e),a=e,i=!et(e),c=t.attrs,u=void 0===c?De:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":We(e);cn[n]=(cn[n]||0)+1;var o="".concat(n,"-").concat(Ze(Ne+n+cn[n]));return t?"".concat(t,"-").concat(o):o}(t.displayName,t.parentComponentId):d,f=t.displayName,m=void 0===f?function(e){return et(e)?"styled.".concat(e):"Styled(".concat(Qe(e),")")}(e):f,g=t.displayName&&t.componentId?"".concat(We(t.displayName),"-").concat(t.componentId):t.componentId||p,h=o&&a.attrs?a.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(o&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;b=function(e,t){return v(e,t)&&y(e,t)}}else b=v}var w=new an(n,g,o?a.componentStyle:void 0);function S(e,t){return function(e,t,n){var o=e.attrs,a=e.componentStyle,i=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=r.useContext(ln),f=Xt(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&l(u);var g=Le(t,p,i)||Ve,h=function(e,t,n){for(var o,r=x(x({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var i=ht(o=e[a])?o(r):o;for(var l in i)r[l]="className"===l?vt(r[l],i[l]):"style"===l?x(x({},r[l]),i[l]):i[l]}return t.className&&(r.className=vt(r.className,t.className)),r}(o,t,g),b=h.as||d,v={};for(var y in h)void 0===h[y]||"$"===y[0]||"as"===y||"theme"===y&&h.theme===g||("forwardedAs"===y?v.as=h.forwardedAs:m&&!m(y,b)||(v[y]=h[y],m||"development"!==process.env.NODE_ENV||k(y)||un.has(y)||!_e.has(b)||(un.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 w=function(e,t){var n=Xt(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&l(o),o}(a,h);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(w);var S=vt(c,u);return w&&(S+=" "+w),h.className&&(S+=" "+h.className),v[et(b)&&!_e.has(b)?"class":"className"]=S,v.ref=n,s(b,v)}(O,e,t)}S.displayName=m;var O=r.forwardRef(S);return O.attrs=h,O.componentStyle=w,O.displayName=m,O.shouldForwardProp=b,O.foldedComponentIds=o?vt(a.foldedComponentIds,a.styledComponentId):"",O.styledComponentId=g,O.target=o?a.target:e,Object.defineProperty(O,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)xt(e,r[o],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(je(m,g),O.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!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 />"),o=!0,n={}}}}(m,g)),St(O,(function(){return".".concat(O.styledComponentId)})),i&>(O,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),O}function pn(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var fn=function(e){return Object.assign(e,{isCss:!0})};function mn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(ht(e)||wt(e))return fn(nn(pn(De,S([e],t,!0))));var o=e;return 0===t.length&&1===o.length&&"string"==typeof o[0]?nn(o):fn(nn(pn(o,t)))}function gn(e,t,n){if(void 0===n&&(n=Ve),!t)throw kt(1,t);var o=function(o){for(var r=[],a=1;a<arguments.length;a++)r[a-1]=arguments[a];return e(t,n,mn.apply(void 0,S([o],r,!1)))};return o.attrs=function(o){return gn(e,t,x(x({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},o.withConfig=function(o){return gn(e,t,x(x({},n),o))},o}var hn=function(e){return gn(dn,e)},bn=hn;_e.forEach((function(e){bn[e]=hn(e)}));var vn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=on(e),Ht.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(yt(nn(this.rules,t,n,o)),""),a=this.componentId+e;n.insertRules(a,a,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&Ht.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function yn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var o=yt(mn.apply(void 0,S([e],t,!1))),r=Ze(o);return new Jt(r,o)}"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var wn="__sc-".concat(Re,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[wn]||(window[wn]=0),1===window[wn]&&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[wn]+=1);const xn=bn.div`
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import o,{useMemo as a,useRef as i,useDebugValue as l,createElement as s,useContext as c,useState as u,useEffect as d,useLayoutEffect as p,forwardRef as f,useCallback as m}from"react";import*as g from"react-dom";const h={colours:{primary:"var(--color--primary)"},fontFamily:"var(--font-family--sans-serif)"};var v=function(){return v=Object.assign||function(e){for(var t,n=1,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},v.apply(this,arguments)};function b(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 y(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var w=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|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)-.*))$/,x=y((function(e){return w.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function S(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var C="-ms-",k="-moz-",O="-webkit-",E="comm",I="rule",$="decl",P="@import",z="@keyframes",R="@layer",N=Math.abs,A=String.fromCharCode,T=Object.assign;function D(e){return e.trim()}function _(e,t){return(e=t.exec(e))?e[0]:e}function M(e,t,n){return e.replace(t,n)}function L(e,t,n){return e.indexOf(t,n)}function F(e,t){return 0|e.charCodeAt(t)}function V(e,t,n){return e.slice(t,n)}function j(e){return e.length}function B(e){return e.length}function H(e,t){return t.push(e),e}function W(e,t){return e.filter((function(e){return!_(e,t)}))}var G=1,q=1,U=0,Y=0,K=0,J="";function X(e,t,n,r,o,a,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:G,column:q,length:i,return:"",siblings:l}}function Q(e,t){return T(X("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Z(e){for(;e.root;)e=Q(e.root,{children:[e]});H(e,e.siblings)}function ee(){return K=Y<U?F(J,Y++):0,q++,10===K&&(q=1,G++),K}function te(){return F(J,Y)}function ne(){return Y}function re(e,t){return V(J,e,t)}function oe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ae(e){return D(re(Y-1,se(91===e?e+2:40===e?e+1:e)))}function ie(e){for(;(K=te())&&K<33;)ee();return oe(e)>2||oe(K)>3?"":" "}function le(e,t){for(;--t&&ee()&&!(K<48||K>102||K>57&&K<65||K>70&&K<97););return re(e,ne()+(t<6&&32==te()&&32==ee()))}function se(e){for(;ee();)switch(K){case e:return Y;case 34:case 39:34!==e&&39!==e&&se(K);break;case 40:41===e&&se(e);break;case 92:ee()}return Y}function ce(e,t){for(;ee()&&e+K!==57&&(e+K!==84||47!==te()););return"/*"+re(t,Y-1)+"*"+A(47===e?e:ee())}function ue(e){for(;!oe(te());)ee();return re(e,Y)}function de(e){return function(e){return J="",e}(pe("",null,null,null,[""],e=function(e){return G=q=1,U=j(J=e),Y=0,[]}(e),0,[0],e))}function pe(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="",w=o,x=a,S=r,C=y;h;)switch(m=b,b=ee()){case 40:if(108!=m&&58==F(C,d-1)){-1!=L(C+=M(ae(b),"&","&\f"),"&\f",N(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=ae(b);break;case 9:case 10:case 13:case 32:C+=ie(m);break;case 92:C+=le(ne()-1,7);continue;case 47:switch(te()){case 42:case 47:H(me(ce(ee(),ne()),t,n,s),s);break;default:C+="/"}break;case 123*g:l[c++]=j(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=M(C,/\f/g,"")),f>0&&j(C)-d&&H(f>32?ge(C+";",r,n,d-1,s):ge(M(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(H(S=fe(C,t,n,c,u,o,l,y,w=[],x=[],d,a),a),123===b)if(0===u)pe(C,t,S,S,w,a,d,l,x);else switch(99===p&&110===F(C,3)?100:p){case 100:case 108:case 109:case 115:pe(e,S,S,r&&H(fe(e,S,S,0,0,o,l,y,o,w=[],d,x),x),o,x,d,l,r?w:x);break;default:pe(C,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+j(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(K=Y>0?F(J,--Y):0,q--,10===K&&(q=1,G--),K))continue;switch(C+=A(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(j(C)-1)*v,v=1;break;case 64:45===te()&&(C+=ae(ee())),p=te(),u=d=j(y=C+=ue(ne())),b++;break;case 45:45===m&&2==j(C)&&(g=0)}}return a}function fe(e,t,n,r,o,a,i,l,s,c,u,d){for(var p=o-1,f=0===o?a:[""],m=B(f),g=0,h=0,v=0;g<r;++g)for(var b=0,y=V(e,p+1,p=N(h=i[g])),w=e;b<m;++b)(w=D(h>0?f[b]+" "+y:M(y,/&\f/g,f[b])))&&(s[v++]=w);return X(e,t,n,0===o?I:l,s,c,u,d)}function me(e,t,n,r){return X(e,t,n,E,A(K),V(e,2,-2),0,r)}function ge(e,t,n,r,o){return X(e,t,n,$,V(e,0,r),V(e,r+1,-1),r,o)}function he(e,t,n){switch(function(e,t){return 45^F(e,0)?(((t<<2^F(e,0))<<2^F(e,1))<<2^F(e,2))<<2^F(e,3):0}(e,t)){case 5103:return O+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return O+e+e;case 4789:return k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return O+e+k+e+C+e+e;case 5936:switch(F(e,t+11)){case 114:return O+e+C+M(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return O+e+C+M(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return O+e+C+M(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return O+e+C+e+e;case 6165:return O+e+C+"flex-"+e+e;case 5187:return O+e+M(e,/(\w+).+(:[^]+)/,O+"box-$1$2"+C+"flex-$1$2")+e;case 5443:return O+e+C+"flex-item-"+M(e,/flex-|-self/g,"")+(_(e,/flex-|baseline/)?"":C+"grid-row-"+M(e,/flex-|-self/g,""))+e;case 4675:return O+e+C+"flex-line-pack"+M(e,/align-content|flex-|-self/g,"")+e;case 5548:return O+e+C+M(e,"shrink","negative")+e;case 5292:return O+e+C+M(e,"basis","preferred-size")+e;case 6060:return O+"box-"+M(e,"-grow","")+O+e+C+M(e,"grow","positive")+e;case 4554:return O+M(e,/([^-])(transform)/g,"$1"+O+"$2")+e;case 6187:return M(M(M(e,/(zoom-|grab)/,O+"$1"),/(image-set)/,O+"$1"),e,"")+e;case 5495:case 3959:return M(e,/(image-set\([^]*)/,O+"$1$`$1");case 4968:return M(M(e,/(.+:)(flex-)?(.*)/,O+"box-pack:$3"+C+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+O+e+e;case 4200:if(!_(e,/flex-|baseline/))return C+"grid-column-align"+V(e,t)+e;break;case 2592:case 3360:return C+M(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,_(e.props,/grid-\w+-end/)}))?~L(e+(n=n[t].value),"span",0)?e:C+M(e,"-start","")+e+C+"grid-row-span:"+(~L(n,"span",0)?_(n,/\d+/):+_(n,/\d+/)-+_(e,/\d+/))+";":C+M(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return _(e.props,/grid-\w+-start/)}))?e:C+M(M(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return M(e,/(.+)-inline(.+)/,O+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(j(e)-1-t>6)switch(F(e,t+1)){case 109:if(45!==F(e,t+4))break;case 102:return M(e,/(.+:)(.+)-([^]+)/,"$1"+O+"$2-$3$1"+k+(108==F(e,t+3)?"$3":"$2-$3"))+e;case 115:return~L(e,"stretch",0)?he(M(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return M(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,l){return C+n+":"+r+l+(o?C+n+"-span:"+(a?i:+i-+r)+l:"")+e}));case 4949:if(121===F(e,t+6))return M(e,":",":"+O)+e;break;case 6444:switch(F(e,45===F(e,14)?18:11)){case 120:return M(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+O+(45===F(e,14)?"inline-":"")+"box$3$1"+O+"$2$3$1"+C+"$2box$3")+e;case 100:return M(e,":",":"+C)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return M(e,"scroll-","scroll-snap-")+e}return e}function ve(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function be(e,t,n,r){switch(e.type){case R:if(e.children.length)break;case P:case $:return e.return=e.return||e.value;case E:return"";case z:return e.return=e.value+"{"+ve(e.children,r)+"}";case I:if(!j(e.value=e.props.join(",")))return""}return j(n=ve(e.children,r))?e.return=e.value+"{"+n+"}":""}function ye(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $:return void(e.return=he(e.value,e.length,n));case z:return ve([Q(e,{value:M(e.value,"@","@"+O)})],r);case I:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(_(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Z(Q(e,{props:[M(t,/:(read-\w+)/,":"+k+"$1")]})),Z(Q(e,{props:[t]})),T(e,{props:W(n,r)});break;case"::placeholder":Z(Q(e,{props:[M(t,/:(plac\w+)/,":"+O+"input-$1")]})),Z(Q(e,{props:[M(t,/:(plac\w+)/,":"+k+"$1")]})),Z(Q(e,{props:[M(t,/:(plac\w+)/,C+"input-$1")]})),Z(Q(e,{props:[t]})),T(e,{props:W(n,r)})}return""}))}}var we={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},xe="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Se="active",Ce="data-styled-version",ke="6.1.11",Oe="/*!sc*/\n",Ee="undefined"!=typeof window&&"HTMLElement"in window,Ie=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),$e=/invalid hook call/i,Pe=new Set,ze=function(e,t){if("production"!==process.env.NODE_ENV){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=console.error;try{var a=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];$e.test(e)?(a=!1,Pe.delete(r)):o.apply(void 0,b([e],t,!1))},i(),a&&!Pe.has(r)&&(console.warn(r),Pe.add(r))}catch(e){$e.test(e.message)&&Pe.delete(r)}finally{console.error=o}}},Re=Object.freeze([]),Ne=Object.freeze({});var Ae=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Te=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function _e(e){return e.replace(Te,"-").replace(De,"")}var Me=/(a)(d)/gi,Le=52,Fe=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ve(e){var t,n="";for(t=Math.abs(e);t>Le;t=t/Le|0)n=Fe(t%Le)+n;return(Fe(t%Le)+n).replace(Me,"$1-$2")}var je,Be=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},He=function(e){return Be(5381,e)};function We(e){return Ve(He(e)>>>0)}function Ge(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function qe(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ue="function"==typeof Symbol&&Symbol.for,Ye=Ue?Symbol.for("react.memo"):60115,Ke=Ue?Symbol.for("react.forward_ref"):60112,Je={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Xe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Qe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ze=((je={})[Ke]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},je[Ye]=Qe,je);function et(e){return("type"in(t=e)&&t.type.$$typeof)===Ye?Qe:"$$typeof"in e?Ze[e.$$typeof]:Je;var t}var tt=Object.defineProperty,nt=Object.getOwnPropertyNames,rt=Object.getOwnPropertySymbols,ot=Object.getOwnPropertyDescriptor,at=Object.getPrototypeOf,it=Object.prototype;function lt(e,t,n){if("string"!=typeof t){if(it){var r=at(t);r&&r!==it&<(e,r,n)}var o=nt(t);rt&&(o=o.concat(rt(t)));for(var a=et(e),i=et(t),l=0;l<o.length;++l){var s=o[l];if(!(s in Xe||n&&n[s]||i&&s in i||a&&s in a)){var c=ot(t,s);try{tt(e,s,c)}catch(e){}}}}return e}function st(e){return"function"==typeof e}function ct(e){return"object"==typeof e&&"styledComponentId"in e}function ut(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function dt(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function pt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ft(e,t,n){if(void 0===n&&(n=!1),!n&&!pt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=ft(e[r],t[r]);else if(pt(t))for(var r in t)e[r]=ft(e[r],t[r]);return e}function mt(e,t){Object.defineProperty(e,"toString",{value:t})}var gt="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 ht(){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 vt(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(ht.apply(void 0,b([gt[e]],t,!1)).trim())}var bt=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 vt(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(Oe);return t},e}(),yt=1<<30,wt=new Map,xt=new Map,St=1,Ct=function(e){if(wt.has(e))return wt.get(e);for(;xt.has(St);)St++;var t=St++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>yt))throw vt(16,"".concat(t));return wt.set(e,t),xt.set(t,e),t},kt=function(e,t){St=t+1,wt.set(e,t),xt.set(t,e)},Ot="style[".concat(xe,"][").concat(Ce,'="').concat(ke,'"]'),Et=new RegExp("^".concat(xe,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),It=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)},$t=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Oe),o=[],a=0,i=r.length;a<i;a++){var l=r[a].trim();if(l){var s=l.match(Et);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(kt(u,c),It(e,u,s[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}};var Pt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(xe,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(xe,Se),r.setAttribute(Ce,ke);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},zt=function(){function e(e){this.element=Pt(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 vt(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}(),Rt=function(){function e(e){this.element=Pt(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}(),Nt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),At=Ee,Tt={isServer:!Ee,useCSSOMInjection:!Ie},Dt=function(){function e(e,t,n){void 0===e&&(e=Ne),void 0===t&&(t={});var r=this;this.options=v(v({},Tt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Ee&&At&&(At=!1,function(e){for(var t=document.querySelectorAll(Ot),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(xe)!==Se&&($t(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),mt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return xt.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(xe,".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(Oe)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return Ct(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(v(v({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Nt(n):t?new zt(n):new Rt(n)}(this.options),new bt(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(Ct(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(Ct(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Ct(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),_t=/&/g,Mt=/^\s*\/\/.*$/gm;function Lt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Lt(e.children,t)),e}))}var Ft=new Dt,Vt=function(e){var t,n,r,o=Ne,a=o.options,i=void 0===a?Ne:a,l=o.plugins,s=void 0===l?Re: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===I&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(_t,n).replace(r,c))})),i.prefix&&u.push(ye),u.push(be);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(Mt,""),c=de(a||o?"".concat(a," ").concat(o," { ").concat(s," }"):s);i.namespace&&(c=Lt(c,i.namespace));var d,p=[];return ve(c,function(e){var t=B(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||vt(15),Be(e,t.name)}),5381).toString():"",d}(),jt=o.createContext({shouldForwardProp:void 0,styleSheet:Ft,stylis:Vt});function Bt(){return c(jt)}jt.Consumer,o.createContext(void 0);var Ht=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Vt);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,mt(this,(function(){throw vt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Vt),this.name+e.hash},e}(),Wt=function(e){return e>="A"&&e<="Z"};function Gt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Wt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var qt=function(e){return null==e||!1===e||""===e},Ut=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!qt(a)&&(Array.isArray(a)&&a.isCss||st(a)?r.push("".concat(Gt(o),":"),a,";"):pt(a)?r.push.apply(r,b(b(["".concat(o," {")],Ut(a),!1),["}"],!1)):r.push("".concat(Gt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in we||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Yt(e,t,n,r){if(qt(e))return[];if(ct(e))return[".".concat(e.styledComponentId)];if(st(e)){if(!st(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 Ht||pt(o)||null===o||console.error("".concat(Ge(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.")),Yt(o,t,n,r)}var a;return e instanceof Ht?n?(e.inject(n,r),[e.getName(r)]):[e]:pt(e)?Ut(e):Array.isArray(e)?Array.prototype.concat.apply(Re,e.map((function(e){return Yt(e,t,n,r)}))):[e.toString()]}var Kt=He(ke),Jt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(st(n)&&!ct(n))return!1}return!0}(e),this.componentId=t,this.baseHash=Be(Kt,t),this.baseStyle=n,Dt.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=ut(r,this.staticRulesId);else{var o=dt(Yt(this.rules,e,t,n)),a=Ve(Be(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=ut(r,a),this.staticRulesId=a}else{for(var l=Be(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=Be(l,u));else if(u){var d=dt(Yt(u,e,t,n));l=Be(l,d+c),s+=d}}if(s){var p=Ve(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=ut(r,p)}}return r},e}(),Xt=o.createContext(void 0);function Qt(e){var t=o.useContext(Xt),n=a((function(){return function(e,t){if(!e)throw vt(14);if(st(e)){var n=e(t);if("production"!==process.env.NODE_ENV&&(null===n||Array.isArray(n)||"object"!=typeof n))throw vt(7);return n}if(Array.isArray(e)||"object"!=typeof e)throw vt(8);return t?v(v({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?o.createElement(Xt.Provider,{value:n},e.children):null}Xt.Consumer;var Zt={},en=new Set;function tn(e,t,n){var r=ct(e),a=e,i=!qe(e),c=t.attrs,u=void 0===c?Re:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":_e(e);Zt[n]=(Zt[n]||0)+1;var r="".concat(n,"-").concat(We(ke+n+Zt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,m=void 0===f?function(e){return qe(e)?"styled.".concat(e):"Styled(".concat(Ge(e),")")}(e):f,g=t.displayName&&t.componentId?"".concat(_e(t.displayName),"-").concat(t.componentId):t.componentId||p,h=r&&a.attrs?a.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(r&&a.shouldForwardProp){var y=a.shouldForwardProp;if(t.shouldForwardProp){var w=t.shouldForwardProp;b=function(e,t){return y(e,t)&&w(e,t)}}else b=y}var S=new Jt(n,g,r?a.componentStyle:void 0);function C(e,t){return function(e,t,n){var r=e.attrs,a=e.componentStyle,i=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=o.useContext(Xt),f=Bt(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&l(u);var g=function(e,t,n){return void 0===n&&(n=Ne),e.theme!==n.theme&&e.theme||t||n.theme}(t,p,i)||Ne,h=function(e,t,n){for(var r,o=v(v({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var i=st(r=e[a])?r(o):r;for(var l in i)o[l]="className"===l?ut(o[l],i[l]):"style"===l?v(v({},o[l]),i[l]):i[l]}return t.className&&(o.className=ut(o.className,t.className)),o}(r,t,g),b=h.as||d,y={};for(var w in h)void 0===h[w]||"$"===w[0]||"as"===w||"theme"===w&&h.theme===g||("forwardedAs"===w?y.as=h.forwardedAs:m&&!m(w,b)||(y[w]=h[w],m||"development"!==process.env.NODE_ENV||x(w)||en.has(w)||!Ae.has(b)||(en.add(w),console.warn('styled-components: it looks like an unknown prop "'.concat(w,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var S=function(e,t){var n=Bt(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&l(r),r}(a,h);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=ut(c,u);return S&&(C+=" "+S),h.className&&(C+=" "+h.className),y[qe(b)&&!Ae.has(b)?"class":"className"]=C,y.ref=n,s(b,y)}(k,e,t)}C.displayName=m;var k=o.forwardRef(C);return k.attrs=h,k.componentStyle=S,k.displayName=m,k.shouldForwardProp=b,k.foldedComponentIds=r?ut(a.foldedComponentIds,a.styledComponentId):"",k.styledComponentId=g,k.target=r?a.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)ft(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(ze(m,g),k.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)),mt(k,(function(){return".".concat(k.styledComponentId)})),i&<(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function nn(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 rn=function(e){return Object.assign(e,{isCss:!0})};function on(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(st(e)||pt(e))return rn(Yt(nn(Re,b([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Yt(r):rn(Yt(nn(r,t)))}function an(e,t,n){if(void 0===n&&(n=Ne),!t)throw vt(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,on.apply(void 0,b([r],o,!1)))};return r.attrs=function(r){return an(e,t,v(v({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return an(e,t,v(v({},n),r))},r}var ln=function(e){return an(tn,e)},sn=ln;function cn(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=dt(on.apply(void 0,b([e],t,!1))),o=We(r);return new Ht(o,r)}Ae.forEach((function(e){sn[e]=ln(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 un="__sc-".concat(xe,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[un]||(window[un]=0),1===window[un]&&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[un]+=1);const dn=sn.div`
|
|
2
2
|
color: var(--color--grey-dark);
|
|
3
3
|
font-weight: var(--font-weight--bold);
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from
|
|
|
28
28
|
h6 {
|
|
29
29
|
font-size: 0.95rem;
|
|
30
30
|
}
|
|
31
|
-
`;function Sn({children:t,as:n}){return n?e(xn,{children:e(n,{children:t})}):null}function On(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Cn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?On(Object(n),!0).forEach((function(t){Rn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):On(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kn(e){return kn="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},kn(e)}function En(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(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 o,r,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||Nn(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 Tn(e){return function(e){if(Array.isArray(e))return In(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nn(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 Nn(e,t){if(e){if("string"==typeof e)return In(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)?In(e,t):void 0}}function In(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Mn=function(){},$n={},An={},zn=null,Fn={mark:Mn,measure:Mn};try{"undefined"!=typeof window&&($n=window),"undefined"!=typeof document&&(An=document),"undefined"!=typeof MutationObserver&&(zn=MutationObserver),"undefined"!=typeof performance&&(Fn=performance)}catch(e){}var jn=($n.navigator||{}).userAgent,Dn=void 0===jn?"":jn,Vn=$n,Ln=An,_n=zn,Bn=Fn;Vn.document;var Hn,Wn,qn,Gn,Un,Kn=!!Ln.documentElement&&!!Ln.head&&"function"==typeof Ln.addEventListener&&"function"==typeof Ln.createElement,Yn=~Dn.indexOf("MSIE")||~Dn.indexOf("Trident/"),Xn="___FONT_AWESOME___",Jn=16,Zn="fa",Qn="svg-inline--fa",eo="data-fa-i2svg",to="data-fa-pseudo-element",no="data-fa-pseudo-element-pending",oo="data-prefix",ro="data-icon",ao="fontawesome-i2svg",io="async",lo=["HTML","HEAD","STYLE","SCRIPT"],so=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}(),co="classic",uo="sharp",po=[co,uo];function fo(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[co]}})}var mo=fo((Rn(Hn={},co,{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"}),Rn(Hn,uo,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Hn)),go=fo((Rn(Wn={},co,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Rn(Wn,uo,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Wn)),ho=fo((Rn(qn={},co,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Rn(qn,uo,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),qn)),bo=fo((Rn(Gn={},co,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Rn(Gn,uo,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Gn)),vo=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,yo="fa-layers-text",wo=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,xo=fo((Rn(Un={},co,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Rn(Un,uo,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Un)),So=[1,2,3,4,5,6,7,8,9,10],Oo=So.concat([11,12,13,14,15,16,17,18,19,20]),Co=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ko={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Eo=new Set;Object.keys(go[co]).map(Eo.add.bind(Eo)),Object.keys(go[uo]).map(Eo.add.bind(Eo));var Ro=[].concat(po,Tn(Eo),["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",ko.GROUP,ko.SWAP_OPACITY,ko.PRIMARY,ko.SECONDARY]).concat(So.map((function(e){return"".concat(e,"x")}))).concat(Oo.map((function(e){return"w-".concat(e)}))),Po=Vn.FontAwesomeConfig||{};if(Ln&&"function"==typeof Ln.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=Pn(e,2),n=t[0],o=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Ln.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=r&&(Po[o]=r)}))}var To={styleDefault:"solid",familyDefault:"classic",cssPrefix:Zn,replacementClass:Qn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Po.familyPrefix&&(Po.cssPrefix=Po.familyPrefix);var No=Cn(Cn({},To),Po);No.autoReplaceSvg||(No.observeMutations=!1);var Io={};Object.keys(To).forEach((function(e){Object.defineProperty(Io,e,{enumerable:!0,set:function(t){No[e]=t,Mo.forEach((function(e){return e(Io)}))},get:function(){return No[e]}})})),Object.defineProperty(Io,"familyPrefix",{enumerable:!0,set:function(e){No.cssPrefix=e,Mo.forEach((function(e){return e(Io)}))},get:function(){return No.cssPrefix}}),Vn.FontAwesomeConfig=Io;var Mo=[];var $o=Jn,Ao={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var zo="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Fo(){for(var e=12,t="";e-- >0;)t+=zo[62*Math.random()|0];return t}function jo(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Do(e){return e.classList?jo(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Vo(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Lo(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function _o(e){return e.size!==Ao.size||e.x!==Ao.x||e.y!==Ao.y||e.rotate!==Ao.rotate||e.flipX||e.flipY}var Bo=':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 Ho(){var e=Zn,t=Qn,n=Io.cssPrefix,o=Io.replacementClass,r=Bo;if(n!==e||o!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");r=r.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(o))}return r}var Wo=!1;function qo(){Io.autoAddCss&&!Wo&&(!function(e){if(e&&Kn){var t=Ln.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Ln.head.childNodes,o=null,r=n.length-1;r>-1;r--){var a=n[r],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(o=a)}Ln.head.insertBefore(t,o)}}(Ho()),Wo=!0)}var Go={mixout:function(){return{dom:{css:Ho,insertCss:qo}}},hooks:function(){return{beforeDOMElementCreation:function(){qo()},beforeI2svg:function(){qo()}}}},Uo=Vn||{};Uo[Xn]||(Uo[Xn]={}),Uo[Xn].styles||(Uo[Xn].styles={}),Uo[Xn].hooks||(Uo[Xn].hooks={}),Uo[Xn].shims||(Uo[Xn].shims=[]);var Ko=Uo[Xn],Yo=[],Xo=!1;function Jo(e){var t=e.tag,n=e.attributes,o=void 0===n?{}:n,r=e.children,a=void 0===r?[]:r;return"string"==typeof e?Vo(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Vo(e[n]),'" ')}),"").trim()}(o),">").concat(a.map(Jo).join(""),"</").concat(t,">")}function Zo(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Kn&&((Xo=(Ln.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ln.readyState))||Ln.addEventListener("DOMContentLoaded",(function e(){Ln.removeEventListener("DOMContentLoaded",e),Xo=1,Yo.map((function(e){return e()}))})));var Qo,er,tr,nr=function(e,t,n,o){var r,a,i,l=Object.keys(e),s=l.length,c=void 0!==o?function(e,t){return function(n,o,r,a){return e.call(t,n,o,r,a)}}(t,o):t;for(void 0===n?(r=1,i=e[l[0]]):(r=0,i=n);r<s;r++)i=c(i,e[a=l[r]],a,e);return i};function or(e){var t=function(e){for(var t=[],n=0,o=e.length;n<o;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&r)<<10)+(1023&a)+65536):(t.push(r),n--)}else t.push(r)}return t}(e);return 1===t.length?t[0].toString(16):null}function rr(e){return Object.keys(e).reduce((function(t,n){var o=e[n];return!!o.icon?t[o.iconName]=o.icon:t[n]=o,t}),{})}function ar(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,o=void 0!==n&&n,r=rr(t);"function"!=typeof Ko.hooks.addPack||o?Ko.styles[e]=Cn(Cn({},Ko.styles[e]||{}),r):Ko.hooks.addPack(e,rr(t)),"fas"===e&&ar("fa",t)}var ir=Ko.styles,lr=Ko.shims,sr=(Rn(Qo={},co,Object.values(ho[co])),Rn(Qo,uo,Object.values(ho[uo])),Qo),cr=null,ur={},dr={},pr={},fr={},mr={},gr=(Rn(er={},co,Object.keys(mo[co])),Rn(er,uo,Object.keys(mo[uo])),er);function hr(e,t){var n,o=t.split("-"),r=o[0],a=o.slice(1).join("-");return r!==e||""===a||(n=a,~Ro.indexOf(n))?null:a}var br,vr=function(){var e=function(e){return nr(ir,(function(t,n,o){return t[o]=nr(n,e,{}),t}),{})};ur=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})),dr=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})),mr=e((function(e,t,n){var o=t[2];return e[n]=n,o.forEach((function(t){e[t]=n})),e}));var t="far"in ir||Io.autoFetchSvg,n=nr(lr,(function(e,n){var o=n[0],r=n[1],a=n[2];return"far"!==r||t||(r="fas"),"string"==typeof o&&(e.names[o]={prefix:r,iconName:a}),"number"==typeof o&&(e.unicodes[o.toString(16)]={prefix:r,iconName:a}),e}),{names:{},unicodes:{}});pr=n.names,fr=n.unicodes,cr=Cr(Io.styleDefault,{family:Io.familyDefault})};function yr(e,t){return(ur[e]||{})[t]}function wr(e,t){return(mr[e]||{})[t]}function xr(e){return pr[e]||{prefix:null,iconName:null}}function Sr(){return cr}br=function(e){cr=Cr(e.styleDefault,{family:Io.familyDefault})},Mo.push(br),vr();var Or=function(){return{prefix:null,iconName:null,rest:[]}};function Cr(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?co:t,o=mo[n][e],r=go[n][e]||go[n][o],a=e in Ko.styles?e:null;return r||a||null}var kr=(Rn(tr={},co,Object.keys(ho[co])),Rn(tr,uo,Object.keys(ho[uo])),tr);function Er(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,o=void 0!==n&&n,r=(Rn(t={},co,"".concat(Io.cssPrefix,"-").concat(co)),Rn(t,uo,"".concat(Io.cssPrefix,"-").concat(uo)),t),a=null,i=co;(e.includes(r[co])||e.some((function(e){return kr[co].includes(e)})))&&(i=co),(e.includes(r[uo])||e.some((function(e){return kr[uo].includes(e)})))&&(i=uo);var l=e.reduce((function(e,t){var n=hr(Io.cssPrefix,t);if(ir[t]?(t=sr[i].includes(t)?bo[i][t]:t,a=t,e.prefix=t):gr[i].indexOf(t)>-1?(a=t,e.prefix=Cr(t,{family:i})):n?e.iconName=n:t!==Io.replacementClass&&t!==r[co]&&t!==r[uo]&&e.rest.push(t),!o&&e.prefix&&e.iconName){var l="fa"===a?xr(e.iconName):{},s=wr(e.prefix,e.iconName);l.prefix&&(a=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||ir.far||!ir.fas||Io.autoFetchSvg||(e.prefix="fas")}return e}),Or());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==uo||!ir.fass&&!Io.autoFetchSvg||(l.prefix="fass",l.iconName=wr(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=Sr()||"fas"),l}var Rr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,o;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(t){e.definitions[t]=Cn(Cn({},e.definitions[t]||{}),r[t]),ar(t,r[t]);var n=ho[co][t];n&&ar(n,r[t]),vr()}))}},{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 o=n[t],r=o.prefix,a=o.iconName,i=o.icon,l=i[2];e[r]||(e[r]={}),l.length>0&&l.forEach((function(t){"string"==typeof t&&(e[r][t]=i)})),e[r][a]=i})),e}}],n&&En(t.prototype,n),o&&En(t,o),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Pr=[],Tr={},Nr={},Ir=Object.keys(Nr);function Mr(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return(Tr[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(o))})),t}function $r(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];(Tr[e]||[]).forEach((function(e){e.apply(null,n)}))}function Ar(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Nr[e]?Nr[e].apply(null,t):void 0}function zr(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Sr();if(t)return t=wr(n,t)||t,Zo(Fr.definitions,n,t)||Zo(Ko.styles,n,t)}var Fr=new Rr,jr={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Kn?($r("beforeI2svg",e),Ar("pseudoElements2svg",e),Ar("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===Io.autoReplaceSvg&&(Io.autoReplaceSvg=!0),Io.observeMutations=!0,e=function(){Lr({autoReplaceSvgRoot:n}),$r("watch",t)},Kn&&(Xo?setTimeout(e,0):Yo.push(e))}},Dr={icon:function(e){if(null===e)return null;if("object"===kn(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:wr(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=Cr(e[0]);return{prefix:n,iconName:wr(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(Io.cssPrefix,"-"))>-1||e.match(vo))){var o=Er(e.split(" "),{skipLookups:!0});return{prefix:o.prefix||Sr(),iconName:wr(o.prefix,o.iconName)||o.iconName}}if("string"==typeof e){var r=Sr();return{prefix:r,iconName:wr(r,e)||e}}}},Vr={noAuto:function(){Io.autoReplaceSvg=!1,Io.observeMutations=!1,$r("noAuto")},config:Io,dom:jr,parse:Dr,library:Fr,findIconDefinition:zr,toHtml:Jo},Lr=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?Ln:e;(Object.keys(Ko.styles).length>0||Io.autoFetchSvg)&&Kn&&Io.autoReplaceSvg&&Vr.dom.i2svg({node:t})};function _r(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Jo(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Kn){var t=Ln.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function Br(e){var t=e.icons,n=t.main,o=t.mask,r=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=o.found?o:n,g=m.width,h=m.height,b="fak"===r,v=[Io.replacementClass,a?"".concat(Io.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:Cn(Cn({},d.attributes),{},{"data-prefix":r,"data-icon":a,class:v,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},w=b&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};f&&(y.attributes[eo]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Fo())},children:[s]}),delete y.attributes.title);var x=Cn(Cn({},y),{},{prefix:r,iconName:a,main:n,mask:o,maskId:c,transform:i,symbol:l,styles:Cn(Cn({},w),d.styles)}),S=o.found&&n.found?Ar("generateAbstractMask",x)||{children:[],attributes:{}}:Ar("generateAbstractIcon",x)||{children:[],attributes:{}},O=S.children,C=S.attributes;return x.children=O,x.attributes=C,l?function(e){var t=e.prefix,n=e.iconName,o=e.children,r=e.attributes,a=e.symbol,i=!0===a?"".concat(t,"-").concat(Io.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Cn(Cn({},r),{},{id:i}),children:o}]}]}(x):function(e){var t=e.children,n=e.main,o=e.mask,r=e.attributes,a=e.styles,i=e.transform;if(_o(i)&&n.found&&!o.found){var l={x:n.width/n.height/2,y:.5};r.style=Lo(Cn(Cn({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(x)}function Hr(e){var t=e.content,n=e.width,o=e.height,r=e.transform,a=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=Cn(Cn(Cn({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(c[eo]="");var u=Cn({},i.styles);_o(r)&&(u.transform=function(e){var t=e.transform,n=e.width,o=void 0===n?Jn:n,r=e.height,a=void 0===r?Jn:r,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&Yn?"translate(".concat(t.x/$o-o/2,"em, ").concat(t.y/$o-a/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/$o,"em), calc(-50% + ").concat(t.y/$o,"em)) "):"translate(".concat(t.x/$o,"em, ").concat(t.y/$o,"em) "),s+="scale(".concat(t.size/$o*(t.flipX?-1:1),", ").concat(t.size/$o*(t.flipY?-1:1),") "),s+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:o}),u["-webkit-transform"]=u.transform);var d=Lo(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 Wr=Ko.styles;function qr(e){var t=e[0],n=e[1],o=Pn(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(o)?{tag:"g",attributes:{class:"".concat(Io.cssPrefix,"-").concat(ko.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Io.cssPrefix,"-").concat(ko.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Io.cssPrefix,"-").concat(ko.PRIMARY),fill:"currentColor",d:o[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:o}}}}var Gr={found:!1,width:512,height:512};function Ur(e,t){var n=t;return"fa"===t&&null!==Io.styleDefault&&(t=Sr()),new Promise((function(o,r){if(Ar("missingIconAbstract"),"fa"===n){var a=xr(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&Wr[t]&&Wr[t][e])return o(qr(Wr[t][e]));!function(e,t){so||Io.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),o(Cn(Cn({},Gr),{},{icon:Io.showMissingIcons&&e&&Ar("missingIconAbstract")||{}}))}))}var Kr=function(){},Yr=Io.measurePerformance&&Bn&&Bn.mark&&Bn.measure?Bn:{mark:Kr,measure:Kr},Xr='FA "6.5.2"',Jr=function(e){Yr.mark("".concat(Xr," ").concat(e," ends")),Yr.measure("".concat(Xr," ").concat(e),"".concat(Xr," ").concat(e," begins"),"".concat(Xr," ").concat(e," ends"))},Zr={begin:function(e){return Yr.mark("".concat(Xr," ").concat(e," begins")),function(){return Jr(e)}},end:Jr},Qr=function(){};function ea(e){return"string"==typeof(e.getAttribute?e.getAttribute(eo):null)}function ta(e){return Ln.createElementNS("http://www.w3.org/2000/svg",e)}function na(e){return Ln.createElement(e)}function oa(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?ta:na:t;if("string"==typeof e)return Ln.createTextNode(e);var o=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){o.appendChild(oa(e,{ceFn:n}))})),o}var ra={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(oa(e),t)})),null===t.getAttribute(eo)&&Io.keepOriginalSource){var n=Ln.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(~Do(t).indexOf(Io.replacementClass))return ra.replace(e);var o=new RegExp("".concat(Io.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var r=n[0].attributes.class.split(" ").reduce((function(e,t){return t===Io.replacementClass||t.match(o)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?t.removeAttribute("class"):t.setAttribute("class",r.toNode.join(" "))}var a=n.map((function(e){return Jo(e)})).join("\n");t.setAttribute(eo,""),t.innerHTML=a}};function aa(e){e()}function ia(e,t){var n="function"==typeof t?t:Qr;if(0===e.length)n();else{var o=aa;Io.mutateApproach===io&&(o=Vn.requestAnimationFrame||aa),o((function(){var t=!0===Io.autoReplaceSvg?ra.replace:ra[Io.autoReplaceSvg]||ra.replace,o=Zr.begin("mutate");e.map(t),o(),n()}))}}var la=!1;function sa(){la=!0}function ca(){la=!1}var ua=null;function da(e){if(_n&&Io.observeMutations){var t=e.treeCallback,n=void 0===t?Qr:t,o=e.nodeCallback,r=void 0===o?Qr:o,a=e.pseudoElementsCallback,i=void 0===a?Qr:a,l=e.observeMutationsRoot,s=void 0===l?Ln:l;ua=new _n((function(e){if(!la){var t=Sr();jo(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!ea(e.addedNodes[0])&&(Io.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&Io.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&ea(e.target)&&~Co.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(oo):null,n=e.getAttribute?e.getAttribute(ro):null;return t&&n}(e.target)){var o=Er(Do(e.target)),a=o.prefix,l=o.iconName;e.target.setAttribute(oo,a||t),l&&e.target.setAttribute(ro,l)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Io.replacementClass)})(e.target)&&r(e.target)}))}})),Kn&&ua.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function pa(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),o=void 0!==e.innerText?e.innerText.trim():"",r=Er(Do(e));return r.prefix||(r.prefix=Sr()),t&&n&&(r.prefix=t,r.iconName=n),r.iconName&&r.prefix||(r.prefix&&o.length>0&&(r.iconName=function(e,t){return(dr[e]||{})[t]}(r.prefix,e.innerText)||yr(r.prefix,or(e.innerText))),!r.iconName&&Io.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=e.firstChild.data)),r}function fa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=pa(e),o=n.iconName,r=n.prefix,a=n.rest,i=function(e){var t=jo(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),o=e.getAttribute("data-fa-title-id");return Io.autoA11y&&(n?t["aria-labelledby"]="".concat(Io.replacementClass,"-title-").concat(o||Fo()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=Mr("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(":"),o=n[0],r=n.slice(1);return o&&r.length>0&&(e[o]=r.join(":").trim()),e}),{})),n}(e):[];return Cn({iconName:o,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:Ao,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:i}},l)}var ma=Ko.styles;function ga(e){var t="nest"===Io.autoReplaceSvg?fa(e,{styleParser:!1}):fa(e);return~t.extra.classes.indexOf(yo)?Ar("generateLayersText",e,t):Ar("generateSvgReplacementMutation",e,t)}var ha=new Set;function ba(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Kn)return Promise.resolve();var n=Ln.documentElement.classList,o=function(e){return n.add("".concat(ao,"-").concat(e))},r=function(e){return n.remove("".concat(ao,"-").concat(e))},a=Io.autoFetchSvg?ha:po.map((function(e){return"fa-".concat(e)})).concat(Object.keys(ma));a.includes("fa")||a.push("fa");var i=[".".concat(yo,":not([").concat(eo,"])")].concat(a.map((function(e){return".".concat(e,":not([").concat(eo,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=jo(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();o("pending"),r("complete");var s=Zr.begin("onTree"),c=l.reduce((function(e,t){try{var n=ga(t);n&&e.push(n)}catch(e){so||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){ia(n,(function(){o("active"),o("complete"),r("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ga(e).then((function(e){e&&ia([e],t)}))}function ya(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(t||{}).icon?t:zr(t||{}),r=n.mask;return r&&(r=(r||{}).icon?r:zr(r||{})),e(o,Cn(Cn({},n),{},{mask:r}))}}po.map((function(e){ha.add("fa-".concat(e))})),Object.keys(mo[co]).map(ha.add.bind(ha)),Object.keys(mo[uo]).map(ha.add.bind(ha)),ha=Tn(ha);var wa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,o=void 0===n?Ao:n,r=t.symbol,a=void 0!==r&&r,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,b=void 0===h?{}:h,v=t.styles,y=void 0===v?{}:v;if(e){var w=e.prefix,x=e.iconName,S=e.icon;return _r(Cn({type:"icon"},e),(function(){return $r("beforeDOMElementCreation",{iconDefinition:e,params:t}),Io.autoA11y&&(d?b["aria-labelledby"]="".concat(Io.replacementClass,"-title-").concat(f||Fo()):(b["aria-hidden"]="true",b.focusable="false")),Br({icons:{main:qr(S),mask:l?qr(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:Cn(Cn({},Ao),o),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:b,styles:y,classes:g}})}))}},xa={mixout:function(){return{icon:ya(wa)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=ba,e.nodeCallback=va,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Ln:t,o=e.callback;return ba(n,void 0===o?function(){}:o)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,o=t.title,r=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([Ur(n,a),s.iconName?Ur(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=Pn(s,2),p=d[0],f=d[1];t([e,Br({icons:{main:p,mask:f},prefix:a,iconName:n,transform:i,symbol:l,maskId:c,title:o,titleId:r,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,o=e.attributes,r=e.main,a=e.transform,i=Lo(e.styles);return i.length>0&&(o.style=i),_o(a)&&(t=Ar("generateAbstractTransformGrouping",{main:r,transform:a,containerWidth:r.width,iconWidth:r.width})),n.push(t||r.icon),{children:n,attributes:o}}}},Sa={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,o=void 0===n?[]:n;return _r({type:"layer"},(function(){$r("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(Io.cssPrefix,"-layers")].concat(Tn(o)).join(" ")},children:n}]}))}}}},Oa={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,o=void 0===n?null:n,r=t.classes,a=void 0===r?[]:r,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return _r({type:"counter",content:e},(function(){return $r("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,o=e.extra,r=Cn(Cn(Cn({},o.attributes),n?{title:n}:{}),{},{class:o.classes.join(" ")}),a=Lo(o.styles);a.length>0&&(r.style=a);var i=[];return i.push({tag:"span",attributes:r,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:o,extra:{attributes:l,styles:c,classes:["".concat(Io.cssPrefix,"-layers-counter")].concat(Tn(a))}})}))}}}},Ca={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,o=void 0===n?Ao:n,r=t.title,a=void 0===r?null:r,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 _r({type:"text",content:e},(function(){return $r("beforeDOMElementCreation",{content:e,params:t}),Hr({content:e,transform:Cn(Cn({},Ao),o),title:a,extra:{attributes:c,styles:d,classes:["".concat(Io.cssPrefix,"-layers-text")].concat(Tn(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,o=t.transform,r=t.extra,a=null,i=null;if(Yn){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/l,i=s.height/l}return Io.autoA11y&&!n&&(r.attributes["aria-hidden"]="true"),Promise.resolve([e,Hr({content:e.innerHTML,width:a,height:i,transform:o,title:n,extra:r,watchable:!0})])}}},ka=new RegExp('"',"ug"),Ea=[1105920,1112319];function Ra(e,t){var n="".concat(no).concat(t.replace(":","-"));return new Promise((function(o,r){if(null!==e.getAttribute(n))return o();var a,i,l,s=jo(e.children).filter((function(e){return e.getAttribute(to)===t}))[0],c=Vn.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(wo),d=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),o();if(u&&"none"!==p&&""!==p){var f=c.getPropertyValue("content"),m=~["Sharp"].indexOf(u[2])?uo:co,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?go[m][u[2].toLowerCase()]:xo[m][d],h=function(e){var t,n,o,r,a,i=e.replace(ka,""),l=(n=0,r=(t=i).length,(a=t.charCodeAt(n))>=55296&&a<=56319&&r>n+1&&(o=t.charCodeAt(n+1))>=56320&&o<=57343?1024*(a-55296)+o-56320+65536:a),s=l>=Ea[0]&&l<=Ea[1],c=2===i.length&&i[0]===i[1];return{value:or(c?i[0]:i),isSecondary:s||c}}(f),b=h.value,v=h.isSecondary,y=u[0].startsWith("FontAwesome"),w=yr(g,b),x=w;if(y){var S=(i=fr[a=b],l=yr("fas",a),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});S.iconName&&S.prefix&&(w=S.iconName,g=S.prefix)}if(!w||v||s&&s.getAttribute(oo)===g&&s.getAttribute(ro)===x)o();else{e.setAttribute(n,x),s&&e.removeChild(s);var O={iconName:null,title:null,titleId:null,prefix:null,transform:Ao,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},C=O.extra;C.attributes[to]=t,Ur(w,g).then((function(r){var a=Br(Cn(Cn({},O),{},{icons:{main:r,mask:Or()},prefix:g,iconName:x,extra:C,watchable:!0})),i=Ln.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 Jo(e)})).join("\n"),e.removeAttribute(n),o()})).catch(r)}}else o()}))}function Pa(e){return Promise.all([Ra(e,"::before"),Ra(e,"::after")])}function Ta(e){return!(e.parentNode===document.head||~lo.indexOf(e.tagName.toUpperCase())||e.getAttribute(to)||e.parentNode&&"svg"===e.parentNode.tagName)}function Na(e){if(Kn)return new Promise((function(t,n){var o=jo(e.querySelectorAll("*")).filter(Ta).map(Pa),r=Zr.begin("searchPseudoElements");sa(),Promise.all(o).then((function(){r(),ca(),t()})).catch((function(){r(),ca(),n()}))}))}var Ia={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Na,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Ln:t;Io.searchPseudoElements&&Na(n)}}},Ma=!1,$a=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),o=n[0],r=n.slice(1).join("-");if(o&&"h"===r)return e.flipX=!0,e;if(o&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(o){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Aa={mixout:function(){return{parse:{transform:function(e){return $a(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=$a(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,o=e.containerWidth,r=e.iconWidth,a={transform:"translate(".concat(o/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(r/2*-1," -256)")}};return{tag:"g",attributes:Cn({},c.outer),children:[{tag:"g",attributes:Cn({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:Cn(Cn({},t.icon.attributes),c.path)}]}]}}}},za={x:0,y:0,width:"100%",height:"100%"};function Fa(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 ja={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),o=n?Er(n.split(" ").map((function(e){return e.trim()}))):Or();return o.prefix||(o.prefix=Sr()),e.mask=o,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,o=e.attributes,r=e.main,a=e.mask,i=e.maskId,l=e.transform,s=r.width,c=r.icon,u=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,o=e.iconWidth,r={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:r,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(o/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),f={tag:"rect",attributes:Cn(Cn({},za),{},{fill:"white"})},m=c.children?{children:c.children.map(Fa)}:{},g={tag:"g",attributes:Cn({},p.inner),children:[Fa(Cn({tag:c.tag,attributes:Cn(Cn({},c.attributes),p.path)},m))]},h={tag:"g",attributes:Cn({},p.outer),children:[g]},b="mask-".concat(i||Fo()),v="clip-".concat(i||Fo()),y={tag:"mask",attributes:Cn(Cn({},za),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,h]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(w,{tag:"rect",attributes:Cn({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(b,")")},za)}),{children:n,attributes:o}}}},Da={provides:function(e){var t=!1;Vn.matchMedia&&(t=Vn.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:Cn(Cn({},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 r=Cn(Cn({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:Cn(Cn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:Cn(Cn({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Cn(Cn({},r),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:Cn(Cn({},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:Cn(Cn({},r),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:Cn(Cn({},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:Cn(Cn({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Va=[Go,xa,Sa,Oa,Ca,Ia,{mixout:function(){return{dom:{unwatch:function(){sa(),Ma=!0}}}},hooks:function(){return{bootstrap:function(){da(Mr("mutationObserverCallbacks",{}))},noAuto:function(){ua&&ua.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Ma?ca():da(Mr("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Aa,ja,Da,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),o=null!==n&&(""===n||n);return e.symbol=o,e}}}}];!function(e,t){var n=t.mixoutsTo;Pr=e,Tr={},Object.keys(Nr).forEach((function(e){-1===Ir.indexOf(e)&&delete Nr[e]})),Pr.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"===kn(t[e])&&Object.keys(t[e]).forEach((function(o){n[e]||(n[e]={}),n[e][o]=t[e][o]}))})),e.hooks){var o=e.hooks();Object.keys(o).forEach((function(e){Tr[e]||(Tr[e]=[]),Tr[e].push(o[e])}))}e.provides&&e.provides(Nr)}))}(Va,{mixoutsTo:Vr});var La,_a=Vr.library,Ba=Vr.parse,Ha=Vr.icon,Wa={exports:{}},qa={exports:{}},Ga={};var Ua,Ka,Ya,Xa,Ja,Za,Qa,ei,ti,ni,oi,ri,ai,ii,li={};
|
|
31
|
+
`;function pn({children:t,as:n}){return n?e(dn,{children:e(n,{children:t})}):null}function fn(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 mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(n),!0).forEach((function(t){vn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gn(e){return gn="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},gn(e)}function hn(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 vn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bn(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)||wn(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 yn(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||wn(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 wn(e,t){if(e){if("string"==typeof e)return xn(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)?xn(e,t):void 0}}function xn(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 Sn=function(){},Cn={},kn={},On=null,En={mark:Sn,measure:Sn};try{"undefined"!=typeof window&&(Cn=window),"undefined"!=typeof document&&(kn=document),"undefined"!=typeof MutationObserver&&(On=MutationObserver),"undefined"!=typeof performance&&(En=performance)}catch(e){}var In=(Cn.navigator||{}).userAgent,$n=void 0===In?"":In,Pn=Cn,zn=kn,Rn=On,Nn=En;Pn.document;var An,Tn,Dn,_n,Mn,Ln=!!zn.documentElement&&!!zn.head&&"function"==typeof zn.addEventListener&&"function"==typeof zn.createElement,Fn=~$n.indexOf("MSIE")||~$n.indexOf("Trident/"),Vn="___FONT_AWESOME___",jn=16,Bn="fa",Hn="svg-inline--fa",Wn="data-fa-i2svg",Gn="data-fa-pseudo-element",qn="data-fa-pseudo-element-pending",Un="data-prefix",Yn="data-icon",Kn="fontawesome-i2svg",Jn="async",Xn=["HTML","HEAD","STYLE","SCRIPT"],Qn=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}(),Zn="classic",er="sharp",tr=[Zn,er];function nr(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[Zn]}})}var rr=nr((vn(An={},Zn,{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"}),vn(An,er,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),An)),or=nr((vn(Tn={},Zn,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),vn(Tn,er,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Tn)),ar=nr((vn(Dn={},Zn,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),vn(Dn,er,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Dn)),ir=nr((vn(_n={},Zn,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),vn(_n,er,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),_n)),lr=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,sr="fa-layers-text",cr=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,ur=nr((vn(Mn={},Zn,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),vn(Mn,er,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Mn)),dr=[1,2,3,4,5,6,7,8,9,10],pr=dr.concat([11,12,13,14,15,16,17,18,19,20]),fr=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],mr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},gr=new Set;Object.keys(or[Zn]).map(gr.add.bind(gr)),Object.keys(or[er]).map(gr.add.bind(gr));var hr=[].concat(tr,yn(gr),["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",mr.GROUP,mr.SWAP_OPACITY,mr.PRIMARY,mr.SECONDARY]).concat(dr.map((function(e){return"".concat(e,"x")}))).concat(pr.map((function(e){return"w-".concat(e)}))),vr=Pn.FontAwesomeConfig||{};if(zn&&"function"==typeof zn.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=bn(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=zn.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(vr[r]=o)}))}var br={styleDefault:"solid",familyDefault:"classic",cssPrefix:Bn,replacementClass:Hn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};vr.familyPrefix&&(vr.cssPrefix=vr.familyPrefix);var yr=mn(mn({},br),vr);yr.autoReplaceSvg||(yr.observeMutations=!1);var wr={};Object.keys(br).forEach((function(e){Object.defineProperty(wr,e,{enumerable:!0,set:function(t){yr[e]=t,xr.forEach((function(e){return e(wr)}))},get:function(){return yr[e]}})})),Object.defineProperty(wr,"familyPrefix",{enumerable:!0,set:function(e){yr.cssPrefix=e,xr.forEach((function(e){return e(wr)}))},get:function(){return yr.cssPrefix}}),Pn.FontAwesomeConfig=wr;var xr=[];var Sr=jn,Cr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var kr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Or(){for(var e=12,t="";e-- >0;)t+=kr[62*Math.random()|0];return t}function Er(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function Ir(e){return e.classList?Er(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function $r(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Pr(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function zr(e){return e.size!==Cr.size||e.x!==Cr.x||e.y!==Cr.y||e.rotate!==Cr.rotate||e.flipX||e.flipY}var Rr=':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 Nr(){var e=Bn,t=Hn,n=wr.cssPrefix,r=wr.replacementClass,o=Rr;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 Ar=!1;function Tr(){wr.autoAddCss&&!Ar&&(!function(e){if(e&&Ln){var t=zn.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=zn.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)}zn.head.insertBefore(t,r)}}(Nr()),Ar=!0)}var Dr={mixout:function(){return{dom:{css:Nr,insertCss:Tr}}},hooks:function(){return{beforeDOMElementCreation:function(){Tr()},beforeI2svg:function(){Tr()}}}},_r=Pn||{};_r[Vn]||(_r[Vn]={}),_r[Vn].styles||(_r[Vn].styles={}),_r[Vn].hooks||(_r[Vn].hooks={}),_r[Vn].shims||(_r[Vn].shims=[]);var Mr=_r[Vn],Lr=[],Fr=!1;function Vr(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?$r(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat($r(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(Vr).join(""),"</").concat(t,">")}function jr(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Ln&&((Fr=(zn.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(zn.readyState))||zn.addEventListener("DOMContentLoaded",(function e(){zn.removeEventListener("DOMContentLoaded",e),Fr=1,Lr.map((function(e){return e()}))})));var Br,Hr,Wr,Gr=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 qr(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 Ur(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 Yr(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Ur(t);"function"!=typeof Mr.hooks.addPack||r?Mr.styles[e]=mn(mn({},Mr.styles[e]||{}),o):Mr.hooks.addPack(e,Ur(t)),"fas"===e&&Yr("fa",t)}var Kr=Mr.styles,Jr=Mr.shims,Xr=(vn(Br={},Zn,Object.values(ar[Zn])),vn(Br,er,Object.values(ar[er])),Br),Qr=null,Zr={},eo={},to={},no={},ro={},oo=(vn(Hr={},Zn,Object.keys(rr[Zn])),vn(Hr,er,Object.keys(rr[er])),Hr);function ao(e,t){var n,r=t.split("-"),o=r[0],a=r.slice(1).join("-");return o!==e||""===a||(n=a,~hr.indexOf(n))?null:a}var io,lo=function(){var e=function(e){return Gr(Kr,(function(t,n,r){return t[r]=Gr(n,e,{}),t}),{})};Zr=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})),eo=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})),ro=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 Kr||wr.autoFetchSvg,n=Gr(Jr,(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:{}});to=n.names,no=n.unicodes,Qr=mo(wr.styleDefault,{family:wr.familyDefault})};function so(e,t){return(Zr[e]||{})[t]}function co(e,t){return(ro[e]||{})[t]}function uo(e){return to[e]||{prefix:null,iconName:null}}function po(){return Qr}io=function(e){Qr=mo(e.styleDefault,{family:wr.familyDefault})},xr.push(io),lo();var fo=function(){return{prefix:null,iconName:null,rest:[]}};function mo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?Zn:t,r=rr[n][e],o=or[n][e]||or[n][r],a=e in Mr.styles?e:null;return o||a||null}var go=(vn(Wr={},Zn,Object.keys(ar[Zn])),vn(Wr,er,Object.keys(ar[er])),Wr);function ho(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,o=(vn(t={},Zn,"".concat(wr.cssPrefix,"-").concat(Zn)),vn(t,er,"".concat(wr.cssPrefix,"-").concat(er)),t),a=null,i=Zn;(e.includes(o[Zn])||e.some((function(e){return go[Zn].includes(e)})))&&(i=Zn),(e.includes(o[er])||e.some((function(e){return go[er].includes(e)})))&&(i=er);var l=e.reduce((function(e,t){var n=ao(wr.cssPrefix,t);if(Kr[t]?(t=Xr[i].includes(t)?ir[i][t]:t,a=t,e.prefix=t):oo[i].indexOf(t)>-1?(a=t,e.prefix=mo(t,{family:i})):n?e.iconName=n:t!==wr.replacementClass&&t!==o[Zn]&&t!==o[er]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var l="fa"===a?uo(e.iconName):{},s=co(e.prefix,e.iconName);l.prefix&&(a=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||Kr.far||!Kr.fas||wr.autoFetchSvg||(e.prefix="fas")}return e}),fo());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==er||!Kr.fass&&!wr.autoFetchSvg||(l.prefix="fass",l.iconName=co(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=po()||"fas"),l}var vo=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 hn(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]=mn(mn({},e.definitions[t]||{}),o[t]),Yr(t,o[t]);var n=ar[Zn][t];n&&Yr(n,o[t]),lo()}))}},{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}(),bo=[],yo={},wo={},xo=Object.keys(wo);function So(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(yo[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function Co(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(yo[e]||[]).forEach((function(e){e.apply(null,n)}))}function ko(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return wo[e]?wo[e].apply(null,t):void 0}function Oo(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||po();if(t)return t=co(n,t)||t,jr(Eo.definitions,n,t)||jr(Mr.styles,n,t)}var Eo=new vo,Io={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ln?(Co("beforeI2svg",e),ko("pseudoElements2svg",e),ko("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===wr.autoReplaceSvg&&(wr.autoReplaceSvg=!0),wr.observeMutations=!0,e=function(){zo({autoReplaceSvgRoot:n}),Co("watch",t)},Ln&&(Fr?setTimeout(e,0):Lr.push(e))}},$o={icon:function(e){if(null===e)return null;if("object"===gn(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:co(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=mo(e[0]);return{prefix:n,iconName:co(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(wr.cssPrefix,"-"))>-1||e.match(lr))){var r=ho(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||po(),iconName:co(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=po();return{prefix:o,iconName:co(o,e)||e}}}},Po={noAuto:function(){wr.autoReplaceSvg=!1,wr.observeMutations=!1,Co("noAuto")},config:wr,dom:Io,parse:$o,library:Eo,findIconDefinition:Oo,toHtml:Vr},zo=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?zn:e;(Object.keys(Mr.styles).length>0||wr.autoFetchSvg)&&Ln&&wr.autoReplaceSvg&&Po.dom.i2svg({node:t})};function Ro(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Vr(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Ln){var t=zn.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function No(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=[wr.replacementClass,a?"".concat(wr.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:mn(mn({},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)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};f&&(y.attributes[Wn]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Or())},children:[s]}),delete y.attributes.title);var x=mn(mn({},y),{},{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:mn(mn({},w),d.styles)}),S=r.found&&n.found?ko("generateAbstractMask",x)||{children:[],attributes:{}}:ko("generateAbstractIcon",x)||{children:[],attributes:{}},C=S.children,k=S.attributes;return x.children=C,x.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(wr.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:mn(mn({},o),{},{id:i}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(zr(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=Pr(mn(mn({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(x)}function Ao(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=mn(mn(mn({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(c[Wn]="");var u=mn({},i.styles);zr(o)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?jn:n,o=e.height,a=void 0===o?jn:o,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&Fn?"translate(".concat(t.x/Sr-r/2,"em, ").concat(t.y/Sr-a/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/Sr,"em), calc(-50% + ").concat(t.y/Sr,"em)) "):"translate(".concat(t.x/Sr,"em, ").concat(t.y/Sr,"em) "),s+="scale(".concat(t.size/Sr*(t.flipX?-1:1),", ").concat(t.size/Sr*(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=Pr(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 To=Mr.styles;function Do(e){var t=e[0],n=e[1],r=bn(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(wr.cssPrefix,"-").concat(mr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(wr.cssPrefix,"-").concat(mr.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(wr.cssPrefix,"-").concat(mr.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var _o={found:!1,width:512,height:512};function Mo(e,t){var n=t;return"fa"===t&&null!==wr.styleDefault&&(t=po()),new Promise((function(r,o){if(ko("missingIconAbstract"),"fa"===n){var a=uo(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&To[t]&&To[t][e])return r(Do(To[t][e]));!function(e,t){Qn||wr.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(mn(mn({},_o),{},{icon:wr.showMissingIcons&&e&&ko("missingIconAbstract")||{}}))}))}var Lo=function(){},Fo=wr.measurePerformance&&Nn&&Nn.mark&&Nn.measure?Nn:{mark:Lo,measure:Lo},Vo='FA "6.5.2"',jo=function(e){Fo.mark("".concat(Vo," ").concat(e," ends")),Fo.measure("".concat(Vo," ").concat(e),"".concat(Vo," ").concat(e," begins"),"".concat(Vo," ").concat(e," ends"))},Bo={begin:function(e){return Fo.mark("".concat(Vo," ").concat(e," begins")),function(){return jo(e)}},end:jo},Ho=function(){};function Wo(e){return"string"==typeof(e.getAttribute?e.getAttribute(Wn):null)}function Go(e){return zn.createElementNS("http://www.w3.org/2000/svg",e)}function qo(e){return zn.createElement(e)}function Uo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Go:qo:t;if("string"==typeof e)return zn.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(Uo(e,{ceFn:n}))})),r}var Yo={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Uo(e),t)})),null===t.getAttribute(Wn)&&wr.keepOriginalSource){var n=zn.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(~Ir(t).indexOf(wr.replacementClass))return Yo.replace(e);var r=new RegExp("".concat(wr.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===wr.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 Vr(e)})).join("\n");t.setAttribute(Wn,""),t.innerHTML=a}};function Ko(e){e()}function Jo(e,t){var n="function"==typeof t?t:Ho;if(0===e.length)n();else{var r=Ko;wr.mutateApproach===Jn&&(r=Pn.requestAnimationFrame||Ko),r((function(){var t=!0===wr.autoReplaceSvg?Yo.replace:Yo[wr.autoReplaceSvg]||Yo.replace,r=Bo.begin("mutate");e.map(t),r(),n()}))}}var Xo=!1;function Qo(){Xo=!0}function Zo(){Xo=!1}var ea=null;function ta(e){if(Rn&&wr.observeMutations){var t=e.treeCallback,n=void 0===t?Ho:t,r=e.nodeCallback,o=void 0===r?Ho:r,a=e.pseudoElementsCallback,i=void 0===a?Ho:a,l=e.observeMutationsRoot,s=void 0===l?zn:l;ea=new Rn((function(e){if(!Xo){var t=po();Er(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Wo(e.addedNodes[0])&&(wr.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&wr.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&Wo(e.target)&&~fr.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Un):null,n=e.getAttribute?e.getAttribute(Yn):null;return t&&n}(e.target)){var r=ho(Ir(e.target)),a=r.prefix,l=r.iconName;e.target.setAttribute(Un,a||t),l&&e.target.setAttribute(Yn,l)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(wr.replacementClass)})(e.target)&&o(e.target)}))}})),Ln&&ea.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function na(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=ho(Ir(e));return o.prefix||(o.prefix=po()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(eo[e]||{})[t]}(o.prefix,e.innerText)||so(o.prefix,qr(e.innerText))),!o.iconName&&wr.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function ra(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=na(e),r=n.iconName,o=n.prefix,a=n.rest,i=function(e){var t=Er(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 wr.autoA11y&&(n?t["aria-labelledby"]="".concat(wr.replacementClass,"-title-").concat(r||Or()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=So("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 mn({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:Cr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:i}},l)}var oa=Mr.styles;function aa(e){var t="nest"===wr.autoReplaceSvg?ra(e,{styleParser:!1}):ra(e);return~t.extra.classes.indexOf(sr)?ko("generateLayersText",e,t):ko("generateSvgReplacementMutation",e,t)}var ia=new Set;function la(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ln)return Promise.resolve();var n=zn.documentElement.classList,r=function(e){return n.add("".concat(Kn,"-").concat(e))},o=function(e){return n.remove("".concat(Kn,"-").concat(e))},a=wr.autoFetchSvg?ia:tr.map((function(e){return"fa-".concat(e)})).concat(Object.keys(oa));a.includes("fa")||a.push("fa");var i=[".".concat(sr,":not([").concat(Wn,"])")].concat(a.map((function(e){return".".concat(e,":not([").concat(Wn,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=Er(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),o("complete");var s=Bo.begin("onTree"),c=l.reduce((function(e,t){try{var n=aa(t);n&&e.push(n)}catch(e){Qn||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Jo(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function sa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;aa(e).then((function(e){e&&Jo([e],t)}))}function ca(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:Oo(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:Oo(o||{})),e(r,mn(mn({},n),{},{mask:o}))}}tr.map((function(e){ia.add("fa-".concat(e))})),Object.keys(rr[Zn]).map(ia.add.bind(ia)),Object.keys(rr[er]).map(ia.add.bind(ia)),ia=yn(ia);var ua=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Cr: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 w=e.prefix,x=e.iconName,S=e.icon;return Ro(mn({type:"icon"},e),(function(){return Co("beforeDOMElementCreation",{iconDefinition:e,params:t}),wr.autoA11y&&(d?v["aria-labelledby"]="".concat(wr.replacementClass,"-title-").concat(f||Or()):(v["aria-hidden"]="true",v.focusable="false")),No({icons:{main:Do(S),mask:l?Do(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:mn(mn({},Cr),r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:v,styles:y,classes:g}})}))}},da={mixout:function(){return{icon:ca(ua)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=la,e.nodeCallback=sa,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?zn:t,r=e.callback;return la(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([Mo(n,a),s.iconName?Mo(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=bn(s,2),p=d[0],f=d[1];t([e,No({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=Pr(e.styles);return i.length>0&&(r.style=i),zr(a)&&(t=ko("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},pa={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 Ro({type:"layer"},(function(){Co("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(wr.cssPrefix,"-layers")].concat(yn(r)).join(" ")},children:n}]}))}}}},fa={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 Ro({type:"counter",content:e},(function(){return Co("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=mn(mn(mn({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Pr(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(wr.cssPrefix,"-layers-counter")].concat(yn(a))}})}))}}}},ma={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Cr: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 Ro({type:"text",content:e},(function(){return Co("beforeDOMElementCreation",{content:e,params:t}),Ao({content:e,transform:mn(mn({},Cr),r),title:a,extra:{attributes:c,styles:d,classes:["".concat(wr.cssPrefix,"-layers-text")].concat(yn(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,a=null,i=null;if(Fn){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/l,i=s.height/l}return wr.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,Ao({content:e.innerHTML,width:a,height:i,transform:r,title:n,extra:o,watchable:!0})])}}},ga=new RegExp('"',"ug"),ha=[1105920,1112319];function va(e,t){var n="".concat(qn).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,i,l,s=Er(e.children).filter((function(e){return e.getAttribute(Gn)===t}))[0],c=Pn.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(cr),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])?er:Zn,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?or[m][u[2].toLowerCase()]:ur[m][d],h=function(e){var t,n,r,o,a,i=e.replace(ga,""),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>=ha[0]&&l<=ha[1],c=2===i.length&&i[0]===i[1];return{value:qr(c?i[0]:i),isSecondary:s||c}}(f),v=h.value,b=h.isSecondary,y=u[0].startsWith("FontAwesome"),w=so(g,v),x=w;if(y){var S=(i=no[a=v],l=so("fas",a),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});S.iconName&&S.prefix&&(w=S.iconName,g=S.prefix)}if(!w||b||s&&s.getAttribute(Un)===g&&s.getAttribute(Yn)===x)r();else{e.setAttribute(n,x),s&&e.removeChild(s);var C={iconName:null,title:null,titleId:null,prefix:null,transform:Cr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=C.extra;k.attributes[Gn]=t,Mo(w,g).then((function(o){var a=No(mn(mn({},C),{},{icons:{main:o,mask:fo()},prefix:g,iconName:x,extra:k,watchable:!0})),i=zn.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 Vr(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ba(e){return Promise.all([va(e,"::before"),va(e,"::after")])}function ya(e){return!(e.parentNode===document.head||~Xn.indexOf(e.tagName.toUpperCase())||e.getAttribute(Gn)||e.parentNode&&"svg"===e.parentNode.tagName)}function wa(e){if(Ln)return new Promise((function(t,n){var r=Er(e.querySelectorAll("*")).filter(ya).map(ba),o=Bo.begin("searchPseudoElements");Qo(),Promise.all(r).then((function(){o(),Zo(),t()})).catch((function(){o(),Zo(),n()}))}))}var xa={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=wa,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?zn:t;wr.searchPseudoElements&&wa(n)}}},Sa=!1,Ca=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})},ka={mixout:function(){return{parse:{transform:function(e){return Ca(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Ca(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:mn({},c.outer),children:[{tag:"g",attributes:mn({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:mn(mn({},t.icon.attributes),c.path)}]}]}}}},Oa={x:0,y:0,width:"100%",height:"100%"};function Ea(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 Ia={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?ho(n.split(" ").map((function(e){return e.trim()}))):fo();return r.prefix||(r.prefix=po()),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:mn(mn({},Oa),{},{fill:"white"})},m=c.children?{children:c.children.map(Ea)}:{},g={tag:"g",attributes:mn({},p.inner),children:[Ea(mn({tag:c.tag,attributes:mn(mn({},c.attributes),p.path)},m))]},h={tag:"g",attributes:mn({},p.outer),children:[g]},v="mask-".concat(i||Or()),b="clip-".concat(i||Or()),y={tag:"mask",attributes:mn(mn({},Oa),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,h]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(w,{tag:"rect",attributes:mn({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Oa)}),{children:n,attributes:r}}}},$a={provides:function(e){var t=!1;Pn.matchMedia&&(t=Pn.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:mn(mn({},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=mn(mn({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:mn(mn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:mn(mn({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:mn(mn({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:mn(mn({},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:mn(mn({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:mn(mn({},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:mn(mn({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Pa=[Dr,da,pa,fa,ma,xa,{mixout:function(){return{dom:{unwatch:function(){Qo(),Sa=!0}}}},hooks:function(){return{bootstrap:function(){ta(So("mutationObserverCallbacks",{}))},noAuto:function(){ea&&ea.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Sa?Zo():ta(So("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},ka,Ia,$a,{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;bo=e,yo={},Object.keys(wo).forEach((function(e){-1===xo.indexOf(e)&&delete wo[e]})),bo.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"===gn(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){yo[e]||(yo[e]=[]),yo[e].push(r[e])}))}e.provides&&e.provides(wo)}))}(Pa,{mixoutsTo:Po});var za,Ra=Po.library,Na=Po.parse,Aa=Po.icon,Ta={exports:{}},Da={exports:{}},_a={};var Ma,La,Fa,Va,ja,Ba,Ha,Wa,Ga,qa,Ua,Ya,Ka,Ja,Xa={};
|
|
32
32
|
/** @license React v16.13.1
|
|
33
33
|
* react-is.development.js
|
|
34
34
|
*
|
|
@@ -36,65 +36,65 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as o from
|
|
|
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 Qa(){return La||(La=1,"production"===process.env.NODE_ENV?Da.exports=function(){if(za)return _a;za=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 w(e){return y(e)===c}return _a.AsyncMode=s,_a.ConcurrentMode=c,_a.ContextConsumer=l,_a.ContextProvider=i,_a.Element=t,_a.ForwardRef=u,_a.Fragment=r,_a.Lazy=m,_a.Memo=f,_a.Portal=n,_a.Profiler=a,_a.StrictMode=o,_a.Suspense=d,_a.isAsyncMode=function(e){return w(e)||y(e)===s},_a.isConcurrentMode=w,_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}():Da.exports=(Ma||(Ma=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 w=s,x=c,S=l,C=i,k=t,O=u,E=r,I=m,$=f,P=n,z=a,R=o,N=d,A=!1;function T(e){return y(e)===c}Xa.AsyncMode=w,Xa.ConcurrentMode=x,Xa.ContextConsumer=S,Xa.ContextProvider=C,Xa.Element=k,Xa.ForwardRef=O,Xa.Fragment=E,Xa.Lazy=I,Xa.Memo=$,Xa.Portal=P,Xa.Profiler=z,Xa.StrictMode=R,Xa.Suspense=N,Xa.isAsyncMode=function(e){return A||(A=!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},Xa.isConcurrentMode=T,Xa.isContextConsumer=function(e){return y(e)===l},Xa.isContextProvider=function(e){return y(e)===i},Xa.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Xa.isForwardRef=function(e){return y(e)===u},Xa.isFragment=function(e){return y(e)===r},Xa.isLazy=function(e){return y(e)===m},Xa.isMemo=function(e){return y(e)===f},Xa.isPortal=function(e){return y(e)===n},Xa.isProfiler=function(e){return y(e)===a},Xa.isStrictMode=function(e){return y(e)===o},Xa.isSuspense=function(e){return y(e)===d},Xa.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)},Xa.typeOf=y}()),Xa)),Da.exports}
|
|
40
40
|
/*
|
|
41
41
|
object-assign
|
|
42
42
|
(c) Sindre Sorhus
|
|
43
43
|
@license MIT
|
|
44
|
-
*/function ci(){if(Xa)return Ya;Xa=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ya=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(o,r){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(o),s=1;s<arguments.length;s++){for(var c in 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},Ya}function ui(){if(Za)return Ja;Za=1;return Ja="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function di(){return ei?Qa:(ei=1,Qa=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var pi=si();Wa.exports=function(){if(ri)return oi;ri=1;var e=si(),t=ci(),n=ui(),o=di(),r=function(){if(ni)return ti;ni=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ui(),n={},o=di();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var c in r)if(o(r,c)){var u;try{if("function"!=typeof r[c]){var d=Error((l||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=r[c](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 r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},ti=r}(),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){}}),oi=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,o,r,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[o];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+y(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,r,a,i+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:g((function(e,t,n,o,r){var a=e[t];return l(a)?null:new m("Invalid "+o+" `"+r+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:g((function(t,n,o,r,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+r+" `"+a+"` of type `"+y(i)+"` supplied to `"+o+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(t,n,o,r,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+r+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+o+"`, expected instance of `"+i+"`.")}var l;return null}))},node:g((function(e,t,n,o,r){return v(e[t])?null:new m("Invalid "+o+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,r,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[r],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(o(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,o,r,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"===w(t)?String(t):t}));return new m("Invalid "+r+" `"+a+"` of value `"+String(i)+"` supplied to `"+o+"`, 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 r=e[t];if("function"!=typeof r)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),i}return g((function(t,r,a,i,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,r,a,i,l,n);if(null==u)return null;u.data&&o(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,o,r,a,i){var l=t[o],s=y(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return b(r,a,i,c,w(u));var d=u(l,c,r,a,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return g((function(r,a,i,l,s){var c=r[a],u=y(c);if("object"!==u)return new m("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var d=t({},r[a],e);for(var p in d){var f=e[p];if(o(e,p)&&"function"!=typeof f)return b(i,l,s,p,w(f));if(!f)return new m("Invalid "+l+" `"+s+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(r[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={},o=0;function r(r,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]&&o<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,o++)}}return null==i[l]?r?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=r.bind(null,!1);return i.isRequired=r.bind(null,!0),i}function h(e){return g((function(t,n,o,r,a,i){var l=t[n];return y(l)!==e?new m("Invalid "+r+" `"+a+"` of type `"+w(l)+"` supplied to `"+o+"`, expected `"+e+"`.",{expectedType:e}):null}))}function b(e,t,n,o,r){return new m((e||"React class")+": "+t+" type `"+n+"."+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function v(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(v);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,o=t.call(e);if(t!==e.entries){for(;!(n=o.next()).done;)if(!v(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!v(r[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=r,p.resetWarningCache=r.resetWarningCache,p.PropTypes=p,p},oi}()(pi.isElement,!0)}else Wa.exports=function(){if(ii)return ai;ii=1;var e=ui();function t(){}function n(){}return n.resetWarningCache=t,ai=function(){function o(t,n,o,r,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 r(){return o}o.isRequired=o;var a={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:r,element:o,elementType:o,instanceOf:r,node:o,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var fi=Wa.exports,mi=E(fi);function gi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function hi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gi(Object(n),!0).forEach((function(t){vi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bi(e){return bi="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},bi(e)}function vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yi(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function wi(e){return function(e){if(Array.isArray(e))return xi(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 xi(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 xi(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 xi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Si(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 Oi=["style"];var Ci=!1;try{Ci="production"===process.env.NODE_ENV}catch(e){}function ki(e){return e&&"object"===bi(e)&&e.prefix&&e.iconName&&e.icon?e:Ba.icon?Ba.icon(e):null===e?null:e&&"object"===bi(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 Ei(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?vi({},e,t):{}}var Ri={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},Pi=r.forwardRef((function(e,t){var n=hi(hi({},Ri),e),o=n.icon,r=n.mask,a=n.symbol,i=n.className,l=n.title,s=n.titleId,c=n.maskId,u=ki(o),d=Ei("classes",[].concat(wi(function(e){var t,n=e.beat,o=e.fade,r=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,b=e.size,v=e.rotation,y=e.pull,w=(vi(t={"fa-beat":n,"fa-fade":o,"fa-beat-fade":r,"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(b),null!=b),vi(t,"fa-rotate-".concat(v),null!=v&&0!==v),vi(t,"fa-pull-".concat(y),null!=y),vi(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),wi((i||"").split(" ")))),p=Ei("transform","string"==typeof n.transform?Ba.transform(n.transform):n.transform),f=Ei("mask",ki(r)),m=Ha(u,hi(hi(hi(hi({},d),p),f),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!m)return function(){var e;!Ci&&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){Ri.hasOwnProperty(e)||(h[e]=n[e])})),Ti(g[0],h)}));Pi.displayName="FontAwesomeIcon",Pi.propTypes={beat:mi.bool,border:mi.bool,beatFade:mi.bool,bounce:mi.bool,className:mi.string,fade:mi.bool,flash:mi.bool,mask:mi.oneOfType([mi.object,mi.array,mi.string]),maskId:mi.string,fixedWidth:mi.bool,inverse:mi.bool,flip:mi.oneOf([!0,!1,"horizontal","vertical","both"]),icon:mi.oneOfType([mi.object,mi.array,mi.string]),listItem:mi.bool,pull:mi.oneOf(["right","left"]),pulse:mi.bool,rotation:mi.oneOf([0,90,180,270]),shake:mi.bool,size:mi.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:mi.bool,spinPulse:mi.bool,spinReverse:mi.bool,symbol:mi.oneOfType([mi.bool,mi.string]),title:mi.string,titleId:mi.string,transform:mi.oneOfType([mi.string,mi.object]),swapOpacity:mi.bool};var Ti=function e(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var r=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var o=n.attributes[t];switch(t){case"class":e.attrs.className=o,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,o=t.indexOf(":"),r=Si(t.slice(0,o)),a=t.slice(o+1).trim();return r.startsWith("webkit")?e[(n=r,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[r]=a,e}),{})}(o);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=o:e.attrs[Si(t)]=o}return e}),{attrs:{}}),i=o.style,l=void 0===i?{}:i,s=yi(o,Oi);return a.attrs.style=hi(hi({},a.attrs.style),l),t.apply(void 0,[n.tag,hi(hi({},a.attrs),s)].concat(wi(r)))}.bind(null,r.createElement),Ni={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"]},Ii={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"]},Mi={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"]},$i=Mi,Ai={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"]},zi={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"]},ji=Fi,Di={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"]},Vi={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"]},Li={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"]},_i={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"]},Bi={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"]};_a.add({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"]},Ai,Ii,zi,{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"]},Li,Li,{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:"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"]},Di,Bi,Fi,Mi,ji,$i,{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"]},_i,Ni,Vi,{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 Hi={xsmall:mn`
|
|
44
|
+
*/function Za(){if(Va)return Fa;Va=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Fa=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},Fa}function ei(){if(Ba)return ja;Ba=1;return ja="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function ti(){return Wa?Ha:(Wa=1,Ha=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var ni=Qa();Ta.exports=function(){if(Ya)return Ua;Ya=1;var e=Qa(),t=Za(),n=ei(),r=ti(),o=function(){if(qa)return Ga;qa=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ei(),n={},r=ti();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={})},Ga=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){}}),Ua=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"===w(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 "+x(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,w(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,w(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 `"+w(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 w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},Ua}()(ni.isElement,!0)}else Ta.exports=function(){if(Ja)return Ka;Ja=1;var e=ei();function t(){}function n(){}return n.resetWarningCache=t,Ka=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 ri=S(Ta.exports);function oi(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 ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(n),!0).forEach((function(t){li(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ii(e){return ii="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},ii(e)}function li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function si(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 ci(e){return function(e){if(Array.isArray(e))return ui(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 ui(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 ui(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 ui(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 di(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 pi=["style"];var fi=!1;try{fi="production"===process.env.NODE_ENV}catch(e){}function mi(e){return e&&"object"===ii(e)&&e.prefix&&e.iconName&&e.icon?e:Na.icon?Na.icon(e):null===e?null:e&&"object"===ii(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 gi(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?li({},e,t):{}}var hi={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},bi=o.forwardRef((function(e,t){var n=ai(ai({},hi),e),r=n.icon,o=n.mask,a=n.symbol,i=n.className,l=n.title,s=n.titleId,c=n.maskId,u=mi(r),d=gi("classes",[].concat(ci(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,w=(li(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),li(t,"fa-rotate-".concat(b),null!=b&&0!==b),li(t,"fa-pull-".concat(y),null!=y),li(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),ci((i||"").split(" ")))),p=gi("transform","string"==typeof n.transform?Na.transform(n.transform):n.transform),f=gi("mask",mi(o)),m=Aa(u,ai(ai(ai(ai({},d),p),f),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!m)return function(){var e;!fi&&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){hi.hasOwnProperty(e)||(h[e]=n[e])})),yi(g[0],h)}));bi.displayName="FontAwesomeIcon",bi.propTypes={beat:ri.bool,border:ri.bool,beatFade:ri.bool,bounce:ri.bool,className:ri.string,fade:ri.bool,flash:ri.bool,mask:ri.oneOfType([ri.object,ri.array,ri.string]),maskId:ri.string,fixedWidth:ri.bool,inverse:ri.bool,flip:ri.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ri.oneOfType([ri.object,ri.array,ri.string]),listItem:ri.bool,pull:ri.oneOf(["right","left"]),pulse:ri.bool,rotation:ri.oneOf([0,90,180,270]),shake:ri.bool,size:ri.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ri.bool,spinPulse:ri.bool,spinReverse:ri.bool,symbol:ri.oneOfType([ri.bool,ri.string]),title:ri.string,titleId:ri.string,transform:ri.oneOfType([ri.string,ri.object]),swapOpacity:ri.bool};var yi=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=di(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[di(t)]=r}return e}),{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=si(r,pi);return a.attrs.style=ai(ai({},a.attrs.style),l),t.apply(void 0,[n.tag,ai(ai({},a.attrs),s)].concat(ci(o)))}.bind(null,o.createElement),wi={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"]},xi={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"]},Si={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"]},Ci=Si,ki={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"]},Oi={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"]},Ei={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"]},Ii=Ei,$i={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"]},Pi={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"]},zi={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"]},Ri={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"]},Ni={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"]};Ra.add({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"]},ki,xi,Oi,{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"]},zi,zi,{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:"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"]},$i,Ni,Ei,Si,Ii,Ci,{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"]},Ri,wi,Pi,{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 Ai={xsmall:on`
|
|
45
45
|
width: 0.6rem;
|
|
46
46
|
height: 0.6rem;
|
|
47
|
-
`,small:
|
|
47
|
+
`,small:on`
|
|
48
48
|
width: 0.8rem;
|
|
49
49
|
height: 0.8rem;
|
|
50
|
-
`,medium:
|
|
50
|
+
`,medium:on`
|
|
51
51
|
width: 1rem;
|
|
52
52
|
height: 1rem;
|
|
53
|
-
`,large:
|
|
53
|
+
`,large:on`
|
|
54
54
|
width: 1.6rem;
|
|
55
55
|
height: 1.6rem;
|
|
56
|
-
`,xlarge:
|
|
56
|
+
`,xlarge:on`
|
|
57
57
|
width: 3rem;
|
|
58
58
|
height: 3rem;
|
|
59
|
-
`},
|
|
59
|
+
`},Ti={default:on``,primary:on`
|
|
60
60
|
color: var(--color--primary);
|
|
61
|
-
`,danger:
|
|
61
|
+
`,danger:on`
|
|
62
62
|
color: var(--color--danger);
|
|
63
|
-
`,warning:
|
|
63
|
+
`,warning:on`
|
|
64
64
|
color: var(--color--warning);
|
|
65
|
-
`,success:
|
|
65
|
+
`,success:on`
|
|
66
66
|
color: var(--color--success);
|
|
67
|
-
`,grey:
|
|
67
|
+
`,grey:on`
|
|
68
68
|
color: var(--color--grey);
|
|
69
|
-
`,green:
|
|
69
|
+
`,green:on`
|
|
70
70
|
color: var(--color--green-dark);
|
|
71
|
-
`},
|
|
71
|
+
`},Di=sn.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})=>Ai[e||"medium"]}
|
|
78
|
+
${({colour:e})=>Ti[e||"default"]}
|
|
79
79
|
}
|
|
80
|
-
`;function
|
|
80
|
+
`;function _i({name:t,size:n,colour:r}){return e(Di,{size:n,colour:r,children:e(bi,{icon:t})})}const Mi=sn.div`
|
|
81
81
|
border: 1px solid var(---color--grey-borders);
|
|
82
82
|
width: 100%;
|
|
83
83
|
font-size: 1.5rem;
|
|
84
|
-
`,
|
|
84
|
+
`,Li=sn.div`
|
|
85
85
|
background-color: white;
|
|
86
86
|
box-shadow: var(--box-shadow--medium);
|
|
87
87
|
border-radius: var(--border-radius--small);
|
|
88
88
|
h3 {
|
|
89
89
|
margin: 0;
|
|
90
90
|
}
|
|
91
|
-
`,
|
|
91
|
+
`,Fi=sn.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
|
+
`,Vi=sn.button`
|
|
98
98
|
background-color: transparent;
|
|
99
99
|
border-style: none;
|
|
100
100
|
padding: var(--spacing--medium) var(--spacing--medium);
|
|
@@ -120,7 +120,7 @@ object-assign
|
|
|
120
120
|
&:hover {
|
|
121
121
|
background-color: var(--color--grey-lightest);
|
|
122
122
|
}
|
|
123
|
-
`;function
|
|
123
|
+
`;function ji({title:n,children:r,open:o=!1}){const[a,l]=u(o),s=i(null);return d((()=>{a&&s.current?s.current.style.maxHeight=`${s.current.scrollHeight}px`:s.current&&(s.current.style.maxHeight="0px")}),[a]),t(Mi,{children:[e(Li,{children:e(pn,{as:"h3",children:t(Vi,{type:"button","aria-expanded":a,onClick:()=>l(!a),"aria-controls":"accordion-content",role:"button",isOpen:a,children:[n,e("span",{children:e(_i,{name:["fas","chevron-up"]})})]})})}),e(Fi,{ref:s,"aria-labelledby":"accordion-button",isOpen:a,role:"region",children:r})]})}const Bi=on`
|
|
124
124
|
position: relative;
|
|
125
125
|
display: inline-flex;
|
|
126
126
|
flex-flow: row nowrap;
|
|
@@ -130,58 +130,58 @@ object-assign
|
|
|
130
130
|
border-radius: var(--border-radius--medium);
|
|
131
131
|
text-decoration: none;
|
|
132
132
|
white-space: nowrap;
|
|
133
|
-
`,
|
|
133
|
+
`,Hi={medium:on`
|
|
134
134
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
135
135
|
font-size: var(--font-size--medium);
|
|
136
136
|
font-weight: 600;
|
|
137
|
-
`,small:
|
|
137
|
+
`,small:on`
|
|
138
138
|
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
139
139
|
font-size: var(--font-size--small);
|
|
140
140
|
font-weight: 500;
|
|
141
|
-
`,xsmall:
|
|
141
|
+
`,xsmall:on`
|
|
142
142
|
padding: var(--spacing--xxsmall) var(--spacing--xsmall);
|
|
143
143
|
font-size: var(--font-size--xsmall);
|
|
144
144
|
font-weight: 500;
|
|
145
|
-
`,xxsmall:
|
|
145
|
+
`,xxsmall:on`
|
|
146
146
|
padding: var(--spacing--xxxsmall) var(--spacing--xxsmall);
|
|
147
147
|
font-size: var(--font-size--xxsmall);
|
|
148
148
|
font-weight: 500;
|
|
149
|
-
`},
|
|
149
|
+
`},Wi={default:on`
|
|
150
150
|
background-color: transaprent;
|
|
151
151
|
color: var(--color--body);
|
|
152
152
|
border: 1px solid var(--color--grey-line);
|
|
153
|
-
`,danger:
|
|
153
|
+
`,danger:on`
|
|
154
154
|
background-color: var(--color--white);
|
|
155
155
|
color: var(--color--danger);
|
|
156
156
|
border: 1px solid var(--color--danger-light);
|
|
157
|
-
`,warning:
|
|
157
|
+
`,warning:on`
|
|
158
158
|
background-color: var(--color--white);
|
|
159
159
|
color: var(--color--warning);
|
|
160
160
|
border: 1px solid var(--color--warning-light);
|
|
161
|
-
`,grey:
|
|
161
|
+
`,grey:on`
|
|
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
|
-
`},
|
|
166
|
-
${
|
|
165
|
+
`},Gi=sn.div`
|
|
166
|
+
${Bi}
|
|
167
167
|
|
|
168
|
-
${({size:e})=>
|
|
169
|
-
${({kind:e})=>
|
|
170
|
-
`;function
|
|
168
|
+
${({size:e})=>Hi[e||"medium"]}
|
|
169
|
+
${({kind:e})=>Wi[e||"default"]}
|
|
170
|
+
`;function qi({children:t,...n}){return e(Gi,{...n,children:t})}const Ui=sn.hr`
|
|
171
171
|
border: 0;
|
|
172
172
|
border-bottom: 1px solid var(--color--grey-line);
|
|
173
|
-
`;function
|
|
173
|
+
`;function Yi({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,[p,f]=u(0);d((()=>{f(r)}),[r]);const m=(l-c)/2,g=m*Math.PI*2,h=p*g/100;return t("svg",{width:l,height:l,viewBox:`0 0 ${l} ${l}`,children:[e("circle",{fill:"white",stroke:"#d7d7d7",cx:l/2,cy:l/2,r:m,strokeWidth:`${c}px`}),e("circle",{fill:"none",stroke:s,cx:l/2,cy:l/2,r:m,strokeWidth:`${c}px`,transform:`rotate(-90 ${l/2} ${l/2})`,strokeDasharray:`${h}, ${g-h}`,strokeLinecap:"round",style:{transition:"all 0.5s"}}),e("text",{fill:"black",fontSize:i,fontWeight:"bold",x:"50%",y:"50%",dy:"6%",textAnchor:"middle",children:(v=r,v>=0&&v<=100?`${r}%`:"-")})]});var v}function Ki({size:n=80,strokeWidth:r=8,color:o="#4c3fdd"}){return t("svg",{width:n,height:n,viewBox:"0 0 200 200",color:o,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("defs",{children:[t("linearGradient",{id:"spinner-secondHalf",children:[e("stop",{offset:"0%",stopOpacity:"0",stopColor:"currentColor"}),e("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]}),t("linearGradient",{id:"spinner-firstHalf",children:[e("stop",{offset:"0%",stopOpacity:"1",stopColor:"currentColor"}),e("stop",{offset:"100%",stopOpacity:"0.5",stopColor:"currentColor"})]})]}),t("g",{strokeWidth:r,children:[e("path",{stroke:"url(#spinner-secondHalf)",d:`M ${r/2} 100 A ${100-r/2} ${100-r/2} 0 0 1 ${200-r/2} 100`}),e("path",{stroke:"url(#spinner-firstHalf)",d:`M ${200-r/2} 100 A ${100-r/2} ${100-r/2} 0 0 1 ${r/2} 100`}),e("path",{stroke:"currentColor",strokeLinecap:"round",d:`M ${r/2} 100 A ${100-r/2} ${100-r/2} 0 0 1 ${r/2} ${100-r/4}`})]}),e("animateTransform",{from:"0 0 0",to:"360 0 0",attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1300ms"})]})}const Ji=sn.div`
|
|
174
174
|
position: absolute;
|
|
175
175
|
left: calc(50% - 40px);
|
|
176
176
|
top: calc(50% - 40px);
|
|
177
|
-
`,
|
|
177
|
+
`,Xi=sn.div`
|
|
178
178
|
position: absolute;
|
|
179
179
|
top: 28px;
|
|
180
180
|
font-size: var(---font-size--small);
|
|
181
181
|
color: black;
|
|
182
182
|
width: 80px;
|
|
183
183
|
text-align: center;
|
|
184
|
-
`;function
|
|
184
|
+
`;function Qi(n){return t(Ji,{children:[e(Ki,{...n}),e(Xi,{children:"Loading"})]})}const Zi=on`
|
|
185
185
|
position: relative;
|
|
186
186
|
transition:
|
|
187
187
|
background-color 0.1s ease,
|
|
@@ -210,15 +210,15 @@ object-assign
|
|
|
210
210
|
width: 90%;
|
|
211
211
|
max-height: 90%;
|
|
212
212
|
}
|
|
213
|
-
`,
|
|
213
|
+
`,el=on`
|
|
214
214
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
215
215
|
font-size: 0.9rem;
|
|
216
216
|
font-weight: 600;
|
|
217
|
-
`,
|
|
217
|
+
`,tl=on`
|
|
218
218
|
padding: var(--spacing--xsmall) var(--spacing--small);
|
|
219
219
|
font-size: 0.8rem;
|
|
220
220
|
font-weight: 500;
|
|
221
|
-
`,
|
|
221
|
+
`,nl=on`
|
|
222
222
|
background-color: var(--color--primary);
|
|
223
223
|
color: var(--color--white);
|
|
224
224
|
border: none;
|
|
@@ -230,7 +230,7 @@ object-assign
|
|
|
230
230
|
&:disabled {
|
|
231
231
|
background-color: #767676;
|
|
232
232
|
}
|
|
233
|
-
`,
|
|
233
|
+
`,rl=on`
|
|
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
|
+
`,ol=on`
|
|
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
|
+
`,al=on`
|
|
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
|
+
`,il=on`
|
|
276
276
|
background-color: var(--color--debug);
|
|
277
277
|
color: var(--color--white);
|
|
278
278
|
border: none;
|
|
@@ -284,24 +284,24 @@ object-assign
|
|
|
284
284
|
&:disabled {
|
|
285
285
|
background-color: var(--color--debug-very-light);
|
|
286
286
|
}
|
|
287
|
-
`,
|
|
288
|
-
${
|
|
287
|
+
`,ll=sn.a`
|
|
288
|
+
${Zi}
|
|
289
289
|
|
|
290
|
-
${({size:e})=>"small"===e?
|
|
290
|
+
${({size:e})=>"small"===e?tl:el}
|
|
291
291
|
|
|
292
|
-
${({kind:e})=>"secondary"===e?
|
|
293
|
-
`,
|
|
294
|
-
${
|
|
292
|
+
${({kind:e})=>"secondary"===e?rl:"danger"===e?ol:"basic"===e?al:"debug"===e?il:nl}
|
|
293
|
+
`,sl=sn.button`
|
|
294
|
+
${Zi}
|
|
295
295
|
|
|
296
|
-
${({size:e})=>"small"===e?
|
|
296
|
+
${({size:e})=>"small"===e?tl:el}
|
|
297
297
|
|
|
298
|
-
${({kind:e})=>"secondary"===e?
|
|
298
|
+
${({kind:e})=>"secondary"===e?rl:"danger"===e?ol:"basic"===e?al:"debug"===e?il:nl}
|
|
299
299
|
|
|
300
|
-
${({$isSubmitting:e})=>e?
|
|
300
|
+
${({$isSubmitting:e})=>e?on`
|
|
301
301
|
padding-left: 33px;
|
|
302
302
|
pointer-events: none;
|
|
303
|
-
`:
|
|
304
|
-
`,
|
|
303
|
+
`:on``}
|
|
304
|
+
`,cl=sn.span`
|
|
305
305
|
position: absolute;
|
|
306
306
|
left: 10px;
|
|
307
307
|
top: calc(50% - 8px);
|
|
@@ -311,12 +311,12 @@ object-assign
|
|
|
311
311
|
width: 16px;
|
|
312
312
|
height: 16px;
|
|
313
313
|
}
|
|
314
|
-
`;function
|
|
314
|
+
`;function ul({children:n,...r}){const{type:o,kind:a}=r;if("link"===o)return e(ll,{...r,children:n});if("submit"===o){const{hideSpinner:o=!1,isSubmitting:i}=r;return t(sl,{$isSubmitting:i,...r,children:[i&&!o&&e(cl,{children:e(Ki,{strokeWidth:32,color:"primary"===a?"var(--color--white)":"inherit"})}),n]})}return e(sl,{...r,children:n})}const dl=sn.div`
|
|
315
315
|
display: flex;
|
|
316
316
|
flex-direction: column;
|
|
317
317
|
align-items: flex-start;
|
|
318
318
|
padding: var(--spacing--medium);
|
|
319
|
-
`,
|
|
319
|
+
`,pl=sn.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
|
+
`,fl=sn(ul)`
|
|
329
329
|
margin: auto;
|
|
330
330
|
|
|
331
331
|
@media print {
|
|
332
332
|
display: none;
|
|
333
333
|
}
|
|
334
|
-
`;function Cl({children:n,maxLines:o=3}){const[r,a]=u(!1),l=i(null),[s,c]=u(!1),f=()=>{const{offsetHeight:e,scrollHeight:t}=l.current||{};c(!!(e&&t&&e<t))};return p((()=>(window.addEventListener("resize",f),()=>window.removeEventListener("resize",f))),[l]),d((()=>{f()}),[]),t(xl,{children:[e(Sl,{$maxLines:r?void 0:o,ref:l,children:n}),o&&s&&e(Ol,{type:"button",kind:"basic",onClick:()=>a(!r),children:r?"Read less":"Read more"})]})}const kl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function El({time:t}){const[n,o]=r.useState((()=>new Date)),a=r.useMemo((()=>new Date(t)),[t]);r.useEffect((()=>{o(new Date)}),[t]),r.useEffect((()=>{if(Math.abs(a.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{o(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,a]);const i=r.useMemo((()=>{const e=Math.abs(a.getTime()/1e3-n.getTime()/1e3),t=a>n;if(e<60&&!t)return"just now";if(e>604800)return`${a.getDate()} ${kl[a.getMonth()]} ${a.getFullYear()}`;let o;return o=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${o}`:`${o} ago`}),[a,n]);return e("time",{dateTime:a.toISOString(),title:a.toLocaleString(),children:i})}var Rl=function(e){return e.reduce((function(e,t){var n=t[0],o=t[1];return e[n]=o,e}),{})},Pl="undefined"!=typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,Tl="top",Nl="bottom",Il="right",Ml="left",$l="auto",Al=[Tl,Nl,Il,Ml],zl="start",Fl="end",jl="clippingParents",Dl="viewport",Vl="popper",Ll="reference",_l=Al.reduce((function(e,t){return e.concat([t+"-"+zl,t+"-"+Fl])}),[]),Bl=[].concat(Al,[$l]).reduce((function(e,t){return e.concat([t,t+"-"+zl,t+"-"+Fl])}),[]),Hl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Wl(e){return e?(e.nodeName||"").toLowerCase():null}function ql(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Gl(e){return e instanceof ql(e).Element||e instanceof Element}function Ul(e){return e instanceof ql(e).HTMLElement||e instanceof HTMLElement}function Kl(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ql(e).ShadowRoot||e instanceof ShadowRoot)}var Yl={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];Ul(r)&&Wl(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ul(o)&&Wl(o)&&(Object.assign(o.style,a),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Xl(e){return e.split("-")[0]}var Jl=Math.max,Zl=Math.min,Ql=Math.round;function es(){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 ts(){return!/^((?!chrome|android).)*safari/i.test(es())}function ns(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var o=e.getBoundingClientRect(),r=1,a=1;t&&Ul(e)&&(r=e.offsetWidth>0&&Ql(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ql(o.height)/e.offsetHeight||1);var i=(Gl(e)?ql(e):window).visualViewport,l=!ts()&&n,s=(o.left+(l&&i?i.offsetLeft:0))/r,c=(o.top+(l&&i?i.offsetTop:0))/a,u=o.width/r,d=o.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function os(e){var t=ns(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function rs(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Kl(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function as(e){return ql(e).getComputedStyle(e)}function is(e){return["table","td","th"].indexOf(Wl(e))>=0}function ls(e){return((Gl(e)?e.ownerDocument:e.document)||window.document).documentElement}function ss(e){return"html"===Wl(e)?e:e.assignedSlot||e.parentNode||(Kl(e)?e.host:null)||ls(e)}function cs(e){return Ul(e)&&"fixed"!==as(e).position?e.offsetParent:null}function us(e){for(var t=ql(e),n=cs(e);n&&is(n)&&"static"===as(n).position;)n=cs(n);return n&&("html"===Wl(n)||"body"===Wl(n)&&"static"===as(n).position)?t:n||function(e){var t=/firefox/i.test(es());if(/Trident/i.test(es())&&Ul(e)&&"fixed"===as(e).position)return null;var n=ss(e);for(Kl(n)&&(n=n.host);Ul(n)&&["html","body"].indexOf(Wl(n))<0;){var o=as(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function ds(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ps(e,t,n){return Jl(e,Zl(t,n))}function fs(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ms(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var gs={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,r=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=Xl(n.placement),s=ds(l),c=[Ml,Il].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return fs("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ms(e,Al))}(r.padding,n),d=os(a),p="y"===s?Tl:Ml,f="y"===s?Nl:Il,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],h=us(a),b=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,v=m/2-g/2,y=u[p],w=b-d[c]-u[f],x=b/2-d[c]/2+v,S=ps(y,x,w),O=s;n.modifiersData[o]=((t={})[O]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&rs(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function hs(e){return e.split("-")[1]}var bs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vs(e){var t,n=e.popper,o=e.popperRect,r=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 b=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),y=Ml,w=Tl,x=window;if(c){var S=us(n),O="clientHeight",C="clientWidth";if(S===ql(n)&&"static"!==as(S=ls(n)).position&&"absolute"===l&&(O="scrollHeight",C="scrollWidth"),r===Tl||(r===Ml||r===Il)&&a===Fl)w=Nl,g-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[O])-o.height,g*=s?1:-1;if(r===Ml||(r===Tl||r===Nl)&&a===Fl)y=Il,f-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[C])-o.width,f*=s?1:-1}var k,E=Object.assign({position:l},c&&bs),R=!0===u?function(e,t){var n=e.x,o=e.y,r=t.devicePixelRatio||1;return{x:Ql(n*r)/r||0,y:Ql(o*r)/r||0}}({x:f,y:g},ql(n)):{x:f,y:g};return f=R.x,g=R.y,s?Object.assign({},E,((k={})[w]=v?"0":"",k[y]=b?"0":"",k.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",k)):Object.assign({},E,((t={})[w]=v?g+"px":"",t[y]=b?f+"px":"",t.transform="",t))}var ys={passive:!0};var ws={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,a=void 0===r||r,i=o.resize,l=void 0===i||i,s=ql(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,ys)})),l&&s.addEventListener("resize",n.update,ys),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ys)})),l&&s.removeEventListener("resize",n.update,ys)}},data:{}},xs={left:"right",right:"left",bottom:"top",top:"bottom"};function Ss(e){return e.replace(/left|right|bottom|top/g,(function(e){return xs[e]}))}var Os={start:"end",end:"start"};function Cs(e){return e.replace(/start|end/g,(function(e){return Os[e]}))}function ks(e){var t=ql(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Es(e){return ns(ls(e)).left+ks(e).scrollLeft}function Rs(e){var t=as(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function Ps(e){return["html","body","#document"].indexOf(Wl(e))>=0?e.ownerDocument.body:Ul(e)&&Rs(e)?e:Ps(ss(e))}function Ts(e,t){var n;void 0===t&&(t=[]);var o=Ps(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),a=ql(o),i=r?[a].concat(a.visualViewport||[],Rs(o)?o:[]):o,l=t.concat(i);return r?l:l.concat(Ts(ss(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 Is(e,t,n){return t===Dl?Ns(function(e,t){var n=ql(e),o=ls(e),r=n.visualViewport,a=o.clientWidth,i=o.clientHeight,l=0,s=0;if(r){a=r.width,i=r.height;var c=ts();(c||!c&&"fixed"===t)&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:i,x:l+Es(e),y:s}}(e,n)):Gl(t)?function(e,t){var n=ns(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=ls(e),o=ks(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=Jl(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=Jl(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-o.scrollLeft+Es(e),s=-o.scrollTop;return"rtl"===as(r||n).direction&&(l+=Jl(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(ls(e)))}function Ms(e,t,n,o){var r="clippingParents"===t?function(e){var t=Ts(ss(e)),n=["absolute","fixed"].indexOf(as(e).position)>=0&&Ul(e)?us(e):e;return Gl(n)?t.filter((function(e){return Gl(e)&&rs(e,n)&&"body"!==Wl(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),i=a[0],l=a.reduce((function(t,n){var r=Is(e,n,o);return t.top=Jl(r.top,t.top),t.right=Zl(r.right,t.right),t.bottom=Zl(r.bottom,t.bottom),t.left=Jl(r.left,t.left),t}),Is(e,i,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function $s(e){var t,n=e.reference,o=e.element,r=e.placement,a=r?Xl(r):null,i=r?hs(r):null,l=n.x+n.width/2-o.width/2,s=n.y+n.height/2-o.height/2;switch(a){case Tl:t={x:l,y:n.y-o.height};break;case Nl:t={x:l,y:n.y+n.height};break;case Il:t={x:n.x+n.width,y:s};break;case Ml:t={x:n.x-o.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?ds(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case zl:t[c]=t[c]-(n[u]/2-o[u]/2);break;case Fl:t[c]=t[c]+(n[u]/2-o[u]/2)}}return t}function As(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=void 0===o?e.placement:o,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?jl:l,c=n.rootBoundary,u=void 0===c?Dl:c,d=n.elementContext,p=void 0===d?Vl:d,f=n.altBoundary,m=void 0!==f&&f,g=n.padding,h=void 0===g?0:g,b=fs("number"!=typeof h?h:ms(h,Al)),v=p===Vl?Ll:Vl,y=e.rects.popper,w=e.elements[m?v:p],x=Ms(Gl(w)?w:w.contextElement||ls(e.elements.popper),s,u,i),S=ns(e.elements.reference),O=$s({reference:S,element:y,strategy:"absolute",placement:r}),C=Ns(Object.assign({},y,O)),k=p===Vl?C:S,E={top:x.top-k.top+b.top,bottom:k.bottom-x.bottom+b.bottom,left:x.left-k.left+b.left,right:k.right-x.right+b.right},R=e.modifiersData.offset;if(p===Vl&&R){var P=R[r];Object.keys(E).forEach((function(e){var t=[Il,Nl].indexOf(e)>=0?1:-1,n=[Tl,Nl].indexOf(e)>=0?"y":"x";E[e]+=P[n]*t}))}return E}function zs(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Bl:s,u=hs(o),d=u?l?_l:_l.filter((function(e){return hs(e)===u})):Al,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]=As(e,{placement:n,boundary:r,rootBoundary:a,padding:i})[Xl(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Fs={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var r=n.mainAxis,a=void 0===r||r,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,b=Xl(h),v=s||(b===h||!m?[Ss(h)]:function(e){if(Xl(e)===$l)return[];var t=Ss(e);return[Cs(e),t,Cs(t)]}(h)),y=[h].concat(v).reduce((function(e,n){return e.concat(Xl(n)===$l?zs(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,O=!0,C=y[0],k=0;k<y.length;k++){var E=y[k],R=Xl(E),P=hs(E)===zl,T=[Tl,Nl].indexOf(R)>=0,N=T?"width":"height",I=As(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),M=T?P?Il:Ml:P?Nl:Tl;w[N]>x[N]&&(M=Ss(M));var $=Ss(M),A=[];if(a&&A.push(I[R]<=0),l&&A.push(I[M]<=0,I[$]<=0),A.every((function(e){return e}))){C=E,O=!1;break}S.set(E,A)}if(O)for(var z=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 C=t,"break"},F=m?3:1;F>0;F--){if("break"===z(F))break}t.placement!==C&&(t.modifiersData[o]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function js(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[Tl,Il,Nl,Ml].some((function(t){return e[t]>=0}))}var Vs={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,i=As(t,{elementContext:"reference"}),l=As(t,{altBoundary:!0}),s=js(i,o),c=js(l,r,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 Ls={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,a=void 0===r?[0,0]:r,i=Bl.reduce((function(e,n){return e[n]=function(e,t,n){var o=Xl(e),r=[Ml,Tl].indexOf(o)>=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)*r,[Ml,Il].indexOf(o)>=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[o]=i}};var _s={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$s({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Bs={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.mainAxis,a=void 0===r||r,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=As(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),b=Xl(t.placement),v=hs(t.placement),y=!v,w=ds(b),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,O=t.rects.reference,C=t.rects.popper,k="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(a){var T,N="y"===w?Tl:Ml,I="y"===w?Nl:Il,M="y"===w?"height":"width",$=S[w],A=$+h[N],z=$-h[I],F=f?-C[M]/2:0,j=v===zl?O[M]:C[M],D=v===zl?-C[M]:-O[M],V=t.elements.arrow,L=f&&V?os(V):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=_[N],H=_[I],W=ps(0,O[M],L[M]),q=y?O[M]/2-F-W-B-E.mainAxis:j-W-B-E.mainAxis,G=y?-O[M]/2+F+W+H+E.mainAxis:D+W+H+E.mainAxis,U=t.elements.arrow&&us(t.elements.arrow),K=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,Y=null!=(T=null==R?void 0:R[w])?T:0,X=$+G-Y,J=ps(f?Zl(A,$+q-Y-K):A,$,f?Jl(z,X):z);S[w]=J,P[w]=J-$}if(l){var Z,Q="x"===w?Tl:Ml,ee="x"===w?Nl:Il,te=S[x],ne="y"===x?"height":"width",oe=te+h[Q],re=te-h[ee],ae=-1!==[Tl,Ml].indexOf(b),ie=null!=(Z=null==R?void 0:R[x])?Z:0,le=ae?oe:te-O[ne]-C[ne]-ie+E.altAxis,se=ae?te+O[ne]+C[ne]-ie-E.altAxis:re,ce=f&&ae?function(e,t,n){var o=ps(e,t,n);return o>n?n:o}(le,te,se):ps(f?le:oe,te,f?se:re);S[x]=ce,P[x]=ce-te}t.modifiersData[o]=P}},requiresIfExists:["offset"]};function Hs(e,t,n){void 0===n&&(n=!1);var o=Ul(t),r=Ul(t)&&function(e){var t=e.getBoundingClientRect(),n=Ql(t.width)/e.offsetWidth||1,o=Ql(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=ls(t),i=ns(e,r,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!n)&&(("body"!==Wl(t)||Rs(a))&&(l=function(e){return e!==ql(e)&&Ul(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:ks(e);var t}(t)),Ul(t)?((s=ns(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Es(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Ws(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var qs={placement:"bottom",modifiers:[],strategy:"absolute"};function Gs(){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 Us(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,a=void 0===r?qs:r;return function(e,t,n){void 0===n&&(n=a);var r,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},qs,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var r="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,r),l.scrollParents={reference:Gl(e)?Ts(e):e.contextElement?Ts(e.contextElement):[],popper:Ts(t)};var i,c,p=function(e){var t=Ws(e);return Hl.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(o,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,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var a=r({state:l,name:t,instance:u,options:o}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Gs(t,n)){l.rects={reference:Hs(t,us(n),"fixed"===l.options.strategy),popper:os(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<l.orderedModifiers.length;o++)if(!0!==l.reset){var r=l.orderedModifiers[o],a=r.fn,i=r.options,s=void 0===i?{}:i,d=r.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(r())}))}))),i}),destroy:function(){d(),c=!0}};if(!Gs(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 Ks=Us({defaultModifiers:[ws,_s,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:Xl(t.placement),variation:hs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,vs(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,vs(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:{}},Yl,Ls,Fs,Bs,gs,Vs]}),Ys="undefined"!=typeof Element,Xs="function"==typeof Map,Js="function"==typeof Set,Zs="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Qs(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,o,r,a;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(!Qs(e[o],t[o]))return!1;return!0}if(Xs&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(o=a.next()).done;)if(!t.has(o.value[0]))return!1;for(a=e.entries();!(o=a.next()).done;)if(!Qs(o.value[1],t.get(o.value[0])))return!1;return!0}if(Js&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(o=a.next()).done;)if(!t.has(o.value[0]))return!1;return!0}if(Zs&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(o=n;0!=o--;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(r=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;if(Ys&&e instanceof Element)return!1;for(o=n;0!=o--;)if(("_owner"!==r[o]&&"__v"!==r[o]&&"__o"!==r[o]||!e.$$typeof)&&!Qs(e[r[o]],t[r[o]]))return!1;return!0}return e!=e&&t!=t}var ec=function(e,t){try{return Qs(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}},tc=E(ec),nc=[],oc=function(e,t,n){void 0===n&&(n={});var r=o.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||nc},i=o.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=i[0],s=i[1],c=o.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);v.flushSync((function(){s({styles:Rl(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Rl(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=o.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return tc(r.current,e)?r.current||e:(r.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),d=o.useRef();return Pl((function(){d.current&&d.current.setOptions(u)}),[u]),Pl((function(){if(null!=e&&null!=t){var o=(n.createPopper||Ks)(e,t,u);return d.current=o,function(){o.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const rc=bn.div`
|
|
334
|
+
`;function ml({children:n,maxLines:r=3}){const[o,a]=u(!1),l=i(null),[s,c]=u(!1),f=()=>{const{offsetHeight:e,scrollHeight:t}=l.current||{};c(!!(e&&t&&e<t))};return p((()=>(window.addEventListener("resize",f),()=>window.removeEventListener("resize",f))),[l]),d((()=>{f()}),[]),t(dl,{children:[e(pl,{$maxLines:o?void 0:r,ref:l,children:n}),r&&s&&e(fl,{type:"button",kind:"basic",onClick:()=>a(!o),children:o?"Read less":"Read more"})]})}const gl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hl({time:t}){const[n,r]=o.useState((()=>new Date)),a=o.useMemo((()=>new Date(t)),[t]);o.useEffect((()=>{r(new Date)}),[t]),o.useEffect((()=>{if(Math.abs(a.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{r(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,a]);const i=o.useMemo((()=>{const e=Math.abs(a.getTime()/1e3-n.getTime()/1e3),t=a>n;if(e<60&&!t)return"just now";if(e>604800)return`${a.getDate()} ${gl[a.getMonth()]} ${a.getFullYear()}`;let r;return r=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 ${r}`:`${r} ago`}),[a,n]);return e("time",{dateTime:a.toISOString(),title:a.toLocaleString(),children:i})}var vl=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},bl="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,yl="top",wl="bottom",xl="right",Sl="left",Cl="auto",kl=[yl,wl,xl,Sl],Ol="start",El="end",Il="clippingParents",$l="viewport",Pl="popper",zl="reference",Rl=kl.reduce((function(e,t){return e.concat([t+"-"+Ol,t+"-"+El])}),[]),Nl=[].concat(kl,[Cl]).reduce((function(e,t){return e.concat([t,t+"-"+Ol,t+"-"+El])}),[]),Al=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Tl(e){return e?(e.nodeName||"").toLowerCase():null}function Dl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _l(e){return e instanceof Dl(e).Element||e instanceof Element}function Ml(e){return e instanceof Dl(e).HTMLElement||e instanceof HTMLElement}function Ll(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Dl(e).ShadowRoot||e instanceof ShadowRoot)}var Fl={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];Ml(o)&&Tl(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}),{});Ml(r)&&Tl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function Vl(e){return e.split("-")[0]}var jl=Math.max,Bl=Math.min,Hl=Math.round;function Wl(){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 Gl(){return!/^((?!chrome|android).)*safari/i.test(Wl())}function ql(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ml(e)&&(o=e.offsetWidth>0&&Hl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Hl(r.height)/e.offsetHeight||1);var i=(_l(e)?Dl(e):window).visualViewport,l=!Gl()&&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 Ul(e){var t=ql(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 Yl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ll(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Kl(e){return Dl(e).getComputedStyle(e)}function Jl(e){return["table","td","th"].indexOf(Tl(e))>=0}function Xl(e){return((_l(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ql(e){return"html"===Tl(e)?e:e.assignedSlot||e.parentNode||(Ll(e)?e.host:null)||Xl(e)}function Zl(e){return Ml(e)&&"fixed"!==Kl(e).position?e.offsetParent:null}function es(e){for(var t=Dl(e),n=Zl(e);n&&Jl(n)&&"static"===Kl(n).position;)n=Zl(n);return n&&("html"===Tl(n)||"body"===Tl(n)&&"static"===Kl(n).position)?t:n||function(e){var t=/firefox/i.test(Wl());if(/Trident/i.test(Wl())&&Ml(e)&&"fixed"===Kl(e).position)return null;var n=Ql(e);for(Ll(n)&&(n=n.host);Ml(n)&&["html","body"].indexOf(Tl(n))<0;){var r=Kl(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 ts(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ns(e,t,n){return jl(e,Bl(t,n))}function rs(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function os(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var as={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=Vl(n.placement),s=ts(l),c=[Sl,xl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return rs("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:os(e,kl))}(o.padding,n),d=Ul(a),p="y"===s?yl:Sl,f="y"===s?wl:xl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],h=es(a),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,b=m/2-g/2,y=u[p],w=v-d[c]-u[f],x=v/2-d[c]/2+b,S=ns(y,x,w),C=s;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-x,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)))&&Yl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function is(e){return e.split("-")[1]}var ls={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ss(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=Sl,w=yl,x=window;if(c){var S=es(n),C="clientHeight",k="clientWidth";if(S===Dl(n)&&"static"!==Kl(S=Xl(n)).position&&"absolute"===l&&(C="scrollHeight",k="scrollWidth"),o===yl||(o===Sl||o===xl)&&a===El)w=wl,g-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-r.height,g*=s?1:-1;if(o===Sl||(o===yl||o===wl)&&a===El)y=xl,f-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[k])-r.width,f*=s?1:-1}var O,E=Object.assign({position:l},c&&ls),I=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Hl(n*o)/o||0,y:Hl(r*o)/o||0}}({x:f,y:g},Dl(n)):{x:f,y:g};return f=I.x,g=I.y,s?Object.assign({},E,((O={})[w]=b?"0":"",O[y]=v?"0":"",O.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",O)):Object.assign({},E,((t={})[w]=b?g+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var cs={passive:!0};var us={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=Dl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,cs)})),l&&s.addEventListener("resize",n.update,cs),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,cs)})),l&&s.removeEventListener("resize",n.update,cs)}},data:{}},ds={left:"right",right:"left",bottom:"top",top:"bottom"};function ps(e){return e.replace(/left|right|bottom|top/g,(function(e){return ds[e]}))}var fs={start:"end",end:"start"};function ms(e){return e.replace(/start|end/g,(function(e){return fs[e]}))}function gs(e){var t=Dl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function hs(e){return ql(Xl(e)).left+gs(e).scrollLeft}function vs(e){var t=Kl(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function bs(e){return["html","body","#document"].indexOf(Tl(e))>=0?e.ownerDocument.body:Ml(e)&&vs(e)?e:bs(Ql(e))}function ys(e,t){var n;void 0===t&&(t=[]);var r=bs(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Dl(r),i=o?[a].concat(a.visualViewport||[],vs(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(ys(Ql(i)))}function ws(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function xs(e,t,n){return t===$l?ws(function(e,t){var n=Dl(e),r=Xl(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Gl();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+hs(e),y:s}}(e,n)):_l(t)?function(e,t){var n=ql(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):ws(function(e){var t,n=Xl(e),r=gs(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=jl(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=jl(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+hs(e),s=-r.scrollTop;return"rtl"===Kl(o||n).direction&&(l+=jl(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Xl(e)))}function Ss(e,t,n,r){var o="clippingParents"===t?function(e){var t=ys(Ql(e)),n=["absolute","fixed"].indexOf(Kl(e).position)>=0&&Ml(e)?es(e):e;return _l(n)?t.filter((function(e){return _l(e)&&Yl(e,n)&&"body"!==Tl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=xs(e,n,r);return t.top=jl(o.top,t.top),t.right=Bl(o.right,t.right),t.bottom=Bl(o.bottom,t.bottom),t.left=jl(o.left,t.left),t}),xs(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 Cs(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?Vl(o):null,i=o?is(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case yl:t={x:l,y:n.y-r.height};break;case wl:t={x:l,y:n.y+n.height};break;case xl:t={x:n.x+n.width,y:s};break;case Sl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?ts(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ol:t[c]=t[c]-(n[u]/2-r[u]/2);break;case El:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function ks(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?Il:l,c=n.rootBoundary,u=void 0===c?$l: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=rs("number"!=typeof h?h:os(h,kl)),b=p===Pl?zl:Pl,y=e.rects.popper,w=e.elements[m?b:p],x=Ss(_l(w)?w:w.contextElement||Xl(e.elements.popper),s,u,i),S=ql(e.elements.reference),C=Cs({reference:S,element:y,strategy:"absolute",placement:o}),k=ws(Object.assign({},y,C)),O=p===Pl?k:S,E={top:x.top-O.top+v.top,bottom:O.bottom-x.bottom+v.bottom,left:x.left-O.left+v.left,right:O.right-x.right+v.right},I=e.modifiersData.offset;if(p===Pl&&I){var $=I[o];Object.keys(E).forEach((function(e){var t=[xl,wl].indexOf(e)>=0?1:-1,n=[yl,wl].indexOf(e)>=0?"y":"x";E[e]+=$[n]*t}))}return E}function Os(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?Nl:s,u=is(r),d=u?l?Rl:Rl.filter((function(e){return is(e)===u})):kl,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]=ks(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[Vl(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Es={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=Vl(h),b=s||(v===h||!m?[ps(h)]:function(e){if(Vl(e)===Cl)return[];var t=ps(e);return[ms(e),t,ms(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(Vl(n)===Cl?Os(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,k=y[0],O=0;O<y.length;O++){var E=y[O],I=Vl(E),$=is(E)===Ol,P=[yl,wl].indexOf(I)>=0,z=P?"width":"height",R=ks(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),N=P?$?xl:Sl:$?wl:yl;w[z]>x[z]&&(N=ps(N));var A=ps(N),T=[];if(a&&T.push(R[I]<=0),l&&T.push(R[N]<=0,R[A]<=0),T.every((function(e){return e}))){k=E,C=!1;break}S.set(E,T)}if(C)for(var D=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?3:1;_>0;_--){if("break"===D(_))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Is(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 $s(e){return[yl,xl,wl,Sl].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=ks(t,{elementContext:"reference"}),l=ks(t,{altBoundary:!0}),s=Is(i,r),c=Is(l,o,a),u=$s(s),d=$s(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 zs={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=Nl.reduce((function(e,n){return e[n]=function(e,t,n){var r=Vl(e),o=[Sl,yl].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,[Sl,xl].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 Rs={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Cs({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ns={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=ks(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=Vl(t.placement),b=is(t.placement),y=!b,w=ts(v),x="x"===w?"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,$={x:0,y:0};if(S){if(a){var P,z="y"===w?yl:Sl,R="y"===w?wl:xl,N="y"===w?"height":"width",A=S[w],T=A+h[z],D=A-h[R],_=f?-k[N]/2:0,M=b===Ol?C[N]:k[N],L=b===Ol?-k[N]:-C[N],F=t.elements.arrow,V=f&&F?Ul(F):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=j[z],H=j[R],W=ns(0,C[N],V[N]),G=y?C[N]/2-_-W-B-E.mainAxis:M-W-B-E.mainAxis,q=y?-C[N]/2+_+W+H+E.mainAxis:L+W+H+E.mainAxis,U=t.elements.arrow&&es(t.elements.arrow),Y=U?"y"===w?U.clientTop||0:U.clientLeft||0:0,K=null!=(P=null==I?void 0:I[w])?P:0,J=A+q-K,X=ns(f?Bl(T,A+G-K-Y):T,A,f?jl(D,J):D);S[w]=X,$[w]=X-A}if(l){var Q,Z="x"===w?yl:Sl,ee="x"===w?wl:xl,te=S[x],ne="y"===x?"height":"width",re=te+h[Z],oe=te-h[ee],ae=-1!==[yl,Sl].indexOf(v),ie=null!=(Q=null==I?void 0:I[x])?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=ns(e,t,n);return r>n?n:r}(le,te,se):ns(f?le:re,te,f?se:oe);S[x]=ce,$[x]=ce-te}t.modifiersData[r]=$}},requiresIfExists:["offset"]};function As(e,t,n){void 0===n&&(n=!1);var r=Ml(t),o=Ml(t)&&function(e){var t=e.getBoundingClientRect(),n=Hl(t.width)/e.offsetWidth||1,r=Hl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Xl(t),i=ql(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==Tl(t)||vs(a))&&(l=function(e){return e!==Dl(e)&&Ml(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:gs(e);var t}(t)),Ml(t)?((s=ql(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=hs(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function Ts(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 Ds={placement:"bottom",modifiers:[],strategy:"absolute"};function _s(){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 Ms(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Ds:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ds,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:_l(e)?ys(e):e.contextElement?ys(e.contextElement):[],popper:ys(t)};var i,c,p=function(e){var t=Ts(e);return Al.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(_s(t,n)){l.rects={reference:As(t,es(n),"fixed"===l.options.strategy),popper:Ul(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(!_s(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 Ls=Ms({defaultModifiers:[us,Rs,{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:Vl(t.placement),variation:is(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,ss(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,ss(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:{}},Fl,zs,Es,Ns,as,Ps]}),Fs="undefined"!=typeof Element,Vs="function"==typeof Map,js="function"==typeof Set,Bs="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Hs(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(!Hs(e[r],t[r]))return!1;return!0}if(Vs&&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(!Hs(r.value[1],t.get(r.value[0])))return!1;return!0}if(js&&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(Bs&&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(Fs&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==o[r]&&"__v"!==o[r]&&"__o"!==o[r]||!e.$$typeof)&&!Hs(e[o[r]],t[o[r]]))return!1;return!0}return e!=e&&t!=t}var Ws=S((function(e,t){try{return Hs(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Gs=[],qs=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Gs},i=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=i[0],s=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);g.flushSync((function(){s({styles:vl(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:vl(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Ws(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),d=r.useRef();return bl((function(){d.current&&d.current.setOptions(u)}),[u]),bl((function(){if(null!=e&&null!=t){var r=(n.createPopper||Ls)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const Us=sn.div`
|
|
335
335
|
display: inline-flex;
|
|
336
336
|
position: relative;
|
|
337
337
|
|
|
338
338
|
@media print {
|
|
339
339
|
display: none;
|
|
340
340
|
}
|
|
341
|
-
`,
|
|
341
|
+
`,Ys=sn.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 Ks({children:n,content:r,placement:o="top"}){const[a,i]=u(!1),[l,s]=u(null),[c,p]=u(null),[f,m]=u(null),{styles:g,attributes:h}=qs(l,c,{placement:o,modifiers:[{name:"arrow",options:{element:f}},{name:"offset",options:{offset:[0,5]}}]});let v=null;const b=()=>{v=setTimeout((()=>{i(!0)}),300)},y=()=>{v&&clearTimeout(v),i(!1)};return d((()=>()=>{v&&clearTimeout(v)})),t(Us,{onMouseEnter:b,onMouseLeave:y,onFocus:b,onBlur:y,tabIndex:0,children:[e("div",{ref:s,children:n}),a&&t(Ys,{style:g.popper,"data-show":a,...h.popper,ref:p,children:[e("div",{children:r}),e("span",{ref:m,style:g.arrow,...h.arrow,className:"arrow"})]})]})}function Js({size:t}){return e(_i,{colour:"green",name:["fas","check-circle"],size:t})}function Xs({size:t}){return e(_i,{colour:"grey",name:["fas","circle"],size:t})}function Qs({size:t}){return e(_i,{colour:"primary",name:["fas","circle"],size:t})}function Zs({size:t}){return e(Ki,{size:{xsmall:12,small:14,medium:16,large:22,xlarge:24}[t],strokeWidth:40})}function ec({size:t}){return e(_i,{colour:"warning",name:["fas","circle-exclamation"],size:t})}function tc({size:t}){return e(_i,{colour:"danger",name:["fas","circle-exclamation"],size:t})}const nc=sn.div`
|
|
413
413
|
flex-shrink: 0;
|
|
414
414
|
display: flex;
|
|
415
415
|
align-items: center;
|
|
@@ -419,7 +419,7 @@ object-assign
|
|
|
419
419
|
background-color: var(--color--white);
|
|
420
420
|
border-radius: 50%;
|
|
421
421
|
}
|
|
422
|
-
`;function
|
|
422
|
+
`;function rc({status:t="uploaded",size:n="medium"}){const r=t.charAt(0).toUpperCase()+t.slice(1),o={uploaded:e(Xs,{size:n}),running:e(Zs,{size:n}),processed:e(Qs,{size:n}),reviewed:e(Js,{size:n}),warning:e(ec,{size:n}),failed:e(tc,{size:n})};return e(Ks,{content:r,children:e(nc,{status:t,"aria-label":r,children:o[t]})})}
|
|
423
423
|
/**
|
|
424
424
|
* table-core
|
|
425
425
|
*
|
|
@@ -429,7 +429,7 @@ object-assign
|
|
|
429
429
|
* LICENSE.md file in the root directory of this source tree.
|
|
430
430
|
*
|
|
431
431
|
* @license MIT
|
|
432
|
-
*/function gc(e,t){return"function"==typeof e?e(t):e}function hc(e,t){return n=>{t.setState((t=>({...t,[e]:gc(n,t[e])})))}}function bc(e){return e instanceof Function}function vc(e,t,n){let o,r=[];return a=>{let i;n.key&&n.debug&&(i=Date.now());const l=e(a);if(!(l.length!==r.length||l.some(((e,t)=>r[t]!==e))))return o;let s;if(r=l,n.key&&n.debug&&(s=Date.now()),o=t(...l),null==n||null==n.onChange||n.onChange(o),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,o=t/16,r=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${r(t,5)} /${r(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*o,120))}deg 100% 31%);`,null==n?void 0:n.key)}return o}}function yc(e,t,n,o){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:o}}const wc="debugHeaders";function xc(e,t,n){var o;let r={id:null!=(o=n.id)?o:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(r),e},getContext:()=>({table:e,header:r,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(r,e)})),r}const Sc={createTable:e=>{e.getHeaderGroups=vc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>{var a,i;const l=null!=(a=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],s=null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],c=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id))));return Oc(t,[...l,...c,...s],e)}),yc(e.options,wc,"getHeaderGroups")),e.getCenterHeaderGroups=vc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,o,r)=>(n=n.filter((e=>!(null!=o&&o.includes(e.id)||null!=r&&r.includes(e.id)))),Oc(t,n,e,"center"))),yc(e.options,wc,"getCenterHeaderGroups")),e.getLeftHeaderGroups=vc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,o)=>{var r;const a=null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[];return Oc(t,a,e,"left")}),yc(e.options,wc,"getLeftHeaderGroups")),e.getRightHeaderGroups=vc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,o)=>{var r;const a=null!=(r=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?r:[];return Oc(t,a,e,"right")}),yc(e.options,wc,"getRightHeaderGroups")),e.getFooterGroups=vc((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),yc(e.options,wc,"getFooterGroups")),e.getLeftFooterGroups=vc((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),yc(e.options,wc,"getLeftFooterGroups")),e.getCenterFooterGroups=vc((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),yc(e.options,wc,"getCenterFooterGroups")),e.getRightFooterGroups=vc((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),yc(e.options,wc,"getRightFooterGroups")),e.getFlatHeaders=vc((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),yc(e.options,wc,"getFlatHeaders")),e.getLeftFlatHeaders=vc((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),yc(e.options,wc,"getLeftFlatHeaders")),e.getCenterFlatHeaders=vc((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),yc(e.options,wc,"getCenterFlatHeaders")),e.getRightFlatHeaders=vc((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),yc(e.options,wc,"getRightFlatHeaders")),e.getCenterLeafHeaders=vc((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),yc(e.options,wc,"getCenterLeafHeaders")),e.getLeftLeafHeaders=vc((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),yc(e.options,wc,"getLeftLeafHeaders")),e.getRightLeafHeaders=vc((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),yc(e.options,wc,"getRightLeafHeaders")),e.getLeafHeaders=vc((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var o,r,a,i,l,s;return[...null!=(o=null==(r=e[0])?void 0:r.headers)?o:[],...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()}),yc(e.options,wc,"getLeafHeaders"))}};function Oc(e,t,n,o){var r,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 r={depth:t,id:[o,`${t}`].filter(Boolean).join("_"),headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,s=!1;if(e.column.depth===r.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 r=xc(n,l,{id:[o,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});r.subHeaders.push(e),a.push(r)}r.headers.push(e),e.headerGroup=r})),s.push(r),t>0&&c(a,t-1)},u=t.map(((e,t)=>xc(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,o=[0];e.subHeaders&&e.subHeaders.length?(o=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:r}=e;t+=n,o.push(r)}))):t=1;return n+=Math.min(...o),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(r=null==(a=s[0])?void 0:a.headers)?r:[]),s}const Cc=(e,t,n,o,r,a,i)=>{let l={id:t,index:o,original:n,depth:r,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,o),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=n.columnDef.getUniqueValues(l.original,o),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=l.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=a?a:[],getLeafRows:()=>function(e,t){const n=[],o=e=>{e.forEach((e=>{n.push(e);const r=t(e);null!=r&&r.length&&o(r)}))};return o(e),n}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:vc((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,o){const r={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(o),renderValue:()=>{var t;return null!=(t=r.getValue())?t:e.options.renderFallbackValue},getContext:vc((()=>[e,n,t,r]),((e,t,n,o)=>({table:e,column:t,row:n,cell:o,getValue:o.getValue,renderValue:o.renderValue})),yc(e.options,"debugCells","cell.getContext"))};return e._features.forEach((o=>{null==o.createCell||o.createCell(r,n,t,e)}),{}),r}(e,l,t,t.id)))),yc(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:vc((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),yc(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},kc={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()}}},Ec=(e,t,n)=>{var o;const r=n.toLowerCase();return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())||null==(o=o.toLowerCase())?void 0:o.includes(r))};Ec.autoRemove=e=>Fc(e);const Rc=(e,t,n)=>{var o;return Boolean(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.includes(n))};Rc.autoRemove=e=>Fc(e);const Pc=(e,t,n)=>{var o;return(null==(o=e.getValue(t))||null==(o=o.toString())?void 0:o.toLowerCase())===(null==n?void 0:n.toLowerCase())};Pc.autoRemove=e=>Fc(e);const Tc=(e,t,n)=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)};Tc.autoRemove=e=>Fc(e)||!(null!=e&&e.length);const Nc=(e,t,n)=>!n.some((n=>{var o;return!(null!=(o=e.getValue(t))&&o.includes(n))}));Nc.autoRemove=e=>Fc(e)||!(null!=e&&e.length);const Ic=(e,t,n)=>n.some((n=>{var o;return null==(o=e.getValue(t))?void 0:o.includes(n)}));Ic.autoRemove=e=>Fc(e)||!(null!=e&&e.length);const Mc=(e,t,n)=>e.getValue(t)===n;Mc.autoRemove=e=>Fc(e);const $c=(e,t,n)=>e.getValue(t)==n;$c.autoRemove=e=>Fc(e);const Ac=(e,t,n)=>{let[o,r]=n;const a=e.getValue(t);return a>=o&&a<=r};Ac.resolveFilterValue=e=>{let[t,n]=e,o="number"!=typeof t?parseFloat(t):t,r="number"!=typeof n?parseFloat(n):n,a=null===t||Number.isNaN(o)?-1/0:o,i=null===n||Number.isNaN(r)?1/0:r;if(a>i){const e=a;a=i,i=e}return[a,i]},Ac.autoRemove=e=>Fc(e)||Fc(e[0])&&Fc(e[1]);const zc={includesString:Ec,includesStringSensitive:Rc,equalsString:Pc,arrIncludes:Tc,arrIncludesAll:Nc,arrIncludesSome:Ic,equals:Mc,weakEquals:$c,inNumberRange:Ac};function Fc(e){return null==e||""===e}const jc={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:hc("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"string"==typeof o?zc.includesString:"number"==typeof o?zc.inNumberRange:"boolean"==typeof o||null!==o&&"object"==typeof o?zc.equals:Array.isArray(o)?zc.arrIncludes:zc.weakEquals},e.getFilterFn=()=>{var n,o;return bc(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(o=t.options.filterFns)?void 0:o[e.columnDef.filterFn])?n:zc[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,o,r;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(o=t.options.enableColumnFilters)||o)&&(null==(r=t.options.enableFilters)||r)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().columnFilters)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const o=e.getFilterFn(),r=null==t?void 0:t.find((t=>t.id===e.id)),a=gc(n,r?r.value:void 0);var i;if(Dc(o,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 r?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?s:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var o;return null==(o=gc(t,e))?void 0:o.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(Dc(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,o;e.setColumnFilters(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function Dc(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const Vc={sum:(e,t,n)=>n.reduce(((t,n)=>{const o=n.getValue(e);return t+("number"==typeof o?o:0)}),0),min:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o>n||void 0===o&&n>=n)&&(o=n)})),o},max:(e,t,n)=>{let o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(o<n||void 0===o&&n>=n)&&(o=n)})),o},extent:(e,t,n)=>{let o,r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===o?n>=n&&(o=r=n):(o>n&&(o=n),r<n&&(r=n)))})),[o,r]},mean:(e,t)=>{let n=0,o=0;if(t.forEach((t=>{let r=t.getValue(e);null!=r&&(r=+r)>=r&&(++n,o+=r)})),n)return o/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(!function(e){return Array.isArray(e)&&e.every((e=>"number"==typeof e))}(n))return;if(1===n.length)return n[0];const o=Math.floor(n.length/2),r=n.sort(((e,t)=>e-t));return n.length%2!=0?r[o]:(r[o-1]+r[o])/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},Lc={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:hc("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,o;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(o=t.options.enableGrouping)||o)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],o=null==n?void 0:n.getValue(e.id);return"number"==typeof o?Vc.sum:"[object Date]"===Object.prototype.toString.call(o)?Vc.extent:void 0},e.getAggregationFn=()=>{var n,o;if(!e)throw new Error;return bc(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(o=t.options.aggregationFns)?void 0:o[e.columnDef.aggregationFn])?n:Vc[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,o;e.setGrouping(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const o=t.getColumn(n);return null!=o&&o.columnDef.getGroupingValue?(e._groupingValuesCache[n]=o.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,o)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const _c={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:hc("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=vc((e=>[Kc(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),yc(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var o;return(null==(o=Kc(t,n)[0])?void 0:o.id)===e.id},e.getIsLastColumn=n=>{var o;const r=Kc(t,n);return(null==(o=r[r.length-1])?void 0:o.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=vc((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>o=>{let r=[];if(null!=e&&e.length){const t=[...e],n=[...o];for(;n.length&&t.length;){const e=t.shift(),o=n.findIndex((t=>t.id===e));o>-1&&r.push(n.splice(o,1)[0])}r=[...r,...n]}else r=o;return function(e,t,n){if(null==t||!t.length||!n)return e;const o=e.filter((e=>!t.includes(e.id)));if("remove"===n)return o;const r=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...r,...o]}(r,t,n)}),yc(e.options,"debugTable","_getOrderColumnsFn"))}},Bc={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:hc("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const o=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,r,a,i,l,s;return"right"===n?{left:(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=o&&o.includes(e)))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=o&&o.includes(e)))),...o]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=o&&o.includes(e)))),...o],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=o&&o.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=o&&o.includes(e)))),right:(null!=(r=null==e?void 0:e.right)?r:[]).filter((e=>!(null!=o&&o.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,o,r;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(o=null!=(r=t.options.enableColumnPinning)?r:t.options.enablePinning)||o)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:o,right:r}=t.getState().columnPinning,a=n.some((e=>null==o?void 0:o.includes(e))),i=n.some((e=>null==r?void 0:r.includes(e)));return a?"left":!!i&&"right"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();return r?null!=(n=null==(o=t.getState().columnPinning)||null==(o=o[r])?void 0:o.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=vc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.column.id)))}),yc(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=vc((()=>[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}),yc(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=vc((()=>[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}),yc(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,o;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(o=e.initialState)?void 0:o.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const o=e.getState().columnPinning;var r,a;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.left)?void 0:r.length)||(null==(a=o.right)?void 0:a.length))},e.getLeftLeafColumns=vc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),yc(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=vc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),yc(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=vc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const o=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!o.includes(e.id)))}),yc(e.options,"debugColumns","getCenterLeafColumns"))}},Hc={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Wc={getDefaultColumnDef:()=>Hc,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:hc("columnSizing",e),onColumnSizingInfoChange:hc("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,o,r;const a=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Hc.minSize,null!=(o=null!=a?a:e.columnDef.size)?o:Hc.size),null!=(r=e.columnDef.maxSize)?r:Hc.maxSize)},e.getStart=vc((e=>[e,Kc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),yc(t.options,"debugColumns","getStart")),e.getAfter=vc((e=>[e,Kc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),yc(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...o}=t;return o}))},e.getCanResize=()=>{var n,o;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(o=t.options.enableColumnResizing)||o)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var o;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(o=e.column.getSize())?o:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const o=t.getColumn(e.column.id),r=null==o?void 0:o.getCanResize();return a=>{if(!o||!r)return;if(null==a.persist||a.persist(),Gc(a)&&a.touches&&a.touches.length>1)return;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[o.id,o.getSize()]],s=Gc(a)?Math.round(a.touches[0].clientX):a.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var o,r;const a="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(o=null==e?void 0:e.startOffset)?o:0))*a,l=Math.max(i/(null!=(r=null==e?void 0:e.startSize)?r:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset: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 qc)return qc;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 qc=e,qc}()&&{passive:!1};Gc(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:o.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let qc=null;function Gc(e){return"touchstart"===e.type}const Uc={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:hc("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,o;const r=e.columns;return null==(n=r.length?r.some((e=>e.getIsVisible())):null==(o=t.getState().columnVisibility)?void 0:o[e.id])||n},e.getCanHide=()=>{var n,o;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(o=t.options.enableHiding)||o)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=vc((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),yc(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=vc((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),yc(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>vc((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),yc(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 Kc(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:hc("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const o=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof o||"number"==typeof o}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,o,r,a;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(o=t.options.enableGlobalFilter)||o)&&(null==(r=t.options.enableFilters)||r)&&(null==(a=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>zc.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:o}=e.options;return bc(o)?o:"auto"===o?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[o])?t:zc[o]},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:hc("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetExpanded)?o:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,o;e.setExpanded(t?{}:null!=(n=null==(o=e.initialState)?void 0:o.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((o=>{var r;const a=!0===o||!(null==o||!o[e.id]);let i={};if(!0===o?Object.keys(t.getRowModel().rowsById).forEach((e=>{i[e]=!0})):i=o,n=null!=(r=n)?r:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:t,...n}=i;return n}return o}))},e.getIsExpanded=()=>{var n;const o=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===o||(null==o?void 0:o[e.id]))},e.getCanExpand=()=>{var n,o,r;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(o=t.options.enableExpanding)||o)&&!(null==(r=e.subRows)||!r.length)},e.getIsAllParentsExpanded=()=>{let n=!0,o=e;for(;n&&o.parentId;)o=t.getRow(o.parentId,!0),n=o.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Jc={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:hc("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var o,r;if(t){if(null!=(o=null!=(r=e.options.autoResetAll)?r:e.options.autoResetPageIndex)?o:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>gc(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let o=gc(t,n.pageIndex);const r=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return o=Math.max(0,Math.min(o,r)),{...n,pageIndex:o}}))},e.resetPageIndex=t=>{var n,o;e.setPageIndex(t?0:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageIndex)?n:0)},e.resetPageSize=t=>{var n,o;e.setPageSize(t?10:null!=(n=null==(o=e.initialState)||null==(o=o.pagination)?void 0:o.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,gc(t,e.pageSize)),o=e.pageSize*e.pageIndex,r=Math.floor(o/n);return{...e,pageIndex:r,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var o;let r=gc(t,null!=(o=e.options.pageCount)?o:-1);return"number"==typeof r&&(r=Math.max(-1,r)),{...n,pageCount:r}})),e.getPageOptions=vc((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),yc(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}}},Zc={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:hc("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,o,r)=>{const a=o?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],i=r?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,o,r,a,i,s;return"bottom"===n?{top:(null!=(r=null==e?void 0:e.top)?r:[]).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!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:o,enablePinning:r}=t.options;return"function"==typeof o?o(e):null==(n=null!=o?o:r)||n},e.getIsPinned=()=>{const n=[e.id],{top:o,bottom:r}=t.getState().rowPinning,a=n.some((e=>null==o?void 0:o.includes(e))),i=n.some((e=>null==r?void 0:r.includes(e)));return a?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var n,o;const r=e.getIsPinned();if(!r)return-1;const a=null==(n=t._getPinnedRows(r))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(o=null==a?void 0:a.indexOf(e.id))?o:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,o;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(o=e.initialState)?void 0:o.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const o=e.getState().rowPinning;var r,a;return t?Boolean(null==(n=o[t])?void 0:n.length):Boolean((null==(r=o.top)?void 0:r.length)||(null==(a=o.bottom)?void 0:a.length))},e._getPinnedRows=vc((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,o)=>{var r;return(null==(r=e.options.keepPinnedRows)||r?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:o})))}),yc(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=vc((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const o=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!o.has(e.id)))}),yc(e.options,"debugRows","getCenterRows"))}},Qc={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:hc("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const o={...n},r=e.getPreGroupedRowModel().flatRows;return t?r.forEach((e=>{e.getCanSelect()&&(o[e.id]=!0)})):r.forEach((e=>{delete o[e.id]})),o}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const o=void 0!==t?t:!e.getIsAllPageRowsSelected(),r={...n};return e.getRowModel().rows.forEach((t=>{eu(r,t.id,o,!0,e)})),r})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=vc((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?tu(e,n):{rows:[],flatRows:[],rowsById:{}}),yc(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=vc((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?tu(e,n):{rows:[],flatRows:[],rowsById:{}}),yc(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=vc((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?tu(e,n):{rows:[],flatRows:[],rowsById:{}}),yc(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let o=Boolean(t.length&&Object.keys(n).length);return o&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(o=!1),o},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let o=!!t.length;return o&&t.some((e=>!n[e.id]))&&(o=!1),o},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,o)=>{const r=e.getIsSelected();t.setRowSelection((a=>{var i;if(n=void 0!==n?n:!r,e.getCanSelect()&&r===n)return a;const l={...a};return eu(l,e.id,n,null==(i=null==o?void 0:o.selectChildren)||i,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return nu(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===ou(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===ou(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var o;t&&e.toggleSelected(null==(o=n.target)?void 0:o.checked)}}}},eu=(e,t,n,o,r)=>{var a;const i=r.getRow(t,!0);n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),i.getCanSelect()&&(e[t]=!0)):delete e[t],o&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>eu(e,t.id,n,o,r)))};function tu(e,t){const n=e.getState().rowSelection,o=[],r={},a=function(e,t){return e.map((e=>{var t;const i=nu(e,n);if(i&&(o.push(e),r[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:o,rowsById:r}}function nu(e,t){var n;return null!=(n=t[e.id])&&n}function ou(e,t,n){var o;if(null==(o=e.subRows)||!o.length)return!1;let r=!0,a=!1;return e.subRows.forEach((e=>{if((!a||r)&&(e.getCanSelect()&&(nu(e,t)?a=!0:r=!1),e.subRows&&e.subRows.length)){const n=ou(e,t);"all"===n?a=!0:"some"===n?(a=!0,r=!1):r=!1}})),r?"all":!!a&&"some"}const ru=/([0-9]+)/gm;function au(e,t){return e===t?0:e>t?1:-1}function iu(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function lu(e,t){const n=e.split(ru).filter(Boolean),o=t.split(ru).filter(Boolean);for(;n.length&&o.length;){const e=n.shift(),t=o.shift(),r=parseInt(e,10),a=parseInt(t,10),i=[r,a].sort();if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(i[1]))return isNaN(r)?-1:1;if(r>a)return 1;if(a>r)return-1}}return n.length-o.length}const su={alphanumeric:(e,t,n)=>lu(iu(e.getValue(n)).toLowerCase(),iu(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>lu(iu(e.getValue(n)),iu(t.getValue(n))),text:(e,t,n)=>au(iu(e.getValue(n)).toLowerCase(),iu(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>au(iu(e.getValue(n)),iu(t.getValue(n))),datetime:(e,t,n)=>{const o=e.getValue(n),r=t.getValue(n);return o>r?1:o<r?-1:0},basic:(e,t,n)=>au(e.getValue(n),t.getValue(n))},cu={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:hc("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let o=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return su.datetime;if("string"==typeof n&&(o=!0,n.split(ru).length>1))return su.alphanumeric}return o?su.text:su.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,o;if(!e)throw new Error;return bc(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(o=t.options.sortingFns)?void 0:o[e.columnDef.sortingFn])?n:su[e.columnDef.sortingFn]},e.toggleSorting=(n,o)=>{const r=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"===r;var p;(c=null!=i&&i.length&&e.getCanMultiSort()&&o?l?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":l?"toggle":"replace","toggle"===c&&(a||r||(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,o;return(null!=(n=null!=(o=e.columnDef.sortDescFirst)?o:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var o,r;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?!!(i===a||null!=(o=t.options.enableSortingRemoval)&&!o||n&&null!=(r=t.options.enableMultiRemove)&&!r)&&("desc"===i?"asc":"desc"):a},e.getCanSort=()=>{var n,o;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(o=t.options.enableSorting)||o)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,o;return null!=(n=null!=(o=e.columnDef.enableMultiSort)?o:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const o=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!o&&(o.desc?"desc":"asc")},e.getSortIndex=()=>{var n,o;return null!=(n=null==(o=t.getState().sorting)?void 0:o.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return o=>{n&&(null==o.persist||o.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(o))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,o;e.setSorting(t?[]:null!=(n=null==(o=e.initialState)?void 0:o.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},uu=[Sc,Uc,_c,Bc,kc,jc,{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,cu,Lc,Xc,Jc,Zc,Qc,Wc];function du(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const o=[...uu,...null!=(t=e._features)?t:[]];let r={_features:o};const a=r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(r))),{});let i={...null!=(n=e.initialState)?n:{}};r._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:o,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:()=>{r.setState(r.initialState)},setOptions:e=>{const t=gc(e,r.options);r.options=(e=>r.options.mergeOptions?r.options.mergeOptions(a,e):{...a,...e})(t)},getState:()=>r.options.state,setState:e=>{null==r.options.onStateChange||r.options.onStateChange(e)},_getRowId:(e,t,n)=>{var o;return null!=(o=null==r.options.getRowId?void 0:r.options.getRowId(e,t,n))?o:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(r._getCoreRowModel||(r._getCoreRowModel=r.options.getCoreRowModel(r)),r._getCoreRowModel()),getRowModel:()=>r.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?r.getPrePaginationRowModel():r.getRowModel()).rowsById[e];if(!n&&(n=r.getCoreRowModel().rowsById[e],!n)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return n},_getDefaultColumnDef:vc((()=>[r.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...r._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),yc(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>r.options.columns,getAllColumns:vc((()=>[r._getColumnDefs()]),(e=>{const t=function(e,n,o){return void 0===o&&(o=0),e.map((e=>{const a=function(e,t,n,o){var r,a;const i={...e._getDefaultColumnDef(),...t},l=i.accessorKey;let s,c=null!=(r=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?r:"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:o,depth:n,columnDef:i,columns:[],getFlatColumns:vc((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),yc(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:vc((()=>[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]}),yc(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(r,e,o,n),i=e;return a.columns=i.columns?t(i.columns,a,o+1):[],a}))};return t(e)}),yc(e,"debugColumns","getAllColumns")),getAllFlatColumns:vc((()=>[r.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),yc(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:vc((()=>[r.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),yc(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:vc((()=>[r.getAllColumns(),r._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),yc(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=r._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(r,c);for(let e=0;e<r._features.length;e++){const t=r._features[e];null==t||null==t.createTable||t.createTable(r)}return r}
|
|
432
|
+
*/function oc(e,t){return"function"==typeof e?e(t):e}function ac(e,t){return n=>{t.setState((t=>({...t,[e]:oc(n,t[e])})))}}function ic(e){return e instanceof Function}function lc(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 sc(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 cc="debugHeaders";function uc(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 dc={createTable:e=>{e.getHeaderGroups=lc((()=>[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 pc(t,[...l,...c,...s],e)}),sc(e.options,cc,"getHeaderGroups")),e.getCenterHeaderGroups=lc((()=>[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)))),pc(t,n,e,"center"))),sc(e.options,cc,"getCenterHeaderGroups")),e.getLeftHeaderGroups=lc((()=>[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 pc(t,a,e,"left")}),sc(e.options,cc,"getLeftHeaderGroups")),e.getRightHeaderGroups=lc((()=>[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 pc(t,a,e,"right")}),sc(e.options,cc,"getRightHeaderGroups")),e.getFooterGroups=lc((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),sc(e.options,cc,"getFooterGroups")),e.getLeftFooterGroups=lc((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),sc(e.options,cc,"getLeftFooterGroups")),e.getCenterFooterGroups=lc((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),sc(e.options,cc,"getCenterFooterGroups")),e.getRightFooterGroups=lc((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),sc(e.options,cc,"getRightFooterGroups")),e.getFlatHeaders=lc((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),sc(e.options,cc,"getFlatHeaders")),e.getLeftFlatHeaders=lc((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),sc(e.options,cc,"getLeftFlatHeaders")),e.getCenterFlatHeaders=lc((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),sc(e.options,cc,"getCenterFlatHeaders")),e.getRightFlatHeaders=lc((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),sc(e.options,cc,"getRightFlatHeaders")),e.getCenterLeafHeaders=lc((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),sc(e.options,cc,"getCenterLeafHeaders")),e.getLeftLeafHeaders=lc((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),sc(e.options,cc,"getLeftLeafHeaders")),e.getRightLeafHeaders=lc((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),sc(e.options,cc,"getRightLeafHeaders")),e.getLeafHeaders=lc((()=>[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()}),sc(e.options,cc,"getLeafHeaders"))}};function pc(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=uc(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)=>uc(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 fc=(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:lc((()=>[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:lc((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),sc(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)))),sc(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:lc((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),sc(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},mc={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()}}},gc=(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))};gc.autoRemove=e=>Oc(e);const hc=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};hc.autoRemove=e=>Oc(e);const vc=(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())};vc.autoRemove=e=>Oc(e);const bc=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};bc.autoRemove=e=>Oc(e)||!(null!=e&&e.length);const yc=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));yc.autoRemove=e=>Oc(e)||!(null!=e&&e.length);const wc=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));wc.autoRemove=e=>Oc(e)||!(null!=e&&e.length);const xc=(e,t,n)=>e.getValue(t)===n;xc.autoRemove=e=>Oc(e);const Sc=(e,t,n)=>e.getValue(t)==n;Sc.autoRemove=e=>Oc(e);const Cc=(e,t,n)=>{let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};Cc.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]},Cc.autoRemove=e=>Oc(e)||Oc(e[0])&&Oc(e[1]);const kc={includesString:gc,includesStringSensitive:hc,equalsString:vc,arrIncludes:bc,arrIncludesAll:yc,arrIncludesSome:wc,equals:xc,weakEquals:Sc,inNumberRange:Cc};function Oc(e){return null==e||""===e}const Ec={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:ac("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?kc.includesString:"number"==typeof r?kc.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?kc.equals:Array.isArray(r)?kc.arrIncludes:kc.weakEquals},e.getFilterFn=()=>{var n,r;return ic(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:kc[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=oc(n,o?o.value:void 0);var i;if(Ic(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=oc(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(Ic(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 Ic(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const $c={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},Pc={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:ac("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?$c.sum:"[object Date]"===Object.prototype.toString.call(r)?$c.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return ic(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:$c[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 zc={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:ac("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=lc((e=>[Mc(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),sc(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=Mc(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=Mc(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=lc((()=>[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)}),sc(e.options,"debugTable","_getOrderColumnsFn"))}},Rc={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:ac("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=lc((()=>[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)))}),sc(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=lc((()=>[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}),sc(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=lc((()=>[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}),sc(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=lc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),sc(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=lc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),sc(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=lc((()=>[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)))}),sc(e.options,"debugColumns","getCenterLeafColumns"))}},Nc={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Ac={getDefaultColumnDef:()=>Nc,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:ac("columnSizing",e),onColumnSizingInfoChange:ac("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:Nc.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:Nc.size),null!=(o=e.columnDef.maxSize)?o:Nc.maxSize)},e.getStart=lc((e=>[e,Mc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),sc(t.options,"debugColumns","getStart")),e.getAfter=lc((e=>[e,Mc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),sc(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(),Dc(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=Dc(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 Tc)return Tc;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 Tc=e,Tc}()&&{passive:!1};Dc(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 Tc=null;function Dc(e){return"touchstart"===e.type}const _c={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:ac("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=lc((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),sc(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=lc((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),sc(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>lc((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),sc(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 Mc(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Lc={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:ac("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=()=>kc.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return ic(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:kc[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Fc={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:ac("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()}}}},Vc={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:ac("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=>oc(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=oc(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,oc(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=oc(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=lc((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),sc(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}}},jc={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:ac("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=lc((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})))}),sc(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=lc((()=>[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)))}),sc(e.options,"debugRows","getCenterRows"))}},Bc={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:ac("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=>{Hc(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=lc((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Wc(e,n):{rows:[],flatRows:[],rowsById:{}}),sc(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=lc((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Wc(e,n):{rows:[],flatRows:[],rowsById:{}}),sc(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=lc((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Wc(e,n):{rows:[],flatRows:[],rowsById:{}}),sc(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 Hc(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Gc(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===qc(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===qc(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)}}}},Hc=(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=>Hc(e,t.id,n,r,o)))};function Wc(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){return e.map((e=>{var t;const i=Gc(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 Gc(e,t){var n;return null!=(n=t[e.id])&&n}function qc(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()&&(Gc(e,t)?a=!0:o=!1),e.subRows&&e.subRows.length)){const n=qc(e,t);"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}const Uc=/([0-9]+)/gm;function Yc(e,t){return e===t?0:e>t?1:-1}function Kc(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Jc(e,t){const n=e.split(Uc).filter(Boolean),r=t.split(Uc).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 Xc={alphanumeric:(e,t,n)=>Jc(Kc(e.getValue(n)).toLowerCase(),Kc(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Jc(Kc(e.getValue(n)),Kc(t.getValue(n))),text:(e,t,n)=>Yc(Kc(e.getValue(n)).toLowerCase(),Kc(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Yc(Kc(e.getValue(n)),Kc(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)=>Yc(e.getValue(n),t.getValue(n))},Qc={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:ac("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 Xc.datetime;if("string"==typeof n&&(r=!0,n.split(Uc).length>1))return Xc.alphanumeric}return r?Xc.text:Xc.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 ic(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:Xc[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())}},Zc=[dc,_c,zc,Rc,mc,Ec,{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()}}},Lc,Qc,Pc,Fc,Vc,jc,Bc,Ac];function eu(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...Zc,...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=oc(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:lc((()=>[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}}),sc(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:lc((()=>[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:lc((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),sc(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:lc((()=>[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]}),sc(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)}),sc(e,"debugColumns","getAllColumns")),getAllFlatColumns:lc((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),sc(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:lc((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),sc(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:lc((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),sc(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
433
|
/**
|
|
434
434
|
* react-table
|
|
435
435
|
*
|
|
@@ -440,7 +440,7 @@ object-assign
|
|
|
440
440
|
*
|
|
441
441
|
* @license MIT
|
|
442
442
|
*/
|
|
443
|
-
function
|
|
443
|
+
function tu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?r.createElement(e,t):e:null;var n}const nu=sn.table`
|
|
444
444
|
width: 100%;
|
|
445
445
|
border-collapse: collapse;
|
|
446
446
|
position: relative;
|
|
@@ -516,7 +516,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
516
516
|
.heading {
|
|
517
517
|
font-size: var(--font-size--medium);
|
|
518
518
|
}
|
|
519
|
-
`,
|
|
519
|
+
`,ru=sn.div`
|
|
520
520
|
display: flex;
|
|
521
521
|
justify-content: space-between;
|
|
522
522
|
align-items: center;
|
|
@@ -530,7 +530,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
530
530
|
align-items: center;
|
|
531
531
|
gap: var(--spacing--small);
|
|
532
532
|
}
|
|
533
|
-
`,
|
|
533
|
+
`,ou=sn.div`
|
|
534
534
|
display: flex;
|
|
535
535
|
gap: var(--spacing--medium);
|
|
536
536
|
|
|
@@ -562,7 +562,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
562
562
|
pointer-events: none;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
`;function
|
|
565
|
+
`;function au({data:n,columns:a,pageCount:i,totalCount:l,next:s,previous:c,page:u,pageable:d,pageSize:p}){const[f,m]=o.useState((()=>[...n])),[g,h]=o.useState({pageIndex:0,pageSize:p||10}),v=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=r.useState((()=>({current:eu(t)}))),[o,a]=r.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...o,...e.state},onStateChange:t=>{a(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}({columns:a,data:f,getCoreRowModel:e=>lc((()=>[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=fc(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}),sc(e.options,"debugTable","getRowModel",(()=>e._autoResetPageIndex()))),pageCount:i,state:{pagination:o.useMemo((()=>({pageIndex:g.pageIndex,pageSize:g.pageSize})),[g.pageIndex,g.pageSize])},onPaginationChange:h,manualPagination:!0});return o.useEffect((()=>{void 0!==u&&v.setPageIndex(Number(u-1))}),[u,v]),o.useEffect((()=>{m(n)}),[n]),t(nu,{children:[v.getHeaderGroups().map((t=>e("thead",{children:e("tr",{children:t.headers.map((t=>e("th",{key:t.id,colSpan:t.colSpan,style:{width:t.getSize()},children:t.isPlaceholder?null:tu(t.column.columnDef.header,t.getContext())})))},t.id)}))),e("tbody",{children:v.getRowModel().rows.map((t=>e("tr",{children:t.getVisibleCells().map((t=>e("td",{key:t.id,style:{width:t.column.getSize()},children:tu(t.column.columnDef.cell,t.getContext())})))},t.id)))}),e("tfoot",{children:t(ru,{children:[void 0!==l?t("div",{children:["Total: ",l]}):null,d?t(ou,{children:[e(ul,{type:"link",href:v.getCanPreviousPage()?window.location.href:"",disabled:!v.getCanPreviousPage(),children:"<<"}),e(ul,{type:"link",href:v.getCanPreviousPage()&&c?c:"",disabled:!v.getCanPreviousPage(),children:"<"}),e(ul,{type:"link",href:v.getCanNextPage()&&s?s:"",disabled:!v.getCanNextPage(),children:">"}),e(ul,{href:v.getCanNextPage()?`${window.location.href}?page=${String(i)}`:"",type:"link",disabled:!v.getCanNextPage(),children:">>"}),t("span",{children:[e("div",{children:"Page"}),t("strong",{children:[v.getState().pagination.pageIndex+1," of"," ",v.getPageCount()]})]})]}):null]})})]})}const iu=sn.div`
|
|
566
566
|
background-color: transparent;
|
|
567
567
|
border-bottom: 2px solid transparent;
|
|
568
568
|
color: var(--color--grey-dark);
|
|
@@ -570,13 +570,13 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
570
570
|
transition: border-bottom 0.2s ease-in-out;
|
|
571
571
|
margin-top: var(--spacing--medium);
|
|
572
572
|
margin-bottom: var(--spacing--medium);
|
|
573
|
-
`,
|
|
573
|
+
`,lu=sn.div`
|
|
574
574
|
display: flex;
|
|
575
575
|
border-bottom: 3px solid var(--color--grey-borders);
|
|
576
576
|
@media print {
|
|
577
577
|
display: none;
|
|
578
578
|
}
|
|
579
|
-
`,
|
|
579
|
+
`,su=sn.div`
|
|
580
580
|
display: flex;
|
|
581
581
|
width: 100%;
|
|
582
582
|
overflow: auto;
|
|
@@ -585,7 +585,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
585
585
|
&::-webkit-scrollbar {
|
|
586
586
|
display: none;
|
|
587
587
|
}
|
|
588
|
-
`,
|
|
588
|
+
`,cu=sn.button`
|
|
589
589
|
position: relative;
|
|
590
590
|
background-color: transparent;
|
|
591
591
|
border: none;
|
|
@@ -616,7 +616,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
616
616
|
@media print {
|
|
617
617
|
display: none;
|
|
618
618
|
}
|
|
619
|
-
`,
|
|
619
|
+
`,uu=sn.button`
|
|
620
620
|
background: transparent;
|
|
621
621
|
border: 0;
|
|
622
622
|
cursor: pointer;
|
|
@@ -639,7 +639,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
639
639
|
&.left-arrow[disabled] {
|
|
640
640
|
display: none;
|
|
641
641
|
}
|
|
642
|
-
`,
|
|
642
|
+
`,du=sn.div`
|
|
643
643
|
margin-top: var(--spacing--medium);
|
|
644
644
|
background-color: var(--color--white);
|
|
645
645
|
padding: var(--spacing--large);
|
|
@@ -653,7 +653,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
653
653
|
border-radius: 0;
|
|
654
654
|
box-shadow: none;
|
|
655
655
|
}
|
|
656
|
-
`,
|
|
656
|
+
`,pu=sn.section`
|
|
657
657
|
display: ${({$show:e})=>e?"flex":"none"};
|
|
658
658
|
flex-direction: column;
|
|
659
659
|
|
|
@@ -665,46 +665,46 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
665
665
|
page-break-after: avoid;
|
|
666
666
|
}
|
|
667
667
|
}
|
|
668
|
-
`;function
|
|
668
|
+
`;function fu({tabsConfig:n=[],defaultIndex:r=0}){const[o,a]=u(r),l=i(null),s=i([]),[c,f]=u(!1),[m,g]=u({right:!1,left:!0}),h=e=>{if(!l.current)return;const t=s.current[e];t&&t.scrollIntoView({behavior:"smooth",block:"nearest"})},v=e=>{const t=s.current[e];t&&t.focus(),h(e)},b=e=>{const t=n.length,r={ArrowRight:()=>v((o+1)%t),ArrowLeft:()=>v((o-1+t)%t),Home:()=>v(0),End:()=>v(t-1)}[e.key];r&&(e.preventDefault(),r())},y=(e,t)=>{if(!e)return;let n=0;const r=setInterval((()=>{e.scrollLeft+=t,n+=Math.abs(t),n>=100&&clearInterval(r)}),20);g({left:e.scrollLeft<=0,right:e.scrollLeft+e.offsetWidth>=e.scrollWidth})};return d((()=>{l.current&&f(l.current.offsetWidth<l.current.scrollWidth)}),[]),p((()=>{const e=()=>{if(!l.current)return;const{offsetWidth:e,scrollWidth:t}=l.current;f(e<t)};return window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e)}}),[]),t(iu,{children:[t(lu,{role:"tablist","aria-orientation":"horizontal",children:[c&&t(uu,{onClick:()=>l.current&&y(l.current,-30),className:"left-arrow","aria-label":"Left arrow",disabled:m.left,children:[e(_i,{name:["fas","chevron-left"],size:"large"})," "]}),e(su,{ref:l,children:n.length>0?n.map(((t,n)=>e(cu,{type:"button",onClick:()=>(e=>{h(e),a(e)})(n),role:"tab",ref:e=>{e&&(s.current[n]=e)},"aria-controls":`panel-id-${n}`,"aria-selected":o===n,id:`tab-id-${n}`,onKeyDown:b,onFocus:()=>a(n),tabIndex:o===n?0:-1,children:t.label},`tab-${t.label}`))):e("div",{children:"No tab content to display"})}),c&&e(uu,{onClick:()=>l.current&&y(l.current,30),className:"right-arrow","aria-label":"Right arrow",disabled:m.right,children:e(_i,{name:"chevron-right",size:"large"})})]}),e(du,{children:n.map(((n,r)=>t(pu,{role:"tabpanel","aria-labelledby":`tab-id-${r}`,id:`panel-id-${r}`,$show:o===r,tabIndex:0,children:[n.label?e(pn,{as:"h2",children:n.label}):null,n.content]},`tabpanel-${n.label}`)))})]})}const mu={small:on`
|
|
669
669
|
font-size: var(--font-size--small);
|
|
670
670
|
line-height: var(--line-height--small);
|
|
671
|
-
`,medium:
|
|
671
|
+
`,medium:on`
|
|
672
672
|
font-size: var(--font-size--medium);
|
|
673
673
|
line-height: var(--line-height--medium);
|
|
674
|
-
`,large:
|
|
674
|
+
`,large:on`
|
|
675
675
|
font-size: var(--font-size--large);
|
|
676
676
|
line-height: var(--line-height--large);
|
|
677
|
-
`},
|
|
677
|
+
`},gu=sn.div`
|
|
678
678
|
font-weight: var(--font-weight--bold);
|
|
679
679
|
color: var(--color--grey-dark);
|
|
680
680
|
margin-bottom: var(--spacing--xsmall);
|
|
681
|
-
${({$size:e})=>
|
|
682
|
-
`,
|
|
681
|
+
${({$size:e})=>mu[e||"medium"]}
|
|
682
|
+
`,hu=sn.div`
|
|
683
683
|
font-weight: 400;
|
|
684
|
-
${({$size:e})=>
|
|
685
|
-
`,
|
|
684
|
+
${({$size:e})=>mu[e||"medium"]}
|
|
685
|
+
`,vu=sn.div`
|
|
686
686
|
grid-gap: var(--spacing--medium);
|
|
687
|
-
${({$inline:e})=>e?
|
|
687
|
+
${({$inline:e})=>e?on`
|
|
688
688
|
display: grid;
|
|
689
689
|
grid-template-columns: 1fr 3fr;
|
|
690
690
|
@media (max-width: 768px) {
|
|
691
691
|
grid-template-columns: 1fr;
|
|
692
692
|
}
|
|
693
693
|
`:""}
|
|
694
|
-
`;function
|
|
694
|
+
`;function bu({label:n,content:r,size:o,inline:a=!1}){return t(vu,{$inline:a,children:[n?e(gu,{$size:o,children:n}):null,r?e(hu,{$size:o,children:r}):null]})}const yu=cn`
|
|
695
695
|
0% {
|
|
696
696
|
background-position: 0% 50%;
|
|
697
697
|
}
|
|
698
698
|
100% {
|
|
699
699
|
background-position: 200% 50%;
|
|
700
700
|
}
|
|
701
|
-
`,
|
|
701
|
+
`,wu=sn.div`
|
|
702
702
|
position: relative;
|
|
703
703
|
width: 100%;
|
|
704
704
|
height: 6px;
|
|
705
705
|
background-color: #d7d7d7;
|
|
706
706
|
border-radius: 3px;
|
|
707
|
-
`,
|
|
707
|
+
`,xu=sn.div`
|
|
708
708
|
position: absolute;
|
|
709
709
|
left: 0;
|
|
710
710
|
top: 0;
|
|
@@ -717,15 +717,15 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
717
717
|
background-size: 200% 200%;
|
|
718
718
|
border-radius: 3px;
|
|
719
719
|
transition: width 1s ease;
|
|
720
|
-
animation: ${
|
|
720
|
+
animation: ${yu} 3s ease infinite;
|
|
721
721
|
transform: rotate(180deg);
|
|
722
|
-
`;function
|
|
722
|
+
`;function Su({ariaLabel:t,percentage:n}){return e(wu,{role:"progressbar","aria-label":t,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,children:e(xu,{style:{width:`${n}%`}})})}const Cu=sn.div`
|
|
723
723
|
position: fixed;
|
|
724
724
|
bottom: 2rem;
|
|
725
725
|
width: 100%;
|
|
726
726
|
z-index: 2000;
|
|
727
727
|
pointer-events: none;
|
|
728
|
-
`,
|
|
728
|
+
`,ku=sn.div`
|
|
729
729
|
position: absolute;
|
|
730
730
|
top: 0;
|
|
731
731
|
width: 100%;
|
|
@@ -735,7 +735,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
735
735
|
align-items: center;
|
|
736
736
|
margin-top: var(--spacing--small);
|
|
737
737
|
transition: top 0.1s ease;
|
|
738
|
-
`,
|
|
738
|
+
`,Ou=sn.div`
|
|
739
739
|
padding: var(--spacing--small) var(--spacing--medium);
|
|
740
740
|
text-align: center;
|
|
741
741
|
border-radius: var(--border-radius--medium);
|
|
@@ -750,31 +750,31 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
750
750
|
margin-right: var(--spacing--small);
|
|
751
751
|
}
|
|
752
752
|
|
|
753
|
-
${e=>"success"===e.level?
|
|
753
|
+
${e=>"success"===e.level?on`
|
|
754
754
|
background-color: var(--color--green-light);
|
|
755
755
|
color: var(--color--dark-blue);
|
|
756
756
|
|
|
757
757
|
svg {
|
|
758
758
|
color: var(--color--dark-blue);
|
|
759
759
|
}
|
|
760
|
-
`:"warning"===e.level?
|
|
760
|
+
`:"warning"===e.level?on`
|
|
761
761
|
background-color: var(--color--amber-tint);
|
|
762
762
|
color: var(--color--dark-blue);
|
|
763
763
|
|
|
764
764
|
svg {
|
|
765
765
|
color: var(--color--amber);
|
|
766
766
|
}
|
|
767
|
-
`:"error"===e.level?
|
|
767
|
+
`:"error"===e.level?on`
|
|
768
768
|
background-color: #ffdadd;
|
|
769
769
|
color: var(--color--dark-blue);
|
|
770
770
|
|
|
771
771
|
svg {
|
|
772
772
|
color: var(--color--red-dark);
|
|
773
773
|
}
|
|
774
|
-
`:
|
|
774
|
+
`:on``}
|
|
775
775
|
|
|
776
776
|
// Fadeout animation
|
|
777
|
-
${({noFade:e})=>e?
|
|
777
|
+
${({noFade:e})=>e?on``:on`
|
|
778
778
|
animation: 5s ease 0s normal forwards 1 fadeout;
|
|
779
779
|
@keyframes fadeout {
|
|
780
780
|
0% {
|
|
@@ -788,7 +788,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
788
788
|
}
|
|
789
789
|
}
|
|
790
790
|
`}
|
|
791
|
-
`;function ju({message:n}){const o="success"===n.level?e(Gi,{name:["fas","check-circle"]}):e(Gi,{name:["fas","exclamation-triangle"]});return t(Fu,"html"in n?{level:n.level,noFade:n.noFade,role:"alert","aria-live":"error"===n.level?"assertive":"polite",children:[o,e("span",{dangerouslySetInnerHTML:{__html:n.html}})]}:{level:n.level,noFade:n.noFade,role:"alert","aria-live":"error"===n.level?"assertive":"polite",children:[o,n.text]})}function Du({messages:t}){return e(Au,{children:e(zu,{style:{top:`-${55*t.length}px`},children:t.map((t=>e(ju,{message:t},String(t))))})})}function Vu(){return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[e("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),e("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),e("defs",{children:e("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function Lu(){return e(Vu,{})}const _u=bn.details`
|
|
791
|
+
`;function Eu({message:n}){const r="success"===n.level?e(_i,{name:["fas","check-circle"]}):e(_i,{name:["fas","exclamation-triangle"]});return t(Ou,"html"in n?{level:n.level,noFade:n.noFade,role:"alert","aria-live":"error"===n.level?"assertive":"polite",children:[r,e("span",{dangerouslySetInnerHTML:{__html:n.html}})]}:{level:n.level,noFade:n.noFade,role:"alert","aria-live":"error"===n.level?"assertive":"polite",children:[r,n.text]})}function Iu({messages:t}){return e(Cu,{children:e(ku,{style:{top:`-${55*t.length}px`},children:t.map((t=>e(Eu,{message:t},String(t))))})})}function $u(){return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"209",height:"20","aria-labelledby":"HarperCollinsLogo",role:"img",children:[e("title",{id:"HarperCollinsLogo",children:"HarperCollins Publishers Logo"}),e("use",{fill:"#FFF",xlinkHref:"#path0_fill"}),e("defs",{children:e("path",{id:"path0_fill",fillRule:"evenodd",d:"M7.432 1.26C7.617.744 7.4.184 7.141.011V0c.873.182 1.656 1.272 1.657 2.512.001.81-.466 1.546-.919 2.257-.437.687-.86 1.352-.83 2.039h.012c.181-.814.857-1.488 1.523-2.153.903-.9 1.789-1.783 1.408-2.976l.007-.002c.897.557 1.332 2.066 1.454 3.23h.008c.207-.633.795-1.14 1.347-1.615.215-.186.425-.367.604-.548.227-.23.404-.46.48-.703h.008v6.01H0v-3.08c.01-.916.857-1.365 1.67-1.797.822-.435 1.609-.853 1.472-1.714l.006-.012c.61.922.278 1.768-.012 2.507l-.003.007-.009.024a9.85 9.85 0 0 0-.137.364l-.035.105-.028.093-.016.06c-.008.03-.014.06-.02.091-.042.2-.048.387.01.564h.01c.455-1.64 1.612-2.113 2.658-2.54.82-.336 1.572-.643 1.866-1.463zM2.405 8.421c-.813.741-1.647 1.084-2.405.8v5.51h13.899V8.92c-1.177 1.305-2.604.743-2.461-.348l-.008-.002c-2.165 2.348-3.396 1.03-3.055.07l-.005-.007c-1.967 2.21-3.206.915-2.622-.188L5.74 8.44c-2.489 2.766-4.06 1.75-3.327-.016l-.008-.003zm16.114-5.714c1.728.017 1.866.637 1.866 1.495v9.171c0 .931-.864 1.004-1.787 1.004l-.138.09v.402c.098.11.274.11.413.11.089 0 .178-.002.268-.004l.158-.005.19-.008.285-.015.228-.014.208-.012c.309-.018.617-.033.92-.033.342 0 .683.016 1.024.035l.188.01.3.017.28.013c.208.01.416.016.623.016.434 0 .63-.019.63-.128v-.273c0-.164-.06-.201-.276-.201-1.452 0-1.747-.255-1.747-1.296V8.47h8.423v4.267c0 1.276-.039 1.64-1.924 1.64l-.1.091v.401c0 .074.1.11.61.11.237 0 1.453-.09 2.179-.09.34 0 .679.017 1.017.036.448.025.894.054 1.34.054.53 0 .61-.055.61-.127v-.123a1.107 1.107 0 0 0-.033-.301c-.01-.031-.026-.05-.046-.05-1.12 0-1.885-.11-1.885-1.422V3.928c0-1.057.51-1.221 1.53-1.221.17 0 .302 0 .382-.029.058-.02.09-.057.09-.118v-.347l-.078-.108c-.57.054-1.08.09-2.337.09a60.75 60.75 0 0 1-3.102-.09l-.098.09v.22c0 .111.01.18.048.223.037.042.1.06.206.069 1.591.108 1.591.381 1.591 1.64v3.41h-8.423V3.655c0-.894.805-.948 1.608-.948l.152-.002.085-.003.068-.005.036-.004a.884.884 0 0 0 .091-.014c.076-.017.12-.043.12-.082v-.292c0-.2-.099-.2-.51-.2-.23 0-.454.007-.674.016-.204.009-.404.02-.603.031-.392.022-.774.044-1.158.044-.473 0-1.035-.027-1.543-.052l-.317-.015a17.76 17.76 0 0 0-.752-.024c-.157 0-.334.017-.334.144v.31l.098.148zm21.3 10.407l-.177.164-.099.088c-.48.43-1.104.988-1.747.988-.648 0-.904-.93-.904-1.42 0-.477.707-.821.983-.932l1.944-.822v1.934zM37.266 11.6l2.572-.929v-.876c0-1.003-.137-1.768-1.57-1.768-.532 0-1.513.145-1.513.674 0 .128.04.311.099.42l-1.237.656a1.407 1.407 0 0 1-.119-.547c0-.582.629-1.039 1.041-1.259l1.768-.947c.235-.128.335-.182.411-.182 1.63 0 2.475.73 2.475 2.224v3.867c0 .382 0 1.148.63 1.148.371 0 .45-.146.705-.529l.373.128c-.236.876-.727 1.585-1.57 1.585-1.334 0-1.474-1.147-1.454-1.603-.746.71-1.729 1.603-2.887 1.603-1.138 0-1.727-1.366-1.727-2.188 0-.309.373-.892 2.003-1.477zm10.855 2.9c-1.492 0-1.492-.692-1.492-1.422V9.632l.295-.345c.393-.457 1.001-1.077 1.474-1.077.302 0 .5.087.694.17.075.033.15.066.228.093.115.038.24.065.391.065.413 0 .807-.328.807-.711 0-.675-.413-.985-1.12-.985-1.046 0-1.869 1.017-2.479 1.772a15.78 15.78 0 0 1-.25.306l-.04-.036.04-1.878c0-.055-.04-.164-.156-.164a.906.906 0 0 0-.194.064c-.108.042-.252.102-.42.173l-.032.014-.022.01-.009.003-.149.063-1.453.623c-.216.09-.275.144-.275.253 0 .257.51.383.59.401.413.11.59.329.59.675v4.05c0 .983-.158 1.256-1.024 1.313-.392.017-.43.035-.43.217v.225a.127.127 0 0 0 .01.054c.01.022.028.031.066.031.374 0 .758-.022 1.14-.045l.522-.029a15.439 15.439 0 0 1 .617-.016c.188 0 .375.007.563.016l.468.03c.344.022.687.044 1.03.044a.19.19 0 0 0 .099-.02.09.09 0 0 0 .031-.031.236.236 0 0 0 .027-.116v-.087c0-.164-.018-.256-.137-.256zm5.548-5.779c.667-.438 1.296-.583 2.081-.583 1.884 0 2.906 1.659 2.906 3.262 0 1.861-1.041 3.157-3.043 3.157-.944 0-1.944-.31-1.944-1.259V8.721zm-3.083 10.705c1.492-.13 1.59-.146 1.59-1.624V9.688c0-.803-.039-.967-.451-1.132l-.707-.291c-.017 0-.027-.007-.033-.023-.006-.02-.006-.053-.006-.104 0-.137.016-.146.132-.207l.025-.013 2.395-1.076c.063.02.093.067.106.12a.569.569 0 0 1 .01.135c0 .347-.038.712.022 1.058.647-.31 2.277-1.203 2.945-1.203 2.14 0 3.671 1.987 3.671 3.83 0 3.5-3.827 4.594-5.34 4.594-.193 0-.383-.025-.572-.057l-.188-.033a5.572 5.572 0 0 0-.516-.074v2.825c0 1.242.333 1.316 1.747 1.389.052 0 .094.023.118.054.012.016.02.035.02.055v.182a.433.433 0 0 1-.02.132c-.018.052-.045.088-.08.088-.414 0-.825-.023-1.243-.046a23.9 23.9 0 0 0-1.328-.047c-.864 0-1.65.093-2.161.093-.176 0-.196-.073-.196-.257v-.11c0-.054.02-.144.06-.144zM64.862 7.444c-1.177 0-1.984 1.258-2.18 2.278L66 9.631c.254 0 .55-.344.55-.655 0-.894-.727-1.532-1.689-1.532zm3.32 2.699v-.565c0-1.515-1.239-2.736-2.987-2.736-2.572 0-4.142 2.462-4.142 4.614 0 2.024 1.628 3.81 3.633 3.81 1.57 0 2.75-.839 3.535-2.023l-.355-.238c-.982.821-1.493 1.077-2.219 1.077-1.786 0-3.102-1.587-3.102-3.174 0-.255 0-.51.04-.765h5.596zm3.713 2.935c0 .73 0 1.423 1.491 1.423.118 0 .138.092.138.256v.058l-.002.036a.273.273 0 0 1-.019.096c-.02.042-.06.064-.137.064l-.233-.003-.181-.006a26.08 26.08 0 0 1-.616-.036l-.296-.019-.197-.01c-.18-.01-.36-.016-.539-.016-.372 0-.755.023-1.138.045a19.608 19.608 0 0 1-1.168.043.075.075 0 0 1-.019-.006c-.015-.007-.023-.02-.027-.039l-.003-.026c-.002-.02-.002-.043-.002-.072V14.7c0-.182.04-.2.434-.217.864-.057 1.02-.33 1.02-1.313V9.12c0-.346-.176-.565-.59-.675-.077-.018-.587-.144-.587-.4 0-.11.059-.164.274-.254l1.453-.623.422-.178c.216-.09.366-.149.403-.149.118 0 .157.109.157.164l-.039 1.878.04.036c.079-.094.163-.198.25-.307.61-.755 1.433-1.77 2.48-1.77.705 0 1.118.31 1.118.984 0 .383-.393.711-.805.711-.258 0-.437-.077-.62-.157l-.094-.04-.073-.03-.064-.023a1.38 1.38 0 0 0-.465-.078c-.47 0-1.079.62-1.474 1.077l-.293.345v3.446zm13.057 1.884c1.786 0 3.377-.382 4.693-.985l.451-2.406c.058-.257-.235-.274-.393-.274h-.074l-.036.002c-.061.003-.113.012-.126.036-.235.674-.49 1.494-1.1 1.95-.785.582-2.277.968-3.436.968-3.3 0-5.891-2.829-5.891-5.818 0-3.282 2.141-6.147 5.891-6.147 1.729 0 3.456.876 4.025 2.134.142.31.258.537.347.685.085.14.146.21.184.21.08 0 .393 0 .393-.128l-.001-.034-.002-.028a2.015 2.015 0 0 0-.017-.123l-.015-.094-.012-.077-.012-.083-.255-2.114c-1.14-.638-3.397-1.057-4.713-1.057-4.024 0-8.01 2.662-8.01 6.655 0 4.195 4.26 6.728 8.11 6.728zm13.503-3.452c0 1.568-.766 3.154-2.69 3.154-2.021 0-2.945-2.133-2.945-3.737 0-1.75.588-3.483 2.572-3.483 2.395 0 3.063 2.243 3.063 4.066zm-3.14 3.755c-2.377 0-4.262-1.858-4.262-4.083 0-2.443 2.178-4.34 4.79-4.34 2.338 0 4.38 1.897 4.38 4.085 0 2.626-2.336 4.338-4.909 4.338zm9.57-.99c-1.354 0-1.354-.472-1.354-.874V3.463c0-.438.01-.88.019-1.323l.009-.406c.005-.307.01-.612.01-.915l-.001-.053-.001-.036a.539.539 0 0 0-.011-.08c-.015-.069-.05-.124-.125-.124a.296.296 0 0 0-.064.012 1.957 1.957 0 0 0-.207.07l-.023.01-1.434.493-.228.082c-.615.222-.773.279-.773.41 0 .137.244.227.519.327l.051.019c.766.292.766.365.766 1.514v9.846c0 .857-.315.967-1.178.967h-.125c-.074.003-.124.01-.156.034-.04.029-.053.083-.053.184v.165c0 .072.039.127.176.127.196 0 .392-.007.589-.017l.272-.015.199-.013c.354-.022.707-.045 1.061-.045.174 0 .429.016.724.035l.414.025c.295.017.607.03.904.03.039 0 .059-.09.059-.253l-.001-.072-.001-.054a.635.635 0 0 0-.007-.088c-.006-.027-.015-.043-.03-.043zm3.384-.874c0 .402 0 .875 1.355.875.039 0 .039.11.039.257l-.001.068-.004.058c-.009.083-.028.127-.055.127-.441 0-.915-.03-1.316-.055h-.004a13.313 13.313 0 0 0-.722-.035c-.353 0-.706.023-1.059.045-.138.01-.275.018-.413.025a14.44 14.44 0 0 1-.426.018h-.06l-.163.002c-.137 0-.177-.055-.177-.126v-.166c0-.056.004-.098.015-.129a.107.107 0 0 1 .034-.051c.046-.038.132-.038.286-.038.864 0 1.178-.11 1.178-.967V3.463c0-1.149 0-1.222-.766-1.514l-.054-.02c-.273-.1-.516-.19-.516-.326 0-.146.197-.2 1.003-.492l1.432-.493a1.627 1.627 0 0 1 .295-.092c.138 0 .138.183.138.293 0 .875-.039 1.768-.039 2.644v9.938zm6.616 1.251c-1.356 0-1.356-.473-1.356-.875V9.93c0-.439.01-.881.02-1.324.011-.442.021-.884.021-1.32 0-.11 0-.292-.138-.292-.058 0-.256.073-.294.092l-1.434.49-.216.079c-.626.225-.786.283-.786.415 0 .134.236.222.504.322l.065.025c.766.291.766.364.766 1.513v3.755c0 .857-.314.967-1.177.967-.276 0-.334 0-.334.219v.165c0 .071.039.127.176.127.173 0 .346-.006.52-.014l.201-.01.34-.021c.354-.023.707-.045 1.06-.045.174 0 .429.016.724.034.402.026.876.056 1.318.056.027 0 .045-.044.053-.125.004-.036.006-.08.006-.129 0-.076 0-.142-.005-.188-.005-.043-.015-.069-.034-.069zM112.726 1.58c.607 0 1.098.456 1.098 1.02 0 .565-.491 1.02-1.098 1.02-.609 0-1.101-.455-1.101-1.02 0-.564.492-1.02 1.101-1.02zm4.728 6.722c.197.036.374.254.374.6v4.632c0 .857-.314.967-1.178.967-.275 0-.334 0-.334.218v.166c0 .071.04.127.176.127.288 0 .577-.015.865-.033l.197-.012a16.59 16.59 0 0 1 1.059-.045c.175 0 .431.016.727.035.401.025.875.055 1.317.055.037 0 .057-.09.057-.255 0-.052 0-.1-.002-.139-.002-.049-.006-.086-.018-.104-.005-.009-.011-.013-.019-.013-1.355 0-1.355-.473-1.355-.874V8.883c.57-.529 1.59-.982 2.415-.982 1.374 0 1.748.637 1.748 1.766v4.287c0 .546-.903.546-1.217.546-.117 0-.196.056-.196.11 0 .017 0 .048.002.086.001.02.002.044.005.068.011.115.043.247.13.247.353 0 .701-.022 1.049-.045s.697-.045 1.051-.045c.648 0 1.159.09 1.944.09.06 0 .099-.018.099-.056v-.328c0-.09-.039-.127-.08-.127-.646 0-1.296 0-1.296-.784v-4.45c0-1.532-.725-2.424-2.433-2.424-1.206 0-2.212.737-3.106 1.393l-.115.083V7.06c0-.022 0-.052-.002-.082-.006-.067-.022-.135-.076-.135a.909.909 0 0 0-.191.067l-.165.07-.133.057c-.228.098-.515.222-.821.343-.128.051-.26.101-.392.149-.25.09-.501.17-.733.226-.099.018-.119.147-.119.2 0 .076.021.126.051.158.02.022.044.035.068.042l.647.147zm14.886.802h-.492c-.235-.802-.686-1.66-1.727-1.66-.903 0-1.61.401-1.61 1.258 0 .633.822 1.05 1.721 1.504l.031.016.31.158c1.04.547 2.062 1.186 2.062 2.316 0 1.585-1.572 2.57-3.162 2.57-1.277 0-2.513-.528-2.533-.819l-.098-1.66.569-.053c.08.09.099.218.138.344.217.748 1.098 1.587 1.963 1.587 1.002 0 1.631-.565 1.631-1.513 0-.601-.903-1.24-1.394-1.477l-.174-.083c-1.107-.528-2.42-1.154-2.42-2.47 0-1.514 1.492-2.279 2.985-2.279.785 0 1.572.2 2.318.564l-.118 1.697zm5.53-5.668c0 .13-.197.893-.432 1.733l-2.356 8.206c-.234.857-.531 1.003-1.748 1.003a.098.098 0 0 0-.071.034.2.2 0 0 0-.03.043c-.05.09-.075.248-.075.415 0 .073.018.109.098.109.119.008.357-.008.663-.029.399-.026.915-.061 1.437-.061.615 0 1.26.035 1.744.062.177.01.333.018.457.023l.109.004h.086c.139 0 .335 0 .373-.072l.037-.075.029-.06.017-.036.018-.042a.422.422 0 0 0 .036-.151c0-.127-.057-.164-.175-.164h-.276c-.589 0-1.216-.02-1.216-.474 0-.128.137-.565.176-.693l2.866-9.956c.118-.383.352-.438.942-.438 1.65 0 2.75.875 2.75 2.387 0 1.46-1.218 3.611-2.787 3.611-.61 0-1.082-.146-1.336-.328l-.314.42c.372.348 1.177.51 2.021.51 2.416 0 4.243-2.042 4.243-4.193 0-2.262-2.101-3.118-4.301-3.118-1.571 0-2.475.053-4.241.182-.315.019-.373.092-.373.382 0 .165.019.22.078.22l.022-.002.043-.008.052-.01a2.93 2.93 0 0 1 .57-.072c.471 0 .864.147.864.638zm6.365 5.358c.152-.132.324-.304.512-.492.64-.64 1.459-1.459 2.218-1.459.393 0 .687.145.687.565 0 .193-.167.593-.283.872l-.046.11-.024.058-.021.056-1.275 2.989-.237.55c-.225.514-.391.894-.391 1.019 0 .182.118.327.351.327.595 0 2.704-2.422 3.878-3.772l.017-.018c.295-.338.528-.608.663-.75.285-.298.531-.675.776-1.05.125-.192.25-.383.379-.562l.068-.092.049-.065.043-.054c.118-.147.295-.183.471-.183.085 0 .168.03.242.08a.623.623 0 0 1 .229.295c.013.04.021.08.021.117 0 .119-.333.921-.742 1.91l-.004.013c-.658 1.59-1.513 3.656-1.513 4.15 0 .2.177.31.294.31.662 0 1.611-1.266 2.028-1.823l.014-.019c.119 0 .355.182.355.274-.59.984-2.476 3.116-3.711 3.116-.335 0-.611-.327-.611-.691 0-.359.745-2.162 1.277-3.452l.015-.035.186-.453.177-.434c.048-.122.088-.223.113-.295h-.038c-.806.895-5.146 5.36-6.069 5.36-.333 0-.649-.327-.649-.637 0-.78.82-2.57 1.472-3.995.431-.942.789-1.724.789-1.949 0-.181-.179-.291-.276-.291-.256 0-.924.564-1.119.765l-.315-.365zm12.001 5.429c1.768 0 5.125-4.085 5.125-5.69 0-.694-.334-1.003-.923-1.003-1.413 0-5.28 4.175-5.28 5.962 0 .513.608.73 1.078.73zM159.1.53c-.038-.004-.077-.004-.114-.004-.194 0-.823.099-1.489.203l-.737.114-.341.05c-.155.021-.297.04-.419.053l-.038.42c.747.053 1.217.163 1.217.691 0 .749-1.726 6.237-1.826 6.585-.054.194-.183.585-.347 1.07l-.26.766-.016.047-.01.03-.009.025c-.474 1.392-1.027 3.018-1.027 3.276 0 .874 1.021 1.184 1.788 1.184 2.828 0 7.462-3.791 7.462-6.545 0-1.04-.648-1.878-1.788-1.878-1.896 0-3.864 2.363-5.024 3.756l-.122.145-.038-.036 3.28-9.883-.005-.007-.004-.007-.01-.01c-.005-.006-.012-.01-.018-.015a.25.25 0 0 0-.105-.03zm6.781 2.9c.05-.188.098-.391.139-.574a5.11 5.11 0 0 0 .106-.58c0-.583-.647-.747-1.14-.82l.14-.42c.575-.063 1.405-.227 2.039-.352h.004l.013-.003c.281-.056.522-.103.682-.13a1.47 1.47 0 0 1 .188-.025.17.17 0 0 1 .041.005.1.1 0 0 1 .049.025.112.112 0 0 1 .026.08c0 .072-.098.4-.314 1.057l-3.022 9.573-.109.338-.005.013c-.218.674-.418 1.295-.418 1.638 0 .235.197.42.452.42.447 0 1.011-.552 1.466-.996l.007-.007.019-.02c.155-.15.295-.286.413-.382h.077l.295.274v.054c-.667.876-2.335 2.443-3.553 2.443-.453 0-.845-.345-.845-.802 0-.091.118-.51.276-1.076l2.885-9.427a6.77 6.77 0 0 0 .089-.307zm4.96 3.108c-.766.018-2.298 1.186-2.63 1.769l.411.272c.294-.308.865-.764 1.197-.764a.37.37 0 0 1 .205.053c.084.055.128.15.128.274 0 .4-.585 1.757-1.159 3.09-.554 1.287-1.098 2.552-1.098 2.91 0 .583.413.82 1.002.82 1.334 0 2.868-1.694 3.535-2.663 0-.072-.275-.272-.354-.272-.118.105-.27.269-.441.453-.482.52-1.117 1.206-1.581 1.206-.296 0-.491-.164-.491-.364 0-.267.536-1.537 1.085-2.839l.003-.008c.578-1.369 1.17-2.772 1.17-3.08 0-.583-.334-.857-.982-.857zM172 1.578c.51 0 .922.364.922.839 0 .473-.412.857-.922.857-.511 0-.904-.384-.904-.857 0-.475.393-.838.904-.838zm6.463 6.156c0-.71-.981-.892-1.57-.892-1.649 0-2.985 1.35-2.985 2.862 0 .41.565 1.005 1.141 1.612.602.632 1.216 1.279 1.216 1.744 0 .638-.61 1.149-1.277 1.149-.586 0-.849-.237-1.078-.444-.179-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.471 0 3.239-1.55 3.239-2.9 0-.574-.739-1.34-1.428-2.055-.601-.624-1.165-1.209-1.165-1.592 0-.527.591-1.166 1.22-1.166.531 0 .763.28.97.529.168.201.319.383.599.383.335 0 .629-.347.629-.73zm2.354 3.187l.039.035.134-.18c1.064-1.43 3.094-4.159 5.089-4.159 1.296 0 1.611.966 1.611 1.987 0 1.879-2.219 6.437-4.616 6.437-.353 0-.843-.218-.843-.602 0-.436.255-.856.726-.856a.708.708 0 0 1 .278.055c.052.02.103.045.155.072a2.963 2.963 0 0 0 .201.098.624.624 0 0 0 .23.048c1.256 0 2.297-4.14 2.297-5.088 0-.527-.138-1.056-.826-1.056-1.432 0-3.24 2.57-4.495 4.484a10.28 10.28 0 0 0-1.05 2.056c-.093.233-.171.432-.266.607-.079.146-.255.182-.413.182-.175 0-.647-.164-.647-.474 0-.247.773-2.528 1.471-4.588.485-1.43.934-2.753 1.063-3.217l.065-.226c.274-.945 1.112-3.83 1.112-4.278 0-.6-.354-.691-1.217-.783l.119-.42c.169-.031.339-.058.51-.084l.176-.026c.463-.07.927-.139 1.374-.272.255-.074.511-.147.766-.147.099 0 .295.019.295.128 0 .201-1.335 4.377-1.63 5.233l-1.708 5.034zm9.471-.195c1.374-.11 3.965-.674 3.965-2.389 0-.546-.295-.983-.943-.983-1.59 0-2.63 2.15-3.022 3.372zm-1.867 1.788c0 1.53.746 2.752 2.571 2.752 1.416 0 2.592-.673 3.379-1.785-.039-.166-.275-.293-.374-.31-.706.672-1.335 1.037-2.335 1.037-1.122 0-1.671-.874-1.671-1.822 0-.3.05-.59.101-.884.02-.118.041-.236.058-.356 1.726-.074 5.476-.674 5.476-2.79 0-1.205-1.119-1.514-2.238-1.514-2.925 0-4.967 3.264-4.967 5.672zm11.596-4.24c0 .474-.156 1.24-.393 2.096h.041l.123-.195c.729-1.15 2.118-3.342 3.154-3.342.512 0 1.082.291 1.082.821 0 .547-.394.875-1.003.875a.75.75 0 0 1-.471-.183 2.554 2.554 0 0 1-.11-.097 1.562 1.562 0 0 0-.07-.062c-.055-.046-.104-.078-.153-.078-.649 0-2.239 3.046-2.672 3.974-.073.157-.177.435-.3.764-.366.98-.898 2.409-1.31 2.409-.255 0-.805-.108-.805-.364 0-.06.087-.313.226-.696l.157-.427c.176-.48.395-1.076.618-1.721.375-1.076.747-2.152.747-2.753 0-.42-.078-1.003-.786-1.003-.393 0-.883.692-1.138 1.076a1.692 1.692 0 0 1-.412-.255c.373-.75 1.355-2.28 2.297-2.28.844 0 1.178.857 1.178 1.44zm8.922-.549c0-.71-.982-.892-1.571-.892-1.648 0-2.984 1.35-2.984 2.862 0 .41.565 1.005 1.141 1.612.601.633 1.216 1.279 1.216 1.744 0 .639-.61 1.149-1.277 1.149-.586 0-.848-.237-1.078-.444-.178-.161-.337-.304-.611-.304-.334 0-.668.291-.668.657 0 1.02.845 1.148 1.768 1.148 1.47 0 3.24-1.55 3.24-2.9 0-.574-.739-1.34-1.428-2.055-.602-.624-1.165-1.209-1.165-1.591 0-.528.59-1.167 1.219-1.167.531 0 .762.279.97.528.167.202.319.384.6.384.335 0 .628-.347.628-.73z"})})]})}function Pu(){return e($u,{})}const zu=sn.details`
|
|
792
792
|
position: relative;
|
|
793
793
|
margin-left: 10px;
|
|
794
794
|
|
|
@@ -796,7 +796,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
796
796
|
background-color: rgb(255, 255, 255, 0.1);
|
|
797
797
|
opacity: 1;
|
|
798
798
|
}
|
|
799
|
-
`,
|
|
799
|
+
`,Ru=sn.summary`
|
|
800
800
|
list-style: none;
|
|
801
801
|
background-color: rgb(255, 255, 255, 0);
|
|
802
802
|
border-radius: var(--border-radius--medium);
|
|
@@ -828,7 +828,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
828
828
|
margin-right: 5px;
|
|
829
829
|
flex-shrink: 0;
|
|
830
830
|
}
|
|
831
|
-
`,
|
|
831
|
+
`,Nu=sn.div`
|
|
832
832
|
position: absolute;
|
|
833
833
|
top: calc(100% + 5px);
|
|
834
834
|
left: 0;
|
|
@@ -897,7 +897,7 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
|
-
`;function
|
|
900
|
+
`;function Au({children:n,toggle:r,rightAlign:a}){const[i,l]=o.useState(!1),s=o.useRef(null),c=o.useRef(null);o.useEffect((()=>{i&&setTimeout((()=>s.current?.focus()),1)}),[i]);const u=e=>{c.current&&e.target instanceof Node&&!c.current.contains(e.target)&&l(!1)};return o.useEffect((()=>(document.addEventListener("click",u,!0),()=>{document.removeEventListener("click",u,!0)})),[]),e("div",{ref:c,children:t(zu,{open:i,children:[e(Ru,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),l(!i)},"aria-expanded":i,children:r}),e(Nu,{className:a?"right":"",ref:s,role:"menu",children:n})]})})}const Tu=sn.header`
|
|
901
901
|
display: flex;
|
|
902
902
|
flex-flow: row;
|
|
903
903
|
align-items: center;
|
|
@@ -910,29 +910,29 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
910
910
|
@media print {
|
|
911
911
|
display: none;
|
|
912
912
|
}
|
|
913
|
-
`,
|
|
913
|
+
`,Du=sn.a`
|
|
914
914
|
flex-shrink: 0;
|
|
915
915
|
display: inline-flex;
|
|
916
|
-
`,
|
|
916
|
+
`,_u=sn.div`
|
|
917
917
|
margin-left: auto;
|
|
918
918
|
display: flex;
|
|
919
919
|
flex-flow: row;
|
|
920
920
|
align-items: center;
|
|
921
921
|
height: 100%;
|
|
922
|
-
`,
|
|
922
|
+
`,Mu=sn.div``,Lu=sn.div`
|
|
923
923
|
display: flex;
|
|
924
924
|
align-items: center;
|
|
925
|
-
`;function
|
|
925
|
+
`;function Fu({currentApp:r,apps:o}){const a=e("svg",{viewBox:"0 0 32 32",children:t("g",{children:[e("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),e("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),e("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return e(Au,{toggle:t(n,{children:[a,r&&e(Lu,{children:r})]}),children:o})}function Vu({apps:n,currentApp:r,leftSide:o,rightSide:a}){return t(Tu,{children:[e(Du,{href:"/",children:e(Pu,{})}),e(Fu,{apps:n,currentApp:r}),e(Mu,{children:o}),e(_u,{children:a})]})}function ju(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))}}ju('/* 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');ju(':root {\n --color--black: #000000;\n --color--grey-dark: #262626;\n --color--grey: #5c5c5c;\n --color--grey-light: #a8aab7;\n --color--grey-lighter: #f5f5f5;\n --color--grey-lightest: #f3f6fa;\n --color--grey-borders: #d7d7d7;\n --color--grey-line: #e0e0e0;\n --color--grey-hover: #f9f9f9;\n --color--white: #fff;\n\n --color--teal: #007d7e;\n --color--teal-light: #00b0b1;\n --color--teal-tint: #f2fcfc;\n\n --color--red: #d9303e;\n --color--red-dark: #c02330;\n --color--red-light: #f7dbdd;\n --color--red-tint: #ffdddf;\n\n --color--amber: #e9b04d;\n --color--amber-tint: #faecd5;\n --color--orange: #f5a623;\n --color--orange-dark: #eb6f00;\n --color--orange-light: #f2c06f;\n\n --color--green: #29c889;\n --color--green-dark: #1c874c;\n --color--green-light: #afe7d0;\n --color--indigo: #2e1f5e;\n --color--lemon: #ffe60b;\n --color--focus-outline: #fcc726;\n\n --color--dark-blue: #192a3c;\n\n --color--primary: #4c3fdd;\n --color--primary-light: #4c3fdddb;\n --color--primary-verylight: #a8a0f7;\n --color--body: var(--color--dark-blue);\n\n --color--danger: var(--color--red);\n --color--danger-light: var(--color--red-light);\n --color--warning: var(--color--orange);\n --color--warning-light: var(--color--orange-light);\n --color--success: var(--color--green);\n\n --color--dark-blue: #192a3c;\n\n --color--debug: #663399;\n --color--debug-light: #663399db;\n --color--debug-very-light: #6633991a;\n\n /* Fonts */\n --font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;\n\n --font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,\n "Courier New", monospace;\n\n /* Spacing */\n --spacing--xxxsmall: 0.1rem;\n --spacing--xxsmall: 0.2rem;\n --spacing--xsmall: 0.3rem;\n --spacing--small: 0.5rem;\n --spacing--medium: 1rem;\n --spacing--large: 2rem;\n --spacing--xlarge: 4rem;\n\n /* Font sizes */\n --font-size--xxsmall: 0.6rem;\n --font-size--xsmall: 0.75rem;\n --font-size--small: 0.875rem;\n --font-size--medium: 1rem;\n --font-size--large: 1.25rem;\n --font-size--xlarge: 1.5rem;\n --font-size--xxlarge: 2rem;\n --font-size--xxxlarge: 3rem;\n\n /* Line heights */\n --line-height--small: 1.2rem;\n --line-height--medium: 1.4rem;\n --line-height--large: 1.4rem;\n\n /* Font weights */\n --font-weight--thin: 200;\n --font-weight--light: 300;\n --font-weight--regular: 400;\n --font-weight--medium: 500;\n --font-weight--bold: 700;\n\n /* Border radius */\n --border-radius--small: 0.25rem;\n --border-radius--medium: 0.5rem;\n --border-radius--large: 1rem;\n --border-radius--xlarge: 2rem;\n\n /* Box shadows */\n --box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);\n\n /* Breakpoints */\n --breakpoint--small: 480px;\n --breakpoint--medium: 768px;\n --breakpoint--large: 1024px;\n --breakpoint--xlarge: 1200px;\n --breakpoint--xxlarge: 1440px;\n --breakpoint--xxxlarge: 1920px;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n* {\n margin: 0;\n}\n\na {\n color: var(--color--primary);\n text-decoration: none;\n\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n}\n\nbody,\nbutton {\n font-family: var(--font-family--sans-serif);\n font-weight: var(--font-weight--regular);\n font-style: normal;\n}\n\nbody {\n background-color: var(--color--grey-lightest);\n line-height: 1.5;\n -webkit-font-smoothing: antialiased;\n color: var(--color--grey-dark);\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n}\n\nb {\n font-weight: var(--font-weight--bold);\n}\n\n*:focus-visible {\n outline: 3px solid var(--color--focus-outline);\n}\n\ninput,\nbutton,\ntextarea,\nselect {\n font: inherit;\n}\n\ntextarea {\n border: 1px solid var(--color--grey-borders);\n border-radius: var(--border-radius--small);\n background-color: var(--color--grey-lighter);\n padding: var(--spacing--medium);\n}\n\np,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n overflow-wrap: break-word;\n}\n\np {\n font-size: var(--font-size--medium);\n}\n\n#root,\n#__next {\n isolation: isolate;\n}\n\nsmall {\n font-size: 80%;\n color: var(--color--grey);\n}\n');const Bu=sn.div`
|
|
926
926
|
height: 100%;
|
|
927
927
|
position: absolute;
|
|
928
928
|
width: 100%;
|
|
929
929
|
top: 0;
|
|
930
930
|
left: 0;
|
|
931
|
-
`,
|
|
931
|
+
`,Hu=sn.main`
|
|
932
932
|
width: 100%;
|
|
933
933
|
height: calc(100% - 136px); // TODO: calculate the height of the header
|
|
934
934
|
position: relative;
|
|
935
|
-
`;function
|
|
935
|
+
`;function Wu({children:n,header:r,footer:o}){return e(Qt,{theme:h,children:t(Bu,{children:[r,e(Hu,{children:n}),o]})})}const Gu=sn.div`
|
|
936
936
|
display: flex;
|
|
937
937
|
flex-flow: wrap;
|
|
938
938
|
justify-content: space-between;
|
|
@@ -941,12 +941,12 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
941
941
|
@media print {
|
|
942
942
|
display: none;
|
|
943
943
|
}
|
|
944
|
-
`,
|
|
944
|
+
`,qu=sn.ul`
|
|
945
945
|
display: flex;
|
|
946
946
|
flex-flow: row;
|
|
947
947
|
width: 100%;
|
|
948
948
|
flex-wrap: wrap;
|
|
949
|
-
`,
|
|
949
|
+
`,Uu=sn.li`
|
|
950
950
|
display: inline-block;
|
|
951
951
|
color: var(--color--grey);
|
|
952
952
|
overflow: hidden;
|
|
@@ -965,34 +965,94 @@ function pu(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
965
965
|
font-weight: 600;
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
|
-
`;function ad({children:t}){return e(nd,{children:e(od,{children:t})})}ad.Item=rd;
|
|
969
|
-
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
*
|
|
976
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
977
|
-
|
|
978
|
-
function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Md(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Id(Object(n),!0).forEach((function(t){$d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Id(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ad=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)},zd=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},Fd=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},jd=function(e){return Fd(e)&&!e.shiftKey},Dd=function(e){return Fd(e)&&e.shiftKey},Vd=function(e){return setTimeout(e,0)},Ld=function(e,t){var n=-1;return e.every((function(e,o){return!t(e)||(n=o,!1)})),n},_d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},Bd=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Hd=[],Wd=Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,o=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||Hd,a=Md({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:jd,isKeyBackward:Dd},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},s=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return i.containerGroups.findIndex((function(t){var o=t.container,r=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||r.find((function(t){return t===e}))}))},c=function(e){var t=a[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var l=t;if("string"==typeof t&&!(l=o.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!Td(e,a.tabbableOptions))if(s(o.activeElement)>=0)e=o.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map((function(e){var t=kd(e,a.tabbableOptions),n=Ed(e,a.tabbableOptions),o=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,i=n.find((function(e){return Rd(e)})),l=n.slice().reverse().find((function(e){return Rd(e)})),s=!!t.find((function(e){return gd(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:s,firstTabbableNode:o,lastTabbableNode:r,firstDomTabbableNode:i,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?o?n.slice(n.indexOf(e)+1).find((function(e){return Rd(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return Rd(e)})):t[r+(o?1:-1)]}}})),i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find((function(e){return e.posTabIndexesFound}))&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},f=function e(t){!1!==t&&t!==p(document)&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(u()))},m=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,o=e.isBackward,r=void 0!==o&&o;t=t||Bd(n),d();var l=null;if(i.tabbableGroups.length>0){var u=s(t,n),p=u>=0?i.containerGroups[u]:void 0;if(u<0)l=r?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(r){var f=Ld(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(f<0&&(p.container===t||Td(t,a.tabbableOptions)&&!Rd(t,a.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(f=u),f>=0){var m=0===f?i.tabbableGroups.length-1:f-1,g=i.tabbableGroups[m];l=gd(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else Fd(n)||(l=p.nextTabbableNode(t,!1))}else{var h=Ld(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(h<0&&(p.container===t||Td(t,a.tabbableOptions)&&!Rd(t,a.tabbableOptions)&&!p.nextTabbableNode(t))&&(h=u),h>=0){var b=h===i.tabbableGroups.length-1?0:h+1,v=i.tabbableGroups[b];l=gd(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else Fd(n)||(l=p.nextTabbableNode(t))}}else l=c("fallbackFocus");return l},h=function(e){var t=Bd(e);s(t,e)>=0||(_d(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate}):_d(a.allowOutsideClick,e)||e.preventDefault())},b=function(e){var t=Bd(e),n=s(t,e)>=0;if(n||t instanceof Document)n&&(i.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var r=!0;if(i.mostRecentlyFocusedNode)if(gd(i.mostRecentlyFocusedNode)>0){var l=s(i.mostRecentlyFocusedNode),c=i.containerGroups[l].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===i.mostRecentlyFocusedNode}));d>=0&&(a.isKeyForward(i.recentNavEvent)?d+1<c.length&&(o=c[d+1],r=!1):d-1>=0&&(o=c[d-1],r=!1))}}else i.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return gd(e)>0}))}))||(r=!1);else r=!1;r&&(o=g({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),f(o||(i.mostRecentlyFocusedNode||u()))}i.recentNavEvent=void 0},v=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===_d(a.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(a.isKeyForward(e)||a.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(Fd(e)&&e.preventDefault(),f(n))}(e,a.isKeyBackward(e))},y=function(e){var t=Bd(e);s(t,e)>=0||_d(a.clickOutsideDeactivates,e)||_d(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(i.active)return Ad(r,n),i.delayInitialFocusTimer=a.delayInitialFocus?Vd((function(){f(u())})):f(u()),o.addEventListener("focusin",b,!0),o.addEventListener("mousedown",h,{capture:!0,passive:!1}),o.addEventListener("touchstart",h,{capture:!0,passive:!1}),o.addEventListener("click",y,{capture:!0,passive:!1}),o.addEventListener("keydown",v,{capture:!0,passive:!1}),n},x=function(){if(i.active)return o.removeEventListener("focusin",b,!0),o.removeEventListener("mousedown",h,!0),o.removeEventListener("touchstart",h,!0),o.removeEventListener("click",y,!0),o.removeEventListener("keydown",v,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){var t=e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===i.mostRecentlyFocusedNode}))}));t&&f(u())})):void 0,O=function(){S&&(S.disconnect(),i.active&&!i.paused&&i.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=l(e,"onActivate"),n=l(e,"onPostActivate"),r=l(e,"checkCanFocusTrap");r||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var a=function(){r&&d(),w(),O(),null==n||n()};return r?(r(i.containers.concat()).then(a,a),this):(a(),this)},deactivate:function(e){if(!i.active)return this;var t=Md({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,x(),i.active=!1,i.paused=!1,O(),zd(r,n);var o=l(t,"onDeactivate"),s=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),u=l(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var d=function(){Vd((function(){u&&f(m(i.nodeFocusedBeforeActivation)),null==s||s()}))};return u&&c?(c(m(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(i.paused||!i.active)return this;var t=l(e,"onPause"),n=l(e,"onPostPause");return i.paused=!0,null==t||t(),x(),O(),null==n||n(),this},unpause:function(e){if(!i.paused||!i.active)return this;var t=l(e,"onUnpause"),n=l(e,"onPostUnpause");return i.paused=!1,null==t||t(),d(),w(),O(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),i.active&&d(),O(),this}}).updateContainerElements(e),n}}),qd=R(Wd),Gd=R(Nd);function Ud(e){return Ud="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},Ud(e)}function Kd(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Qd(o.key),o)}}function Yd(e,t){return Yd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yd(e,t)}function Xd(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Zd(e);if(t){var r=Zd(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===Ud(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Jd(e)}(this,n)}}function Jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zd(e){return Zd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zd(e)}function Qd(e){var t=function(e,t){if("object"!==Ud(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==Ud(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===Ud(t)?t:String(t)}var ep=r,tp=fi,np=qd.createFocusTrap,op=Gd.isFocusable,rp=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yd(e,t)}(a,ep.Component);var t,n,o,r=Xd(a);function a(e){var t,n,o,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=r.call(this,e),n=Jd(t),i=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];n=n.apply(void 0,r)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var i,l=n;if("string"==typeof n&&!(l=null===(i=this.getDocument())||void 0===i?void 0:i.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(o=Qd(o="getNodeForOption"))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,t.handleDeactivate=t.handleDeactivate.bind(Jd(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(Jd(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(Jd(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var l=e.focusTrapOptions;for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=l[s]:t.originalOptions[s]=l[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=a,n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||op(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll,r=void 0!==o&&o;n&&t.focus({preventScroll:r}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,o=!e.paused&&this.props.paused,r=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();o&&this.focusTrap.pause(),r&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?ep.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===ep.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return ep.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}],n&&Kd(t.prototype,n),o&&Kd(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(),ap="undefined"==typeof Element?Function:Element;rp.propTypes={active:tp.bool,paused:tp.bool,focusTrapOptions:tp.shape({document:tp.object,onActivate:tp.func,onPostActivate:tp.func,checkCanFocusTrap:tp.func,onPause:tp.func,onPostPause:tp.func,onUnpause:tp.func,onPostUnpause:tp.func,onDeactivate:tp.func,onPostDeactivate:tp.func,checkCanReturnFocus:tp.func,initialFocus:tp.oneOfType([tp.instanceOf(ap),tp.string,tp.bool,tp.func]),fallbackFocus:tp.oneOfType([tp.instanceOf(ap),tp.string,tp.func]),escapeDeactivates:tp.oneOfType([tp.bool,tp.func]),clickOutsideDeactivates:tp.oneOfType([tp.bool,tp.func]),returnFocusOnDeactivate:tp.bool,setReturnFocus:tp.oneOfType([tp.instanceOf(ap),tp.string,tp.bool,tp.func]),allowOutsideClick:tp.oneOfType([tp.bool,tp.func]),preventScroll:tp.bool,tabbableOptions:tp.shape({displayCheck:tp.oneOf(["full","legacy-full","non-zero-area","none"]),getShadowRoot:tp.oneOfType([tp.bool,tp.func])}),trapStack:tp.array,isKeyForward:tp.func,isKeyBackward:tp.func}),containerElements:tp.arrayOf(tp.instanceOf(ap)),children:tp.oneOfType([tp.element,tp.instanceOf(ap)])},rp.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:np};var ip=E(rp);const lp=yn`
|
|
979
|
-
|
|
980
|
-
|
|
968
|
+
`;function Yu({children:t}){return e(Gu,{children:e(qu,{children:t})})}Yu.Item=Uu;const Ku={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 Ju="$$joy";function Xu(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 Qu(){return Qu=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},Qu.apply(null,arguments)}var Zu=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}(),ed="-ms-",td="-moz-",nd="-webkit-",rd="comm",od="rule",ad="decl",id="@keyframes",ld=Math.abs,sd=String.fromCharCode,cd=Object.assign;function ud(e){return e.trim()}function dd(e,t,n){return e.replace(t,n)}function pd(e,t){return e.indexOf(t)}function fd(e,t){return 0|e.charCodeAt(t)}function md(e,t,n){return e.slice(t,n)}function gd(e){return e.length}function hd(e){return e.length}function vd(e,t){return t.push(e),e}var bd=1,yd=1,wd=0,xd=0,Sd=0,Cd="";function kd(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:bd,column:yd,length:i,return:""}}function Od(e,t){return cd(kd("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ed(){return Sd=xd>0?fd(Cd,--xd):0,yd--,10===Sd&&(yd=1,bd--),Sd}function Id(){return Sd=xd<wd?fd(Cd,xd++):0,yd++,10===Sd&&(yd=1,bd++),Sd}function $d(){return fd(Cd,xd)}function Pd(){return xd}function zd(e,t){return md(Cd,e,t)}function Rd(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 Nd(e){return bd=yd=1,wd=gd(Cd=e),xd=0,[]}function Ad(e){return Cd="",e}function Td(e){return ud(zd(xd-1,Md(91===e?e+2:40===e?e+1:e)))}function Dd(e){for(;(Sd=$d())&&Sd<33;)Id();return Rd(e)>2||Rd(Sd)>3?"":" "}function _d(e,t){for(;--t&&Id()&&!(Sd<48||Sd>102||Sd>57&&Sd<65||Sd>70&&Sd<97););return zd(e,Pd()+(t<6&&32==$d()&&32==Id()))}function Md(e){for(;Id();)switch(Sd){case e:return xd;case 34:case 39:34!==e&&39!==e&&Md(Sd);break;case 40:41===e&&Md(e);break;case 92:Id()}return xd}function Ld(e,t){for(;Id()&&e+Sd!==57&&(e+Sd!==84||47!==$d()););return"/*"+zd(t,xd-1)+"*"+sd(47===e?e:Id())}function Fd(e){for(;!Rd($d());)Id();return zd(e,xd)}function Vd(e){return Ad(jd("",null,null,null,[""],e=Nd(e),0,[0],e))}function jd(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="",w=o,x=a,S=r,C=y;h;)switch(m=b,b=Id()){case 40:if(108!=m&&58==fd(C,d-1)){-1!=pd(C+=dd(Td(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=Td(b);break;case 9:case 10:case 13:case 32:C+=Dd(m);break;case 92:C+=_d(Pd()-1,7);continue;case 47:switch($d()){case 42:case 47:vd(Hd(Ld(Id(),Pd()),t,n),s);break;default:C+="/"}break;case 123*g:l[c++]=gd(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=dd(C,/\f/g,"")),f>0&&gd(C)-d&&vd(f>32?Wd(C+";",r,n,d-1):Wd(dd(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(vd(S=Bd(C,t,n,c,u,o,l,y,w=[],x=[],d),a),123===b)if(0===u)jd(C,t,S,S,w,a,d,l,x);else switch(99===p&&110===fd(C,3)?100:p){case 100:case 108:case 109:case 115:jd(e,S,S,r&&vd(Bd(e,S,S,0,0,o,l,y,o,w=[],d),x),o,x,d,l,r?w:x);break;default:jd(C,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+gd(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==Ed())continue;switch(C+=sd(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(gd(C)-1)*v,v=1;break;case 64:45===$d()&&(C+=Td(Id())),p=$d(),u=d=gd(y=C+=Fd(Pd())),b++;break;case 45:45===m&&2==gd(C)&&(g=0)}}return a}function Bd(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=hd(p),m=0,g=0,h=0;m<r;++m)for(var v=0,b=md(e,d+1,d=ld(g=i[m])),y=e;v<f;++v)(y=ud(g>0?p[v]+" "+b:dd(b,/&\f/g,p[v])))&&(s[h++]=y);return kd(e,t,n,0===o?od:l,s,c,u)}function Hd(e,t,n){return kd(e,t,n,rd,sd(Sd),md(e,2,-2),0)}function Wd(e,t,n,r){return kd(e,t,n,ad,md(e,0,r),md(e,r+1,-1),r)}function Gd(e,t){for(var n="",r=hd(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function qd(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ad:return e.return=e.return||e.value;case rd:return"";case id:return e.return=e.value+"{"+Gd(e.children,r)+"}";case od:e.value=e.props.join(",")}return gd(n=Gd(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ud(e){var t=hd(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 Yd=function(e,t,n){for(var r=0,o=0;r=o,o=$d(),38===r&&12===o&&(t[n]=1),!Rd(o);)Id();return zd(e,xd)},Kd=function(e,t){return Ad(function(e,t){var n=-1,r=44;do{switch(Rd(r)){case 0:38===r&&12===$d()&&(t[n]=1),e[n]+=Yd(xd-1,t,n);break;case 2:e[n]+=Td(r);break;case 4:if(44===r){e[++n]=58===$d()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=sd(r)}}while(r=Id());return e}(Nd(e),t))},Jd=new WeakMap,Xd=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)||Jd.get(n))&&!r){Jd.set(e,!0);for(var o=[],a=Kd(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]}}},Qd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Zd=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},ep=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},tp=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},np=function(e,t,n){ep(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."),tp(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!ep(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."),tp(e)))};function rp(e,t){switch(function(e,t){return 45^fd(e,0)?(((t<<2^fd(e,0))<<2^fd(e,1))<<2^fd(e,2))<<2^fd(e,3):0}(e,t)){case 5103:return nd+"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 nd+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return nd+e+td+e+ed+e+e;case 6828:case 4268:return nd+e+ed+e+e;case 6165:return nd+e+ed+"flex-"+e+e;case 5187:return nd+e+dd(e,/(\w+).+(:[^]+)/,nd+"box-$1$2"+ed+"flex-$1$2")+e;case 5443:return nd+e+ed+"flex-item-"+dd(e,/flex-|-self/,"")+e;case 4675:return nd+e+ed+"flex-line-pack"+dd(e,/align-content|flex-|-self/,"")+e;case 5548:return nd+e+ed+dd(e,"shrink","negative")+e;case 5292:return nd+e+ed+dd(e,"basis","preferred-size")+e;case 6060:return nd+"box-"+dd(e,"-grow","")+nd+e+ed+dd(e,"grow","positive")+e;case 4554:return nd+dd(e,/([^-])(transform)/g,"$1"+nd+"$2")+e;case 6187:return dd(dd(dd(e,/(zoom-|grab)/,nd+"$1"),/(image-set)/,nd+"$1"),e,"")+e;case 5495:case 3959:return dd(e,/(image-set\([^]*)/,nd+"$1$`$1");case 4968:return dd(dd(e,/(.+:)(flex-)?(.*)/,nd+"box-pack:$3"+ed+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+nd+e+e;case 4095:case 3583:case 4068:case 2532:return dd(e,/(.+)-inline(.+)/,nd+"$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(gd(e)-1-t>6)switch(fd(e,t+1)){case 109:if(45!==fd(e,t+4))break;case 102:return dd(e,/(.+:)(.+)-([^]+)/,"$1"+nd+"$2-$3$1"+td+(108==fd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~pd(e,"stretch")?rp(dd(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==fd(e,t+1))break;case 6444:switch(fd(e,gd(e)-3-(~pd(e,"!important")&&10))){case 107:return dd(e,":",":"+nd)+e;case 101:return dd(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+nd+(45===fd(e,14)?"inline-":"")+"box$3$1"+nd+"$2$3$1"+ed+"$2box$3")+e}break;case 5936:switch(fd(e,t+11)){case 114:return nd+e+ed+dd(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return nd+e+ed+dd(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return nd+e+ed+dd(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return nd+e+ed+e+e}return e}var op,ap,ip,lp="undefined"!=typeof document,sp=lp?void 0:(op=function(){return y((function(){var e={};return function(t){return e[t]}}))},ap=new WeakMap,function(e){if(ap.has(e))return ap.get(e);var t=op(e);return ap.set(e,t),t}),cp=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ad:e.return=rp(e.value,e.length);break;case id:return Gd([Od(e,{value:dd(e.value,"@","@"+nd)})],r);case od: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 Gd([Od(e,{props:[dd(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Gd([Od(e,{props:[dd(t,/:(plac\w+)/,":"+nd+"input-$1")]}),Od(e,{props:[dd(t,/:(plac\w+)/,":-moz-$1")]}),Od(e,{props:[dd(t,/:(plac\w+)/,ed+"input-$1")]})],r)}return""}))}}],up=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(lp&&"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||cp;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=[];lp&&(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=[Xd,Qd];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(Zd(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}}),np),lp){var u,d=[qd,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==rd&&u.insert(e.value+"{}"))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Ud(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){Gd(Vd(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[qd],m=Ud(c.concat(r,f)),g=sp(r)(t),h=function(e,t){var n=t.name;return void 0===g[n]&&(g[n]=function(e){return Gd(Vd(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 Zu({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},dp={exports:{}},pp={};var fp,mp={};
|
|
969
|
+
/** @license React v16.13.1
|
|
970
|
+
* react-is.development.js
|
|
971
|
+
*
|
|
972
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
973
|
+
*
|
|
974
|
+
* This source code is licensed under the MIT license found in the
|
|
975
|
+
* LICENSE file in the root directory of this source tree.
|
|
976
|
+
*/"production"===process.env.NODE_ENV?dp.exports=function(){if(ip)return pp;ip=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 w(e){return y(e)===c}return pp.AsyncMode=s,pp.ConcurrentMode=c,pp.ContextConsumer=l,pp.ContextProvider=i,pp.Element=t,pp.ForwardRef=u,pp.Fragment=r,pp.Lazy=m,pp.Memo=f,pp.Portal=n,pp.Profiler=a,pp.StrictMode=o,pp.Suspense=d,pp.isAsyncMode=function(e){return w(e)||y(e)===s},pp.isConcurrentMode=w,pp.isContextConsumer=function(e){return y(e)===l},pp.isContextProvider=function(e){return y(e)===i},pp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},pp.isForwardRef=function(e){return y(e)===u},pp.isFragment=function(e){return y(e)===r},pp.isLazy=function(e){return y(e)===m},pp.isMemo=function(e){return y(e)===f},pp.isPortal=function(e){return y(e)===n},pp.isProfiler=function(e){return y(e)===a},pp.isStrictMode=function(e){return y(e)===o},pp.isSuspense=function(e){return y(e)===d},pp.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)},pp.typeOf=y,pp}():dp.exports=(fp||(fp=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 w=s,x=c,S=l,C=i,k=t,O=u,E=r,I=m,$=f,P=n,z=a,R=o,N=d,A=!1;function T(e){return y(e)===c}mp.AsyncMode=w,mp.ConcurrentMode=x,mp.ContextConsumer=S,mp.ContextProvider=C,mp.Element=k,mp.ForwardRef=O,mp.Fragment=E,mp.Lazy=I,mp.Memo=$,mp.Portal=P,mp.Profiler=z,mp.StrictMode=R,mp.Suspense=N,mp.isAsyncMode=function(e){return A||(A=!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},mp.isConcurrentMode=T,mp.isContextConsumer=function(e){return y(e)===l},mp.isContextProvider=function(e){return y(e)===i},mp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},mp.isForwardRef=function(e){return y(e)===u},mp.isFragment=function(e){return y(e)===r},mp.isLazy=function(e){return y(e)===m},mp.isMemo=function(e){return y(e)===f},mp.isPortal=function(e){return y(e)===n},mp.isProfiler=function(e){return y(e)===a},mp.isStrictMode=function(e){return y(e)===o},mp.isSuspense=function(e){return y(e)===d},mp.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)},mp.typeOf=y}()),mp);var gp=dp.exports,hp={};hp[gp.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},hp[gp.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var vp="undefined"!=typeof document;function bp(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var yp=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===vp&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},wp=function(e,t,n){yp(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);vp||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!vp&&0!==o.length)return o}};var xp="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="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Cp=/[A-Z]|^ms/g,kp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Op=function(e){return 45===e.charCodeAt(1)},Ep=function(e){return null!=e&&"boolean"!=typeof e},Ip=y((function(e){return Op(e)?e:e.replace(Cp,"-$&").toLowerCase()})),$p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(kp,(function(e,t,n){return Lp={name:t,styles:n,next:Lp},t}))}return 1===we[e]||Op(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var Pp=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,zp=["normal","none","initial","inherit","unset"],Rp=$p,Np=/^-ms-/,Ap=/-(.)/g,Tp={};$p=function(e,t){if("content"===e&&("string"!=typeof t||-1===zp.indexOf(t)&&!Pp.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=Rp(e,t);return""===n||Op(e)||-1===e.indexOf("-")||void 0!==Tp[e]||(Tp[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Np,"ms-").replace(Ap,(function(e,t){return t.toUpperCase()}))+"?")),n}}var Dp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function _p(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(Dp);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Lp={name:n.name,styles:n.styles,next:Lp},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Lp={name:r.name,styles:r.styles,next:Lp},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+=_p(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]+"}":Ep(i)&&(r+=Ip(a)+":"+$p(a,i)+";");else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(Dp);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=_p(e,t,i);switch(a){case"animation":case"animationName":r+=Ip(a)+":"+l+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(Sp),r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)Ep(i[s])&&(r+=Ip(a)+":"+$p(a,i[s])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=Lp,i=n(e);return Lp=a,_p(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(kp,(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 Mp,Lp,Fp=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Mp=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Vp=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="";Lp=void 0;var a,i=e[0];null==i||void 0===i.raw?(r=!1,o+=_p(n,t,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(xp),o+=i[0]);for(var l=1;l<e.length;l++)o+=_p(n,t,e[l]),r&&("production"!==process.env.NODE_ENV&&void 0===i[l]&&console.error(xp),o+=i[l]);"production"!==process.env.NODE_ENV&&(o=o.replace(Mp,(function(e){return a=e,""}))),Fp.lastIndex=0;for(var s,c="";null!==(s=Fp.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:Lp,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:Lp}},jp="undefined"!=typeof document,Bp=function(e){return e()},Hp=!!r.useInsertionEffect&&r.useInsertionEffect,Wp=jp&&Hp||Bp,Gp=Hp||r.useLayoutEffect,qp="undefined"!=typeof document,Up={}.hasOwnProperty,Yp=r.createContext("undefined"!=typeof HTMLElement?up({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Yp.displayName="EmotionCacheContext"),Yp.Provider;var Kp=function(e){return f((function(t,n){var r=c(Yp);return e(t,r,n)}))};qp||(Kp=function(e){return function(t){var n=c(Yp);return null===n?(n=up({key:"css"}),r.createElement(Yp.Provider,{value:n},e(t,n))):e(t,n)}});var Jp=r.createContext({});"production"!==process.env.NODE_ENV&&(Jp.displayName="EmotionThemeContext");var Xp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qp="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Zp=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;yp(t,n,o);var a=Wp((function(){return wp(t,n,o)}));if(!qp&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},ef=Kp((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[Xp],i=[o],l="";"string"==typeof e.className?l=bp(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=Vp(i,void 0,r.useContext(Jp));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var c=e[Qp];c&&(s=Vp([s,"label:"+c+";"]))}l+=t.key+"-"+s.name;var u={};for(var d in e)!Up.call(e,d)||"css"===d||d===Xp||"production"!==process.env.NODE_ENV&&d===Qp||(u[d]=e[d]);return u.ref=n,u.className=l,r.createElement(r.Fragment,null,r.createElement(Zp,{cache:t,serialized:s,isStringTag:"string"==typeof a}),r.createElement(a,u))}));"production"!==process.env.NODE_ENV&&(ef.displayName="EmotionCssPropInternal");var tf=!1,nf=Kp((function(e,t){"production"===process.env.NODE_ENV||tf||!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?"),tf=!0);var n=e.styles,o=Vp([n],void 0,r.useContext(Jp));if(!qp){for(var a,i=o.name,l=o.styles,s=o.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:r.createElement("style",((a={})["data-emotion"]=t.key+"-global "+i,a.dangerouslySetInnerHTML={__html:u},a.nonce=t.sheet.nonce,a))}var d=r.useRef();return Gp((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}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,r],function(){n.flush()}}),[t]),Gp((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&wp(t,o.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",o,n,!1)}}),[t,o.name]),null}));function rf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Vp(t)}"production"!==process.env.NODE_ENV&&(nf.displayName="EmotionGlobal");var of=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 af=function(e){var t,n=e.cache,o=e.serializedArr,a=Wp((function(){for(var e="",t=0;t<o.length;t++){var r=wp(n,o[t],!1);qp||void 0===r||(e+=r)}if(!qp)return e}));return qp||0===a.length?null:r.createElement("style",((t={})["data-emotion"]=n.key+" "+o.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:a},t.nonce=n.sheet.nonce,t))},lf=Kp((function(e,t){var n=!1,o=[],a=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];var i=Vp(r,t.registered);return o.push(i),yp(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=bp(e,r,n);return r.length<2?n:o+t(r)}(t.registered,a,of(r))},theme:r.useContext(Jp)},l=e.children(i);return n=!0,r.createElement(r.Fragment,null,r.createElement(af,{cache:t,serializedArr:o}),l)}));if("production"!==process.env.NODE_ENV&&(lf.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var sf="undefined"!=typeof document,cf="undefined"!=typeof jest||"undefined"!=typeof vi;if(sf&&!cf){var uf="undefined"!=typeof globalThis?globalThis:sf?window:global,df="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";uf[df]&&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."),uf[df]=!0}}var pf=x,ff=function(e){return"theme"!==e},mf=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?pf:ff},gf=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},hf="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",vf="undefined"!=typeof document,bf=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;yp(t,n,o);var a=Wp((function(){return wp(t,n,o)}));if(!vf&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},yf=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 o,a,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var s=gf(t,n,i),c=s||mf(l),u=!c("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),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(hf),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(hf),p.push(d[m],d[0][m])}var g=Kp((function(e,t,n){var o=u&&e.as||l,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=r.useContext(Jp)}"string"==typeof e.className?i=bp(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var g=Vp(p.concat(d),t.registered,f);i+=t.key+"-"+g.name,void 0!==a&&(i+=" "+a);var h=u&&void 0===s?mf(o):c,v={};for(var b in e)u&&"as"===b||h(b)&&(v[b]=e[b]);return v.className=i,v.ref=n,r.createElement(r.Fragment,null,r.createElement(bf,{cache:t,serialized:g,isStringTag:"string"==typeof o}),r.createElement(o,v))}));return g.displayName=void 0!==o?o:"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,Qu({},n,r,{shouldForwardProp:gf(g,r,!0)})).apply(void 0,p)},g}}.bind();["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){yf[e]=yf(e)}));function wf(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 xf(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 Sf(e){if(!xf(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Sf(e[n])})),t}function Cf(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return xf(e)&&xf(t)&&Object.keys(t).forEach((o=>{xf(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&xf(e[o])?r[o]=Cf(e[o],t[o],n):n.clone?r[o]=xf(t[o])?Sf(t[o]):t[o]:r[o]=t[o]})),r}const kf=["values","unit","step"],Of=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)=>Qu({},e,{[t.key]:t.val})),{})};function Ef(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=wf(e,kf),a=Of(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 Qu({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)}function If(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>"):o}}const r={},o=e=>(n(r,e),r);return n(o),Qu({},e,{containerQueries:o})}const $f={borderRadius:4},Pf="production"!==process.env.NODE_ENV?ri.oneOfType([ri.number,ri.string,ri.object,ri.array]):{};function zf(e,t){return t?Cf(e,t,{clone:!1}):e}const Rf={xs:0,sm:600,md:900,lg:1200,xl:1536},Nf={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Rf[e]}px)`},Af={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:Rf[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Tf(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Nf;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||Nf;return Object.keys(t).reduce(((o,a)=>{if(i=e.keys,(l=a).startsWith("@")&&(i.some((e=>l.startsWith(`@${e}`)))||l.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)\/?(.+)?$/);if(!n){if("production"!==process.env.NODE_ENV)throw new Error("production"!==process.env.NODE_ENV?`MUI: The provided shorthand (${t}) is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Xu(21,`(${t})`));return null}const[,r,o]=n,a=Number.isNaN(+r)?r:+r;return e.containerQueries(o).up(a)}(r.containerQueries?r:Af,a);e&&(o[e]=n(t[a],a))}else if(-1!==Object.keys(e.values||Rf).indexOf(a)){o[e.up(a)]=n(t[a],a)}else{const e=a;o[e]=t[e]}var i,l;return o}),{})}return n(t)}function Df(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Xu(7));return e.charAt(0).toUpperCase()+e.slice(1)}function _f(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 Mf(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:_f(e,n)||r,t&&(o=t(o,r,e)),o}function Lf(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=_f(e.theme,r)||{};return Tf(e,a,(e=>{let r=Mf(i,o,e);return e===r&&"string"==typeof e&&(r=Mf(i,o,`${t}${"default"===e?"":Df(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:Pf}:{},a.filterProps=[t],a}const Ff={m:"margin",p:"padding"},Vf={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},jf={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bf=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!jf[e])return[e];e=jf[e]}const[t,n]=e.split(""),r=Ff[t],o=Vf[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Hf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Gf=[...Hf,...Wf];function qf(e,t,n,r){const o=_f(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?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}.`),"string"==typeof o?`calc(${e} * ${o})`:o*e):Array.isArray(o)?e=>{if("string"==typeof e)return e;const n=Math.abs(e);"production"!==process.env.NODE_ENV&&(Number.isInteger(n)?n>o.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${n} > ${o.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")));const r=o[n];return e>=0?r:"number"==typeof r?-r:`-${r}`}:"function"==typeof o?o:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Uf(e){return qf(e,"spacing",8,"spacing")}function Yf(e,t){return"string"==typeof t||null==t?t:e(t)}function Kf(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Yf(t,n),e)),{})}(Bf(n),r);return Tf(e,e[n],o)}function Jf(e,t){const n=Uf(e.theme);return Object.keys(e).map((r=>Kf(e,t,r,n))).reduce(zf,{})}function Xf(e){return Jf(e,Hf)}function Qf(e){return Jf(e,Wf)}function Zf(e=8,t=Uf({spacing:e})){if(e.mui)return e;const 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 em(...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]?zf(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 tm(e){return"number"!=typeof e?e:`${e}px solid`}function nm(e,t){return Lf({prop:e,themeKey:"borders",transform:t})}Xf.propTypes="production"!==process.env.NODE_ENV?Hf.reduce(((e,t)=>(e[t]=Pf,e)),{}):{},Xf.filterProps=Hf,Qf.propTypes="production"!==process.env.NODE_ENV?Wf.reduce(((e,t)=>(e[t]=Pf,e)),{}):{},Qf.filterProps=Wf,"production"===process.env.NODE_ENV||Gf.reduce(((e,t)=>(e[t]=Pf,e)),{});const rm=nm("border",tm),om=nm("borderTop",tm),am=nm("borderRight",tm),im=nm("borderBottom",tm),lm=nm("borderLeft",tm),sm=nm("borderColor"),cm=nm("borderTopColor"),um=nm("borderRightColor"),dm=nm("borderBottomColor"),pm=nm("borderLeftColor"),fm=nm("outline",tm),mm=nm("outlineColor"),gm=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=qf(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Yf(t,e)});return Tf(e,e.borderRadius,n)}return null};gm.propTypes="production"!==process.env.NODE_ENV?{borderRadius:Pf}:{},gm.filterProps=["borderRadius"],em(rm,om,am,im,lm,sm,cm,um,dm,pm,gm,fm,mm);const hm=e=>{if(void 0!==e.gap&&null!==e.gap){const t=qf(e.theme,"spacing",8,"gap"),n=e=>({gap:Yf(t,e)});return Tf(e,e.gap,n)}return null};hm.propTypes="production"!==process.env.NODE_ENV?{gap:Pf}:{},hm.filterProps=["gap"];const vm=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=qf(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Yf(t,e)});return Tf(e,e.columnGap,n)}return null};vm.propTypes="production"!==process.env.NODE_ENV?{columnGap:Pf}:{},vm.filterProps=["columnGap"];const bm=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=qf(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Yf(t,e)});return Tf(e,e.rowGap,n)}return null};bm.propTypes="production"!==process.env.NODE_ENV?{rowGap:Pf}:{},bm.filterProps=["rowGap"];function ym(e,t){return"grey"===t?t:e}em(hm,vm,bm,Lf({prop:"gridColumn"}),Lf({prop:"gridRow"}),Lf({prop:"gridAutoFlow"}),Lf({prop:"gridAutoColumns"}),Lf({prop:"gridAutoRows"}),Lf({prop:"gridTemplateColumns"}),Lf({prop:"gridTemplateRows"}),Lf({prop:"gridTemplateAreas"}),Lf({prop:"gridArea"}));function wm(e){return e<=1&&0!==e?100*e+"%":e}em(Lf({prop:"color",themeKey:"palette",transform:ym}),Lf({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ym}),Lf({prop:"backgroundColor",themeKey:"palette",transform:ym}));const xm=Lf({prop:"width",transform:wm}),Sm=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||Rf[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:wm(t)}};return Tf(e,e.maxWidth,t)}return null};Sm.filterProps=["maxWidth"];const Cm=Lf({prop:"minWidth",transform:wm}),km=Lf({prop:"height",transform:wm}),Om=Lf({prop:"maxHeight",transform:wm}),Em=Lf({prop:"minHeight",transform:wm});Lf({prop:"size",cssProperty:"width",transform:wm}),Lf({prop:"size",cssProperty:"height",transform:wm});em(xm,Sm,Cm,km,Om,Em,Lf({prop:"boxSizing"}));const Im={border:{themeKey:"borders",transform:tm},borderTop:{themeKey:"borders",transform:tm},borderRight:{themeKey:"borders",transform:tm},borderBottom:{themeKey:"borders",transform:tm},borderLeft:{themeKey:"borders",transform:tm},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:tm},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gm},color:{themeKey:"palette",transform:ym},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ym},backgroundColor:{themeKey:"palette",transform:ym},p:{style:Qf},pt:{style:Qf},pr:{style:Qf},pb:{style:Qf},pl:{style:Qf},px:{style:Qf},py:{style:Qf},padding:{style:Qf},paddingTop:{style:Qf},paddingRight:{style:Qf},paddingBottom:{style:Qf},paddingLeft:{style:Qf},paddingX:{style:Qf},paddingY:{style:Qf},paddingInline:{style:Qf},paddingInlineStart:{style:Qf},paddingInlineEnd:{style:Qf},paddingBlock:{style:Qf},paddingBlockStart:{style:Qf},paddingBlockEnd:{style:Qf},m:{style:Xf},mt:{style:Xf},mr:{style:Xf},mb:{style:Xf},ml:{style:Xf},mx:{style:Xf},my:{style:Xf},margin:{style:Xf},marginTop:{style:Xf},marginRight:{style:Xf},marginBottom:{style:Xf},marginLeft:{style:Xf},marginX:{style:Xf},marginY:{style:Xf},marginInline:{style:Xf},marginInlineStart:{style:Xf},marginInlineEnd:{style:Xf},marginBlock:{style:Xf},marginBlockStart:{style:Xf},marginBlockEnd:{style:Xf},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:hm},rowGap:{style:bm},columnGap:{style:vm},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:wm},maxWidth:{style:Sm},minWidth:{transform:wm},height:{transform:wm},maxHeight:{transform:wm},minHeight:{transform:wm},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const $m=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=_f(n,l)||{};if(c)return c(o);return Tf(o,t,(t=>{let n=Mf(u,s,t);return t===n&&"string"==typeof t&&(n=Mf(u,s,`${e}${"default"===t?"":Df(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??Im;function i(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const i=function(e={}){const t=e.keys?.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return t||{}}(o.breakpoints),l=Object.keys(i);let s=i;return Object.keys(r).forEach((n=>{const i=(l=r[n],c=o,"function"==typeof l?l(c):l);var l,c;if(null!=i)if("object"==typeof i)if(a[n])s=zf(s,e(n,i,o,a));else{const e=Tf({theme:o},i,(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,i)?s=zf(s,e):s[n]=t({sx:i,theme:o})}else s=zf(s,e(n,i,o,a))})),function(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)}));return n.length?n.reduce(((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e}),Qu({},t)):t}(o,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(r)?r.map(i):i(r)}}();function Pm(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:{}}$m.filterProps=["sx"];const zm=["breakpoints","palette","spacing","shape"];function Rm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=wf(e,zm),l=Ef(n),s=Zf(o);let c=Cf({breakpoints:l,direction:"ltr",components:{},palette:Qu({mode:"light"},r),spacing:s,shape:Qu({},$f,a)},i);return c=If(c),c.applyStyles=Pm,c=t.reduce(((e,t)=>Cf(e,t)),c),c.unstable_sxConfig=Qu({},Im,i?.unstable_sxConfig),c.unstable_sx=function(e){return $m({sx:e,theme:this})},c}function Nm(e=null){const t=r.useContext(Jp);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Am=Rm();const Tm=e=>e,Dm=(()=>{let e=Tm;return{configure(t){e=t},generate:t=>e(t),reset(){e=Tm}}})();function _m(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=_m(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Mm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=_m(e))&&(r&&(r+=" "),r+=t);return r}const Lm={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 Fm(e,t,n="Mui"){const r=Lm[t];return r?`${n}-${r}`:`${Dm.generate(e)}-${t}`}var Vm,jm={exports:{}},Bm={};var Hm,Wm={};
|
|
977
|
+
/**
|
|
978
|
+
* @license React
|
|
979
|
+
* react-is.development.js
|
|
980
|
+
*
|
|
981
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
982
|
+
*
|
|
983
|
+
* This source code is licensed under the MIT license found in the
|
|
984
|
+
* LICENSE file in the root directory of this source tree.
|
|
985
|
+
*/"production"===process.env.NODE_ENV?jm.exports=function(){if(Vm)return Bm;Vm=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"),Bm.ContextConsumer=l,Bm.ContextProvider=i,Bm.Element=t,Bm.ForwardRef=c,Bm.Fragment=r,Bm.Lazy=f,Bm.Memo=p,Bm.Portal=n,Bm.Profiler=a,Bm.StrictMode=o,Bm.Suspense=u,Bm.SuspenseList=d,Bm.isAsyncMode=function(){return!1},Bm.isConcurrentMode=function(){return!1},Bm.isContextConsumer=function(e){return g(e)===l},Bm.isContextProvider=function(e){return g(e)===i},Bm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Bm.isForwardRef=function(e){return g(e)===c},Bm.isFragment=function(e){return g(e)===r},Bm.isLazy=function(e){return g(e)===f},Bm.isMemo=function(e){return g(e)===p},Bm.isPortal=function(e){return g(e)===n},Bm.isProfiler=function(e){return g(e)===a},Bm.isStrictMode=function(e){return g(e)===o},Bm.isSuspense=function(e){return g(e)===u},Bm.isSuspenseList=function(e){return g(e)===d},Bm.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)},Bm.typeOf=g,Bm}():jm.exports=(Hm||(Hm=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,w=r,x=f,S=p,C=n,k=a,O=o,E=u,I=d,$=!1,P=!1;Wm.ContextConsumer=h,Wm.ContextProvider=v,Wm.Element=b,Wm.ForwardRef=y,Wm.Fragment=w,Wm.Lazy=x,Wm.Memo=S,Wm.Portal=C,Wm.Profiler=k,Wm.StrictMode=O,Wm.Suspense=E,Wm.SuspenseList=I,Wm.isAsyncMode=function(e){return $||($=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Wm.isConcurrentMode=function(e){return P||(P=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Wm.isContextConsumer=function(e){return g(e)===l},Wm.isContextProvider=function(e){return g(e)===i},Wm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Wm.isForwardRef=function(e){return g(e)===c},Wm.isFragment=function(e){return g(e)===r},Wm.isLazy=function(e){return g(e)===f},Wm.isMemo=function(e){return g(e)===p},Wm.isPortal=function(e){return g(e)===n},Wm.isProfiler=function(e){return g(e)===a},Wm.isStrictMode=function(e){return g(e)===o},Wm.isSuspense=function(e){return g(e)===u},Wm.isSuspenseList=function(e){return g(e)===d},Wm.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)},Wm.typeOf=g}()),Wm);var Gm=jm.exports;function qm(e,t=""){return e.displayName||e.name||t}function Um(e,t,n){const r=qm(t);return e.displayName||(""!==r?`${n}(${r})`:n)}const Ym=["ownerState"],Km=["variants"],Jm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Xm(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Qm=Rm(),Zm=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function eg({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function tg(e){return e?(t,n)=>n[e]:null}function ng(e,t){let{ownerState:n}=t,r=wf(t,Ym);const o="function"==typeof e?e(Qu({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>ng(e,Qu({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=wf(o,Km);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(Qu({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{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(Qu({ownerState:n},r,n)):e.style))})),t}return o}function rg(e,t){const n={...t};return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]={...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]={...a},Object.keys(o).forEach((e=>{n[r][e]=rg(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function og(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?rg(t.components[n].defaultProps,r):r}function ag({props:e,name:t,defaultTheme:n,themeId:r}){let o=function(e=Am){return Nm(e)}(n);r&&(o=o[r]||o);return og({theme:o,name:t,props:e})}const ig="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function lg(e){if(e.type)return e;if("#"===e.charAt(0))return lg(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().`:Xu(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.`:Xu(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const sg=e=>{const t=lg(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function cg(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function ug(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 dg=cg(ri.element,ug);dg.isRequired=cg(ri.element.isRequired,ug);const pg="exact-prop: ";function fg(e){return"production"===process.env.NODE_ENV?e:{...e,[pg]: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 mg(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 gg=ri.oneOfType([ri.func,ri.object]);function hg(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function vg(e){return e&&e.ownerDocument||document}function bg(e){return vg(e).defaultView||window}function yg(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let wg=0;const xg=r["useId".toString()];function Sg(e){if(void 0!==xg){const t=xg();return e??t}return function(e){const[t,n]=r.useState(e),o=e||t;return r.useEffect((()=>{null==t&&(wg+=1,n(`mui-${wg}`))}),[t]),o}(e)}function Cg({controlled:e,default:t,name:n,state:o="value"}){const{current:a}=r.useRef(void 0!==e),[i,l]=r.useState(t),s=a?e:i;if("production"!==process.env.NODE_ENV){r.useEffect((()=>{a!==(void 0!==e)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${o} 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"))}),[o,n,e]);const{current:i}=r.useRef(t);r.useEffect((()=>{a||i===t||console.error([`MUI: A component is changing the default ${o} 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,r.useCallback((e=>{a||l(e)}),[])]}function kg(e){const t=r.useRef(e);return ig((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}function Og(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{yg(e,t)}))}),e)}class Eg{static create(){return new Eg}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}let Ig=!0,$g=!1;const Pg=new Eg,zg={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 Rg(e){e.metaKey||e.altKey||e.ctrlKey||(Ig=!0)}function Ng(){Ig=!1}function Ag(){"hidden"===this.visibilityState&&$g&&(Ig=!0)}function Tg(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ig||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!zg[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Dg(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Rg,!0),t.addEventListener("mousedown",Ng,!0),t.addEventListener("pointerdown",Ng,!0),t.addEventListener("touchstart",Ng,!0),t.addEventListener("visibilitychange",Ag,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Tg(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&($g=!0,Pg.start(100,(()=>{$g=!1})),t.current=!1,!0)},ref:e}}function _g(e,t,n,r){const o=e[t];if(null==o||!Number.isInteger(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 Mg(e,t,...n){return void 0===e[t]?null:_g(e,t,...n)}function Lg(){return null}Mg.isRequired=_g,Lg.isRequired=Lg;var Fg="production"===process.env.NODE_ENV?Lg:Mg;function Vg(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}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 Bg=(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])}))},Hg=(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)},Wg=(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 Gg(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return Hg(e,((e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,s=Wg(e,t);Object.assign(o,{[r]:s}),Bg(a,e,`var(${r})`,l),Bg(i,e,`var(${r}, ${s})`,l)}}),(e=>"vars"===e[0])),{css:o,vars:a,varsWithDefaults:i}}function qg(e){return qg="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},qg(e)}function Ug(e){var t=function(e,t){if("object"!=qg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=qg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==qg(t)?t:t+""}const Yg=["getSelector"],Kg=["colorSchemes","components","defaultColorScheme"];const Jg=Qu({},Im,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});function Xg(e){return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/^(mode)$/)||"focus"===e[0]&&"thickness"!==e[1]}const Qg=(e,t)=>Fm(e,t,"Mui"),Zg=(e,t)=>function(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Fm(e,t,n)})),r}(e,t,"Mui"),eh=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},th=(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")),eh(r,t,e)}})),r},nh=(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=>e.match?.(/^(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=Qu({},n,{[a]:th(e,i,(e=>`var(--variant-${e}, ${r(`palette-${a}-${e}`,o[a][e])})`))}))}))}return n.context=th(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},rh=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar","getSelector"],oh=["colorSchemes"];function ah(e){return"number"==typeof e?`${e}px`:"string"==typeof e?e:"function"==typeof e?ah(e(1)):Array.isArray(e)?e:"8px"}const ih=function(e){const t={},{cssVarPrefix:n="joy",breakpoints:r,spacing:o,components:a,variants:i,shouldSkipGeneratingVar:l=Xg,getSelector:s}=t,c=wf(t,rh),u=((e="joy")=>jg(e))(n),d={primary:Ku.blue,neutral:Ku.grey,danger:Ku.red,success:Ku.green,warning:Ku.yellow,common:{white:"#FFF",black:"#000"}},p=e=>{const t=e.split("-"),n=t[1],r=t[2];return u(e,d[n]?.[r])},f=e=>({plainColor:p(`palette-${e}-500`),plainHoverBg:p(`palette-${e}-100`),plainActiveBg:p(`palette-${e}-200`),plainDisabledColor:p("palette-neutral-400"),outlinedColor:p(`palette-${e}-500`),outlinedBorder:p(`palette-${e}-300`),outlinedHoverBg:p(`palette-${e}-100`),outlinedActiveBg:p(`palette-${e}-200`),outlinedDisabledColor:p("palette-neutral-400"),outlinedDisabledBorder:p("palette-neutral-200"),softColor:p(`palette-${e}-700`),softBg:p(`palette-${e}-100`),softHoverBg:p(`palette-${e}-200`),softActiveColor:p(`palette-${e}-800`),softActiveBg:p(`palette-${e}-300`),softDisabledColor:p("palette-neutral-400"),softDisabledBg:p("palette-neutral-50"),solidColor:p("palette-common-white"),solidBg:p(`palette-${e}-500`),solidHoverBg:p(`palette-${e}-600`),solidActiveBg:p(`palette-${e}-700`),solidDisabledColor:p("palette-neutral-400"),solidDisabledBg:p("palette-neutral-100")}),m=e=>({plainColor:p(`palette-${e}-300`),plainHoverBg:p(`palette-${e}-800`),plainActiveBg:p(`palette-${e}-700`),plainDisabledColor:p("palette-neutral-500"),outlinedColor:p(`palette-${e}-200`),outlinedBorder:p(`palette-${e}-700`),outlinedHoverBg:p(`palette-${e}-800`),outlinedActiveBg:p(`palette-${e}-700`),outlinedDisabledColor:p("palette-neutral-500"),outlinedDisabledBorder:p("palette-neutral-800"),softColor:p(`palette-${e}-200`),softBg:p(`palette-${e}-800`),softHoverBg:p(`palette-${e}-700`),softActiveColor:p(`palette-${e}-100`),softActiveBg:p(`palette-${e}-600`),softDisabledColor:p("palette-neutral-500"),softDisabledBg:p("palette-neutral-800"),solidColor:p("palette-common-white"),solidBg:p(`palette-${e}-500`),solidHoverBg:p(`palette-${e}-600`),solidActiveBg:p(`palette-${e}-700`),solidDisabledColor:p("palette-neutral-500"),solidDisabledBg:p("palette-neutral-800")}),g={palette:{mode:"light",primary:Qu({},d.primary,f("primary")),neutral:Qu({},d.neutral,f("neutral"),{plainColor:p("palette-neutral-700"),plainHoverColor:p("palette-neutral-900"),outlinedColor:p("palette-neutral-700")}),danger:Qu({},d.danger,f("danger")),success:Qu({},d.success,f("success")),warning:Qu({},d.warning,f("warning")),common:{white:"#FFF",black:"#000"},text:{primary:p("palette-neutral-800"),secondary:p("palette-neutral-700"),tertiary:p("palette-neutral-600"),icon:p("palette-neutral-500")},background:{body:p("palette-common-white"),surface:p("palette-neutral-50"),popup:p("palette-common-white"),level1:p("palette-neutral-100"),level2:p("palette-neutral-200"),level3:p("palette-neutral-300"),tooltip:p("palette-neutral-500"),backdrop:`rgba(${u("palette-neutral-darkChannel",sg(d.neutral[900]))} / 0.25)`},divider:`rgba(${u("palette-neutral-mainChannel",sg(d.neutral[500]))} / 0.2)`,focusVisible:p("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},h={palette:{mode:"dark",primary:Qu({},d.primary,m("primary")),neutral:Qu({},d.neutral,m("neutral"),{plainColor:p("palette-neutral-300"),plainHoverColor:p("palette-neutral-300")}),danger:Qu({},d.danger,m("danger")),success:Qu({},d.success,m("success")),warning:Qu({},d.warning,m("warning")),common:{white:"#FFF",black:"#000"},text:{primary:p("palette-neutral-100"),secondary:p("palette-neutral-300"),tertiary:p("palette-neutral-400"),icon:p("palette-neutral-400")},background:{body:p("palette-common-black"),surface:p("palette-neutral-900"),popup:p("palette-common-black"),level1:p("palette-neutral-800"),level2:p("palette-neutral-700"),level3:p("palette-neutral-600"),tooltip:p("palette-neutral-600"),backdrop:`rgba(${u("palette-neutral-darkChannel",sg(d.neutral[50]))} / 0.25)`},divider:`rgba(${u("palette-neutral-mainChannel",sg(d.neutral[500]))} / 0.16)`,focusVisible:p("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},v='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',b=Qu({body:`"Inter", ${u(`fontFamily-fallback, ${v}`)}`,display:`"Inter", ${u(`fontFamily-fallback, ${v}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:v},c.fontFamily),y=Qu({sm:300,md:500,lg:600,xl:700},c.fontWeight),w=Qu({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},c.fontSize),x=Qu({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},c.lineHeight),S=c.colorSchemes?.light?.shadowRing??g.shadowRing,C=c.colorSchemes?.light?.shadowChannel??g.shadowChannel,k=c.colorSchemes?.light?.shadowOpacity??g.shadowOpacity,O={colorSchemes:{light:g,dark:h},fontSize:w,fontFamily:b,fontWeight:y,focus:{thickness:"2px",selector:`&.${Qg("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${u("focus-thickness",c.focus?.thickness??"2px")})`,outline:`${u("focus-thickness",c.focus?.thickness??"2px")} solid ${u("palette-focusVisible",d.primary[500])}`}},lineHeight:x,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${u("shadowRing",S)}, 0px 1px 2px 0px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)})`,sm:`${u("shadowRing",S)}, 0px 1px 2px 0px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)}), 0px 2px 4px 0px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)})`,md:`${u("shadowRing",S)}, 0px 2px 8px -2px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)}), 0px 6px 12px -2px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)})`,lg:`${u("shadowRing",S)}, 0px 2px 8px -2px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)}), 0px 12px 16px -4px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)})`,xl:`${u("shadowRing",S)}, 0px 2px 8px -2px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)}), 0px 20px 24px -4px rgba(${u("shadowChannel",C)} / ${u("shadowOpacity",k)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:u(`fontFamily-display, ${b.display}`),fontWeight:u(`fontWeight-xl, ${y.xl}`),fontSize:u(`fontSize-xl4, ${w.xl4}`),lineHeight:u(`lineHeight-xs, ${x.xs}`),letterSpacing:"-0.025em",color:u(`palette-text-primary, ${g.palette.text.primary}`)},h2:{fontFamily:u(`fontFamily-display, ${b.display}`),fontWeight:u(`fontWeight-xl, ${y.xl}`),fontSize:u(`fontSize-xl3, ${w.xl3}`),lineHeight:u(`lineHeight-xs, ${x.xs}`),letterSpacing:"-0.025em",color:u(`palette-text-primary, ${g.palette.text.primary}`)},h3:{fontFamily:u(`fontFamily-display, ${b.display}`),fontWeight:u(`fontWeight-lg, ${y.lg}`),fontSize:u(`fontSize-xl2, ${w.xl2}`),lineHeight:u(`lineHeight-xs, ${x.xs}`),letterSpacing:"-0.025em",color:u(`palette-text-primary, ${g.palette.text.primary}`)},h4:{fontFamily:u(`fontFamily-display, ${b.display}`),fontWeight:u(`fontWeight-lg, ${y.lg}`),fontSize:u(`fontSize-xl, ${w.xl}`),lineHeight:u(`lineHeight-md, ${x.md}`),letterSpacing:"-0.025em",color:u(`palette-text-primary, ${g.palette.text.primary}`)},"title-lg":{fontFamily:u(`fontFamily-body, ${b.body}`),fontWeight:u(`fontWeight-lg, ${y.lg}`),fontSize:u(`fontSize-lg, ${w.lg}`),lineHeight:u(`lineHeight-xs, ${x.xs}`),color:u(`palette-text-primary, ${g.palette.text.primary}`)},"title-md":{fontFamily:u(`fontFamily-body, ${b.body}`),fontWeight:u(`fontWeight-md, ${y.md}`),fontSize:u(`fontSize-md, ${w.md}`),lineHeight:u(`lineHeight-md, ${x.md}`),color:u(`palette-text-primary, ${g.palette.text.primary}`)},"title-sm":{fontFamily:u(`fontFamily-body, ${b.body}`),fontWeight:u(`fontWeight-md, ${y.md}`),fontSize:u(`fontSize-sm, ${w.sm}`),lineHeight:u(`lineHeight-sm, ${x.sm}`),color:u(`palette-text-primary, ${g.palette.text.primary}`)},"body-lg":{fontFamily:u(`fontFamily-body, ${b.body}`),fontSize:u(`fontSize-lg, ${w.lg}`),lineHeight:u(`lineHeight-md, ${x.md}`),color:u(`palette-text-secondary, ${g.palette.text.secondary}`)},"body-md":{fontFamily:u(`fontFamily-body, ${b.body}`),fontSize:u(`fontSize-md, ${w.md}`),lineHeight:u(`lineHeight-md, ${x.md}`),color:u(`palette-text-secondary, ${g.palette.text.secondary}`)},"body-sm":{fontFamily:u(`fontFamily-body, ${b.body}`),fontSize:u(`fontSize-sm, ${w.sm}`),lineHeight:u(`lineHeight-md, ${x.md}`),color:u(`palette-text-tertiary, ${g.palette.text.tertiary}`)},"body-xs":{fontFamily:u(`fontFamily-body, ${b.body}`),fontWeight:u(`fontWeight-md, ${y.md}`),fontSize:u(`fontSize-xs, ${w.xs}`),lineHeight:u(`lineHeight-md, ${x.md}`),color:u(`palette-text-tertiary, ${g.palette.text.tertiary}`)}}},E=c?Cf(O,c):O,{colorSchemes:I}=E;let $=Qu({colorSchemes:I,defaultColorScheme:"light"},wf(E,oh),{breakpoints:Ef(r??{}),components:Cf({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{const n=e.instanceFontSize;return Qu({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&Qu({color:`var(--Icon-color, ${$.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${t.vars.palette[e.color]?.mainChannel} / 1)`}),n&&"inherit"!==n&&{"--Icon-fontSize":t.vars.fontSize[n]})}}}},a),cssVarPrefix:n,getCssVar:u,spacing:ah(o)});$=If($),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=sg(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=sg(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=sg(t[n][r.dark]))}))}(e,t.palette)}));const P={prefix:n,shouldSkipGeneratingVar:l,getSelector:s||(e=>$.defaultColorScheme===e?`${$.colorSchemeSelector}, [${$.attribute}="${e}"]`:e?`[${$.attribute}="${e}"]`:$.colorSchemeSelector)},{vars:z,generateThemeVars:R,generateStyleSheets:N}=function(e,t={}){let{getSelector:n}=t,r=wf(t,Yg);const{colorSchemes:o={},defaultColorScheme:a="light"}=e,i=wf(e,Kg),{vars:l,css:s,varsWithDefaults:c}=Gg(i,r);let u=c;const d={},{[a]:p}=o,f=wf(o,[a].map(Ug));if(Object.entries(f||{}).forEach((([e,t])=>{const{vars:n,css:o,varsWithDefaults:a}=Gg(t,r);u=Cf(u,a),d[e]={css:o,vars:n}})),p){const{css:e,vars:t,varsWithDefaults:n}=Gg(p,r);u=Cf(u,n),d[a]={css:e,vars:t}}return{vars:u,generateThemeVars:()=>{let e=Qu({},l);return Object.entries(d).forEach((([,{vars:t}])=>{e=Cf(e,t)})),e},generateStyleSheets:()=>{const t=[],r=e.defaultColorScheme||"light";function o(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:Qu({},n)}:e)}o(n?.(void 0,Qu({},s))||":root",s);const{[r]:a}=d,i=wf(d,[r].map(Ug));if(a){const{css:t}=a;o(n?.(r,Qu({},t))||`[${e.attribute||"data-color-scheme"}="${r}"]`,t)}return Object.entries(i).forEach((([t,{css:r}])=>{o(n?.(t,Qu({},r))||`[${e.attribute||"data-color-scheme"}="${t}"]`,r)})),t}}}($,P);$.attribute="data-joy-color-scheme",$.colorSchemeSelector=":root",$.vars=z,$.generateThemeVars=R,$.generateStyleSheets=N,$.generateSpacing=function(){return Zf(o,Uf(this))},$.spacing=$.generateSpacing(),$.unstable_sxConfig=Qu({},Jg,e?.unstable_sxConfig),$.unstable_sx=function(e){return $m({sx:e,theme:this})},$.getColorSchemeSelector=e=>`[${$.attribute}="${e}"] &`;const A={getCssVar:u,palette:$.colorSchemes.light.palette};return $.variants=Cf({plain:nh("plain",A),plainHover:nh("plainHover",A),plainActive:nh("plainActive",A),plainDisabled:nh("plainDisabled",A),outlined:nh("outlined",A),outlinedHover:nh("outlinedHover",A),outlinedActive:nh("outlinedActive",A),outlinedDisabled:nh("outlinedDisabled",A),soft:nh("soft",A),softHover:nh("softHover",A),softActive:nh("softActive",A),softDisabled:nh("softDisabled",A),solid:nh("solid",A),solidHover:nh("solidHover",A),solidActive:nh("solidActive",A),solidDisabled:nh("solidDisabled",A)},i),Object.entries($.colorSchemes[$.defaultColorScheme]).forEach((([e,t])=>{$[e]=t})),$.palette=Qu({},$.colorSchemes.light.palette,{colorScheme:"light"}),$.shouldSkipGeneratingVar=l,$.applyStyles=Pm,$}(),lh=function(e={}){const{themeId:t,defaultTheme:n=Qm,rootShouldForwardProp:r=Xm,slotShouldForwardProp:o=Xm}=e,a=e=>$m(Qu({},e,{theme:eg(Qu({},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=>!e?.__mui_systemSx))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=tg(Zm(s))}=i,p=wf(i,Jm),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,m=u||!1;let g;"production"!==process.env.NODE_ENV&&l&&(g=`${l}-${Zm(s||"Root")}`);let h=Xm;"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=
|
|
986
|
+
/**
|
|
987
|
+
* @mui/styled-engine v6.0.0-dev.20240529-082515-213b5e33ab
|
|
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(e,t){const n=yf(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}(e,Qu({shouldForwardProp:h,label:g},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||xf(e)?r=>ng(e,Qu({},r,{theme:eg({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=eg(Qu({},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]=ng(n,Qu({},e,{theme:r}))})),d(e,a)})),l&&!f&&c.push((e=>{const r=eg(Qu({},e,{defaultTheme:n,themeId:t})),o=r?.components?.[l]?.variants;return ng({variants:o},Qu({},e,{theme:r}))})),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}${Df(s||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return qm(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Gm.ForwardRef:return Um(e,e.render,"ForwardRef");case Gm.Memo:return Um(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}}({defaultTheme:ih,themeId:Ju});function sh({props:e,name:t}){return ag({props:e,name:t,defaultTheme:Qu({},ih,{components:{}}),themeId:Ju})}function ch(e,t,n){return void 0===e||"string"==typeof e?t:Qu({},t,{ownerState:Qu({},t.ownerState,n)})}const uh={disableDefaultClasses:!1},dh=r.createContext(uh);function ph(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 fh(e,t,n){return"function"==typeof e?e(t,n):e}function mh(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 gh(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Mm(n?.className,a,o?.className,r?.className),t=Qu({},n?.style,o?.style,r?.style),i=Qu({},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=ph(Qu({},o,r)),l=mh(r),s=mh(o),c=t(i),u=Mm(c?.className,n?.className,a,o?.className,r?.className),d=Qu({},c?.style,n?.style,o?.style,r?.style),p=Qu({},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&&(dh.displayName="ClassNameConfiguratorContext");const hh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const vh="base";function bh(e,t){const n=Lm[t];return n?`${vh}--${n}`:function(e,t){return`${vh}-${e}-${t}`}(e,t)}function yh(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:o,rootRef:a,tabIndex:i,to:l,type:s,rootElementName:c}=e,u=r.useRef(),[d,p]=r.useState(!1),{isFocusVisibleRef:f,onFocus:m,onBlur:g,ref:h}=Dg(),[v,b]=r.useState(!1);t&&!n&&v&&b(!1),r.useEffect((()=>{f.current=v}),[v,f]);const[y,w]=function(e){const{rootElementName:t="",componentName:n}=e,[o,a]=r.useState(t.toUpperCase());"production"!==process.env.NODE_ENV&&r.useEffect((()=>{t&&o!==t.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${n?`the ${n} component`:"a component"} expected the '${t}' element, but a '${o.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")}),[t,o,n]);const i=r.useCallback((e=>{a(e?.tagName??"")}),[]);return[o,i]}({rootElementName:c??(o||l?"a":void 0),componentName:"Button"}),x=e=>t=>{v&&t.preventDefault(),e.onMouseLeave?.(t)},S=e=>t=>{u.current||(u.current=t.currentTarget),m(t),!0===f.current&&(b(!0),e.onFocusVisible?.(t)),e.onFocus?.(t)},C=()=>{const e=u.current;return"BUTTON"===y||"INPUT"===y&&["button","submit","reset"].includes(e?.type)||"A"===y&&e?.href},k=e=>n=>{t||e.onClick?.(n)},O=e=>n=>{t||(p(!0),document.addEventListener("mouseup",(()=>{p(!1)}),{once:!0})),e.onMouseDown?.(n)},E=e=>n=>{e.onKeyDown?.(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||(e.onClick?.(n),n.preventDefault()))},I=e=>n=>{n.target===n.currentTarget&&p(!1),e.onKeyUp?.(n),n.target!==n.currentTarget||C()||t||" "!==n.key||n.defaultMuiPrevented||e.onClick?.(n)},$=Og(w,a,h,u),P={};void 0!==i&&(P.tabIndex=i),"BUTTON"===y?(P.type=s??"button",n?P["aria-disabled"]=t:P.disabled=t):"INPUT"===y?s&&["button","submit","reset"].includes(s)&&(n?P["aria-disabled"]=t:P.disabled=t):""!==y&&(o||l||(P.role="button",P.tabIndex=i??0),t&&(P["aria-disabled"]=t,P.tabIndex=n?i??0:-1));return{getRootProps:(t={})=>{const n=Qu({},ph(e),ph(t)),r=Qu({type:s},n,P,t,{onBlur:(o=n,e=>{g(e),!1===f.current&&b(!1),o.onBlur?.(e)}),onClick:k(n),onFocus:S(n),onKeyDown:E(n),onKeyUp:I(n),onMouseDown:O(n),onMouseLeave:x(n),ref:$});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:b,active:d,rootRef:$}}const wh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xh(e){const t=[],n=[];return Array.from(e.querySelectorAll(wh)).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 Sh(){return!0}function Ch(n){const{children:o,disableAutoFocus:a=!1,disableEnforceFocus:i=!1,disableRestoreFocus:l=!1,getTabbable:s=xh,isEnabled:c=Sh,open:u}=n,d=r.useRef(!1),p=r.useRef(null),f=r.useRef(null),m=r.useRef(null),g=r.useRef(null),h=r.useRef(!1),v=r.useRef(null),b=Og(o.ref,v),y=r.useRef(null);r.useEffect((()=>{u&&v.current&&(h.current=!a)}),[a,u]),r.useEffect((()=>{if(!u||!v.current)return;const e=vg(v.current);return v.current.contains(e.activeElement)||(v.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")),v.current.setAttribute("tabIndex","-1")),h.current&&v.current.focus()),()=>{l||(m.current&&m.current.focus&&(d.current=!0,m.current.focus()),m.current=null)}}),[u]),r.useEffect((()=>{if(!u||!v.current)return;const e=vg(v.current),t=t=>{y.current=t,!i&&c()&&"Tab"===t.key&&e.activeElement===v.current&&t.shiftKey&&(d.current=!0,f.current&&f.current.focus())},n=()=>{const t=v.current;if(null===t)return;if(!e.hasFocus()||!c()||d.current)return void(d.current=!1);if(t.contains(e.activeElement))return;if(i&&e.activeElement!==p.current&&e.activeElement!==f.current)return;if(e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!h.current)return;let n=[];if(e.activeElement!==p.current&&e.activeElement!==f.current||(n=s(v.current)),n.length>0){const e=Boolean(y.current?.shiftKey&&"Tab"===y.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.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)}}),[a,i,l,c,u,s]);const w=e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0};return t(r.Fragment,{children:[e("div",{tabIndex:u?0:-1,onFocus:w,ref:p,"data-testid":"sentinelStart"}),r.cloneElement(o,{ref:b,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0,g.current=e.target;const t=o.props.onFocus;t&&t(e)}}),e("div",{tabIndex:u?0:-1,onFocus:w,ref:f,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(Ch.propTypes={children:dg,disableAutoFocus:ri.bool,disableEnforceFocus:ri.bool,disableRestoreFocus:ri.bool,getTabbable:ri.func,isEnabled:ri.func,open:ri.bool.isRequired}),"production"!==process.env.NODE_ENV&&(Ch.propTypes=fg(Ch.propTypes));const kh=r.createContext(void 0);function Oh(e={}){const{defaultValue:t,disabled:n=!1,error:o=!1,onBlur:a,onChange:i,onFocus:l,required:s=!1,value:c,inputRef:u}=e,d=r.useContext(kh);let p,f,m,g,h;if(d){if(p=void 0,f=d.disabled??!1,m=d.error??!1,g=d.required??!1,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=o,g=s,h=c;const{current:v}=r.useRef(null!=h),b=r.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"))}),[]),y=r.useRef(null),w=Og(y,u,b),[x,S]=r.useState(!1);r.useEffect((()=>{!d&&f&&x&&(S(!1),a?.())}),[d,f,x,a]);const C=e=>t=>{d?.disabled?t.stopPropagation():(e.onFocus?.(t),d&&d.onFocus?d?.onFocus?.():S(!0))},k=e=>(t,...n)=>{if(!v){if(null==(t.target||y.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.":Xu(17))}d?.onChange?.(t),e.onChange?.(t,...n)};return{disabled:f,error:m,focused:x,formControlContext:d,getInputProps:(e={})=>{const t=Qu({},{onBlur:a,onChange:i,onFocus:l},ph(e)),n=Qu({},t,{onBlur:(r=t,e=>{r.onBlur?.(e),d&&d.onBlur?d.onBlur():S(!1)}),onChange:k(t),onFocus:C(t)});var r;return Qu({},n,{"aria-invalid":m||void 0,defaultValue:p,value:h,required:g,disabled:f},e,{ref:w},n)},getRootProps:(t={})=>{const n=Qu({},ph(e,["onBlur","onChange","onFocus"]),ph(t));return Qu({},t,n,{onClick:(r=n,e=>{y.current&&e.currentTarget===e.target&&y.current.focus(),r.onClick?.(e)})});var r},inputRef:w,required:g,value:h}}"production"!==process.env.NODE_ENV&&(kh.displayName="FormControlContext");const Eh=r.forwardRef((function(t,n){const{children:o,container:a,disablePortal:i=!1}=t,[l,s]=r.useState(null),c=Og(r.isValidElement(o)?o.ref:null,n);if(ig((()=>{i||s(function(e){return"function"==typeof e?e():e}(a)||document.body)}),[a,i]),ig((()=>{if(l&&!i)return yg(n,l),()=>{yg(n,null)}}),[n,l,i]),i){if(r.isValidElement(o)){const e={ref:c};return r.cloneElement(o,e)}return e(r.Fragment,{children:o})}return e(r.Fragment,{children:l?g.createPortal(o,l):l})}));function Ih(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function $h(e){return parseInt(bg(e).getComputedStyle(e).paddingRight,10)||0}function Ph(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&&Ih(e,o)}))}function zh(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Rh(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=vg(e);return t.body===e?bg(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)}(vg(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${$h(r)+e}px`;const t=vg(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${$h(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=vg(r).body;else{const t=r.parentElement,n=bg(r);e="HTML"===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&&(Eh.propTypes={children:ri.node,container:ri.oneOfType([mg,ri.func]),disablePortal:ri.bool}),"production"!==process.env.NODE_ENV&&(Eh.propTypes=fg(Eh.propTypes));const Nh=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&&Ih(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);Ph(t,e.mount,e.modalRef,r,!0);const o=zh(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=zh(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Rh(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=zh(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&&Ih(e.modalRef,t),Ph(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&&Ih(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Ah(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=Nh,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:p}=e,f=r.useRef({}),m=r.useRef(null),g=r.useRef(null),h=Og(g,p),[v,b]=r.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const x=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),S=()=>{a.mount(x(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},C=kg((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||vg(m.current).body;a.add(x(),e),g.current&&S()})),k=r.useCallback((()=>a.isTopModal(x())),[a]),O=kg((e=>{m.current=e,e&&(d&&k()?S():g.current&&Ih(g.current,w))})),E=r.useCallback((()=>{a.remove(x(),w)}),[w,a]);r.useEffect((()=>()=>{E()}),[E]),r.useEffect((()=>{d?C():y&&i||E()}),[d,E,y,i,C]);const I=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},$=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=ph(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=Qu({},n,t);return Qu({role:"presentation"},r,{onKeyDown:I(r),ref:h})},getBackdropProps:(e={})=>Qu({"aria-hidden":!0},e,{onClick:$(e),open:d}),getTransitionProps:()=>({onEnter:hg((()=>{b(!1),l&&l()}),c?.props.onEnter),onExited:hg((()=>{b(!0),s&&s(),i&&E()}),c?.props.onExited)}),rootRef:h,portalRef:O,isTopModal:k,exited:v,hasTransition:y}}const Th="Popper";function Dh(e){return bh(Th,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=bh(e,t)}))}(Th,["root"]);const _h=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Mh=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Lh(e){return"function"==typeof e?e():e}function Fh(e){return void 0!==e.nodeType}const Vh=()=>Vg({root:["root"]},function(e){const{disableDefaultClasses:t}=r.useContext(dh);return n=>t?"":e(n)}(Dh)),jh={},Bh=r.forwardRef((function(t,n){const{anchorEl:o,children:a,direction:i,disablePortal:l,modifiers:s,open:c,placement:u,popperOptions:d,popperRef:p,slotProps:f={},slots:m={},TransitionProps:g}=t,h=wf(t,_h),v=r.useRef(null),b=Og(v,n),y=r.useRef(null),w=Og(y,p),x=r.useRef(w);ig((()=>{x.current=w}),[w]),r.useImperativeHandle(p,(()=>y.current),[]);const S=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}}(u,i),[C,k]=r.useState(S),[O,E]=r.useState(Lh(o));r.useEffect((()=>{y.current&&y.current.forceUpdate()})),r.useEffect((()=>{o&&E(Lh(o))}),[o]),ig((()=>{if(!O||!c)return;if("production"!==process.env.NODE_ENV&&O&&Fh(O)&&1===O.nodeType){const e=O.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:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{k(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Ls(O,v.current,Qu({placement:S},d,{modifiers:e}));return x.current(t),()=>{t.destroy(),x.current(null)}}),[O,l,s,c,d,S]);const I={placement:C};null!==g&&(I.TransitionProps=g);const $=Vh(),P=m.root??"div",z=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1}=e,a=wf(e,hh),i=o?{}:fh(n,r),{props:l,internalRef:s}=gh(Qu({},a,{externalSlotProps:i}));return ch(t,Qu({},l,{ref:Og(s,i?.ref,e.additionalProps?.ref)}),r)}({elementType:P,externalSlotProps:f.root,externalForwardedProps:h,additionalProps:{role:"tooltip",ref:b},ownerState:t,className:$.root});return e(P,Qu({},z,{children:"function"==typeof a?a(I):a}))})),Hh=r.forwardRef((function(t,n){const{anchorEl:o,children:a,container:i,direction:l="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:f=jh,popperRef:m,style:g,transition:h=!1,slotProps:v={},slots:b={}}=t,y=wf(t,Mh),[w,x]=r.useState(!0);if(!c&&!d&&(!h||w))return null;let S;if(i)S=i;else if(o){const e=Lh(o);S=e&&Fh(e)?vg(e).body:vg(null).body}const C=h?{in:d,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return e(Eh,{disablePortal:s,container:S,children:e(Bh,Qu({anchorEl:o,direction:l,disablePortal:s,modifiers:u,ref:n,open:h?!w:d,placement:p,popperOptions:f,popperRef:m,slotProps:v,slots:b},y,{style:Qu({position:"fixed",top:0,left:0,display:d||!c||h&&!w?void 0:"none"},g),TransitionProps:C,children:a}))})}));function Wh(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Gh(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(Hh.propTypes={anchorEl:cg(ri.oneOfType([mg,ri.object,ri.func]),(e=>{if(e.open){const t=Lh(e.anchorEl);if(t&&Fh(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||!Fh(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:ri.oneOfType([ri.node,ri.func]),container:ri.oneOfType([mg,ri.func]),direction:ri.oneOf(["ltr","rtl"]),disablePortal:ri.bool,keepMounted:ri.bool,modifiers:ri.arrayOf(ri.shape({data:ri.object,effect:ri.func,enabled:ri.bool,fn:ri.func,name:ri.any,options:ri.object,phase:ri.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:ri.arrayOf(ri.string),requiresIfExists:ri.arrayOf(ri.string)})),open:ri.bool.isRequired,placement:ri.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:ri.shape({modifiers:ri.array,onFirstUpdate:ri.func,placement:ri.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:ri.oneOf(["absolute","fixed"])}),popperRef:gg,slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),transition:ri.bool});const qh=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=Wh(c));const u=c?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Wh(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),Uh=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement);function Yh(e){const{unstable_isActiveElementInListbox:t=Uh,unstable_classNamePrefix:n="Mui",autoComplete:o=!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=qh,filterSelectedOptions:b=!1,freeSolo:y=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:S=(e=>e.label??e),groupBy:C,handleHomeEndKeys:k=!e.freeSolo,id:O,includeInputInList:E=!1,inputValue:I,isOptionEqualToValue:$=((e,t)=>e===t),multiple:P=!1,onChange:z,onClose:R,onHighlightChange:N,onInputChange:A,onOpen:T,open:D,openOnFocus:_=!1,options:M,readOnly:L=!1,selectOnFocus:F=!e.freeSolo,value:V}=e,j=Sg(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=r.useRef(!1),W=r.useRef(!0),G=r.useRef(null),q=r.useRef(null),[U,Y]=r.useState(null),[K,J]=r.useState(-1),X=a?0:-1,Q=r.useRef(X),[Z,ee]=Cg({controlled:V,default:d,name:u}),[te,ne]=Cg({controlled:I,default:"",name:u,state:"inputValue"}),[re,oe]=r.useState(!1),ae=r.useCallback(((e,t)=>{if(!(P?Z.length<t.length:null!==t)&&!s)return;let n;if(P)n="";else if(null==t)n="";else{const e=B(t);n="string"==typeof e?e:""}te!==n&&(ne(n),A&&A(e,n,"reset"))}),[B,te,P,A,ne,s,Z]),[ie,le]=Cg({controlled:D,default:!1,name:u,state:"open"}),[se,ce]=r.useState(!0),ue=!P&&null!=Z&&te===B(Z),de=ie&&!L,pe=de?v(M.filter((e=>!b||!(P?Z:[Z]).some((t=>null!==t&&$(e,t))))),{inputValue:ue&&se?"":te,getOptionLabel:B}):[],fe=(e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current})({filteredOptions:pe,value:Z,inputValue:te});r.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&&!L;if("production"!==process.env.NODE_ENV&&null!==Z&&!y&&M.length>0){const e=(P?Z:[Z]).filter((e=>!M.some((t=>$(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=kg((e=>{-1===e?G.current.focus():U.querySelector(`[data-tag-index="${e}"]`).focus()}));r.useEffect((()=>{P&&K>Z.length-1&&(J(-1),ge(-1))}),[Z,P,K,ge]);const he=kg((({event:e,index:t,reason:r="auto"})=>{if(Q.current=t,-1===t?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${j}-option-${t}`),N&&N(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=kg((({event:e,diff:t,direction:n="next",reason:r="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:r,event:e}),o&&"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=r.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==Q.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===te&&(P?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 Gh(pe,(t=>B(t)===B(e)))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=P?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(P&&e&&-1!==Gh(Z,(t=>$(e,t))))return;const n=Gh(pe,(e=>$(e,t)));-1===n?ve({diff:"reset"}):he({index:n})}}else ve({diff:"reset"})}),[pe.length,!P&&Z,b,ve,he,de,te,P]),ye=kg((e=>{yg(q,e),e&&be()}));"production"!==process.env.NODE_ENV&&r.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]),r.useEffect((()=>{be()}),[be]);const we=e=>{ie||(le(!0),ce(!0),T&&T(e))},xe=(e,t)=>{ie&&(le(!1),R&&R(e,t))},Se=(e,t,n,r)=>{if(P){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;z&&z(e,t,n,r),ee(t)},Ce=r.useRef(!1),ke=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if(P){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>$(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=Gh(a,(e=>$(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)||xe(e,o),(!0===l||"touch"===l&&Ce.current||"mouse"===l&&!Ce.current)&&G.current.blur()};const Oe=(e,t)=>{if(!P)return;""===te&&xe(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)},Ee=e=>{H.current=!0,ne(""),A&&A(e,"","clear"),Se(e,P?[]: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}),we(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(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=!!w&&w(e);if(t.preventDefault(),n)return;ke(t,e,"selectOption"),o&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else y&&""!==te&&!1===ue&&(P&&t.preventDefault(),ke(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):c&&(""!==te||P&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Ee(t));break;case"Backspace":if(P&&!L&&""===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(P&&!L&&""===te&&Z.length>0&&-1!==K){const e=K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}}},$e=e=>{oe(!0),_&&!H.current&&we(e)},Pe=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),xe(e,"blur"))},ze=e=>{const t=e.target.value;te!==t&&(ne(t),ce(!1),A&&A(e,t,"input")),""===t?p||P||Se(e,null,"clear"):we(e)},Re=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&he({event:e,index:t,reason:"mouse"})},Ne=e=>{he({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},Ae=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]})},De=e=>{ie?xe(e,"toggleInput"):we(e)},_e=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==j&&e.preventDefault()},Me=e=>{e.currentTarget.contains(e.target)&&(G.current.focus(),F&&W.current&&G.current.selectionEnd-G.current.selectionStart==0&&G.current.select(),W.current=!1)},Le=e=>{m||""!==te&&ie||De(e)};let Fe=y&&te.length>0;Fe=Fe||(P?Z.length>0:null!==Z);let Ve=pe;if(C){const e=new Map;let t=!1;Ve=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&&Pe(),{getRootProps:(e={})=>Qu({"aria-owns":me?`${j}-listbox`:null},e,{onKeyDown:Ie(e),onMouseDown:_e,onClick:Me}),getInputLabelProps:()=>({id:`${j}-label`,htmlFor:j}),getInputProps:()=>({id:j,value:te,onBlur:Pe,onFocus:$e,onChange:ze,onMouseDown:Le,"aria-activedescendant":de?"":null,"aria-autocomplete":o?"both":"list","aria-controls":me?`${j}-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:De}),getTagProps:({index:e})=>Qu({key:e,"data-tag-index":e,tabIndex:-1},!L&&{onDelete:Te(e)}),getListboxProps:()=>({role:"listbox",id:`${j}-listbox`,"aria-labelledby":`${j}-label`,ref:ye,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(P?Z:[Z]).some((e=>null!=e&&$(t,e))),r=!!w&&w(t);return{key:x?.(t)??B(t),tabIndex:-1,role:"option",id:`${j}-option-${e}`,onMouseMove:Re,onClick:Ae,onTouchStart:Ne,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:j,inputValue:te,value:Z,dirty:Fe,expanded:de&&U,popupOpen:de,focused:re||-1!==K,anchorEl:U,setAnchorEl:Y,focusedTag:K,groupedOptions:Ve}}const Kh=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Jh=["component","slots","slotProps"],Xh=["component"];function Qh(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:l}=t,s=wf(t,Kh),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=a,p=wf(a,Jh),f=u[e]||r,m=fh(d[e],o),g=gh(Qu({className:n},s,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:m})),{props:{component:h},internalRef:v}=g,b=wf(g.props,Xh),y=Og(v,m?.ref,t.ref),w=i?i(b):{},x=Qu({},o,w),S="root"===e?h||c:h,C=ch(f,Qu({},"root"===e&&!c&&!u[e]&&l,"root"!==e&&!u[e]&&l,b,S&&{as:S},{ref:y}),x);return Object.keys(w).forEach((e=>{delete C[e]})),[f,C]}function Zh(e){return Qg("MuiListItem",e)}const ev=Zg("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),tv=r.createContext(!1);"production"!==process.env.NODE_ENV&&(tv.displayName="NestedListContext");const nv=r.createContext(!1);"production"!==process.env.NODE_ENV&&(nv.displayName="RowListContext");const rv=r.createContext(!1);"production"!==process.env.NODE_ENV&&(rv.displayName="WrapListContext");const ov=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(ov.displayName="ComponentListContext");const av=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(av.displayName="ListSubheaderContext");const iv=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(iv.displayName="GroupListContext");const lv=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],sv=lh("li")((({theme:e,ownerState:t})=>[!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"},Qu({"--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"]&&Qu({},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})`},{[`.${ev.nested} > &`]:{"--_ListItem-display":"flex"}}),e.variants[t.variant]?.[t.color]])),cv=lh(sv,{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),uv=lh("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}))),dv=lh("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%)"}))),pv=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoyListItem"}),i=r.useContext(iv),l=r.useContext(ov),s=r.useContext(nv),c=r.useContext(rv),u=r.useContext(tv),{component:d,className:p,children:f,nested:m=!1,sticky:g=!1,variant:h="plain",color:v="neutral",startAction:b,endAction:y,role:w,slots:x={},slotProps:S={}}=a,C=wf(a,lv),[k,O]=r.useState(""),[E,I]=l?.split(":")||["",""],$=d||(E&&!E.match(/^(ul|ol|menu)$/)?"div":void 0);let P="menu"===i?"none":void 0;l&&(P={menu:"none",menubar:"none",group:"presentation"}[I]),w&&(P=w);const z=Qu({},a,{sticky:g,startAction:b,endAction:y,row:s,wrap:c,variant:h,color:v,nesting:u,nested:m,component:$,role:P}),R=(e=>{const{sticky:t,nested:n,nesting:r,variant:o,color:a}=e;return Vg({root:["root",n&&"nested",r&&"nesting",t&&"sticky",a&&`color${Df(a)}`,o&&`variant${Df(o)}`],startAction:["startAction"],endAction:["endAction"]},Zh,{})})(z),N=Qu({},C,{component:$,slots:x,slotProps:S}),[A,T]=Qh("root",{additionalProps:{role:P},ref:o,className:Mm(R.root,p),elementType:cv,externalForwardedProps:N,ownerState:z}),[D,_]=Qh("startAction",{className:R.startAction,elementType:uv,externalForwardedProps:N,ownerState:z}),[M,L]=Qh("endAction",{className:R.endAction,elementType:dv,externalForwardedProps:N,ownerState:z});return e(av.Provider,{value:O,children:e(tv.Provider,{value:!!m&&(k||!0),children:t(A,Qu({},T,{children:[b&&e(D,Qu({},_,{children:b})),r.Children.map(f,((e,t)=>{return r.isValidElement(e)?r.cloneElement(e,Qu({},0===t&&{"data-first-child":""},(n=e,o=["ListItem"],r.isValidElement(n)&&-1!==o.indexOf(n.type.muiName??n.type?._payload?.value?.muiName)&&{component:e.props.component||"div"}))):e;var n,o})),y&&e(M,Qu({},L,{children:y}))]}))})})}));"production"!==process.env.NODE_ENV&&(pv.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,endAction:ri.node,nested:ri.bool,role:ri.string,slotProps:ri.shape({endAction:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object]),startAction:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({endAction:ri.elementType,root:ri.elementType,startAction:ri.elementType}),startAction:ri.node,sticky:ri.bool,sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])}),pv.muiName="ListItem";const fv={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};function mv(t){const{children:n,nested:o,row:a=!1,wrap:i=!1}=t,l=e(nv.Provider,{value:a,children:e(rv.Provider,{value:i,children:r.Children.map(n,((e,t)=>r.isValidElement(e)?r.cloneElement(e,Qu({},0===t&&{"data-first-child":""},t===r.Children.count(n)-1&&{"data-last-child":""})):e))})});return void 0===o?l:e(tv.Provider,{value:o,children:l})}const gv=({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=Qu({},r,n))}(t.sx),n.forEach((t=>{const n=r[t];"string"==typeof n||"number"==typeof n?"borderRadius"===t?r[t]="number"==typeof n?`${n}px`:e.vars?.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 hv(e){return Qg("MuiList",e)}const vv=Zg("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]),bv=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(bv.displayName="RadioGroupContext");const yv=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],wv=lh("ul")((({theme:e,ownerState:t})=>{const{p:n,padding:r,borderRadius:o}=gv({theme:e,ownerState:t},["p","padding","borderRadius"]);function a(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&&Qu({},a(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&&Qu({},a(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?Qu({},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"}),Qu({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"},e.variants[t.variant]?.[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==o&&{"--List-radius":o},void 0!==n&&{"--List-padding":n},void 0!==r&&{"--List-padding":r})]})),xv=lh(wv,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Sv=r.forwardRef((function(t,n){const o=r.useContext(tv),a=r.useContext(iv),i=r.useContext(bv),l=sh({props:t,name:"JoyList"}),{component:s,className:c,children:u,size:d,orientation:p="vertical",wrap:f=!1,variant:m="plain",color:g="neutral",role:h,slots:v={},slotProps:b={}}=l,y=wf(l,yv),w=d||(t.size??"md");let x;a&&(x="group"),i&&(x="presentation"),h&&(x=h);const S=Qu({},l,{instanceSize:t.size,size:w,nesting:o,orientation:p,wrap:f,variant:m,color:g,role:x}),C=(e=>{const{variant:t,color:n,size:r,nesting:o,orientation:a,instanceSize:i}=e;return Vg({root:["root",a,t&&`variant${Df(t)}`,n&&`color${Df(n)}`,!i&&!o&&r&&`size${Df(r)}`,i&&`size${Df(i)}`,o&&"nesting"]},hv,{})})(S),k=Qu({},y,{component:s,slots:v,slotProps:b}),[O,E]=Qh("root",{ref:n,className:Mm(C.root,c),elementType:xv,externalForwardedProps:k,ownerState:S,additionalProps:{as:s,role:x,"aria-labelledby":"string"==typeof o?o:void 0}});return e(O,Qu({},E,{children:e(ov.Provider,{value:`${"string"==typeof s?s:""}:${x||""}`,children:e(mv,{row:"horizontal"===p,wrap:f,children:u})})}))}));function Cv(e){return Qg("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(Sv.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,marker:ri.string,orientation:ri.oneOf(["horizontal","vertical"]),role:ri.string,size:ri.oneOfType([ri.oneOf(["sm","md","lg"]),ri.string]),slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string]),wrap:ri.bool});const kv=Zg("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]),Ov=r.createContext("horizontal");"production"!==process.env.NODE_ENV&&(Ov.displayName="ListItemButtonOrientationContext");const Ev=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],Iv=lh("div")((({theme:e,ownerState:t})=>Qu({"--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]:Qu({},e.focus.default,{zIndex:1})},e.variants[t.variant]?.[t.color],{"&:active":e.variants[`${t.variant}Active`]?.[t.color],[`.${ev.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${kv.selected}`]:Qu({},e.variants[`${t.variant}Active`]?.[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${kv.selected}, [aria-selected="true"])`]:{"&:hover":e.variants[`${t.variant}Hover`]?.[t.color],"&:active":e.variants[`${t.variant}Active`]?.[t.color]},[`&.${kv.disabled}`]:Qu({},e.variants[`${t.variant}Disabled`]?.[t.color])}))),$v=lh(Iv,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>Qu({},!e.row&&{[`&.${kv.selected}`]:{fontWeight:t.vars.fontWeight.md}}))),Pv=r.forwardRef((function(t,n){const o=sh({props:t,name:"JoyListItemButton"}),a=r.useContext(nv),{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={}}=o,v=wf(o,Ev),b=r.useRef(null),y=Og(b,n),{focusVisible:w,setFocusVisible:x,getRootProps:S}=yh(Qu({},o,{rootRef:y}));r.useImperativeHandle(s,(()=>({focusVisible:()=>{x(!0),b.current?.focus()}})),[x]);const C=Qu({},o,{component:c,color:f,focusVisible:w,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=Vg({root:["root",n&&"disabled",r&&"focusVisible",t&&`color${Df(t)}`,a&&"selected",i&&`variant${Df(i)}`]},Cv,{});return r&&o&&(l.root+=` ${o}`),l})(C),O=Qu({},v,{component:c,slots:g,slotProps:h}),[E,I]=Qh("root",{ref:n,className:Mm(k.root,l),elementType:$v,externalForwardedProps:O,ownerState:C,getSlotProps:S});return e(Ov.Provider,{value:u,children:e(E,Qu({},I,{role:d??I.role,children:i}))})}));function zv(e){return Qg("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(Pv.propTypes={action:ri.oneOfType([ri.func,ri.shape({current:ri.shape({focusVisible:ri.func.isRequired})})]),autoFocus:ri.bool,children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,disabled:ri.bool,focusVisibleClassName:ri.string,orientation:ri.oneOf(["horizontal","vertical"]),role:ri.string,selected:ri.bool,slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),tabIndex:ri.number,variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])}),Zg("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);const Rv=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],Nv={sm:"xl",md:"xl2",lg:"xl3"},Av=lh("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>Qu({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[Nv[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[Nv[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&Qu({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${e.vars.palette[t.color]?.mainChannel} / 1)`})))),Tv=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoySvgIcon"}),{children:i,className:l,color:s,component:c="svg",fontSize:u,htmlColor:d,inheritViewBox:p=!1,titleAccess:f,viewBox:m="0 0 24 24",size:g="md",slots:h={},slotProps:v={}}=a,b=wf(a,Rv),y=r.isValidElement(i)&&"svg"===i.type,w=Qu({},a,{color:s,component:c,size:g,instanceSize:n.size,fontSize:u,instanceFontSize:n.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:y}),x=(e=>{const{color:t,size:n,fontSize:r}=e;return Vg({root:["root",t&&"inherit"!==t&&`color${Df(t)}`,n&&`size${Df(n)}`,r&&`fontSize${Df(r)}`]},zv,{})})(w),S=Qu({},b,{component:c,slots:h,slotProps:v}),[C,k]=Qh("root",{ref:o,className:Mm(x.root,l),elementType:Av,externalForwardedProps:S,ownerState:w,additionalProps:Qu({color:d,focusable:!1},f&&{role:"img"},!f&&{"aria-hidden":!0},!p&&{viewBox:m},y&&i.props)});return t(C,Qu({},k,{children:[y?i.props.children:i,f?e("title",{children:f}):null]}))}));function Dv(t,n){function o(r,o){return e(Tv,Qu({"data-testid":`${n}Icon`,ref:o},r,{children:t}))}return"production"!==process.env.NODE_ENV&&(o.displayName=`${n}Icon`),o.muiName=Tv.muiName,r.memo(r.forwardRef(o))}"production"!==process.env.NODE_ENV&&(Tv.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","inherit","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,fontSize:ri.oneOfType([ri.oneOf(["inherit","lg","md","sm","xl","xl2","xl3","xl4","xs"]),ri.string]),htmlColor:ri.string,inheritViewBox:ri.bool,shapeRendering:ri.string,size:ri.oneOfType([ri.oneOf(["sm","md","lg"]),ri.string]),slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),titleAccess:ri.string,viewBox:ri.string});const _v=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,Mv="data-skip-inverted-colors",Lv=`& :not([${Mv}], [${Mv}] *)`,Fv=e=>{const t=_v(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")]:{[t("--palette-focusVisible")]:`${e.colorSchemes.light?.palette.focusVisible} !important`,[t("--palette-background-body")]:`${e.colorSchemes.light?.palette.background.body} !important`,[t("--palette-background-surface")]:`${e.colorSchemes.light?.palette.background.surface} !important`,[t("--palette-background-popup")]:`${e.colorSchemes.light?.palette.background.popup} !important`,[t("--palette-background-level1")]:`${e.colorSchemes.light?.palette.background.level1} !important`,[t("--palette-background-level2")]:`${e.colorSchemes.light?.palette.background.level2} !important`,[t("--palette-background-level3")]:`${e.colorSchemes.light?.palette.background.level3} !important`,[t("--palette-text-primary")]:`${e.colorSchemes.light?.palette.text.primary} !important`,[t("--palette-text-secondary")]:`${e.colorSchemes.light?.palette.text.secondary} !important`,[t("--palette-text-tertiary")]:`${e.colorSchemes.light?.palette.text.tertiary} !important`,[t("--palette-divider")]:`${e.colorSchemes.light?.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[t("--palette-focusVisible")]:`${e.colorSchemes.dark?.palette.focusVisible} !important`,[t("--palette-background-body")]:`${e.colorSchemes.dark?.palette.background.body} !important`,[t("--palette-background-surface")]:`${e.colorSchemes.dark?.palette.background.surface} !important`,[t("--palette-background-popup")]:`${e.colorSchemes.dark?.palette.background.popup} !important`,[t("--palette-background-level1")]:`${e.colorSchemes.dark?.palette.background.level1} !important`,[t("--palette-background-level2")]:`${e.colorSchemes.dark?.palette.background.level2} !important`,[t("--palette-background-level3")]:`${e.colorSchemes.dark?.palette.background.level3} !important`,[t("--palette-text-primary")]:`${e.colorSchemes.dark?.palette.text.primary} !important`,[t("--palette-text-secondary")]:`${e.colorSchemes.dark?.palette.text.secondary} !important`,[t("--palette-text-tertiary")]:`${e.colorSchemes.dark?.palette.text.tertiary} !important`,[t("--palette-divider")]:`${e.colorSchemes.dark?.palette.divider} !important`}}};var Vv=Dv(e("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"),jv=Dv(e("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Bv=r.createContext(void 0);function Hv(e,t){let n=t,r=e;return"outlined"===e&&(n="neutral",r="plain"),"plain"===e&&(n="neutral"),{variant:r,color:n}}function Wv(e,t,n=!1){const o=r.useContext(Bv),[a,i]="string"==typeof o?o.split(":"):[],l=Hv(a||void 0,i||void 0);return l.variant=e||l.variant,l.color=t||(n?i:l.color),l}function Gv({children:t,color:n,variant:r}){return e(Bv.Provider,{value:`${r||""}:${n||""}`,children:t})}function qv(e){return Qg("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(Bv.displayName="VariantColorContext"),Zg("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","loading","loadingIndicator"]);const Uv=r.createContext({});"production"!==process.env.NODE_ENV&&(Uv.displayName="ButtonGroupContext");const Yv=r.createContext(void 0);function Kv(e){return Qg("MuiCircularProgress",e)}"production"!==process.env.NODE_ENV&&(Yv.displayName="ToggleButtonGroupContext"),Zg("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);const Jv=["color","backgroundColor"],Xv=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],Qv=function(){var e=rf.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 Zv(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}const eb=lh("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{const n=t.variants[e.variant]?.[e.color]||{},{color:r,backgroundColor:o}=n,a=wf(n,Jv);return Qu({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":o,"--CircularProgress-progressColor":r,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":Zv("track","3px"),"--_progress-thickness":Zv("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":Zv("track","6px"),"--_progress-thickness":Zv("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":Zv("track","8px"),"--_progress-thickness":Zv("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:r},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},a,"outlined"===e.variant&&{"&::before":Qu({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},a)},"soft"===e.variant&&{"--CircularProgress-trackColor":t.variants.soft.neutral.backgroundColor,"--CircularProgress-progressColor":t.variants.solid?.[e.color].backgroundColor},"solid"===e.variant&&{"--CircularProgress-trackColor":t.variants.softHover?.[e.color].backgroundColor,"--CircularProgress-progressColor":t.variants.solid?.[e.color].backgroundColor})})),tb=lh("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))"}),nb=lh("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)"}),rb=lh("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&&rf`
|
|
994
|
+
animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running)
|
|
995
|
+
${Qv};
|
|
996
|
+
`)),ob=r.forwardRef((function(n,r){const o=sh({props:n,name:"JoyCircularProgress"}),{children:a,className:i,color:l="primary",size:s="md",variant:c="soft",thickness:u,determinate:d=!1,value:p=(d?0:25),component:f,slots:m={},slotProps:g={}}=o,h=wf(o,Xv),v=Qu({},o,{color:l,size:s,variant:c,thickness:u,value:p,determinate:d,instanceSize:n.size}),b=(e=>{const{determinate:t,color:n,variant:r,size:o}=e;return Vg({root:["root",t&&"determinate",n&&`color${Df(n)}`,r&&`variant${Df(r)}`,o&&`size${Df(o)}`],svg:["svg"],track:["track"],progress:["progress"]},Kv,{})})(v),y=Qu({},h,{component:f,slots:m,slotProps:g}),[w,x]=Qh("root",{ref:r,className:Mm(b.root,i),elementType:eb,externalForwardedProps:y,ownerState:v,additionalProps:Qu({role:"progressbar",style:{"--CircularProgress-percent":p}},p&&d&&{"aria-valuenow":"number"==typeof p?Math.round(p):Math.round(Number(p||0))})}),[S,C]=Qh("svg",{className:b.svg,elementType:tb,externalForwardedProps:y,ownerState:v}),[k,O]=Qh("track",{className:b.track,elementType:nb,externalForwardedProps:y,ownerState:v}),[E,I]=Qh("progress",{className:b.progress,elementType:rb,externalForwardedProps:y,ownerState:v});return t(w,Qu({},x,{children:[t(S,Qu({},C,{children:[e(k,Qu({},O)),e(E,Qu({},I))]})),a]}))}));"production"!==process.env.NODE_ENV&&(ob.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,determinate:ri.bool,size:ri.oneOfType([ri.oneOf(["sm","md","lg"]),ri.string]),slotProps:ri.shape({progress:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object]),svg:ri.oneOfType([ri.func,ri.object]),track:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({progress:ri.elementType,root:ri.elementType,svg:ri.elementType,track:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),thickness:ri.number,value:ri.number,variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])});const ab=["children","action","component","color","disabled","variant","loading","loadingIndicator","size","slots","slotProps"],ib=lh("button")((({theme:e,ownerState:t})=>[Qu({"--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]:Qu({"--Icon-color":"currentColor"},e.focus.default)}),Qu({},e.variants[t.variant]?.[t.color],{"&:hover":{"@media (hover: hover)":Qu({"--Icon-color":"currentColor"},e.variants[`${t.variant}Hover`]?.[t.color])},'&:active, &[aria-pressed="true"]':Qu({"--Icon-color":"currentColor"},e.variants[`${t.variant}Active`]?.[t.color]),"&:disabled":e.variants[`${t.variant}Disabled`]?.[t.color]})])),lb=lh(ib,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sb=lh("span",{name:"JoyIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e,ownerState:t})=>Qu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:e.variants[t.variant]?.[t.color]?.color},t.disabled&&{color:e.variants[`${t.variant}Disabled`]?.[t.color]?.color}))),cb=r.forwardRef((function(t,n){const o=sh({props:t,name:"JoyIconButton"}),{children:a,action:i,component:l="button",color:s="neutral",disabled:c,variant:u="plain",loading:d=!1,loadingIndicator:p,size:f="md",slots:m={},slotProps:g={}}=o,h=wf(o,ab),v=r.useContext(Uv),b=r.useContext(Yv),y=t.variant||v.variant||u,w=t.size||v.size||f,x=t.color||v.color||s,S=(t.loading||t.disabled)??(v.disabled||d||c),C=r.useRef(null),k=Og(C,n),{focusVisible:O,setFocusVisible:E,getRootProps:I}=yh(Qu({},o,{disabled:S,rootRef:k})),$=p??e(ob,{color:x,thickness:{sm:2,md:3,lg:4}[w]||3});r.useImperativeHandle(i,(()=>({focusVisible:()=>{E(!0),C.current?.focus()}})),[E]);const P=Qu({},o,{component:l,color:x,disabled:S,variant:y,loading:d,size:w,focusVisible:O,instanceSize:t.size}),z=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,size:a,variant:i,loading:l}=e,s=Vg({root:["root",n&&"disabled",r&&"focusVisible",i&&`variant${Df(i)}`,t&&`color${Df(t)}`,a&&`size${Df(a)}`,l&&"loading"],loadingIndicator:["loadingIndicator"]},qv,{});return r&&o&&(s.root+=` ${o}`),s})(P);let R=o["aria-pressed"];"function"==typeof g.root?R=g.root(P)["aria-pressed"]:g.root&&(R=g.root["aria-pressed"]),b?.value&&(R=Array.isArray(b.value)?-1!==b.value.indexOf(o.value):b.value===o.value);const N=Qu({},h,{component:l,slots:m,slotProps:g}),[A,T]=Qh("root",{ref:n,className:z.root,elementType:lb,getSlotProps:I,externalForwardedProps:N,ownerState:P,additionalProps:{onClick:e=>{let t=o.onClick;"function"==typeof g.root?t=g.root(P).onClick:g.root&&(t=g.root.onClick),t?.(e),b&&b.onClick?.(e,o.value)},"aria-pressed":R}}),[D,_]=Qh("loadingIndicator",{className:z.loadingIndicator,elementType:sb,externalForwardedProps:N,ownerState:P});return e(A,Qu({},T,{children:d?e(D,Qu({},_,{children:$})):a}))}));function ub(e){return Qg("MuiChip",e)}"production"!==process.env.NODE_ENV&&(cb.propTypes={action:ri.oneOfType([ri.func,ri.shape({current:ri.shape({focusVisible:ri.func.isRequired})})]),children:ri.node,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,disabled:ri.bool,focusVisibleClassName:ri.string,loading:ri.bool,loadingIndicator:ri.node,onClick:ri.func,size:ri.oneOfType([ri.oneOf(["sm","md","lg"]),ri.string]),slotProps:ri.shape({loadingIndicator:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({loadingIndicator:ri.elementType,root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),tabIndex:ri.number,value:ri.oneOfType([ri.arrayOf(ri.string),ri.number,ri.string]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])}),cb.muiName="IconButton";const db=Zg("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),pb=r.createContext({disabled:void 0,variant:void 0,color:void 0});"production"!==process.env.NODE_ENV&&(pb.displayName="ChipColorContext");const fb=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],mb=lh("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n=e.variants[t.variant]?.[t.color],{borderRadius:r}=gv({theme:e,ownerState:t},["borderRadius"]);return[Qu({"--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,[`&.${db.disabled}`]:{color:e.variants[`${t.variant}Disabled`]?.[t.color]?.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:n?.color}]:[Qu({backgroundColor:e.vars.palette.background.surface},n,{[`&.${db.disabled}`]:e.variants[`${t.variant}Disabled`]?.[t.color]})],void 0!==r&&{"--_Chip-radius":r}]})),gb=lh("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})((({ownerState:e})=>Qu({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"}))),hb=lh("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})((({theme:e,ownerState:t})=>[{"--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},Qu({backgroundColor:e.vars.palette.background.surface},e.variants[t.variant]?.[t.color]),{"&:hover":{"@media (hover: hover)":e.variants[`${t.variant}Hover`]?.[t.color]}},{"&:active":e.variants[`${t.variant}Active`]?.[t.color]},{[`&.${db.disabled}`]:e.variants[`${t.variant}Disabled`]?.[t.color]}])),vb=lh("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"}),bb=lh("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"}),yb=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoyChip"}),{children:i,className:l,color:s="neutral",onClick:c,disabled:u=!1,size:d="md",variant:p="soft",startDecorator:f,endDecorator:m,component:g,slots:h={},slotProps:v={}}=a,b=wf(a,fb),y=!!c||!!v.action,w=Qu({},a,{disabled:u,size:d,color:s,variant:p,clickable:y,focusVisible:!1}),x="function"==typeof v.action?v.action(w):v.action,S=r.useRef(null),{focusVisible:C,getRootProps:k}=yh(Qu({},x,{disabled:u,rootRef:S}));w.focusVisible=C;const O=(e=>{const{disabled:t,size:n,color:r,clickable:o,variant:a,focusVisible:i}=e;return Vg({root:["root",t&&"disabled",r&&`color${Df(r)}`,n&&`size${Df(n)}`,a&&`variant${Df(a)}`,o&&"clickable"],action:["action",t&&"disabled",i&&"focusVisible"],label:["label",n&&`label${Df(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},ub,{})})(w),E=Qu({},b,{component:g,slots:h,slotProps:v}),[I,$]=Qh("root",{ref:o,className:Mm(O.root,l),elementType:mb,externalForwardedProps:E,ownerState:w}),[P,z]=Qh("label",{className:O.label,elementType:gb,externalForwardedProps:E,ownerState:w}),R=Sg(z.id),[N,A]=Qh("action",{className:O.action,elementType:hb,externalForwardedProps:E,ownerState:w,getSlotProps:k,additionalProps:{"aria-labelledby":R,as:x?.component,onClick:c}}),[T,D]=Qh("startDecorator",{className:O.startDecorator,elementType:vb,externalForwardedProps:E,ownerState:w}),[_,M]=Qh("endDecorator",{className:O.endDecorator,elementType:bb,externalForwardedProps:E,ownerState:w}),L=r.useMemo((()=>({disabled:u})),[u]);return e(pb.Provider,{value:L,children:e(Gv,{variant:p,color:s,children:t(I,Qu({},$,{children:[y&&e(N,Qu({},A)),e(P,Qu({},z,{id:R,children:i})),f&&e(T,Qu({},D,{children:f})),m&&e(_,Qu({},M,{children:m}))]}))})})}));"production"!==process.env.NODE_ENV&&(yb.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,disabled:ri.bool,endDecorator:ri.node,onClick:ri.func,size:ri.oneOfType([ri.oneOf(["lg","md","sm"]),ri.string]),slotProps:ri.shape({action:ri.oneOfType([ri.func,ri.object]),endDecorator:ri.oneOfType([ri.func,ri.object]),label:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object]),startDecorator:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({action:ri.elementType,endDecorator:ri.elementType,label:ri.elementType,root:ri.elementType,startDecorator:ri.elementType}),startDecorator:ri.node,sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])});var wb,xb=Dv(e("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 Sb(e){return Qg("MuiChipDelete",e)}Zg("MuiChipDelete",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSolid","variantSoft","variantOutlined"]);const Cb=["children","variant","color","disabled","onKeyDown","onDelete","onClick","component","slots","slotProps"],kb=["onDelete"],Ob=lh(ib,{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}))),Eb=r.forwardRef((function(t,n){const o=sh({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={}}=o,g=wf(o,Cb),h=r.useContext(pb),{variant:v=i,color:b=l}=Wv(t.variant,t.color,!0),y=t.color||b,w=s??h.disabled,x=Og(r.useRef(null),n),{focusVisible:S,getRootProps:C}=yh(Qu({},o,{disabled:w,rootRef:x})),k=Qu({},o,{disabled:w,variant:v,color:y,focusVisible:S}),O=(e=>{const{focusVisible:t,variant:n,color:r,disabled:o}=e;return Vg({root:["root",o&&"disabled",t&&"focusVisible",n&&`variant${Df(n)}`,r&&`color${Df(r)}`]},Sb,{})})(k),E=Qu({},g,{component:p,slots:f,slotProps:m}),[I,$]=Qh("root",{ref:n,elementType:Ob,getSlotProps:C,externalForwardedProps:E,ownerState:k,additionalProps:{as:p,onKeyDown:e=>{["Backspace","Enter","Delete"].includes(e.key)&&(e.preventDefault(),!w&&u&&u(e)),c&&c(e)},onClick:e=>{!w&&u&&u(e),d&&d(e)}},className:O.root}),P=wf($,kb);return e(I,Qu({},P,{children:a??(wb||(wb=e(xb,{})))}))}));function Ib(e){return Qg("MuiInput",e)}"production"!==process.env.NODE_ENV&&(Eb.propTypes={children:ri.node,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,disabled:ri.bool,onClick:ri.func,onDelete:ri.func,onKeyDown:ri.func,slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])});const $b=Zg("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"]),Pb=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Pb.displayName="FormControlContext");const zb=["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 Rb=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],Nb=lh("div")((({theme:e,ownerState:t})=>{const n=e.variants[`${t.variant}`]?.[t.color];return[Qu({"--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":e.vars.palette["neutral"===t.color?"primary":t.color]?.[500],[`&:not([${Mv}])`]:Qu({},t.instanceColor&&{"--_Input-focusedHighlight":e.vars.palette["neutral"===t.instanceColor?"primary":t.instanceColor]?.[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}`],n,{backgroundColor:n?.backgroundColor??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":Qu({},e.variants[`${t.variant}Hover`]?.[t.color],{backgroundColor:null}),[`&.${$b.disabled}`]:e.variants[`${t.variant}Disabled`]?.[t.color],"&:focus-within::before":{"--Input-focused":"1"}}]})),Ab=lh("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":Qu({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)"}}))),Tb=lh("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"}),Db=lh("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"}),_b=lh(Nb,{name:"JoyInput",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mb=lh(Ab,{name:"JoyInput",slot:"Input",overridesResolver:(e,t)=>t.input})({}),Lb=lh(Tb,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),Fb=lh(Db,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({}),Vb=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoyInput"}),i=function(e,t){const n=r.useContext(Pb),{"aria-describedby":o,"aria-label":a,"aria-labelledby":i,autoComplete:l,autoFocus:s,className:c,defaultValue:u,disabled:d,disabledInProp:p,error:f,id:m,name:g,onClick:h,onChange:v,onKeyDown:b,onKeyUp:y,onFocus:w,onBlur:x,placeholder:S,readOnly:C,required:k,type:O,value:E}=e,I=wf(e,zb),{getRootProps:$,getInputProps:P,focused:z,error:R,disabled:N}=Oh({disabled:p??n?.disabled??d,defaultValue:u,error:f,onBlur:x,onClick:h,onChange:v,onFocus:w,required:k??n?.required,value:E});return Qu({formControl:n,propsToForward:{"aria-describedby":o,"aria-label":a,"aria-labelledby":i,autoComplete:l,autoFocus:s,disabled:N,id:m,onKeyDown:b,onKeyUp:y,name:g,placeholder:S,readOnly:C,type:O},rootStateClasses:{[t.disabled]:N,[t.error]:R,[t.focused]:z,[t.formControl]:Boolean(n),[c]:c},inputStateClasses:{[t.disabled]:N},getRootProps:$,getInputProps:P,focused:z,error:R,disabled:N},I)}(Qu({},a,{disabledInProp:n.disabled}),$b),{propsToForward:l,rootStateClasses:s,inputStateClasses:c,getRootProps:u,getInputProps:d,formControl:p,focused:f,error:m=!1,disabled:g,fullWidth:h=!1,size:v="md",color:b="neutral",variant:y="outlined",startDecorator:w,endDecorator:x,component:S,slots:C={},slotProps:k={}}=i,O=wf(i,Rb);if("production"!==process.env.NODE_ENV){const e=p?.registerEffect;r.useEffect((()=>{if(e)return e()}),[e])}const E=n.error??p?.error??m,I=n.size??p?.size??v,$=n.color??(E?"danger":p?.color??b),P=Qu({instanceColor:E?"danger":n.color},a,{fullWidth:h,color:$,disabled:g,error:E,focused:f,size:I,variant:y}),z=(e=>{const{disabled:t,fullWidth:n,variant:r,color:o,size:a}=e;return Vg({root:["root",t&&"disabled",n&&"fullWidth",r&&`variant${Df(r)}`,o&&`color${Df(o)}`,a&&`size${Df(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},Ib,{})})(P),R=Qu({},O,{component:S,slots:C,slotProps:k}),[N,A]=Qh("root",{ref:o,className:[z.root,s],elementType:_b,getSlotProps:u,externalForwardedProps:R,ownerState:P}),[T,D]=Qh("input",Qu({},p&&{additionalProps:{id:p.htmlFor,"aria-describedby":p["aria-describedby"]}},{className:[z.input,c],elementType:Mb,getSlotProps:d,internalForwardedProps:l,externalForwardedProps:R,ownerState:P})),[_,M]=Qh("startDecorator",{className:z.startDecorator,elementType:Lb,externalForwardedProps:R,ownerState:P}),[L,F]=Qh("endDecorator",{className:z.endDecorator,elementType:Fb,externalForwardedProps:R,ownerState:P});return t(N,Qu({},A,{children:[w&&e(_,Qu({},M,{children:w})),e(T,Qu({},D)),x&&e(L,Qu({},F,{children:x}))]}))}));function jb(e){return Qg("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(Vb.propTypes={autoComplete:ri.string,autoFocus:ri.bool,children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),defaultValue:ri.oneOfType([ri.arrayOf(ri.string),ri.number,ri.string]),disabled:ri.bool,endDecorator:ri.node,error:ri.bool,fullWidth:ri.bool,id:ri.string,name:ri.string,onChange:ri.func,placeholder:ri.string,readOnly:ri.bool,required:ri.bool,size:ri.oneOfType([ri.oneOf(["sm","md","lg"]),ri.string]),startDecorator:ri.node,sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),value:ri.oneOfType([ri.arrayOf(ri.string),ri.number,ri.string]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])}),Zg("MuiListSubheader",["root","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const Bb=["component","className","children","id","sticky","variant","color","slots","slotProps"],Hb=lh("div",{name:"JoyListSubheader",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>Qu({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(${e.vars.palette[t.color]?.mainChannel} / 1))`:e.vars.palette.text.tertiary},t.instanceColor&&{[`&:not([${Mv}])`]:{"--_Link-color":e.vars.palette.text.secondary}},e.variants[t.variant]?.[t.color]))),Wb=r.forwardRef((function(t,n){const o=sh({props:t,name:"JoyListSubheader"}),{component:a,className:i,children:l,id:s,sticky:c=!1,variant:u,color:d,slots:p={},slotProps:f={}}=o,m=wf(o,Bb),g=Sg(s),h=r.useContext(av);r.useEffect((()=>{h&&h(g||"")}),[h,g]);const v=Qu({instanceColor:t.color},o,{id:g,sticky:c,variant:u,color:u?d??"neutral":d}),b=(e=>{const{variant:t,color:n,sticky:r}=e;return Vg({root:["root",r&&"sticky",n&&`color${Df(n)}`,t&&`variant${Df(t)}`]},jb,{})})(v),y=Qu({},m,{component:a,slots:p,slotProps:f}),[w,x]=Qh("root",{ref:n,className:Mm(b.root,i),elementType:Hb,externalForwardedProps:y,ownerState:v,additionalProps:{as:a,id:g}});return e(w,Qu({},x,{children:l}))}));function Gb(e){return Qg("MuiAutocomplete",e)}"production"!==process.env.NODE_ENV&&(Wb.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,id:ri.string,slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sticky:ri.bool,sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["outlined","plain","soft","solid"]),ri.string])});const qb=Zg("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 Ub(e){return Qg("MuiAutocompleteListbox",e)}Zg("MuiAutocompleteListbox",["root","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const Yb=["anchorEl","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],Kb=["children","className","component","color","variant","size","slots","slotProps"],Jb=lh(wv)((({theme:e,ownerState:t})=>{const n=e.variants[t.variant]?.[t.color];return Qu({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":n?.backgroundColor||n?.background||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},fv,{boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`},!n?.backgroundColor&&{backgroundColor:e.vars.palette.background.popup},{zIndex:e.vars.zIndex.popup,overflow:"auto",maxHeight:"40vh",position:"relative","&:empty":{visibility:"hidden"},[`& .${ev.nested}, & .${ev.nested} .${vv.root}`]:{position:"initial"}})})),Xb=lh(Jb,{name:"JoyAutocompleteListbox",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qb=r.forwardRef((function(t,n){const r=sh({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=wf(r,Kb),f=Qu({},r,{size:c,color:l,variant:s,nesting:!1,row:!1,wrap:!1}),m=(e=>wf(e,Yb))(p),g=(e=>{const{variant:t,color:n,size:r}=e;return Vg({root:["root",t&&`variant${Df(t)}`,n&&`color${Df(n)}`,r&&`size${Df(r)}`]},Ub,{})})(f),h=Qu({},m,{component:i,slots:u,slotProps:d}),[v,b]=Qh("root",{ref:n,className:Mm(g.root,a),elementType:Xb,externalForwardedProps:h,ownerState:f,additionalProps:{role:"listbox"}});return e(Gv,{variant:s,color:l,children:e(v,Qu({},b,{children:o}))})}));function Zb(e){return Qg("MuiAutocompleteOption",e)}"production"!==process.env.NODE_ENV&&(Qb.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,size:ri.oneOf(["sm","md","lg"]),slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["contained","light","outlined","text"]),ri.string])}),Zg("MuiAutocompleteOption",["root","focused","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const ey=["children","component","color","variant","className","slots","slotProps"],ty=lh(Iv)((({theme:e,ownerState:t})=>({'&[aria-disabled="true"]':e.variants[`${t.variant}Disabled`]?.[t.color],'&[aria-selected="true"]':Qu({},e.variants[`${t.variant}Active`]?.[t.color],{fontWeight:e.vars.fontWeight.md})}))),ny=lh(ty,{name:"JoyAutocompleteOption",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ry=r.forwardRef((function(t,n){const r=sh({props:t,name:"JoyAutocompleteOption"}),{children:o,component:a="li",color:i="neutral",variant:l="plain",className:s,slots:c={},slotProps:u={}}=r,d=wf(r,ey),{variant:p=l,color:f=i}=Wv(t.variant,t.color),m=Qu({},r,{component:a,color:f,variant:p}),g=(e=>{const{color:t,variant:n}=e;return Vg({root:["root",t&&`color${Df(t)}`,n&&`variant${Df(n)}`]},Zb,{})})(m),h=Qu({},d,{component:a,slots:c,slotProps:u}),[v,b]=Qh("root",{ref:n,className:Mm(g.root,s),elementType:ny,externalForwardedProps:h,ownerState:m,additionalProps:{as:a,role:"option"}});return e(v,Qu({},b,{children:o}))}));var oy,ay;"production"!==process.env.NODE_ENV&&(ry.propTypes={children:ri.node,className:ri.string,color:ri.oneOfType([ri.oneOf(["danger","neutral","primary","success","warning"]),ri.string]),component:ri.elementType,slotProps:ri.shape({root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),variant:ri.oneOfType([ri.oneOf(["contained","light","outlined","text"]),ri.string])});const iy=["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"],ly=["onDelete"],sy=["onBlur","onFocus","onMouseDown"],cy=e=>null!==e.current&&e.current.contains(document.activeElement),uy=e=>e.label??e,dy=e=>`+${e}`,py=n=>t(pv,{nested:!0,children:[e(Wb,{sticky:!0,children:n.group}),e(Sv,{children:n.children})]},n.key),fy=lh(Nb,{name:"JoyAutocomplete",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Qu({},"sm"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"md"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"lg"===e.size&&{"--Autocomplete-wrapperGap":"4px"},{"@media (pointer: fine)":{[`&:hover .${qb.clearIndicator}`]:{visibility:"visible"}}},e.multiple&&!e.startDecorator&&{paddingInlineStart:0}))),my=lh("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)",[`&.${qb.multiple}`]:Qu({paddingBlock:"var(--Autocomplete-wrapperGap)"},!e.startDecorator&&{paddingInlineStart:"var(--Autocomplete-wrapperGap)"},!e.endDecorator&&{paddingInlineEnd:"var(--Autocomplete-wrapperGap)"})}))),gy=lh(Ab,{name:"JoyAutocomplete",slot:"Input",overridesResolver:(e,t)=>t.input})((({ownerState:e})=>Qu({minWidth:30,minHeight:"var(--Chip-minHeight)"},e.multiple&&{marginInlineStart:"calc(var(--Autocomplete-wrapperGap) * 2.5)"}))),hy=lh(Tb,{name:"JoyAutocomplete",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),vy=lh(Db,{name:"JoyAutocomplete",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})((({ownerState:e})=>Qu({},(e.hasClearIcon||e.hasPopupIcon)&&{"--Button-margin":"0px","--IconButton-margin":"0px","--Icon-margin":"0px"}))),by=lh(ib,{name:"JoyAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})((({ownerState:e})=>Qu({alignSelf:"center"},!e.hasPopupIcon&&{marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)"},{marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",visibility:e.focused?"visible":"hidden"}))),yy=lh(ib,{name:"JoyAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>t.popupIndicator})({alignSelf:"center",marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)",[`&.${qb.popupIndicatorOpen}`]:{transform:"rotate(180deg)","--Icon-color":"currentColor"}}),wy=lh(Jb,{name:"JoyAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`}))),xy=lh(ty,{name:"JoyAutocomplete",slot:"Option",overridesResolver:(e,t)=>t.option})({}),Sy=lh(pv,{name:"JoyAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),Cy=lh(pv,{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),ky=lh("div",{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})({marginInlineStart:"calc(var(--Input-paddingInline) / 2)",marginBlockStart:"var(--_Input-paddingBlock)"}),Oy=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoyAutocomplete"}),{"aria-describedby":i,"aria-label":l,"aria-labelledby":s,autoFocus:c,clearIcon:u=oy||(oy=e(Vv,{fontSize:"md"})),clearText:d="Clear",closeText:p="Close",disableClearable:f=!1,disabled:m,endDecorator:g,error:h=!1,forcePopupIcon:v="auto",freeSolo:b=!1,getLimitTagsText:y=dy,getOptionLabel:w=uy,groupBy:x,id:S,limitTags:C=-1,loading:k=!1,loadingText:O="Loading…",multiple:E=!1,name:I,noOptionsText:$="No options",openText:P="Open",placeholder:z,popupIcon:R=ay||(ay=e(jv,{})),readOnly:N=!1,renderGroup:A=py,renderOption:T,renderTags:D,required:_,type:M,startDecorator:L,size:F="md",color:V="neutral",variant:j="outlined",component:B,slots:H={},slotProps:W={}}=a,G=wf(a,iy),q=r.useContext(Pb),U=n.error??q?.error??h,Y=n.size??q?.size??F,K=n.color??(U?"danger":q?.color??V),J=m??q?.disabled??!1,{getRootProps:X,getInputProps:Q,getPopupIndicatorProps:Z,getClearProps:ee,getTagProps:te,getListboxProps:ne,getOptionProps:re,value:oe,dirty:ae,popupOpen:ie,focused:le,focusedTag:se,anchorEl:ce,setAnchorEl:ue,inputValue:de,groupedOptions:pe}=Yh(Qu({},a,{id:S??q?.htmlFor,componentName:"Autocomplete",unstable_classNamePrefix:"Mui",unstable_isActiveElementInListbox:cy})),{onMouseDown:fe}=Q(),{onClick:me}=X(),ge=!f&&!J&&ae&&!N,he=(!b||!0===v)&&!1!==v,ve=Qu({instanceColor:n.color},a,{value:oe,disabled:J,focused:le,getOptionLabel:w,hasOptions:!!pe.length,hasClearIcon:ge,hasPopupIcon:he,inputFocused:-1===se,popupOpen:ie,size:Y,color:K,variant:j}),be=(e=>{const{disabled:t,focused:n,hasClearIcon:r,hasPopupIcon:o,popupOpen:a,variant:i,color:l,size:s,multiple:c}=e;return Vg({root:["root",n&&"focused",r&&"hasClearIcon",o&&"hasPopupIcon",i&&`variant${Df(i)}`,l&&`color${Df(l)}`,s&&`size${Df(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"]},Gb,{})})(ve),ye=Qu({},G,{component:B,slots:H,slotProps:W});let we;if(E&&oe.length>0){const t=e=>{const t=te(e),{onDelete:n}=t,r=wf(t,ly);return Qu({disabled:J,size:Y,onClick:n},r)};we=D?D(oe,t,ve):oe.map(((n,r)=>e(yb,{size:Y,variant:"soft",color:"neutral",endDecorator:e(Eb,Qu({},t({index:r}))),sx:{minWidth:0},children:w(n)},r)))}const xe=Og(o,ue),Se={[qb.disabled]:J,[qb.error]:U,[qb.focused]:le,[qb.formControl]:Boolean(q)},[Ce,ke]=Qh("root",{ref:xe,className:[be.root,Se],elementType:fy,externalForwardedProps:ye,ownerState:ve,getSlotProps:X,additionalProps:{onClick:e=>{me&&me(e),e.currentTarget===e.target&&fe&&fe(e)}}}),[Oe,Ee]=Qh("wrapper",{className:be.wrapper,elementType:my,externalForwardedProps:ye,ownerState:ve}),Ie={[qb.disabled]:J},[$e,Pe]=Qh("input",{className:[be.input,Ie],elementType:gy,getSlotProps:e=>{const t=Q(),{onBlur:n,onFocus:r,onMouseDown:o}=t;return Qu({},wf(t,sy),{onBlur:t=>{n?.(t),e.onBlur?.(t)},onFocus:t=>{r?.(t),e.onFocus?.(t)},onMouseDown:t=>{o?.(t),e.onMouseDown?.(t)}})},externalForwardedProps:ye,ownerState:ve,additionalProps:{autoFocus:c,placeholder:z,name:I,readOnly:N,disabled:J,required:_??q?.required,type:M,"aria-invalid":U||void 0,"aria-label":l,"aria-labelledby":s,"aria-describedby":i??q?.["aria-describedby"]}}),[ze,Re]=Qh("startDecorator",{className:be.startDecorator,elementType:hy,externalForwardedProps:ye,ownerState:ve}),[Ne,Ae]=Qh("endDecorator",{className:be.endDecorator,elementType:vy,externalForwardedProps:ye,ownerState:ve}),[Te,De]=Qh("clearIndicator",{className:be.clearIndicator,elementType:by,getSlotProps:ee,externalForwardedProps:ye,ownerState:ve,getSlotOwnerState:e=>({size:e.size||Y,variant:e.variant||Hv(j,K).variant||"plain",color:e.color||Hv(j,K).color||"neutral",disableColorInversion:!!n.color}),additionalProps:{"aria-label":d,title:d}}),[_e,Me]=Qh("popupIndicator",{className:be.popupIndicator,elementType:yy,getSlotProps:Z,externalForwardedProps:ye,ownerState:ve,getSlotOwnerState:e=>({size:e.size||Y,variant:e.variant||Hv(j,K).variant||"plain",color:e.color||Hv(j,K).color||"neutral",disableColorInversion:!!n.color}),additionalProps:{disabled:J,"aria-label":ie?p:P,title:ie?p:P,type:"button"}}),[Le,Fe]=Qh("listbox",{className:be.listbox,elementType:wy,getSlotProps:ne,externalForwardedProps:ye,ownerState:ve,getSlotOwnerState:e=>({size:e.size||Y,variant:e.variant||j,color:e.color||K,disableColorInversion:!e.disablePortal}),additionalProps:{anchorEl:ce,open:ie,style:ce?{width:ce.clientWidth}:{}}}),[Ve,je]=Qh("loading",{className:be.loading,elementType:Sy,externalForwardedProps:ye,ownerState:ve}),[Be,He]=Qh("noOptions",{className:be.noOptions,elementType:Cy,externalForwardedProps:ye,ownerState:ve,additionalProps:{role:"presentation",onMouseDown:e=>{e.preventDefault()}}}),[We,Ge]=Qh("limitTag",{className:be.limitTag,elementType:ky,externalForwardedProps:ye,ownerState:ve});if(C>-1&&Array.isArray(we)){const t=we.length-C;!le&&t>0&&(we=we.splice(0,C),we.push(e(We,Qu({},Ge,{children:y(t)}),we.length)))}const[qe,Ue]=Qh("option",{className:be.option,elementType:xy,externalForwardedProps:ye,ownerState:ve,getSlotOwnerState:e=>({variant:e.variant||Hv(j,K).variant||"plain",color:e.color||Hv(j,K).color||"neutral",disableColorInversion:!Fe.disablePortal}),additionalProps:{as:"li"}}),Ye=T||((t,n)=>e(qe,Qu({},t,{children:w(n)}))),Ke=(e,t)=>{const n=re({option:e,index:t});return Ye(Qu({},Ue,n),e,{selected:!!n["aria-selected"],inputValue:de,ownerState:ve})},Je=r.useMemo((()=>[{name:"offset",options:{offset:[0,4]}},...Fe.modifiers||[]]),[Fe.modifiers]);let Xe=null;return ce&&(Xe=e(Gv,{variant:j,color:K,children:e(mv,{nested:!0,children:t(Le,Qu({},Fe,{className:Mm(Fe.className),modifiers:Je},!a.slots?.listbox&&{as:Hh,slots:{root:Fe.as||"ul"}},{children:[pe.map(((e,t)=>{if(x){const t=e;return A({key:String(t.key),group:t.group,children:t.options.map(((e,n)=>Ke(e,t.index+n)))})}return Ke(e,t)})),k&&0===pe.length?e(Ve,Qu({},je,{children:O})):null,0!==pe.length||b||k?null:e(Be,Qu({},He,{children:$}))]}))})})),t(r.Fragment,{children:[t(Ce,Qu({},ke,{children:[L&&e(ze,Qu({},Re,{children:L})),t(Oe,Qu({},Ee,{children:[we,e($e,Qu({},Pe))]})),g&&e(Ne,Qu({},Ae,{children:g})),ge?e(Te,Qu({},De,{children:u})):null,he?e(_e,Qu({},Me,{children:R})):null]})),Xe]})}));"production"!==process.env.NODE_ENV&&(Oy.propTypes={"aria-describedby":ri.string,"aria-label":ri.string,"aria-labelledby":ri.string,autoComplete:ri.bool,autoFocus:ri.bool,autoHighlight:ri.bool,autoSelect:ri.bool,blurOnSelect:ri.oneOfType([ri.oneOf(["mouse","touch"]),ri.bool]),clearIcon:ri.node,clearOnBlur:ri.bool,clearOnEscape:ri.bool,clearText:ri.string,closeText:ri.string,color:ri.oneOf(["danger","neutral","primary","success","warning"]),defaultValue:cg(ri.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:ri.bool,disableCloseOnSelect:ri.bool,disabled:ri.bool,disabledItemsFocusable:ri.bool,disableListWrap:ri.bool,endDecorator:ri.node,error:ri.bool,filterOptions:ri.func,filterSelectedOptions:ri.bool,forcePopupIcon:ri.oneOfType([ri.oneOf(["auto"]),ri.bool]),freeSolo:ri.bool,getLimitTagsText:ri.func,getOptionDisabled:ri.func,getOptionKey:ri.func,getOptionLabel:ri.func,groupBy:ri.func,handleHomeEndKeys:ri.bool,id:ri.string,includeInputInList:ri.bool,inputValue:ri.string,isOptionEqualToValue:ri.func,limitTags:Fg,loading:ri.bool,loadingText:ri.node,multiple:ri.bool,name:ri.string,noOptionsText:ri.node,onChange:ri.func,onClose:ri.func,onHighlightChange:ri.func,onInputChange:ri.func,onKeyDown:ri.func,onOpen:ri.func,open:ri.bool,openOnFocus:ri.bool,openText:ri.string,options:ri.array.isRequired,placeholder:ri.string,popupIcon:ri.node,readOnly:ri.bool,renderGroup:ri.func,renderOption:ri.func,renderTags:ri.func,required:ri.bool,selectOnFocus:ri.bool,size:ri.oneOfType([ri.oneOf(["sm","md","lg"]),ri.string]),slotProps:ri.shape({clearIndicator:ri.oneOfType([ri.func,ri.object]),endDecorator:ri.oneOfType([ri.func,ri.object]),input:ri.oneOfType([ri.func,ri.object]),limitTag:ri.oneOfType([ri.func,ri.object]),listbox:ri.oneOfType([ri.func,ri.object]),loading:ri.oneOfType([ri.func,ri.object]),noOptions:ri.oneOfType([ri.func,ri.object]),option:ri.oneOfType([ri.func,ri.object]),popupIndicator:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object]),startDecorator:ri.oneOfType([ri.func,ri.object]),wrapper:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({clearIndicator:ri.elementType,endDecorator:ri.elementType,input:ri.elementType,limitTag:ri.elementType,listbox:ri.elementType,loading:ri.elementType,noOptions:ri.elementType,option:ri.elementType,popupIndicator:ri.elementType,root:ri.elementType,startDecorator:ri.elementType,wrapper:ri.elementType}),startDecorator:ri.node,sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object]),type:ri.string,value:cg(ri.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:ri.oneOf(["outlined","plain","soft","solid"])});const Ey=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Ey.displayName="ModalDialogVariantColorContext");const Iy=Zg("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"]),$y=r.createContext(void 0);function Py(e){return Qg("MuiModal",e)}"production"!==process.env.NODE_ENV&&($y.displayName="ModalDialogSizeContext"),Zg("MuiModal",["root","hidden","backdrop"]);const zy=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(zy.displayName="CloseModalContext");const Ry=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],Ny=lh("div")((({ownerState:e,theme:t})=>Qu({"--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"}))),Ay=lh(Ny,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ty=lh("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)"}))),Dy=lh(Ty,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({}),_y=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoyModal"}),{children:i,container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:p=!1,disableScrollLock:f=!1,hideBackdrop:m=!1,keepMounted:g=!1,onClose:h,open:v,component:b,slots:y={},slotProps:w={}}=a,x=wf(a,Ry),S=Qu({},a,{disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:p,disableScrollLock:f,hideBackdrop:m,keepMounted:g}),{getRootProps:C,getBackdropProps:k,rootRef:O,portalRef:E,isTopModal:I}=Ah(Qu({},S,{rootRef:o})),$=(e=>{const{open:t}=e;return Vg({root:["root",!t&&"hidden"],backdrop:["backdrop"]},Py,{})})(S),P=Qu({},x,{component:b,slots:y,slotProps:w}),[z,R]=Qh("root",{ref:O,className:$.root,elementType:Ay,externalForwardedProps:P,getSlotProps:C,ownerState:S}),[N,A]=Qh("backdrop",{className:$.backdrop,elementType:Dy,externalForwardedProps:P,getSlotProps:k,ownerState:S});return g||v?e(zy.Provider,{value:h,children:e(Eh,{ref:E,container:l,disablePortal:d,children:t(z,Qu({},R,{children:[m?null:e(N,Qu({},A)),e(Ch,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:p,isEnabled:I,open:v,children:r.Children.only(i)&&r.cloneElement(i,Qu({},void 0===i.props.tabIndex&&{tabIndex:-1}))})]}))})}):null}));function My(e){return Qg("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(_y.propTypes={children:dg.isRequired,component:ri.elementType,container:ri.oneOfType([mg,ri.func]),disableAutoFocus:ri.bool,disableEnforceFocus:ri.bool,disableEscapeKeyDown:ri.bool,disablePortal:ri.bool,disableRestoreFocus:ri.bool,disableScrollLock:ri.bool,hideBackdrop:ri.bool,keepMounted:ri.bool,onClose:ri.func,onKeyDown:ri.func,open:ri.bool.isRequired,slotProps:ri.shape({backdrop:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({backdrop:ri.elementType,root:ri.elementType}),sx:ri.oneOfType([ri.arrayOf(ri.oneOfType([ri.func,ri.object,ri.bool])),ri.func,ri.object])}),Zg("MuiDrawer",["root","hidden","backdrop","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);const Ly=["children","anchor","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","color","variant","invertedColors","size","onClose","onKeyDown","open","component","slots","slotProps"],Fy=lh(Ny,{name:"JoyDrawer",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Qu({"--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"}))),Vy=lh(Ty,{name:"JoyDrawer",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})((({ownerState:e})=>({opacity:e.open?1:0,transition:"opacity var(--Drawer-transitionDuration) ease-in-out"}))),jy=lh("div",{name:"JoyDrawer",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>Qu({},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=_v(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[Lv]:{"--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)`}},[`&, & [${Mv}]`]:Fv(n)}})(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const{theme:n=t}=t,r=jg(n.cssVarPrefix),o=_v(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[Lv]:{"--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)`}},[`&, & [${Mv}]`]:Fv(n)}})(t.color)(e),e.variants[t.variant]?.[t.color],{[`& > .${Iy.root}`]:{"--unstable_DialogTitle-margin":"var(--Drawer-titleMargin)"}}))),By=r.forwardRef((function(n,o){const a=sh({props:n,name:"JoyDrawer"}),{children:i,anchor:l="left",container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:m=!1,hideBackdrop:g=!1,color:h="neutral",variant:v="plain",invertedColors:b=!1,size:y="md",onClose:w,open:x,component:S,slots:C={},slotProps:k={}}=a,O=wf(a,Ly),E=Qu({},a,{anchor:l,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:g,invertedColors:b,color:h,variant:v,size:y}),{getRootProps:I,getBackdropProps:$,rootRef:P,portalRef:z,isTopModal:R}=Ah(Qu({},E,{rootRef:o,children:null})),N=(e=>{const{open:t,variant:n,color:r,size:o}=e;return Vg({root:["root",!t&&"hidden",n&&`variant${Df(n)}`,r&&`color${Df(r)}`,o&&`size${Df(o)}`],backdrop:["backdrop"],content:["content"]},My,{})})(E),A=Qu({},O,{component:S,slots:C,slotProps:k}),T=Sg(),D=Sg(),_=r.useMemo((()=>({variant:v,color:h,labelledBy:T,describedBy:D})),[h,v,T,D]),[M,L]=Qh("root",{ref:P,className:N.root,elementType:Fy,externalForwardedProps:A,getSlotProps:I,ownerState:E}),[F,V]=Qh("backdrop",{className:N.backdrop,elementType:Vy,externalForwardedProps:A,getSlotProps:$,ownerState:E}),[j,B]=Qh("content",{className:N.content,elementType:jy,additionalProps:{tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":T,"aria-describedby":D},externalForwardedProps:A,ownerState:E});return e(zy.Provider,{value:w,children:e($y.Provider,{value:y,children:e(Ey.Provider,{value:_,children:e(Eh,{ref:z,container:s,disablePortal:p,children:t(M,Qu({},L,{children:[g?null:e(F,Qu({},V)),e(Ch,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:f,isEnabled:R,open:x,children:e(j,Qu({},B,{children:i}))})]}))})})})})}));function Hy({defaultValue:e,id:t,options:n,onChange:r,...o}){return s(Oy,{...o,key:t,options:n,defaultValue:e,onChange:r})}"production"!==process.env.NODE_ENV&&(By.propTypes={anchor:ri.oneOf(["bottom","left","right","top"]),children:ri.node,color:ri.oneOf(["danger","neutral","primary","success","warning"]),component:ri.elementType,container:ri.oneOfType([mg,ri.func]),disableAutoFocus:ri.bool,disableEnforceFocus:ri.bool,disableEscapeKeyDown:ri.bool,disablePortal:ri.bool,disableRestoreFocus:ri.bool,disableScrollLock:ri.bool,hideBackdrop:ri.bool,invertedColors:ri.bool,onClose:ri.func,onKeyDown:ri.func,open:ri.bool.isRequired,size:ri.oneOf(["sm","md","lg"]),slotProps:ri.shape({backdrop:ri.oneOfType([ri.func,ri.object]),content:ri.oneOfType([ri.func,ri.object]),root:ri.oneOfType([ri.func,ri.object])}),slots:ri.shape({backdrop:ri.elementType,content:ri.elementType,root:ri.elementType}),variant:ri.oneOf(["outlined","plain","soft","solid"])});const Wy=sn.ul`
|
|
997
|
+
margin: 0;
|
|
998
|
+
list-style: none;
|
|
999
|
+
|
|
1000
|
+
li {
|
|
1001
|
+
padding: var(--spacing--medium);
|
|
1002
|
+
|
|
1003
|
+
&:not(:last-child) {
|
|
1004
|
+
border-bottom: 1px solid var(--color--grey-light);
|
|
981
1005
|
}
|
|
1006
|
+
}
|
|
1007
|
+
`,Gy=sn.button`
|
|
1008
|
+
float: right;
|
|
1009
|
+
border: none;
|
|
1010
|
+
background: none;
|
|
1011
|
+
color: var(--color--grey-light);
|
|
1012
|
+
cursor: pointer;
|
|
982
1013
|
|
|
983
|
-
|
|
984
|
-
|
|
1014
|
+
&:hover {
|
|
1015
|
+
color: var(--color--grey);
|
|
1016
|
+
}
|
|
1017
|
+
`;function qy({changeNotification:r,defaultValue:a,id:i,inline:l,label:c,onChange:u,options:d,...p}){const[f,m]=o.useState((()=>(a||[]).map((e=>{const t=d.find((t=>t.value.toString()===e.value.toString()));return t?{label:t.label,value:t.value}:null})).filter((e=>null!==e)))),[g,h]=o.useState("");return t(n,{children:[e(Oy,{multiple:!0,options:d,value:f,onChange:(e,t,n)=>{m(t),u&&u(e,t,n),r&&r()},inputValue:g,onInputChange:(e,t)=>{h(t)},...p,renderTags:(t,n)=>l?t.map(((t,r)=>s(yb,{component:"div",...n({index:r}),key:t.label},t.label,e(cb,{children:e(_i,{size:"small",name:["fas","times"]})})))):null}),!l&&e(Wy,{children:Array.isArray(f)&&f.length>0?f.map((({label:n,value:o})=>t("li",{children:[n,e(Gy,{type:"button",onClick:()=>{m(f.filter((e=>e.value!==o))),r&&r()},children:e(_i,{name:["fas","xmark"]})})]},o))):null})]})}const Uy=sn(Vb)`
|
|
1018
|
+
&& .MuiInput-input {
|
|
1019
|
+
background-color: var(--color--grey-hover);
|
|
1020
|
+
padding: var(--spacing--small) var(--spacing--small);
|
|
1021
|
+
border-color: var(--color--grey-line);
|
|
1022
|
+
border-radius: var(--border-radius--medium);
|
|
1023
|
+
& fieldset {
|
|
1024
|
+
top: 0;
|
|
1025
|
+
border-color: var(--color--grey-line);
|
|
1026
|
+
& legend span {
|
|
1027
|
+
display: none;
|
|
1028
|
+
}
|
|
985
1029
|
}
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
opacity: 0.5;
|
|
1030
|
+
&:hover fieldset {
|
|
1031
|
+
border-color: var(--color--grey-light);
|
|
989
1032
|
}
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1033
|
+
&.Mui-focused fieldset {
|
|
1034
|
+
border-color: var(--color--primary);
|
|
1035
|
+
}
|
|
1036
|
+
& .MuiInputBase-input {
|
|
1037
|
+
padding: 0;
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
& .MuiInputLabel-root {
|
|
1041
|
+
color: var(--color--grey);
|
|
1042
|
+
font-weight: var(--font-weight--bold);
|
|
1043
|
+
font-size: var(--font-size--small);
|
|
1044
|
+
position: relative;
|
|
1045
|
+
margin-bottom: 0.2rem;
|
|
1046
|
+
top: 0;
|
|
1047
|
+
left: 0;
|
|
1048
|
+
background-color: transparent;
|
|
1049
|
+
padding: 0;
|
|
1050
|
+
transform: translate(0, 0) scale(1);
|
|
1051
|
+
&.MuiInputLabel-shrink {
|
|
1052
|
+
color: var(--color--grey);
|
|
993
1053
|
}
|
|
994
|
-
|
|
995
|
-
|
|
1054
|
+
}
|
|
1055
|
+
`,Yy=sn.div`
|
|
996
1056
|
min-height: 100%;
|
|
997
1057
|
max-width: 650px;
|
|
998
1058
|
padding-left: 60px;
|
|
@@ -1009,22 +1069,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1009
1069
|
font-weight: 600;
|
|
1010
1070
|
color: var(--color--grey-dark);
|
|
1011
1071
|
}
|
|
1012
|
-
`,
|
|
1013
|
-
position: fixed;
|
|
1014
|
-
top: 0;
|
|
1015
|
-
right: 0;
|
|
1016
|
-
bottom: 0;
|
|
1017
|
-
left: 0;
|
|
1018
|
-
z-index: 1000;
|
|
1019
|
-
background-color: #000;
|
|
1020
|
-
opacity: 0.5;
|
|
1021
|
-
animation: ${lp} 0.2s ease;
|
|
1022
|
-
|
|
1023
|
-
&.closing {
|
|
1024
|
-
animation: ${sp} 0.2s ease;
|
|
1025
|
-
opacity: 0;
|
|
1026
|
-
}
|
|
1027
|
-
`,dp=yn`
|
|
1072
|
+
`,Ky=cn`
|
|
1028
1073
|
from {
|
|
1029
1074
|
transform: translate(-100%, 0);
|
|
1030
1075
|
}
|
|
@@ -1032,7 +1077,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1032
1077
|
to {
|
|
1033
1078
|
transform: none;
|
|
1034
1079
|
}
|
|
1035
|
-
`,
|
|
1080
|
+
`,Jy=cn`
|
|
1036
1081
|
from {
|
|
1037
1082
|
transform: none;
|
|
1038
1083
|
}
|
|
@@ -1040,7 +1085,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1040
1085
|
to {
|
|
1041
1086
|
transform: translate(-100%, 0);
|
|
1042
1087
|
}
|
|
1043
|
-
`,
|
|
1088
|
+
`,Xy=cn`
|
|
1044
1089
|
from {
|
|
1045
1090
|
transform: translate(100%, 0);
|
|
1046
1091
|
}
|
|
@@ -1048,7 +1093,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1048
1093
|
to {
|
|
1049
1094
|
transform: none;
|
|
1050
1095
|
}
|
|
1051
|
-
`,
|
|
1096
|
+
`,Qy=cn`
|
|
1052
1097
|
from {
|
|
1053
1098
|
transform: none;
|
|
1054
1099
|
}
|
|
@@ -1056,7 +1101,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1056
1101
|
to {
|
|
1057
1102
|
transform: translate(100%, 0);
|
|
1058
1103
|
}
|
|
1059
|
-
`,
|
|
1104
|
+
`,Zy=cn`
|
|
1060
1105
|
from {
|
|
1061
1106
|
transform: translate(0, 100%);
|
|
1062
1107
|
}
|
|
@@ -1064,7 +1109,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1064
1109
|
to {
|
|
1065
1110
|
transform: none;
|
|
1066
1111
|
}
|
|
1067
|
-
`,
|
|
1112
|
+
`,ew=cn`
|
|
1068
1113
|
from {
|
|
1069
1114
|
transform: none;
|
|
1070
1115
|
}
|
|
@@ -1072,7 +1117,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1072
1117
|
to {
|
|
1073
1118
|
transform: translate(0, 100%);
|
|
1074
1119
|
}
|
|
1075
|
-
`,
|
|
1120
|
+
`,tw=sn.div`
|
|
1076
1121
|
position: fixed;
|
|
1077
1122
|
top: 0;
|
|
1078
1123
|
right: 0;
|
|
@@ -1082,46 +1127,32 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1082
1127
|
overflow: hidden;
|
|
1083
1128
|
|
|
1084
1129
|
&.left {
|
|
1085
|
-
animation: ${
|
|
1130
|
+
animation: ${Ky} 0.2s ease;
|
|
1086
1131
|
}
|
|
1087
1132
|
|
|
1088
1133
|
&.left.closing {
|
|
1089
|
-
animation: ${
|
|
1134
|
+
animation: ${Jy} 0.2s ease;
|
|
1090
1135
|
transform: translate(-100%, 0);
|
|
1091
1136
|
}
|
|
1092
1137
|
|
|
1093
1138
|
&.right {
|
|
1094
|
-
animation: ${
|
|
1139
|
+
animation: ${Xy} 0.2s ease;
|
|
1095
1140
|
}
|
|
1096
1141
|
|
|
1097
1142
|
&.right.closing {
|
|
1098
|
-
animation: ${
|
|
1143
|
+
animation: ${Qy} 0.2s ease;
|
|
1099
1144
|
transform: translate(100%, 0);
|
|
1100
1145
|
}
|
|
1101
1146
|
|
|
1102
1147
|
&.center {
|
|
1103
|
-
animation: ${
|
|
1148
|
+
animation: ${Zy} 0.2s ease;
|
|
1104
1149
|
}
|
|
1105
1150
|
|
|
1106
1151
|
&.center.closing {
|
|
1107
|
-
animation: ${
|
|
1152
|
+
animation: ${ew} 0.2s ease;
|
|
1108
1153
|
transform: translate(0, 100%);
|
|
1109
1154
|
}
|
|
1110
|
-
`,
|
|
1111
|
-
display: flex;
|
|
1112
|
-
|
|
1113
|
-
${bp}.left & {
|
|
1114
|
-
flex-flow: row-reverse nowrap;
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
|
-
${bp}.right & {
|
|
1118
|
-
flex-flow: row nowrap;
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
${bp}.center & {
|
|
1122
|
-
flex-flow: row nowrap;
|
|
1123
|
-
}
|
|
1124
|
-
`,yp=bn.div`
|
|
1155
|
+
`,nw=sn.div`
|
|
1125
1156
|
z-index: 1010;
|
|
1126
1157
|
height: 100vh;
|
|
1127
1158
|
background-color: #fff;
|
|
@@ -1129,19 +1160,33 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1129
1160
|
flex-direction: column;
|
|
1130
1161
|
overflow: auto;
|
|
1131
1162
|
|
|
1132
|
-
${
|
|
1163
|
+
${tw}.left & {
|
|
1133
1164
|
margin-right: auto;
|
|
1134
1165
|
}
|
|
1135
1166
|
|
|
1136
|
-
${
|
|
1167
|
+
${tw}.right & {
|
|
1137
1168
|
margin-left: auto;
|
|
1138
1169
|
}
|
|
1139
1170
|
|
|
1140
|
-
${
|
|
1171
|
+
${tw}.center & {
|
|
1141
1172
|
margin: auto;
|
|
1142
1173
|
height: 95vh;
|
|
1143
1174
|
}
|
|
1144
|
-
`,
|
|
1175
|
+
`,rw=sn.div`
|
|
1176
|
+
display: flex;
|
|
1177
|
+
|
|
1178
|
+
${tw}.left & {
|
|
1179
|
+
flex-flow: row-reverse nowrap;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
${tw}.right & {
|
|
1183
|
+
flex-flow: row nowrap;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
${tw}.center & {
|
|
1187
|
+
flex-flow: row nowrap;
|
|
1188
|
+
}
|
|
1189
|
+
`,ow=sn.div`
|
|
1145
1190
|
display: flex;
|
|
1146
1191
|
flex-flow: row nowrap;
|
|
1147
1192
|
align-items: center;
|
|
@@ -1164,7 +1209,7 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1164
1209
|
strong {
|
|
1165
1210
|
font-weight: 700;
|
|
1166
1211
|
}
|
|
1167
|
-
`,
|
|
1212
|
+
`,aw=cn`
|
|
1168
1213
|
from {
|
|
1169
1214
|
margin-top: -50px;
|
|
1170
1215
|
}
|
|
@@ -1172,172 +1217,14 @@ function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Obj
|
|
|
1172
1217
|
to {
|
|
1173
1218
|
margin-top: 0
|
|
1174
1219
|
}
|
|
1175
|
-
`,
|
|
1220
|
+
`,iw=sn(ow)`
|
|
1176
1221
|
background-color: #ffdadd;
|
|
1177
|
-
animation: ${
|
|
1222
|
+
animation: ${aw} 0.5s ease;
|
|
1178
1223
|
|
|
1179
1224
|
svg {
|
|
1180
1225
|
color: var(--color--red);
|
|
1181
1226
|
}
|
|
1182
|
-
`,
|
|
1227
|
+
`,lw=sn.div`
|
|
1183
1228
|
position: relative;
|
|
1184
|
-
`;let
|
|
1185
|
-
/**
|
|
1186
|
-
* @mui/styled-engine-sc v6.0.0-alpha.18
|
|
1187
|
-
*
|
|
1188
|
-
* @license MIT
|
|
1189
|
-
* This source code is licensed under the MIT license found in the
|
|
1190
|
-
* LICENSE file in the root directory of this source tree.
|
|
1191
|
-
*/
|
|
1192
|
-
function(e,t){let n;if(n=t?bn(e).withConfig({displayName:t.label,shouldForwardProp:t.shouldForwardProp}):bn(e),"production"!==process.env.NODE_ENV){const t=(...t)=>{const o="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${o})()\` 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(${o})(...args) API requires all its args to be defined.`),n(...t)};return t.withConfig=n.withConfig,t}return n},internal_processStyles:(e,t)=>{e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))},keyframes:yn});function Hp(){return Hp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Hp.apply(null,arguments)}function Wp(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function qp(){return qp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},qp.apply(null,arguments)}function Gp(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 Up(e){if(!Gp(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=Up(e[n])})),t}function Kp(e,t,n={clone:!0}){const o=n.clone?qp({},e):e;return Gp(e)&&Gp(t)&&Object.keys(t).forEach((r=>{Gp(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&Gp(e[r])?o[r]=Kp(e[r],t[r],n):n.clone?o[r]=Gp(t[r])?Up(t[r]):t[r]:o[r]=t[r]})),o}var Yp=Object.freeze({__proto__:null,default:Kp,isPlainObject:Gp});const Xp=["values","unit","step"],Jp=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)=>Hp({},e,{[t.key]:t.val})),{})};function Zp(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,r=Wp(e,Xp),a=Jp(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)-o/100}${n})`}function c(e,r){const a=i.indexOf(r);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]]:r)-o/100}${n})`}return Hp({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},r)}var Qp={borderRadius:4};var ef="production"!==process.env.NODE_ENV?mi.oneOfType([mi.number,mi.string,mi.object,mi.array]):{};function tf(e,t){return t?Kp(e,t,{clone:!1}):e}const nf={xs:0,sm:600,md:900,lg:1200,xl:1536},of={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${nf[e]}px)`};function rf(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||of;return t.reduce(((o,r,a)=>(o[e.up(e.keys[a])]=n(t[a]),o)),{})}if("object"==typeof t){const e=o.breakpoints||of;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||nf).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function af(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":Ap(7));return e.charAt(0).toUpperCase()+e.slice(1)}var lf=Object.freeze({__proto__:null,default:af});function sf(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 cf(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:sf(e,n)||o,t&&(r=t(r,o,e)),r}function uf(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:r}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=sf(e.theme,o)||{};return rf(e,a,(e=>{let o=cf(i,r,e);return e===o&&"string"==typeof e&&(o=cf(i,r,`${t}${"default"===e?"":af(e)}`,e)),!1===n?o:{[n]:o}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:ef}:{},a.filterProps=[t],a}const df={m:"margin",p:"padding"},pf={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ff={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},mf=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!ff[e])return[e];e=ff[e]}const[t,n]=e.split(""),o=df[t],r=pf[n]||"";return Array.isArray(r)?r.map((e=>o+e)):[o+r]})),gf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],hf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],bf=[...gf,...hf];function vf(e,t,n,o){var r;const a=null!=(r=sf(e,t,!1))?r:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${o} 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 yf(e){return vf(e,"spacing",8,"spacing")}function wf(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 xf(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=wf(t,n),e)),{})}(mf(n),o);return rf(e,e[n],r)}function Sf(e,t){const n=yf(e.theme);return Object.keys(e).map((o=>xf(e,t,o,n))).reduce(tf,{})}function Of(e){return Sf(e,gf)}function Cf(e){return Sf(e,hf)}function kf(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,o)=>t[o]?tf(n,t[o](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 Ef(e){return"number"!=typeof e?e:`${e}px solid`}function Rf(e,t){return uf({prop:e,themeKey:"borders",transform:t})}Of.propTypes="production"!==process.env.NODE_ENV?gf.reduce(((e,t)=>(e[t]=ef,e)),{}):{},Of.filterProps=gf,Cf.propTypes="production"!==process.env.NODE_ENV?hf.reduce(((e,t)=>(e[t]=ef,e)),{}):{},Cf.filterProps=hf,"production"===process.env.NODE_ENV||bf.reduce(((e,t)=>(e[t]=ef,e)),{});const Pf=Rf("border",Ef),Tf=Rf("borderTop",Ef),Nf=Rf("borderRight",Ef),If=Rf("borderBottom",Ef),Mf=Rf("borderLeft",Ef),$f=Rf("borderColor"),Af=Rf("borderTopColor"),zf=Rf("borderRightColor"),Ff=Rf("borderBottomColor"),jf=Rf("borderLeftColor"),Df=Rf("outline",Ef),Vf=Rf("outlineColor"),Lf=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=vf(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:wf(t,e)});return rf(e,e.borderRadius,n)}return null};Lf.propTypes="production"!==process.env.NODE_ENV?{borderRadius:ef}:{},Lf.filterProps=["borderRadius"],kf(Pf,Tf,Nf,If,Mf,$f,Af,zf,Ff,jf,Lf,Df,Vf);const _f=e=>{if(void 0!==e.gap&&null!==e.gap){const t=vf(e.theme,"spacing",8,"gap"),n=e=>({gap:wf(t,e)});return rf(e,e.gap,n)}return null};_f.propTypes="production"!==process.env.NODE_ENV?{gap:ef}:{},_f.filterProps=["gap"];const Bf=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=vf(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:wf(t,e)});return rf(e,e.columnGap,n)}return null};Bf.propTypes="production"!==process.env.NODE_ENV?{columnGap:ef}:{},Bf.filterProps=["columnGap"];const Hf=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=vf(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:wf(t,e)});return rf(e,e.rowGap,n)}return null};Hf.propTypes="production"!==process.env.NODE_ENV?{rowGap:ef}:{},Hf.filterProps=["rowGap"];function Wf(e,t){return"grey"===t?t:e}kf(_f,Bf,Hf,uf({prop:"gridColumn"}),uf({prop:"gridRow"}),uf({prop:"gridAutoFlow"}),uf({prop:"gridAutoColumns"}),uf({prop:"gridAutoRows"}),uf({prop:"gridTemplateColumns"}),uf({prop:"gridTemplateRows"}),uf({prop:"gridTemplateAreas"}),uf({prop:"gridArea"}));function qf(e){return e<=1&&0!==e?100*e+"%":e}kf(uf({prop:"color",themeKey:"palette",transform:Wf}),uf({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Wf}),uf({prop:"backgroundColor",themeKey:"palette",transform:Wf}));const Gf=uf({prop:"width",transform:qf}),Uf=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,o;const r=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||nf[t];return r?"px"!==(null==(o=e.theme)||null==(o=o.breakpoints)?void 0:o.unit)?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:qf(t)}};return rf(e,e.maxWidth,t)}return null};Uf.filterProps=["maxWidth"];const Kf=uf({prop:"minWidth",transform:qf}),Yf=uf({prop:"height",transform:qf}),Xf=uf({prop:"maxHeight",transform:qf}),Jf=uf({prop:"minHeight",transform:qf});uf({prop:"size",cssProperty:"width",transform:qf}),uf({prop:"size",cssProperty:"height",transform:qf});kf(Gf,Uf,Kf,Yf,Xf,Jf,uf({prop:"boxSizing"}));var Zf={border:{themeKey:"borders",transform:Ef},borderTop:{themeKey:"borders",transform:Ef},borderRight:{themeKey:"borders",transform:Ef},borderBottom:{themeKey:"borders",transform:Ef},borderLeft:{themeKey:"borders",transform:Ef},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ef},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lf},color:{themeKey:"palette",transform:Wf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Wf},backgroundColor:{themeKey:"palette",transform:Wf},p:{style:Cf},pt:{style:Cf},pr:{style:Cf},pb:{style:Cf},pl:{style:Cf},px:{style:Cf},py:{style:Cf},padding:{style:Cf},paddingTop:{style:Cf},paddingRight:{style:Cf},paddingBottom:{style:Cf},paddingLeft:{style:Cf},paddingX:{style:Cf},paddingY:{style:Cf},paddingInline:{style:Cf},paddingInlineStart:{style:Cf},paddingInlineEnd:{style:Cf},paddingBlock:{style:Cf},paddingBlockStart:{style:Cf},paddingBlockEnd:{style:Cf},m:{style:Of},mt:{style:Of},mr:{style:Of},mb:{style:Of},ml:{style:Of},mx:{style:Of},my:{style:Of},margin:{style:Of},marginTop:{style:Of},marginRight:{style:Of},marginBottom:{style:Of},marginLeft:{style:Of},marginX:{style:Of},marginY:{style:Of},marginInline:{style:Of},marginInlineStart:{style:Of},marginInlineEnd:{style:Of},marginBlock:{style:Of},marginBlockStart:{style:Of},marginBlockEnd:{style:Of},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:_f},rowGap:{style:Hf},columnGap:{style:Bf},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:qf},maxWidth:{style:Uf},minWidth:{transform:qf},height:{transform:qf},maxHeight:{transform:qf},minHeight:{transform:qf},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Qf(){function e(e,t,n,o){const r={[e]:t,theme:n},a=o[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=sf(n,l)||{};if(c)return c(r);return rf(r,t,(t=>{let n=cf(u,s,t);return t===n&&"string"==typeof t&&(n=cf(u,s,`${e}${"default"===t?"":af(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var o;const{sx:r,theme:a={}}=n||{};if(!r)return null;const i=null!=(o=a.unstable_sxConfig)?o:Zf;function l(n){let o=n;if("function"==typeof n)o=n(a);else if("object"!=typeof n)return n;if(!o)return null;const r=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(r);let s=r;return Object.keys(o).forEach((n=>{const r=(l=o[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=r)if("object"==typeof r)if(i[n])s=tf(s,e(n,r,a,i));else{const e=rf({theme:a},r,(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,r)?s=tf(s,e):s[n]=t({sx:r,theme:a})}else s=tf(s,e(n,r,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(r)?r.map(l):l(r)}}const em=Qf();function tm(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const o=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[o]:t}}return n.palette.mode===e?t:{}}em.filterProps=["sx"];const nm=["breakpoints","palette","spacing","shape"];function om(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:a={}}=e,i=Wp(e,nm),l=Zp(n),s=function(e=8){if(e.mui)return e;const t=yf({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}`)),(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" "));return n.mui=!0,n}(r);let c=Kp({breakpoints:l,direction:"ltr",components:{},palette:Hp({mode:"light"},o),spacing:s,shape:Hp({},Qp,a)},i);return c.applyStyles=tm,c=t.reduce(((e,t)=>Kp(e,t)),c),c.unstable_sxConfig=Hp({},Zf,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return em({sx:e,theme:this})},c}var rm=Object.freeze({__proto__:null,default:om,private_createBreakpoints:Zp,unstable_applyStyles:tm});function am(e=null){const t=o.useContext(ln);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const im=om();function lm(e=im){return am(e)}function sm({styles:t,themeId:n,defaultTheme:o={}}){const r=lm(o),a="function"==typeof t?t(n&&r[n]||r):t;return e(_p,{styles:a})}"production"!==process.env.NODE_ENV&&(sm.propTypes={defaultTheme:mi.object,styles:mi.oneOfType([mi.array,mi.func,mi.number,mi.object,mi.string,mi.bool]),themeId:mi.string});const cm=["sx"];var um=Object.freeze({__proto__:null,default:em,extendSxProp:function(e){const{sx:t}=e,n=Wp(e,cm),{systemProps:o,otherProps:r}=(e=>{var t,n;const o={systemProps:{},otherProps:{}},r=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Zf;return Object.keys(e).forEach((t=>{r[t]?o.systemProps[t]=e[t]:o.otherProps[t]=e[t]})),o})(n);let a;return a=Array.isArray(t)?[o,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Gp(n)?Hp({},o,n):o}:Hp({},o,t),Hp({},r,{sx:a})},unstable_createStyleFunctionSx:Qf,unstable_defaultSxConfig:Zf});const dm=e=>e,pm=(()=>{let e=dm;return{configure(t){e=t},generate:t=>e(t),reset(){e=dm}}})();function fm(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=fm(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function mm(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=fm(e))&&(o&&(o+=" "),o+=t);return o}const gm={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 hm(e,t,n="Mui"){const o=gm[t];return o?`${n}-${o}`:`${pm.generate(e)}-${t}`}function bm(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=hm(e,t,n)})),o}var vm,ym={exports:{}},wm={};var xm,Sm={};
|
|
1193
|
-
/**
|
|
1194
|
-
* @license React
|
|
1195
|
-
* react-is.development.js
|
|
1196
|
-
*
|
|
1197
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1198
|
-
*
|
|
1199
|
-
* This source code is licensed under the MIT license found in the
|
|
1200
|
-
* LICENSE file in the root directory of this source tree.
|
|
1201
|
-
*/"production"===process.env.NODE_ENV?ym.exports=function(){if(vm)return wm;vm=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=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 o:case a:case r: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"),wm.ContextConsumer=l,wm.ContextProvider=i,wm.Element=t,wm.ForwardRef=c,wm.Fragment=o,wm.Lazy=f,wm.Memo=p,wm.Portal=n,wm.Profiler=a,wm.StrictMode=r,wm.Suspense=u,wm.SuspenseList=d,wm.isAsyncMode=function(){return!1},wm.isConcurrentMode=function(){return!1},wm.isContextConsumer=function(e){return g(e)===l},wm.isContextProvider=function(e){return g(e)===i},wm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},wm.isForwardRef=function(e){return g(e)===c},wm.isFragment=function(e){return g(e)===o},wm.isLazy=function(e){return g(e)===f},wm.isMemo=function(e){return g(e)===p},wm.isPortal=function(e){return g(e)===n},wm.isProfiler=function(e){return g(e)===a},wm.isStrictMode=function(e){return g(e)===r},wm.isSuspense=function(e){return g(e)===u},wm.isSuspenseList=function(e){return g(e)===d},wm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===a||t===r||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)},wm.typeOf=g,wm}():ym.exports=(xm||(xm=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=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 o:case a:case r: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,b=i,v=t,y=c,w=o,x=f,S=p,O=n,C=a,k=r,E=u,R=d,P=!1,T=!1;Sm.ContextConsumer=h,Sm.ContextProvider=b,Sm.Element=v,Sm.ForwardRef=y,Sm.Fragment=w,Sm.Lazy=x,Sm.Memo=S,Sm.Portal=O,Sm.Profiler=C,Sm.StrictMode=k,Sm.Suspense=E,Sm.SuspenseList=R,Sm.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Sm.isConcurrentMode=function(e){return T||(T=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Sm.isContextConsumer=function(e){return g(e)===l},Sm.isContextProvider=function(e){return g(e)===i},Sm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Sm.isForwardRef=function(e){return g(e)===c},Sm.isFragment=function(e){return g(e)===o},Sm.isLazy=function(e){return g(e)===f},Sm.isMemo=function(e){return g(e)===p},Sm.isPortal=function(e){return g(e)===n},Sm.isProfiler=function(e){return g(e)===a},Sm.isStrictMode=function(e){return g(e)===r},Sm.isSuspense=function(e){return g(e)===u},Sm.isSuspenseList=function(e){return g(e)===d},Sm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===a||t===r||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)},Sm.typeOf=g}()),Sm);var Om=ym.exports;const Cm=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function km(e){const t=`${e}`.match(Cm);return t&&t[1]||""}function Em(e,t=""){return e.displayName||e.name||km(e)||t}function Rm(e,t,n){const o=Em(t);return e.displayName||(""!==o?`${n}(${o})`:n)}var Pm=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Em(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Om.ForwardRef:return Rm(e,e.render,"ForwardRef");case Om.Memo:return Rm(e,e.type,"memo");default:return}}},getFunctionName:km});function Tm(e,t){const n=qp({},t);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=qp({},e[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const r=e[o]||{},a=t[o];n[o]={},a&&Object.keys(a)?r&&Object.keys(r)?(n[o]=qp({},a),Object.keys(r).forEach((e=>{n[o][e]=Tm(r[e],a[e])}))):n[o]=a:n[o]=r}else void 0===n[o]&&(n[o]=e[o])})),n}function Nm(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Tm(t.components[n].defaultProps,o):o}const Im="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;var Mm=Object.freeze({__proto__:null,default:function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}});function $m(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function Am(e,t,n,o,r){const a=e[t],i=r||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 ${o} \`${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 zm=$m(mi.element,Am);zm.isRequired=$m(mi.element.isRequired,Am);var Fm=zm;var jm=$m(mi.elementType,(function(e,t,n,o,r){const a=e[t],i=r||t;if(null==a||"undefined"==typeof window)return null;let l;return"function"!=typeof a||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(a)||(l="Did you accidentally provide a plain function component instead?"),void 0!==l?new Error(`Invalid ${o} \`${i}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}));const Dm="exact-prop: ";function Vm(e){return"production"===process.env.NODE_ENV?e:qp({},e,{[Dm]: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 Lm(e,t,n,o,r){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=r||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${o} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}var _m=mi.oneOfType([mi.func,mi.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=166){let n;function o(...o){clearTimeout(n),n=setTimeout((()=>{e.apply(this,o)}),t)}return o.clear=()=>{clearTimeout(n)},o}function Wm(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 qm(e){return e&&e.ownerDocument||document}function Gm(e){return qm(e).defaultView||window}function Um(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let Km=0;const Ym=o["useId".toString()];function Xm(e){if(void 0!==Ym){const t=Ym();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(Km+=1,n(`mui-${Km}`))}),[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 Zm(e){const t=o.useRef(e);return Im((()=>{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=>{Um(e,t)}))}),e)}const eg={};const tg=[];class ng{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ng}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function og(){const e=function(e,t){const n=o.useRef(eg);return n.current===eg&&(n.current=e(t)),n}(ng.create).current;var t;return t=e.disposeEffect,o.useEffect(t,tg),e}let rg=!0,ag=!1;const ig=new ng,lg={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 sg(e){e.metaKey||e.altKey||e.ctrlKey||(rg=!0)}function cg(){rg=!1}function ug(){"hidden"===this.visibilityState&&ag&&(rg=!0)}function dg(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return rg||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!lg[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function pg(){const e=o.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",sg,!0),t.addEventListener("mousedown",cg,!0),t.addEventListener("pointerdown",cg,!0),t.addEventListener("touchstart",cg,!0),t.addEventListener("visibilitychange",ug,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!dg(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(ag=!0,ig.start(100,(()=>{ag=!1})),t.current=!1,!0)},ref:e}}function fg(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const mg=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function gg(e,t,n,o){const r=e[t];if(null==r||!mg(r)){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}}(r);return new RangeError(`Invalid ${o} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function hg(e,t,...n){return void 0===e[t]?null:gg(e,t,...n)}function bg(){return null}hg.isRequired=gg,bg.isRequired=bg;var vg="production"===process.env.NODE_ENV?bg:hg;function yg(e,t,n=void 0){const o={};return Object.keys(e).forEach((r=>{o[r]=e[r].reduce(((e,o)=>{if(o){const r=t(o);""!==r&&e.push(r),n&&n[o]&&e.push(n[o])}return e}),[]).join(" ")})),o}const wg=o.createContext();"production"!==process.env.NODE_ENV&&(mi.node,mi.bool);var xg,Sg={},Og={exports:{}};(xg=Og).exports=function(e){return e&&e.__esModule?e:{default:e}},xg.exports.__esModule=!0,xg.exports.default=xg.exports;var Cg=Og.exports,kg=R(zp),Eg=R(Mm),Rg=Cg;Object.defineProperty(Sg,"__esModule",{value:!0});var Pg=Sg.alpha=_g;Sg.blend=function(e,t,n,o=1){const r=(e,t)=>Math.round((e**(1/o)*(1-n)+t**(1/o)*n)**o),a=Fg(e),i=Fg(t),l=[r(a.values[0],i.values[0]),r(a.values[1],i.values[1]),r(a.values[2],i.values[2])];return Dg({type:"rgb",values:l})},Sg.colorChannel=void 0;var Tg=Sg.darken=Bg;Sg.decomposeColor=Fg,Sg.emphasize=Wg;var Ng=Sg.getContrastRatio=function(e,t){const n=Lg(e),o=Lg(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)};Sg.getLuminance=Lg,Sg.hexToRgb=zg,Sg.hslToRgb=Vg;var Ig=Sg.lighten=Hg;Sg.private_safeAlpha=function(e,t,n){try{return _g(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Sg.private_safeColorChannel=void 0,Sg.private_safeDarken=function(e,t,n){try{return Bg(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Sg.private_safeEmphasize=function(e,t,n){try{return Wg(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Sg.private_safeLighten=function(e,t,n){try{return Hg(e,t)}catch(t){return n&&"production"!==process.env.NODE_ENV&&console.warn(n),e}},Sg.recomposeColor=Dg,Sg.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=Fg(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var Mg=Rg(kg),$g=Rg(Eg);function Ag(e,t=0,n=1){return"production"!==process.env.NODE_ENV&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,$g.default)(e,t,n)}function zg(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(", ")})`:""}function Fg(e){if(e.type)return e;if("#"===e.charAt(0))return Fg(zg(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().`:(0,Mg.default)(9,e));let o,r=e.substring(t+1,e.length-1);if("color"===n){if(r=r.split(" "),o=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${o}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Mg.default)(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}const jg=e=>{const t=Fg(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};Sg.colorChannel=jg;function Dg(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return-1!==t.indexOf("rgb")?o=o.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),o=-1!==t.indexOf("color")?`${n} ${o.join(" ")}`:`${o.join(", ")}`,`${t}(${o})`}function Vg(e){e=Fg(e);const{values:t}=e,n=t[0],o=t[1]/100,r=t[2]/100,a=o*Math.min(r,1-r),i=(e,t=(e+n/30)%12)=>r-a*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Dg({type:l,values:s})}function Lg(e){let t="hsl"===(e=Fg(e)).type||"hsla"===e.type?Fg(Vg(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function _g(e,t){return e=Fg(e),t=Ag(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Dg(e)}function Bg(e,t){if(e=Fg(e),t=Ag(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Dg(e)}function Hg(e,t){if(e=Fg(e),t=Ag(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Dg(e)}function Wg(e,t=.15){return Lg(e)>.5?Bg(e,t):Hg(e,t)}Sg.private_safeColorChannel=(e,t)=>{try{return jg(e)}catch(n){return t&&"production"!==process.env.NODE_ENV&&console.warn(t),e}};const qg=["mode","contrastThreshold","tonalOffset"],Gg={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ep.white,default:Ep.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ug={text:{primary:Ep.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ep.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Kg(e,t,n,o){const r=o.light||o,a=o.dark||1.5*o;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Ig(e.main,r):"dark"===t&&(e.dark=Tg(e.main,a)))}function Yg(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=Dp(e,qg),a=e.primary||function(e="light"){return"dark"===e?{main:Tp[200],light:Tp[50],dark:Tp[400]}:{main:Tp[700],light:Tp[400],dark:Tp[800]}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:Pp[200],light:Pp[50],dark:Pp[400]}:{main:Pp[500],light:Pp[300],dark:Pp[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Rp[500],light:Rp[300],dark:Rp[700]}:{main:Rp[700],light:Rp[400],dark:Rp[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Np[400],light:Np[300],dark:Np[700]}:{main:Np[700],light:Np[500],dark:Np[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Ip[400],light:Ip[300],dark:Ip[700]}:{main:Ip[800],light:Ip[500],dark:Ip[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Mp[400],light:Mp[300],dark:Mp[700]}:{main:"#ed6c02",light:Mp[500],dark:Mp[900]}}(t);function d(e){const t=Ng(e,Ug.text.primary)>=n?Ug.text.primary:Gg.text.primary;if("production"!==process.env.NODE_ENV){const n=Ng(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join("\n"))}return t}const p=({color:e,name:t,mainShade:n=500,lightShade:r=300,darkShade:a=700})=>{if(!(e=jp({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`:Ap(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error("production"!==process.env.NODE_ENV?`MUI: The color${t?` (${t})`:""} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport { green } from "@mui/material/colors";\n\nconst theme1 = createTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createTheme({ palette: {\n primary: { main: green[500] },\n} });`:Ap(12,t?` (${t})`:"",JSON.stringify(e.main)));return Kg(e,"light",r,o),Kg(e,"dark",a,o),e.contrastText||(e.contrastText=d(e.main)),e},f={dark:Ug,light:Gg};"production"!==process.env.NODE_ENV&&(f[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`));return Kp(jp({common:jp({},Ep),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:$p,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:o},f[t]),r)}const Xg=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Jg={textTransform:"uppercase"},Zg='"Roboto", "Helvetica", "Arial", sans-serif';function Qg(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=Zg,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=n,p=Dp(n,Xg);"production"!==process.env.NODE_ENV&&("number"!=typeof r&&console.error("MUI: `fontSize` is required to be a number."),"number"!=typeof c&&console.error("MUI: `htmlFontSize` is required to be a number."));const f=r/14,m=d||(e=>e/c*f+"rem"),g=(e,t,n,r,a)=>{return jp({fontFamily:o,fontWeight:e,fontSize:m(t),lineHeight:n},o===Zg?{letterSpacing:(i=r/t,Math.round(1e5*i)/1e5)+"em"}:{},a,u);var i},h={h1:g(a,96,1.167,-1.5),h2:g(a,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(l,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(l,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(l,14,1.75,.4,Jg),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,Jg),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Kp(jp({htmlFontSize:c,pxToRem:m,fontFamily:o,fontSize:r,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:l,fontWeightBold:s},h),p,{clone:!1})}function eh(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const th=["none",eh(0,2,1,-1,0,1,1,0,0,1,3,0),eh(0,3,1,-2,0,2,2,0,0,1,5,0),eh(0,3,3,-2,0,3,4,0,0,1,8,0),eh(0,2,4,-1,0,4,5,0,0,1,10,0),eh(0,3,5,-1,0,5,8,0,0,1,14,0),eh(0,3,5,-1,0,6,10,0,0,1,18,0),eh(0,4,5,-2,0,7,10,1,0,2,16,1),eh(0,5,5,-3,0,8,10,1,0,3,14,2),eh(0,5,6,-3,0,9,12,1,0,3,16,2),eh(0,6,6,-3,0,10,14,1,0,4,18,3),eh(0,6,7,-4,0,11,15,1,0,4,20,3),eh(0,7,8,-4,0,12,17,2,0,5,22,4),eh(0,7,8,-4,0,13,19,2,0,5,24,4),eh(0,7,9,-4,0,14,21,2,0,5,26,4),eh(0,8,9,-5,0,15,22,2,0,6,28,5),eh(0,8,10,-5,0,16,24,2,0,6,30,5),eh(0,8,11,-5,0,17,26,2,0,6,32,5),eh(0,9,11,-5,0,18,28,2,0,7,34,6),eh(0,9,12,-6,0,19,29,2,0,7,36,6),eh(0,10,13,-6,0,20,31,3,0,8,38,7),eh(0,10,13,-6,0,21,33,3,0,8,40,7),eh(0,10,14,-6,0,22,35,3,0,8,42,7),eh(0,11,14,-7,0,23,36,3,0,9,44,8),eh(0,11,15,-7,0,24,38,3,0,9,46,8)],nh=["duration","easing","delay"],oh={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},rh={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ah(e){return`${Math.round(e)}ms`}function ih(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function lh(e){const t=jp({},oh,e.easing),n=jp({},rh,e.duration);return jp({getAutoHeightDuration:ih,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:a=t.easeInOut,delay:i=0}=o,l=Dp(o,nh);if("production"!==process.env.NODE_ENV){const t=e=>"string"==typeof e,n=e=>!isNaN(parseFloat(e));t(e)||Array.isArray(e)||console.error('MUI: Argument "props" must be a string or Array.'),n(r)||t(r)||console.error(`MUI: Argument "duration" must be a number or a string but found ${r}.`),t(a)||console.error('MUI: Argument "easing" must be a string.'),n(i)||t(i)||console.error('MUI: Argument "delay" must be a number or a string.'),"object"!=typeof o&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")),0!==Object.keys(l).length&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(l).join(",")}].`)}return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:ah(r)} ${a} ${"string"==typeof i?i:ah(i)}`)).join(",")}},e,{easing:t,duration:n})}var sh={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const ch=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const uh=function(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:a={}}=e,i=Dp(e,ch);if(e.vars)throw new Error("production"!==process.env.NODE_ENV?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":Ap(18));const l=Yg(o),s=om(e);let c=Kp(s,{mixins:(u=s.breakpoints,d=n,jp({toolbar:{minHeight:56,[u.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[u.up("sm")]:{minHeight:64}}},d)),palette:l,shadows:th.slice(),typography:Qg(l,a),transitions:lh(r),zIndex:jp({},sh)});var u,d;if(c=Kp(c,i),c=t.reduce(((e,t)=>Kp(e,t)),c),"production"!==process.env.NODE_ENV){const e=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],t=(t,n)=>{let o;for(o in t){const r=t[o];if(-1!==e.indexOf(o)&&Object.keys(r).length>0){if("production"!==process.env.NODE_ENV){const e=hm("",o);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${o}\` internal state.`,"You can not override it like this: ",JSON.stringify(t,null,2),"",`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:r}},null,2),"","https://mui.com/r/state-classes-guide"].join("\n"))}t[o]={}}}};Object.keys(c.components).forEach((e=>{const n=c.components[e].styleOverrides;n&&0===e.indexOf("Mui")&&t(n,e)}))}return c.unstable_sxConfig=jp({},Zf,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return em({sx:e,theme:this})},c}();var dh=uh;function ph(){const e=lm(dh);return"production"!==process.env.NODE_ENV&&o.useDebugValue(e),e[Fp]||e}function fh({props:e,name:t}){return function({props:e,name:t,defaultTheme:n,themeId:o}){let r=lm(n);return o&&(r=r[o]||r),Nm({theme:r,name:t,props:e})}({props:e,name:t,defaultTheme:dh,themeId:Fp})}var mh,gh={},hh={exports:{}};var bh,vh={exports:{}};var yh=R(Bp),wh=R(Yp),xh=R(lf),Sh=R(Pm),Oh=R(rm),Ch=R(um),kh=Cg;Object.defineProperty(gh,"__esModule",{value:!0});var Eh=gh.default=function(e={}){const{themeId:t,defaultTheme:n=Lh,rootShouldForwardProp:o=Vh,slotShouldForwardProp:r=Vh}=e,a=e=>(0,Ah.default)((0,Rh.default)({},e,{theme:Bh((0,Rh.default)({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{(0,Th.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=Hh(_h(s))}=i,p=(0,Ph.default)(i,jh),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,m=u||!1;let g;"production"!==process.env.NODE_ENV&&l&&(g=`${l}-${_h(s||"Root")}`);let h=Vh;"Root"===s||"root"===s?h=o:s?h=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const b=(0,Th.default)(e,(0,Rh.default)({shouldForwardProp:h,label:g},p)),v=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Nh.isPlainObject)(e)?o=>Wh(e,(0,Rh.default)({},o,{theme:Bh({theme:o.theme,defaultTheme:n,themeId:t})})):e,y=(o,...r)=>{let i=v(o);const c=r?r.map(v):[];l&&d&&c.push((e=>{const o=Bh((0,Rh.default)({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[l]||!o.components[l].styleOverrides)return null;const r=o.components[l].styleOverrides,a={};return Object.entries(r).forEach((([t,n])=>{a[t]=Wh(n,(0,Rh.default)({},e,{theme:o}))})),d(e,a)})),l&&!f&&c.push((e=>{var o;const r=Bh((0,Rh.default)({},e,{defaultTheme:n,themeId:t}));return Wh({variants:null==r||null==(o=r.components)||null==(o=o[l])?void 0:o.variants},(0,Rh.default)({},e,{theme:r}))})),m||c.push(a);const u=c.length-r.length;if(Array.isArray(o)&&u>0){const e=new Array(u).fill("");i=[...o,...e],i.raw=[...o.raw,...e]}const p=b(i,...c);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${(0,Ih.default)(s||"")}`),void 0===t&&(t=`Styled(${(0,Mh.default)(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return b.withConfig&&(y.withConfig=b.withConfig),y}};gh.shouldForwardProp=Vh,gh.systemDefaultTheme=void 0;var Rh=kh((mh||(mh=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(hh)),hh.exports)),Ph=kh((bh||(bh=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(vh)),vh.exports)),Th=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=Dh(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(yh),Nh=wh,Ih=kh(xh),Mh=kh(Sh),$h=kh(Oh),Ah=kh(Ch);const zh=["ownerState"],Fh=["variants"],jh=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Dh(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(Dh=function(e){return e?n:t})(e)}function Vh(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Lh=gh.systemDefaultTheme=(0,$h.default)(),_h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Bh({defaultTheme:e,theme:t,themeId:n}){return o=t,0===Object.keys(o).length?e:t[n]||t;var o}function Hh(e){return e?(t,n)=>n[e]:null}function Wh(e,t){let{ownerState:n}=t,o=(0,Ph.default)(t,zh);const r="function"==typeof e?e((0,Rh.default)({ownerState:n},o)):e;if(Array.isArray(r))return r.flatMap((e=>Wh(e,(0,Rh.default)({ownerState:n},o))));if(r&&"object"==typeof r&&Array.isArray(r.variants)){const{variants:e=[]}=r;let t=(0,Ph.default)(r,Fh);return e.forEach((e=>{let r=!0;"function"==typeof e.props?r=e.props((0,Rh.default)({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(r=!1)})),r&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,Rh.default)({ownerState:n},o,n)):e.style))})),t}return r}function qh(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var Gh=e=>qh(e)&&"classes"!==e;const Uh=Eh({themeId:Fp,defaultTheme:dh,rootShouldForwardProp:Gh}),Kh=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Yh(e){return hm("MuiSvgIcon",e)}bm("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Xh=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Jh=Uh("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${af(n.color)}`],t[`fontSize${af(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,o,r,a,i,l,s,c,u,d,p,f,m;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(o=n.create)?void 0:o.call(n,"fill",{duration:null==(r=e.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(a=e.typography)||null==(i=a.pxToRem)?void 0:i.call(a,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(m=(e.vars||e).palette)||null==(m=m.action)?void 0:m.disabled,inherit:void 0}[t.color]}})),Zh=o.forwardRef((function(n,r){const a=fh({props:n,name:"MuiSvgIcon"}),{children:i,className:l,color:s="inherit",component:c="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:f,viewBox:m="0 0 24 24"}=a,g=Dp(a,Xh),h=o.isValidElement(i)&&"svg"===i.type,b=jp({},a,{color:s,component:c,fontSize:u,instanceFontSize:n.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:h}),v={};p||(v.viewBox=m);const y=(e=>{const{color:t,fontSize:n,classes:o}=e;return yg({root:["root","inherit"!==t&&`color${af(t)}`,`fontSize${af(n)}`]},Yh,o)})(b);return t(Jh,jp({as:c,className:mm(y.root,l),focusable:"false",color:d,"aria-hidden":!f||void 0,role:f?"img":void 0,ref:r},v,g,h&&i.props,{ownerState:b,children:[h?i.props.children:i,f?e("title",{children:f}):null]}))}));function Qh(t,n){function r(o,r){return e(Zh,jp({"data-testid":`${n}Icon`,ref:r},o,{children:t}))}return"production"!==process.env.NODE_ENV&&(r.displayName=`${n}Icon`),r.muiName=Zh.muiName,o.memo(o.forwardRef(r))}"production"!==process.env.NODE_ENV&&(Zh.propTypes={children:mi.node,classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),mi.string]),component:mi.elementType,fontSize:mi.oneOfType([mi.oneOf(["inherit","large","medium","small"]),mi.string]),htmlColor:mi.string,inheritViewBox:mi.bool,shapeRendering:mi.string,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),titleAccess:mi.string,viewBox:mi.string}),Zh.muiName="SvgIcon";var eb,tb={exports:{}},nb={};var ob,rb={};
|
|
1202
|
-
/**
|
|
1203
|
-
* @license React
|
|
1204
|
-
* react-is.development.js
|
|
1205
|
-
*
|
|
1206
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
1207
|
-
*
|
|
1208
|
-
* This source code is licensed under the MIT license found in the
|
|
1209
|
-
* LICENSE file in the root directory of this source tree.
|
|
1210
|
-
*/"production"===process.env.NODE_ENV?tb.exports=function(){if(eb)return nb;eb=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=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 o:case a:case r: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"),nb.ContextConsumer=l,nb.ContextProvider=i,nb.Element=t,nb.ForwardRef=c,nb.Fragment=o,nb.Lazy=f,nb.Memo=p,nb.Portal=n,nb.Profiler=a,nb.StrictMode=r,nb.Suspense=u,nb.SuspenseList=d,nb.isAsyncMode=function(){return!1},nb.isConcurrentMode=function(){return!1},nb.isContextConsumer=function(e){return g(e)===l},nb.isContextProvider=function(e){return g(e)===i},nb.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},nb.isForwardRef=function(e){return g(e)===c},nb.isFragment=function(e){return g(e)===o},nb.isLazy=function(e){return g(e)===f},nb.isMemo=function(e){return g(e)===p},nb.isPortal=function(e){return g(e)===n},nb.isProfiler=function(e){return g(e)===a},nb.isStrictMode=function(e){return g(e)===r},nb.isSuspense=function(e){return g(e)===u},nb.isSuspenseList=function(e){return g(e)===d},nb.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===a||t===r||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)},nb.typeOf=g,nb}():tb.exports=(ob||(ob=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=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 o:case a:case r: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,b=i,v=t,y=c,w=o,x=f,S=p,O=n,C=a,k=r,E=u,R=d,P=!1,T=!1;rb.ContextConsumer=h,rb.ContextProvider=b,rb.Element=v,rb.ForwardRef=y,rb.Fragment=w,rb.Lazy=x,rb.Memo=S,rb.Portal=O,rb.Profiler=C,rb.StrictMode=k,rb.Suspense=E,rb.SuspenseList=R,rb.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},rb.isConcurrentMode=function(e){return T||(T=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},rb.isContextConsumer=function(e){return g(e)===l},rb.isContextProvider=function(e){return g(e)===i},rb.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},rb.isForwardRef=function(e){return g(e)===c},rb.isFragment=function(e){return g(e)===o},rb.isLazy=function(e){return g(e)===f},rb.isMemo=function(e){return g(e)===p},rb.isPortal=function(e){return g(e)===n},rb.isProfiler=function(e){return g(e)===a},rb.isStrictMode=function(e){return g(e)===r},rb.isSuspense=function(e){return g(e)===u},rb.isSuspenseList=function(e){return g(e)===d},rb.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===a||t===r||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)},rb.typeOf=g}()),rb);var ab=tb.exports;function ib(){return ib=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ib.apply(this,arguments)}function lb(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function sb(e,t){return sb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sb(e,t)}function cb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sb(e,t)}var ub=!1,db="production"!==process.env.NODE_ENV?mi.oneOfType([mi.number,mi.shape({enter:mi.number,exit:mi.number,appear:mi.number}).isRequired]):null;"production"!==process.env.NODE_ENV&&mi.oneOfType([mi.string,mi.shape({enter:mi.string,exit:mi.string,active:mi.string}),mi.shape({enter:mi.string,enterDone:mi.string,enterActive:mi.string,exit:mi.string,exitDone:mi.string,exitActive:mi.string})]);var pb=r.createContext(null),fb="unmounted",mb="exited",gb="entering",hb="entered",bb="exiting",vb=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,a=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?a?(r=mb,o.appearStatus=gb):r=hb:r=t.unmountOnExit||t.mountOnEnter?fb:mb,o.state={status:r},o.nextCallback=null,o}cb(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===fb?{status:mb}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==gb&&n!==hb&&(t=gb):n!==gb&&n!==hb||(t=bb)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===gb){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:y.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===mb&&this.setState({status:fb})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[y.findDOMNode(this),o],a=r[0],i=r[1],l=this.getTimeouts(),s=o?l.appear:l.enter;!e&&!n||ub?this.safeSetState({status:hb},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,i),this.safeSetState({status:gb},(function(){t.props.onEntering(a,i),t.onTransitionEnd(s,(function(){t.safeSetState({status:hb},(function(){t.props.onEntered(a,i)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:y.findDOMNode(this);t&&!ub?(this.props.onExit(o),this.safeSetState({status:bb},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:mb},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:mb},(function(){e.props.onExited(o)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:y.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=r[0],i=r[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===fb)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=lb(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return r.createElement(pb.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function yb(){}vb.contextType=pb,vb.propTypes="production"!==process.env.NODE_ENV?{nodeRef:mi.shape({current:"undefined"==typeof Element?mi.any:function(e,t,n,o,r,a){var i=e[t];return mi.instanceOf(i&&"ownerDocument"in i?i.ownerDocument.defaultView.Element:Element)(e,t,n,o,r,a)}}),children:mi.oneOfType([mi.func.isRequired,mi.element.isRequired]).isRequired,in:mi.bool,mountOnEnter:mi.bool,unmountOnExit:mi.bool,appear:mi.bool,enter:mi.bool,exit:mi.bool,timeout:function(e){var t=db;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return t.apply(void 0,[e].concat(o))},addEndListener:mi.func,onEnter:mi.func,onEntering:mi.func,onEntered:mi.func,onExit:mi.func,onExiting:mi.func,onExited:mi.func}:{},vb.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yb,onEntering:yb,onEntered:yb,onExit:yb,onExiting:yb,onExited:yb},vb.UNMOUNTED=fb,vb.EXITED=mb,vb.ENTERING=gb,vb.ENTERED=hb,vb.EXITING=bb;var wb=vb;function xb(e,t){var n=Object.create(null);return e&&m.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&g(e)?t(e):e}(e)})),n}function Sb(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ob(e,t,n){var o=xb(e.children),r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var o,r=Object.create(null),a=[];for(var i in e)i in t?a.length&&(r[i]=a,a=[]):a.push(i);var l={};for(var s in t){if(r[s])for(o=0;o<r[s].length;o++){var c=r[s][o];l[r[s][o]]=n(c)}l[s]=n(s)}for(o=0;o<a.length;o++)l[a[o]]=n(a[o]);return l}(t,o);return Object.keys(r).forEach((function(a){var i=r[a];if(g(i)){var l=a in t,s=a in o,c=t[a],u=g(c)&&!c.props.in;!s||l&&!u?s||!l||u?s&&l&&g(c)&&(r[a]=h(i,{onExited:n.bind(null,i),in:c.props.in,exit:Sb(i,"exit",e),enter:Sb(i,"enter",e)})):r[a]=h(i,{in:!1}):r[a]=h(i,{onExited:n.bind(null,i),in:!0,exit:Sb(i,"exit",e),enter:Sb(i,"enter",e)})}})),r}var Cb=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},kb=function(e){function t(t,n){var o,r=(o=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o));return o.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},o}cb(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,o,r=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,o=a,xb(n.children,(function(e){return h(e,{onExited:o.bind(null,e),in:!0,appear:Sb(e,"appear",n),enter:Sb(e,"enter",n),exit:Sb(e,"exit",n)})}))):Ob(e,r,a),firstRender:!1}},n.handleExited=function(e,t){var n=xb(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=ib({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=lb(e,["component","childFactory"]),a=this.state.contextValue,i=Cb(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?r.createElement(pb.Provider,{value:a},i):r.createElement(pb.Provider,{value:a},r.createElement(t,o,i))},t}(r.Component);kb.propTypes="production"!==process.env.NODE_ENV?{component:mi.any,children:mi.node,appear:mi.bool,enter:mi.bool,exit:mi.bool,childFactory:mi.func}:{},kb.defaultProps={component:"div",childFactory:function(e){return e}};var Eb=kb;const Rb=e=>e.scrollTop;function Pb(e,t){var n,o;const{timeout:r,easing:a,style:i={}}=e;return{duration:null!=(n=i.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=i.transitionTimingFunction)?o:"object"==typeof a?a[t.mode]:a,delay:i.transitionDelay}}function Tb(e){return hm("MuiPaper",e)}bm("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Nb=["className","component","elevation","square","variant"],Ib=Uh("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return jp({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&jp({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Pg("#fff",Kh(t.elevation))}, ${Pg("#fff",Kh(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),Mb=o.forwardRef((function(t,n){const o=fh({props:t,name:"MuiPaper"}),{className:r,component:a="div",elevation:i=1,square:l=!1,variant:s="elevation"}=o,c=Dp(o,Nb),u=jp({},o,{component:a,elevation:i,square:l,variant:s}),d=(e=>{const{square:t,elevation:n,variant:o,classes:r}=e;return yg({root:["root",o,!t&&"rounded","elevation"===o&&`elevation${n}`]},Tb,r)})(u);if("production"!==process.env.NODE_ENV){void 0===ph().shadows[i]&&console.error([`MUI: The elevation provided <Paper elevation={${i}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${i}]\` is defined.`].join("\n"))}return e(Ib,jp({as:a,ownerState:u,className:mm(d.root,r),ref:n},c))}));"production"!==process.env.NODE_ENV&&(Mb.propTypes={children:mi.node,classes:mi.object,className:mi.string,component:mi.elementType,elevation:$m(vg,(e=>{const{elevation:t,variant:n}=e;return t>0&&"outlined"===n?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null})),square:mi.bool,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),variant:mi.oneOfType([mi.oneOf(["elevation","outlined"]),mi.string])});var $b=Mb;function Ab(){return Ab=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ab.apply(null,arguments)}function zb(e){return"string"==typeof e}const Fb={disableDefaultClasses:!1},jb=o.createContext(Fb);function Db(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 Vb(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}function Lb(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}"production"!==process.env.NODE_ENV&&(jb.displayName="ClassNameConfiguratorContext");const _b=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Bb(e){var t;const{elementType:n,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:a=!1}=e,i=Vb(e,_b),l=a?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(o,r),{props:s,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:r,className:a}=e;if(!t){const e=mm(null==n?void 0:n.className,a,null==r?void 0:r.className,null==o?void 0:o.className),t=Ab({},null==n?void 0:n.style,null==r?void 0:r.style,null==o?void 0:o.style),i=Ab({},n,r,o);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=Db(Ab({},r,o)),l=Lb(o),s=Lb(r),c=t(i),u=mm(null==c?void 0:c.className,null==n?void 0:n.className,a,null==r?void 0:r.className,null==o?void 0:o.className),d=Ab({},null==c?void 0:c.style,null==n?void 0:n.style,null==r?void 0:r.style,null==o?void 0:o.style),p=Ab({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}(Ab({},i,{externalSlotProps:l})),u=function(e,t,n){return void 0===e||zb(e)?t:Ab({},t,{ownerState:Ab({},t.ownerState,n)})}(n,Ab({},s,{ref:Qm(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),r);return u}function Hb(t){const{className:n,classes:r,pulsate:a=!1,rippleX:i,rippleY:l,rippleSize:s,in:c,onExited:u,timeout:d}=t,[p,f]=o.useState(!1),m=mm(n,r.ripple,r.rippleVisible,a&&r.ripplePulsate),g={width:s,height:s,top:-s/2+l,left:-s/2+i},h=mm(r.child,p&&r.childLeaving,a&&r.childPulsate);return c||p||f(!0),o.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),e("span",{className:m,style:g,children:e("span",{className:h})})}"production"!==process.env.NODE_ENV&&(Hb.propTypes={classes:mi.object.isRequired,className:mi.string,in:mi.bool,onExited:mi.func,pulsate:mi.bool,rippleSize:mi.number,rippleX:mi.number,rippleY:mi.number,timeout:mi.number.isRequired});const Wb=bm("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),qb=["center","classes","className"];let Gb,Ub,Kb,Yb,Xb=e=>e;const Jb=yn(Gb||(Gb=Xb`
|
|
1211
|
-
0% {
|
|
1212
|
-
transform: scale(0);
|
|
1213
|
-
opacity: 0.1;
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
100% {
|
|
1217
|
-
transform: scale(1);
|
|
1218
|
-
opacity: 0.3;
|
|
1219
|
-
}
|
|
1220
|
-
`)),Zb=yn(Ub||(Ub=Xb`
|
|
1221
|
-
0% {
|
|
1222
|
-
opacity: 1;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
100% {
|
|
1226
|
-
opacity: 0;
|
|
1227
|
-
}
|
|
1228
|
-
`)),Qb=yn(Kb||(Kb=Xb`
|
|
1229
|
-
0% {
|
|
1230
|
-
transform: scale(1);
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
50% {
|
|
1234
|
-
transform: scale(0.92);
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
100% {
|
|
1238
|
-
transform: scale(1);
|
|
1239
|
-
}
|
|
1240
|
-
`)),ev=Uh("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),tv=Uh(Hb,{name:"MuiTouchRipple",slot:"Ripple"})(Yb||(Yb=Xb`
|
|
1241
|
-
opacity: 0;
|
|
1242
|
-
position: absolute;
|
|
1243
|
-
|
|
1244
|
-
&.${0} {
|
|
1245
|
-
opacity: 0.3;
|
|
1246
|
-
transform: scale(1);
|
|
1247
|
-
animation-name: ${0};
|
|
1248
|
-
animation-duration: ${0}ms;
|
|
1249
|
-
animation-timing-function: ${0};
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
-
&.${0} {
|
|
1253
|
-
animation-duration: ${0}ms;
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
& .${0} {
|
|
1257
|
-
opacity: 1;
|
|
1258
|
-
display: block;
|
|
1259
|
-
width: 100%;
|
|
1260
|
-
height: 100%;
|
|
1261
|
-
border-radius: 50%;
|
|
1262
|
-
background-color: currentColor;
|
|
1263
|
-
}
|
|
1264
|
-
|
|
1265
|
-
& .${0} {
|
|
1266
|
-
opacity: 0;
|
|
1267
|
-
animation-name: ${0};
|
|
1268
|
-
animation-duration: ${0}ms;
|
|
1269
|
-
animation-timing-function: ${0};
|
|
1270
|
-
}
|
|
1271
|
-
|
|
1272
|
-
& .${0} {
|
|
1273
|
-
position: absolute;
|
|
1274
|
-
/* @noflip */
|
|
1275
|
-
left: 0px;
|
|
1276
|
-
top: 0;
|
|
1277
|
-
animation-name: ${0};
|
|
1278
|
-
animation-duration: 2500ms;
|
|
1279
|
-
animation-timing-function: ${0};
|
|
1280
|
-
animation-iteration-count: infinite;
|
|
1281
|
-
animation-delay: 200ms;
|
|
1282
|
-
}
|
|
1283
|
-
`),Wb.rippleVisible,Jb,550,(({theme:e})=>e.transitions.easing.easeInOut),Wb.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Wb.child,Wb.childLeaving,Zb,550,(({theme:e})=>e.transitions.easing.easeInOut),Wb.childPulsate,Qb,(({theme:e})=>e.transitions.easing.easeInOut)),nv=o.forwardRef((function(t,n){const r=fh({props:t,name:"MuiTouchRipple"}),{center:a=!1,classes:i={},className:l}=r,s=Dp(r,qb),[c,u]=o.useState([]),d=o.useRef(0),p=o.useRef(null);o.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[c]);const f=o.useRef(!1),m=og(),g=o.useRef(null),h=o.useRef(null),b=o.useCallback((t=>{const{pulsate:n,rippleX:o,rippleY:r,rippleSize:a,cb:l}=t;u((t=>[...t,e(tv,{classes:{ripple:mm(i.ripple,Wb.ripple),rippleVisible:mm(i.rippleVisible,Wb.rippleVisible),ripplePulsate:mm(i.ripplePulsate,Wb.ripplePulsate),child:mm(i.child,Wb.child),childLeaving:mm(i.childLeaving,Wb.childLeaving),childPulsate:mm(i.childPulsate,Wb.childPulsate)},timeout:550,pulsate:n,rippleX:o,rippleY:r,rippleSize:a},d.current)])),d.current+=1,p.current=l}),[i]),v=o.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:o=!1,center:r=a||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const l=i?null:h.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(r||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),u=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),u=Math.round(n-s.top)}if(r)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===g.current&&(g.current=()=>{b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},m.start(80,(()=>{g.current&&(g.current(),g.current=null)}))):b({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[a,b,m]),y=o.useCallback((()=>{v({},{pulsate:!0})}),[v]),w=o.useCallback(((e,t)=>{if(m.clear(),"touchend"===(null==e?void 0:e.type)&&g.current)return g.current(),g.current=null,void m.start(0,(()=>{w(e,t)}));g.current=null,u((e=>e.length>0?e.slice(1):e)),p.current=t}),[m]);return o.useImperativeHandle(n,(()=>({pulsate:y,start:v,stop:w})),[y,v,w]),e(ev,jp({className:mm(Wb.root,i.root,l),ref:h},s,{children:e(Eb,{component:null,exit:!0,children:c})}))}));"production"!==process.env.NODE_ENV&&(nv.propTypes={center:mi.bool,classes:mi.object,className:mi.string});var ov=nv;function rv(e){return hm("MuiButtonBase",e)}const av=bm("MuiButtonBase",["root","disabled","focusVisible"]),iv=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],lv=Uh("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${av.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),sv=o.forwardRef((function(n,r){const a=fh({props:n,name:"MuiButtonBase"}),{action:i,centerRipple:l=!1,children:s,className:c,component:u="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:f=!1,focusRipple:m=!1,LinkComponent:g="a",onBlur:h,onClick:b,onContextMenu:v,onDragLeave:y,onFocus:w,onFocusVisible:x,onKeyDown:S,onKeyUp:O,onMouseDown:C,onMouseLeave:k,onMouseUp:E,onTouchEnd:R,onTouchMove:P,onTouchStart:T,tabIndex:N=0,TouchRippleProps:I,touchRippleRef:M,type:$}=a,A=Dp(a,iv),z=o.useRef(null),F=o.useRef(null),j=Qm(F,M),{isFocusVisibleRef:D,onFocus:V,onBlur:L,ref:_}=pg(),[B,H]=o.useState(!1);d&&B&&H(!1),o.useImperativeHandle(i,(()=>({focusVisible:()=>{H(!0),z.current.focus()}})),[]);const[W,q]=o.useState(!1);o.useEffect((()=>{q(!0)}),[]);const G=W&&!p&&!d;function U(e,t,n=f){return Zm((o=>{t&&t(o);return!n&&F.current&&F.current[e](o),!0}))}o.useEffect((()=>{B&&m&&!p&&W&&F.current.pulsate()}),[p,m,B,W]);const K=U("start",C),Y=U("stop",v),X=U("stop",y),J=U("stop",E),Z=U("stop",(e=>{B&&e.preventDefault(),k&&k(e)})),Q=U("start",T),ee=U("stop",R),te=U("stop",P),ne=U("stop",(e=>{L(e),!1===D.current&&H(!1),h&&h(e)}),!1),oe=Zm((e=>{z.current||(z.current=e.currentTarget),V(e),!0===D.current&&(H(!0),x&&x(e)),w&&w(e)})),re=()=>{const e=z.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ae=o.useRef(!1),ie=Zm((e=>{m&&!ae.current&&B&&F.current&&" "===e.key&&(ae.current=!0,F.current.stop(e,(()=>{F.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!d&&(e.preventDefault(),b&&b(e))})),le=Zm((e=>{m&&" "===e.key&&F.current&&B&&!e.defaultPrevented&&(ae.current=!1,F.current.stop(e,(()=>{F.current.pulsate(e)}))),O&&O(e),b&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&b(e)}));let se=u;"button"===se&&(A.href||A.to)&&(se=g);const ce={};"button"===se?(ce.type=void 0===$?"button":$,ce.disabled=d):(A.href||A.to||(ce.role="button"),d&&(ce["aria-disabled"]=d));const ue=Qm(r,_,z);"production"!==process.env.NODE_ENV&&o.useEffect((()=>{G&&!F.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join("\n"))}),[G]);const de=jp({},a,{centerRipple:l,component:u,disabled:d,disableRipple:p,disableTouchRipple:f,focusRipple:m,tabIndex:N,focusVisible:B}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:r}=e,a=yg({root:["root",t&&"disabled",n&&"focusVisible"]},rv,r);return n&&o&&(a.root+=` ${o}`),a})(de);return t(lv,jp({as:se,className:mm(pe.root,c),ownerState:de,onBlur:ne,onClick:b,onContextMenu:Y,onFocus:oe,onKeyDown:ie,onKeyUp:le,onMouseDown:K,onMouseLeave:Z,onMouseUp:J,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:Q,ref:ue,tabIndex:d?-1:N,type:$},ce,A,{children:[s,G?e(ov,jp({ref:j,center:l},I)):null]}))}));"production"!==process.env.NODE_ENV&&(sv.propTypes={action:_m,centerRipple:mi.bool,children:mi.node,classes:mi.object,className:mi.string,component:jm,disabled:mi.bool,disableRipple:mi.bool,disableTouchRipple:mi.bool,focusRipple:mi.bool,focusVisibleClassName:mi.string,href:mi.any,LinkComponent:mi.elementType,onBlur:mi.func,onClick:mi.func,onContextMenu:mi.func,onDragLeave:mi.func,onFocus:mi.func,onFocusVisible:mi.func,onKeyDown:mi.func,onKeyUp:mi.func,onMouseDown:mi.func,onMouseLeave:mi.func,onMouseUp:mi.func,onTouchEnd:mi.func,onTouchMove:mi.func,onTouchStart:mi.func,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),tabIndex:mi.number,TouchRippleProps:mi.object,touchRippleRef:mi.oneOfType([mi.func,mi.shape({current:mi.shape({pulsate:mi.func.isRequired,start:mi.func.isRequired,stop:mi.func.isRequired})})]),type:mi.oneOfType([mi.oneOf(["button","reset","submit"]),mi.string])});var cv=sv;function uv(e){return hm("MuiIconButton",e)}var dv=bm("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);const pv=["edge","children","className","color","disabled","disableFocusRipple","size"],fv=Uh(cv,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${af(n.color)}`],n.edge&&t[`edge${af(n.edge)}`],t[`size${af(n.size)}`]]}})((({theme:e,ownerState:t})=>jp({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pg(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const o=null==(n=(e.vars||e).palette)?void 0:n[t.color];return jp({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&jp({color:null==o?void 0:o.main},!t.disableRipple&&{"&:hover":jp({},o&&{backgroundColor:e.vars?`rgba(${o.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pg(o.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${dv.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),mv=o.forwardRef((function(t,n){const o=fh({props:t,name:"MuiIconButton"}),{edge:r=!1,children:a,className:i,color:l="default",disabled:s=!1,disableFocusRipple:c=!1,size:u="medium"}=o,d=Dp(o,pv),p=jp({},o,{edge:r,color:l,disabled:s,disableFocusRipple:c,size:u}),f=(e=>{const{classes:t,disabled:n,color:o,edge:r,size:a}=e;return yg({root:["root",n&&"disabled","default"!==o&&`color${af(o)}`,r&&`edge${af(r)}`,`size${af(a)}`]},uv,t)})(p);return e(fv,jp({className:mm(f.root,i),centerRipple:!0,focusRipple:!c,disabled:s,ref:n},d,{ownerState:p,children:a}))}));"production"!==process.env.NODE_ENV&&(mv.propTypes={children:$m(mi.node,(e=>o.Children.toArray(e.children).some((e=>o.isValidElement(e)&&e.props.onClick))?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join("\n")):null)),classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),mi.string]),disabled:mi.bool,disableFocusRipple:mi.bool,disableRipple:mi.bool,edge:mi.oneOf(["end","start",!1]),size:mi.oneOfType([mi.oneOf(["small","medium","large"]),mi.string]),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object])});var gv=mv,hv=Qh(e("path",{d:"M19 6.41L17.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");const bv="base";function vv(e,t){const n=gm[t];return n?`${bv}--${n}`:function(e,t){return`${bv}-${e}-${t}`}(e,t)}const yv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function wv(e){const t=[],n=[];return Array.from(e.querySelectorAll(yv)).forEach(((e,o)=>{const r=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!==r&&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===r?t.push(e):n.push({documentOrder:o,tabIndex:r,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 xv(){return!0}function Sv(n){const{children:r,disableAutoFocus:a=!1,disableEnforceFocus:i=!1,disableRestoreFocus:l=!1,getTabbable:s=wv,isEnabled:c=xv,open:u}=n,d=o.useRef(!1),p=o.useRef(null),f=o.useRef(null),m=o.useRef(null),g=o.useRef(null),h=o.useRef(!1),b=o.useRef(null),v=Qm(r.ref,b),y=o.useRef(null);o.useEffect((()=>{u&&b.current&&(h.current=!a)}),[a,u]),o.useEffect((()=>{if(!u||!b.current)return;const e=qm(b.current);return b.current.contains(e.activeElement)||(b.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")),b.current.setAttribute("tabIndex","-1")),h.current&&b.current.focus()),()=>{l||(m.current&&m.current.focus&&(d.current=!0,m.current.focus()),m.current=null)}}),[u]),o.useEffect((()=>{if(!u||!b.current)return;const e=qm(b.current),t=t=>{y.current=t,!i&&c()&&"Tab"===t.key&&e.activeElement===b.current&&t.shiftKey&&(d.current=!0,f.current&&f.current.focus())},n=()=>{const t=b.current;if(null===t)return;if(!e.hasFocus()||!c()||d.current)return void(d.current=!1);if(t.contains(e.activeElement))return;if(i&&e.activeElement!==p.current&&e.activeElement!==f.current)return;if(e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!h.current)return;let n=[];if(e.activeElement!==p.current&&e.activeElement!==f.current||(n=s(b.current)),n.length>0){var o,r;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(r=y.current)?void 0:r.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 o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[a,i,l,c,u,s]);const w=e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0};return t(o.Fragment,{children:[e("div",{tabIndex:u?0:-1,onFocus:w,ref:p,"data-testid":"sentinelStart"}),o.cloneElement(r,{ref:v,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0,g.current=e.target;const t=r.props.onFocus;t&&t(e)}}),e("div",{tabIndex:u?0:-1,onFocus:w,ref:f,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(Sv.propTypes={children:Fm,disableAutoFocus:mi.bool,disableEnforceFocus:mi.bool,disableRestoreFocus:mi.bool,getTabbable:mi.func,isEnabled:mi.func,open:mi.bool.isRequired}),"production"!==process.env.NODE_ENV&&(Sv.propTypes=Vm(Sv.propTypes));const Ov=o.forwardRef((function(t,n){const{children:r,container:a,disablePortal:i=!1}=t,[l,s]=o.useState(null),c=Qm(o.isValidElement(r)?r.ref:null,n);if(Im((()=>{i||s(function(e){return"function"==typeof e?e():e}(a)||document.body)}),[a,i]),Im((()=>{if(l&&!i)return Um(n,l),()=>{Um(n,null)}}),[n,l,i]),i){if(o.isValidElement(r)){const e={ref:c};return o.cloneElement(r,e)}return e(o.Fragment,{children:r})}return e(o.Fragment,{children:l?v.createPortal(r,l):l})}));function Cv(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function kv(e){return parseInt(Gm(e).getComputedStyle(e).paddingRight,10)||0}function Ev(e,t,n,o,r){const a=[t,n,...o];[].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&&Cv(e,r)}))}function Rv(e,t){let n=-1;return e.some(((e,o)=>!!t(e)&&(n=o,!0))),n}function Pv(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(function(e){const t=qm(e);return t.body===e?Gm(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){const e=fg(qm(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${kv(o)+e}px`;const t=qm(o).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${kv(t)+e}px`}))}let e;if(o.parentNode instanceof DocumentFragment)e=qm(o).body;else{const t=o.parentElement,n=Gm(o);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:o}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&&(Ov.propTypes={children:mi.node,container:mi.oneOfType([Lm,mi.func]),disablePortal:mi.bool}),"production"!==process.env.NODE_ENV&&(Ov.propTypes=Vm(Ov.propTypes));const Tv=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&&Cv(e.modalRef,!1);const o=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ev(t,e.mount,e.modalRef,o,!0);const r=Rv(this.containers,(e=>e.container===t));return-1!==r?(this.containers[r].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:o}),n)}mount(e,t){const n=Rv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];o.restore||(o.restore=Pv(o,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const o=Rv(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(n,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Cv(e.modalRef,t),Ev(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&Cv(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Nv(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:a=Tv,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),[b,v]=o.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const x=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),S=()=>{a.mount(x(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},O=Zm((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||qm(m.current).body;a.add(x(),e),g.current&&S()})),C=o.useCallback((()=>a.isTopModal(x())),[a]),k=Zm((e=>{m.current=e,e&&(d&&C()?S():g.current&&Cv(g.current,w))})),E=o.useCallback((()=>{a.remove(x(),w)}),[w,a]);o.useEffect((()=>()=>{E()}),[E]),o.useEffect((()=>{d?O():y&&i||E()}),[d,E,y,i,O]);const R=e=>t=>{var o;null==(o=e.onKeyDown)||o.call(e,t),"Escape"===t.key&&229!==t.which&&C()&&(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=Db(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=Ab({},n,t);return Ab({role:"presentation"},o,{onKeyDown:R(o),ref:h})},getBackdropProps:(e={})=>Ab({"aria-hidden":!0},e,{onClick:P(e),open:d}),getTransitionProps:()=>({onEnter:Bm((()=>{v(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:Bm((()=>{v(!0),s&&s(),i&&E()}),null==c?void 0:c.props.onExited)}),rootRef:h,portalRef:k,isTopModal:C,exited:b,hasTransition:y}}const Iv="Popper";function Mv(e){return vv(Iv,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=vv(e,t)}))}(Iv,["root"]);const $v=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Av=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function zv(e){return"function"==typeof e?e():e}function Fv(e){return void 0!==e.nodeType}const jv=()=>yg({root:["root"]},function(e){const{disableDefaultClasses:t}=o.useContext(jb);return n=>t?"":e(n)}(Mv)),Dv={},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,b=Vb(t,$v),v=o.useRef(null),y=Qm(v,n),w=o.useRef(null),x=Qm(w,f),S=o.useRef(x);Im((()=>{S.current=x}),[x]),o.useImperativeHandle(f,(()=>w.current),[]);const O=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),[C,k]=o.useState(O),[E,R]=o.useState(zv(a));o.useEffect((()=>{w.current&&w.current.forceUpdate()})),o.useEffect((()=>{a&&R(zv(a))}),[a]),Im((()=>{if(!E||!u)return;if("production"!==process.env.NODE_ENV&&E&&Fv(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})=>{k(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=Ks(E,v.current,Ab({placement:O},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[E,s,c,u,p,O]);const P={placement:C};null!==h&&(P.TransitionProps=h);const T=jv(),N=null!=(r=g.root)?r:"div",I=Bb({elementType:N,externalSlotProps:m.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:T.root});return e(N,Ab({},I,{children:"function"==typeof i?i(P):i}))})),Lv=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=Dv,popperRef:m,style:g,transition:h=!1,slotProps:b={},slots:v={}}=t,y=Vb(t,Av),[w,x]=o.useState(!0);if(!c&&!d&&(!h||w))return null;let S;if(i)S=i;else if(r){const e=zv(r);S=e&&Fv(e)?qm(e).body:qm(null).body}const O=h?{in:d,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return e(Ov,{disablePortal:s,container:S,children:e(Vv,Ab({anchorEl:r,direction:l,disablePortal:s,modifiers:u,ref:n,open:h?!w:d,placement:p,popperOptions:f,popperRef:m,slotProps:b,slots:v},y,{style:Ab({position:"fixed",top:0,left:0,display:d||!c||h&&!w?void 0:"none"},g),TransitionProps:O,children:a}))})}));"production"!==process.env.NODE_ENV&&(Lv.propTypes={anchorEl:$m(mi.oneOfType([Lm,mi.object,mi.func]),(e=>{if(e.open){const t=zv(e.anchorEl);if(t&&Fv(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||!Fv(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:mi.oneOfType([mi.node,mi.func]),container:mi.oneOfType([Lm,mi.func]),direction:mi.oneOf(["ltr","rtl"]),disablePortal:mi.bool,keepMounted:mi.bool,modifiers:mi.arrayOf(mi.shape({data:mi.object,effect:mi.func,enabled:mi.bool,fn:mi.func,name:mi.any,options:mi.object,phase:mi.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:mi.arrayOf(mi.string),requiresIfExists:mi.arrayOf(mi.string)})),open:mi.bool.isRequired,placement:mi.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:mi.shape({modifiers:mi.array,onFirstUpdate:mi.func,placement:mi.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:mi.oneOf(["absolute","fixed"])}),popperRef:_m,slotProps:mi.shape({root:mi.oneOfType([mi.func,mi.object])}),slots:mi.shape({root:mi.elementType}),transition:mi.bool});const _v=["onChange","maxRows","minRows","style","value"];function Bv(e){return parseInt(e,10)||0}const Hv={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const Wv=o.forwardRef((function(n,r){const{onChange:a,maxRows:i,minRows:l=1,style:s,value:c}=n,u=Vb(n,_v),{current:d}=o.useRef(null!=c),p=o.useRef(null),f=Qm(r,p),m=o.useRef(null),g=o.useCallback((()=>{const e=p.current,t=Gm(e).getComputedStyle(e);if("0px"===t.width)return{outerHeightStyle:0,overflowing:!1};const o=m.current;o.style.width=t.width,o.value=e.value||n.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");const r=t.boxSizing,a=Bv(t.paddingBottom)+Bv(t.paddingTop),s=Bv(t.borderBottomWidth)+Bv(t.borderTopWidth),c=o.scrollHeight;o.value="x";const u=o.scrollHeight;let d=c;l&&(d=Math.max(Number(l)*u,d)),i&&(d=Math.min(Number(i)*u,d)),d=Math.max(d,u);return{outerHeightStyle:d+("border-box"===r?a+s:0),overflowing:Math.abs(d-c)<=1}}),[i,l,n.placeholder]),h=o.useCallback((()=>{const e=g();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=p.current;n.style.height=`${e.outerHeightStyle}px`,n.style.overflow=e.overflowing?"hidden":""}),[g]);Im((()=>{const e=()=>{h()};let t;const n=()=>{cancelAnimationFrame(t),t=requestAnimationFrame((()=>{e()}))},o=Hm(e),r=p.current,a=Gm(r);let i;return a.addEventListener("resize",o),"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver("test"===process.env.NODE_ENV?n:e),i.observe(r)),()=>{o.clear(),cancelAnimationFrame(t),a.removeEventListener("resize",o),i&&i.disconnect()}}),[g,h]),Im((()=>{h()}));return t(o.Fragment,{children:[e("textarea",Ab({value:c,onChange:e=>{d||h(),a&&a(e)},ref:f,rows:l,style:s},u)),e("textarea",{"aria-hidden":!0,className:n.className,readOnly:!0,ref:m,tabIndex:-1,style:Ab({},Hv,s,{paddingTop:0,paddingBottom:0})})]})}));function qv(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Gv(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(Wv.propTypes={className:mi.string,maxRows:mi.oneOfType([mi.number,mi.string]),minRows:mi.oneOfType([mi.number,mi.string]),onChange:mi.func,placeholder:mi.string,style:mi.object,value:mi.oneOfType([mi.arrayOf(mi.string),mi.number,mi.string])});const Uv=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:o,matchFrom:r="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=qv(c));const u=c?e.filter((e=>{let o=(a||s)(e);return n&&(o=o.toLowerCase()),t&&(o=qv(o)),"start"===r?0===o.indexOf(c):o.indexOf(c)>-1})):e;return"number"==typeof o?u.slice(0,o):u}}(),Kv=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function Yv(e){const{unstable_isActiveElementInListbox:t=Kv,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:b=Uv,filterSelectedOptions:v=!1,freeSolo:y=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:S=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:O,handleHomeEndKeys:C=!e.freeSolo,id:k,includeInputInList:E=!1,inputValue:R,isOptionEqualToValue:P=((e,t)=>e===t),multiple:T=!1,onChange:N,onClose:I,onHighlightChange:M,onInputChange:$,onOpen:A,open:z,openOnFocus:F=!1,options:j,readOnly:D=!1,selectOnFocus:V=!e.freeSolo,value:L}=e,_=Xm(k);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),q=o.useRef(null),G=o.useRef(null),[U,K]=o.useState(null),[Y,X]=o.useState(-1),J=a?0:-1,Z=o.useRef(J),[Q,ee]=Jm({controlled:L,default:d,name:u}),[te,ne]=Jm({controlled:R,default:"",name:u,state:"inputValue"}),[oe,re]=o.useState(!1),ae=o.useCallback(((e,t)=>{if(!(T?Q.length<t.length:null!==t)&&!s)return;let n;if(T)n="";else if(null==t)n="";else{const e=B(t);n="string"==typeof e?e:""}te!==n&&(ne(n),$&&$(e,n,"reset"))}),[B,te,T,$,ne,s,Q]),[ie,le]=Jm({controlled:z,default:!1,name:u,state:"open"}),[se,ce]=o.useState(!0),ue=!T&&null!=Q&&te===B(Q),de=ie&&!D,pe=de?b(j.filter((e=>!v||!(T?Q:[Q]).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:Q,inputValue:te});o.useEffect((()=>{const e=Q!==fe.value;oe&&!e||y&&!e||ae(null,Q)}),[Q,ae,oe,fe.value,y]);const me=ie&&pe.length>0&&!D;if("production"!==process.env.NODE_ENV&&null!==Q&&!y&&j.length>0){const e=(T?Q:[Q]).filter((e=>!j.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=Zm((e=>{-1===e?q.current.focus():U.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{T&&Y>Q.length-1&&(X(-1),ge(-1))}),[Q,T,Y,ge]);const he=Zm((({event:e,index:t,reason:o="auto"})=>{if(Z.current=t,-1===t?q.current.removeAttribute("aria-activedescendant"):q.current.setAttribute("aria-activedescendant",`${_}-option-${t}`),M&&M(e,-1===t?null:pe[t],o),!G.current)return;const r=G.current.querySelector(`[role="option"].${n}-focused`);r&&(r.classList.remove(`${n}-focused`),r.classList.remove(`${n}-focusVisible`));let a=G.current;if("listbox"!==G.current.getAttribute("role")&&(a=G.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=G.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===o&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==o&&"touch"!==o)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(O?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(O?1.3:0))}})),be=Zm((({event:e,diff:t,direction:n="next",reason:o="auto"})=>{if(!de)return;const a=function(e,t){if(!G.current||e<0||e>=pe.length)return-1;let n=e;for(;;){const o=G.current.querySelector(`[data-option-index="${n}"]`),r=!g&&(!o||o.disabled||"true"===o.getAttribute("aria-disabled"));if(o&&o.hasAttribute("tabindex")&&!r)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 J;if("start"===t)return 0;if("end"===t)return e;const n=Z.current+t;return n<0?-1===n&&E?-1:h&&-1!==Z.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)q.current.value=te;else{const e=B(pe[a]);q.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&q.current.setSelectionRange(te.length,e.length)}})),ve=o.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==Z.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===te&&(T?Q.length===fe.value.length&&fe.value.every(((e,t)=>B(Q[t])===B(e))):(e=fe.value,t=Q,(e?B(e):"")===(t?B(t):"")))){const e=fe.filteredOptions[Z.current];if(e)return Gv(pe,(t=>B(t)===B(e)))}var e,t;return-1})();if(-1!==e)return void(Z.current=e);const t=T?Q[0]:Q;if(0!==pe.length&&null!=t){if(G.current)if(null==t)Z.current>=pe.length-1?he({index:pe.length-1}):he({index:Z.current});else{const e=pe[Z.current];if(T&&e&&-1!==Gv(Q,(t=>P(e,t))))return;const n=Gv(pe,(e=>P(e,t)));-1===n?be({diff:"reset"}):he({index:n})}}else be({diff:"reset"})}),[pe.length,!T&&Q,v,be,he,de,te,T]),ye=Zm((e=>{Um(G,e),e&&ve()}));"production"!==process.env.NODE_ENV&&o.useEffect((()=>{q.current&&"INPUT"===q.current.nodeName||(q.current&&"TEXTAREA"===q.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 ${q.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((()=>{ve()}),[ve]);const we=e=>{ie||(le(!0),ce(!0),A&&A(e))},xe=(e,t)=>{ie&&(le(!1),I&&I(e,t))},Se=(e,t,n,o)=>{if(T){if(Q.length===t.length&&Q.every(((e,n)=>e===t[n])))return}else if(Q===t)return;N&&N(e,t,n,o),ee(t)},Oe=o.useRef(!1),Ce=(e,t,n="selectOption",o="options")=>{let r=n,a=t;if(T){if(a=Array.isArray(Q)?Q.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=Gv(a,(e=>P(t,e)));-1===e?a.push(t):"freeSolo"!==o&&(a.splice(e,1),r="removeOption")}ae(e,a),Se(e,a,r,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||xe(e,r),(!0===l||"touch"===l&&Oe.current||"mouse"===l&&!Oe.current)&&q.current.blur()};const ke=(e,t)=>{if(!T)return;""===te&&xe(e,"toggleInput");let n=Y;-1===Y?""===te&&"previous"===t&&(n=Q.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Q.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Q.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),X(n),ge(n)},Ee=e=>{H.current=!0,ne(""),$&&$(e,"","clear"),Se(e,T?[]:null,"clear")},Re=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==Y&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(X(-1),ge(-1)),229!==t.which))switch(t.key){case"Home":de&&C&&(t.preventDefault(),be({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&C&&(t.preventDefault(),be({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),be({diff:-5,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"PageDown":t.preventDefault(),be({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),be({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),be({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"ArrowLeft":ke(t,"previous");break;case"ArrowRight":ke(t,"next");break;case"Enter":if(-1!==Z.current&&de){const e=pe[Z.current],n=!!w&&w(e);if(t.preventDefault(),n)return;Ce(t,e,"selectOption"),r&&q.current.setSelectionRange(q.current.value.length,q.current.value.length)}else y&&""!==te&&!1===ue&&(T&&t.preventDefault(),Ce(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):c&&(""!==te||T&&Q.length>0)&&(t.preventDefault(),t.stopPropagation(),Ee(t));break;case"Backspace":if(T&&!D&&""===te&&Q.length>0){const e=-1===Y?Q.length-1:Y,n=Q.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Q[e]})}break;case"Delete":if(T&&!D&&""===te&&Q.length>0&&-1!==Y){const e=Y,n=Q.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Q[e]})}}},Pe=e=>{re(!0),F&&!H.current&&we(e)},Te=e=>{t(G)?q.current.focus():(re(!1),W.current=!0,H.current=!1,i&&-1!==Z.current&&de?Ce(e,pe[Z.current],"blur"):i&&y&&""!==te?Ce(e,te,"blur","freeSolo"):s&&ae(e,Q),xe(e,"blur"))},Ne=e=>{const t=e.target.value;te!==t&&(ne(t),ce(!1),$&&$(e,t,"input")),""===t?p||T||Se(e,null,"clear"):we(e)},Ie=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Z.current!==t&&he({event:e,index:t,reason:"mouse"})},Me=e=>{he({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Oe.current=!0},$e=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ce(e,pe[t],"selectOption"),Oe.current=!1},Ae=e=>t=>{const n=Q.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Q[e]})},ze=e=>{ie?xe(e,"toggleInput"):we(e)},Fe=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==_&&e.preventDefault()},je=e=>{e.currentTarget.contains(e.target)&&(q.current.focus(),V&&W.current&&q.current.selectionEnd-q.current.selectionStart==0&&q.current.select(),W.current=!1)},De=e=>{m||""!==te&&ie||ze(e)};let Ve=y&&te.length>0;Ve=Ve||(T?Q.length>0:null!==Q);let Le=pe;if(O){const e=new Map;let t=!1;Le=pe.reduce(((n,o,r)=>{const a=O(o);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(o):("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:r,index:r,group:a,options:[o]})),n}),[])}return m&&oe&&Te(),{getRootProps:(e={})=>Ab({"aria-owns":me?`${_}-listbox`:null},e,{onKeyDown:Re(e),onMouseDown:Fe,onClick:je}),getInputLabelProps:()=>({id:`${_}-label`,htmlFor:_}),getInputProps:()=>({id:_,value:te,onBlur:Te,onFocus:Pe,onChange:Ne,onMouseDown:De,"aria-activedescendant":de?"":null,"aria-autocomplete":r?"both":"list","aria-controls":me?`${_}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:q,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ee}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:ze}),getTagProps:({index:e})=>Ab({key:e,"data-tag-index":e,tabIndex:-1},!D&&{onDelete:Ae(e)}),getListboxProps:()=>({role:"listbox",id:`${_}-listbox`,"aria-labelledby":`${_}-label`,ref:ye,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const o=(T?Q:[Q]).some((e=>null!=e&&P(t,e))),r=!!w&&w(t);return{key:null!=(n=null==x?void 0:x(t))?n:B(t),tabIndex:-1,role:"option",id:`${_}-option-${e}`,onMouseMove:Ie,onClick:$e,onTouchStart:Me,"data-option-index":e,"aria-disabled":r,"aria-selected":o}},id:_,inputValue:te,value:Q,dirty:Ve,expanded:de&&U,popupOpen:de,focused:oe||-1!==Y,anchorEl:U,setAnchorEl:K,focusedTag:Y,groupedOptions:Le}}var Xv={};Object.defineProperty(Xv,"__esModule",{value:!0});var Jv=Xv.default=void 0,Zv=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=ey(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=r?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(o,a,i):o[a]=e[a]}return o.default=e,n&&n.set(e,o),o}(r),Qv=yh;function ey(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(ey=function(e){return e?n:t})(e)}Jv=Xv.default=function(e=null){const t=Zv.useContext(Qv.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n};const ty=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],ny=Uh(Lv,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oy=o.forwardRef((function(t,n){var o;const r=Jv(),a=fh({props:t,name:"MuiPopper"}),{anchorEl:i,component:l,components:s,componentsProps:c,container:u,disablePortal:d,keepMounted:p,modifiers:f,open:m,placement:g,popperOptions:h,popperRef:b,transition:v,slots:y,slotProps:w}=a,x=Dp(a,ty),S=null!=(o=null==y?void 0:y.root)?o:null==s?void 0:s.Root,O=jp({anchorEl:i,container:u,disablePortal:d,keepMounted:p,modifiers:f,open:m,placement:g,popperOptions:h,popperRef:b,transition:v},x);return e(ny,jp({as:l,direction:null==r?void 0:r.direction,slots:{root:S},slotProps:null!=w?w:c},O,{ref:n}))}));"production"!==process.env.NODE_ENV&&(oy.propTypes={anchorEl:mi.oneOfType([Lm,mi.object,mi.func]),children:mi.oneOfType([mi.node,mi.func]),component:mi.elementType,components:mi.shape({Root:mi.elementType}),componentsProps:mi.shape({root:mi.oneOfType([mi.func,mi.object])}),container:mi.oneOfType([Lm,mi.func]),disablePortal:mi.bool,keepMounted:mi.bool,modifiers:mi.arrayOf(mi.shape({data:mi.object,effect:mi.func,enabled:mi.bool,fn:mi.func,name:mi.any,options:mi.object,phase:mi.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:mi.arrayOf(mi.string),requiresIfExists:mi.arrayOf(mi.string)})),open:mi.bool.isRequired,placement:mi.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:mi.shape({modifiers:mi.array,onFirstUpdate:mi.func,placement:mi.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:mi.oneOf(["absolute","fixed"])}),popperRef:_m,slotProps:mi.shape({root:mi.oneOfType([mi.func,mi.object])}),slots:mi.shape({root:mi.elementType}),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),transition:mi.bool});var ry=oy;function ay(e){return hm("MuiListSubheader",e)}bm("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const iy=["className","color","component","disableGutters","disableSticky","inset"],ly=Uh("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${af(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>jp({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),sy=o.forwardRef((function(t,n){const o=fh({props:t,name:"MuiListSubheader"}),{className:r,color:a="default",component:i="li",disableGutters:l=!1,disableSticky:s=!1,inset:c=!1}=o,u=Dp(o,iy),d=jp({},o,{color:a,component:i,disableGutters:l,disableSticky:s,inset:c}),p=(e=>{const{classes:t,color:n,disableGutters:o,inset:r,disableSticky:a}=e;return yg({root:["root","default"!==n&&`color${af(n)}`,!o&&"gutters",r&&"inset",!a&&"sticky"]},ay,t)})(d);return e(ly,jp({as:i,className:mm(p.root,r),ref:n,ownerState:d},u))}));sy.muiSkipListHighlight=!0,"production"!==process.env.NODE_ENV&&(sy.propTypes={children:mi.node,classes:mi.object,className:mi.string,color:mi.oneOf(["default","inherit","primary"]),component:mi.elementType,disableGutters:mi.bool,disableSticky:mi.bool,inset:mi.bool,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object])});var cy=sy,uy=Qh(e("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function dy(e){return hm("MuiChip",e)}var py=bm("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);const fy=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],my=Uh("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:o,iconColor:r,clickable:a,onDelete:i,size:l,variant:s}=n;return[{[`& .${py.avatar}`]:t.avatar},{[`& .${py.avatar}`]:t[`avatar${af(l)}`]},{[`& .${py.avatar}`]:t[`avatarColor${af(o)}`]},{[`& .${py.icon}`]:t.icon},{[`& .${py.icon}`]:t[`icon${af(l)}`]},{[`& .${py.icon}`]:t[`iconColor${af(r)}`]},{[`& .${py.deleteIcon}`]:t.deleteIcon},{[`& .${py.deleteIcon}`]:t[`deleteIcon${af(l)}`]},{[`& .${py.deleteIcon}`]:t[`deleteIconColor${af(o)}`]},{[`& .${py.deleteIcon}`]:t[`deleteIcon${af(s)}Color${af(o)}`]},t.root,t[`size${af(l)}`],t[`color${af(o)}`],a&&t.clickable,a&&"default"!==o&&t[`clickableColor${af(o)})`],i&&t.deletable,i&&"default"!==o&&t[`deletableColor${af(o)}`],t[s],t[`${s}${af(o)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return jp({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${py.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${py.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${py.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${py.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${py.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${py.icon}`]:jp({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&jp({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${py.deleteIcon}`]:jp({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pg(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pg(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Pg(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${py.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pg(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${py.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>jp({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pg(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${py.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pg(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${py.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>jp({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${py.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${py.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${py.avatar}`]:{marginLeft:4},[`& .${py.avatarSmall}`]:{marginLeft:2},[`& .${py.icon}`]:{marginLeft:4},[`& .${py.iconSmall}`]:{marginLeft:2},[`& .${py.deleteIcon}`]:{marginRight:5},[`& .${py.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Pg(e.palette[t.color].main,.7)}`,[`&.${py.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pg(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${py.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pg(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${py.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Pg(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),gy=Uh("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:o}=n;return[t.label,t[`label${af(o)}`]]}})((({ownerState:e})=>jp({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7})));function hy(e){return"Backspace"===e.key||"Delete"===e.key}const by=o.forwardRef((function(n,r){const a=fh({props:n,name:"MuiChip"}),{avatar:i,className:l,clickable:s,color:c="default",component:u,deleteIcon:d,disabled:p=!1,icon:f,label:m,onClick:g,onDelete:h,onKeyDown:b,onKeyUp:v,size:y="medium",variant:w="filled",tabIndex:x,skipFocusWhenDisabled:S=!1}=a,O=Dp(a,fy),C=o.useRef(null),k=Qm(C,r),E=e=>{e.stopPropagation(),h&&h(e)},R=!(!1===s||!g)||s,P=R||h?cv:u||"div",T=jp({},a,{component:P,disabled:p,size:y,color:c,iconColor:o.isValidElement(f)&&f.props.color||c,onDelete:!!h,clickable:R,variant:w}),N=(e=>{const{classes:t,disabled:n,size:o,color:r,iconColor:a,onDelete:i,clickable:l,variant:s}=e;return yg({root:["root",s,n&&"disabled",`size${af(o)}`,`color${af(r)}`,l&&"clickable",l&&`clickableColor${af(r)}`,i&&"deletable",i&&`deletableColor${af(r)}`,`${s}${af(r)}`],label:["label",`label${af(o)}`],avatar:["avatar",`avatar${af(o)}`,`avatarColor${af(r)}`],icon:["icon",`icon${af(o)}`,`iconColor${af(a)}`],deleteIcon:["deleteIcon",`deleteIcon${af(o)}`,`deleteIconColor${af(r)}`,`deleteIcon${af(s)}Color${af(r)}`]},dy,t)})(T),I=P===cv?jp({component:u||"div",focusVisibleClassName:N.focusVisible},h&&{disableRipple:!0}):{};let M=null;h&&(M=d&&o.isValidElement(d)?o.cloneElement(d,{className:mm(d.props.className,N.deleteIcon),onClick:E}):e(uy,{className:mm(N.deleteIcon),onClick:E}));let $=null;i&&o.isValidElement(i)&&($=o.cloneElement(i,{className:mm(N.avatar,i.props.className)}));let A=null;return f&&o.isValidElement(f)&&(A=o.cloneElement(f,{className:mm(N.icon,f.props.className)})),"production"!==process.env.NODE_ENV&&$&&A&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."),t(my,jp({as:P,className:mm(N.root,l),disabled:!(!R||!p)||void 0,onClick:g,onKeyDown:e=>{e.currentTarget===e.target&&hy(e)&&e.preventDefault(),b&&b(e)},onKeyUp:e=>{e.currentTarget===e.target&&(h&&hy(e)?h(e):"Escape"===e.key&&C.current&&C.current.blur()),v&&v(e)},ref:k,tabIndex:S&&p?-1:x,ownerState:T},I,O,{children:[$||A,e(gy,{className:mm(N.label),ownerState:T,children:m}),M]}))}));"production"!==process.env.NODE_ENV&&(by.propTypes={avatar:mi.element,children:function(e,t,n,o,r){if("production"===process.env.NODE_ENV)return null;const a=r||t;return void 0!==e[t]?new Error(`The prop \`${a}\` is not supported. Please remove it.`):null},classes:mi.object,className:mi.string,clickable:mi.bool,color:mi.oneOfType([mi.oneOf(["default","primary","secondary","error","info","success","warning"]),mi.string]),component:mi.elementType,deleteIcon:mi.element,disabled:mi.bool,icon:mi.element,label:mi.node,onClick:mi.func,onDelete:mi.func,onKeyDown:mi.func,onKeyUp:mi.func,size:mi.oneOfType([mi.oneOf(["medium","small"]),mi.string]),skipFocusWhenDisabled:mi.bool,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),tabIndex:mi.number,variant:mi.oneOfType([mi.oneOf(["filled","outlined"]),mi.string])});var vy=by;function yy({props:e,states:t,muiFormControl:n}){return t.reduce(((t,o)=>(t[o]=e[o],n&&void 0===e[o]&&(t[o]=n[o]),t)),{})}const wy=o.createContext(void 0);"production"!==process.env.NODE_ENV&&(wy.displayName="FormControlContext");var xy=wy;function Sy(){return o.useContext(xy)}function Oy(t){return e(sm,jp({},t,{defaultTheme:dh,themeId:Fp}))}function Cy(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ky(e,t=!1){return e&&(Cy(e.value)&&""!==e.value||t&&Cy(e.defaultValue)&&""!==e.defaultValue)}function Ey(e){return hm("MuiInputBase",e)}"production"!==process.env.NODE_ENV&&(Oy.propTypes={styles:mi.oneOfType([mi.array,mi.func,mi.number,mi.object,mi.string,mi.bool])});var Ry=bm("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const Py=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Ty=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${af(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ny=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Iy=Uh("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ty})((({theme:e,ownerState:t})=>jp({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Ry.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&jp({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),My=Uh("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ny})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,o=jp({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),r={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return jp({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Ry.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${Ry.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),$y=e(Oy,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Ay=o.forwardRef((function(n,r){var a;const i=fh({props:n,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:s,autoFocus:c,className:u,components:d={},componentsProps:p={},defaultValue:f,disabled:m,disableInjectingGlobalStyles:g,endAdornment:h,fullWidth:b=!1,id:v,inputComponent:y="input",inputProps:w={},inputRef:x,maxRows:S,minRows:O,multiline:C=!1,name:k,onBlur:E,onChange:R,onClick:P,onFocus:T,onKeyDown:N,onKeyUp:I,placeholder:M,readOnly:$,renderSuffix:A,rows:z,slotProps:F={},slots:j={},startAdornment:D,type:V="text",value:L}=i,_=Dp(i,Py),B=null!=w.value?w.value:L,{current:H}=o.useRef(null!=B),W=o.useRef(),q=o.useCallback((e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&!e.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join("\n"))}),[]),G=Qm(W,x,w.ref,q),[U,K]=o.useState(!1),Y=Sy();"production"!==process.env.NODE_ENV&&o.useEffect((()=>{if(Y)return Y.registerEffect()}),[Y]);const X=yy({props:i,muiFormControl:Y,states:["color","disabled","error","hiddenLabel","size","required","filled"]});X.focused=Y?Y.focused:U,o.useEffect((()=>{!Y&&m&&U&&(K(!1),E&&E())}),[Y,m,U,E]);const J=Y&&Y.onFilled,Z=Y&&Y.onEmpty,Q=o.useCallback((e=>{ky(e)?J&&J():Z&&Z()}),[J,Z]);Im((()=>{H&&Q({value:B})}),[B,Q,H]);o.useEffect((()=>{Q(W.current)}),[]);let ee=y,te=w;C&&"input"===ee&&(z?("production"!==process.env.NODE_ENV&&(O||S)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),te=jp({type:void 0,minRows:z,maxRows:z},te)):te=jp({type:void 0,maxRows:S,minRows:O},te),ee=Wv);o.useEffect((()=>{Y&&Y.setAdornedStart(Boolean(D))}),[Y,D]);const ne=jp({},i,{color:X.color||"primary",disabled:X.disabled,endAdornment:h,error:X.error,focused:X.focused,formControl:Y,fullWidth:b,hiddenLabel:X.hiddenLabel,multiline:C,size:X.size,startAdornment:D,type:V}),oe=(e=>{const{classes:t,color:n,disabled:o,error:r,endAdornment:a,focused:i,formControl:l,fullWidth:s,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:m}=e;return yg({root:["root",`color${af(n)}`,o&&"disabled",r&&"error",s&&"fullWidth",i&&"focused",l&&"formControl",p&&"medium"!==p&&`size${af(p)}`,u&&"multiline",f&&"adornedStart",a&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",o&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",a&&"inputAdornedEnd",d&&"readOnly"]},Ey,t)})(ne),re=j.root||d.Root||Iy,ae=F.root||p.root||{},ie=j.input||d.Input||My;return te=jp({},te,null!=(a=F.input)?a:p.input),t(o.Fragment,{children:[!g&&$y,t(re,jp({},ae,!zb(re)&&{ownerState:jp({},ne,ae.ownerState)},{ref:r,onClick:e=>{W.current&&e.currentTarget===e.target&&W.current.focus(),P&&P(e)}},_,{className:mm(oe.root,ae.className,u,$&&"MuiInputBase-readOnly"),children:[D,e(xy.Provider,{value:null,children:e(ie,jp({ownerState:ne,"aria-invalid":X.error,"aria-describedby":l,autoComplete:s,autoFocus:c,defaultValue:f,disabled:X.disabled,id:v,onAnimationStart:e=>{Q("mui-auto-fill-cancel"===e.animationName?W.current:{value:"x"})},name:k,placeholder:M,readOnly:$,required:X.required,rows:z,value:B,onKeyDown:N,onKeyUp:I,type:V},te,!zb(ie)&&{as:ee,ownerState:jp({},ne,te.ownerState)},{ref:G,className:mm(oe.input,te.className,$&&"MuiInputBase-readOnly"),onBlur:e=>{E&&E(e),w.onBlur&&w.onBlur(e),Y&&Y.onBlur?Y.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!H){const t=e.target||W.current;if(null==t)throw new Error("production"!==process.env.NODE_ENV?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":Ap(1));Q({value:t.value})}w.onChange&&w.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{X.disabled?e.stopPropagation():(T&&T(e),w.onFocus&&w.onFocus(e),Y&&Y.onFocus?Y.onFocus(e):K(!0))}}))}),h,A?A(jp({},X,{startAdornment:D})):null]}))]})}));"production"!==process.env.NODE_ENV&&(Ay.propTypes={"aria-describedby":mi.string,autoComplete:mi.string,autoFocus:mi.bool,classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["primary","secondary","error","info","success","warning"]),mi.string]),components:mi.shape({Input:mi.elementType,Root:mi.elementType}),componentsProps:mi.shape({input:mi.object,root:mi.object}),defaultValue:mi.any,disabled:mi.bool,disableInjectingGlobalStyles:mi.bool,endAdornment:mi.node,error:mi.bool,fullWidth:mi.bool,id:mi.string,inputComponent:jm,inputProps:mi.object,inputRef:_m,margin:mi.oneOf(["dense","none"]),maxRows:mi.oneOfType([mi.number,mi.string]),minRows:mi.oneOfType([mi.number,mi.string]),multiline:mi.bool,name:mi.string,onBlur:mi.func,onChange:mi.func,onClick:mi.func,onFocus:mi.func,onInvalid:mi.func,onKeyDown:mi.func,onKeyUp:mi.func,placeholder:mi.string,readOnly:mi.bool,renderSuffix:mi.func,required:mi.bool,rows:mi.oneOfType([mi.number,mi.string]),size:mi.oneOfType([mi.oneOf(["medium","small"]),mi.string]),slotProps:mi.shape({input:mi.object,root:mi.object}),slots:mi.shape({input:mi.elementType,root:mi.elementType}),startAdornment:mi.node,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),type:mi.string,value:mi.any});var zy=Ay;function Fy(e){return hm("MuiInput",e)}const jy=jp({},Ry,bm("MuiInput",["root","underline","input"]));function Dy(e){return hm("MuiOutlinedInput",e)}var Vy=jp({},Ry,bm("MuiOutlinedInput",["root","notchedOutline","input"]));function Ly(e){return hm("MuiFilledInput",e)}var _y=jp({},Ry,bm("MuiFilledInput",["root","underline","input"])),By=Qh(e("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function Hy(e){return hm("MuiAutocomplete",e)}const Wy=bm("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var qy,Gy;const Uy=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","slotProps","value"],Ky=["ref"],Yy=["key"],Xy=["key"],Jy=fh,Zy=Uh("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:o,hasClearIcon:r,hasPopupIcon:a,inputFocused:i,size:l}=n;return[{[`& .${Wy.tag}`]:t.tag},{[`& .${Wy.tag}`]:t[`tagSize${af(l)}`]},{[`& .${Wy.inputRoot}`]:t.inputRoot},{[`& .${Wy.input}`]:t.input},{[`& .${Wy.input}`]:i&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,r&&t.hasClearIcon]}})({[`&.${Wy.focused} .${Wy.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Wy.clearIndicator}`]:{visibility:"visible"}},[`& .${Wy.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Wy.inputRoot}`]:{[`.${Wy.hasPopupIcon}&, .${Wy.hasClearIcon}&`]:{paddingRight:30},[`.${Wy.hasPopupIcon}.${Wy.hasClearIcon}&`]:{paddingRight:56},[`& .${Wy.input}`]:{width:0,minWidth:30}},[`& .${jy.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${jy.root}.${Ry.sizeSmall}`]:{[`& .${jy.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Vy.root}`]:{padding:9,[`.${Wy.hasPopupIcon}&, .${Wy.hasClearIcon}&`]:{paddingRight:39},[`.${Wy.hasPopupIcon}.${Wy.hasClearIcon}&`]:{paddingRight:65},[`& .${Wy.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Wy.endAdornment}`]:{right:9}},[`& .${Vy.root}.${Ry.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Wy.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${_y.root}`]:{paddingTop:19,paddingLeft:8,[`.${Wy.hasPopupIcon}&, .${Wy.hasClearIcon}&`]:{paddingRight:39},[`.${Wy.hasPopupIcon}.${Wy.hasClearIcon}&`]:{paddingRight:65},[`& .${_y.input}`]:{padding:"7px 4px"},[`& .${Wy.endAdornment}`]:{right:9}},[`& .${_y.root}.${Ry.sizeSmall}`]:{paddingBottom:1,[`& .${_y.input}`]:{padding:"2.5px 4px"}},[`& .${Ry.hiddenLabel}`]:{paddingTop:8},[`& .${_y.root}.${Ry.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Wy.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${_y.root}.${Ry.hiddenLabel}.${Ry.sizeSmall}`]:{[`& .${Wy.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Wy.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Wy.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Wy.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Wy.inputRoot}`]:{flexWrap:"wrap"}}}]}),Qy=Uh("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),ew=Uh(gv,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),tw=Uh(gv,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>jp({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),nw=Uh(ry,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Wy.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),ow=Uh($b,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>jp({},e.typography.body1,{overflow:"auto"}))),rw=Uh("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),aw=Uh("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),iw=Uh("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Wy.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Wy.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Wy.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pg(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Wy.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Wy.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pg(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),lw=Uh(cy,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),sw=Uh("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Wy.option}`]:{paddingLeft:24}}),cw=o.forwardRef((function(n,r){var a,i,l,s;const c=Jy({props:n,name:"MuiAutocomplete"}),{autoComplete:u=!1,autoHighlight:d=!1,autoSelect:p=!1,blurOnSelect:f=!1,ChipProps:m,className:g,clearIcon:h=qy||(qy=e(hv,{fontSize:"small"})),clearOnBlur:b=!c.freeSolo,clearOnEscape:v=!1,clearText:y="Clear",closeText:w="Close",componentsProps:x={},defaultValue:S=(c.multiple?[]:null),disableClearable:O=!1,disableCloseOnSelect:C=!1,disabled:k=!1,disabledItemsFocusable:E=!1,disableListWrap:R=!1,disablePortal:P=!1,filterSelectedOptions:T=!1,forcePopupIcon:N="auto",freeSolo:I=!1,fullWidth:M=!1,getLimitTagsText:$=(e=>`+${e}`),getOptionLabel:A,groupBy:z,handleHomeEndKeys:F=!c.freeSolo,includeInputInList:j=!1,limitTags:D=-1,ListboxComponent:V="ul",ListboxProps:L,loading:_=!1,loadingText:B="Loading…",multiple:H=!1,noOptionsText:W="No options",openOnFocus:q=!1,openText:G="Open",PaperComponent:U=$b,PopperComponent:K=ry,popupIcon:Y=Gy||(Gy=e(By,{})),readOnly:X=!1,renderGroup:J,renderInput:Z,renderOption:Q,renderTags:ee,selectOnFocus:te=!c.freeSolo,size:ne="medium",slotProps:oe={}}=c,re=Dp(c,Uy),{getRootProps:ae,getInputProps:ie,getInputLabelProps:le,getPopupIndicatorProps:se,getClearProps:ce,getTagProps:ue,getListboxProps:de,getOptionProps:pe,value:fe,dirty:me,expanded:ge,id:he,popupOpen:be,focused:ve,focusedTag:ye,anchorEl:we,setAnchorEl:xe,inputValue:Se,groupedOptions:Oe}=Yv(jp({},c,{componentName:"Autocomplete"})),Ce=!O&&!k&&me&&!X,ke=(!I||!0===N)&&!1!==N,{onMouseDown:Ee}=ie(),{ref:Re}=null!=L?L:{},Pe=de(),{ref:Te}=Pe,Ne=Dp(Pe,Ky),Ie=Qm(Te,Re),Me=A||(e=>{var t;return null!=(t=e.label)?t:e}),$e=jp({},c,{disablePortal:P,expanded:ge,focused:ve,fullWidth:M,getOptionLabel:Me,hasClearIcon:Ce,hasPopupIcon:ke,inputFocused:-1===ye,popupOpen:be,size:ne}),Ae=(e=>{const{classes:t,disablePortal:n,expanded:o,focused:r,fullWidth:a,hasClearIcon:i,hasPopupIcon:l,inputFocused:s,popupOpen:c,size:u}=e;return yg({root:["root",o&&"expanded",r&&"focused",a&&"fullWidth",i&&"hasClearIcon",l&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag",`tagSize${af(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},Hy,t)})($e);let ze;if(H&&fe.length>0){const t=e=>jp({className:Ae.tag,disabled:k},ue(e));ze=ee?ee(fe,t,$e):fe.map(((n,o)=>{const r=t({index:o}),{key:a}=r,i=Dp(r,Yy);return e(vy,jp({label:Me(n),size:ne},i,m),a)}))}if(D>-1&&Array.isArray(ze)){const t=ze.length-D;!ve&&t>0&&(ze=ze.splice(0,D),ze.push(e("span",{className:Ae.tag,children:$(t)},ze.length)))}const Fe=J||(n=>t("li",{children:[e(lw,{className:Ae.groupLabel,ownerState:$e,component:"div",children:n.group}),e(sw,{className:Ae.groupUl,ownerState:$e,children:n.children})]},n.key)),je=Q||((t,n)=>{const{key:o}=t,r=Dp(t,Xy);return e("li",jp({},r,{children:Me(n)}),o)}),De=(e,t)=>{const n=pe({option:e,index:t});return je(jp({},n,{className:Ae.option}),e,{selected:n["aria-selected"],index:t,inputValue:Se},$e)},Ve=null!=(a=oe.clearIndicator)?a:x.clearIndicator,Le=null!=(i=oe.paper)?i:x.paper,_e=null!=(l=oe.popper)?l:x.popper,Be=null!=(s=oe.popupIndicator)?s:x.popupIndicator,He=t=>e(nw,jp({as:K,disablePortal:P,style:{width:we?we.clientWidth:null},ownerState:$e,role:"presentation",anchorEl:we,open:be},_e,{className:mm(Ae.popper,null==_e?void 0:_e.className),children:e(ow,jp({ownerState:$e,as:U},Le,{className:mm(Ae.paper,null==Le?void 0:Le.className),children:t}))}));let We=null;return Oe.length>0?We=He(e(iw,jp({as:V,className:Ae.listbox,ownerState:$e},Ne,L,{ref:Ie,children:Oe.map(((e,t)=>z?Fe({key:e.key,group:e.group,children:e.options.map(((t,n)=>De(t,e.index+n)))}):De(e,t)))}))):_&&0===Oe.length?We=He(e(rw,{className:Ae.loading,ownerState:$e,children:B})):0!==Oe.length||I||_||(We=He(e(aw,{className:Ae.noOptions,ownerState:$e,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:W}))),t(o.Fragment,{children:[e(Zy,jp({ref:r,className:mm(Ae.root,g),ownerState:$e},ae(re),{children:Z({id:he,disabled:k,fullWidth:!0,size:"small"===ne?"small":void 0,InputLabelProps:le(),InputProps:jp({ref:xe,className:Ae.inputRoot,startAdornment:ze,onClick:e=>{e.target===e.currentTarget&&Ee(e)}},(Ce||ke)&&{endAdornment:t(Qy,{className:Ae.endAdornment,ownerState:$e,children:[Ce?e(ew,jp({},ce(),{"aria-label":y,title:y,ownerState:$e},Ve,{className:mm(Ae.clearIndicator,null==Ve?void 0:Ve.className),children:h})):null,ke?e(tw,jp({},se(),{disabled:k,"aria-label":be?w:G,title:be?w:G,ownerState:$e},Be,{className:mm(Ae.popupIndicator,null==Be?void 0:Be.className),children:Y})):null]})}),inputProps:jp({className:Ae.input,disabled:k,readOnly:X},ie())})})),we?We:null]})}));"production"!==process.env.NODE_ENV&&(cw.propTypes={autoComplete:mi.bool,autoHighlight:mi.bool,autoSelect:mi.bool,blurOnSelect:mi.oneOfType([mi.oneOf(["mouse","touch"]),mi.bool]),ChipProps:mi.object,classes:mi.object,className:mi.string,clearIcon:mi.node,clearOnBlur:mi.bool,clearOnEscape:mi.bool,clearText:mi.string,closeText:mi.string,componentsProps:mi.shape({clearIndicator:mi.object,paper:mi.object,popper:mi.object,popupIndicator:mi.object}),defaultValue:$m(mi.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:mi.bool,disableCloseOnSelect:mi.bool,disabled:mi.bool,disabledItemsFocusable:mi.bool,disableListWrap:mi.bool,disablePortal:mi.bool,filterOptions:mi.func,filterSelectedOptions:mi.bool,forcePopupIcon:mi.oneOfType([mi.oneOf(["auto"]),mi.bool]),freeSolo:mi.bool,fullWidth:mi.bool,getLimitTagsText:mi.func,getOptionDisabled:mi.func,getOptionKey:mi.func,getOptionLabel:mi.func,groupBy:mi.func,handleHomeEndKeys:mi.bool,id:mi.string,includeInputInList:mi.bool,inputValue:mi.string,isOptionEqualToValue:mi.func,limitTags:vg,ListboxComponent:mi.elementType,ListboxProps:mi.object,loading:mi.bool,loadingText:mi.node,multiple:mi.bool,noOptionsText:mi.node,onChange:mi.func,onClose:mi.func,onHighlightChange:mi.func,onInputChange:mi.func,onKeyDown:mi.func,onOpen:mi.func,open:mi.bool,openOnFocus:mi.bool,openText:mi.string,options:mi.array.isRequired,PaperComponent:mi.elementType,PopperComponent:mi.elementType,popupIcon:mi.node,readOnly:mi.bool,renderGroup:mi.func,renderInput:mi.func.isRequired,renderOption:mi.func,renderTags:mi.func,selectOnFocus:mi.bool,size:mi.oneOfType([mi.oneOf(["small","medium"]),mi.string]),slotProps:mi.shape({clearIndicator:mi.object,paper:mi.object,popper:mi.object,popupIndicator:mi.object}),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),value:$m(mi.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))});var uw=cw;const dw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pw={entering:{opacity:1},entered:{opacity:1}},fw=o.forwardRef((function(t,n){const r=ph(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:l=!0,children:s,easing:c,in:u,onEnter:d,onEntered:p,onEntering:f,onExit:m,onExited:g,onExiting:h,style:b,timeout:v=a,TransitionComponent:y=wb}=t,w=Dp(t,dw),x=o.useRef(null),S=Qm(x,s.ref,n),O=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=O(f),k=O(((e,t)=>{Rb(e);const n=Pb({style:b,timeout:v,easing:c},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),d&&d(e,t)})),E=O(p),R=O(h),P=O((e=>{const t=Pb({style:b,timeout:v,easing:c},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),m&&m(e)})),T=O(g);return e(y,jp({appear:l,in:u,nodeRef:x,onEnter:k,onEntered:E,onEntering:C,onExit:P,onExited:T,onExiting:R,addEndListener:e=>{i&&i(x.current,e)},timeout:v},w,{children:(e,t)=>o.cloneElement(s,jp({style:jp({opacity:0,visibility:"exited"!==e||u?void 0:"hidden"},pw[e],b,s.props.style),ref:S},t))}))}));"production"!==process.env.NODE_ENV&&(fw.propTypes={addEndListener:mi.func,appear:mi.bool,children:Fm.isRequired,easing:mi.oneOfType([mi.shape({enter:mi.string,exit:mi.string}),mi.string]),in:mi.bool,onEnter:mi.func,onEntered:mi.func,onEntering:mi.func,onExit:mi.func,onExited:mi.func,onExiting:mi.func,style:mi.object,timeout:mi.oneOfType([mi.number,mi.shape({appear:mi.number,enter:mi.number,exit:mi.number})])});var mw=fw;function gw(e){return hm("MuiBackdrop",e)}bm("MuiBackdrop",["root","invisible"]);const hw=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],bw=Uh("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>jp({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),vw=o.forwardRef((function(t,n){var o,r,a;const i=fh({props:t,name:"MuiBackdrop"}),{children:l,className:s,component:c="div",components:u={},componentsProps:d={},invisible:p=!1,open:f,slotProps:m={},slots:g={},TransitionComponent:h=mw,transitionDuration:b}=i,v=Dp(i,hw),y=jp({},i,{component:c,invisible:p}),w=(e=>{const{classes:t,invisible:n}=e;return yg({root:["root",n&&"invisible"]},gw,t)})(y),x=null!=(o=m.root)?o:d.root;return e(h,jp({in:f,timeout:b},v,{children:e(bw,jp({"aria-hidden":!0},x,{as:null!=(r=null!=(a=g.root)?a:u.Root)?r:c,className:mm(w.root,s,null==x?void 0:x.className),ownerState:jp({},y,null==x?void 0:x.ownerState),classes:w,ref:n,children:l}))}))}));"production"!==process.env.NODE_ENV&&(vw.propTypes={children:mi.node,classes:mi.object,className:mi.string,component:mi.elementType,components:mi.shape({Root:mi.elementType}),componentsProps:mi.shape({root:mi.object}),invisible:mi.bool,open:mi.bool.isRequired,slotProps:mi.shape({root:mi.object}),slots:mi.shape({root:mi.elementType}),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),TransitionComponent:mi.elementType,transitionDuration:mi.oneOfType([mi.number,mi.shape({appear:mi.number,enter:mi.number,exit:mi.number})])});var yw=vw;function ww(e){return hm("MuiModal",e)}bm("MuiModal",["root","hidden","backdrop"]);const xw=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Sw=Uh("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>jp({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),Ow=Uh(yw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Cw=o.forwardRef((function(n,r){var a,i,l,s,c,u;const d=fh({name:"MuiModal",props:n}),{BackdropComponent:p=Ow,BackdropProps:f,className:m,closeAfterTransition:g=!1,children:h,container:b,component:v,components:y={},componentsProps:w={},disableAutoFocus:x=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:O=!1,disablePortal:C=!1,disableRestoreFocus:k=!1,disableScrollLock:E=!1,hideBackdrop:R=!1,keepMounted:P=!1,onBackdropClick:T,open:N,slotProps:I,slots:M}=d,$=Dp(d,xw),A=jp({},d,{closeAfterTransition:g,disableAutoFocus:x,disableEnforceFocus:S,disableEscapeKeyDown:O,disablePortal:C,disableRestoreFocus:k,disableScrollLock:E,hideBackdrop:R,keepMounted:P}),{getRootProps:z,getBackdropProps:F,getTransitionProps:j,portalRef:D,isTopModal:V,exited:L,hasTransition:_}=Nv(jp({},A,{rootRef:r})),B=jp({},A,{exited:L}),H=(e=>{const{open:t,exited:n,classes:o}=e;return yg({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},ww,o)})(B),W={};if(void 0===h.props.tabIndex&&(W.tabIndex="-1"),_){const{onEnter:e,onExited:t}=j();W.onEnter=e,W.onExited=t}const q=null!=(a=null!=(i=null==M?void 0:M.root)?i:y.Root)?a:Sw,G=null!=(l=null!=(s=null==M?void 0:M.backdrop)?s:y.Backdrop)?l:p,U=null!=(c=null==I?void 0:I.root)?c:w.root,K=null!=(u=null==I?void 0:I.backdrop)?u:w.backdrop,Y=Bb({elementType:q,externalSlotProps:U,externalForwardedProps:$,getSlotProps:z,additionalProps:{ref:r,as:v},ownerState:B,className:mm(m,null==U?void 0:U.className,null==H?void 0:H.root,!B.open&&B.exited&&(null==H?void 0:H.hidden))}),X=Bb({elementType:G,externalSlotProps:K,additionalProps:f,getSlotProps:e=>F(jp({},e,{onClick:t=>{T&&T(t),null!=e&&e.onClick&&e.onClick(t)}})),className:mm(null==K?void 0:K.className,null==f?void 0:f.className,null==H?void 0:H.backdrop),ownerState:B});return P||N||_&&!L?e(Ov,{ref:D,container:b,disablePortal:C,children:t(q,jp({},Y,{children:[!R&&p?e(G,jp({},X)):null,e(Sv,{disableEnforceFocus:S,disableAutoFocus:x,disableRestoreFocus:k,isEnabled:V,open:N,children:o.cloneElement(h,W)})]}))}):null}));"production"!==process.env.NODE_ENV&&(Cw.propTypes={BackdropComponent:mi.elementType,BackdropProps:mi.object,children:Fm.isRequired,classes:mi.object,className:mi.string,closeAfterTransition:mi.bool,component:mi.elementType,components:mi.shape({Backdrop:mi.elementType,Root:mi.elementType}),componentsProps:mi.shape({backdrop:mi.oneOfType([mi.func,mi.object]),root:mi.oneOfType([mi.func,mi.object])}),container:mi.oneOfType([Lm,mi.func]),disableAutoFocus:mi.bool,disableEnforceFocus:mi.bool,disableEscapeKeyDown:mi.bool,disablePortal:mi.bool,disableRestoreFocus:mi.bool,disableScrollLock:mi.bool,hideBackdrop:mi.bool,keepMounted:mi.bool,onBackdropClick:mi.func,onClose:mi.func,onTransitionEnter:mi.func,onTransitionExited:mi.func,open:mi.bool.isRequired,slotProps:mi.shape({backdrop:mi.oneOfType([mi.func,mi.object]),root:mi.oneOfType([mi.func,mi.object])}),slots:mi.shape({backdrop:mi.elementType,root:mi.elementType}),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object])});var kw=Cw;const Ew=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Rw=Uh(Iy,{shouldForwardProp:e=>Gh(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ty(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const o="light"===e.palette.mode,r=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return jp({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${_y.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${_y.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${_y.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${_y.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${_y.disabled}, .${_y.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${_y.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&jp({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),Pw=Uh(My,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ny})((({theme:e,ownerState:t})=>jp({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),Tw=o.forwardRef((function(t,n){var o,r,a,i;const l=fh({props:t,name:"MuiFilledInput"}),{components:s={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:p=!1,slotProps:f,slots:m={},type:g="text"}=l,h=Dp(l,Ew),b=jp({},l,{fullWidth:u,inputComponent:d,multiline:p,type:g}),v=(e=>{const{classes:t,disableUnderline:n}=e;return jp({},t,yg({root:["root",!n&&"underline"],input:["input"]},Ly,t))})(l),y={root:{ownerState:b},input:{ownerState:b}},w=(null!=f?f:c)?Kp(y,null!=f?f:c):y,x=null!=(o=null!=(r=m.root)?r:s.Root)?o:Rw,S=null!=(a=null!=(i=m.input)?i:s.Input)?a:Pw;return e(zy,jp({slots:{root:x,input:S},componentsProps:w,fullWidth:u,inputComponent:d,multiline:p,ref:n,type:g},h,{classes:v}))}));"production"!==process.env.NODE_ENV&&(Tw.propTypes={autoComplete:mi.string,autoFocus:mi.bool,classes:mi.object,color:mi.oneOfType([mi.oneOf(["primary","secondary"]),mi.string]),components:mi.shape({Input:mi.elementType,Root:mi.elementType}),componentsProps:mi.shape({input:mi.object,root:mi.object}),defaultValue:mi.any,disabled:mi.bool,disableUnderline:mi.bool,endAdornment:mi.node,error:mi.bool,fullWidth:mi.bool,hiddenLabel:mi.bool,id:mi.string,inputComponent:mi.elementType,inputProps:mi.object,inputRef:_m,margin:mi.oneOf(["dense","none"]),maxRows:mi.oneOfType([mi.number,mi.string]),minRows:mi.oneOfType([mi.number,mi.string]),multiline:mi.bool,name:mi.string,onChange:mi.func,placeholder:mi.string,readOnly:mi.bool,required:mi.bool,rows:mi.oneOfType([mi.number,mi.string]),slotProps:mi.shape({input:mi.object,root:mi.object}),slots:mi.shape({input:mi.elementType,root:mi.elementType}),startAdornment:mi.node,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),type:mi.string,value:mi.any}),Tw.muiName="Input";var Nw=Tw;function Iw(e){return hm("MuiFormControl",e)}bm("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Mw=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],$w=Uh("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>jp({},t.root,t[`margin${af(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>jp({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"}))),Aw=o.forwardRef((function(t,n){const r=fh({props:t,name:"MuiFormControl"}),{children:a,className:i,color:l="primary",component:s="div",disabled:c=!1,error:u=!1,focused:d,fullWidth:p=!1,hiddenLabel:f=!1,margin:m="none",required:g=!1,size:h="medium",variant:b="outlined"}=r,v=Dp(r,Mw),y=jp({},r,{color:l,component:s,disabled:c,error:u,fullWidth:p,hiddenLabel:f,margin:m,required:g,size:h,variant:b}),w=(e=>{const{classes:t,margin:n,fullWidth:o}=e;return yg({root:["root","none"!==n&&`margin${af(n)}`,o&&"fullWidth"]},Iw,t)})(y),[x,S]=o.useState((()=>{let e=!1;return a&&o.Children.forEach(a,(t=>{if(!Wm(t,["Input","Select"]))return;const n=Wm(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)})),e})),[O,C]=o.useState((()=>{let e=!1;return a&&o.Children.forEach(a,(t=>{Wm(t,["Input","Select"])&&(ky(t.props,!0)||ky(t.props.inputProps,!0))&&(e=!0)})),e})),[k,E]=o.useState(!1);c&&k&&E(!1);const R=void 0===d||c?k:d;let P;if("production"!==process.env.NODE_ENV){const e=o.useRef(!1);P=()=>(e.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join("\n")),e.current=!0,()=>{e.current=!1})}const T=o.useMemo((()=>({adornedStart:x,setAdornedStart:S,color:l,disabled:c,error:u,filled:O,focused:R,fullWidth:p,hiddenLabel:f,size:h,onBlur:()=>{E(!1)},onEmpty:()=>{C(!1)},onFilled:()=>{C(!0)},onFocus:()=>{E(!0)},registerEffect:P,required:g,variant:b})),[x,l,c,u,O,R,p,f,P,g,h,b]);return e(xy.Provider,{value:T,children:e($w,jp({as:s,ownerState:y,className:mm(w.root,i),ref:n},v,{children:a}))})}));"production"!==process.env.NODE_ENV&&(Aw.propTypes={children:mi.node,classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["primary","secondary","error","info","success","warning"]),mi.string]),component:mi.elementType,disabled:mi.bool,error:mi.bool,focused:mi.bool,fullWidth:mi.bool,hiddenLabel:mi.bool,margin:mi.oneOf(["dense","none","normal"]),required:mi.bool,size:mi.oneOfType([mi.oneOf(["medium","small"]),mi.string]),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),variant:mi.oneOf(["filled","outlined","standard"])});var zw=Aw;function Fw(e){return hm("MuiFormHelperText",e)}var jw,Dw=bm("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);const Vw=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Lw=Uh("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${af(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>jp({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Dw.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Dw.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),_w=o.forwardRef((function(t,n){const o=fh({props:t,name:"MuiFormHelperText"}),{children:r,className:a,component:i="p"}=o,l=Dp(o,Vw),s=yy({props:o,muiFormControl:Sy(),states:["variant","size","disabled","error","filled","focused","required"]}),c=jp({},o,{component:i,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=(e=>{const{classes:t,contained:n,size:o,disabled:r,error:a,filled:i,focused:l,required:s}=e;return yg({root:["root",r&&"disabled",a&&"error",o&&`size${af(o)}`,n&&"contained",l&&"focused",i&&"filled",s&&"required"]},Fw,t)})(c);return e(Lw,jp({as:i,ownerState:c,className:mm(u.root,a),ref:n},l,{children:" "===r?jw||(jw=e("span",{className:"notranslate",children:""})):r}))}));"production"!==process.env.NODE_ENV&&(_w.propTypes={children:mi.node,classes:mi.object,className:mi.string,component:mi.elementType,disabled:mi.bool,error:mi.bool,filled:mi.bool,focused:mi.bool,margin:mi.oneOf(["dense"]),required:mi.bool,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),variant:mi.oneOfType([mi.oneOf(["filled","outlined","standard"]),mi.string])});var Bw=_w;function Hw(e){return hm("MuiFormLabel",e)}var Ww=bm("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);const qw=["children","className","color","component","disabled","error","filled","focused","required"],Gw=Uh("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>jp({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>jp({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Ww.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Ww.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Ww.error}`]:{color:(e.vars||e).palette.error.main}}))),Uw=Uh("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Ww.error}`]:{color:(e.vars||e).palette.error.main}}))),Kw=o.forwardRef((function(e,n){const o=fh({props:e,name:"MuiFormLabel"}),{children:r,className:a,component:i="label"}=o,l=Dp(o,qw),s=yy({props:o,muiFormControl:Sy(),states:["color","required","focused","disabled","error","filled"]}),c=jp({},o,{color:s.color||"primary",component:i,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),u=(e=>{const{classes:t,color:n,focused:o,disabled:r,error:a,filled:i,required:l}=e;return yg({root:["root",`color${af(n)}`,r&&"disabled",a&&"error",i&&"filled",o&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]},Hw,t)})(c);return t(Gw,jp({as:i,ownerState:c,className:mm(u.root,a),ref:n},l,{children:[r,s.required&&t(Uw,{ownerState:c,"aria-hidden":!0,className:u.asterisk,children:[" ","*"]})]}))}));"production"!==process.env.NODE_ENV&&(Kw.propTypes={children:mi.node,classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["error","info","primary","secondary","success","warning"]),mi.string]),component:mi.elementType,disabled:mi.bool,error:mi.bool,filled:mi.bool,focused:mi.bool,required:mi.bool,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object])});var Yw=Kw;const Xw=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Jw(e){return`scale(${e}, ${e**2})`}const Zw={entering:{opacity:1,transform:Jw(1)},entered:{opacity:1,transform:"none"}},Qw="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ex=o.forwardRef((function(t,n){const{addEndListener:r,appear:a=!0,children:i,easing:l,in:s,onEnter:c,onEntered:u,onEntering:d,onExit:p,onExited:f,onExiting:m,style:g,timeout:h="auto",TransitionComponent:b=wb}=t,v=Dp(t,Xw),y=og(),w=o.useRef(),x=ph(),S=o.useRef(null),O=Qm(S,i.ref,n),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},k=C(d),E=C(((e,t)=>{Rb(e);const{duration:n,delay:o,easing:r}=Pb({style:g,timeout:h,easing:l},{mode:"enter"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),w.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:o}),x.transitions.create("transform",{duration:Qw?a:.666*a,delay:o,easing:r})].join(","),c&&c(e,t)})),R=C(u),P=C(m),T=C((e=>{const{duration:t,delay:n,easing:o}=Pb({style:g,timeout:h,easing:l},{mode:"exit"});let r;"auto"===h?(r=x.transitions.getAutoHeightDuration(e.clientHeight),w.current=r):r=t,e.style.transition=[x.transitions.create("opacity",{duration:r,delay:n}),x.transitions.create("transform",{duration:Qw?r:.666*r,delay:Qw?n:n||.333*r,easing:o})].join(","),e.style.opacity=0,e.style.transform=Jw(.75),p&&p(e)})),N=C(f);return e(b,jp({appear:a,in:s,nodeRef:S,onEnter:E,onEntered:R,onEntering:k,onExit:T,onExited:N,onExiting:P,addEndListener:e=>{"auto"===h&&y.start(w.current||0,e),r&&r(S.current,e)},timeout:"auto"===h?null:h},v,{children:(e,t)=>o.cloneElement(i,jp({style:jp({opacity:0,transform:Jw(.75),visibility:"exited"!==e||s?void 0:"hidden"},Zw[e],g,i.props.style),ref:O},t))}))}));"production"!==process.env.NODE_ENV&&(ex.propTypes={addEndListener:mi.func,appear:mi.bool,children:Fm.isRequired,easing:mi.oneOfType([mi.shape({enter:mi.string,exit:mi.string}),mi.string]),in:mi.bool,onEnter:mi.func,onEntered:mi.func,onEntering:mi.func,onExit:mi.func,onExited:mi.func,onExiting:mi.func,style:mi.object,timeout:mi.oneOfType([mi.oneOf(["auto"]),mi.number,mi.shape({appear:mi.number,enter:mi.number,exit:mi.number})])}),ex.muiSupportAuto=!0;var tx=ex;const nx=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],ox=Uh(Iy,{shouldForwardProp:e=>Gh(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ty(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),jp({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${jy.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${jy.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${jy.disabled}, .${jy.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${jy.disabled}:before`]:{borderBottomStyle:"dotted"}})})),rx=Uh(My,{name:"MuiInput",slot:"Input",overridesResolver:Ny})({}),ax=o.forwardRef((function(t,n){var o,r,a,i;const l=fh({props:t,name:"MuiInput"}),{disableUnderline:s,components:c={},componentsProps:u,fullWidth:d=!1,inputComponent:p="input",multiline:f=!1,slotProps:m,slots:g={},type:h="text"}=l,b=Dp(l,nx),v=(e=>{const{classes:t,disableUnderline:n}=e;return jp({},t,yg({root:["root",!n&&"underline"],input:["input"]},Fy,t))})(l),y={root:{ownerState:{disableUnderline:s}}},w=(null!=m?m:u)?Kp(null!=m?m:u,y):y,x=null!=(o=null!=(r=g.root)?r:c.Root)?o:ox,S=null!=(a=null!=(i=g.input)?i:c.Input)?a:rx;return e(zy,jp({slots:{root:x,input:S},slotProps:w,fullWidth:d,inputComponent:p,multiline:f,ref:n,type:h},b,{classes:v}))}));"production"!==process.env.NODE_ENV&&(ax.propTypes={autoComplete:mi.string,autoFocus:mi.bool,classes:mi.object,color:mi.oneOfType([mi.oneOf(["primary","secondary"]),mi.string]),components:mi.shape({Input:mi.elementType,Root:mi.elementType}),componentsProps:mi.shape({input:mi.object,root:mi.object}),defaultValue:mi.any,disabled:mi.bool,disableUnderline:mi.bool,endAdornment:mi.node,error:mi.bool,fullWidth:mi.bool,id:mi.string,inputComponent:mi.elementType,inputProps:mi.object,inputRef:_m,margin:mi.oneOf(["dense","none"]),maxRows:mi.oneOfType([mi.number,mi.string]),minRows:mi.oneOfType([mi.number,mi.string]),multiline:mi.bool,name:mi.string,onChange:mi.func,placeholder:mi.string,readOnly:mi.bool,required:mi.bool,rows:mi.oneOfType([mi.number,mi.string]),slotProps:mi.shape({input:mi.object,root:mi.object}),slots:mi.shape({input:mi.elementType,root:mi.elementType}),startAdornment:mi.node,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),type:mi.string,value:mi.any}),ax.muiName="Input";var ix=ax;function lx(e){return hm("MuiInputLabel",e)}bm("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const sx=["disableAnimation","margin","shrink","variant","className"],cx=Uh(Yw,{shouldForwardProp:e=>Gh(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ww.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})((({theme:e,ownerState:t})=>jp({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&jp({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&jp({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&jp({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),ux=o.forwardRef((function(t,n){const o=fh({name:"MuiInputLabel",props:t}),{disableAnimation:r=!1,shrink:a,className:i}=o,l=Dp(o,sx),s=Sy();let c=a;void 0===c&&s&&(c=s.filled||s.focused||s.adornedStart);const u=yy({props:o,muiFormControl:s,states:["size","variant","required","focused"]}),d=jp({},o,{disableAnimation:r,formControl:s,shrink:c,size:u.size,variant:u.variant,required:u.required,focused:u.focused}),p=(e=>{const{classes:t,formControl:n,size:o,shrink:r,disableAnimation:a,variant:i,required:l}=e;return jp({},t,yg({root:["root",n&&"formControl",!a&&"animated",r&&"shrink",o&&"normal"!==o&&`size${af(o)}`,i],asterisk:[l&&"asterisk"]},lx,t))})(d);return e(cx,jp({"data-shrink":c,ownerState:d,ref:n,className:mm(p.root,i)},l,{classes:p}))}));"production"!==process.env.NODE_ENV&&(ux.propTypes={children:mi.node,classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["error","info","primary","secondary","success","warning"]),mi.string]),disableAnimation:mi.bool,disabled:mi.bool,error:mi.bool,focused:mi.bool,margin:mi.oneOf(["dense"]),required:mi.bool,shrink:mi.bool,size:mi.oneOfType([mi.oneOf(["normal","small"]),mi.string]),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),variant:mi.oneOf(["filled","outlined","standard"])});var dx=ux;const px=o.createContext({});"production"!==process.env.NODE_ENV&&(px.displayName="ListContext");var fx=px;function mx(e){return hm("MuiList",e)}bm("MuiList",["root","padding","dense","subheader"]);const gx=["children","className","component","dense","disablePadding","subheader"],hx=Uh("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>jp({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),bx=o.forwardRef((function(n,r){const a=fh({props:n,name:"MuiList"}),{children:i,className:l,component:s="ul",dense:c=!1,disablePadding:u=!1,subheader:d}=a,p=Dp(a,gx),f=o.useMemo((()=>({dense:c})),[c]),m=jp({},a,{component:s,dense:c,disablePadding:u}),g=(e=>{const{classes:t,disablePadding:n,dense:o,subheader:r}=e;return yg({root:["root",!n&&"padding",o&&"dense",r&&"subheader"]},mx,t)})(m);return e(fx.Provider,{value:f,children:t(hx,jp({as:s,className:mm(g.root,l),ref:r,ownerState:m},p,{children:[d,i]}))})}));"production"!==process.env.NODE_ENV&&(bx.propTypes={children:mi.node,classes:mi.object,className:mi.string,component:mi.elementType,dense:mi.bool,disablePadding:mi.bool,subheader:mi.node,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object])});var vx=bx;const yx=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function wx(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function xx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Sx(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Ox(e,t,n,o,r,a){let i=!1,l=r(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(i)return!1;i=!0}const t=!o&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Sx(l,a)&&!t)return l.focus(),!0;l=r(e,l,n)}return!1}const Cx=o.forwardRef((function(t,n){const{actions:r,autoFocus:a=!1,autoFocusItem:i=!1,children:l,className:s,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:d,variant:p="selectedMenu"}=t,f=Dp(t,yx),m=o.useRef(null),g=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Im((()=>{a&&m.current.focus()}),[a]),o.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!m.current.style.width;if(e.clientHeight<m.current.clientHeight&&n){const n=`${fg(qm(e))}px`;m.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,m.current.style.width=`calc(100% + ${n})`}return m.current}})),[]);const h=Qm(m,n);let b=-1;o.Children.forEach(l,((e,t)=>{o.isValidElement(e)?("production"!==process.env.NODE_ENV&&ab.isFragment(e)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),e.props.disabled||("selectedMenu"===p&&e.props.selected||-1===b)&&(b=t),b===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(b+=1,b>=l.length&&(b=-1))):b===t&&(b+=1,b>=l.length&&(b=-1))}));const v=o.Children.map(l,((e,t)=>{if(t===b){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),o.cloneElement(e,t)}return e}));return e(vx,jp({role:"menu",ref:h,className:s,onKeyDown:e=>{const t=m.current,n=e.key,o=qm(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Ox(t,o,u,c,wx);else if("ArrowUp"===n)e.preventDefault(),Ox(t,o,u,c,xx);else if("Home"===n)e.preventDefault(),Ox(t,null,u,c,wx);else if("End"===n)e.preventDefault(),Ox(t,null,u,c,xx);else if(1===n.length){const r=g.current,a=n.toLowerCase(),i=performance.now();r.keys.length>0&&(i-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&a!==r.keys[0]&&(r.repeating=!1)),r.lastTime=i,r.keys.push(a);const l=o&&!r.repeating&&Sx(o,r);r.previousKeyMatched&&(l||Ox(t,o,!1,c,wx,r))?e.preventDefault():r.previousKeyMatched=!1}d&&d(e)},tabIndex:a?0:-1},f,{children:v}))}));"production"!==process.env.NODE_ENV&&(Cx.propTypes={autoFocus:mi.bool,autoFocusItem:mi.bool,children:mi.node,className:mi.string,disabledItemsFocusable:mi.bool,disableListWrap:mi.bool,onKeyDown:mi.func,variant:mi.oneOf(["menu","selectedMenu"])});var kx=Cx;function Ex(e){return hm("MuiPopover",e)}bm("MuiPopover",["root","paper"]);const Rx=["onEntering"],Px=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Tx=["slotProps"];function Nx(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ix(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Mx(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function $x(e){return"function"==typeof e?e():e}const Ax=Uh(kw,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zx=Uh($b,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Fx=o.forwardRef((function(t,n){var r,a,i;const l=fh({props:t,name:"MuiPopover"}),{action:s,anchorEl:c,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:d,anchorReference:p="anchorEl",children:f,className:m,container:g,elevation:h=8,marginThreshold:b=16,open:v,PaperProps:y={},slots:w,slotProps:x,transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:O=tx,transitionDuration:C="auto",TransitionProps:{onEntering:k}={},disableScrollLock:E=!1}=l,R=Dp(l.TransitionProps,Rx),P=Dp(l,Px),T=null!=(r=null==x?void 0:x.paper)?r:y,N=o.useRef(),I=Qm(N,T.ref),M=jp({},l,{anchorOrigin:u,anchorReference:p,elevation:h,marginThreshold:b,externalPaperSlotProps:T,transformOrigin:S,TransitionComponent:O,transitionDuration:C,TransitionProps:R}),$=(e=>{const{classes:t}=e;return yg({root:["root"],paper:["paper"]},Ex,t)})(M),A=o.useCallback((()=>{if("anchorPosition"===p)return"production"!==process.env.NODE_ENV&&(d||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),d;const e=$x(c),t=e&&1===e.nodeType?e:qm(N.current).body,n=t.getBoundingClientRect();if("production"!==process.env.NODE_ENV){const e=t.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"))}return{top:n.top+Nx(n,u.vertical),left:n.left+Ix(n,u.horizontal)}}),[c,u.horizontal,u.vertical,d,p]),z=o.useCallback((e=>({vertical:Nx(e,S.vertical),horizontal:Ix(e,S.horizontal)})),[S.horizontal,S.vertical]),F=o.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=z(t);if("none"===p)return{top:null,left:null,transformOrigin:Mx(n)};const o=A();let r=o.top-n.vertical,a=o.left-n.horizontal;const i=r+t.height,l=a+t.width,s=Gm($x(c)),u=s.innerHeight-b,d=s.innerWidth-b;if(null!==b&&r<b){const e=r-b;r-=e,n.vertical+=e}else if(null!==b&&i>u){const e=i-u;r-=e,n.vertical+=e}if("production"!==process.env.NODE_ENV&&t.height>u&&t.height&&u&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${t.height-u}px).`,"Please consider adding a `max-height` to improve the user-experience."].join("\n")),null!==b&&a<b){const e=a-b;a-=e,n.horizontal+=e}else if(l>d){const e=l-d;a-=e,n.horizontal+=e}return{top:`${Math.round(r)}px`,left:`${Math.round(a)}px`,transformOrigin:Mx(n)}}),[c,p,A,z,b]),[j,D]=o.useState(v),V=o.useCallback((()=>{const e=N.current;if(!e)return;const t=F(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,D(!0)}),[F]);o.useEffect((()=>(E&&window.addEventListener("scroll",V),()=>window.removeEventListener("scroll",V))),[c,E,V]);o.useEffect((()=>{v&&V()})),o.useImperativeHandle(s,(()=>v?{updatePosition:()=>{V()}}:null),[v,V]),o.useEffect((()=>{if(!v)return;const e=Hm((()=>{V()})),t=Gm(c);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[c,v,V]);let L=C;"auto"!==C||O.muiSupportAuto||(L=void 0);const _=g||(c?qm($x(c)).body:void 0),B=null!=(a=null==w?void 0:w.root)?a:Ax,H=null!=(i=null==w?void 0:w.paper)?i:zx,W=Bb({elementType:H,externalSlotProps:jp({},T,{style:j?T.style:jp({},T.style,{opacity:0})}),additionalProps:{elevation:h,ref:I},ownerState:M,className:mm($.paper,null==T?void 0:T.className)}),q=Bb({elementType:B,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:P,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:_,open:v},ownerState:M,className:mm($.root,m)}),{slotProps:G}=q,U=Dp(q,Tx);return e(B,jp({},U,!zb(B)&&{slotProps:G,disableScrollLock:E},{children:e(O,jp({appear:!0,in:v,onEntering:(e,t)=>{k&&k(e,t),V()},onExited:()=>{D(!1)},timeout:L},R,{children:e(H,jp({},W,{children:f}))}))}))}));"production"!==process.env.NODE_ENV&&(Fx.propTypes={action:_m,anchorEl:$m(mi.oneOfType([Lm,mi.func]),(e=>{if(e.open&&(!e.anchorReference||"anchorEl"===e.anchorReference)){const t=$x(e.anchorEl);if(!t||1!==t.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join("\n"));{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"))}}return null})),anchorOrigin:mi.shape({horizontal:mi.oneOfType([mi.oneOf(["center","left","right"]),mi.number]).isRequired,vertical:mi.oneOfType([mi.oneOf(["bottom","center","top"]),mi.number]).isRequired}),anchorPosition:mi.shape({left:mi.number.isRequired,top:mi.number.isRequired}),anchorReference:mi.oneOf(["anchorEl","anchorPosition","none"]),children:mi.node,classes:mi.object,className:mi.string,container:mi.oneOfType([Lm,mi.func]),disableScrollLock:mi.bool,elevation:vg,marginThreshold:mi.number,onClose:mi.func,open:mi.bool.isRequired,PaperProps:mi.shape({component:jm}),slotProps:mi.shape({paper:mi.oneOfType([mi.func,mi.object]),root:mi.oneOfType([mi.func,mi.object])}),slots:mi.shape({paper:mi.elementType,root:mi.elementType}),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),transformOrigin:mi.shape({horizontal:mi.oneOfType([mi.oneOf(["center","left","right"]),mi.number]).isRequired,vertical:mi.oneOfType([mi.oneOf(["bottom","center","top"]),mi.number]).isRequired}),TransitionComponent:mi.elementType,transitionDuration:mi.oneOfType([mi.oneOf(["auto"]),mi.number,mi.shape({appear:mi.number,enter:mi.number,exit:mi.number})]),TransitionProps:mi.object});var jx=Fx;function Dx(e){return hm("MuiMenu",e)}bm("MuiMenu",["root","paper","list"]);const Vx=["onEntering"],Lx=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],_x={vertical:"top",horizontal:"right"},Bx={vertical:"top",horizontal:"left"},Hx=Uh(jx,{shouldForwardProp:e=>Gh(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Wx=Uh(zx,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),qx=Uh(kx,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Gx=o.forwardRef((function(t,n){var r,a;const i=fh({props:t,name:"MuiMenu"}),{autoFocus:l=!0,children:s,className:c,disableAutoFocusItem:u=!1,MenuListProps:d={},onClose:p,open:f,PaperProps:m={},PopoverClasses:g,transitionDuration:h="auto",TransitionProps:{onEntering:b}={},variant:v="selectedMenu",slots:y={},slotProps:w={}}=i,x=Dp(i.TransitionProps,Vx),S=Dp(i,Lx),O=(()=>{const e=o.useContext(wg);return null!=e&&e})(),C=jp({},i,{autoFocus:l,disableAutoFocusItem:u,MenuListProps:d,onEntering:b,PaperProps:m,transitionDuration:h,TransitionProps:x,variant:v}),k=(e=>{const{classes:t}=e;return yg({root:["root"],paper:["paper"],list:["list"]},Dx,t)})(C),E=l&&!u&&f,R=o.useRef(null);let P=-1;o.Children.map(s,((e,t)=>{o.isValidElement(e)&&("production"!==process.env.NODE_ENV&&ab.isFragment(e)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===P)&&(P=t))}));const T=null!=(r=y.paper)?r:Wx,N=null!=(a=w.paper)?a:m,I=Bb({elementType:y.root,externalSlotProps:w.root,ownerState:C,className:[k.root,c]}),M=Bb({elementType:T,externalSlotProps:N,ownerState:C,className:k.paper});return e(Hx,jp({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?_x:Bx,slots:{paper:T,root:y.root},slotProps:{root:I,paper:M},open:f,ref:n,transitionDuration:h,TransitionProps:jp({onEntering:(e,t)=>{R.current&&R.current.adjustStyleForScrollbar(e,{direction:O?"rtl":"ltr"}),b&&b(e,t)}},x),ownerState:C},S,{classes:g,children:e(qx,jp({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:R,autoFocus:l&&(-1===P||u),autoFocusItem:E,variant:v},d,{className:mm(k.list,d.className),children:s}))}))}));"production"!==process.env.NODE_ENV&&(Gx.propTypes={anchorEl:mi.oneOfType([Lm,mi.func]),autoFocus:mi.bool,children:mi.node,classes:mi.object,className:mi.string,disableAutoFocusItem:mi.bool,MenuListProps:mi.object,onClose:mi.func,open:mi.bool.isRequired,PaperProps:mi.object,PopoverClasses:mi.object,slotProps:mi.shape({paper:mi.oneOfType([mi.func,mi.object]),root:mi.oneOfType([mi.func,mi.object])}),slots:mi.shape({paper:mi.elementType,root:mi.elementType}),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),transitionDuration:mi.oneOfType([mi.oneOf(["auto"]),mi.number,mi.shape({appear:mi.number,enter:mi.number,exit:mi.number})]),TransitionProps:mi.object,variant:mi.oneOf(["menu","selectedMenu"])});var Ux=Gx;function Kx(e){return hm("MuiNativeSelect",e)}var Yx=bm("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);const Xx=["className","disabled","error","IconComponent","inputRef","variant"],Jx=({ownerState:e,theme:t})=>jp({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":jp({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Yx.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),Zx=Uh("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Gh,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Yx.multiple}`]:t.multiple}]}})(Jx),Qx=({ownerState:e,theme:t})=>jp({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Yx.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),eS=Uh("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${af(n.variant)}`],n.open&&t.iconOpen]}})(Qx),tS=o.forwardRef((function(n,r){const{className:a,disabled:i,error:l,IconComponent:s,inputRef:c,variant:u="standard"}=n,d=Dp(n,Xx),p=jp({},n,{disabled:i,variant:u,error:l}),f=(e=>{const{classes:t,variant:n,disabled:o,multiple:r,open:a,error:i}=e;return yg({select:["select",n,o&&"disabled",r&&"multiple",i&&"error"],icon:["icon",`icon${af(n)}`,a&&"iconOpen",o&&"disabled"]},Kx,t)})(p);return t(o.Fragment,{children:[e(Zx,jp({ownerState:p,className:mm(f.select,a),disabled:i,ref:c||r},d)),n.multiple?null:e(eS,{as:s,ownerState:p,className:f.icon})]})}));"production"!==process.env.NODE_ENV&&(tS.propTypes={children:mi.node,classes:mi.object,className:mi.string,disabled:mi.bool,error:mi.bool,IconComponent:mi.elementType.isRequired,inputRef:_m,multiple:mi.bool,name:mi.string,onChange:mi.func,value:mi.any,variant:mi.oneOf(["standard","outlined","filled"])});var nS,oS=tS;const rS=["children","classes","className","label","notched"],aS=Uh("fieldset",{shouldForwardProp:Gh})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),iS=Uh("legend",{shouldForwardProp:Gh})((({ownerState:e,theme:t})=>jp({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&jp({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));function lS(t){const{className:n,label:o,notched:r}=t,a=Dp(t,rS),i=null!=o&&""!==o,l=jp({},t,{notched:r,withLabel:i});return e(aS,jp({"aria-hidden":!0,className:n,ownerState:l},a,{children:e(iS,{ownerState:l,children:i?e("span",{children:o}):nS||(nS=e("span",{className:"notranslate",children:""}))})}))}"production"!==process.env.NODE_ENV&&(lS.propTypes={children:mi.node,classes:mi.object,className:mi.string,label:mi.node,notched:mi.bool.isRequired,style:mi.object});const sS=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],cS=Uh(Iy,{shouldForwardProp:e=>Gh(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ty})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return jp({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Vy.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Vy.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Vy.focused} .${Vy.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Vy.error} .${Vy.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Vy.disabled} .${Vy.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&jp({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),uS=Uh(lS,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),dS=Uh(My,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ny})((({theme:e,ownerState:t})=>jp({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),pS=o.forwardRef((function(n,r){var a,i,l,s,c;const u=fh({props:n,name:"MuiOutlinedInput"}),{components:d={},fullWidth:p=!1,inputComponent:f="input",label:m,multiline:g=!1,notched:h,slots:b={},type:v="text"}=u,y=Dp(u,sS),w=(e=>{const{classes:t}=e;return jp({},t,yg({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Dy,t))})(u),x=Sy(),S=yy({props:u,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),O=jp({},u,{color:S.color||"primary",disabled:S.disabled,error:S.error,focused:S.focused,formControl:x,fullWidth:p,hiddenLabel:S.hiddenLabel,multiline:g,size:S.size,type:v}),C=null!=(a=null!=(i=b.root)?i:d.Root)?a:cS,k=null!=(l=null!=(s=b.input)?s:d.Input)?l:dS;return e(zy,jp({slots:{root:C,input:k},renderSuffix:n=>e(uS,{ownerState:O,className:w.notchedOutline,label:null!=m&&""!==m&&S.required?c||(c=t(o.Fragment,{children:[m," ","*"]})):m,notched:void 0!==h?h:Boolean(n.startAdornment||n.filled||n.focused)}),fullWidth:p,inputComponent:f,multiline:g,ref:r,type:v},y,{classes:jp({},w,{notchedOutline:null})}))}));"production"!==process.env.NODE_ENV&&(pS.propTypes={autoComplete:mi.string,autoFocus:mi.bool,classes:mi.object,color:mi.oneOfType([mi.oneOf(["primary","secondary"]),mi.string]),components:mi.shape({Input:mi.elementType,Root:mi.elementType}),defaultValue:mi.any,disabled:mi.bool,endAdornment:mi.node,error:mi.bool,fullWidth:mi.bool,id:mi.string,inputComponent:mi.elementType,inputProps:mi.object,inputRef:_m,label:mi.node,margin:mi.oneOf(["dense","none"]),maxRows:mi.oneOfType([mi.number,mi.string]),minRows:mi.oneOfType([mi.number,mi.string]),multiline:mi.bool,name:mi.string,notched:mi.bool,onChange:mi.func,placeholder:mi.string,readOnly:mi.bool,required:mi.bool,rows:mi.oneOfType([mi.number,mi.string]),slots:mi.shape({input:mi.elementType,root:mi.elementType}),startAdornment:mi.node,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),type:mi.string,value:mi.any}),pS.muiName="Input";var fS=pS;function mS(e){return hm("MuiSelect",e)}const gS=bm("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var hS;const bS=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],vS=Uh("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${gS.select}`]:t.select},{[`&.${gS.select}`]:t[n.variant]},{[`&.${gS.error}`]:t.error},{[`&.${gS.multiple}`]:t.multiple}]}})(Jx,{[`&.${gS.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),yS=Uh("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${af(n.variant)}`],n.open&&t.iconOpen]}})(Qx),wS=Uh("input",{shouldForwardProp:e=>qh(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function xS(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function SS(e){return null==e||"string"==typeof e&&!e.trim()}const OS=o.forwardRef((function(n,r){var a;const{"aria-describedby":i,"aria-label":l,autoFocus:s,autoWidth:c,children:u,className:d,defaultOpen:p,defaultValue:f,disabled:m,displayEmpty:g,error:h=!1,IconComponent:b,inputRef:v,labelId:y,MenuProps:w={},multiple:x,name:S,onBlur:O,onChange:C,onClose:k,onFocus:E,onOpen:R,open:P,readOnly:T,renderValue:N,SelectDisplayProps:I={},tabIndex:M,value:$,variant:A="standard"}=n,z=Dp(n,bS),[F,j]=Jm({controlled:$,default:f,name:"Select"}),[D,V]=Jm({controlled:P,default:p,name:"Select"}),L=o.useRef(null),_=o.useRef(null),[B,H]=o.useState(null),{current:W}=o.useRef(null!=P),[q,G]=o.useState(),U=Qm(r,v),K=o.useCallback((e=>{_.current=e,e&&H(e)}),[]),Y=null==B?void 0:B.parentNode;o.useImperativeHandle(U,(()=>({focus:()=>{_.current.focus()},node:L.current,value:F})),[F]),o.useEffect((()=>{p&&D&&B&&!W&&(G(c?null:Y.clientWidth),_.current.focus())}),[B,c]),o.useEffect((()=>{s&&_.current.focus()}),[s]),o.useEffect((()=>{if(!y)return;const e=qm(_.current).getElementById(y);if(e){const t=()=>{getSelection().isCollapsed&&_.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[y]);const X=(e,t)=>{e?R&&R(t):k&&k(t),W||(G(c?null:Y.clientWidth),V(e))},J=o.Children.toArray(u),Z=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(x){n=Array.isArray(F)?F.slice():[];const t=F.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),F!==n&&(j(n),C)){const o=t.nativeEvent||t,r=new o.constructor(o.type,o);Object.defineProperty(r,"target",{writable:!0,value:{value:n,name:S}}),C(r,e)}x||X(!1,t)}},Q=null!==B&&D;let ee,te;delete z["aria-invalid"];const ne=[];let oe=!1,re=!1;(ky({value:F})||g)&&(N?ee=N(F):oe=!0);const ae=J.map((e=>{if(!o.isValidElement(e))return null;let t;if("production"!==process.env.NODE_ENV&&ab.isFragment(e)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),x){if(!Array.isArray(F))throw new Error("production"!==process.env.NODE_ENV?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":Ap(2));t=F.some((t=>xS(t,e.props.value))),t&&oe&&ne.push(e.props.children)}else t=xS(F,e.props.value),t&&oe&&(te=e.props.children);return t&&(re=!0),o.cloneElement(e,{"aria-selected":t?"true":"false",onClick:Z(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));"production"!==process.env.NODE_ENV&&o.useEffect((()=>{if(!re&&!x&&""!==F){const e=J.map((e=>e.props.value));console.warn([`MUI: You have provided an out-of-range value \`${F}\` for the select ${S?`(name="${S}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${e.filter((e=>null!=e)).map((e=>`\`${e}\``)).join(", ")||'""'}.`].join("\n"))}}),[re,J,x,S,F]),oe&&(ee=x?0===ne.length?null:ne.reduce(((e,t,n)=>(e.push(t),n<ne.length-1&&e.push(", "),e)),[]):te);let ie,le=q;!c&&W&&B&&(le=Y.clientWidth),ie=void 0!==M?M:m?null:0;const se=I.id||(S?`mui-component-select-${S}`:void 0),ce=jp({},n,{variant:A,value:F,open:Q,error:h}),ue=(e=>{const{classes:t,variant:n,disabled:o,multiple:r,open:a,error:i}=e;return yg({select:["select",n,o&&"disabled",r&&"multiple",i&&"error"],icon:["icon",`icon${af(n)}`,a&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]},mS,t)})(ce),de=jp({},w.PaperProps,null==(a=w.slotProps)?void 0:a.paper),pe=Xm();return t(o.Fragment,{children:[e(vS,jp({ref:K,tabIndex:ie,role:"combobox","aria-controls":pe,"aria-disabled":m?"true":void 0,"aria-expanded":Q?"true":"false","aria-haspopup":"listbox","aria-label":l,"aria-labelledby":[y,se].filter(Boolean).join(" ")||void 0,"aria-describedby":i,onKeyDown:e=>{if(!T){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),X(!0,e))}},onMouseDown:m||T?null:e=>{0===e.button&&(e.preventDefault(),_.current.focus(),X(!0,e))},onBlur:e=>{!Q&&O&&(Object.defineProperty(e,"target",{writable:!0,value:{value:F,name:S}}),O(e))},onFocus:E},I,{ownerState:ce,className:mm(I.className,ue.select,d),id:se,children:SS(ee)?hS||(hS=e("span",{className:"notranslate",children:""})):ee})),e(wS,jp({"aria-invalid":h,value:Array.isArray(F)?F.join(","):F,name:S,ref:L,"aria-hidden":!0,onChange:e=>{const t=J.find((t=>t.props.value===e.target.value));void 0!==t&&(j(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:m,className:ue.nativeInput,autoFocus:s,ownerState:ce},z)),e(yS,{as:b,className:ue.icon,ownerState:ce}),e(Ux,jp({id:`menu-${S||""}`,anchorEl:Y,open:Q,onClose:e=>{X(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},w,{MenuListProps:jp({"aria-labelledby":y,role:"listbox","aria-multiselectable":x?"true":void 0,disableListWrap:!0,id:pe},w.MenuListProps),slotProps:jp({},w.slotProps,{paper:jp({},de,{style:jp({minWidth:le},null!=de?de.style:null)})}),children:ae}))]})}));"production"!==process.env.NODE_ENV&&(OS.propTypes={"aria-describedby":mi.string,"aria-label":mi.string,autoFocus:mi.bool,autoWidth:mi.bool,children:mi.node,classes:mi.object,className:mi.string,defaultOpen:mi.bool,defaultValue:mi.any,disabled:mi.bool,displayEmpty:mi.bool,error:mi.bool,IconComponent:mi.elementType.isRequired,inputRef:_m,labelId:mi.string,MenuProps:mi.object,multiple:mi.bool,name:mi.string,onBlur:mi.func,onChange:mi.func,onClose:mi.func,onFocus:mi.func,onOpen:mi.func,open:mi.bool,readOnly:mi.bool,renderValue:mi.func,SelectDisplayProps:mi.object,tabIndex:mi.oneOfType([mi.number,mi.string]),type:mi.any,value:mi.any,variant:mi.oneOf(["standard","outlined","filled"])});var CS=OS;const kS=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],ES=["root"],RS={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Gh(e)&&"variant"!==e,slot:"Root"},PS=Uh(ix,RS)(""),TS=Uh(fS,RS)(""),NS=Uh(Nw,RS)(""),IS=o.forwardRef((function(t,n){const r=fh({name:"MuiSelect",props:t}),{autoWidth:a=!1,children:i,classes:l={},className:s,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:d=By,id:p,input:f,inputProps:m,label:g,labelId:h,MenuProps:b,multiple:v=!1,native:y=!1,onClose:w,onOpen:x,open:S,renderValue:O,SelectDisplayProps:C,variant:k="outlined"}=r,E=Dp(r,kS),R=y?oS:CS,P=yy({props:r,muiFormControl:Sy(),states:["variant","error"]}),T=P.variant||k,N=jp({},r,{variant:T,classes:l}),I=(e=>{const{classes:t}=e;return t})(N),M=Dp(I,ES),$=f||{standard:e(PS,{ownerState:N}),outlined:e(TS,{label:g,ownerState:N}),filled:e(NS,{ownerState:N})}[T],A=Qm(n,$.ref);return e(o.Fragment,{children:o.cloneElement($,jp({inputComponent:R,inputProps:jp({children:i,error:P.error,IconComponent:d,variant:T,type:void 0,multiple:v},y?{id:p}:{autoWidth:a,defaultOpen:c,displayEmpty:u,labelId:h,MenuProps:b,onClose:w,onOpen:x,open:S,renderValue:O,SelectDisplayProps:jp({id:p},C)},m,{classes:m?Kp(M,m.classes):M},f?f.props.inputProps:{})},(v&&y||u)&&"outlined"===T?{notched:!0}:{},{ref:A,className:mm($.props.className,s,I.root)},!f&&{variant:T},E))})}));"production"!==process.env.NODE_ENV&&(IS.propTypes={autoWidth:mi.bool,children:mi.node,classes:mi.object,className:mi.string,defaultOpen:mi.bool,defaultValue:mi.any,displayEmpty:mi.bool,IconComponent:mi.elementType,id:mi.string,input:mi.element,inputProps:mi.object,label:mi.node,labelId:mi.string,MenuProps:mi.object,multiple:mi.bool,native:mi.bool,onChange:mi.func,onClose:mi.func,onOpen:mi.func,open:mi.bool,renderValue:mi.func,SelectDisplayProps:mi.object,sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),value:mi.oneOfType([mi.oneOf([""]),mi.any]),variant:mi.oneOf(["filled","outlined","standard"])}),IS.muiName="Select";var MS=IS;function $S(e){return hm("MuiTextField",e)}bm("MuiTextField",["root"]);const AS=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],zS={standard:ix,filled:Nw,outlined:fS},FS=Uh(zw,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jS=o.forwardRef((function(n,o){const r=fh({props:n,name:"MuiTextField"}),{autoComplete:a,autoFocus:i=!1,children:l,className:s,color:c="primary",defaultValue:u,disabled:d=!1,error:p=!1,FormHelperTextProps:f,fullWidth:m=!1,helperText:g,id:h,InputLabelProps:b,inputProps:v,InputProps:y,inputRef:w,label:x,maxRows:S,minRows:O,multiline:C=!1,name:k,onBlur:E,onChange:R,onFocus:P,placeholder:T,required:N=!1,rows:I,select:M=!1,SelectProps:$,type:A,value:z,variant:F="outlined"}=r,j=Dp(r,AS),D=jp({},r,{autoFocus:i,color:c,disabled:d,error:p,fullWidth:m,multiline:C,required:N,select:M,variant:F}),V=(e=>{const{classes:t}=e;return yg({root:["root"]},$S,t)})(D);"production"!==process.env.NODE_ENV&&M&&!l&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const L={};"outlined"===F&&(b&&void 0!==b.shrink&&(L.notched=b.shrink),L.label=x),M&&($&&$.native||(L.id=void 0),L["aria-describedby"]=void 0);const _=Xm(h),B=g&&_?`${_}-helper-text`:void 0,H=x&&_?`${_}-label`:void 0,W=e(zS[F],jp({"aria-describedby":B,autoComplete:a,autoFocus:i,defaultValue:u,fullWidth:m,multiline:C,name:k,rows:I,maxRows:S,minRows:O,type:A,value:z,id:_,inputRef:w,onBlur:E,onChange:R,onFocus:P,placeholder:T,inputProps:v},L,y));return t(FS,jp({className:mm(V.root,s),disabled:d,error:p,fullWidth:m,ref:o,required:N,color:c,variant:F,ownerState:D},j,{children:[null!=x&&""!==x&&e(dx,jp({htmlFor:_,id:H},b,{children:x})),M?e(MS,jp({"aria-describedby":B,id:_,labelId:H,value:z,input:W},$,{children:l})):W,g&&e(Bw,jp({id:B},f,{children:g}))]}))}));"production"!==process.env.NODE_ENV&&(jS.propTypes={autoComplete:mi.string,autoFocus:mi.bool,children:mi.node,classes:mi.object,className:mi.string,color:mi.oneOfType([mi.oneOf(["primary","secondary","error","info","success","warning"]),mi.string]),defaultValue:mi.any,disabled:mi.bool,error:mi.bool,FormHelperTextProps:mi.object,fullWidth:mi.bool,helperText:mi.node,id:mi.string,InputLabelProps:mi.object,inputProps:mi.object,InputProps:mi.object,inputRef:_m,label:mi.node,margin:mi.oneOf(["dense","none","normal"]),maxRows:mi.oneOfType([mi.number,mi.string]),minRows:mi.oneOfType([mi.number,mi.string]),multiline:mi.bool,name:mi.string,onBlur:mi.func,onChange:mi.func,onFocus:mi.func,placeholder:mi.string,required:mi.bool,rows:mi.oneOfType([mi.number,mi.string]),select:mi.bool,SelectProps:mi.object,size:mi.oneOfType([mi.oneOf(["medium","small"]),mi.string]),sx:mi.oneOfType([mi.arrayOf(mi.oneOfType([mi.func,mi.object,mi.bool])),mi.func,mi.object]),type:mi.string,value:mi.any,variant:mi.oneOf(["filled","outlined","standard"])});const DS=bn(jS)`
|
|
1284
|
-
&& .MuiOutlinedInput-root {
|
|
1285
|
-
background-color: var(--color--grey-hover);
|
|
1286
|
-
padding: 0.6rem var(--spacing--medium);
|
|
1287
|
-
border-color: var(--color--grey-line);
|
|
1288
|
-
border-radius: var(--border-radius--medium);
|
|
1289
|
-
& fieldset {
|
|
1290
|
-
top: 0;
|
|
1291
|
-
border-color: var(--color--grey-line);
|
|
1292
|
-
& legend span {
|
|
1293
|
-
display: none;
|
|
1294
|
-
}
|
|
1295
|
-
}
|
|
1296
|
-
&:hover fieldset {
|
|
1297
|
-
border-color: var(--color--grey-light);
|
|
1298
|
-
}
|
|
1299
|
-
&.Mui-focused fieldset {
|
|
1300
|
-
border-color: var(--color--primary);
|
|
1301
|
-
}
|
|
1302
|
-
& .MuiInputBase-input {
|
|
1303
|
-
padding: 0;
|
|
1304
|
-
}
|
|
1305
|
-
}
|
|
1306
|
-
& .MuiInputLabel-root {
|
|
1307
|
-
color: var(--color--grey);
|
|
1308
|
-
font-weight: var(--font-weight--bold);
|
|
1309
|
-
font-size: var(--font-size--small);
|
|
1310
|
-
position: relative;
|
|
1311
|
-
margin-bottom: 0.2rem;
|
|
1312
|
-
top: 0;
|
|
1313
|
-
left: 0;
|
|
1314
|
-
background-color: transparent;
|
|
1315
|
-
padding: 0;
|
|
1316
|
-
transform: translate(0, 0) scale(1);
|
|
1317
|
-
&.MuiInputLabel-shrink {
|
|
1318
|
-
color: var(--color--grey);
|
|
1319
|
-
}
|
|
1320
|
-
}
|
|
1321
|
-
`;function VS({changeNotification:t,defaultValue:n,id:o,label:r,onChange:a,options:i,...l}){return e(uw,{...l,options:i,renderInput:t=>e(DS,{...t,id:o,variant:"outlined",fullWidth:!0,label:r,placeholder:"Select..."}),onChange:(e,n,o)=>{a&&a(e,n,o),t&&t()}})}const LS=bn.ul`
|
|
1322
|
-
margin: 0;
|
|
1323
|
-
list-style: none;
|
|
1324
|
-
|
|
1325
|
-
li {
|
|
1326
|
-
padding: var(--spacing--medium);
|
|
1327
|
-
|
|
1328
|
-
&:not(:last-child) {
|
|
1329
|
-
border-bottom: 1px solid var(--color--grey-light);
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
`,_S=bn.button`
|
|
1333
|
-
float: right;
|
|
1334
|
-
border: none;
|
|
1335
|
-
background: none;
|
|
1336
|
-
color: var(--color--grey-light);
|
|
1337
|
-
cursor: pointer;
|
|
1338
|
-
|
|
1339
|
-
&:hover {
|
|
1340
|
-
color: var(--color--grey);
|
|
1341
|
-
}
|
|
1342
|
-
`;function BS({changeNotification:o,defaultValue:a,id:i,inline:l,label:c,onChange:u,options:d,...p}){const[f,m]=r.useState((()=>(a||[]).map((e=>{const t=d.find((t=>t.value.toString()===e.value.toString()));return t?{label:t.label,value:t.value}:null})).filter((e=>null!==e)))),[g,h]=r.useState("");return t(n,{children:[e(uw,{multiple:!0,fullWidth:!0,options:d,value:f,onChange:(e,t,n)=>{m(t),u&&u(e,t,n),o&&o()},inputValue:g,onInputChange:(e,t)=>{h(t)},...p,renderInput:t=>e(DS,{...t,id:i,fullWidth:!0,placeholder:"Select...",label:c}),renderTags:(e,t)=>l?e.map(((e,n)=>s(vy,{...t({index:n}),size:"small",label:e.label,key:e.label}))):null}),!l&&e(LS,{children:Array.isArray(f)&&f.length>0?f.map((({label:n,value:r})=>t("li",{children:[n,e(_S,{type:"button",onClick:()=>{m(f.filter((e=>e.value!==r))),o&&o()},children:e(Gi,{name:["fas","xmark"]})})]},r))):null})]})}function HS(e){const[t,n]=u(e);return{value:t,toggle:b((()=>n((e=>!e))),[]),setTrue:b((()=>n(!0)),[]),setFalse:b((()=>n(!1)),[])}}export{Ji as Accordion,Ju as AppBar,VS as Autocomplete,BS as AutocompleteSelectMultiple,nl as Badge,ad as Breadcrumb,wl as Button,ol as Divider,Wu as DropDownMenu,Sn as Heading,Gi as Icon,td as Layout,sl as LoadingSpinner,Lu as Logo,kp as Modal,$u as ProgressBar,rl as ProgressCircle,Cl as ReadMore,El as RelativeTime,mc as StatusIcon,hu as Table,Cu as Tabs,Tu as TextField,Du as ToastMessages,ic as Tooltip,w as theme,HS as useToggle};
|
|
1229
|
+
`;let sw=1;const cw=f((({children:n,side:r,size:a="md",open:l=!1,closeBlocked:s,onClose:c=(()=>{}),onCloseCompleted:u=(()=>{}),closeRequested:p=!1,...f},m)=>{const g=i(null);g.current||(g.current=`overlay-${sw}`,sw+=1);const h=i(null),[v,b]=o.useState(!1);o.useEffect((()=>{if(v){const e=setTimeout(u,200);return()=>{clearTimeout(e)}}return()=>{}})),d((()=>{p&&b(!0)}),[p]),g.current||(g.current=`modal-${sw}`,sw+=1),d((()=>{document.body.style.overflow=l?"hidden":"auto"}),[l]),d((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),c())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[c]);return e(By,{open:l&&!v,anchor:r,className:`${r} ${l?"open":"closing"}`,size:a,...f,children:e(rw,{children:t(nw,{ref:h,children:[s&&t(iw,{role:"alert","aria-live":"assertive",children:[e(_i,{name:["fas","exclamation-triangle"]}),t("p",{children:[e("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),e(lw,{ref:m,children:e(Yy,{children:n})})]})})})}));function uw(e){const[t,n]=u(e);return{value:t,toggle:m((()=>n((e=>!e))),[]),setTrue:m((()=>n(!0)),[]),setFalse:m((()=>n(!1)),[])}}export{ji as Accordion,Vu as AppBar,Hy as Autocomplete,qy as AutocompleteSelectMultiple,qi as Badge,Yu as Breadcrumb,ul as Button,Ui as Divider,cw as Drawer,Au as DropDownMenu,pn as Heading,_i as Icon,Uy as Input,Wu as Layout,Qi as LoadingSpinner,Pu as Logo,Su as ProgressBar,Yi as ProgressCircle,ml as ReadMore,hl as RelativeTime,rc as StatusIcon,au as Table,fu as Tabs,bu as TextBlock,Iu as ToastMessages,Ks as Tooltip,h as theme,uw as useToggle};
|
|
1343
1230
|
//# sourceMappingURL=index.js.map
|