@perses-dev/gauge-chart-plugin 0.9.1 → 0.11.0
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/__mf/css/async/263.d3010b86.css +1 -0
- package/__mf/css/async/341.d3010b86.css +1 -0
- package/__mf/css/async/759.d3010b86.css +1 -0
- package/__mf/js/{GaugeChart.0b56a463.js → GaugeChart.83b324ad.js} +3 -3
- package/__mf/js/async/177.651d64b7.js +111 -0
- package/__mf/js/async/{238.16f121d4.js → 238.d2cb634f.js} +1 -1
- package/__mf/js/async/{116.577ccfb6.js → 292.0f2f97fb.js} +3 -3
- package/__mf/js/async/301.7224e983.js +1 -0
- package/__mf/js/async/656.e85be6c5.js +1 -0
- package/__mf/js/async/711.9605ad11.js +22 -0
- package/__mf/js/async/{308.b768a783.js → 740.8d6cccb6.js} +1 -1
- package/__mf/js/async/{75.b72fd8c7.js → 75.9648e446.js} +1 -1
- package/__mf/js/async/85.9f00bd55.js +7 -0
- package/__mf/js/async/{292.149a1005.js → 999.2b4fe1ef.js} +1 -1
- package/__mf/js/async/__federation_expose_GaugeChart.0894679a.js +1 -0
- package/__mf/js/{main.6a2260a5.js → main.674f4b65.js} +3 -3
- package/lib/GaugeChartBase.d.ts +3 -5
- package/lib/GaugeChartBase.d.ts.map +1 -1
- package/lib/GaugeChartBase.js +50 -74
- package/lib/GaugeChartBase.js.map +1 -1
- package/lib/GaugeChartPanel.d.ts.map +1 -1
- package/lib/GaugeChartPanel.js +58 -10
- package/lib/GaugeChartPanel.js.map +1 -1
- package/lib/cjs/GaugeChartBase.js +52 -81
- package/lib/cjs/GaugeChartPanel.js +57 -9
- package/mf-manifest.json +19 -19
- package/mf-stats.json +19 -19
- package/package.json +5 -5
- package/__mf/css/async/263.683bd428.css +0 -1
- package/__mf/css/async/341.683bd428.css +0 -1
- package/__mf/css/async/759.683bd428.css +0 -1
- package/__mf/js/async/109.38fe9d18.js +0 -73
- package/__mf/js/async/119.be08efba.js +0 -111
- package/__mf/js/async/288.6d46d8e7.js +0 -7
- package/__mf/js/async/298.bad26699.js +0 -1
- package/__mf/js/async/740.87850b80.js +0 -1
- package/__mf/js/async/__federation_expose_GaugeChart.4c068ee6.js +0 -1
- /package/__mf/js/async/{119.be08efba.js.LICENSE.txt → 177.651d64b7.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{109.38fe9d18.js.LICENSE.txt → 711.9605ad11.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{288.6d46d8e7.js.LICENSE.txt → 85.9f00bd55.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/*! For license information please see 177.651d64b7.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.chunk_GaugeChart=self.chunk_GaugeChart||[]).push([["177"],{19090:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),i=r(90496),o=r(82267),a=r(12709),l=r(51751),s=r(16351),u=r(69761),c=r(44124),d=r(6749);function p(e){return(0,d.ZP)("MuiBackdrop",e)}(0,c.Z)("MuiBackdrop",["root","invisible"]);var f=r(24246);let m=(0,a.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),h=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiBackdrop"}),{children:n,className:a,component:c="div",invisible:d=!1,open:h,components:g={},componentsProps:v={},slotProps:b={},slots:y={},TransitionComponent:x,transitionDuration:Z,...w}=r,S={...r,component:c,invisible:d},k=(e=>{let{classes:t,invisible:r}=e;return(0,o.Z)({root:["root",r&&"invisible"]},p,t)})(S),E={slots:{transition:x,root:g.Root,...y},slotProps:{...v,...b}},[P,R]=(0,s.Z)("root",{elementType:m,externalForwardedProps:E,className:(0,i.Z)(k.root,a),ownerState:S}),[C,$]=(0,s.Z)("transition",{elementType:u.Z,externalForwardedProps:E,ownerState:S});return(0,f.jsx)(C,{in:h,timeout:Z,...w,...$,children:(0,f.jsx)(P,{"aria-hidden":!0,...R,classes:k,ref:t,children:n})})})},36372:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),i=r(90496),o=r(89966),a=r(11652),l=r(93772),s=r(38971),u=r(24246),c=r(70544),d=r(28730),p=r(92994);let f=(0,r(44124).Z)("MuiBox",["root"]),m=(0,d.Z)(),h=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:c="MuiBox-root",generateClassName:d}=e,p=(0,o.ZP)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(a.Z);return n.forwardRef(function(e,n){let o=(0,s.Z)(r),{className:a,component:f="div",...m}=(0,l.Z)(e);return(0,u.jsx)(p,{as:f,ref:n,className:(0,i.Z)(a,d?d(c):c),theme:t&&o[t]||o,...m})})}({themeId:p.Z,defaultTheme:m,defaultClassName:f.root,generateClassName:c.Z.generate})},14544:function(e,t,r){r.d(t,{Z:()=>M});var n=r(54538),i=r(90496),o=r(82267),a=r(74111),l=r(12709),s=r(51751),u=r(51183),c=r(67151),d=r(99565);class p{static create(){return new p}static use(){let e=(0,d.Z)(p.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}var f=r(16317),m=r(47126),h=r(72116),g=r(24246),v=r(44124);let b=(0,v.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),y=(0,h.keyframes)`
|
|
3
|
+
0% {
|
|
4
|
+
transform: scale(0);
|
|
5
|
+
opacity: 0.1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
100% {
|
|
9
|
+
transform: scale(1);
|
|
10
|
+
opacity: 0.3;
|
|
11
|
+
}
|
|
12
|
+
`,x=(0,h.keyframes)`
|
|
13
|
+
0% {
|
|
14
|
+
opacity: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
100% {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
20
|
+
`,Z=(0,h.keyframes)`
|
|
21
|
+
0% {
|
|
22
|
+
transform: scale(1);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
50% {
|
|
26
|
+
transform: scale(0.92);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
100% {
|
|
30
|
+
transform: scale(1);
|
|
31
|
+
}
|
|
32
|
+
`,w=(0,l.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),S=(0,l.ZP)(function(e){let{className:t,classes:r,pulsate:o=!1,rippleX:a,rippleY:l,rippleSize:s,in:u,onExited:c,timeout:d}=e,[p,f]=n.useState(!1),m=(0,i.Z)(t,r.ripple,r.rippleVisible,o&&r.ripplePulsate),h=(0,i.Z)(r.child,p&&r.childLeaving,o&&r.childPulsate);return u||p||f(!0),n.useEffect(()=>{if(!u&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,u,d]),(0,g.jsx)("span",{className:m,style:{width:s,height:s,top:-(s/2)+l,left:-(s/2)+a},children:(0,g.jsx)("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
33
|
+
opacity: 0;
|
|
34
|
+
position: absolute;
|
|
35
|
+
|
|
36
|
+
&.${b.rippleVisible} {
|
|
37
|
+
opacity: 0.3;
|
|
38
|
+
transform: scale(1);
|
|
39
|
+
animation-name: ${y};
|
|
40
|
+
animation-duration: ${550}ms;
|
|
41
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.${b.ripplePulsate} {
|
|
45
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& .${b.child} {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
display: block;
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
background-color: currentColor;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .${b.childLeaving} {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
animation-name: ${x};
|
|
60
|
+
animation-duration: ${550}ms;
|
|
61
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& .${b.childPulsate} {
|
|
65
|
+
position: absolute;
|
|
66
|
+
/* @noflip */
|
|
67
|
+
left: 0px;
|
|
68
|
+
top: 0;
|
|
69
|
+
animation-name: ${Z};
|
|
70
|
+
animation-duration: 2500ms;
|
|
71
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
72
|
+
animation-iteration-count: infinite;
|
|
73
|
+
animation-delay: 200ms;
|
|
74
|
+
}
|
|
75
|
+
`,k=n.forwardRef(function(e,t){let{center:r=!1,classes:o={},className:a,...l}=(0,s.i)({props:e,name:"MuiTouchRipple"}),[u,c]=n.useState([]),d=n.useRef(0),p=n.useRef(null);n.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);let h=n.useRef(!1),v=(0,m.Z)(),y=n.useRef(null),x=n.useRef(null),Z=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:l}=e;c(e=>[...e,(0,g.jsx)(S,{classes:{ripple:(0,i.Z)(o.ripple,b.ripple),rippleVisible:(0,i.Z)(o.rippleVisible,b.rippleVisible),ripplePulsate:(0,i.Z)(o.ripplePulsate,b.ripplePulsate),child:(0,i.Z)(o.child,b.child),childLeaving:(0,i.Z)(o.childLeaving,b.childLeaving),childPulsate:(0,i.Z)(o.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},d.current)]),d.current+=1,p.current=l},[o]),k=n.useCallback((e={},t={},n=()=>{})=>{let i,o,a,{pulsate:l=!1,center:s=r||t.pulsate,fakeElement:u=!1}=t;if(e?.type==="mousedown"&&h.current){h.current=!1;return}e?.type==="touchstart"&&(h.current=!0);let c=u?null:x.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!s&&void 0!==e&&(0!==e.clientX||0!==e.clientY)&&(e.clientX||e.touches)){let{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(t-d.left),o=Math.round(r-d.top)}else i=Math.round(d.width/2),o=Math.round(d.height/2);s?(a=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(a+=1):a=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-i),i)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2)**2),e?.touches?null===y.current&&(y.current=()=>{Z({pulsate:l,rippleX:i,rippleY:o,rippleSize:a,cb:n})},v.start(80,()=>{y.current&&(y.current(),y.current=null)})):Z({pulsate:l,rippleX:i,rippleY:o,rippleSize:a,cb:n})},[r,Z,v]),E=n.useCallback(()=>{k({},{pulsate:!0})},[k]),P=n.useCallback((e,t)=>{if(v.clear(),e?.type==="touchend"&&y.current){y.current(),y.current=null,v.start(0,()=>{P(e,t)});return}y.current=null,c(e=>e.length>0?e.slice(1):e),p.current=t},[v]);return n.useImperativeHandle(t,()=>({pulsate:E,start:k,stop:P}),[E,k,P]),(0,g.jsx)(w,{className:(0,i.Z)(b.root,o.root,a),ref:x,...l,children:(0,g.jsx)(f.Z,{component:null,exit:!0,children:u})})});var E=r(6749);function P(e){return(0,E.ZP)("MuiButtonBase",e)}let R=(0,v.Z)("MuiButtonBase",["root","disabled","focusVisible"]),C=(0,l.ZP)("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"},[`&.${R.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function $(e,t,r,n=!1){return(0,c.Z)(i=>(r&&r(i),n||e[t](i),!0))}let M=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:d=!1,children:f,className:m,component:h="button",disabled:v=!1,disableRipple:b=!1,disableTouchRipple:y=!1,focusRipple:x=!1,focusVisibleClassName:Z,LinkComponent:w="a",onBlur:S,onClick:E,onContextMenu:R,onDragLeave:M,onFocus:O,onFocusVisible:N,onKeyDown:T,onKeyUp:B,onMouseDown:F,onMouseLeave:j,onMouseUp:I,onTouchEnd:D,onTouchMove:A,onTouchStart:L,tabIndex:z=0,TouchRippleProps:_,touchRippleRef:W,type:U,...H}=r,q=n.useRef(null),V=p.use(),G=(0,u.Z)(V.ref,W),[K,X]=n.useState(!1);v&&K&&X(!1),n.useImperativeHandle(l,()=>({focusVisible:()=>{X(!0),q.current.focus()}}),[]);let Y=V.shouldMount&&!b&&!v;n.useEffect(()=>{K&&x&&!b&&V.pulsate()},[b,x,K,V]);let J=$(V,"start",F,y),Q=$(V,"stop",R,y),ee=$(V,"stop",M,y),et=$(V,"stop",I,y),er=$(V,"stop",e=>{K&&e.preventDefault(),j&&j(e)},y),en=$(V,"start",L,y),ei=$(V,"stop",D,y),eo=$(V,"stop",A,y),ea=$(V,"stop",e=>{(0,a.Z)(e.target)||X(!1),S&&S(e)},!1),el=(0,c.Z)(e=>{q.current||(q.current=e.currentTarget),(0,a.Z)(e.target)&&(X(!0),N&&N(e)),O&&O(e)}),es=()=>{let e=q.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},eu=(0,c.Z)(e=>{x&&!e.repeat&&K&&" "===e.key&&V.stop(e,()=>{V.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!v&&(e.preventDefault(),E&&E(e))}),ec=(0,c.Z)(e=>{x&&" "===e.key&&K&&!e.defaultPrevented&&V.stop(e,()=>{V.pulsate(e)}),B&&B(e),E&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&E(e)}),ed=h;"button"===ed&&(H.href||H.to)&&(ed=w);let ep={};"button"===ed?(ep.type=void 0===U?"button":U,ep.disabled=v):(H.href||H.to||(ep.role="button"),v&&(ep["aria-disabled"]=v));let ef=(0,u.Z)(t,q),em={...r,centerRipple:d,component:h,disabled:v,disableRipple:b,disableTouchRipple:y,focusRipple:x,tabIndex:z,focusVisible:K},eh=(e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,a=(0,o.Z)({root:["root",t&&"disabled",r&&"focusVisible"]},P,i);return r&&n&&(a.root+=` ${n}`),a})(em);return(0,g.jsxs)(C,{as:ed,className:(0,i.Z)(eh.root,m),ownerState:em,onBlur:ea,onClick:E,onContextMenu:Q,onFocus:el,onKeyDown:eu,onKeyUp:ec,onMouseDown:J,onMouseLeave:er,onMouseUp:et,onDragLeave:ee,onTouchEnd:ei,onTouchMove:eo,onTouchStart:en,ref:ef,tabIndex:v?-1:z,type:U,...ep,...H,children:[f,Y?(0,g.jsx)(k,{ref:G,center:d,..._}):null]})})},69761:function(e,t,r){r.d(t,{Z:()=>d});var n=r(54538),i=r(41825),o=r(94680),a=r(94776),l=r(42777),s=r(51183),u=r(24246);let c={entering:{opacity:1},entered:{opacity:1}},d=n.forwardRef(function(e,t){let r=(0,a.Z)(),d={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:p,appear:f=!0,children:m,easing:h,in:g,onEnter:v,onEntered:b,onEntering:y,onExit:x,onExited:Z,onExiting:w,style:S,timeout:k=d,TransitionComponent:E=i.ZP,...P}=e,R=n.useRef(null),C=(0,s.Z)(R,(0,o.Z)(m),t),$=e=>t=>{if(e){let r=R.current;void 0===t?e(r):e(r,t)}},M=$(y),O=$((e,t)=>{(0,l.n)(e);let n=(0,l.C)({style:S,timeout:k,easing:h},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),v&&v(e,t)}),N=$(b),T=$(w),B=$(e=>{let t=(0,l.C)({style:S,timeout:k,easing:h},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),x&&x(e)}),F=$(Z);return(0,u.jsx)(E,{appear:f,in:g,nodeRef:R,onEnter:O,onEntered:N,onEntering:M,onExit:B,onExited:F,onExiting:T,addEndListener:e=>{p&&p(R.current,e)},timeout:k,...P,children:(e,{ownerState:t,...r})=>n.cloneElement(m,{style:{opacity:0,visibility:"exited"!==e||g?void 0:"hidden",...c[e],...S,...m.props.style},ref:C,...r})})})},90222:function(e,t,r){r.d(t,{Z:()=>b});var n=r(54538),i=r(61170),o=r(82267),a=r(55879),l=r(73037),s=r(12709),u=r(82319),c=r(90433),d=r(51751),p=r(6499),f=r(51640),m=r(24246);let h=(0,s.ZP)(a.Ej,{shouldForwardProp:e=>(0,l.Z)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...(0,a.Gx)(e,t),!r.disableUnderline&&t.underline]}})((0,u.Z)(({theme:e})=>{let t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,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:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${p.Z.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${p.Z.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{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"},[`&.${p.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.Z.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})`:t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,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(.${p.Z.disabled}, .${p.Z.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${p.Z.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,c.Z)()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),g=(0,s.ZP)(a.ni,{name:"MuiFilledInput",slot:"Input",overridesResolver:a._o})((0,u.Z)(({theme:e})=>({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"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),v=n.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:l={},componentsProps:s,fullWidth:u=!1,hiddenLabel:c,inputComponent:v="input",multiline:b=!1,slotProps:y,slots:x={},type:Z="text",...w}=r,S={...r,disableUnderline:n,fullWidth:u,inputComponent:v,multiline:b,type:Z},k=(e=>{let{classes:t,disableUnderline:r,startAdornment:n,endAdornment:i,size:a,hiddenLabel:l,multiline:s}=e,u={root:["root",!r&&"underline",n&&"adornedStart",i&&"adornedEnd","small"===a&&`size${(0,f.Z)(a)}`,l&&"hiddenLabel",s&&"multiline"],input:["input"]},c=(0,o.Z)(u,p._,t);return{...t,...c}})(r),E={root:{ownerState:S},input:{ownerState:S}},P=y??s?(0,i.Z)(E,y??s):E,R=x.root??l.Root??h,C=x.input??l.Input??g;return(0,m.jsx)(a.ZP,{slots:{root:R,input:C},slotProps:P,fullWidth:u,inputComponent:v,multiline:b,ref:t,type:Z,...w,classes:k})});v.muiName="Input";let b=v},6499:function(e,t,r){r.d(t,{Z:()=>a,_:()=>o});var n=r(44124),i=r(6749);function o(e){return(0,i.ZP)("MuiFilledInput",e)}let a={...r(3597).Z,...(0,n.Z)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])}},90192:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),i=r(90496),o=r(82267),a=r(12709),l=r(51751),s=r(65021),u=r(51640),c=r(70777),d=r(29992),p=r(44124),f=r(6749);function m(e){return(0,f.ZP)("MuiFormControl",e)}(0,p.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var h=r(24246);let g=(0,a.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`margin${(0,u.Z)(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),v=n.forwardRef(function(e,t){let r,a=(0,l.i)({props:e,name:"MuiFormControl"}),{children:p,className:f,color:v="primary",component:b="div",disabled:y=!1,error:x=!1,focused:Z,fullWidth:w=!1,hiddenLabel:S=!1,margin:k="none",required:E=!1,size:P="medium",variant:R="outlined",...C}=a,$={...a,color:v,component:b,disabled:y,error:x,fullWidth:w,hiddenLabel:S,margin:k,required:E,size:P,variant:R},M=(e=>{let{classes:t,margin:r,fullWidth:n}=e,i={root:["root","none"!==r&&`margin${(0,u.Z)(r)}`,n&&"fullWidth"]};return(0,o.Z)(i,m,t)})($),[O,N]=n.useState(()=>{let e=!1;return p&&n.Children.forEach(p,t=>{if(!(0,c.Z)(t,["Input","Select"]))return;let r=(0,c.Z)(t,["Select"])?t.props.input:t;r&&(0,s.B7)(r.props)&&(e=!0)}),e}),[T,B]=n.useState(()=>{let e=!1;return p&&n.Children.forEach(p,t=>{(0,c.Z)(t,["Input","Select"])&&((0,s.vd)(t.props,!0)||(0,s.vd)(t.props.inputProps,!0))&&(e=!0)}),e}),[F,j]=n.useState(!1);y&&F&&j(!1);let I=void 0===Z||y?F:Z;n.useRef(!1);let D=n.useCallback(()=>{B(!0)},[]),A=n.useCallback(()=>{B(!1)},[]),L=n.useMemo(()=>({adornedStart:O,setAdornedStart:N,color:v,disabled:y,error:x,filled:T,focused:I,fullWidth:w,hiddenLabel:S,size:P,onBlur:()=>{j(!1)},onFocus:()=>{j(!0)},onEmpty:A,onFilled:D,registerEffect:r,required:E,variant:R}),[O,v,y,x,T,I,w,S,r,A,D,E,P,R]);return(0,h.jsx)(d.Z.Provider,{value:L,children:(0,h.jsx)(g,{as:b,ownerState:$,className:(0,i.Z)(M.root,f),ref:t,...C,children:p})})})},29992:function(e,t,r){r.d(t,{Z:()=>n});let n=r(54538).createContext(void 0)},33567:function(e,t,r){r.d(t,{Z:()=>n});function n({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}},36683:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538),i=r(29992);function o(){return n.useContext(i.Z)}},32931:function(e,t,r){r.d(t,{Z:()=>y});var n,i=r(54538),o=r(90496),a=r(82267),l=r(33567),s=r(36683),u=r(12709),c=r(82319),d=r(51751),p=r(51640),f=r(44124),m=r(6749);function h(e){return(0,m.ZP)("MuiFormHelperText",e)}let g=(0,f.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var v=r(24246);let b=(0,u.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t[`size${(0,p.Z)(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((0,c.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${g.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),y=i.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiFormHelperText"}),{children:i,className:u,component:c="p",disabled:f,error:m,filled:g,focused:y,margin:x,required:Z,variant:w,...S}=r,k=(0,s.Z)(),E=(0,l.Z)({props:r,muiFormControl:k,states:["variant","size","disabled","error","filled","focused","required"]}),P={...r,component:c,contained:"filled"===E.variant||"outlined"===E.variant,variant:E.variant,size:E.size,disabled:E.disabled,error:E.error,filled:E.filled,focused:E.focused,required:E.required};delete P.ownerState;let R=(e=>{let{classes:t,contained:r,size:n,disabled:i,error:o,filled:l,focused:s,required:u}=e,c={root:["root",i&&"disabled",o&&"error",n&&`size${(0,p.Z)(n)}`,r&&"contained",s&&"focused",l&&"filled",u&&"required"]};return(0,a.Z)(c,h,t)})(P);return(0,v.jsx)(b,{as:c,className:(0,o.Z)(R.root,u),ref:t,...S,ownerState:P,children:" "===i?n||(n=(0,v.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""})):i})})},23626:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),i=r(90496),o=r(82267),a=r(33567),l=r(36683),s=r(51640),u=r(12709),c=r(82319),d=r(90433),p=r(51751),f=r(15143),m=r(24246);let h=(0,u.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})((0,c.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter((0,d.Z)()).map(([t])=>({props:{color:t},style:{[`&.${f.Z.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${f.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),g=(0,u.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,c.Z)(({theme:e})=>({[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),v=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiFormLabel"}),{children:n,className:u,color:c,component:d="label",disabled:v,error:b,filled:y,focused:x,required:Z,...w}=r,S=(0,l.Z)(),k=(0,a.Z)({props:r,muiFormControl:S,states:["color","required","focused","disabled","error","filled"]}),E={...r,color:k.color||"primary",component:d,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required},P=(e=>{let{classes:t,color:r,focused:n,disabled:i,error:a,filled:l,required:u}=e,c={root:["root",`color${(0,s.Z)(r)}`,i&&"disabled",a&&"error",l&&"filled",n&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return(0,o.Z)(c,f.M,t)})(E);return(0,m.jsxs)(h,{as:d,ownerState:E,className:(0,i.Z)(P.root,u),ref:t,...w,children:[n,k.required&&(0,m.jsxs)(g,{ownerState:E,"aria-hidden":!0,className:P.asterisk,children:[" ","*"]})]})})},15143:function(e,t,r){r.d(t,{M:()=>o,Z:()=>a});var n=r(44124),i=r(6749);function o(e){return(0,i.ZP)("MuiFormLabel",e)}let a=(0,n.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},23382:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),i=r(47126),o=r(94680),a=r(41825),l=r(94776),s=r(42777),u=r(51183),c=r(24246);function d(e){return`scale(${e}, ${e**2})`}let p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},f="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),m=n.forwardRef(function(e,t){let{addEndListener:r,appear:m=!0,children:h,easing:g,in:v,onEnter:b,onEntered:y,onEntering:x,onExit:Z,onExited:w,onExiting:S,style:k,timeout:E="auto",TransitionComponent:P=a.ZP,...R}=e,C=(0,i.Z)(),$=n.useRef(),M=(0,l.Z)(),O=n.useRef(null),N=(0,u.Z)(O,(0,o.Z)(h),t),T=e=>t=>{if(e){let r=O.current;void 0===t?e(r):e(r,t)}},B=T(x),F=T((e,t)=>{let r;(0,s.n)(e);let{duration:n,delay:i,easing:o}=(0,s.C)({style:k,timeout:E,easing:g},{mode:"enter"});"auto"===E?$.current=r=M.transitions.getAutoHeightDuration(e.clientHeight):r=n,e.style.transition=[M.transitions.create("opacity",{duration:r,delay:i}),M.transitions.create("transform",{duration:f?r:.666*r,delay:i,easing:o})].join(","),b&&b(e,t)}),j=T(y),I=T(S),D=T(e=>{let t,{duration:r,delay:n,easing:i}=(0,s.C)({style:k,timeout:E,easing:g},{mode:"exit"});"auto"===E?$.current=t=M.transitions.getAutoHeightDuration(e.clientHeight):t=r,e.style.transition=[M.transitions.create("opacity",{duration:t,delay:n}),M.transitions.create("transform",{duration:f?t:.666*t,delay:f?n:n||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=d(.75),Z&&Z(e)}),A=T(w);return(0,c.jsx)(P,{appear:m,in:v,nodeRef:O,onEnter:F,onEntered:j,onEntering:B,onExit:D,onExited:A,onExiting:I,addEndListener:e=>{"auto"===E&&C.start($.current||0,e),r&&r(O.current,e)},timeout:"auto"===E?null:E,...R,children:(e,{ownerState:t,...r})=>n.cloneElement(h,{style:{opacity:0,transform:d(.75),visibility:"exited"!==e||v?void 0:"hidden",...p[e],...k,...h.props.style},ref:N,...r})})});m&&(m.muiSupportAuto=!0);let h=m},20540:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),i=r(82267),o=r(61170),a=r(55879),l=r(73037),s=r(12709),u=r(82319),c=r(90433),d=r(51751),p=r(28678),f=r(24246);let m=(0,s.ZP)(a.Ej,{shouldForwardProp:e=>(0,l.Z)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...(0,a.Gx)(e,t),!r.disableUnderline&&t.underline]}})((0,u.Z)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{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"},[`&.${p.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${p.Z.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,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(.${p.Z.disabled}, .${p.Z.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${p.Z.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,c.Z)()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),h=(0,s.ZP)(a.ni,{name:"MuiInput",slot:"Input",overridesResolver:a._o})({}),g=n.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiInput"}),{disableUnderline:n=!1,components:l={},componentsProps:s,fullWidth:u=!1,inputComponent:c="input",multiline:g=!1,slotProps:v,slots:b={},type:y="text",...x}=r,Z=(e=>{let{classes:t,disableUnderline:r}=e,n=(0,i.Z)({root:["root",!r&&"underline"],input:["input"]},p.l,t);return{...t,...n}})(r),w={root:{ownerState:{disableUnderline:n}}},S=v??s?(0,o.Z)(v??s,w):w,k=b.root??l.Root??m,E=b.input??l.Input??h;return(0,f.jsx)(a.ZP,{slots:{root:k,input:E},slotProps:S,fullWidth:u,inputComponent:c,multiline:g,ref:t,type:y,...x,classes:Z})});g.muiName="Input";let v=g},28678:function(e,t,r){r.d(t,{Z:()=>a,l:()=>o});var n=r(44124),i=r(6749);function o(e){return(0,i.ZP)("MuiInput",e)}let a={...r(3597).Z,...(0,n.Z)("MuiInput",["root","underline","input"])}},55879:function(e,t,r){r.d(t,{_o:()=>N,ni:()=>B,ZP:()=>j,Ej:()=>T,Gx:()=>O});var n,i=r(62220),o=r(54538),a=r(90496),l=r(82267),s=r(97048),u=r(33205),c=r(81925),d=r(96858),p=r(24384),f=r(24246);function m(e){return parseInt(e,10)||0}let h={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function g(e){return function(e){for(let t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}let v=o.forwardRef(function(e,t){let{onChange:r,maxRows:n,minRows:i=1,style:a,value:l,...v}=e,{current:b}=o.useRef(null!=l),y=o.useRef(null),x=(0,s.Z)(t,y),Z=o.useRef(null),w=o.useRef(null),S=o.useCallback(()=>{let t=y.current,r=w.current;if(!t||!r)return;let o=(0,u.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");let a=o.boxSizing,l=m(o.paddingBottom)+m(o.paddingTop),s=m(o.borderBottomWidth)+m(o.borderTopWidth),c=r.scrollHeight;r.value="x";let d=r.scrollHeight,p=c;return i&&(p=Math.max(Number(i)*d,p)),n&&(p=Math.min(Number(n)*d,p)),{outerHeightStyle:(p=Math.max(p,d))+("border-box"===a?l+s:0),overflowing:1>=Math.abs(p-c)}},[n,i,e.placeholder]),k=(0,c.Z)(()=>{let e=y.current,t=S();if(!e||!t||g(t))return!1;let r=t.outerHeightStyle;return null!=Z.current&&Z.current!==r}),E=o.useCallback(()=>{let e=y.current,t=S();if(!e||!t||g(t))return;let r=t.outerHeightStyle;Z.current!==r&&(Z.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[S]),P=o.useRef(-1);return(0,d.Z)(()=>{let e,t=(0,p.Z)(E),r=y?.current;if(!r)return;let n=(0,u.Z)(r);return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{k()&&(e.unobserve(r),cancelAnimationFrame(P.current),E(),P.current=requestAnimationFrame(()=>{e.observe(r)}))})).observe(r),()=>{t.clear(),cancelAnimationFrame(P.current),n.removeEventListener("resize",t),e&&e.disconnect()}},[S,E,k]),(0,d.Z)(()=>{E()}),(0,f.jsxs)(o.Fragment,{children:[(0,f.jsx)("textarea",{value:l,onChange:e=>{b||E(),r&&r(e)},ref:x,rows:i,style:a,...v}),(0,f.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:w,tabIndex:-1,style:{...h,...a,paddingTop:0,paddingBottom:0}})]})});var b=r(88653),y=r(33567),x=r(29992),Z=r(36683),w=r(12709),S=r(32543),k=r(82319),E=r(51751),P=r(51640),R=r(51183),C=r(16758),$=r(65021),M=r(3597);let O=(e,t)=>{let{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${(0,P.Z)(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},N=(e,t)=>{let{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},T=(0,w.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:O})((0,k.Z)(({theme:e})=>({...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",[`&.${M.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),B=(0,w.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:N})((0,k.Z)(({theme:e})=>{let t="light"===e.palette.mode,r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{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%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${M.Z.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${M.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),F=(0,S.zY)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),j=o.forwardRef(function(e,t){let r=(0,E.i)({props:e,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:u,autoFocus:c,className:d,color:p,components:m={},componentsProps:h={},defaultValue:g,disabled:w,disableInjectingGlobalStyles:S,endAdornment:k,error:O,fullWidth:N=!1,id:j,inputComponent:I="input",inputProps:D={},inputRef:A,margin:L,maxRows:z,minRows:_,multiline:W=!1,name:U,onBlur:H,onChange:q,onClick:V,onFocus:G,onKeyDown:K,onKeyUp:X,placeholder:Y,readOnly:J,renderSuffix:Q,rows:ee,size:et,slotProps:er={},slots:en={},startAdornment:ei,type:eo="text",value:ea,...el}=r,es=null!=D.value?D.value:ea,{current:eu}=o.useRef(null!=es),ec=o.useRef(),ed=o.useCallback(e=>{},[]),ep=(0,R.Z)(ec,A,D.ref,ed),[ef,em]=o.useState(!1),eh=(0,Z.Z)(),eg=(0,y.Z)({props:r,muiFormControl:eh,states:["color","disabled","error","hiddenLabel","size","required","filled"]});eg.focused=eh?eh.focused:ef,o.useEffect(()=>{!eh&&w&&ef&&(em(!1),H&&H())},[eh,w,ef,H]);let ev=eh&&eh.onFilled,eb=eh&&eh.onEmpty,ey=o.useCallback(e=>{(0,$.vd)(e)?ev&&ev():eb&&eb()},[ev,eb]);(0,C.Z)(()=>{eu&&ey({value:es})},[es,ey,eu]),o.useEffect(()=>{ey(ec.current)},[]);let ex=I,eZ=D;W&&"input"===ex&&(eZ=ee?{type:void 0,minRows:ee,maxRows:ee,...eZ}:{type:void 0,maxRows:z,minRows:_,...eZ},ex=v),o.useEffect(()=>{eh&&eh.setAdornedStart(!!ei)},[eh,ei]);let ew={...r,color:eg.color||"primary",disabled:eg.disabled,endAdornment:k,error:eg.error,focused:eg.focused,formControl:eh,fullWidth:N,hiddenLabel:eg.hiddenLabel,multiline:W,size:eg.size,startAdornment:ei,type:eo},eS=(e=>{let{classes:t,color:r,disabled:n,error:i,endAdornment:o,focused:a,formControl:s,fullWidth:u,hiddenLabel:c,multiline:d,readOnly:p,size:f,startAdornment:m,type:h}=e,g={root:["root",`color${(0,P.Z)(r)}`,n&&"disabled",i&&"error",u&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${(0,P.Z)(f)}`,d&&"multiline",m&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",p&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",m&&"inputAdornedStart",o&&"inputAdornedEnd",p&&"readOnly"]};return(0,l.Z)(g,M.u,t)})(ew),ek=en.root||m.Root||T,eE=er.root||h.root||{},eP=en.input||m.Input||B;return eZ={...eZ,...er.input??h.input},(0,f.jsxs)(o.Fragment,{children:[!S&&"function"==typeof F&&(n||(n=(0,f.jsx)(F,{}))),(0,f.jsxs)(ek,{...eE,ref:t,onClick:e=>{ec.current&&e.currentTarget===e.target&&ec.current.focus(),V&&V(e)},...el,...!(0,b.Z)(ek)&&{ownerState:{...ew,...eE.ownerState}},className:(0,a.Z)(eS.root,eE.className,d,J&&"MuiInputBase-readOnly"),children:[ei,(0,f.jsx)(x.Z.Provider,{value:null,children:(0,f.jsx)(eP,{"aria-invalid":eg.error,"aria-describedby":s,autoComplete:u,autoFocus:c,defaultValue:g,disabled:eg.disabled,id:j,onAnimationStart:e=>{ey("mui-auto-fill-cancel"===e.animationName?ec.current:{value:"x"})},name:U,placeholder:Y,readOnly:J,required:eg.required,rows:ee,value:es,onKeyDown:K,onKeyUp:X,type:eo,...eZ,...!(0,b.Z)(eP)&&{as:ex,ownerState:{...ew,...eZ.ownerState}},ref:ep,className:(0,a.Z)(eS.input,eZ.className,J&&"MuiInputBase-readOnly"),onBlur:e=>{H&&H(e),D.onBlur&&D.onBlur(e),eh&&eh.onBlur?eh.onBlur(e):em(!1)},onChange:(e,...t)=>{if(!eu){let t=e.target||ec.current;if(null==t)throw Error((0,i.Z)(1));ey({value:t.value})}D.onChange&&D.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{G&&G(e),D.onFocus&&D.onFocus(e),eh&&eh.onFocus?eh.onFocus(e):em(!0)}})}),k,Q?Q({...eg,startAdornment:ei}):null]})]})})},3597:function(e,t,r){r.d(t,{Z:()=>a,u:()=>o});var n=r(44124),i=r(6749);function o(e){return(0,i.ZP)("MuiInputBase",e)}let a=(0,n.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},65021:function(e,t,r){function n(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e,t=!1){return e&&(n(e.value)&&""!==e.value||t&&n(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}r.d(t,{B7:()=>o,vd:()=>i})},68808:function(e,t,r){r.d(t,{Z:()=>x});var n=r(54538),i=r(82267),o=r(90496),a=r(33567),l=r(36683),s=r(23626),u=r(15143),c=r(51640),d=r(73037),p=r(12709),f=r(82319),m=r(51751),h=r(44124),g=r(6749);function v(e){return(0,g.ZP)("MuiInputLabel",e)}(0,h.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var b=r(24246);let y=(0,p.ZP)(s.Z,{shouldForwardProp:e=>(0,d.Z)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${u.Z.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((0,f.Z)(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:r})=>"filled"===e&&t.shrink&&"small"===r,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),x=n.forwardRef(function(e,t){let r=(0,m.i)({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,margin:s,shrink:u,variant:d,className:p,...f}=r,h=(0,l.Z)(),g=u;void 0===g&&h&&(g=h.filled||h.focused||h.adornedStart);let x=(0,a.Z)({props:r,muiFormControl:h,states:["size","variant","required","focused"]}),Z={...r,disableAnimation:n,formControl:h,shrink:g,size:x.size,variant:x.variant,required:x.required,focused:x.focused},w=(e=>{let{classes:t,formControl:r,size:n,shrink:o,disableAnimation:a,variant:l,required:s}=e,u={root:["root",r&&"formControl",!a&&"animated",o&&"shrink",n&&"normal"!==n&&`size${(0,c.Z)(n)}`,l],asterisk:[s&&"asterisk"]},d=(0,i.Z)(u,v,t);return{...t,...d}})(Z);return(0,b.jsx)(y,{"data-shrink":g,ref:t,className:(0,o.Z)(w.root,p),...f,ownerState:Z,classes:w})})},71852:function(e,t,r){r.d(t,{Z:()=>m});var n=r(54538),i=r(90496),o=r(82267),a=r(12709),l=r(51751),s=r(78849),u=r(44124),c=r(6749);function d(e){return(0,c.ZP)("MuiList",e)}(0,u.Z)("MuiList",["root","padding","dense","subheader"]);var p=r(24246);let f=(0,a.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),m=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiList"}),{children:a,className:u,component:c="ul",dense:m=!1,disablePadding:h=!1,subheader:g,...v}=r,b=n.useMemo(()=>({dense:m}),[m]),y={...r,component:c,dense:m,disablePadding:h},x=(e=>{let{classes:t,disablePadding:r,dense:n,subheader:i}=e;return(0,o.Z)({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},d,t)})(y);return(0,p.jsx)(s.Z.Provider,{value:b,children:(0,p.jsxs)(f,{as:c,className:(0,i.Z)(x.root,u),ref:t,ownerState:y,...v,children:[g,a]})})})},78849:function(e,t,r){r.d(t,{Z:()=>n});let n=r(54538).createContext({})},5549:function(e,t,r){r.d(t,{Z:()=>S});var n=r(54538),i=r(90496),o=r(82267),a=r(6595),l=r(25399),s=r(18873),u=r(6714),c=r(73037),d=r(12709),p=r(51751),f=r(44124),m=r(6749);function h(e){return(0,m.ZP)("MuiMenu",e)}(0,f.Z)("MuiMenu",["root","paper","list"]);var g=r(16351),v=r(24246);let b={vertical:"top",horizontal:"right"},y={vertical:"top",horizontal:"left"},x=(0,d.ZP)(u.ZP,{shouldForwardProp:e=>(0,c.Z)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Z=(0,d.ZP)(u.XS,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),w=(0,d.ZP)(s.Z,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),S=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiMenu"}),{autoFocus:s=!0,children:u,className:c,disableAutoFocusItem:d=!1,MenuListProps:f={},onClose:m,open:S,PaperProps:k={},PopoverClasses:E,transitionDuration:P="auto",TransitionProps:{onEntering:R,...C}={},variant:$="selectedMenu",slots:M={},slotProps:O={},...N}=r,T=(0,a.V)(),B={...r,autoFocus:s,disableAutoFocusItem:d,MenuListProps:f,onEntering:R,PaperProps:k,transitionDuration:P,TransitionProps:C,variant:$},F=(e=>{let{classes:t}=e;return(0,o.Z)({root:["root"],paper:["paper"],list:["list"]},h,t)})(B),j=s&&!d&&S,I=n.useRef(null),D=-1;n.Children.map(u,(e,t)=>{n.isValidElement(e)&&(e.props.disabled||("selectedMenu"===$&&e.props.selected?D=t:-1===D&&(D=t)))});let A={slots:M,slotProps:{list:f,transition:C,paper:k,...O}},L=(0,l.Z)({elementType:M.root,externalSlotProps:O.root,ownerState:B,className:[F.root,c]}),[z,_]=(0,g.Z)("paper",{className:F.paper,elementType:Z,externalForwardedProps:A,shouldForwardComponentProp:!0,ownerState:B}),[W,U]=(0,g.Z)("list",{className:(0,i.Z)(F.list,f.className),elementType:w,shouldForwardComponentProp:!0,externalForwardedProps:A,getSlotProps:e=>({...e,onKeyDown:t=>{"Tab"===t.key&&(t.preventDefault(),m&&m(t,"tabKeyDown")),e.onKeyDown?.(t)}}),ownerState:B}),H="function"==typeof A.slotProps.transition?A.slotProps.transition(B):A.slotProps.transition;return(0,v.jsx)(x,{onClose:m,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?b:y,slots:{root:M.root,paper:z,backdrop:M.backdrop,...M.transition&&{transition:M.transition}},slotProps:{root:L,paper:_,backdrop:"function"==typeof O.backdrop?O.backdrop(B):O.backdrop,transition:{...H,onEntering:(...e)=>{((e,t)=>{I.current&&I.current.adjustStyleForScrollbar(e,{direction:T?"rtl":"ltr"}),R&&R(e,t)})(...e),H?.onEntering?.(...e)}}},open:S,ref:t,transitionDuration:P,ownerState:B,...N,classes:E,children:(0,v.jsx)(W,{actions:I,autoFocus:s&&(-1===D||d),autoFocusItem:j,variant:$,...U,children:u})})})},18873:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),i=r(2444),o=r(71852);let a=r(16046).Z;var l=r(51183),s=r(16758),u=r(24255),c=r(24246);function d(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function p(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function f(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),0!==(r=r.trim().toLowerCase()).length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function m(e,t,r,n,i,o){let a=!1,l=i(e,t,!!t&&r);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}let t=!n&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&f(l,o)&&!t)return l.focus(),!0;l=i(e,l,r)}return!1}let h=n.forwardRef(function(e,t){let{actions:r,autoFocus:h=!1,autoFocusItem:g=!1,children:v,className:b,disabledItemsFocusable:y=!1,disableListWrap:x=!1,onKeyDown:Z,variant:w="selectedMenu",...S}=e,k=n.useRef(null),E=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,s.Z)(()=>{h&&k.current.focus()},[h]),n.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let r=!k.current.style.width;if(e.clientHeight<k.current.clientHeight&&r){let r=`${a((0,u.Z)(e))}px`;k.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,k.current.style.width=`calc(100% + ${r})`}return k.current}}),[]);let P=(0,l.Z)(k,t),R=-1;n.Children.forEach(v,(e,t)=>{if(!n.isValidElement(e)){R===t&&(R+=1)>=v.length&&(R=-1);return}e.props.disabled||("selectedMenu"===w&&e.props.selected?R=t:-1===R&&(R=t)),R===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(R+=1)>=v.length&&(R=-1)});let C=n.Children.map(v,(e,t)=>{if(t===R){let t={};return g&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===w&&(t.tabIndex=0),n.cloneElement(e,t)}return e});return(0,c.jsx)(o.Z,{role:"menu",ref:P,className:b,onKeyDown:e=>{let t=k.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey){Z&&Z(e);return}let n=(0,i.Z)(t).activeElement;if("ArrowDown"===r)e.preventDefault(),m(t,n,x,y,d);else if("ArrowUp"===r)e.preventDefault(),m(t,n,x,y,p);else if("Home"===r)e.preventDefault(),m(t,null,x,y,d);else if("End"===r)e.preventDefault(),m(t,null,x,y,p);else if(1===r.length){let i=E.current,o=r.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);let l=n&&!i.repeating&&f(n,i);i.previousKeyMatched&&(l||m(t,n,!1,y,d,i))?e.preventDefault():i.previousKeyMatched=!1}Z&&Z(e)},tabIndex:h?0:-1,...S,children:C})})},49106:function(e,t,r){r.d(t,{Z:()=>j});var n=r(54538),i=r(90496),o=r(82267),a=r(97048),l=r(94680),s=r(80668),u=r(24246);function c(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let i=function(e){let 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===i||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e)||(0===i?t.push(e):r.push({documentOrder:n,tabIndex:i,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function d(){return!0}let p=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:i=!1,disableRestoreFocus:o=!1,getTabbable:p=c,isEnabled:f=d,open:m}=e,h=n.useRef(!1),g=n.useRef(null),v=n.useRef(null),b=n.useRef(null),y=n.useRef(null),x=n.useRef(!1),Z=n.useRef(null),w=(0,a.Z)((0,l.Z)(t),Z),S=n.useRef(null);n.useEffect(()=>{m&&Z.current&&(x.current=!r)},[r,m]),n.useEffect(()=>{if(!m||!Z.current)return;let e=(0,s.Z)(Z.current);return!Z.current.contains(e.activeElement)&&(Z.current.hasAttribute("tabIndex")||Z.current.setAttribute("tabIndex","-1"),x.current&&Z.current.focus()),()=>{o||(b.current&&b.current.focus&&(h.current=!0,b.current.focus()),b.current=null)}},[m]),n.useEffect(()=>{if(!m||!Z.current)return;let e=(0,s.Z)(Z.current),t=t=>{S.current=t,!i&&f()&&"Tab"===t.key&&e.activeElement===Z.current&&t.shiftKey&&(h.current=!0,v.current&&v.current.focus())},r=()=>{let t=Z.current;if(null===t)return;if(!e.hasFocus()||!f()||h.current){h.current=!1;return}if(t.contains(e.activeElement)||i&&e.activeElement!==g.current&&e.activeElement!==v.current)return;if(e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!x.current)return;let r=[];if((e.activeElement===g.current||e.activeElement===v.current)&&(r=p(Z.current)),r.length>0){let e=!!(S.current?.shiftKey&&S.current?.key==="Tab"),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);let n=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,i,o,f,m,p]);let k=e=>{null===b.current&&(b.current=e.relatedTarget),x.current=!0};return(0,u.jsxs)(n.Fragment,{children:[(0,u.jsx)("div",{tabIndex:m?0:-1,onFocus:k,ref:g,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:w,onFocus:e=>{null===b.current&&(b.current=e.relatedTarget),x.current=!0,y.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,u.jsx)("div",{tabIndex:m?0:-1,onFocus:k,ref:v,"data-testid":"sentinelEnd"})]})};var f=r(7444),m=r(12709),h=r(82319),g=r(51751),v=r(19090),b=r(81925),y=r(38543),x=r(92438),Z=r(33205),w=r(16046);function S(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function k(e){return parseInt((0,Z.Z)(e).getComputedStyle(e).paddingRight,10)||0}function E(e,t,r,n,i){let o=[t,r,...n];[].forEach.call(e.children,e=>{let t=!o.includes(e),r=!function(e){let t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&S(e,i)})}function P(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}let R=()=>{},C=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&S(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);E(t,e.mount,e.modalRef,n,!0);let i=P(this.containers,e=>e.container===t);return -1!==i?this.containers[i].modals.push(e):this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r}mount(e,t){let r=P(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,s.Z)(e);return t.body===e?(0,Z.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=(0,w.Z)((0,Z.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${k(n)+e}px`;let t=(0,s.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${k(t)+e}px`})}if(n.parentNode instanceof DocumentFragment)e=(0,s.Z)(n).body;else{let t=n.parentElement,r=(0,Z.Z)(n);e=t?.nodeName==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.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()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){let r=this.modals.indexOf(e);if(-1===r)return r;let n=P(this.containers,t=>t.modals.includes(e)),i=this.containers[n];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(r,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&S(e.modalRef,t),E(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&S(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},$=function(e){let{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:i=!1,closeAfterTransition:o=!1,onTransitionEnter:l,onTransitionExited:u,children:c,onClose:d,open:p,rootRef:f}=e,m=n.useRef({}),h=n.useRef(null),g=n.useRef(null),v=(0,a.Z)(g,f),[Z,w]=n.useState(!p),k=!!c&&c.props.hasOwnProperty("in"),E=!0;("false"===e["aria-hidden"]||!1===e["aria-hidden"])&&(E=!1);let P=()=>(m.current.modalRef=g.current,m.current.mount=h.current,m.current),$=()=>{C.mount(P(),{disableScrollLock:i}),g.current&&(g.current.scrollTop=0)},M=(0,b.Z)(()=>{let e=("function"==typeof t?t():t)||(0,s.Z)(h.current).body;C.add(P(),e),g.current&&$()}),O=()=>C.isTopModal(P()),N=(0,b.Z)(e=>{h.current=e,e&&(p&&O()?$():g.current&&S(g.current,E))}),T=n.useCallback(()=>{C.remove(P(),E)},[E]);return n.useEffect(()=>()=>{T()},[T]),n.useEffect(()=>{p?M():k&&o||T()},[p,T,k,o,M]),{getRootProps:(t={})=>{let n=(0,x.Z)(e);delete n.onTransitionEnter,delete n.onTransitionExited;let i={...n,...t};return{role:"presentation",...i,onKeyDown:e=>{i.onKeyDown?.(e),"Escape"===e.key&&229!==e.which&&O()&&!r&&(e.stopPropagation(),d&&d(e,"escapeKeyDown"))},ref:v}},getBackdropProps:(e={})=>({"aria-hidden":!0,...e,onClick:t=>{e.onClick?.(t),t.target===t.currentTarget&&d&&d(t,"backdropClick")},open:p}),getTransitionProps:()=>({onEnter:(0,y.Z)(()=>{w(!1),l&&l()},c?.props.onEnter??R),onExited:(0,y.Z)(()=>{w(!0),u&&u(),o&&T()},c?.props.onExited??R)}),rootRef:v,portalRef:N,isTopModal:O,exited:Z,hasTransition:k}};var M=r(44124),O=r(6749);function N(e){return(0,O.ZP)("MuiModal",e)}(0,M.Z)("MuiModal",["root","hidden","backdrop"]);var T=r(16351);let B=(0,m.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((0,h.Z)(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),F=(0,m.ZP)(v.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),j=n.forwardRef(function(e,t){let r=(0,g.i)({name:"MuiModal",props:e}),{BackdropComponent:a=F,BackdropProps:l,classes:s,className:c,closeAfterTransition:d=!1,children:m,container:h,component:v,components:b={},componentsProps:y={},disableAutoFocus:x=!1,disableEnforceFocus:Z=!1,disableEscapeKeyDown:w=!1,disablePortal:S=!1,disableRestoreFocus:k=!1,disableScrollLock:E=!1,hideBackdrop:P=!1,keepMounted:R=!1,onBackdropClick:C,onClose:M,onTransitionEnter:O,onTransitionExited:j,open:I,slotProps:D={},slots:A={},theme:L,...z}=r,_={...r,closeAfterTransition:d,disableAutoFocus:x,disableEnforceFocus:Z,disableEscapeKeyDown:w,disablePortal:S,disableRestoreFocus:k,disableScrollLock:E,hideBackdrop:P,keepMounted:R},{getRootProps:W,getBackdropProps:U,getTransitionProps:H,portalRef:q,isTopModal:V,exited:G,hasTransition:K}=$({..._,rootRef:t}),X={..._,exited:G},Y=(e=>{let{open:t,exited:r,classes:n}=e;return(0,o.Z)({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},N,n)})(X),J={};if(void 0===m.props.tabIndex&&(J.tabIndex="-1"),K){let{onEnter:e,onExited:t}=H();J.onEnter=e,J.onExited=t}let Q={slots:{root:b.Root,backdrop:b.Backdrop,...A},slotProps:{...y,...D}},[ee,et]=(0,T.Z)("root",{ref:t,elementType:B,externalForwardedProps:{...Q,...z,component:v},getSlotProps:W,ownerState:X,className:(0,i.Z)(c,Y?.root,!X.open&&X.exited&&Y?.hidden)}),[er,en]=(0,T.Z)("backdrop",{ref:l?.ref,elementType:a,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:l,getSlotProps:e=>U({...e,onClick:t=>{C&&C(t),e?.onClick&&e.onClick(t)}}),className:(0,i.Z)(l?.className,Y?.backdrop),ownerState:X});return R||I||K&&!G?(0,u.jsx)(f.Z,{ref:q,container:h,disablePortal:S,children:(0,u.jsxs)(ee,{...et,children:[!P&&a?(0,u.jsx)(er,{...en}):null,(0,u.jsx)(p,{disableEnforceFocus:Z,disableAutoFocus:x,disableRestoreFocus:k,isEnabled:V,open:I,children:n.cloneElement(m,J)})]})}):null})},51857:function(e,t,r){r.d(t,{Z:()=>w});var n,i=r(54538),o=r(82267),a=r(73037),l=r(12709),s=r(82319),u=r(24246);let c=(0,l.ZP)("fieldset",{shouldForwardProp:a.Z})({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%"}),d=(0,l.ZP)("legend",{shouldForwardProp:a.Z})((0,s.Z)(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));var p=r(36683),f=r(33567),m=r(90433),h=r(51751),g=r(8782),v=r(55879);let b=(0,l.ZP)(v.Ej,{shouldForwardProp:e=>(0,a.Z)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:v.Gx})((0,s.Z)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${g.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${g.Z.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${g.Z.focused} .${g.Z.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter((0,m.Z)()).map(([t])=>({props:{color:t},style:{[`&.${g.Z.focused} .${g.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${g.Z.error} .${g.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${g.Z.disabled} .${g.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),y=(0,l.ZP)(function(e){let{children:t,classes:r,className:i,label:o,notched:a,...l}=e,s=null!=o&&""!==o,p={...e,notched:a,withLabel:s};return(0,u.jsx)(c,{"aria-hidden":!0,className:i,ownerState:p,...l,children:(0,u.jsx)(d,{ownerState:p,children:s?(0,u.jsx)("span",{children:o}):n||(n=(0,u.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((0,s.Z)(({theme:e})=>{let 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}})),x=(0,l.ZP)(v.ni,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:v._o})((0,s.Z)(({theme:e})=>({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"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),Z=i.forwardRef(function(e,t){var r;let n=(0,h.i)({props:e,name:"MuiOutlinedInput"}),{components:a={},fullWidth:l=!1,inputComponent:s="input",label:c,multiline:d=!1,notched:m,slots:Z={},type:w="text",...S}=n,k=(e=>{let{classes:t}=e,r=(0,o.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g.e,t);return{...t,...r}})(n),E=(0,p.Z)(),P=(0,f.Z)({props:n,muiFormControl:E,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R={...n,color:P.color||"primary",disabled:P.disabled,error:P.error,focused:P.focused,formControl:E,fullWidth:l,hiddenLabel:P.hiddenLabel,multiline:d,size:P.size,type:w},C=Z.root??a.Root??b,$=Z.input??a.Input??x;return(0,u.jsx)(v.ZP,{slots:{root:C,input:$},renderSuffix:e=>(0,u.jsx)(y,{ownerState:R,className:k.notchedOutline,label:null!=c&&""!==c&&P.required?r||(r=(0,u.jsxs)(i.Fragment,{children:[c," ","*"]})):c,notched:void 0!==m?m:!!(e.startAdornment||e.filled||e.focused)}),fullWidth:l,inputComponent:s,multiline:d,ref:t,type:w,...S,classes:{...k,notchedOutline:null}})});Z.muiName="Input";let w=Z},8782:function(e,t,r){r.d(t,{Z:()=>a,e:()=>o});var n=r(44124),i=r(6749);function o(e){return(0,i.ZP)("MuiOutlinedInput",e)}let a={...r(3597).Z,...(0,n.Z)("MuiOutlinedInput",["root","notchedOutline","input"])}},28866:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),i=r(90496),o=r(82267),a=r(16838),l=r(12709),s=r(94776),u=r(82319),c=r(51751),d=r(8505),p=r(44124),f=r(6749);function m(e){return(0,f.ZP)("MuiPaper",e)}(0,p.Z)("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"]);var h=r(24246);let g=(0,l.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((0,u.Z)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),v=n.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiPaper"}),n=(0,s.Z)(),{className:l,component:u="div",elevation:p=1,square:f=!1,variant:v="elevation",...b}=r,y={...r,component:u,elevation:p,square:f,variant:v},x=(e=>{let{square:t,elevation:r,variant:n,classes:i}=e,a={root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]};return(0,o.Z)(a,m,i)})(y);return(0,h.jsx)(g,{as:u,ownerState:y,className:(0,i.Z)(x.root,l),ref:t,...b,style:{..."elevation"===v&&{"--Paper-shadow":(n.vars||n).shadows[p],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[p]},...!n.vars&&"dark"===n.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,a.Fq)("#fff",(0,d.Z)(p))}, ${(0,a.Fq)("#fff",(0,d.Z)(p))})`}},...b.style}})})},6714:function(e,t,r){r.d(t,{XS:()=>P,ZP:()=>R});var n=r(54538),i=r(90496),o=r(82267),a=r(88653),l=r(12709),s=r(51751),u=r(77999),c=r(2444),d=r(24255),p=r(23382),f=r(49106),m=r(28866),h=r(44124),g=r(6749);function v(e){return(0,g.ZP)("MuiPopover",e)}(0,h.Z)("MuiPopover",["root","paper"]);var b=r(16351),y=r(27834),x=r(24246);function Z(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function w(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function S(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function k(e){return"function"==typeof e?e():e}let E=(0,l.ZP)(f.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),P=(0,l.ZP)(m.Z,{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}),R=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiPopover"}),{action:l,anchorEl:f,anchorOrigin:m={vertical:"top",horizontal:"left"},anchorPosition:h,anchorReference:g="anchorEl",children:R,className:C,container:$,elevation:M=8,marginThreshold:O=16,open:N,PaperProps:T={},slots:B={},slotProps:F={},transformOrigin:j={vertical:"top",horizontal:"left"},TransitionComponent:I,transitionDuration:D="auto",TransitionProps:A={},disableScrollLock:L=!1,...z}=r,_=n.useRef(),W={...r,anchorOrigin:m,anchorReference:g,elevation:M,marginThreshold:O,transformOrigin:j,TransitionComponent:I,transitionDuration:D,TransitionProps:A},U=(e=>{let{classes:t}=e;return(0,o.Z)({root:["root"],paper:["paper"]},v,t)})(W),H=n.useCallback(()=>{if("anchorPosition"===g)return h;let e=k(f),t=(e&&1===e.nodeType?e:(0,c.Z)(_.current).body).getBoundingClientRect();return{top:t.top+Z(t,m.vertical),left:t.left+w(t,m.horizontal)}},[f,m.horizontal,m.vertical,h,g]),q=n.useCallback(e=>({vertical:Z(e,j.vertical),horizontal:w(e,j.horizontal)}),[j.horizontal,j.vertical]),V=n.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},r=q(t);if("none"===g)return{top:null,left:null,transformOrigin:S(r)};let n=H(),i=n.top-r.vertical,o=n.left-r.horizontal,a=i+t.height,l=o+t.width,s=(0,d.Z)(k(f)),u=s.innerHeight-O,c=s.innerWidth-O;if(null!==O&&i<O){let e=i-O;i-=e,r.vertical+=e}else if(null!==O&&a>u){let e=a-u;i-=e,r.vertical+=e}if(null!==O&&o<O){let e=o-O;o-=e,r.horizontal+=e}else if(l>c){let e=l-c;o-=e,r.horizontal+=e}return{top:`${Math.round(i)}px`,left:`${Math.round(o)}px`,transformOrigin:S(r)}},[f,g,H,q,O]),[G,K]=n.useState(N),X=n.useCallback(()=>{let e=_.current;if(!e)return;let t=V(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,K(!0)},[V]);n.useEffect(()=>(L&&window.addEventListener("scroll",X),()=>window.removeEventListener("scroll",X)),[f,L,X]),n.useEffect(()=>{N&&X()}),n.useImperativeHandle(l,()=>N?{updatePosition:()=>{X()}}:null,[N,X]),n.useEffect(()=>{if(!N)return;let e=(0,u.Z)(()=>{X()}),t=(0,d.Z)(f);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[f,N,X]);let Y=D,J={slots:{transition:I,...B},slotProps:{transition:A,paper:T,...F}},[Q,ee]=(0,b.Z)("transition",{elementType:p.Z,externalForwardedProps:J,ownerState:W,getSlotProps:e=>({...e,onEntering:(t,r)=>{e.onEntering?.(t,r),X()},onExited:t=>{e.onExited?.(t),K(!1)}}),additionalProps:{appear:!0,in:N}});"auto"!==D||Q.muiSupportAuto||(Y=void 0);let et=$||(f?(0,c.Z)(k(f)).body:void 0),[er,{slots:en,slotProps:ei,...eo}]=(0,b.Z)("root",{ref:t,elementType:E,externalForwardedProps:{...J,...z},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:B.backdrop},slotProps:{backdrop:(0,y.Z)("function"==typeof F.backdrop?F.backdrop(W):F.backdrop,{invisible:!0})},container:et,open:N},ownerState:W,className:(0,i.Z)(U.root,C)}),[ea,el]=(0,b.Z)("paper",{ref:_,className:U.paper,elementType:P,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:{elevation:M,style:G?void 0:{opacity:0}},ownerState:W});return(0,x.jsx)(er,{...eo,...!(0,a.Z)(er)&&{slots:en,slotProps:ei,disableScrollLock:L},children:(0,x.jsx)(Q,{...ee,timeout:Y,children:(0,x.jsx)(ea,{...el,children:R})})})})},7444:function(e,t,r){r.d(t,{Z:()=>u});var n=r(54538),i=r(6085),o=r(97048),a=r(94680),l=r(96858),s=r(85817);let u=n.forwardRef(function(e,t){let{children:r,container:u,disablePortal:c=!1}=e,[d,p]=n.useState(null),f=(0,o.Z)(n.isValidElement(r)?(0,a.Z)(r):null,t);return((0,l.Z)(()=>{c||p(("function"==typeof u?u():u)||document.body)},[u,c]),(0,l.Z)(()=>{if(d&&!c)return(0,s.Z)(t,d),()=>{(0,s.Z)(t,null)}},[t,d,c]),c)?n.isValidElement(r)?n.cloneElement(r,{ref:f}):r:d?i.createPortal(r,d):d})},63767:function(e,t,r){r.d(t,{Z:()=>K});var n,i=r(54538),o=r(90496),a=r(61170),l=r(82267),s=r(94680),u=r(62220),c=r(5056),d=r(2444),p=r(51640),f=r(5549),m=r(44124),h=r(6749);function g(e){return(0,h.ZP)("MuiNativeSelect",e)}let v=(0,m.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var b=r(12709),y=r(73037),x=r(24246);let Z=(0,b.ZP)("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${v.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),w=(0,b.ZP)(Z,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:y.Z,overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${v.multiple}`]:t.multiple}]}})({}),S=(0,b.ZP)("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${v.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),k=(0,b.ZP)(S,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${(0,p.Z)(r.variant)}`],r.open&&t.iconOpen]}})({}),E=i.forwardRef(function(e,t){let{className:r,disabled:n,error:a,IconComponent:s,inputRef:u,variant:c="standard",...d}=e,f={...e,disabled:n,variant:c,error:a},m=(e=>{let{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,p.Z)(r)}`,o&&"iconOpen",n&&"disabled"]};return(0,l.Z)(s,g,t)})(f);return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(w,{ownerState:f,className:(0,o.Z)(m.select,r),disabled:n,ref:u||t,...d}),e.multiple?null:(0,x.jsx)(k,{as:s,ownerState:f,className:m.icon})]})});var P=r(65021),R=r(4005),C=r(51183),$=r(18817);function M(e){return(0,h.ZP)("MuiSelect",e)}let O=(0,m.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),N=(0,b.ZP)(Z,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`&.${O.select}`]:t.select},{[`&.${O.select}`]:t[r.variant]},{[`&.${O.error}`]:t.error},{[`&.${O.multiple}`]:t.multiple}]}})({[`&.${O.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),T=(0,b.ZP)(S,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${(0,p.Z)(r.variant)}`],r.open&&t.iconOpen]}})({}),B=(0,b.ZP)("input",{shouldForwardProp:e=>(0,R.Z)(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 F(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}let j=i.forwardRef(function(e,t){var r;let a,s,{"aria-describedby":m,"aria-label":h,autoFocus:g,autoWidth:v,children:b,className:y,defaultOpen:Z,defaultValue:w,disabled:S,displayEmpty:k,error:E=!1,IconComponent:R,inputRef:O,labelId:j,MenuProps:I={},multiple:D,name:A,onBlur:L,onChange:z,onClose:_,onFocus:W,onOpen:U,open:H,readOnly:q,renderValue:V,required:G,SelectDisplayProps:K={},tabIndex:X,type:Y,value:J,variant:Q="standard",...ee}=e,[et,er]=(0,$.Z)({controlled:J,default:w,name:"Select"}),[en,ei]=(0,$.Z)({controlled:H,default:Z,name:"Select"}),eo=i.useRef(null),ea=i.useRef(null),[el,es]=i.useState(null),{current:eu}=i.useRef(null!=H),[ec,ed]=i.useState(),ep=(0,C.Z)(t,O),ef=i.useCallback(e=>{ea.current=e,e&&es(e)},[]),em=el?.parentNode;i.useImperativeHandle(ep,()=>({focus:()=>{ea.current.focus()},node:eo.current,value:et}),[et]),i.useEffect(()=>{Z&&en&&el&&!eu&&(ed(v?null:em.clientWidth),ea.current.focus())},[el,v]),i.useEffect(()=>{g&&ea.current.focus()},[g]),i.useEffect(()=>{if(!j)return;let e=(0,d.Z)(ea.current).getElementById(j);if(e){let t=()=>{getSelection().isCollapsed&&ea.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[j]);let eh=(e,t)=>{e?U&&U(t):_&&_(t),eu||(ed(v?null:em.clientWidth),ei(e))},eg=i.Children.toArray(b),ev=null!==el&&en;delete ee["aria-invalid"];let eb=[],ey=!1;((0,P.vd)({value:et})||k)&&(V?a=V(et):ey=!0);let ex=eg.map(e=>{let t;if(!i.isValidElement(e))return null;if(D){if(!Array.isArray(et))throw Error((0,u.Z)(2));(t=et.some(t=>F(t,e.props.value)))&&ey&&eb.push(e.props.children)}else(t=F(et,e.props.value))&&ey&&(s=e.props.children);return i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(D){r=Array.isArray(et)?et.slice():[];let t=et.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),et!==r&&(er(r),z)){let n=t.nativeEvent||t,i=new n.constructor(n.type,n);Object.defineProperty(i,"target",{writable:!0,value:{value:r,name:A}}),z(i,e)}D||eh(!1,t)}},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})});ey&&(a=D?0===eb.length?null:eb.reduce((e,t,r)=>(e.push(t),r<eb.length-1&&e.push(", "),e),[]):s);let eZ=ec;!v&&eu&&el&&(eZ=em.clientWidth);let ew=K.id||(A?`mui-component-select-${A}`:void 0),eS={...e,variant:Q,value:et,open:ev,error:E},ek=(e=>{let{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,s={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,p.Z)(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return(0,l.Z)(s,M,t)})(eS),eE={...I.PaperProps,...I.slotProps?.paper},eP=(0,c.Z)();return(0,x.jsxs)(i.Fragment,{children:[(0,x.jsx)(N,{as:"div",ref:ef,tabIndex:void 0!==X?X:S?null:0,role:"combobox","aria-controls":ev?eP:void 0,"aria-disabled":S?"true":void 0,"aria-expanded":ev?"true":"false","aria-haspopup":"listbox","aria-label":h,"aria-labelledby":[j,ew].filter(Boolean).join(" ")||void 0,"aria-describedby":m,"aria-required":G?"true":void 0,"aria-invalid":E?"true":void 0,onKeyDown:e=>{!q&&[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),eh(!0,e))},onMouseDown:S||q?null:e=>{0===e.button&&(e.preventDefault(),ea.current.focus(),eh(!0,e))},onBlur:e=>{!ev&&L&&(Object.defineProperty(e,"target",{writable:!0,value:{value:et,name:A}}),L(e))},onFocus:W,...K,ownerState:eS,className:(0,o.Z)(K.className,ek.select,y),id:ew,children:null!=(r=a)&&("string"!=typeof r||r.trim())?a:n||(n=(0,x.jsx)("span",{className:"notranslate","aria-hidden":!0,children:""}))}),(0,x.jsx)(B,{"aria-invalid":E,value:Array.isArray(et)?et.join(","):et,name:A,ref:eo,"aria-hidden":!0,onChange:e=>{let t=eg.find(t=>t.props.value===e.target.value);void 0!==t&&(er(t.props.value),z&&z(e,t))},tabIndex:-1,disabled:S,className:ek.nativeInput,autoFocus:g,required:G,...ee,ownerState:eS}),(0,x.jsx)(T,{as:R,className:ek.icon,ownerState:eS}),(0,x.jsx)(f.Z,{id:`menu-${A||""}`,anchorEl:em,open:ev,onClose:e=>{eh(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...I,slotProps:{...I.slotProps,list:{"aria-labelledby":j,role:"listbox","aria-multiselectable":D?"true":void 0,disableListWrap:!0,id:eP,...I.MenuListProps},paper:{...eE,style:{minWidth:eZ,...null!=eE?eE.style:null}}},children:ex})]})});var I=r(33567),D=r(36683),A=r(97686),L=r(20540),z=r(90222),_=r(51857),W=r(51751);let U={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,y.Z)(e)&&"variant"!==e,slot:"Root"},H=(0,b.ZP)(L.Z,U)(""),q=(0,b.ZP)(_.Z,U)(""),V=(0,b.ZP)(z.Z,U)(""),G=i.forwardRef(function(e,t){let r=(0,W.i)({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:u,classes:c={},className:d,defaultOpen:p=!1,displayEmpty:f=!1,IconComponent:m=A.Z,id:h,input:g,inputProps:v,label:b,labelId:y,MenuProps:Z,multiple:w=!1,native:S=!1,onClose:k,onOpen:P,open:R,renderValue:$,SelectDisplayProps:O,variant:N="outlined",...T}=r,B=(0,D.Z)(),F=(0,I.Z)({props:r,muiFormControl:B,states:["variant","error"]}),L=F.variant||N,z={...r,variant:L,classes:c},_=(e=>{let{classes:t}=e,r=(0,l.Z)({root:["root"]},M,t);return{...t,...r}})(z),{root:U,...G}=_,K=g||({standard:(0,x.jsx)(H,{ownerState:z}),outlined:(0,x.jsx)(q,{label:b,ownerState:z}),filled:(0,x.jsx)(V,{ownerState:z})})[L],X=(0,C.Z)(t,(0,s.Z)(K));return(0,x.jsx)(i.Fragment,{children:i.cloneElement(K,{inputComponent:S?E:j,inputProps:{children:u,error:F.error,IconComponent:m,variant:L,type:void 0,multiple:w,...S?{id:h}:{autoWidth:n,defaultOpen:p,displayEmpty:f,labelId:y,MenuProps:Z,onClose:k,onOpen:P,open:R,renderValue:$,SelectDisplayProps:{id:h,...O}},...v,classes:v?(0,a.Z)(G,v.classes):G,...g?g.props.inputProps:{}},...(w&&S||f)&&"outlined"===L?{notched:!0}:{},ref:X,className:(0,o.Z)(K.props.className,d,_.root),...!g&&{variant:L},...T})})});G.muiName="Select";let K=G},66224:function(e,t,r){r.d(t,{Z:()=>x});var n=r(54538),i=r(90496),o=r(82267),a=r(16838),l=r(72116),s=r(12709),u=r(82319),c=r(51751),d=r(44124),p=r(6749);function f(e){return(0,p.ZP)("MuiSkeleton",e)}(0,d.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var m=r(24246);let h=(0,l.keyframes)`
|
|
76
|
+
0% {
|
|
77
|
+
opacity: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
50% {
|
|
81
|
+
opacity: 0.4;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
100% {
|
|
85
|
+
opacity: 1;
|
|
86
|
+
}
|
|
87
|
+
`,g=(0,l.keyframes)`
|
|
88
|
+
0% {
|
|
89
|
+
transform: translateX(-100%);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
50% {
|
|
93
|
+
/* +0.5s of delay between each loop */
|
|
94
|
+
transform: translateX(100%);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
100% {
|
|
98
|
+
transform: translateX(100%);
|
|
99
|
+
}
|
|
100
|
+
`,v="string"!=typeof h?(0,l.css)`
|
|
101
|
+
animation: ${h} 2s ease-in-out 0.5s infinite;
|
|
102
|
+
`:null,b="string"!=typeof g?(0,l.css)`
|
|
103
|
+
&::after {
|
|
104
|
+
animation: ${g} 2s linear 0.5s infinite;
|
|
105
|
+
}
|
|
106
|
+
`:null,y=(0,s.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((0,u.Z)(({theme:e})=>{let t=String(e.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",r=parseFloat(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,a.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${t}/${Math.round(r/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:v||{animation:`${h} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
|
|
107
|
+
90deg,
|
|
108
|
+
transparent,
|
|
109
|
+
${(e.vars||e).palette.action.hover},
|
|
110
|
+
transparent
|
|
111
|
+
)`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:b||{"&::after":{animation:`${g} 2s linear 0.5s infinite`}}}]}})),x=n.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:a,component:l="span",height:s,style:u,variant:d="text",width:p,...h}=r,g={...r,animation:n,component:l,variant:d,hasChildren:!!h.children},v=(e=>{let{classes:t,variant:r,animation:n,hasChildren:i,width:a,height:l}=e;return(0,o.Z)({root:["root",r,n,i&&"withChildren",i&&!a&&"fitContent",i&&!l&&"heightAuto"]},f,t)})(g);return(0,m.jsx)(y,{as:l,ref:t,className:(0,i.Z)(v.root,a),ownerState:g,...h,style:{width:p,height:s,...u}})})},25283:function(e,t,r){r.d(t,{Z:()=>a});var n=r(79886),i=r(12709),o=r(51751);let a=(0,n.Z)({createStyledComponent:(0,i.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,o.i)({props:e,name:"MuiStack"})})},87895:function(e,t,r){r.d(t,{Z:()=>w});var n=r(54538),i=r(90496),o=r(82267),a=r(16838),l=r(51640),s=r(90433),u=r(99140),c=r(12709),d=r(82319),p=r(51751),f=r(44124),m=r(6749);function h(e){return(0,m.ZP)("MuiSwitch",e)}let g=(0,f.Z)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var v=r(24246);let b=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${(0,l.Z)(r.edge)}`],t[`size${(0,l.Z)(r.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${g.thumb}`]:{width:16,height:16},[`& .${g.switchBase}`]:{padding:4,[`&.${g.checked}`]:{transform:"translateX(16px)"}}}}]}),y=(0,c.ZP)(u.Z,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.switchBase,{[`& .${g.input}`]:t.input},"default"!==r.color&&t[`color${(0,l.Z)(r.color)}`]]}})((0,d.Z)(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${g.checked}`]:{transform:"translateX(20px)"},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${g.checked} + .${g.track}`]:{opacity:.5},[`&.${g.disabled} + .${g.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${"light"===e.palette.mode?.12:.2}`},[`& .${g.input}`]:{left:"-100%",width:"300%"}})),(0,d.Z)(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.Fq)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,s.Z)(["light"])).map(([t])=>({props:{color:t},style:{[`&.${g.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.Fq)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,a.$n)(e.palette[t].main,.62):(0,a._j)(e.palette[t].main,.55)}`}},[`&.${g.checked} + .${g.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),x=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,d.Z)(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${"light"===e.palette.mode?.38:.3}`}))),Z=(0,c.ZP)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,d.Z)(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),w=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiSwitch"}),{className:n,color:a="primary",edge:s=!1,size:u="medium",sx:c,...d}=r,f={...r,color:a,edge:s,size:u},m=(e=>{let{classes:t,edge:r,size:n,color:i,checked:a,disabled:s}=e,u={root:["root",r&&`edge${(0,l.Z)(r)}`,`size${(0,l.Z)(n)}`],switchBase:["switchBase",`color${(0,l.Z)(i)}`,a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,o.Z)(u,h,t);return{...t,...c}})(f),g=(0,v.jsx)(Z,{className:m.thumb,ownerState:f});return(0,v.jsxs)(b,{className:(0,i.Z)(m.root,n),sx:c,ownerState:f,children:[(0,v.jsx)(y,{type:"checkbox",icon:g,checkedIcon:g,ref:t,ownerState:f,...d,classes:{...m,root:m.switchBase}}),(0,v.jsx)(x,{className:m.track,ownerState:f})]})})},8695:function(e,t,r){r.d(t,{Z:()=>S});var n=r(54538),i=r(90496),o=r(82267),a=r(5056),l=r(12709),s=r(51751),u=r(20540),c=r(90222),d=r(51857),p=r(68808),f=r(90192),m=r(32931),h=r(63767),g=r(44124),v=r(6749);function b(e){return(0,v.ZP)("MuiTextField",e)}(0,g.Z)("MuiTextField",["root"]);var y=r(16351),x=r(24246);let Z={standard:u.Z,filled:c.Z,outlined:d.Z},w=(0,l.ZP)(f.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:l=!1,children:u,className:c,color:d="primary",defaultValue:f,disabled:g=!1,error:v=!1,FormHelperTextProps:S,fullWidth:k=!1,helperText:E,id:P,InputLabelProps:R,inputProps:C,InputProps:$,inputRef:M,label:O,maxRows:N,minRows:T,multiline:B=!1,name:F,onBlur:j,onChange:I,onFocus:D,placeholder:A,required:L=!1,rows:z,select:_=!1,SelectProps:W,slots:U={},slotProps:H={},type:q,value:V,variant:G="outlined",...K}=r,X={...r,autoFocus:l,color:d,disabled:g,error:v,fullWidth:k,multiline:B,required:L,select:_,variant:G},Y=(e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},b,t)})(X),J=(0,a.Z)(P),Q=E&&J?`${J}-helper-text`:void 0,ee=O&&J?`${J}-label`:void 0,et=Z[G],er={slots:U,slotProps:{input:$,inputLabel:R,htmlInput:C,formHelperText:S,select:W,...H}},en={},ei=er.slotProps.inputLabel;"outlined"===G&&(ei&&void 0!==ei.shrink&&(en.notched=ei.shrink),en.label=O),_&&(W&&W.native||(en.id=void 0),en["aria-describedby"]=void 0);let[eo,ea]=(0,y.Z)("input",{elementType:et,externalForwardedProps:er,additionalProps:en,ownerState:X}),[el,es]=(0,y.Z)("inputLabel",{elementType:p.Z,externalForwardedProps:er,ownerState:X}),[eu,ec]=(0,y.Z)("htmlInput",{elementType:"input",externalForwardedProps:er,ownerState:X}),[ed,ep]=(0,y.Z)("formHelperText",{elementType:m.Z,externalForwardedProps:er,ownerState:X}),[ef,em]=(0,y.Z)("select",{elementType:h.Z,externalForwardedProps:er,ownerState:X}),eh=(0,x.jsx)(eo,{"aria-describedby":Q,autoComplete:n,autoFocus:l,defaultValue:f,fullWidth:k,multiline:B,name:F,rows:z,maxRows:N,minRows:T,type:q,value:V,id:J,inputRef:M,onBlur:j,onChange:I,onFocus:D,placeholder:A,inputProps:ec,slots:{input:U.htmlInput?eu:void 0},...ea});return(0,x.jsxs)(w,{className:(0,i.Z)(Y.root,c),disabled:g,error:v,fullWidth:k,ref:t,required:L,color:d,variant:G,ownerState:X,...K,children:[null!=O&&""!==O&&(0,x.jsx)(el,{htmlFor:J,id:ee,...es,children:O}),_?(0,x.jsx)(ef,{"aria-describedby":Q,id:J,labelId:ee,value:V,input:eh,...em,children:u}):eh,E&&(0,x.jsx)(ed,{id:Q,...ep,children:E})]})})},99140:function(e,t,r){r.d(t,{Z:()=>b});var n=r(54538),i=r(82267),o=r(51640),a=r(73037),l=r(12709),s=r(18817),u=r(36683),c=r(14544),d=r(44124),p=r(6749);function f(e){return(0,p.ZP)("PrivateSwitchBase",e)}(0,d.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=r(16351),h=r(24246);let g=(0,l.ZP)(c.Z)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),v=(0,l.ZP)("input",{shouldForwardProp:a.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),b=n.forwardRef(function(e,t){let{autoFocus:r,checked:n,checkedIcon:a,defaultChecked:l,disabled:c,disableFocusRipple:d=!1,edge:p=!1,icon:b,id:y,inputProps:x,inputRef:Z,name:w,onBlur:S,onChange:k,onFocus:E,readOnly:P,required:R=!1,tabIndex:C,type:$,value:M,slots:O={},slotProps:N={},...T}=e,[B,F]=(0,s.Z)({controlled:n,default:!!l,name:"SwitchBase",state:"checked"}),j=(0,u.Z)(),I=c;j&&void 0===I&&(I=j.disabled);let D="checkbox"===$||"radio"===$,A={...e,checked:B,disabled:I,disableFocusRipple:d,edge:p},L=(e=>{let{classes:t,checked:r,disabled:n,edge:a}=e,l={root:["root",r&&"checked",n&&"disabled",a&&`edge${(0,o.Z)(a)}`],input:["input"]};return(0,i.Z)(l,f,t)})(A),z={slots:O,slotProps:{input:x,...N}},[_,W]=(0,m.Z)("root",{ref:t,elementType:g,className:L.root,shouldForwardComponentProp:!0,externalForwardedProps:{...z,component:"span",...T},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),E&&E(t),j&&j.onFocus&&j.onFocus(t)},onBlur:t=>{e.onBlur?.(t),S&&S(t),j&&j.onBlur&&j.onBlur(t)}}),ownerState:A,additionalProps:{centerRipple:!0,focusRipple:!d,disabled:I,role:void 0,tabIndex:null}}),[U,H]=(0,m.Z)("input",{ref:Z,elementType:v,className:L.input,externalForwardedProps:z,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;F(t),k&&k(e,t)})(t)}}),ownerState:A,additionalProps:{autoFocus:r,checked:n,defaultChecked:l,disabled:I,id:D?y:void 0,name:w,readOnly:P,required:R,tabIndex:C,type:$,..."checkbox"===$&&void 0===M?{}:{value:M}}});return(0,h.jsxs)(_,{...W,children:[(0,h.jsx)(U,{...H}),B?a:b]})})},97686:function(e,t,r){r.d(t,{Z:()=>o}),r(54538);var n=r(90247),i=r(24246);let o=(0,n.Z)((0,i.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},94776:function(e,t,r){r.d(t,{Z:()=>a}),r(54538);var n=r(38971),i=r(53126),o=r(92994);function a(){let e=(0,n.Z)(i.Z);return e[o.Z]||e}},42777:function(e,t,r){r.d(t,{C:()=>i,n:()=>n});let n=e=>e.scrollTop;function i(e,t){let{timeout:r,easing:n,style:i={}}=e;return{duration:i.transitionDuration??("number"==typeof r?r:r[t.mode]||0),easing:i.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:i.transitionDelay}}},90433:function(e,t,r){r.d(t,{Z:()=>n});function n(e=[]){return([,t])=>t&&function(e,t=[]){if("string"!=typeof e.main)return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}},77999:function(e,t,r){r.d(t,{Z:()=>n});let n=r(24384).Z},88653:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e){return"string"==typeof e}},70777:function(e,t,r){r.d(t,{Z:()=>n});let n=r(11104).Z},27834:function(e,t,r){r.d(t,{Z:()=>i});var n=r(90496);function i(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return r=>{let i="function"==typeof t?t(r):t,o="function"==typeof e?e({...r,...i}):e,a=(0,n.Z)(r?.className,i?.className,o?.className);return{...i,...o,...!!a&&{className:a},...i?.style&&o?.style&&{style:{...i.style,...o.style}},...i?.sx&&o?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};let r=(0,n.Z)(t?.className,e?.className);return{...t,...e,...!!r&&{className:r},...t?.style&&e?.style&&{style:{...t.style,...e.style}},...t?.sx&&e?.sx&&{sx:[...Array.isArray(t.sx)?t.sx:[t.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}},2444:function(e,t,r){r.d(t,{Z:()=>n});let n=r(80668).Z},24255:function(e,t,r){r.d(t,{Z:()=>n});let n=r(33205).Z},18817:function(e,t,r){r.d(t,{Z:()=>n});let n=r(9831).Z},16758:function(e,t,r){r.d(t,{Z:()=>n});let n=r(96858).Z},67151:function(e,t,r){r.d(t,{Z:()=>n});let n=r(81925).Z},51183:function(e,t,r){r.d(t,{Z:()=>n});let n=r(97048).Z},16351:function(e,t,r){r.d(t,{Z:()=>l});var n=r(97048),i=r(60206),o=r(85480),a=r(92729);function l(e,t){let{className:r,elementType:l,ownerState:s,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:d=!1,...p}=t,{component:f,slots:m={[e]:void 0},slotProps:h={[e]:void 0},...g}=u,v=m[e]||l,b=(0,o.Z)(h[e],s),{props:{component:y,...x},internalRef:Z}=(0,a.Z)({className:r,...p,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:b}),w=(0,n.Z)(Z,b?.ref,t.ref),S="root"===e?y||f:y,k=(0,i.Z)(v,{..."root"===e&&!f&&!m[e]&&c,..."root"!==e&&!m[e]&&c,...x,...S&&!d&&{as:S},...S&&d&&{component:S},ref:w},s);return[v,k]}},32543:function(e,t,r){r.d(t,{zY:()=>p,u7:()=>f}),r(54538);var n=r(93772),i=r(72116),o=r(24246);function a(e){let{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,o.jsx)(i.Global,{styles:n})}var l=r(38971);let s=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,l.Z)(r),i="function"==typeof e?e(t&&n[t]||n):e;return(0,o.jsx)(a,{styles:i})};var u=r(53126),c=r(92994);let d=function(e){return(0,o.jsx)(s,{...e,defaultTheme:u.Z,themeId:c.Z})};function p(e){return function(t){return(0,o.jsx)(d,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function f(){return n.Z}},6595:function(e,t,r){r.d(t,{V:()=>o});var n=r(54538);r(24246);let i=n.createContext(),o=()=>n.useContext(i)??!1},79886:function(e,t,r){r.d(t,{Z:()=>y});var n=r(54538),i=r(90496),o=r(61170),a=r(6749),l=r(82267),s=r(4560),u=r(22179),c=r(93772),d=r(6798),p=r(13890),f=r(82664),m=r(24246);let h=(0,d.Z)(),g=(0,s.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function v(e){return(0,u.Z)({props:e,name:"MuiStack",defaultTheme:h})}let b=({ownerState:e,theme:t})=>{let r={display:"flex",flexDirection:"column",...(0,p.k9)({theme:t},(0,p.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let n=(0,f.hB)(t),i=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),a=(0,p.P$)({values:e.direction,base:i}),l=(0,p.P$)({values:e.spacing,base:i});"object"==typeof a&&Object.keys(a).forEach((e,t,r)=>{if(!a[e]){let n=t>0?a[r[t-1]]:"column";a[e]=n}}),r=(0,o.Z)(r,(0,p.k9)({theme:t},l,(t,r)=>e.useFlexGap?{gap:(0,f.NA)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[r?a[r]:e.direction]}`]:(0,f.NA)(n,t)}}))}return(0,p.dt)(t.breakpoints,r)};function y(e={}){let{createStyledComponent:t=g,useThemeProps:r=v,componentName:o="MuiStack"}=e,s=t(b);return n.forwardRef(function(e,t){let u=r(e),{component:d="div",direction:p="column",spacing:f=0,divider:h,children:g,className:v,useFlexGap:b=!1,...y}=(0,c.Z)(u),x=(0,l.Z)({root:["root"]},e=>(0,a.ZP)(o,e),{});return(0,m.jsx)(s,{as:d,ownerState:{direction:p,spacing:f,useFlexGap:b},ref:t,className:(0,i.Z)(x.root,v),...y,children:h?function(e,t){let r=n.Children.toArray(e).filter(Boolean);return r.reduce((e,i,o)=>(e.push(i),o<r.length-1&&e.push(n.cloneElement(t,{key:`separator-${o}`})),e),[])}(g,h):g})})}},93772:function(e,t,r){r.d(t,{Z:()=>o});var n=r(61170),i=r(40273);function o(e){let t,{sx:r,...o}=e,{systemProps:a,otherProps:l}=(e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??i.Z;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t})(o);return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,n.P)(t)?{...a,...t}:a}:{...a,...r},{...l,sx:t}}},4560:function(e,t,r){r.d(t,{Z:()=>n});let n=(0,r(35315).ZP)()},38971:function(e,t,r){r.d(t,{Z:()=>a});var n=r(6798),i=r(24105);let o=(0,n.Z)(),a=function(e=o){return(0,i.Z)(e)}},49267:function(e,t,r){r.d(t,{Z:()=>i});var n=r(16819);function i(e){let{theme:t,name:r,props:i}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,i):i}},22179:function(e,t,r){r.d(t,{Z:()=>o});var n=r(49267),i=r(38971);function o({props:e,name:t,defaultTheme:r,themeId:o}){let a=(0,i.Z)(r);return o&&(a=a[o]||a),(0,n.Z)({theme:a,name:t,props:e})}},24105:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538),i=r(72116);let o=function(e=null){let t=n.useContext(i.ThemeContext);return t&&0!==Object.keys(t).length?t:e}},60206:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t,r){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...r}}}},38543:function(e,t,r){r.d(t,{Z:()=>n});function n(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}},24384:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t=166){let r;function i(...n){let o=()=>{e.apply(this,n)};clearTimeout(r),r=setTimeout(o,t)}return i.clear=()=>{clearTimeout(r)},i}},92438:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}},94680:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);function i(e){return parseInt(n.version,10)>=19?e?.props?.ref||null:e?.ref||null}},16046:function(e,t,r){r.d(t,{Z:()=>n});function n(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}},74111:function(e,t,r){r.d(t,{Z:()=>n});function n(e){try{return e.matches(":focus-visible")}catch(e){}return!1}},11104:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);function i(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}},92729:function(e,t,r){r.d(t,{Z:()=>a});var n=r(90496),i=r(92438);let o=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},a=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:a,externalForwardedProps:l,className:s}=e;if(!t){let e=(0,n.Z)(r?.className,s,l?.className,a?.className),t={...r?.style,...l?.style,...a?.style},i={...r,...l,...a};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}let u=(0,i.Z)({...l,...a}),c=o(a),d=o(l),p=t(u),f=(0,n.Z)(p?.className,r?.className,s,l?.className,a?.className),m={...p?.style,...r?.style,...l?.style,...a?.style},h={...p,...r,...d,...c};return f.length>0&&(h.className=f),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:p.ref}}},80668:function(e,t,r){r.d(t,{Z:()=>n});function n(e){return e&&e.ownerDocument||document}},33205:function(e,t,r){r.d(t,{Z:()=>i});var n=r(80668);function i(e){return(0,n.Z)(e).defaultView||window}},85480:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t,r){return"function"==typeof e?e(t,r):e}},85817:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},9831:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);function i({controlled:e,default:t,name:r,state:i="value"}){let{current:o}=n.useRef(void 0!==e),[a,l]=n.useState(t),s=n.useCallback(e=>{o||l(e)},[]);return[o?e:a,s]}},96858:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},81925:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538),i=r(96858);let o=function(e){let t=n.useRef(e);return(0,i.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},97048:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538),i=r(85817);function o(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,i.Z)(e,t)})},e)}},5056:function(e,t,r){r.d(t,{Z:()=>a});var n=r(54538);let i=0,o={...n}.useId;function a(e){if(void 0!==o){let t=o();return e??t}let[t,r]=n.useState(e),a=e||t;return n.useEffect(()=>{null==t&&(i+=1,r(`mui-${i}`))},[t]),a}},99565:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);let i={};function o(e,t){let r=n.useRef(i);return r.current===i&&(r.current=e(t)),r}},25399:function(e,t,r){r.d(t,{Z:()=>l});var n=r(97048),i=r(60206),o=r(92729),a=r(85480);let l=function(e){let{elementType:t,externalSlotProps:r,ownerState:l,skipResolvingSlotProps:s=!1,...u}=e,c=s?{}:(0,a.Z)(r,l),{props:d,internalRef:p}=(0,o.Z)({...u,externalSlotProps:c}),f=(0,n.Z)(p,c?.ref,e.additionalProps?.ref);return(0,i.Z)(t,{...d,ref:f},l)}},47126:function(e,t,r){r.d(t,{V:()=>a,Z:()=>l});var n=r(99565),i=r(54538);let o=[];class a{static create(){return new a}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}function l(){var e;let t=(0,n.Z)(a.create).current;return e=t.disposeEffect,i.useEffect(e,o),t}},20147:function(e,t,r){r.d(t,{$:()=>n});let n=3},1148:function(e,t,r){r.d(t,{Bw:()=>er,lO:()=>eu,hv:()=>en,Yi:()=>eo,JZ:()=>ef,Fc:()=>es,PX:()=>el,Bl:()=>et,M$:()=>ee,N9:()=>ei,Ay:()=>ep,__:()=>ec,Fp:()=>ed,mb:()=>ea});var n,i,o,a,l,s,u,c,d,p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function f(){if(l)return a;l=1;let e=[{key:"ZiB",factor:11805916207174113e5},{key:"ZB",factor:1e21},{key:"YiB",factor:12089258196146292e8},{key:"YB",factor:1e24},{key:"TiB",factor:0x10000000000},{key:"TB",factor:1e12},{key:"PiB",factor:0x4000000000000},{key:"PB",factor:1e15},{key:"MiB",factor:1048576},{key:"MB",factor:1e6},{key:"KiB",factor:1024},{key:"KB",factor:1e3},{key:"GiB",factor:0x40000000},{key:"GB",factor:1e9},{key:"EiB",factor:0x1000000000000000},{key:"EB",factor:1e18},{key:"B",factor:1}];function t(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}return a={unformat:function(r,n){let i,o=g(),a=o.currentDelimiters(),l=o.currentCurrency().symbol,s=o.currentOrdinal(),u=o.getZeroFormat(),c=o.currentAbbreviations();if("string"==typeof r)if(function(e,t){if(!(e.indexOf(":")&&":"!==t.thousands))return!1;let r=e.split(":");if(3!==r.length)return!1;let n=+r[0],i=+r[1],o=+r[2];return!isNaN(n)&&!isNaN(i)&&!isNaN(o)}(r,a)){let e,t,n;t=+(e=r.split(":"))[0],n=+e[1],i=+e[2]+60*n+3600*t}else i=function(r,n,i="",o,a,l,s){if(""!==r)return r===a?0:function r(n,i,o,a,l,s,u){if(!isNaN(+n))return+n;let c="",d=n.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(d!==n)return -1*r(d,i,o,a,l,s);for(let t=0;t<e.length;t++){let u=e[t];if((c=n.replace(RegExp(`([0-9 ])(${u.key})$`),"$1"))!==n)return r(c,i,o,a,l,s)*u.factor}if((c=n.replace("%",""))!==n)return r(c,i,o,a,l,s)/100;let p=parseFloat(n);if(isNaN(p))return;let f=a(p);if(f&&"."!==f&&(c=n.replace(RegExp(`${t(f)}$`),""))!==n)return r(c,i,o,a,l,s);let m={};Object.keys(s).forEach(e=>{m[s[e]]=e});let h=Object.keys(m).sort().reverse(),g=h.length;for(let e=0;e<g;e++){let t=h[e],u=m[t];if((c=n.replace(t,""))!==n){let e;switch(u){case"thousand":e=1e3;break;case"million":e=1e6;break;case"billion":e=1e9;break;case"trillion":e=1e12}return r(c,i,o,a,l,s)*e}}}(r.replace(i,"").replace(RegExp(`([0-9])${t(n.thousands)}([0-9])`,"g"),"$1$2").replace(n.decimal,"."),n,i,o,a,l)}(r,a,l,s,u,c);else{if("number"!=typeof r)return;i=r}if(void 0!==i)return i}}}function m(){if(u)return s;u=1;let e=f(),t=/^[a-z]{2,3}(-[a-zA-Z]{4})?(-([A-Z]{2}|[0-9]{3}))?$/,r={output:{type:"string",validValues:["currency","percent","byte","time","ordinal","number"]},base:{type:"string",validValues:["decimal","binary","general"],restriction:(e,t)=>"byte"===t.output,message:"`base` must be provided only when the output is `byte`",mandatory:e=>"byte"===e.output},characteristic:{type:"number",restriction:e=>e>=0,message:"value must be positive"},prefix:"string",postfix:"string",forceAverage:{type:"string",validValues:["trillion","billion","million","thousand"]},average:"boolean",lowPrecision:{type:"boolean",restriction:(e,t)=>!0===t.average,message:"`lowPrecision` must be provided only when the option `average` is set"},currencyPosition:{type:"string",validValues:["prefix","infix","postfix"]},currencySymbol:"string",totalLength:{type:"number",restrictions:[{restriction:e=>e>=0,message:"value must be positive"},{restriction:(e,t)=>!t.exponential,message:"`totalLength` is incompatible with `exponential`"}]},mantissa:{type:"number",restriction:e=>e>=0,message:"value must be positive"},optionalMantissa:"boolean",trimMantissa:"boolean",roundingFunction:"function",optionalCharacteristic:"boolean",thousandSeparated:"boolean",spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",spaceSeparatedAbbreviation:"boolean",abbreviations:{type:"object",children:{thousand:"string",million:"string",billion:"string",trillion:"string"}},negative:{type:"string",validValues:["sign","parenthesis"]},forceSign:"boolean",exponential:{type:"boolean"},prefixSymbol:{type:"boolean",restriction:(e,t)=>"percent"===t.output,message:"`prefixSymbol` can be provided only when the output is `percent`"}},n={languageTag:{type:"string",mandatory:!0,restriction:e=>e.match(t),message:"the language tag must follow the BCP 47 specification (see https://tools.ieft.org/html/bcp47)"},delimiters:{type:"object",children:{thousands:"string",decimal:"string",thousandsSize:"number"},mandatory:!0},abbreviations:{type:"object",children:{thousand:{type:"string",mandatory:!0},million:{type:"string",mandatory:!0},billion:{type:"string",mandatory:!0},trillion:{type:"string",mandatory:!0}},mandatory:!0},spaceSeparated:"boolean",spaceSeparatedCurrency:"boolean",ordinal:{type:"function",mandatory:!0},bytes:{type:"object",children:{binarySuffixes:"object",decimalSuffixes:"object"}},currency:{type:"object",children:{symbol:"string",position:"string",code:"string"},mandatory:!0},defaults:"format",ordinalFormat:"format",byteFormat:"format",percentageFormat:"format",currencyFormat:"format",timeDefaults:"format",formats:{type:"object",children:{fourDigits:{type:"format",mandatory:!0},fullWithTwoDecimals:{type:"format",mandatory:!0},fullWithTwoDecimalsNoCurrency:{type:"format",mandatory:!0},fullWithNoDecimals:{type:"format",mandatory:!0}}}};function i(t){return void 0!==e.unformat(t)}function o(e,t,n,i=!1){let a=Object.keys(e).map(i=>{if(!t[i])return console.error(`${n} Invalid key: ${i}`),!1;let a=e[i],l=t[i];if("string"==typeof l&&(l={type:l}),"format"===l.type){if(!o(a,r,`[Validate ${i}]`,!0))return!1}else if(typeof a!==l.type)return console.error(`${n} ${i} type mismatched: "${l.type}" expected, "${typeof a}" provided`),!1;if(l.restrictions&&l.restrictions.length){let t=l.restrictions.length;for(let r=0;r<t;r++){let{restriction:t,message:o}=l.restrictions[r];if(!t(a,e))return console.error(`${n} ${i} invalid value: ${o}`),!1}}return l.restriction&&!l.restriction(a,e)?(console.error(`${n} ${i} invalid value: ${l.message}`),!1):l.validValues&&-1===l.validValues.indexOf(a)?(console.error(`${n} ${i} invalid value: must be among ${JSON.stringify(l.validValues)}, "${a}" provided`),!1):(!l.children||!!o(a,l.children,`[Validate ${i}]`))&&!0});return i||a.push(...Object.keys(t).map(r=>{let i=t[r];if("string"==typeof i&&(i={type:i}),i.mandatory){let t=i.mandatory;if("function"==typeof t&&(t=t(e)),t&&void 0===e[r])return console.error(`${n} Missing mandatory key "${r}"`),!1}return!0})),a.reduce((e,t)=>e&&t,!0)}function a(e){return o(e,r,"[Validate format]")}return s={validate:function(e,t){let r=i(e),n=a(t);return r&&n},validateFormat:a,validateInput:i,validateLanguage:function(e){return o(e,n,"[Validate language]")}}}var h=function(e,t={}){var r,n,i,o,a,l;let s,u,c,d;if("string"!=typeof e)return e;n=e=(s=(r=e).match(/^{([^}]*)}/))?(t.prefix=s[1],r.slice(s[0].length)):r,function(e,t){if(-1!==e.indexOf("$")){t.output="currency";return}if(-1!==e.indexOf("%")){t.output="percent";return}if(-1!==e.indexOf("bd")){t.output="byte",t.base="general";return}if(-1!==e.indexOf("b")){t.output="byte",t.base="binary";return}if(-1!==e.indexOf("d")){t.output="byte",t.base="decimal";return}if(-1!==e.indexOf(":")){t.output="time";return}-1!==e.indexOf("o")&&(t.output="ordinal")}(e=(u=n.match(/{([^}]*)}$/))?(t.postfix=u[1],n.slice(0,-u[0].length)):n,t),(c=e.match(/[1-9]+[0-9]*/))&&(t.totalLength=+c[0]),(d=e.split(".")[0].match(/0+/))&&(t.characteristic=d[0].length),-1!==(i=e).indexOf(".")&&(t.optionalCharacteristic=-1===i.split(".")[0].indexOf("0")),-1!==e.indexOf("a")&&(t.average=!0),-1!==(o=e).indexOf("K")?t.forceAverage="thousand":-1!==o.indexOf("M")?t.forceAverage="million":-1!==o.indexOf("B")?t.forceAverage="billion":-1!==o.indexOf("T")&&(t.forceAverage="trillion");let p=e.split(".")[1];if(p){let e=p.match(/0+/);e&&(t.mantissa=e[0].length)}(a=e).match(/\[\.]/)?t.optionalMantissa=!0:a.match(/\./)&&(t.optionalMantissa=!1);let f=e.split(".")[1];return f&&(t.trimMantissa=-1!==f.indexOf("[")),-1!==e.indexOf(",")&&(t.thousandSeparated=!0),-1!==e.indexOf(" ")&&(t.spaceSeparated=!0,t.spaceSeparatedCurrency=!0,(t.average||t.forceAverage)&&(t.spaceSeparatedAbbreviation=!0)),(l=e).match(/^\+?\([^)]*\)$/)&&(t.negative="parenthesis"),l.match(/^\+?-/)&&(t.negative="sign"),e.match(/^\+/)&&(t.forceSign=!0),t};function g(){let e;if(d)return c;d=1;let t=o?i:(o=1,i={languageTag:"en-US",delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},spaceSeparated:!1,ordinal:function(e){let t=e%10;return 1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"},bytes:{binarySuffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],decimalSuffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},currency:{symbol:"$",position:"prefix",code:"USD"},currencyFormat:{thousandSeparated:!0,totalLength:4,spaceSeparated:!0,spaceSeparatedCurrency:!0},formats:{fourDigits:{totalLength:4,spaceSeparated:!0},fullWithTwoDecimals:{output:"currency",thousandSeparated:!0,mantissa:2},fullWithTwoDecimalsNoCurrency:{thousandSeparated:!0,mantissa:2},fullWithNoDecimals:{output:"currency",thousandSeparated:!0,mantissa:0}}}),r=m(),n={},a={},l=null,s={};function u(){return a[e]}return n.languages=()=>Object.assign({},a),n.currentLanguage=()=>e,n.currentBytes=()=>u().bytes||{},n.currentCurrency=()=>u().currency,n.currentAbbreviations=()=>u().abbreviations,n.currentDelimiters=()=>u().delimiters,n.currentOrdinal=()=>u().ordinal,n.currentDefaults=()=>Object.assign({},u().defaults,s),n.currentOrdinalDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().ordinalFormat),n.currentByteDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().byteFormat),n.currentPercentageDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().percentageFormat),n.currentCurrencyDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().currencyFormat),n.currentTimeDefaultFormat=()=>Object.assign({},n.currentDefaults(),u().timeFormat),n.setDefaults=e=>{e=h(e),r.validateFormat(e)&&(s=e)},n.getZeroFormat=()=>l,n.setZeroFormat=e=>l="string"==typeof e?e:null,n.hasZeroFormat=()=>null!==l,n.languageData=e=>{if(e){if(a[e])return a[e];throw Error(`Unknown tag "${e}"`)}return u()},n.registerLanguage=(t,n=!1)=>{if(!r.validateLanguage(t))throw Error("Invalid language data");a[t.languageTag]=t,n&&(e=t.languageTag)},n.setLanguage=(r,n=t.languageTag)=>{if(!a[r]){let t=r.split("-")[0],i=Object.keys(a).find(e=>e.split("-")[0]===t);return a[i]?void(e=i):void(e=n)}e=r},n.registerLanguage(t),e=t.languageTag,c=n}var v={exports:{}};(function(e){var t,r=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,n=Math.ceil,i=Math.floor,o="[BigNumber Error] ",a=o+"Number primitive has more than 15 significant digits: ",l=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13];function s(e){var t=0|e;return e>0||e===t?t:t-1}function u(e){for(var t,r,n=1,i=e.length,o=e[0]+"";n<i;){for(r=14-(t=e[n++]+"").length;r--;t="0"+t);o+=t}for(i=o.length;48===o.charCodeAt(--i););return o.slice(0,i+1||1)}function c(e,t){var r,n,i=e.c,o=t.c,a=e.s,l=t.s,s=e.e,u=t.e;if(!a||!l)return null;if(r=i&&!i[0],n=o&&!o[0],r||n)return r?n?0:-l:a;if(a!=l)return a;if(r=a<0,n=s==u,!i||!o)return n?0:!i^r?1:-1;if(!n)return s>u^r?1:-1;for(a=0,l=(s=i.length)<(u=o.length)?s:u;a<l;a++)if(i[a]!=o[a])return i[a]>o[a]^r?1:-1;return s==u?0:s>u^r?1:-1}function d(e,t,r,n){if(e<t||e>r||e!==i(e))throw Error(o+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function p(e){var t=e.c.length-1;return s(e.e/14)==t&&e.c[t]%2!=0}function f(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function m(e,t,r){var n,i;if(t<0){for(i=r+".";++t;i+=r);e=i+e}else if(n=e.length,++t>n){for(i=r,t-=n;--t;i+=r);e+=i}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(t=function e(t){var h,g,v,b,y,x,Z,w,S,k=D.prototype={constructor:D,toString:null,valueOf:null},E=new D(1),P=20,R=4,C=-7,$=21,M=-1e7,O=1e7,N=!1,T=1,B=0,F={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},j="0123456789abcdefghijklmnopqrstuvwxyz",I=!0;function D(e,t){var n,o,l,s,u,c,p,f,m=this;if(!(m instanceof D))return new D(e,t);if(null==t){if(e&&!0===e._isBigNumber){m.s=e.s,!e.c||e.e>O?m.c=m.e=null:e.e<M?m.c=[m.e=0]:(m.e=e.e,m.c=e.c.slice());return}if((c="number"==typeof e)&&0*e==0){if(m.s=1/e<0?(e=-e,-1):1,e===~~e){for(s=0,u=e;u>=10;u/=10,s++);s>O?m.c=m.e=null:(m.e=s,m.c=[e]);return}f=String(e)}else{if(!r.test(f=String(e)))return S(m,f,c);m.s=45==f.charCodeAt(0)?(f=f.slice(1),-1):1}(s=f.indexOf("."))>-1&&(f=f.replace(".","")),(u=f.search(/e/i))>0?(s<0&&(s=u),s+=+f.slice(u+1),f=f.substring(0,u)):s<0&&(s=f.length)}else{if(d(t,2,j.length,"Base"),10==t&&I)return _(m=new D(e),P+m.e+1,R);if(f=String(e),c="number"==typeof e){if(0*e!=0)return S(m,f,c,t);if(m.s=1/e<0?(f=f.slice(1),-1):1,D.DEBUG&&f.replace(/^0\.0*|\./,"").length>15)throw Error(a+e)}else m.s=45===f.charCodeAt(0)?(f=f.slice(1),-1):1;for(n=j.slice(0,t),s=u=0,p=f.length;u<p;u++)if(0>n.indexOf(o=f.charAt(u))){if("."==o){if(u>s){s=p;continue}}else if(!l&&(f==f.toUpperCase()&&(f=f.toLowerCase())||f==f.toLowerCase()&&(f=f.toUpperCase()))){l=!0,u=-1,s=0;continue}return S(m,String(e),c,t)}c=!1,(s=(f=w(f,t,10,m.s)).indexOf("."))>-1?f=f.replace(".",""):s=f.length}for(u=0;48===f.charCodeAt(u);u++);for(p=f.length;48===f.charCodeAt(--p););if(f=f.slice(u,++p)){if(p-=u,c&&D.DEBUG&&p>15&&(e>0x1fffffffffffff||e!==i(e)))throw Error(a+m.s*e);if((s=s-u-1)>O)m.c=m.e=null;else if(s<M)m.c=[m.e=0];else{if(m.e=s,m.c=[],u=(s+1)%14,s<0&&(u+=14),u<p){for(u&&m.c.push(+f.slice(0,u)),p-=14;u<p;)m.c.push(+f.slice(u,u+=14));u=14-(f=f.slice(u)).length}else u-=p;for(;u--;f+="0");m.c.push(+f)}}else m.c=[m.e=0]}function A(e,t,r,n){var i,o,a,l,s;if(null==r?r=R:d(r,0,8),!e.c)return e.toString();if(i=e.c[0],a=e.e,null==t)s=u(e.c),s=1==n||2==n&&(a<=C||a>=$)?f(s,a):m(s,a,"0");else if(o=(e=_(new D(e),t,r)).e,l=(s=u(e.c)).length,1==n||2==n&&(t<=o||o<=C)){for(;l<t;s+="0",l++);s=f(s,o)}else if(t-=a,s=m(s,o,"0"),o+1>l){if(--t>0)for(s+=".";t--;s+="0");}else if((t+=o-l)>0)for(o+1==l&&(s+=".");t--;s+="0");return e.s<0&&i?"-"+s:s}function L(e,t){for(var r,n,i=1,o=new D(e[0]);i<e.length;i++)(n=new D(e[i])).s&&(r=c(o,n))!==t&&(0!==r||o.s!==t)||(o=n);return o}function z(e,t,r){for(var n=1,i=t.length;!t[--i];t.pop());for(i=t[0];i>=10;i/=10,n++);return(r=n+14*r-1)>O?e.c=e.e=null:r<M?e.c=[e.e=0]:(e.e=r,e.c=t),e}function _(e,t,r,o){var a,s,u,c,d,p,f,m=e.c;if(m){e:{for(a=1,c=m[0];c>=10;c/=10,a++);if((s=t-a)<0)s+=14,u=t,f=i((d=m[p=0])/l[a-u-1]%10);else if((p=n((s+1)/14))>=m.length)if(o){for(;m.length<=p;m.push(0));d=f=0,a=1,s%=14,u=s-14+1}else break e;else{for(a=1,d=c=m[p];c>=10;c/=10,a++);s%=14,f=(u=s-14+a)<0?0:i(d/l[a-u-1]%10)}if(o=o||t<0||null!=m[p+1]||(u<0?d:d%l[a-u-1]),o=r<4?(f||o)&&(0==r||r==(e.s<0?3:2)):f>5||5==f&&(4==r||o||6==r&&(s>0?u>0?d/l[a-u]:0:m[p-1])%10&1||r==(e.s<0?8:7)),t<1||!m[0])return m.length=0,o?(t-=e.e+1,m[0]=l[(14-t%14)%14],e.e=-t||0):m[0]=e.e=0,e;if(0==s?(m.length=p,c=1,p--):(m.length=p+1,c=l[14-s],m[p]=u>0?i(d/l[a-u]%l[u])*c:0),o)for(;;)if(0==p){for(s=1,u=m[0];u>=10;u/=10,s++);for(u=m[0]+=c,c=1;u>=10;u/=10,c++);s!=c&&(e.e++,1e14==m[0]&&(m[0]=1));break}else{if(m[p]+=c,1e14!=m[p])break;m[p--]=0,c=1}for(s=m.length;0===m[--s];m.pop());}e.e>O?e.c=e.e=null:e.e<M&&(e.c=[e.e=0])}return e}function W(e){var t,r=e.e;return null===r?e.toString():(t=u(e.c),t=r<=C||r>=$?f(t,r):m(t,r,"0"),e.s<0?"-"+t:t)}return D.clone=e,D.ROUND_UP=0,D.ROUND_DOWN=1,D.ROUND_CEIL=2,D.ROUND_FLOOR=3,D.ROUND_HALF_UP=4,D.ROUND_HALF_DOWN=5,D.ROUND_HALF_EVEN=6,D.ROUND_HALF_CEIL=7,D.ROUND_HALF_FLOOR=8,D.EUCLID=9,D.config=D.set=function(e){var t,r;if(null!=e)if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(d(r=e[t],0,1e9,t),P=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(d(r=e[t],0,8,t),R=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(d(r[0],-1e9,0,t),d(r[1],0,1e9,t),C=r[0],$=r[1]):(d(r,-1e9,1e9,t),C=-($=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)d(r[0],-1e9,-1,t),d(r[1],1,1e9,t),M=r[0],O=r[1];else if(d(r,-1e9,1e9,t),r)M=-(O=r<0?-r:r);else throw Error(o+t+" cannot be zero: "+r);if(e.hasOwnProperty(t="CRYPTO"))if(!!(r=e[t])===r)if(r)if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))N=r;else throw N=!r,Error(o+"crypto unavailable");else N=r;else throw Error(o+t+" not true or false: "+r);if(e.hasOwnProperty(t="MODULO_MODE")&&(d(r=e[t],0,9,t),T=r),e.hasOwnProperty(t="POW_PRECISION")&&(d(r=e[t],0,1e9,t),B=r),e.hasOwnProperty(t="FORMAT"))if("object"==typeof(r=e[t]))F=r;else throw Error(o+t+" not an object: "+r);if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(o+t+" invalid: "+r);I="0123456789"==r.slice(0,10),j=r}}else throw Error(o+"Object expected: "+e);return{DECIMAL_PLACES:P,ROUNDING_MODE:R,EXPONENTIAL_AT:[C,$],RANGE:[M,O],CRYPTO:N,MODULO_MODE:T,POW_PRECISION:B,FORMAT:F,ALPHABET:j}},D.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!D.DEBUG)return!0;var t,r,n=e.c,a=e.e,l=e.s;e:if("[object Array]"==({}).toString.call(n)){if((1===l||-1===l)&&a>=-1e9&&a<=1e9&&a===i(a)){if(0===n[0]){if(0===a&&1===n.length)return!0;break e}if((t=(a+1)%14)<1&&(t+=14),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=1e14||r!==i(r))break e;if(0!==r)return!0}}}else if(null===n&&null===a&&(null===l||1===l||-1===l))return!0;throw Error(o+"Invalid BigNumber: "+e)},D.maximum=D.max=function(){return L(arguments,-1)},D.minimum=D.min=function(){return L(arguments,1)},h=0x20000000000000*Math.random()&2097151?function(){return i(0x20000000000000*Math.random())}:function(){return(0x40000000*Math.random()|0)*8388608+(8388608*Math.random()|0)},D.random=function(e){var t,r,a,s,u,c=0,p=[],f=new D(E);if(null==e?e=P:d(e,0,1e9),s=n(e/14),N)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(s*=2));c<s;)(u=131072*t[c]+(t[c+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[c]=r[0],t[c+1]=r[1]):(p.push(u%1e14),c+=2);c=s/2}else if(crypto.randomBytes){for(t=crypto.randomBytes(s*=7);c<s;)(u=(31&t[c])*0x1000000000000+0x10000000000*t[c+1]+0x100000000*t[c+2]+0x1000000*t[c+3]+(t[c+4]<<16)+(t[c+5]<<8)+t[c+6])>=9e15?crypto.randomBytes(7).copy(t,c):(p.push(u%1e14),c+=7);c=s/7}else throw N=!1,Error(o+"crypto unavailable");if(!N)for(;c<s;)(u=h())<9e15&&(p[c++]=u%1e14);for(s=p[--c],e%=14,s&&e&&(u=l[14-e],p[c]=i(s/u)*u);0===p[c];p.pop(),c--);if(c<0)p=[a=0];else{for(a=-1;0===p[0];p.splice(0,1),a-=14);for(c=1,u=p[0];u>=10;u/=10,c++);c<14&&(a-=14-c)}return f.e=a,f.c=p,f},D.sum=function(){for(var e=1,t=arguments,r=new D(t[0]);e<t.length;)r=r.plus(t[e++]);return r},w=function(){var e="0123456789";function t(e,t,r,n){for(var i,o,a=[0],l=0,s=e.length;l<s;){for(o=a.length;o--;a[o]*=t);for(a[0]+=n.indexOf(e.charAt(l++)),i=0;i<a.length;i++)a[i]>r-1&&(null==a[i+1]&&(a[i+1]=0),a[i+1]+=a[i]/r|0,a[i]%=r)}return a.reverse()}return function(r,n,i,o,a){var l,s,c,d,p,f,h,g,v=r.indexOf("."),b=P,y=R;for(v>=0&&(d=B,B=0,r=r.replace(".",""),f=(g=new D(n)).pow(r.length-v),B=d,g.c=t(m(u(f.c),f.e,"0"),10,i,e),g.e=g.c.length),c=d=(h=t(r,n,i,a?(l=j,e):(l=e,j))).length;0==h[--d];h.pop());if(!h[0])return l.charAt(0);if(v<0?--c:(f.c=h,f.e=c,f.s=o,h=(f=Z(f,g,b,y,i)).c,p=f.r,c=f.e),v=h[s=c+b+1],d=i/2,p=p||s<0||null!=h[s+1],p=y<4?(null!=v||p)&&(0==y||y==(f.s<0?3:2)):v>d||v==d&&(4==y||p||6==y&&1&h[s-1]||y==(f.s<0?8:7)),s<1||!h[0])r=p?m(l.charAt(1),-b,l.charAt(0)):l.charAt(0);else{if(h.length=s,p)for(--i;++h[--s]>i;)h[s]=0,s||(++c,h=[1].concat(h));for(d=h.length;!h[--d];);for(v=0,r="";v<=d;r+=l.charAt(h[v++]));r=m(r,c,l.charAt(0))}return r}}(),Z=function(){function e(e,t,r){var n,i,o,a,l=0,s=e.length,u=t%1e7,c=t/1e7|0;for(e=e.slice();s--;)n=c*(o=e[s]%1e7)+(a=e[s]/1e7|0)*u,l=((i=u*o+n%1e7*1e7+l)/r|0)+(n/1e7|0)+c*a,e[s]=i%r;return l&&(e=[l].concat(e)),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=+(e[r]<t[r]),e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,o,a,l,u){var c,d,p,f,m,h,g,v,b,y,x,Z,w,S,k,E,P,R=n.s==o.s?1:-1,C=n.c,$=o.c;if(!C||!C[0]||!$||!$[0])return new D(!n.s||!o.s||(C?$&&C[0]==$[0]:!$)?NaN:C&&0==C[0]||!$?0*R:R/0);for(b=(v=new D(R)).c=[],R=a+(d=n.e-o.e)+1,u||(u=1e14,d=s(n.e/14)-s(o.e/14),R=R/14|0),p=0;$[p]==(C[p]||0);p++);if($[p]>(C[p]||0)&&d--,R<0)b.push(1),f=!0;else{for(S=C.length,E=$.length,p=0,R+=2,(m=i(u/($[0]+1)))>1&&($=e($,m,u),C=e(C,m,u),E=$.length,S=C.length),w=E,x=(y=C.slice(0,E)).length;x<E;y[x++]=0);P=[0].concat(P=$.slice()),k=$[0],$[1]>=u/2&&k++;do{if(m=0,(c=t($,y,E,x))<0){if(Z=y[0],E!=x&&(Z=Z*u+(y[1]||0)),(m=i(Z/k))>1)for(m>=u&&(m=u-1),g=(h=e($,m,u)).length,x=y.length;1==t(h,y,g,x);)m--,r(h,E<g?P:$,g,u),g=h.length,c=1;else 0==m&&(c=m=1),g=(h=$.slice()).length;if(g<x&&(h=[0].concat(h)),r(y,h,x,u),x=y.length,-1==c)for(;1>t($,y,E,x);)m++,r(y,E<x?P:$,x,u),x=y.length}else 0===c&&(m++,y=[0]);b[p++]=m,y[0]?y[x++]=C[w]||0:(y=[C[w]],x=1)}while((w++<S||null!=y[0])&&R--);f=null!=y[0],b[0]||b.splice(0,1)}if(1e14==u){for(p=1,R=b[0];R>=10;R/=10,p++);_(v,a+(v.e=p+14*d-1)+1,l,f)}else v.e=d,v.r=+f;return v}}(),g=/^(-?)0([xbo])(?=\w[\w.]*$)/i,v=/^([^.]+)\.$/,b=/^\.([^.]+)$/,y=/^-?(Infinity|NaN)$/,x=/^\s*\+(?=[\w.])|^\s+|\s+$/g,S=function(e,t,r,n){var i,a=r?t:t.replace(x,"");if(y.test(a))e.s=isNaN(a)?null:a<0?-1:1;else{if(!r&&(a=a.replace(g,function(e,t,r){return i="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=i?e:t}),n&&(i=n,a=a.replace(v,"$1").replace(b,"0.$1")),t!=a))return new D(a,i);if(D.DEBUG)throw Error(o+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},k.absoluteValue=k.abs=function(){var e=new D(this);return e.s<0&&(e.s=1),e},k.comparedTo=function(e,t){return c(this,new D(e,t))},k.decimalPlaces=k.dp=function(e,t){var r,n,i;if(null!=e)return d(e,0,1e9),null==t?t=R:d(t,0,8),_(new D(this),e+this.e+1,t);if(!(r=this.c))return null;if(n=((i=r.length-1)-s(this.e/14))*14,i=r[i])for(;i%10==0;i/=10,n--);return n<0&&(n=0),n},k.dividedBy=k.div=function(e,t){return Z(this,new D(e,t),P,R)},k.dividedToIntegerBy=k.idiv=function(e,t){return Z(this,new D(e,t),0,1)},k.exponentiatedBy=k.pow=function(e,t){var r,a,l,s,u,c,d,f,m,h=this;if((e=new D(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+W(e));if(null!=t&&(t=new D(t)),c=e.e>14,!h.c||!h.c[0]||1==h.c[0]&&!h.e&&1==h.c.length||!e.c||!e.c[0])return m=new D(Math.pow(+W(h),c?e.s*(2-p(e)):+W(e))),t?m.mod(t):m;if(d=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new D(NaN);(a=!d&&h.isInteger()&&t.isInteger())&&(h=h.mod(t))}else{if(e.e>9&&(h.e>0||h.e<-1||(0==h.e?h.c[0]>1||c&&h.c[1]>=24e7:h.c[0]<8e13||c&&h.c[0]<=9999975e7)))return s=h.s<0&&p(e)?-0:0,h.e>-1&&(s=1/s),new D(d?1/s:s);B&&(s=n(B/14+2))}for(c?(r=new D(.5),d&&(e.s=1),f=p(e)):f=(l=Math.abs(+W(e)))%2,m=new D(E);;){if(f){if(!(m=m.times(h)).c)break;s?m.c.length>s&&(m.c.length=s):a&&(m=m.mod(t))}if(l){if(0===(l=i(l/2)))break;f=l%2}else if(_(e=e.times(r),e.e+1,1),e.e>14)f=p(e);else{if(0==(l=+W(e)))break;f=l%2}h=h.times(h),s?h.c&&h.c.length>s&&(h.c.length=s):a&&(h=h.mod(t))}return a?m:(d&&(m=E.div(m)),t?m.mod(t):s?_(m,B,R,u):m)},k.integerValue=function(e){var t=new D(this);return null==e?e=R:d(e,0,8),_(t,t.e+1,e)},k.isEqualTo=k.eq=function(e,t){return 0===c(this,new D(e,t))},k.isFinite=function(){return!!this.c},k.isGreaterThan=k.gt=function(e,t){return c(this,new D(e,t))>0},k.isGreaterThanOrEqualTo=k.gte=function(e,t){return 1===(t=c(this,new D(e,t)))||0===t},k.isInteger=function(){return!!this.c&&s(this.e/14)>this.c.length-2},k.isLessThan=k.lt=function(e,t){return 0>c(this,new D(e,t))},k.isLessThanOrEqualTo=k.lte=function(e,t){return -1===(t=c(this,new D(e,t)))||0===t},k.isNaN=function(){return!this.s},k.isNegative=function(){return this.s<0},k.isPositive=function(){return this.s>0},k.isZero=function(){return!!this.c&&0==this.c[0]},k.minus=function(e,t){var r,n,i,o,a=this.s;if(t=(e=new D(e,t)).s,!a||!t)return new D(NaN);if(a!=t)return e.s=-t,this.plus(e);var l=this.e/14,u=e.e/14,c=this.c,d=e.c;if(!l||!u){if(!c||!d)return c?(e.s=-t,e):new D(d?this:NaN);if(!c[0]||!d[0])return d[0]?(e.s=-t,e):new D(c[0]?this:3==R?-0:0)}if(l=s(l),u=s(u),c=c.slice(),a=l-u){for((o=a<0)?(a=-a,i=c):(u=l,i=d),i.reverse(),t=a;t--;i.push(0));i.reverse()}else for(n=(o=(a=c.length)<(t=d.length))?a:t,a=t=0;t<n;t++)if(c[t]!=d[t]){o=c[t]<d[t];break}if(o&&(i=c,c=d,d=i,e.s=-e.s),(t=(n=d.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>a;){if(c[--n]<d[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=d[n]}for(;0==c[0];c.splice(0,1),--u);return c[0]?z(e,c,u):(e.s=3==R?-1:1,e.c=[e.e=0],e)},k.modulo=k.mod=function(e,t){var r,n;return(e=new D(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==T?(n=e.s,e.s=1,r=Z(this,e,0,3),e.s=n,r.s*=n):r=Z(this,e,0,T),(e=this.minus(r.times(e))).c[0]||1!=T||(e.s=this.s),e):new D(this):new D(NaN)},k.multipliedBy=k.times=function(e,t){var r,n,i,o,a,l,u,c,d,p,f,m,h,g=this.c,v=(e=new D(e,t)).c;if(!g||!v||!g[0]||!v[0])return this.s&&e.s&&(!g||g[0]||v)&&(!v||v[0]||g)?(e.s*=this.s,g&&v?(e.c=[0],e.e=0):e.c=e.e=null):e.c=e.e=e.s=null,e;for(n=s(this.e/14)+s(e.e/14),e.s*=this.s,(u=g.length)<(p=v.length)&&(h=g,g=v,v=h,i=u,u=p,p=i),i=u+p,h=[];i--;h.push(0));for(i=p;--i>=0;){for(r=0,f=v[i]%1e7,m=v[i]/1e7|0,o=i+(a=u);o>i;)l=m*(c=g[--a]%1e7)+(d=g[a]/1e7|0)*f,r=((c=f*c+l%1e7*1e7+h[o]+r)/1e14|0)+(l/1e7|0)+m*d,h[o--]=c%1e14;h[o]=r}return r?++n:h.splice(0,1),z(e,h,n)},k.negated=function(){var e=new D(this);return e.s=-e.s||null,e},k.plus=function(e,t){var r,n=this.s;if(t=(e=new D(e,t)).s,!n||!t)return new D(NaN);if(n!=t)return e.s=-t,this.minus(e);var i=this.e/14,o=e.e/14,a=this.c,l=e.c;if(!i||!o){if(!a||!l)return new D(n/0);if(!a[0]||!l[0])return l[0]?e:new D(a[0]?this:0*n)}if(i=s(i),o=s(o),a=a.slice(),n=i-o){for(n>0?(o=i,r=l):(n=-n,r=a),r.reverse();n--;r.push(0));r.reverse()}for((n=a.length)-(t=l.length)<0&&(r=l,l=a,a=r,t=n),n=0;t;)n=(a[--t]=a[t]+l[t]+n)/1e14|0,a[t]=1e14===a[t]?0:a[t]%1e14;return n&&(a=[n].concat(a),++o),z(e,a,o)},k.precision=k.sd=function(e,t){var r,n,i;if(null!=e&&!!e!==e)return d(e,1,1e9),null==t?t=R:d(t,0,8),_(new D(this),e,t);if(!(r=this.c))return null;if(n=14*(i=r.length-1)+1,i=r[i]){for(;i%10==0;i/=10,n--);for(i=r[0];i>=10;i/=10,n++);}return e&&this.e+1>n&&(n=this.e+1),n},k.shiftedBy=function(e){return d(e,-0x1fffffffffffff,0x1fffffffffffff),this.times("1e"+e)},k.squareRoot=k.sqrt=function(){var e,t,r,n,i,o=this.c,a=this.s,l=this.e,c=P+4,d=new D("0.5");if(1!==a||!o||!o[0])return new D(!a||a<0&&(!o||o[0])?NaN:o?this:1/0);if(0==(a=Math.sqrt(+W(this)))||a==1/0?(((t=u(o)).length+l)%2==0&&(t+="0"),a=Math.sqrt(+t),l=s((l+1)/2)-(l<0||l%2),r=new D(t=a==1/0?"5e"+l:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new D(a+""),r.c[0]){for((a=(l=r.e)+c)<3&&(a=0);;)if(i=r,r=d.times(i.plus(Z(this,i,c,1))),u(i.c).slice(0,a)===(t=u(r.c)).slice(0,a)){if(r.e<l&&--a,"9999"!=(t=t.slice(a-3,a+1))&&(n||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(_(r,r.e+P+2,1),e=!r.times(r).eq(this));break}if(!n&&(_(i,i.e+P+2,0),i.times(i).eq(this))){r=i;break}c+=4,a+=4,n=1}}return _(r,r.e+P+1,R,e)},k.toExponential=function(e,t){return null!=e&&(d(e,0,1e9),e++),A(this,e,t,1)},k.toFixed=function(e,t){return null!=e&&(d(e,0,1e9),e=e+this.e+1),A(this,e,t)},k.toFormat=function(e,t,r){var n;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=F;else if("object"!=typeof r)throw Error(o+"Argument not an object: "+r);if(n=this.toFixed(e,t),this.c){var i,a=n.split("."),l=+r.groupSize,s=+r.secondaryGroupSize,u=r.groupSeparator||"",c=a[0],d=a[1],p=this.s<0,f=p?c.slice(1):c,m=f.length;if(s&&(i=l,l=s,s=i,m-=i),l>0&&m>0){for(i=m%l||l,c=f.substr(0,i);i<m;i+=l)c+=u+f.substr(i,l);s>0&&(c+=u+f.slice(i)),p&&(c="-"+c)}n=d?c+(r.decimalSeparator||"")+((s=+r.fractionGroupSize)?d.replace(RegExp("\\d{"+s+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):d):c}return(r.prefix||"")+n+(r.suffix||"")},k.toFraction=function(e){var t,r,n,i,a,s,c,d,p,f,m,h,g=this.c;if(null!=e&&(!(c=new D(e)).isInteger()&&(c.c||1!==c.s)||c.lt(E)))throw Error(o+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+W(c));if(!g)return new D(this);for(t=new D(E),p=r=new D(E),n=d=new D(E),h=u(g),a=t.e=h.length-this.e-1,t.c[0]=l[(s=a%14)<0?14+s:s],e=!e||c.comparedTo(t)>0?a>0?t:p:c,s=O,O=1/0,c=new D(h),d.c[0]=0;f=Z(c,t,0,1),1!=(i=r.plus(f.times(n))).comparedTo(e);)r=n,n=i,p=d.plus(f.times(i=p)),d=i,t=c.minus(f.times(i=t)),c=i;return i=Z(e.minus(r),n,0,1),d=d.plus(i.times(p)),r=r.plus(i.times(n)),d.s=p.s=this.s,a*=2,m=1>Z(p,n,a,R).minus(this).abs().comparedTo(Z(d,r,a,R).minus(this).abs())?[p,n]:[d,r],O=s,m},k.toNumber=function(){return+W(this)},k.toPrecision=function(e,t){return null!=e&&d(e,1,1e9),A(this,e,t,2)},k.toString=function(e){var t,r=this,n=r.s,i=r.e;return null===i?n?(t="Infinity",n<0&&(t="-"+t)):t="NaN":(null==e?t=i<=C||i>=$?f(u(r.c),i):m(u(r.c),i,"0"):10===e&&I?t=m(u((r=_(new D(r),P+i+1,R)).c),r.e,"0"):(d(e,2,j.length,"Base"),t=w(m(u(r.c),i,"0"),10,e,n,!0)),n<0&&r.c[0]&&(t="-"+t)),t},k.valueOf=k.toJSON=function(){return W(this)},k._isBigNumber=!0,null!=t&&D.set(t),D}()).default=t.BigNumber=t,v.exports?v.exports=t:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=t)})(p);var b=v.exports;let y=g(),x=m(),Z={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},w={totalLength:0,characteristic:0,forceAverage:!1,average:!1,mantissa:-1,optionalMantissa:!0,thousandSeparated:!1,spaceSeparated:!1,negative:"sign",forceSign:!1,roundingFunction:Math.round,spaceSeparatedAbbreviation:!1},{binarySuffixes:S,decimalSuffixes:k}=y.currentBytes(),E={scale:1024,suffixes:k,marker:"bd"},P={scale:1024,suffixes:S,marker:"b"},R={scale:1e3,suffixes:k,marker:"d"};function C(e,t,r){let n=t[0],i=Math.abs(e);if(i>=r){for(let o=1;o<t.length;++o){let a=Math.pow(r,o),l=Math.pow(r,o+1);if(i>=a&&i<l){n=t[o],e/=a;break}}n===t[0]&&(e/=Math.pow(r,t.length-1),n=t[t.length-1])}return{value:e,suffix:n}}function $(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function M({instance:e,providedFormat:t,state:r=y,decimalSeparator:n,defaults:i=r.currentDefaults()}){var o,a;let l=e._value;if(0===l&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(l))return l.toString();let s=Object.assign({},w,i,t),u=s.totalLength,c=u?0:s.characteristic,d=s.optionalCharacteristic,p=s.forceAverage,f=s.lowPrecision,m=!!u||!!p||s.average,h=u?-1:m&&void 0===t.mantissa?0:s.mantissa,g=!u&&(void 0===t.optionalMantissa?-1===h:s.optionalMantissa),v=s.trimMantissa,x=s.thousandSeparated,S=s.spaceSeparated,k=s.negative,E=s.forceSign,P=s.exponential,R=s.roundingFunction,C="";if(m){let e=function({value:e,forceAverage:t,lowPrecision:r=!0,abbreviations:n,spaceSeparated:i=!1,totalLength:o=0,roundingFunction:a=Math.round}){let l="",s=Math.abs(e),u=-1;if(t&&n[t]&&Z[t]?(l=n[t],e/=Z[t]):s>=Z.trillion||r&&1===a(s/Z.trillion)?(l=n.trillion,e/=Z.trillion):s<Z.trillion&&s>=Z.billion||r&&1===a(s/Z.billion)?(l=n.billion,e/=Z.billion):s<Z.billion&&s>=Z.million||r&&1===a(s/Z.million)?(l=n.million,e/=Z.million):(s<Z.million&&s>=Z.thousand||r&&1===a(s/Z.thousand))&&(l=n.thousand,e/=Z.thousand),l&&(l=(i?" ":"")+l),o){let t=e<0,r=e.toString().split(".")[0];u=Math.max(o-(t?r.length-1:r.length),0)}return{value:e,abbreviation:l,mantissaPrecision:u}}({value:l,forceAverage:p,lowPrecision:f,abbreviations:r.currentAbbreviations(),spaceSeparated:S,roundingFunction:R,totalLength:u});l=e.value,C+=e.abbreviation,u&&(h=e.mantissaPrecision)}if(P){let e=function({value:e,characteristicPrecision:t}){let[r,n]=e.toExponential().split("e"),i=+r;return t&&1<t&&(i*=Math.pow(10,t-1),n-=t-1,n=n>=0?`+${n}`:n),{value:i,abbreviation:`e${n}`}}({value:l,characteristicPrecision:c});l=e.value,C=e.abbreviation+C}let M=function(e,t,r,n,i,o){if(-1===n)return e;let a=function(e,t,r=Math.round){return -1!==e.toString().indexOf("e")?function(e,t){let r=e.toString(),[n,i]=r.split("e"),[o,a=""]=n.split(".");if(+i>0)r=o+a+$(i-a.length);else{let e=".";e=0>+o?`-0${e}`:`0${e}`;let n=($(-i-1)+Math.abs(o)+a).substr(0,t);n.length<t&&(n+=$(t-n.length)),r=e+n}return+i>0&&t>0&&(r+=`.${$(t)}`),r}(e,t):new b(r(+`${e}e+${t}`)/Math.pow(10,t)).toFixed(t)}(t,n,o),[l,s=""]=a.toString().split(".");if(s.match(/^0+$/)&&(r||i))return l;let u=s.match(/0+$/);return i&&u?`${l}.${s.toString().slice(0,u.index)}`:a.toString()}(l.toString(),l,g,h,v,R);return M=function(e,t,r,n,i){let o=n.currentDelimiters(),a=o.thousands;i=i||o.decimal;let l=o.thousandsSize||3,s=e.toString(),u=s.split(".")[0],c=s.split(".")[1],d=t<0&&0===u.indexOf("-");return r&&(d&&(u=u.slice(1)),(function(e,t){let r=[],n=0;for(let i=e;i>0;i--)n===t&&(r.unshift(i),n=0),n++;return r})(u.length,l).forEach((e,t)=>{u=u.slice(0,e+t)+a+u.slice(e+t)}),d&&(u=`-${u}`)),s=c?u+i+c:u}(M=function(e,t,r,n){let i=e,[o,a]=i.toString().split(".");if(o.match(/^-?0$/)&&r)return a?`${o.replace("0","")}.${a}`:o.replace("0","");let l=t<0&&0===o.indexOf("-");if(l&&(o=o.slice(1),i=i.slice(1)),o.length<n){let e=n-o.length;for(let t=0;t<e;t++)i=`0${i}`}return l&&(i=`-${i}`),i.toString()}(M,l,d,c),l,x,r,n),(m||P)&&(M+=C),(E||l<0)&&(o=M,M=0===(a=l)?o:0==+o?o.replace("-",""):a>0?`+${o}`:"sign"===k?o:`(${o.replace("-","")})`),M}function O(e,t){if(!e)return t;let r=Object.keys(e);return 1===r.length&&"output"===r[0]?t:e}function N(e,t,r){let n=new b(e._value),i=t;return r.isNumbro(t)&&(i=t._value),i=new b(i),e._value=n.minus(i).toNumber(),e}let T=g(),B=m(),F={loadLanguagesInNode:e=>{e.forEach(e=>{let t;try{t=function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}(`../languages/${e}`)}catch(t){console.error(`Unable to load "${e}". No matching language file found.`)}t&&z.registerLanguage(t)})}},j=f(),I={format:(...e)=>(function(e,t={},r){if("string"==typeof t&&(t=h(t)),!x.validateFormat(t))return"ERROR: invalid format";let n=t.prefix||"",i=t.postfix||"",o=function(e,t,r){var n,i;switch(t.output){case"currency":return function(e,t,r){let n,i=r.currentCurrency(),o=Object.assign({},t),a=Object.assign({},w,o),l="",s=!!a.totalLength||!!a.forceAverage||a.average,u=o.currencyPosition||i.position,c=o.currencySymbol||i.symbol,d=void 0!==a.spaceSeparatedCurrency?a.spaceSeparatedCurrency:a.spaceSeparated;void 0===o.lowPrecision&&(o.lowPrecision=!1),d&&(l=" "),"infix"===u&&(n=l+c+l);let p=M({instance:e,providedFormat:o,state:r,decimalSeparator:n});return"prefix"===u&&(p=e._value<0&&"sign"===a.negative?`-${l}${c}${p.slice(1)}`:e._value>0&&a.forceSign?`+${l}${c}${p.slice(1)}`:c+l+p),u&&"postfix"!==u||(p=p+(l=!a.spaceSeparatedAbbreviation&&s?"":l)+c),p}(e,t=O(t,y.currentCurrencyDefaultFormat()),y);case"percent":let o,a,l;return n=t=O(t,y.currentPercentageDefaultFormat()),o=n.prefixSymbol,a=M({instance:r(100*e._value),providedFormat:n,state:y}),l=Object.assign({},w,n),o?`%${l.spaceSeparated?" ":""}${a}`:`${a}${l.spaceSeparated?" ":""}%`;case"byte":return function(e,t,r,n){let i=t.base||"binary",o=Object.assign({},w,t),{binarySuffixes:a,decimalSuffixes:l}=r.currentBytes(),s={general:{scale:1024,suffixes:l||k,marker:"bd"},binary:{scale:1024,suffixes:a||S,marker:"b"},decimal:{scale:1e3,suffixes:l||k,marker:"d"}}[i],{value:u,suffix:c}=C(e._value,s.suffixes,s.scale),d=M({instance:n(u),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()});return`${d}${o.spaceSeparated?" ":""}${c}`}(e,t=O(t,y.currentByteDefaultFormat()),y,r);case"time":let s,u,c;return t=O(t,y.currentTimeDefaultFormat()),s=Math.floor(e._value/60/60),u=Math.floor((e._value-60*s*60)/60),c=Math.round(e._value-60*s*60-60*u),`${s}:${u<10?"0":""}${u}:${c<10?"0":""}${c}`;case"ordinal":let d,p,f,m;return i=t=O(t,y.currentOrdinalDefaultFormat()),d=y.currentOrdinal(),p=Object.assign({},w,i),f=M({instance:e,providedFormat:i,state:y}),m=d(e._value),`${f}${p.spaceSeparated?" ":""}${m}`;default:return M({instance:e,providedFormat:t,numbro:r})}}(e,t,r);return(o=n+o)+i})(...e,z),getByteUnit:(...e)=>(function(e){return C(e._value,E.suffixes,E.scale).suffix})(...e,z),getBinaryByteUnit:(...e)=>(function(e){return C(e._value,P.suffixes,P.scale).suffix})(...e,z),getDecimalByteUnit:(...e)=>(function(e){return C(e._value,R.suffixes,R.scale).suffix})(...e,z),formatOrDefault:O},D={add:(e,t)=>{let r,n;return r=new b(e._value),n=t,z.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.plus(n).toNumber(),e},subtract:(e,t)=>N(e,t,z),multiply:(e,t)=>{let r,n;return r=new b(e._value),n=t,z.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.times(n).toNumber(),e},divide:(e,t)=>{let r,n;return r=new b(e._value),n=t,z.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.dividedBy(n).toNumber(),e},set:(e,t)=>{let r;return r=t,z.isNumbro(t)&&(r=t._value),e._value=r,e},difference:(e,t)=>{let r;return N(r=z(e._value),t,z),Math.abs(r._value)},BigNumber:b};class A{constructor(e){this._value=e}clone(){return z(this._value)}format(e={}){return I.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=h(e)),(e=I.formatOrDefault(e,T.currentCurrencyDefaultFormat())).output="currency",I.format(this,e)}formatTime(e={}){return e.output="time",I.format(this,e)}binaryByteUnits(){return I.getBinaryByteUnit(this)}decimalByteUnits(){return I.getDecimalByteUnit(this)}byteUnits(){return I.getByteUnit(this)}difference(e){return D.difference(this,e)}add(e){return D.add(this,e)}subtract(e){return D.subtract(this,e)}multiply(e){return D.multiply(this,e)}divide(e){return D.divide(this,e)}set(e){return D.set(this,L(e))}value(){return this._value}valueOf(){return this._value}}function L(e){let t=e;return z.isNumbro(e)?t=e._value:"string"==typeof e?t=z.unformat(e):isNaN(e)&&(t=NaN),t}function z(e){return new A(L(e))}z.version="2.5.0",z.isNumbro=function(e){return e instanceof A},z.language=T.currentLanguage,z.registerLanguage=T.registerLanguage,z.setLanguage=T.setLanguage,z.languages=T.languages,z.languageData=T.languageData,z.zeroFormat=T.setZeroFormat,z.defaultFormat=T.currentDefaults,z.setDefaults=T.setDefaults,z.defaultCurrencyFormat=T.currentCurrencyDefaultFormat,z.validate=B.validate,z.loadLanguagesInNode=F.loadLanguagesInNode,z.unformat=j.unformat,z.BigNumber=D.BigNumber;var _=z&&z.__esModule&&Object.prototype.hasOwnProperty.call(z,"default")?z.default:z,W=r(20147),U=r(15418);function H(e,{unit:t="bytes",shortValues:r,decimalPlaces:n}){let i="decbytes"===t;if(!(0,U.lk)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"unit",unit:"byte",unitDisplay:"long",useGrouping:!0};return(0,U.ej)(n)?(t.minimumFractionDigits=(0,U.Gs)(n),t.maximumFractionDigits=(0,U.Gs)(n)):(0,U.lk)(r)&&(t.maximumSignificantDigits=W.$),Intl.NumberFormat("en-US",t).format(e)}return _(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,U.ej)(n)?n:2,trimMantissa:!(0,U.ej)(n),optionalMantissa:!(0,U.ej)(n)})}let q="Percent",V="Time";var G=((n={}).milliseconds="millisecond",n.seconds="second",n.minutes="minute",n.hours="hour",n.days="day",n.weeks="week",n.months="month",n.years="year",n);let K={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001},X=["years","months","weeks","days","hours","minutes","seconds","milliseconds"],Y="Throughput";var J=r(93098);let Q="Currency",ee={Time:{label:"Time",decimalPlaces:!0},Percent:{label:"percent",decimalPlaces:!0},Decimal:{label:"Decimal",decimalPlaces:!0,shortValues:!0},Bytes:{label:"Bytes",decimalPlaces:!0,shortValues:!0},Throughput:{label:"Throughput",decimalPlaces:!0},Currency:{label:"Currency",decimalPlaces:!0}},et={milliseconds:{group:V,label:"Milliseconds"},seconds:{group:V,label:"Seconds"},minutes:{group:V,label:"Minutes"},hours:{group:V,label:"Hours"},days:{group:V,label:"Days"},weeks:{group:V,label:"Weeks"},months:{group:V,label:"Months"},years:{group:V,label:"Years"},percent:{group:q,label:"Percent (0-100)"},"percent-decimal":{group:q,label:"Percent (0.0-1.0)"},"%":{disableSelectorOption:!0,group:q,label:"%"},decimal:{group:"Decimal",label:"Decimal"},bytes:{group:"Bytes",label:"Bytes (IEC)"},decbytes:{group:"Bytes",label:"Bytes (SI)"},"bits/sec":{group:Y,label:"Bits/sec"},"bytes/sec":{group:Y,label:"Bytes/sec (IEC)"},"decbytes/sec":{group:Y,label:"Bytes/sec (SI)"},"counts/sec":{group:Y,label:"Counts/sec"},"events/sec":{group:Y,label:"Events/sec"},"messages/sec":{group:Y,label:"Messages/sec"},"ops/sec":{group:Y,label:"Ops/sec"},"packets/sec":{group:Y,label:"Packets/sec"},"reads/sec":{group:Y,label:"Reads/sec"},"requests/sec":{group:Y,label:"Requests/sec"},"records/sec":{group:Y,label:"Records/sec"},"rows/sec":{group:Y,label:"Rows/sec"},"writes/sec":{group:Y,label:"Writes/sec"},aud:{group:Q,label:"Australian Dollar (A$)"},cad:{group:Q,label:"Canadian Dollar (CA$)"},chf:{group:Q,label:"Swiss Franc (CHF)"},cny:{group:Q,label:"Renminbi (CN\xa5)"},eur:{group:Q,label:"Euro (€)"},gbp:{group:Q,label:"Pound (\xa3)"},hkd:{group:Q,label:"Hong Kong Dollar (HK$)"},inr:{group:Q,label:"Indian Rupee (₹)"},jpy:{group:Q,label:"Yen (\xa5)"},krw:{group:Q,label:"South Korean Won (₩)"},nok:{group:Q,label:"Norwegian Krone (NOK)"},nzd:{group:Q,label:"New Zealand Dollar (NZ$)"},sek:{group:Q,label:"Swedish Krona (SEK)"},sgd:{group:Q,label:"Singapore Dollar (S$)"},usd:{group:Q,label:"US Dollar ($)"}};function er(e,t){if(void 0===t)return e.toString();if(eu(t))return H(e,t);if(es(t))return function(e,{shortValues:t,decimalPlaces:r}){let n={style:"decimal",useGrouping:!0};return(0,U.lk)(t)&&(n.notation="compact"),(0,U.ej)(r)?(n.minimumFractionDigits=(0,U.Gs)(r),n.maximumFractionDigits=(0,U.Gs)(r)):(0,U.lk)(t)&&(n.maximumSignificantDigits=W.$),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(el(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"percent",useGrouping:!0};return(0,U.ej)(r)?(n.minimumFractionDigits=(0,U.Gs)(r),n.maximumFractionDigits=(0,U.Gs)(r)):n.maximumSignificantDigits=W.$,"percent"===t&&(e/=100),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(ea(t))return function(e,{unit:t,decimalPlaces:r}){var n;if(0===e)return"0s";let i=function(e,t){let r=e*K[t],n=X[0]||"years",i=n,o=r/K[n];for(i of X)if((o=r/K[i])>=1)break;return{value:o,unit:i}}(e,t??"seconds"),o={style:"unit",unit:G[i.unit],unitDisplay:"months"===(n=i.unit)||"years"===n?"long":"narrow"};return(0,U.ej)(r)?(o.minimumFractionDigits=(0,U.Gs)(r),o.maximumFractionDigits=(0,U.Gs)(r)):o.maximumSignificantDigits=W.$,Intl.NumberFormat("en-US",o).format(i.value)}(e,t);if(ep(t))return function(e,{unit:t,shortValues:r,decimalPlaces:n}){if("decbytes/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return H(e,{unit:"decbytes",shortValues:r,decimalPlaces:n})+"/"+t}if("bytes/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return H(e,{unit:"bytes",shortValues:r,decimalPlaces:n})+"/"+t}let i={style:"decimal",useGrouping:!0};return(0,U.lk)(r)&&(i.notation="compact"),(0,U.ej)(n)?(i.minimumFractionDigits=(0,U.Gs)(n),i.maximumFractionDigits=(0,U.Gs)(n)):(0,U.lk)(r)&&(i.maximumSignificantDigits=W.$),Intl.NumberFormat("en-US",i).format(e)+" "+t}(e,t);if(ef(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"currency",currency:(0,J.toUpper)(t),currencyDisplay:"symbol"};return(0,U.ej)(r)?(n.minimumFractionDigits=(0,U.Gs)(r),n.maximumFractionDigits=(0,U.Gs)(r)):n.maximumSignificantDigits=W.$,Intl.NumberFormat("en-US",n).format(e)}(e,t);throw Error(`Unknown unit options ${t}`)}function en(e){return et[e.unit??"decimal"]}function ei(e){return en(e).group??"Decimal"}function eo(e){return ee[en(e).group??"Decimal"]}function ea(e){return"Time"===ei(e)}function el(e){return"Percent"===ei(e)}function es(e){return"Decimal"===ei(e)}function eu(e){return"Bytes"===ei(e)}function ec(e){return!!eo(e).decimalPlaces}function ed(e){return!!eo(e).shortValues}function ep(e){return"Throughput"===ei(e)}function ef(e){return"Currency"===ei(e)}},15418:function(e,t,r){function n(e){return!1!==e}function i(e){return"number"==typeof e}function o(e){return e&&(e<0?e=0:e>20&&(e=20)),e}r.d(t,{Gs:()=>o,ej:()=>i,lk:()=>n})},41825:function(e,t,r){r.d(t,{ZP:()=>b});var n=r(97784),i=r(54652),o=r(54538),a=r.n(o),l=r(6085),s=r.n(l),u=r(16897),c=r(98683),d="unmounted",p="exited",f="entering",m="entered",h="exiting",g=function(e){function t(t,r){var n,i=e.call(this,t,r)||this,o=r&&!r.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(n=p,i.appearStatus=f):n=m:n=t.unmountOnExit||t.mountOnEnter?d:p,i.state={status:n},i.nextCallback=null,i}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===d?{status:p}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==f&&r!==m&&(t=f):(r===f||r===m)&&(t=h)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:s().findDOMNode(this);r&&(0,c.Q)(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:d})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,i=this.props.nodeRef?[n]:[s().findDOMNode(this),n],o=i[0],a=i[1],l=this.getTimeouts(),u=n?l.appear:l.enter;if(!e&&!r)return void this.safeSetState({status:m},function(){t.props.onEntered(o)});this.props.onEnter(o,a),this.safeSetState({status:f},function(){t.props.onEntering(o,a),t.onTransitionEnd(u,function(){t.safeSetState({status:m},function(){t.props.onEntered(o,a)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:s().findDOMNode(this);if(!t)return void this.safeSetState({status:p},function(){e.props.onExited(n)});this.props.onExit(n),this.safeSetState({status:h},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:p},function(){e.props.onExited(n)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:s().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===d)return null;var t=this.props,r=t.children,i=(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,(0,n.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(u.Z.Provider,{value:null},"function"==typeof r?r(e,i):a().cloneElement(a().Children.only(r),i))},t}(a().Component);function v(){}g.contextType=u.Z,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v},g.UNMOUNTED=d,g.EXITED=p,g.ENTERING=f,g.ENTERED=m,g.EXITING=h;let b=g},16317:function(e,t,r){r.d(t,{Z:()=>f});var n=r(97784),i=r(70252),o=r(54652),a=r(54538),l=r.n(a),s=r(16897);function u(e,t){var r=Object.create(null);return e&&a.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=t&&(0,a.isValidElement)(e)?t(e):e}),r}function c(e,t,r){return null!=r[t]?r[t]:e.props[t]}var d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},p=function(e){function t(t,r){var n=e.call(this,t,r)||this,i=n.handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,o.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,i=t.children,o=t.handleExited;return{children:t.firstRender?u(e.children,function(t){return(0,a.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:c(t,"appear",e),enter:c(t,"enter",e),exit:c(t,"exit",e)})}):(Object.keys(n=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var l={};for(var s in t){if(i[s])for(n=0;n<i[s].length;n++){var u=i[s][n];l[i[s][n]]=r(u)}l[s]=r(s)}for(n=0;n<o.length;n++)l[o[n]]=r(o[n]);return l}(i,r=u(e.children))).forEach(function(t){var l=n[t];if((0,a.isValidElement)(l)){var s=t in i,u=t in r,d=i[t],p=(0,a.isValidElement)(d)&&!d.props.in;u&&(!s||p)?n[t]=(0,a.cloneElement)(l,{onExited:o.bind(null,l),in:!0,exit:c(l,"exit",e),enter:c(l,"enter",e)}):u||!s||p?u&&s&&(0,a.isValidElement)(d)&&(n[t]=(0,a.cloneElement)(l,{onExited:o.bind(null,l),in:d.props.in,exit:c(l,"exit",e),enter:c(l,"enter",e)})):n[t]=(0,a.cloneElement)(l,{in:!1})}}),n),firstRender:!1}},r.handleExited=function(e,t){var r=u(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,i.Z)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,n.Z)(e,["component","childFactory"]),o=this.state.contextValue,a=d(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?l().createElement(s.Z.Provider,{value:o},a):l().createElement(s.Z.Provider,{value:o},l().createElement(t,i,a))},t}(l().Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};let f=p},16897:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);let i=r.n(n)().createContext(null)},98683:function(e,t,r){r.d(t,{Q:()=>n});var n=function(e){return e.scrollTop}},70252:function(e,t,r){r.d(t,{Z:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}},54652:function(e,t,r){function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{Z:()=>i})},97784:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}}}]);
|