@perses-dev/stat-chart-plugin 0.11.1 → 0.12.0-rc.1

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.
Files changed (72) hide show
  1. package/__mf/js/{StatChart.91907838.js → StatChart.b24a8bd1.js} +5 -5
  2. package/__mf/js/async/{205.1bcd0ed9.js → 119.b85eb681.js} +5 -5
  3. package/__mf/js/async/{450.13fefb05.js → 450.6c3d739b.js} +1 -1
  4. package/__mf/js/async/{911.29a700f7.js → 604.20d774aa.js} +4 -4
  5. package/__mf/js/async/648.0aa02e3b.js +22 -0
  6. package/__mf/js/async/{873.bde3655e.js → 873.c0881a00.js} +1 -1
  7. package/__mf/js/async/955.87184680.js +7 -0
  8. package/__mf/js/async/{__federation_expose_StatChart.fd6bf4ac.js → __federation_expose_StatChart.8b3c764d.js} +1 -1
  9. package/__mf/js/async/lib-router.18b45155.js +2 -0
  10. package/__mf/js/async/{lib-router.ed92c54d.js.LICENSE.txt → lib-router.18b45155.js.LICENSE.txt} +3 -3
  11. package/__mf/js/{main.5a7ad716.js → main.d82ac889.js} +5 -5
  12. package/lib/StatChart.js +1 -1
  13. package/lib/StatChart.js.map +1 -1
  14. package/lib/StatChartBase.js +1 -1
  15. package/lib/StatChartBase.js.map +1 -1
  16. package/lib/StatChartOptionsEditorSettings.js +1 -1
  17. package/lib/StatChartOptionsEditorSettings.js.map +1 -1
  18. package/lib/StatChartPanel.js +1 -1
  19. package/lib/StatChartPanel.js.map +1 -1
  20. package/lib/StatChartValueMappingEditor.js +1 -1
  21. package/lib/StatChartValueMappingEditor.js.map +1 -1
  22. package/lib/bootstrap.js +1 -1
  23. package/lib/bootstrap.js.map +1 -1
  24. package/lib/cjs/StatChart.js +1 -1
  25. package/lib/cjs/StatChartBase.js +1 -1
  26. package/lib/cjs/StatChartOptionsEditorSettings.js +1 -1
  27. package/lib/cjs/StatChartPanel.js +1 -1
  28. package/lib/cjs/StatChartValueMappingEditor.js +1 -1
  29. package/lib/cjs/bootstrap.js +1 -1
  30. package/lib/cjs/env.d.js +1 -1
  31. package/lib/cjs/getPluginModule.js +12 -0
  32. package/lib/cjs/index-federation.js +1 -1
  33. package/lib/cjs/index.js +1 -1
  34. package/lib/cjs/setup-tests.js +1 -1
  35. package/lib/cjs/stat-chart-model.js +1 -1
  36. package/lib/cjs/utils/calculate-font-size.js +1 -1
  37. package/lib/cjs/utils/calculate-value.js +1 -1
  38. package/lib/cjs/utils/data-transform.js +1 -1
  39. package/lib/cjs/utils/format-stat-chart-value.js +1 -1
  40. package/lib/cjs/utils/get-color.js +1 -1
  41. package/lib/env.d.js +1 -1
  42. package/lib/env.d.js.map +1 -1
  43. package/lib/getPluginModule.d.ts.map +1 -1
  44. package/lib/getPluginModule.js +12 -0
  45. package/lib/getPluginModule.js.map +1 -1
  46. package/lib/index-federation.js +1 -1
  47. package/lib/index-federation.js.map +1 -1
  48. package/lib/index.js +1 -1
  49. package/lib/index.js.map +1 -1
  50. package/lib/setup-tests.js +1 -1
  51. package/lib/setup-tests.js.map +1 -1
  52. package/lib/stat-chart-model.js +1 -1
  53. package/lib/stat-chart-model.js.map +1 -1
  54. package/lib/utils/calculate-font-size.js +1 -1
  55. package/lib/utils/calculate-font-size.js.map +1 -1
  56. package/lib/utils/calculate-value.js +1 -1
  57. package/lib/utils/calculate-value.js.map +1 -1
  58. package/lib/utils/data-transform.js +1 -1
  59. package/lib/utils/data-transform.js.map +1 -1
  60. package/lib/utils/format-stat-chart-value.js +1 -1
  61. package/lib/utils/format-stat-chart-value.js.map +1 -1
  62. package/lib/utils/get-color.js +1 -1
  63. package/lib/utils/get-color.js.map +1 -1
  64. package/mf-manifest.json +14 -14
  65. package/mf-stats.json +14 -14
  66. package/package.json +4 -4
  67. package/__mf/js/async/252.71d76564.js +0 -22
  68. package/__mf/js/async/790.42bd307b.js +0 -7
  69. package/__mf/js/async/lib-router.ed92c54d.js +0 -2
  70. /package/__mf/js/async/{205.1bcd0ed9.js.LICENSE.txt → 119.b85eb681.js.LICENSE.txt} +0 -0
  71. /package/__mf/js/async/{252.71d76564.js.LICENSE.txt → 648.0aa02e3b.js.LICENSE.txt} +0 -0
  72. /package/__mf/js/async/{790.42bd307b.js.LICENSE.txt → 955.87184680.js.LICENSE.txt} +0 -0
@@ -1,5 +1,5 @@
1
- /*! For license information please see 205.1bcd0ed9.js.LICENSE.txt */
2
- "use strict";(self.chunk_StatChart=self.chunk_StatChart||[]).push([["205"],{19597:function(e,t,r){r.d(t,{A:()=>n});function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},37696:function(e,t,r){r.d(t,{J:()=>m});var n,i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(19597),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)(function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===i[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=d(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":u(a)&&(n+=c(o)+":"+f(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var l=0;l<a.length;l++)u(a[l])&&(n+=c(o)+":"+f(o,a[l])+";");else{var s=d(e,t,a);switch(o){case"animation":case"animationName":n+=c(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=n,a=r(e);return n=o,d(e,t,a)}}if(null==t)return r;var l=t[r];return void 0!==l?l:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,o=!0,a="";n=void 0;var l=e[0];null==l||void 0===l.raw?(o=!1,a+=d(r,t,l)):a+=l[0];for(var s=1;s<e.length;s++)a+=d(r,t,e[s]),o&&(a+=l[s]);p.lastIndex=0;for(var u="";null!==(i=p.exec(a));)u+="-"+i[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},74628:function(e,t,r){r.d(t,{A:()=>h});var n=r(70451),i=r(11750),o=r(41535),a=r(92927),l=r(20523),s=r(26041),u=r(62540),c=r(71027),f=r(9408),d=r(93724);let p=(0,r(29009).A)("MuiBox",["root"]),m=(0,f.A)(),h=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:c="MuiBox-root",generateClassName:f}=e,d=(0,o.Ay)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(a.A);return n.forwardRef(function(e,n){let o=(0,s.A)(r),{className:a,component:p="div",...m}=(0,l.A)(e);return(0,u.jsx)(d,{as:p,ref:n,className:(0,i.A)(a,f?f(c):c),theme:t&&o[t]||o,...m})})}({themeId:d.A,defaultTheme:m,defaultClassName:p.root,generateClassName:c.A.generate})},1337:function(e,t,r){r.d(t,{A:()=>T});var n=r(70451),i=r(11750),o=r(81023),a=r(93399),l=r(77308),s=r(72052),u=r(29424),c=r(32398),f=r(48731);class d{static create(){return new d}static use(){let e=(0,f.A)(d.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(){let e,t,r;return this.mounted||(this.mounted=((r=new Promise((r,n)=>{e=r,t=n})).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 p=r(44394),m=r(3725),h=r(69402),g=r(62540),y=r(29009);let b=(0,y.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),v=(0,h.keyframes)`
1
+ /*! For license information please see 119.b85eb681.js.LICENSE.txt */
2
+ "use strict";(self.chunk_StatChart=self.chunk_StatChart||[]).push([["119"],{19597:function(e,t,r){r.d(t,{A:()=>n});function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},37696:function(e,t,r){r.d(t,{J:()=>m});var n,i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(19597),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)(function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===i[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=d(e,t,r[i])+";";else for(var o in r){var a=r[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=o+"{"+t[a]+"}":u(a)&&(n+=c(o)+":"+f(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var l=0;l<a.length;l++)u(a[l])&&(n+=c(o)+":"+f(o,a[l])+";");else{var s=d(e,t,a);switch(o){case"animation":case"animationName":n+=c(o)+":"+s+";";break;default:n+=o+"{"+s+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var o=n,a=r(e);return n=o,d(e,t,a)}}if(null==t)return r;var l=t[r];return void 0!==l?l:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,o=!0,a="";n=void 0;var l=e[0];null==l||void 0===l.raw?(o=!1,a+=d(r,t,l)):a+=l[0];for(var s=1;s<e.length;s++)a+=d(r,t,e[s]),o&&(a+=l[s]);p.lastIndex=0;for(var u="";null!==(i=p.exec(a));)u+="-"+i[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},74628:function(e,t,r){r.d(t,{A:()=>h});var n=r(70451),i=r(11750),o=r(41535),a=r(92927),l=r(20523),s=r(26041),u=r(62540),c=r(71027),f=r(9408),d=r(93724);let p=(0,r(29009).A)("MuiBox",["root"]),m=(0,f.A)(),h=function(e={}){let{themeId:t,defaultTheme:r,defaultClassName:c="MuiBox-root",generateClassName:f}=e,d=(0,o.Ay)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(a.A);return n.forwardRef(function(e,n){let o=(0,s.A)(r),{className:a,component:p="div",...m}=(0,l.A)(e);return(0,u.jsx)(d,{as:p,ref:n,className:(0,i.A)(a,f?f(c):c),theme:t&&o[t]||o,...m})})}({themeId:d.A,defaultTheme:m,defaultClassName:p.root,generateClassName:c.A.generate})},1337:function(e,t,r){r.d(t,{A:()=>T});var n=r(70451),i=r(11750),o=r(81023),a=r(93399),l=r(77308),s=r(72052),u=r(29424),c=r(32398),f=r(48731);class d{static create(){return new d}static use(){let e=(0,f.A)(d.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(){let e,t,r;return this.mounted||(this.mounted=((r=new Promise((r,n)=>{e=r,t=n})).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 p=r(44394),m=r(3725),h=r(69402),g=r(62540),y=r(29009);let b=(0,y.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),v=(0,h.keyframes)`
3
3
  0% {
4
4
  transform: scale(0);
5
5
  opacity: 0.1;
@@ -72,12 +72,12 @@
72
72
  animation-iteration-count: infinite;
73
73
  animation-delay: 200ms;
74
74
  }
75
- `,k=n.forwardRef(function(e,t){let{center:r=!1,classes:o={},className:a,...l}=(0,s.b)({props:e,name:"MuiTouchRipple"}),[u,c]=n.useState([]),f=n.useRef(0),d=n.useRef(null);n.useEffect(()=>{d.current&&(d.current(),d.current=null)},[u]);let h=n.useRef(!1),y=(0,m.A)(),v=n.useRef(null),A=n.useRef(null),w=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:l}=e;c(e=>[...e,(0,g.jsx)(x,{classes:{ripple:(0,i.A)(o.ripple,b.ripple),rippleVisible:(0,i.A)(o.rippleVisible,b.rippleVisible),ripplePulsate:(0,i.A)(o.ripplePulsate,b.ripplePulsate),child:(0,i.A)(o.child,b.child),childLeaving:(0,i.A)(o.childLeaving,b.childLeaving),childPulsate:(0,i.A)(o.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},f.current)]),f.current+=1,d.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:A.current,f=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-f.left),o=Math.round(r-f.top)}else i=Math.round(f.width/2),o=Math.round(f.height/2);s?(a=Math.sqrt((2*f.width**2+f.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===v.current&&(v.current=()=>{w({pulsate:l,rippleX:i,rippleY:o,rippleSize:a,cb:n})},y.start(80,()=>{v.current&&(v.current(),v.current=null)})):w({pulsate:l,rippleX:i,rippleY:o,rippleSize:a,cb:n})},[r,w,y]),$=n.useCallback(()=>{k({},{pulsate:!0})},[k]),C=n.useCallback((e,t)=>{if(y.clear(),e?.type==="touchend"&&v.current){v.current(),v.current=null,y.start(0,()=>{C(e,t)});return}v.current=null,c(e=>e.length>0?e.slice(1):e),d.current=t},[y]);return n.useImperativeHandle(t,()=>({pulsate:$,start:k,stop:C}),[$,k,C]),(0,g.jsx)(S,{className:(0,i.A)(b.root,o.root,a),ref:A,...l,children:(0,g.jsx)(p.A,{component:null,exit:!0,children:u})})});var $=r(46733);function C(e){return(0,$.Ay)("MuiButtonBase",e)}let O=(0,y.A)("MuiButtonBase",["root","disabled","focusVisible"]),_=(0,l.A)("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"},[`&.${O.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function B(e,t,r,n=!1){return(0,c.A)(i=>(r&&r(i),n||e[t](i),!0))}let T=n.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:f=!1,children:p,className:m,component:h="button",disabled:y=!1,disableRipple:b=!1,disableTouchRipple:v=!1,focusRipple:A=!1,focusVisibleClassName:w,LinkComponent:S="a",onBlur:x,onClick:$,onContextMenu:O,onDragLeave:T,onFocus:j,onFocusVisible:N,onKeyDown:M,onKeyUp:P,onMouseDown:E,onMouseLeave:D,onMouseUp:F,onTouchEnd:I,onTouchMove:R,onTouchStart:L,tabIndex:U=0,TouchRippleProps:z,touchRippleRef:W,type:G,...V}=r,K=n.useRef(null),H=d.use(),Y=(0,u.A)(H.ref,W),[Z,X]=n.useState(!1);y&&Z&&X(!1),n.useImperativeHandle(l,()=>({focusVisible:()=>{X(!0),K.current.focus()}}),[]);let q=H.shouldMount&&!b&&!y;n.useEffect(()=>{Z&&A&&!b&&H.pulsate()},[b,A,Z,H]);let Q=B(H,"start",E,v),J=B(H,"stop",O,v),ee=B(H,"stop",T,v),et=B(H,"stop",F,v),er=B(H,"stop",e=>{Z&&e.preventDefault(),D&&D(e)},v),en=B(H,"start",L,v),ei=B(H,"stop",I,v),eo=B(H,"stop",R,v),ea=B(H,"stop",e=>{(0,a.A)(e.target)||X(!1),x&&x(e)},!1),el=(0,c.A)(e=>{K.current||(K.current=e.currentTarget),(0,a.A)(e.target)&&(X(!0),N&&N(e)),j&&j(e)}),es=()=>{let e=K.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},eu=(0,c.A)(e=>{A&&!e.repeat&&Z&&" "===e.key&&H.stop(e,()=>{H.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),M&&M(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!y&&(e.preventDefault(),$&&$(e))}),ec=(0,c.A)(e=>{A&&" "===e.key&&Z&&!e.defaultPrevented&&H.stop(e,()=>{H.pulsate(e)}),P&&P(e),$&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&$(e)}),ef=h;"button"===ef&&(V.href||V.to)&&(ef=S);let ed={};"button"===ef?(ed.type=void 0===G?"button":G,ed.disabled=y):(V.href||V.to||(ed.role="button"),y&&(ed["aria-disabled"]=y));let ep=(0,u.A)(t,K),em={...r,centerRipple:f,component:h,disabled:y,disableRipple:b,disableTouchRipple:v,focusRipple:A,tabIndex:U,focusVisible:Z},eh=(e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,a=(0,o.A)({root:["root",t&&"disabled",r&&"focusVisible"]},C,i);return r&&n&&(a.root+=` ${n}`),a})(em);return(0,g.jsxs)(_,{as:ef,className:(0,i.A)(eh.root,m),ownerState:em,onBlur:ea,onClick:$,onContextMenu:J,onFocus:el,onKeyDown:eu,onKeyUp:ec,onMouseDown:Q,onMouseLeave:er,onMouseUp:et,onDragLeave:ee,onTouchEnd:ei,onTouchMove:eo,onTouchStart:en,ref:ep,tabIndex:y?-1:U,type:G,...ed,...V,children:[p,q?(0,g.jsx)(k,{ref:Y,center:f,...z}):null]})})},72052:function(e,t,r){r.d(t,{b:()=>a});var n=r(70451),i=r(52215);r(62540);let o=n.createContext(void 0);function a(e){return function({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let o=t.components[r];return o.defaultProps?(0,i.A)(o.defaultProps,n):o.styleOverrides||o.variants?n:(0,i.A)(o,n)}({props:e,name:t,theme:{components:n.useContext(o)}})}(e)}},88404:function(e,t,r){r.d(t,{A:()=>n});let n=r(70451).createContext(void 0)},42872:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(88404);function o(){return n.useContext(i.A)}},315:function(e,t,r){r.d(t,{A:()=>a});var n=r(68335),i=r(77308),o=r(72052);let a=(0,n.A)({createStyledComponent:(0,i.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,o.b)({props:e,name:"MuiStack"})})},68003:function(e,t,r){r.d(t,{A:()=>S});var n=r(70451),i=r(11750),o=r(81023),a=r(59238),l=r(24726),s=r(26952),u=r(32560),c=r(77308),f=r(23434),d=r(72052),p=r(29009),m=r(46733);function h(e){return(0,m.Ay)("MuiSwitch",e)}let g=(0,p.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var y=r(62540);let b=(0,c.A)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${(0,l.A)(r.edge)}`],t[`size${(0,l.A)(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)"}}}}]}),v=(0,c.A)(u.A,{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.A)(r.color)}`]]}})((0,f.A)(({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,f.A)(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,s.A)(["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.X4)(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.a)(e.palette[t].main,.62):(0,a.e$)(e.palette[t].main,.55)}`}},[`&.${g.checked} + .${g.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),A=(0,c.A)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,f.A)(({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}`}))),w=(0,c.A)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,f.A)(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),S=n.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiSwitch"}),{className:n,color:a="primary",edge:s=!1,size:u="medium",sx:c,...f}=r,p={...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.A)(r)}`,`size${(0,l.A)(n)}`],switchBase:["switchBase",`color${(0,l.A)(i)}`,a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,o.A)(u,h,t);return{...t,...c}})(p),g=(0,y.jsx)(w,{className:m.thumb,ownerState:p});return(0,y.jsxs)(b,{className:(0,i.A)(m.root,n),sx:c,ownerState:p,children:[(0,y.jsx)(v,{type:"checkbox",icon:g,checkedIcon:g,ref:t,ownerState:p,...f,classes:{...m,root:m.switchBase}}),(0,y.jsx)(A,{className:m.track,ownerState:p})]})})},88091:function(e,t,r){r.d(t,{A:()=>b});var n=r(70451),i=r(11750),o=r(81023),a=r(90124),l=r(77308),s=r(23434),u=r(72052),c=r(24726),f=r(26952),d=r(47599),p=r(62540);let m={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},h=(0,a.Dg)(),g=(0,l.A)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,c.A)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,s.A)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter((0,f.A)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${(0,c.A)(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b=n.forwardRef(function(e,t){let{color:r,...n}=(0,u.b)({props:e,name:"MuiTypography"}),a=!m[r],l=h({...n,...a&&{color:r}}),{align:s="inherit",className:f,component:b,gutterBottom:v=!1,noWrap:A=!1,paragraph:w=!1,variant:S="body1",variantMapping:x=y,...k}=l,$={...l,align:s,color:r,className:f,component:b,gutterBottom:v,noWrap:A,paragraph:w,variant:S,variantMapping:x},C=b||(w?"p":x[S]||y[S])||"span",O=(e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:l}=e,s={root:["root",a,"inherit"!==e.align&&`align${(0,c.A)(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return(0,o.A)(s,d.y,l)})($);return(0,p.jsx)(g,{as:C,ref:t,className:(0,i.A)(O.root,f),...k,ownerState:$,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...k.style}})})},47599:function(e,t,r){r.d(t,{A:()=>a,y:()=>o});var n=r(29009),i=r(46733);function o(e){return(0,i.Ay)("MuiTypography",e)}let a=(0,n.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},32560:function(e,t,r){r.d(t,{A:()=>b});var n=r(70451),i=r(81023),o=r(24726),a=r(83926),l=r(77308),s=r(2203),u=r(42872),c=r(1337),f=r(29009),d=r(46733);function p(e){return(0,d.Ay)("PrivateSwitchBase",e)}(0,f.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=r(73397),h=r(62540);let g=(0,l.A)(c.A)({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}}]}),y=(0,l.A)("input",{shouldForwardProp:a.A})({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:f=!1,edge:d=!1,icon:b,id:v,inputProps:A,inputRef:w,name:S,onBlur:x,onChange:k,onFocus:$,readOnly:C,required:O=!1,tabIndex:_,type:B,value:T,slots:j={},slotProps:N={},...M}=e,[P,E]=(0,s.A)({controlled:n,default:!!l,name:"SwitchBase",state:"checked"}),D=(0,u.A)(),F=c;D&&void 0===F&&(F=D.disabled);let I="checkbox"===B||"radio"===B,R={...e,checked:P,disabled:F,disableFocusRipple:f,edge:d},L=(e=>{let{classes:t,checked:r,disabled:n,edge:a}=e,l={root:["root",r&&"checked",n&&"disabled",a&&`edge${(0,o.A)(a)}`],input:["input"]};return(0,i.A)(l,p,t)})(R),U={slots:j,slotProps:{input:A,...N}},[z,W]=(0,m.A)("root",{ref:t,elementType:g,className:L.root,shouldForwardComponentProp:!0,externalForwardedProps:{...U,component:"span",...M},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),$&&$(t),D&&D.onFocus&&D.onFocus(t)},onBlur:t=>{e.onBlur?.(t),x&&x(t),D&&D.onBlur&&D.onBlur(t)}}),ownerState:R,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:F,role:void 0,tabIndex:null}}),[G,V]=(0,m.A)("input",{ref:w,elementType:y,className:L.input,externalForwardedProps:U,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;E(t),k&&k(e,t)})(t)}}),ownerState:R,additionalProps:{autoFocus:r,checked:n,defaultChecked:l,disabled:F,id:I?v:void 0,name:S,readOnly:C,required:O,tabIndex:_,type:B,..."checkbox"===B&&void 0===T?{}:{value:T}}});return(0,h.jsxs)(z,{...W,children:[(0,h.jsx)(G,{...V}),P?a:b]})})},9408:function(e,t,r){r.d(t,{A:()=>H});var n=r(67425),i=r(6121),o=r(59238);let a={black:"#000",white:"#fff"},l={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},s={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},f={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},d={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function m(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let h=m();function g(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=g();function b(e,t,r,n){let i=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,o.a)(e.main,i):"dark"===t&&(e.dark=(0,o.e$)(e.main,a)))}function v(e){let t,{mode:r="light",contrastThreshold:v=3,tonalOffset:A=.2,...w}=e,S=e.primary||function(e="light"){return"dark"===e?{main:f["200"],light:f["50"],dark:f["400"]}:{main:f["700"],light:f["400"],dark:f["800"]}}(r),x=e.secondary||function(e="light"){return"dark"===e?{main:s["200"],light:s["50"],dark:s["400"]}:{main:s["500"],light:s["300"],dark:s["700"]}}(r),k=e.error||function(e="light"){return"dark"===e?{main:u["500"],light:u["300"],dark:u["700"]}:{main:u["700"],light:u["400"],dark:u["800"]}}(r),$=e.info||function(e="light"){return"dark"===e?{main:d["400"],light:d["300"],dark:d["700"]}:{main:d["700"],light:d["500"],dark:d["900"]}}(r),C=e.success||function(e="light"){return"dark"===e?{main:p["400"],light:p["300"],dark:p["700"]}:{main:p["800"],light:p["500"],dark:p["900"]}}(r),O=e.warning||function(e="light"){return"dark"===e?{main:c["400"],light:c["300"],dark:c["700"]}:{main:"#ed6c02",light:c["500"],dark:c["900"]}}(r);function _(e){return(0,o.eM)(e,y.text.primary)>=v?y.text.primary:h.text.primary}let B=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:o=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,n.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,n.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b(e,"light",i,A),b(e,"dark",o,A),e.contrastText||(e.contrastText=_(e.main)),e};return"light"===r?t=m():"dark"===r&&(t=g()),(0,i.A)({common:{...a},mode:r,primary:B({color:S,name:"primary"}),secondary:B({color:x,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:B({color:k,name:"error"}),warning:B({color:O,name:"warning"}),info:B({color:$,name:"info"}),success:B({color:C,name:"success"}),grey:l,contrastThreshold:v,getContrastText:_,augmentColor:B,tonalOffset:A,...t},w)}var A=r(17575),w=r(89187);let S=(e,t,r,n=[])=>{let i=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=r:i&&"object"==typeof i&&(i[e]=r):i&&"object"==typeof i&&(i[e]||(i[e]=n.includes(e)?[]:{}),i=i[e])})};function x(e,t){var r,n;let{prefix:i,shouldSkipGeneratingVar:o}=t||{},a={},l={},s={};return r=(e,t,r)=>{if(("string"==typeof t||"number"==typeof t)&&(!o||!o(e,t))){var n,u;let o=`--${i?`${i}-`:""}${e.join("-")}`,c=(n=e,"number"==typeof(u=t)?["lineHeight","fontWeight","opacity","zIndex"].some(e=>n.includes(e))||n[n.length-1].toLowerCase().includes("opacity")?u:`${u}px`:u);Object.assign(a,{[o]:c}),S(l,e,`var(${o})`,r),S(s,e,`var(${o}, ${c})`,r)}},n=e=>"vars"===e[0],function e(t,i=[],o=[]){Object.entries(t).forEach(([t,a])=>{n&&(!n||n([...i,t]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...i,t],Array.isArray(a)?[...o,t]:o):r([...i,t],a,o))})}(e),{css:a,vars:l,varsWithDefaults:s}}let k=function(e,t={}){let{getSelector:r=function(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:a={},components:l,defaultColorScheme:s="light",...u}=e,{vars:c,css:f,varsWithDefaults:d}=x(u,t),p=d,m={},{[s]:h,...g}=a;if(Object.entries(g||{}).forEach(([e,r])=>{let{vars:n,css:o,varsWithDefaults:a}=x(r,t);p=(0,i.A)(p,a),m[e]={css:o,vars:n}}),h){let{css:e,vars:r,varsWithDefaults:n}=x(h,t);p=(0,i.A)(p,n),m[s]={css:e,vars:r}}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(m).forEach(([,{vars:t}])=>{e=(0,i.A)(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||"light";function o(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}o(r(void 0,{...f}),f);let{[i]:l,...s}=m;if(l){let{css:e}=l,t=a[i]?.palette?.mode,s=!n&&t?{colorScheme:t,...e}:{...e};o(r(i,{...s}),s)}return Object.entries(s).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,l=!n&&i?{colorScheme:i,...t}:{...t};o(r(e,{...l}),l)}),t}}};var $=r(73126),C=r(92927),O=r(80787);let _={textTransform:"uppercase"},B='"Roboto", "Helvetica", "Arial", sans-serif';function T(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let j=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)];var N=r(48927);let M={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function P(e={}){let t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n<r.length;n++){let[o,a]=r[n];!((0,i.Q)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||o.startsWith("unstable_")?delete t[o]:(0,i.Q)(a)&&(t[o]={...a},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
75
+ `,k=n.forwardRef(function(e,t){let{center:r=!1,classes:o={},className:a,...l}=(0,s.b)({props:e,name:"MuiTouchRipple"}),[u,c]=n.useState([]),f=n.useRef(0),d=n.useRef(null);n.useEffect(()=>{d.current&&(d.current(),d.current=null)},[u]);let h=n.useRef(!1),y=(0,m.A)(),v=n.useRef(null),A=n.useRef(null),w=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:l}=e;c(e=>[...e,(0,g.jsx)(x,{classes:{ripple:(0,i.A)(o.ripple,b.ripple),rippleVisible:(0,i.A)(o.rippleVisible,b.rippleVisible),ripplePulsate:(0,i.A)(o.ripplePulsate,b.ripplePulsate),child:(0,i.A)(o.child,b.child),childLeaving:(0,i.A)(o.childLeaving,b.childLeaving),childPulsate:(0,i.A)(o.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},f.current)]),f.current+=1,d.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:A.current,f=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-f.left),o=Math.round(r-f.top)}else i=Math.round(f.width/2),o=Math.round(f.height/2);s?(a=Math.sqrt((2*f.width**2+f.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===v.current&&(v.current=()=>{w({pulsate:l,rippleX:i,rippleY:o,rippleSize:a,cb:n})},y.start(80,()=>{v.current&&(v.current(),v.current=null)})):w({pulsate:l,rippleX:i,rippleY:o,rippleSize:a,cb:n})},[r,w,y]),$=n.useCallback(()=>{k({},{pulsate:!0})},[k]),C=n.useCallback((e,t)=>{if(y.clear(),e?.type==="touchend"&&v.current){v.current(),v.current=null,y.start(0,()=>{C(e,t)});return}v.current=null,c(e=>e.length>0?e.slice(1):e),d.current=t},[y]);return n.useImperativeHandle(t,()=>({pulsate:$,start:k,stop:C}),[$,k,C]),(0,g.jsx)(S,{className:(0,i.A)(b.root,o.root,a),ref:A,...l,children:(0,g.jsx)(p.A,{component:null,exit:!0,children:u})})});var $=r(46733);function C(e){return(0,$.Ay)("MuiButtonBase",e)}let O=(0,y.A)("MuiButtonBase",["root","disabled","focusVisible"]),_=(0,l.A)("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"},[`&.${O.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function B(e,t,r,n=!1){return(0,c.A)(i=>(r&&r(i),n||e[t](i),!0))}let T=n.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:f=!1,children:p,className:m,component:h="button",disabled:y=!1,disableRipple:b=!1,disableTouchRipple:v=!1,focusRipple:A=!1,focusVisibleClassName:w,LinkComponent:S="a",onBlur:x,onClick:$,onContextMenu:O,onDragLeave:T,onFocus:j,onFocusVisible:M,onKeyDown:N,onKeyUp:P,onMouseDown:E,onMouseLeave:D,onMouseUp:I,onTouchEnd:F,onTouchMove:R,onTouchStart:L,tabIndex:U=0,TouchRippleProps:z,touchRippleRef:W,type:G,...V}=r,K=n.useRef(null),H=d.use(),Y=(0,u.A)(H.ref,W),[Z,X]=n.useState(!1);y&&Z&&X(!1),n.useImperativeHandle(l,()=>({focusVisible:()=>{X(!0),K.current.focus()}}),[]);let q=H.shouldMount&&!b&&!y;n.useEffect(()=>{Z&&A&&!b&&H.pulsate()},[b,A,Z,H]);let Q=B(H,"start",E,v),J=B(H,"stop",O,v),ee=B(H,"stop",T,v),et=B(H,"stop",I,v),er=B(H,"stop",e=>{Z&&e.preventDefault(),D&&D(e)},v),en=B(H,"start",L,v),ei=B(H,"stop",F,v),eo=B(H,"stop",R,v),ea=B(H,"stop",e=>{(0,a.A)(e.target)||X(!1),x&&x(e)},!1),el=(0,c.A)(e=>{K.current||(K.current=e.currentTarget),(0,a.A)(e.target)&&(X(!0),M&&M(e)),j&&j(e)}),es=()=>{let e=K.current;return h&&"button"!==h&&!("A"===e.tagName&&e.href)},eu=(0,c.A)(e=>{A&&!e.repeat&&Z&&" "===e.key&&H.stop(e,()=>{H.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),N&&N(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!y&&(e.preventDefault(),$&&$(e))}),ec=(0,c.A)(e=>{A&&" "===e.key&&Z&&!e.defaultPrevented&&H.stop(e,()=>{H.pulsate(e)}),P&&P(e),$&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&$(e)}),ef=h;"button"===ef&&(V.href||V.to)&&(ef=S);let ed={};"button"===ef?(ed.type=void 0===G?"button":G,ed.disabled=y):(V.href||V.to||(ed.role="button"),y&&(ed["aria-disabled"]=y));let ep=(0,u.A)(t,K),em={...r,centerRipple:f,component:h,disabled:y,disableRipple:b,disableTouchRipple:v,focusRipple:A,tabIndex:U,focusVisible:Z},eh=(e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,a=(0,o.A)({root:["root",t&&"disabled",r&&"focusVisible"]},C,i);return r&&n&&(a.root+=` ${n}`),a})(em);return(0,g.jsxs)(_,{as:ef,className:(0,i.A)(eh.root,m),ownerState:em,onBlur:ea,onClick:$,onContextMenu:J,onFocus:el,onKeyDown:eu,onKeyUp:ec,onMouseDown:Q,onMouseLeave:er,onMouseUp:et,onDragLeave:ee,onTouchEnd:ei,onTouchMove:eo,onTouchStart:en,ref:ep,tabIndex:y?-1:U,type:G,...ed,...V,children:[p,q?(0,g.jsx)(k,{ref:Y,center:f,...z}):null]})})},72052:function(e,t,r){r.d(t,{b:()=>a});var n=r(70451),i=r(52215);r(62540);let o=n.createContext(void 0);function a(e){return function({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let o=t.components[r];return o.defaultProps?(0,i.A)(o.defaultProps,n):o.styleOverrides||o.variants?n:(0,i.A)(o,n)}({props:e,name:t,theme:{components:n.useContext(o)}})}(e)}},88404:function(e,t,r){r.d(t,{A:()=>n});let n=r(70451).createContext(void 0)},42872:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(88404);function o(){return n.useContext(i.A)}},315:function(e,t,r){r.d(t,{A:()=>a});var n=r(68335),i=r(77308),o=r(72052);let a=(0,n.A)({createStyledComponent:(0,i.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,o.b)({props:e,name:"MuiStack"})})},68003:function(e,t,r){r.d(t,{A:()=>S});var n=r(70451),i=r(11750),o=r(81023),a=r(59238),l=r(24726),s=r(26952),u=r(32560),c=r(77308),f=r(23434),d=r(72052),p=r(29009),m=r(46733);function h(e){return(0,m.Ay)("MuiSwitch",e)}let g=(0,p.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var y=r(62540);let b=(0,c.A)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.edge&&t[`edge${(0,l.A)(r.edge)}`],t[`size${(0,l.A)(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)"}}}}]}),v=(0,c.A)(u.A,{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.A)(r.color)}`]]}})((0,f.A)(({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,f.A)(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,s.A)(["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.X4)(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.a)(e.palette[t].main,.62):(0,a.e$)(e.palette[t].main,.55)}`}},[`&.${g.checked} + .${g.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),A=(0,c.A)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,f.A)(({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}`}))),w=(0,c.A)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,f.A)(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),S=n.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiSwitch"}),{className:n,color:a="primary",edge:s=!1,size:u="medium",sx:c,...f}=r,p={...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.A)(r)}`,`size${(0,l.A)(n)}`],switchBase:["switchBase",`color${(0,l.A)(i)}`,a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},c=(0,o.A)(u,h,t);return{...t,...c}})(p),g=(0,y.jsx)(w,{className:m.thumb,ownerState:p});return(0,y.jsxs)(b,{className:(0,i.A)(m.root,n),sx:c,ownerState:p,children:[(0,y.jsx)(v,{type:"checkbox",icon:g,checkedIcon:g,ref:t,ownerState:p,...f,classes:{...m,root:m.switchBase}}),(0,y.jsx)(A,{className:m.track,ownerState:p})]})})},88091:function(e,t,r){r.d(t,{A:()=>b});var n=r(70451),i=r(11750),o=r(81023),a=r(90124),l=r(77308),s=r(23434),u=r(72052),c=r(24726),f=r(26952),d=r(47599),p=r(62540);let m={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},h=(0,a.Dg)(),g=(0,l.A)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,c.A)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,s.A)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter((0,f.A)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${(0,c.A)(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b=n.forwardRef(function(e,t){let{color:r,...n}=(0,u.b)({props:e,name:"MuiTypography"}),a=!m[r],l=h({...n,...a&&{color:r}}),{align:s="inherit",className:f,component:b,gutterBottom:v=!1,noWrap:A=!1,paragraph:w=!1,variant:S="body1",variantMapping:x=y,...k}=l,$={...l,align:s,color:r,className:f,component:b,gutterBottom:v,noWrap:A,paragraph:w,variant:S,variantMapping:x},C=b||(w?"p":x[S]||y[S])||"span",O=(e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:a,classes:l}=e,s={root:["root",a,"inherit"!==e.align&&`align${(0,c.A)(t)}`,r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return(0,o.A)(s,d.y,l)})($);return(0,p.jsx)(g,{as:C,ref:t,className:(0,i.A)(O.root,f),...k,ownerState:$,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...k.style}})})},47599:function(e,t,r){r.d(t,{A:()=>a,y:()=>o});var n=r(29009),i=r(46733);function o(e){return(0,i.Ay)("MuiTypography",e)}let a=(0,n.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},32560:function(e,t,r){r.d(t,{A:()=>b});var n=r(70451),i=r(81023),o=r(24726),a=r(83926),l=r(77308),s=r(2203),u=r(42872),c=r(1337),f=r(29009),d=r(46733);function p(e){return(0,d.Ay)("PrivateSwitchBase",e)}(0,f.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=r(73397),h=r(62540);let g=(0,l.A)(c.A)({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}}]}),y=(0,l.A)("input",{shouldForwardProp:a.A})({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:f=!1,edge:d=!1,icon:b,id:v,inputProps:A,inputRef:w,name:S,onBlur:x,onChange:k,onFocus:$,readOnly:C,required:O=!1,tabIndex:_,type:B,value:T,slots:j={},slotProps:M={},...N}=e,[P,E]=(0,s.A)({controlled:n,default:!!l,name:"SwitchBase",state:"checked"}),D=(0,u.A)(),I=c;D&&void 0===I&&(I=D.disabled);let F="checkbox"===B||"radio"===B,R={...e,checked:P,disabled:I,disableFocusRipple:f,edge:d},L=(e=>{let{classes:t,checked:r,disabled:n,edge:a}=e,l={root:["root",r&&"checked",n&&"disabled",a&&`edge${(0,o.A)(a)}`],input:["input"]};return(0,i.A)(l,p,t)})(R),U={slots:j,slotProps:{input:A,...M}},[z,W]=(0,m.A)("root",{ref:t,elementType:g,className:L.root,shouldForwardComponentProp:!0,externalForwardedProps:{...U,component:"span",...N},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),$&&$(t),D&&D.onFocus&&D.onFocus(t)},onBlur:t=>{e.onBlur?.(t),x&&x(t),D&&D.onBlur&&D.onBlur(t)}}),ownerState:R,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:I,role:void 0,tabIndex:null}}),[G,V]=(0,m.A)("input",{ref:w,elementType:y,className:L.input,externalForwardedProps:U,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;E(t),k&&k(e,t)})(t)}}),ownerState:R,additionalProps:{autoFocus:r,checked:n,defaultChecked:l,disabled:I,id:F?v:void 0,name:S,readOnly:C,required:O,tabIndex:_,type:B,..."checkbox"===B&&void 0===T?{}:{value:T}}});return(0,h.jsxs)(z,{...W,children:[(0,h.jsx)(G,{...V}),P?a:b]})})},9408:function(e,t,r){r.d(t,{A:()=>H});var n=r(67425),i=r(6121),o=r(59238);let a={black:"#000",white:"#fff"},l={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},s={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},f={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},d={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function m(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let h=m();function g(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=g();function b(e,t,r,n){let i=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,o.a)(e.main,i):"dark"===t&&(e.dark=(0,o.e$)(e.main,a)))}function v(e){let t,{mode:r="light",contrastThreshold:v=3,tonalOffset:A=.2,...w}=e,S=e.primary||function(e="light"){return"dark"===e?{main:f["200"],light:f["50"],dark:f["400"]}:{main:f["700"],light:f["400"],dark:f["800"]}}(r),x=e.secondary||function(e="light"){return"dark"===e?{main:s["200"],light:s["50"],dark:s["400"]}:{main:s["500"],light:s["300"],dark:s["700"]}}(r),k=e.error||function(e="light"){return"dark"===e?{main:u["500"],light:u["300"],dark:u["700"]}:{main:u["700"],light:u["400"],dark:u["800"]}}(r),$=e.info||function(e="light"){return"dark"===e?{main:d["400"],light:d["300"],dark:d["700"]}:{main:d["700"],light:d["500"],dark:d["900"]}}(r),C=e.success||function(e="light"){return"dark"===e?{main:p["400"],light:p["300"],dark:p["700"]}:{main:p["800"],light:p["500"],dark:p["900"]}}(r),O=e.warning||function(e="light"){return"dark"===e?{main:c["400"],light:c["300"],dark:c["700"]}:{main:"#ed6c02",light:c["500"],dark:c["900"]}}(r);function _(e){return(0,o.eM)(e,y.text.primary)>=v?y.text.primary:h.text.primary}let B=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:o=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,n.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,n.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b(e,"light",i,A),b(e,"dark",o,A),e.contrastText||(e.contrastText=_(e.main)),e};return"light"===r?t=m():"dark"===r&&(t=g()),(0,i.A)({common:{...a},mode:r,primary:B({color:S,name:"primary"}),secondary:B({color:x,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:B({color:k,name:"error"}),warning:B({color:O,name:"warning"}),info:B({color:$,name:"info"}),success:B({color:C,name:"success"}),grey:l,contrastThreshold:v,getContrastText:_,augmentColor:B,tonalOffset:A,...t},w)}var A=r(17575),w=r(89187);let S=(e,t,r,n=[])=>{let i=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=r:i&&"object"==typeof i&&(i[e]=r):i&&"object"==typeof i&&(i[e]||(i[e]=n.includes(e)?[]:{}),i=i[e])})};function x(e,t){var r,n;let{prefix:i,shouldSkipGeneratingVar:o}=t||{},a={},l={},s={};return r=(e,t,r)=>{if(("string"==typeof t||"number"==typeof t)&&(!o||!o(e,t))){var n,u;let o=`--${i?`${i}-`:""}${e.join("-")}`,c=(n=e,"number"==typeof(u=t)?["lineHeight","fontWeight","opacity","zIndex"].some(e=>n.includes(e))||n[n.length-1].toLowerCase().includes("opacity")?u:`${u}px`:u);Object.assign(a,{[o]:c}),S(l,e,`var(${o})`,r),S(s,e,`var(${o}, ${c})`,r)}},n=e=>"vars"===e[0],function e(t,i=[],o=[]){Object.entries(t).forEach(([t,a])=>{n&&(!n||n([...i,t]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...i,t],Array.isArray(a)?[...o,t]:o):r([...i,t],a,o))})}(e),{css:a,vars:l,varsWithDefaults:s}}let k=function(e,t={}){let{getSelector:r=function(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:a={},components:l,defaultColorScheme:s="light",...u}=e,{vars:c,css:f,varsWithDefaults:d}=x(u,t),p=d,m={},{[s]:h,...g}=a;if(Object.entries(g||{}).forEach(([e,r])=>{let{vars:n,css:o,varsWithDefaults:a}=x(r,t);p=(0,i.A)(p,a),m[e]={css:o,vars:n}}),h){let{css:e,vars:r,varsWithDefaults:n}=x(h,t);p=(0,i.A)(p,n),m[s]={css:e,vars:r}}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(m).forEach(([,{vars:t}])=>{e=(0,i.A)(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||"light";function o(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}o(r(void 0,{...f}),f);let{[i]:l,...s}=m;if(l){let{css:e}=l,t=a[i]?.palette?.mode,s=!n&&t?{colorScheme:t,...e}:{...e};o(r(i,{...s}),s)}return Object.entries(s).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,l=!n&&i?{colorScheme:i,...t}:{...t};o(r(e,{...l}),l)}),t}}};var $=r(73126),C=r(92927),O=r(80787);let _={textTransform:"uppercase"},B='"Roboto", "Helvetica", "Arial", sans-serif';function T(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let j=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)];var M=r(48927);let N={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function P(e={}){let t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n<r.length;n++){let[o,a]=r[n];!((0,i.Q)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||o.startsWith("unstable_")?delete t[o]:(0,i.Q)(a)&&(t[o]={...a},e(t[o]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
76
76
 
77
77
  const theme = ${JSON.stringify(t,null,2)};
78
78
 
79
79
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
80
80
  theme.transitions = createTransitions(theme.transitions || {});
81
81
 
82
- export default theme;`}let E=function(e={},...t){var r;let{breakpoints:o,mixins:a={},spacing:l,palette:s={},transitions:u={},typography:c={},shape:f,...d}=e;if(e.vars&&void 0===e.generateThemeVars)throw Error((0,n.A)(20));let p=v(s),m=(0,O.A)(e),h=(0,i.A)(m,{mixins:(r=m.breakpoints,{toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...a}),palette:p,shadows:j.slice(),typography:function(e,t){let{fontFamily:r=B,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:f,...d}="function"==typeof t?t(e):t,p=n/14,m=f||(e=>`${e/u*p}rem`),h=(e,t,n,i,o)=>({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n,...r===B?{letterSpacing:`${Math.round(i/t*1e5)/1e5}em`}:{},...o,...c}),g={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(l,14,1.75,.4,_),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,_),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)({htmlFontSize:u,pxToRem:m,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s,...g},d,{clone:!1})}(p,c),transitions:(0,N.Ay)(u),zIndex:{...M}});return h=(0,i.A)(h,d),(h=t.reduce((e,t)=>(0,i.A)(e,t),h)).unstable_sxConfig={...$.A,...d?.unstable_sxConfig},h.unstable_sx=function(e){return(0,C.A)({sx:e,theme:this})},h.toRuntimeSource=P,h};var D=r(9307);let F=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,D.A)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function I(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function R(e){return"dark"===e?F:[]}function L(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}function U(e,t,r){!e[t]&&r&&(e[t]=r)}function z(e){return"string"==typeof e&&e.startsWith("hsl")?(0,o.YL)(e):e}function W(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,o.Me)(z(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
83
- To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let G=e=>{try{return e()}catch(e){}};function V(e,t,r,n){if(!t)return;t=!0===t?{}:t;let i="dark"===n?"dark":"light";if(!r){e[n]=function(e){let{palette:t={mode:"light"},opacity:r,overlays:n,...i}=e,o=v(t);return{palette:o,opacity:{...I(o.mode),...r},overlays:n||R(o.mode),...i}}({...t,palette:{mode:i,...t?.palette}});return}let{palette:o,...a}=E({...r,palette:{mode:i,...t?.palette}});return e[n]={...t,palette:o,opacity:{...I(i),...t?.opacity},overlays:t?.overlays||R(i)},a}function K(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:v({...!0===r?{}:r.palette,mode:t})})}function H(e={},...t){let{palette:r,cssVariables:a=!1,colorSchemes:l=!r?{light:!0}:void 0,defaultColorScheme:s=r?.mode,...u}=e,c=s||"light",f=l?.[c],d={...l,...r?{[c]:{..."boolean"!=typeof f&&f,palette:r}}:void 0};if(!1===a){if(!("colorSchemes"in e))return E(e,...t);let n=r;"palette"in e||!d[c]||(!0!==d[c]?n=d[c].palette:"dark"===c&&(n={mode:"dark"}));let i=E({...e,palette:n},...t);return i.defaultColorScheme=c,i.colorSchemes=d,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==d.light&&d.light,palette:i.palette},K(i,"dark",d.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==d.dark&&d.dark,palette:i.palette},K(i,"light",d.light)),i}return r||"light"in d||"light"!==c||(d.light=!0),function(e={},...t){var r,a;let l,s,{colorSchemes:u={light:!0},defaultColorScheme:c,disableCssColorScheme:f=!1,cssVarPrefix:d="mui",shouldSkipGeneratingVar:p=L,colorSchemeSelector:m=u.light&&u.dark?"media":void 0,rootSelector:h=":root",...g}=e,y=Object.keys(u)[0],b=c||(u.light&&"light"!==y?"light":y),v=((e="mui")=>(function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`})(e))(d),{[b]:S,light:x,dark:O,..._}=u,B={..._},T=S;if(("dark"!==b||"dark"in u)&&("light"!==b||"light"in u)||(T=!0),!T)throw Error((0,n.A)(21,b));let j=V(B,T,g,b);x&&!B.light&&V(B,x,void 0,"light"),O&&!B.dark&&V(B,O,void 0,"dark");let N={defaultColorScheme:b,...j,cssVarPrefix:d,colorSchemeSelector:m,rootSelector:h,getCssVar:v,colorSchemes:B,font:{...(r=j.typography,l={},Object.entries(r).forEach(e=>{let[t,r]=e;"object"==typeof r&&(l[t]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),l),...j.font},spacing:"number"==typeof(a=g.spacing)?`${a}px`:"string"==typeof a||"function"==typeof a||Array.isArray(a)?a:"8px"};Object.keys(N.colorSchemes).forEach(e=>{let t=N.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],i=r[2];return v(e,t[n][i])};if("light"===t.mode&&(U(t.common,"background","#fff"),U(t.common,"onBackground","#000")),"dark"===t.mode&&(U(t.common,"background","#000"),U(t.common,"onBackground","#fff")),["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{t[e]||(t[e]={})}),"light"===t.mode){U(t.Alert,"errorColor",(0,o.Nd)(t.error.light,.6)),U(t.Alert,"infoColor",(0,o.Nd)(t.info.light,.6)),U(t.Alert,"successColor",(0,o.Nd)(t.success.light,.6)),U(t.Alert,"warningColor",(0,o.Nd)(t.warning.light,.6)),U(t.Alert,"errorFilledBg",r("palette-error-main")),U(t.Alert,"infoFilledBg",r("palette-info-main")),U(t.Alert,"successFilledBg",r("palette-success-main")),U(t.Alert,"warningFilledBg",r("palette-warning-main")),U(t.Alert,"errorFilledColor",G(()=>t.getContrastText(t.error.main))),U(t.Alert,"infoFilledColor",G(()=>t.getContrastText(t.info.main))),U(t.Alert,"successFilledColor",G(()=>t.getContrastText(t.success.main))),U(t.Alert,"warningFilledColor",G(()=>t.getContrastText(t.warning.main))),U(t.Alert,"errorStandardBg",(0,o.j4)(t.error.light,.9)),U(t.Alert,"infoStandardBg",(0,o.j4)(t.info.light,.9)),U(t.Alert,"successStandardBg",(0,o.j4)(t.success.light,.9)),U(t.Alert,"warningStandardBg",(0,o.j4)(t.warning.light,.9)),U(t.Alert,"errorIconColor",r("palette-error-main")),U(t.Alert,"infoIconColor",r("palette-info-main")),U(t.Alert,"successIconColor",r("palette-success-main")),U(t.Alert,"warningIconColor",r("palette-warning-main")),U(t.AppBar,"defaultBg",r("palette-grey-100")),U(t.Avatar,"defaultBg",r("palette-grey-400")),U(t.Button,"inheritContainedBg",r("palette-grey-300")),U(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),U(t.Chip,"defaultBorder",r("palette-grey-400")),U(t.Chip,"defaultAvatarColor",r("palette-grey-700")),U(t.Chip,"defaultIconColor",r("palette-grey-700")),U(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),U(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),U(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),U(t.LinearProgress,"primaryBg",(0,o.j4)(t.primary.main,.62)),U(t.LinearProgress,"secondaryBg",(0,o.j4)(t.secondary.main,.62)),U(t.LinearProgress,"errorBg",(0,o.j4)(t.error.main,.62)),U(t.LinearProgress,"infoBg",(0,o.j4)(t.info.main,.62)),U(t.LinearProgress,"successBg",(0,o.j4)(t.success.main,.62)),U(t.LinearProgress,"warningBg",(0,o.j4)(t.warning.main,.62)),U(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),U(t.Slider,"primaryTrack",(0,o.j4)(t.primary.main,.62)),U(t.Slider,"secondaryTrack",(0,o.j4)(t.secondary.main,.62)),U(t.Slider,"errorTrack",(0,o.j4)(t.error.main,.62)),U(t.Slider,"infoTrack",(0,o.j4)(t.info.main,.62)),U(t.Slider,"successTrack",(0,o.j4)(t.success.main,.62)),U(t.Slider,"warningTrack",(0,o.j4)(t.warning.main,.62));let e=(0,o.Y9)(t.background.default,.8);U(t.SnackbarContent,"bg",e),U(t.SnackbarContent,"color",G(()=>t.getContrastText(e))),U(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),U(t.StepConnector,"border",r("palette-grey-400")),U(t.StepContent,"border",r("palette-grey-400")),U(t.Switch,"defaultColor",r("palette-common-white")),U(t.Switch,"defaultDisabledColor",r("palette-grey-100")),U(t.Switch,"primaryDisabledColor",(0,o.j4)(t.primary.main,.62)),U(t.Switch,"secondaryDisabledColor",(0,o.j4)(t.secondary.main,.62)),U(t.Switch,"errorDisabledColor",(0,o.j4)(t.error.main,.62)),U(t.Switch,"infoDisabledColor",(0,o.j4)(t.info.main,.62)),U(t.Switch,"successDisabledColor",(0,o.j4)(t.success.main,.62)),U(t.Switch,"warningDisabledColor",(0,o.j4)(t.warning.main,.62)),U(t.TableCell,"border",(0,o.j4)((0,o.Cg)(t.divider,1),.88)),U(t.Tooltip,"bg",(0,o.Cg)(t.grey[700],.92))}if("dark"===t.mode){U(t.Alert,"errorColor",(0,o.j4)(t.error.light,.6)),U(t.Alert,"infoColor",(0,o.j4)(t.info.light,.6)),U(t.Alert,"successColor",(0,o.j4)(t.success.light,.6)),U(t.Alert,"warningColor",(0,o.j4)(t.warning.light,.6)),U(t.Alert,"errorFilledBg",r("palette-error-dark")),U(t.Alert,"infoFilledBg",r("palette-info-dark")),U(t.Alert,"successFilledBg",r("palette-success-dark")),U(t.Alert,"warningFilledBg",r("palette-warning-dark")),U(t.Alert,"errorFilledColor",G(()=>t.getContrastText(t.error.dark))),U(t.Alert,"infoFilledColor",G(()=>t.getContrastText(t.info.dark))),U(t.Alert,"successFilledColor",G(()=>t.getContrastText(t.success.dark))),U(t.Alert,"warningFilledColor",G(()=>t.getContrastText(t.warning.dark))),U(t.Alert,"errorStandardBg",(0,o.Nd)(t.error.light,.9)),U(t.Alert,"infoStandardBg",(0,o.Nd)(t.info.light,.9)),U(t.Alert,"successStandardBg",(0,o.Nd)(t.success.light,.9)),U(t.Alert,"warningStandardBg",(0,o.Nd)(t.warning.light,.9)),U(t.Alert,"errorIconColor",r("palette-error-main")),U(t.Alert,"infoIconColor",r("palette-info-main")),U(t.Alert,"successIconColor",r("palette-success-main")),U(t.Alert,"warningIconColor",r("palette-warning-main")),U(t.AppBar,"defaultBg",r("palette-grey-900")),U(t.AppBar,"darkBg",r("palette-background-paper")),U(t.AppBar,"darkColor",r("palette-text-primary")),U(t.Avatar,"defaultBg",r("palette-grey-600")),U(t.Button,"inheritContainedBg",r("palette-grey-800")),U(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),U(t.Chip,"defaultBorder",r("palette-grey-700")),U(t.Chip,"defaultAvatarColor",r("palette-grey-300")),U(t.Chip,"defaultIconColor",r("palette-grey-300")),U(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),U(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),U(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),U(t.LinearProgress,"primaryBg",(0,o.Nd)(t.primary.main,.5)),U(t.LinearProgress,"secondaryBg",(0,o.Nd)(t.secondary.main,.5)),U(t.LinearProgress,"errorBg",(0,o.Nd)(t.error.main,.5)),U(t.LinearProgress,"infoBg",(0,o.Nd)(t.info.main,.5)),U(t.LinearProgress,"successBg",(0,o.Nd)(t.success.main,.5)),U(t.LinearProgress,"warningBg",(0,o.Nd)(t.warning.main,.5)),U(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),U(t.Slider,"primaryTrack",(0,o.Nd)(t.primary.main,.5)),U(t.Slider,"secondaryTrack",(0,o.Nd)(t.secondary.main,.5)),U(t.Slider,"errorTrack",(0,o.Nd)(t.error.main,.5)),U(t.Slider,"infoTrack",(0,o.Nd)(t.info.main,.5)),U(t.Slider,"successTrack",(0,o.Nd)(t.success.main,.5)),U(t.Slider,"warningTrack",(0,o.Nd)(t.warning.main,.5));let e=(0,o.Y9)(t.background.default,.98);U(t.SnackbarContent,"bg",e),U(t.SnackbarContent,"color",G(()=>t.getContrastText(e))),U(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),U(t.StepConnector,"border",r("palette-grey-600")),U(t.StepContent,"border",r("palette-grey-600")),U(t.Switch,"defaultColor",r("palette-grey-300")),U(t.Switch,"defaultDisabledColor",r("palette-grey-600")),U(t.Switch,"primaryDisabledColor",(0,o.Nd)(t.primary.main,.55)),U(t.Switch,"secondaryDisabledColor",(0,o.Nd)(t.secondary.main,.55)),U(t.Switch,"errorDisabledColor",(0,o.Nd)(t.error.main,.55)),U(t.Switch,"infoDisabledColor",(0,o.Nd)(t.info.main,.55)),U(t.Switch,"successDisabledColor",(0,o.Nd)(t.success.main,.55)),U(t.Switch,"warningDisabledColor",(0,o.Nd)(t.warning.main,.55)),U(t.TableCell,"border",(0,o.Nd)((0,o.Cg)(t.divider,1),.68)),U(t.Tooltip,"bg",(0,o.Cg)(t.grey[700],.92))}W(t.background,"default"),W(t.background,"paper"),W(t.common,"background"),W(t.common,"onBackground"),W(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&U(t[e],"mainChannel",(0,o.Me)(z(r.main))),r.light&&U(t[e],"lightChannel",(0,o.Me)(z(r.light))),r.dark&&U(t[e],"darkChannel",(0,o.Me)(z(r.dark))),r.contrastText&&U(t[e],"contrastTextChannel",(0,o.Me)(z(r.contrastText))),"text"===e&&(W(t[e],"primary"),W(t[e],"secondary")),"action"===e&&(r.active&&W(t[e],"active"),r.selected&&W(t[e],"selected")))})});let M={prefix:d,disableCssColorScheme:f,shouldSkipGeneratingVar:p,getSelector:(s=N=t.reduce((e,t)=>(0,i.A)(e,t),N),(e,t)=>{let r=s.rootSelector||":root",n=s.colorSchemeSelector,i=n;if("class"===n&&(i=".%s"),"data"===n&&(i="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(i=`[${n}="%s"]`),s.defaultColorScheme===e){if("dark"===e){let n,o={};return((n=s.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${n?`${n}-`:""}overlays-${t}`),`--${n?`${n}-`:""}palette-AppBar-darkBg`,`--${n?`${n}-`:""}palette-AppBar-darkColor`]).forEach(e=>{o[e]=t[e],delete t[e]}),"media"===i)?{[r]:t,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",e)]:o,[`${r}, ${i.replace("%s",e)}`]:t}:{[r]:{...t,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(e))}`}else if(e){if("media"===i)return{[`@media (prefers-color-scheme: ${String(e)})`]:{[r]:t}};if(i)return i.replace("%s",String(e))}return r})},{vars:E,generateThemeVars:D,generateStyleSheets:F}=k(N,M);return N.vars=E,Object.entries(N.colorSchemes[N.defaultColorScheme]).forEach(([e,t])=>{N[e]=t}),N.generateThemeVars=D,N.generateStyleSheets=F,N.generateSpacing=function(){return(0,A.A)(g.spacing,(0,w.LX)(this))},N.getColorSchemeSelector=function(e){return"media"===m?`@media (prefers-color-scheme: ${e})`:m?m.startsWith("data-")&&!m.includes("%s")?`[${m}="${e}"] &`:"class"===m?`.${e} &`:"data"===m?`[data-${e}] &`:`${m.replace("%s",e)} &`:"&"},N.spacing=N.generateSpacing(),N.shouldSkipGeneratingVar=p,N.unstable_sxConfig={...$.A,...g?.unstable_sxConfig},N.unstable_sx=function(e){return(0,C.A)({sx:e,theme:this})},N.toRuntimeSource=P,N}({...u,colorSchemes:d,defaultColorScheme:c,..."boolean"!=typeof a&&a},...t)}},48927:function(e,t,r){r.d(t,{Ay:()=>l,p0:()=>i});let n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return`${Math.round(e)}ms`}function a(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function l(e){let t={...n,...e.easing},r={...i,...e.duration};return{getAutoHeightDuration:a,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:o(i)} ${a} ${"string"==typeof l?l:o(l)}`).join(",")},...e,easing:t,duration:r}}},87169:function(e,t,r){r.d(t,{A:()=>n});let n=(0,r(9408).A)()},9307:function(e,t,r){r.d(t,{A:()=>n});function n(e){return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}},93724:function(e,t,r){r.d(t,{A:()=>n});let n="$$material"},83926:function(e,t,r){r.d(t,{A:()=>i});var n=r(14738);let i=e=>(0,n.A)(e)&&"classes"!==e},14738:function(e,t,r){r.d(t,{A:()=>n});let n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},77308:function(e,t,r){r.d(t,{A:()=>l});var n=r(57867),i=r(87169),o=r(93724),a=r(83926);let l=(0,n.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:a.A})},56599:function(e,t,r){r.d(t,{A:()=>a}),r(70451);var n=r(26041),i=r(87169),o=r(93724);function a(){let e=(0,n.A)(i.A);return e[o.A]||e}},24726:function(e,t,r){r.d(t,{A:()=>n});let n=r(85235).A},26952:function(e,t,r){r.d(t,{A:()=>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)}},23434:function(e,t,r){r.d(t,{A:()=>o});var n=r(46826);let i={theme:void 0},o=function(e){let t,r;return function(o){let a=t;return(void 0===a||o.theme!==r)&&(i.theme=o.theme,t=a=(0,n.A)(e(i)),r=o.theme),a}}},2203:function(e,t,r){r.d(t,{A:()=>n});let n=r(89369).A},32398:function(e,t,r){r.d(t,{A:()=>n});let n=r(83183).A},29424:function(e,t,r){r.d(t,{A:()=>n});let n=r(95591).A},73397:function(e,t,r){r.d(t,{A:()=>l});var n=r(95591),i=r(76780),o=r(1689),a=r(9414);function l(e,t){let{className:r,elementType:l,ownerState:s,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:f=!1,...d}=t,{component:p,slots:m={[e]:void 0},slotProps:h={[e]:void 0},...g}=u,y=m[e]||l,b=(0,o.A)(h[e],s),{props:{component:v,...A},internalRef:w}=(0,a.A)({className:r,...d,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:b}),S=(0,n.A)(w,b?.ref,t.ref),x="root"===e?v||p:v,k=(0,i.A)(y,{..."root"===e&&!p&&!m[e]&&c,..."root"!==e&&!m[e]&&c,...A,...x&&!f&&{as:x},...x&&f&&{component:x},ref:S},s);return[y,k]}},90124:function(e,t,r){r.d(t,{Dg:()=>p,Dp:()=>d}),r(70451);var n=r(20523),i=r(69402),o=r(62540);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(26041);let s=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,l.A)(r),i="function"==typeof e?e(t&&n[t]||n):e;return(0,o.jsx)(a,{styles:i})};var u=r(87169),c=r(93724);let f=function(e){return(0,o.jsx)(s,{...e,defaultTheme:u.A,themeId:c.A})};function d(e){return function(t){return(0,o.jsx)(f,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function p(){return n.A}},41535:function(e,t,r){r.d(t,{Ay:()=>a,HX:()=>l,tT:()=>u});var n=r(42292),i=r.n(n),o=r(37696);function a(e,t){return i()(e,t)}function l(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}r(69402);let s=[];function u(e){return s[0]=e,(0,o.J)(s)}},68335:function(e,t,r){r.d(t,{A:()=>v});var n=r(70451),i=r(11750),o=r(6121),a=r(46733),l=r(81023),s=r(7939),u=r(51327),c=r(20523),f=r(80787),d=r(85351),p=r(89187),m=r(62540);let h=(0,f.A)(),g=(0,s.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function y(e){return(0,u.A)({props:e,name:"MuiStack",defaultTheme:h})}let b=({ownerState:e,theme:t})=>{let r={display:"flex",flexDirection:"column",...(0,d.NI)({theme:t},(0,d.kW)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let n=(0,p.LX)(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,d.kW)({values:e.direction,base:i}),l=(0,d.kW)({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.A)(r,(0,d.NI)({theme:t},l,(t,r)=>e.useFlexGap?{gap:(0,p._W)(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,p._W)(n,t)}}))}return(0,d.iZ)(t.breakpoints,r)};function v(e={}){let{createStyledComponent:t=g,useThemeProps:r=y,componentName:o="MuiStack"}=e,s=t(b);return n.forwardRef(function(e,t){let u,f=r(e),{component:d="div",direction:p="column",spacing:h=0,divider:g,children:y,className:b,useFlexGap:v=!1,...A}=(0,c.A)(f),w=(0,l.A)({root:["root"]},e=>(0,a.Ay)(o,e),{});return(0,m.jsx)(s,{as:d,ownerState:{direction:p,spacing:h,useFlexGap:v},ref:t,className:(0,i.A)(w.root,b),...A,children:g?(u=n.Children.toArray(y).filter(Boolean)).reduce((e,t,r)=>(e.push(t),r<u.length-1&&e.push(n.cloneElement(g,{key:`separator-${r}`})),e),[]):y})})}},85351:function(e,t,r){r.d(t,{EU:()=>u,NI:()=>s,iZ:()=>f,kW:()=>d,vf:()=>c,zu:()=>o});var n=r(6121),i=r(40391);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`},l={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:o[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function s(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||a;return t.reduce((n,i,o)=>(n[e.up(e.keys[o])]=r(t[o]),n),{})}if("object"==typeof t){let e=n.breakpoints||a;return Object.keys(t).reduce((a,s)=>{if((0,i.ob)(e.keys,s)){let e=(0,i.CT)(n.containerQueries?n:l,s);e&&(a[e]=r(t[s],s))}else Object.keys(e.values||o).includes(s)?a[e.up(s)]=r(t[s],s):a[s]=t[s];return a},{})}return r(t)}function u(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}function c(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function f(e,...t){let r=u(e),i=[r,...t].reduce((e,t)=>(0,n.A)(e,t),{});return c(Object.keys(r),i)}function d({values:e,breakpoints:t,base:r}){let n,i=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===i.length?e:i.reduce((t,r,i)=>(Array.isArray(e)?(t[r]=null!=e[i]?e[i]:e[n],n=i):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},59238:function(e,t,r){r.d(t,{X4:()=>f,eM:()=>c,Cg:()=>d,Nd:()=>m,a:()=>h,Me:()=>a,e$:()=>p,Y9:()=>y,j4:()=>g,YL:()=>s});var n=r(67425);function i(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function o(e){let t;if(e.type)return e;if("#"===e.charAt(0)){var r;let t,n;return o((r=(r=e).slice(1),t=RegExp(`.{1,${r.length>=6?2:1}}`,"g"),(n=r.match(t))&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""))}let i=e.indexOf("("),a=e.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(a))throw Error((0,n.A)(9,e));let l=e.substring(i+1,e.length-1);if("color"===a){if(t=(l=l.split(" ")).shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.A)(10,t))}else l=l.split(",");return{type:a,values:l=l.map(e=>parseFloat(e)),colorSpace:t}}let a=(e,t)=>{try{let t;return(t=o(e)).values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")}catch(t){return e}};function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function s(e){let{values:t}=e=o(e),r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),s=(e,t=(e+r/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function u(e){let t="hsl"===(e=o(e)).type||"hsla"===e.type?o(s(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function f(e,t){return e=o(e),t=i(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function d(e,t,r){try{return f(e,t)}catch(t){return e}}function p(e,t){if(e=o(e),t=i(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function m(e,t,r){try{return p(e,t)}catch(t){return e}}function h(e,t){if(e=o(e),t=i(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function g(e,t,r){try{return h(e,t)}catch(t){return e}}function y(e,t,r){try{return function(e,t=.15){return u(e)>.5?p(e,t):h(e,t)}(e,t)}catch(t){return e}}},57867:function(e,t,r){r.d(t,{Ay:()=>d,MC:()=>u});var n=r(41535),i=r(6121),o=r(80787),a=r(92927),l=r(46826);let s=(0,o.A)();function u(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function c(e,t){let r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>c(e,t));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{let{variants:e,...n}=r;t=n}return f(e,r.variants,[t])}return r?.isProcessed?r.style:r}function f(e,t,r=[]){let n;e:for(let i=0;i<t.length;i+=1){let o=t[i];if("function"==typeof o.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(n))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue e;"function"==typeof o.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(o.style(n))):r.push(o.style)}return r}function d(e={}){let{themeId:t,defaultTheme:r=s,rootShouldForwardProp:o=u,slotShouldForwardProp:p=u}=e;function m(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return(e,t={})=>{var r,s,d;(0,n.HX)(e,e=>e.filter(e=>e!==a.A));let{name:h,slot:g,skipVariantsResolver:y,skipSx:b,overridesResolver:v=!(r=(s=g)?s.charAt(0).toLowerCase()+s.slice(1):s)?null:(e,t)=>t[r],...A}=t,w=void 0!==y?y:g&&"Root"!==g&&"root"!==g||!1,S=b||!1,x=u;"Root"===g||"root"===g?x=o:g?x=p:"string"==typeof(d=e)&&d.charCodeAt(0)>96&&(x=void 0);let k=(0,n.Ay)(e,{shouldForwardProp:x,label:void 0,...A}),$=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return c(t,e)};if((0,i.Q)(e)){let t=(0,l.A)(e);return t.variants?function(e){return c(e,t)}:t.style}return e},C=(...t)=>{let r=[],n=t.map($),i=[];if(r.push(m),h&&v&&i.push(function(e){let t=e.theme,r=t.components?.[h]?.styleOverrides;if(!r)return null;let n={};for(let t in r)n[t]=c(e,r[t]);return v(e,n)}),h&&!w&&i.push(function(e){let t=e.theme,r=t?.components?.[h]?.variants;return r?f(e,r):null}),S||i.push(a.A),Array.isArray(n[0])){let e,t=n.shift(),o=Array(r.length).fill(""),a=Array(i.length).fill("");(e=[...o,...t,...a]).raw=[...o,...t.raw,...a],r.unshift(e)}let o=k(...r,...n,...i);return e.muiName&&(o.muiName=e.muiName),o};return k.withConfig&&(C.withConfig=k.withConfig),C}}},17575:function(e,t,r){r.d(t,{A:()=>i});var n=r(89187);function i(e=8,t=(0,n.LX)({spacing:e})){if(e.mui)return e;let r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}},80787:function(e,t,r){r.d(t,{A:()=>c});var n=r(6121),i=r(40391);let o={borderRadius:4};var a=r(17575),l=r(92927),s=r(73126);function u(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}let c=function(e={},...t){let{breakpoints:r={},palette:c={},spacing:f,shape:d={},...p}=e,m=function(e){let t,{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...o}=e,a=((t=Object.keys(r).map(e=>({key:e,val:r[e]}))||[]).sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})),l=Object.keys(a);function s(e){let t="number"==typeof r[e]?r[e]:e;return`@media (min-width:${t}${n})`}function u(e){let t="number"==typeof r[e]?r[e]:e;return`@media (max-width:${t-i/100}${n})`}function c(e,t){let o=l.indexOf(t);return`@media (min-width:${"number"==typeof r[e]?r[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof r[l[o]]?r[l[o]]:t)-i/100}${n})`}return{keys:l,values:a,up:s,down:u,between:c,only:function(e){return l.indexOf(e)+1<l.length?c(e,l[l.indexOf(e)+1]):s(e)},not:function(e){let t=l.indexOf(e);return 0===t?s(l[1]):t===l.length-1?u(l[t]):c(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}(r),h=(0,a.A)(f),g=(0,n.A)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...c},spacing:h,shape:{...o,...d}},p);return(g=(0,i.Ay)(g)).applyStyles=u,(g=t.reduce((e,t)=>(0,n.A)(e,t),g)).unstable_sxConfig={...s.A,...p?.unstable_sxConfig},g.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},g}},40391:function(e,t,r){function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return(e.match(r)?.[1]||0)-(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function o(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)}function a(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let n={},i=e=>(r(n,e),n);return r(i),{...e,containerQueries:i}}r.d(t,{Ay:()=>a,CT:()=>o,_S:()=>n,ob:()=>i})},57255:function(e,t,r){r.d(t,{A:()=>i});var n=r(6121);let i=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},46826:function(e,t,r){r.d(t,{A:()=>i});var n=r(41535);function i(e){let{variants:t,...r}=e,i={variants:t,style:(0,n.tT)(r),isProcessed:!0};return i.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.tT)(e.style))}),i}},89187:function(e,t,r){let n;r.d(t,{Lc:()=>v,Ms:()=>A,_W:()=>y,MA:()=>h,LX:()=>g});var i,o=r(85351),a=r(95279),l=r(57255);let s={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},f=(i=e=>{if(e.length>2)if(!c[e])return[e];else e=c[e];let[t,r]=e.split(""),n=s[t],i=u[r]||"";return Array.isArray(i)?i.map(e=>n+e):[n+i]},n={},e=>(void 0===n[e]&&(n[e]=i(e)),n[e])),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],m=[...d,...p];function h(e,t,r,n){let i=(0,a.Yn)(e,t,!0)??r;return"number"==typeof i||"string"==typeof i?e=>"string"==typeof e?e:"string"==typeof i?`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if("string"==typeof e)return e;let t=i[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof i?i:()=>void 0}function g(e){return h(e,"spacing",8,"spacing")}function y(e,t){return"string"==typeof t||null==t?t:e(t)}function b(e,t){let r=g(e.theme);return Object.keys(e).map(n=>(function(e,t,r,n){var i;if(!t.includes(r))return null;let a=(i=f(r),e=>i.reduce((t,r)=>(t[r]=y(n,e),t),{})),l=e[r];return(0,o.NI)(e,l,a)})(e,t,n,r)).reduce(l.A,{})}function v(e){return b(e,d)}function A(e){return b(e,p)}function w(e){return b(e,m)}v.propTypes={},v.filterProps=d,A.propTypes={},A.filterProps=p,w.propTypes={},w.filterProps=m},95279:function(e,t,r){r.d(t,{Ay:()=>l,BO:()=>a,Yn:()=>o});var n=r(85235),i=r(85351);function o(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:o(e,r)||n,t&&(i=t(i,n,e)),i}let l=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=o(e.theme,l)||{};return(0,i.NI)(e,u,e=>{let i=a(c,s,e);return(e===i&&"string"==typeof e&&(i=a(c,s,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r)?i:{[r]:i}})};return u.propTypes={},u.filterProps=[t],u}},73126:function(e,t,r){r.d(t,{A:()=>P});var n=r(89187),i=r(95279),o=r(57255);let a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,o.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var l=r(85351);function s(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}let c=u("border",s),f=u("borderTop",s),d=u("borderRight",s),p=u("borderBottom",s),m=u("borderLeft",s),h=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),b=u("borderBottomColor"),v=u("borderLeftColor"),A=u("outline",s),w=u("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.NI)(e,e.borderRadius,e=>({borderRadius:(0,n._W)(t,e)}))}return null};S.propTypes={},S.filterProps=["borderRadius"],a(c,f,d,p,m,h,g,y,b,v,S,A,w);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.MA)(e.theme,"spacing",8,"gap");return(0,l.NI)(e,e.gap,e=>({gap:(0,n._W)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let k=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.MA)(e.theme,"spacing",8,"columnGap");return(0,l.NI)(e,e.columnGap,e=>({columnGap:(0,n._W)(t,e)}))}return null};k.propTypes={},k.filterProps=["columnGap"];let $=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.MA)(e.theme,"spacing",8,"rowGap");return(0,l.NI)(e,e.rowGap,e=>({rowGap:(0,n._W)(t,e)}))}return null};function C(e,t){return"grey"===t?t:e}function O(e){return e<=1&&0!==e?`${100*e}%`:e}$.propTypes={},$.filterProps=["rowGap"],a(x,k,$,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),a((0,i.Ay)({prop:"color",themeKey:"palette",transform:C}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:C}));let _=(0,i.Ay)({prop:"width",transform:O}),B=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.NI)(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||l.zu[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:O(t)}}):null;B.filterProps=["maxWidth"];let T=(0,i.Ay)({prop:"minWidth",transform:O}),j=(0,i.Ay)({prop:"height",transform:O}),N=(0,i.Ay)({prop:"maxHeight",transform:O}),M=(0,i.Ay)({prop:"minHeight",transform:O});(0,i.Ay)({prop:"size",cssProperty:"width",transform:O}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:O}),a(_,B,T,j,N,M,(0,i.Ay)({prop:"boxSizing"}));let P={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:C},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:C},backgroundColor:{themeKey:"palette",transform:C},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:$},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:O},maxWidth:{style:B},minWidth:{transform:O},height:{transform:O},maxHeight:{transform:O},minHeight:{transform:O},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},20523:function(e,t,r){r.d(t,{A:()=>o});var n=r(6121),i=r(73126);function o(e){let t,r,o,{sx:a,...l}=e,{systemProps:s,otherProps:u}=(r={systemProps:{},otherProps:{}},o=l?.theme?.unstable_sxConfig??i.A,Object.keys(l).forEach(e=>{o[e]?r.systemProps[e]=l[e]:r.otherProps[e]=l[e]}),r);return t=Array.isArray(a)?[s,...a]:"function"==typeof a?(...e)=>{let t=a(...e);return(0,n.Q)(t)?{...s,...t}:s}:{...s,...a},{...u,sx:t}}},92927:function(e,t,r){r.d(t,{A:()=>c});var n=r(85235),i=r(57255),o=r(95279),a=r(85351),l=r(40391),s=r(73126);let u=function(){function e(e,t,r,i){let l={[e]:t,theme:r},s=i[e];if(!s)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:f,style:d}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,o.Yn)(r,c)||{};return d?d(l):(0,a.NI)(l,t,t=>{let r=(0,o.BO)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,o.BO)(p,f,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){let{sx:n,theme:o={}}=r||{};if(!n)return null;let u=o.unstable_sxConfig??s.A;function c(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;let s=(0,a.EU)(o.breakpoints),c=Object.keys(s),f=s;return Object.keys(n).forEach(r=>{var l;let s=(l=n[r],"function"==typeof l?l(o):l);if(null!=s)if("object"==typeof s)if(u[r])f=(0,i.A)(f,e(r,s,o,u));else{let e=(0,a.NI)({theme:o},s,e=>({[r]:e}));!function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)}(e,s)?f=(0,i.A)(f,e):f[r]=t({sx:s,theme:o})}else f=(0,i.A)(f,e(r,s,o,u))}),(0,l._S)(o,(0,a.vf)(c,f))}return Array.isArray(n)?n.map(c):c(n)}}();u.filterProps=["sx"];let c=u},7939:function(e,t,r){r.d(t,{A:()=>n});let n=(0,r(57867).Ay)()},26041:function(e,t,r){r.d(t,{A:()=>a});var n=r(80787),i=r(45827);let o=(0,n.A)(),a=function(e=o){return(0,i.A)(e)}},70320:function(e,t,r){r.d(t,{A:()=>i});var n=r(52215);function i(e){let{theme:t,name:r,props:i}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.A)(t.components[r].defaultProps,i):i}},51327:function(e,t,r){r.d(t,{A:()=>o});var n=r(70320),i=r(26041);function o({props:e,name:t,defaultTheme:r,themeId:o}){let a=(0,i.A)(r);return o&&(a=a[o]||a),(0,n.A)({theme:a,name:t,props:e})}},45827:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(69402);let o=function(e=null){let t=n.useContext(i.ThemeContext);return t&&0!==Object.keys(t).length?t:e}},71027:function(e,t,r){let n;r.d(t,{A:()=>o});let i=e=>e,o=(n=i,{configure(e){n=e},generate:e=>n(e),reset(){n=i}})},76780:function(e,t,r){r.d(t,{A:()=>n});let n=function(e,t,r){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...r}}}},85235:function(e,t,r){r.d(t,{A:()=>i});var n=r(67425);function i(e){if("string"!=typeof e)throw Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},81023:function(e,t,r){r.d(t,{A:()=>n});function n(e,t,r){let n={};for(let i in e){let o=e[i],a="",l=!0;for(let e=0;e<o.length;e+=1){let n=o[e];n&&(a+=(!0===l?"":" ")+t(n),l=!1,r&&r[n]&&(a+=" "+r[n]))}n[i]=a}return n}},6121:function(e,t,r){r.d(t,{A:()=>function e(t,r,a={clone:!0}){let l=a.clone?{...t}:t;return o(t)&&o(r)&&Object.keys(r).forEach(s=>{n.isValidElement(r[s])||(0,i.isValidElementType)(r[s])?l[s]=r[s]:o(r[s])&&Object.prototype.hasOwnProperty.call(t,s)&&o(t[s])?l[s]=e(t[s],r[s],a):a.clone?l[s]=o(r[s])?function e(t){if(n.isValidElement(t)||(0,i.isValidElementType)(t)||!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[s]):r[s]:l[s]=r[s]}),l},Q:()=>o});var n=r(70451),i=r(22706);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},3507:function(e,t,r){r.d(t,{A:()=>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}},67425:function(e,t,r){r.d(t,{A:()=>n});function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}},46733:function(e,t,r){r.d(t,{Ay:()=>o});var n=r(71027);let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,t,r="Mui"){let a=i[t];return a?`${r}-${a}`:`${n.A.generate(e)}-${t}`}},29009:function(e,t,r){r.d(t,{A:()=>i});var n=r(46733);function i(e,t,r="Mui"){let o={};return t.forEach(t=>{o[t]=(0,n.Ay)(e,t,r)}),o}},93399:function(e,t,r){r.d(t,{A:()=>n});function n(e){try{return e.matches(":focus-visible")}catch(e){}return!1}},9414:function(e,t,r){r.d(t,{A:()=>a});var n=r(11750),i=r(3507);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.A)(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.A)({...l,...a}),c=o(a),f=o(l),d=t(u),p=(0,n.A)(d?.className,r?.className,s,l?.className,a?.className),m={...d?.style,...r?.style,...l?.style,...a?.style},h={...d,...r,...f,...c};return p.length>0&&(h.className=p),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:d.ref}}},1689:function(e,t,r){r.d(t,{A:()=>n});let n=function(e,t,r){return"function"==typeof e?e(t,r):e}},52215:function(e,t,r){r.d(t,{A:()=>function e(t,r){let n={...r};for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i))if("components"===i||"slots"===i)n[i]={...t[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){let o=t[i],a=r[i];if(a)if(o)for(let t in n[i]={...a},o)Object.prototype.hasOwnProperty.call(o,t)&&(n[i][t]=e(o[t],a[t]));else n[i]=a;else n[i]=o||{}}else void 0===n[i]&&(n[i]=t[i]);return n}})},71849:function(e,t,r){r.d(t,{A:()=>n});function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},89369:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);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]}},31789:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},83183:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(31789);let o=function(e){let t=n.useRef(e);return(0,i.A)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},95591:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(71849);function o(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,i.A)(e,t)})},e)}},48731:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451);let i={};function o(e,t){let r=n.useRef(i);return r.current===i&&(r.current=e(t)),r}},3725:function(e,t,r){r.d(t,{E:()=>a,A:()=>l});var n=r(48731),i=r(70451);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.A)(a.create).current;return e=t.disposeEffect,i.useEffect(e,o),t}},22706:function(e,t){var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.for("react.client.reference");t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||void 0!==e.getModuleId)||!1}},37784:function(e,t,r){r.d(t,{T6:()=>eh,W5:()=>eu,AC:()=>er,Se:()=>eo,Fl:()=>en,GU:()=>es,x9:()=>eg,i$:()=>ef,j9:()=>ed,fZ:()=>ep,Yf:()=>em,KN:()=>el,w0:()=>et,oy:()=>ec,r_:()=>ei,CB:()=>ea});var n,i,o,a,l,s,u,c,f,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function p(){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="",f=n.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(f!==n)return -1*r(f,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 d=parseFloat(n);if(isNaN(d))return;let p=a(d);if(p&&"."!==p&&(c=n.replace(RegExp(`${t(p)}$`),""))!==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=p(),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,f,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]),(f=e.split(".")[0].match(/0+/))&&(t.characteristic=f[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)}return(a=e).match(/\[\.]/)?t.optionalMantissa=!0:a.match(/\./)&&(t.optionalMantissa=!1),(d=e.split(".")[1])&&(t.trimMantissa=-1!==d.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(f)return c;f=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 y={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 f(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 d(e){var t=e.c.length-1;return s(e.e/14)==t&&e.c[t]%2!=0}function p(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,y,b,v,A,w,S,x,k=I.prototype={constructor:I,toString:null,valueOf:null},$=new I(1),C=20,O=4,_=-7,B=21,T=-1e7,j=1e7,N=!1,M=1,P=0,E={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},D="0123456789abcdefghijklmnopqrstuvwxyz",F=!0;function I(e,t){var n,o,l,s,u,c,d,p,m=this;if(!(m instanceof I))return new I(e,t);if(null==t){if(e&&!0===e._isBigNumber){m.s=e.s,!e.c||e.e>j?m.c=m.e=null:e.e<T?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>j?m.c=m.e=null:(m.e=s,m.c=[e]);return}p=String(e)}else{if(!r.test(p=String(e)))return x(m,p,c);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(s=p.indexOf("."))>-1&&(p=p.replace(".","")),(u=p.search(/e/i))>0?(s<0&&(s=u),s+=+p.slice(u+1),p=p.substring(0,u)):s<0&&(s=p.length)}else{if(f(t,2,D.length,"Base"),10==t&&F)return z(m=new I(e),C+m.e+1,O);if(p=String(e),c="number"==typeof e){if(0*e!=0)return x(m,p,c,t);if(m.s=1/e<0?(p=p.slice(1),-1):1,I.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(a+e)}else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=D.slice(0,t),s=u=0,d=p.length;u<d;u++)if(0>n.indexOf(o=p.charAt(u))){if("."==o){if(u>s){s=d;continue}}else if(!l&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){l=!0,u=-1,s=0;continue}return x(m,String(e),c,t)}c=!1,(s=(p=S(p,t,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):s=p.length}for(u=0;48===p.charCodeAt(u);u++);for(d=p.length;48===p.charCodeAt(--d););if(p=p.slice(u,++d)){if(d-=u,c&&I.DEBUG&&d>15&&(e>0x1fffffffffffff||e!==i(e)))throw Error(a+m.s*e);if((s=s-u-1)>j)m.c=m.e=null;else if(s<T)m.c=[m.e=0];else{if(m.e=s,m.c=[],u=(s+1)%14,s<0&&(u+=14),u<d){for(u&&m.c.push(+p.slice(0,u)),d-=14;u<d;)m.c.push(+p.slice(u,u+=14));u=14-(p=p.slice(u)).length}else u-=d;for(;u--;p+="0");m.c.push(+p)}}else m.c=[m.e=0]}function R(e,t,r,n){var i,o,a,l,s;if(null==r?r=O:f(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<=_||a>=B)?p(s,a):m(s,a,"0");else if(o=(e=z(new I(e),t,r)).e,l=(s=u(e.c)).length,1==n||2==n&&(t<=o||o<=_)){for(;l<t;s+="0",l++);s=p(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 I(e[0]);i<e.length;i++)(n=new I(e[i])).s&&(r=c(o,n))!==t&&(0!==r||o.s!==t)||(o=n);return o}function U(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)>j?e.c=e.e=null:r<T?e.c=[e.e=0]:(e.e=r,e.c=t),e}function z(e,t,r,o){var a,s,u,c,f,d,p,m=e.c;if(m){t:{for(a=1,c=m[0];c>=10;c/=10,a++);if((s=t-a)<0)s+=14,u=t,p=i((f=m[d=0])/l[a-u-1]%10);else if((d=n((s+1)/14))>=m.length)if(o){for(;m.length<=d;m.push(0));f=p=0,a=1,s%=14,u=s-14+1}else break t;else{for(a=1,f=c=m[d];c>=10;c/=10,a++);s%=14,p=(u=s-14+a)<0?0:i(f/l[a-u-1]%10)}if(o=o||t<0||null!=m[d+1]||(u<0?f:f%l[a-u-1]),o=r<4?(p||o)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||o||6==r&&(s>0?u>0?f/l[a-u]:0:m[d-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=d,c=1,d--):(m.length=d+1,c=l[14-s],m[d]=u>0?i(f/l[a-u]%l[u])*c:0),o)for(;;)if(0==d){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[d]+=c,1e14!=m[d])break;m[d--]=0,c=1}for(s=m.length;0===m[--s];m.pop());}e.e>j?e.c=e.e=null:e.e<T&&(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<=_||r>=B?p(t,r):m(t,r,"0"),e.s<0?"-"+t:t)}return I.clone=e,I.ROUND_UP=0,I.ROUND_DOWN=1,I.ROUND_CEIL=2,I.ROUND_FLOOR=3,I.ROUND_HALF_UP=4,I.ROUND_HALF_DOWN=5,I.ROUND_HALF_EVEN=6,I.ROUND_HALF_CEIL=7,I.ROUND_HALF_FLOOR=8,I.EUCLID=9,I.config=I.set=function(e){var t,r;if(null!=e)if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(f(r=e[t],0,1e9,t),C=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(f(r=e[t],0,8,t),O=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(f(r[0],-1e9,0,t),f(r[1],0,1e9,t),_=r[0],B=r[1]):(f(r,-1e9,1e9,t),_=-(B=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)f(r[0],-1e9,-1,t),f(r[1],1,1e9,t),T=r[0],j=r[1];else if(f(r,-1e9,1e9,t),r)T=-(j=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")&&(f(r=e[t],0,9,t),M=r),e.hasOwnProperty(t="POW_PRECISION")&&(f(r=e[t],0,1e9,t),P=r),e.hasOwnProperty(t="FORMAT"))if("object"==typeof(r=e[t]))E=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);F="0123456789"==r.slice(0,10),D=r}}else throw Error(o+"Object expected: "+e);return{DECIMAL_PLACES:C,ROUNDING_MODE:O,EXPONENTIAL_AT:[_,B],RANGE:[T,j],CRYPTO:N,MODULO_MODE:M,POW_PRECISION:P,FORMAT:E,ALPHABET:D}},I.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!I.DEBUG)return!0;var t,r,n=e.c,a=e.e,l=e.s;t: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 t}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 t;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)},I.maximum=I.max=function(){return L(arguments,-1)},I.minimum=I.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)},I.random=function(e){var t,r,a,s,u,c=0,d=[],p=new I($);if(null==e?e=C:f(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]):(d.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):(d.push(u%1e14),c+=7);c=s/7}else throw N=!1,Error(o+"crypto unavailable");if(!N)for(;c<s;)(u=h())<9e15&&(d[c++]=u%1e14);for(s=d[--c],e%=14,s&&e&&(u=l[14-e],d[c]=i(s/u)*u);0===d[c];d.pop(),c--);if(c<0)d=[a=0];else{for(a=-1;0===d[0];d.splice(0,1),a-=14);for(c=1,u=d[0];u>=10;u/=10,c++);c<14&&(a-=14-c)}return p.e=a,p.c=d,p},I.sum=function(){for(var e=1,t=arguments,r=new I(t[0]);e<t.length;)r=r.plus(t[e++]);return r},S=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,f,d,p,h,g,y=r.indexOf("."),b=C,v=O;for(y>=0&&(f=P,P=0,r=r.replace(".",""),p=(g=new I(n)).pow(r.length-y),P=f,g.c=t(m(u(p.c),p.e,"0"),10,i,e),g.e=g.c.length),c=f=(h=t(r,n,i,a?(l=D,e):(l=e,D))).length;0==h[--f];h.pop());if(!h[0])return l.charAt(0);if(y<0?--c:(p.c=h,p.e=c,p.s=o,h=(p=w(p,g,b,v,i)).c,d=p.r,c=p.e),y=h[s=c+b+1],f=i/2,d=d||s<0||null!=h[s+1],d=v<4?(null!=y||d)&&(0==v||v==(p.s<0?3:2)):y>f||y==f&&(4==v||d||6==v&&1&h[s-1]||v==(p.s<0?8:7)),s<1||!h[0])r=d?m(l.charAt(1),-b,l.charAt(0)):l.charAt(0);else{if(h.length=s,d)for(--i;++h[--s]>i;)h[s]=0,s||(++c,h=[1].concat(h));for(f=h.length;!h[--f];);for(y=0,r="";y<=f;r+=l.charAt(h[y++]));r=m(r,c,l.charAt(0))}return r}}(),w=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,f,d,p,m,h,g,y,b,v,A,w,S,x,k,$,C,O=n.s==o.s?1:-1,_=n.c,B=o.c;if(!_||!_[0]||!B||!B[0])return new I(!n.s||!o.s||(_?B&&_[0]==B[0]:!B)?NaN:_&&0==_[0]||!B?0*O:O/0);for(b=(y=new I(O)).c=[],O=a+(f=n.e-o.e)+1,u||(u=1e14,f=s(n.e/14)-s(o.e/14),O=O/14|0),d=0;B[d]==(_[d]||0);d++);if(B[d]>(_[d]||0)&&f--,O<0)b.push(1),p=!0;else{for(x=_.length,$=B.length,d=0,O+=2,(m=i(u/(B[0]+1)))>1&&(B=e(B,m,u),_=e(_,m,u),$=B.length,x=_.length),S=$,A=(v=_.slice(0,$)).length;A<$;v[A++]=0);C=[0].concat(C=B.slice()),k=B[0],B[1]>=u/2&&k++;do{if(m=0,(c=t(B,v,$,A))<0){if(w=v[0],$!=A&&(w=w*u+(v[1]||0)),(m=i(w/k))>1)for(m>=u&&(m=u-1),g=(h=e(B,m,u)).length,A=v.length;1==t(h,v,g,A);)m--,r(h,$<g?C:B,g,u),g=h.length,c=1;else 0==m&&(c=m=1),g=(h=B.slice()).length;if(g<A&&(h=[0].concat(h)),r(v,h,A,u),A=v.length,-1==c)for(;1>t(B,v,$,A);)m++,r(v,$<A?C:B,A,u),A=v.length}else 0===c&&(m++,v=[0]);b[d++]=m,v[0]?v[A++]=_[S]||0:(v=[_[S]],A=1)}while((S++<x||null!=v[0])&&O--);p=null!=v[0],b[0]||b.splice(0,1)}if(1e14==u){for(d=1,O=b[0];O>=10;O/=10,d++);z(y,a+(y.e=d+14*f-1)+1,l,p)}else y.e=f,y.r=+p;return y}}(),g=/^(-?)0([xbo])(?=\w[\w.]*$)/i,y=/^([^.]+)\.$/,b=/^\.([^.]+)$/,v=/^-?(Infinity|NaN)$/,A=/^\s*\+(?=[\w.])|^\s+|\s+$/g,x=function(e,t,r,n){var i,a=r?t:t.replace(A,"");if(v.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(y,"$1").replace(b,"0.$1")),t!=a))return new I(a,i);if(I.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 I(this);return e.s<0&&(e.s=1),e},k.comparedTo=function(e,t){return c(this,new I(e,t))},k.decimalPlaces=k.dp=function(e,t){var r,n,i;if(null!=e)return f(e,0,1e9),null==t?t=O:f(t,0,8),z(new I(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 w(this,new I(e,t),C,O)},k.dividedToIntegerBy=k.idiv=function(e,t){return w(this,new I(e,t),0,1)},k.exponentiatedBy=k.pow=function(e,t){var r,a,l,s,u,c,f,p,m,h=this;if((e=new I(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+W(e));if(null!=t&&(t=new I(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 I(Math.pow(+W(h),c?e.s*(2-d(e)):+W(e))),t?m.mod(t):m;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new I(NaN);(a=!f&&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&&d(e)?-0:0,h.e>-1&&(s=1/s),new I(f?1/s:s);P&&(s=n(P/14+2))}for(c?(r=new I(.5),f&&(e.s=1),p=d(e)):p=(l=Math.abs(+W(e)))%2,m=new I($);;){if(p){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;p=l%2}else if(z(e=e.times(r),e.e+1,1),e.e>14)p=d(e);else{if(0==(l=+W(e)))break;p=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:(f&&(m=$.div(m)),t?m.mod(t):s?z(m,P,O,u):m)},k.integerValue=function(e){var t=new I(this);return null==e?e=O:f(e,0,8),z(t,t.e+1,e)},k.isEqualTo=k.eq=function(e,t){return 0===c(this,new I(e,t))},k.isFinite=function(){return!!this.c},k.isGreaterThan=k.gt=function(e,t){return c(this,new I(e,t))>0},k.isGreaterThanOrEqualTo=k.gte=function(e,t){return 1===(t=c(this,new I(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 I(e,t))},k.isLessThanOrEqualTo=k.lte=function(e,t){return -1===(t=c(this,new I(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 I(e,t)).s,!a||!t)return new I(NaN);if(a!=t)return e.s=-t,this.plus(e);var l=this.e/14,u=e.e/14,c=this.c,f=e.c;if(!l||!u){if(!c||!f)return c?(e.s=-t,e):new I(f?this:NaN);if(!c[0]||!f[0])return f[0]?(e.s=-t,e):new I(c[0]?this:3==O?-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=f),i.reverse(),t=a;t--;i.push(0));i.reverse()}else for(n=(o=(a=c.length)<(t=f.length))?a:t,a=t=0;t<n;t++)if(c[t]!=f[t]){o=c[t]<f[t];break}if(o&&(i=c,c=f,f=i,e.s=-e.s),(t=(n=f.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>a;){if(c[--n]<f[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=f[n]}for(;0==c[0];c.splice(0,1),--u);return c[0]?U(e,c,u):(e.s=3==O?-1:1,e.c=[e.e=0],e)},k.modulo=k.mod=function(e,t){var r,n;return(e=new I(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==M?(n=e.s,e.s=1,r=w(this,e,0,3),e.s=n,r.s*=n):r=w(this,e,0,M),(e=this.minus(r.times(e))).c[0]||1!=M||(e.s=this.s),e):new I(this):new I(NaN)},k.multipliedBy=k.times=function(e,t){var r,n,i,o,a,l,u,c,f,d,p,m,h,g=this.c,y=(e=new I(e,t)).c;if(!g||!y||!g[0]||!y[0])return this.s&&e.s&&(!g||g[0]||y)&&(!y||y[0]||g)?(e.s*=this.s,g&&y?(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)<(d=y.length)&&(h=g,g=y,y=h,i=u,u=d,d=i),i=u+d,h=[];i--;h.push(0));for(i=d;--i>=0;){for(r=0,p=y[i]%1e7,m=y[i]/1e7|0,o=i+(a=u);o>i;)l=m*(c=g[--a]%1e7)+(f=g[a]/1e7|0)*p,r=((c=p*c+l%1e7*1e7+h[o]+r)/1e14|0)+(l/1e7|0)+m*f,h[o--]=c%1e14;h[o]=r}return r?++n:h.splice(0,1),U(e,h,n)},k.negated=function(){var e=new I(this);return e.s=-e.s||null,e},k.plus=function(e,t){var r,n=this.s;if(t=(e=new I(e,t)).s,!n||!t)return new I(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 I(n/0);if(!a[0]||!l[0])return l[0]?e:new I(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),U(e,a,o)},k.precision=k.sd=function(e,t){var r,n,i;if(null!=e&&!!e!==e)return f(e,1,1e9),null==t?t=O:f(t,0,8),z(new I(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 f(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=C+4,f=new I("0.5");if(1!==a||!o||!o[0])return new I(!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 I(t=a==1/0?"5e"+l:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new I(a+""),r.c[0]){for((a=(l=r.e)+c)<3&&(a=0);;)if(i=r,r=f.times(i.plus(w(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))||(z(r,r.e+C+2,1),e=!r.times(r).eq(this));break}if(!n&&(z(i,i.e+C+2,0),i.times(i).eq(this))){r=i;break}c+=4,a+=4,n=1}}return z(r,r.e+C+1,O,e)},k.toExponential=function(e,t){return null!=e&&(f(e,0,1e9),e++),R(this,e,t,1)},k.toFixed=function(e,t){return null!=e&&(f(e,0,1e9),e=e+this.e+1),R(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=E;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],f=a[1],d=this.s<0,p=d?c.slice(1):c,m=p.length;if(s&&(i=l,l=s,s=i,m-=i),l>0&&m>0){for(i=m%l||l,c=p.substr(0,i);i<m;i+=l)c+=u+p.substr(i,l);s>0&&(c+=u+p.slice(i)),d&&(c="-"+c)}n=f?c+(r.decimalSeparator||"")+((s=+r.fractionGroupSize)?f.replace(RegExp("\\d{"+s+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):c}return(r.prefix||"")+n+(r.suffix||"")},k.toFraction=function(e){var t,r,n,i,a,s,c,f,d,p,m,h,g=this.c;if(null!=e&&(!(c=new I(e)).isInteger()&&(c.c||1!==c.s)||c.lt($)))throw Error(o+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+W(c));if(!g)return new I(this);for(t=new I($),d=r=new I($),n=f=new I($),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:d:c,s=j,j=1/0,c=new I(h),f.c[0]=0;p=w(c,t,0,1),1!=(i=r.plus(p.times(n))).comparedTo(e);)r=n,n=i,d=f.plus(p.times(i=d)),f=i,t=c.minus(p.times(i=t)),c=i;return i=w(e.minus(r),n,0,1),f=f.plus(i.times(d)),r=r.plus(i.times(n)),f.s=d.s=this.s,a*=2,m=1>w(d,n,a,O).minus(this).abs().comparedTo(w(f,r,a,O).minus(this).abs())?[d,n]:[f,r],j=s,m},k.toNumber=function(){return+W(this)},k.toPrecision=function(e,t){return null!=e&&f(e,1,1e9),R(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<=_||i>=B?p(u(r.c),i):m(u(r.c),i,"0"):10===e&&F?t=m(u((r=z(new I(r),C+i+1,O)).c),r.e,"0"):(f(e,2,D.length,"Base"),t=S(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&&I.set(t),I}()).default=t.BigNumber=t,y.exports?y.exports=t:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=t)})(d);var b=y.exports;let v=g(),A=m(),w={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},S={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:x,decimalSuffixes:k}=v.currentBytes(),$={scale:1024,suffixes:k,marker:"bd"},C={scale:1024,suffixes:x,marker:"b"},O={scale:1e3,suffixes:k,marker:"d"};function _(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 B(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function T({instance:e,providedFormat:t,state:r=v,decimalSeparator:n,defaults:i=r.currentDefaults()}){var o,a,l,s,u;let c,f,d,p,m,h,g,y=e._value;if(0===y&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(y))return y.toString();let A=Object.assign({},S,i,t),x=A.totalLength,k=x?0:A.characteristic,$=A.optionalCharacteristic,C=A.forceAverage,O=A.lowPrecision,_=!!x||!!C||A.average,T=x?-1:_&&void 0===t.mantissa?0:A.mantissa,j=!x&&(void 0===t.optionalMantissa?-1===T:A.optionalMantissa),N=A.trimMantissa,M=A.thousandSeparated,P=A.spaceSeparated,E=A.negative,D=A.forceSign,F=A.exponential,I=A.roundingFunction,R="";if(_){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]&&w[t]?(l=n[t],e/=w[t]):s>=w.trillion||r&&1===a(s/w.trillion)?(l=n.trillion,e/=w.trillion):s<w.trillion&&s>=w.billion||r&&1===a(s/w.billion)?(l=n.billion,e/=w.billion):s<w.billion&&s>=w.million||r&&1===a(s/w.million)?(l=n.million,e/=w.million):(s<w.million&&s>=w.thousand||r&&1===a(s/w.thousand))&&(l=n.thousand,e/=w.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:y,forceAverage:C,lowPrecision:O,abbreviations:r.currentAbbreviations(),spaceSeparated:P,roundingFunction:I,totalLength:x});y=e.value,R+=e.abbreviation,x&&(T=e.mantissaPrecision)}if(F){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:y,characteristicPrecision:k});y=e.value,R=e.abbreviation+R}let L=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+B(i-a.length);else{let e=".";e=0>+o?`-0${e}`:`0${e}`;let n=(B(-i-1)+Math.abs(o)+a).substr(0,t);n.length<t&&(n+=B(t-n.length)),r=e+n}return+i>0&&t>0&&(r+=`.${B(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()}(y.toString(),y,j,T,N,I);return o=L=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()}(L,y,$,k),a=y,l=n,f=(c=r.currentDelimiters()).thousands,l=l||c.decimal,d=c.thousandsSize||3,m=(p=o.toString()).split(".")[0],h=p.split(".")[1],g=a<0&&0===m.indexOf("-"),M&&(g&&(m=m.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})(m.length,d).forEach((e,t)=>{m=m.slice(0,e+t)+f+m.slice(e+t)}),g&&(m=`-${m}`)),L=p=h?m+l+h:m,(_||F)&&(L+=R),(D||y<0)&&(s=L,L=0===(u=y)?s:0==+s?s.replace("-",""):u>0?`+${s}`:"sign"===E?s:`(${s.replace("-","")})`),L}function j(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 M=g(),P=m(),E={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&&U.registerLanguage(t)})}},D=p(),F={format:(...e)=>(function(e,t={},r){if("string"==typeof t&&(t=h(t)),!A.validateFormat(t))return"ERROR: invalid format";let n=t.prefix||"",i=t.postfix||"",o=function(e,t,r){var n,i,o;switch(t.output){case"currency":let a,l,s,u,c,f,d,p,m,h;return n=t=j(t,v.currentCurrencyDefaultFormat()),a=v.currentCurrency(),s=Object.assign({},S,l=Object.assign({},n)),c="",f=!!s.totalLength||!!s.forceAverage||s.average,d=l.currencyPosition||a.position,p=l.currencySymbol||a.symbol,m=void 0!==s.spaceSeparatedCurrency?s.spaceSeparatedCurrency:s.spaceSeparated,void 0===l.lowPrecision&&(l.lowPrecision=!1),m&&(c=" "),"infix"===d&&(u=c+p+c),h=T({instance:e,providedFormat:l,state:v,decimalSeparator:u}),"prefix"===d&&(h=e._value<0&&"sign"===s.negative?`-${c}${p}${h.slice(1)}`:e._value>0&&s.forceSign?`+${c}${p}${h.slice(1)}`:p+c+h),d&&"postfix"!==d||(h=h+(c=!s.spaceSeparatedAbbreviation&&f?"":c)+p),h;case"percent":let g,y,b;return i=t=j(t,v.currentPercentageDefaultFormat()),g=i.prefixSymbol,y=T({instance:r(100*e._value),providedFormat:i,state:v}),b=Object.assign({},S,i),g?`%${b.spaceSeparated?" ":""}${y}`:`${y}${b.spaceSeparated?" ":""}%`;case"byte":return function(e,t,r,n){let i=t.base||"binary",o=Object.assign({},S,t),{binarySuffixes:a,decimalSuffixes:l}=r.currentBytes(),s={general:{scale:1024,suffixes:l||k,marker:"bd"},binary:{scale:1024,suffixes:a||x,marker:"b"},decimal:{scale:1e3,suffixes:l||k,marker:"d"}}[i],{value:u,suffix:c}=_(e._value,s.suffixes,s.scale),f=T({instance:n(u),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()});return`${f}${o.spaceSeparated?" ":""}${c}`}(e,t=j(t,v.currentByteDefaultFormat()),v,r);case"time":let A,w,$;return t=j(t,v.currentTimeDefaultFormat()),A=Math.floor(e._value/60/60),w=Math.floor((e._value-60*A*60)/60),$=Math.round(e._value-60*A*60-60*w),`${A}:${w<10?"0":""}${w}:${$<10?"0":""}${$}`;case"ordinal":let C,O,B,N;return o=t=j(t,v.currentOrdinalDefaultFormat()),C=v.currentOrdinal(),O=Object.assign({},S,o),B=T({instance:e,providedFormat:o,state:v}),N=C(e._value),`${B}${O.spaceSeparated?" ":""}${N}`;default:return T({instance:e,providedFormat:t,numbro:r})}}(e,t,r);return(o=n+o)+i})(...e,U),getByteUnit:(...e)=>(function(e){return _(e._value,$.suffixes,$.scale).suffix})(...e,U),getBinaryByteUnit:(...e)=>(function(e){return _(e._value,C.suffixes,C.scale).suffix})(...e,U),getDecimalByteUnit:(...e)=>(function(e){return _(e._value,O.suffixes,O.scale).suffix})(...e,U),formatOrDefault:j},I={add:(e,t)=>{let r,n;return r=new b(e._value),n=t,U.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.plus(n).toNumber(),e},subtract:(e,t)=>N(e,t,U),multiply:(e,t)=>{let r,n;return r=new b(e._value),n=t,U.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,U.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.dividedBy(n).toNumber(),e},set:(e,t)=>{let r;return r=t,U.isNumbro(t)&&(r=t._value),e._value=r,e},difference:(e,t)=>{let r;return N(r=U(e._value),t,U),Math.abs(r._value)},BigNumber:b};class R{constructor(e){this._value=e}clone(){return U(this._value)}format(e={}){return F.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=h(e)),(e=F.formatOrDefault(e,M.currentCurrencyDefaultFormat())).output="currency",F.format(this,e)}formatTime(e={}){return e.output="time",F.format(this,e)}binaryByteUnits(){return F.getBinaryByteUnit(this)}decimalByteUnits(){return F.getDecimalByteUnit(this)}byteUnits(){return F.getByteUnit(this)}difference(e){return I.difference(this,e)}add(e){return I.add(this,e)}subtract(e){return I.subtract(this,e)}multiply(e){return I.multiply(this,e)}divide(e){return I.divide(this,e)}set(e){return I.set(this,L(e))}value(){return this._value}valueOf(){return this._value}}function L(e){let t=e;return U.isNumbro(e)?t=e._value:"string"==typeof e?t=U.unformat(e):isNaN(e)&&(t=NaN),t}function U(e){return new R(L(e))}U.version="2.5.0",U.isNumbro=function(e){return e instanceof R},U.language=M.currentLanguage,U.registerLanguage=M.registerLanguage,U.setLanguage=M.setLanguage,U.languages=M.languages,U.languageData=M.languageData,U.zeroFormat=M.setZeroFormat,U.defaultFormat=M.currentDefaults,U.setDefaults=M.setDefaults,U.defaultCurrencyFormat=M.currentCurrencyDefaultFormat,U.validate=P.validate,U.loadLanguagesInNode=E.loadLanguagesInNode,U.unformat=D.unformat,U.BigNumber=I.BigNumber;var z=U&&U.__esModule&&Object.prototype.hasOwnProperty.call(U,"default")?U.default:U,W=r(71065);function G(e,{unit:t="bytes",shortValues:r,decimalPlaces:n}){let i="decbytes"===t;if(!(0,W.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"unit",unit:"byte",unitDisplay:"long",useGrouping:!0};return(0,W.IU)(n)?(t.minimumFractionDigits=(0,W.To)(n),t.maximumFractionDigits=(0,W.To)(n)):(0,W.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)}return z(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,W.IU)(n)?n:2,trimMantissa:!(0,W.IU)(n),optionalMantissa:!(0,W.IU)(n)})}let V="Percent",K="Temperature",H="Time";var Y=((n={}).nanoseconds="nanosecond",n.microseconds="microsecond",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 Z={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,microseconds:1e-6,nanoseconds:1e-9},X=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"],q="Throughput";var Q=r(40224);let J="Currency",ee="Date",et={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},Temperature:{label:K,decimalPlaces:!0},Date:{label:"Date & Time"}},er={nanoseconds:{group:H,label:"Nanoseconds"},microseconds:{group:H,label:"Microseconds"},milliseconds:{group:H,label:"Milliseconds"},seconds:{group:H,label:"Seconds"},minutes:{group:H,label:"Minutes"},hours:{group:H,label:"Hours"},days:{group:H,label:"Days"},weeks:{group:H,label:"Weeks"},months:{group:H,label:"Months"},years:{group:H,label:"Years"},percent:{group:V,label:"Percent (0-100)"},"percent-decimal":{group:V,label:"Percent (0.0-1.0)"},"%":{disableSelectorOption:!0,group:V,label:"%"},decimal:{group:"Decimal",label:"Decimal"},bytes:{group:"Bytes",label:"Bytes (IEC)"},decbytes:{group:"Bytes",label:"Bytes (SI)"},"bits/sec":{group:q,label:"Bits/sec"},"bytes/sec":{group:q,label:"Bytes/sec (IEC)"},"decbytes/sec":{group:q,label:"Bytes/sec (SI)"},"counts/sec":{group:q,label:"Counts/sec"},"events/sec":{group:q,label:"Events/sec"},"messages/sec":{group:q,label:"Messages/sec"},"ops/sec":{group:q,label:"Ops/sec"},"packets/sec":{group:q,label:"Packets/sec"},"reads/sec":{group:q,label:"Reads/sec"},"requests/sec":{group:q,label:"Requests/sec"},"records/sec":{group:q,label:"Records/sec"},"rows/sec":{group:q,label:"Rows/sec"},"writes/sec":{group:q,label:"Writes/sec"},aud:{group:J,label:"Australian Dollar (A$)"},cad:{group:J,label:"Canadian Dollar (CA$)"},chf:{group:J,label:"Swiss Franc (CHF)"},cny:{group:J,label:"Renminbi (CN\xa5)"},eur:{group:J,label:"Euro (€)"},gbp:{group:J,label:"Pound (\xa3)"},hkd:{group:J,label:"Hong Kong Dollar (HK$)"},inr:{group:J,label:"Indian Rupee (₹)"},jpy:{group:J,label:"Yen (\xa5)"},krw:{group:J,label:"South Korean Won (₩)"},nok:{group:J,label:"Norwegian Krone (NOK)"},nzd:{group:J,label:"New Zealand Dollar (NZ$)"},sek:{group:J,label:"Swedish Krona (SEK)"},sgd:{group:J,label:"Singapore Dollar (S$)"},usd:{group:J,label:"US Dollar ($)"},celsius:{group:K,label:"Celsius (\xb0C)"},fahrenheit:{group:K,label:"Fahrenheit (\xb0F)"},"datetime-iso":{group:ee,label:"DateTime (GMT)"},"datetime-us":{group:ee,label:"DateTime (US-East)"},"datetime-local":{group:ee,label:"DateTime (Browser Local)"},"date-iso":{group:ee,label:"Date (GMT)"},"date-us":{group:ee,label:"Date (US-East)"},"date-local":{group:ee,label:"Date (Browser Local)"},"time-local":{group:ee,label:"Time (Browser Local)"},"time-iso":{group:ee,label:"Time (GMT)"},"time-us":{group:ee,label:"Time (US-East)"},"relative-time":{group:ee,label:"Relative Time"},"unix-timestamp":{group:ee,label:"Unix Timestamp (s)"},"unix-timestamp-ms":{group:ee,label:"Unix Timestamp (ms)"}};function en(e,t){if(!t)return e.toString();if(ec(t))return G(e,t);if(eu(t))return function(e,{shortValues:t,decimalPlaces:r}){let n={style:"decimal",useGrouping:!0};return(0,W.jb)(t)&&(n.notation="compact"),(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):(0,W.jb)(t)&&(n.maximumSignificantDigits=3),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(es(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"percent",useGrouping:!0};return(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):n.maximumSignificantDigits=3,"percent"===t&&(e/=100),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(el(t))return function(e,{unit:t,decimalPlaces:r}){var n;if(0===e)return"0s";let i=function(e,t){let r=e*Z[t],n=X[0]||"years",i=n,o=r/Z[n];for(i of X)if((o=r/Z[i])>=1)break;return{value:o,unit:i}}(e,t??"seconds"),o={style:"unit",unit:Y[i.unit],unitDisplay:"months"===(n=i.unit)||"years"===n?"long":"narrow"};return(0,W.IU)(r)?(o.minimumFractionDigits=(0,W.To)(r),o.maximumFractionDigits=(0,W.To)(r)):o.maximumSignificantDigits=3,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 G(e,{unit:"decbytes",shortValues:r,decimalPlaces:n})+"/"+t}if("bytes/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return G(e,{unit:"bytes",shortValues:r,decimalPlaces:n})+"/"+t}let i={style:"decimal",useGrouping:!0};return(0,W.jb)(r)&&(i.notation="compact"),(0,W.IU)(n)?(i.minimumFractionDigits=(0,W.To)(n),i.maximumFractionDigits=(0,W.To)(n)):(0,W.jb)(r)&&(i.maximumSignificantDigits=3),Intl.NumberFormat("en-US",i).format(e)+" "+t}(e,t);if(em(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"currency",currency:(0,Q.toUpper)(t),currencyDisplay:"symbol"};return(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):n.maximumSignificantDigits=3,Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eh(t))return function(e,t={}){let r=Intl.DateTimeFormat().resolvedOptions().timeZone,{unit:n="datetime-local",locale:i=(()=>{if("undefined"!=typeof navigator){if(navigator.language)return navigator.language;if(navigator.languages&&navigator.languages.length>0){let e=navigator.languages[0];if(e)return e}let e=navigator;if(e.userLanguage)return e.userLanguage;if(e.browserLanguage)return e.browserLanguage;if(e.systemLanguage)return e.systemLanguage}return Intl.DateTimeFormat().resolvedOptions().locale||"en-US"})(),timeZone:o=r,referenceTime:a=Date.now()}=t;if("unix-timestamp"===n)return(e>1e12?Math.floor(e/1e3):e).toString();if("unix-timestamp-ms"===n)return Math.floor(e<1e11?1e3*e:e).toString();let l=function(e){if(e<0)if(Math.abs(e)>1e10)return new Date(e);else return new Date(1e3*e);if(e>=25e10&&e<=26e10){let t=new Date(1e3*e);if(t.getUTCFullYear()>=9999)return t}return new Date(e<1e10?1e3*e:e)}(e);if("relative-time"===n){let e=new Date(a),t=l.getTime()-e.getTime();for(let{unit:e,ms:r}of[{unit:"year",ms:31536e6},{unit:"month",ms:2592e6},{unit:"week",ms:6048e5},{unit:"day",ms:864e5},{unit:"hour",ms:36e5},{unit:"minute",ms:6e4},{unit:"second",ms:1e3}]){let n=Math.round(t/r);if(Math.abs(n)>=1)return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(n,e)}return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(0,"second")}let s={timeZone:o};switch(n){case"datetime-iso":return l.toISOString();case"datetime-us":return s.timeZone="America/New_York",s.year="numeric",s.month="2-digit",s.day="2-digit",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!0,new Intl.DateTimeFormat("en-US",s).format(l);case"datetime-local":s.year="numeric",s.month="2-digit",s.day="2-digit",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!1;break;case"date-iso":return l.toISOString().split("T")[0];case"date-us":return s.timeZone="America/New_York",s.year="numeric",s.month="2-digit",s.day="2-digit",new Intl.DateTimeFormat("en-US",s).format(l);case"date-local":s.year="numeric",s.month="2-digit",s.day="2-digit";break;case"time-local":s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!1;break;case"time-iso":return l.toISOString().split("T")[1].replace("Z","");case"time-us":return s.timeZone="America/New_York",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!0,new Intl.DateTimeFormat("en-US",s).format(l);default:throw Error(`Unknown date unit: ${n}`)}return new Intl.DateTimeFormat(i,s).format(l)}(e,t);if(eg(t))return((e,{unit:t,decimalPlaces:r})=>{let n={unit:t,style:"unit"};(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):n.maximumSignificantDigits=3;let i="celsius"===t?"en-GB":"en-US";return Intl.NumberFormat(i,n).format(e)})(e,t);throw Error(`Unknown unit options ${t}`)}function ei(e){return er[e.unit??"decimal"]}function eo(e){return ei(e).group??"Decimal"}function ea(e){return et[ei(e).group??"Decimal"]}function el(e){return"Time"===eo(e)}function es(e){return"Percent"===eo(e)}function eu(e){return"Decimal"===eo(e)}function ec(e){return"Bytes"===eo(e)}function ef(e){return!!ea(e).decimalPlaces}function ed(e){return!!ea(e).shortValues}function ep(e){return"Throughput"===eo(e)}function em(e){return"Currency"===eo(e)}function eh(e){return"Date"===eo(e)}function eg(e){return"Temperature"===eo(e)}},71065: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,{IU:()=>i,To:()=>o,jb:()=>n})},44394:function(e,t,r){r.d(t,{A:()=>p});var n=r(49257),i=r(68102),o=r(7490),a=r(70451),l=r.n(a),s=r(33477);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 f=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=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.A)(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,f=i[t],d=(0,a.isValidElement)(f)&&!f.props.in;u&&(!s||d)?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||d?u&&s&&(0,a.isValidElement)(f)&&(n[t]=(0,a.cloneElement)(l,{onExited:o.bind(null,l),in:f.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.A)({},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.A)(e,["component","childFactory"]),o=this.state.contextValue,a=f(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?l().createElement(s.A.Provider,{value:o},a):l().createElement(s.A.Provider,{value:o},l().createElement(t,i,a))},t}(l().Component);d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};let p=d},33477:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);let i=r.n(n)().createContext(null)},2192:function(e,t,r){var n=r(70451),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},62540:function(e,t,r){e.exports=r(2192)},68102:function(e,t,r){r.d(t,{A:()=>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)}},7490: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,{A:()=>i})},49257:function(e,t,r){r.d(t,{A:()=>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}},11750:function(e,t,r){r.d(t,{A:()=>n});let n=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}},38662:function(e,t,r){r.d(t,{CN:()=>w,jM:()=>W,lE:()=>o});var n,i=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function l(e){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function u(e){return!!e&&!!e[a]}function c(e){return!!e&&(d(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||y(e)||b(e))}var f=Object.prototype.constructor.toString();function d(e){if(!e||"object"!=typeof e)return!1;let t=s(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function p(e,t){0===m(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function m(e){let t=e[a];return t?t.type_:Array.isArray(e)?1:y(e)?2:3*!!b(e)}function h(e,t){return 2===m(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,r){let n=m(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function y(e){return e instanceof Map}function b(e){return e instanceof Set}function v(e){return e.copy_||e.base_}function A(e,t){if(y(e))return new Map(e);if(b(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=d(e);if(!0!==t&&("class_only"!==t||r)){let t=s(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[a];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(s(e),t)}}function w(e,t=!1){return x(e)||u(e)||!c(e)||(m(e)>1&&(e.set=e.add=e.clear=e.delete=S),Object.freeze(e),t&&Object.entries(e).forEach(([e,t])=>w(t,!0))),e}function S(){l(2)}function x(e){return Object.isFrozen(e)}var k={};function $(e){let t=k[e];return t||l(0,e),t}function C(e,t){t&&($("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function O(e){_(e),e.drafts_.forEach(T),e.drafts_=null}function _(e){e===n&&(n=e.parent_)}function B(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function T(e){let t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function j(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[a].modified_&&(O(t),l(4)),c(e)&&(e=N(t,e),t.parent_||P(t,e)),t.patches_&&$("Patches").generateReplacementPatches_(r[a].base_,e,t.patches_,t.inversePatches_)):e=N(t,r,[]),O(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==i?e:void 0}function N(e,t,r){if(x(t))return t;let n=t[a];if(!n)return p(t,(i,o)=>M(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return P(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,i=t,o=!1;3===n.type_&&(i=new Set(t),t.clear(),o=!0),p(i,(i,a)=>M(e,n,t,i,a,r,o)),P(e,t,!1),r&&e.patches_&&$("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function M(e,t,r,n,i,o,a){if(u(i)){let a=N(e,i,o&&t&&3!==t.type_&&!h(t.assigned_,n)?o.concat(n):void 0);if(g(r,n,a),!u(a))return;e.canAutoFreeze_=!1}else a&&r.add(i);if(c(i)&&!x(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;N(e,i),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&Object.prototype.propertyIsEnumerable.call(r,n)&&P(e,i)}}function P(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&w(t,r)}var E={get(e,t){if(t===a)return e;let r=v(e);if(!h(r,t)){var n;let i;return n=e,(i=I(r,t))?"value"in i?i.value:i.get?.call(n.draft_):void 0}let i=r[t];return e.finalized_||!c(i)?i:i===F(e.base_,t)?(L(e),e.copy_[t]=U(i,e)):i},has:(e,t)=>t in v(e),ownKeys:e=>Reflect.ownKeys(v(e)),set(e,t,r){let n=I(v(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=F(v(e),t),i=n?.[a];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||h(e.base_,t)))return!0;L(e),R(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==F(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,L(e),R(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=v(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){l(11)},getPrototypeOf:e=>s(e.base_),setPrototypeOf(){l(12)}},D={};function F(e,t){let r=e[a];return(r?v(r):e)[t]}function I(e,t){if(!(t in e))return;let r=s(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=s(r)}}function R(e){!e.modified_&&(e.modified_=!0,e.parent_&&R(e.parent_))}function L(e){e.copy_||(e.copy_=A(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function U(e,t){let r=y(e)?$("MapSet").proxyMap_(e,t):b(e)?$("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),i={type_:+!!r,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=i,a=E;r&&(o=[i],a=D);let{revoke:l,proxy:s}=Proxy.revocable(o,a);return i.draft_=s,i.revoke_=l,s}(e,t);return(t?t.scope_:n).drafts_.push(r),r}p(E,(e,t)=>{D[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),D.deleteProperty=function(e,t){return D.set.call(this,e,t,void 0)},D.set=function(e,t,r){return E.set.call(this,e[0],t,r,e[0])};var z=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...i){return n.produce(e,e=>t.call(this,e,...i))}}if("function"!=typeof t&&l(6),void 0!==r&&"function"!=typeof r&&l(7),c(e)){let i=B(this),o=U(e,void 0),a=!0;try{n=t(o),a=!1}finally{a?O(i):_(i)}return C(i,r),j(n,i)}if(e&&"object"==typeof e)l(1,e);else{if(void 0===(n=t(e))&&(n=e),n===i&&(n=void 0),this.autoFreeze_&&w(n,!0),r){let t=[],i=[];$("Patches").generateReplacementPatches_(e,n,t,i),r(t,i)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){var t;c(e)||l(8),u(e)&&(u(t=e)||l(10,t),e=function e(t){let r;if(!c(t)||x(t))return t;let n=t[a];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=A(t,n.scope_.immer_.useStrictShallowCopy_)}else r=A(t,!0);return p(r,(t,n)=>{g(r,t,e(n))}),n&&(n.finalized_=!1),r}(t));let r=B(this),n=U(e,void 0);return n[a].isManual_=!0,_(r),n}finishDraft(e,t){let r=e&&e[a];r&&r.isManual_||l(9);let{scope_:n}=r;return C(n,t),j(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=$("Patches").applyPatches_;return u(e)?n(e,t):this.produce(e,e=>n(e,t))}},W=z.produce;z.produceWithPatches.bind(z),z.setAutoFreeze.bind(z),z.setUseStrictShallowCopy.bind(z),z.applyPatches.bind(z),z.createDraft.bind(z),z.finishDraft.bind(z)}}]);
82
+ export default theme;`}let E=function(e={},...t){var r;let{breakpoints:o,mixins:a={},spacing:l,palette:s={},transitions:u={},typography:c={},shape:f,...d}=e;if(e.vars&&void 0===e.generateThemeVars)throw Error((0,n.A)(20));let p=v(s),m=(0,O.A)(e),h=(0,i.A)(m,{mixins:(r=m.breakpoints,{toolbar:{minHeight:56,[r.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...a}),palette:p,shadows:j.slice(),typography:function(e,t){let{fontFamily:r=B,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:f,...d}="function"==typeof t?t(e):t,p=n/14,m=f||(e=>`${e/u*p}rem`),h=(e,t,n,i,o)=>({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n,...r===B?{letterSpacing:`${Math.round(i/t*1e5)/1e5}em`}:{},...o,...c}),g={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(l,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(l,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(l,14,1.75,.4,_),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,_),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.A)({htmlFontSize:u,pxToRem:m,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s,...g},d,{clone:!1})}(p,c),transitions:(0,M.Ay)(u),zIndex:{...N}});return h=(0,i.A)(h,d),(h=t.reduce((e,t)=>(0,i.A)(e,t),h)).unstable_sxConfig={...$.A,...d?.unstable_sxConfig},h.unstable_sx=function(e){return(0,C.A)({sx:e,theme:this})},h.toRuntimeSource=P,h};var D=r(9307);let I=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,D.A)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function F(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function R(e){return"dark"===e?I:[]}function L(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}function U(e,t,r){!e[t]&&r&&(e[t]=r)}function z(e){return"string"==typeof e&&e.startsWith("hsl")?(0,o.YL)(e):e}function W(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,o.Me)(z(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
83
+ To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let G=e=>{try{return e()}catch(e){}};function V(e,t,r,n){if(!t)return;t=!0===t?{}:t;let i="dark"===n?"dark":"light";if(!r){e[n]=function(e){let{palette:t={mode:"light"},opacity:r,overlays:n,...i}=e,o=v(t);return{palette:o,opacity:{...F(o.mode),...r},overlays:n||R(o.mode),...i}}({...t,palette:{mode:i,...t?.palette}});return}let{palette:o,...a}=E({...r,palette:{mode:i,...t?.palette}});return e[n]={...t,palette:o,opacity:{...F(i),...t?.opacity},overlays:t?.overlays||R(i)},a}function K(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:v({...!0===r?{}:r.palette,mode:t})})}function H(e={},...t){let{palette:r,cssVariables:a=!1,colorSchemes:l=!r?{light:!0}:void 0,defaultColorScheme:s=r?.mode,...u}=e,c=s||"light",f=l?.[c],d={...l,...r?{[c]:{..."boolean"!=typeof f&&f,palette:r}}:void 0};if(!1===a){if(!("colorSchemes"in e))return E(e,...t);let n=r;"palette"in e||!d[c]||(!0!==d[c]?n=d[c].palette:"dark"===c&&(n={mode:"dark"}));let i=E({...e,palette:n},...t);return i.defaultColorScheme=c,i.colorSchemes=d,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==d.light&&d.light,palette:i.palette},K(i,"dark",d.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==d.dark&&d.dark,palette:i.palette},K(i,"light",d.light)),i}return r||"light"in d||"light"!==c||(d.light=!0),function(e={},...t){var r,a;let l,s,{colorSchemes:u={light:!0},defaultColorScheme:c,disableCssColorScheme:f=!1,cssVarPrefix:d="mui",shouldSkipGeneratingVar:p=L,colorSchemeSelector:m=u.light&&u.dark?"media":void 0,rootSelector:h=":root",...g}=e,y=Object.keys(u)[0],b=c||(u.light&&"light"!==y?"light":y),v=((e="mui")=>(function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`})(e))(d),{[b]:S,light:x,dark:O,..._}=u,B={..._},T=S;if(("dark"!==b||"dark"in u)&&("light"!==b||"light"in u)||(T=!0),!T)throw Error((0,n.A)(21,b));let j=V(B,T,g,b);x&&!B.light&&V(B,x,void 0,"light"),O&&!B.dark&&V(B,O,void 0,"dark");let M={defaultColorScheme:b,...j,cssVarPrefix:d,colorSchemeSelector:m,rootSelector:h,getCssVar:v,colorSchemes:B,font:{...(r=j.typography,l={},Object.entries(r).forEach(e=>{let[t,r]=e;"object"==typeof r&&(l[t]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),l),...j.font},spacing:"number"==typeof(a=g.spacing)?`${a}px`:"string"==typeof a||"function"==typeof a||Array.isArray(a)?a:"8px"};Object.keys(M.colorSchemes).forEach(e=>{let t=M.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],i=r[2];return v(e,t[n][i])};if("light"===t.mode&&(U(t.common,"background","#fff"),U(t.common,"onBackground","#000")),"dark"===t.mode&&(U(t.common,"background","#000"),U(t.common,"onBackground","#fff")),["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{t[e]||(t[e]={})}),"light"===t.mode){U(t.Alert,"errorColor",(0,o.Nd)(t.error.light,.6)),U(t.Alert,"infoColor",(0,o.Nd)(t.info.light,.6)),U(t.Alert,"successColor",(0,o.Nd)(t.success.light,.6)),U(t.Alert,"warningColor",(0,o.Nd)(t.warning.light,.6)),U(t.Alert,"errorFilledBg",r("palette-error-main")),U(t.Alert,"infoFilledBg",r("palette-info-main")),U(t.Alert,"successFilledBg",r("palette-success-main")),U(t.Alert,"warningFilledBg",r("palette-warning-main")),U(t.Alert,"errorFilledColor",G(()=>t.getContrastText(t.error.main))),U(t.Alert,"infoFilledColor",G(()=>t.getContrastText(t.info.main))),U(t.Alert,"successFilledColor",G(()=>t.getContrastText(t.success.main))),U(t.Alert,"warningFilledColor",G(()=>t.getContrastText(t.warning.main))),U(t.Alert,"errorStandardBg",(0,o.j4)(t.error.light,.9)),U(t.Alert,"infoStandardBg",(0,o.j4)(t.info.light,.9)),U(t.Alert,"successStandardBg",(0,o.j4)(t.success.light,.9)),U(t.Alert,"warningStandardBg",(0,o.j4)(t.warning.light,.9)),U(t.Alert,"errorIconColor",r("palette-error-main")),U(t.Alert,"infoIconColor",r("palette-info-main")),U(t.Alert,"successIconColor",r("palette-success-main")),U(t.Alert,"warningIconColor",r("palette-warning-main")),U(t.AppBar,"defaultBg",r("palette-grey-100")),U(t.Avatar,"defaultBg",r("palette-grey-400")),U(t.Button,"inheritContainedBg",r("palette-grey-300")),U(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),U(t.Chip,"defaultBorder",r("palette-grey-400")),U(t.Chip,"defaultAvatarColor",r("palette-grey-700")),U(t.Chip,"defaultIconColor",r("palette-grey-700")),U(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),U(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),U(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),U(t.LinearProgress,"primaryBg",(0,o.j4)(t.primary.main,.62)),U(t.LinearProgress,"secondaryBg",(0,o.j4)(t.secondary.main,.62)),U(t.LinearProgress,"errorBg",(0,o.j4)(t.error.main,.62)),U(t.LinearProgress,"infoBg",(0,o.j4)(t.info.main,.62)),U(t.LinearProgress,"successBg",(0,o.j4)(t.success.main,.62)),U(t.LinearProgress,"warningBg",(0,o.j4)(t.warning.main,.62)),U(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),U(t.Slider,"primaryTrack",(0,o.j4)(t.primary.main,.62)),U(t.Slider,"secondaryTrack",(0,o.j4)(t.secondary.main,.62)),U(t.Slider,"errorTrack",(0,o.j4)(t.error.main,.62)),U(t.Slider,"infoTrack",(0,o.j4)(t.info.main,.62)),U(t.Slider,"successTrack",(0,o.j4)(t.success.main,.62)),U(t.Slider,"warningTrack",(0,o.j4)(t.warning.main,.62));let e=(0,o.Y9)(t.background.default,.8);U(t.SnackbarContent,"bg",e),U(t.SnackbarContent,"color",G(()=>t.getContrastText(e))),U(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),U(t.StepConnector,"border",r("palette-grey-400")),U(t.StepContent,"border",r("palette-grey-400")),U(t.Switch,"defaultColor",r("palette-common-white")),U(t.Switch,"defaultDisabledColor",r("palette-grey-100")),U(t.Switch,"primaryDisabledColor",(0,o.j4)(t.primary.main,.62)),U(t.Switch,"secondaryDisabledColor",(0,o.j4)(t.secondary.main,.62)),U(t.Switch,"errorDisabledColor",(0,o.j4)(t.error.main,.62)),U(t.Switch,"infoDisabledColor",(0,o.j4)(t.info.main,.62)),U(t.Switch,"successDisabledColor",(0,o.j4)(t.success.main,.62)),U(t.Switch,"warningDisabledColor",(0,o.j4)(t.warning.main,.62)),U(t.TableCell,"border",(0,o.j4)((0,o.Cg)(t.divider,1),.88)),U(t.Tooltip,"bg",(0,o.Cg)(t.grey[700],.92))}if("dark"===t.mode){U(t.Alert,"errorColor",(0,o.j4)(t.error.light,.6)),U(t.Alert,"infoColor",(0,o.j4)(t.info.light,.6)),U(t.Alert,"successColor",(0,o.j4)(t.success.light,.6)),U(t.Alert,"warningColor",(0,o.j4)(t.warning.light,.6)),U(t.Alert,"errorFilledBg",r("palette-error-dark")),U(t.Alert,"infoFilledBg",r("palette-info-dark")),U(t.Alert,"successFilledBg",r("palette-success-dark")),U(t.Alert,"warningFilledBg",r("palette-warning-dark")),U(t.Alert,"errorFilledColor",G(()=>t.getContrastText(t.error.dark))),U(t.Alert,"infoFilledColor",G(()=>t.getContrastText(t.info.dark))),U(t.Alert,"successFilledColor",G(()=>t.getContrastText(t.success.dark))),U(t.Alert,"warningFilledColor",G(()=>t.getContrastText(t.warning.dark))),U(t.Alert,"errorStandardBg",(0,o.Nd)(t.error.light,.9)),U(t.Alert,"infoStandardBg",(0,o.Nd)(t.info.light,.9)),U(t.Alert,"successStandardBg",(0,o.Nd)(t.success.light,.9)),U(t.Alert,"warningStandardBg",(0,o.Nd)(t.warning.light,.9)),U(t.Alert,"errorIconColor",r("palette-error-main")),U(t.Alert,"infoIconColor",r("palette-info-main")),U(t.Alert,"successIconColor",r("palette-success-main")),U(t.Alert,"warningIconColor",r("palette-warning-main")),U(t.AppBar,"defaultBg",r("palette-grey-900")),U(t.AppBar,"darkBg",r("palette-background-paper")),U(t.AppBar,"darkColor",r("palette-text-primary")),U(t.Avatar,"defaultBg",r("palette-grey-600")),U(t.Button,"inheritContainedBg",r("palette-grey-800")),U(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),U(t.Chip,"defaultBorder",r("palette-grey-700")),U(t.Chip,"defaultAvatarColor",r("palette-grey-300")),U(t.Chip,"defaultIconColor",r("palette-grey-300")),U(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),U(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),U(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),U(t.LinearProgress,"primaryBg",(0,o.Nd)(t.primary.main,.5)),U(t.LinearProgress,"secondaryBg",(0,o.Nd)(t.secondary.main,.5)),U(t.LinearProgress,"errorBg",(0,o.Nd)(t.error.main,.5)),U(t.LinearProgress,"infoBg",(0,o.Nd)(t.info.main,.5)),U(t.LinearProgress,"successBg",(0,o.Nd)(t.success.main,.5)),U(t.LinearProgress,"warningBg",(0,o.Nd)(t.warning.main,.5)),U(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),U(t.Slider,"primaryTrack",(0,o.Nd)(t.primary.main,.5)),U(t.Slider,"secondaryTrack",(0,o.Nd)(t.secondary.main,.5)),U(t.Slider,"errorTrack",(0,o.Nd)(t.error.main,.5)),U(t.Slider,"infoTrack",(0,o.Nd)(t.info.main,.5)),U(t.Slider,"successTrack",(0,o.Nd)(t.success.main,.5)),U(t.Slider,"warningTrack",(0,o.Nd)(t.warning.main,.5));let e=(0,o.Y9)(t.background.default,.98);U(t.SnackbarContent,"bg",e),U(t.SnackbarContent,"color",G(()=>t.getContrastText(e))),U(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),U(t.StepConnector,"border",r("palette-grey-600")),U(t.StepContent,"border",r("palette-grey-600")),U(t.Switch,"defaultColor",r("palette-grey-300")),U(t.Switch,"defaultDisabledColor",r("palette-grey-600")),U(t.Switch,"primaryDisabledColor",(0,o.Nd)(t.primary.main,.55)),U(t.Switch,"secondaryDisabledColor",(0,o.Nd)(t.secondary.main,.55)),U(t.Switch,"errorDisabledColor",(0,o.Nd)(t.error.main,.55)),U(t.Switch,"infoDisabledColor",(0,o.Nd)(t.info.main,.55)),U(t.Switch,"successDisabledColor",(0,o.Nd)(t.success.main,.55)),U(t.Switch,"warningDisabledColor",(0,o.Nd)(t.warning.main,.55)),U(t.TableCell,"border",(0,o.Nd)((0,o.Cg)(t.divider,1),.68)),U(t.Tooltip,"bg",(0,o.Cg)(t.grey[700],.92))}W(t.background,"default"),W(t.background,"paper"),W(t.common,"background"),W(t.common,"onBackground"),W(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&U(t[e],"mainChannel",(0,o.Me)(z(r.main))),r.light&&U(t[e],"lightChannel",(0,o.Me)(z(r.light))),r.dark&&U(t[e],"darkChannel",(0,o.Me)(z(r.dark))),r.contrastText&&U(t[e],"contrastTextChannel",(0,o.Me)(z(r.contrastText))),"text"===e&&(W(t[e],"primary"),W(t[e],"secondary")),"action"===e&&(r.active&&W(t[e],"active"),r.selected&&W(t[e],"selected")))})});let N={prefix:d,disableCssColorScheme:f,shouldSkipGeneratingVar:p,getSelector:(s=M=t.reduce((e,t)=>(0,i.A)(e,t),M),(e,t)=>{let r=s.rootSelector||":root",n=s.colorSchemeSelector,i=n;if("class"===n&&(i=".%s"),"data"===n&&(i="[data-%s]"),n?.startsWith("data-")&&!n.includes("%s")&&(i=`[${n}="%s"]`),s.defaultColorScheme===e){if("dark"===e){let n,o={};return((n=s.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${n?`${n}-`:""}overlays-${t}`),`--${n?`${n}-`:""}palette-AppBar-darkBg`,`--${n?`${n}-`:""}palette-AppBar-darkColor`]).forEach(e=>{o[e]=t[e],delete t[e]}),"media"===i)?{[r]:t,"@media (prefers-color-scheme: dark)":{[r]:o}}:i?{[i.replace("%s",e)]:o,[`${r}, ${i.replace("%s",e)}`]:t}:{[r]:{...t,...o}}}if(i&&"media"!==i)return`${r}, ${i.replace("%s",String(e))}`}else if(e){if("media"===i)return{[`@media (prefers-color-scheme: ${String(e)})`]:{[r]:t}};if(i)return i.replace("%s",String(e))}return r})},{vars:E,generateThemeVars:D,generateStyleSheets:I}=k(M,N);return M.vars=E,Object.entries(M.colorSchemes[M.defaultColorScheme]).forEach(([e,t])=>{M[e]=t}),M.generateThemeVars=D,M.generateStyleSheets=I,M.generateSpacing=function(){return(0,A.A)(g.spacing,(0,w.LX)(this))},M.getColorSchemeSelector=function(e){return"media"===m?`@media (prefers-color-scheme: ${e})`:m?m.startsWith("data-")&&!m.includes("%s")?`[${m}="${e}"] &`:"class"===m?`.${e} &`:"data"===m?`[data-${e}] &`:`${m.replace("%s",e)} &`:"&"},M.spacing=M.generateSpacing(),M.shouldSkipGeneratingVar=p,M.unstable_sxConfig={...$.A,...g?.unstable_sxConfig},M.unstable_sx=function(e){return(0,C.A)({sx:e,theme:this})},M.toRuntimeSource=P,M}({...u,colorSchemes:d,defaultColorScheme:c,..."boolean"!=typeof a&&a},...t)}},48927:function(e,t,r){r.d(t,{Ay:()=>l,p0:()=>i});let n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return`${Math.round(e)}ms`}function a(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function l(e){let t={...n,...e.easing},r={...i,...e.duration};return{getAutoHeightDuration:a,create:(e=["all"],n={})=>{let{duration:i=r.standard,easing:a=t.easeInOut,delay:l=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof i?i:o(i)} ${a} ${"string"==typeof l?l:o(l)}`).join(",")},...e,easing:t,duration:r}}},87169:function(e,t,r){r.d(t,{A:()=>n});let n=(0,r(9408).A)()},9307:function(e,t,r){r.d(t,{A:()=>n});function n(e){return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}},93724:function(e,t,r){r.d(t,{A:()=>n});let n="$$material"},83926:function(e,t,r){r.d(t,{A:()=>i});var n=r(14738);let i=e=>(0,n.A)(e)&&"classes"!==e},14738:function(e,t,r){r.d(t,{A:()=>n});let n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},77308:function(e,t,r){r.d(t,{A:()=>l});var n=r(57867),i=r(87169),o=r(93724),a=r(83926);let l=(0,n.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:a.A})},56599:function(e,t,r){r.d(t,{A:()=>a}),r(70451);var n=r(26041),i=r(87169),o=r(93724);function a(){let e=(0,n.A)(i.A);return e[o.A]||e}},24726:function(e,t,r){r.d(t,{A:()=>n});let n=r(85235).A},26952:function(e,t,r){r.d(t,{A:()=>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)}},23434:function(e,t,r){r.d(t,{A:()=>o});var n=r(46826);let i={theme:void 0},o=function(e){let t,r;return function(o){let a=t;return(void 0===a||o.theme!==r)&&(i.theme=o.theme,t=a=(0,n.A)(e(i)),r=o.theme),a}}},2203:function(e,t,r){r.d(t,{A:()=>n});let n=r(89369).A},32398:function(e,t,r){r.d(t,{A:()=>n});let n=r(83183).A},29424:function(e,t,r){r.d(t,{A:()=>n});let n=r(95591).A},73397:function(e,t,r){r.d(t,{A:()=>l});var n=r(95591),i=r(76780),o=r(1689),a=r(9414);function l(e,t){let{className:r,elementType:l,ownerState:s,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:f=!1,...d}=t,{component:p,slots:m={[e]:void 0},slotProps:h={[e]:void 0},...g}=u,y=m[e]||l,b=(0,o.A)(h[e],s),{props:{component:v,...A},internalRef:w}=(0,a.A)({className:r,...d,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:b}),S=(0,n.A)(w,b?.ref,t.ref),x="root"===e?v||p:v,k=(0,i.A)(y,{..."root"===e&&!p&&!m[e]&&c,..."root"!==e&&!m[e]&&c,...A,...x&&!f&&{as:x},...x&&f&&{component:x},ref:S},s);return[y,k]}},90124:function(e,t,r){r.d(t,{Dg:()=>p,Dp:()=>d}),r(70451);var n=r(20523),i=r(69402),o=r(62540);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(26041);let s=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,l.A)(r),i="function"==typeof e?e(t&&n[t]||n):e;return(0,o.jsx)(a,{styles:i})};var u=r(87169),c=r(93724);let f=function(e){return(0,o.jsx)(s,{...e,defaultTheme:u.A,themeId:c.A})};function d(e){return function(t){return(0,o.jsx)(f,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function p(){return n.A}},41535:function(e,t,r){r.d(t,{Ay:()=>a,HX:()=>l,tT:()=>u});var n=r(42292),i=r.n(n),o=r(37696);function a(e,t){return i()(e,t)}function l(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}r(69402);let s=[];function u(e){return s[0]=e,(0,o.J)(s)}},68335:function(e,t,r){r.d(t,{A:()=>v});var n=r(70451),i=r(11750),o=r(6121),a=r(46733),l=r(81023),s=r(7939),u=r(51327),c=r(20523),f=r(80787),d=r(85351),p=r(89187),m=r(62540);let h=(0,f.A)(),g=(0,s.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function y(e){return(0,u.A)({props:e,name:"MuiStack",defaultTheme:h})}let b=({ownerState:e,theme:t})=>{let r={display:"flex",flexDirection:"column",...(0,d.NI)({theme:t},(0,d.kW)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let n=(0,p.LX)(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,d.kW)({values:e.direction,base:i}),l=(0,d.kW)({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.A)(r,(0,d.NI)({theme:t},l,(t,r)=>e.useFlexGap?{gap:(0,p._W)(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,p._W)(n,t)}}))}return(0,d.iZ)(t.breakpoints,r)};function v(e={}){let{createStyledComponent:t=g,useThemeProps:r=y,componentName:o="MuiStack"}=e,s=t(b);return n.forwardRef(function(e,t){let u,f=r(e),{component:d="div",direction:p="column",spacing:h=0,divider:g,children:y,className:b,useFlexGap:v=!1,...A}=(0,c.A)(f),w=(0,l.A)({root:["root"]},e=>(0,a.Ay)(o,e),{});return(0,m.jsx)(s,{as:d,ownerState:{direction:p,spacing:h,useFlexGap:v},ref:t,className:(0,i.A)(w.root,b),...A,children:g?(u=n.Children.toArray(y).filter(Boolean)).reduce((e,t,r)=>(e.push(t),r<u.length-1&&e.push(n.cloneElement(g,{key:`separator-${r}`})),e),[]):y})})}},85351:function(e,t,r){r.d(t,{EU:()=>u,NI:()=>s,iZ:()=>f,kW:()=>d,vf:()=>c,zu:()=>o});var n=r(6121),i=r(40391);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`},l={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:o[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function s(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||a;return t.reduce((n,i,o)=>(n[e.up(e.keys[o])]=r(t[o]),n),{})}if("object"==typeof t){let e=n.breakpoints||a;return Object.keys(t).reduce((a,s)=>{if((0,i.ob)(e.keys,s)){let e=(0,i.CT)(n.containerQueries?n:l,s);e&&(a[e]=r(t[s],s))}else Object.keys(e.values||o).includes(s)?a[e.up(s)]=r(t[s],s):a[s]=t[s];return a},{})}return r(t)}function u(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}function c(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function f(e,...t){let r=u(e),i=[r,...t].reduce((e,t)=>(0,n.A)(e,t),{});return c(Object.keys(r),i)}function d({values:e,breakpoints:t,base:r}){let n,i=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===i.length?e:i.reduce((t,r,i)=>(Array.isArray(e)?(t[r]=null!=e[i]?e[i]:e[n],n=i):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},59238:function(e,t,r){r.d(t,{X4:()=>f,eM:()=>c,Cg:()=>d,Nd:()=>m,a:()=>h,Me:()=>a,e$:()=>p,Y9:()=>y,j4:()=>g,YL:()=>s});var n=r(67425);function i(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function o(e){let t;if(e.type)return e;if("#"===e.charAt(0)){var r;let t,n;return o((r=(r=e).slice(1),t=RegExp(`.{1,${r.length>=6?2:1}}`,"g"),(n=r.match(t))&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""))}let i=e.indexOf("("),a=e.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(a))throw Error((0,n.A)(9,e));let l=e.substring(i+1,e.length-1);if("color"===a){if(t=(l=l.split(" ")).shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.A)(10,t))}else l=l.split(",");return{type:a,values:l=l.map(e=>parseFloat(e)),colorSpace:t}}let a=(e,t)=>{try{let t;return(t=o(e)).values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")}catch(t){return e}};function l(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function s(e){let{values:t}=e=o(e),r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),s=(e,t=(e+r/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function u(e){let t="hsl"===(e=o(e)).type||"hsla"===e.type?o(s(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function f(e,t){return e=o(e),t=i(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function d(e,t,r){try{return f(e,t)}catch(t){return e}}function p(e,t){if(e=o(e),t=i(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function m(e,t,r){try{return p(e,t)}catch(t){return e}}function h(e,t){if(e=o(e),t=i(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function g(e,t,r){try{return h(e,t)}catch(t){return e}}function y(e,t,r){try{return function(e,t=.15){return u(e)>.5?p(e,t):h(e,t)}(e,t)}catch(t){return e}}},57867:function(e,t,r){r.d(t,{Ay:()=>d,MC:()=>u});var n=r(41535),i=r(6121),o=r(80787),a=r(92927),l=r(46826);let s=(0,o.A)();function u(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function c(e,t){let r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>c(e,t));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{let{variants:e,...n}=r;t=n}return f(e,r.variants,[t])}return r?.isProcessed?r.style:r}function f(e,t,r=[]){let n;e:for(let i=0;i<t.length;i+=1){let o=t[i];if("function"==typeof o.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(n))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue e;"function"==typeof o.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(o.style(n))):r.push(o.style)}return r}function d(e={}){let{themeId:t,defaultTheme:r=s,rootShouldForwardProp:o=u,slotShouldForwardProp:p=u}=e;function m(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return(e,t={})=>{var r,s,d;(0,n.HX)(e,e=>e.filter(e=>e!==a.A));let{name:h,slot:g,skipVariantsResolver:y,skipSx:b,overridesResolver:v=!(r=(s=g)?s.charAt(0).toLowerCase()+s.slice(1):s)?null:(e,t)=>t[r],...A}=t,w=void 0!==y?y:g&&"Root"!==g&&"root"!==g||!1,S=b||!1,x=u;"Root"===g||"root"===g?x=o:g?x=p:"string"==typeof(d=e)&&d.charCodeAt(0)>96&&(x=void 0);let k=(0,n.Ay)(e,{shouldForwardProp:x,label:void 0,...A}),$=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return c(t,e)};if((0,i.Q)(e)){let t=(0,l.A)(e);return t.variants?function(e){return c(e,t)}:t.style}return e},C=(...t)=>{let r=[],n=t.map($),i=[];if(r.push(m),h&&v&&i.push(function(e){let t=e.theme,r=t.components?.[h]?.styleOverrides;if(!r)return null;let n={};for(let t in r)n[t]=c(e,r[t]);return v(e,n)}),h&&!w&&i.push(function(e){let t=e.theme,r=t?.components?.[h]?.variants;return r?f(e,r):null}),S||i.push(a.A),Array.isArray(n[0])){let e,t=n.shift(),o=Array(r.length).fill(""),a=Array(i.length).fill("");(e=[...o,...t,...a]).raw=[...o,...t.raw,...a],r.unshift(e)}let o=k(...r,...n,...i);return e.muiName&&(o.muiName=e.muiName),o};return k.withConfig&&(C.withConfig=k.withConfig),C}}},17575:function(e,t,r){r.d(t,{A:()=>i});var n=r(89187);function i(e=8,t=(0,n.LX)({spacing:e})){if(e.mui)return e;let r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}},80787:function(e,t,r){r.d(t,{A:()=>c});var n=r(6121),i=r(40391);let o={borderRadius:4};var a=r(17575),l=r(92927),s=r(73126);function u(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}let c=function(e={},...t){let{breakpoints:r={},palette:c={},spacing:f,shape:d={},...p}=e,m=function(e){let t,{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:i=5,...o}=e,a=((t=Object.keys(r).map(e=>({key:e,val:r[e]}))||[]).sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})),l=Object.keys(a);function s(e){let t="number"==typeof r[e]?r[e]:e;return`@media (min-width:${t}${n})`}function u(e){let t="number"==typeof r[e]?r[e]:e;return`@media (max-width:${t-i/100}${n})`}function c(e,t){let o=l.indexOf(t);return`@media (min-width:${"number"==typeof r[e]?r[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof r[l[o]]?r[l[o]]:t)-i/100}${n})`}return{keys:l,values:a,up:s,down:u,between:c,only:function(e){return l.indexOf(e)+1<l.length?c(e,l[l.indexOf(e)+1]):s(e)},not:function(e){let t=l.indexOf(e);return 0===t?s(l[1]):t===l.length-1?u(l[t]):c(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}(r),h=(0,a.A)(f),g=(0,n.A)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...c},spacing:h,shape:{...o,...d}},p);return(g=(0,i.Ay)(g)).applyStyles=u,(g=t.reduce((e,t)=>(0,n.A)(e,t),g)).unstable_sxConfig={...s.A,...p?.unstable_sxConfig},g.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},g}},40391:function(e,t,r){function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return(e.match(r)?.[1]||0)-(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function o(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)}function a(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let n={},i=e=>(r(n,e),n);return r(i),{...e,containerQueries:i}}r.d(t,{Ay:()=>a,CT:()=>o,_S:()=>n,ob:()=>i})},57255:function(e,t,r){r.d(t,{A:()=>i});var n=r(6121);let i=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},46826:function(e,t,r){r.d(t,{A:()=>i});var n=r(41535);function i(e){let{variants:t,...r}=e,i={variants:t,style:(0,n.tT)(r),isProcessed:!0};return i.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.tT)(e.style))}),i}},89187:function(e,t,r){let n;r.d(t,{Lc:()=>v,Ms:()=>A,_W:()=>y,MA:()=>h,LX:()=>g});var i,o=r(85351),a=r(95279),l=r(57255);let s={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},f=(i=e=>{if(e.length>2)if(!c[e])return[e];else e=c[e];let[t,r]=e.split(""),n=s[t],i=u[r]||"";return Array.isArray(i)?i.map(e=>n+e):[n+i]},n={},e=>(void 0===n[e]&&(n[e]=i(e)),n[e])),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],m=[...d,...p];function h(e,t,r,n){let i=(0,a.Yn)(e,t,!0)??r;return"number"==typeof i||"string"==typeof i?e=>"string"==typeof e?e:"string"==typeof i?`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if("string"==typeof e)return e;let t=i[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof i?i:()=>void 0}function g(e){return h(e,"spacing",8,"spacing")}function y(e,t){return"string"==typeof t||null==t?t:e(t)}function b(e,t){let r=g(e.theme);return Object.keys(e).map(n=>(function(e,t,r,n){var i;if(!t.includes(r))return null;let a=(i=f(r),e=>i.reduce((t,r)=>(t[r]=y(n,e),t),{})),l=e[r];return(0,o.NI)(e,l,a)})(e,t,n,r)).reduce(l.A,{})}function v(e){return b(e,d)}function A(e){return b(e,p)}function w(e){return b(e,m)}v.propTypes={},v.filterProps=d,A.propTypes={},A.filterProps=p,w.propTypes={},w.filterProps=m},95279:function(e,t,r){r.d(t,{Ay:()=>l,BO:()=>a,Yn:()=>o});var n=r(85235),i=r(85351);function o(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:o(e,r)||n,t&&(i=t(i,n,e)),i}let l=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,u=e=>{if(null==e[t])return null;let u=e[t],c=o(e.theme,l)||{};return(0,i.NI)(e,u,e=>{let i=a(c,s,e);return(e===i&&"string"==typeof e&&(i=a(c,s,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r)?i:{[r]:i}})};return u.propTypes={},u.filterProps=[t],u}},73126:function(e,t,r){r.d(t,{A:()=>P});var n=r(89187),i=r(95279),o=r(57255);let a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,o.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var l=r(85351);function s(e){return"number"!=typeof e?e:`${e}px solid`}function u(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}let c=u("border",s),f=u("borderTop",s),d=u("borderRight",s),p=u("borderBottom",s),m=u("borderLeft",s),h=u("borderColor"),g=u("borderTopColor"),y=u("borderRightColor"),b=u("borderBottomColor"),v=u("borderLeftColor"),A=u("outline",s),w=u("outlineColor"),S=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.NI)(e,e.borderRadius,e=>({borderRadius:(0,n._W)(t,e)}))}return null};S.propTypes={},S.filterProps=["borderRadius"],a(c,f,d,p,m,h,g,y,b,v,S,A,w);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.MA)(e.theme,"spacing",8,"gap");return(0,l.NI)(e,e.gap,e=>({gap:(0,n._W)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let k=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.MA)(e.theme,"spacing",8,"columnGap");return(0,l.NI)(e,e.columnGap,e=>({columnGap:(0,n._W)(t,e)}))}return null};k.propTypes={},k.filterProps=["columnGap"];let $=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.MA)(e.theme,"spacing",8,"rowGap");return(0,l.NI)(e,e.rowGap,e=>({rowGap:(0,n._W)(t,e)}))}return null};function C(e,t){return"grey"===t?t:e}function O(e){return e<=1&&0!==e?`${100*e}%`:e}$.propTypes={},$.filterProps=["rowGap"],a(x,k,$,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),a((0,i.Ay)({prop:"color",themeKey:"palette",transform:C}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:C}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:C}));let _=(0,i.Ay)({prop:"width",transform:O}),B=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.NI)(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||l.zu[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:O(t)}}):null;B.filterProps=["maxWidth"];let T=(0,i.Ay)({prop:"minWidth",transform:O}),j=(0,i.Ay)({prop:"height",transform:O}),M=(0,i.Ay)({prop:"maxHeight",transform:O}),N=(0,i.Ay)({prop:"minHeight",transform:O});(0,i.Ay)({prop:"size",cssProperty:"width",transform:O}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:O}),a(_,B,T,j,M,N,(0,i.Ay)({prop:"boxSizing"}));let P={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:C},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:C},backgroundColor:{themeKey:"palette",transform:C},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:$},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:O},maxWidth:{style:B},minWidth:{transform:O},height:{transform:O},maxHeight:{transform:O},minHeight:{transform:O},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},20523:function(e,t,r){r.d(t,{A:()=>o});var n=r(6121),i=r(73126);function o(e){let t,r,o,{sx:a,...l}=e,{systemProps:s,otherProps:u}=(r={systemProps:{},otherProps:{}},o=l?.theme?.unstable_sxConfig??i.A,Object.keys(l).forEach(e=>{o[e]?r.systemProps[e]=l[e]:r.otherProps[e]=l[e]}),r);return t=Array.isArray(a)?[s,...a]:"function"==typeof a?(...e)=>{let t=a(...e);return(0,n.Q)(t)?{...s,...t}:s}:{...s,...a},{...u,sx:t}}},92927:function(e,t,r){r.d(t,{A:()=>c});var n=r(85235),i=r(57255),o=r(95279),a=r(85351),l=r(40391),s=r(73126);let u=function(){function e(e,t,r,i){let l={[e]:t,theme:r},s=i[e];if(!s)return{[e]:t};let{cssProperty:u=e,themeKey:c,transform:f,style:d}=s;if(null==t)return null;if("typography"===c&&"inherit"===t)return{[e]:t};let p=(0,o.Yn)(r,c)||{};return d?d(l):(0,a.NI)(l,t,t=>{let r=(0,o.BO)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,o.BO)(p,f,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===u)?r:{[u]:r}})}return function t(r){let{sx:n,theme:o={}}=r||{};if(!n)return null;let u=o.unstable_sxConfig??s.A;function c(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;let s=(0,a.EU)(o.breakpoints),c=Object.keys(s),f=s;return Object.keys(n).forEach(r=>{var l;let s=(l=n[r],"function"==typeof l?l(o):l);if(null!=s)if("object"==typeof s)if(u[r])f=(0,i.A)(f,e(r,s,o,u));else{let e=(0,a.NI)({theme:o},s,e=>({[r]:e}));!function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)}(e,s)?f=(0,i.A)(f,e):f[r]=t({sx:s,theme:o})}else f=(0,i.A)(f,e(r,s,o,u))}),(0,l._S)(o,(0,a.vf)(c,f))}return Array.isArray(n)?n.map(c):c(n)}}();u.filterProps=["sx"];let c=u},7939:function(e,t,r){r.d(t,{A:()=>n});let n=(0,r(57867).Ay)()},26041:function(e,t,r){r.d(t,{A:()=>a});var n=r(80787),i=r(45827);let o=(0,n.A)(),a=function(e=o){return(0,i.A)(e)}},70320:function(e,t,r){r.d(t,{A:()=>i});var n=r(52215);function i(e){let{theme:t,name:r,props:i}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.A)(t.components[r].defaultProps,i):i}},51327:function(e,t,r){r.d(t,{A:()=>o});var n=r(70320),i=r(26041);function o({props:e,name:t,defaultTheme:r,themeId:o}){let a=(0,i.A)(r);return o&&(a=a[o]||a),(0,n.A)({theme:a,name:t,props:e})}},45827:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(69402);let o=function(e=null){let t=n.useContext(i.ThemeContext);return t&&0!==Object.keys(t).length?t:e}},71027:function(e,t,r){let n;r.d(t,{A:()=>o});let i=e=>e,o=(n=i,{configure(e){n=e},generate:e=>n(e),reset(){n=i}})},76780:function(e,t,r){r.d(t,{A:()=>n});let n=function(e,t,r){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...r}}}},85235:function(e,t,r){r.d(t,{A:()=>i});var n=r(67425);function i(e){if("string"!=typeof e)throw Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},81023:function(e,t,r){r.d(t,{A:()=>n});function n(e,t,r){let n={};for(let i in e){let o=e[i],a="",l=!0;for(let e=0;e<o.length;e+=1){let n=o[e];n&&(a+=(!0===l?"":" ")+t(n),l=!1,r&&r[n]&&(a+=" "+r[n]))}n[i]=a}return n}},6121:function(e,t,r){r.d(t,{A:()=>function e(t,r,a={clone:!0}){let l=a.clone?{...t}:t;return o(t)&&o(r)&&Object.keys(r).forEach(s=>{n.isValidElement(r[s])||(0,i.isValidElementType)(r[s])?l[s]=r[s]:o(r[s])&&Object.prototype.hasOwnProperty.call(t,s)&&o(t[s])?l[s]=e(t[s],r[s],a):a.clone?l[s]=o(r[s])?function e(t){if(n.isValidElement(t)||(0,i.isValidElementType)(t)||!o(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[s]):r[s]:l[s]=r[s]}),l},Q:()=>o});var n=r(70451),i=r(22706);function o(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},3507:function(e,t,r){r.d(t,{A:()=>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}},67425:function(e,t,r){r.d(t,{A:()=>n});function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}},46733:function(e,t,r){r.d(t,{Ay:()=>o});var n=r(71027);let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(e,t,r="Mui"){let a=i[t];return a?`${r}-${a}`:`${n.A.generate(e)}-${t}`}},29009:function(e,t,r){r.d(t,{A:()=>i});var n=r(46733);function i(e,t,r="Mui"){let o={};return t.forEach(t=>{o[t]=(0,n.Ay)(e,t,r)}),o}},93399:function(e,t,r){r.d(t,{A:()=>n});function n(e){try{return e.matches(":focus-visible")}catch(e){}return!1}},9414:function(e,t,r){r.d(t,{A:()=>a});var n=r(11750),i=r(3507);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.A)(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.A)({...l,...a}),c=o(a),f=o(l),d=t(u),p=(0,n.A)(d?.className,r?.className,s,l?.className,a?.className),m={...d?.style,...r?.style,...l?.style,...a?.style},h={...d,...r,...f,...c};return p.length>0&&(h.className=p),Object.keys(m).length>0&&(h.style=m),{props:h,internalRef:d.ref}}},1689:function(e,t,r){r.d(t,{A:()=>n});let n=function(e,t,r){return"function"==typeof e?e(t,r):e}},52215:function(e,t,r){r.d(t,{A:()=>function e(t,r){let n={...r};for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i))if("components"===i||"slots"===i)n[i]={...t[i],...n[i]};else if("componentsProps"===i||"slotProps"===i){let o=t[i],a=r[i];if(a)if(o)for(let t in n[i]={...a},o)Object.prototype.hasOwnProperty.call(o,t)&&(n[i][t]=e(o[t],a[t]));else n[i]=a;else n[i]=o||{}}else void 0===n[i]&&(n[i]=t[i]);return n}})},71849:function(e,t,r){r.d(t,{A:()=>n});function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},89369:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);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]}},31789:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},83183:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(31789);let o=function(e){let t=n.useRef(e);return(0,i.A)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},95591:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451),i=r(71849);function o(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,i.A)(e,t)})},e)}},48731:function(e,t,r){r.d(t,{A:()=>o});var n=r(70451);let i={};function o(e,t){let r=n.useRef(i);return r.current===i&&(r.current=e(t)),r}},3725:function(e,t,r){r.d(t,{E:()=>a,A:()=>l});var n=r(48731),i=r(70451);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.A)(a.create).current;return e=t.disposeEffect,i.useEffect(e,o),t}},22706:function(e,t){var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=Symbol.for("react.client.reference");t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===o||e===c||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||void 0!==e.getModuleId)||!1}},12826:function(e,t,r){r.d(t,{T6:()=>ey,W5:()=>ec,x9:()=>eb,AC:()=>en,Fl:()=>ei,Se:()=>ea,px:()=>ed,GU:()=>eu,i$:()=>ep,j9:()=>em,fZ:()=>eh,Yf:()=>eg,KN:()=>es,w0:()=>er,oy:()=>ef,r_:()=>eo,CB:()=>el});var n,i,o,a,l,s,u,c,f,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function p(){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="",f=n.replace(/(^[^(]*)\((.*)\)([^)]*$)/,"$1$2$3");if(f!==n)return -1*r(f,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 d=parseFloat(n);if(isNaN(d))return;let p=a(d);if(p&&"."!==p&&(c=n.replace(RegExp(`${t(p)}$`),""))!==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=p(),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,f,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]),(f=e.split(".")[0].match(/0+/))&&(t.characteristic=f[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)}return(a=e).match(/\[\.]/)?t.optionalMantissa=!0:a.match(/\./)&&(t.optionalMantissa=!1),(d=e.split(".")[1])&&(t.trimMantissa=-1!==d.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(f)return c;f=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 y={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 f(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 d(e){var t=e.c.length-1;return s(e.e/14)==t&&e.c[t]%2!=0}function p(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,y,b,v,A,w,S,x,k=F.prototype={constructor:F,toString:null,valueOf:null},$=new F(1),C=20,O=4,_=-7,B=21,T=-1e7,j=1e7,M=!1,N=1,P=0,E={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"\xa0",suffix:""},D="0123456789abcdefghijklmnopqrstuvwxyz",I=!0;function F(e,t){var n,o,l,s,u,c,d,p,m=this;if(!(m instanceof F))return new F(e,t);if(null==t){if(e&&!0===e._isBigNumber){m.s=e.s,!e.c||e.e>j?m.c=m.e=null:e.e<T?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>j?m.c=m.e=null:(m.e=s,m.c=[e]);return}p=String(e)}else{if(!r.test(p=String(e)))return x(m,p,c);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(s=p.indexOf("."))>-1&&(p=p.replace(".","")),(u=p.search(/e/i))>0?(s<0&&(s=u),s+=+p.slice(u+1),p=p.substring(0,u)):s<0&&(s=p.length)}else{if(f(t,2,D.length,"Base"),10==t&&I)return z(m=new F(e),C+m.e+1,O);if(p=String(e),c="number"==typeof e){if(0*e!=0)return x(m,p,c,t);if(m.s=1/e<0?(p=p.slice(1),-1):1,F.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(a+e)}else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=D.slice(0,t),s=u=0,d=p.length;u<d;u++)if(0>n.indexOf(o=p.charAt(u))){if("."==o){if(u>s){s=d;continue}}else if(!l&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){l=!0,u=-1,s=0;continue}return x(m,String(e),c,t)}c=!1,(s=(p=S(p,t,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):s=p.length}for(u=0;48===p.charCodeAt(u);u++);for(d=p.length;48===p.charCodeAt(--d););if(p=p.slice(u,++d)){if(d-=u,c&&F.DEBUG&&d>15&&(e>0x1fffffffffffff||e!==i(e)))throw Error(a+m.s*e);if((s=s-u-1)>j)m.c=m.e=null;else if(s<T)m.c=[m.e=0];else{if(m.e=s,m.c=[],u=(s+1)%14,s<0&&(u+=14),u<d){for(u&&m.c.push(+p.slice(0,u)),d-=14;u<d;)m.c.push(+p.slice(u,u+=14));u=14-(p=p.slice(u)).length}else u-=d;for(;u--;p+="0");m.c.push(+p)}}else m.c=[m.e=0]}function R(e,t,r,n){var i,o,a,l,s;if(null==r?r=O:f(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<=_||a>=B)?p(s,a):m(s,a,"0");else if(o=(e=z(new F(e),t,r)).e,l=(s=u(e.c)).length,1==n||2==n&&(t<=o||o<=_)){for(;l<t;s+="0",l++);s=p(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 F(e[0]);i<e.length;i++)(n=new F(e[i])).s&&(r=c(o,n))!==t&&(0!==r||o.s!==t)||(o=n);return o}function U(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)>j?e.c=e.e=null:r<T?e.c=[e.e=0]:(e.e=r,e.c=t),e}function z(e,t,r,o){var a,s,u,c,f,d,p,m=e.c;if(m){t:{for(a=1,c=m[0];c>=10;c/=10,a++);if((s=t-a)<0)s+=14,u=t,p=i((f=m[d=0])/l[a-u-1]%10);else if((d=n((s+1)/14))>=m.length)if(o){for(;m.length<=d;m.push(0));f=p=0,a=1,s%=14,u=s-14+1}else break t;else{for(a=1,f=c=m[d];c>=10;c/=10,a++);s%=14,p=(u=s-14+a)<0?0:i(f/l[a-u-1]%10)}if(o=o||t<0||null!=m[d+1]||(u<0?f:f%l[a-u-1]),o=r<4?(p||o)&&(0==r||r==(e.s<0?3:2)):p>5||5==p&&(4==r||o||6==r&&(s>0?u>0?f/l[a-u]:0:m[d-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=d,c=1,d--):(m.length=d+1,c=l[14-s],m[d]=u>0?i(f/l[a-u]%l[u])*c:0),o)for(;;)if(0==d){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[d]+=c,1e14!=m[d])break;m[d--]=0,c=1}for(s=m.length;0===m[--s];m.pop());}e.e>j?e.c=e.e=null:e.e<T&&(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<=_||r>=B?p(t,r):m(t,r,"0"),e.s<0?"-"+t:t)}return F.clone=e,F.ROUND_UP=0,F.ROUND_DOWN=1,F.ROUND_CEIL=2,F.ROUND_FLOOR=3,F.ROUND_HALF_UP=4,F.ROUND_HALF_DOWN=5,F.ROUND_HALF_EVEN=6,F.ROUND_HALF_CEIL=7,F.ROUND_HALF_FLOOR=8,F.EUCLID=9,F.config=F.set=function(e){var t,r;if(null!=e)if("object"==typeof e){if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(f(r=e[t],0,1e9,t),C=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(f(r=e[t],0,8,t),O=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(f(r[0],-1e9,0,t),f(r[1],0,1e9,t),_=r[0],B=r[1]):(f(r,-1e9,1e9,t),_=-(B=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)f(r[0],-1e9,-1,t),f(r[1],1,1e9,t),T=r[0],j=r[1];else if(f(r,-1e9,1e9,t),r)T=-(j=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))M=r;else throw M=!r,Error(o+"crypto unavailable");else M=r;else throw Error(o+t+" not true or false: "+r);if(e.hasOwnProperty(t="MODULO_MODE")&&(f(r=e[t],0,9,t),N=r),e.hasOwnProperty(t="POW_PRECISION")&&(f(r=e[t],0,1e9,t),P=r),e.hasOwnProperty(t="FORMAT"))if("object"==typeof(r=e[t]))E=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),D=r}}else throw Error(o+"Object expected: "+e);return{DECIMAL_PLACES:C,ROUNDING_MODE:O,EXPONENTIAL_AT:[_,B],RANGE:[T,j],CRYPTO:M,MODULO_MODE:N,POW_PRECISION:P,FORMAT:E,ALPHABET:D}},F.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!F.DEBUG)return!0;var t,r,n=e.c,a=e.e,l=e.s;t: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 t}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 t;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)},F.maximum=F.max=function(){return L(arguments,-1)},F.minimum=F.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)},F.random=function(e){var t,r,a,s,u,c=0,d=[],p=new F($);if(null==e?e=C:f(e,0,1e9),s=n(e/14),M)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]):(d.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):(d.push(u%1e14),c+=7);c=s/7}else throw M=!1,Error(o+"crypto unavailable");if(!M)for(;c<s;)(u=h())<9e15&&(d[c++]=u%1e14);for(s=d[--c],e%=14,s&&e&&(u=l[14-e],d[c]=i(s/u)*u);0===d[c];d.pop(),c--);if(c<0)d=[a=0];else{for(a=-1;0===d[0];d.splice(0,1),a-=14);for(c=1,u=d[0];u>=10;u/=10,c++);c<14&&(a-=14-c)}return p.e=a,p.c=d,p},F.sum=function(){for(var e=1,t=arguments,r=new F(t[0]);e<t.length;)r=r.plus(t[e++]);return r},S=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,f,d,p,h,g,y=r.indexOf("."),b=C,v=O;for(y>=0&&(f=P,P=0,r=r.replace(".",""),p=(g=new F(n)).pow(r.length-y),P=f,g.c=t(m(u(p.c),p.e,"0"),10,i,e),g.e=g.c.length),c=f=(h=t(r,n,i,a?(l=D,e):(l=e,D))).length;0==h[--f];h.pop());if(!h[0])return l.charAt(0);if(y<0?--c:(p.c=h,p.e=c,p.s=o,h=(p=w(p,g,b,v,i)).c,d=p.r,c=p.e),y=h[s=c+b+1],f=i/2,d=d||s<0||null!=h[s+1],d=v<4?(null!=y||d)&&(0==v||v==(p.s<0?3:2)):y>f||y==f&&(4==v||d||6==v&&1&h[s-1]||v==(p.s<0?8:7)),s<1||!h[0])r=d?m(l.charAt(1),-b,l.charAt(0)):l.charAt(0);else{if(h.length=s,d)for(--i;++h[--s]>i;)h[s]=0,s||(++c,h=[1].concat(h));for(f=h.length;!h[--f];);for(y=0,r="";y<=f;r+=l.charAt(h[y++]));r=m(r,c,l.charAt(0))}return r}}(),w=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,f,d,p,m,h,g,y,b,v,A,w,S,x,k,$,C,O=n.s==o.s?1:-1,_=n.c,B=o.c;if(!_||!_[0]||!B||!B[0])return new F(!n.s||!o.s||(_?B&&_[0]==B[0]:!B)?NaN:_&&0==_[0]||!B?0*O:O/0);for(b=(y=new F(O)).c=[],O=a+(f=n.e-o.e)+1,u||(u=1e14,f=s(n.e/14)-s(o.e/14),O=O/14|0),d=0;B[d]==(_[d]||0);d++);if(B[d]>(_[d]||0)&&f--,O<0)b.push(1),p=!0;else{for(x=_.length,$=B.length,d=0,O+=2,(m=i(u/(B[0]+1)))>1&&(B=e(B,m,u),_=e(_,m,u),$=B.length,x=_.length),S=$,A=(v=_.slice(0,$)).length;A<$;v[A++]=0);C=[0].concat(C=B.slice()),k=B[0],B[1]>=u/2&&k++;do{if(m=0,(c=t(B,v,$,A))<0){if(w=v[0],$!=A&&(w=w*u+(v[1]||0)),(m=i(w/k))>1)for(m>=u&&(m=u-1),g=(h=e(B,m,u)).length,A=v.length;1==t(h,v,g,A);)m--,r(h,$<g?C:B,g,u),g=h.length,c=1;else 0==m&&(c=m=1),g=(h=B.slice()).length;if(g<A&&(h=[0].concat(h)),r(v,h,A,u),A=v.length,-1==c)for(;1>t(B,v,$,A);)m++,r(v,$<A?C:B,A,u),A=v.length}else 0===c&&(m++,v=[0]);b[d++]=m,v[0]?v[A++]=_[S]||0:(v=[_[S]],A=1)}while((S++<x||null!=v[0])&&O--);p=null!=v[0],b[0]||b.splice(0,1)}if(1e14==u){for(d=1,O=b[0];O>=10;O/=10,d++);z(y,a+(y.e=d+14*f-1)+1,l,p)}else y.e=f,y.r=+p;return y}}(),g=/^(-?)0([xbo])(?=\w[\w.]*$)/i,y=/^([^.]+)\.$/,b=/^\.([^.]+)$/,v=/^-?(Infinity|NaN)$/,A=/^\s*\+(?=[\w.])|^\s+|\s+$/g,x=function(e,t,r,n){var i,a=r?t:t.replace(A,"");if(v.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(y,"$1").replace(b,"0.$1")),t!=a))return new F(a,i);if(F.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 F(this);return e.s<0&&(e.s=1),e},k.comparedTo=function(e,t){return c(this,new F(e,t))},k.decimalPlaces=k.dp=function(e,t){var r,n,i;if(null!=e)return f(e,0,1e9),null==t?t=O:f(t,0,8),z(new F(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 w(this,new F(e,t),C,O)},k.dividedToIntegerBy=k.idiv=function(e,t){return w(this,new F(e,t),0,1)},k.exponentiatedBy=k.pow=function(e,t){var r,a,l,s,u,c,f,p,m,h=this;if((e=new F(e)).c&&!e.isInteger())throw Error(o+"Exponent not an integer: "+W(e));if(null!=t&&(t=new F(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 F(Math.pow(+W(h),c?e.s*(2-d(e)):+W(e))),t?m.mod(t):m;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new F(NaN);(a=!f&&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&&d(e)?-0:0,h.e>-1&&(s=1/s),new F(f?1/s:s);P&&(s=n(P/14+2))}for(c?(r=new F(.5),f&&(e.s=1),p=d(e)):p=(l=Math.abs(+W(e)))%2,m=new F($);;){if(p){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;p=l%2}else if(z(e=e.times(r),e.e+1,1),e.e>14)p=d(e);else{if(0==(l=+W(e)))break;p=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:(f&&(m=$.div(m)),t?m.mod(t):s?z(m,P,O,u):m)},k.integerValue=function(e){var t=new F(this);return null==e?e=O:f(e,0,8),z(t,t.e+1,e)},k.isEqualTo=k.eq=function(e,t){return 0===c(this,new F(e,t))},k.isFinite=function(){return!!this.c},k.isGreaterThan=k.gt=function(e,t){return c(this,new F(e,t))>0},k.isGreaterThanOrEqualTo=k.gte=function(e,t){return 1===(t=c(this,new F(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 F(e,t))},k.isLessThanOrEqualTo=k.lte=function(e,t){return -1===(t=c(this,new F(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 F(e,t)).s,!a||!t)return new F(NaN);if(a!=t)return e.s=-t,this.plus(e);var l=this.e/14,u=e.e/14,c=this.c,f=e.c;if(!l||!u){if(!c||!f)return c?(e.s=-t,e):new F(f?this:NaN);if(!c[0]||!f[0])return f[0]?(e.s=-t,e):new F(c[0]?this:3==O?-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=f),i.reverse(),t=a;t--;i.push(0));i.reverse()}else for(n=(o=(a=c.length)<(t=f.length))?a:t,a=t=0;t<n;t++)if(c[t]!=f[t]){o=c[t]<f[t];break}if(o&&(i=c,c=f,f=i,e.s=-e.s),(t=(n=f.length)-(r=c.length))>0)for(;t--;c[r++]=0);for(t=1e14-1;n>a;){if(c[--n]<f[n]){for(r=n;r&&!c[--r];c[r]=t);--c[r],c[n]+=1e14}c[n]-=f[n]}for(;0==c[0];c.splice(0,1),--u);return c[0]?U(e,c,u):(e.s=3==O?-1:1,e.c=[e.e=0],e)},k.modulo=k.mod=function(e,t){var r,n;return(e=new F(e,t),this.c&&e.s&&(!e.c||e.c[0]))?e.c&&(!this.c||this.c[0])?(9==N?(n=e.s,e.s=1,r=w(this,e,0,3),e.s=n,r.s*=n):r=w(this,e,0,N),(e=this.minus(r.times(e))).c[0]||1!=N||(e.s=this.s),e):new F(this):new F(NaN)},k.multipliedBy=k.times=function(e,t){var r,n,i,o,a,l,u,c,f,d,p,m,h,g=this.c,y=(e=new F(e,t)).c;if(!g||!y||!g[0]||!y[0])return this.s&&e.s&&(!g||g[0]||y)&&(!y||y[0]||g)?(e.s*=this.s,g&&y?(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)<(d=y.length)&&(h=g,g=y,y=h,i=u,u=d,d=i),i=u+d,h=[];i--;h.push(0));for(i=d;--i>=0;){for(r=0,p=y[i]%1e7,m=y[i]/1e7|0,o=i+(a=u);o>i;)l=m*(c=g[--a]%1e7)+(f=g[a]/1e7|0)*p,r=((c=p*c+l%1e7*1e7+h[o]+r)/1e14|0)+(l/1e7|0)+m*f,h[o--]=c%1e14;h[o]=r}return r?++n:h.splice(0,1),U(e,h,n)},k.negated=function(){var e=new F(this);return e.s=-e.s||null,e},k.plus=function(e,t){var r,n=this.s;if(t=(e=new F(e,t)).s,!n||!t)return new F(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 F(n/0);if(!a[0]||!l[0])return l[0]?e:new F(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),U(e,a,o)},k.precision=k.sd=function(e,t){var r,n,i;if(null!=e&&!!e!==e)return f(e,1,1e9),null==t?t=O:f(t,0,8),z(new F(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 f(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=C+4,f=new F("0.5");if(1!==a||!o||!o[0])return new F(!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 F(t=a==1/0?"5e"+l:(t=a.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new F(a+""),r.c[0]){for((a=(l=r.e)+c)<3&&(a=0);;)if(i=r,r=f.times(i.plus(w(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))||(z(r,r.e+C+2,1),e=!r.times(r).eq(this));break}if(!n&&(z(i,i.e+C+2,0),i.times(i).eq(this))){r=i;break}c+=4,a+=4,n=1}}return z(r,r.e+C+1,O,e)},k.toExponential=function(e,t){return null!=e&&(f(e,0,1e9),e++),R(this,e,t,1)},k.toFixed=function(e,t){return null!=e&&(f(e,0,1e9),e=e+this.e+1),R(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=E;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],f=a[1],d=this.s<0,p=d?c.slice(1):c,m=p.length;if(s&&(i=l,l=s,s=i,m-=i),l>0&&m>0){for(i=m%l||l,c=p.substr(0,i);i<m;i+=l)c+=u+p.substr(i,l);s>0&&(c+=u+p.slice(i)),d&&(c="-"+c)}n=f?c+(r.decimalSeparator||"")+((s=+r.fractionGroupSize)?f.replace(RegExp("\\d{"+s+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):f):c}return(r.prefix||"")+n+(r.suffix||"")},k.toFraction=function(e){var t,r,n,i,a,s,c,f,d,p,m,h,g=this.c;if(null!=e&&(!(c=new F(e)).isInteger()&&(c.c||1!==c.s)||c.lt($)))throw Error(o+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+W(c));if(!g)return new F(this);for(t=new F($),d=r=new F($),n=f=new F($),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:d:c,s=j,j=1/0,c=new F(h),f.c[0]=0;p=w(c,t,0,1),1!=(i=r.plus(p.times(n))).comparedTo(e);)r=n,n=i,d=f.plus(p.times(i=d)),f=i,t=c.minus(p.times(i=t)),c=i;return i=w(e.minus(r),n,0,1),f=f.plus(i.times(d)),r=r.plus(i.times(n)),f.s=d.s=this.s,a*=2,m=1>w(d,n,a,O).minus(this).abs().comparedTo(w(f,r,a,O).minus(this).abs())?[d,n]:[f,r],j=s,m},k.toNumber=function(){return+W(this)},k.toPrecision=function(e,t){return null!=e&&f(e,1,1e9),R(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<=_||i>=B?p(u(r.c),i):m(u(r.c),i,"0"):10===e&&I?t=m(u((r=z(new F(r),C+i+1,O)).c),r.e,"0"):(f(e,2,D.length,"Base"),t=S(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&&F.set(t),F}()).default=t.BigNumber=t,y.exports?y.exports=t:(e||(e="undefined"!=typeof self&&self?self:window),e.BigNumber=t)})(d);var b=y.exports;let v=g(),A=m(),w={trillion:1e12,billion:1e9,million:1e6,thousand:1e3},S={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:x,decimalSuffixes:k}=v.currentBytes(),$={scale:1024,suffixes:k,marker:"bd"},C={scale:1024,suffixes:x,marker:"b"},O={scale:1e3,suffixes:k,marker:"d"};function _(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 B(e){let t="";for(let r=0;r<e;r++)t+="0";return t}function T({instance:e,providedFormat:t,state:r=v,decimalSeparator:n,defaults:i=r.currentDefaults()}){var o,a,l,s,u;let c,f,d,p,m,h,g,y=e._value;if(0===y&&r.hasZeroFormat())return r.getZeroFormat();if(!isFinite(y))return y.toString();let A=Object.assign({},S,i,t),x=A.totalLength,k=x?0:A.characteristic,$=A.optionalCharacteristic,C=A.forceAverage,O=A.lowPrecision,_=!!x||!!C||A.average,T=x?-1:_&&void 0===t.mantissa?0:A.mantissa,j=!x&&(void 0===t.optionalMantissa?-1===T:A.optionalMantissa),M=A.trimMantissa,N=A.thousandSeparated,P=A.spaceSeparated,E=A.negative,D=A.forceSign,I=A.exponential,F=A.roundingFunction,R="";if(_){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]&&w[t]?(l=n[t],e/=w[t]):s>=w.trillion||r&&1===a(s/w.trillion)?(l=n.trillion,e/=w.trillion):s<w.trillion&&s>=w.billion||r&&1===a(s/w.billion)?(l=n.billion,e/=w.billion):s<w.billion&&s>=w.million||r&&1===a(s/w.million)?(l=n.million,e/=w.million):(s<w.million&&s>=w.thousand||r&&1===a(s/w.thousand))&&(l=n.thousand,e/=w.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:y,forceAverage:C,lowPrecision:O,abbreviations:r.currentAbbreviations(),spaceSeparated:P,roundingFunction:F,totalLength:x});y=e.value,R+=e.abbreviation,x&&(T=e.mantissaPrecision)}if(I){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:y,characteristicPrecision:k});y=e.value,R=e.abbreviation+R}let L=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+B(i-a.length);else{let e=".";e=0>+o?`-0${e}`:`0${e}`;let n=(B(-i-1)+Math.abs(o)+a).substr(0,t);n.length<t&&(n+=B(t-n.length)),r=e+n}return+i>0&&t>0&&(r+=`.${B(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()}(y.toString(),y,j,T,M,F);return o=L=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()}(L,y,$,k),a=y,l=n,f=(c=r.currentDelimiters()).thousands,l=l||c.decimal,d=c.thousandsSize||3,m=(p=o.toString()).split(".")[0],h=p.split(".")[1],g=a<0&&0===m.indexOf("-"),N&&(g&&(m=m.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})(m.length,d).forEach((e,t)=>{m=m.slice(0,e+t)+f+m.slice(e+t)}),g&&(m=`-${m}`)),L=p=h?m+l+h:m,(_||I)&&(L+=R),(D||y<0)&&(s=L,L=0===(u=y)?s:0==+s?s.replace("-",""):u>0?`+${s}`:"sign"===E?s:`(${s.replace("-","")})`),L}function j(e,t){if(!e)return t;let r=Object.keys(e);return 1===r.length&&"output"===r[0]?t:e}function M(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 N=g(),P=m(),E={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&&U.registerLanguage(t)})}},D=p(),I={format:(...e)=>(function(e,t={},r){if("string"==typeof t&&(t=h(t)),!A.validateFormat(t))return"ERROR: invalid format";let n=t.prefix||"",i=t.postfix||"",o=function(e,t,r){var n,i,o;switch(t.output){case"currency":let a,l,s,u,c,f,d,p,m,h;return n=t=j(t,v.currentCurrencyDefaultFormat()),a=v.currentCurrency(),s=Object.assign({},S,l=Object.assign({},n)),c="",f=!!s.totalLength||!!s.forceAverage||s.average,d=l.currencyPosition||a.position,p=l.currencySymbol||a.symbol,m=void 0!==s.spaceSeparatedCurrency?s.spaceSeparatedCurrency:s.spaceSeparated,void 0===l.lowPrecision&&(l.lowPrecision=!1),m&&(c=" "),"infix"===d&&(u=c+p+c),h=T({instance:e,providedFormat:l,state:v,decimalSeparator:u}),"prefix"===d&&(h=e._value<0&&"sign"===s.negative?`-${c}${p}${h.slice(1)}`:e._value>0&&s.forceSign?`+${c}${p}${h.slice(1)}`:p+c+h),d&&"postfix"!==d||(h=h+(c=!s.spaceSeparatedAbbreviation&&f?"":c)+p),h;case"percent":let g,y,b;return i=t=j(t,v.currentPercentageDefaultFormat()),g=i.prefixSymbol,y=T({instance:r(100*e._value),providedFormat:i,state:v}),b=Object.assign({},S,i),g?`%${b.spaceSeparated?" ":""}${y}`:`${y}${b.spaceSeparated?" ":""}%`;case"byte":return function(e,t,r,n){let i=t.base||"binary",o=Object.assign({},S,t),{binarySuffixes:a,decimalSuffixes:l}=r.currentBytes(),s={general:{scale:1024,suffixes:l||k,marker:"bd"},binary:{scale:1024,suffixes:a||x,marker:"b"},decimal:{scale:1e3,suffixes:l||k,marker:"d"}}[i],{value:u,suffix:c}=_(e._value,s.suffixes,s.scale),f=T({instance:n(u),providedFormat:t,state:r,defaults:r.currentByteDefaultFormat()});return`${f}${o.spaceSeparated?" ":""}${c}`}(e,t=j(t,v.currentByteDefaultFormat()),v,r);case"time":let A,w,$;return t=j(t,v.currentTimeDefaultFormat()),A=Math.floor(e._value/60/60),w=Math.floor((e._value-60*A*60)/60),$=Math.round(e._value-60*A*60-60*w),`${A}:${w<10?"0":""}${w}:${$<10?"0":""}${$}`;case"ordinal":let C,O,B,M;return o=t=j(t,v.currentOrdinalDefaultFormat()),C=v.currentOrdinal(),O=Object.assign({},S,o),B=T({instance:e,providedFormat:o,state:v}),M=C(e._value),`${B}${O.spaceSeparated?" ":""}${M}`;default:return T({instance:e,providedFormat:t,numbro:r})}}(e,t,r);return(o=n+o)+i})(...e,U),getByteUnit:(...e)=>(function(e){return _(e._value,$.suffixes,$.scale).suffix})(...e,U),getBinaryByteUnit:(...e)=>(function(e){return _(e._value,C.suffixes,C.scale).suffix})(...e,U),getDecimalByteUnit:(...e)=>(function(e){return _(e._value,O.suffixes,O.scale).suffix})(...e,U),formatOrDefault:j},F={add:(e,t)=>{let r,n;return r=new b(e._value),n=t,U.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.plus(n).toNumber(),e},subtract:(e,t)=>M(e,t,U),multiply:(e,t)=>{let r,n;return r=new b(e._value),n=t,U.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,U.isNumbro(t)&&(n=t._value),n=new b(n),e._value=r.dividedBy(n).toNumber(),e},set:(e,t)=>{let r;return r=t,U.isNumbro(t)&&(r=t._value),e._value=r,e},difference:(e,t)=>{let r;return M(r=U(e._value),t,U),Math.abs(r._value)},BigNumber:b};class R{constructor(e){this._value=e}clone(){return U(this._value)}format(e={}){return I.format(this,e)}formatCurrency(e){return"string"==typeof e&&(e=h(e)),(e=I.formatOrDefault(e,N.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 F.difference(this,e)}add(e){return F.add(this,e)}subtract(e){return F.subtract(this,e)}multiply(e){return F.multiply(this,e)}divide(e){return F.divide(this,e)}set(e){return F.set(this,L(e))}value(){return this._value}valueOf(){return this._value}}function L(e){let t=e;return U.isNumbro(e)?t=e._value:"string"==typeof e?t=U.unformat(e):isNaN(e)&&(t=NaN),t}function U(e){return new R(L(e))}U.version="2.5.0",U.isNumbro=function(e){return e instanceof R},U.language=N.currentLanguage,U.registerLanguage=N.registerLanguage,U.setLanguage=N.setLanguage,U.languages=N.languages,U.languageData=N.languageData,U.zeroFormat=N.setZeroFormat,U.defaultFormat=N.currentDefaults,U.setDefaults=N.setDefaults,U.defaultCurrencyFormat=N.currentCurrencyDefaultFormat,U.validate=P.validate,U.loadLanguagesInNode=E.loadLanguagesInNode,U.unformat=D.unformat,U.BigNumber=F.BigNumber;var z=U&&U.__esModule&&Object.prototype.hasOwnProperty.call(U,"default")?U.default:U,W=r(71065);function G(e,{unit:t="bytes",shortValues:r,decimalPlaces:n}){let i="decbytes"===t;if(!(0,W.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"unit",unit:"byte",unitDisplay:"long",useGrouping:!0};return(0,W.IU)(n)?(t.minimumFractionDigits=(0,W.To)(n),t.maximumFractionDigits=(0,W.To)(n)):(0,W.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)}return z(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,W.IU)(n)?n:2,trimMantissa:!(0,W.IU)(n),optionalMantissa:!(0,W.IU)(n)})}function V(e,{unit:t="bits",shortValues:r,decimalPlaces:n}){let i="decbits"===t;if(!(0,W.jb)(r)||Math.abs(e)<(i?1e3:1024)){let t={style:"decimal",useGrouping:!0};return(0,W.IU)(n)?(t.minimumFractionDigits=(0,W.To)(n),t.maximumFractionDigits=(0,W.To)(n)):(0,W.jb)(r)&&(t.maximumSignificantDigits=3),Intl.NumberFormat("en-US",t).format(e)+" bits"}return z(e).format({output:"byte",base:i?"decimal":"binary",spaceSeparated:!0,mantissa:(0,W.IU)(n)?n:2,trimMantissa:!(0,W.IU)(n),optionalMantissa:!(0,W.IU)(n)}).replace(/KB/g,"Kb").replace(/MB/g,"Mb").replace(/GB/g,"Gb").replace(/TB/g,"Tb").replace(/PB/g,"Pb").replace(/EB/g,"Eb").replace(/KiB/g,"Kib").replace(/MiB/g,"Mib").replace(/GiB/g,"Gib").replace(/TiB/g,"Tib").replace(/PiB/g,"Pib").replace(/EiB/g,"Eib")}let K="Percent",H="Temperature",Y="Time";var Z=((n={}).nanoseconds="nanosecond",n.microseconds="microsecond",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 X={years:31536e3,months:2592e3,weeks:604800,days:86400,hours:3600,minutes:60,seconds:1,milliseconds:.001,microseconds:1e-6,nanoseconds:1e-9},q=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"],Q="Throughput";var J=r(40224);let ee="Currency",et="Date",er={Time:{label:"Time",decimalPlaces:!0},Percent:{label:"percent",decimalPlaces:!0},Decimal:{label:"Decimal",decimalPlaces:!0,shortValues:!0},Bytes:{label:"Bytes",decimalPlaces:!0,shortValues:!0},Bits:{label:"Bits",decimalPlaces:!0,shortValues:!0},Throughput:{label:"Throughput",decimalPlaces:!0},Currency:{label:"Currency",decimalPlaces:!0},Temperature:{label:H,decimalPlaces:!0},Date:{label:"Date & Time"}},en={nanoseconds:{group:Y,label:"Nanoseconds"},microseconds:{group:Y,label:"Microseconds"},milliseconds:{group:Y,label:"Milliseconds"},seconds:{group:Y,label:"Seconds"},minutes:{group:Y,label:"Minutes"},hours:{group:Y,label:"Hours"},days:{group:Y,label:"Days"},weeks:{group:Y,label:"Weeks"},months:{group:Y,label:"Months"},years:{group:Y,label:"Years"},percent:{group:K,label:"Percent (0-100)"},"percent-decimal":{group:K,label:"Percent (0.0-1.0)"},"%":{disableSelectorOption:!0,group:K,label:"%"},decimal:{group:"Decimal",label:"Decimal"},bytes:{group:"Bytes",label:"Bytes (IEC)"},decbytes:{group:"Bytes",label:"Bytes (SI)"},bits:{group:"Bits",label:"Bits (IEC)"},decbits:{group:"Bits",label:"Bits (SI)"},"bits/sec":{group:Q,label:"Bits/sec (IEC)"},"decbits/sec":{group:Q,label:"Bits/sec (SI)"},"bytes/sec":{group:Q,label:"Bytes/sec (IEC)"},"decbytes/sec":{group:Q,label:"Bytes/sec (SI)"},"counts/sec":{group:Q,label:"Counts/sec"},"events/sec":{group:Q,label:"Events/sec"},"messages/sec":{group:Q,label:"Messages/sec"},"ops/sec":{group:Q,label:"Ops/sec"},"packets/sec":{group:Q,label:"Packets/sec"},"reads/sec":{group:Q,label:"Reads/sec"},"requests/sec":{group:Q,label:"Requests/sec"},"records/sec":{group:Q,label:"Records/sec"},"rows/sec":{group:Q,label:"Rows/sec"},"writes/sec":{group:Q,label:"Writes/sec"},aud:{group:ee,label:"Australian Dollar (A$)"},cad:{group:ee,label:"Canadian Dollar (CA$)"},chf:{group:ee,label:"Swiss Franc (CHF)"},cny:{group:ee,label:"Renminbi (CN\xa5)"},eur:{group:ee,label:"Euro (€)"},gbp:{group:ee,label:"Pound (\xa3)"},hkd:{group:ee,label:"Hong Kong Dollar (HK$)"},inr:{group:ee,label:"Indian Rupee (₹)"},jpy:{group:ee,label:"Yen (\xa5)"},krw:{group:ee,label:"South Korean Won (₩)"},nok:{group:ee,label:"Norwegian Krone (NOK)"},nzd:{group:ee,label:"New Zealand Dollar (NZ$)"},sek:{group:ee,label:"Swedish Krona (SEK)"},sgd:{group:ee,label:"Singapore Dollar (S$)"},usd:{group:ee,label:"US Dollar ($)"},celsius:{group:H,label:"Celsius (\xb0C)"},fahrenheit:{group:H,label:"Fahrenheit (\xb0F)"},"datetime-iso":{group:et,label:"DateTime (GMT)"},"datetime-us":{group:et,label:"DateTime (US-East)"},"datetime-local":{group:et,label:"DateTime (Browser Local)"},"date-iso":{group:et,label:"Date (GMT)"},"date-us":{group:et,label:"Date (US-East)"},"date-local":{group:et,label:"Date (Browser Local)"},"time-local":{group:et,label:"Time (Browser Local)"},"time-iso":{group:et,label:"Time (GMT)"},"time-us":{group:et,label:"Time (US-East)"},"relative-time":{group:et,label:"Relative Time"},"unix-timestamp":{group:et,label:"Unix Timestamp (s)"},"unix-timestamp-ms":{group:et,label:"Unix Timestamp (ms)"}};function ei(e,t){if(!t)return e.toString();if(ef(t))return G(e,t);if(ed(t))return V(e,t);if(ec(t))return function(e,{shortValues:t,decimalPlaces:r}){let n={style:"decimal",useGrouping:!0};return(0,W.jb)(t)&&(n.notation="compact"),(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):(0,W.jb)(t)&&(n.maximumSignificantDigits=3),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(eu(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"percent",useGrouping:!0};return(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):n.maximumSignificantDigits=3,"percent"===t&&(e/=100),Intl.NumberFormat("en-US",n).format(e)}(e,t);if(es(t))return function(e,{unit:t,decimalPlaces:r}){var n;if(0===e)return"0s";let i=function(e,t){let r=e*X[t],n=q[0]||"years",i=n,o=r/X[n];for(i of q)if((o=r/X[i])>=1)break;return{value:o,unit:i}}(e,t??"seconds"),o={style:"unit",unit:Z[i.unit],unitDisplay:"months"===(n=i.unit)||"years"===n?"long":"narrow"};return(0,W.IU)(r)?(o.minimumFractionDigits=(0,W.To)(r),o.maximumFractionDigits=(0,W.To)(r)):o.maximumSignificantDigits=3,Intl.NumberFormat("en-US",o).format(i.value)}(e,t);if(eh(t))return function(e,{unit:t,shortValues:r,decimalPlaces:n}){if("bits/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return V(e,{unit:"bits",shortValues:r,decimalPlaces:n})+"/"+t}if("decbits/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return V(e,{unit:"decbits",shortValues:r,decimalPlaces:n})+"/"+t}if("decbytes/sec"===t){let t=1e3>Math.abs(e)?"sec":"s";return G(e,{unit:"decbytes",shortValues:r,decimalPlaces:n})+"/"+t}if("bytes/sec"===t){let t=1024>Math.abs(e)?"sec":"s";return G(e,{unit:"bytes",shortValues:r,decimalPlaces:n})+"/"+t}let i={style:"decimal",useGrouping:!0};return(0,W.jb)(r)&&(i.notation="compact"),(0,W.IU)(n)?(i.minimumFractionDigits=(0,W.To)(n),i.maximumFractionDigits=(0,W.To)(n)):(0,W.jb)(r)&&(i.maximumSignificantDigits=3),Intl.NumberFormat("en-US",i).format(e)+" "+t}(e,t);if(eg(t))return function(e,{unit:t,decimalPlaces:r}){let n={style:"currency",currency:(0,J.toUpper)(t),currencyDisplay:"symbol"};return(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):n.maximumSignificantDigits=3,Intl.NumberFormat("en-US",n).format(e)}(e,t);if(ey(t))return function(e,t={}){let r=Intl.DateTimeFormat().resolvedOptions().timeZone,{unit:n="datetime-local",locale:i=(()=>{if("undefined"!=typeof navigator){if(navigator.language)return navigator.language;if(navigator.languages&&navigator.languages.length>0){let e=navigator.languages[0];if(e)return e}let e=navigator;if(e.userLanguage)return e.userLanguage;if(e.browserLanguage)return e.browserLanguage;if(e.systemLanguage)return e.systemLanguage}return Intl.DateTimeFormat().resolvedOptions().locale||"en-US"})(),timeZone:o=r,referenceTime:a=Date.now()}=t;if("unix-timestamp"===n)return(e>1e12?Math.floor(e/1e3):e).toString();if("unix-timestamp-ms"===n)return Math.floor(e<1e11?1e3*e:e).toString();let l=function(e){if(e<0)if(Math.abs(e)>1e10)return new Date(e);else return new Date(1e3*e);if(e>=25e10&&e<=26e10){let t=new Date(1e3*e);if(t.getUTCFullYear()>=9999)return t}return new Date(e<1e10?1e3*e:e)}(e);if("relative-time"===n){let e=new Date(a),t=l.getTime()-e.getTime();for(let{unit:e,ms:r}of[{unit:"year",ms:31536e6},{unit:"month",ms:2592e6},{unit:"week",ms:6048e5},{unit:"day",ms:864e5},{unit:"hour",ms:36e5},{unit:"minute",ms:6e4},{unit:"second",ms:1e3}]){let n=Math.round(t/r);if(Math.abs(n)>=1)return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(n,e)}return new Intl.RelativeTimeFormat(i,{numeric:"auto"}).format(0,"second")}let s={timeZone:o};switch(n){case"datetime-iso":return l.toISOString();case"datetime-us":return s.timeZone="America/New_York",s.year="numeric",s.month="2-digit",s.day="2-digit",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!0,new Intl.DateTimeFormat("en-US",s).format(l);case"datetime-local":s.year="numeric",s.month="2-digit",s.day="2-digit",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!1;break;case"date-iso":return l.toISOString().split("T")[0];case"date-us":return s.timeZone="America/New_York",s.year="numeric",s.month="2-digit",s.day="2-digit",new Intl.DateTimeFormat("en-US",s).format(l);case"date-local":s.year="numeric",s.month="2-digit",s.day="2-digit";break;case"time-local":s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!1;break;case"time-iso":return l.toISOString().split("T")[1].replace("Z","");case"time-us":return s.timeZone="America/New_York",s.hour="2-digit",s.minute="2-digit",s.second="2-digit",s.hour12=!0,new Intl.DateTimeFormat("en-US",s).format(l);default:throw Error(`Unknown date unit: ${n}`)}return new Intl.DateTimeFormat(i,s).format(l)}(e,t);if(eb(t))return((e,{unit:t,decimalPlaces:r})=>{let n={unit:t,style:"unit"};(0,W.IU)(r)?(n.minimumFractionDigits=(0,W.To)(r),n.maximumFractionDigits=(0,W.To)(r)):n.maximumSignificantDigits=3;let i="celsius"===t?"en-GB":"en-US";return Intl.NumberFormat(i,n).format(e)})(e,t);throw Error(`Unknown unit options ${t}`)}function eo(e){return en[e.unit??"decimal"]}function ea(e){return eo(e).group??"Decimal"}function el(e){return er[eo(e).group??"Decimal"]}function es(e){return"Time"===ea(e)}function eu(e){return"Percent"===ea(e)}function ec(e){return"Decimal"===ea(e)}function ef(e){return"Bytes"===ea(e)}function ed(e){return"Bits"===ea(e)}function ep(e){return!!el(e).decimalPlaces}function em(e){return!!el(e).shortValues}function eh(e){return"Throughput"===ea(e)}function eg(e){return"Currency"===ea(e)}function ey(e){return"Date"===ea(e)}function eb(e){return"Temperature"===ea(e)}},71065: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,{IU:()=>i,To:()=>o,jb:()=>n})},44394:function(e,t,r){r.d(t,{A:()=>p});var n=r(49257),i=r(68102),o=r(7490),a=r(70451),l=r.n(a),s=r(33477);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 f=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=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.A)(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,f=i[t],d=(0,a.isValidElement)(f)&&!f.props.in;u&&(!s||d)?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||d?u&&s&&(0,a.isValidElement)(f)&&(n[t]=(0,a.cloneElement)(l,{onExited:o.bind(null,l),in:f.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.A)({},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.A)(e,["component","childFactory"]),o=this.state.contextValue,a=f(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?l().createElement(s.A.Provider,{value:o},a):l().createElement(s.A.Provider,{value:o},l().createElement(t,i,a))},t}(l().Component);d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};let p=d},33477:function(e,t,r){r.d(t,{A:()=>i});var n=r(70451);let i=r.n(n)().createContext(null)},2192:function(e,t,r){var n=r(70451),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:l.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},62540:function(e,t,r){e.exports=r(2192)},68102:function(e,t,r){r.d(t,{A:()=>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)}},7490: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,{A:()=>i})},49257:function(e,t,r){r.d(t,{A:()=>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}},11750:function(e,t,r){r.d(t,{A:()=>n});let n=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n}},38662:function(e,t,r){r.d(t,{CN:()=>w,jM:()=>W,lE:()=>o});var n,i=Symbol.for("immer-nothing"),o=Symbol.for("immer-draftable"),a=Symbol.for("immer-state");function l(e){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function u(e){return!!e&&!!e[a]}function c(e){return!!e&&(d(e)||Array.isArray(e)||!!e[o]||!!e.constructor?.[o]||y(e)||b(e))}var f=Object.prototype.constructor.toString();function d(e){if(!e||"object"!=typeof e)return!1;let t=s(e);if(null===t)return!0;let r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===f}function p(e,t){0===m(e)?Reflect.ownKeys(e).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function m(e){let t=e[a];return t?t.type_:Array.isArray(e)?1:y(e)?2:3*!!b(e)}function h(e,t){return 2===m(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,r){let n=m(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function y(e){return e instanceof Map}function b(e){return e instanceof Set}function v(e){return e.copy_||e.base_}function A(e,t){if(y(e))return new Map(e);if(b(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let r=d(e);if(!0!==t&&("class_only"!==t||r)){let t=s(e);return null!==t&&r?{...e}:Object.assign(Object.create(t),e)}{let t=Object.getOwnPropertyDescriptors(e);delete t[a];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let i=r[n],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(s(e),t)}}function w(e,t=!1){return x(e)||u(e)||!c(e)||(m(e)>1&&(e.set=e.add=e.clear=e.delete=S),Object.freeze(e),t&&Object.entries(e).forEach(([e,t])=>w(t,!0))),e}function S(){l(2)}function x(e){return Object.isFrozen(e)}var k={};function $(e){let t=k[e];return t||l(0,e),t}function C(e,t){t&&($("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function O(e){_(e),e.drafts_.forEach(T),e.drafts_=null}function _(e){e===n&&(n=e.parent_)}function B(e){return n={drafts_:[],parent_:n,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function T(e){let t=e[a];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function j(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];return void 0!==e&&e!==r?(r[a].modified_&&(O(t),l(4)),c(e)&&(e=M(t,e),t.parent_||P(t,e)),t.patches_&&$("Patches").generateReplacementPatches_(r[a].base_,e,t.patches_,t.inversePatches_)):e=M(t,r,[]),O(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==i?e:void 0}function M(e,t,r){if(x(t))return t;let n=t[a];if(!n)return p(t,(i,o)=>N(e,n,t,i,o,r)),t;if(n.scope_!==e)return t;if(!n.modified_)return P(e,n.base_,!0),n.base_;if(!n.finalized_){n.finalized_=!0,n.scope_.unfinalizedDrafts_--;let t=n.copy_,i=t,o=!1;3===n.type_&&(i=new Set(t),t.clear(),o=!0),p(i,(i,a)=>N(e,n,t,i,a,r,o)),P(e,t,!1),r&&e.patches_&&$("Patches").generatePatches_(n,r,e.patches_,e.inversePatches_)}return n.copy_}function N(e,t,r,n,i,o,a){if(u(i)){let a=M(e,i,o&&t&&3!==t.type_&&!h(t.assigned_,n)?o.concat(n):void 0);if(g(r,n,a),!u(a))return;e.canAutoFreeze_=!1}else a&&r.add(i);if(c(i)&&!x(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;M(e,i),(!t||!t.scope_.parent_)&&"symbol"!=typeof n&&Object.prototype.propertyIsEnumerable.call(r,n)&&P(e,i)}}function P(e,t,r=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&w(t,r)}var E={get(e,t){if(t===a)return e;let r=v(e);if(!h(r,t)){var n;let i;return n=e,(i=F(r,t))?"value"in i?i.value:i.get?.call(n.draft_):void 0}let i=r[t];return e.finalized_||!c(i)?i:i===I(e.base_,t)?(L(e),e.copy_[t]=U(i,e)):i},has:(e,t)=>t in v(e),ownKeys:e=>Reflect.ownKeys(v(e)),set(e,t,r){let n=F(v(e),t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=I(v(e),t),i=n?.[a];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_[t]=!1,!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||h(e.base_,t)))return!0;L(e),R(e)}return!!(e.copy_[t]===r&&(void 0!==r||t in e.copy_)||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||(e.copy_[t]=r,e.assigned_[t]=!0,!0)},deleteProperty:(e,t)=>(void 0!==I(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,L(e),R(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=v(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty(){l(11)},getPrototypeOf:e=>s(e.base_),setPrototypeOf(){l(12)}},D={};function I(e,t){let r=e[a];return(r?v(r):e)[t]}function F(e,t){if(!(t in e))return;let r=s(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=s(r)}}function R(e){!e.modified_&&(e.modified_=!0,e.parent_&&R(e.parent_))}function L(e){e.copy_||(e.copy_=A(e.base_,e.scope_.immer_.useStrictShallowCopy_))}function U(e,t){let r=y(e)?$("MapSet").proxyMap_(e,t):b(e)?$("MapSet").proxySet_(e,t):function(e,t){let r=Array.isArray(e),i={type_:+!!r,scope_:t?t.scope_:n,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},o=i,a=E;r&&(o=[i],a=D);let{revoke:l,proxy:s}=Proxy.revocable(o,a);return i.draft_=s,i.revoke_=l,s}(e,t);return(t?t.scope_:n).drafts_.push(r),r}p(E,(e,t)=>{D[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),D.deleteProperty=function(e,t){return D.set.call(this,e,t,void 0)},D.set=function(e,t,r){return E.set.call(this,e[0],t,r,e[0])};var z=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(e,t,r)=>{let n;if("function"==typeof e&&"function"!=typeof t){let r=t;t=e;let n=this;return function(e=r,...i){return n.produce(e,e=>t.call(this,e,...i))}}if("function"!=typeof t&&l(6),void 0!==r&&"function"!=typeof r&&l(7),c(e)){let i=B(this),o=U(e,void 0),a=!0;try{n=t(o),a=!1}finally{a?O(i):_(i)}return C(i,r),j(n,i)}if(e&&"object"==typeof e)l(1,e);else{if(void 0===(n=t(e))&&(n=e),n===i&&(n=void 0),this.autoFreeze_&&w(n,!0),r){let t=[],i=[];$("Patches").generateReplacementPatches_(e,n,t,i),r(t,i)}return n}},this.produceWithPatches=(e,t)=>{let r,n;return"function"==typeof e?(t,...r)=>this.produceWithPatches(t,t=>e(t,...r)):[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},"boolean"==typeof e?.autoFreeze&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof e?.useStrictShallowCopy&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){var t;c(e)||l(8),u(e)&&(u(t=e)||l(10,t),e=function e(t){let r;if(!c(t)||x(t))return t;let n=t[a];if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=A(t,n.scope_.immer_.useStrictShallowCopy_)}else r=A(t,!0);return p(r,(t,n)=>{g(r,t,e(n))}),n&&(n.finalized_=!1),r}(t));let r=B(this),n=U(e,void 0);return n[a].isManual_=!0,_(r),n}finishDraft(e,t){let r=e&&e[a];r&&r.isManual_||l(9);let{scope_:n}=r;return C(n,t),j(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=$("Patches").applyPatches_;return u(e)?n(e,t):this.produce(e,e=>n(e,t))}},W=z.produce;z.produceWithPatches.bind(z),z.setAutoFreeze.bind(z),z.setUseStrictShallowCopy.bind(z),z.applyPatches.bind(z),z.createDraft.bind(z),z.finishDraft.bind(z)}}]);