diff --git a/dist/vendor.bundle.js b/dist/vendor.bundle.js index 6fd930d12..a170b2d46 100644 --- a/dist/vendor.bundle.js +++ b/dist/vendor.bundle.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[function(e,t,n){"use strict";e.exports=n(1212)},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(641),u=n(65),c=n(17),l=n(34),d=n(30),f=n(732),p=n(5);const h=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=Object(c.a)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align"+Object(d.a)(n.align)],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Object(i.a)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTypography"}),a=(e=>g[e]||e)(n.color),c=Object(s.a)(Object(i.a)({},n,{color:a})),{align:v="inherit",className:y,component:x,gutterBottom:w=!1,noWrap:O=!1,paragraph:j=!1,variant:C="body1",variantMapping:E=b}=c,S=Object(r.a)(c,h),k=Object(i.a)({},c,{align:v,color:a,className:y,component:x,gutterBottom:w,noWrap:O,paragraph:j,variant:C,variantMapping:E}),D=x||(j?"p":E[C]||b[C])||"span",A=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e,s={root:["root",a,"inherit"!==e.align&&"align"+Object(d.a)(t),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Object(u.a)(s,f.a,o)})(k);return Object(p.jsx)(m,Object(i.a)({as:D,ref:t,ownerState:k,className:Object(o.default)(A.root,y)},S))}));t.a=v},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;tObject(i.a)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),g=Object(c.a)(d.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Object(f.a)(n.color)}`],t["size"+Object(f.a)(n.size)],t[`${n.variant}Size${Object(f.a)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Object(i.a)({textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:"1px solid "+e.palette[t.color].main,backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.palette[t.color].dark,"@media (hover: none)":{backgroundColor:e.palette[t.color].main}}),"&:active":Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[8]}),["&."+p.a.focusVisible]:Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[6]}),["&."+p.a.disabled]:Object(i.a)({color:e.palette.action.disabled},"outlined"===t.variant&&{border:"1px solid "+e.palette.action.disabledBackground},"outlined"===t.variant&&"secondary"===t.color&&{border:"1px solid "+e.palette.action.disabled},"contained"===t.variant&&{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main,border:"1px solid "+Object(u.a)(e.palette[t.color].main,.5)},"contained"===t.variant&&{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"}),({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&."+p.a.focusVisible]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&."+p.a.disabled]:{boxShadow:"none"}}),v=Object(c.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},b(e))),y=Object(c.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},b(e))),x=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiButton"}),{children:a,color:u="primary",component:c="button",disabled:d=!1,disableElevation:b=!1,disableFocusRipple:x=!1,endIcon:w,focusVisibleClassName:O,fullWidth:j=!1,size:C="medium",startIcon:E,type:S,variant:k="text"}=n,D=Object(r.a)(n,m),A=Object(i.a)({},n,{color:u,component:c,disabled:d,disableElevation:b,disableFocusRipple:x,fullWidth:j,size:C,type:S,variant:k}),_=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:a,variant:o,classes:u}=e,c={root:["root",o,`${o}${Object(f.a)(t)}`,"size"+Object(f.a)(a),`${o}Size${Object(f.a)(a)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize"+Object(f.a)(a)],endIcon:["endIcon","iconSize"+Object(f.a)(a)]},l=Object(s.a)(c,p.b,u);return Object(i.a)({},u,l)})(A),F=E&&Object(h.jsx)(v,{className:_.startIcon,ownerState:A,children:E}),R=w&&Object(h.jsx)(y,{className:_.endIcon,ownerState:A,children:w});return Object(h.jsxs)(g,Object(i.a)({ownerState:A,component:c,disabled:d,focusRipple:!x,focusVisibleClassName:Object(o.default)(_.focusVisible,O),ref:t,type:S},D,{classes:_,children:[F,a,R]}))}));t.a=x},function(e,t,n){e.exports=n(1216)()},function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;tObject(r.b)(e)&&"classes"!==e,o=r.b,s=Object(r.a)({defaultTheme:i.a,rootShouldForwardProp:a});t.a=s},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(575),c=n(80),l=n(17),d=n(110),f=n(34),p=n(30),h=n(640),m=n(1148),b=n(201),g=n(83),v=n(342),y=n(310),x=n(273),w=n(290),O=n(5);const j=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];const C=Object(l.a)(m.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Object(i.a)({zIndex:e.zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{['&[data-popper-placement*="bottom"] .'+w.a.arrow]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'+w.a.arrow]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),['&[data-popper-placement*="left"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),E=Object(l.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement"+Object(p.a)(n.placement.split("-")[0])]]}})(({theme:e,ownerState:t})=>{return Object(i.a)({backgroundColor:Object(c.a)(e.palette.grey[700],.92),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${w.a.popper}[data-popper-placement*="left"] &`]:Object(i.a)({transformOrigin:"right center"},t.isRtl?Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${w.a.popper}[data-popper-placement*="right"] &`]:Object(i.a)({transformOrigin:"left center"},t.isRtl?Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${w.a.popper}[data-popper-placement*="top"] &`]:Object(i.a)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${w.a.popper}[data-popper-placement*="bottom"] &`]:Object(i.a)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n}),S=Object(l.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(c.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let k=!1,D=null;function A(e,t){return n=>{t&&t(n),e(n)}}const _=a.forwardRef((function(e,t){var n,c,l,_,F;const R=Object(f.a)({props:e,name:"MuiTooltip"}),{arrow:T=!1,children:P,components:M={},componentsProps:B={},describeChild:N=!1,disableFocusListener:I=!1,disableHoverListener:L=!1,disableInteractive:z=!1,disableTouchListener:W=!1,enterDelay:V=100,enterNextDelay:U=0,enterTouchDelay:H=700,followCursor:q=!1,id:$,leaveDelay:G=0,leaveTouchDelay:Y=1500,onClose:K,onOpen:X,open:Z,placement:Q="bottom",PopperComponent:J,PopperProps:ee={},title:te,TransitionComponent:ne=h.a,TransitionProps:re}=R,ie=Object(r.a)(R,j),ae=Object(d.a)(),oe="rtl"===ae.direction,[se,ue]=a.useState(),[ce,le]=a.useState(null),de=a.useRef(!1),fe=z||q,pe=a.useRef(),he=a.useRef(),me=a.useRef(),be=a.useRef(),[ge,ve]=Object(x.a)({controlled:Z,default:!1,name:"Tooltip",state:"open"});let ye=ge;const xe=Object(v.a)($),we=a.useRef(),Oe=a.useCallback(()=>{void 0!==we.current&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),clearTimeout(be.current)},[]);a.useEffect(()=>()=>{clearTimeout(pe.current),clearTimeout(he.current),clearTimeout(me.current),Oe()},[Oe]);const je=e=>{clearTimeout(D),k=!0,ve(!0),X&&!ye&&X(e)},Ce=Object(b.a)(e=>{clearTimeout(D),D=setTimeout(()=>{k=!1},800+G),ve(!1),K&&ye&&K(e),clearTimeout(pe.current),pe.current=setTimeout(()=>{de.current=!1},ae.transitions.duration.shortest)}),Ee=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),clearTimeout(he.current),clearTimeout(me.current),V||k&&U?he.current=setTimeout(()=>{je(e)},k?U:V):je(e))},Se=e=>{clearTimeout(he.current),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},G)},{isFocusVisibleRef:ke,onBlur:De,onFocus:Ae,ref:_e}=Object(y.a)(),[,Fe]=a.useState(!1),Re=e=>{De(e),!1===ke.current&&(Fe(!1),Se(e))},Te=e=>{se||ue(e.currentTarget),Ae(e),!0===ke.current&&(Fe(!0),Ee(e))},Pe=e=>{de.current=!0;const t=P.props;t.onTouchStart&&t.onTouchStart(e)},Me=Ee,Be=Se,Ne=e=>{Pe(e),clearTimeout(me.current),clearTimeout(pe.current),Oe(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.current=setTimeout(()=>{document.body.style.WebkitUserSelect=we.current,Ee(e)},H)},Ie=e=>{P.props.onTouchEnd&&P.props.onTouchEnd(e),Oe(),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},Y)};a.useEffect(()=>{if(ye)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}},[Ce,ye]);const Le=Object(g.a)(ue,t),ze=Object(g.a)(_e,Le),We=Object(g.a)(P.ref,ze);""===te&&(ye=!1);const Ve=a.useRef({x:0,y:0}),Ue=a.useRef(),He={},qe="string"==typeof te;N?(He.title=ye||!qe||L?null:te,He["aria-describedby"]=ye?xe:null):(He["aria-label"]=qe?te:null,He["aria-labelledby"]=ye&&!qe?xe:null);const $e=Object(i.a)({},He,ie,P.props,{className:Object(o.default)(ie.className,P.props.className),onTouchStart:Pe,ref:We},q?{onMouseMove:e=>{const t=P.props;t.onMouseMove&&t.onMouseMove(e),Ve.current={x:e.clientX,y:e.clientY},Ue.current&&Ue.current.update()}}:{});const Ge={};W||($e.onTouchStart=Ne,$e.onTouchEnd=Ie),L||($e.onMouseOver=A(Me,$e.onMouseOver),$e.onMouseLeave=A(Be,$e.onMouseLeave),fe||(Ge.onMouseOver=Me,Ge.onMouseLeave=Be)),I||($e.onFocus=A(Te,$e.onFocus),$e.onBlur=A(Re,$e.onBlur),fe||(Ge.onFocus=Te,Ge.onBlur=Re));const Ye=a.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),Object(i.a)({},ee.popperOptions,{modifiers:t})},[ce,ee]),Ke=Object(i.a)({},R,{isRtl:oe,arrow:T,disableInteractive:fe,placement:Q,PopperComponentProp:J,touch:de.current}),Xe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:a}=e,o={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch","tooltipPlacement"+Object(p.a)(a.split("-")[0])],arrow:["arrow"]};return Object(s.a)(o,w.b,t)})(Ke),Ze=null!=(n=M.Popper)?n:C,Qe=null!=(c=null!=ne?ne:M.Transition)?c:h.a,Je=null!=(l=M.Tooltip)?l:E,et=null!=(_=M.Arrow)?_:S,tt=Object(u.a)(Ze,Object(i.a)({},ee,B.popper),Ke),nt=Object(u.a)(Qe,Object(i.a)({},re,B.transition),Ke),rt=Object(u.a)(Je,Object(i.a)({},B.tooltip),Ke),it=Object(u.a)(et,Object(i.a)({},B.arrow),Ke);return Object(O.jsxs)(a.Fragment,{children:[a.cloneElement(P,$e),Object(O.jsx)(Ze,Object(i.a)({as:null!=J?J:m.a,placement:Q,anchorEl:q?{getBoundingClientRect:()=>({top:Ve.current.y,left:Ve.current.x,right:Ve.current.x,bottom:Ve.current.y,width:0,height:0})}:se,popperRef:Ue,open:!!se&&ye,id:xe,transition:!0},Ge,tt,{className:Object(o.default)(Xe.popper,null==(F=B.popper)?void 0:F.className),popperOptions:Ye,children:({TransitionProps:e})=>{var t,n;return Object(O.jsx)(Qe,Object(i.a)({timeout:ae.transitions.duration.shorter},e,nt,{children:Object(O.jsxs)(Je,Object(i.a)({},rt,{className:Object(o.default)(Xe.tooltip,null==(t=B.tooltip)?void 0:t.className),children:[te,T?Object(O.jsx)(et,Object(i.a)({},it,{className:Object(o.default)(Xe.arrow,null==(n=B.arrow)?void 0:n.className),ref:le})):null]}))}))}}))]})}));t.a=_},,,,,function(e,t,n){"use strict";var r=n(270);t.a=r.a},,function(e,t,n){"use strict";var r=n(1278),i=n(543);const a=Object(i.a)(),o=Object(r.a)({defaultTheme:a});t.a=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1268),i=n(311);function a({props:e,name:t}){return Object(r.a)({props:e,name:t,defaultTheme:i.a})}},,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(147),u=n(641),c=n(65),l=n(17),d=n(34),f=n(621),p=n(459),h=n(5);const m=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function b(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}const g=Object(l.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{container:n,direction:r,item:i,lg:a,md:o,sm:s,spacing:u,wrap:c,xl:l,xs:d,zeroMinWidth:f}=e.ownerState;return[t.root,n&&t.container,i&&t.item,f&&t.zeroMinWidth,n&&0!==u&&t["spacing-xs-"+String(u)],"row"!==r&&t["direction-xs-"+String(r)],"wrap"!==c&&t["wrap-xs-"+String(c)],!1!==d&&t["grid-xs-"+String(d)],!1!==s&&t["grid-sm-"+String(s)],!1!==o&&t["grid-md-"+String(o)],!1!==a&&t["grid-lg-"+String(a)],!1!==l&&t["grid-xl-"+String(l)]]}})(({ownerState:e})=>Object(i.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"nowrap"===e.wrap&&{flexWrap:"nowrap"},"reverse"===e.wrap&&{flexWrap:"wrap-reverse"}),(function({theme:e,ownerState:t}){return Object(s.b)({theme:e},t.direction,e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > ."+p.a.item]={maxWidth:"none"}),t})}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{marginTop:"-"+b(n),["& > ."+p.a.item]:{paddingTop:b(n)}}:{}})),i}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{width:`calc(100% + ${b(n)})`,marginLeft:"-"+b(n),["& > ."+p.a.item]:{paddingLeft:b(n)}}:{}})),i}),({theme:e,ownerState:t})=>e.breakpoints.keys.reduce((n,r)=>(function(e,t,n,r){const a=r[n];if(!a)return;let o={};if(!0===a)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===a)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const e=Object(s.d)({values:r.columns,base:t.breakpoints.values}),u=Math.round(a/e[n]*1e8)/1e6+"%";let c={};if(r.container&&r.item&&0!==r.columnSpacing){const e=t.spacing(r.columnSpacing);if("0px"!==e){const t=`calc(${u} + ${b(e)})`;c={flexBasis:t,maxWidth:t}}}o=Object(i.a)({flexBasis:u,flexGrow:0,maxWidth:u},c)}0===t.breakpoints.values[n]?Object.assign(e,o):e[t.breakpoints.up(n)]=o}(n,e,r,t),n),{})),v=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiGrid"}),s=Object(u.a)(n),{className:l,columns:b=12,columnSpacing:v,component:y="div",container:x=!1,direction:w="row",item:O=!1,lg:j=!1,md:C=!1,rowSpacing:E,sm:S=!1,spacing:k=0,wrap:D="wrap",xl:A=!1,xs:_=!1,zeroMinWidth:F=!1}=s,R=Object(r.a)(s,m),T=E||k,P=v||k,M=a.useContext(f.a)||b,B=Object(i.a)({},s,{columns:M,container:x,direction:w,item:O,lg:j,md:C,sm:S,rowSpacing:T,columnSpacing:P,wrap:D,xl:A,xs:_,zeroMinWidth:F}),N=(e=>{const{classes:t,container:n,direction:r,item:i,lg:a,md:o,sm:s,spacing:u,wrap:l,xl:d,xs:f,zeroMinWidth:h}=e,m={root:["root",n&&"container",i&&"item",h&&"zeroMinWidth",n&&0!==u&&"spacing-xs-"+String(u),"row"!==r&&"direction-xs-"+String(r),"wrap"!==l&&"wrap-xs-"+String(l),!1!==f&&"grid-xs-"+String(f),!1!==s&&"grid-sm-"+String(s),!1!==o&&"grid-md-"+String(o),!1!==a&&"grid-lg-"+String(a),!1!==d&&"grid-xl-"+String(d)]};return Object(c.a)(m,p.b,t)})(B);return I=Object(h.jsx)(g,Object(i.a)({ownerState:B,className:Object(o.default)(N.root,l),as:y,ref:t},R)),12!==M?Object(h.jsx)(f.a.Provider,{value:M,children:I}):I;var I}));t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18);function i(e,t){if(null==e)return{};var n,i,a=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(30),l=n(512),d=n(319),f=n(34),p=n(17),h=n(618),m=n(5);const b=["align","className","component","padding","scope","size","sortDirection","variant"],g=Object(p.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t["size"+Object(c.a)(n.size)],"normal"!==n.padding&&t["padding"+Object(c.a)(n.padding)],"inherit"!==n.align&&t["align"+Object(c.a)(n.align)],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n "+("light"===e.palette.mode?Object(u.e)(Object(u.a)(e.palette.divider,1),.88):Object(u.b)(Object(u.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",["&."+h.a.paddingCheckbox]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default})),v=a.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiTableCell"}),{align:u="inherit",className:p,component:v,padding:y,scope:x,size:w,sortDirection:O,variant:j}=n,C=Object(r.a)(n,b),E=a.useContext(l.a),S=a.useContext(d.a),k=S&&"head"===S.variant;let D;D=v||(k?"th":"td");let A=x;!A&&k&&(A="col");const _=j||S&&S.variant,F=Object(i.a)({},n,{align:u,component:D,padding:y||(E&&E.padding?E.padding:"normal"),size:w||(E&&E.size?E.size:"medium"),sortDirection:O,stickyHeader:"head"===_&&E&&E.stickyHeader,variant:_}),R=(e=>{const{classes:t,variant:n,align:r,padding:i,size:a,stickyHeader:o}=e,u={root:["root",n,o&&"stickyHeader","inherit"!==r&&"align"+Object(c.a)(r),"normal"!==i&&"padding"+Object(c.a)(i),"size"+Object(c.a)(a)]};return Object(s.a)(u,h.b,t)})(F);let T=null;return O&&(T="asc"===O?"ascending":"descending"),Object(m.jsx)(g,Object(i.a)({as:D,ref:t,className:Object(o.default)(R.root,p),"aria-sort":T,scope:A,ownerState:F},C))}));t.a=v},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"k",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"n",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"g",(function(){return g}));var r="top",i="bottom",a="right",o="left",s="auto",u=[r,i,a,o],c="start",l="end",d="clippingParents",f="viewport",p="popper",h="reference",m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+l])}),[]),b=[].concat(u,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+l])}),[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=n(270),i=n(147);function a(e,t){return t&&"string"==typeof t?t.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e):null}function o(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:a(e,n)||r,t&&(i=t(i)),i}t.a=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:u}=e,c=e=>{if(null==e[t])return null;const c=e[t],l=a(e.theme,s)||{};return Object(i.b)(e,c,e=>{let i=o(l,u,e);return e===i&&"string"==typeof e&&(i=o(l,u,`${t}${"default"===e?"":Object(r.a)(e)}`,e)),!1===n?i:{[n]:i}})};return c.propTypes={},c.filterProps=[t],c}},,,function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(319),l=n(34),d=n(17),f=n(556),p=n(5);const h=["className","component","hover","selected"],m=Object(d.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${f.a.hover}:hover`]:{backgroundColor:e.palette.action.hover},["&."+f.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),b="tr",g=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTableRow"}),{className:u,component:d=b,hover:g=!1,selected:v=!1}=n,y=Object(i.a)(n,h),x=a.useContext(c.a),w=Object(r.a)({},n,{component:d,hover:g,selected:v,head:x&&"head"===x.variant,footer:x&&"footer"===x.variant}),O=(e=>{const{classes:t,selected:n,hover:r,head:i,footer:a}=e,o={root:["root",n&&"selected",r&&"hover",i&&"head",a&&"footer"]};return Object(s.a)(o,f.b,t)})(w);return Object(p.jsx)(m,Object(r.a)({as:d,ref:t,className:Object(o.default)(O.root,u),role:d===b?null:"row",ownerState:w},y))}));t.a=g},function(e,t,n){"use strict";var r=n(218),i=n(528);function a(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}t.a=function(e){var t=e.prop,n=e.cssProperty,o=void 0===n?e.prop:n,s=e.themeKey,u=e.transform,c=function(e){if(null==e[t])return null;var n=e[t],c=a(e.theme,s)||{};return Object(i.a)(e,n,(function(e){var t;return"function"==typeof c?t=c(e):Array.isArray(c)?t=c[e]||e:(t=a(c,e)||e,u&&(t=u(t))),!1===o?t:Object(r.a)({},o,t)}))};return c.propTypes={},c.filterProps=[t],c}},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(64);function i(e,t){const n={};return t.forEach(t=>{n[t]=Object(r.a)(e,t)}),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const r={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return r[t]||`${e}-${t}`}},function(e,t,n){"use strict";function r(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((e,r)=>(r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e),[]).join(" ")}),r}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.default=o},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(117),c=n(80),l=n(17),d=n(34),f=n(295),p=n(314),h=n(173),m=n(83),b=n(169),g=n(335),v=n(336),y=n(1292),x=n(5);const w=["className"],O=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],j=Object(l.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Object(i.a)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{["& > ."+v.a.root]:{paddingRight:48}},{["&."+g.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+g.a.selected]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+g.a.focusVisible]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},["&."+g.a.disabled]:{opacity:e.palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.a.selected}:hover`]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),C=Object(l.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),E=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiListItem"}),{alignItems:c="center",autoFocus:l=!1,button:v=!1,children:E,className:S,component:k,components:D={},componentsProps:A={},ContainerComponent:_="li",ContainerProps:{className:F}={},dense:R=!1,disabled:T=!1,disableGutters:P=!1,disablePadding:M=!1,divider:B=!1,focusVisibleClassName:N,secondaryAction:I,selected:L=!1}=n,z=Object(r.a)(n.ContainerProps,w),W=Object(r.a)(n,O),V=a.useContext(b.a),U={dense:R||V.dense||!1,alignItems:c,disableGutters:P},H=a.useRef(null);Object(h.a)(()=>{l&&H.current&&H.current.focus()},[l]);const q=a.Children.toArray(E),$=q.length&&Object(p.a)(q[q.length-1],["ListItemSecondaryAction"]),G=Object(i.a)({},n,{alignItems:c,autoFocus:l,button:v,dense:U.dense,disabled:T,disableGutters:P,disablePadding:M,divider:B,hasSecondaryAction:$,selected:L}),Y=(e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:a,disableGutters:o,disablePadding:u,divider:c,hasSecondaryAction:l,selected:d}=e,f={root:["root",i&&"dense",!o&&"gutters",!u&&"padding",c&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction",d&&"selected"],container:["container"]};return Object(s.a)(f,g.b,r)})(G),K=Object(m.a)(H,t),X=D.Root||j,Z=A.root||{},Q=Object(i.a)({className:Object(o.default)(Y.root,Z.className,S),disabled:T},W);let J=k||"li";return v&&(Q.component=k||"div",Q.focusVisibleClassName=Object(o.default)(g.a.focusVisible,N),J=f.a),$?(J=Q.component||k?J:"div","li"===_&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),Object(x.jsx)(b.a.Provider,{value:U,children:Object(x.jsxs)(C,Object(i.a)({as:_,className:Object(o.default)(Y.container,F),ref:K,ownerState:G},z,{children:[Object(x.jsx)(X,Object(i.a)({},Z,!Object(u.a)(X)&&{as:J,ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:q})),q.pop()]}))})):Object(x.jsx)(b.a.Provider,{value:U,children:Object(x.jsxs)(X,Object(i.a)({},Z,{as:J,ref:K,ownerState:G},!Object(u.a)(X)&&{ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:[q,I&&Object(x.jsx)(y.a,{children:I})]}))})}));t.a=E},,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(748),f=n(5);const p=["className","component","elevation","square","variant"],h=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},m=Object(c.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation"+n.elevation]]}})(({theme:e,ownerState:t})=>Object(i.a)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:"1px solid "+e.palette.divider},"elevation"===t.variant&&Object(i.a)({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Object(u.a)("#fff",h(t.elevation))}, ${Object(u.a)("#fff",h(t.elevation))})`}))),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiPaper"}),{className:a,component:u="div",elevation:c=1,square:h=!1,variant:b="elevation"}=n,g=Object(r.a)(n,p),v=Object(i.a)({},n,{component:u,elevation:c,square:h,variant:b}),y=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&"elevation"+n]};return Object(s.a)(a,d.a,i)})(v);return Object(f.jsx)(m,Object(i.a)({as:u,ownerState:v,className:Object(o.default)(y.root,a),ref:t},g))}));t.a=b},function(e,t,n){"use strict";var r=n(2),i=n(1304),a=n(321);t.a=function(e,t){return Object(i.a)(e,Object(r.a)({defaultTheme:a.a},t))}},,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(169),f=n(295),p=n(173),h=n(83),m=n(558),b=n(557),g=n(415),v=n(373),y=n(5);const x=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],w=Object(c.a)(f.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&."+v.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+v.a.focusVisible]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${v.a.selected}:hover`]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}},["&."+v.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+v.a.disabled]:{opacity:e.palette.action.disabledOpacity},["& + ."+m.a.root]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},["& + ."+m.a.inset]:{marginLeft:52},["& ."+g.a.root]:{marginTop:0,marginBottom:0},["& ."+g.a.inset]:{paddingLeft:36},["& ."+b.a.root]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Object(i.a)({minHeight:36},e.typography.body2,{[`& .${b.a.root} svg`]:{fontSize:"1.25rem"}}))),O=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:f=!1,divider:m=!1,disableGutters:b=!1,focusVisibleClassName:g,role:O="menuitem",tabIndex:j}=n,C=Object(r.a)(n,x),E=a.useContext(d.a),S={dense:f||E.dense||!1,disableGutters:b},k=a.useRef(null);Object(p.a)(()=>{u&&k.current&&k.current.focus()},[u]);const D=Object(i.a)({},n,{dense:S.dense,divider:m,disableGutters:b}),A=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:a,selected:o,classes:u}=e,c={root:["root",n&&"dense",t&&"disabled",!a&&"gutters",r&&"divider",o&&"selected"]},l=Object(s.a)(c,v.b,u);return Object(i.a)({},u,l)})(n),_=Object(h.a)(k,t);let F;return n.disabled||(F=void 0!==j?j:-1),Object(y.jsx)(d.a.Provider,{value:S,children:Object(y.jsx)(w,Object(i.a)({ref:_,role:O,tabIndex:F,component:c,focusVisibleClassName:Object(o.default)(A.focusVisible,g)},C,{ownerState:D,classes:A}))})}));t.a=O},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(475)},function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(333);function i(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:i}}function o(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=r[1]+"%",r[2]=r[2]+"%"),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:""+r.join(", "),`${t}(${r})`}function s(e){let t="hsl"===(e=a(e)).type?a(function(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),o({type:c,values:l})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/"+t:e.values[3]=t,o(e)}function l(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return o(e)}function f(e,t=.15){return s(e)>.5?l(e,t):d(e,t)}},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(1156),d=n(1157),f=n(1158),p=n(1160),h=n(1159),m=n(1286),b=n(113),g=n(739),v=n(5);const y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],x={standard:l.a,filled:d.a,outlined:f.a},w=Object(u.a)(h.a,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),O=a.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTextField"}),{autoComplete:u,autoFocus:l=!1,children:d,className:f,color:h="primary",defaultValue:O,disabled:j=!1,error:C=!1,FormHelperTextProps:E,fullWidth:S=!1,helperText:k,id:D,InputLabelProps:A,inputProps:_,InputProps:F,inputRef:R,label:T,maxRows:P,minRows:M,multiline:B=!1,name:N,onBlur:I,onChange:L,onFocus:z,placeholder:W,required:V=!1,rows:U,select:H=!1,SelectProps:q,type:$,value:G,variant:Y="outlined"}=n,K=Object(i.a)(n,y),X=Object(r.a)({},n,{autoFocus:l,color:h,disabled:j,error:C,fullWidth:S,multiline:B,required:V,select:H,variant:Y}),Z=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},g.a,t)})(X);const Q={};if("outlined"===Y&&(A&&void 0!==A.shrink&&(Q.notched=A.shrink),T)){var J;const e=null!=(J=null==A?void 0:A.required)?J:V;Q.label=Object(v.jsxs)(a.Fragment,{children:[T,e&&" *"]})}H&&(q&&q.native||(Q.id=void 0),Q["aria-describedby"]=void 0);const ee=k&&D?D+"-helper-text":void 0,te=T&&D?D+"-label":void 0,ne=x[Y],re=Object(v.jsx)(ne,Object(r.a)({"aria-describedby":ee,autoComplete:u,autoFocus:l,defaultValue:O,fullWidth:S,multiline:B,name:N,rows:U,maxRows:P,minRows:M,type:$,value:G,id:D,inputRef:R,onBlur:I,onChange:L,onFocus:z,placeholder:W,inputProps:_},Q,F));return Object(v.jsxs)(w,Object(r.a)({className:Object(o.default)(Z.root,f),disabled:j,error:C,fullWidth:S,ref:t,required:V,color:h,variant:Y,ownerState:X},K,{children:[T&&Object(v.jsx)(p.a,Object(r.a)({htmlFor:D,id:te},A,{children:T})),H?Object(v.jsx)(b.a,Object(r.a)({"aria-describedby":ee,id:D,labelId:te,value:G,input:re},q,{children:d})):re,k&&Object(v.jsx)(m.a,Object(r.a)({id:ee},E,{children:k}))]}))}));t.a=O},,function(e,t,n){"use strict";var r=n(419);t.a=r.a},,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(295),f=n(30),p=n(616),h=n(5);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],b=Object(c.a)(d.a,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color"+Object(f.a)(n.color)],n.edge&&t["edge"+Object(f.a)(n.edge)],t["size"+Object(f.a)(n.size)]]}})(({theme:e,ownerState:t})=>Object(i.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>Object(i.a)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&{color:e.palette[t.color].main,"&:hover":{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{["&."+p.a.disabled]:{backgroundColor:"transparent",color:e.palette.action.disabled}})),g=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiIconButton"}),{edge:a=!1,children:u,className:c,color:d="default",disabled:g=!1,disableFocusRipple:v=!1,size:y="medium"}=n,x=Object(r.a)(n,m),w=Object(i.a)({},n,{edge:a,color:d,disabled:g,disableFocusRipple:v,size:y}),O=(e=>{const{classes:t,disabled:n,color:r,edge:i,size:a}=e,o={root:["root",n&&"disabled","default"!==r&&"color"+Object(f.a)(r),i&&"edge"+Object(f.a)(i),"size"+Object(f.a)(a)]};return Object(s.a)(o,p.b,t)})(w);return Object(h.jsx)(b,Object(i.a)({className:Object(o.default)(O.root,c),centerRipple:!0,focusRipple:!v,disabled:g,ref:t,ownerState:w},x,{children:u}))}));t.a=g},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(1),c=n(169),l=n(34),d=n(17),f=n(415),p=n(5);const h=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],m=Object(d.a)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+f.a.primary]:t.primary},{["& ."+f.a.secondary]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>Object(i.a)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiListItemText"}),{children:d,className:b,disableTypography:g=!1,inset:v=!1,primary:y,primaryTypographyProps:x,secondary:w,secondaryTypographyProps:O}=n,j=Object(r.a)(n,h),{dense:C}=a.useContext(c.a);let E=null!=y?y:d,S=w;const k=Object(i.a)({},n,{disableTypography:g,inset:v,primary:!!E,secondary:!!S,dense:C}),D=(e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:a}=e,o={root:["root",n&&"inset",a&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return Object(s.a)(o,f.b,t)})(k);return null==E||E.type===u.a||g||(E=Object(p.jsx)(u.a,Object(i.a)({variant:C?"body2":"body1",className:D.primary,component:"span",display:"block"},x,{children:E}))),null==S||S.type===u.a||g||(S=Object(p.jsx)(u.a,Object(i.a)({variant:"body2",className:D.secondary,color:"text.secondary",display:"block"},O,{children:S}))),Object(p.jsxs)(m,Object(i.a)({className:Object(o.default)(D.root,b),ownerState:k,ref:t},j,{children:[E,S]}))}));t.a=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(247);function a(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(i.a)(e,n),Object(i.a)(t,n)}}),[e,t])}},,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1213)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(153);function i(e){return e instanceof Object(r.a)(e).Element||e instanceof Element}function a(e){return e instanceof Object(r.a)(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Object(r.a)(e).ShadowRoot||e instanceof ShadowRoot)}},function(e,t,n){"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(421);function i(e){if("string"!=typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(0);var r=n(344),i=n(311);function a(){return Object(r.a)(i.a)}},,,function(e,t,n){"use strict";var r,i,a=n(2),o=n(18),s=n(0),u=(n(11),n(12)),c=n(224),l=n(65),d=n(744),f=n(275),p=n(199),h=n(742),m=n(1156),b=n(434),g=n(1157),v=n(1158),y=n(34),x=n(83),w=n(359),O=n(5);const j=["autoWidth","children","classes","className","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],C=["root"],E=s.forwardRef((function(e,t){const n=Object(y.a)({name:"MuiSelect",props:e}),{autoWidth:E=!1,children:S,classes:k={},className:D,displayEmpty:A=!1,IconComponent:_=h.a,id:F,input:R,inputProps:T,label:P,labelId:M,MenuProps:B,multiple:N=!1,native:I=!1,onClose:L,onOpen:z,open:W,renderValue:V,SelectDisplayProps:U,variant:H="outlined"}=n,q=Object(o.a)(n,j),$=I?b.a:d.a,G=Object(p.a)(),Y=Object(f.a)({props:n,muiFormControl:G,states:["variant"]}).variant||H,K=R||{standard:r||(r=Object(O.jsx)(m.a,{})),outlined:Object(O.jsx)(v.a,{label:P}),filled:i||(i=Object(O.jsx)(g.a,{}))}[Y],X=(e=>{const{classes:t}=e;return Object(l.a)({root:["root"]},w.b,t)})(Object(a.a)({},n,{classes:k})),Z=Object(o.a)(k,C),Q=Object(x.a)(t,K.ref);return s.cloneElement(K,Object(a.a)({inputComponent:$,inputProps:Object(a.a)({children:S,IconComponent:_,variant:Y,type:void 0,multiple:N},I?{id:F}:{autoWidth:E,displayEmpty:A,labelId:M,MenuProps:B,onClose:L,onOpen:z,open:W,renderValue:V,SelectDisplayProps:Object(a.a)({id:F},U)},T,{classes:T?Object(c.a)(Z,T.classes):Z},R?R.props.inputProps:{})},N&&I&&"outlined"===Y?{notched:!0}:{},{ref:Q,className:Object(u.default)(X.root,K.props.className,D)},q))}));E.muiName="Select",t.a=E},,,,function(e,t,n){"use strict";t.a=function(e){return"string"==typeof e}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(18),i=n(2),a=n(0),o=n(144),s=n(1152),u=n(368),c=n(574),l=n(1272),d=n(733),f=n(1270),p=n(590);const h=["name","classNamePrefix","Component","defaultTheme"];function m(e,t={}){const{name:n,classNamePrefix:m,Component:b,defaultTheme:g=p.a}=t,v=Object(r.a)(t,h),y=Object(f.a)(e),x=n||m||"makeStyles";y.options={index:Object(d.a)(),name:n,meta:x,classNamePrefix:x};return(e={})=>{const t=Object(c.a)()||g,r=Object(i.a)({},a.useContext(l.a),v),d=a.useRef(),f=a.useRef();!function(e,t){const n=a.useRef([]);let r;const i=a.useMemo(()=>({}),t);n.current!==i&&(n.current=i,r=e()),a.useEffect(()=>()=>{r&&r()},[i])}(()=>{const a={name:n,state:{},stylesCreator:y,stylesOptions:r,theme:t};return function({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:a},c){if(n.disableGeneration)return;let l=u.a.get(n.sheetsManager,r,t);l||(l={refs:0,staticSheet:null,dynamicStyles:null},u.a.set(n.sheetsManager,r,t,l));const d=Object(i.a)({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const f=n.sheetsRegistry;if(0===l.refs){let e;n.sheetsCache&&(e=u.a.get(n.sheetsCache,r,t));const s=r.create(t,a);e||(e=n.jss.createStyleSheet(s,Object(i.a)({link:!1},d)),e.attach(),n.sheetsCache&&u.a.set(n.sheetsCache,r,t,e)),f&&f.add(e),l.staticSheet=e,l.dynamicStyles=Object(o.d)(s)}if(l.dynamicStyles){const t=n.jss.createStyleSheet(l.dynamicStyles,Object(i.a)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=Object(s.a)({baseClasses:l.staticSheet.classes,newClasses:t.classes}),f&&f.add(t)}else e.classes=l.staticSheet.classes;l.refs+=1}(a,e),f.current=!1,d.current=a,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=u.a.get(n.sheetsManager,r,t);i.refs-=1;const a=n.sheetsRegistry;0===i.refs&&(u.a.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}(a)}},[t,y]),a.useEffect(()=>{f.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(d.current,e),f.current=!0});return function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,i=!0),i&&(e.cacheClasses.value=Object(s.a)({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(d.current,e.classes,b)}}},,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");t.default=o},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return d}));var r=n(421);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function o(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=a(e)).type?a(function(e){var t=(e=a(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),o({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,o(e)}function l(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(53),c=n(80),l=n(30),d=n(17),f=n(34),p=n(310),h=n(83),m=n(1),b=n(619),g=n(5);const v=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=Object(d.a)(m.a,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["underline"+Object(l.a)(n.underline)],"button"===n.component&&t.button]}})(({theme:e,ownerState:t})=>{const n=Object(u.b)(e,"palette."+(e=>y[e]||e)(t.color))||t.color;return Object(i.a)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Object(c.a)(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&."+b.a.focusVisible]:{outline:"auto"}})}),w=a.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiLink"}),{className:u,color:c="primary",component:d="a",onBlur:m,onFocus:y,TypographyClasses:w,underline:O="always",variant:j="inherit"}=n,C=Object(r.a)(n,v),{isFocusVisibleRef:E,onBlur:S,onFocus:k,ref:D}=Object(p.a)(),[A,_]=a.useState(!1),F=Object(h.a)(t,D),R=Object(i.a)({},n,{color:c,component:d,focusVisible:A,underline:O,variant:j}),T=(e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,a={root:["root","underline"+Object(l.a)(i),"button"===n&&"button",r&&"focusVisible"]};return Object(s.a)(a,b.b,t)})(R);return Object(g.jsx)(x,Object(i.a)({className:Object(o.default)(T.root,u),classes:w,color:c,component:d,onBlur:e=>{S(e),!1===E.current&&_(!1),m&&m(e)},onFocus:e=>{k(e),!0===E.current&&_(!0),y&&y(e)},ref:F,ownerState:R,variant:j},C))}));t.a=w},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(557),d=n(169),f=n(5);const p=["className"],h=Object(u.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>Object(i.a)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),m=a.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiListItemIcon"}),{className:u}=n,m=Object(r.a)(n,p),b=a.useContext(d.a),g=Object(i.a)({},n,{alignItems:b.alignItems}),v=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return Object(s.a)(r,l.b,n)})(g);return Object(f.jsx)(h,Object(i.a)({className:Object(o.default)(v.root,u),ownerState:g,ref:t},m))}));t.a=m},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),i=n(0),a=n(420),o=n(5);function s(e,t){const n=(n,i)=>Object(o.jsx)(a.a,Object(r.a)({"data-testid":t+"Icon",ref:i},n,{children:e}));return n.muiName=a.a.muiName,i.memo(i.forwardRef(n))}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a}));var r=Math.max,i=Math.min,a=Math.round},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l}));var r=n(0),i=n(426),a=(n(2),n(427),n(587),n(261)),o=n(303),s=Object.prototype.hasOwnProperty,u=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(i.a)({key:"css"}):null);var c=u.Provider,l=function(e){return Object(r.forwardRef)((function(t,n){var i=Object(r.useContext)(u);return e(t,i,n)}))},d=Object(r.createContext)({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[f]=e,n},h=l((function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var u=e[f],c=[i],l="";"string"==typeof e.className?l=Object(a.a)(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var p=Object(o.a)(c,void 0,Object(r.useContext)(d));Object(a.b)(t,p,"string"==typeof u);l+=t.key+"-"+p.name;var h={};for(var m in e)s.call(e,m)&&"css"!==m&&m!==f&&(h[m]=e[m]);return h.ref=n,h.className=l,Object(r.createElement)(u,h)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return me})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return p}));var r=n(2),i=n(358),a=(n(430),n(402)),o=n(347),s=n(432),u=n(18),c={}.constructor;function l(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(l);if(e.constructor!==c)return e;var t={};for(var n in e)t[n]=l(e[n]);return t}function d(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=l(t),a=r.plugins.onCreateRule(e,i,n);return a||(e[0],null)}var f=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,v="undefined"!=typeof CSS&&CSS.escape,y=function(e){return v?v(e):e.replace(g,"\\$1")},x=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var a=null==i||!1===i,o=e in this.style;if(a&&!o&&!r)return this;var s=a&&o;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),w=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var a=r.selector,o=r.scoped,u=r.sheet,c=r.generateId;return a?i.selectorText=a:!1!==o&&(i.id=c(Object(s.a)(Object(s.a)(i)),u),i.selectorText="."+y(i.id)),i}Object(o.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},Object(a.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(x),O={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new w(e,t,n)}},j={indent:1,children:!0},C=/@([\w-]+)/,E=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(C);for(var a in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(a,t[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){void 0===e&&(e=j);var t=h(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),S=/@media|@supports\s+/,k={onCreateRule:function(e,t,n){return S.test(e)?new E(e,t,n):null}},D={indent:1,children:!0},A=/@keyframes\s+([\w-]+)/,_=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(A);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var a=n.scoped,o=n.sheet,s=n.generateId;for(var u in this.id=!1===a?this.name:y(s(this,o)),this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=D);var t=h(e).linebreak;if(null==e.indent&&(e.indent=D.indent),null==e.children&&(e.children=D.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),F=/@keyframes\s+/,R=/\$([\w-]+)/g,T=function(e,t){return"string"==typeof e?e.replace(R,(function(e,n){return n in t?t[n]:e})):e},P=function(e,t,n){var r=e[t],i=T(r,n);i!==r&&(e[t]=i)},M={onCreateRule:function(e,t,n){return"string"==typeof e&&F.test(e)?new _(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&P(e,"animation-name",n.keyframes),"animation"in e&&P(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return T(e,r.keyframes);default:return e}}},B=function(e){function t(){return e.apply(this,arguments)||this}return Object(o.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(x),N={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new B(e,t,n):null}},I=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(u.a)(t,["attached"]),i=h(r).linebreak,a="",o=0;o0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=se(),n=0;nn?n:t},fe=function(){function e(e){this.getPropertyValue=re,this.setProperty=ie,this.removeProperty=ae,this.setSelector=oe,this.hasInsertedRules=!1,this.cssRules=[],e&&Z.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,i=n.meta,a=n.element;this.element=a||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var o=ce();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ue(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,a=i.parentNode;a&&a.insertBefore(e,i.nextSibling)}else se().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align"+Object(d.a)(n.align)],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>Object(i.a)({margin:0},t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},v=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTypography"}),a=(e=>g[e]||e)(n.color),c=Object(s.a)(Object(i.a)({},n,{color:a})),{align:v="inherit",className:y,component:x,gutterBottom:w=!1,noWrap:O=!1,paragraph:j=!1,variant:C="body1",variantMapping:E=b}=c,S=Object(r.a)(c,h),k=Object(i.a)({},c,{align:v,color:a,className:y,component:x,gutterBottom:w,noWrap:O,paragraph:j,variant:C,variantMapping:E}),D=x||(j?"p":E[C]||b[C])||"span",A=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:o}=e,s={root:["root",a,"inherit"!==e.align&&"align"+Object(d.a)(t),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Object(u.a)(s,f.a,o)})(k);return Object(p.jsx)(m,Object(i.a)({as:D,ref:t,ownerState:k,className:Object(o.default)(A.root,y)},S))}));t.a=v},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;tObject(i.a)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),g=Object(c.a)(d.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Object(f.a)(n.color)}`],t["size"+Object(f.a)(n.size)],t[`${n.variant}Size${Object(f.a)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Object(i.a)({textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:"1px solid "+e.palette[t.color].main,backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.palette[t.color].dark,"@media (hover: none)":{backgroundColor:e.palette[t.color].main}}),"&:active":Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[8]}),["&."+p.a.focusVisible]:Object(i.a)({},"contained"===t.variant&&{boxShadow:e.shadows[6]}),["&."+p.a.disabled]:Object(i.a)({color:e.palette.action.disabled},"outlined"===t.variant&&{border:"1px solid "+e.palette.action.disabledBackground},"outlined"===t.variant&&"secondary"===t.color&&{border:"1px solid "+e.palette.action.disabled},"contained"===t.variant&&{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"outlined"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].main,border:"1px solid "+Object(u.a)(e.palette[t.color].main,.5)},"contained"===t.variant&&{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:e.palette[t.color].contrastText,backgroundColor:e.palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"}),({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},["&."+p.a.focusVisible]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&."+p.a.disabled]:{boxShadow:"none"}}),v=Object(c.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},b(e))),y=Object(c.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t["iconSize"+Object(f.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},b(e))),x=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiButton"}),{children:a,color:u="primary",component:c="button",disabled:d=!1,disableElevation:b=!1,disableFocusRipple:x=!1,endIcon:w,focusVisibleClassName:O,fullWidth:j=!1,size:C="medium",startIcon:E,type:S,variant:k="text"}=n,D=Object(r.a)(n,m),A=Object(i.a)({},n,{color:u,component:c,disabled:d,disableElevation:b,disableFocusRipple:x,fullWidth:j,size:C,type:S,variant:k}),_=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:a,variant:o,classes:u}=e,c={root:["root",o,`${o}${Object(f.a)(t)}`,"size"+Object(f.a)(a),`${o}Size${Object(f.a)(a)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize"+Object(f.a)(a)],endIcon:["endIcon","iconSize"+Object(f.a)(a)]},l=Object(s.a)(c,p.b,u);return Object(i.a)({},u,l)})(A),F=E&&Object(h.jsx)(v,{className:_.startIcon,ownerState:A,children:E}),R=w&&Object(h.jsx)(y,{className:_.endIcon,ownerState:A,children:w});return Object(h.jsxs)(g,Object(i.a)({ownerState:A,component:c,disabled:d,focusRipple:!x,focusVisibleClassName:Object(o.default)(_.focusVisible,O),ref:t,type:S},D,{classes:_,children:[F,a,R]}))}));t.a=x},function(e,t,n){e.exports=n(1216)()},function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;tObject(r.b)(e)&&"classes"!==e,o=r.b,s=Object(r.a)({defaultTheme:i.a,rootShouldForwardProp:a});t.a=s},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(575),c=n(80),l=n(17),d=n(110),f=n(34),p=n(30),h=n(640),m=n(1148),b=n(201),g=n(83),v=n(342),y=n(310),x=n(273),w=n(290),O=n(5);const j=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];const C=Object(l.a)(m.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Object(i.a)({zIndex:e.zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{['&[data-popper-placement*="bottom"] .'+w.a.arrow]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'+w.a.arrow]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),['&[data-popper-placement*="left"] .'+w.a.arrow]:Object(i.a)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),E=Object(l.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement"+Object(p.a)(n.placement.split("-")[0])]]}})(({theme:e,ownerState:t})=>{return Object(i.a)({backgroundColor:Object(c.a)(e.palette.grey[700],.92),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${w.a.popper}[data-popper-placement*="left"] &`]:Object(i.a)({transformOrigin:"right center"},t.isRtl?Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${w.a.popper}[data-popper-placement*="right"] &`]:Object(i.a)({transformOrigin:"left center"},t.isRtl?Object(i.a)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Object(i.a)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${w.a.popper}[data-popper-placement*="top"] &`]:Object(i.a)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${w.a.popper}[data-popper-placement*="bottom"] &`]:Object(i.a)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n}),S=Object(l.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(c.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let k=!1,D=null;function A(e,t){return n=>{t&&t(n),e(n)}}const _=a.forwardRef((function(e,t){var n,c,l,_,F;const R=Object(f.a)({props:e,name:"MuiTooltip"}),{arrow:T=!1,children:P,components:M={},componentsProps:B={},describeChild:N=!1,disableFocusListener:I=!1,disableHoverListener:L=!1,disableInteractive:z=!1,disableTouchListener:W=!1,enterDelay:V=100,enterNextDelay:U=0,enterTouchDelay:H=700,followCursor:q=!1,id:$,leaveDelay:G=0,leaveTouchDelay:Y=1500,onClose:K,onOpen:X,open:Z,placement:Q="bottom",PopperComponent:J,PopperProps:ee={},title:te,TransitionComponent:ne=h.a,TransitionProps:re}=R,ie=Object(r.a)(R,j),ae=Object(d.a)(),oe="rtl"===ae.direction,[se,ue]=a.useState(),[ce,le]=a.useState(null),de=a.useRef(!1),fe=z||q,pe=a.useRef(),he=a.useRef(),me=a.useRef(),be=a.useRef(),[ge,ve]=Object(x.a)({controlled:Z,default:!1,name:"Tooltip",state:"open"});let ye=ge;const xe=Object(v.a)($),we=a.useRef(),Oe=a.useCallback(()=>{void 0!==we.current&&(document.body.style.WebkitUserSelect=we.current,we.current=void 0),clearTimeout(be.current)},[]);a.useEffect(()=>()=>{clearTimeout(pe.current),clearTimeout(he.current),clearTimeout(me.current),Oe()},[Oe]);const je=e=>{clearTimeout(D),k=!0,ve(!0),X&&!ye&&X(e)},Ce=Object(b.a)(e=>{clearTimeout(D),D=setTimeout(()=>{k=!1},800+G),ve(!1),K&&ye&&K(e),clearTimeout(pe.current),pe.current=setTimeout(()=>{de.current=!1},ae.transitions.duration.shortest)}),Ee=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),clearTimeout(he.current),clearTimeout(me.current),V||k&&U?he.current=setTimeout(()=>{je(e)},k?U:V):je(e))},Se=e=>{clearTimeout(he.current),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},G)},{isFocusVisibleRef:ke,onBlur:De,onFocus:Ae,ref:_e}=Object(y.a)(),[,Fe]=a.useState(!1),Re=e=>{De(e),!1===ke.current&&(Fe(!1),Se(e))},Te=e=>{se||ue(e.currentTarget),Ae(e),!0===ke.current&&(Fe(!0),Ee(e))},Pe=e=>{de.current=!0;const t=P.props;t.onTouchStart&&t.onTouchStart(e)},Me=Ee,Be=Se,Ne=e=>{Pe(e),clearTimeout(me.current),clearTimeout(pe.current),Oe(),we.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.current=setTimeout(()=>{document.body.style.WebkitUserSelect=we.current,Ee(e)},H)},Ie=e=>{P.props.onTouchEnd&&P.props.onTouchEnd(e),Oe(),clearTimeout(me.current),me.current=setTimeout(()=>{Ce(e)},Y)};a.useEffect(()=>{if(ye)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ce(e)}},[Ce,ye]);const Le=Object(g.a)(ue,t),ze=Object(g.a)(_e,Le),We=Object(g.a)(P.ref,ze);""===te&&(ye=!1);const Ve=a.useRef({x:0,y:0}),Ue=a.useRef(),He={},qe="string"==typeof te;N?(He.title=ye||!qe||L?null:te,He["aria-describedby"]=ye?xe:null):(He["aria-label"]=qe?te:null,He["aria-labelledby"]=ye&&!qe?xe:null);const $e=Object(i.a)({},He,ie,P.props,{className:Object(o.default)(ie.className,P.props.className),onTouchStart:Pe,ref:We},q?{onMouseMove:e=>{const t=P.props;t.onMouseMove&&t.onMouseMove(e),Ve.current={x:e.clientX,y:e.clientY},Ue.current&&Ue.current.update()}}:{});const Ge={};W||($e.onTouchStart=Ne,$e.onTouchEnd=Ie),L||($e.onMouseOver=A(Me,$e.onMouseOver),$e.onMouseLeave=A(Be,$e.onMouseLeave),fe||(Ge.onMouseOver=Me,Ge.onMouseLeave=Be)),I||($e.onFocus=A(Te,$e.onFocus),$e.onBlur=A(Re,$e.onBlur),fe||(Ge.onFocus=Te,Ge.onBlur=Re));const Ye=a.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),Object(i.a)({},ee.popperOptions,{modifiers:t})},[ce,ee]),Ke=Object(i.a)({},R,{isRtl:oe,arrow:T,disableInteractive:fe,placement:Q,PopperComponentProp:J,touch:de.current}),Xe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:a}=e,o={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch","tooltipPlacement"+Object(p.a)(a.split("-")[0])],arrow:["arrow"]};return Object(s.a)(o,w.b,t)})(Ke),Ze=null!=(n=M.Popper)?n:C,Qe=null!=(c=null!=ne?ne:M.Transition)?c:h.a,Je=null!=(l=M.Tooltip)?l:E,et=null!=(_=M.Arrow)?_:S,tt=Object(u.a)(Ze,Object(i.a)({},ee,B.popper),Ke),nt=Object(u.a)(Qe,Object(i.a)({},re,B.transition),Ke),rt=Object(u.a)(Je,Object(i.a)({},B.tooltip),Ke),it=Object(u.a)(et,Object(i.a)({},B.arrow),Ke);return Object(O.jsxs)(a.Fragment,{children:[a.cloneElement(P,$e),Object(O.jsx)(Ze,Object(i.a)({as:null!=J?J:m.a,placement:Q,anchorEl:q?{getBoundingClientRect:()=>({top:Ve.current.y,left:Ve.current.x,right:Ve.current.x,bottom:Ve.current.y,width:0,height:0})}:se,popperRef:Ue,open:!!se&&ye,id:xe,transition:!0},Ge,tt,{className:Object(o.default)(Xe.popper,null==(F=B.popper)?void 0:F.className),popperOptions:Ye,children:({TransitionProps:e})=>{var t,n;return Object(O.jsx)(Qe,Object(i.a)({timeout:ae.transitions.duration.shorter},e,nt,{children:Object(O.jsxs)(Je,Object(i.a)({},rt,{className:Object(o.default)(Xe.tooltip,null==(t=B.tooltip)?void 0:t.className),children:[te,T?Object(O.jsx)(et,Object(i.a)({},it,{className:Object(o.default)(Xe.arrow,null==(n=B.arrow)?void 0:n.className),ref:le})):null]}))}))}}))]})}));t.a=_},,,,,function(e,t,n){"use strict";var r=n(270);t.a=r.a},,function(e,t,n){"use strict";var r=n(1278),i=n(543);const a=Object(i.a)(),o=Object(r.a)({defaultTheme:a});t.a=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(1268),i=n(311);function a({props:e,name:t}){return Object(r.a)({props:e,name:t,defaultTheme:i.a})}},,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(147),u=n(641),c=n(65),l=n(17),d=n(34),f=n(621),p=n(459),h=n(5);const m=["className","columns","columnSpacing","component","container","direction","item","lg","md","rowSpacing","sm","spacing","wrap","xl","xs","zeroMinWidth"];function b(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}const g=Object(l.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{container:n,direction:r,item:i,lg:a,md:o,sm:s,spacing:u,wrap:c,xl:l,xs:d,zeroMinWidth:f}=e.ownerState;return[t.root,n&&t.container,i&&t.item,f&&t.zeroMinWidth,n&&0!==u&&t["spacing-xs-"+String(u)],"row"!==r&&t["direction-xs-"+String(r)],"wrap"!==c&&t["wrap-xs-"+String(c)],!1!==d&&t["grid-xs-"+String(d)],!1!==s&&t["grid-sm-"+String(s)],!1!==o&&t["grid-md-"+String(o)],!1!==a&&t["grid-lg-"+String(a)],!1!==l&&t["grid-xl-"+String(l)]]}})(({ownerState:e})=>Object(i.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"nowrap"===e.wrap&&{flexWrap:"nowrap"},"reverse"===e.wrap&&{flexWrap:"wrap-reverse"}),(function({theme:e,ownerState:t}){return Object(s.b)({theme:e},t.direction,e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > ."+p.a.item]={maxWidth:"none"}),t})}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{marginTop:"-"+b(n),["& > ."+p.a.item]:{paddingTop:b(n)}}:{}})),i}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};return n&&0!==r&&(i=Object(s.b)({theme:e},r,t=>{const n=e.spacing(t);return"0px"!==n?{width:`calc(100% + ${b(n)})`,marginLeft:"-"+b(n),["& > ."+p.a.item]:{paddingLeft:b(n)}}:{}})),i}),({theme:e,ownerState:t})=>e.breakpoints.keys.reduce((n,r)=>(function(e,t,n,r){const a=r[n];if(!a)return;let o={};if(!0===a)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===a)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const e=Object(s.d)({values:r.columns,base:t.breakpoints.values}),u=Math.round(a/e[n]*1e8)/1e6+"%";let c={};if(r.container&&r.item&&0!==r.columnSpacing){const e=t.spacing(r.columnSpacing);if("0px"!==e){const t=`calc(${u} + ${b(e)})`;c={flexBasis:t,maxWidth:t}}}o=Object(i.a)({flexBasis:u,flexGrow:0,maxWidth:u},c)}0===t.breakpoints.values[n]?Object.assign(e,o):e[t.breakpoints.up(n)]=o}(n,e,r,t),n),{})),v=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiGrid"}),s=Object(u.a)(n),{className:l,columns:b=12,columnSpacing:v,component:y="div",container:x=!1,direction:w="row",item:O=!1,lg:j=!1,md:C=!1,rowSpacing:E,sm:S=!1,spacing:k=0,wrap:D="wrap",xl:A=!1,xs:_=!1,zeroMinWidth:F=!1}=s,R=Object(r.a)(s,m),T=E||k,P=v||k,M=a.useContext(f.a)||b,B=Object(i.a)({},s,{columns:M,container:x,direction:w,item:O,lg:j,md:C,sm:S,rowSpacing:T,columnSpacing:P,wrap:D,xl:A,xs:_,zeroMinWidth:F}),N=(e=>{const{classes:t,container:n,direction:r,item:i,lg:a,md:o,sm:s,spacing:u,wrap:l,xl:d,xs:f,zeroMinWidth:h}=e,m={root:["root",n&&"container",i&&"item",h&&"zeroMinWidth",n&&0!==u&&"spacing-xs-"+String(u),"row"!==r&&"direction-xs-"+String(r),"wrap"!==l&&"wrap-xs-"+String(l),!1!==f&&"grid-xs-"+String(f),!1!==s&&"grid-sm-"+String(s),!1!==o&&"grid-md-"+String(o),!1!==a&&"grid-lg-"+String(a),!1!==d&&"grid-xl-"+String(d)]};return Object(c.a)(m,p.b,t)})(B);return I=Object(h.jsx)(g,Object(i.a)({ownerState:B,className:Object(o.default)(N.root,l),as:y,ref:t},R)),12!==M?Object(h.jsx)(f.a.Provider,{value:M,children:I}):I;var I}));t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(18);function i(e,t){if(null==e)return{};var n,i,a=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(30),l=n(512),d=n(319),f=n(34),p=n(17),h=n(618),m=n(5);const b=["align","className","component","padding","scope","size","sortDirection","variant"],g=Object(p.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t["size"+Object(c.a)(n.size)],"normal"!==n.padding&&t["padding"+Object(c.a)(n.padding)],"inherit"!==n.align&&t["align"+Object(c.a)(n.align)],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n "+("light"===e.palette.mode?Object(u.e)(Object(u.a)(e.palette.divider,1),.88):Object(u.b)(Object(u.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===t.variant&&{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:e.palette.text.primary},"footer"===t.variant&&{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",["&."+h.a.paddingCheckbox]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:e.palette.background.default})),v=a.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiTableCell"}),{align:u="inherit",className:p,component:v,padding:y,scope:x,size:w,sortDirection:O,variant:j}=n,C=Object(r.a)(n,b),E=a.useContext(l.a),S=a.useContext(d.a),k=S&&"head"===S.variant;let D;D=v||(k?"th":"td");let A=x;!A&&k&&(A="col");const _=j||S&&S.variant,F=Object(i.a)({},n,{align:u,component:D,padding:y||(E&&E.padding?E.padding:"normal"),size:w||(E&&E.size?E.size:"medium"),sortDirection:O,stickyHeader:"head"===_&&E&&E.stickyHeader,variant:_}),R=(e=>{const{classes:t,variant:n,align:r,padding:i,size:a,stickyHeader:o}=e,u={root:["root",n,o&&"stickyHeader","inherit"!==r&&"align"+Object(c.a)(r),"normal"!==i&&"padding"+Object(c.a)(i),"size"+Object(c.a)(a)]};return Object(s.a)(u,h.b,t)})(F);let T=null;return O&&(T="asc"===O?"ascending":"descending"),Object(m.jsx)(g,Object(i.a)({as:D,ref:t,className:Object(o.default)(R.root,p),"aria-sort":T,scope:A,ownerState:F},C))}));t.a=v},function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"c",(function(){return i})),n.d(t,"k",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"l",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"o",(function(){return f})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return h})),n.d(t,"n",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"g",(function(){return g}));var r="top",i="bottom",a="right",o="left",s="auto",u=[r,i,a,o],c="start",l="end",d="clippingParents",f="viewport",p="popper",h="reference",m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+l])}),[]),b=[].concat(u,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+l])}),[]),g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},,function(e,t,n){"use strict";n.d(t,"b",(function(){return a}));var r=n(270),i=n(147);function a(e,t){return t&&"string"==typeof t?t.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e):null}function o(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:a(e,n)||r,t&&(i=t(i)),i}t.a=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:u}=e,c=e=>{if(null==e[t])return null;const c=e[t],l=a(e.theme,s)||{};return Object(i.b)(e,c,e=>{let i=o(l,u,e);return e===i&&"string"==typeof e&&(i=o(l,u,`${t}${"default"===e?"":Object(r.a)(e)}`,e)),!1===n?i:{[n]:i}})};return c.propTypes={},c.filterProps=[t],c}},,,function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(319),l=n(34),d=n(17),f=n(556),p=n(5);const h=["className","component","hover","selected"],m=Object(d.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${f.a.hover}:hover`]:{backgroundColor:e.palette.action.hover},["&."+f.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),b="tr",g=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTableRow"}),{className:u,component:d=b,hover:g=!1,selected:v=!1}=n,y=Object(i.a)(n,h),x=a.useContext(c.a),w=Object(r.a)({},n,{component:d,hover:g,selected:v,head:x&&"head"===x.variant,footer:x&&"footer"===x.variant}),O=(e=>{const{classes:t,selected:n,hover:r,head:i,footer:a}=e,o={root:["root",n&&"selected",r&&"hover",i&&"head",a&&"footer"]};return Object(s.a)(o,f.b,t)})(w);return Object(p.jsx)(m,Object(r.a)({as:d,ref:t,className:Object(o.default)(O.root,u),role:d===b?null:"row",ownerState:w},y))}));t.a=g},function(e,t,n){"use strict";var r=n(218),i=n(528);function a(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}t.a=function(e){var t=e.prop,n=e.cssProperty,o=void 0===n?e.prop:n,s=e.themeKey,u=e.transform,c=function(e){if(null==e[t])return null;var n=e[t],c=a(e.theme,s)||{};return Object(i.a)(e,n,(function(e){var t;return"function"==typeof c?t=c(e):Array.isArray(c)?t=c[e]||e:(t=a(c,e)||e,u&&(t=u(t))),!1===o?t:Object(r.a)({},o,t)}))};return c.propTypes={},c.filterProps=[t],c}},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(64);function i(e,t){const n={};return t.forEach(t=>{n[t]=Object(r.a)(e,t)}),n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));const r={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function i(e,t){return r[t]||`${e}-${t}`}},function(e,t,n){"use strict";function r(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((e,r)=>(r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e),[]).join(" ")}),r}n.d(t,"a",(function(){return r}))},,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.default=o},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(117),c=n(80),l=n(17),d=n(34),f=n(295),p=n(314),h=n(173),m=n(83),b=n(169),g=n(335),v=n(336),y=n(1292),x=n(5);const w=["className"],O=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],j=Object(l.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&Object(i.a)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{["& > ."+v.a.root]:{paddingRight:48}},{["&."+g.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+g.a.selected]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+g.a.focusVisible]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},["&."+g.a.disabled]:{opacity:e.palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.a.selected}:hover`]:{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(c.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),C=Object(l.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),E=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiListItem"}),{alignItems:c="center",autoFocus:l=!1,button:v=!1,children:E,className:S,component:k,components:D={},componentsProps:A={},ContainerComponent:_="li",ContainerProps:{className:F}={},dense:R=!1,disabled:T=!1,disableGutters:P=!1,disablePadding:M=!1,divider:B=!1,focusVisibleClassName:N,secondaryAction:I,selected:L=!1}=n,z=Object(r.a)(n.ContainerProps,w),W=Object(r.a)(n,O),V=a.useContext(b.a),U={dense:R||V.dense||!1,alignItems:c,disableGutters:P},H=a.useRef(null);Object(h.a)(()=>{l&&H.current&&H.current.focus()},[l]);const q=a.Children.toArray(E),$=q.length&&Object(p.a)(q[q.length-1],["ListItemSecondaryAction"]),G=Object(i.a)({},n,{alignItems:c,autoFocus:l,button:v,dense:U.dense,disabled:T,disableGutters:P,disablePadding:M,divider:B,hasSecondaryAction:$,selected:L}),Y=(e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:a,disableGutters:o,disablePadding:u,divider:c,hasSecondaryAction:l,selected:d}=e,f={root:["root",i&&"dense",!o&&"gutters",!u&&"padding",c&&"divider",a&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction",d&&"selected"],container:["container"]};return Object(s.a)(f,g.b,r)})(G),K=Object(m.a)(H,t),X=D.Root||j,Z=A.root||{},Q=Object(i.a)({className:Object(o.default)(Y.root,Z.className,S),disabled:T},W);let J=k||"li";return v&&(Q.component=k||"div",Q.focusVisibleClassName=Object(o.default)(g.a.focusVisible,N),J=f.a),$?(J=Q.component||k?J:"div","li"===_&&("li"===J?J="div":"li"===Q.component&&(Q.component="div")),Object(x.jsx)(b.a.Provider,{value:U,children:Object(x.jsxs)(C,Object(i.a)({as:_,className:Object(o.default)(Y.container,F),ref:K,ownerState:G},z,{children:[Object(x.jsx)(X,Object(i.a)({},Z,!Object(u.a)(X)&&{as:J,ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:q})),q.pop()]}))})):Object(x.jsx)(b.a.Provider,{value:U,children:Object(x.jsxs)(X,Object(i.a)({},Z,{as:J,ref:K,ownerState:G},!Object(u.a)(X)&&{ownerState:Object(i.a)({},G,Z.ownerState)},Q,{children:[q,I&&Object(x.jsx)(y.a,{children:I})]}))})}));t.a=E},,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(748),f=n(5);const p=["className","component","elevation","square","variant"],h=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},m=Object(c.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation"+n.elevation]]}})(({theme:e,ownerState:t})=>Object(i.a)({backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:"1px solid "+e.palette.divider},"elevation"===t.variant&&Object(i.a)({boxShadow:e.shadows[t.elevation]},"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${Object(u.a)("#fff",h(t.elevation))}, ${Object(u.a)("#fff",h(t.elevation))})`}))),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiPaper"}),{className:a,component:u="div",elevation:c=1,square:h=!1,variant:b="elevation"}=n,g=Object(r.a)(n,p),v=Object(i.a)({},n,{component:u,elevation:c,square:h,variant:b}),y=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&"elevation"+n]};return Object(s.a)(a,d.a,i)})(v);return Object(f.jsx)(m,Object(i.a)({as:u,ownerState:v,className:Object(o.default)(y.root,a),ref:t},g))}));t.a=b},function(e,t,n){"use strict";var r=n(2),i=n(1304),a=n(321);t.a=function(e,t){return Object(i.a)(e,Object(r.a)({defaultTheme:a.a},t))}},,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(169),f=n(295),p=n(173),h=n(83),m=n(558),b=n(557),g=n(415),v=n(373),y=n(5);const x=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],w=Object(c.a)(f.a,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>Object(i.a)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:"1px solid "+e.palette.divider,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&."+v.a.selected]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity),["&."+v.a.focusVisible]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${v.a.selected}:hover`]:{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.selectedOpacity)}},["&."+v.a.focusVisible]:{backgroundColor:e.palette.action.focus},["&."+v.a.disabled]:{opacity:e.palette.action.disabledOpacity},["& + ."+m.a.root]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},["& + ."+m.a.inset]:{marginLeft:52},["& ."+g.a.root]:{marginTop:0,marginBottom:0},["& ."+g.a.inset]:{paddingLeft:36},["& ."+b.a.root]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&Object(i.a)({minHeight:36},e.typography.body2,{[`& .${b.a.root} svg`]:{fontSize:"1.25rem"}}))),O=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiMenuItem"}),{autoFocus:u=!1,component:c="li",dense:f=!1,divider:m=!1,disableGutters:b=!1,focusVisibleClassName:g,role:O="menuitem",tabIndex:j}=n,C=Object(r.a)(n,x),E=a.useContext(d.a),S={dense:f||E.dense||!1,disableGutters:b},k=a.useRef(null);Object(p.a)(()=>{u&&k.current&&k.current.focus()},[u]);const D=Object(i.a)({},n,{dense:S.dense,divider:m,disableGutters:b}),A=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:a,selected:o,classes:u}=e,c={root:["root",n&&"dense",t&&"disabled",!a&&"gutters",r&&"divider",o&&"selected"]},l=Object(s.a)(c,v.b,u);return Object(i.a)({},u,l)})(n),_=Object(h.a)(k,t);let F;return n.disabled||(F=void 0!==j?j:-1),Object(y.jsx)(d.a.Provider,{value:S,children:Object(y.jsx)(w,Object(i.a)({ref:_,role:O,tabIndex:F,component:c,focusVisibleClassName:Object(o.default)(A.focusVisible,g)},C,{ownerState:D,classes:A}))})}));t.a=O},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(475)},function(e,t,n){"use strict";n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f}));var r=n(333);function i(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.substr(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].substr(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i))throw new Error(Object(r.a)(10,i))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:i}}function o(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=r[1]+"%",r[2]=r[2]+"%"),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:""+r.join(", "),`${t}(${r})`}function s(e){let t="hsl"===(e=a(e)).type?a(function(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=(e,t=(e+n/30)%12)=>i-s*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),o({type:c,values:l})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){const n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/"+t:e.values[3]=t,o(e)}function l(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return o(e)}function f(e,t=.15){return s(e)>.5?l(e,t):d(e,t)}},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(1156),d=n(1157),f=n(1158),p=n(1160),h=n(1159),m=n(1286),b=n(113),g=n(739),v=n(5);const y=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],x={standard:l.a,filled:d.a,outlined:f.a},w=Object(u.a)(h.a,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),O=a.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTextField"}),{autoComplete:u,autoFocus:l=!1,children:d,className:f,color:h="primary",defaultValue:O,disabled:j=!1,error:C=!1,FormHelperTextProps:E,fullWidth:S=!1,helperText:k,id:D,InputLabelProps:A,inputProps:_,InputProps:F,inputRef:R,label:T,maxRows:P,minRows:M,multiline:B=!1,name:N,onBlur:I,onChange:L,onFocus:z,placeholder:W,required:V=!1,rows:U,select:H=!1,SelectProps:q,type:$,value:G,variant:Y="outlined"}=n,K=Object(i.a)(n,y),X=Object(r.a)({},n,{autoFocus:l,color:h,disabled:j,error:C,fullWidth:S,multiline:B,required:V,select:H,variant:Y}),Z=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},g.a,t)})(X);const Q={};if("outlined"===Y&&(A&&void 0!==A.shrink&&(Q.notched=A.shrink),T)){var J;const e=null!=(J=null==A?void 0:A.required)?J:V;Q.label=Object(v.jsxs)(a.Fragment,{children:[T,e&&" *"]})}H&&(q&&q.native||(Q.id=void 0),Q["aria-describedby"]=void 0);const ee=k&&D?D+"-helper-text":void 0,te=T&&D?D+"-label":void 0,ne=x[Y],re=Object(v.jsx)(ne,Object(r.a)({"aria-describedby":ee,autoComplete:u,autoFocus:l,defaultValue:O,fullWidth:S,multiline:B,name:N,rows:U,maxRows:P,minRows:M,type:$,value:G,id:D,inputRef:R,onBlur:I,onChange:L,onFocus:z,placeholder:W,inputProps:_},Q,F));return Object(v.jsxs)(w,Object(r.a)({className:Object(o.default)(Z.root,f),disabled:j,error:C,fullWidth:S,ref:t,required:V,color:h,variant:Y,ownerState:X},K,{children:[T&&Object(v.jsx)(p.a,Object(r.a)({htmlFor:D,id:te},A,{children:T})),H?Object(v.jsx)(b.a,Object(r.a)({"aria-describedby":ee,id:D,labelId:te,value:G,input:re},q,{children:d})):re,k&&Object(v.jsx)(m.a,Object(r.a)({id:ee},E,{children:k}))]}))}));t.a=O},,function(e,t,n){"use strict";var r=n(419);t.a=r.a},,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(80),c=n(17),l=n(34),d=n(295),f=n(30),p=n(616),h=n(5);const m=["edge","children","className","color","disabled","disableFocusRipple","size"],b=Object(c.a)(d.a,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t["color"+Object(f.a)(n.color)],n.edge&&t["edge"+Object(f.a)(n.edge)],t["size"+Object(f.a)(n.size)]]}})(({theme:e,ownerState:t})=>Object(i.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>Object(i.a)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&{color:e.palette[t.color].main,"&:hover":{backgroundColor:Object(u.a)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{["&."+p.a.disabled]:{backgroundColor:"transparent",color:e.palette.action.disabled}})),g=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiIconButton"}),{edge:a=!1,children:u,className:c,color:d="default",disabled:g=!1,disableFocusRipple:v=!1,size:y="medium"}=n,x=Object(r.a)(n,m),w=Object(i.a)({},n,{edge:a,color:d,disabled:g,disableFocusRipple:v,size:y}),O=(e=>{const{classes:t,disabled:n,color:r,edge:i,size:a}=e,o={root:["root",n&&"disabled","default"!==r&&"color"+Object(f.a)(r),i&&"edge"+Object(f.a)(i),"size"+Object(f.a)(a)]};return Object(s.a)(o,p.b,t)})(w);return Object(h.jsx)(b,Object(i.a)({className:Object(o.default)(O.root,c),centerRipple:!0,focusRipple:!v,disabled:g,ref:t,ownerState:w},x,{children:u}))}));t.a=g},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(1),c=n(169),l=n(34),d=n(17),f=n(415),p=n(5);const h=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],m=Object(d.a)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+f.a.primary]:t.primary},{["& ."+f.a.secondary]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>Object(i.a)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiListItemText"}),{children:d,className:b,disableTypography:g=!1,inset:v=!1,primary:y,primaryTypographyProps:x,secondary:w,secondaryTypographyProps:O}=n,j=Object(r.a)(n,h),{dense:C}=a.useContext(c.a);let E=null!=y?y:d,S=w;const k=Object(i.a)({},n,{disableTypography:g,inset:v,primary:!!E,secondary:!!S,dense:C}),D=(e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:a}=e,o={root:["root",n&&"inset",a&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return Object(s.a)(o,f.b,t)})(k);return null==E||E.type===u.a||g||(E=Object(p.jsx)(u.a,Object(i.a)({variant:C?"body2":"body1",className:D.primary,component:"span",display:"block"},x,{children:E}))),null==S||S.type===u.a||g||(S=Object(p.jsx)(u.a,Object(i.a)({variant:"body2",className:D.secondary,color:"text.secondary",display:"block"},O,{children:S}))),Object(p.jsxs)(m,Object(i.a)({className:Object(o.default)(D.root,b),ownerState:k,ref:t},j,{children:[E,S]}))}));t.a=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),i=n(247);function a(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(i.a)(e,n),Object(i.a)(t,n)}}),[e,t])}},,function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(1213)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o}));var r=n(153);function i(e){return e instanceof Object(r.a)(e).Element||e instanceof Element}function a(e){return e instanceof Object(r.a)(e).HTMLElement||e instanceof HTMLElement}function o(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Object(r.a)(e).ShadowRoot||e instanceof ShadowRoot)}},function(e,t,n){"use strict";function r(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(421);function i(e){if("string"!=typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));n(0);var r=n(344),i=n(311);function a(){return Object(r.a)(i.a)}},,,function(e,t,n){"use strict";var r,i,a=n(2),o=n(18),s=n(0),u=(n(11),n(12)),c=n(224),l=n(65),d=n(744),f=n(275),p=n(199),h=n(742),m=n(1156),b=n(434),g=n(1157),v=n(1158),y=n(34),x=n(83),w=n(359),O=n(5);const j=["autoWidth","children","classes","className","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],C=["root"],E=s.forwardRef((function(e,t){const n=Object(y.a)({name:"MuiSelect",props:e}),{autoWidth:E=!1,children:S,classes:k={},className:D,displayEmpty:A=!1,IconComponent:_=h.a,id:F,input:R,inputProps:T,label:P,labelId:M,MenuProps:B,multiple:N=!1,native:I=!1,onClose:L,onOpen:z,open:W,renderValue:V,SelectDisplayProps:U,variant:H="outlined"}=n,q=Object(o.a)(n,j),$=I?b.a:d.a,G=Object(p.a)(),Y=Object(f.a)({props:n,muiFormControl:G,states:["variant"]}).variant||H,K=R||{standard:r||(r=Object(O.jsx)(m.a,{})),outlined:Object(O.jsx)(v.a,{label:P}),filled:i||(i=Object(O.jsx)(g.a,{}))}[Y],X=(e=>{const{classes:t}=e;return Object(l.a)({root:["root"]},w.b,t)})(Object(a.a)({},n,{classes:k})),Z=Object(o.a)(k,C),Q=Object(x.a)(t,K.ref);return s.cloneElement(K,Object(a.a)({inputComponent:$,inputProps:Object(a.a)({children:S,IconComponent:_,variant:Y,type:void 0,multiple:N},I?{id:F}:{autoWidth:E,displayEmpty:A,labelId:M,MenuProps:B,onClose:L,onOpen:z,open:W,renderValue:V,SelectDisplayProps:Object(a.a)({id:F},U)},T,{classes:T?Object(c.a)(Z,T.classes):Z},R?R.props.inputProps:{})},N&&I&&"outlined"===Y?{notched:!0}:{},{ref:Q,className:Object(u.default)(X.root,K.props.className,D)},q))}));E.muiName="Select",t.a=E},,,,function(e,t,n){"use strict";t.a=function(e){return"string"==typeof e}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(18),i=n(2),a=n(0),o=n(144),s=n(1152),u=n(368),c=n(574),l=n(1272),d=n(733),f=n(1270),p=n(590);const h=["name","classNamePrefix","Component","defaultTheme"];function m(e,t={}){const{name:n,classNamePrefix:m,Component:b,defaultTheme:g=p.a}=t,v=Object(r.a)(t,h),y=Object(f.a)(e),x=n||m||"makeStyles";y.options={index:Object(d.a)(),name:n,meta:x,classNamePrefix:x};return(e={})=>{const t=Object(c.a)()||g,r=Object(i.a)({},a.useContext(l.a),v),d=a.useRef(),f=a.useRef();!function(e,t){const n=a.useRef([]);let r;const i=a.useMemo(()=>({}),t);n.current!==i&&(n.current=i,r=e()),a.useEffect(()=>()=>{r&&r()},[i])}(()=>{const a={name:n,state:{},stylesCreator:y,stylesOptions:r,theme:t};return function({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:a},c){if(n.disableGeneration)return;let l=u.a.get(n.sheetsManager,r,t);l||(l={refs:0,staticSheet:null,dynamicStyles:null},u.a.set(n.sheetsManager,r,t,l));const d=Object(i.a)({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const f=n.sheetsRegistry;if(0===l.refs){let e;n.sheetsCache&&(e=u.a.get(n.sheetsCache,r,t));const s=r.create(t,a);e||(e=n.jss.createStyleSheet(s,Object(i.a)({link:!1},d)),e.attach(),n.sheetsCache&&u.a.set(n.sheetsCache,r,t,e)),f&&f.add(e),l.staticSheet=e,l.dynamicStyles=Object(o.d)(s)}if(l.dynamicStyles){const t=n.jss.createStyleSheet(l.dynamicStyles,Object(i.a)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=Object(s.a)({baseClasses:l.staticSheet.classes,newClasses:t.classes}),f&&f.add(t)}else e.classes=l.staticSheet.classes;l.refs+=1}(a,e),f.current=!1,d.current=a,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=u.a.get(n.sheetsManager,r,t);i.refs-=1;const a=n.sheetsRegistry;0===i.refs&&(u.a.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}(a)}},[t,y]),a.useEffect(()=>{f.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(d.current,e),f.current=!0});return function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,i=!0),i&&(e.cacheClasses.value=Object(s.a)({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(d.current,e.classes,b)}}},,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(53),c=n(80),l=n(30),d=n(17),f=n(34),p=n(310),h=n(83),m=n(1),b=n(619),g=n(5);const v=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"],y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=Object(d.a)(m.a,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["underline"+Object(l.a)(n.underline)],"button"===n.component&&t.button]}})(({theme:e,ownerState:t})=>{const n=Object(u.b)(e,"palette."+(e=>y[e]||e)(t.color))||t.color;return Object(i.a)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&{textDecoration:"underline",textDecorationColor:"inherit"!==n?Object(c.a)(n,.4):void 0,"&:hover":{textDecorationColor:"inherit"}},"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&."+b.a.focusVisible]:{outline:"auto"}})}),w=a.forwardRef((function(e,t){const n=Object(f.a)({props:e,name:"MuiLink"}),{className:u,color:c="primary",component:d="a",onBlur:m,onFocus:y,TypographyClasses:w,underline:O="always",variant:j="inherit"}=n,C=Object(r.a)(n,v),{isFocusVisibleRef:E,onBlur:S,onFocus:k,ref:D}=Object(p.a)(),[A,_]=a.useState(!1),F=Object(h.a)(t,D),R=Object(i.a)({},n,{color:c,component:d,focusVisible:A,underline:O,variant:j}),T=(e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,a={root:["root","underline"+Object(l.a)(i),"button"===n&&"button",r&&"focusVisible"]};return Object(s.a)(a,b.b,t)})(R);return Object(g.jsx)(x,Object(i.a)({className:Object(o.default)(T.root,u),classes:w,color:c,component:d,onBlur:e=>{S(e),!1===E.current&&_(!1),m&&m(e)},onFocus:e=>{k(e),!0===E.current&&_(!0),y&&y(e)},ref:F,ownerState:R,variant:j},C))}));t.a=w},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");t.default=o},,,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l})),n.d(t,"d",(function(){return d}));var r=n(421);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function o(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=a(e)).type?a(function(e){var t=(e=a(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),o({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,o(e)}function l(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return o(e)}function d(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(34),l=n(557),d=n(169),f=n(5);const p=["className"],h=Object(u.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>Object(i.a)({minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),m=a.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiListItemIcon"}),{className:u}=n,m=Object(r.a)(n,p),b=a.useContext(d.a),g=Object(i.a)({},n,{alignItems:b.alignItems}),v=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return Object(s.a)(r,l.b,n)})(g);return Object(f.jsx)(h,Object(i.a)({className:Object(o.default)(v.root,u),ownerState:g,ref:t},m))}));t.a=m},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),i=n(0),a=n(420),o=n(5);function s(e,t){const n=(n,i)=>Object(o.jsx)(a.a,Object(r.a)({"data-testid":t+"Icon",ref:i},n,{children:e}));return n.muiName=a.a.muiName,i.memo(i.forwardRef(n))}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a}));var r=Math.max,i=Math.min,a=Math.round},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return l}));var r=n(0),i=n(426),a=(n(2),n(427),n(587),n(261)),o=n(303),s=Object.prototype.hasOwnProperty,u=Object(r.createContext)("undefined"!=typeof HTMLElement?Object(i.a)({key:"css"}):null);var c=u.Provider,l=function(e){return Object(r.forwardRef)((function(t,n){var i=Object(r.useContext)(u);return e(t,i,n)}))},d=Object(r.createContext)({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",p=function(e,t){var n={};for(var r in t)s.call(t,r)&&(n[r]=t[r]);return n[f]=e,n},h=l((function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var u=e[f],c=[i],l="";"string"==typeof e.className?l=Object(a.a)(t.registered,c,e.className):null!=e.className&&(l=e.className+" ");var p=Object(o.a)(c,void 0,Object(r.useContext)(d));Object(a.b)(t,p,"string"==typeof u);l+=t.key+"-"+p.name;var h={};for(var m in e)s.call(e,m)&&"css"!==m&&m!==f&&(h[m]=e[m]);return h.ref=n,h.className=l,Object(r.createElement)(u,h)}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Y})),n.d(t,"b",(function(){return me})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return ge})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return p}));var r=n(2),i=n(358),a=(n(430),n(402)),o=n(347),s=n(432),u=n(18),c={}.constructor;function l(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(l);if(e.constructor!==c)return e;var t={};for(var n in e)t[n]=l(e[n]);return t}function d(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=l(t),a=r.plugins.onCreateRule(e,i,n);return a||(e[0],null)}var f=function(e,t){for(var n="",r=0;r<+~=|^:(),"'`\s])/g,v="undefined"!=typeof CSS&&CSS.escape,y=function(e){return v?v(e):e.replace(g,"\\$1")},x=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var a=null==i||!1===i,o=e in this.style;if(a&&!o&&!r)return this;var s=a&&o;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),w=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var a=r.selector,o=r.scoped,u=r.sheet,c=r.generateId;return a?i.selectorText=a:!1!==o&&(i.id=c(Object(s.a)(Object(s.a)(i)),u),i.selectorText="."+y(i.id)),i}Object(o.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.selectorText,this.style,n)},Object(a.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(x),O={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new w(e,t,n)}},j={indent:1,children:!0},C=/@([\w-]+)/,E=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(C);for(var a in this.at=i?i[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(a,t[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){void 0===e&&(e=j);var t=h(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),S=/@media|@supports\s+/,k={onCreateRule:function(e,t,n){return S.test(e)?new E(e,t,n):null}},D={indent:1,children:!0},A=/@keyframes\s+([\w-]+)/,_=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(A);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var a=n.scoped,o=n.sheet,s=n.generateId;for(var u in this.id=!1===a?this.name:y(s(this,o)),this.rules=new Y(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=D);var t=h(e).linebreak;if(null==e.indent&&(e.indent=D.indent),null==e.children&&(e.children=D.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),F=/@keyframes\s+/,R=/\$([\w-]+)/g,T=function(e,t){return"string"==typeof e?e.replace(R,(function(e,n){return n in t?t[n]:e})):e},P=function(e,t,n){var r=e[t],i=T(r,n);i!==r&&(e[t]=i)},M={onCreateRule:function(e,t,n){return"string"==typeof e&&F.test(e)?new _(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&P(e,"animation-name",n.keyframes),"animation"in e&&P(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return T(e,r.keyframes);default:return e}}},B=function(e){function t(){return e.apply(this,arguments)||this}return Object(o.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return b(this.key,this.style,n)},t}(x),N={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new B(e,t,n):null}},I=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(u.a)(t,["attached"]),i=h(r).linebreak,a="",o=0;o0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=se(),n=0;nn?n:t},fe=function(){function e(e){this.getPropertyValue=re,this.setProperty=ie,this.removeProperty=ae,this.setSelector=oe,this.hasInsertedRules=!1,this.cssRules=[],e&&Z.add(e),this.sheet=e;var t,n=this.sheet?this.sheet.options:{},r=n.media,i=n.meta,a=n.element;this.element=a||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),r&&this.element.setAttribute("media",r),i&&this.element.setAttribute("data-meta",i);var o=ce();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ue(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,a=i.parentNode;a&&a.insertBefore(e,i.nextSibling)}else se().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;ne.transitions.easing.easeInOut,f.a.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,f.a.child,f.a.childLeaving,w,550,({theme:e})=>e.transitions.easing.easeInOut,f.a.childPulsate,O,({theme:e})=>e.transitions.easing.easeInOut),E=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTouchRipple"}),{center:u=!1,classes:c={},className:d}=n,m=Object(i.a)(n,h),[b,g]=a.useState([]),v=a.useRef(0),y=a.useRef(null);a.useEffect(()=>{y.current&&(y.current(),y.current=null)},[b]);const x=a.useRef(!1),w=a.useRef(null),O=a.useRef(null),E=a.useRef(null);a.useEffect(()=>()=>{clearTimeout(w.current)},[]);const S=a.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;g(e=>[...e,Object(p.jsx)(C,{classes:{ripple:Object(s.default)(c.ripple,f.a.ripple),rippleVisible:Object(s.default)(c.rippleVisible,f.a.rippleVisible),ripplePulsate:Object(s.default)(c.ripplePulsate,f.a.ripplePulsate),child:Object(s.default)(c.child,f.a.child),childLeaving:Object(s.default)(c.childLeaving,f.a.childLeaving),childPulsate:Object(s.default)(c.childPulsate,f.a.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},v.current)]),v.current+=1,y.current=a},[c]),k=a.useCallback((e={},t={},n)=>{const{pulsate:r=!1,center:i=u||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e.type&&x.current)return void(x.current=!1);"touchstart"===e.type&&(x.current=!0);const o=a?null:E.current,s=o?o.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,l,d;if(i||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),l=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches?e.touches[0]:e;c=Math.round(t-s.left),l=Math.round(n-s.top)}if(i)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((o?o.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((o?o.clientHeight:0)-l),l)+2;d=Math.sqrt(e**2+t**2)}e.touches?null===O.current&&(O.current=()=>{S({pulsate:r,rippleX:c,rippleY:l,rippleSize:d,cb:n})},w.current=setTimeout(()=>{O.current&&(O.current(),O.current=null)},80)):S({pulsate:r,rippleX:c,rippleY:l,rippleSize:d,cb:n})},[u,S]),D=a.useCallback(()=>{k({},{pulsate:!0})},[k]),A=a.useCallback((e,t)=>{if(clearTimeout(w.current),"touchend"===e.type&&O.current)return O.current(),O.current=null,void(w.current=setTimeout(()=>{A(e,t)}));O.current=null,g(e=>e.length>0?e.slice(1):e),y.current=t},[]);return a.useImperativeHandle(t,()=>({pulsate:D,start:k,stop:A}),[D,k,A]),Object(p.jsx)(j,Object(r.a)({className:Object(s.default)(c.root,f.a.root,d),ref:E},m,{children:Object(p.jsx)(o.a,{component:null,exit:!0,children:b})}))}));t.a=E},function(e,t,n){"use strict";var r=n(0),i=(n(11),n(12)),a=n(5);t.a=function(e){const{className:t,classes:n,pulsate:o=!1,rippleX:s,rippleY:u,rippleSize:c,in:l,onExited:d,timeout:f}=e,[p,h]=r.useState(!1),m=Object(i.default)(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),b={width:c,height:c,top:-c/2+u,left:-c/2+s},g=Object(i.default)(n.child,p&&n.childLeaving,o&&n.childPulsate);return l||p||h(!0),r.useEffect(()=>{if(!l&&null!=d){const e=setTimeout(d,f);return()=>{clearTimeout(e)}}},[d,l,f]),Object(a.jsx)("span",{className:m,style:b,children:Object(a.jsx)("span",{className:g})})}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=n(658).default,e.exports.ResizableBox=n(1240).default},,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiCollapse",e)}Object(i.a)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"])},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiListItemSecondaryAction",e)}Object(i.a)("MuiListItemSecondaryAction",["root","disableGutters"])},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");t.default=o},,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.default=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTable",e)}Object(i.a)("MuiTable",["root","stickyHeader"])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTableBody",e)}Object(i.a)("MuiTableBody",["root"])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiDrawer",e)}Object(i.a)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"}),"Computer");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Create");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"}),"BugReport");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"}),"AccountBox");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 0H4v2h16V0zM4 24h16v-2H4v2zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 2.75c1.24 0 2.25 1.01 2.25 2.25s-1.01 2.25-2.25 2.25S9.75 10.24 9.75 9 10.76 6.75 12 6.75zM17 17H7v-1.5c0-1.67 3.33-2.5 5-2.5s5 .83 5 2.5V17z"}),"Contacts");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)([(0,a.jsx)("path",{fillRule:"evenodd",d:"M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87z"},"0"),(0,a.jsx)("circle",{cx:"9",cy:"8",r:"4",fillRule:"evenodd"},"1"),(0,a.jsx)("path",{fillRule:"evenodd",d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24C14.5 5.27 15 6.58 15 8s-.5 2.73-1.33 3.76c.42.14.86.24 1.33.24zm-6 1c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"},"2")],"PeopleAlt");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}),"Public");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5L22 16z"}),"AirplanemodeActive");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"}),"Work");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"}),"FormatBold");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}),"Business");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M7 20c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-3H7v3zM18 7c-.55 0-1 .45-1 1V5c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v5.8c0 .13.01.26.04.39l.8 4c.09.47.5.8.98.8h10.36c.45 0 .89-.36.98-.8l.8-4c.03-.13.04-.26.04-.39V8c0-.55-.45-1-1-1zm-3 3H7V7h8v3z"}),"SportsMma");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 16h-2v-2h2v2zm2.07-7.75-.9.92C13.45 11.9 13 12.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}),"LiveHelp");t.default=o},,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiAccordionDetails",e)}Object(i.a)("MuiAccordionDetails",["root"])},,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M19 13H5v-2h14v2z"}),"Remove");t.default=o},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(30),c=n(17),l=n(273),d=n(199),f=n(295),p=n(866),h=n(5);const m=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],b=Object(c.a)(f.a,{skipSx:!0})(({ownerState:e})=>Object(i.a)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),g=Object(c.a)("input",{skipSx:!0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),v=a.forwardRef((function(e,t){const{autoFocus:n,checked:a,checkedIcon:c,className:f,defaultChecked:v,disabled:y,disableFocusRipple:x=!1,edge:w=!1,icon:O,id:j,inputProps:C,inputRef:E,name:S,onBlur:k,onChange:D,onFocus:A,readOnly:_,required:F,tabIndex:R,type:T,value:P}=e,M=Object(r.a)(e,m),[B,N]=Object(l.a)({controlled:a,default:Boolean(v),name:"SwitchBase",state:"checked"}),I=Object(d.a)();let L=y;I&&void 0===L&&(L=I.disabled);const z="checkbox"===T||"radio"===T,W=Object(i.a)({},e,{checked:B,disabled:L,disableFocusRipple:x,edge:w}),V=(e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,a={root:["root",n&&"checked",r&&"disabled",i&&"edge"+Object(u.a)(i)],input:["input"]};return Object(s.a)(a,p.a,t)})(W);return Object(h.jsxs)(b,Object(i.a)({component:"span",className:Object(o.default)(V.root,f),centerRipple:!0,focusRipple:!x,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{A&&A(e),I&&I.onFocus&&I.onFocus(e)},onBlur:e=>{k&&k(e),I&&I.onBlur&&I.onBlur(e)},ownerState:W,ref:t},M,{children:[Object(h.jsx)(g,Object(i.a)({autoFocus:n,checked:a,defaultChecked:v,className:V.input,disabled:L,id:z&&j,name:S,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;N(t),D&&D(e,t)},readOnly:_,ref:E,required:F,ownerState:W,tabIndex:R,type:T},"checkbox"===T&&void 0===P?{}:{value:P},C)),B?c:O]}))}));t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("PrivateSwitchBase",e)}Object(i.a)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"])},,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),i=n(18),a=n(0),o=(n(11),n(228)),s=n(230),u=n(5);const c=["onChange"],l={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function d(e){const{onChange:t}=e,n=Object(i.a)(e,c),d=a.useRef(),f=a.useRef(null),p=()=>{d.current=f.current.offsetHeight-f.current.clientHeight};return a.useEffect(()=>{const e=Object(o.a)(()=>{const e=d.current;p(),e!==d.current&&t(d.current)}),n=Object(s.a)(f.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),a.useEffect(()=>{p(),t(d.current)},[t]),Object(u.jsx)("div",Object(r.a)({style:l,ref:f},n))}},function(e,t,n){"use strict";function r(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function i(e,t,n,i={},a=(()=>{})){const{ease:o=r,duration:s=300}=i;let u=null;const c=t[e];let l=!1;const d=()=>{l=!0},f=r=>{if(l)return void a(new Error("Animation cancelled"));null===u&&(u=r);const i=Math.min(1,(r-u)/s);t[e]=o(i)*(n-c)+c,i>=1?requestAnimationFrame(()=>{a(null)}):requestAnimationFrame(f)};return c===n?(a(new Error("Element already at target position")),d):(requestAnimationFrame(f),d)}n.d(t,"a",(function(){return i}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiLinearProgress",e)}Object(i.a)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"])},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTableContainer",e)}Object(i.a)("MuiTableContainer",["root"])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTableHead",e)}Object(i.a)("MuiTableHead",["root"])},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return Ce}));var r=n(0),i=n.n(r),a=n(11),o=n.n(a),s=n(1326),u=n(1177),c=n(339),l=n(1167),d=n(1165),f=n(1169),p=n(1305),h=n(1176),m=n(1322),b=n(649),g=n(1174),v=n(1173),y=n(578),x=n(1309),w=n(1175);function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(){return(j=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var k,D,A={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},_=(e,t)=>{var n="00000000".concat((16777215&e).toString(16).toUpperCase()).substr(-6);if(!Number.isNaN(t)&&void 0!==t){var r=t.toString(16).toUpperCase();1===r.length&&(r="0".concat(r)),n+=r}return n},F=e=>[(16711680&e)>>16,(65280&e)>>8,255&e],R=e=>{var t=e.map(e=>{var t=e||0;return t<0&&(t=0),t>255&&(t=255),t});return t[3]<<24|t[0]<<16|t[1]<<8|t[2]},T=e=>{if(!e||e.length<3||e.length>4)return{error:"not valid size"};var t=e.map((e,t)=>"string"==typeof e?"%"!==e[e.length-1]?Math.round(Number(e)*(3===t?255:1)):Math.round(Number(e.substring(0,e.length-1))/100*255):Math.round(3===t?255*e:e));return{format:"rgb",value:R(t),rgb:t,alpha:t[3]}},P=e=>{var t,n=Number("0x".concat(e.substring(1)));if(!Number.isInteger(n)||Number.isNaN(n))return{error:"Not an hex value"};var r=[];if(7===e.length||9===e.length){var i=9===e.length?8:0;r[0]=n>>16+i&255,r[1]=n>>8+i&255,r[2]=n>>i&255,9===e.length&&(t=255&n,r[3]=t,n=R(r))}else{if(4!==e.length&&5!==e.length)return{error:"Wrong format"};var a=5===e.length?4:0;r[0]=n>>8+a&15,r[1]=n>>4+a&15,r[2]=n>>a&15,r[0]|=r[0]<<4,r[1]|=r[1]<<4,r[2]|=r[2]<<4,5===e.length&&(t=15&n,t|=t<<4,r[3]=t),n=R(r)}return{format:"hex",value:n,rgb:r,alpha:t}},M=e=>{var t=e;return"string"==typeof t&&(t.indexOf("deg")>-1?t=t.substr(0,t.length-3):t.indexOf("rad")>-1?t=Math.round(t.substr(0,t.length-3)*(180/Math.PI)):t.indexOf("turn")>-1&&(t=Math.round(360*t.substr(0,t.length-4))),t=parseFloat(t,10)),Number.isNaN(t)&&(t=0),t>=360&&(t%=360),t<0&&(t=0),t},B=e=>{var t=e;return"string"==typeof t&&(t=parseFloat(t.indexOf("%")>-1?t.substring(0,t.length-1):t,10)),Number.isNaN(t)?t=0:t>100?t=100:t<0&&(t=0),t},N=e=>{if(!e||e.length<3||e.length>4)return{error:"Not a valid size"};var t,n=e,r=M(n[0]),i=B(n[1]),a=B(n[2]);n[0]=r,n[1]=i,n[2]=a,a/=100;var o=(i/=100)*(1-Math.abs(2*a-1)),s=o*(1-Math.abs(r/60%2-1)),u=a-o/2;0===i?(t=[a,a,a],u=0):t=r>=0&&r<60?[o,s,0]:r>=60&&r<120?[s,o,0]:r>=120&&r<180?[0,o,s]:r>=180&&r<240?[0,s,o]:r>=240&&r<300?[s,0,o]:[o,0,s],t[0]=Math.round(255*(t[0]+u)),t[1]=Math.round(255*(t[1]+u)),t[2]=Math.round(255*(t[2]+u));var c=n[3];return void 0!==c&&("string"==typeof c&&(c=c.indexOf("%")>-1?parseFloat(c.substring(0,c.length-1),10)/100:parseFloat(c,10)),c=Math.floor(255*c),t[3]=c),{format:"hsl",value:R(t),rgb:t,hsl:n,alpha:c}},I=e=>{if(!e||e.length<3||e.length>4)return{error:"Not a valid size"};var t,n=M(e[0]),r=B(e[1]),i=B(e[2]);if(i*=2.55,0===r)t=[i=Math.round(i),i,i];else{n/=360,r/=100;var a=Math.floor(6*n),o=6*n-a,s=Math.round(i*(1-r)),u=Math.round(i*(1-r*o)),c=Math.round(i*(1-r*(1-o)));i=Math.round(i),t=0==(a%=6)?[i,c,s]:1===a?[u,i,s]:2===a?[s,i,c]:3===a?[s,u,i]:4===a?[c,s,i]:[i,s,u]}var l=e[3];return void 0!==l&&("string"==typeof l&&(l=l.indexOf("%")>-1?parseFloat(l.substring(0,l.length-1),10)/100:parseFloat(l,10)),l=Math.floor(255*l),t[3]=l),{format:"hsl",value:R(t),rgb:t,hsv:e,alpha:l}},L=e=>{var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r);return{cmax:a,cmin:i,delta:a-i,r:t,g:n,b:r}},z=e=>{var{cmin:t,cmax:n,delta:r,r:i,g:a,b:o}=L(e),s=0,u=0,c=(t+n)/2;0!==r&&(u=r/(1-Math.abs(2*c-1)),u=Math.round(+(100*u).toFixed(1)),s=n===i?(a-o)/r%6:n===a?(o-i)/r+2:(i-a)/r+4,(s=Math.round(60*s))<0&&(s+=360));var l=[s,u,c=Math.round(c+100*c)];return 4===e.length&&(l[3]=e[3]/255),l},W=e=>{var{cmax:t,delta:n,r:r,g:i,b:a}=L(e);if(0===n)return[0,0,Math.round(100*t)];var o,s=t,u=n/t,c=(t-r)/n,l=(t-i)/n,d=(t-a)/n;return(o=(o=r===t?d-l:i===t?2+c-d:4+l-c)/6%1)<0&&(o+=1),[o=Math.round(360*o),u=Math.round(100*u),s=Math.round(100*s)]},V=e=>{var t=e.substring(e.indexOf("(")+1,e.indexOf(")"));return t.indexOf(",")>-1?t.split(","):t.indexOf(" ")>-1?t.split(" ").filter(e=>e.length>0&&"/"!==e):void 0},U=["plain","hex","rgb","hsl","hsv"],H=[e=>({format:"plain",value:A[e[0]]}),e=>P(e[0]),e=>T(e),e=>N(e),e=>I(e)],q=[e=>({format:"plain",value:A[e]}),e=>P(e),e=>T(V(e)),e=>N(V(e))],$=[e=>void 0!==A[e],e=>e.startsWith("#"),e=>e.startsWith("rgb(")||e.startsWith("rgba("),e=>e.startsWith("hsl(")||e.startsWith("hsla(")],G=function(e,t){var n,r,i,a,o,s,u,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],d={raw:e},f=t||"unknown";if("transparent"===e)d.name=e,f="plain",r=0;else if("string"==typeof e){var p=e.trim().toLocaleLowerCase(),h=$.findIndex(e=>e(p));h>-1&&(({value:n,format:f,rgb:i,hsl:a,alpha:r,error:s}=q[h](p)),"plain"===f&&(d.name=e),f&&(d.css={backgroundColor:e}))}else if(Number.isInteger(e))n=e,f="number";else if(Array.isArray(e)&&f){var m=U.findIndex(e=>e===f);m>-1?({value:n,format:f,rgb:i,hsl:a,hsv:o,alpha:r,error:s}=H[m](e)):s="unkown format"}else e&&"r"in e&&"g"in e&&"b"in e?(i=[e.r,e.g,e.b],e.a&&i.push(e.a),({value:n,format:f,rgb:i,alpha:r,error:s}=T(i))):e&&"h"in e&&"s"in e&&"l"in e?(a=[e.h,e.s,e.l],e.a&&a.push(e.a),({value:n,format:f,rgb:i,hsl:a,alpha:r,error:s}=N(a))):e&&"h"in e&&"s"in e&&"v"in e&&(o=[e.h,e.s,e.v],e.a&&o.push(e.a),({value:n,format:f,rgb:i,hsv:o,alpha:r,error:s}=I(o)));void 0===n&&(n=0,r=0===r?r:void 0,d.css={backgroundImage:"\n linear-gradient(45deg, #ccc 25%, transparent 25%), \n linear-gradient(135deg, #ccc 25%, transparent 25%),\n linear-gradient(45deg, transparent 75%, #ccc 75%),\n linear-gradient(135deg, transparent 75%, #ccc 75%)",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px",backgroundColor:"white"},"transparent"!==e&&(f="unknown",d.name="none")),s&&(d.error=s),d.value=n,d.alpha=Number.isNaN(r)||void 0===r?1:r/255,d.format=f,c||1===d.alpha?1===d.alpha&&-16777216===d.value&&(u=255):u=Math.floor(255*d.alpha);var b=_(n,u);return d.hex=b,i=i||F(n),d.rgb=i,d.hsv=o||W(i),d.hsl=a||z(i),d.css||(d.css={backgroundColor:"#".concat(b)}),d.name||(d.name=l&&Object.keys(A).find(e=>A[e]===n)||"color-".concat(b)),d},Y=(e,t,n)=>{var r;return"hex"===t&&(r="#".concat(_(e.value,n||1===e.alpha?void 0:Math.floor(255*e.alpha)))),r},K=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=e,o=!1;return e&&e.format&&e.name?a.error&&n&&(a.error=n(a.error)):(a=e,n&&"string"==typeof a&&(k&&r===D||(D=r,k={},Object.keys(A).forEach(e=>{k[n(e)]=e})),o=(a=k[a]||a)!==e),(a=G(a,null,t,!i)).name&&n&&(a.translated=n(a.name),o&&a.translated&&(a.name=a.translated),a.error&&(a.error=n(a.error)))),a},X=Object(a.oneOfType)([Object(a.shape)({css:Object(a.shape)({}),value:a.number,hex:a.string,raw:Object(a.oneOfType)([a.string,a.array,a.number,a.shape]),name:a.string,alpha:a.number,rgb:Object(a.arrayOf)(a.number),hsv:Object(a.arrayOf)(a.number),hsl:Object(a.arrayOf)(a.number)}),a.string,a.number]),Z=Object(a.objectOf)(a.string),Q=Object(a.arrayOf)(a.string),J={use:()=>({i18n:{language:"us"},t:e=>e})},ee=e=>(e&&(J.use=e),J.use()),te=Object(c.a)({root:{backgroundImage:e=>e.colorError||e.alpha<1?"\n linear-gradient(45deg, #ccc 25%, transparent 25%), \n linear-gradient(135deg, #ccc 25%, transparent 25%),\n linear-gradient(45deg, transparent 75%, #ccc 75%),\n linear-gradient(135deg, transparent 75%, #ccc 75%)":"none",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px",backgroundColor:e=>e.backgroundColor||"#fff",boxShadow:"0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08)",borderColor:e=>e.borderColor||"#767676",borderStyle:"solid",borderWidth:e=>e.borderWidth||0,borderRadius:4,padding:0,width:e=>e.width,minWidth:e=>e.minWidth,height:e=>e.height,"& div":{content:'" "',background:e=>e.colorError?"repeating-linear-gradient(\n 135deg,\n transparent,\n transparent ".concat(e.width/2+2,"px,\n #f44336 ").concat(e.width/2+2,"px,\n #f44336 ").concat(e.width/2+4,"px\n )"):"none",backgroundColor:e=>e.colorError?"transparent":e.backgroundColor||"#fff",width:e=>e.width,minWidth:e=>e.minWidth,height:e=>e.height,border:e=>e.colorError?"2px solid #f44336":"".concat(e.borderWidth||0,"px solid ").concat(e.borderColor||"#767676"),borderRadius:4,padding:0},"&:hover div":{backgroundColor:e=>e.hoverColor},"&:active":{boxShadow:"none"},"&:focus":{boxShadow:"0 0 0 0.2rem rgba(0, 123, 255, 0.5)"}},tooltip:{width:"min-content"}}),ne=e=>{var{color:t,size:n,borderWidth:r,borderColor:a,forwardRef:o,tooltip:s,disableAlpha:u,className:c}=e,l=S(e,["color","size","borderWidth","borderColor","forwardRef","tooltip","disableAlpha","className"]),{t:d,i18n:h}=ee(),m=K(t,u,d,h.language),b=d(s),g=m.css,v=m.hsl[2]-10;v<30&&(v=m.hsl[2]+50);var y=m.alpha,x="hsl(".concat(m.hsl[0],", ").concat(m.hsl[1],"%, ").concat(v,"%, ").concat(y,")"),w=te(E({width:n,minWidth:n,height:n,hoverColor:x,borderColor:a,borderWidth:r,alpha:y,colorError:!!m.error},g)),O=i.a.createElement(f.a,j({"data-testid":"colorbutton",className:"".concat(w.root," ").concat(null!=c?c:""),ref:o,variant:"contained","aria-label":m.name},l),i.a.createElement("div",null));return s?i.a.createElement(p.a,{title:b},i.a.createElement("div",{className:w.tooltip},O)):O};ne.propTypes={color:X.isRequired,size:o.a.number,disableAlpha:o.a.bool,borderWidth:o.a.number,borderColor:o.a.string,tooltip:o.a.string,forwardRef:o.a.shape({current:o.a.elementType})},ne.defaultProps={size:24,borderWidth:0,borderColor:void 0,forwardRef:void 0,tooltip:void 0,disableAlpha:!1};var re="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function ie(e){var t=r.useRef(e);return re(()=>{t.current=e}),r.useCallback((function(){return(0,t.current)(...arguments)}),[])}var ae=Object(c.a)({root:{position:"absolute",width:"inherit",height:"inherit",background:e=>"".concat(e.cssRgb," none repeat scroll 0% 0%"),margin:0},gradientPosition:{position:"absolute",width:"100%",height:"100%"},hsvGradientS:{background:"rgba(0, 0, 0, 0) linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0)) repeat scroll 0% 0%"},hsvGradientV:{background:"rgba(0, 0, 0, 0) linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0)) repeat scroll 0% 0%"},hslGradientS:{background:"rgba(0, 0, 0, 0) linear-gradient(to bottom, rgb(128, 128, 128), rgba(255, 255, 255, 0)) repeat scroll 0% 0%"},hslGradientL:{background:"rgba(0, 0, 0, 0) linear-gradient(to left, rgb(0, 0, 0), rgba(128, 128, 128, 0), rgb(255, 255, 255)) repeat scroll 0% 0%"},hsvGradientCursor:{position:"absolute",top:0,left:0,borderColor:"#f0f0f0",borderWidth:1,borderStyle:"solid",boxShadow:"rgba(0, 0, 0, 0.37) 0px 1px 4px 0px",transition:"box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",borderRadius:4,cursor:e=>!e.pressed&&"pointer",zIndex:100,transform:"translate(-4px, -4px)","&:hover":{boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"},"&:focus":{outline:"none !important",boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"},"&:focus > div":{}},hsvGradientCursorC:{width:8,height:8,borderRadius:4,boxShadow:"white 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08)"}}),oe=e=>{var{className:t,color:n,onChange:r,isHsl:a}=e,o=S(e,["className","color","onChange","isHsl"]),s=i.a.useRef(n),[u,c]=i.a.useState(!1),l=i.a.useRef(!1);i.a.useEffect(()=>{s.current=n});var d,f,p,h,m,b,g=i.a.useRef(),v=i.a.useRef(),y={x:0,y:0},x=(f=255,h=6*(d=n.hsv[0]/360)-(p=Math.floor(6*d)),m=Math.round(f*(1-h)),b=Math.round(f*h),f=Math.round(f),0==(p%=6)?[f,b,0]:1===p?[m,f,0]:2===p?[0,f,b]:3===p?[0,m,f]:4===p?[b,0,f]:[f,0,m]),w="rgb(".concat(x[0],",").concat(x[1],",").concat(x[2],")"),O=ae(E(E({},o),{},{cssRgb:w})),C=(e,t)=>{y=e,v.current.style.top="".concat(e.y,"px"),v.current.style.left="".concat(e.x,"px"),t&&v.current.focus()},k=e=>{if(e){var{hsv:t,hsl:r}=n;y={x:Math.round((a?100-r[2]:t[1])/100*(e.clientWidth-1)),y:Math.round((a?r[1]:100-t[2])/100*(e.clientHeight-1))},C(y)}};k(g.current),g.current&&(g.current.style.background="".concat(w," none repeat scroll 0% 0%"));var D=(e,t)=>{var{x:n,y:i}=e,o=t.getBoundingClientRect(),u={x:n-o.left,y:i-o.top};u.x<0&&(u.x=0),u.y<0&&(u.y=0),u.x>=t.clientWidth&&(u.x=t.clientWidth-1),u.y>=t.clientHeight&&(u.y=t.clientHeight-1),C(u,!0);var c=s.current;if(a){var l=u.y/(t.clientHeight-1)*100,d=100*(1-u.x/(t.clientWidth-1));r([c.hsl[0],l,d])}else{var f=u.x/(t.clientWidth-1)*100,p=100*(1-u.y/(t.clientHeight-1));r([c.hsv[0],f,p])}};i.a.useEffect(()=>{var e=g.current;k(e);var t=e=>{c(!0),l.current=!0,e.preventDefault()},n=t=>{var n={x:t.pageX-window.scrollX,y:t.pageY-window.scrollY};D(n,e),l.current=!1,t.preventDefault()},r=t=>{if(l.current&&t.buttons){var n={x:t.pageX-window.scrollX,y:t.pageY-window.scrollY};D(n,e),t.preventDefault()}},i=t=>{var n={x:t.touches[0].pageX-window.scrollX,y:t.touches[0].pageY-window.scrollY};D(n,e),t.preventDefault()};return e.addEventListener("mousedown",t),e.addEventListener("mouseup",n),e.addEventListener("mousemove",r),e.addEventListener("touchdown",t),e.addEventListener("touchup",n),e.addEventListener("touchmove",i),()=>{e.removeEventListener("mousedown",t),e.removeEventListener("mouseup",n),e.removeEventListener("mousemove",r),e.removeEventListener("touchdown",t),e.removeEventListener("touchup",n),e.removeEventListener("touchmove",i)}},[]);var A=ie(e=>{if(u){var{x:t,y:n}=y;switch(e.key){case"ArrowRight":t+=1;break;case"ArrowLeft":t-=1;break;case"ArrowDown":n+=1;break;case"ArrowUp":n-=1;break;case"Tab":return void c(!1);default:return}e.preventDefault();var r=g.current.getBoundingClientRect();D({x:t+r.left,y:n+r.top},g.current)}}),_=ie(e=>{c(!0),e.preventDefault()}),F=ie(e=>{c(!1),e.preventDefault()});return i.a.createElement("div",{className:t},i.a.createElement("div",j({className:O.root},o,{ref:g,"data-testid":"hsvgradient-color"}),i.a.createElement("div",{className:"muicc-hsvgradient-s ".concat(a?O.hslGradientS:O.hsvGradientS," ").concat(O.gradientPosition)},i.a.createElement("div",{className:"muicc-hsvgradient-v ".concat(a?O.hslGradientL:O.hsvGradientV," ").concat(O.gradientPosition)},i.a.createElement("div",{ref:v,tabIndex:"0",role:"slider","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":n.hsv[1],pressed:"".concat(l.current),"data-testid":"hsvgradient-cursor",className:"muicc-hsvgradient-cursor ".concat(O.hsvGradientCursor),onKeyDown:A,onFocus:_,onBlur:F},i.a.createElement("div",{className:"muicc-hsvgradient-cursor-c ".concat(O.hsvGradientCursorC)}))))))};oe.propTypes={color:X.isRequired,className:o.a.string.isRequired,onChange:o.a.func.isRequired,isHsl:o.a.bool},oe.defaultProps={isHsl:!1};var se=e=>{var{Element:t,defaultValue:n}=e,r=S(e,["Element","defaultValue"]),[a,o]=i.a.useState(n);return i.a.createElement(t,E(E({},r),{},{value:a,onChange:o}))},ue=e=>{var t=t=>{var{defaultValue:n,value:r,onChange:a}=t,o=S(t,["defaultValue","value","onChange"]);return a||"none"!==r?i.a.createElement(e,E({value:r||n,onChange:a||(()=>{})},o)):i.a.createElement(se,E({Element:e,defaultValue:n},o))};return t.propTypes=E(E({},e.propTypes),{},{defaultValue:e.propTypes.value,onChange:o.a.func}),t.defaultProps=E(E({},e.defaultProps),{},{defaultValue:void 0,onChange:void 0}),t},ce=Object(c.a)({root:{display:"flex",flexDirection:"row"},colorinputRaw:{paddingRight:4},formControl:{width:100}}),le=e=>{var t,n,{value:r,format:a,onChange:o,disableAlpha:s,enableErrorDisplay:u,forwardRef:c,disablePlainColor:l}=e,d=S(e,["value","format","onChange","disableAlpha","enableErrorDisplay","forwardRef","disablePlainColor"]),f=ce(),{t:p,i18n:h}=ee(),m=K(r,s,p,h.language,l),w=e=>{if("plain"===a)o(e.target.value);else if("hex"===a)o("#".concat(e.target.value));else{var t=e.target.id,r=Number(e.target.value),i={};Object.keys(n).forEach(e=>{var a=n[e].value;e===t&&((a=r)n[e].max&&(a=n[e].max)),i[e]=a}),o(i)}},O=(e,t,n,r,a)=>i.a.createElement(i.a.Fragment,null,i.a.createElement(v.a,{htmlFor:e,className:"muicc-colorinput-label","data-testid":"colorinput-label"},t),i.a.createElement(y.a,j({id:e,name:e,className:"muicc-colorinput-input",label:t,value:n,placeholder:t,inputProps:{"aria-label":"color-".concat(t),"data-testid":"colorinput-input"},onChange:w,startAdornment:a&&r&&i.a.createElement(x.a,{position:"start"},r)},d)));if("plain"===a)t=O("color-plain","Color",m.raw);else{n=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e,i=K(e,n,r),a={};if("rgb"===t)a.r={value:i.rgb[0],format:"integer",min:0,max:255,name:r("R")},a.g={value:i.rgb[1],format:"integer",min:0,max:255,name:r("G")},a.b={value:i.rgb[2],format:"integer",min:0,max:255,name:r("B")};else if("hsv"===t)a.h={value:i.hsv[0],format:"integer",min:0,max:360,name:r("H"),unit:"°"},a.s={value:i.hsv[1],format:"integer",min:0,max:100,name:r("S"),unit:"%"},a.v={value:i.hsv[2],format:"integer",min:0,max:100,name:r("V"),unit:"%"};else if("hsl"===t)a.h={value:i.hsl[0],format:"integer",min:0,max:360,name:r("H"),unit:"°"},a.s={value:i.hsl[1],format:"integer",min:0,max:100,name:r("S"),unit:"%"},a.l={value:i.hsl[2],format:"integer",min:0,max:100,name:r("L"),unit:"%"};else if("hex"===t){var{hex:o}=i;i.raw&&"string"==typeof i.raw&&i.raw.startsWith("#")&&(o=i.raw.substring(1)),a.hex={value:o,format:"hex",name:r("HEX"),unit:"#"}}else a.value=r(i.value),a.format="unknown";return a}(m,a,s,p);var C=Object.keys(n);t=i.a.createElement("div",{ref:c,className:f.root},C.map(e=>i.a.createElement(b.a,{key:e,className:"muicc-colorinput-raw ".concat(f.colorinputRaw),error:!!m.error},O(e,n[e].name,n[e].value,n[e].unit,1===C.length))))}return i.a.createElement(b.a,{className:f.formControl,error:!!m.error,"data-testid":"colorinput"},t,u&&m.error&&i.a.createElement(g.a,{id:"component-error-text"},m.error))};le.propTypes={value:X,format:o.a.string,onChange:o.a.func.isRequired,disableAlpha:o.a.bool,enableErrorDisplay:o.a.bool,forwardRef:o.a.shape({current:o.a.elementType}),disablePlainColor:o.a.bool},le.defaultProps={value:"none",format:"plain",forwardRef:void 0,disableAlpha:!1,enableErrorDisplay:!0,disablePlainColor:!1};var de=ue(le),fe=Object(c.a)({root:{display:"flex",flexDirection:"row",flexWrap:"wrap",padding:"8px 0 0 8px"},paletteButton:{margin:"0 8px 8px 0",padding:0}}),pe=e=>{var{size:t,borderWidth:n,palette:r,onSelect:a,disableAlpha:o}=e,s=fe(),{t:u}=ee();return i.a.createElement("div",{className:s.root},Object.keys(r).map(e=>i.a.createElement(ne,{size:t,key:"".concat(e),color:r[e],className:"muicc-palette-button ".concat(s.paletteButton),borderWidth:n,tooltip:e,disableAlpha:o,onClick:()=>(e=>{var t=u(e);a&&a(t,r[e])})(e)})))};pe.propTypes={borderWidth:o.a.number,size:o.a.number,palette:Z.isRequired,forwardRef:o.a.shape({current:o.a.elementType}),onSelect:o.a.func,disableAlpha:o.a.bool},pe.defaultProps={borderWidth:0,size:24,forwardRef:void 0,onSelect:void 0,disableAlpha:!1};var he=Object(c.a)(()=>({root:{width:"100%",height:16,padding:0},rail:{height:16,opacity:1,background:"rgba(0, 0, 0, 0) linear-gradient(to right, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100% ) repeat scroll 0% 0%",borderRadius:0},track:{height:16,opacity:0,borderRadius:4,backgroundColor:"transparent"},thumb:{width:16,height:16,marginTop:0,marginLeft:-8,backgroundColor:"#f0f0f0",boxShadow:"rgba(0, 0, 0, 0.37) 0px 1px 4px 0px","&:focus":{boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"}}}));function me(e){var t=he();return i.a.createElement(w.a,j({},e,{classes:{root:t.root,rail:t.rail,track:t.track,thumb:t.thumb}}))}var be=Object(c.a)({root:{color:"#666",width:"100%",height:16,padding:0,background:"linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",backgroundSize:"8px 8px",backgroundColor:"white",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px"},rail:{height:16,opacity:1,background:e=>"rgba(0, 0, 0, 0) linear-gradient(to right, ".concat(e.color,"00 0%, ").concat(e.color," 100%) repeat scroll 0% 0%"),borderRadius:0},track:{height:16,opacity:0,borderRadius:4},thumb:{width:16,height:16,marginTop:0,marginLeft:-8,backgroundColor:"#f0f0f0",boxShadow:"rgba(0, 0, 0, 0.37) 0px 1px 4px 0px","&:focus":{boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"}}});function ge(e){var{color:t}=e,n=S(e,["color"]),r=be({color:t});return i.a.createElement(w.a,j({},n,{classes:{root:r.root,rail:r.rail,track:r.track,thumb:r.thumb}}))}ge.propTypes={color:X.isRequired};var ve=Object(c.a)(e=>({root:{backgroundColor:e.palette.background.paper,position:"relative",width:"min-content",height:"min-content",padding:"0px"},container:{justifyContent:"space-around",overflow:"hidden",width:e=>e.boxWidth,padding:0},colorboxHsvGradient:{width:e=>"calc(".concat(e.boxWidth,"px - 16px)"),height:"calc(128px - 16px)",margin:8},colorboxSliders:{width:e=>e.boxWidth,padding:"8px 8px 4px 8px"},colorboxInputs:{display:"flex",flexDirection:"row",flexWrap:"wrap",padding:"8px 4px 8px 8px",justifyContent:"space-between"},colorboxInput:{},colorboxColorBg:{width:48,height:48,background:"linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px",backgroundColor:"white",borderRadius:4},colorboxColor:{width:48,height:48,background:e=>e.colorError?"repeating-linear-gradient(\n 135deg,\n transparent,\n transparent 29px,\n #f44336 29px,\n #f44336 32px\n )":"none",backgroundColor:e=>e.colorError?"transparent":e.backgroundColor,borderRadius:4,border:e=>e.colorError?"2px solid #f44336":"none"},colorboxControls:{display:"flex",flexDirection:"row",flexWrap:"wrap",padding:8,"&> button":{marginLeft:"auto"}},colorboxError:{color:"#f44336",lineHeight:"36.5px"}})),ye=e=>{var t,{value:n,palette:r,inputFormats:a,deferred:o,onChange:s,disableAlpha:u,hslGradient:c}=e,l=S(e,["value","palette","inputFormats","deferred","onChange","disableAlpha","hslGradient"]),{t:d,i18n:p}=ee(),b=K(n,u,d,p.language),g=s;o&&([b,g]=i.a.useState(b),t=s);var{hsv:v,hsl:y}=b,{alpha:x}=b;x=void 0===x?100:Math.floor(100*x);var w=Y(b,"hex",!0),{backgroundColor:O}=b.css,C=ve({boxWidth:320,backgroundColor:O,colorError:!!b.error}),E=e=>{var t=G(e);g(t)};return i.a.createElement(h.a,j({p:2,className:C.root},l),i.a.createElement(h.a,{className:C.container},i.a.createElement(oe,{className:"muicc-colorbox-hsvgradient ".concat(C.colorboxHsvGradient),color:b,onChange:e=>{var t=G(e,c?"hsl":"hsv");g(t)},isHsl:c}),i.a.createElement("div",{className:"muicc-colorbox-sliders ".concat(C.colorboxSliders)},i.a.createElement(me,{"data-testid":"hueslider","aria-label":"color slider",value:c?y[0]:v[0],min:0,max:360,onChange:(e,t)=>{var n=G([t,b.hsv[1],b.hsv[2]],"hsv");g(n)}}),!u&&i.a.createElement(ge,{"data-testid":"alphaslider",color:w,valueLabelDisplay:"auto","aria-label":"alpha slider",value:x,min:0,max:100,onChange:(e,t)=>{var n=t/100,r=G([b.rgb[0],b.rgb[1],b.rgb[2],n],"rgb");g(r)}})),a.length>0&&i.a.createElement("div",{className:"muicc-colorbox-inputs ".concat(C.colorboxInputs)},i.a.createElement("div",{className:"muicc-colorbox-colorBg ".concat(C.colorboxColorBg)},i.a.createElement("div",{className:"muicc-colorbox-color ".concat(C.colorboxColor)})),a.map(e=>i.a.createElement(de,{key:e,value:b,format:e,disableAlpha:!0,enableErrorDisplay:!1,className:"muicc-colorbox-input ".concat(C.colorboxInput),onChange:E}))),r&&i.a.createElement(i.a.Fragment,null,i.a.createElement(m.a,null),i.a.createElement(pe,{size:26.65,palette:r,onSelect:(e,t)=>{var n=G(t);n.name=e,g(n)},disableAlpha:u})),i.a.createElement("div",{className:"muicc-colorbox-controls ".concat(C.colorboxControls)},b.error&&i.a.createElement("span",{className:"muicc-colorbox-error ".concat(C.colorboxError),"data-testid":"colorbox-error"},d(b.error)),o&&i.a.createElement(f.a,{onClick:()=>{t(b)}},d("Set")))))};ye.propTypes={value:X,deferred:o.a.bool,palette:Z,inputFormats:Q,onChange:o.a.func.isRequired,disableAlpha:o.a.bool,hslGradient:o.a.bool},ye.defaultProps={value:void 0,deferred:!1,palette:void 0,inputFormats:["hex","rgb"],disableAlpha:!1,hslGradient:!1};var xe=ue(ye),we=Object(c.a)({root:{display:"flex",flexDirection:"row",width:"max-content"},colorpickerButton:{margin:6}}),Oe=Object(l.a)({seed:"ColorPicker"}),je=e=>{var{value:t,disableTextfield:n,deferred:a,palette:o,inputFormats:c,openAtStart:l,onChange:f,onOpen:p,doPopup:h,disableAlpha:m,hslGradient:b,hideTextfield:g,disablePlainColor:v}=e,y=we(),x=Object(r.useRef)(null),[w,O]=Object(r.useState)(!1),{t:j,i18n:C}=ee(),E=K(t,m,j,C.language,v),S=((e,t)=>{var n=t?"color-".concat(e.hex):e.name;return n.startsWith("color-")?n="string"==typeof e.raw&&e.raw.startsWith("#")?e.raw:Y(e,"hex"):"none"===n&&(n=e.raw),n})(E,v);Object(r.useEffect)(()=>{l&&O(!0)},[l]);var k=()=>{var e=Boolean(x.current);O(e),p&&p(e)},D=()=>{O(!1),p&&p(!1)},A=i.a.createElement(xe,{value:E,style:{position:"relative"},deferred:a,palette:o,inputFormats:c,disableAlpha:m,hslGradient:b,onChange:e=>{f(e),a&&D()}});A=h?h(A):i.a.createElement(u.a,{id:"color-popover",open:w,anchorEl:x.current,onClose:D,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},A);var _=null;return g||(_=n?i.a.createElement("div",{role:"button","data-testid":"colorpicker-noinput",onClick:k},E.raw):i.a.createElement(s.a,{color:"primary",value:S,onChange:e=>{f(e.target.value)},"data-testid":"colorpicker-input"})),i.a.createElement(d.b,{generateClassName:Oe},i.a.createElement("div",{ref:x,className:y.root},i.a.createElement(ne,{"data-testid":"colorpicker-button",className:"muicc-colorpicker-button ".concat(y.colorpickerButton),color:E,onClick:k}),_,A))};je.propTypes={value:X,disableTextfield:o.a.bool,deferred:o.a.bool,palette:Z,inputFormats:Q,onChange:o.a.func.isRequired,onOpen:o.a.func,openAtStart:o.a.bool,doPopup:o.a.func,disableAlpha:o.a.bool,hslGradient:o.a.bool,hideTextfield:o.a.bool,disablePlainColor:o.a.bool},je.defaultProps={value:"none",disableTextfield:!1,deferred:!1,palette:void 0,inputFormats:["hex","rgb"],onOpen:void 0,openAtStart:!1,doPopup:void 0,disableAlpha:!1,hslGradient:!1,hideTextfield:!1,disablePlainColor:!1};var Ce=ue(je)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=-1e9;function i(){return r+=1}},function(e,t,n){"use strict";var r=n(0),i=n.n(r).a.createContext(null);t.a=i},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for;t.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(e,t,n){"use strict";n(218);var r=n(46),i=n(379),a=n(963),o=n(969),s=n(962),u=n(971),c=n(970),l=n(972),d=n(964),f=n(973),p=n(529);function h(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,h=e.mixins,m=void 0===h?{}:h,b=e.palette,g=void 0===b?{}:b,v=e.spacing,y=e.typography,x=void 0===y?{}:y,w=Object(r.a)(e,["breakpoints","mixins","palette","spacing","typography"]),O=Object(s.a)(g),j=Object(a.a)(n),C=Object(d.a)(v),E=Object(i.a)({breakpoints:j,direction:"ltr",mixins:Object(o.a)(j,C,m),overrides:{},palette:O,props:{},shadows:c.a,typography:Object(u.a)(O,x),spacing:C,shape:l.a,transitions:f.a,zIndex:p.a},w),S=arguments.length,k=new Array(S>1?S-1:0),D=1;D=R?g.text.primary:b.text.primary}var N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(r.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Object(a.a)(4,t));if("string"!=typeof e.main)throw new Error(Object(a.a)(5,JSON.stringify(e.main)));return v(e,"light",n,P),v(e,"dark",i,P),e.contrastText||(e.contrastText=B(e.main)),e},I={dark:g,light:b};return Object(o.a)(Object(r.a)({common:s.a,type:_,primary:N(n),secondary:N(x,"A400","A200","A700"),error:N(O),warning:N(C),info:N(S),success:N(D),grey:u.a,contrastThreshold:R,getContrastText:B,augmentColor:N,tonalOffset:P},I[_]),M)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(46),a=["xs","sm","md","lg","xl"];function o(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,s=void 0===o?"px":o,u=e.step,c=void 0===u?5:u,l=Object(i.a)(e,["values","unit","step"]);function d(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function f(e,t){var r=a.indexOf(t);return r===a.length-1?d(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[a[r+1]]?n[a[r+1]]:t)-c/100).concat(s,")")}return Object(r.a)({keys:a,values:n,up:d,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?d("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-c/100).concat(s,")")},between:f,only:function(e){return f(e,e)},width:function(e){return n[e]}},l)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1168);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Object(r.a)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Object(i.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(i.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(a={minHeight:56},Object(r.a)(a,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(a,e.up("sm"),{minHeight:64}),a)},n)}},function(e,t,n){"use strict";function r(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var i=["none",r(0,2,1,-1,0,1,1,0,0,1,3,0),r(0,3,1,-2,0,2,2,0,0,1,5,0),r(0,3,3,-2,0,3,4,0,0,1,8,0),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)];t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(2),i=n(46),a=n(379);function o(e){return Math.round(1e5*e)/1e5}function s(e){return o(e)}var u={textTransform:"uppercase"};function c(e,t){var n="function"==typeof t?t(e):t,c=n.fontFamily,l=void 0===c?'"Roboto", "Helvetica", "Arial", sans-serif':c,d=n.fontSize,f=void 0===d?14:d,p=n.fontWeightLight,h=void 0===p?300:p,m=n.fontWeightRegular,b=void 0===m?400:m,g=n.fontWeightMedium,v=void 0===g?500:g,y=n.fontWeightBold,x=void 0===y?700:y,w=n.htmlFontSize,O=void 0===w?16:w,j=n.allVariants,C=n.pxToRem,E=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var S=f/14,k=C||function(e){return"".concat(e/O*S,"rem")},D=function(e,t,n,i,a){return Object(r.a)({fontFamily:l,fontWeight:e,fontSize:k(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===l?{letterSpacing:"".concat(o(i/t),"em")}:{},a,j)},A={h1:D(h,96,1.167,-1.5),h2:D(h,60,1.2,-.5),h3:D(b,48,1.167,0),h4:D(b,34,1.235,.25),h5:D(b,24,1.334,0),h6:D(v,20,1.6,.15),subtitle1:D(b,16,1.75,.15),subtitle2:D(v,14,1.57,.1),body1:D(b,16,1.5,.15),body2:D(b,14,1.43,.15),button:D(v,14,1.75,.4,u),caption:D(b,12,1.66,.4),overline:D(b,12,2.66,1,u)};return Object(a.a)(Object(r.a)({htmlFontSize:O,pxToRem:k,round:s,fontFamily:l,fontSize:f,fontWeightLight:h,fontWeightRegular:b,fontWeightMedium:v,fontWeightBold:x},A),E,{clone:!1})}},function(e,t,n){"use strict";t.a={borderRadius:4}},function(e,t,n){"use strict";var r=n(46),i={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)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}t.a={easing:i,duration:a,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?a.standard:n,u=t.easing,c=void 0===u?i.easeInOut:u,l=t.delay,d=void 0===l?0:l;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:o(s)," ").concat(c," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";var r=n(2),i=n(244),a=n(46),o=n(0),s=(n(11),n(1161)),u=n(12),c=n(73),l=n(975),d=o.forwardRef((function(e,t){var n=e.center,c=void 0!==n&&n,d=e.classes,f=e.className,p=Object(a.a)(e,["center","classes","className"]),h=o.useState([]),m=h[0],b=h[1],g=o.useRef(0),v=o.useRef(null);o.useEffect((function(){v.current&&(v.current(),v.current=null)}),[m]);var y=o.useRef(!1),x=o.useRef(null),w=o.useRef(null),O=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(x.current)}}),[]);var j=o.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,a=e.rippleSize,s=e.cb;b((function(e){return[].concat(Object(i.a)(e),[o.createElement(l.a,{key:g.current,classes:d,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a})])})),g.current+=1,v.current=s}),[d]),C=o.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,a=t.center,o=void 0===a?c||t.pulsate:a,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&y.current)y.current=!1;else{"touchstart"===e.type&&(y.current=!0);var l,d,f,p=u?null:O.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(o||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(h.width/2),d=Math.round(h.height/2);else{var m=e.touches?e.touches[0]:e,b=m.clientX,g=m.clientY;l=Math.round(b-h.left),d=Math.round(g-h.top)}if(o)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2==0&&(f+=1);else{var v=2*Math.max(Math.abs((p?p.clientWidth:0)-l),l)+2,C=2*Math.max(Math.abs((p?p.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(v,2)+Math.pow(C,2))}e.touches?null===w.current&&(w.current=function(){j({pulsate:i,rippleX:l,rippleY:d,rippleSize:f,cb:n})},x.current=setTimeout((function(){w.current&&(w.current(),w.current=null)}),80)):j({pulsate:i,rippleX:l,rippleY:d,rippleSize:f,cb:n})}}),[c,j]),E=o.useCallback((function(){C({},{pulsate:!0})}),[C]),S=o.useCallback((function(e,t){if(clearTimeout(x.current),"touchend"===e.type&&w.current)return e.persist(),w.current(),w.current=null,void(x.current=setTimeout((function(){S(e,t)})));w.current=null,b((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:E,start:C,stop:S}}),[E,C,S]),o.createElement("span",Object(r.a)({className:Object(u.default)(d.root,f),ref:O},p),o.createElement(s.a,{component:null,exit:!0},m))}));t.a=Object(c.a)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(d))},function(e,t,n){"use strict";var r=n(0),i=(n(11),n(12)),a=n(157),o="undefined"==typeof window?r.useEffect:r.useLayoutEffect;t.a=function(e){var t=e.classes,n=e.pulsate,s=void 0!==n&&n,u=e.rippleX,c=e.rippleY,l=e.rippleSize,d=e.in,f=e.onExited,p=void 0===f?function(){}:f,h=e.timeout,m=r.useState(!1),b=m[0],g=m[1],v=Object(i.default)(t.ripple,t.rippleVisible,s&&t.ripplePulsate),y={width:l,height:l,top:-l/2+c,left:-l/2+u},x=Object(i.default)(t.child,b&&t.childLeaving,s&&t.childPulsate),w=Object(a.a)(p);return o((function(){if(!d){g(!0);var e=setTimeout(w,h);return function(){clearTimeout(e)}}}),[w,d,h]),r.createElement("span",{className:v,style:y},r.createElement("span",{className:x}))}},function(e,t,n){"use strict";(function(e){ +`),f.a.rippleVisible,x,550,({theme:e})=>e.transitions.easing.easeInOut,f.a.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,f.a.child,f.a.childLeaving,w,550,({theme:e})=>e.transitions.easing.easeInOut,f.a.childPulsate,O,({theme:e})=>e.transitions.easing.easeInOut),E=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiTouchRipple"}),{center:u=!1,classes:c={},className:d}=n,m=Object(i.a)(n,h),[b,g]=a.useState([]),v=a.useRef(0),y=a.useRef(null);a.useEffect(()=>{y.current&&(y.current(),y.current=null)},[b]);const x=a.useRef(!1),w=a.useRef(null),O=a.useRef(null),E=a.useRef(null);a.useEffect(()=>()=>{clearTimeout(w.current)},[]);const S=a.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;g(e=>[...e,Object(p.jsx)(C,{classes:{ripple:Object(s.default)(c.ripple,f.a.ripple),rippleVisible:Object(s.default)(c.rippleVisible,f.a.rippleVisible),ripplePulsate:Object(s.default)(c.ripplePulsate,f.a.ripplePulsate),child:Object(s.default)(c.child,f.a.child),childLeaving:Object(s.default)(c.childLeaving,f.a.childLeaving),childPulsate:Object(s.default)(c.childPulsate,f.a.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},v.current)]),v.current+=1,y.current=a},[c]),k=a.useCallback((e={},t={},n)=>{const{pulsate:r=!1,center:i=u||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e.type&&x.current)return void(x.current=!1);"touchstart"===e.type&&(x.current=!0);const o=a?null:E.current,s=o?o.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,l,d;if(i||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),l=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches?e.touches[0]:e;c=Math.round(t-s.left),l=Math.round(n-s.top)}if(i)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((o?o.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((o?o.clientHeight:0)-l),l)+2;d=Math.sqrt(e**2+t**2)}e.touches?null===O.current&&(O.current=()=>{S({pulsate:r,rippleX:c,rippleY:l,rippleSize:d,cb:n})},w.current=setTimeout(()=>{O.current&&(O.current(),O.current=null)},80)):S({pulsate:r,rippleX:c,rippleY:l,rippleSize:d,cb:n})},[u,S]),D=a.useCallback(()=>{k({},{pulsate:!0})},[k]),A=a.useCallback((e,t)=>{if(clearTimeout(w.current),"touchend"===e.type&&O.current)return O.current(),O.current=null,void(w.current=setTimeout(()=>{A(e,t)}));O.current=null,g(e=>e.length>0?e.slice(1):e),y.current=t},[]);return a.useImperativeHandle(t,()=>({pulsate:D,start:k,stop:A}),[D,k,A]),Object(p.jsx)(j,Object(r.a)({className:Object(s.default)(c.root,f.a.root,d),ref:E},m,{children:Object(p.jsx)(o.a,{component:null,exit:!0,children:b})}))}));t.a=E},function(e,t,n){"use strict";var r=n(0),i=(n(11),n(12)),a=n(5);t.a=function(e){const{className:t,classes:n,pulsate:o=!1,rippleX:s,rippleY:u,rippleSize:c,in:l,onExited:d,timeout:f}=e,[p,h]=r.useState(!1),m=Object(i.default)(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),b={width:c,height:c,top:-c/2+u,left:-c/2+s},g=Object(i.default)(n.child,p&&n.childLeaving,o&&n.childPulsate);return l||p||h(!0),r.useEffect(()=>{if(!l&&null!=d){const e=setTimeout(d,f);return()=>{clearTimeout(e)}}},[d,l,f]),Object(a.jsx)("span",{className:m,style:b,children:Object(a.jsx)("span",{className:g})})}},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";e.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},e.exports.Resizable=n(658).default,e.exports.ResizableBox=n(1240).default},,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiCollapse",e)}Object(i.a)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"])},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined")},function(e,t,n){"use strict";n(0);var r=n(137),i=n(5);t.a=Object(r.a)(Object(i.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiListItemSecondaryAction",e)}Object(i.a)("MuiListItemSecondaryAction",["root","disableGutters"])},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");t.default=o},,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"}),"VisibilityOff");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");t.default=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTable",e)}Object(i.a)("MuiTable",["root","stickyHeader"])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTableBody",e)}Object(i.a)("MuiTableBody",["root"])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiDrawer",e)}Object(i.a)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"}),"Computer");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Create");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z"}),"BugReport");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M3 5v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2H5c-1.11 0-2 .9-2 2zm12 4c0 1.66-1.34 3-3 3s-3-1.34-3-3 1.34-3 3-3 3 1.34 3 3zm-9 8c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1H6v-1z"}),"AccountBox");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 0H4v2h16V0zM4 24h16v-2H4v2zM20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 2.75c1.24 0 2.25 1.01 2.25 2.25s-1.01 2.25-2.25 2.25S9.75 10.24 9.75 9 10.76 6.75 12 6.75zM17 17H7v-1.5c0-1.67 3.33-2.5 5-2.5s5 .83 5 2.5V17z"}),"Contacts");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)([(0,a.jsx)("path",{fillRule:"evenodd",d:"M16.67 13.13C18.04 14.06 19 15.32 19 17v3h4v-3c0-2.18-3.57-3.47-6.33-3.87z"},"0"),(0,a.jsx)("circle",{cx:"9",cy:"8",r:"4",fillRule:"evenodd"},"1"),(0,a.jsx)("path",{fillRule:"evenodd",d:"M15 12c2.21 0 4-1.79 4-4s-1.79-4-4-4c-.47 0-.91.1-1.33.24C14.5 5.27 15 6.58 15 8s-.5 2.73-1.33 3.76c.42.14.86.24 1.33.24zm-6 1c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"},"2")],"PeopleAlt");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}),"Public");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M22 16v-2l-8.5-5V3.5c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5V9L2 14v2l8.5-2.5V19L8 20.5V22l4-1 4 1v-1.5L13.5 19v-5.5L22 16z"}),"AirplanemodeActive");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z"}),"Work");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"m16 6 2.29 2.29-4.88 4.88-4-4L2 16.59 3.41 18l6-6 4 4 6.3-6.29L22 12V6z"}),"TrendingUp");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z"}),"FormatBold");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}),"Business");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M7 20c0 .55.45 1 1 1h8c.55 0 1-.45 1-1v-3H7v3zM18 7c-.55 0-1 .45-1 1V5c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v5.8c0 .13.01.26.04.39l.8 4c.09.47.5.8.98.8h10.36c.45 0 .89-.36.98-.8l.8-4c.03-.13.04-.26.04-.39V8c0-.55-.45-1-1-1zm-3 3H7V7h8v3z"}),"SportsMma");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 16h-2v-2h2v2zm2.07-7.75-.9.92C13.45 11.9 13 12.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}),"LiveHelp");t.default=o},,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiAccordionDetails",e)}Object(i.a)("MuiAccordionDetails",["root"])},,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M19 13H5v-2h14v2z"}),"Remove");t.default=o},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(30),c=n(17),l=n(273),d=n(199),f=n(295),p=n(866),h=n(5);const m=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],b=Object(c.a)(f.a,{skipSx:!0})(({ownerState:e})=>Object(i.a)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),g=Object(c.a)("input",{skipSx:!0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),v=a.forwardRef((function(e,t){const{autoFocus:n,checked:a,checkedIcon:c,className:f,defaultChecked:v,disabled:y,disableFocusRipple:x=!1,edge:w=!1,icon:O,id:j,inputProps:C,inputRef:E,name:S,onBlur:k,onChange:D,onFocus:A,readOnly:_,required:F,tabIndex:R,type:T,value:P}=e,M=Object(r.a)(e,m),[B,N]=Object(l.a)({controlled:a,default:Boolean(v),name:"SwitchBase",state:"checked"}),I=Object(d.a)();let L=y;I&&void 0===L&&(L=I.disabled);const z="checkbox"===T||"radio"===T,W=Object(i.a)({},e,{checked:B,disabled:L,disableFocusRipple:x,edge:w}),V=(e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,a={root:["root",n&&"checked",r&&"disabled",i&&"edge"+Object(u.a)(i)],input:["input"]};return Object(s.a)(a,p.a,t)})(W);return Object(h.jsxs)(b,Object(i.a)({component:"span",className:Object(o.default)(V.root,f),centerRipple:!0,focusRipple:!x,disabled:L,tabIndex:null,role:void 0,onFocus:e=>{A&&A(e),I&&I.onFocus&&I.onFocus(e)},onBlur:e=>{k&&k(e),I&&I.onBlur&&I.onBlur(e)},ownerState:W,ref:t},M,{children:[Object(h.jsx)(g,Object(i.a)({autoFocus:n,checked:a,defaultChecked:v,className:V.input,disabled:L,id:z&&j,name:S,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;N(t),D&&D(e,t)},readOnly:_,ref:E,required:F,ownerState:W,tabIndex:R,type:T},"checkbox"===T&&void 0===P?{}:{value:P},C)),B?c:O]}))}));t.a=v},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("PrivateSwitchBase",e)}Object(i.a)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"])},,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),i=n(18),a=n(0),o=(n(11),n(228)),s=n(230),u=n(5);const c=["onChange"],l={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function d(e){const{onChange:t}=e,n=Object(i.a)(e,c),d=a.useRef(),f=a.useRef(null),p=()=>{d.current=f.current.offsetHeight-f.current.clientHeight};return a.useEffect(()=>{const e=Object(o.a)(()=>{const e=d.current;p(),e!==d.current&&t(d.current)}),n=Object(s.a)(f.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),a.useEffect(()=>{p(),t(d.current)},[t]),Object(u.jsx)("div",Object(r.a)({style:l,ref:f},n))}},function(e,t,n){"use strict";function r(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function i(e,t,n,i={},a=(()=>{})){const{ease:o=r,duration:s=300}=i;let u=null;const c=t[e];let l=!1;const d=()=>{l=!0},f=r=>{if(l)return void a(new Error("Animation cancelled"));null===u&&(u=r);const i=Math.min(1,(r-u)/s);t[e]=o(i)*(n-c)+c,i>=1?requestAnimationFrame(()=>{a(null)}):requestAnimationFrame(f)};return c===n?(a(new Error("Element already at target position")),d):(requestAnimationFrame(f),d)}n.d(t,"a",(function(){return i}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiLinearProgress",e)}Object(i.a)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"])},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTableContainer",e)}Object(i.a)("MuiTableContainer",["root"])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiTableHead",e)}Object(i.a)("MuiTableHead",["root"])},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return Ce}));var r=n(0),i=n.n(r),a=n(11),o=n.n(a),s=n(1326),u=n(1177),c=n(339),l=n(1167),d=n(1165),f=n(1169),p=n(1305),h=n(1176),m=n(1322),b=n(649),g=n(1174),v=n(1173),y=n(578),x=n(1309),w=n(1175);function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(){return(j=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var k,D,A={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},_=(e,t)=>{var n="00000000".concat((16777215&e).toString(16).toUpperCase()).substr(-6);if(!Number.isNaN(t)&&void 0!==t){var r=t.toString(16).toUpperCase();1===r.length&&(r="0".concat(r)),n+=r}return n},F=e=>[(16711680&e)>>16,(65280&e)>>8,255&e],R=e=>{var t=e.map(e=>{var t=e||0;return t<0&&(t=0),t>255&&(t=255),t});return t[3]<<24|t[0]<<16|t[1]<<8|t[2]},T=e=>{if(!e||e.length<3||e.length>4)return{error:"not valid size"};var t=e.map((e,t)=>"string"==typeof e?"%"!==e[e.length-1]?Math.round(Number(e)*(3===t?255:1)):Math.round(Number(e.substring(0,e.length-1))/100*255):Math.round(3===t?255*e:e));return{format:"rgb",value:R(t),rgb:t,alpha:t[3]}},P=e=>{var t,n=Number("0x".concat(e.substring(1)));if(!Number.isInteger(n)||Number.isNaN(n))return{error:"Not an hex value"};var r=[];if(7===e.length||9===e.length){var i=9===e.length?8:0;r[0]=n>>16+i&255,r[1]=n>>8+i&255,r[2]=n>>i&255,9===e.length&&(t=255&n,r[3]=t,n=R(r))}else{if(4!==e.length&&5!==e.length)return{error:"Wrong format"};var a=5===e.length?4:0;r[0]=n>>8+a&15,r[1]=n>>4+a&15,r[2]=n>>a&15,r[0]|=r[0]<<4,r[1]|=r[1]<<4,r[2]|=r[2]<<4,5===e.length&&(t=15&n,t|=t<<4,r[3]=t),n=R(r)}return{format:"hex",value:n,rgb:r,alpha:t}},M=e=>{var t=e;return"string"==typeof t&&(t.indexOf("deg")>-1?t=t.substr(0,t.length-3):t.indexOf("rad")>-1?t=Math.round(t.substr(0,t.length-3)*(180/Math.PI)):t.indexOf("turn")>-1&&(t=Math.round(360*t.substr(0,t.length-4))),t=parseFloat(t,10)),Number.isNaN(t)&&(t=0),t>=360&&(t%=360),t<0&&(t=0),t},B=e=>{var t=e;return"string"==typeof t&&(t=parseFloat(t.indexOf("%")>-1?t.substring(0,t.length-1):t,10)),Number.isNaN(t)?t=0:t>100?t=100:t<0&&(t=0),t},N=e=>{if(!e||e.length<3||e.length>4)return{error:"Not a valid size"};var t,n=e,r=M(n[0]),i=B(n[1]),a=B(n[2]);n[0]=r,n[1]=i,n[2]=a,a/=100;var o=(i/=100)*(1-Math.abs(2*a-1)),s=o*(1-Math.abs(r/60%2-1)),u=a-o/2;0===i?(t=[a,a,a],u=0):t=r>=0&&r<60?[o,s,0]:r>=60&&r<120?[s,o,0]:r>=120&&r<180?[0,o,s]:r>=180&&r<240?[0,s,o]:r>=240&&r<300?[s,0,o]:[o,0,s],t[0]=Math.round(255*(t[0]+u)),t[1]=Math.round(255*(t[1]+u)),t[2]=Math.round(255*(t[2]+u));var c=n[3];return void 0!==c&&("string"==typeof c&&(c=c.indexOf("%")>-1?parseFloat(c.substring(0,c.length-1),10)/100:parseFloat(c,10)),c=Math.floor(255*c),t[3]=c),{format:"hsl",value:R(t),rgb:t,hsl:n,alpha:c}},I=e=>{if(!e||e.length<3||e.length>4)return{error:"Not a valid size"};var t,n=M(e[0]),r=B(e[1]),i=B(e[2]);if(i*=2.55,0===r)t=[i=Math.round(i),i,i];else{n/=360,r/=100;var a=Math.floor(6*n),o=6*n-a,s=Math.round(i*(1-r)),u=Math.round(i*(1-r*o)),c=Math.round(i*(1-r*(1-o)));i=Math.round(i),t=0==(a%=6)?[i,c,s]:1===a?[u,i,s]:2===a?[s,i,c]:3===a?[s,u,i]:4===a?[c,s,i]:[i,s,u]}var l=e[3];return void 0!==l&&("string"==typeof l&&(l=l.indexOf("%")>-1?parseFloat(l.substring(0,l.length-1),10)/100:parseFloat(l,10)),l=Math.floor(255*l),t[3]=l),{format:"hsl",value:R(t),rgb:t,hsv:e,alpha:l}},L=e=>{var t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(t,n,r),a=Math.max(t,n,r);return{cmax:a,cmin:i,delta:a-i,r:t,g:n,b:r}},z=e=>{var{cmin:t,cmax:n,delta:r,r:i,g:a,b:o}=L(e),s=0,u=0,c=(t+n)/2;0!==r&&(u=r/(1-Math.abs(2*c-1)),u=Math.round(+(100*u).toFixed(1)),s=n===i?(a-o)/r%6:n===a?(o-i)/r+2:(i-a)/r+4,(s=Math.round(60*s))<0&&(s+=360));var l=[s,u,c=Math.round(c+100*c)];return 4===e.length&&(l[3]=e[3]/255),l},W=e=>{var{cmax:t,delta:n,r:r,g:i,b:a}=L(e);if(0===n)return[0,0,Math.round(100*t)];var o,s=t,u=n/t,c=(t-r)/n,l=(t-i)/n,d=(t-a)/n;return(o=(o=r===t?d-l:i===t?2+c-d:4+l-c)/6%1)<0&&(o+=1),[o=Math.round(360*o),u=Math.round(100*u),s=Math.round(100*s)]},V=e=>{var t=e.substring(e.indexOf("(")+1,e.indexOf(")"));return t.indexOf(",")>-1?t.split(","):t.indexOf(" ")>-1?t.split(" ").filter(e=>e.length>0&&"/"!==e):void 0},U=["plain","hex","rgb","hsl","hsv"],H=[e=>({format:"plain",value:A[e[0]]}),e=>P(e[0]),e=>T(e),e=>N(e),e=>I(e)],q=[e=>({format:"plain",value:A[e]}),e=>P(e),e=>T(V(e)),e=>N(V(e))],$=[e=>void 0!==A[e],e=>e.startsWith("#"),e=>e.startsWith("rgb(")||e.startsWith("rgba("),e=>e.startsWith("hsl(")||e.startsWith("hsla(")],G=function(e,t){var n,r,i,a,o,s,u,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],d={raw:e},f=t||"unknown";if("transparent"===e)d.name=e,f="plain",r=0;else if("string"==typeof e){var p=e.trim().toLocaleLowerCase(),h=$.findIndex(e=>e(p));h>-1&&(({value:n,format:f,rgb:i,hsl:a,alpha:r,error:s}=q[h](p)),"plain"===f&&(d.name=e),f&&(d.css={backgroundColor:e}))}else if(Number.isInteger(e))n=e,f="number";else if(Array.isArray(e)&&f){var m=U.findIndex(e=>e===f);m>-1?({value:n,format:f,rgb:i,hsl:a,hsv:o,alpha:r,error:s}=H[m](e)):s="unkown format"}else e&&"r"in e&&"g"in e&&"b"in e?(i=[e.r,e.g,e.b],e.a&&i.push(e.a),({value:n,format:f,rgb:i,alpha:r,error:s}=T(i))):e&&"h"in e&&"s"in e&&"l"in e?(a=[e.h,e.s,e.l],e.a&&a.push(e.a),({value:n,format:f,rgb:i,hsl:a,alpha:r,error:s}=N(a))):e&&"h"in e&&"s"in e&&"v"in e&&(o=[e.h,e.s,e.v],e.a&&o.push(e.a),({value:n,format:f,rgb:i,hsv:o,alpha:r,error:s}=I(o)));void 0===n&&(n=0,r=0===r?r:void 0,d.css={backgroundImage:"\n linear-gradient(45deg, #ccc 25%, transparent 25%), \n linear-gradient(135deg, #ccc 25%, transparent 25%),\n linear-gradient(45deg, transparent 75%, #ccc 75%),\n linear-gradient(135deg, transparent 75%, #ccc 75%)",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px",backgroundColor:"white"},"transparent"!==e&&(f="unknown",d.name="none")),s&&(d.error=s),d.value=n,d.alpha=Number.isNaN(r)||void 0===r?1:r/255,d.format=f,c||1===d.alpha?1===d.alpha&&-16777216===d.value&&(u=255):u=Math.floor(255*d.alpha);var b=_(n,u);return d.hex=b,i=i||F(n),d.rgb=i,d.hsv=o||W(i),d.hsl=a||z(i),d.css||(d.css={backgroundColor:"#".concat(b)}),d.name||(d.name=l&&Object.keys(A).find(e=>A[e]===n)||"color-".concat(b)),d},Y=(e,t,n)=>{var r;return"hex"===t&&(r="#".concat(_(e.value,n||1===e.alpha?void 0:Math.floor(255*e.alpha)))),r},K=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=e,o=!1;return e&&e.format&&e.name?a.error&&n&&(a.error=n(a.error)):(a=e,n&&"string"==typeof a&&(k&&r===D||(D=r,k={},Object.keys(A).forEach(e=>{k[n(e)]=e})),o=(a=k[a]||a)!==e),(a=G(a,null,t,!i)).name&&n&&(a.translated=n(a.name),o&&a.translated&&(a.name=a.translated),a.error&&(a.error=n(a.error)))),a},X=Object(a.oneOfType)([Object(a.shape)({css:Object(a.shape)({}),value:a.number,hex:a.string,raw:Object(a.oneOfType)([a.string,a.array,a.number,a.shape]),name:a.string,alpha:a.number,rgb:Object(a.arrayOf)(a.number),hsv:Object(a.arrayOf)(a.number),hsl:Object(a.arrayOf)(a.number)}),a.string,a.number]),Z=Object(a.objectOf)(a.string),Q=Object(a.arrayOf)(a.string),J={use:()=>({i18n:{language:"us"},t:e=>e})},ee=e=>(e&&(J.use=e),J.use()),te=Object(c.a)({root:{backgroundImage:e=>e.colorError||e.alpha<1?"\n linear-gradient(45deg, #ccc 25%, transparent 25%), \n linear-gradient(135deg, #ccc 25%, transparent 25%),\n linear-gradient(45deg, transparent 75%, #ccc 75%),\n linear-gradient(135deg, transparent 75%, #ccc 75%)":"none",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px",backgroundColor:e=>e.backgroundColor||"#fff",boxShadow:"0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08)",borderColor:e=>e.borderColor||"#767676",borderStyle:"solid",borderWidth:e=>e.borderWidth||0,borderRadius:4,padding:0,width:e=>e.width,minWidth:e=>e.minWidth,height:e=>e.height,"& div":{content:'" "',background:e=>e.colorError?"repeating-linear-gradient(\n 135deg,\n transparent,\n transparent ".concat(e.width/2+2,"px,\n #f44336 ").concat(e.width/2+2,"px,\n #f44336 ").concat(e.width/2+4,"px\n )"):"none",backgroundColor:e=>e.colorError?"transparent":e.backgroundColor||"#fff",width:e=>e.width,minWidth:e=>e.minWidth,height:e=>e.height,border:e=>e.colorError?"2px solid #f44336":"".concat(e.borderWidth||0,"px solid ").concat(e.borderColor||"#767676"),borderRadius:4,padding:0},"&:hover div":{backgroundColor:e=>e.hoverColor},"&:active":{boxShadow:"none"},"&:focus":{boxShadow:"0 0 0 0.2rem rgba(0, 123, 255, 0.5)"}},tooltip:{width:"min-content"}}),ne=e=>{var{color:t,size:n,borderWidth:r,borderColor:a,forwardRef:o,tooltip:s,disableAlpha:u,className:c}=e,l=S(e,["color","size","borderWidth","borderColor","forwardRef","tooltip","disableAlpha","className"]),{t:d,i18n:h}=ee(),m=K(t,u,d,h.language),b=d(s),g=m.css,v=m.hsl[2]-10;v<30&&(v=m.hsl[2]+50);var y=m.alpha,x="hsl(".concat(m.hsl[0],", ").concat(m.hsl[1],"%, ").concat(v,"%, ").concat(y,")"),w=te(E({width:n,minWidth:n,height:n,hoverColor:x,borderColor:a,borderWidth:r,alpha:y,colorError:!!m.error},g)),O=i.a.createElement(f.a,j({"data-testid":"colorbutton",className:"".concat(w.root," ").concat(null!=c?c:""),ref:o,variant:"contained","aria-label":m.name},l),i.a.createElement("div",null));return s?i.a.createElement(p.a,{title:b},i.a.createElement("div",{className:w.tooltip},O)):O};ne.propTypes={color:X.isRequired,size:o.a.number,disableAlpha:o.a.bool,borderWidth:o.a.number,borderColor:o.a.string,tooltip:o.a.string,forwardRef:o.a.shape({current:o.a.elementType})},ne.defaultProps={size:24,borderWidth:0,borderColor:void 0,forwardRef:void 0,tooltip:void 0,disableAlpha:!1};var re="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function ie(e){var t=r.useRef(e);return re(()=>{t.current=e}),r.useCallback((function(){return(0,t.current)(...arguments)}),[])}var ae=Object(c.a)({root:{position:"absolute",width:"inherit",height:"inherit",background:e=>"".concat(e.cssRgb," none repeat scroll 0% 0%"),margin:0},gradientPosition:{position:"absolute",width:"100%",height:"100%"},hsvGradientS:{background:"rgba(0, 0, 0, 0) linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0)) repeat scroll 0% 0%"},hsvGradientV:{background:"rgba(0, 0, 0, 0) linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0)) repeat scroll 0% 0%"},hslGradientS:{background:"rgba(0, 0, 0, 0) linear-gradient(to bottom, rgb(128, 128, 128), rgba(255, 255, 255, 0)) repeat scroll 0% 0%"},hslGradientL:{background:"rgba(0, 0, 0, 0) linear-gradient(to left, rgb(0, 0, 0), rgba(128, 128, 128, 0), rgb(255, 255, 255)) repeat scroll 0% 0%"},hsvGradientCursor:{position:"absolute",top:0,left:0,borderColor:"#f0f0f0",borderWidth:1,borderStyle:"solid",boxShadow:"rgba(0, 0, 0, 0.37) 0px 1px 4px 0px",transition:"box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",borderRadius:4,cursor:e=>!e.pressed&&"pointer",zIndex:100,transform:"translate(-4px, -4px)","&:hover":{boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"},"&:focus":{outline:"none !important",boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"},"&:focus > div":{}},hsvGradientCursorC:{width:8,height:8,borderRadius:4,boxShadow:"white 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08)"}}),oe=e=>{var{className:t,color:n,onChange:r,isHsl:a}=e,o=S(e,["className","color","onChange","isHsl"]),s=i.a.useRef(n),[u,c]=i.a.useState(!1),l=i.a.useRef(!1);i.a.useEffect(()=>{s.current=n});var d,f,p,h,m,b,g=i.a.useRef(),v=i.a.useRef(),y={x:0,y:0},x=(f=255,h=6*(d=n.hsv[0]/360)-(p=Math.floor(6*d)),m=Math.round(f*(1-h)),b=Math.round(f*h),f=Math.round(f),0==(p%=6)?[f,b,0]:1===p?[m,f,0]:2===p?[0,f,b]:3===p?[0,m,f]:4===p?[b,0,f]:[f,0,m]),w="rgb(".concat(x[0],",").concat(x[1],",").concat(x[2],")"),O=ae(E(E({},o),{},{cssRgb:w})),C=(e,t)=>{y=e,v.current.style.top="".concat(e.y,"px"),v.current.style.left="".concat(e.x,"px"),t&&v.current.focus()},k=e=>{if(e){var{hsv:t,hsl:r}=n;y={x:Math.round((a?100-r[2]:t[1])/100*(e.clientWidth-1)),y:Math.round((a?r[1]:100-t[2])/100*(e.clientHeight-1))},C(y)}};k(g.current),g.current&&(g.current.style.background="".concat(w," none repeat scroll 0% 0%"));var D=(e,t)=>{var{x:n,y:i}=e,o=t.getBoundingClientRect(),u={x:n-o.left,y:i-o.top};u.x<0&&(u.x=0),u.y<0&&(u.y=0),u.x>=t.clientWidth&&(u.x=t.clientWidth-1),u.y>=t.clientHeight&&(u.y=t.clientHeight-1),C(u,!0);var c=s.current;if(a){var l=u.y/(t.clientHeight-1)*100,d=100*(1-u.x/(t.clientWidth-1));r([c.hsl[0],l,d])}else{var f=u.x/(t.clientWidth-1)*100,p=100*(1-u.y/(t.clientHeight-1));r([c.hsv[0],f,p])}};i.a.useEffect(()=>{var e=g.current;k(e);var t=e=>{c(!0),l.current=!0,e.preventDefault()},n=t=>{var n={x:t.pageX-window.scrollX,y:t.pageY-window.scrollY};D(n,e),l.current=!1,t.preventDefault()},r=t=>{if(l.current&&t.buttons){var n={x:t.pageX-window.scrollX,y:t.pageY-window.scrollY};D(n,e),t.preventDefault()}},i=t=>{var n={x:t.touches[0].pageX-window.scrollX,y:t.touches[0].pageY-window.scrollY};D(n,e),t.preventDefault()};return e.addEventListener("mousedown",t),e.addEventListener("mouseup",n),e.addEventListener("mousemove",r),e.addEventListener("touchdown",t),e.addEventListener("touchup",n),e.addEventListener("touchmove",i),()=>{e.removeEventListener("mousedown",t),e.removeEventListener("mouseup",n),e.removeEventListener("mousemove",r),e.removeEventListener("touchdown",t),e.removeEventListener("touchup",n),e.removeEventListener("touchmove",i)}},[]);var A=ie(e=>{if(u){var{x:t,y:n}=y;switch(e.key){case"ArrowRight":t+=1;break;case"ArrowLeft":t-=1;break;case"ArrowDown":n+=1;break;case"ArrowUp":n-=1;break;case"Tab":return void c(!1);default:return}e.preventDefault();var r=g.current.getBoundingClientRect();D({x:t+r.left,y:n+r.top},g.current)}}),_=ie(e=>{c(!0),e.preventDefault()}),F=ie(e=>{c(!1),e.preventDefault()});return i.a.createElement("div",{className:t},i.a.createElement("div",j({className:O.root},o,{ref:g,"data-testid":"hsvgradient-color"}),i.a.createElement("div",{className:"muicc-hsvgradient-s ".concat(a?O.hslGradientS:O.hsvGradientS," ").concat(O.gradientPosition)},i.a.createElement("div",{className:"muicc-hsvgradient-v ".concat(a?O.hslGradientL:O.hsvGradientV," ").concat(O.gradientPosition)},i.a.createElement("div",{ref:v,tabIndex:"0",role:"slider","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":n.hsv[1],pressed:"".concat(l.current),"data-testid":"hsvgradient-cursor",className:"muicc-hsvgradient-cursor ".concat(O.hsvGradientCursor),onKeyDown:A,onFocus:_,onBlur:F},i.a.createElement("div",{className:"muicc-hsvgradient-cursor-c ".concat(O.hsvGradientCursorC)}))))))};oe.propTypes={color:X.isRequired,className:o.a.string.isRequired,onChange:o.a.func.isRequired,isHsl:o.a.bool},oe.defaultProps={isHsl:!1};var se=e=>{var{Element:t,defaultValue:n}=e,r=S(e,["Element","defaultValue"]),[a,o]=i.a.useState(n);return i.a.createElement(t,E(E({},r),{},{value:a,onChange:o}))},ue=e=>{var t=t=>{var{defaultValue:n,value:r,onChange:a}=t,o=S(t,["defaultValue","value","onChange"]);return a||"none"!==r?i.a.createElement(e,E({value:r||n,onChange:a||(()=>{})},o)):i.a.createElement(se,E({Element:e,defaultValue:n},o))};return t.propTypes=E(E({},e.propTypes),{},{defaultValue:e.propTypes.value,onChange:o.a.func}),t.defaultProps=E(E({},e.defaultProps),{},{defaultValue:void 0,onChange:void 0}),t},ce=Object(c.a)({root:{display:"flex",flexDirection:"row"},colorinputRaw:{paddingRight:4},formControl:{width:100}}),le=e=>{var t,n,{value:r,format:a,onChange:o,disableAlpha:s,enableErrorDisplay:u,forwardRef:c,disablePlainColor:l}=e,d=S(e,["value","format","onChange","disableAlpha","enableErrorDisplay","forwardRef","disablePlainColor"]),f=ce(),{t:p,i18n:h}=ee(),m=K(r,s,p,h.language,l),w=e=>{if("plain"===a)o(e.target.value);else if("hex"===a)o("#".concat(e.target.value));else{var t=e.target.id,r=Number(e.target.value),i={};Object.keys(n).forEach(e=>{var a=n[e].value;e===t&&((a=r)n[e].max&&(a=n[e].max)),i[e]=a}),o(i)}},O=(e,t,n,r,a)=>i.a.createElement(i.a.Fragment,null,i.a.createElement(v.a,{htmlFor:e,className:"muicc-colorinput-label","data-testid":"colorinput-label"},t),i.a.createElement(y.a,j({id:e,name:e,className:"muicc-colorinput-input",label:t,value:n,placeholder:t,inputProps:{"aria-label":"color-".concat(t),"data-testid":"colorinput-input"},onChange:w,startAdornment:a&&r&&i.a.createElement(x.a,{position:"start"},r)},d)));if("plain"===a)t=O("color-plain","Color",m.raw);else{n=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e,i=K(e,n,r),a={};if("rgb"===t)a.r={value:i.rgb[0],format:"integer",min:0,max:255,name:r("R")},a.g={value:i.rgb[1],format:"integer",min:0,max:255,name:r("G")},a.b={value:i.rgb[2],format:"integer",min:0,max:255,name:r("B")};else if("hsv"===t)a.h={value:i.hsv[0],format:"integer",min:0,max:360,name:r("H"),unit:"°"},a.s={value:i.hsv[1],format:"integer",min:0,max:100,name:r("S"),unit:"%"},a.v={value:i.hsv[2],format:"integer",min:0,max:100,name:r("V"),unit:"%"};else if("hsl"===t)a.h={value:i.hsl[0],format:"integer",min:0,max:360,name:r("H"),unit:"°"},a.s={value:i.hsl[1],format:"integer",min:0,max:100,name:r("S"),unit:"%"},a.l={value:i.hsl[2],format:"integer",min:0,max:100,name:r("L"),unit:"%"};else if("hex"===t){var{hex:o}=i;i.raw&&"string"==typeof i.raw&&i.raw.startsWith("#")&&(o=i.raw.substring(1)),a.hex={value:o,format:"hex",name:r("HEX"),unit:"#"}}else a.value=r(i.value),a.format="unknown";return a}(m,a,s,p);var C=Object.keys(n);t=i.a.createElement("div",{ref:c,className:f.root},C.map(e=>i.a.createElement(b.a,{key:e,className:"muicc-colorinput-raw ".concat(f.colorinputRaw),error:!!m.error},O(e,n[e].name,n[e].value,n[e].unit,1===C.length))))}return i.a.createElement(b.a,{className:f.formControl,error:!!m.error,"data-testid":"colorinput"},t,u&&m.error&&i.a.createElement(g.a,{id:"component-error-text"},m.error))};le.propTypes={value:X,format:o.a.string,onChange:o.a.func.isRequired,disableAlpha:o.a.bool,enableErrorDisplay:o.a.bool,forwardRef:o.a.shape({current:o.a.elementType}),disablePlainColor:o.a.bool},le.defaultProps={value:"none",format:"plain",forwardRef:void 0,disableAlpha:!1,enableErrorDisplay:!0,disablePlainColor:!1};var de=ue(le),fe=Object(c.a)({root:{display:"flex",flexDirection:"row",flexWrap:"wrap",padding:"8px 0 0 8px"},paletteButton:{margin:"0 8px 8px 0",padding:0}}),pe=e=>{var{size:t,borderWidth:n,palette:r,onSelect:a,disableAlpha:o}=e,s=fe(),{t:u}=ee();return i.a.createElement("div",{className:s.root},Object.keys(r).map(e=>i.a.createElement(ne,{size:t,key:"".concat(e),color:r[e],className:"muicc-palette-button ".concat(s.paletteButton),borderWidth:n,tooltip:e,disableAlpha:o,onClick:()=>(e=>{var t=u(e);a&&a(t,r[e])})(e)})))};pe.propTypes={borderWidth:o.a.number,size:o.a.number,palette:Z.isRequired,forwardRef:o.a.shape({current:o.a.elementType}),onSelect:o.a.func,disableAlpha:o.a.bool},pe.defaultProps={borderWidth:0,size:24,forwardRef:void 0,onSelect:void 0,disableAlpha:!1};var he=Object(c.a)(()=>({root:{width:"100%",height:16,padding:0},rail:{height:16,opacity:1,background:"rgba(0, 0, 0, 0) linear-gradient(to right, rgb(255, 0, 0) 0%, rgb(255, 255, 0) 17%, rgb(0, 255, 0) 33%, rgb(0, 255, 255) 50%, rgb(0, 0, 255) 67%, rgb(255, 0, 255) 83%, rgb(255, 0, 0) 100% ) repeat scroll 0% 0%",borderRadius:0},track:{height:16,opacity:0,borderRadius:4,backgroundColor:"transparent"},thumb:{width:16,height:16,marginTop:0,marginLeft:-8,backgroundColor:"#f0f0f0",boxShadow:"rgba(0, 0, 0, 0.37) 0px 1px 4px 0px","&:focus":{boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"}}}));function me(e){var t=he();return i.a.createElement(w.a,j({},e,{classes:{root:t.root,rail:t.rail,track:t.track,thumb:t.thumb}}))}var be=Object(c.a)({root:{color:"#666",width:"100%",height:16,padding:0,background:"linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",backgroundSize:"8px 8px",backgroundColor:"white",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px"},rail:{height:16,opacity:1,background:e=>"rgba(0, 0, 0, 0) linear-gradient(to right, ".concat(e.color,"00 0%, ").concat(e.color," 100%) repeat scroll 0% 0%"),borderRadius:0},track:{height:16,opacity:0,borderRadius:4},thumb:{width:16,height:16,marginTop:0,marginLeft:-8,backgroundColor:"#f0f0f0",boxShadow:"rgba(0, 0, 0, 0.37) 0px 1px 4px 0px","&:focus":{boxShadow:"0px 0px 0px 8px rgba(63, 81, 181, 0.16)"}}});function ge(e){var{color:t}=e,n=S(e,["color"]),r=be({color:t});return i.a.createElement(w.a,j({},n,{classes:{root:r.root,rail:r.rail,track:r.track,thumb:r.thumb}}))}ge.propTypes={color:X.isRequired};var ve=Object(c.a)(e=>({root:{backgroundColor:e.palette.background.paper,position:"relative",width:"min-content",height:"min-content",padding:"0px"},container:{justifyContent:"space-around",overflow:"hidden",width:e=>e.boxWidth,padding:0},colorboxHsvGradient:{width:e=>"calc(".concat(e.boxWidth,"px - 16px)"),height:"calc(128px - 16px)",margin:8},colorboxSliders:{width:e=>e.boxWidth,padding:"8px 8px 4px 8px"},colorboxInputs:{display:"flex",flexDirection:"row",flexWrap:"wrap",padding:"8px 4px 8px 8px",justifyContent:"space-between"},colorboxInput:{},colorboxColorBg:{width:48,height:48,background:"linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(135deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(135deg, transparent 75%, #ccc 75%)",backgroundSize:"8px 8px",backgroundPosition:"0 0, 4px 0, 4px -4px, 0px 4px",backgroundColor:"white",borderRadius:4},colorboxColor:{width:48,height:48,background:e=>e.colorError?"repeating-linear-gradient(\n 135deg,\n transparent,\n transparent 29px,\n #f44336 29px,\n #f44336 32px\n )":"none",backgroundColor:e=>e.colorError?"transparent":e.backgroundColor,borderRadius:4,border:e=>e.colorError?"2px solid #f44336":"none"},colorboxControls:{display:"flex",flexDirection:"row",flexWrap:"wrap",padding:8,"&> button":{marginLeft:"auto"}},colorboxError:{color:"#f44336",lineHeight:"36.5px"}})),ye=e=>{var t,{value:n,palette:r,inputFormats:a,deferred:o,onChange:s,disableAlpha:u,hslGradient:c}=e,l=S(e,["value","palette","inputFormats","deferred","onChange","disableAlpha","hslGradient"]),{t:d,i18n:p}=ee(),b=K(n,u,d,p.language),g=s;o&&([b,g]=i.a.useState(b),t=s);var{hsv:v,hsl:y}=b,{alpha:x}=b;x=void 0===x?100:Math.floor(100*x);var w=Y(b,"hex",!0),{backgroundColor:O}=b.css,C=ve({boxWidth:320,backgroundColor:O,colorError:!!b.error}),E=e=>{var t=G(e);g(t)};return i.a.createElement(h.a,j({p:2,className:C.root},l),i.a.createElement(h.a,{className:C.container},i.a.createElement(oe,{className:"muicc-colorbox-hsvgradient ".concat(C.colorboxHsvGradient),color:b,onChange:e=>{var t=G(e,c?"hsl":"hsv");g(t)},isHsl:c}),i.a.createElement("div",{className:"muicc-colorbox-sliders ".concat(C.colorboxSliders)},i.a.createElement(me,{"data-testid":"hueslider","aria-label":"color slider",value:c?y[0]:v[0],min:0,max:360,onChange:(e,t)=>{var n=G([t,b.hsv[1],b.hsv[2]],"hsv");g(n)}}),!u&&i.a.createElement(ge,{"data-testid":"alphaslider",color:w,valueLabelDisplay:"auto","aria-label":"alpha slider",value:x,min:0,max:100,onChange:(e,t)=>{var n=t/100,r=G([b.rgb[0],b.rgb[1],b.rgb[2],n],"rgb");g(r)}})),a.length>0&&i.a.createElement("div",{className:"muicc-colorbox-inputs ".concat(C.colorboxInputs)},i.a.createElement("div",{className:"muicc-colorbox-colorBg ".concat(C.colorboxColorBg)},i.a.createElement("div",{className:"muicc-colorbox-color ".concat(C.colorboxColor)})),a.map(e=>i.a.createElement(de,{key:e,value:b,format:e,disableAlpha:!0,enableErrorDisplay:!1,className:"muicc-colorbox-input ".concat(C.colorboxInput),onChange:E}))),r&&i.a.createElement(i.a.Fragment,null,i.a.createElement(m.a,null),i.a.createElement(pe,{size:26.65,palette:r,onSelect:(e,t)=>{var n=G(t);n.name=e,g(n)},disableAlpha:u})),i.a.createElement("div",{className:"muicc-colorbox-controls ".concat(C.colorboxControls)},b.error&&i.a.createElement("span",{className:"muicc-colorbox-error ".concat(C.colorboxError),"data-testid":"colorbox-error"},d(b.error)),o&&i.a.createElement(f.a,{onClick:()=>{t(b)}},d("Set")))))};ye.propTypes={value:X,deferred:o.a.bool,palette:Z,inputFormats:Q,onChange:o.a.func.isRequired,disableAlpha:o.a.bool,hslGradient:o.a.bool},ye.defaultProps={value:void 0,deferred:!1,palette:void 0,inputFormats:["hex","rgb"],disableAlpha:!1,hslGradient:!1};var xe=ue(ye),we=Object(c.a)({root:{display:"flex",flexDirection:"row",width:"max-content"},colorpickerButton:{margin:6}}),Oe=Object(l.a)({seed:"ColorPicker"}),je=e=>{var{value:t,disableTextfield:n,deferred:a,palette:o,inputFormats:c,openAtStart:l,onChange:f,onOpen:p,doPopup:h,disableAlpha:m,hslGradient:b,hideTextfield:g,disablePlainColor:v}=e,y=we(),x=Object(r.useRef)(null),[w,O]=Object(r.useState)(!1),{t:j,i18n:C}=ee(),E=K(t,m,j,C.language,v),S=((e,t)=>{var n=t?"color-".concat(e.hex):e.name;return n.startsWith("color-")?n="string"==typeof e.raw&&e.raw.startsWith("#")?e.raw:Y(e,"hex"):"none"===n&&(n=e.raw),n})(E,v);Object(r.useEffect)(()=>{l&&O(!0)},[l]);var k=()=>{var e=Boolean(x.current);O(e),p&&p(e)},D=()=>{O(!1),p&&p(!1)},A=i.a.createElement(xe,{value:E,style:{position:"relative"},deferred:a,palette:o,inputFormats:c,disableAlpha:m,hslGradient:b,onChange:e=>{f(e),a&&D()}});A=h?h(A):i.a.createElement(u.a,{id:"color-popover",open:w,anchorEl:x.current,onClose:D,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},A);var _=null;return g||(_=n?i.a.createElement("div",{role:"button","data-testid":"colorpicker-noinput",onClick:k},E.raw):i.a.createElement(s.a,{color:"primary",value:S,onChange:e=>{f(e.target.value)},"data-testid":"colorpicker-input"})),i.a.createElement(d.b,{generateClassName:Oe},i.a.createElement("div",{ref:x,className:y.root},i.a.createElement(ne,{"data-testid":"colorpicker-button",className:"muicc-colorpicker-button ".concat(y.colorpickerButton),color:E,onClick:k}),_,A))};je.propTypes={value:X,disableTextfield:o.a.bool,deferred:o.a.bool,palette:Z,inputFormats:Q,onChange:o.a.func.isRequired,onOpen:o.a.func,openAtStart:o.a.bool,doPopup:o.a.func,disableAlpha:o.a.bool,hslGradient:o.a.bool,hideTextfield:o.a.bool,disablePlainColor:o.a.bool},je.defaultProps={value:"none",disableTextfield:!1,deferred:!1,palette:void 0,inputFormats:["hex","rgb"],onOpen:void 0,openAtStart:!1,doPopup:void 0,disableAlpha:!1,hslGradient:!1,hideTextfield:!1,disablePlainColor:!1};var Ce=ue(je)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=-1e9;function i(){return r+=1}},function(e,t,n){"use strict";var r=n(0),i=n.n(r).a.createContext(null);t.a=i},function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for;t.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(e,t,n){"use strict";n(218);var r=n(46),i=n(379),a=n(963),o=n(969),s=n(962),u=n(971),c=n(970),l=n(972),d=n(964),f=n(973),p=n(529);function h(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,h=e.mixins,m=void 0===h?{}:h,b=e.palette,g=void 0===b?{}:b,v=e.spacing,y=e.typography,x=void 0===y?{}:y,w=Object(r.a)(e,["breakpoints","mixins","palette","spacing","typography"]),O=Object(s.a)(g),j=Object(a.a)(n),C=Object(d.a)(v),E=Object(i.a)({breakpoints:j,direction:"ltr",mixins:Object(o.a)(j,C,m),overrides:{},palette:O,props:{},shadows:c.a,typography:Object(u.a)(O,x),spacing:C,shape:l.a,transitions:f.a,zIndex:p.a},w),S=arguments.length,k=new Array(S>1?S-1:0),D=1;D=R?g.text.primary:b.text.primary}var N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(r.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Object(a.a)(4,t));if("string"!=typeof e.main)throw new Error(Object(a.a)(5,JSON.stringify(e.main)));return v(e,"light",n,P),v(e,"dark",i,P),e.contrastText||(e.contrastText=B(e.main)),e},I={dark:g,light:b};return Object(o.a)(Object(r.a)({common:s.a,type:_,primary:N(n),secondary:N(x,"A400","A200","A700"),error:N(O),warning:N(C),info:N(S),success:N(D),grey:u.a,contrastThreshold:R,getContrastText:B,augmentColor:N,tonalOffset:P},I[_]),M)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(46),a=["xs","sm","md","lg","xl"];function o(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,s=void 0===o?"px":o,u=e.step,c=void 0===u?5:u,l=Object(i.a)(e,["values","unit","step"]);function d(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function f(e,t){var r=a.indexOf(t);return r===a.length-1?d(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[a[r+1]]?n[a[r+1]]:t)-c/100).concat(s,")")}return Object(r.a)({keys:a,values:n,up:d,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?d("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-c/100).concat(s,")")},between:f,only:function(e){return f(e,e)},width:function(e){return n[e]}},l)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1168);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Object(r.a)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Object(i.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(i.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(a={minHeight:56},Object(r.a)(a,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(a,e.up("sm"),{minHeight:64}),a)},n)}},function(e,t,n){"use strict";function r(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var i=["none",r(0,2,1,-1,0,1,1,0,0,1,3,0),r(0,3,1,-2,0,2,2,0,0,1,5,0),r(0,3,3,-2,0,3,4,0,0,1,8,0),r(0,2,4,-1,0,4,5,0,0,1,10,0),r(0,3,5,-1,0,5,8,0,0,1,14,0),r(0,3,5,-1,0,6,10,0,0,1,18,0),r(0,4,5,-2,0,7,10,1,0,2,16,1),r(0,5,5,-3,0,8,10,1,0,3,14,2),r(0,5,6,-3,0,9,12,1,0,3,16,2),r(0,6,6,-3,0,10,14,1,0,4,18,3),r(0,6,7,-4,0,11,15,1,0,4,20,3),r(0,7,8,-4,0,12,17,2,0,5,22,4),r(0,7,8,-4,0,13,19,2,0,5,24,4),r(0,7,9,-4,0,14,21,2,0,5,26,4),r(0,8,9,-5,0,15,22,2,0,6,28,5),r(0,8,10,-5,0,16,24,2,0,6,30,5),r(0,8,11,-5,0,17,26,2,0,6,32,5),r(0,9,11,-5,0,18,28,2,0,7,34,6),r(0,9,12,-6,0,19,29,2,0,7,36,6),r(0,10,13,-6,0,20,31,3,0,8,38,7),r(0,10,13,-6,0,21,33,3,0,8,40,7),r(0,10,14,-6,0,22,35,3,0,8,42,7),r(0,11,14,-7,0,23,36,3,0,9,44,8),r(0,11,15,-7,0,24,38,3,0,9,46,8)];t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(2),i=n(46),a=n(379);function o(e){return Math.round(1e5*e)/1e5}function s(e){return o(e)}var u={textTransform:"uppercase"};function c(e,t){var n="function"==typeof t?t(e):t,c=n.fontFamily,l=void 0===c?'"Roboto", "Helvetica", "Arial", sans-serif':c,d=n.fontSize,f=void 0===d?14:d,p=n.fontWeightLight,h=void 0===p?300:p,m=n.fontWeightRegular,b=void 0===m?400:m,g=n.fontWeightMedium,v=void 0===g?500:g,y=n.fontWeightBold,x=void 0===y?700:y,w=n.htmlFontSize,O=void 0===w?16:w,j=n.allVariants,C=n.pxToRem,E=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var S=f/14,k=C||function(e){return"".concat(e/O*S,"rem")},D=function(e,t,n,i,a){return Object(r.a)({fontFamily:l,fontWeight:e,fontSize:k(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===l?{letterSpacing:"".concat(o(i/t),"em")}:{},a,j)},A={h1:D(h,96,1.167,-1.5),h2:D(h,60,1.2,-.5),h3:D(b,48,1.167,0),h4:D(b,34,1.235,.25),h5:D(b,24,1.334,0),h6:D(v,20,1.6,.15),subtitle1:D(b,16,1.75,.15),subtitle2:D(v,14,1.57,.1),body1:D(b,16,1.5,.15),body2:D(b,14,1.43,.15),button:D(v,14,1.75,.4,u),caption:D(b,12,1.66,.4),overline:D(b,12,2.66,1,u)};return Object(a.a)(Object(r.a)({htmlFontSize:O,pxToRem:k,round:s,fontFamily:l,fontSize:f,fontWeightLight:h,fontWeightRegular:b,fontWeightMedium:v,fontWeightBold:x},A),E,{clone:!1})}},function(e,t,n){"use strict";t.a={borderRadius:4}},function(e,t,n){"use strict";var r=n(46),i={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)"},a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return"".concat(Math.round(e),"ms")}t.a={easing:i,duration:a,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?a.standard:n,u=t.easing,c=void 0===u?i.easeInOut:u,l=t.delay,d=void 0===l?0:l;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof s?s:o(s)," ").concat(c," ").concat("string"==typeof d?d:o(d))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},function(e,t,n){"use strict";var r=n(2),i=n(244),a=n(46),o=n(0),s=(n(11),n(1161)),u=n(12),c=n(73),l=n(975),d=o.forwardRef((function(e,t){var n=e.center,c=void 0!==n&&n,d=e.classes,f=e.className,p=Object(a.a)(e,["center","classes","className"]),h=o.useState([]),m=h[0],b=h[1],g=o.useRef(0),v=o.useRef(null);o.useEffect((function(){v.current&&(v.current(),v.current=null)}),[m]);var y=o.useRef(!1),x=o.useRef(null),w=o.useRef(null),O=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(x.current)}}),[]);var j=o.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,a=e.rippleSize,s=e.cb;b((function(e){return[].concat(Object(i.a)(e),[o.createElement(l.a,{key:g.current,classes:d,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a})])})),g.current+=1,v.current=s}),[d]),C=o.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,a=t.center,o=void 0===a?c||t.pulsate:a,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&y.current)y.current=!1;else{"touchstart"===e.type&&(y.current=!0);var l,d,f,p=u?null:O.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(o||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(h.width/2),d=Math.round(h.height/2);else{var m=e.touches?e.touches[0]:e,b=m.clientX,g=m.clientY;l=Math.round(b-h.left),d=Math.round(g-h.top)}if(o)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2==0&&(f+=1);else{var v=2*Math.max(Math.abs((p?p.clientWidth:0)-l),l)+2,C=2*Math.max(Math.abs((p?p.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(v,2)+Math.pow(C,2))}e.touches?null===w.current&&(w.current=function(){j({pulsate:i,rippleX:l,rippleY:d,rippleSize:f,cb:n})},x.current=setTimeout((function(){w.current&&(w.current(),w.current=null)}),80)):j({pulsate:i,rippleX:l,rippleY:d,rippleSize:f,cb:n})}}),[c,j]),E=o.useCallback((function(){C({},{pulsate:!0})}),[C]),S=o.useCallback((function(e,t){if(clearTimeout(x.current),"touchend"===e.type&&w.current)return e.persist(),w.current(),w.current=null,void(x.current=setTimeout((function(){S(e,t)})));w.current=null,b((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:E,start:C,stop:S}}),[E,C,S]),o.createElement("span",Object(r.a)({className:Object(u.default)(d.root,f),ref:O},p),o.createElement(s.a,{component:null,exit:!0},m))}));t.a=Object(c.a)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(o.memo(d))},function(e,t,n){"use strict";var r=n(0),i=(n(11),n(12)),a=n(157),o="undefined"==typeof window?r.useEffect:r.useLayoutEffect;t.a=function(e){var t=e.classes,n=e.pulsate,s=void 0!==n&&n,u=e.rippleX,c=e.rippleY,l=e.rippleSize,d=e.in,f=e.onExited,p=void 0===f?function(){}:f,h=e.timeout,m=r.useState(!1),b=m[0],g=m[1],v=Object(i.default)(t.ripple,t.rippleVisible,s&&t.ripplePulsate),y={width:l,height:l,top:-l/2+c,left:-l/2+u},x=Object(i.default)(t.child,b&&t.childLeaving,s&&t.childPulsate),w=Object(a.a)(p);return o((function(){if(!d){g(!0);var e=setTimeout(w,h);return function(){clearTimeout(e)}}}),[w,d,h]),r.createElement("span",{className:v,style:y},r.createElement("span",{className:x}))}},function(e,t,n){"use strict";(function(e){ /**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.1-lts @@ -153,7 +153,7 @@ function(e){var t,n,r,i,a,o,s,u,c,l,d,f,p,h,m,b,g,v,y,x="sizzle"+1*new Date,w=e. * SOFTWARE. */ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();var i=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),r))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function o(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=o(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:u(s(e))}function c(e){return e&&e.referenceNode?e.referenceNode:e}var l=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(e){return 11===e?l:10===e?d:l||d}function p(e){if(!e)return document.documentElement;for(var t=f(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===o(n,"position")?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function m(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,a=document.createRange();a.setStart(r,0),a.setEnd(i,0);var o,s,u=a.commonAncestorContainer;if(e!==u&&t!==u||r.contains(i))return"BODY"===(s=(o=u).nodeName)||"HTML"!==s&&p(o.firstElementChild)!==o?p(u):u;var c=h(e);return c.host?m(c.host,t):m(e,h(t).host)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var i=e.ownerDocument.documentElement,a=e.ownerDocument.scrollingElement||i;return a[n]}return e[n]}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=b(t,"top"),i=b(t,"left"),a=n?-1:1;return e.top+=r*a,e.bottom+=r*a,e.left+=i*a,e.right+=i*a,e}function v(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function y(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],f(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=f(10)&&getComputedStyle(n);return{height:y("Height",t,n,r),width:y("Width",t,n,r)}}var w=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},O=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=f(10),i="HTML"===t.nodeName,a=S(e),s=S(t),c=u(e),l=o(t),d=parseFloat(l.borderTopWidth),p=parseFloat(l.borderLeftWidth);n&&i&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=E({top:a.top-s.top-d,left:a.left-s.left-p,width:a.width,height:a.height});if(h.marginTop=0,h.marginLeft=0,!r&&i){var m=parseFloat(l.marginTop),b=parseFloat(l.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=p-b,h.right-=p-b,h.marginTop=m,h.marginLeft=b}return(r&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=g(h,t)),h}function D(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=k(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),a=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:b(n),s=t?0:b(n,"left"),u={top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:a};return E(u)}function A(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===o(e,"position"))return!0;var n=s(e);return!!n&&A(n)}function _(e){if(!e||!e.parentElement||f())return document.documentElement;for(var t=e.parentElement;t&&"none"===o(t,"transform");)t=t.parentElement;return t||document.documentElement}function F(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a={top:0,left:0},o=i?_(e):m(e,c(t));if("viewport"===r)a=D(o,i);else{var l=void 0;"scrollParent"===r?"BODY"===(l=u(s(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===r?e.ownerDocument.documentElement:r;var d=k(l,o,i);if("HTML"!==l.nodeName||A(o))a=d;else{var f=x(e.ownerDocument),p=f.height,h=f.width;a.top+=d.top-d.marginTop,a.bottom=p+d.top,a.left+=d.left-d.marginLeft,a.right=h+d.left}}var b="number"==typeof(n=n||0);return a.left+=b?n:n.left||0,a.top+=b?n:n.top||0,a.right-=b?n:n.right||0,a.bottom-=b?n:n.bottom||0,a}function R(e){return e.width*e.height}function T(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var o=F(n,r,a,i),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},u=Object.keys(s).map((function(e){return C({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),c=u.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),l=c.length>0?c[0].key:u[0].key,d=e.split("-")[1];return l+(d?"-"+d:"")}function P(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?_(t):m(t,c(n));return k(n,i,r)}function M(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function B(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,n){n=n.split("-")[0];var r=M(e),i={width:r.width,height:r.height},a=-1!==["right","left"].indexOf(n),o=a?"top":"left",s=a?"left":"top",u=a?"height":"width",c=a?"width":"height";return i[o]=t[o]+t[u]/2-r[u]/2,i[s]=n===s?t[s]-r[c]:t[B(s)],i}function I(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function L(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=I(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=E(t.offsets.popper),t.offsets.reference=E(t.offsets.reference),t=n(t,e))})),t}function z(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=T(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=L(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function V(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(e),r=J.slice(n+1).concat(J.slice(0,n));return t?r.reverse():r}var te="flip",ne="clockwise",re="counterclockwise";function ie(e,t,n,r){var i=[0,0],a=-1!==["right","left"].indexOf(r),o=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=o.indexOf(I(o,(function(e){return-1!==e.search(/,|\s/)})));o[s]&&-1===o[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[o.slice(0,s).concat([o[s].split(u)[0]]),[o[s].split(u)[1]].concat(o.slice(s+1))]:[o];return(c=c.map((function(e,r){var i=(1===r?!a:a)?"height":"width",o=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),a=+i[1],o=i[2];if(!a)return e;if(0===o.indexOf("%")){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=r}return E(s)[t]/100*a}if("vh"===o||"vw"===o){return("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*a}return a}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Y(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,a=i.reference,o=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:j({},u,a[u]),end:j({},u,a[u]+a[c]-o[c])};e.offsets.popper=C({},o,l[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,i=e.offsets,a=i.popper,o=i.reference,s=r.split("-")[0],u=void 0;return u=Y(+n)?[+n,0]:ie(n,a,o,s),"left"===s?(a.top+=u[0],a.left-=u[1]):"right"===s?(a.top+=u[0],a.left+=u[1]):"top"===s?(a.left+=u[0],a.top-=u[1]):"bottom"===s&&(a.left+=u[0],a.top+=u[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||p(e.instance.popper);e.instance.reference===n&&(n=p(n));var r=V("transform"),i=e.instance.popper.style,a=i.top,o=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=F(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=a,i.left=o,i[r]=s,t.boundaries=u;var c=t.priority,l=e.offsets.popper,d={primary:function(e){var n=l[e];return l[e]u[e]&&!t.escapeWithReference&&(r=Math.min(l[n],u[e]-("right"===e?l.width:l.height))),j({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=C({},l,d[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],a=Math.floor,o=-1!==["top","bottom"].indexOf(i),s=o?"right":"bottom",u=o?"left":"top",c=o?"width":"height";return n[s]a(r[s])&&(e.offsets.popper[u]=a(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Z(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],a=e.offsets,s=a.popper,u=a.reference,c=-1!==["left","right"].indexOf(i),l=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=M(r)[l];u[h]-ms[h]&&(e.offsets.popper[f]+=u[f]+m-s[h]),e.offsets.popper=E(e.offsets.popper);var b=u[f]+u[l]/2-m/2,g=o(e.instance.popper),v=parseFloat(g["margin"+d]),y=parseFloat(g["border"+d+"Width"]),x=b-e.offsets.popper[f]-v-y;return x=Math.max(Math.min(s[l]-m,x),0),e.arrowElement=r,e.offsets.arrow=(j(n={},f,Math.round(x)),j(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=F(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=B(r),a=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case te:o=[r,i];break;case ne:o=ee(r);break;case re:o=ee(r,!0);break;default:o=t.behavior}return o.forEach((function(s,u){if(r!==s||o.length===u+1)return e;r=e.placement.split("-")[0],i=B(r);var c=e.offsets.popper,l=e.offsets.reference,d=Math.floor,f="left"===r&&d(c.right)>d(l.left)||"right"===r&&d(c.left)d(l.top)||"bottom"===r&&d(c.top)d(n.right),m=d(c.top)d(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&b,v=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(v&&"start"===a&&p||v&&"end"===a&&h||!v&&"start"===a&&m||!v&&"end"===a&&b),x=!!t.flipVariationsByContent&&(v&&"start"===a&&h||v&&"end"===a&&p||!v&&"start"===a&&b||!v&&"end"===a&&m),w=y||x;(f||g||w)&&(e.flipped=!0,(f||g)&&(r=o[u+1]),w&&(a=function(e){return"end"===e?"start":"start"===e?"end":e}(a)),e.placement=r+(a?"-"+a:""),e.offsets.popper=C({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=L(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,a=r.reference,o=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=a[n]-(s?i[o?"width":"height"]:0),e.placement=B(t),e.offsets.popper=E(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Z(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=I(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};w(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=C({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=C({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return C({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&a(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(e,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return $.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),e}();oe.Utils=("undefined"!=typeof window?window:e).PopperUtils,oe.placements=Q,oe.Defaults=ae,t.a=oe}).call(this,n(341))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function i(e){var t=r.useState(e),n=t[0],i=t[1],a=e||n;return r.useEffect((function(){null==n&&i("mui-".concat(Math.round(1e5*Math.random())))}),[n]),a}},function(e,t,n){"use strict";var r=n(2),i=n(0),a=n(12),o=n(73);t.a=Object(o.a)((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:Object(r.a)({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var t=e.children,n=e.classes,r=e.className,o=e.open,s=e.value,u=e.valueLabelDisplay;return"off"===u?t:i.cloneElement(t,{className:Object(a.default)(t.props.className,(o||"on"===u)&&n.open,n.thumb)},i.createElement("span",{className:Object(a.default)(n.offset,r)},i.createElement("span",{className:n.circle},i.createElement("span",{className:n.label},s))))}))},function(e,t,n){"use strict";var r=n(2),i=n(1321),a=n(321);t.a=function(e){var t=Object(i.a)(e);return function(e,n){return t(e,Object(r.a)({defaultTheme:a.a},n))}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),{root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}}),s=a.forwardRef((function(e,t){var n=e.invisible,s=void 0!==n&&n,u=e.open,c=Object(i.a)(e,["invisible","open"]);return u?a.createElement("div",Object(r.a)({"aria-hidden":!0,ref:t},c,{style:Object(r.a)({},o.root,s?o.invisible:{},c.style)})):null}));t.a=s},function(e,t,n){"use strict";var r=n(218),i=n(2),a=n(46),o=n(0),s=(n(11),n(12)),u=n(73),c=n(278),l=n(106),d=o.forwardRef((function(e,t){e.children;var n=e.classes,u=e.className,d=e.label,f=e.labelWidth,p=e.notched,h=e.style,m=Object(a.a)(e,["children","classes","className","label","labelWidth","notched","style"]),b="rtl"===Object(c.a)().direction?"right":"left";if(void 0!==d)return o.createElement("fieldset",Object(i.a)({"aria-hidden":!0,className:Object(s.default)(n.root,u),ref:t,style:h},m),o.createElement("legend",{className:Object(s.default)(n.legendLabelled,p&&n.legendNotched)},d?o.createElement("span",null,d):o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var g=f>0?.75*f+8:.01;return o.createElement("fieldset",Object(i.a)({"aria-hidden":!0,style:Object(i.a)(Object(r.a)({},"padding".concat(Object(l.a)(b)),8),h),className:Object(s.default)(n.root,u),ref:t},m),o.createElement("legend",{className:n.legend,style:{width:p?g:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))}));t.a=Object(u.a)((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(d)},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(2),i=n(46),a=n(0),o=(n(11),n(534)),s=n(73),u=n(245),c=n(279),l=n(533),d=n(578),f=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},p=a.createElement(d.a,null),h=a.forwardRef((function(e,t){var n=e.children,s=e.classes,d=e.IconComponent,f=void 0===d?l.a:d,h=e.input,m=void 0===h?p:h,b=e.inputProps,g=(e.variant,Object(i.a)(e,["children","classes","IconComponent","input","inputProps","variant"])),v=Object(c.a)(),y=Object(u.a)({props:e,muiFormControl:v,states:["variant"]});return a.cloneElement(m,Object(r.a)({inputComponent:o.a,inputProps:Object(r.a)({children:n,classes:s,IconComponent:f,variant:y.variant,type:void 0},b,m?m.props.inputProps:{}),ref:t},g))}));h.muiName="Select";Object(s.a)(f,{name:"MuiNativeSelect"})(h)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),i=n(0),a=n.n(i),o=n(1180);function s(e,t){var n=function(t,n){return a.a.createElement(o.a,Object(r.a)({ref:n},t),e)};return n.muiName=o.a.muiName,a.a.memo(a.a.forwardRef(n))}},function(e,t,n){"use strict";var r=n(2),i=n(277),a=n(46),o=n(343),s=n(421),u=n(0),c=(n(301),n(11),n(12)),l=n(145),d=n(106),f=n(986),p=n(356),h=n(99),m=n(395);function b(e,t){return"object"===Object(o.a)(t)&&null!==t?e===t:String(e)===String(t)}var g=u.forwardRef((function(e,t){var n=e["aria-label"],o=e.autoFocus,g=e.autoWidth,v=e.children,y=e.classes,x=e.className,w=e.defaultValue,O=e.disabled,j=e.displayEmpty,C=e.IconComponent,E=e.inputRef,S=e.labelId,k=e.MenuProps,D=void 0===k?{}:k,A=e.multiple,_=e.name,F=e.onBlur,R=e.onChange,T=e.onClose,P=e.onFocus,M=e.onOpen,B=e.open,N=e.readOnly,I=e.renderValue,L=e.SelectDisplayProps,z=void 0===L?{}:L,W=e.tabIndex,V=(e.type,e.value),U=e.variant,H=void 0===U?"standard":U,q=Object(a.a)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),$=Object(m.a)({controlled:V,default:w,name:"Select"}),G=Object(i.a)($,2),Y=G[0],K=G[1],X=u.useRef(null),Z=u.useState(null),Q=Z[0],J=Z[1],ee=u.useRef(null!=B).current,te=u.useState(),ne=te[0],re=te[1],ie=u.useState(!1),ae=ie[0],oe=ie[1],se=Object(h.a)(t,E);u.useImperativeHandle(se,(function(){return{focus:function(){Q.focus()},node:X.current,value:Y}}),[Q,Y]),u.useEffect((function(){o&&Q&&Q.focus()}),[o,Q]),u.useEffect((function(){if(Q){var e=Object(l.a)(Q).getElementById(S);if(e){var t=function(){getSelection().isCollapsed&&Q.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[S,Q]);var ue,ce,le=function(e,t){e?M&&M(t):T&&T(t),ee||(re(g?null:Q.clientWidth),oe(e))},de=u.Children.toArray(v),fe=function(e){return function(t){var n;if(A||le(!1,t),A){n=Array.isArray(Y)?Y.slice():[];var r=Y.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),Y!==n&&(K(n),R&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:_}}),R(t,e)))}},pe=null!==Q&&(ee?B:ae);delete q["aria-invalid"];var he=[],me=!1;(Object(p.b)({value:Y})||j)&&(I?ue=I(Y):me=!0);var be=de.map((function(e){if(!u.isValidElement(e))return null;var t;if(A){if(!Array.isArray(Y))throw new Error(Object(s.a)(2));(t=Y.some((function(t){return b(t,e.props.value)})))&&me&&he.push(e.props.children)}else(t=b(Y,e.props.value))&&me&&(ce=e.props.children);return t&&!0,u.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:fe(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));me&&(ue=A?he.join(", "):ce);var ge,ve=ne;!g&&ee&&Q&&(ve=Q.clientWidth),ge=void 0!==W?W:O?null:0;var ye=z.id||(_?"mui-component-select-".concat(_):void 0);return u.createElement(u.Fragment,null,u.createElement("div",Object(r.a)({className:Object(c.default)(y.root,y.select,y.selectMenu,y[H],x,O&&y.disabled),ref:J,tabIndex:ge,role:"button","aria-disabled":O?"true":void 0,"aria-expanded":pe?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[S,ye].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!N){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),le(!0,e))}},onMouseDown:O||N?null:function(e){0===e.button&&(e.preventDefault(),Q.focus(),le(!0,e))},onBlur:function(e){!pe&&F&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:Y,name:_}}),F(e))},onFocus:P},z,{id:ye}),function(e){return null==e||"string"==typeof e&&!e.trim()}(ue)?u.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):ue),u.createElement("input",Object(r.a)({value:Array.isArray(Y)?Y.join(","):Y,name:_,ref:X,"aria-hidden":!0,onChange:function(e){var t=de.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=de[t];K(n.props.value),R&&R(e,n)}},tabIndex:-1,className:y.nativeInput,autoFocus:o},q)),u.createElement(C,{className:Object(c.default)(y.icon,y["icon".concat(Object(d.a)(H))],pe&&y.iconOpen,O&&y.disabled)}),u.createElement(f.a,Object(r.a)({id:"menu-".concat(_||""),anchorEl:Q,open:pe,onClose:function(e){le(!1,e)}},D,{MenuListProps:Object(r.a)({"aria-labelledby":S,role:"listbox",disableListWrap:!0},D.MenuListProps),PaperProps:Object(r.a)({},D.PaperProps,{style:Object(r.a)({minWidth:ve},null!=D.PaperProps?D.PaperProps.style:null)})}),be))}));t.a=g},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(301),n(11),n(12)),s=n(73),u=n(1177),c=n(1328),l=n(101),d=n(247),f=n(278),p={vertical:"top",horizontal:"right"},h={vertical:"top",horizontal:"left"},m=a.forwardRef((function(e,t){var n=e.autoFocus,s=void 0===n||n,m=e.children,b=e.classes,g=e.disableAutoFocusItem,v=void 0!==g&&g,y=e.MenuListProps,x=void 0===y?{}:y,w=e.onClose,O=e.onEntering,j=e.open,C=e.PaperProps,E=void 0===C?{}:C,S=e.PopoverClasses,k=e.transitionDuration,D=void 0===k?"auto":k,A=e.TransitionProps,_=(A=void 0===A?{}:A).onEntering,F=Object(i.a)(A,["onEntering"]),R=e.variant,T=void 0===R?"selectedMenu":R,P=Object(i.a)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"]),M=Object(f.a)(),B=s&&!v&&j,N=a.useRef(null),I=a.useRef(null),L=-1;a.Children.map(m,(function(e,t){a.isValidElement(e)&&(e.props.disabled||("menu"!==T&&e.props.selected||-1===L)&&(L=t))}));var z=a.Children.map(m,(function(e,t){return t===L?a.cloneElement(e,{ref:function(t){I.current=l.findDOMNode(t),Object(d.a)(e.ref,t)}}):e}));return a.createElement(u.a,Object(r.a)({getContentAnchorEl:function(){return I.current},classes:S,onClose:w,TransitionProps:Object(r.a)({onEntering:function(e,t){N.current&&N.current.adjustStyleForScrollbar(e,M),O&&O(e,t),_&&_(e,t)}},F),anchorOrigin:"rtl"===M.direction?p:h,transformOrigin:"rtl"===M.direction?p:h,PaperProps:Object(r.a)({},E,{classes:Object(r.a)({},E.classes,{root:b.paper})}),open:j,ref:t,transitionDuration:D},P),a.createElement(c.a,Object(r.a)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),w&&w(e,"tabKeyDown"))},actions:N,autoFocus:s&&(-1===L||v),autoFocusItem:B,variant:T},x,{className:Object(o.default)(b.list,x.className)}),z))}));t.a=Object(s.a)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(m)},function(e,t,n){"use strict";var r=n(0),i=r.createContext({});t.a=i},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z"}),"Upload");t.default=o},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n(302),n(664),n(665);var r=n(666);n.d(t,"a",(function(){return r.a}))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{};d.initial(e),d.handler(t);var n={current:e},r=s(h)(n,t),i=s(p)(n),a=s(d.changes)(e),u=s(f)(n);function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return d.selector(e),e(n.current)}function l(e){o(r,i,a,u)(e)}return[c,l]}};t.a=m},function(e,t,n){"use strict";t.a={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.28.1/min/vs"}}},function(e,t,n){"use strict";var r=n(1036),i=n(1037);var a={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},o=Object(r.a)((function(e,t){throw new Error(e[t]||e.default)}))(a),s={config:function(e){return e||o("configIsRequired"),Object(i.a)(e)||o("configType"),e.urls?(console.warn(a.deprecation),{paths:{vs:e.urls.monacoBase}}):e}};t.a=s},function(e,t,n){"use strict";t.a=function(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),a=0;a=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=new Array(e),a=0;a{const e=r.a.init();return e.then(e=>(_.current=e)&&D(!1)).catch(e=>"cancelation"!==(null==e?void 0:e.type)&&console.error("Monaco initialization: error:",e)),()=>A.current?function(){const e=A.current.getModel();var t,n;h||null===(t=e.original)||void 0===t||t.dispose();m||null===(n=e.modified)||void 0===n||n.dispose();A.current.dispose()}():e.cancel()}),Object(l.a)(()=>{const e=A.current.getModifiedEditor();e.getOption(_.current.editor.EditorOption.readOnly)?e.setValue(t):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t,forceMoveMarkers:!0}]),e.pushUndoStop())},[t],E),Object(l.a)(()=>{A.current.getModel().original.setValue(e)},[e],E),Object(l.a)(()=>{const{original:e,modified:t}=A.current.getModel();_.current.editor.setModelLanguage(e,o||n),_.current.editor.setModelLanguage(t,s||n)},[n,o,s],E),Object(l.a)(()=>{_.current.editor.setTheme(b)},[b],E),Object(l.a)(()=>{A.current.updateOptions(v)},[v],E);const P=Object(i.useCallback)(()=>{T.current(_.current);const r=Object(d.a)(_.current,e,o||n,f),i=Object(d.a)(_.current,t,s||n,p);A.current.setModel({original:r,modified:i})},[n,t,s,e,o,f,p]),M=Object(i.useCallback)(()=>{A.current=_.current.editor.createDiffEditor(F.current,{automaticLayout:!0,...v}),P(),_.current.editor.setTheme(b),S(!0)},[v,b,P]);return Object(i.useEffect)(()=>{E&&R.current(A.current,_.current)},[E]),Object(i.useEffect)(()=>{!k&&!E&&M()},[k,E,M]),a.a.createElement(u.a,{width:x,height:y,isEditorReady:E,loading:g,_ref:F,className:w,wrapperProps:O})}f.propTypes={original:s.a.string,modified:s.a.string,language:s.a.string,originalLanguage:s.a.string,modifiedLanguage:s.a.string,originalModelPath:s.a.string,modifiedModelPath:s.a.string,keepCurrentOriginalModel:s.a.bool,keepCurrentModifiedModel:s.a.bool,theme:s.a.string,loading:s.a.oneOfType([s.a.element,s.a.string]),options:s.a.object,width:s.a.oneOfType([s.a.number,s.a.string]),height:s.a.oneOfType([s.a.number,s.a.string]),className:s.a.string,wrapperProps:s.a.object,beforeMount:s.a.func,onMount:s.a.func},f.defaultProps={theme:"light",loading:"Loading...",options:{},keepCurrentOriginalModel:!1,keepCurrentModifiedModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:d.c,onMount:d.c},t.a=f},function(e,t,n){"use strict";var r=n(0),i=n.n(r),a=n(11),o=n.n(a),s=n(1042),u=n(1043),c=n(570);function l({width:e,height:t,isEditorReady:n,loading:r,_ref:a,className:o,wrapperProps:l}){return i.a.createElement("section",Object(s.a)({style:{...c.a.wrapper,width:e,height:t}},l),!n&&i.a.createElement(u.a,{content:r}),i.a.createElement("div",{ref:a,style:{...c.a.fullWidth,...!n&&c.a.hide},className:o}))}l.propTypes={width:o.a.oneOfType([o.a.number,o.a.string]).isRequired,height:o.a.oneOfType([o.a.number,o.a.string]).isRequired,loading:o.a.oneOfType([o.a.element,o.a.string]).isRequired,isEditorReady:o.a.bool.isRequired,className:o.a.string,wrapperProps:o.a.object},t.a=l},function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t{const e=r.a.init();return e.then(e=>(P.current=e)&&T(!1)).catch(e=>"cancelation"!==(null==e?void 0:e.type)&&console.error("Monaco initialization: error:",e)),()=>M.current?function(){var e,t;null===(e=L.current)||void 0===e||e.dispose(),w?x&&p.set(h,M.current.saveViewState()):null===(t=M.current.getModel())||void 0===t||t.dispose();M.current.dispose()}():e.cancel()}),Object(l.a)(()=>{const n=Object(d.a)(P.current,e||o,t||s,h);n!==M.current.getModel()&&(x&&p.set(W,M.current.saveViewState()),M.current.setModel(n),x&&M.current.restoreViewState(p.get(h)))},[h],_),Object(l.a)(()=>{M.current.updateOptions(v)},[v],_),Object(l.a)(()=>{M.current.getOption(P.current.editor.EditorOption.readOnly)?M.current.setValue(o):o!==M.current.getValue()&&(M.current.executeEdits("",[{range:M.current.getModel().getFullModelRange(),text:o,forceMoveMarkers:!0}]),M.current.pushUndoStop())},[o],_),Object(l.a)(()=>{P.current.editor.setModelLanguage(M.current.getModel(),s)},[s],_),Object(l.a)(()=>{Object(d.b)(b)||M.current.revealLine(b)},[b],_),Object(l.a)(()=>{P.current.editor.setTheme(m)},[m],_);const V=Object(i.useCallback)(()=>{I.current(P.current);const r=h||n,i=Object(d.a)(P.current,o||e,t||s,r);M.current=P.current.editor.create(B.current,{model:i,automaticLayout:!0,...v},y),x&&M.current.restoreViewState(p.get(r)),P.current.editor.setTheme(m),F(!0)},[e,t,n,o,s,h,v,y,x,m]);return Object(i.useEffect)(()=>{_&&N.current(M.current,P.current)},[_]),Object(i.useEffect)(()=>{!R&&!_&&V()},[R,_,V]),z.current=o,Object(i.useEffect)(()=>{var e,t;_&&D&&(null===(e=L.current)||void 0===e||e.dispose(),L.current=null===(t=M.current)||void 0===t?void 0:t.onDidChangeModelContent(e=>{const t=M.current.getValue();z.current!==t&&D(t,e)}))},[_,D]),Object(i.useEffect)(()=>{if(_){const e=P.current.editor.onDidChangeMarkers(e=>{var t;const n=null===(t=M.current.getModel())||void 0===t?void 0:t.uri;if(n){if(e.find(e=>e.path===n.path)){const e=P.current.editor.getModelMarkers({resource:n});null==A||A(e)}}});return()=>{null==e||e.dispose()}}},[_,A]),a.a.createElement(u.a,{width:O,height:j,isEditorReady:_,loading:g,_ref:B,className:C,wrapperProps:E})}h.propTypes={defaultValue:s.a.string,defaultPath:s.a.string,defaultLanguage:s.a.string,value:s.a.string,language:s.a.string,path:s.a.string,theme:s.a.string,line:s.a.number,loading:s.a.oneOfType([s.a.element,s.a.string]),options:s.a.object,overrideServices:s.a.object,saveViewState:s.a.bool,keepCurrentModel:s.a.bool,width:s.a.oneOfType([s.a.number,s.a.string]),height:s.a.oneOfType([s.a.number,s.a.string]),className:s.a.string,wrapperProps:s.a.object,beforeMount:s.a.func,onMount:s.a.func,onChange:s.a.func,onValidate:s.a.func},h.defaultProps={theme:"light",loading:"Loading...",options:{},overrideServices:{},saveViewState:!0,keepCurrentModel:!1,width:"100%",height:"100%",wrapperProps:{},beforeMount:d.c,onMount:d.c,onValidate:d.c},t.a=h},function(e,t,n){"use strict";var r=n(0);t.a=function(e){const t=Object(r.useRef)();return Object(r.useEffect)(()=>{t.current=e},[e]),t.current}},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.default=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiToolbar",e)}Object(i.a)("MuiToolbar",["root","gutters","regular","dense"])},function(e,t,n){"use strict";var r,i,a,o,s,u,c,l,d=n(2),f=n(18),p=n(0),h=(n(11),n(444)),m=n(445),b=n(110),g=n(91),v=n(632),y=n(633),x=n(5);const w=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],O=p.forwardRef((function(e,t){const{backIconButtonProps:n,count:p,getItemAriaLabel:O,nextIconButtonProps:j,onPageChange:C,page:E,rowsPerPage:S,showFirstButton:k,showLastButton:D}=e,A=Object(f.a)(e,w),_=Object(b.a)();return Object(x.jsxs)("div",Object(d.a)({ref:t},A,{children:[k&&Object(x.jsx)(g.a,{onClick:e=>{C(e,0)},disabled:0===E,"aria-label":O("first",E),title:O("first",E),children:"rtl"===_.direction?r||(r=Object(x.jsx)(v.a,{})):i||(i=Object(x.jsx)(y.a,{}))}),Object(x.jsx)(g.a,Object(d.a)({onClick:e=>{C(e,E-1)},disabled:0===E,color:"inherit","aria-label":O("previous",E),title:O("previous",E)},n,{children:"rtl"===_.direction?a||(a=Object(x.jsx)(m.a,{})):o||(o=Object(x.jsx)(h.a,{}))})),Object(x.jsx)(g.a,Object(d.a)({onClick:e=>{C(e,E+1)},disabled:-1!==p&&E>=Math.ceil(p/S)-1,color:"inherit","aria-label":O("next",E),title:O("next",E)},j,{children:"rtl"===_.direction?s||(s=Object(x.jsx)(h.a,{})):u||(u=Object(x.jsx)(m.a,{}))})),D&&Object(x.jsx)(g.a,{onClick:e=>{C(e,Math.max(0,Math.ceil(p/S)-1))},disabled:E>=Math.ceil(p/S)-1,"aria-label":O("last",E),title:O("last",E),children:"rtl"===_.direction?c||(c=Object(x.jsx)(y.a,{})):l||(l=Object(x.jsx)(v.a,{}))})]}))}));t.a=O},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.default=o},,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");t.default=o},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");t.default=o},function(e,t,n){"use strict";var r=n(78);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(79)),a=n(5),o=(0,i.default)((0,a.jsx)("path",{d:"M5 13h14v-2H5v2zm-2 4h14v-2H3v2zM7 7v2h14V7H7z"}),"ClearAll");t.default=o},,,,,,,,,,,,,,,,,,function(e,t,n){var r,i=i||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,a=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},u=function(e){setTimeout((function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()}),4e4)},c=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},l=function(t,l,d){d||(t=c(t));var f,p=this,h="application/octet-stream"===t.type,m=function(){!function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var i=e["on"+t[r]];if("function"==typeof i)try{i.call(e,n||e)}catch(e){s(e)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,i)return f=n().createObjectURL(t),void setTimeout((function(){var e,t;r.href=f,r.download=l,e=r,t=new MouseEvent("click"),e.dispatchEvent(t),m(),u(f),p.readyState=p.DONE}));!function(){if((o||h&&a)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},r.readAsDataURL(t),void(p.readyState=p.INIT)}(f||(f=n().createObjectURL(t)),h)?e.location.href=f:e.open(f,"_blank")||(e.location.href=f);p.readyState=p.DONE,m(),u(f)}()},d=l.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=c(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,function(e,t,n){return new l(e,t||e.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content); -/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=i:null!==n(1256)&&null!==n(1257)&&(void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r))},function(e,t,n){(function(t,n,r){e.exports=function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[o]={exports:{}};t[o][0].call(c.exports,(function(e){return i(t[o][1][e]||e)}),c,c.exports,e,t,n,r)}return n[o].exports}for(var a=!1,o=0;o>2,s=(3&t)<<4|n>>4,u=1>6:64,c=2>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(c++)))>>2,r=(3&s)<<6|(u=a.indexOf(e.charAt(c++))),f[l++]=t,64!==s&&(f[l++]=n),64!==u&&(f[l++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var a=i,o=0+n;e^=-1;for(var s=0;s>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,n,r){var a=i,o=0+n;e^=-1;for(var s=0;s>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=r?"uint8array":"array";function u(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",a.inherits(u,o),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},u.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new u("Deflate",e)},n.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n>>=8;return r}function i(e,t,n,i,o,l){var d,f,p=e.file,h=e.compression,m=l!==s.utf8encode,b=a.transformTo("string",l(p.name)),g=a.transformTo("string",s.utf8encode(p.name)),v=p.comment,y=a.transformTo("string",l(v)),x=a.transformTo("string",s.utf8encode(v)),w=g.length!==p.name.length,O=x.length!==v.length,j="",C="",E="",S=p.dir,k=p.date,D={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),m||!w&&!O||(A|=2048);var _=0,F=0;S&&(_|=16),"UNIX"===o?(F=798,_|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,S)):(F=20,_|=function(e){return 63&(e||0)}(p.dosPermissions)),d=k.getUTCHours(),d<<=6,d|=k.getUTCMinutes(),d<<=5,d|=k.getUTCSeconds()/2,f=k.getUTCFullYear()-1980,f<<=4,f|=k.getUTCMonth()+1,f<<=5,f|=k.getUTCDate(),w&&(C=r(1,1)+r(u(b),4)+g,j+="up"+r(C.length,2)+C),O&&(E=r(1,1)+r(u(y),4)+x,j+="uc"+r(E.length,2)+E);var R="";return R+="\n\0",R+=r(A,2),R+=h.magic,R+=r(d,2),R+=r(f,2),R+=r(D.crc32,4),R+=r(D.compressedSize,4),R+=r(D.uncompressedSize,4),R+=r(b.length,2),R+=r(j.length,2),{fileRecord:c.LOCAL_FILE_HEADER+R+b+j,dirRecord:c.CENTRAL_FILE_HEADER+r(F,2)+R+r(y.length,2)+"\0\0\0\0"+r(_,4)+r(i,4)+b+j+y}}var a=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),u=e("../crc32"),c=e("../signature");function l(e,t,n,r){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(l,o),l.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},l.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},l.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new u(r.transformTo("uint8array",e)):new a(r.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function a(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function a(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=r},{}],29:[function(e,n,r){"use strict";var i=e("../utils"),a=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),u=e("../support"),c=e("../external"),l=null;if(u.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new a(r)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return function(e,n){return new c.Promise((function(r,a){var o=[],u=e._internalType,c=e._outputType,l=e._mimeType;e.on("data",(function(e,t){o.push(e),n&&n(t)})).on("error",(function(e){o=[],a(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(c,function(e,n){var r,i=0,a=null,o=0;for(r=0;r>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,a,o=e.length,u=new Array(2*o);for(t=n=0;t>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),r.applyFromCharCode(u)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(c,o),c.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),u=t;o!==t.length&&(i.uint8array?(u=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(u=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(u),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(l,o),l.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),a=e("./nodejsUtils"),o=e("set-immediate-shim"),s=e("./external");function u(e){return e}function c(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return u(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n>10&1023,c[r++]=56320|1023&i)}return u(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){for(n-=o=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),a=e("./trees"),o=e("./adler32"),s=e("./crc32"),u=e("./messages"),c=-2,l=258,d=262,f=113;function p(e,t){return e.msg=u[t],t}function h(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function g(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,b(e.strm)}function v(e,t){e.pending_buf[e.pending++]=t}function y(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function x(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,c=e.window,f=e.w_mask,p=e.prev,h=e.strstart+l,m=c[a+o-1],b=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+o]===b&&c[n+o-1]===m&&c[n]===c[a]&&c[++n]===c[a+1]){a+=2,n++;do{}while(c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&au&&0!=--i);return o<=e.lookahead?o:e.lookahead}function w(e){var t,n,r,a,u,c,l,f,p,h,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-d)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(0===e.strm.avail_in)break;if(c=e.strm,l=e.window,f=e.strstart+e.lookahead,h=void 0,(p=a)<(h=c.avail_in)&&(h=p),n=0===h?0:(c.avail_in-=h,i.arraySet(l,c.input,c.next_in,h,f),1===c.state.wrap?c.adler=o(c.adler,l,h,f):2===c.state.wrap&&(c.adler=s(c.adler,l,h,f)),c.next_in+=h,c.total_in+=h,h),e.lookahead+=n,e.lookahead+e.insert>=3)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(w(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,g(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(g(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(g(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(g(e,!1),e.strm.avail_out),1)})),new C(4,4,8,4,O),new C(4,5,16,8,O),new C(4,6,32,32,O),new C(4,4,16,16,j),new C(8,16,32,32,j),new C(8,16,128,128,j),new C(8,32,128,256,j),new C(32,128,258,1024,j),new C(32,258,258,4096,j)],n.deflateInit=function(e,t){return D(e,t,8,15,8,0)},n.deflateInit2=D,n.deflateReset=k,n.deflateResetKeep=S,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},n.deflate=function(e,t){var n,i,o,u;if(!e||!e.state||5>8&255),v(i,i.gzhead.time>>16&255),v(i,i.gzhead.time>>24&255),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(v(i,255&i.gzhead.extra.length),v(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(v(i,0),v(i,0),v(i,0),v(i,0),v(i,0),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,3),i.status=f);else{var d=8+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=f,y(i,d),0!==i.strstart&&(y(i,e.adler>>>16),y(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),b(e),o=i.pending,i.pending!==i.pending_buf_size));)v(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),b(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),b(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&b(e),i.pending+2<=i.pending_buf_size&&(v(i,255&e.adler),v(i,e.adler>>8&255),e.adler=0,i.status=f)):i.status=f),0!==i.pending){if(b(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&h(t)<=h(n)&&4!==t)return p(e,-5);if(666===i.status&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var x=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(w(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(g(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(g(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(g(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=l){if(w(e),e.lookahead<=l&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(g(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(g(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(g(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==x&&4!==x||(i.status=666),1===x||3===x)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===x&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(m(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),b(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(v(i,255&e.adler),v(i,e.adler>>8&255),v(i,e.adler>>16&255),v(i,e.adler>>24&255),v(i,255&e.total_in),v(i,e.total_in>>8&255),v(i,e.total_in>>16&255),v(i,e.total_in>>24&255)):(y(i,e.adler>>>16),y(i,65535&e.adler)),b(e),0=n.w_size&&(0===s&&(m(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),u=e.avail_in,l=e.next_in,d=e.input,e.avail_in=p,e.next_in=0,e.input=t,w(n);n.lookahead>=3;){for(r=n.strstart,a=n.lookahead-2;n.ins_h=(n.ins_h<>>=x=y>>>24,h-=x,0==(x=y>>>16&255))S[a++]=65535&y;else{if(!(16&x)){if(0==(64&x)){y=m[(65535&y)+(p&(1<>>=x,h-=x),h<15&&(p+=E[r++]<>>=x=y>>>24,h-=x,!(16&(x=y>>>16&255))){if(0==(64&x)){y=b[(65535&y)+(p&(1<>>=x,h-=x,(x=a-o)>3,p&=(1<<(h-=w<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):u}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):u}function p(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=a(n.check,B,2,0),g=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&b)){e.msg="unknown compression method",n.mode=30;break}if(g-=4,F=8+(15&(b>>>=4)),0===n.wbits)n.wbits=F;else if(F>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),g=b=0,n.mode=3;case 3:for(;g<32;){if(0===h)break e;h--,b+=l[f++]<>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),g=b=0,n.mode=4;case 4:for(;g<16;){if(0===h)break e;h--,b+=l[f++]<>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),g=b=0,n.mode=5;case 5:if(1024&n.flags){for(;g<16;){if(0===h)break e;h--,b+=l[f++]<>>8&255,n.check=a(n.check,B,2,0)),g=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(h<(O=n.length)&&(O=h),O&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,l,f,O,F)),512&n.flags&&(n.check=a(n.check,l,O,f)),h-=O,f+=O,n.length-=O),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===h)break e;for(O=0;F=l[f+O++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&O>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;g<32;){if(0===h)break e;h--,b+=l[f++]<>>=7&g,g-=7&g,n.mode=27;break}for(;g<3;){if(0===h)break e;h--,b+=l[f++]<>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6!==t)break;b>>>=2,g-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,g-=2;break;case 14:for(b>>>=7&g,g-=7&g;g<32;){if(0===h)break e;h--,b+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,g=b=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(O=n.length){if(h>>=5,g-=5,n.ndist=1+(31&b),b>>>=5,g-=5,n.ncode=4+(15&b),b>>>=4,g-=4,286>>=3,g-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,T={bits:n.lenbits},R=s(0,n.lens,0,19,n.lencode,0,n.work,T),n.lenbits=T.bits,R){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,k=65535&M,!((E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>>=E,g-=E,n.lens[n.have++]=k;else{if(16===k){for(P=E+2;g>>=E,g-=E,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}F=n.lens[n.have-1],O=3+(3&b),b>>>=2,g-=2}else if(17===k){for(P=E+3;g>>=E)),b>>>=3,g-=3}else{for(P=E+7;g>>=E)),b>>>=7,g-=7}if(n.have+O>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;O--;)n.lens[n.have++]=F}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,T={bits:n.lenbits},R=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,T),n.lenbits=T.bits,R){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,T={bits:n.distbits},R=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,T),n.distbits=T.bits,R){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=h&&258<=m){e.next_out=p,e.avail_out=m,e.next_in=f,e.avail_in=h,n.hold=b,n.bits=g,o(e,w),p=e.next_out,d=e.output,m=e.avail_out,f=e.next_in,l=e.input,h=e.avail_in,b=n.hold,g=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;S=(M=n.lencode[b&(1<>>16&255,k=65535&M,!((E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>D)])>>>16&255,k=65535&M,!(D+(E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>>=D,g-=D,n.back+=D}if(b>>>=E,g-=E,n.back+=E,n.length=k,0===S){n.mode=26;break}if(32&S){n.back=-1,n.mode=12;break}if(64&S){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&S,n.mode=22;case 22:if(n.extra){for(P=n.extra;g>>=n.extra,g-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;S=(M=n.distcode[b&(1<>>16&255,k=65535&M,!((E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>D)])>>>16&255,k=65535&M,!(D+(E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>>=D,g-=D,n.back+=D}if(b>>>=E,g-=E,n.back+=E,64&S){e.msg="invalid distance code",n.mode=30;break}n.offset=k,n.extra=15&S,n.mode=24;case 24:if(n.extra){for(P=n.extra;g>>=n.extra,g-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(O=w-m,n.offset>O){if((O=n.offset-O)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}j=O>n.wnext?(O-=n.wnext,n.wsize-O):n.wnext-O,O>n.length&&(O=n.length),C=n.window}else C=d,j=p-n.offset,O=n.length;for(mv?(x=N[I+d[C]],T[P+d[C]]):(x=96,0),p=1<>A)+(h-=p)]=y<<24|x<<16|w|0,0!==h;);for(p=1<>=1;if(0!==p?(R&=p-1,R+=p):R=0,C++,0==--M[j]){if(j===S)break;j=t[n+d[C]]}if(k>>7)]}function E(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function A(e,t,n){var r,i,a=new Array(16),o=0;for(r=1;r<=u;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=D(a[s]++,s))}}function _(e){var t;for(t=0;t>1;1<=n;n--)T(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],T(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,T(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,d=t.stat_desc.static_tree,f=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,m=t.stat_desc.max_length,b=0;for(a=0;a<=u;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)m<(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(a=m,b++),c[2*r+1]=a,l>=7;r>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?L(e,t,n,r):4===e.strategy||o===i?(S(e,2+(r?1:0),3),P(e,p,h)):(S(e,4+(r?1:0),3),function(e,t,n,r){var i;for(S(e,t-257,5),S(e,n-1,5),S(e,r-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(b[n]+a+1)]++,e.dyn_dtree[2*C(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){S(e,2,3),k(e,256,p),function(e){16===e.bi_valid?(E(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){"use strict";t.exports="function"==typeof r?r:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)}).call(this,n(1258).Buffer,n(341),n(1262).setImmediate)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiCircularProgress",e)}Object(i.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},function(e,t,n){"use strict";var r=n(280),i=n(398),a=n(147);function o(e){const{sx:t,theme:n={}}=e||{};if(!t)return null;if("function"==typeof t)return t(n);if("object"!=typeof t)return t;const s=Object(a.a)(n.breakpoints),u=Object.keys(s);let c=s;return Object.keys(t).forEach(e=>{const s=(u=t[e],l=n,"function"==typeof u?u(l):u);var u,l;if("object"==typeof s)if(i.b[e])c=Object(r.a)(c,Object(i.a)(e,s,n));else{const t=Object(a.b)({theme:n},s,t=>({[e]:t}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(t,s)?c=Object(r.a)(c,t):c[e]=o({sx:s,theme:n})}else c=Object(r.a)(c,Object(i.a)(e,s,n))}),Object(a.c)(u,c)}o.filterProps=["sx"],t.a=o},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(1267)),s=n(592),u=n(1149),c=n(168),l=n(83),d=n(173),f=n(5);const p=["anchorEl","children","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],h=["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function m(e){return"function"==typeof e?e():e}const b={},g=a.forwardRef((function(e,t){const{anchorEl:n,children:u,disablePortal:c,modifiers:h,open:b,placement:g,popperOptions:v,popperRef:y,TransitionProps:x}=e,w=Object(i.a)(e,p),O=a.useRef(null),j=Object(l.a)(O,t),C=a.useRef(null),E=Object(l.a)(C,y),S=a.useRef(E);Object(d.a)(()=>{S.current=E},[E]),a.useImperativeHandle(y,()=>C.current,[]);const k=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(g,Object(s.a)()),[D,A]=a.useState(k);a.useEffect(()=>{C.current&&C.current.forceUpdate()}),Object(d.a)(()=>{if(!n||!b)return;m(n);let e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A(e.placement)}}];null!=h&&(e=e.concat(h)),v&&null!=v.modifiers&&(e=e.concat(v.modifiers));const t=Object(o.a)(m(n),O.current,Object(r.a)({placement:k},v,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}},[n,c,h,b,v,k]);const _={placement:D};return null!==x&&(_.TransitionProps=x),Object(f.jsx)("div",Object(r.a)({ref:j,role:"tooltip"},w,{children:"function"==typeof u?u(_):u}))})),v=a.forwardRef((function(e,t){const{anchorEl:n,children:o,container:s,disablePortal:l=!1,keepMounted:d=!1,modifiers:p,open:v,placement:y="bottom",popperOptions:x=b,popperRef:w,style:O,transition:j=!1}=e,C=Object(i.a)(e,h),[E,S]=a.useState(!0);if(!d&&!v&&(!j||E))return null;const k=s||(n?Object(c.a)(m(n)).body:void 0);return Object(f.jsx)(u.a,{disablePortal:l,container:k,children:Object(f.jsx)(g,Object(r.a)({anchorEl:n,disablePortal:l,modifiers:p,ref:t,open:j?!E:v,placement:y,popperOptions:x,popperRef:w},C,{style:Object(r.a)({position:"fixed",top:0,left:0,display:v||!d||j?null:"none"},O),TransitionProps:j?{in:v,onEnter:()=>{S(!1)},onExited:()=>{S(!0)}}:null,children:o}))})}));t.a=v},function(e,t,n){"use strict";var r=n(0),i=n(101),a=(n(11),n(419)),o=n(412),s=n(411);const u=r.forwardRef((function(e,t){const{children:n,container:u,disablePortal:c=!1}=e,[l,d]=r.useState(null),f=Object(a.a)(r.isValidElement(n)?n.ref:null,t);return Object(o.a)(()=>{c||d(function(e){return"function"==typeof e?e():e}(u)||document.body)},[u,c]),Object(o.a)(()=>{if(l&&!c)return Object(s.a)(t,l),()=>{Object(s.a)(t,null)}},[t,l,c]),c?r.isValidElement(n)?r.cloneElement(n,{ref:f}):n:l?i.createPortal(n,l):l}));t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function i({controlled:e,default:t,name:n,state:i="value"}){const{current:a}=r.useRef(void 0!==e),[o,s]=r.useState(t);return[a?e:o,r.useCallback(e=>{a||s(e)},[])]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(0);let i=!0,a=!1,o=null;const s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function l(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!s[t]||e.readOnly)||("TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable)}(t)}function f(){const e=r.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",l,!0))},[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(o),o=window.setTimeout(()=>{a=!1},100),t.current=!1,!0)},ref:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(e={}){const{baseClasses:t,newClasses:n,Component:i}=e;if(!n)return t;const a=Object(r.a)({},t);return Object.keys(n).forEach(e=>{n[e]&&(a[e]=`${t[e]} ${n[e]}`)}),a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(488),i=n(489),a=n(490),o=n(491),s=n(492),u=n(493),c=n(495);function l(){return{plugins:[Object(r.a)(),Object(i.a)(),Object(a.a)(),Object(o.a)(),Object(s.a)(),"undefined"==typeof window?null:Object(u.a)(),Object(c.a)()]}}},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(463)),s=n(204),u=n(110),c=n(209),l=n(83),d=n(5);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},h={enter:s.b.enteringScreen,exit:s.b.leavingScreen},m=a.forwardRef((function(e,t){const{addEndListener:n,appear:s=!0,children:m,easing:b,in:g,onEnter:v,onEntered:y,onEntering:x,onExit:w,onExited:O,onExiting:j,style:C,timeout:E=h,TransitionComponent:S=o.a}=e,k=Object(i.a)(e,f),D=Object(u.a)(),A=a.useRef(null),_=Object(l.a)(m.ref,t),F=Object(l.a)(A,_),R=e=>t=>{if(e){const n=A.current;void 0===t?e(n):e(n,t)}},T=R(x),P=R((e,t)=>{Object(c.b)(e);const n=Object(c.a)({style:C,timeout:E,easing:b},{mode:"enter"});e.style.webkitTransition=D.transitions.create("opacity",n),e.style.transition=D.transitions.create("opacity",n),v&&v(e,t)}),M=R(y),B=R(j),N=R(e=>{const t=Object(c.a)({style:C,timeout:E,easing:b},{mode:"exit"});e.style.webkitTransition=D.transitions.create("opacity",t),e.style.transition=D.transitions.create("opacity",t),w&&w(e)}),I=R(O);return Object(d.jsx)(S,Object(r.a)({appear:s,in:g,nodeRef:A,onEnter:P,onEntered:M,onEntering:T,onExit:N,onExited:I,onExiting:B,addEndListener:e=>{n&&n(A.current,e)},timeout:E},k,{children:(e,t)=>a.cloneElement(m,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==e||g?void 0:"hidden"},p[e],C,m.props.style),ref:F},t))}))}));t.a=m},function(e,t,n){"use strict";function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(65)),s=n(224),u=n(164),c=n(17),l=n(34),d=n(413),f=n(5);const p=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],h=Object(c.a)(u.b,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Object(u.e)(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return Object(i.a)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:"2px solid "+e.palette[t.color].main,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.a.focused}:after`]:{transform:"scaleX(1)"},[`&.${d.a.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid "+n,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.a.disabled}):before`]:{borderBottom:"2px solid "+e.palette.text.primary,"@media (hover: none)":{borderBottom:"1px solid "+n}},[`&.${d.a.disabled}:before`]:{borderBottomStyle:"dotted"}})}),m=Object(c.a)(u.a,{name:"MuiInput",slot:"Input",overridesResolver:u.d})({}),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiInput"}),{disableUnderline:a,components:c={},componentsProps:b,fullWidth:g=!1,inputComponent:v="input",multiline:y=!1,type:x="text"}=n,w=Object(r.a)(n,p),O=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},a=Object(o.a)(r,d.b,t);return Object(i.a)({},t,a)})(n),j={root:{ownerState:{disableUnderline:a}}},C=b?Object(s.a)(b,j):j;return Object(f.jsx)(u.c,Object(i.a)({components:Object(i.a)({Root:h,Input:m},c),componentsProps:C,fullWidth:g,inputComponent:v,multiline:y,ref:t,type:x},w,{classes:O}))}));b.muiName="Input",t.a=b},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=n(224),s=(n(11),n(65)),u=n(164),c=n(17),l=n(34),d=n(334),f=n(5);const p=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],h=Object(c.a)(u.b,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Object(u.e)(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return Object(i.a)({position:"relative",backgroundColor:a,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:a}},["&."+d.a.focused]:{backgroundColor:a},["&."+d.a.disabled]:{backgroundColor:n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:"2px solid "+e.palette[t.color].main,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.a.focused}:after`]:{transform:"scaleX(1)"},[`&.${d.a.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid "+r,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.a.disabled}):before`]:{borderBottom:"1px solid "+e.palette.text.primary},[`&.${d.a.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Object(i.a)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),m=Object(c.a)(u.a,{name:"MuiFilledInput",slot:"Input",overridesResolver:u.d})(({theme:e,ownerState:t})=>Object(i.a)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9})),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiFilledInput"}),{components:a={},componentsProps:c,fullWidth:b=!1,inputComponent:g="input",multiline:v=!1,type:y="text"}=n,x=Object(r.a)(n,p),w=Object(i.a)({},n,{fullWidth:b,inputComponent:g,multiline:v,type:y}),O=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},a=Object(s.a)(r,d.b,t);return Object(i.a)({},t,a)})(n),j={root:{ownerState:w},input:{ownerState:w}},C=c?Object(o.a)(c,j):j;return Object(f.jsx)(u.c,Object(i.a)({components:Object(i.a)({Root:h,Input:m},a),componentsProps:C,fullWidth:b,inputComponent:g,multiline:v,ref:t,type:y},x,{classes:O}))}));b.muiName="Input",t.a=b},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(65)),s=n(738),u=n(17),c=n(291),l=n(164),d=n(34),f=n(5);const p=["components","fullWidth","inputComponent","label","multiline","notched","type"],h=Object(u.a)(l.b,{shouldForwardProp:e=>Object(u.b)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:l.e})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Object(i.a)({position:"relative",borderRadius:e.shape.borderRadius,["&:hover ."+c.a.notchedOutline]:{borderColor:e.palette.text.primary},"@media (hover: none)":{["&:hover ."+c.a.notchedOutline]:{borderColor:n}},[`&.${c.a.focused} .${c.a.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${c.a.error} .${c.a.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${c.a.disabled} .${c.a.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Object(i.a)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))}),m=Object(u.a)(s.a,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>({borderColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"})),b=Object(u.a)(l.a,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:l.d})(({theme:e,ownerState:t})=>Object(i.a)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),g=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiOutlinedInput"}),{components:a={},fullWidth:s=!1,inputComponent:u="input",label:g,multiline:v=!1,notched:y,type:x="text"}=n,w=Object(r.a)(n,p),O=(e=>{const{classes:t}=e,n=Object(o.a)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},c.b,t);return Object(i.a)({},t,n)})(n);return Object(f.jsx)(l.c,Object(i.a)({components:Object(i.a)({Root:h,Input:b},a),renderSuffix:e=>Object(f.jsx)(m,{className:O.notchedOutline,label:g,notched:void 0!==y?y:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:s,inputComponent:u,multiline:v,ref:t,type:x},w,{classes:Object(i.a)({},O,{notchedOutline:null})}))}));g.muiName="Input",t.a=g},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(34),c=n(17),l=n(348),d=n(30),f=n(314),p=n(313),h=n(740),m=n(5);const b=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],g=Object(c.a)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>Object(i.a)({},t.root,t["margin"+Object(d.a)(e.margin)],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>Object(i.a)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),v=a.forwardRef((function(e,t){const n=Object(u.a)({props:e,name:"MuiFormControl"}),{children:c,className:v,color:y="primary",component:x="div",disabled:w=!1,error:O=!1,focused:j,fullWidth:C=!1,hiddenLabel:E=!1,margin:S="none",required:k=!1,size:D="medium",variant:A="outlined"}=n,_=Object(r.a)(n,b),F=Object(i.a)({},n,{color:y,component:x,disabled:w,error:O,fullWidth:C,hiddenLabel:E,margin:S,required:k,size:D,variant:A}),R=(e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root","none"!==n&&"margin"+Object(d.a)(n),r&&"fullWidth"]};return Object(s.a)(i,h.a,t)})(F),[T,P]=a.useState(()=>{let e=!1;return c&&a.Children.forEach(c,t=>{if(!Object(f.a)(t,["Input","Select"]))return;const n=Object(f.a)(t,["Select"])?t.props.input:t;n&&Object(l.a)(n.props)&&(e=!0)}),e}),[M,B]=a.useState(()=>{let e=!1;return c&&a.Children.forEach(c,t=>{Object(f.a)(t,["Input","Select"])&&Object(l.b)(t.props,!0)&&(e=!0)}),e}),[N,I]=a.useState(!1);w&&N&&I(!1);const L=void 0===j||w?N:j;const z=a.useCallback(()=>{B(!0)},[]),W={adornedStart:T,setAdornedStart:P,color:y,disabled:w,error:O,filled:M,focused:L,fullWidth:C,hiddenLabel:E,size:D,onBlur:()=>{I(!1)},onEmpty:a.useCallback(()=>{B(!1)},[]),onFilled:z,onFocus:()=>{I(!0)},registerEffect:void 0,required:k,variant:A};return Object(m.jsx)(p.a.Provider,{value:W,children:Object(m.jsx)(g,Object(i.a)({as:x,ownerState:F,className:Object(o.default)(R.root,v),ref:t},_,{children:c}))})}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(65)),s=n(275),u=n(199),c=n(1283),l=n(369),d=n(34),f=n(17),p=n(741),h=n(5);const m=["disableAnimation","margin","shrink","variant"],b=Object(f.a)(c.a,{shouldForwardProp:e=>Object(f.b)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+l.a.asterisk]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&Object(i.a)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&Object(i.a)({transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&Object(i.a)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),g=a.forwardRef((function(e,t){const n=Object(d.a)({name:"MuiInputLabel",props:e}),{disableAnimation:a=!1,shrink:c}=n,l=Object(r.a)(n,m),f=Object(u.a)();let g=c;void 0===g&&f&&(g=f.filled||f.focused||f.adornedStart);const v=Object(s.a)({props:n,muiFormControl:f,states:["size","variant","required"]}),y=Object(i.a)({},n,{disableAnimation:a,formControl:f,shrink:g,size:v.size,variant:v.variant,required:v.required}),x=(e=>{const{classes:t,formControl:n,size:r,shrink:a,disableAnimation:s,variant:u,required:c}=e,l={root:["root",n&&"formControl",!s&&"animated",a&&"shrink","small"===r&&"sizeSmall",u],asterisk:[c&&"asterisk"]},d=Object(o.a)(l,p.a,t);return Object(i.a)({},t,d)})(y);return Object(h.jsx)(b,Object(i.a)({"data-shrink":g,ownerState:y,ref:t},l,{classes:x}))}));t.a=g},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(432),o=n(347),s=(n(11),n(0)),u=n.n(s),c=n(401),l=n(547),d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(Object(a.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(o.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Object(l.b)(e,r):Object(l.c)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Object(l.a)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(i.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=Object(r.a)(e,["component","childFactory"]),a=this.state.contextValue,o=d(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?u.a.createElement(c.a.Provider,{value:a},o):u.a.createElement(c.a.Provider,{value:a},u.a.createElement(t,i,o))},t}(u.a.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}},t.a=f},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(463)),s=n(228),u=n(83),c=n(110),l=n(204),d=n(209),f=n(230),p=n(5);const h=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(e,t,n){var r;const i=function(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=Object(f.a)(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const e=a.getComputedStyle(t);o=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,u=0;if(o&&"none"!==o&&"string"==typeof o){const e=o.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),u=parseInt(e[5],10)}return"left"===e?i?`translateX(${i.right+s-r.left}px)`:`translateX(${a.innerWidth+s-r.left}px)`:"right"===e?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?i?`translateY(${i.bottom+u-r.top}px)`:`translateY(${a.innerHeight+u-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-u}px)`:`translateY(-${r.top+r.height-u}px)`}(e,t,"function"==typeof(r=n)?r():r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const b={enter:l.c.easeOut,exit:l.c.sharp},g={enter:l.b.enteringScreen,exit:l.b.leavingScreen},v=a.forwardRef((function(e,t){const{addEndListener:n,appear:l=!0,children:v,container:y,direction:x="down",easing:w=b,in:O,onEnter:j,onEntered:C,onEntering:E,onExit:S,onExited:k,onExiting:D,style:A,timeout:_=g,TransitionComponent:F=o.a}=e,R=Object(i.a)(e,h),T=Object(c.a)(),P=a.useRef(null),M=Object(u.a)(v.ref,P),B=Object(u.a)(M,t),N=e=>t=>{e&&(void 0===t?e(P.current):e(P.current,t))},I=N((e,t)=>{m(x,e,y),Object(d.b)(e),j&&j(e,t)}),L=N((e,t)=>{const n=Object(d.a)({timeout:_,style:A,easing:w},{mode:"enter"});e.style.webkitTransition=T.transitions.create("-webkit-transform",Object(r.a)({},n)),e.style.transition=T.transitions.create("transform",Object(r.a)({},n)),e.style.webkitTransform="none",e.style.transform="none",E&&E(e,t)}),z=N(C),W=N(D),V=N(e=>{const t=Object(d.a)({timeout:_,style:A,easing:w},{mode:"exit"});e.style.webkitTransition=T.transitions.create("-webkit-transform",t),e.style.transition=T.transitions.create("transform",t),m(x,e,y),S&&S(e)}),U=N(e=>{e.style.webkitTransition="",e.style.transition="",k&&k(e)}),H=a.useCallback(()=>{P.current&&m(x,P.current,y)},[x,y]);return a.useEffect(()=>{if(O||"down"===x||"right"===x)return;const e=Object(s.a)(()=>{P.current&&m(x,P.current,y)}),t=Object(f.a)(P.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[x,O,y]),a.useEffect(()=>{O||H()},[O,H]),Object(p.jsx)(F,Object(r.a)({nodeRef:P,onEnter:I,onEntered:z,onEntering:L,onExit:V,onExited:U,onExiting:W,addEndListener:e=>{n&&n(P.current,e)},appear:l,in:O,timeout:_},R,{children:(e,t)=>a.cloneElement(v,Object(r.a)({ref:B,style:Object(r.a)({visibility:"exited"!==e||O?void 0:"hidden"},A,v.props.style)},t))}))}));t.a=v},function(e,t,n){"use strict";var r=n(0);t.a=e=>{const t=r.useRef({});return r.useEffect(()=>{t.current=e}),t.current}},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(301),n(11),n(12)),s=n(65),u=n(80),c=n(30),l=n(17),d=n(34),f=n(294),p=n(5);const h=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],m=Object(l.a)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+f.a.grouped]:t.grouped},{["& ."+f.a.grouped]:t["grouped"+Object(c.a)(n.orientation)]},{["& ."+f.a.grouped]:t["grouped"+Object(c.a)(n.variant)]},{["& ."+f.a.grouped]:t[`grouped${Object(c.a)(n.variant)}${Object(c.a)(n.orientation)}`]},{["& ."+f.a.grouped]:t[`grouped${Object(c.a)(n.variant)}${Object(c.a)(n.color)}`]},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"inline-flex",borderRadius:e.shape.borderRadius},"contained"===t.variant&&{boxShadow:e.shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{["& ."+f.a.grouped]:Object(i.a)({minWidth:40,"&:not(:first-of-type)":Object(i.a)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1}),"&:not(:last-of-type)":Object(i.a)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"inherit"!==t.color&&{borderColor:Object(u.a)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:"1px solid "+e.palette.grey[400],["&."+f.a.disabled]:{borderRight:"1px solid "+e.palette.action.disabled}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:"1px solid "+e.palette.grey[400],["&."+f.a.disabled]:{borderBottom:"1px solid "+e.palette.action.disabled}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:e.palette[t.color].dark}),"&:hover":Object(i.a)({},"outlined"===t.variant&&"inherit"!==t.color&&{borderColor:e.palette[t.color].main},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"})})),b=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiButtonGroup"}),{children:u,className:l,color:b="primary",component:g="div",disabled:v=!1,disableElevation:y=!1,disableFocusRipple:x=!1,disableRipple:w=!1,fullWidth:O=!1,orientation:j="horizontal",size:C="medium",variant:E="outlined"}=n,S=Object(r.a)(n,h),k=Object(i.a)({},n,{color:b,component:g,disabled:v,disableElevation:y,disableFocusRipple:x,disableRipple:w,fullWidth:O,orientation:j,size:C,variant:E}),D=(e=>{const{classes:t,color:n,disabled:r,disableElevation:i,fullWidth:a,orientation:o,variant:u}=e,l={root:["root",u,"vertical"===o&&"vertical",a&&"fullWidth",i&&"disableElevation"],grouped:["grouped","grouped"+Object(c.a)(o),"grouped"+Object(c.a)(u),`grouped${Object(c.a)(u)}${Object(c.a)(o)}`,`grouped${Object(c.a)(u)}${Object(c.a)(n)}`,r&&"disabled"]};return Object(s.a)(l,f.b,t)})(k);return Object(p.jsx)(m,Object(i.a)({as:g,role:"group",className:Object(o.default)(D.root,l),ref:t,ownerState:k},S,{children:a.Children.map(u,e=>a.isValidElement(e)?a.cloneElement(e,{className:Object(o.default)(D.grouped,e.props.className),color:e.props.color||b,disabled:e.props.disabled||v,disableElevation:e.props.disableElevation||y,disableFocusRipple:x,disableRipple:w,fullWidth:O,size:e.props.size||C,variant:e.props.variant||E}):null)}))}));t.a=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h}));var r,i=n(2),a=n(46),o=n(0),s=n.n(o),u=(n(11),n(1167)),c=n(144),l=n(1166),d=Object(c.b)(Object(l.a)()),f={disableGeneration:!1,generateClassName:Object(u.a)(),jss:d,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=s.a.createContext(f);function h(e){var t=e.children,n=e.injectFirst,o=void 0!==n&&n,u=e.disableGeneration,d=void 0!==u&&u,f=Object(a.a)(e,["children","injectFirst","disableGeneration"]),h=s.a.useContext(p),m=Object(i.a)({},h,{disableGeneration:d},f);if(!m.jss.options.insertionPoint&&o&&"undefined"!=typeof window){if(!r){var b=document.head;r=document.createComment("mui-inject-first"),b.insertBefore(r,b.firstChild)}m.jss=Object(c.b)({plugins:Object(l.a)().plugins,insertionPoint:r})}return s.a.createElement(p.Provider,{value:m},t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(488),i=n(489),a=n(490),o=n(491),s=n(492),u=n(493),c=n(495);function l(){return{plugins:[Object(r.a)(),Object(i.a)(),Object(a.a)(),Object(o.a)(),Object(s.a)(),"undefined"==typeof window?null:Object(u.a)(),Object(c.a)()]}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(960),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,a=e.productionPrefix,o=void 0===a?"jss":a,s=e.seed,u=void 0===s?"":s,c=""===u?"":"".concat(u,"-"),l=0,d=function(){return l+=1};return function(e,t){var a=t.options.name;if(a&&0===a.indexOf("Mui")&&!t.options.link&&!n){if(-1!==i.indexOf(e.key))return"Mui-".concat(e.key);var s="".concat(c).concat(a,"-").concat(e.key);return t.options.theme[r.a]&&""===u?"".concat(s,"-").concat(d()):s}return"".concat(c).concat(o).concat(d())}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(277),i=n(528),a=n(305),o=n(968),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"},l=Object(o.a)((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=Object(r.a)(t,2),i=n[0],a=n[1],o=s[i],l=u[a]||"";return Array.isArray(l)?l.map((function(e){return o+e})):[o+l]})),d=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function f(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function p(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function h(e){var t=f(e.theme);return Object.keys(e).map((function(n){if(-1===d.indexOf(n))return null;var r=p(l(n),t),a=e[n];return Object(i.a)(e,a,r)})).reduce(a.a,{})}h.propTypes={},h.filterProps=d,t.b=h},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(73),u=n(132),c=n(1303),l=n(106),d=a.forwardRef((function(e,t){var n=e.children,s=e.classes,u=e.className,d=e.color,f=void 0===d?"default":d,p=e.component,h=void 0===p?"button":p,m=e.disabled,b=void 0!==m&&m,g=e.disableElevation,v=void 0!==g&&g,y=e.disableFocusRipple,x=void 0!==y&&y,w=e.endIcon,O=e.focusVisibleClassName,j=e.fullWidth,C=void 0!==j&&j,E=e.size,S=void 0===E?"medium":E,k=e.startIcon,D=e.type,A=void 0===D?"button":D,_=e.variant,F=void 0===_?"text":_,R=Object(r.a)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=k&&a.createElement("span",{className:Object(o.default)(s.startIcon,s["iconSize".concat(Object(l.a)(S))])},k),P=w&&a.createElement("span",{className:Object(o.default)(s.endIcon,s["iconSize".concat(Object(l.a)(S))])},w);return a.createElement(c.a,Object(i.a)({className:Object(o.default)(s.root,s[F],u,"inherit"===f?s.colorInherit:"default"!==f&&s["".concat(F).concat(Object(l.a)(f))],"medium"!==S&&[s["".concat(F,"Size").concat(Object(l.a)(S))],s["size".concat(Object(l.a)(S))]],v&&s.disableElevation,b&&s.disabled,C&&s.fullWidth),component:h,disabled:b,focusRipple:!x,focusVisibleClassName:Object(o.default)(s.focusVisible,O),ref:t,type:A},R),a.createElement("span",{className:s.label},T,n,P))}));t.a=Object(s.a)((function(e){return{root:Object(i.a)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Object(u.a)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Object(u.a)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(d)},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,a=t.props[n];for(i in a)void 0===r[i]&&(r[i]=a[i]);return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(0),i=n(101),a=(n(11),n(247)),o=n(99);var s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u=r.forwardRef((function(e,t){var n=e.children,u=e.container,c=e.disablePortal,l=void 0!==c&&c,d=e.onRendered,f=r.useState(null),p=f[0],h=f[1],m=Object(o.a)(r.isValidElement(n)?n.ref:null,t);return s((function(){l||h(function(e){return e="function"==typeof e?e():e,i.findDOMNode(e)}(u)||document.body)}),[u,l]),s((function(){if(p&&!l)return Object(a.a)(t,p),function(){Object(a.a)(t,null)}}),[t,p,l]),s((function(){d&&(p||l)&&d()}),[d,p,l]),l?r.isValidElement(n)?r.cloneElement(n,{ref:m}):n:p?i.createPortal(n,p):p}));t.a=u},function(e,t,n){"use strict";var r=n(2),i=n(277),a=n(46),o=n(0),s=(n(11),n(463)),u=n(278),c=n(567),l=n(99);function d(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var f={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},p=o.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,m=e.in,b=e.onEnter,g=e.onEntered,v=e.onEntering,y=e.onExit,x=e.onExited,w=e.onExiting,O=e.style,j=e.timeout,C=void 0===j?"auto":j,E=e.TransitionComponent,S=void 0===E?s.a:E,k=Object(a.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),D=o.useRef(),A=o.useRef(),_=Object(u.a)(),F=_.unstable_strictMode&&!h,R=o.useRef(null),T=Object(l.a)(n.ref,t),P=Object(l.a)(F?R:void 0,T),M=function(e){return function(t,n){if(e){var r=F?[R.current,t]:[t,n],a=Object(i.a)(r,2),o=a[0],s=a[1];void 0===s?e(o):e(o,s)}}},B=M(v),N=M((function(e,t){Object(c.b)(e);var n,r=Object(c.a)({style:O,timeout:C},{mode:"enter"}),i=r.duration,a=r.delay;"auto"===C?(n=_.transitions.getAutoHeightDuration(e.clientHeight),A.current=n):n=i,e.style.transition=[_.transitions.create("opacity",{duration:n,delay:a}),_.transitions.create("transform",{duration:.666*n,delay:a})].join(","),b&&b(e,t)})),I=M(g),L=M(w),z=M((function(e){var t,n=Object(c.a)({style:O,timeout:C},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===C?(t=_.transitions.getAutoHeightDuration(e.clientHeight),A.current=t):t=r,e.style.transition=[_.transitions.create("opacity",{duration:t,delay:i}),_.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=d(.75),y&&y(e)})),W=M(x);return o.useEffect((function(){return function(){clearTimeout(D.current)}}),[]),o.createElement(S,Object(r.a)({appear:!0,in:m,nodeRef:F?R:void 0,onEnter:N,onEntered:I,onEntering:B,onExit:z,onExited:W,onExiting:L,addEndListener:function(e,t){var n=F?e:t;"auto"===C&&(D.current=setTimeout(n,A.current||0))},timeout:"auto"===C?null:C},k),(function(e,t){return o.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:d(.75),visibility:"exited"!==e||m?void 0:"hidden"},f[e],O,n.props.style),ref:P},t))}))}));p.muiSupportAuto=!0,t.a=p},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(245),u=n(279),c=n(73),l=n(1307),d=a.forwardRef((function(e,t){var n=e.classes,c=e.className,d=e.disableAnimation,f=void 0!==d&&d,p=(e.margin,e.shrink),h=(e.variant,Object(i.a)(e,["classes","className","disableAnimation","margin","shrink","variant"])),m=Object(u.a)(),b=p;void 0===b&&m&&(b=m.filled||m.focused||m.adornedStart);var g=Object(s.a)({props:e,muiFormControl:m,states:["margin","variant"]});return a.createElement(l.a,Object(r.a)({"data-shrink":b,className:Object(o.default)(n.root,c,m&&n.formControl,!f&&n.animated,b&&n.shrink,"dense"===g.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[g.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},h))}));t.a=Object(c.a)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(d)},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(245),u=n(279),c=n(73),l=a.forwardRef((function(e,t){var n=e.children,c=e.classes,l=e.className,d=e.component,f=void 0===d?"p":d,p=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,Object(r.a)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),h=Object(u.a)(),m=Object(s.a)({props:e,muiFormControl:h,states:["variant","margin","disabled","error","filled","focused","required"]});return a.createElement(f,Object(i.a)({className:Object(o.default)(c.root,("filled"===m.variant||"outlined"===m.variant)&&c.contained,l,m.disabled&&c.disabled,m.error&&c.error,m.filled&&c.filled,m.focused&&c.focused,m.required&&c.required,"dense"===m.margin&&c.marginDense),ref:t},p)," "===n?a.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):n)}));t.a=Object(c.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(l)},function(e,t,n){"use strict";var r=n(244),i=n(277),a=n(46),o=n(2),s=n(0),u=(n(11),n(12)),c=n(73),l=n(278),d=n(132),f=n(394),p=n(145),h=n(157),m=n(99),b=n(106),g=n(395),v=n(978);function y(e,t){return e-t}function x(e,t,n){return Math.min(Math.max(t,e),n)}function w(e,t){return e.reduce((function(e,n,r){var i=Math.abs(t-n);return null===e||i0&&De.some((function(e){return e.label}))&&A.marked,!1===ae&&A.trackFalse,"vertical"===Z&&A.vertical,"inverted"===ae&&A.trackInverted),onMouseDown:Ze},pe),s.createElement("span",{className:A.rail}),s.createElement("span",{className:A.track,style:et}),s.createElement("input",{value:ke.join(","),name:$,type:"hidden"}),De.map((function(e,t){var n,r=j(e.value,q,U),i=k[$e].offset(r);return n=!1===ae?-1!==ke.indexOf(e.value):"normal"===ae&&(Se?e.value>=ke[0]&&e.value<=ke[ke.length-1]:e.value<=ke[0])||"inverted"===ae&&(Se?e.value<=ke[0]||e.value>=ke[ke.length-1]:e.value>=ke[0]),s.createElement(s.Fragment,{key:e.value},s.createElement("span",{style:i,"data-index":t,className:Object(u.default)(A.mark,n&&A.markActive)}),null!=e.label?s.createElement("span",{"aria-hidden":!0,"data-index":t,style:i,className:Object(u.default)(A.markLabel,n&&A.markLabelActive)},e.label):null)})),ke.map((function(e,t){var r=j(e,q,U),i=k[$e].offset(r);return s.createElement(ue,{key:t,valueLabelFormat:fe,valueLabelDisplay:le,className:A.valueLabel,value:"function"==typeof fe?fe(J(e),t):fe,index:t,open:xe===t||ge===t||"on"===le,disabled:N},s.createElement(re,{className:Object(u.default)(A.thumb,A["thumbColor".concat(Object(b.a)(R))],ge===t&&A.active,N&&A.disabled,Pe===t&&A.focusVisible),tabIndex:N?null:0,role:"slider",style:i,"data-index":t,"aria-label":I?I(t):n,"aria-labelledby":c,"aria-orientation":Z,"aria-valuemax":J(U),"aria-valuemin":J(q),"aria-valuenow":J(e),"aria-valuetext":L?L(J(e),t):d,onKeyDown:He,onFocus:Le,onBlur:ze,onMouseOver:We,onMouseLeave:Ve}))})))}));t.a=Object(c.a)((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?Object(d.d)(e.palette.primary.main,.62):Object(d.b)(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object(d.a)(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object(d.a)(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object(d.a)(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object(d.a)(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:Object(o.a)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(A)},function(e,t,n){"use strict";var r=n(1311),i=n(174),a=n(1312),o=n(1313),s=n(1314),u=n(1315),c=n(1316),l=n(1317),d=n(1318),f=n(1319),p=n(1168),h=n(1320),m=n(979),b=Object(r.a)(Object(i.a)(a.a,o.a,s.a,u.a,c.a,l.a,d.a,f.a,p.b,h.a)),g=Object(m.a)("div")(b,{name:"MuiBox"});t.a=g},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(101)),s=n(530),u=n(12),c=n(145),l=n(531),d=n(331),f=n(73),p=n(1323),h=n(1172),m=n(1325);function b(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function g(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function v(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function y(e){return"function"==typeof e?e():e}var x=a.forwardRef((function(e,t){var n=e.action,f=e.anchorEl,x=e.anchorOrigin,w=void 0===x?{vertical:"top",horizontal:"left"}:x,O=e.anchorPosition,j=e.anchorReference,C=void 0===j?"anchorEl":j,E=e.children,S=e.classes,k=e.className,D=e.container,A=e.elevation,_=void 0===A?8:A,F=e.getContentAnchorEl,R=e.marginThreshold,T=void 0===R?16:R,P=e.onEnter,M=e.onEntered,B=e.onEntering,N=e.onExit,I=e.onExited,L=e.onExiting,z=e.open,W=e.PaperProps,V=void 0===W?{}:W,U=e.transformOrigin,H=void 0===U?{vertical:"top",horizontal:"left"}:U,q=e.TransitionComponent,$=void 0===q?h.a:q,G=e.transitionDuration,Y=void 0===G?"auto":G,K=e.TransitionProps,X=void 0===K?{}:K,Z=Object(i.a)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Q=a.useRef(),J=a.useCallback((function(e){if("anchorPosition"===C)return O;var t=y(f),n=(t&&1===t.nodeType?t:Object(c.a)(Q.current).body).getBoundingClientRect(),r=0===e?w.vertical:"center";return{top:n.top+b(n,r),left:n.left+g(n,w.horizontal)}}),[f,w.horizontal,w.vertical,O,C]),ee=a.useCallback((function(e){var t=0;if(F&&"anchorEl"===C){var n=F(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[w.vertical,C,F]),te=a.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:b(e,H.vertical)+t,horizontal:g(e,H.horizontal)}}),[H.horizontal,H.vertical]),ne=a.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===C)return{top:null,left:null,transformOrigin:v(r)};var i=J(t),a=i.top-r.vertical,o=i.left-r.horizontal,s=a+n.height,u=o+n.width,c=Object(l.a)(y(f)),d=c.innerHeight-T,p=c.innerWidth-T;if(ad){var m=s-d;a-=m,r.vertical+=m}if(op){var g=u-p;o-=g,r.horizontal+=g}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(o),"px"),transformOrigin:v(r)}}),[f,C,J,ee,te,T]),re=a.useCallback((function(){var e=Q.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=a.useCallback((function(e){Q.current=o.findDOMNode(e)}),[]);a.useEffect((function(){z&&re()})),a.useImperativeHandle(n,(function(){return z?{updatePosition:function(){re()}}:null}),[z,re]),a.useEffect((function(){if(z){var e=Object(s.a)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[z,re]);var ae=Y;"auto"!==Y||$.muiSupportAuto||(ae=void 0);var oe=D||(f?Object(c.a)(y(f)).body:void 0);return a.createElement(p.a,Object(r.a)({container:oe,open:z,ref:t,BackdropProps:{invisible:!0},className:Object(u.default)(S.root,k)},Z),a.createElement($,Object(r.a)({appear:!0,in:z,onEnter:P,onEntered:M,onExit:N,onExited:I,onExiting:L,timeout:ae},X,{onEntering:Object(d.a)((function(e,t){B&&B(e,t),re()}),X.onEntering)}),a.createElement(m.a,Object(r.a)({elevation:_,ref:ie},V,{className:Object(u.default)(S.paper,V.className)}),E)))}));t.a=Object(f.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(x)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(648),u=n(73),c=a.forwardRef((function(e,t){var n=e.disableUnderline,u=e.classes,c=e.fullWidth,l=void 0!==c&&c,d=e.inputComponent,f=void 0===d?"input":d,p=e.multiline,h=void 0!==p&&p,m=e.type,b=void 0===m?"text":m,g=Object(i.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return a.createElement(s.a,Object(r.a)({classes:Object(r.a)({},u,{root:Object(o.default)(u.root,!n&&u.underline),underline:null}),fullWidth:l,inputComponent:f,multiline:h,ref:t,type:b},g))}));c.muiName="Input",t.a=Object(u.a)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(648),u=n(982),c=n(73),l=a.forwardRef((function(e,t){var n=e.classes,c=e.fullWidth,l=void 0!==c&&c,d=e.inputComponent,f=void 0===d?"input":d,p=e.label,h=e.labelWidth,m=void 0===h?0:h,b=e.multiline,g=void 0!==b&&b,v=e.notched,y=e.type,x=void 0===y?"text":y,w=Object(i.a)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return a.createElement(s.a,Object(r.a)({renderSuffix:function(e){return a.createElement(u.a,{className:n.notchedOutline,label:p,labelWidth:m,notched:void 0!==v?v:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Object(r.a)({},n,{root:Object(o.default)(n.root,n.underline),notchedOutline:null}),fullWidth:l,inputComponent:f,multiline:g,ref:t,type:x},w))}));l.muiName="Input",t.a=Object(c.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(106),c=a.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,l=e.color,d=void 0===l?"inherit":l,f=e.component,p=void 0===f?"svg":f,h=e.fontSize,m=void 0===h?"medium":h,b=e.htmlColor,g=e.titleAccess,v=e.viewBox,y=void 0===v?"0 0 24 24":v,x=Object(i.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return a.createElement(p,Object(r.a)({className:Object(o.default)(s.root,c,"inherit"!==d&&s["color".concat(Object(u.a)(d))],"default"!==m&&"medium"!==m&&s["fontSize".concat(Object(u.a)(m))]),focusable:"false",viewBox:y,color:b,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},x),n,g?a.createElement("title",null,g):null)}));c.muiName="SvgIcon",t.a=Object(s.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c)},function(e,t,n){"use strict";var r,i=n(18),a=n(2),o=n(0),s=(n(11),n(12)),u=n(65),c=n(117),l=n(17),d=n(34),f=n(164),p=n(77),h=n(113),m=n(50),b=n(1333),g=n(1066),v=n(342),y=n(375),x=n(5);const w=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],O=Object(l.a)(m.a,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),j=Object(l.a)(b.a,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>Object(a.a)({["& ."+y.a.actions]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[e.breakpoints.up("xs")+" and (orientation: landscape)"]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},["& ."+y.a.actions]:{flexShrink:0,marginLeft:20}})),C=Object(l.a)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),E=Object(l.a)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>Object(a.a)({},e.typography.body2,{flexShrink:0})),S=Object(l.a)(h.a,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>Object(a.a)({["& ."+y.a.selectIcon]:t.selectIcon,["& ."+y.a.select]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,["& ."+y.a.select]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),k=Object(l.a)(p.a,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),D=Object(l.a)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>Object(a.a)({},e.typography.body2,{flexShrink:0}));function A({from:e,to:t,count:n}){return`${e}-${t} of ${-1!==n?n:"more than "+t}`}function _(e){return`Go to ${e} page`}const F=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiTablePagination"}),{ActionsComponent:l=g.a,backIconButtonProps:p,className:h,colSpan:b,component:F=m.a,count:R,getItemAriaLabel:T=_,labelDisplayedRows:P=A,labelRowsPerPage:M="Rows per page:",nextIconButtonProps:B,onPageChange:N,onRowsPerPageChange:I,page:L,rowsPerPage:z,rowsPerPageOptions:W=[10,25,50,100],SelectProps:V={},showFirstButton:U=!1,showLastButton:H=!1}=n,q=Object(i.a)(n,w),$=n,G=(e=>{const{classes:t}=e;return Object(u.a)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},y.b,t)})($),Y=V.native?"option":k;let K;F!==m.a&&"td"!==F||(K=b||1e3);const X=Object(v.a)(V.id),Z=Object(v.a)(V.labelId);return Object(x.jsx)(O,Object(a.a)({colSpan:K,ref:t,as:F,ownerState:$,className:Object(s.default)(G.root,h)},q,{children:Object(x.jsxs)(j,{className:G.toolbar,children:[Object(x.jsx)(C,{className:G.spacer}),W.length>1&&Object(x.jsx)(E,{className:G.selectLabel,id:Z,children:M}),W.length>1&&Object(x.jsx)(S,Object(a.a)({variant:"standard",input:r||(r=Object(x.jsx)(f.c,{})),value:z,onChange:I,id:X,labelId:Z},V,{classes:Object(a.a)({},V.classes,{root:Object(s.default)(G.input,G.selectRoot,(V.classes||{}).root),select:Object(s.default)(G.select,(V.classes||{}).select),icon:Object(s.default)(G.selectIcon,(V.classes||{}).icon)}),children:W.map(e=>Object(o.createElement)(Y,Object(a.a)({},!Object(c.a)(Y)&&{ownerState:$},{className:G.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),Object(x.jsx)(D,{className:G.displayedRows,children:P({from:0===R?0:L*z+1,to:-1===R?(L+1)*z:-1===z?R:Math.min(R,(L+1)*z),count:-1===R?-1:R,page:L})}),Object(x.jsx)(l,{className:G.actions,backIconButtonProps:p,count:R,nextIconButtonProps:B,onPageChange:N,page:L,rowsPerPage:z,showFirstButton:U,showLastButton:H,getItemAriaLabel:T})]})}))}));t.a=F},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict"; +/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */e.exports?e.exports.saveAs=i:null!==n(1256)&&null!==n(1257)&&(void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r))},function(e,t,n){(function(t,n,r){e.exports=function e(t,n,r){function i(o,s){if(!n[o]){if(!t[o]){if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[o]={exports:{}};t[o][0].call(c.exports,(function(e){return i(t[o][1][e]||e)}),c,c.exports,e,t,n,r)}return n[o].exports}for(var a=!1,o=0;o>2,s=(3&t)<<4|n>>4,u=1>6:64,c=2>4,n=(15&o)<<4|(s=a.indexOf(e.charAt(c++)))>>2,r=(3&s)<<6|(u=a.indexOf(e.charAt(c++))),f[l++]=t,64!==s&&(f[l++]=n),64!==u&&(f[l++]=r);return f}},{"./support":30,"./utils":32}],2:[function(e,t,n){"use strict";var r=e("./external"),i=e("./stream/DataWorker"),a=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function s(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){"use strict";var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(e){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){"use strict";var r=e("./utils"),i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var a=i,o=0+n;e^=-1;for(var s=0;s>>8^a[255&(e^t[s])];return-1^e}(0|t,e,e.length):function(e,t,n,r){var a=i,o=0+n;e^=-1;for(var s=0;s>>8^a[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length):0}},{"./utils":32}],5:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){"use strict";var r;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),a=e("./utils"),o=e("./stream/GenericWorker"),s=r?"uint8array":"array";function u(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",a.inherits(u,o),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},u.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new u("Deflate",e)},n.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){"use strict";function r(e,t){var n,r="";for(n=0;n>>=8;return r}function i(e,t,n,i,o,l){var d,f,p=e.file,h=e.compression,m=l!==s.utf8encode,b=a.transformTo("string",l(p.name)),g=a.transformTo("string",s.utf8encode(p.name)),v=p.comment,y=a.transformTo("string",l(v)),x=a.transformTo("string",s.utf8encode(v)),w=g.length!==p.name.length,O=x.length!==v.length,j="",C="",E="",S=p.dir,k=p.date,D={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(D.crc32=e.crc32,D.compressedSize=e.compressedSize,D.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),m||!w&&!O||(A|=2048);var _=0,F=0;S&&(_|=16),"UNIX"===o?(F=798,_|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(p.unixPermissions,S)):(F=20,_|=function(e){return 63&(e||0)}(p.dosPermissions)),d=k.getUTCHours(),d<<=6,d|=k.getUTCMinutes(),d<<=5,d|=k.getUTCSeconds()/2,f=k.getUTCFullYear()-1980,f<<=4,f|=k.getUTCMonth()+1,f<<=5,f|=k.getUTCDate(),w&&(C=r(1,1)+r(u(b),4)+g,j+="up"+r(C.length,2)+C),O&&(E=r(1,1)+r(u(y),4)+x,j+="uc"+r(E.length,2)+E);var R="";return R+="\n\0",R+=r(A,2),R+=h.magic,R+=r(d,2),R+=r(f,2),R+=r(D.crc32,4),R+=r(D.compressedSize,4),R+=r(D.uncompressedSize,4),R+=r(b.length,2),R+=r(j.length,2),{fileRecord:c.LOCAL_FILE_HEADER+R+b+j,dirRecord:c.CENTRAL_FILE_HEADER+r(F,2)+R+r(y.length,2)+"\0\0\0\0"+r(_,4)+r(i,4)+b+j+y}}var a=e("../utils"),o=e("../stream/GenericWorker"),s=e("../utf8"),u=e("../crc32"),c=e("../signature");function l(e,t,n,r){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(l,o),l.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},l.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},l.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},l.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,n){"use strict";var r=e("./Uint8ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){"use strict";var r=e("./DataReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){"use strict";var r=e("./ArrayReader");function i(e){r.call(this,e)}e("../utils").inherits(i,r),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){"use strict";var r=e("../utils"),i=e("../support"),a=e("./ArrayReader"),o=e("./StringReader"),s=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new u(r.transformTo("uint8array",e)):new a(r.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../utils");function a(e){r.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,r),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){"use strict";var r=e("./GenericWorker"),i=e("../crc32");function a(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(a,r),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}r.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){"use strict";var r=e("../utils"),i=e("./GenericWorker");function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}r.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){"use strict";function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=r},{}],29:[function(e,n,r){"use strict";var i=e("../utils"),a=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),u=e("../support"),c=e("../external"),l=null;if(u.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function d(e,t,n){var r=t;switch(t){case"blob":case"arraybuffer":r="uint8array";break;case"base64":r="string"}try{this._internalType=r,this._outputType=t,this._mimeType=n,i.checkSupport(r),this._worker=e.pipe(new a(r)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return function(e,n){return new c.Promise((function(r,a){var o=[],u=e._internalType,c=e._outputType,l=e._mimeType;e.on("data",(function(e,t){o.push(e),n&&n(t)})).on("error",(function(e){o=[],a(e)})).on("end",(function(){try{var e=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(c,function(e,n){var r,i=0,a=null,o=0;for(r=0;r>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){return i.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,i,a,o=e.length,u=new Array(2*o);for(t=n=0;t>10&1023,u[n++]=56320|1023&i)}return u.length!==n&&(u.subarray?u=u.subarray(0,n):u.length=n),r.applyFromCharCode(u)}(e=r.transformTo(i.uint8array?"uint8array":"array",e))},r.inherits(c,o),c.prototype.processChunk=function(e){var t=r.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=t;(t=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),t.set(a,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),u=t;o!==t.length&&(i.uint8array?(u=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(u=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:n.utf8decode(u),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(l,o),l.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){"use strict";var r=e("./support"),i=e("./base64"),a=e("./nodejsUtils"),o=e("set-immediate-shim"),s=e("./external");function u(e){return e}function c(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=r(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(n<65536?t[o++]=224|n>>>12:(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63),t[o++]=128|n>>>6&63),t[o++]=128|63&n);return t},n.buf2binstring=function(e){return u(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,i=t.length;n>10&1023,c[r++]=56320|1023&i)}return u(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+o[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var i=65535&e|0,a=e>>>16&65535|0,o=0;0!==n;){for(n-=o=2e3>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s>>8^a[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){"use strict";var r,i=e("../utils/common"),a=e("./trees"),o=e("./adler32"),s=e("./crc32"),u=e("./messages"),c=-2,l=258,d=262,f=113;function p(e,t){return e.msg=u[t],t}function h(e){return(e<<1)-(4e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function g(e,t){a._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,b(e.strm)}function v(e,t){e.pending_buf[e.pending++]=t}function y(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function x(e,t){var n,r,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,c=e.window,f=e.w_mask,p=e.prev,h=e.strstart+l,m=c[a+o-1],b=c[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+o]===b&&c[n+o-1]===m&&c[n]===c[a]&&c[++n]===c[a+1]){a+=2,n++;do{}while(c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&c[++a]===c[++n]&&au&&0!=--i);return o<=e.lookahead?o:e.lookahead}function w(e){var t,n,r,a,u,c,l,f,p,h,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-d)){for(i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);a+=m}if(0===e.strm.avail_in)break;if(c=e.strm,l=e.window,f=e.strstart+e.lookahead,h=void 0,(p=a)<(h=c.avail_in)&&(h=p),n=0===h?0:(c.avail_in-=h,i.arraySet(l,c.input,c.next_in,h,f),1===c.state.wrap?c.adler=o(c.adler,l,h,f):2===c.state.wrap&&(c.adler=s(c.adler,l,h,f)),c.next_in+=h,c.total_in+=h,h),e.lookahead+=n,e.lookahead+e.insert>=3)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=3&&(e.ins_h=(e.ins_h<=3&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-3,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(w(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,g(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(g(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(g(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(g(e,!1),e.strm.avail_out),1)})),new C(4,4,8,4,O),new C(4,5,16,8,O),new C(4,6,32,32,O),new C(4,4,16,16,j),new C(8,16,32,32,j),new C(8,16,128,128,j),new C(8,32,128,256,j),new C(32,128,258,1024,j),new C(32,258,258,4096,j)],n.deflateInit=function(e,t){return D(e,t,8,15,8,0)},n.deflateInit2=D,n.deflateReset=k,n.deflateResetKeep=S,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},n.deflate=function(e,t){var n,i,o,u;if(!e||!e.state||5>8&255),v(i,i.gzhead.time>>16&255),v(i,i.gzhead.time>>24&255),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(v(i,255&i.gzhead.extra.length),v(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(v(i,0),v(i,0),v(i,0),v(i,0),v(i,0),v(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),v(i,3),i.status=f);else{var d=8+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=f,y(i,d),0!==i.strstart&&(y(i,e.adler>>>16),y(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),b(e),o=i.pending,i.pending!==i.pending_buf_size));)v(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),b(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),b(e),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexo&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&b(e),i.pending+2<=i.pending_buf_size&&(v(i,255&e.adler),v(i,e.adler>>8&255),e.adler=0,i.status=f)):i.status=f),0!==i.pending){if(b(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&h(t)<=h(n)&&4!==t)return p(e,-5);if(666===i.status&&0!==e.avail_in)return p(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&666!==i.status){var x=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(w(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(g(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(g(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(g(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=l){if(w(e),e.lookahead<=l&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=a._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(g(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(g(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(g(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==x&&4!==x||(i.status=666),1===x||3===x)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===x&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(m(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),b(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(v(i,255&e.adler),v(i,e.adler>>8&255),v(i,e.adler>>16&255),v(i,e.adler>>24&255),v(i,255&e.total_in),v(i,e.total_in>>8&255),v(i,e.total_in>>16&255),v(i,e.total_in>>24&255)):(y(i,e.adler>>>16),y(i,65535&e.adler)),b(e),0=n.w_size&&(0===s&&(m(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new i.Buf8(n.w_size),i.arraySet(f,t,p-n.w_size,n.w_size,0),t=f,p=n.w_size),u=e.avail_in,l=e.next_in,d=e.input,e.avail_in=p,e.next_in=0,e.input=t,w(n);n.lookahead>=3;){for(r=n.strstart,a=n.lookahead-2;n.ins_h=(n.ins_h<>>=x=y>>>24,h-=x,0==(x=y>>>16&255))S[a++]=65535&y;else{if(!(16&x)){if(0==(64&x)){y=m[(65535&y)+(p&(1<>>=x,h-=x),h<15&&(p+=E[r++]<>>=x=y>>>24,h-=x,!(16&(x=y>>>16&255))){if(0==(64&x)){y=b[(65535&y)+(p&(1<>>=x,h-=x,(x=a-o)>3,p&=(1<<(h-=w<<3))-1,e.next_in=r,e.next_out=a,e.avail_in=r>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function l(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function d(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):u}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,d(e)):u}function p(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i<(a=o.wsize-o.wnext)&&(a=i),r.arraySet(o.window,t,n-i,a,o.wnext),(i-=a)?(r.arraySet(o.window,t,n-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave>>8&255,n.check=a(n.check,B,2,0),g=b=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&b)<<8)+(b>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&b)){e.msg="unknown compression method",n.mode=30;break}if(g-=4,F=8+(15&(b>>>=4)),0===n.wbits)n.wbits=F;else if(F>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<>8&1),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),g=b=0,n.mode=3;case 3:for(;g<32;){if(0===h)break e;h--,b+=l[f++]<>>8&255,B[2]=b>>>16&255,B[3]=b>>>24&255,n.check=a(n.check,B,4,0)),g=b=0,n.mode=4;case 4:for(;g<16;){if(0===h)break e;h--,b+=l[f++]<>8),512&n.flags&&(B[0]=255&b,B[1]=b>>>8&255,n.check=a(n.check,B,2,0)),g=b=0,n.mode=5;case 5:if(1024&n.flags){for(;g<16;){if(0===h)break e;h--,b+=l[f++]<>>8&255,n.check=a(n.check,B,2,0)),g=b=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(h<(O=n.length)&&(O=h),O&&(n.head&&(F=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,l,f,O,F)),512&n.flags&&(n.check=a(n.check,l,O,f)),h-=O,f+=O,n.length-=O),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===h)break e;for(O=0;F=l[f+O++],n.head&&F&&n.length<65536&&(n.head.name+=String.fromCharCode(F)),F&&O>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;g<32;){if(0===h)break e;h--,b+=l[f++]<>>=7&g,g-=7&g,n.mode=27;break}for(;g<3;){if(0===h)break e;h--,b+=l[f++]<>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6!==t)break;b>>>=2,g-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}b>>>=2,g-=2;break;case 14:for(b>>>=7&g,g-=7&g;g<32;){if(0===h)break e;h--,b+=l[f++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&b,g=b=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(O=n.length){if(h>>=5,g-=5,n.ndist=1+(31&b),b>>>=5,g-=5,n.ncode=4+(15&b),b>>>=4,g-=4,286>>=3,g-=3}for(;n.have<19;)n.lens[N[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,T={bits:n.lenbits},R=s(0,n.lens,0,19,n.lencode,0,n.work,T),n.lenbits=T.bits,R){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have>>16&255,k=65535&M,!((E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>>=E,g-=E,n.lens[n.have++]=k;else{if(16===k){for(P=E+2;g>>=E,g-=E,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}F=n.lens[n.have-1],O=3+(3&b),b>>>=2,g-=2}else if(17===k){for(P=E+3;g>>=E)),b>>>=3,g-=3}else{for(P=E+7;g>>=E)),b>>>=7,g-=7}if(n.have+O>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;O--;)n.lens[n.have++]=F}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,T={bits:n.lenbits},R=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,T),n.lenbits=T.bits,R){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,T={bits:n.distbits},R=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,T),n.distbits=T.bits,R){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=h&&258<=m){e.next_out=p,e.avail_out=m,e.next_in=f,e.avail_in=h,n.hold=b,n.bits=g,o(e,w),p=e.next_out,d=e.output,m=e.avail_out,f=e.next_in,l=e.input,h=e.avail_in,b=n.hold,g=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;S=(M=n.lencode[b&(1<>>16&255,k=65535&M,!((E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>D)])>>>16&255,k=65535&M,!(D+(E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>>=D,g-=D,n.back+=D}if(b>>>=E,g-=E,n.back+=E,n.length=k,0===S){n.mode=26;break}if(32&S){n.back=-1,n.mode=12;break}if(64&S){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&S,n.mode=22;case 22:if(n.extra){for(P=n.extra;g>>=n.extra,g-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;S=(M=n.distcode[b&(1<>>16&255,k=65535&M,!((E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>D)])>>>16&255,k=65535&M,!(D+(E=M>>>24)<=g);){if(0===h)break e;h--,b+=l[f++]<>>=D,g-=D,n.back+=D}if(b>>>=E,g-=E,n.back+=E,64&S){e.msg="invalid distance code",n.mode=30;break}n.offset=k,n.extra=15&S,n.mode=24;case 24:if(n.extra){for(P=n.extra;g>>=n.extra,g-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===m)break e;if(O=w-m,n.offset>O){if((O=n.offset-O)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}j=O>n.wnext?(O-=n.wnext,n.wsize-O):n.wnext-O,O>n.length&&(O=n.length),C=n.window}else C=d,j=p-n.offset,O=n.length;for(mv?(x=N[I+d[C]],T[P+d[C]]):(x=96,0),p=1<>A)+(h-=p)]=y<<24|x<<16|w|0,0!==h;);for(p=1<>=1;if(0!==p?(R&=p-1,R+=p):R=0,C++,0==--M[j]){if(j===S)break;j=t[n+d[C]]}if(k>>7)]}function E(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function S(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<>>=1,n<<=1,0<--t;);return n>>>1}function A(e,t,n){var r,i,a=new Array(16),o=0;for(r=1;r<=u;r++)a[r]=o=o+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=D(a[s]++,s))}}function _(e){var t;for(t=0;t>1;1<=n;n--)T(e,a,n);for(i=c;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],T(e,a,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,a[2*i]=a[2*n]+a[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,a[2*n+1]=a[2*r+1]=i,e.heap[1]=i++,T(e,a,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,a,o,s,c=t.dyn_tree,l=t.max_code,d=t.stat_desc.static_tree,f=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,m=t.stat_desc.max_length,b=0;for(a=0;a<=u;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)m<(a=c[2*c[2*(r=e.heap[n])+1]+1]+1)&&(a=m,b++),c[2*r+1]=a,l>=7;r>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?L(e,t,n,r):4===e.strategy||o===i?(S(e,2+(r?1:0),3),P(e,p,h)):(S(e,4+(r?1:0),3),function(e,t,n,r){var i;for(S(e,t-257,5),S(e,n-1,5),S(e,r-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(b[n]+a+1)]++,e.dyn_dtree[2*C(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){S(e,2,3),k(e,256,p),function(e){16===e.bi_valid?(E(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){"use strict";t.exports="function"==typeof r?r:function(){var e=[].slice.apply(arguments);e.splice(1,0,0),setTimeout.apply(null,e)}},{}]},{},[10])(10)}).call(this,n(1258).Buffer,n(341),n(1262).setImmediate)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(64),i=n(63);function a(e){return Object(r.a)("MuiCircularProgress",e)}Object(i.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},function(e,t,n){"use strict";var r=n(280),i=n(398),a=n(147);function o(e){const{sx:t,theme:n={}}=e||{};if(!t)return null;if("function"==typeof t)return t(n);if("object"!=typeof t)return t;const s=Object(a.a)(n.breakpoints),u=Object.keys(s);let c=s;return Object.keys(t).forEach(e=>{const s=(u=t[e],l=n,"function"==typeof u?u(l):u);var u,l;if("object"==typeof s)if(i.b[e])c=Object(r.a)(c,Object(i.a)(e,s,n));else{const t=Object(a.b)({theme:n},s,t=>({[e]:t}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(t,s)?c=Object(r.a)(c,t):c[e]=o({sx:s,theme:n})}else c=Object(r.a)(c,Object(i.a)(e,s,n))}),Object(a.c)(u,c)}o.filterProps=["sx"],t.a=o},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(1267)),s=n(592),u=n(1149),c=n(168),l=n(83),d=n(173),f=n(5);const p=["anchorEl","children","disablePortal","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],h=["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function m(e){return"function"==typeof e?e():e}const b={},g=a.forwardRef((function(e,t){const{anchorEl:n,children:u,disablePortal:c,modifiers:h,open:b,placement:g,popperOptions:v,popperRef:y,TransitionProps:x}=e,w=Object(i.a)(e,p),O=a.useRef(null),j=Object(l.a)(O,t),C=a.useRef(null),E=Object(l.a)(C,y),S=a.useRef(E);Object(d.a)(()=>{S.current=E},[E]),a.useImperativeHandle(y,()=>C.current,[]);const k=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(g,Object(s.a)()),[D,A]=a.useState(k);a.useEffect(()=>{C.current&&C.current.forceUpdate()}),Object(d.a)(()=>{if(!n||!b)return;m(n);let e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{A(e.placement)}}];null!=h&&(e=e.concat(h)),v&&null!=v.modifiers&&(e=e.concat(v.modifiers));const t=Object(o.a)(m(n),O.current,Object(r.a)({placement:k},v,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}},[n,c,h,b,v,k]);const _={placement:D};return null!==x&&(_.TransitionProps=x),Object(f.jsx)("div",Object(r.a)({ref:j,role:"tooltip"},w,{children:"function"==typeof u?u(_):u}))})),v=a.forwardRef((function(e,t){const{anchorEl:n,children:o,container:s,disablePortal:l=!1,keepMounted:d=!1,modifiers:p,open:v,placement:y="bottom",popperOptions:x=b,popperRef:w,style:O,transition:j=!1}=e,C=Object(i.a)(e,h),[E,S]=a.useState(!0);if(!d&&!v&&(!j||E))return null;const k=s||(n?Object(c.a)(m(n)).body:void 0);return Object(f.jsx)(u.a,{disablePortal:l,container:k,children:Object(f.jsx)(g,Object(r.a)({anchorEl:n,disablePortal:l,modifiers:p,ref:t,open:j?!E:v,placement:y,popperOptions:x,popperRef:w},C,{style:Object(r.a)({position:"fixed",top:0,left:0,display:v||!d||j?null:"none"},O),TransitionProps:j?{in:v,onEnter:()=>{S(!1)},onExited:()=>{S(!0)}}:null,children:o}))})}));t.a=v},function(e,t,n){"use strict";var r=n(0),i=n(101),a=(n(11),n(419)),o=n(412),s=n(411);const u=r.forwardRef((function(e,t){const{children:n,container:u,disablePortal:c=!1}=e,[l,d]=r.useState(null),f=Object(a.a)(r.isValidElement(n)?n.ref:null,t);return Object(o.a)(()=>{c||d(function(e){return"function"==typeof e?e():e}(u)||document.body)},[u,c]),Object(o.a)(()=>{if(l&&!c)return Object(s.a)(t,l),()=>{Object(s.a)(t,null)}},[t,l,c]),c?r.isValidElement(n)?r.cloneElement(n,{ref:f}):n:l?i.createPortal(n,l):l}));t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0);function i({controlled:e,default:t,name:n,state:i="value"}){const{current:a}=r.useRef(void 0!==e),[o,s]=r.useState(t);return[a?e:o,r.useCallback(e=>{a||s(e)},[])]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(0);let i=!0,a=!1,o=null;const s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function l(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!s[t]||e.readOnly)||("TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable)}(t)}function f(){const e=r.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",l,!0))},[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(o),o=window.setTimeout(()=>{a=!1},100),t.current=!1,!0)},ref:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(e={}){const{baseClasses:t,newClasses:n,Component:i}=e;if(!n)return t;const a=Object(r.a)({},t);return Object.keys(n).forEach(e=>{n[e]&&(a[e]=`${t[e]} ${n[e]}`)}),a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(488),i=n(489),a=n(490),o=n(491),s=n(492),u=n(493),c=n(495);function l(){return{plugins:[Object(r.a)(),Object(i.a)(),Object(a.a)(),Object(o.a)(),Object(s.a)(),"undefined"==typeof window?null:Object(u.a)(),Object(c.a)()]}}},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(463)),s=n(204),u=n(110),c=n(209),l=n(83),d=n(5);const f=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],p={entering:{opacity:1},entered:{opacity:1}},h={enter:s.b.enteringScreen,exit:s.b.leavingScreen},m=a.forwardRef((function(e,t){const{addEndListener:n,appear:s=!0,children:m,easing:b,in:g,onEnter:v,onEntered:y,onEntering:x,onExit:w,onExited:O,onExiting:j,style:C,timeout:E=h,TransitionComponent:S=o.a}=e,k=Object(i.a)(e,f),D=Object(u.a)(),A=a.useRef(null),_=Object(l.a)(m.ref,t),F=Object(l.a)(A,_),R=e=>t=>{if(e){const n=A.current;void 0===t?e(n):e(n,t)}},T=R(x),P=R((e,t)=>{Object(c.b)(e);const n=Object(c.a)({style:C,timeout:E,easing:b},{mode:"enter"});e.style.webkitTransition=D.transitions.create("opacity",n),e.style.transition=D.transitions.create("opacity",n),v&&v(e,t)}),M=R(y),B=R(j),N=R(e=>{const t=Object(c.a)({style:C,timeout:E,easing:b},{mode:"exit"});e.style.webkitTransition=D.transitions.create("opacity",t),e.style.transition=D.transitions.create("opacity",t),w&&w(e)}),I=R(O);return Object(d.jsx)(S,Object(r.a)({appear:s,in:g,nodeRef:A,onEnter:P,onEntered:M,onEntering:T,onExit:N,onExited:I,onExiting:B,addEndListener:e=>{n&&n(A.current,e)},timeout:E},k,{children:(e,t)=>a.cloneElement(m,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==e||g?void 0:"hidden"},p[e],C,m.props.style),ref:F},t))}))}));t.a=m},function(e,t,n){"use strict";function r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(65)),s=n(224),u=n(164),c=n(17),l=n(34),d=n(413),f=n(5);const p=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],h=Object(c.a)(u.b,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Object(u.e)(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return Object(i.a)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:"2px solid "+e.palette[t.color].main,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.a.focused}:after`]:{transform:"scaleX(1)"},[`&.${d.a.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid "+n,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.a.disabled}):before`]:{borderBottom:"2px solid "+e.palette.text.primary,"@media (hover: none)":{borderBottom:"1px solid "+n}},[`&.${d.a.disabled}:before`]:{borderBottomStyle:"dotted"}})}),m=Object(c.a)(u.a,{name:"MuiInput",slot:"Input",overridesResolver:u.d})({}),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiInput"}),{disableUnderline:a,components:c={},componentsProps:b,fullWidth:g=!1,inputComponent:v="input",multiline:y=!1,type:x="text"}=n,w=Object(r.a)(n,p),O=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},a=Object(o.a)(r,d.b,t);return Object(i.a)({},t,a)})(n),j={root:{ownerState:{disableUnderline:a}}},C=b?Object(s.a)(b,j):j;return Object(f.jsx)(u.c,Object(i.a)({components:Object(i.a)({Root:h,Input:m},c),componentsProps:C,fullWidth:g,inputComponent:v,multiline:y,ref:t,type:x},w,{classes:O}))}));b.muiName="Input",t.a=b},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=n(224),s=(n(11),n(65)),u=n(164),c=n(17),l=n(34),d=n(334),f=n(5);const p=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],h=Object(c.a)(u.b,{shouldForwardProp:e=>Object(c.b)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Object(u.e)(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return Object(i.a)({position:"relative",backgroundColor:a,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:a}},["&."+d.a.focused]:{backgroundColor:a},["&."+d.a.disabled]:{backgroundColor:n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},!t.disableUnderline&&{"&:after":{borderBottom:"2px solid "+e.palette[t.color].main,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${d.a.focused}:after`]:{transform:"scaleX(1)"},[`&.${d.a.error}:after`]:{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid "+r,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.a.disabled}):before`]:{borderBottom:"1px solid "+e.palette.text.primary},[`&.${d.a.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&Object(i.a)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),m=Object(c.a)(u.a,{name:"MuiFilledInput",slot:"Input",overridesResolver:u.d})(({theme:e,ownerState:t})=>Object(i.a)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9})),b=a.forwardRef((function(e,t){const n=Object(l.a)({props:e,name:"MuiFilledInput"}),{components:a={},componentsProps:c,fullWidth:b=!1,inputComponent:g="input",multiline:v=!1,type:y="text"}=n,x=Object(r.a)(n,p),w=Object(i.a)({},n,{fullWidth:b,inputComponent:g,multiline:v,type:y}),O=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},a=Object(s.a)(r,d.b,t);return Object(i.a)({},t,a)})(n),j={root:{ownerState:w},input:{ownerState:w}},C=c?Object(o.a)(c,j):j;return Object(f.jsx)(u.c,Object(i.a)({components:Object(i.a)({Root:h,Input:m},a),componentsProps:C,fullWidth:b,inputComponent:g,multiline:v,ref:t,type:y},x,{classes:O}))}));b.muiName="Input",t.a=b},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(65)),s=n(738),u=n(17),c=n(291),l=n(164),d=n(34),f=n(5);const p=["components","fullWidth","inputComponent","label","multiline","notched","type"],h=Object(u.a)(l.b,{shouldForwardProp:e=>Object(u.b)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:l.e})(({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Object(i.a)({position:"relative",borderRadius:e.shape.borderRadius,["&:hover ."+c.a.notchedOutline]:{borderColor:e.palette.text.primary},"@media (hover: none)":{["&:hover ."+c.a.notchedOutline]:{borderColor:n}},[`&.${c.a.focused} .${c.a.notchedOutline}`]:{borderColor:e.palette[t.color].main,borderWidth:2},[`&.${c.a.error} .${c.a.notchedOutline}`]:{borderColor:e.palette.error.main},[`&.${c.a.disabled} .${c.a.notchedOutline}`]:{borderColor:e.palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&Object(i.a)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))}),m=Object(u.a)(s.a,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>({borderColor:"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"})),b=Object(u.a)(l.a,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:l.d})(({theme:e,ownerState:t})=>Object(i.a)({padding:"16.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),g=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiOutlinedInput"}),{components:a={},fullWidth:s=!1,inputComponent:u="input",label:g,multiline:v=!1,notched:y,type:x="text"}=n,w=Object(r.a)(n,p),O=(e=>{const{classes:t}=e,n=Object(o.a)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},c.b,t);return Object(i.a)({},t,n)})(n);return Object(f.jsx)(l.c,Object(i.a)({components:Object(i.a)({Root:h,Input:b},a),renderSuffix:e=>Object(f.jsx)(m,{className:O.notchedOutline,label:g,notched:void 0!==y?y:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:s,inputComponent:u,multiline:v,ref:t,type:x},w,{classes:Object(i.a)({},O,{notchedOutline:null})}))}));g.muiName="Input",t.a=g},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(34),c=n(17),l=n(348),d=n(30),f=n(314),p=n(313),h=n(740),m=n(5);const b=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],g=Object(c.a)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>Object(i.a)({},t.root,t["margin"+Object(d.a)(e.margin)],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>Object(i.a)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),v=a.forwardRef((function(e,t){const n=Object(u.a)({props:e,name:"MuiFormControl"}),{children:c,className:v,color:y="primary",component:x="div",disabled:w=!1,error:O=!1,focused:j,fullWidth:C=!1,hiddenLabel:E=!1,margin:S="none",required:k=!1,size:D="medium",variant:A="outlined"}=n,_=Object(r.a)(n,b),F=Object(i.a)({},n,{color:y,component:x,disabled:w,error:O,fullWidth:C,hiddenLabel:E,margin:S,required:k,size:D,variant:A}),R=(e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root","none"!==n&&"margin"+Object(d.a)(n),r&&"fullWidth"]};return Object(s.a)(i,h.a,t)})(F),[T,P]=a.useState(()=>{let e=!1;return c&&a.Children.forEach(c,t=>{if(!Object(f.a)(t,["Input","Select"]))return;const n=Object(f.a)(t,["Select"])?t.props.input:t;n&&Object(l.a)(n.props)&&(e=!0)}),e}),[M,B]=a.useState(()=>{let e=!1;return c&&a.Children.forEach(c,t=>{Object(f.a)(t,["Input","Select"])&&Object(l.b)(t.props,!0)&&(e=!0)}),e}),[N,I]=a.useState(!1);w&&N&&I(!1);const L=void 0===j||w?N:j;const z=a.useCallback(()=>{B(!0)},[]),W={adornedStart:T,setAdornedStart:P,color:y,disabled:w,error:O,filled:M,focused:L,fullWidth:C,hiddenLabel:E,size:D,onBlur:()=>{I(!1)},onEmpty:a.useCallback(()=>{B(!1)},[]),onFilled:z,onFocus:()=>{I(!0)},registerEffect:void 0,required:k,variant:A};return Object(m.jsx)(p.a.Provider,{value:W,children:Object(m.jsx)(g,Object(i.a)({as:x,ownerState:F,className:Object(o.default)(R.root,v),ref:t},_,{children:c}))})}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(65)),s=n(275),u=n(199),c=n(1283),l=n(369),d=n(34),f=n(17),p=n(741),h=n(5);const m=["disableAnimation","margin","shrink","variant"],b=Object(f.a)(c.a,{shouldForwardProp:e=>Object(f.b)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+l.a.asterisk]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&Object(i.a)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&Object(i.a)({transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&Object(i.a)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),g=a.forwardRef((function(e,t){const n=Object(d.a)({name:"MuiInputLabel",props:e}),{disableAnimation:a=!1,shrink:c}=n,l=Object(r.a)(n,m),f=Object(u.a)();let g=c;void 0===g&&f&&(g=f.filled||f.focused||f.adornedStart);const v=Object(s.a)({props:n,muiFormControl:f,states:["size","variant","required"]}),y=Object(i.a)({},n,{disableAnimation:a,formControl:f,shrink:g,size:v.size,variant:v.variant,required:v.required}),x=(e=>{const{classes:t,formControl:n,size:r,shrink:a,disableAnimation:s,variant:u,required:c}=e,l={root:["root",n&&"formControl",!s&&"animated",a&&"shrink","small"===r&&"sizeSmall",u],asterisk:[c&&"asterisk"]},d=Object(o.a)(l,p.a,t);return Object(i.a)({},t,d)})(y);return Object(h.jsx)(b,Object(i.a)({"data-shrink":g,ownerState:y,ref:t},l,{classes:x}))}));t.a=g},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(432),o=n(347),s=(n(11),n(0)),u=n.n(s),c=n(401),l=n(547),d=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},f=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(Object(a.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Object(o.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Object(l.b)(e,r):Object(l.c)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Object(l.a)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Object(i.a)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=Object(r.a)(e,["component","childFactory"]),a=this.state.contextValue,o=d(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?u.a.createElement(c.a.Provider,{value:a},o):u.a.createElement(c.a.Provider,{value:a},u.a.createElement(t,i,o))},t}(u.a.Component);f.propTypes={},f.defaultProps={component:"div",childFactory:function(e){return e}},t.a=f},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(463)),s=n(228),u=n(83),c=n(110),l=n(204),d=n(209),f=n(230),p=n(5);const h=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(e,t,n){var r;const i=function(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=Object(f.a)(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const e=a.getComputedStyle(t);o=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,u=0;if(o&&"none"!==o&&"string"==typeof o){const e=o.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),u=parseInt(e[5],10)}return"left"===e?i?`translateX(${i.right+s-r.left}px)`:`translateX(${a.innerWidth+s-r.left}px)`:"right"===e?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?i?`translateY(${i.bottom+u-r.top}px)`:`translateY(${a.innerHeight+u-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-u}px)`:`translateY(-${r.top+r.height-u}px)`}(e,t,"function"==typeof(r=n)?r():r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const b={enter:l.c.easeOut,exit:l.c.sharp},g={enter:l.b.enteringScreen,exit:l.b.leavingScreen},v=a.forwardRef((function(e,t){const{addEndListener:n,appear:l=!0,children:v,container:y,direction:x="down",easing:w=b,in:O,onEnter:j,onEntered:C,onEntering:E,onExit:S,onExited:k,onExiting:D,style:A,timeout:_=g,TransitionComponent:F=o.a}=e,R=Object(i.a)(e,h),T=Object(c.a)(),P=a.useRef(null),M=Object(u.a)(v.ref,P),B=Object(u.a)(M,t),N=e=>t=>{e&&(void 0===t?e(P.current):e(P.current,t))},I=N((e,t)=>{m(x,e,y),Object(d.b)(e),j&&j(e,t)}),L=N((e,t)=>{const n=Object(d.a)({timeout:_,style:A,easing:w},{mode:"enter"});e.style.webkitTransition=T.transitions.create("-webkit-transform",Object(r.a)({},n)),e.style.transition=T.transitions.create("transform",Object(r.a)({},n)),e.style.webkitTransform="none",e.style.transform="none",E&&E(e,t)}),z=N(C),W=N(D),V=N(e=>{const t=Object(d.a)({timeout:_,style:A,easing:w},{mode:"exit"});e.style.webkitTransition=T.transitions.create("-webkit-transform",t),e.style.transition=T.transitions.create("transform",t),m(x,e,y),S&&S(e)}),U=N(e=>{e.style.webkitTransition="",e.style.transition="",k&&k(e)}),H=a.useCallback(()=>{P.current&&m(x,P.current,y)},[x,y]);return a.useEffect(()=>{if(O||"down"===x||"right"===x)return;const e=Object(s.a)(()=>{P.current&&m(x,P.current,y)}),t=Object(f.a)(P.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[x,O,y]),a.useEffect(()=>{O||H()},[O,H]),Object(p.jsx)(F,Object(r.a)({nodeRef:P,onEnter:I,onEntered:z,onEntering:L,onExit:V,onExited:U,onExiting:W,addEndListener:e=>{n&&n(P.current,e)},appear:l,in:O,timeout:_},R,{children:(e,t)=>a.cloneElement(v,Object(r.a)({ref:B,style:Object(r.a)({visibility:"exited"!==e||O?void 0:"hidden"},A,v.props.style)},t))}))}));t.a=v},function(e,t,n){"use strict";var r=n(0);t.a=e=>{const t=r.useRef({});return r.useEffect(()=>{t.current=e}),t.current}},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(301),n(11),n(12)),s=n(65),u=n(80),c=n(30),l=n(17),d=n(34),f=n(294),p=n(5);const h=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],m=Object(l.a)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{["& ."+f.a.grouped]:t.grouped},{["& ."+f.a.grouped]:t["grouped"+Object(c.a)(n.orientation)]},{["& ."+f.a.grouped]:t["grouped"+Object(c.a)(n.variant)]},{["& ."+f.a.grouped]:t[`grouped${Object(c.a)(n.variant)}${Object(c.a)(n.orientation)}`]},{["& ."+f.a.grouped]:t[`grouped${Object(c.a)(n.variant)}${Object(c.a)(n.color)}`]},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"inline-flex",borderRadius:e.shape.borderRadius},"contained"===t.variant&&{boxShadow:e.shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{["& ."+f.a.grouped]:Object(i.a)({minWidth:40,"&:not(:first-of-type)":Object(i.a)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1}),"&:not(:last-of-type)":Object(i.a)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.orientation&&{borderRight:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"vertical"===t.orientation&&{borderBottom:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"text"===t.variant&&"inherit"!==t.color&&{borderColor:Object(u.a)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:"1px solid "+e.palette.grey[400],["&."+f.a.disabled]:{borderRight:"1px solid "+e.palette.action.disabled}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:"1px solid "+e.palette.grey[400],["&."+f.a.disabled]:{borderBottom:"1px solid "+e.palette.action.disabled}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:e.palette[t.color].dark}),"&:hover":Object(i.a)({},"outlined"===t.variant&&"inherit"!==t.color&&{borderColor:e.palette[t.color].main},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"})})),b=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiButtonGroup"}),{children:u,className:l,color:b="primary",component:g="div",disabled:v=!1,disableElevation:y=!1,disableFocusRipple:x=!1,disableRipple:w=!1,fullWidth:O=!1,orientation:j="horizontal",size:C="medium",variant:E="outlined"}=n,S=Object(r.a)(n,h),k=Object(i.a)({},n,{color:b,component:g,disabled:v,disableElevation:y,disableFocusRipple:x,disableRipple:w,fullWidth:O,orientation:j,size:C,variant:E}),D=(e=>{const{classes:t,color:n,disabled:r,disableElevation:i,fullWidth:a,orientation:o,variant:u}=e,l={root:["root",u,"vertical"===o&&"vertical",a&&"fullWidth",i&&"disableElevation"],grouped:["grouped","grouped"+Object(c.a)(o),"grouped"+Object(c.a)(u),`grouped${Object(c.a)(u)}${Object(c.a)(o)}`,`grouped${Object(c.a)(u)}${Object(c.a)(n)}`,r&&"disabled"]};return Object(s.a)(l,f.b,t)})(k);return Object(p.jsx)(m,Object(i.a)({as:g,role:"group",className:Object(o.default)(D.root,l),ref:t,ownerState:k},S,{children:a.Children.map(u,e=>a.isValidElement(e)?a.cloneElement(e,{className:Object(o.default)(D.grouped,e.props.className),color:e.props.color||b,disabled:e.props.disabled||v,disableElevation:e.props.disableElevation||y,disableFocusRipple:x,disableRipple:w,fullWidth:O,size:e.props.size||C,variant:e.props.variant||E}):null)}))}));t.a=b},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return h}));var r,i=n(2),a=n(46),o=n(0),s=n.n(o),u=(n(11),n(1167)),c=n(144),l=n(1166),d=Object(c.b)(Object(l.a)()),f={disableGeneration:!1,generateClassName:Object(u.a)(),jss:d,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=s.a.createContext(f);function h(e){var t=e.children,n=e.injectFirst,o=void 0!==n&&n,u=e.disableGeneration,d=void 0!==u&&u,f=Object(a.a)(e,["children","injectFirst","disableGeneration"]),h=s.a.useContext(p),m=Object(i.a)({},h,{disableGeneration:d},f);if(!m.jss.options.insertionPoint&&o&&"undefined"!=typeof window){if(!r){var b=document.head;r=document.createComment("mui-inject-first"),b.insertBefore(r,b.firstChild)}m.jss=Object(c.b)({plugins:Object(l.a)().plugins,insertionPoint:r})}return s.a.createElement(p.Provider,{value:m},t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(488),i=n(489),a=n(490),o=n(491),s=n(492),u=n(493),c=n(495);function l(){return{plugins:[Object(r.a)(),Object(i.a)(),Object(a.a)(),Object(o.a)(),Object(s.a)(),"undefined"==typeof window?null:Object(u.a)(),Object(c.a)()]}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(960),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,a=e.productionPrefix,o=void 0===a?"jss":a,s=e.seed,u=void 0===s?"":s,c=""===u?"":"".concat(u,"-"),l=0,d=function(){return l+=1};return function(e,t){var a=t.options.name;if(a&&0===a.indexOf("Mui")&&!t.options.link&&!n){if(-1!==i.indexOf(e.key))return"Mui-".concat(e.key);var s="".concat(c).concat(a,"-").concat(e.key);return t.options.theme[r.a]&&""===u?"".concat(s,"-").concat(d()):s}return"".concat(c).concat(o).concat(d())}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(277),i=n(528),a=n(305),o=n(968),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"},l=Object(o.a)((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=Object(r.a)(t,2),i=n[0],a=n[1],o=s[i],l=u[a]||"";return Array.isArray(l)?l.map((function(e){return o+e})):[o+l]})),d=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function f(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function p(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function h(e){var t=f(e.theme);return Object.keys(e).map((function(n){if(-1===d.indexOf(n))return null;var r=p(l(n),t),a=e[n];return Object(i.a)(e,a,r)})).reduce(a.a,{})}h.propTypes={},h.filterProps=d,t.b=h},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(73),u=n(133),c=n(1303),l=n(106),d=a.forwardRef((function(e,t){var n=e.children,s=e.classes,u=e.className,d=e.color,f=void 0===d?"default":d,p=e.component,h=void 0===p?"button":p,m=e.disabled,b=void 0!==m&&m,g=e.disableElevation,v=void 0!==g&&g,y=e.disableFocusRipple,x=void 0!==y&&y,w=e.endIcon,O=e.focusVisibleClassName,j=e.fullWidth,C=void 0!==j&&j,E=e.size,S=void 0===E?"medium":E,k=e.startIcon,D=e.type,A=void 0===D?"button":D,_=e.variant,F=void 0===_?"text":_,R=Object(r.a)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=k&&a.createElement("span",{className:Object(o.default)(s.startIcon,s["iconSize".concat(Object(l.a)(S))])},k),P=w&&a.createElement("span",{className:Object(o.default)(s.endIcon,s["iconSize".concat(Object(l.a)(S))])},w);return a.createElement(c.a,Object(i.a)({className:Object(o.default)(s.root,s[F],u,"inherit"===f?s.colorInherit:"default"!==f&&s["".concat(F).concat(Object(l.a)(f))],"medium"!==S&&[s["".concat(F,"Size").concat(Object(l.a)(S))],s["size".concat(Object(l.a)(S))]],v&&s.disableElevation,b&&s.disabled,C&&s.fullWidth),component:h,disabled:b,focusRipple:!x,focusVisibleClassName:Object(o.default)(s.focusVisible,O),ref:t,type:A},R),a.createElement("span",{className:s.label},T,n,P))}));t.a=Object(s.a)((function(e){return{root:Object(i.a)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:Object(u.a)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Object(u.a)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Object(u.a)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Object(u.a)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Object(u.a)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(d)},function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,a=t.props[n];for(i in a)void 0===r[i]&&(r[i]=a[i]);return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(0),i=n(101),a=(n(11),n(247)),o=n(99);var s="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u=r.forwardRef((function(e,t){var n=e.children,u=e.container,c=e.disablePortal,l=void 0!==c&&c,d=e.onRendered,f=r.useState(null),p=f[0],h=f[1],m=Object(o.a)(r.isValidElement(n)?n.ref:null,t);return s((function(){l||h(function(e){return e="function"==typeof e?e():e,i.findDOMNode(e)}(u)||document.body)}),[u,l]),s((function(){if(p&&!l)return Object(a.a)(t,p),function(){Object(a.a)(t,null)}}),[t,p,l]),s((function(){d&&(p||l)&&d()}),[d,p,l]),l?r.isValidElement(n)?r.cloneElement(n,{ref:m}):n:p?i.createPortal(n,p):p}));t.a=u},function(e,t,n){"use strict";var r=n(2),i=n(277),a=n(46),o=n(0),s=(n(11),n(463)),u=n(278),c=n(567),l=n(99);function d(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var f={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},p=o.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,m=e.in,b=e.onEnter,g=e.onEntered,v=e.onEntering,y=e.onExit,x=e.onExited,w=e.onExiting,O=e.style,j=e.timeout,C=void 0===j?"auto":j,E=e.TransitionComponent,S=void 0===E?s.a:E,k=Object(a.a)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),D=o.useRef(),A=o.useRef(),_=Object(u.a)(),F=_.unstable_strictMode&&!h,R=o.useRef(null),T=Object(l.a)(n.ref,t),P=Object(l.a)(F?R:void 0,T),M=function(e){return function(t,n){if(e){var r=F?[R.current,t]:[t,n],a=Object(i.a)(r,2),o=a[0],s=a[1];void 0===s?e(o):e(o,s)}}},B=M(v),N=M((function(e,t){Object(c.b)(e);var n,r=Object(c.a)({style:O,timeout:C},{mode:"enter"}),i=r.duration,a=r.delay;"auto"===C?(n=_.transitions.getAutoHeightDuration(e.clientHeight),A.current=n):n=i,e.style.transition=[_.transitions.create("opacity",{duration:n,delay:a}),_.transitions.create("transform",{duration:.666*n,delay:a})].join(","),b&&b(e,t)})),I=M(g),L=M(w),z=M((function(e){var t,n=Object(c.a)({style:O,timeout:C},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===C?(t=_.transitions.getAutoHeightDuration(e.clientHeight),A.current=t):t=r,e.style.transition=[_.transitions.create("opacity",{duration:t,delay:i}),_.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=d(.75),y&&y(e)})),W=M(x);return o.useEffect((function(){return function(){clearTimeout(D.current)}}),[]),o.createElement(S,Object(r.a)({appear:!0,in:m,nodeRef:F?R:void 0,onEnter:N,onEntered:I,onEntering:B,onExit:z,onExited:W,onExiting:L,addEndListener:function(e,t){var n=F?e:t;"auto"===C&&(D.current=setTimeout(n,A.current||0))},timeout:"auto"===C?null:C},k),(function(e,t){return o.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:d(.75),visibility:"exited"!==e||m?void 0:"hidden"},f[e],O,n.props.style),ref:P},t))}))}));p.muiSupportAuto=!0,t.a=p},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(245),u=n(279),c=n(73),l=n(1307),d=a.forwardRef((function(e,t){var n=e.classes,c=e.className,d=e.disableAnimation,f=void 0!==d&&d,p=(e.margin,e.shrink),h=(e.variant,Object(i.a)(e,["classes","className","disableAnimation","margin","shrink","variant"])),m=Object(u.a)(),b=p;void 0===b&&m&&(b=m.filled||m.focused||m.adornedStart);var g=Object(s.a)({props:e,muiFormControl:m,states:["margin","variant"]});return a.createElement(l.a,Object(r.a)({"data-shrink":b,className:Object(o.default)(n.root,c,m&&n.formControl,!f&&n.animated,b&&n.shrink,"dense"===g.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[g.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},h))}));t.a=Object(c.a)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(d)},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(245),u=n(279),c=n(73),l=a.forwardRef((function(e,t){var n=e.children,c=e.classes,l=e.className,d=e.component,f=void 0===d?"p":d,p=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,Object(r.a)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),h=Object(u.a)(),m=Object(s.a)({props:e,muiFormControl:h,states:["variant","margin","disabled","error","filled","focused","required"]});return a.createElement(f,Object(i.a)({className:Object(o.default)(c.root,("filled"===m.variant||"outlined"===m.variant)&&c.contained,l,m.disabled&&c.disabled,m.error&&c.error,m.filled&&c.filled,m.focused&&c.focused,m.required&&c.required,"dense"===m.margin&&c.marginDense),ref:t},p)," "===n?a.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):n)}));t.a=Object(c.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(l)},function(e,t,n){"use strict";var r=n(244),i=n(277),a=n(46),o=n(2),s=n(0),u=(n(11),n(12)),c=n(73),l=n(278),d=n(133),f=n(394),p=n(145),h=n(157),m=n(99),b=n(106),g=n(395),v=n(978);function y(e,t){return e-t}function x(e,t,n){return Math.min(Math.max(t,e),n)}function w(e,t){return e.reduce((function(e,n,r){var i=Math.abs(t-n);return null===e||i0&&De.some((function(e){return e.label}))&&A.marked,!1===ae&&A.trackFalse,"vertical"===Z&&A.vertical,"inverted"===ae&&A.trackInverted),onMouseDown:Ze},pe),s.createElement("span",{className:A.rail}),s.createElement("span",{className:A.track,style:et}),s.createElement("input",{value:ke.join(","),name:$,type:"hidden"}),De.map((function(e,t){var n,r=j(e.value,q,U),i=k[$e].offset(r);return n=!1===ae?-1!==ke.indexOf(e.value):"normal"===ae&&(Se?e.value>=ke[0]&&e.value<=ke[ke.length-1]:e.value<=ke[0])||"inverted"===ae&&(Se?e.value<=ke[0]||e.value>=ke[ke.length-1]:e.value>=ke[0]),s.createElement(s.Fragment,{key:e.value},s.createElement("span",{style:i,"data-index":t,className:Object(u.default)(A.mark,n&&A.markActive)}),null!=e.label?s.createElement("span",{"aria-hidden":!0,"data-index":t,style:i,className:Object(u.default)(A.markLabel,n&&A.markLabelActive)},e.label):null)})),ke.map((function(e,t){var r=j(e,q,U),i=k[$e].offset(r);return s.createElement(ue,{key:t,valueLabelFormat:fe,valueLabelDisplay:le,className:A.valueLabel,value:"function"==typeof fe?fe(J(e),t):fe,index:t,open:xe===t||ge===t||"on"===le,disabled:N},s.createElement(re,{className:Object(u.default)(A.thumb,A["thumbColor".concat(Object(b.a)(R))],ge===t&&A.active,N&&A.disabled,Pe===t&&A.focusVisible),tabIndex:N?null:0,role:"slider",style:i,"data-index":t,"aria-label":I?I(t):n,"aria-labelledby":c,"aria-orientation":Z,"aria-valuemax":J(U),"aria-valuemin":J(q),"aria-valuenow":J(e),"aria-valuetext":L?L(J(e),t):d,onKeyDown:He,onFocus:Le,onBlur:ze,onMouseOver:We,onMouseLeave:Ve}))})))}));t.a=Object(c.a)((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?Object(d.d)(e.palette.primary.main,.62):Object(d.b)(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object(d.a)(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object(d.a)(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object(d.a)(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object(d.a)(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:Object(o.a)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(A)},function(e,t,n){"use strict";var r=n(1311),i=n(174),a=n(1312),o=n(1313),s=n(1314),u=n(1315),c=n(1316),l=n(1317),d=n(1318),f=n(1319),p=n(1168),h=n(1320),m=n(979),b=Object(r.a)(Object(i.a)(a.a,o.a,s.a,u.a,c.a,l.a,d.a,f.a,p.b,h.a)),g=Object(m.a)("div")(b,{name:"MuiBox"});t.a=g},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(101)),s=n(530),u=n(12),c=n(145),l=n(531),d=n(331),f=n(73),p=n(1323),h=n(1172),m=n(1325);function b(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function g(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function v(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function y(e){return"function"==typeof e?e():e}var x=a.forwardRef((function(e,t){var n=e.action,f=e.anchorEl,x=e.anchorOrigin,w=void 0===x?{vertical:"top",horizontal:"left"}:x,O=e.anchorPosition,j=e.anchorReference,C=void 0===j?"anchorEl":j,E=e.children,S=e.classes,k=e.className,D=e.container,A=e.elevation,_=void 0===A?8:A,F=e.getContentAnchorEl,R=e.marginThreshold,T=void 0===R?16:R,P=e.onEnter,M=e.onEntered,B=e.onEntering,N=e.onExit,I=e.onExited,L=e.onExiting,z=e.open,W=e.PaperProps,V=void 0===W?{}:W,U=e.transformOrigin,H=void 0===U?{vertical:"top",horizontal:"left"}:U,q=e.TransitionComponent,$=void 0===q?h.a:q,G=e.transitionDuration,Y=void 0===G?"auto":G,K=e.TransitionProps,X=void 0===K?{}:K,Z=Object(i.a)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Q=a.useRef(),J=a.useCallback((function(e){if("anchorPosition"===C)return O;var t=y(f),n=(t&&1===t.nodeType?t:Object(c.a)(Q.current).body).getBoundingClientRect(),r=0===e?w.vertical:"center";return{top:n.top+b(n,r),left:n.left+g(n,w.horizontal)}}),[f,w.horizontal,w.vertical,O,C]),ee=a.useCallback((function(e){var t=0;if(F&&"anchorEl"===C){var n=F(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[w.vertical,C,F]),te=a.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:b(e,H.vertical)+t,horizontal:g(e,H.horizontal)}}),[H.horizontal,H.vertical]),ne=a.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===C)return{top:null,left:null,transformOrigin:v(r)};var i=J(t),a=i.top-r.vertical,o=i.left-r.horizontal,s=a+n.height,u=o+n.width,c=Object(l.a)(y(f)),d=c.innerHeight-T,p=c.innerWidth-T;if(ad){var m=s-d;a-=m,r.vertical+=m}if(op){var g=u-p;o-=g,r.horizontal+=g}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(o),"px"),transformOrigin:v(r)}}),[f,C,J,ee,te,T]),re=a.useCallback((function(){var e=Q.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=a.useCallback((function(e){Q.current=o.findDOMNode(e)}),[]);a.useEffect((function(){z&&re()})),a.useImperativeHandle(n,(function(){return z?{updatePosition:function(){re()}}:null}),[z,re]),a.useEffect((function(){if(z){var e=Object(s.a)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[z,re]);var ae=Y;"auto"!==Y||$.muiSupportAuto||(ae=void 0);var oe=D||(f?Object(c.a)(y(f)).body:void 0);return a.createElement(p.a,Object(r.a)({container:oe,open:z,ref:t,BackdropProps:{invisible:!0},className:Object(u.default)(S.root,k)},Z),a.createElement($,Object(r.a)({appear:!0,in:z,onEnter:P,onEntered:M,onExit:N,onExited:I,onExiting:L,timeout:ae},X,{onEntering:Object(d.a)((function(e,t){B&&B(e,t),re()}),X.onEntering)}),a.createElement(m.a,Object(r.a)({elevation:_,ref:ie},V,{className:Object(u.default)(S.paper,V.className)}),E)))}));t.a=Object(f.a)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(x)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(648),u=n(73),c=a.forwardRef((function(e,t){var n=e.disableUnderline,u=e.classes,c=e.fullWidth,l=void 0!==c&&c,d=e.inputComponent,f=void 0===d?"input":d,p=e.multiline,h=void 0!==p&&p,m=e.type,b=void 0===m?"text":m,g=Object(i.a)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return a.createElement(s.a,Object(r.a)({classes:Object(r.a)({},u,{root:Object(o.default)(u.root,!n&&u.underline),underline:null}),fullWidth:l,inputComponent:f,multiline:h,ref:t,type:b},g))}));c.muiName="Input",t.a=Object(u.a)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(648),u=n(982),c=n(73),l=a.forwardRef((function(e,t){var n=e.classes,c=e.fullWidth,l=void 0!==c&&c,d=e.inputComponent,f=void 0===d?"input":d,p=e.label,h=e.labelWidth,m=void 0===h?0:h,b=e.multiline,g=void 0!==b&&b,v=e.notched,y=e.type,x=void 0===y?"text":y,w=Object(i.a)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return a.createElement(s.a,Object(r.a)({renderSuffix:function(e){return a.createElement(u.a,{className:n.notchedOutline,label:p,labelWidth:m,notched:void 0!==v?v:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Object(r.a)({},n,{root:Object(o.default)(n.root,n.underline),notchedOutline:null}),fullWidth:l,inputComponent:f,multiline:g,ref:t,type:x},w))}));l.muiName="Input",t.a=Object(c.a)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(106),c=a.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,l=e.color,d=void 0===l?"inherit":l,f=e.component,p=void 0===f?"svg":f,h=e.fontSize,m=void 0===h?"medium":h,b=e.htmlColor,g=e.titleAccess,v=e.viewBox,y=void 0===v?"0 0 24 24":v,x=Object(i.a)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return a.createElement(p,Object(r.a)({className:Object(o.default)(s.root,c,"inherit"!==d&&s["color".concat(Object(u.a)(d))],"default"!==m&&"medium"!==m&&s["fontSize".concat(Object(u.a)(m))]),focusable:"false",viewBox:y,color:b,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},x),n,g?a.createElement("title",null,g):null)}));c.muiName="SvgIcon",t.a=Object(s.a)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(c)},function(e,t,n){"use strict";var r,i=n(18),a=n(2),o=n(0),s=(n(11),n(12)),u=n(65),c=n(117),l=n(17),d=n(34),f=n(164),p=n(77),h=n(113),m=n(50),b=n(1333),g=n(1066),v=n(342),y=n(375),x=n(5);const w=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],O=Object(l.a)(m.a,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),j=Object(l.a)(b.a,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>Object(a.a)({["& ."+y.a.actions]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[e.breakpoints.up("xs")+" and (orientation: landscape)"]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},["& ."+y.a.actions]:{flexShrink:0,marginLeft:20}})),C=Object(l.a)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),E=Object(l.a)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>Object(a.a)({},e.typography.body2,{flexShrink:0})),S=Object(l.a)(h.a,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>Object(a.a)({["& ."+y.a.selectIcon]:t.selectIcon,["& ."+y.a.select]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,["& ."+y.a.select]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),k=Object(l.a)(p.a,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),D=Object(l.a)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>Object(a.a)({},e.typography.body2,{flexShrink:0}));function A({from:e,to:t,count:n}){return`${e}-${t} of ${-1!==n?n:"more than "+t}`}function _(e){return`Go to ${e} page`}const F=o.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiTablePagination"}),{ActionsComponent:l=g.a,backIconButtonProps:p,className:h,colSpan:b,component:F=m.a,count:R,getItemAriaLabel:T=_,labelDisplayedRows:P=A,labelRowsPerPage:M="Rows per page:",nextIconButtonProps:B,onPageChange:N,onRowsPerPageChange:I,page:L,rowsPerPage:z,rowsPerPageOptions:W=[10,25,50,100],SelectProps:V={},showFirstButton:U=!1,showLastButton:H=!1}=n,q=Object(i.a)(n,w),$=n,G=(e=>{const{classes:t}=e;return Object(u.a)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},y.b,t)})($),Y=V.native?"option":k;let K;F!==m.a&&"td"!==F||(K=b||1e3);const X=Object(v.a)(V.id),Z=Object(v.a)(V.labelId);return Object(x.jsx)(O,Object(a.a)({colSpan:K,ref:t,as:F,ownerState:$,className:Object(s.default)(G.root,h)},q,{children:Object(x.jsxs)(j,{className:G.toolbar,children:[Object(x.jsx)(C,{className:G.spacer}),W.length>1&&Object(x.jsx)(E,{className:G.selectLabel,id:Z,children:M}),W.length>1&&Object(x.jsx)(S,Object(a.a)({variant:"standard",input:r||(r=Object(x.jsx)(f.c,{})),value:z,onChange:I,id:X,labelId:Z},V,{classes:Object(a.a)({},V.classes,{root:Object(s.default)(G.input,G.selectRoot,(V.classes||{}).root),select:Object(s.default)(G.select,(V.classes||{}).select),icon:Object(s.default)(G.selectIcon,(V.classes||{}).icon)}),children:W.map(e=>Object(o.createElement)(Y,Object(a.a)({},!Object(c.a)(Y)&&{ownerState:$},{className:G.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),Object(x.jsx)(D,{className:G.displayedRows,children:P({from:0===R?0:L*z+1,to:-1===R?(L+1)*z:-1===z?R:Math.min(R,(L+1)*z),count:-1===R?-1:R,page:L})}),Object(x.jsx)(l,{className:G.actions,backIconButtonProps:p,count:R,nextIconButtonProps:B,onPageChange:N,page:L,rowsPerPage:z,showFirstButton:U,showLastButton:H,getItemAriaLabel:T})]})}))}));t.a=F},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict"; /** @license React v17.0.2 * react.production.min.js * @@ -263,7 +263,7 @@ t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,u=(1<>1,l=-7,d=n?i-1:0,f= `),C)),F=Object(f.a)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t["barColor"+Object(l.a)(n.color)],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>Object(i.a)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":t.palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:k(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&Object(u.b)(O||(O=j` width: auto; animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `),E)),R=a.forwardRef((function(e,t){const n=Object(p.a)({props:e,name:"MuiLinearProgress"}),{className:a,color:u="primary",value:c,valueBuffer:f,variant:g="indeterminate"}=n,v=Object(r.a)(n,b),y=Object(i.a)({},n,{color:u,variant:g}),x=(e=>{const{classes:t,variant:n,color:r}=e,i={root:["root","color"+Object(l.a)(r),n],dashed:["dashed","dashedColor"+Object(l.a)(r)],bar1:["bar","barColor"+Object(l.a)(r),("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&"barColor"+Object(l.a)(r),"buffer"===n&&"color"+Object(l.a)(r),("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return Object(s.a)(i,h.a,t)})(y),w=Object(d.a)(),O={},j={bar1:{},bar2:{}};if("determinate"===g||"buffer"===g)if(void 0!==c){O["aria-valuenow"]=Math.round(c),O["aria-valuemin"]=0,O["aria-valuemax"]=100;let e=c-100;"rtl"===w.direction&&(e=-e),j.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===g)if(void 0!==f){let e=(f||0)-100;"rtl"===w.direction&&(e=-e),j.bar2.transform=`translateX(${e}%)`}else 0;return Object(m.jsxs)(D,Object(i.a)({className:Object(o.default)(x.root,a),ownerState:y,role:"progressbar"},O,{ref:t},v,{children:["buffer"===g?Object(m.jsx)(A,{className:x.dashed,ownerState:y}):null,Object(m.jsx)(_,{className:x.bar1,ownerState:y,style:j.bar1}),"determinate"===g?null:Object(m.jsx)(F,{className:x.bar2,ownerState:y,style:j.bar2})]}))}));t.a=R},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(34),c=n(17),l=n(953),d=n(5);const f=["className","component"],p=Object(c.a)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),h=a.forwardRef((function(e,t){const n=Object(u.a)({props:e,name:"MuiTableContainer"}),{className:a,component:c="div"}=n,h=Object(i.a)(n,f),m=Object(r.a)({},n,{component:c}),b=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},l.a,t)})(m);return Object(d.jsx)(p,Object(r.a)({ref:t,as:c,className:Object(o.default)(b.root,a),ownerState:m},h))}));t.a=h},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(319),c=n(34),l=n(17),d=n(954),f=n(5);const p=["className","component"],h=Object(l.a)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),m={variant:"head"},b="thead",g=a.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTableHead"}),{className:a,component:l=b}=n,g=Object(i.a)(n,p),v=Object(r.a)({},n,{component:l}),y=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},d.a,t)})(v);return Object(f.jsx)(u.a.Provider,{value:m,children:Object(f.jsx)(h,Object(r.a)({as:l,className:Object(o.default)(y.root,a),ref:t,role:l===b?null:"rowgroup",ownerState:v},g))})}));t.a=g},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=(n(343),n(379));function a(e){var t="function"==typeof e;return{create:function(n,a){var o;try{o=t?e(n):e}catch(e){throw e}if(!a||!n.overrides||!n.overrides[a])return o;var s=n.overrides[a],u=Object(r.a)({},o);return Object.keys(s).forEach((function(e){u[e]=Object(i.a)(u[e],s[e])})),u},options:{}}}},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(101)),s=n(12),u=n(99),c=n(157),l=n(73),d=n(394),f=n(974),p=a.forwardRef((function(e,t){var n=e.action,l=e.buttonRef,p=e.centerRipple,h=void 0!==p&&p,m=e.children,b=e.classes,g=e.className,v=e.component,y=void 0===v?"button":v,x=e.disabled,w=void 0!==x&&x,O=e.disableRipple,j=void 0!==O&&O,C=e.disableTouchRipple,E=void 0!==C&&C,S=e.focusRipple,k=void 0!==S&&S,D=e.focusVisibleClassName,A=e.onBlur,_=e.onClick,F=e.onFocus,R=e.onFocusVisible,T=e.onKeyDown,P=e.onKeyUp,M=e.onMouseDown,B=e.onMouseLeave,N=e.onMouseUp,I=e.onTouchEnd,L=e.onTouchMove,z=e.onTouchStart,W=e.onDragLeave,V=e.tabIndex,U=void 0===V?0:V,H=e.TouchRippleProps,q=e.type,$=void 0===q?"button":q,G=Object(i.a)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),Y=a.useRef(null);var K=a.useRef(null),X=a.useState(!1),Z=X[0],Q=X[1];w&&Z&&Q(!1);var J=Object(d.a)(),ee=J.isFocusVisible,te=J.onBlurVisible,ne=J.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;return Object(c.a)((function(r){return t&&t(r),!n&&K.current&&K.current[e](r),!0}))}a.useImperativeHandle(n,(function(){return{focusVisible:function(){Q(!0),Y.current.focus()}}}),[]),a.useEffect((function(){Z&&k&&!j&&K.current.pulsate()}),[j,k,Z]);var ie=re("start",M),ae=re("stop",W),oe=re("stop",N),se=re("stop",(function(e){Z&&e.preventDefault(),B&&B(e)})),ue=re("start",z),ce=re("stop",I),le=re("stop",L),de=re("stop",(function(e){Z&&(te(e),Q(!1)),A&&A(e)}),!1),fe=Object(c.a)((function(e){Y.current||(Y.current=e.currentTarget),ee(e)&&(Q(!0),R&&R(e)),F&&F(e)})),pe=function(){var e=o.findDOMNode(Y.current);return y&&"button"!==y&&!("A"===e.tagName&&e.href)},he=a.useRef(!1),me=Object(c.a)((function(e){k&&!he.current&&Z&&K.current&&" "===e.key&&(he.current=!0,e.persist(),K.current.stop(e,(function(){K.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!w&&(e.preventDefault(),_&&_(e))})),be=Object(c.a)((function(e){k&&" "===e.key&&K.current&&Z&&!e.defaultPrevented&&(he.current=!1,e.persist(),K.current.stop(e,(function(){K.current.pulsate(e)}))),P&&P(e),_&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&_(e)})),ge=y;"button"===ge&&G.href&&(ge="a");var ve={};"button"===ge?(ve.type=$,ve.disabled=w):("a"===ge&&G.href||(ve.role="button"),ve["aria-disabled"]=w);var ye=Object(u.a)(l,t),xe=Object(u.a)(ne,Y),we=Object(u.a)(ye,xe),Oe=a.useState(!1),je=Oe[0],Ce=Oe[1];a.useEffect((function(){Ce(!0)}),[]);var Ee=je&&!j&&!w;return a.createElement(ge,Object(r.a)({className:Object(s.default)(b.root,g,Z&&[b.focusVisible,D],w&&b.disabled),onBlur:de,onClick:_,onFocus:fe,onKeyDown:me,onKeyUp:be,onMouseDown:ie,onMouseLeave:se,onMouseUp:oe,onDragLeave:ae,onTouchEnd:ce,onTouchMove:le,onTouchStart:ue,ref:we,tabIndex:w?-1:U},ve,G),m,Ee?a.createElement(f.a,Object(r.a)({ref:K,center:h},H)):null)}));t.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(p)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=n.n(a),s=(n(11),n(256)),u=n.n(s),c=n(646),l=n(1170),d=n(465);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,s=t.withTheme,f=void 0!==s&&s,p=t.name,h=Object(i.a)(t,["defaultTheme","withTheme","name"]);var m=p,b=Object(c.a)(e,Object(r.a)({defaultTheme:a,Component:n,name:p||n.displayName,classNamePrefix:m},h)),g=o.a.forwardRef((function(e,t){e.classes;var s,u=e.innerRef,c=Object(i.a)(e,["classes","innerRef"]),h=b(Object(r.a)({},n.defaultProps,e)),m=c;return("string"==typeof p||f)&&(s=Object(d.a)()||a,p&&(m=Object(l.a)({theme:s,name:p,props:c})),f&&!m.theme&&(m.theme=s)),o.a.createElement(n,Object(r.a)({ref:u||t,classes:h},m))}));return u()(g,n),g}}},function(e,t,n){"use strict";var r=n(2),i=n(277),a=n(46),o=n(218),s=n(0),u=n(101),c=(n(11),n(12)),l=n(379),d=n(132),f=n(73),p=n(106),h=n(1172),m=n(1306),b=n(99),g=n(977),v=n(247),y=n(394),x=n(395),w=n(278);function O(e){return Math.round(1e5*e)/1e5}var j=!1,C=null;var E=s.forwardRef((function(e,t){var n=e.arrow,o=void 0!==n&&n,d=e.children,f=e.classes,O=e.disableFocusListener,E=void 0!==O&&O,S=e.disableHoverListener,k=void 0!==S&&S,D=e.disableTouchListener,A=void 0!==D&&D,_=e.enterDelay,F=void 0===_?100:_,R=e.enterNextDelay,T=void 0===R?0:R,P=e.enterTouchDelay,M=void 0===P?700:P,B=e.id,N=e.interactive,I=void 0!==N&&N,L=e.leaveDelay,z=void 0===L?0:L,W=e.leaveTouchDelay,V=void 0===W?1500:W,U=e.onClose,H=e.onOpen,q=e.open,$=e.placement,G=void 0===$?"bottom":$,Y=e.PopperComponent,K=void 0===Y?m.a:Y,X=e.PopperProps,Z=e.title,Q=e.TransitionComponent,J=void 0===Q?h.a:Q,ee=e.TransitionProps,te=Object(a.a)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),ne=Object(w.a)(),re=s.useState(),ie=re[0],ae=re[1],oe=s.useState(null),se=oe[0],ue=oe[1],ce=s.useRef(!1),le=s.useRef(),de=s.useRef(),fe=s.useRef(),pe=s.useRef(),he=Object(x.a)({controlled:q,default:!1,name:"Tooltip",state:"open"}),me=Object(i.a)(he,2),be=me[0],ge=me[1],ve=be,ye=Object(g.a)(B);s.useEffect((function(){return function(){clearTimeout(le.current),clearTimeout(de.current),clearTimeout(fe.current),clearTimeout(pe.current)}}),[]);var xe=function(e){clearTimeout(C),j=!0,ge(!0),H&&H(e)},we=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),ce.current&&"touchstart"!==t.type||(ie&&ie.removeAttribute("title"),clearTimeout(de.current),clearTimeout(fe.current),F||j&&T?(t.persist(),de.current=setTimeout((function(){xe(t)}),j?T:F)):xe(t))}},Oe=Object(y.a)(),je=Oe.isFocusVisible,Ce=Oe.onBlurVisible,Ee=Oe.ref,Se=s.useState(!1),ke=Se[0],De=Se[1],Ae=function(){ke&&(De(!1),Ce())},_e=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){ie||ae(t.currentTarget),je(t)&&(De(!0),we()(t));var n=d.props;n.onFocus&&e&&n.onFocus(t)}},Fe=function(e){clearTimeout(C),C=setTimeout((function(){j=!1}),800+z),ge(!1),U&&U(e),clearTimeout(le.current),le.current=setTimeout((function(){ce.current=!1}),ne.transitions.duration.shortest)},Re=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),Ae()),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===ie&&n.onMouseLeave(t),clearTimeout(de.current),clearTimeout(fe.current),t.persist(),fe.current=setTimeout((function(){Fe(t)}),z)}},Te=function(e){ce.current=!0;var t=d.props;t.onTouchStart&&t.onTouchStart(e)},Pe=Object(b.a)(ae,t),Me=Object(b.a)(Ee,Pe),Be=s.useCallback((function(e){Object(v.a)(Me,u.findDOMNode(e))}),[Me]),Ne=Object(b.a)(d.ref,Be);""===Z&&(ve=!1);var Ie=!ve&&!k,Le=Object(r.a)({"aria-describedby":ve?ye:null,title:Ie&&"string"==typeof Z?Z:null},te,d.props,{className:Object(c.default)(te.className,d.props.className),onTouchStart:Te,ref:Ne}),ze={};A||(Le.onTouchStart=function(e){Te(e),clearTimeout(fe.current),clearTimeout(le.current),clearTimeout(pe.current),e.persist(),pe.current=setTimeout((function(){we()(e)}),M)},Le.onTouchEnd=function(e){d.props.onTouchEnd&&d.props.onTouchEnd(e),clearTimeout(pe.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){Fe(e)}),V)}),k||(Le.onMouseOver=we(),Le.onMouseLeave=Re(),I&&(ze.onMouseOver=we(!1),ze.onMouseLeave=Re(!1))),E||(Le.onFocus=_e(),Le.onBlur=Re(),I&&(ze.onFocus=_e(!1),ze.onBlur=Re(!1)));var We=s.useMemo((function(){return Object(l.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(se),element:se}}}},X)}),[se,X]);return s.createElement(s.Fragment,null,s.cloneElement(d,Le),s.createElement(K,Object(r.a)({className:Object(c.default)(f.popper,I&&f.popperInteractive,o&&f.popperArrow),placement:G,anchorEl:ie,open:!!ie&&ve,id:Le["aria-describedby"],transition:!0},ze,We),(function(e){var t=e.placement,n=e.TransitionProps;return s.createElement(J,Object(r.a)({timeout:ne.transitions.duration.shorter},n,ee),s.createElement("div",{className:Object(c.default)(f.tooltip,f["tooltipPlacement".concat(Object(p.a)(t.split("-")[0]))],ce.current&&f.touch,o&&f.tooltipArrow)},Z,o?s.createElement("span",{className:f.arrow,ref:ue}):null))})))}));t.a=Object(f.a)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(d.a)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(O(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(d.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(O(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:Object(o.a)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(o.a)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(o.a)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(o.a)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(E)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(976)),s=n(465),u=n(1171),c=n(331),l=n(247),d=n(99);function f(e){return"function"==typeof e?e():e}var p="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,h={},m=a.forwardRef((function(e,t){var n=e.anchorEl,m=e.children,b=e.container,g=e.disablePortal,v=void 0!==g&&g,y=e.keepMounted,x=void 0!==y&&y,w=e.modifiers,O=e.open,j=e.placement,C=void 0===j?"bottom":j,E=e.popperOptions,S=void 0===E?h:E,k=e.popperRef,D=e.style,A=e.transition,_=void 0!==A&&A,F=Object(i.a)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),R=a.useRef(null),T=Object(d.a)(R,t),P=a.useRef(null),M=Object(d.a)(P,k),B=a.useRef(M);p((function(){B.current=M}),[M]),a.useImperativeHandle(k,(function(){return P.current}),[]);var N=a.useState(!0),I=N[0],L=N[1],z=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(C,Object(s.a)()),W=a.useState(z),V=W[0],U=W[1];a.useEffect((function(){P.current&&P.current.update()}));var H=a.useCallback((function(){if(R.current&&n&&O){P.current&&(P.current.destroy(),B.current(null));var e=function(e){U(e.placement)},t=(f(n),new o.a(f(n),R.current,Object(r.a)({placement:z},S,{modifiers:Object(r.a)({},v?{}:{preventOverflow:{boundariesElement:"window"}},w,S.modifiers),onCreate:Object(c.a)(e,S.onCreate),onUpdate:Object(c.a)(e,S.onUpdate)})));B.current(t)}}),[n,v,w,O,z,S]),q=a.useCallback((function(e){Object(l.a)(T,e),H()}),[T,H]),$=function(){P.current&&(P.current.destroy(),B.current(null))};if(a.useEffect((function(){return function(){$()}}),[]),a.useEffect((function(){O||_||$()}),[O,_]),!x&&!O&&(!_||I))return null;var G={placement:V};return _&&(G.TransitionProps={in:O,onEnter:function(){L(!1)},onExited:function(){L(!0),$()}}),a.createElement(u.a,{disablePortal:v,container:b},a.createElement("div",Object(r.a)({ref:q,role:"tooltip"},F,{style:Object(r.a)({position:"fixed",top:0,left:0,display:O||!x||_?null:"none"},D)}),"function"==typeof m?m(G):m))}));t.a=m},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(245),u=n(279),c=n(106),l=n(73),d=a.forwardRef((function(e,t){var n=e.children,l=e.classes,d=e.className,f=(e.color,e.component),p=void 0===f?"label":f,h=(e.disabled,e.error,e.filled,e.focused,e.required,Object(r.a)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),m=Object(u.a)(),b=Object(s.a)({props:e,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]});return a.createElement(p,Object(i.a)({className:Object(o.default)(l.root,l["color".concat(Object(c.a)(b.color||"primary"))],d,b.disabled&&l.disabled,b.error&&l.error,b.filled&&l.filled,b.focused&&l.focused,b.required&&l.required),ref:t},h),n,b.required&&a.createElement("span",{"aria-hidden":!0,className:Object(o.default)(l.asterisk,b.error&&l.error)}," ","*"))}));t.a=Object(l.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(d)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(530)),s=n(99);function u(e,t){return parseInt(e[t],10)||0}var c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,l={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},d=a.forwardRef((function(e,t){var n=e.onChange,d=e.rows,f=e.rowsMax,p=e.rowsMin,h=e.maxRows,m=e.minRows,b=void 0===m?1:m,g=e.style,v=e.value,y=Object(i.a)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),x=h||f,w=d||p||b,O=a.useRef(null!=v).current,j=a.useRef(null),C=Object(s.a)(t,j),E=a.useRef(null),S=a.useRef(0),k=a.useState({}),D=k[0],A=k[1],_=a.useCallback((function(){var t=j.current,n=window.getComputedStyle(t),r=E.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],a=u(n,"padding-bottom")+u(n,"padding-top"),o=u(n,"border-bottom-width")+u(n,"border-top-width"),s=r.scrollHeight-a;r.value="x";var c=r.scrollHeight-a,l=s;w&&(l=Math.max(Number(w)*c,l)),x&&(l=Math.min(Number(x)*c,l));var d=(l=Math.max(l,c))+("border-box"===i?a+o:0),f=Math.abs(l-s)<=1;A((function(e){return S.current<20&&(d>0&&Math.abs((e.outerHeightStyle||0)-d)>1||e.overflow!==f)?(S.current+=1,{overflow:f,outerHeightStyle:d}):e}))}),[x,w,e.placeholder]);a.useEffect((function(){var e=Object(o.a)((function(){S.current=0,_()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[_]),c((function(){_()})),a.useEffect((function(){S.current=0}),[v]);return a.createElement(a.Fragment,null,a.createElement("textarea",Object(r.a)({value:v,onChange:function(e){S.current=0,O||_(),n&&n(e)},ref:C,rows:w,style:Object(r.a)({height:D.outerHeightStyle,overflow:D.overflow?"hidden":null},g)},y)),a.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:E,tabIndex:-1,style:Object(r.a)({},l,g)}))}));t.a=d},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(1310),u=n(73),c=n(285),l=a.forwardRef((function(e,t){var n=e.children,u=e.classes,l=e.className,d=e.component,f=void 0===d?"div":d,p=e.disablePointerEvents,h=void 0!==p&&p,m=e.disableTypography,b=void 0!==m&&m,g=e.position,v=e.variant,y=Object(i.a)(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),x=Object(c.b)()||{},w=v;return v&&x.variant,x&&!w&&(w=x.variant),a.createElement(c.a.Provider,{value:null},a.createElement(f,Object(r.a)({className:Object(o.default)(u.root,l,"end"===g?u.positionEnd:u.positionStart,h&&u.disablePointerEvents,x.hiddenLabel&&u.hiddenLabel,"filled"===w&&u.filled,"dense"===x.margin&&u.marginDense),ref:t},y),"string"!=typeof n||b?n:a.createElement(s.a,{color:"textSecondary"},n)))}));t.a=Object(u.a)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(106),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},l=a.forwardRef((function(e,t){var n=e.align,s=void 0===n?"inherit":n,l=e.classes,d=e.className,f=e.color,p=void 0===f?"initial":f,h=e.component,m=e.display,b=void 0===m?"initial":m,g=e.gutterBottom,v=void 0!==g&&g,y=e.noWrap,x=void 0!==y&&y,w=e.paragraph,O=void 0!==w&&w,j=e.variant,C=void 0===j?"body1":j,E=e.variantMapping,S=void 0===E?c:E,k=Object(i.a)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),D=h||(O?"p":S[C]||c[C])||"span";return a.createElement(D,Object(r.a)({className:Object(o.default)(l.root,d,"inherit"!==C&&l[C],"initial"!==p&&l["color".concat(Object(u.a)(p))],x&&l.noWrap,v&&l.gutterBottom,O&&l.paragraph,"inherit"!==s&&l["align".concat(Object(u.a)(s))],"initial"!==b&&l["display".concat(Object(u.a)(b))]),ref:t},k))}));t.a=Object(s.a)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(l)},function(e,t,n){"use strict";var r=n(244),i=n(2),a=(n(11),n(305));function o(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function s(e){var t=function(t){var n=e(t);return t.css?Object(i.a)({},Object(a.a)(n,e(Object(i.a)({theme:t.theme},t.css))),o(t.css,[e.filterProps])):t.sx?Object(i.a)({},Object(a.a)(n,e(Object(i.a)({theme:t.theme},t.sx))),o(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(Object(r.a)(e.filterProps)),t}t.a=s},function(e,t,n){"use strict";var r=n(57),i=n(174);function a(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var o=Object(r.a)({prop:"border",themeKey:"borders",transform:a}),s=Object(r.a)({prop:"borderTop",themeKey:"borders",transform:a}),u=Object(r.a)({prop:"borderRight",themeKey:"borders",transform:a}),c=Object(r.a)({prop:"borderBottom",themeKey:"borders",transform:a}),l=Object(r.a)({prop:"borderLeft",themeKey:"borders",transform:a}),d=Object(r.a)({prop:"borderColor",themeKey:"palette"}),f=Object(r.a)({prop:"borderRadius",themeKey:"shape"}),p=Object(i.a)(o,s,u,c,l,d,f);t.a=p},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),o=Object(r.a)({prop:"display"}),s=Object(r.a)({prop:"overflow"}),u=Object(r.a)({prop:"textOverflow"}),c=Object(r.a)({prop:"visibility"}),l=Object(r.a)({prop:"whiteSpace"});t.a=Object(i.a)(a,o,s,u,c,l)},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"flexBasis"}),o=Object(r.a)({prop:"flexDirection"}),s=Object(r.a)({prop:"flexWrap"}),u=Object(r.a)({prop:"justifyContent"}),c=Object(r.a)({prop:"alignItems"}),l=Object(r.a)({prop:"alignContent"}),d=Object(r.a)({prop:"order"}),f=Object(r.a)({prop:"flex"}),p=Object(r.a)({prop:"flexGrow"}),h=Object(r.a)({prop:"flexShrink"}),m=Object(r.a)({prop:"alignSelf"}),b=Object(r.a)({prop:"justifyItems"}),g=Object(r.a)({prop:"justifySelf"}),v=Object(i.a)(a,o,s,u,c,l,d,f,p,h,m,b,g);t.a=v},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"gridGap"}),o=Object(r.a)({prop:"gridColumnGap"}),s=Object(r.a)({prop:"gridRowGap"}),u=Object(r.a)({prop:"gridColumn"}),c=Object(r.a)({prop:"gridRow"}),l=Object(r.a)({prop:"gridAutoFlow"}),d=Object(r.a)({prop:"gridAutoColumns"}),f=Object(r.a)({prop:"gridAutoRows"}),p=Object(r.a)({prop:"gridTemplateColumns"}),h=Object(r.a)({prop:"gridTemplateRows"}),m=Object(r.a)({prop:"gridTemplateAreas"}),b=Object(r.a)({prop:"gridArea"}),g=Object(i.a)(a,o,s,u,c,l,d,f,p,h,m,b);t.a=g},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"position"}),o=Object(r.a)({prop:"zIndex",themeKey:"zIndex"}),s=Object(r.a)({prop:"top"}),u=Object(r.a)({prop:"right"}),c=Object(r.a)({prop:"bottom"}),l=Object(r.a)({prop:"left"});t.a=Object(i.a)(a,o,s,u,c,l)},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"color",themeKey:"palette"}),o=Object(r.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),s=Object(i.a)(a,o);t.a=s},function(e,t,n){"use strict";var r=n(57),i=Object(r.a)({prop:"boxShadow",themeKey:"shadows"});t.a=i},function(e,t,n){"use strict";var r=n(57),i=n(174);function a(e){return e<=1?"".concat(100*e,"%"):e}var o=Object(r.a)({prop:"width",transform:a}),s=Object(r.a)({prop:"maxWidth",transform:a}),u=Object(r.a)({prop:"minWidth",transform:a}),c=Object(r.a)({prop:"height",transform:a}),l=Object(r.a)({prop:"maxHeight",transform:a}),d=Object(r.a)({prop:"minHeight",transform:a}),f=(Object(r.a)({prop:"size",cssProperty:"width",transform:a}),Object(r.a)({prop:"size",cssProperty:"height",transform:a}),Object(r.a)({prop:"boxSizing"})),p=Object(i.a)(o,s,u,c,l,d,f);t.a=p},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"fontFamily",themeKey:"typography"}),o=Object(r.a)({prop:"fontSize",themeKey:"typography"}),s=Object(r.a)({prop:"fontStyle",themeKey:"typography"}),u=Object(r.a)({prop:"fontWeight",themeKey:"typography"}),c=Object(r.a)({prop:"letterSpacing"}),l=Object(r.a)({prop:"lineHeight"}),d=Object(r.a)({prop:"textAlign"}),f=Object(i.a)(a,o,s,u,c,l,d);t.a=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(2),i=n(46),a=n(0),o=n.n(a),s=n(12),u=(n(11),n(256)),c=n.n(u),l=n(646);function d(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function f(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.name,u=Object(i.a)(n,["name"]);var f,p=a,h="function"==typeof t?function(e){return{root:function(n){return t(Object(r.a)({theme:e},n))}}}:{root:t},m=Object(l.a)(h,Object(r.a)({Component:e,name:a||e.displayName,classNamePrefix:p},u));t.filterProps&&(f=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var b=o.a.forwardRef((function(t,n){var a=t.children,u=t.className,c=t.clone,l=t.component,p=Object(i.a)(t,["children","className","clone","component"]),h=m(t),b=Object(s.default)(h.root,u),g=p;if(f&&(g=d(g,f)),c)return o.a.cloneElement(a,Object(r.a)({className:Object(s.default)(a.props.className,b)},g));if("function"==typeof a)return a(Object(r.a)({className:b},g));var v=l||e;return o.a.createElement(v,Object(r.a)({ref:n,className:b},g),a)}));return c()(b,e),b}}},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(132),c=a.forwardRef((function(e,t){var n=e.absolute,s=void 0!==n&&n,u=e.classes,c=e.className,l=e.component,d=void 0===l?"hr":l,f=e.flexItem,p=void 0!==f&&f,h=e.light,m=void 0!==h&&h,b=e.orientation,g=void 0===b?"horizontal":b,v=e.role,y=void 0===v?"hr"!==d?"separator":void 0:v,x=e.variant,w=void 0===x?"fullWidth":x,O=Object(i.a)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return a.createElement(d,Object(r.a)({className:Object(o.default)(u.root,c,"fullWidth"!==w&&u[w],s&&u.absolute,p&&u.flexItem,m&&u.light,"vertical"===g&&u.vertical),role:y,ref:t},O))}));t.a=Object(s.a)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(u.a)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(c)},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=n(101),s=(n(11),n(465)),u=n(1170),c=n(145),l=n(1171),d=n(331),f=n(99),p=n(157),h=n(529),m=n(622),b=n(1324),g=n(981);var v=new m.b,y=a.forwardRef((function(e,t){var n=Object(s.a)(),y=Object(u.a)({name:"MuiModal",props:Object(i.a)({},e),theme:n}),x=y.BackdropComponent,w=void 0===x?g.a:x,O=y.BackdropProps,j=y.children,C=y.closeAfterTransition,E=void 0!==C&&C,S=y.container,k=y.disableAutoFocus,D=void 0!==k&&k,A=y.disableBackdropClick,_=void 0!==A&&A,F=y.disableEnforceFocus,R=void 0!==F&&F,T=y.disableEscapeKeyDown,P=void 0!==T&&T,M=y.disablePortal,B=void 0!==M&&M,N=y.disableRestoreFocus,I=void 0!==N&&N,L=y.disableScrollLock,z=void 0!==L&&L,W=y.hideBackdrop,V=void 0!==W&&W,U=y.keepMounted,H=void 0!==U&&U,q=y.manager,$=void 0===q?v:q,G=y.onBackdropClick,Y=y.onClose,K=y.onEscapeKeyDown,X=y.onRendered,Z=y.open,Q=Object(r.a)(y,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=a.useState(!0),ee=J[0],te=J[1],ne=a.useRef({}),re=a.useRef(null),ie=a.useRef(null),ae=Object(f.a)(ie,t),oe=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(y),se=function(){return Object(c.a)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){$.mount(ue(),{disableScrollLock:z}),ie.current.scrollTop=0},le=Object(p.a)((function(){var e=function(e){return e="function"==typeof e?e():e,o.findDOMNode(e)}(S)||se().body;$.add(ue(),e),ie.current&&ce()})),de=a.useCallback((function(){return $.isTopModal(ue())}),[$]),fe=Object(p.a)((function(e){re.current=e,e&&(X&&X(),Z&&de()?ce():Object(m.a)(ie.current,!0))})),pe=a.useCallback((function(){$.remove(ue())}),[$]);if(a.useEffect((function(){return function(){pe()}}),[pe]),a.useEffect((function(){Z?le():oe&&E||pe()}),[Z,pe,oe,E,le]),!H&&!Z&&(!oe||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.a}),me={};return void 0===j.props.tabIndex&&(me.tabIndex=j.props.tabIndex||"-1"),oe&&(me.onEnter=Object(d.a)((function(){te(!1)}),j.props.onEnter),me.onExited=Object(d.a)((function(){te(!0),E&&pe()}),j.props.onExited)),a.createElement(l.a,{ref:fe,container:S,disablePortal:B},a.createElement("div",Object(i.a)({ref:ae,onKeyDown:function(e){"Escape"===e.key&&de()&&(K&&K(e),P||(e.stopPropagation(),Y&&Y(e,"escapeKeyDown")))},role:"presentation"},Q,{style:Object(i.a)({},he.root,!Z&&ee?he.hidden:{},Q.style)}),V?null:a.createElement(w,Object(i.a)({open:Z,onClick:function(e){e.target===e.currentTarget&&(G&&G(e),!_&&Y&&Y(e,"backdropClick"))}},O)),a.createElement(b.a,{disableEnforceFocus:R,disableAutoFocus:D,disableRestoreFocus:I,getDoc:se,isEnabled:de,open:Z},a.cloneElement(j,me))))}));t.a=y},function(e,t,n){"use strict";var r=n(0),i=n(101),a=(n(11),n(145)),o=n(99);t.a=function(e){var t=e.children,n=e.disableAutoFocus,s=void 0!==n&&n,u=e.disableEnforceFocus,c=void 0!==u&&u,l=e.disableRestoreFocus,d=void 0!==l&&l,f=e.getDoc,p=e.isEnabled,h=e.open,m=r.useRef(),b=r.useRef(null),g=r.useRef(null),v=r.useRef(),y=r.useRef(null),x=r.useCallback((function(e){y.current=i.findDOMNode(e)}),[]),w=Object(o.a)(t.ref,x),O=r.useRef();return r.useEffect((function(){O.current=h}),[h]),!O.current&&h&&"undefined"!=typeof window&&(v.current=f().activeElement),r.useEffect((function(){if(h){var e=Object(a.a)(y.current);s||!y.current||y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var t=function(){null!==y.current&&(e.hasFocus()&&!c&&p()&&!m.current?y.current&&!y.current.contains(e.activeElement)&&y.current.focus():m.current=!1)},n=function(t){!c&&p()&&9===t.keyCode&&e.activeElement===y.current&&(m.current=!0,t.shiftKey?g.current.focus():b.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),d||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[s,c,d,p,h]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:b,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:w}),r.createElement("div",{tabIndex:0,ref:g,"data-test":"sentinelEnd"}))}},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(73),u=a.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.component,c=void 0===u?"div":u,l=e.square,d=void 0!==l&&l,f=e.elevation,p=void 0===f?1:f,h=e.variant,m=void 0===h?"elevation":h,b=Object(r.a)(e,["classes","className","component","square","elevation","variant"]);return a.createElement(c,Object(i.a)({className:Object(o.default)(n.root,s,"outlined"===m?n.outlined:n["elevation".concat(p)],!d&&n.rounded),ref:t},b))}));t.a=Object(s.a)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Object(i.a)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(u)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(578),u=n(1178),c=n(1179),l=n(1173),d=n(649),f=n(1174),p=n(1327),h=n(73),m={standard:s.a,filled:u.a,outlined:c.a},b=a.forwardRef((function(e,t){var n=e.autoComplete,s=e.autoFocus,u=void 0!==s&&s,c=e.children,h=e.classes,b=e.className,g=e.color,v=void 0===g?"primary":g,y=e.defaultValue,x=e.disabled,w=void 0!==x&&x,O=e.error,j=void 0!==O&&O,C=e.FormHelperTextProps,E=e.fullWidth,S=void 0!==E&&E,k=e.helperText,D=e.hiddenLabel,A=e.id,_=e.InputLabelProps,F=e.inputProps,R=e.InputProps,T=e.inputRef,P=e.label,M=e.multiline,B=void 0!==M&&M,N=e.name,I=e.onBlur,L=e.onChange,z=e.onFocus,W=e.placeholder,V=e.required,U=void 0!==V&&V,H=e.rows,q=e.rowsMax,$=e.maxRows,G=e.minRows,Y=e.select,K=void 0!==Y&&Y,X=e.SelectProps,Z=e.type,Q=e.value,J=e.variant,ee=void 0===J?"standard":J,te=Object(i.a)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var ne={};if("outlined"===ee&&(_&&void 0!==_.shrink&&(ne.notched=_.shrink),P)){var re,ie=null!==(re=null==_?void 0:_.required)&&void 0!==re?re:U;ne.label=a.createElement(a.Fragment,null,P,ie&&" *")}K&&(X&&X.native||(ne.id=void 0),ne["aria-describedby"]=void 0);var ae=k&&A?"".concat(A,"-helper-text"):void 0,oe=P&&A?"".concat(A,"-label"):void 0,se=m[ee],ue=a.createElement(se,Object(r.a)({"aria-describedby":ae,autoComplete:n,autoFocus:u,defaultValue:y,fullWidth:S,multiline:B,name:N,rows:H,rowsMax:q,maxRows:$,minRows:G,type:Z,value:Q,id:A,inputRef:T,onBlur:I,onChange:L,onFocus:z,placeholder:W,inputProps:F},ne,R));return a.createElement(d.a,Object(r.a)({className:Object(o.default)(h.root,b),disabled:w,error:j,fullWidth:S,hiddenLabel:D,ref:t,required:U,color:v,variant:ee},te),P&&a.createElement(l.a,Object(r.a)({htmlFor:A,id:oe},_),P),K?a.createElement(p.a,Object(r.a)({"aria-describedby":ae,id:A,labelId:oe,value:Q,input:ue},X),c):ue,k&&a.createElement(f.a,Object(r.a)({id:ae},C),k))}));t.a=Object(h.a)({root:{}},{name:"MuiTextField"})(b)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(647)),s=n(985),u=n(245),c=n(279),l=n(73),d=n(533),f=n(578),p=n(983),h=n(534),m=n(1178),b=n(1179),g=p.a,v=a.createElement(f.a,null),y=a.createElement(m.a,null),x=a.forwardRef((function e(t,n){var l=t.autoWidth,f=void 0!==l&&l,p=t.children,m=t.classes,g=t.displayEmpty,x=void 0!==g&&g,w=t.IconComponent,O=void 0===w?d.a:w,j=t.id,C=t.input,E=t.inputProps,S=t.label,k=t.labelId,D=t.labelWidth,A=void 0===D?0:D,_=t.MenuProps,F=t.multiple,R=void 0!==F&&F,T=t.native,P=void 0!==T&&T,M=t.onClose,B=t.onOpen,N=t.open,I=t.renderValue,L=t.SelectDisplayProps,z=t.variant,W=void 0===z?"standard":z,V=Object(i.a)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),U=P?h.a:s.a,H=Object(c.a)(),q=Object(u.a)({props:t,muiFormControl:H,states:["variant"]}).variant||W,$=C||{standard:v,outlined:a.createElement(b.a,{label:S,labelWidth:A}),filled:y}[q];return a.cloneElement($,Object(r.a)({inputComponent:U,inputProps:Object(r.a)({children:p,IconComponent:O,variant:q,type:void 0,multiple:R},P?{id:j}:{autoWidth:f,displayEmpty:x,labelId:k,MenuProps:_,onClose:M,onOpen:B,open:N,renderValue:I,SelectDisplayProps:Object(r.a)({id:j},L)},E,{classes:E?Object(o.a)({baseClasses:m,newClasses:E.classes,Component:e}):m},C?C.props.inputProps:{}),ref:n},V))}));x.muiName="Select",t.a=Object(l.a)(g,{name:"MuiSelect"})(x)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(301),n(11),n(101)),s=n(145),u=n(1329),c=n(532),l=n(99);function d(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function f(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function p(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function h(e,t,n,r,i,a){for(var o=!1,s=i(e,t,!!t&&n);s;){if(s===e.firstChild){if(o)return;o=!0}var u=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&p(s,a)&&!u)return void s.focus();s=i(e,s,n)}}var m="undefined"==typeof window?a.useEffect:a.useLayoutEffect,b=a.forwardRef((function(e,t){var n=e.actions,b=e.autoFocus,g=void 0!==b&&b,v=e.autoFocusItem,y=void 0!==v&&v,x=e.children,w=e.className,O=e.disabledItemsFocusable,j=void 0!==O&&O,C=e.disableListWrap,E=void 0!==C&&C,S=e.onKeyDown,k=e.variant,D=void 0===k?"selectedMenu":k,A=Object(i.a)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),_=a.useRef(null),F=a.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});m((function(){g&&_.current.focus()}),[g]),a.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!_.current.style.width;if(e.clientHeight<_.current.clientHeight&&n){var r="".concat(Object(c.a)(!0),"px");_.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,_.current.style.width="calc(100% + ".concat(r,")")}return _.current}}}),[]);var R=a.useCallback((function(e){_.current=o.findDOMNode(e)}),[]),T=Object(l.a)(R,t),P=-1;a.Children.forEach(x,(function(e,t){a.isValidElement(e)&&(e.props.disabled||("selectedMenu"===D&&e.props.selected||-1===P)&&(P=t))}));var M=a.Children.map(x,(function(e,t){if(t===P){var n={};return y&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===D&&(n.tabIndex=0),a.cloneElement(e,n)}return e}));return a.createElement(u.a,Object(r.a)({role:"menu",ref:T,className:w,onKeyDown:function(e){var t=_.current,n=e.key,r=Object(s.a)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,r,E,j,d);else if("ArrowUp"===n)e.preventDefault(),h(t,r,E,j,f);else if("Home"===n)e.preventDefault(),h(t,null,E,j,d);else if("End"===n)e.preventDefault(),h(t,null,E,j,f);else if(1===n.length){var i=F.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);var u=r&&!i.repeating&&p(r,i);i.previousKeyMatched&&(u||h(t,r,!1,j,d,i))?e.preventDefault():i.previousKeyMatched=!1}S&&S(e)},tabIndex:g?0:-1},A),M)}));t.a=b},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(987),c=a.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,l=e.component,d=void 0===l?"ul":l,f=e.dense,p=void 0!==f&&f,h=e.disablePadding,m=void 0!==h&&h,b=e.subheader,g=Object(i.a)(e,["children","classes","className","component","dense","disablePadding","subheader"]),v=a.useMemo((function(){return{dense:p}}),[p]);return a.createElement(u.a.Provider,{value:v},a.createElement(d,Object(r.a)({className:Object(o.default)(s.root,c,p&&s.dense,!m&&s.padding,b&&s.subheader),ref:t},g),b,n))}));t.a=Object(s.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(238),u=n(1150),c=n(1151),l=n(419),d=n(255),f=n(412),p=n(1331),h=n(117),m=n(65),b=n(268),g=n(623),v=n(5);const y=["aria-label","aria-labelledby","aria-valuetext","className","component","classes","defaultValue","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"];function x(e,t){return e-t}function w(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function O(e,t){const{index:n}=e.reduce((e,n,r)=>{const i=Math.abs(t-n);return null===e||i({left:e+"%"}),leap:e=>({width:e+"%"})},"horizontal-reverse":{offset:e=>({right:e+"%"}),leap:e=>({width:e+"%"})},vertical:{offset:e=>({bottom:e+"%"}),leap:e=>({height:e+"%"})}},A=e=>e;let _;function F(){return void 0===_&&(_="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),_}const R=({children:e})=>e,T=a.forwardRef((function(e,t){const{"aria-label":n,"aria-labelledby":_,"aria-valuetext":T,className:P,component:M="span",classes:B,defaultValue:N,disableSwap:I=!1,disabled:L=!1,getAriaLabel:z,getAriaValueText:W,marks:V=!1,max:U=100,min:H=0,name:q,onChange:$,onChangeCommitted:G,onMouseDown:Y,orientation:K="horizontal",scale:X=A,step:Z=1,tabIndex:Q,track:J="normal",value:ee,valueLabelDisplay:te="off",valueLabelFormat:ne=A,isRtl:re=!1,components:ie={},componentsProps:ae={}}=e,oe=Object(i.a)(e,y),se=a.useRef(),[ue,ce]=a.useState(-1),[le,de]=a.useState(-1),[fe,pe]=a.useState(!1),he=a.useRef(0),[me,be]=Object(u.a)({controlled:ee,default:null!=N?N:H,name:"Slider"}),ge=$&&((e,t,n)=>{const r=e.nativeEvent||e,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:t,name:q}}),$(i,t,n)}),ve=Array.isArray(me);let ye=ve?me.slice().sort(x):[me];ye=ye.map(e=>w(e,H,U));const xe=!0===V&&null!==Z?[...Array(Math.floor((U-H)/Z)+1)].map((e,t)=>({value:H+Z*t})):V||[],{isFocusVisibleRef:we,onBlur:Oe,onFocus:je,ref:Ce}=Object(c.a)(),[Ee,Se]=a.useState(-1),ke=a.useRef(),De=Object(l.a)(Ce,ke),Ae=Object(l.a)(t,De),_e=Object(d.a)(e=>{const t=Number(e.currentTarget.getAttribute("data-index"));je(e),!0===we.current&&Se(t),de(t)}),Fe=Object(d.a)(e=>{Oe(e),!1===we.current&&Se(-1),de(-1)}),Re=Object(d.a)(e=>{const t=Number(e.currentTarget.getAttribute("data-index"));de(t)}),Te=Object(d.a)(()=>{de(-1)});Object(f.a)(()=>{L&&ke.current.contains(document.activeElement)&&document.activeElement.blur()},[L]),L&&-1!==ue&&ce(-1),L&&-1!==Ee&&Se(-1);const Pe=Object(d.a)(e=>{const t=Number(e.currentTarget.getAttribute("data-index")),n=ye[t],r=xe.map(e=>e.value),i=r.indexOf(n);let a=e.target.valueAsNumber;if(xe&&null==Z&&(a=ae.value),n=e.indexOf(ye[t]);a=a{const{current:r}=ke,{width:i,height:a,bottom:o,left:s}=r.getBoundingClientRect();let u,c;if(u=0===Be.indexOf("vertical")?(o-e.y)/a:(e.x-s)/i,-1!==Be.indexOf("-reverse")&&(u=1-u),c=function(e,t,n){return(n-t)*e+t}(u,H,U),Z)c=E(c,Z,H);else{const e=xe.map(e=>e.value);c=e[O(e,c)]}c=w(c,H,U);let l=0;if(ve){l=t?Me.current:O(n,c),I&&(c=w(c,n[l-1]||-1/0,n[l+1]||1/0));const e=c;c=S({values:n,newValue:c,index:l}),I&&t||(l=c.indexOf(e),Me.current=l)}return{newValue:c,activeIndex:l}},Ie=Object(d.a)(e=>{const t=j(e,se);if(!t)return;if(he.current+=1,"mousemove"===e.type&&0===e.buttons)return void Le(e);const{newValue:n,activeIndex:r}=Ne({finger:t,move:!0,values:ye});k({sliderRef:ke,activeIndex:r,setActive:ce}),be(n),!fe&&he.current>2&&pe(!0),ge&&ge(e,n,r)}),Le=Object(d.a)(e=>{const t=j(e,se);if(pe(!1),!t)return;const{newValue:n}=Ne({finger:t,values:ye});ce(-1),"touchend"===e.type&&de(-1),G&&G(e,n),se.current=void 0,We()}),ze=Object(d.a)(e=>{F()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(se.current=t.identifier);const n=j(e,se),{newValue:r,activeIndex:i}=Ne({finger:n,values:ye});k({sliderRef:ke,activeIndex:i,setActive:ce}),be(r),ge&&ge(e,r,i),he.current=0;const a=Object(s.a)(ke.current);a.addEventListener("touchmove",Ie),a.addEventListener("touchend",Le)}),We=a.useCallback(()=>{const e=Object(s.a)(ke.current);e.removeEventListener("mousemove",Ie),e.removeEventListener("mouseup",Le),e.removeEventListener("touchmove",Ie),e.removeEventListener("touchend",Le)},[Le,Ie]);a.useEffect(()=>{const{current:e}=ke;return e.addEventListener("touchstart",ze,{passive:F()}),()=>{e.removeEventListener("touchstart",ze,{passive:F()}),We()}},[We,ze]),a.useEffect(()=>{L&&We()},[L,We]);const Ve=Object(d.a)(e=>{if(Y&&Y(e),0!==e.button)return;e.preventDefault();const t=j(e,se),{newValue:n,activeIndex:r}=Ne({finger:t,values:ye});k({sliderRef:ke,activeIndex:r,setActive:ce}),be(n),ge&&ge(e,n,r),he.current=0;const i=Object(s.a)(ke.current);i.addEventListener("mousemove",Ie),i.addEventListener("mouseup",Le)}),Ue=C(ve?ye[0]:H,H,U),He=C(ye[ye.length-1],H,U)-Ue,qe=Object(r.a)({},D[Be].offset(Ue),D[Be].leap(He)),$e=ie.Root||M,Ge=ae.root||{},Ye=ie.Rail||"span",Ke=ae.rail||{},Xe=ie.Track||"span",Ze=ae.track||{},Qe=ie.Thumb||"span",Je=ae.thumb||{},et=ie.ValueLabel||g.a,tt=ae.valueLabel||{},nt=ie.Mark||"span",rt=ae.mark||{},it=ie.MarkLabel||"span",at=ae.markLabel||{},ot=Object(r.a)({},e,{classes:B,disabled:L,dragging:fe,isRtl:re,marked:xe.length>0&&xe.some(e=>e.label),max:U,min:H,orientation:K,scale:X,step:Z,track:J,valueLabelDisplay:te,valueLabelFormat:ne}),st=(e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:a,classes:o}=e,s={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===i&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Object(m.a)(s,b.b,o)})(ot);return Object(v.jsxs)($e,Object(r.a)({ref:Ae,onMouseDown:Ve},Ge,!Object(h.a)($e)&&{as:M,ownerState:Object(r.a)({},ot,Ge.ownerState)},oe,{className:Object(o.default)(st.root,Ge.className,P),children:[Object(v.jsx)(Ye,Object(r.a)({},Ke,!Object(h.a)(Ye)&&{ownerState:Object(r.a)({},ot,Ke.ownerState)},{className:Object(o.default)(st.rail,Ke.className)})),Object(v.jsx)(Xe,Object(r.a)({},Ze,!Object(h.a)(Xe)&&{ownerState:Object(r.a)({},ot,Ze.ownerState)},{className:Object(o.default)(st.track,Ze.className),style:Object(r.a)({},qe,Ze.style)})),xe.map((e,t)=>{const n=C(e.value,H,U),i=D[Be].offset(n);let s;return s=!1===J?-1!==ye.indexOf(e.value):"normal"===J&&(ve?e.value>=ye[0]&&e.value<=ye[ye.length-1]:e.value<=ye[0])||"inverted"===J&&(ve?e.value<=ye[0]||e.value>=ye[ye.length-1]:e.value>=ye[0]),Object(v.jsxs)(a.Fragment,{children:[Object(v.jsx)(nt,Object(r.a)({"data-index":t},rt,!Object(h.a)(nt)&&{ownerState:Object(r.a)({},ot,rt.ownerState),markActive:s},{style:Object(r.a)({},i,rt.style),className:Object(o.default)(st.mark,rt.className,s&&st.markActive)})),null!=e.label?Object(v.jsx)(it,Object(r.a)({"aria-hidden":!0,"data-index":t},at,!Object(h.a)(it)&&{ownerState:Object(r.a)({},ot,at.ownerState)},{markLabelActive:s,style:Object(r.a)({},i,at.style),className:Object(o.default)(st.markLabel,at.className,s&&st.markLabelActive),children:e.label})):null]},e.value)}),ye.map((t,i)=>{const s=C(t,H,U),u=D[Be].offset(s),c="off"===te?R:et;return Object(v.jsx)(a.Fragment,{children:Object(v.jsx)(c,Object(r.a)({valueLabelFormat:ne,valueLabelDisplay:te,value:"function"==typeof ne?ne(X(t),i):ne,index:i,open:le===i||ue===i||"on"===te,disabled:L},tt,{className:Object(o.default)(st.valueLabel,tt.className)},!Object(h.a)(et)&&{ownerState:Object(r.a)({},ot,tt.ownerState)},{children:Object(v.jsx)(Qe,Object(r.a)({"data-index":i,onMouseOver:Re,onMouseLeave:Te},Je,{className:Object(o.default)(st.thumb,Je.className,ue===i&&st.active,Ee===i&&st.focusVisible)},!Object(h.a)(Qe)&&{ownerState:Object(r.a)({},ot,Je.ownerState)},{style:Object(r.a)({},u,{pointerEvents:I&&ue!==i?"none":void 0},Je.style),children:Object(v.jsx)("input",{tabIndex:Q,"data-index":i,"aria-label":z?z(i):n,"aria-labelledby":_,"aria-orientation":K,"aria-valuemax":X(U),"aria-valuemin":X(H),"aria-valuenow":X(t),"aria-valuetext":W?W(X(t),i):T,onFocus:_e,onBlur:Fe,name:q,type:"range",min:e.min,max:e.max,step:e.step,disabled:L,value:ye[i],onChange:Pe,style:Object(r.a)({},p.a,{direction:re?"rtl":"ltr",width:"100%",height:"100%"})})}))}))},i)})]}))}));t.a=T},function(e,t,n){"use strict";t.a={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(30),c=n(1),l=n(313),d=n(199),f=n(17),p=n(569),h=n(34),m=n(5);const b=["children","className","component","disablePointerEvents","disableTypography","position","variant"],g=Object(f.a)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["position"+Object(u.a)(n.position)],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:e.palette.action.active},"filled"===t.variant&&{[`&.${p.a.positionStart}&:not(.${p.a.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),v=a.forwardRef((function(e,t){const n=Object(h.a)({props:e,name:"MuiInputAdornment"}),{children:f,className:v,component:y="div",disablePointerEvents:x=!1,disableTypography:w=!1,position:O,variant:j}=n,C=Object(r.a)(n,b),E=Object(d.a)()||{};let S=j;j&&E.variant,E&&!S&&(S=E.variant);const k=Object(i.a)({},n,{hiddenLabel:E.hiddenLabel,size:E.size,disablePointerEvents:x,position:O,variant:S}),D=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:a,variant:o}=e,c={root:["root",n&&"disablePointerEvents",i&&"position"+Object(u.a)(i),o,r&&"hiddenLabel",a&&"size"+Object(u.a)(a)]};return Object(s.a)(c,p.b,t)})(k);return Object(m.jsx)(l.a.Provider,{value:null,children:Object(m.jsx)(g,Object(i.a)({as:y,ownerState:k,className:Object(o.default)(D.root,v),ref:t},C,{children:"string"!=typeof f||w?Object(m.jsxs)(a.Fragment,{children:["start"===O?Object(m.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"​"}}):null,f]}):Object(m.jsx)(c.a,{color:"text.secondary",children:f})}))})}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(34),c=n(17),l=n(1065),d=n(5);const f=["className","component","disableGutters","variant"],p=Object(c.a)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>Object(i.a)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48}),({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar),h=a.forwardRef((function(e,t){const n=Object(u.a)({props:e,name:"MuiToolbar"}),{className:a,component:c="div",disableGutters:h=!1,variant:m="regular"}=n,b=Object(r.a)(n,f),g=Object(i.a)({},n,{component:c,disableGutters:h,variant:m}),v=(e=>{const{classes:t,disableGutters:n,variant:r}=e,i={root:["root",!n&&"gutters",r]};return Object(s.a)(i,l.a,t)})(g);return Object(d.jsx)(p,Object(i.a)({as:c,className:Object(o.default)(v.root,a),ref:t,ownerState:g},b))}));t.a=h},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(146),c=n(30),l=n(34),d=n(17),f=n(1146),p=n(5);const h=["className","color","disableShrink","size","style","thickness","value","variant"];let m,b,g,v,y=e=>e;const x=Object(u.c)(m||(m=y` + `),E)),R=a.forwardRef((function(e,t){const n=Object(p.a)({props:e,name:"MuiLinearProgress"}),{className:a,color:u="primary",value:c,valueBuffer:f,variant:g="indeterminate"}=n,v=Object(r.a)(n,b),y=Object(i.a)({},n,{color:u,variant:g}),x=(e=>{const{classes:t,variant:n,color:r}=e,i={root:["root","color"+Object(l.a)(r),n],dashed:["dashed","dashedColor"+Object(l.a)(r)],bar1:["bar","barColor"+Object(l.a)(r),("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&"barColor"+Object(l.a)(r),"buffer"===n&&"color"+Object(l.a)(r),("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return Object(s.a)(i,h.a,t)})(y),w=Object(d.a)(),O={},j={bar1:{},bar2:{}};if("determinate"===g||"buffer"===g)if(void 0!==c){O["aria-valuenow"]=Math.round(c),O["aria-valuemin"]=0,O["aria-valuemax"]=100;let e=c-100;"rtl"===w.direction&&(e=-e),j.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===g)if(void 0!==f){let e=(f||0)-100;"rtl"===w.direction&&(e=-e),j.bar2.transform=`translateX(${e}%)`}else 0;return Object(m.jsxs)(D,Object(i.a)({className:Object(o.default)(x.root,a),ownerState:y,role:"progressbar"},O,{ref:t},v,{children:["buffer"===g?Object(m.jsx)(A,{className:x.dashed,ownerState:y}):null,Object(m.jsx)(_,{className:x.bar1,ownerState:y,style:j.bar1}),"determinate"===g?null:Object(m.jsx)(F,{className:x.bar2,ownerState:y,style:j.bar2})]}))}));t.a=R},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(34),c=n(17),l=n(953),d=n(5);const f=["className","component"],p=Object(c.a)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),h=a.forwardRef((function(e,t){const n=Object(u.a)({props:e,name:"MuiTableContainer"}),{className:a,component:c="div"}=n,h=Object(i.a)(n,f),m=Object(r.a)({},n,{component:c}),b=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},l.a,t)})(m);return Object(d.jsx)(p,Object(r.a)({ref:t,as:c,className:Object(o.default)(b.root,a),ownerState:m},h))}));t.a=h},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(319),c=n(34),l=n(17),d=n(954),f=n(5);const p=["className","component"],h=Object(l.a)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),m={variant:"head"},b="thead",g=a.forwardRef((function(e,t){const n=Object(c.a)({props:e,name:"MuiTableHead"}),{className:a,component:l=b}=n,g=Object(i.a)(n,p),v=Object(r.a)({},n,{component:l}),y=(e=>{const{classes:t}=e;return Object(s.a)({root:["root"]},d.a,t)})(v);return Object(f.jsx)(u.a.Provider,{value:m,children:Object(f.jsx)(h,Object(r.a)({as:l,className:Object(o.default)(y.root,a),ref:t,role:l===b?null:"rowgroup",ownerState:v},g))})}));t.a=g},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=(n(343),n(379));function a(e){var t="function"==typeof e;return{create:function(n,a){var o;try{o=t?e(n):e}catch(e){throw e}if(!a||!n.overrides||!n.overrides[a])return o;var s=n.overrides[a],u=Object(r.a)({},o);return Object.keys(s).forEach((function(e){u[e]=Object(i.a)(u[e],s[e])})),u},options:{}}}},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(101)),s=n(12),u=n(99),c=n(157),l=n(73),d=n(394),f=n(974),p=a.forwardRef((function(e,t){var n=e.action,l=e.buttonRef,p=e.centerRipple,h=void 0!==p&&p,m=e.children,b=e.classes,g=e.className,v=e.component,y=void 0===v?"button":v,x=e.disabled,w=void 0!==x&&x,O=e.disableRipple,j=void 0!==O&&O,C=e.disableTouchRipple,E=void 0!==C&&C,S=e.focusRipple,k=void 0!==S&&S,D=e.focusVisibleClassName,A=e.onBlur,_=e.onClick,F=e.onFocus,R=e.onFocusVisible,T=e.onKeyDown,P=e.onKeyUp,M=e.onMouseDown,B=e.onMouseLeave,N=e.onMouseUp,I=e.onTouchEnd,L=e.onTouchMove,z=e.onTouchStart,W=e.onDragLeave,V=e.tabIndex,U=void 0===V?0:V,H=e.TouchRippleProps,q=e.type,$=void 0===q?"button":q,G=Object(i.a)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),Y=a.useRef(null);var K=a.useRef(null),X=a.useState(!1),Z=X[0],Q=X[1];w&&Z&&Q(!1);var J=Object(d.a)(),ee=J.isFocusVisible,te=J.onBlurVisible,ne=J.ref;function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;return Object(c.a)((function(r){return t&&t(r),!n&&K.current&&K.current[e](r),!0}))}a.useImperativeHandle(n,(function(){return{focusVisible:function(){Q(!0),Y.current.focus()}}}),[]),a.useEffect((function(){Z&&k&&!j&&K.current.pulsate()}),[j,k,Z]);var ie=re("start",M),ae=re("stop",W),oe=re("stop",N),se=re("stop",(function(e){Z&&e.preventDefault(),B&&B(e)})),ue=re("start",z),ce=re("stop",I),le=re("stop",L),de=re("stop",(function(e){Z&&(te(e),Q(!1)),A&&A(e)}),!1),fe=Object(c.a)((function(e){Y.current||(Y.current=e.currentTarget),ee(e)&&(Q(!0),R&&R(e)),F&&F(e)})),pe=function(){var e=o.findDOMNode(Y.current);return y&&"button"!==y&&!("A"===e.tagName&&e.href)},he=a.useRef(!1),me=Object(c.a)((function(e){k&&!he.current&&Z&&K.current&&" "===e.key&&(he.current=!0,e.persist(),K.current.stop(e,(function(){K.current.start(e)}))),e.target===e.currentTarget&&pe()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&pe()&&"Enter"===e.key&&!w&&(e.preventDefault(),_&&_(e))})),be=Object(c.a)((function(e){k&&" "===e.key&&K.current&&Z&&!e.defaultPrevented&&(he.current=!1,e.persist(),K.current.stop(e,(function(){K.current.pulsate(e)}))),P&&P(e),_&&e.target===e.currentTarget&&pe()&&" "===e.key&&!e.defaultPrevented&&_(e)})),ge=y;"button"===ge&&G.href&&(ge="a");var ve={};"button"===ge?(ve.type=$,ve.disabled=w):("a"===ge&&G.href||(ve.role="button"),ve["aria-disabled"]=w);var ye=Object(u.a)(l,t),xe=Object(u.a)(ne,Y),we=Object(u.a)(ye,xe),Oe=a.useState(!1),je=Oe[0],Ce=Oe[1];a.useEffect((function(){Ce(!0)}),[]);var Ee=je&&!j&&!w;return a.createElement(ge,Object(r.a)({className:Object(s.default)(b.root,g,Z&&[b.focusVisible,D],w&&b.disabled),onBlur:de,onClick:_,onFocus:fe,onKeyDown:me,onKeyUp:be,onMouseDown:ie,onMouseLeave:se,onMouseUp:oe,onDragLeave:ae,onTouchEnd:ce,onTouchMove:le,onTouchStart:ue,ref:we,tabIndex:w?-1:U},ve,G),m,Ee?a.createElement(f.a,Object(r.a)({ref:K,center:h},H)):null)}));t.a=Object(l.a)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(p)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=n.n(a),s=(n(11),n(256)),u=n.n(s),c=n(646),l=n(1170),d=n(465);t.a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,s=t.withTheme,f=void 0!==s&&s,p=t.name,h=Object(i.a)(t,["defaultTheme","withTheme","name"]);var m=p,b=Object(c.a)(e,Object(r.a)({defaultTheme:a,Component:n,name:p||n.displayName,classNamePrefix:m},h)),g=o.a.forwardRef((function(e,t){e.classes;var s,u=e.innerRef,c=Object(i.a)(e,["classes","innerRef"]),h=b(Object(r.a)({},n.defaultProps,e)),m=c;return("string"==typeof p||f)&&(s=Object(d.a)()||a,p&&(m=Object(l.a)({theme:s,name:p,props:c})),f&&!m.theme&&(m.theme=s)),o.a.createElement(n,Object(r.a)({ref:u||t,classes:h},m))}));return u()(g,n),g}}},function(e,t,n){"use strict";var r=n(2),i=n(277),a=n(46),o=n(218),s=n(0),u=n(101),c=(n(11),n(12)),l=n(379),d=n(133),f=n(73),p=n(106),h=n(1172),m=n(1306),b=n(99),g=n(977),v=n(247),y=n(394),x=n(395),w=n(278);function O(e){return Math.round(1e5*e)/1e5}var j=!1,C=null;var E=s.forwardRef((function(e,t){var n=e.arrow,o=void 0!==n&&n,d=e.children,f=e.classes,O=e.disableFocusListener,E=void 0!==O&&O,S=e.disableHoverListener,k=void 0!==S&&S,D=e.disableTouchListener,A=void 0!==D&&D,_=e.enterDelay,F=void 0===_?100:_,R=e.enterNextDelay,T=void 0===R?0:R,P=e.enterTouchDelay,M=void 0===P?700:P,B=e.id,N=e.interactive,I=void 0!==N&&N,L=e.leaveDelay,z=void 0===L?0:L,W=e.leaveTouchDelay,V=void 0===W?1500:W,U=e.onClose,H=e.onOpen,q=e.open,$=e.placement,G=void 0===$?"bottom":$,Y=e.PopperComponent,K=void 0===Y?m.a:Y,X=e.PopperProps,Z=e.title,Q=e.TransitionComponent,J=void 0===Q?h.a:Q,ee=e.TransitionProps,te=Object(a.a)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),ne=Object(w.a)(),re=s.useState(),ie=re[0],ae=re[1],oe=s.useState(null),se=oe[0],ue=oe[1],ce=s.useRef(!1),le=s.useRef(),de=s.useRef(),fe=s.useRef(),pe=s.useRef(),he=Object(x.a)({controlled:q,default:!1,name:"Tooltip",state:"open"}),me=Object(i.a)(he,2),be=me[0],ge=me[1],ve=be,ye=Object(g.a)(B);s.useEffect((function(){return function(){clearTimeout(le.current),clearTimeout(de.current),clearTimeout(fe.current),clearTimeout(pe.current)}}),[]);var xe=function(e){clearTimeout(C),j=!0,ge(!0),H&&H(e)},we=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"mouseover"===t.type&&n.onMouseOver&&e&&n.onMouseOver(t),ce.current&&"touchstart"!==t.type||(ie&&ie.removeAttribute("title"),clearTimeout(de.current),clearTimeout(fe.current),F||j&&T?(t.persist(),de.current=setTimeout((function(){xe(t)}),j?T:F)):xe(t))}},Oe=Object(y.a)(),je=Oe.isFocusVisible,Ce=Oe.onBlurVisible,Ee=Oe.ref,Se=s.useState(!1),ke=Se[0],De=Se[1],Ae=function(){ke&&(De(!1),Ce())},_e=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){ie||ae(t.currentTarget),je(t)&&(De(!0),we()(t));var n=d.props;n.onFocus&&e&&n.onFocus(t)}},Fe=function(e){clearTimeout(C),C=setTimeout((function(){j=!1}),800+z),ge(!1),U&&U(e),clearTimeout(le.current),le.current=setTimeout((function(){ce.current=!1}),ne.transitions.duration.shortest)},Re=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var n=d.props;"blur"===t.type&&(n.onBlur&&e&&n.onBlur(t),Ae()),"mouseleave"===t.type&&n.onMouseLeave&&t.currentTarget===ie&&n.onMouseLeave(t),clearTimeout(de.current),clearTimeout(fe.current),t.persist(),fe.current=setTimeout((function(){Fe(t)}),z)}},Te=function(e){ce.current=!0;var t=d.props;t.onTouchStart&&t.onTouchStart(e)},Pe=Object(b.a)(ae,t),Me=Object(b.a)(Ee,Pe),Be=s.useCallback((function(e){Object(v.a)(Me,u.findDOMNode(e))}),[Me]),Ne=Object(b.a)(d.ref,Be);""===Z&&(ve=!1);var Ie=!ve&&!k,Le=Object(r.a)({"aria-describedby":ve?ye:null,title:Ie&&"string"==typeof Z?Z:null},te,d.props,{className:Object(c.default)(te.className,d.props.className),onTouchStart:Te,ref:Ne}),ze={};A||(Le.onTouchStart=function(e){Te(e),clearTimeout(fe.current),clearTimeout(le.current),clearTimeout(pe.current),e.persist(),pe.current=setTimeout((function(){we()(e)}),M)},Le.onTouchEnd=function(e){d.props.onTouchEnd&&d.props.onTouchEnd(e),clearTimeout(pe.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){Fe(e)}),V)}),k||(Le.onMouseOver=we(),Le.onMouseLeave=Re(),I&&(ze.onMouseOver=we(!1),ze.onMouseLeave=Re(!1))),E||(Le.onFocus=_e(),Le.onBlur=Re(),I&&(ze.onFocus=_e(!1),ze.onBlur=Re(!1)));var We=s.useMemo((function(){return Object(l.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(se),element:se}}}},X)}),[se,X]);return s.createElement(s.Fragment,null,s.cloneElement(d,Le),s.createElement(K,Object(r.a)({className:Object(c.default)(f.popper,I&&f.popperInteractive,o&&f.popperArrow),placement:G,anchorEl:ie,open:!!ie&&ve,id:Le["aria-describedby"],transition:!0},ze,We),(function(e){var t=e.placement,n=e.TransitionProps;return s.createElement(J,Object(r.a)({timeout:ne.transitions.duration.shorter},n,ee),s.createElement("div",{className:Object(c.default)(f.tooltip,f["tooltipPlacement".concat(Object(p.a)(t.split("-")[0]))],ce.current&&f.touch,o&&f.tooltipArrow)},Z,o?s.createElement("span",{className:f.arrow,ref:ue}):null))})))}));t.a=Object(f.a)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(d.a)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(O(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(d.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(O(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:Object(o.a)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(o.a)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(o.a)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(o.a)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(E)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(976)),s=n(465),u=n(1171),c=n(331),l=n(247),d=n(99);function f(e){return"function"==typeof e?e():e}var p="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,h={},m=a.forwardRef((function(e,t){var n=e.anchorEl,m=e.children,b=e.container,g=e.disablePortal,v=void 0!==g&&g,y=e.keepMounted,x=void 0!==y&&y,w=e.modifiers,O=e.open,j=e.placement,C=void 0===j?"bottom":j,E=e.popperOptions,S=void 0===E?h:E,k=e.popperRef,D=e.style,A=e.transition,_=void 0!==A&&A,F=Object(i.a)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),R=a.useRef(null),T=Object(d.a)(R,t),P=a.useRef(null),M=Object(d.a)(P,k),B=a.useRef(M);p((function(){B.current=M}),[M]),a.useImperativeHandle(k,(function(){return P.current}),[]);var N=a.useState(!0),I=N[0],L=N[1],z=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(C,Object(s.a)()),W=a.useState(z),V=W[0],U=W[1];a.useEffect((function(){P.current&&P.current.update()}));var H=a.useCallback((function(){if(R.current&&n&&O){P.current&&(P.current.destroy(),B.current(null));var e=function(e){U(e.placement)},t=(f(n),new o.a(f(n),R.current,Object(r.a)({placement:z},S,{modifiers:Object(r.a)({},v?{}:{preventOverflow:{boundariesElement:"window"}},w,S.modifiers),onCreate:Object(c.a)(e,S.onCreate),onUpdate:Object(c.a)(e,S.onUpdate)})));B.current(t)}}),[n,v,w,O,z,S]),q=a.useCallback((function(e){Object(l.a)(T,e),H()}),[T,H]),$=function(){P.current&&(P.current.destroy(),B.current(null))};if(a.useEffect((function(){return function(){$()}}),[]),a.useEffect((function(){O||_||$()}),[O,_]),!x&&!O&&(!_||I))return null;var G={placement:V};return _&&(G.TransitionProps={in:O,onEnter:function(){L(!1)},onExited:function(){L(!0),$()}}),a.createElement(u.a,{disablePortal:v,container:b},a.createElement("div",Object(r.a)({ref:q,role:"tooltip"},F,{style:Object(r.a)({position:"fixed",top:0,left:0,display:O||!x||_?null:"none"},D)}),"function"==typeof m?m(G):m))}));t.a=m},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(245),u=n(279),c=n(106),l=n(73),d=a.forwardRef((function(e,t){var n=e.children,l=e.classes,d=e.className,f=(e.color,e.component),p=void 0===f?"label":f,h=(e.disabled,e.error,e.filled,e.focused,e.required,Object(r.a)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),m=Object(u.a)(),b=Object(s.a)({props:e,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]});return a.createElement(p,Object(i.a)({className:Object(o.default)(l.root,l["color".concat(Object(c.a)(b.color||"primary"))],d,b.disabled&&l.disabled,b.error&&l.error,b.filled&&l.filled,b.focused&&l.focused,b.required&&l.required),ref:t},h),n,b.required&&a.createElement("span",{"aria-hidden":!0,className:Object(o.default)(l.asterisk,b.error&&l.error)}," ","*"))}));t.a=Object(l.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(d)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(530)),s=n(99);function u(e,t){return parseInt(e[t],10)||0}var c="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,l={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},d=a.forwardRef((function(e,t){var n=e.onChange,d=e.rows,f=e.rowsMax,p=e.rowsMin,h=e.maxRows,m=e.minRows,b=void 0===m?1:m,g=e.style,v=e.value,y=Object(i.a)(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),x=h||f,w=d||p||b,O=a.useRef(null!=v).current,j=a.useRef(null),C=Object(s.a)(t,j),E=a.useRef(null),S=a.useRef(0),k=a.useState({}),D=k[0],A=k[1],_=a.useCallback((function(){var t=j.current,n=window.getComputedStyle(t),r=E.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],a=u(n,"padding-bottom")+u(n,"padding-top"),o=u(n,"border-bottom-width")+u(n,"border-top-width"),s=r.scrollHeight-a;r.value="x";var c=r.scrollHeight-a,l=s;w&&(l=Math.max(Number(w)*c,l)),x&&(l=Math.min(Number(x)*c,l));var d=(l=Math.max(l,c))+("border-box"===i?a+o:0),f=Math.abs(l-s)<=1;A((function(e){return S.current<20&&(d>0&&Math.abs((e.outerHeightStyle||0)-d)>1||e.overflow!==f)?(S.current+=1,{overflow:f,outerHeightStyle:d}):e}))}),[x,w,e.placeholder]);a.useEffect((function(){var e=Object(o.a)((function(){S.current=0,_()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[_]),c((function(){_()})),a.useEffect((function(){S.current=0}),[v]);return a.createElement(a.Fragment,null,a.createElement("textarea",Object(r.a)({value:v,onChange:function(e){S.current=0,O||_(),n&&n(e)},ref:C,rows:w,style:Object(r.a)({height:D.outerHeightStyle,overflow:D.overflow?"hidden":null},g)},y)),a.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:E,tabIndex:-1,style:Object(r.a)({},l,g)}))}));t.a=d},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(1310),u=n(73),c=n(285),l=a.forwardRef((function(e,t){var n=e.children,u=e.classes,l=e.className,d=e.component,f=void 0===d?"div":d,p=e.disablePointerEvents,h=void 0!==p&&p,m=e.disableTypography,b=void 0!==m&&m,g=e.position,v=e.variant,y=Object(i.a)(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),x=Object(c.b)()||{},w=v;return v&&x.variant,x&&!w&&(w=x.variant),a.createElement(c.a.Provider,{value:null},a.createElement(f,Object(r.a)({className:Object(o.default)(u.root,l,"end"===g?u.positionEnd:u.positionStart,h&&u.disablePointerEvents,x.hiddenLabel&&u.hiddenLabel,"filled"===w&&u.filled,"dense"===x.margin&&u.marginDense),ref:t},y),"string"!=typeof n||b?n:a.createElement(s.a,{color:"textSecondary"},n)))}));t.a=Object(u.a)({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(l)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(106),c={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},l=a.forwardRef((function(e,t){var n=e.align,s=void 0===n?"inherit":n,l=e.classes,d=e.className,f=e.color,p=void 0===f?"initial":f,h=e.component,m=e.display,b=void 0===m?"initial":m,g=e.gutterBottom,v=void 0!==g&&g,y=e.noWrap,x=void 0!==y&&y,w=e.paragraph,O=void 0!==w&&w,j=e.variant,C=void 0===j?"body1":j,E=e.variantMapping,S=void 0===E?c:E,k=Object(i.a)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),D=h||(O?"p":S[C]||c[C])||"span";return a.createElement(D,Object(r.a)({className:Object(o.default)(l.root,d,"inherit"!==C&&l[C],"initial"!==p&&l["color".concat(Object(u.a)(p))],x&&l.noWrap,v&&l.gutterBottom,O&&l.paragraph,"inherit"!==s&&l["align".concat(Object(u.a)(s))],"initial"!==b&&l["display".concat(Object(u.a)(b))]),ref:t},k))}));t.a=Object(s.a)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(l)},function(e,t,n){"use strict";var r=n(244),i=n(2),a=(n(11),n(305));function o(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function s(e){var t=function(t){var n=e(t);return t.css?Object(i.a)({},Object(a.a)(n,e(Object(i.a)({theme:t.theme},t.css))),o(t.css,[e.filterProps])):t.sx?Object(i.a)({},Object(a.a)(n,e(Object(i.a)({theme:t.theme},t.sx))),o(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(Object(r.a)(e.filterProps)),t}t.a=s},function(e,t,n){"use strict";var r=n(57),i=n(174);function a(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var o=Object(r.a)({prop:"border",themeKey:"borders",transform:a}),s=Object(r.a)({prop:"borderTop",themeKey:"borders",transform:a}),u=Object(r.a)({prop:"borderRight",themeKey:"borders",transform:a}),c=Object(r.a)({prop:"borderBottom",themeKey:"borders",transform:a}),l=Object(r.a)({prop:"borderLeft",themeKey:"borders",transform:a}),d=Object(r.a)({prop:"borderColor",themeKey:"palette"}),f=Object(r.a)({prop:"borderRadius",themeKey:"shape"}),p=Object(i.a)(o,s,u,c,l,d,f);t.a=p},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),o=Object(r.a)({prop:"display"}),s=Object(r.a)({prop:"overflow"}),u=Object(r.a)({prop:"textOverflow"}),c=Object(r.a)({prop:"visibility"}),l=Object(r.a)({prop:"whiteSpace"});t.a=Object(i.a)(a,o,s,u,c,l)},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"flexBasis"}),o=Object(r.a)({prop:"flexDirection"}),s=Object(r.a)({prop:"flexWrap"}),u=Object(r.a)({prop:"justifyContent"}),c=Object(r.a)({prop:"alignItems"}),l=Object(r.a)({prop:"alignContent"}),d=Object(r.a)({prop:"order"}),f=Object(r.a)({prop:"flex"}),p=Object(r.a)({prop:"flexGrow"}),h=Object(r.a)({prop:"flexShrink"}),m=Object(r.a)({prop:"alignSelf"}),b=Object(r.a)({prop:"justifyItems"}),g=Object(r.a)({prop:"justifySelf"}),v=Object(i.a)(a,o,s,u,c,l,d,f,p,h,m,b,g);t.a=v},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"gridGap"}),o=Object(r.a)({prop:"gridColumnGap"}),s=Object(r.a)({prop:"gridRowGap"}),u=Object(r.a)({prop:"gridColumn"}),c=Object(r.a)({prop:"gridRow"}),l=Object(r.a)({prop:"gridAutoFlow"}),d=Object(r.a)({prop:"gridAutoColumns"}),f=Object(r.a)({prop:"gridAutoRows"}),p=Object(r.a)({prop:"gridTemplateColumns"}),h=Object(r.a)({prop:"gridTemplateRows"}),m=Object(r.a)({prop:"gridTemplateAreas"}),b=Object(r.a)({prop:"gridArea"}),g=Object(i.a)(a,o,s,u,c,l,d,f,p,h,m,b);t.a=g},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"position"}),o=Object(r.a)({prop:"zIndex",themeKey:"zIndex"}),s=Object(r.a)({prop:"top"}),u=Object(r.a)({prop:"right"}),c=Object(r.a)({prop:"bottom"}),l=Object(r.a)({prop:"left"});t.a=Object(i.a)(a,o,s,u,c,l)},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"color",themeKey:"palette"}),o=Object(r.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),s=Object(i.a)(a,o);t.a=s},function(e,t,n){"use strict";var r=n(57),i=Object(r.a)({prop:"boxShadow",themeKey:"shadows"});t.a=i},function(e,t,n){"use strict";var r=n(57),i=n(174);function a(e){return e<=1?"".concat(100*e,"%"):e}var o=Object(r.a)({prop:"width",transform:a}),s=Object(r.a)({prop:"maxWidth",transform:a}),u=Object(r.a)({prop:"minWidth",transform:a}),c=Object(r.a)({prop:"height",transform:a}),l=Object(r.a)({prop:"maxHeight",transform:a}),d=Object(r.a)({prop:"minHeight",transform:a}),f=(Object(r.a)({prop:"size",cssProperty:"width",transform:a}),Object(r.a)({prop:"size",cssProperty:"height",transform:a}),Object(r.a)({prop:"boxSizing"})),p=Object(i.a)(o,s,u,c,l,d,f);t.a=p},function(e,t,n){"use strict";var r=n(57),i=n(174),a=Object(r.a)({prop:"fontFamily",themeKey:"typography"}),o=Object(r.a)({prop:"fontSize",themeKey:"typography"}),s=Object(r.a)({prop:"fontStyle",themeKey:"typography"}),u=Object(r.a)({prop:"fontWeight",themeKey:"typography"}),c=Object(r.a)({prop:"letterSpacing"}),l=Object(r.a)({prop:"lineHeight"}),d=Object(r.a)({prop:"textAlign"}),f=Object(i.a)(a,o,s,u,c,l,d);t.a=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n(2),i=n(46),a=n(0),o=n.n(a),s=n(12),u=(n(11),n(256)),c=n.n(u),l=n(646);function d(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function f(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.name,u=Object(i.a)(n,["name"]);var f,p=a,h="function"==typeof t?function(e){return{root:function(n){return t(Object(r.a)({theme:e},n))}}}:{root:t},m=Object(l.a)(h,Object(r.a)({Component:e,name:a||e.displayName,classNamePrefix:p},u));t.filterProps&&(f=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var b=o.a.forwardRef((function(t,n){var a=t.children,u=t.className,c=t.clone,l=t.component,p=Object(i.a)(t,["children","className","clone","component"]),h=m(t),b=Object(s.default)(h.root,u),g=p;if(f&&(g=d(g,f)),c)return o.a.cloneElement(a,Object(r.a)({className:Object(s.default)(a.props.className,b)},g));if("function"==typeof a)return a(Object(r.a)({className:b},g));var v=l||e;return o.a.createElement(v,Object(r.a)({ref:n,className:b},g),a)}));return c()(b,e),b}}},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(133),c=a.forwardRef((function(e,t){var n=e.absolute,s=void 0!==n&&n,u=e.classes,c=e.className,l=e.component,d=void 0===l?"hr":l,f=e.flexItem,p=void 0!==f&&f,h=e.light,m=void 0!==h&&h,b=e.orientation,g=void 0===b?"horizontal":b,v=e.role,y=void 0===v?"hr"!==d?"separator":void 0:v,x=e.variant,w=void 0===x?"fullWidth":x,O=Object(i.a)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return a.createElement(d,Object(r.a)({className:Object(o.default)(u.root,c,"fullWidth"!==w&&u[w],s&&u.absolute,p&&u.flexItem,m&&u.light,"vertical"===g&&u.vertical),role:y,ref:t},O))}));t.a=Object(s.a)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:Object(u.a)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(c)},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=n(101),s=(n(11),n(465)),u=n(1170),c=n(145),l=n(1171),d=n(331),f=n(99),p=n(157),h=n(529),m=n(622),b=n(1324),g=n(981);var v=new m.b,y=a.forwardRef((function(e,t){var n=Object(s.a)(),y=Object(u.a)({name:"MuiModal",props:Object(i.a)({},e),theme:n}),x=y.BackdropComponent,w=void 0===x?g.a:x,O=y.BackdropProps,j=y.children,C=y.closeAfterTransition,E=void 0!==C&&C,S=y.container,k=y.disableAutoFocus,D=void 0!==k&&k,A=y.disableBackdropClick,_=void 0!==A&&A,F=y.disableEnforceFocus,R=void 0!==F&&F,T=y.disableEscapeKeyDown,P=void 0!==T&&T,M=y.disablePortal,B=void 0!==M&&M,N=y.disableRestoreFocus,I=void 0!==N&&N,L=y.disableScrollLock,z=void 0!==L&&L,W=y.hideBackdrop,V=void 0!==W&&W,U=y.keepMounted,H=void 0!==U&&U,q=y.manager,$=void 0===q?v:q,G=y.onBackdropClick,Y=y.onClose,K=y.onEscapeKeyDown,X=y.onRendered,Z=y.open,Q=Object(r.a)(y,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=a.useState(!0),ee=J[0],te=J[1],ne=a.useRef({}),re=a.useRef(null),ie=a.useRef(null),ae=Object(f.a)(ie,t),oe=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(y),se=function(){return Object(c.a)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){$.mount(ue(),{disableScrollLock:z}),ie.current.scrollTop=0},le=Object(p.a)((function(){var e=function(e){return e="function"==typeof e?e():e,o.findDOMNode(e)}(S)||se().body;$.add(ue(),e),ie.current&&ce()})),de=a.useCallback((function(){return $.isTopModal(ue())}),[$]),fe=Object(p.a)((function(e){re.current=e,e&&(X&&X(),Z&&de()?ce():Object(m.a)(ie.current,!0))})),pe=a.useCallback((function(){$.remove(ue())}),[$]);if(a.useEffect((function(){return function(){pe()}}),[pe]),a.useEffect((function(){Z?le():oe&&E||pe()}),[Z,pe,oe,E,le]),!H&&!Z&&(!oe||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.a}),me={};return void 0===j.props.tabIndex&&(me.tabIndex=j.props.tabIndex||"-1"),oe&&(me.onEnter=Object(d.a)((function(){te(!1)}),j.props.onEnter),me.onExited=Object(d.a)((function(){te(!0),E&&pe()}),j.props.onExited)),a.createElement(l.a,{ref:fe,container:S,disablePortal:B},a.createElement("div",Object(i.a)({ref:ae,onKeyDown:function(e){"Escape"===e.key&&de()&&(K&&K(e),P||(e.stopPropagation(),Y&&Y(e,"escapeKeyDown")))},role:"presentation"},Q,{style:Object(i.a)({},he.root,!Z&&ee?he.hidden:{},Q.style)}),V?null:a.createElement(w,Object(i.a)({open:Z,onClick:function(e){e.target===e.currentTarget&&(G&&G(e),!_&&Y&&Y(e,"backdropClick"))}},O)),a.createElement(b.a,{disableEnforceFocus:R,disableAutoFocus:D,disableRestoreFocus:I,getDoc:se,isEnabled:de,open:Z},a.cloneElement(j,me))))}));t.a=y},function(e,t,n){"use strict";var r=n(0),i=n(101),a=(n(11),n(145)),o=n(99);t.a=function(e){var t=e.children,n=e.disableAutoFocus,s=void 0!==n&&n,u=e.disableEnforceFocus,c=void 0!==u&&u,l=e.disableRestoreFocus,d=void 0!==l&&l,f=e.getDoc,p=e.isEnabled,h=e.open,m=r.useRef(),b=r.useRef(null),g=r.useRef(null),v=r.useRef(),y=r.useRef(null),x=r.useCallback((function(e){y.current=i.findDOMNode(e)}),[]),w=Object(o.a)(t.ref,x),O=r.useRef();return r.useEffect((function(){O.current=h}),[h]),!O.current&&h&&"undefined"!=typeof window&&(v.current=f().activeElement),r.useEffect((function(){if(h){var e=Object(a.a)(y.current);s||!y.current||y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var t=function(){null!==y.current&&(e.hasFocus()&&!c&&p()&&!m.current?y.current&&!y.current.contains(e.activeElement)&&y.current.focus():m.current=!1)},n=function(t){!c&&p()&&9===t.keyCode&&e.activeElement===y.current&&(m.current=!0,t.shiftKey?g.current.focus():b.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),d||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[s,c,d,p,h]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:b,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:w}),r.createElement("div",{tabIndex:0,ref:g,"data-test":"sentinelEnd"}))}},function(e,t,n){"use strict";var r=n(46),i=n(2),a=n(0),o=(n(11),n(12)),s=n(73),u=a.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.component,c=void 0===u?"div":u,l=e.square,d=void 0!==l&&l,f=e.elevation,p=void 0===f?1:f,h=e.variant,m=void 0===h?"elevation":h,b=Object(r.a)(e,["classes","className","component","square","elevation","variant"]);return a.createElement(c,Object(i.a)({className:Object(o.default)(n.root,s,"outlined"===m?n.outlined:n["elevation".concat(p)],!d&&n.rounded),ref:t},b))}));t.a=Object(s.a)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Object(i.a)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(u)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(578),u=n(1178),c=n(1179),l=n(1173),d=n(649),f=n(1174),p=n(1327),h=n(73),m={standard:s.a,filled:u.a,outlined:c.a},b=a.forwardRef((function(e,t){var n=e.autoComplete,s=e.autoFocus,u=void 0!==s&&s,c=e.children,h=e.classes,b=e.className,g=e.color,v=void 0===g?"primary":g,y=e.defaultValue,x=e.disabled,w=void 0!==x&&x,O=e.error,j=void 0!==O&&O,C=e.FormHelperTextProps,E=e.fullWidth,S=void 0!==E&&E,k=e.helperText,D=e.hiddenLabel,A=e.id,_=e.InputLabelProps,F=e.inputProps,R=e.InputProps,T=e.inputRef,P=e.label,M=e.multiline,B=void 0!==M&&M,N=e.name,I=e.onBlur,L=e.onChange,z=e.onFocus,W=e.placeholder,V=e.required,U=void 0!==V&&V,H=e.rows,q=e.rowsMax,$=e.maxRows,G=e.minRows,Y=e.select,K=void 0!==Y&&Y,X=e.SelectProps,Z=e.type,Q=e.value,J=e.variant,ee=void 0===J?"standard":J,te=Object(i.a)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","maxRows","minRows","select","SelectProps","type","value","variant"]);var ne={};if("outlined"===ee&&(_&&void 0!==_.shrink&&(ne.notched=_.shrink),P)){var re,ie=null!==(re=null==_?void 0:_.required)&&void 0!==re?re:U;ne.label=a.createElement(a.Fragment,null,P,ie&&" *")}K&&(X&&X.native||(ne.id=void 0),ne["aria-describedby"]=void 0);var ae=k&&A?"".concat(A,"-helper-text"):void 0,oe=P&&A?"".concat(A,"-label"):void 0,se=m[ee],ue=a.createElement(se,Object(r.a)({"aria-describedby":ae,autoComplete:n,autoFocus:u,defaultValue:y,fullWidth:S,multiline:B,name:N,rows:H,rowsMax:q,maxRows:$,minRows:G,type:Z,value:Q,id:A,inputRef:T,onBlur:I,onChange:L,onFocus:z,placeholder:W,inputProps:F},ne,R));return a.createElement(d.a,Object(r.a)({className:Object(o.default)(h.root,b),disabled:w,error:j,fullWidth:S,hiddenLabel:D,ref:t,required:U,color:v,variant:ee},te),P&&a.createElement(l.a,Object(r.a)({htmlFor:A,id:oe},_),P),K?a.createElement(p.a,Object(r.a)({"aria-describedby":ae,id:A,labelId:oe,value:Q,input:ue},X),c):ue,k&&a.createElement(f.a,Object(r.a)({id:ae},C),k))}));t.a=Object(h.a)({root:{}},{name:"MuiTextField"})(b)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(647)),s=n(985),u=n(245),c=n(279),l=n(73),d=n(533),f=n(578),p=n(983),h=n(534),m=n(1178),b=n(1179),g=p.a,v=a.createElement(f.a,null),y=a.createElement(m.a,null),x=a.forwardRef((function e(t,n){var l=t.autoWidth,f=void 0!==l&&l,p=t.children,m=t.classes,g=t.displayEmpty,x=void 0!==g&&g,w=t.IconComponent,O=void 0===w?d.a:w,j=t.id,C=t.input,E=t.inputProps,S=t.label,k=t.labelId,D=t.labelWidth,A=void 0===D?0:D,_=t.MenuProps,F=t.multiple,R=void 0!==F&&F,T=t.native,P=void 0!==T&&T,M=t.onClose,B=t.onOpen,N=t.open,I=t.renderValue,L=t.SelectDisplayProps,z=t.variant,W=void 0===z?"standard":z,V=Object(i.a)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),U=P?h.a:s.a,H=Object(c.a)(),q=Object(u.a)({props:t,muiFormControl:H,states:["variant"]}).variant||W,$=C||{standard:v,outlined:a.createElement(b.a,{label:S,labelWidth:A}),filled:y}[q];return a.cloneElement($,Object(r.a)({inputComponent:U,inputProps:Object(r.a)({children:p,IconComponent:O,variant:q,type:void 0,multiple:R},P?{id:j}:{autoWidth:f,displayEmpty:x,labelId:k,MenuProps:_,onClose:M,onOpen:B,open:N,renderValue:I,SelectDisplayProps:Object(r.a)({id:j},L)},E,{classes:E?Object(o.a)({baseClasses:m,newClasses:E.classes,Component:e}):m},C?C.props.inputProps:{}),ref:n},V))}));x.muiName="Select",t.a=Object(l.a)(g,{name:"MuiSelect"})(x)},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(301),n(11),n(101)),s=n(145),u=n(1329),c=n(532),l=n(99);function d(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function f(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function p(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function h(e,t,n,r,i,a){for(var o=!1,s=i(e,t,!!t&&n);s;){if(s===e.firstChild){if(o)return;o=!0}var u=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&p(s,a)&&!u)return void s.focus();s=i(e,s,n)}}var m="undefined"==typeof window?a.useEffect:a.useLayoutEffect,b=a.forwardRef((function(e,t){var n=e.actions,b=e.autoFocus,g=void 0!==b&&b,v=e.autoFocusItem,y=void 0!==v&&v,x=e.children,w=e.className,O=e.disabledItemsFocusable,j=void 0!==O&&O,C=e.disableListWrap,E=void 0!==C&&C,S=e.onKeyDown,k=e.variant,D=void 0===k?"selectedMenu":k,A=Object(i.a)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),_=a.useRef(null),F=a.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});m((function(){g&&_.current.focus()}),[g]),a.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!_.current.style.width;if(e.clientHeight<_.current.clientHeight&&n){var r="".concat(Object(c.a)(!0),"px");_.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,_.current.style.width="calc(100% + ".concat(r,")")}return _.current}}}),[]);var R=a.useCallback((function(e){_.current=o.findDOMNode(e)}),[]),T=Object(l.a)(R,t),P=-1;a.Children.forEach(x,(function(e,t){a.isValidElement(e)&&(e.props.disabled||("selectedMenu"===D&&e.props.selected||-1===P)&&(P=t))}));var M=a.Children.map(x,(function(e,t){if(t===P){var n={};return y&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===D&&(n.tabIndex=0),a.cloneElement(e,n)}return e}));return a.createElement(u.a,Object(r.a)({role:"menu",ref:T,className:w,onKeyDown:function(e){var t=_.current,n=e.key,r=Object(s.a)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),h(t,r,E,j,d);else if("ArrowUp"===n)e.preventDefault(),h(t,r,E,j,f);else if("Home"===n)e.preventDefault(),h(t,null,E,j,d);else if("End"===n)e.preventDefault(),h(t,null,E,j,f);else if(1===n.length){var i=F.current,a=n.toLowerCase(),o=performance.now();i.keys.length>0&&(o-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&a!==i.keys[0]&&(i.repeating=!1)),i.lastTime=o,i.keys.push(a);var u=r&&!i.repeating&&p(r,i);i.previousKeyMatched&&(u||h(t,r,!1,j,d,i))?e.preventDefault():i.previousKeyMatched=!1}S&&S(e)},tabIndex:g?0:-1},A),M)}));t.a=b},function(e,t,n){"use strict";var r=n(2),i=n(46),a=n(0),o=(n(11),n(12)),s=n(73),u=n(987),c=a.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,l=e.component,d=void 0===l?"ul":l,f=e.dense,p=void 0!==f&&f,h=e.disablePadding,m=void 0!==h&&h,b=e.subheader,g=Object(i.a)(e,["children","classes","className","component","dense","disablePadding","subheader"]),v=a.useMemo((function(){return{dense:p}}),[p]);return a.createElement(u.a.Provider,{value:v},a.createElement(d,Object(r.a)({className:Object(o.default)(s.root,c,p&&s.dense,!m&&s.padding,b&&s.subheader),ref:t},g),b,n))}));t.a=Object(s.a)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(c)},function(e,t,n){"use strict";var r=n(2),i=n(18),a=n(0),o=(n(11),n(12)),s=n(238),u=n(1150),c=n(1151),l=n(419),d=n(255),f=n(412),p=n(1331),h=n(117),m=n(65),b=n(268),g=n(623),v=n(5);const y=["aria-label","aria-labelledby","aria-valuetext","className","component","classes","defaultValue","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"];function x(e,t){return e-t}function w(e,t,n){return null==e?t:Math.min(Math.max(t,e),n)}function O(e,t){const{index:n}=e.reduce((e,n,r)=>{const i=Math.abs(t-n);return null===e||i({left:e+"%"}),leap:e=>({width:e+"%"})},"horizontal-reverse":{offset:e=>({right:e+"%"}),leap:e=>({width:e+"%"})},vertical:{offset:e=>({bottom:e+"%"}),leap:e=>({height:e+"%"})}},A=e=>e;let _;function F(){return void 0===_&&(_="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),_}const R=({children:e})=>e,T=a.forwardRef((function(e,t){const{"aria-label":n,"aria-labelledby":_,"aria-valuetext":T,className:P,component:M="span",classes:B,defaultValue:N,disableSwap:I=!1,disabled:L=!1,getAriaLabel:z,getAriaValueText:W,marks:V=!1,max:U=100,min:H=0,name:q,onChange:$,onChangeCommitted:G,onMouseDown:Y,orientation:K="horizontal",scale:X=A,step:Z=1,tabIndex:Q,track:J="normal",value:ee,valueLabelDisplay:te="off",valueLabelFormat:ne=A,isRtl:re=!1,components:ie={},componentsProps:ae={}}=e,oe=Object(i.a)(e,y),se=a.useRef(),[ue,ce]=a.useState(-1),[le,de]=a.useState(-1),[fe,pe]=a.useState(!1),he=a.useRef(0),[me,be]=Object(u.a)({controlled:ee,default:null!=N?N:H,name:"Slider"}),ge=$&&((e,t,n)=>{const r=e.nativeEvent||e,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:t,name:q}}),$(i,t,n)}),ve=Array.isArray(me);let ye=ve?me.slice().sort(x):[me];ye=ye.map(e=>w(e,H,U));const xe=!0===V&&null!==Z?[...Array(Math.floor((U-H)/Z)+1)].map((e,t)=>({value:H+Z*t})):V||[],{isFocusVisibleRef:we,onBlur:Oe,onFocus:je,ref:Ce}=Object(c.a)(),[Ee,Se]=a.useState(-1),ke=a.useRef(),De=Object(l.a)(Ce,ke),Ae=Object(l.a)(t,De),_e=Object(d.a)(e=>{const t=Number(e.currentTarget.getAttribute("data-index"));je(e),!0===we.current&&Se(t),de(t)}),Fe=Object(d.a)(e=>{Oe(e),!1===we.current&&Se(-1),de(-1)}),Re=Object(d.a)(e=>{const t=Number(e.currentTarget.getAttribute("data-index"));de(t)}),Te=Object(d.a)(()=>{de(-1)});Object(f.a)(()=>{L&&ke.current.contains(document.activeElement)&&document.activeElement.blur()},[L]),L&&-1!==ue&&ce(-1),L&&-1!==Ee&&Se(-1);const Pe=Object(d.a)(e=>{const t=Number(e.currentTarget.getAttribute("data-index")),n=ye[t],r=xe.map(e=>e.value),i=r.indexOf(n);let a=e.target.valueAsNumber;if(xe&&null==Z&&(a=ae.value),n=e.indexOf(ye[t]);a=a{const{current:r}=ke,{width:i,height:a,bottom:o,left:s}=r.getBoundingClientRect();let u,c;if(u=0===Be.indexOf("vertical")?(o-e.y)/a:(e.x-s)/i,-1!==Be.indexOf("-reverse")&&(u=1-u),c=function(e,t,n){return(n-t)*e+t}(u,H,U),Z)c=E(c,Z,H);else{const e=xe.map(e=>e.value);c=e[O(e,c)]}c=w(c,H,U);let l=0;if(ve){l=t?Me.current:O(n,c),I&&(c=w(c,n[l-1]||-1/0,n[l+1]||1/0));const e=c;c=S({values:n,newValue:c,index:l}),I&&t||(l=c.indexOf(e),Me.current=l)}return{newValue:c,activeIndex:l}},Ie=Object(d.a)(e=>{const t=j(e,se);if(!t)return;if(he.current+=1,"mousemove"===e.type&&0===e.buttons)return void Le(e);const{newValue:n,activeIndex:r}=Ne({finger:t,move:!0,values:ye});k({sliderRef:ke,activeIndex:r,setActive:ce}),be(n),!fe&&he.current>2&&pe(!0),ge&&ge(e,n,r)}),Le=Object(d.a)(e=>{const t=j(e,se);if(pe(!1),!t)return;const{newValue:n}=Ne({finger:t,values:ye});ce(-1),"touchend"===e.type&&de(-1),G&&G(e,n),se.current=void 0,We()}),ze=Object(d.a)(e=>{F()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(se.current=t.identifier);const n=j(e,se),{newValue:r,activeIndex:i}=Ne({finger:n,values:ye});k({sliderRef:ke,activeIndex:i,setActive:ce}),be(r),ge&&ge(e,r,i),he.current=0;const a=Object(s.a)(ke.current);a.addEventListener("touchmove",Ie),a.addEventListener("touchend",Le)}),We=a.useCallback(()=>{const e=Object(s.a)(ke.current);e.removeEventListener("mousemove",Ie),e.removeEventListener("mouseup",Le),e.removeEventListener("touchmove",Ie),e.removeEventListener("touchend",Le)},[Le,Ie]);a.useEffect(()=>{const{current:e}=ke;return e.addEventListener("touchstart",ze,{passive:F()}),()=>{e.removeEventListener("touchstart",ze,{passive:F()}),We()}},[We,ze]),a.useEffect(()=>{L&&We()},[L,We]);const Ve=Object(d.a)(e=>{if(Y&&Y(e),0!==e.button)return;e.preventDefault();const t=j(e,se),{newValue:n,activeIndex:r}=Ne({finger:t,values:ye});k({sliderRef:ke,activeIndex:r,setActive:ce}),be(n),ge&&ge(e,n,r),he.current=0;const i=Object(s.a)(ke.current);i.addEventListener("mousemove",Ie),i.addEventListener("mouseup",Le)}),Ue=C(ve?ye[0]:H,H,U),He=C(ye[ye.length-1],H,U)-Ue,qe=Object(r.a)({},D[Be].offset(Ue),D[Be].leap(He)),$e=ie.Root||M,Ge=ae.root||{},Ye=ie.Rail||"span",Ke=ae.rail||{},Xe=ie.Track||"span",Ze=ae.track||{},Qe=ie.Thumb||"span",Je=ae.thumb||{},et=ie.ValueLabel||g.a,tt=ae.valueLabel||{},nt=ie.Mark||"span",rt=ae.mark||{},it=ie.MarkLabel||"span",at=ae.markLabel||{},ot=Object(r.a)({},e,{classes:B,disabled:L,dragging:fe,isRtl:re,marked:xe.length>0&&xe.some(e=>e.label),max:U,min:H,orientation:K,scale:X,step:Z,track:J,valueLabelDisplay:te,valueLabelFormat:ne}),st=(e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:a,classes:o}=e,s={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===i&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Object(m.a)(s,b.b,o)})(ot);return Object(v.jsxs)($e,Object(r.a)({ref:Ae,onMouseDown:Ve},Ge,!Object(h.a)($e)&&{as:M,ownerState:Object(r.a)({},ot,Ge.ownerState)},oe,{className:Object(o.default)(st.root,Ge.className,P),children:[Object(v.jsx)(Ye,Object(r.a)({},Ke,!Object(h.a)(Ye)&&{ownerState:Object(r.a)({},ot,Ke.ownerState)},{className:Object(o.default)(st.rail,Ke.className)})),Object(v.jsx)(Xe,Object(r.a)({},Ze,!Object(h.a)(Xe)&&{ownerState:Object(r.a)({},ot,Ze.ownerState)},{className:Object(o.default)(st.track,Ze.className),style:Object(r.a)({},qe,Ze.style)})),xe.map((e,t)=>{const n=C(e.value,H,U),i=D[Be].offset(n);let s;return s=!1===J?-1!==ye.indexOf(e.value):"normal"===J&&(ve?e.value>=ye[0]&&e.value<=ye[ye.length-1]:e.value<=ye[0])||"inverted"===J&&(ve?e.value<=ye[0]||e.value>=ye[ye.length-1]:e.value>=ye[0]),Object(v.jsxs)(a.Fragment,{children:[Object(v.jsx)(nt,Object(r.a)({"data-index":t},rt,!Object(h.a)(nt)&&{ownerState:Object(r.a)({},ot,rt.ownerState),markActive:s},{style:Object(r.a)({},i,rt.style),className:Object(o.default)(st.mark,rt.className,s&&st.markActive)})),null!=e.label?Object(v.jsx)(it,Object(r.a)({"aria-hidden":!0,"data-index":t},at,!Object(h.a)(it)&&{ownerState:Object(r.a)({},ot,at.ownerState)},{markLabelActive:s,style:Object(r.a)({},i,at.style),className:Object(o.default)(st.markLabel,at.className,s&&st.markLabelActive),children:e.label})):null]},e.value)}),ye.map((t,i)=>{const s=C(t,H,U),u=D[Be].offset(s),c="off"===te?R:et;return Object(v.jsx)(a.Fragment,{children:Object(v.jsx)(c,Object(r.a)({valueLabelFormat:ne,valueLabelDisplay:te,value:"function"==typeof ne?ne(X(t),i):ne,index:i,open:le===i||ue===i||"on"===te,disabled:L},tt,{className:Object(o.default)(st.valueLabel,tt.className)},!Object(h.a)(et)&&{ownerState:Object(r.a)({},ot,tt.ownerState)},{children:Object(v.jsx)(Qe,Object(r.a)({"data-index":i,onMouseOver:Re,onMouseLeave:Te},Je,{className:Object(o.default)(st.thumb,Je.className,ue===i&&st.active,Ee===i&&st.focusVisible)},!Object(h.a)(Qe)&&{ownerState:Object(r.a)({},ot,Je.ownerState)},{style:Object(r.a)({},u,{pointerEvents:I&&ue!==i?"none":void 0},Je.style),children:Object(v.jsx)("input",{tabIndex:Q,"data-index":i,"aria-label":z?z(i):n,"aria-labelledby":_,"aria-orientation":K,"aria-valuemax":X(U),"aria-valuemin":X(H),"aria-valuenow":X(t),"aria-valuetext":W?W(X(t),i):T,onFocus:_e,onBlur:Fe,name:q,type:"range",min:e.min,max:e.max,step:e.step,disabled:L,value:ye[i],onChange:Pe,style:Object(r.a)({},p.a,{direction:re?"rtl":"ltr",width:"100%",height:"100%"})})}))}))},i)})]}))}));t.a=T},function(e,t,n){"use strict";t.a={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(30),c=n(1),l=n(313),d=n(199),f=n(17),p=n(569),h=n(34),m=n(5);const b=["children","className","component","disablePointerEvents","disableTypography","position","variant"],g=Object(f.a)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t["position"+Object(u.a)(n.position)],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(({theme:e,ownerState:t})=>Object(i.a)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:e.palette.action.active},"filled"===t.variant&&{[`&.${p.a.positionStart}&:not(.${p.a.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),v=a.forwardRef((function(e,t){const n=Object(h.a)({props:e,name:"MuiInputAdornment"}),{children:f,className:v,component:y="div",disablePointerEvents:x=!1,disableTypography:w=!1,position:O,variant:j}=n,C=Object(r.a)(n,b),E=Object(d.a)()||{};let S=j;j&&E.variant,E&&!S&&(S=E.variant);const k=Object(i.a)({},n,{hiddenLabel:E.hiddenLabel,size:E.size,disablePointerEvents:x,position:O,variant:S}),D=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:a,variant:o}=e,c={root:["root",n&&"disablePointerEvents",i&&"position"+Object(u.a)(i),o,r&&"hiddenLabel",a&&"size"+Object(u.a)(a)]};return Object(s.a)(c,p.b,t)})(k);return Object(m.jsx)(l.a.Provider,{value:null,children:Object(m.jsx)(g,Object(i.a)({as:y,ownerState:k,className:Object(o.default)(D.root,v),ref:t},C,{children:"string"!=typeof f||w?Object(m.jsxs)(a.Fragment,{children:["start"===O?Object(m.jsx)("span",{className:"notranslate",dangerouslySetInnerHTML:{__html:"​"}}):null,f]}):Object(m.jsx)(c.a,{color:"text.secondary",children:f})}))})}));t.a=v},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(34),c=n(17),l=n(1065),d=n(5);const f=["className","component","disableGutters","variant"],p=Object(c.a)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>Object(i.a)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48}),({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar),h=a.forwardRef((function(e,t){const n=Object(u.a)({props:e,name:"MuiToolbar"}),{className:a,component:c="div",disableGutters:h=!1,variant:m="regular"}=n,b=Object(r.a)(n,f),g=Object(i.a)({},n,{component:c,disableGutters:h,variant:m}),v=(e=>{const{classes:t,disableGutters:n,variant:r}=e,i={root:["root",!n&&"gutters",r]};return Object(s.a)(i,l.a,t)})(g);return Object(d.jsx)(p,Object(i.a)({as:c,className:Object(o.default)(v.root,a),ref:t,ownerState:g},b))}));t.a=h},function(e,t,n){"use strict";var r=n(18),i=n(2),a=n(0),o=(n(11),n(12)),s=n(65),u=n(146),c=n(30),l=n(34),d=n(17),f=n(1146),p=n(5);const h=["className","color","disableShrink","size","style","thickness","value","variant"];let m,b,g,v,y=e=>e;const x=Object(u.c)(m||(m=y` 0% { transform: rotate(0deg); } diff --git a/doc/source/advancedgameplay/bitnodes.rst b/doc/source/advancedgameplay/bitnodes.rst index ce89e48e5..10126b820 100644 --- a/doc/source/advancedgameplay/bitnodes.rst +++ b/doc/source/advancedgameplay/bitnodes.rst @@ -32,7 +32,7 @@ Nodes are significantly less profitable. Servers have less money on them and low growth rates, but it is easier to lower their security level using the weaken() Netscript function. Furthermore, some BitNodes introduce new content and mechanics. For example there is one -BitNode that grants access to the :ref:`Netscript Singularity Functions `. +BitNode that grants access to the `Singularity API `_. There is another BitNode in which you can manage a gang to earn money and reputation. How to destroy a BitNode diff --git a/doc/source/advancedgameplay/sourcefiles.rst b/doc/source/advancedgameplay/sourcefiles.rst index 52a4bf46c..051d44a19 100644 --- a/doc/source/advancedgameplay/sourcefiles.rst +++ b/doc/source/advancedgameplay/sourcefiles.rst @@ -14,54 +14,52 @@ of level 3. List of all Source-Files ^^^^^^^^^^^^^^^^^^^^^^^^ -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-1: Source Genesis | * Lets the player start with 32 GB of RAM on home computer. | -| | * Increases all of the player's multipliers by 16%/24%/28%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-2: Rise of the Underworld | * Lets the player create Gangs in other BitNodes (although some | -| | BitNodes will disable this mechanic). | -| | * Increases the player's crime success rate, crime money, and | -| | charisma multipliers by 24%/36%/42%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-3: Corporatocracy | * Lets the player create Corporations in other BitNodes (although some | -| | BitNodes will disable this mechanic). | -| | * Increases the player's charisma and company salary multipliers by 8%/12%/14%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-4: The Singularity | * Lets the player access and use Netscript Singularity Functions in other BitNodes. | -| | * Each level of this Source-File opens up more of the Singularity Functions to use. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-5: Artificial Intelligence | * Unlocks :ref:`gameplay_intelligence`. | -| | * Unlocks :js:func:`getBitNodeMultipliers` and start with Formulas.exe | -| | Netscript functions, as well as :ref:`netscriptformulas`. | -| | * Increases all of the player's hacking-related multipliers by 8%/12%/14%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-6: Bladeburners | * Unlocks the Bladeburner feature in other BitNodes. | -| | * Increases all of the player's level and experience gain rate multipliers for | -| | combat stats by 8%/12%/14%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-7: Bladeburners 2079 | * Allows the player to access the :ref:`netscript_bladeburnerapi` in other BitNodes.| -| | * Increases all of the player's Bladeburner multipliers by 8%/12%/14%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-8: Ghost of Wall Street | * Increases the player's hacking growth multiplier by 12%/18%/21%. | -| | * Level 1 grants permanent access to :ref:`WSE ` and | -| | :ref:`TIX API `. | -| | * Level 2 grants permanent access to shorting stocks. | -| | * Level 3 grants permanent access to use limit/stop orders. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-9: Hacktocracy | * Level 1 permanently unlocks the Hacknet Server in other BitNodes. | -| | * Level 2 lets the player start with 128 GB of RAM on home computer. | -| | * Level 3 grants a highly-upgraded Hacknet Server when entering a new BitNode (it | -| | will be lost after installing augments). | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-10: Digital Carbon | * Each level of this grants a Duplicate Sleeve. | -| | * Allows the player to access the :ref:`netscript_sleeveapi` in other BitNodes. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-11: The Big Crash | * Company favor increases both the player's salary and reputation gain at that | -| | company by 1% per favor (rather than just the reputation gain). | -| | * Increases the player's company salary and reputation gain multipliers by | -| | 32%/48%/56%. | -+------------------------------------+-------------------------------------------------------------------------------------+ -| BitNode-12: The Recursion | * There is no maximum level for this Source-File. | -| | * Lets the player start with Neuroflux Governor equal to the level of this | -| | Source-File. | -+------------------------------------+-------------------------------------------------------------------------------------+ ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-1: Source Genesis || * Lets the player start with 32 GB of RAM on home computer. | +|| || * Increases all of the player's multipliers by 16%/24%/28%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-2: Rise of the Underworld || * Lets the player create Gangs in other BitNodes (although some | +|| || BitNodes will disable this mechanic). | +|| || * Increases the player's crime success rate, crime money, and | +|| || charisma multipliers by 24%/36%/42%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-3: Corporatocracy || * Lets the player create Corporations in other BitNodes (although some | +|| || BitNodes will disable this mechanic). | +|| || * Increases the player's charisma and company salary multipliers by 8%/12%/14%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-4: The Singularity || * Lets the player access and use Netscript Singularity Functions in other BitNodes. | +|| || * Each level of this Source-File opens up more of the Singularity Functions to use. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-5: Artificial Intelligence || * Unlocks :ref:`gameplay_intelligence`. | +|| || * Unlocks :js:func:`getBitNodeMultipliers` and start with Formulas.exe. | +|| || * Increases all of the player's hacking-related multipliers by 8%/12%/14%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-6: Bladeburners || * Unlocks the Bladeburner feature in other BitNodes. | +|| || * Increases all of the player's level and experience gain rate multipliers for | +|| || combat stats by 8%/12%/14%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-7: Bladeburners 2079 || * Allows the player to access the `Bladeburner API `_ in other BitNodes. | +|| || * Increases all of the player's Bladeburner multipliers by 8%/12%/14%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-8: Ghost of Wall Street || * Increases the player's hacking growth multiplier by 12%/18%/21%. | +|| || * Level 1 grants permanent access to :ref:`WSE ` and the `TIX API `_ | +|| || * Level 2 grants permanent access to shorting stocks. | +|| || * Level 3 grants permanent access to use limit/stop orders. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-9: Hacktocracy || * Level 1 permanently unlocks the Hacknet Server in other BitNodes. | +|| || * Level 2 lets the player start with 128 GB of RAM on home computer. | +|| || * Level 3 grants a highly-upgraded Hacknet Server when entering a new BitNode (it | +|| || will be lost after installing augments). | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-10: Digital Carbon || * Each level of this grants a Duplicate Sleeve. | +|| || * Allows the player to access the `Sleeve API `_ in other BitNodes. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-11: The Big Crash || * Company favor increases both the player's salary and reputation gain at that | +|| || company by 1% per favor (rather than just the reputation gain). | +|| || * Increases the player's company salary and reputation gain multipliers by | +|| || 32%/48%/56%. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +|| BitNode-12: The Recursion || * There is no maximum level for this Source-File. | +|| || * Lets the player start with Neuroflux Governor equal to the level of this | +|| || Source-File. | ++-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/doc/source/basicgameplay/codingcontracts.rst b/doc/source/basicgameplay/codingcontracts.rst index e7e8dc4d2..a1e16ada8 100644 --- a/doc/source/basicgameplay/codingcontracts.rst +++ b/doc/source/basicgameplay/codingcontracts.rst @@ -7,7 +7,7 @@ exchange for solving programming problems. Coding Contracts are files with the ".cct" extensions. They can be accessed through the :ref:`terminal` or through scripts using -the :ref:`netscriptcodingcontractapi` +the `Coding Contract API `_ Each contract has a limited number of attempts. If you provide the wrong answer too many times and exceed the @@ -31,7 +31,7 @@ an area to provide an answer. Interacting through Scripts ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -See :ref:`netscriptcodingcontractapi`. +See the `Coding Contract API `_. Submitting Solutions ^^^^^^^^^^^^^^^^^^^^ diff --git a/doc/source/basicgameplay/stockmarket.rst b/doc/source/basicgameplay/stockmarket.rst index 959e3472a..2929d2c35 100644 --- a/doc/source/basicgameplay/stockmarket.rst +++ b/doc/source/basicgameplay/stockmarket.rst @@ -180,7 +180,7 @@ Working for a Company Automating the Stock Market --------------------------- You can write scripts to perform automatic and algorithmic trading on the Stock Market. -See :ref:`netscript_tixapi` for more details. +See `TIX API `_ for more details. Under the Hood -------------- diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index 24589bdd0..fdc8a0d9d 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -3,6 +3,57 @@ Changelog ========= +v1.0.1 - 2021-11-17 New documentation (hydroflame) +-------------------------------------------------- + +** Documentation ** + +* The new documentation for the netscript API is available at + https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md + This documentation is used in-game to validate the code, in-editor to autocomplete, and + for users to reference. This is a huge quality of life improvements for me. + +** Reputation ** + +* Fixed favor not affecting faction work reputation gain (Yeah, I know right?) + +** Hacknet ** + +* Servers are now considerd "purchasedByPlayers" + +** Script Editor ** + +* solarized themes now work. + +** Corporation ** + +* Dividends are now much more taxed. +* The 2 upgrades that reduced taxes are now much stronger. + +** Misc. ** + +* Starting / Stopping scripts on hashnet servers immediately updates their hash rate (instead of on the next tick) +* Hacknet has tooltip showing what the result of the upgrade would be. +* Augmentations page displayes current price multiplier as well as explains the mechanic. +* Terminal now is 25x stronger. +* Tail boxes use pre-wrap for it's lines. +* Tail boxes allow you to rerun dead scripts. +* Tail boxes can no longer open the same one twice. +* Terminal now autocompletes through aliases. +* Make alter reality harder. +* Fix bladeburner cancelling actions when manually starting anything with Simulacrum. +* Buying hash upgrade to increase uni class or gym training will apply to current class. +* Internally the game no longer uses the decimal library. +* Fix an issue where 'download *' would generate weird windows files. +* Timestamps can be set to any format in the options. +* Fix typo in documentation share popup. +* Remove bunch of debug log. +* Fix typo in corporation handbook literature. +* Fix typo in documentation +* Fix duplicate SF -1 exploit. (Yeah, an exploit of exploits, now were meta) +* Fix offline hacking earning being attributed to hacknet. +* nerf noodle bar + v1.0.0 - 2021-11-10 Breaking the API :( (blame hydroflame) ----------------------------------------------------------- diff --git a/doc/source/conf.py b/doc/source/conf.py index 78cf4a43b..4767d6da8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -64,16 +64,16 @@ documentation_title = '{0} Documentation'.format(project) # built documents. # # The short X.Y version. -version = '0.58' +version = '1.0' # The full version, including alpha/beta/rc tags. -release = '0.58.0' +release = '1.0.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = 'English' +language = 'en' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/doc/source/guidesandtips/recommendedbitnodeorder.rst b/doc/source/guidesandtips/recommendedbitnodeorder.rst index 550ac9705..759014fb8 100644 --- a/doc/source/guidesandtips/recommendedbitnodeorder.rst +++ b/doc/source/guidesandtips/recommendedbitnodeorder.rst @@ -403,7 +403,7 @@ For fast progression strong because hacking is typically one of the best ways of earning money. 3. (Optional) Consider doing **BitNode-4: The Singularity**. Its Source-File does not directly make you - more powerful in any way, but it does unlock :ref:`netscript_singularityfunctions` which + more powerful in any way, but it does unlock the `Singularity API `_ which let you automate significantly more aspects of the game. 4. Do **BitNode-3: Corporatocracy** once to unlock the Corporation mechanic. This mechanic @@ -440,12 +440,12 @@ them. For more scripting/hacking ^^^^^^^^^^^^^^^^^^^^^^^^^^ -**BitNode-4: The Singularity** unlocks the :ref:`netscript_singularityfunctions`, which +**BitNode-4: The Singularity** unlocks the `Singularity API `_, which can be used to automate many different aspects of the game, including working for factions/companies, purchasing & installing Augmentations, and creating programs **BitNode-6** and **BitNode-7** unlock Bladeburner and its corresponding -:ref:`Netscript API `. This allows you to automate an entire +`Netscript API `_. This allows you to automate an entire new mechanic. **BitNode-2: Rise of the Underworld** also unlocks a new mechanic and Netscript API for automating diff --git a/doc/source/index.rst b/doc/source/index.rst index ea980b50d..b2da5daed 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -20,7 +20,8 @@ secrets that you've been searching for. :maxdepth: 5 :caption: Contents: - Netscript + Full documentation + Basic documentation Basic Gameplay Advanced Gameplay Keyboard Shortcuts @@ -29,6 +30,7 @@ secrets that you've been searching for. Tools & Resources Changelog v1.0.0 script migration guide + 404 <404.rst> Donate Indices and tables diff --git a/doc/source/netscript.rst b/doc/source/netscript.rst index 18e60b384..fc502de29 100644 --- a/doc/source/netscript.rst +++ b/doc/source/netscript.rst @@ -10,13 +10,12 @@ This means that Netscript's syntax is identical to that of JavaScript, but it does not implement some of the features that JavaScript has. -If you have any requests or suggestions to improve the Netscript language, feel free -to reach out to the developer! .. toctree:: :maxdepth: 5 :caption: Sections: + Full documentation Learn to Program Netscript 1.0 NetscriptJS (Netscript 2.0) @@ -24,11 +23,4 @@ to reach out to the developer! Basic Functions Advanced Functions Hacknet Node API - Trade Information eXchange (TIX) API - Singularity Functions - Bladeburner API - Gang API - Coding Contract API - Sleeve API - Formulas API Miscellaneous diff --git a/doc/source/netscript/advancedfunctions/atExit.rst b/doc/source/netscript/advancedfunctions/atExit.rst deleted file mode 100644 index 0596224d3..000000000 --- a/doc/source/netscript/advancedfunctions/atExit.rst +++ /dev/null @@ -1,18 +0,0 @@ -atExit() Netscript Function -============================ - -.. js:function:: atExit(f) - - :RAM cost: 0 GB - :param function f: function to call when the script dies. - - Runs when the script dies. - - Example: - - .. code-block:: javascript - - function onDeath() { - console.log('I died!!!') - } - atExit(onDeath); diff --git a/doc/source/netscript/advancedfunctions/autocomplete.rst b/doc/source/netscript/advancedfunctions/autocomplete.rst index be967e2e2..22fefe4b1 100644 --- a/doc/source/netscript/advancedfunctions/autocomplete.rst +++ b/doc/source/netscript/advancedfunctions/autocomplete.rst @@ -1,5 +1,5 @@ autocomplete() Netscript Function -============================ +================================= .. warning:: This feature is not officially supported yet and the API might change. It is also only supported in ns2 @@ -32,7 +32,7 @@ autocomplete() Netscript Function Terminal: - .. code-block:: javascript + .. code-block:: bash $ run demo.ns mega\t // results in diff --git a/doc/source/netscript/advancedfunctions/getBitNodeMultipliers.rst b/doc/source/netscript/advancedfunctions/getBitNodeMultipliers.rst deleted file mode 100644 index 0da436be1..000000000 --- a/doc/source/netscript/advancedfunctions/getBitNodeMultipliers.rst +++ /dev/null @@ -1,28 +0,0 @@ -getBitNodeMultipliers() Netscript Function -========================================== - -.. js:function:: getBitNodeMultipliers() - - :RAM cost: 4 GB - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - run this function. - - Returns an object containing the current BitNode multipliers. The - multipliers are returned in decimal forms (e.g. 1.5 instead of 150%). The - multipliers represent the difference between the current BitNode and the - original BitNode (BitNode-1). For example, if the *CrimeMoney* multiplier - has a value of 0.1, then that means that committing crimes in the current - BitNode will only give 10% of the money you would have received in - BitNode-1. - - The structure of the returned object is subject to change as BitNode - multipliers get added to the game. Refer to the `source code here - `_ - to see the name of the BitNode multipliers. - - Example:: - - mults = getBitNodeMultipliers(); - print(mults.ServerMaxMoney); - print(mults.HackExpGain); diff --git a/doc/source/netscript/advancedfunctions/getServer.rst b/doc/source/netscript/advancedfunctions/getServer.rst deleted file mode 100644 index 09243518d..000000000 --- a/doc/source/netscript/advancedfunctions/getServer.rst +++ /dev/null @@ -1,38 +0,0 @@ -getServer() Netscript Function -========================================== - -.. js:function:: getServer([hostname]) - - :RAM cost: 2 GB - :param string hostname: Hostname of the server, defaults to host server. - - This function is meant to be used in conjunction with the :doc:`formulas API<../netscriptformulasapi>`. - - Returns an object with the Server's stats. The object has the following properties:: - - { - cpuCores - ftpPortOpen - hasAdminRights - hostname - httpPortOpen - ip - isConnectedTo - maxRam - organizationName - ramUsed - smtpPortOpen - sqlPortOpen - sshPortOpen - baseDifficulty - hackDifficulty - backdoorInstalled - minDifficulty - moneyAvailable - moneyMax - numOpenPortsRequired - openPortCount - purchasedByPlayer - requiredHackingSkill - serverGrowth - } diff --git a/doc/source/netscript/basicfunctions/alert.rst b/doc/source/netscript/basicfunctions/alert.rst deleted file mode 100644 index 28d0cf1bc..000000000 --- a/doc/source/netscript/basicfunctions/alert.rst +++ /dev/null @@ -1,15 +0,0 @@ -alert() Netscript Function -============================ - -.. js:function:: alert(message) - - :RAM cost: 0 GB - :param string message: message to display - - Spawns an alert box. - - Example: - - .. code-block:: javascript - - alert("Reached $1b"); diff --git a/doc/source/netscript/basicfunctions/clear.rst b/doc/source/netscript/basicfunctions/clear.rst deleted file mode 100644 index 3f4f7fd09..000000000 --- a/doc/source/netscript/basicfunctions/clear.rst +++ /dev/null @@ -1,16 +0,0 @@ -clear() Netscript Function -========================== - -.. js:function:: clear(portOrFilename) - - :RAM cost: 1 GB - - :param string/number portOrFilename: Port or text file to clear. - - This function is used to clear data in a :ref:`Netscript Port ` or a text file. - - If the ``portOrFilename`` argument is a number between 1 and 20, then it - specifies a port and will clear it (deleting all data from the underlying queue). - - If the ``portOrFilename`` argument is a string, then it specifies the name - of a text file (.txt) and will delete all data from that text file. diff --git a/doc/source/netscript/basicfunctions/clearLog.rst b/doc/source/netscript/basicfunctions/clearLog.rst deleted file mode 100644 index 1c892b669..000000000 --- a/doc/source/netscript/basicfunctions/clearLog.rst +++ /dev/null @@ -1,17 +0,0 @@ -clearLog() Netscript Function -============================= - -.. js:function:: clearLog() - - :RAM cost: 0 GB - - Clears the script's logs. Useful when making monitoring scripts. - - Examples: - - .. code-block:: javascript - - while(true) { - clearLog(); - print(getServerMoneyAvailable('foodnstuff')); - } diff --git a/doc/source/netscript/basicfunctions/exit.rst b/doc/source/netscript/basicfunctions/exit.rst deleted file mode 100644 index 9bf93d072..000000000 --- a/doc/source/netscript/basicfunctions/exit.rst +++ /dev/null @@ -1,17 +0,0 @@ -exit() Netscript Function -========================= - -.. js:function:: exit() - - :RAM cost: 0 GB - - Terminates the current script immediately. - - .. warning:: In :ref:`netscriptjs`, execution may continue past a call to - this function; while some game-related functions (e.g. those with an - ``ns.`` prefix) will not function after this function has been called, - there might still be unintended behavior if you assume ``exit`` will - immediately halt execution, like it does in :ref:`netscript1`. To be - safe, you should probably ``return`` from the main function instead - of/in addition to calling ``ns.exit()`` when halting a NetscriptJS - script. diff --git a/doc/source/netscript/basicfunctions/flags.rst b/doc/source/netscript/basicfunctions/flags.rst deleted file mode 100644 index 7f47419e2..000000000 --- a/doc/source/netscript/basicfunctions/flags.rst +++ /dev/null @@ -1,46 +0,0 @@ -flags() Netscript Function -============================ - -.. js:function:: flags(data) - - :RAM cost: 0 GB - :param data array of pairs of strings: Flags definition. - :returns: Object containing all the flags that were parsed or default. - - This function allows for a more flexible way of parsing script arguments - than to just pass a fixed list in a fixed order. Options can be given - names, and passed in any order, while having defined default values. - - The flag definition is an array of pairs of values: the first value is the - name of the flag, and the 2nd value is the default value for that flag. - - The return object is a map containing flag names to the value. It also - contains the special field '_', which contains all arguments that were not - flags. - - Example: - - .. code-block:: javascript - - // example.script - var data = flags([ - ['delay', 0], // a default number means this flag is a number - ['server', 'foodnstuff'], // a default string means this flag is a string - ['exclude', []], // a default array means this flag is a default array of string - ['help', false], // a default boolean means this flag is a boolean - ]); - tprint(data); - /* - [home ~/]> run example.script - {"_":[],"delay":0,"server":"foodnstuff","exclude":[],"help":false} - [home ~/]> run example.script --delay 3000 - {"_":[],"server":"foodnstuff","exclude":[],"help":false,"delay":3000} - [home ~/]> run example.script --delay 3000 --server harakiri-sushi - {"_":[],"exclude":[],"help":false,"delay":3000,"server":"harakiri-sushi"} - [home ~/]> run example.script --delay 3000 --server harakiri-sushi hello world - {"_":["hello","world"],"exclude":[],"help":false,"delay":3000,"server":"harakiri-sushi"} - [home ~/]> run example.script --delay 3000 --server harakiri-sushi hello world --exclude a --exclude b - {"_":["hello","world"],"help":false,"delay":3000,"server":"harakiri-sushi","exclude":["a","b"]} - [home ~/]> run example.script --help - {"_":[],"delay":0,"server":"foodnstuff","exclude":[],"help":true} - */ diff --git a/doc/source/netscript/basicfunctions/getFavorToDonate.rst b/doc/source/netscript/basicfunctions/getFavorToDonate.rst deleted file mode 100644 index 8ebbc8489..000000000 --- a/doc/source/netscript/basicfunctions/getFavorToDonate.rst +++ /dev/null @@ -1,13 +0,0 @@ -getFavorToDonate() Netscript Function -===================================== - -.. js:function:: getFavorToDonate() - - :RAM cost: 0.1 GB - :returns: Amount of faction favor required to unlock donation. - - Example: - - .. code-block:: javascript - - getFavorToDonate() // returns: 150 diff --git a/doc/source/netscript/basicfunctions/getGrowTime.rst b/doc/source/netscript/basicfunctions/getGrowTime.rst deleted file mode 100644 index 2d29f16d0..000000000 --- a/doc/source/netscript/basicfunctions/getGrowTime.rst +++ /dev/null @@ -1,21 +0,0 @@ -getGrowTime() Netscript Function -================================ - -.. js:function:: getGrowTime(hostname[, hackLvl=current level]) - - :RAM cost: 0.05 GB - - :param string hostname: Hostname of target server. - :returns: seconds it takes to execute :doc:`grow` on that server. - - The function takes in an optional ``hackLvl`` parameter that can be - specified to see what the grow time would be at different hacking levels. - - Example: - - .. code-block:: javascript - - getGrowTime("foodnstuff"); // returns: 53.4 - -.. note:: For Hacknet Servers (the upgraded version of a Hacknet Node), this function will - return ``Infinity``. diff --git a/doc/source/netscript/basicfunctions/getHackTime.rst b/doc/source/netscript/basicfunctions/getHackTime.rst deleted file mode 100644 index 57d95ea3a..000000000 --- a/doc/source/netscript/basicfunctions/getHackTime.rst +++ /dev/null @@ -1,20 +0,0 @@ -getHackTime() Netscript Function -================================ - -.. js:function:: getHackTime(hostname[, hackLvl=current level]) - - :RAM cost: 0.05 GB - :param string hostname: Hostname of target server. - :returns: seconds it takes to execute :doc:`hack` on that server. - - The function takes in an optional ``hackLvl`` parameter that can be - specified to see what the hack time would be at different hacking levels. - - Example: - - .. code-block:: javascript - - getHackTime("foodnstuff"); // returns: 53.4 - - .. note:: For Hacknet Servers (the upgraded version of a Hacknet Node), this function will - return :code:`Infinity`. diff --git a/doc/source/netscript/basicfunctions/getHostname.rst b/doc/source/netscript/basicfunctions/getHostname.rst deleted file mode 100644 index b1287941b..000000000 --- a/doc/source/netscript/basicfunctions/getHostname.rst +++ /dev/null @@ -1,13 +0,0 @@ -getHostname() Netscript Function -================================ - -.. js:function:: getHostname() - - :RAM cost: 0.05 GB - :returns: Hostname of the server this script is running on. - - Example: - - .. code-block:: javascript - - getHostname(); // returns: "foodnstuff" diff --git a/doc/source/netscript/basicfunctions/getPlayer.rst b/doc/source/netscript/basicfunctions/getPlayer.rst deleted file mode 100644 index fc86e9e54..000000000 --- a/doc/source/netscript/basicfunctions/getPlayer.rst +++ /dev/null @@ -1,101 +0,0 @@ -getPlayer() Netscript Function -============================== - -.. js:function:: getPlayer() - - :RAM cost: 0.5 GB - - The result of this function can be passed to the :doc:`formulas API<../netscriptformulasapi>`. - - Returns an object with the Player's stats. The object has the following properties:: - - { - hacking: Current Hacking skill level - hp: Current health points - max_hp: Maximum health points - strength: Current Strength skill level - defense: Current Defense skill level - dexterity: Current Dexterity skill level - agility: Current Agility skill level - charisma: Current Charisma skill level - intelligence: Current Intelligence skill level (from BitNode-5) - hacking_chance_mult: Hacking Chance multiplier (from Source-Files and Augments) - hacking_speed_mult: Hacking Speed multiplier (from Source-Files and Augments) - hacking_money_mult: Hacking Money multiplier (from Source-Files and Augments) - hacking_grow_mult: Hacking Growth multiplier (from Source-Files and Augments) - hacking_exp: Current Hacking experience points - strength_exp: Current Strength experience points - defense_exp: Current Defense experience points - dexterity_exp: Current Dexterity experience points - agility_exp: Current Agility experience points - charisma_exp: Current Charisma experience points - hacking_mult: Hacking Level multiplier (from Source-Files and Augments) - strength_mult: Strength Level multiplier (from Source-Files and Augments) - defense_mult: Defense Level multiplier (from Source-Files and Augments) - dexterity_mult: Dexterity Level multiplier (from Source-Files and Augments) - agility_mult: Agility Level multiplier (from Source-Files and Augments) - charisma_mult: Charisma Level multiplier (from Source-Files and Augments) - hacking_exp_mult: Hacking Experience multiplier (from Source-Files and Augments) - strength_exp_mult: Strength Experience multiplier (from Source-Files and Augments) - defense_exp_mult: Defense Experience multiplier (from Source-Files and Augments) - dexterity_exp_mult: Dexterity Experience multiplier (from Source-Files and Augments) - agility_exp_mult: Agility Experience multiplier (from Source-Files and Augments) - charisma_exp_mult: Charisma Experience multiplier (from Source-Files and Augments) - company_rep_mult: Company reputation gain multiplier (from Source-Files and Augments) - faction_rep_mult: Faction reputation gain multiplier (from Source-Files and Augments) - money: Current money - city: Name of city you are currently in - location: Name of the last location visited - crime_money_mult: Crime money multiplier (from Source-Files and Augments) - crime_success_mult: Crime success multiplier (from Source-Files and Augments) - isWorking: Boolean indicating whether the player is currently performing work - workType: Name of the kind of work the player is performing - currentWorkFactionName: Name of the faction the player is currently working for - currentWorkFactionDescription: Description of the kind of work the player is currently doing - workHackExpGainRate: Amount of Hacking experience the player will gain every cycle (fifth of a second) - workStrExpGainRate: Amount of Strength experience the player will gain every cycle - workDefExpGainRate: Amount of Defense experience the player will gain every cycle - workDexExpGainRate: Amount of Dexterity experience the player will gain every cycle - workAgiExpGainRate: Amount of Agility experience the player will gain every cycle - workChaExpGainRate: Amount of Charisma experience the player will gain every cycle - workRepGainRate: Amount of Reputation the player will gain every cycle - workMoneyGainRate: Amount of Money the player will gain every cycle - workMoneyLossRate: Amount of Money the player will lose every cycle - workHackExpGained: Total Hacking experience gained while working thus far - workStrExpGained: Total Strength experience gained while working thus far - workDefExpGained: Total Defense experience gained while working thus far - workDexExpGained: Total Dexterity experience gained while working thus far - workAgiExpGained: Total Agility experience gained while working thus far - workChaExpGained: Total Charisma experience gained while working thus far - workRepGained: Total Reputation gained while working thus far - workMoneyGained: Total Money gained while working thus far - createProgramName: Name of the program the player is currently creating - createProgramReqLvl: Hacking skill required to make that program - className: Name of the class the player is currently studying - crimeType: Name of the crime the player last started - work_money_mult: Salary multiplier (from Source-Files and Augments) - hacknet_node_money_mult: Hacknet Node production multiplier (from Source-Files and Augments) - hacknet_node_purchase_cost_mult: Hacknet Node purchase cost multiplier (from Source-Files and Augments) - hacknet_node_ram_cost_mult: Hacknet Node RAM upgrade cost multiplier (from Source-Files and Augments) - hacknet_node_core_cost_mult: Hacknet Node Core purchase cost multiplier (from Source-Files and Augments) - hacknet_node_level_cost_mult: Hacknet Node level upgrade cost multiplier (from Source-Files and Augments) - hasWseAccount: Boolean indicating whether the player has a WSE Account - hasTixApiAccess: Boolean indicating whether the player has TIX API Access - has4SData: Boolean indicating whether the player has 4S Market Data Access - has4SDataTixApi: Boolean indicating whether the player has 4S Market Data TIX API Access - bladeburner_max_stamina_mult: Bladeburner Max Stamina multiplier (from Source-Files and Augments) - bladeburner_stamina_gain_mult: Bladeburner Stamina Gain multiplier (from Source-Files and Augments) - bladeburner_success_chance_mult: Bladeburner Success Chance multiplier (from Source-Files and Augments) - bitNodeN: Current BitNode number - totalPlaytime: Total amount of time the game has been running, in milliseconds - playtimeSinceLastAug: Milliseconds since the last time Augmentations were installed - playtimeSinceLastBitnode: Milliseconds since this BitNode was started - jobs: A mapping of companies the player works for to the title of the player's job at that company - factions: An array of factions the player is currently a member of - tor: Boolean indicating whether or not you have a tor router - } - - Example:: - - player = getPlayer(); - print('My charisma level is: ' + player.charisma); diff --git a/doc/source/netscript/basicfunctions/getPortHandle.rst b/doc/source/netscript/basicfunctions/getPortHandle.rst deleted file mode 100644 index e0f800efd..000000000 --- a/doc/source/netscript/basicfunctions/getPortHandle.rst +++ /dev/null @@ -1,11 +0,0 @@ -getPortHandle() Netscript Function -================================== - -.. js:function:: getPortHandle(port) - - :RAM cost: 10 GB - - :param number port: Port number - :returns: portHandle object. See :ref:`netscript_ports` - - **WARNING:** Port Handles only work in :ref:`netscriptjs`. They will not work in :ref:`netscript1`. diff --git a/doc/source/netscript/basicfunctions/getRunningScript.rst b/doc/source/netscript/basicfunctions/getRunningScript.rst deleted file mode 100644 index de35d5c88..000000000 --- a/doc/source/netscript/basicfunctions/getRunningScript.rst +++ /dev/null @@ -1,88 +0,0 @@ -getRunningScript() Netscript Function -===================================== - -.. js:function:: getRunningScript() - - :RAM cost: 0.3 GB - :returns: Script object or null if not found. - - The object has the following properties: - - .. code-block:: javascript - - { - // Script arguments - args - - // Script filename - filename - - // This script's logs. An array of log entries - logs - - // Flag indicating whether the logs have been updated since - // the last time the UI was updated - logUpd - - // Total amount of hacking experience earned from this script when offline - offlineExpGained - - // Total amount of money made by this script when offline - offlineMoneyMade - - // Number of seconds that the script has been running offline - offlineRunningTime - - // Total amount of hacking experience earned from this script when online - onlineExpGained - - // Total amount of money made by this script when online - onlineMoneyMade - - // Number of seconds that this script has been running online - onlineRunningTime - - // Process ID. - pid - - // How much RAM this script uses for ONE thread - ramUsage - - // IP of the server on which this script is running - server - - // Number of threads that this script is running with - threads - } - - Examples: - - .. code-block:: javascript - - getRunningScript(); // get the current script. - -.. js:function:: getRunningScript(pid) - - :RAM cost: 0.3 GB - :param number pid: PID of the script. - :returns: Script object or null if not found. - - Examples: - - .. code-block:: javascript - - getRunningScript(42); // get the script with pid 42. - -.. js:function:: getRunningScript(fn, hostname[, args...]) - - :RAM cost: 0.3 GB - :param number fn: Filename of the target script. - :param number hostname: Hostname of the server running the script. - :param number args...: Arguments that the script is running with. - :returns: Script object or null if not found. - - Examples: - - .. code-block:: javascript - - getRunningScript("example.script", "home", "foodnstuff"); // get the script called "example.script" on "home" with argument "foodnstuff" diff --git a/doc/source/netscript/basicfunctions/getScriptExpGain.rst b/doc/source/netscript/basicfunctions/getScriptExpGain.rst deleted file mode 100644 index 71fa4b1a6..000000000 --- a/doc/source/netscript/basicfunctions/getScriptExpGain.rst +++ /dev/null @@ -1,17 +0,0 @@ -getScriptExpGain() Netscript Function -===================================== - -.. js:function:: getScriptExpGain([scriptname[, hostname[, args...]]]) - - :RAM cost: 0.1 GB - :param string scriptname: Filename of script. - :param string hostname: Server on which script is running. - :param args...: Arguments that the script is running with. - :returns: The amount of hacking experience the specified script generates - while online. - - This function can also return the total experience gain rate of all of your - active scripts by running the function with no arguments. - - .. note:: A script is uniquely identified by both its name and its - arguments. diff --git a/doc/source/netscript/basicfunctions/getScriptIncome.rst b/doc/source/netscript/basicfunctions/getScriptIncome.rst deleted file mode 100644 index f0a6ce193..000000000 --- a/doc/source/netscript/basicfunctions/getScriptIncome.rst +++ /dev/null @@ -1,19 +0,0 @@ -getScriptIncome() Netscript Function -==================================== - -.. js:function:: getScriptIncome([scriptname[, hostname/ip[, [args...]]]) - - :RAM cost: 0.1 GB - :param string scriptname: Filename of script - :param string hostname/ip: Server on which script is running - :param args...: Arguments that the script is running with - :returns: Amount of income the specified script generates while online. - - If called with no arguments this function will return an array of two - values. The first value is the total income ($ / second) of all of your - active scripts (scripts that are currently running on any server). The - second value is the total income ($ / second) that you've earned from - scripts since you last installed Augmentations. - - .. note:: A script is uniquely identified by both its name and its - arguments. diff --git a/doc/source/netscript/basicfunctions/getScriptLogs.rst b/doc/source/netscript/basicfunctions/getScriptLogs.rst deleted file mode 100644 index b8ffe9e09..000000000 --- a/doc/source/netscript/basicfunctions/getScriptLogs.rst +++ /dev/null @@ -1,33 +0,0 @@ -getScriptLogs() Netscript Function -================================== - -.. js:function:: getScriptLogs([filename[, hostname=current hostname[, args...]]]) - - :RAM cost: 0 GB - :param string filename: Optional. Filename of script to get logs from. - :param string hostname: Optional. Hostname of the server running the script. - :param args...: Arguments to identify which scripts to get logs for - :returns: Array of string, each line being a logged line. Chronological. - - .. note:: There is a maximum number of lines that a script stores in its logs. - This is configurable in the game's options. - - If the function is called with no arguments, it will return the current - script's logs. - - Otherwise, the ``filename``, ``hostname``, and ``args...`` arguments can be - used to get the logs from another script. Remember that scripts are uniquely - identified by both their names and arguments. - - Example: - - .. code-block:: javascript - - // Get logs from foo.script on the current server that was run with no args - getScriptLogs("foo.script"); - - // Get logs from foo.script on the foodnstuff server that was run with no args - getScriptLogs("foo.script", "foodnstuff"); - - // Get logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] - getScriptLogs("foo.script", "foodnstuff", 1, "test"); diff --git a/doc/source/netscript/basicfunctions/getScriptName.rst b/doc/source/netscript/basicfunctions/getScriptName.rst deleted file mode 100644 index 436041846..000000000 --- a/doc/source/netscript/basicfunctions/getScriptName.rst +++ /dev/null @@ -1,13 +0,0 @@ -getScriptName() Netscript Function -================================== - -.. js:function:: getScriptName() - - :RAM cost: 0 GB - :returns: Current script name. - - Example: - - .. code-block:: javascript - - getScriptName(); // returns: "example.script" diff --git a/doc/source/netscript/basicfunctions/getServerBaseSecurityLevel.rst b/doc/source/netscript/basicfunctions/getServerBaseSecurityLevel.rst deleted file mode 100644 index 59ac978a5..000000000 --- a/doc/source/netscript/basicfunctions/getServerBaseSecurityLevel.rst +++ /dev/null @@ -1,28 +0,0 @@ -getServerBaseSecurityLevel() Netscript Function -=============================================== - -.. js:function:: getServerBaseSecurityLevel(hostname) - - :RAM cost: 0.1 GB - :param string hostname: Hostname of target server. - :returns: Base security level of target server. - - The base security level is the security level that the server starts out with. - - This function isn't particularly useful. - :doc:`getServerSecurityLevel` and - :doc:`getServerMinSecurityLevel` are more often - used. - - Example: - - .. code-block:: javascript - - getServerBaseSecurityLevel('foodnstuff'); // returns: 9 - -.. note:: This is different than :doc:`getServerSecurityLevel` - because :doc:`getServerSecurityLevel` returns the current - security level of a server, which can constantly change due to - :doc:`hack`, :doc:`grow`, and :doc:`weaken` calls on - that server. The base security level will stay the same until you reset - by installing augmentation(s). diff --git a/doc/source/netscript/basicfunctions/getServerGrowth.rst b/doc/source/netscript/basicfunctions/getServerGrowth.rst deleted file mode 100644 index f1455e2cb..000000000 --- a/doc/source/netscript/basicfunctions/getServerGrowth.rst +++ /dev/null @@ -1,19 +0,0 @@ -getServerGrowth() Netscript Function -==================================== - -.. js:function:: getServerGrowth(hostname) - - :RAM cost: 0.1 GB - :param string hostname: Hostname of target server. - :returns: Server growth parameter. - - The growth parameter is a number, typically between 1 and 100, that affects - the percentage by which the server's money is increased when using the - :doc:`grow` function. A higher growth parameter will result in a - higher percentage increase. - - Example: - - .. code-block:: javascript - - getServerGrowth('foodnstuff'); // returns: 5 diff --git a/doc/source/netscript/basicfunctions/getServerRam.rst b/doc/source/netscript/basicfunctions/getServerRam.rst deleted file mode 100644 index b83bb22b6..000000000 --- a/doc/source/netscript/basicfunctions/getServerRam.rst +++ /dev/null @@ -1,25 +0,0 @@ -getServerRam() Netscript Function -================================= - -.. js:function:: getServerRam(hostname) - - .. warning:: This function is deprecated. It still functions, but new - scripts should prefer :doc:`getServerMaxRam` - and :doc:`getServerUsedRam` instead. - - :RAM cost: 0.1 GB - :param string hostname: Hostname of target server. - :returns: An array of 2 numbers; the first number is the total RAM, and the - second is the used RAM. - - Returns an array with two elements that gives information about a server's memory (RAM). The first - element in the array is the amount of RAM that the server has total (in GB). The second element in - the array is the amount of RAM that is currently being used on the server (in GB). - - Example: - - .. code-block:: javascript - - res = getServerRam("helios"); // returns: [5, 10] - totalRam = res[0]; - ramUsed = res[1]; diff --git a/doc/source/netscript/basicfunctions/getTimeSinceLastAug.rst b/doc/source/netscript/basicfunctions/getTimeSinceLastAug.rst deleted file mode 100644 index c7651bda1..000000000 --- a/doc/source/netscript/basicfunctions/getTimeSinceLastAug.rst +++ /dev/null @@ -1,13 +0,0 @@ -getTimeSinceLastAug() Netscript Function -======================================== - -.. js:function:: getTimeSinceLastAug() - - :RAM cost: 0.05 GB - :returns: Milliseconds since you last installed augmentations. - - Example: - - .. code-block:: javascript - - getTimeSinceLastAug(); // returns: 13912400 diff --git a/doc/source/netscript/basicfunctions/getWeakenTime.rst b/doc/source/netscript/basicfunctions/getWeakenTime.rst deleted file mode 100644 index 95ae7fd12..000000000 --- a/doc/source/netscript/basicfunctions/getWeakenTime.rst +++ /dev/null @@ -1,21 +0,0 @@ -getWeakenTime() Netscript Function -================================== - -.. js:function:: getWeakenTime(hostname[, hackLvl=current level]) - - :RAM cost: 0.05 GB - :param string hostname: Hostname of target server. - :returns: seconds it takes to execute the :doc:`weaken` Netscript - function on the target server. - - The function takes in an optional *hackLvl* parameter that can be specified - to see what the weaken time would be at different hacking levels. - - Example: - - .. code-block:: javascript - - getWeakenTime("foodnstuff"); // returns: 34.5 - - .. note:: For Hacknet Servers (the upgraded version of a Hacknet Node), this function will - return :code:`Infinity`. diff --git a/doc/source/netscript/basicfunctions/grow.rst b/doc/source/netscript/basicfunctions/grow.rst index ccfd39fcc..43eece4f3 100644 --- a/doc/source/netscript/basicfunctions/grow.rst +++ b/doc/source/netscript/basicfunctions/grow.rst @@ -20,8 +20,7 @@ grow() Netscript Function server will be increased by a certain, fixed percentage. This percentage is determined by the target server's growth rate (which varies between servers) and security level. Generally, higher-level servers have higher growth - rates. The :doc:`getServerGrowth` function can be used to - obtain a server's growth rate. + rates. Like :doc:`hack`, :doc:`grow` can be called on any server, from any server. The :doc:`grow` command requires root access to the target diff --git a/doc/source/netscript/basicfunctions/growthAnalyze.rst b/doc/source/netscript/basicfunctions/growthAnalyze.rst deleted file mode 100644 index 3efc840b0..000000000 --- a/doc/source/netscript/basicfunctions/growthAnalyze.rst +++ /dev/null @@ -1,24 +0,0 @@ -growthAnalyze() Netscript Function -================================== - -.. js:function:: growthAnalyze(hostname, growthAmount[, cores]) - - :RAM cost: 1 GB - :param string hostname: Hostname of server to analyze. - :param number growthAmount: Multiplicative factor by which the server is - grown. Decimal form. Must be >= 1. - :param number cores: Amount of cores on the server that would run the growth, defaults to 1 - :returns: The amount of :doc:`grow` threads needed to grow the specified - server by the specified amount. - - Example: - - .. code-block:: javascript - - // How many grow threads are needed to double the current money on 'foodnstuff' - growthAnalyze("foodnstuff", 2); // returns: 5124 - - If this returns 5124, then this means you need to call :doc:`grow` - 5124 times in order to double the money (or once with 5124 threads). - - **Warning**: The value returned by this function isn't necessarily a whole number. diff --git a/doc/source/netscript/basicfunctions/hackAnalyzePercent.rst b/doc/source/netscript/basicfunctions/hackAnalyzePercent.rst deleted file mode 100644 index c83e0c07b..000000000 --- a/doc/source/netscript/basicfunctions/hackAnalyzePercent.rst +++ /dev/null @@ -1,22 +0,0 @@ -hackAnalyzePercent() Netscript Function -======================================= - -.. js:function:: hackAnalyzePercent(hostname) - - :RAM cost: 1 GB - :param string hostname: Hostname of target server. - :returns: The percentage of money you will steal from the target server with - a single hack. - - Returns the percentage of the specified server's money you will steal with a - single hack. This value is returned in percentage form, not decimal. - - For example, assume the following returns 1: - - .. code-block:: javascript - - hackAnalyzePercent("foodnstuff"); // returns: 1 - - This means that if hack the 'foodnstuff' server, then you will steal 1% of its - total money. If you :doc:`hack` using N threads, then you will steal N% of its total - money. diff --git a/doc/source/netscript/basicfunctions/hackAnalyzeThreads.rst b/doc/source/netscript/basicfunctions/hackAnalyzeThreads.rst deleted file mode 100644 index 05df6387e..000000000 --- a/doc/source/netscript/basicfunctions/hackAnalyzeThreads.rst +++ /dev/null @@ -1,37 +0,0 @@ -hackAnalyzeThreads() Netscript Function -======================================= - -.. js:function:: hackAnalyzeThreads(hostname, hackAmount) - - :RAM cost: 1 GB - :param string hostname: Hostname of server to analyze. - :param number hackAmount: Amount of money you want to hack from the server. - :returns: The number of threads needed to :doc:`hack` the server for - ``hackAmount`` money. - - This function returns the number of script threads you need when running - the :doc:`hack` command to steal the specified amount of money from - the target server. - - If ``hackAmount`` is less than zero or greater than the amount of money - available on the server, then this function returns -1. - - For example, let's say the 'foodnstuff' server has $10m and you run: - - .. code-block:: javascript - - hackAnalyzeThreads("foodnstuff", 1e6); - - If this function returns 50, this means that if your next :doc:`hack` call - is run on a script with 50 threads, it will steal $1m from the `foodnstuff` server. - - .. warning:: The value returned by this function isn't necessarily a whole number. - .. warning:: It is possible for this function to return :code:`Infinity` or :code:`NaN` in - certain uncommon scenarios. This is because in JavaScript: - - * :code:`0 / 0 = NaN` - * :code:`N / 0 = Infinity` for 0 < N < Infinity. - - For example, if a server has no money available and you want to hack some positive - amount from it, then the function would return :code:`Infinity` because - this would be impossible. diff --git a/doc/source/netscript/basicfunctions/hackChance.rst b/doc/source/netscript/basicfunctions/hackChance.rst deleted file mode 100644 index 5b4d4baf3..000000000 --- a/doc/source/netscript/basicfunctions/hackChance.rst +++ /dev/null @@ -1,16 +0,0 @@ -hackChance() Netscript Function -=============================== - -.. js:function:: hackChance(hostname) - - :RAM cost: 1 GB - :param string hostname: Hostname of target server. - :returns: The chance you have of successfully hacking the target server. - in decimal form. - - Example: - - .. code-block:: javascript - - hackChance("foodnstuff"); // returns: .5 - // So 50% chance to hack "foodnstuff" diff --git a/doc/source/netscript/basicfunctions/nFormat.rst b/doc/source/netscript/basicfunctions/nFormat.rst deleted file mode 100644 index 2f1f86281..000000000 --- a/doc/source/netscript/basicfunctions/nFormat.rst +++ /dev/null @@ -1,22 +0,0 @@ -nFormat() Netscript Function -============================ - -.. js:function:: nFormat(n, format) - - :RAM cost: 0 GB - :param number n: number to format - :param string format: The format to use. - - Converts a number into a string with the specified format. This uses the - `numeraljs `_ library, so the formatters must be - compatible with that. - - The game uses the ``$0.000a`` format to display money. - - Example: - - .. code-block:: javascript - - nFormat(1.23e9, "$0.000a"); // returns: "$1.230b" - nFormat(12345.678, "0,0"); // returns: "12,346" - nFormat(0.84, "0.0%"); // returns: "84.0%" diff --git a/doc/source/netscript/basicfunctions/peek.rst b/doc/source/netscript/basicfunctions/peek.rst deleted file mode 100644 index 9a44bfa0d..000000000 --- a/doc/source/netscript/basicfunctions/peek.rst +++ /dev/null @@ -1,14 +0,0 @@ -peek() Netscript Function -========================= - -.. js:function:: peek(port) - - :RAM cost: 1 GB - :param number port: Port to peek. Must be an integer between 1 and 20. - :returns: First element on that port. - - This function is used to peek at the data from a port. It returns the first - element in the specified port without removing that element. If the port is - empty, the string "NULL PORT DATA" will be returned. - - Read about how :ref:`netscript_ports` work here diff --git a/doc/source/netscript/basicfunctions/prompt.rst b/doc/source/netscript/basicfunctions/prompt.rst deleted file mode 100644 index c2e7629f7..000000000 --- a/doc/source/netscript/basicfunctions/prompt.rst +++ /dev/null @@ -1,23 +0,0 @@ -prompt() Netscript Function -=========================== - -.. js:function:: prompt(txt) - - :RAM cost: 0 GB - :param string txt: Text to appear in the prompt dialog box. - :returns: ``true`` if the player clicks "Yes". - - Prompts the player with a dialog box with two options: "Yes" and "No". This - function will return true if the player click "Yes" and false if the player - clicks "No". The script's execution is halted until the player selects one - of the options. - - Example: - - .. code-block:: javascript - - cost = getPurchasedServerCost(8192); - answer = prompt("Buy a server for $"+cost); - if(answer) { - purchaseServer("my server", 8192); - } diff --git a/doc/source/netscript/basicfunctions/read.rst b/doc/source/netscript/basicfunctions/read.rst deleted file mode 100644 index b1cf5ca77..000000000 --- a/doc/source/netscript/basicfunctions/read.rst +++ /dev/null @@ -1,21 +0,0 @@ -read() Netscript Function -========================= - -.. js:function:: read(portOrFilename) - - :RAM cost: 1 GB - :param string/number portOrFilename: Port or text file to read from. - - This function is used to read data from a port, a text file (.txt), or a - script (.script, .js, .ns). - - If the argument ``portOrFilename`` is a number between 1 and 20, then it - specifies a port and it will read data from that port. Read about how - :ref:`netscript_ports` work here. A port is a serialized queue. This - function will remove the first element from that queue and return it. If the - queue is empty, then the string "NULL PORT DATA" will be returned. - - If the argument ``portOrFilename`` is a string, then it specifies the name - of a text file or script and this function will return the data in the - specified text file/script. If the text file does not exist, an empty string - will be returned. diff --git a/doc/source/netscript/basicfunctions/rm.rst b/doc/source/netscript/basicfunctions/rm.rst deleted file mode 100644 index a1159cff8..000000000 --- a/doc/source/netscript/basicfunctions/rm.rst +++ /dev/null @@ -1,13 +0,0 @@ -rm() Netscript Function -======================= - -.. js:function:: rm(filename[, hostname=current server]) - - :RAM cost: 1 GB - :param string filename: Filename of file to remove. Must include the extension. - :param string hostname: Hostname address of the server on which to delete - the file. Optional. Defaults to current server - :returns: ``true`` if it successfully deletes the file. - - Removes the specified file from the current server. This function works for - every file type except ``.msg`` files. diff --git a/doc/source/netscript/basicfunctions/sprintf.rst b/doc/source/netscript/basicfunctions/sprintf.rst deleted file mode 100644 index 2ea752682..000000000 --- a/doc/source/netscript/basicfunctions/sprintf.rst +++ /dev/null @@ -1,8 +0,0 @@ -sprintf() Netscript Function -============================ - -.. js:function:: sprintf() - - :RAM cost: 0 GB - - See `this link `_ for details. diff --git a/doc/source/netscript/basicfunctions/tFormat.rst b/doc/source/netscript/basicfunctions/tFormat.rst deleted file mode 100644 index a3c5ff155..000000000 --- a/doc/source/netscript/basicfunctions/tFormat.rst +++ /dev/null @@ -1,17 +0,0 @@ -tFormat() Netscript Function -============================ - -.. js:function:: tFormat(milliseconds[, milliPrecision=false]) - - :RAM cost: 0 GB - :param number milliseconds: Amount of milliseconds to format. - :param number milliPrecision: Display time with millisecond precision. - :returns: milliseconds in the "D M H S" format - - Example: - - .. code-block:: javascript - - tFormat(3000); // returns: "3 seconds" - tFormat(10000000); // returns: "2 hours 46 minutes 40 seconds" - tFormat(10000023, true); // returns: "2 hours 46 minutes 40.023 seconds" diff --git a/doc/source/netscript/basicfunctions/tail.rst b/doc/source/netscript/basicfunctions/tail.rst deleted file mode 100644 index fd4adc474..000000000 --- a/doc/source/netscript/basicfunctions/tail.rst +++ /dev/null @@ -1,58 +0,0 @@ -tail() Netscript Function -================================== - -.. js:function:: tail([fn[, hostname=current hostname[, ...args]]) - - :RAM cost: 0 GB - :param string fn: Optional. Filename of script to get logs from. - :param string hostname: Optional. Hostname of the server that the script is on. - :param args...: Arguments to identify which scripts to get logs for. - - Opens a script's logs. This is functionally the same as the - :ref:`tail_terminal_command` Terminal command. - - If the function is called with no arguments, it will open the current script's logs. - - Otherwise, the ``fn``, ``hostname``, and ``args...`` arguments can be - used to get the logs from another script. Remember that scripts are uniquely - identified by both their names and arguments. - - Example: - - .. code-block:: javascript - - // Open logs from foo.script on the current server that was run with no args - tail("foo.script"); - - // Open logs from foo.script on the foodnstuff server that was run with no args - tail("foo.script", "foodnstuff"); - - // Open logs from foo.script on the foodnstuff server that was run with the arguments [1, "test"] - tail("foo.script", "foodnstuff", 1, "test"); - -.. js:function:: tail(scriptPid) - - :RAM cost: 0 GB - :param number scriptPid: PID of the script to tail. - - Opens a script's logs by pid - - Example: - - .. code-block:: javascript - - // Open logs from process with id 42 - tail(42); - -.. js:function:: tail() - - :RAM cost: 0 GB - - Opens the current script logs. - - Example: - - .. code-block:: javascript - - // Open the current script logs. - tail(); diff --git a/doc/source/netscript/basicfunctions/toast.rst b/doc/source/netscript/basicfunctions/toast.rst deleted file mode 100644 index eb3e581e0..000000000 --- a/doc/source/netscript/basicfunctions/toast.rst +++ /dev/null @@ -1,17 +0,0 @@ -toast() Netscript Function -============================ - -.. js:function:: toast(message[, variant]) - - :RAM cost: 0 GB - :param string message: message to display - :param success|info|warning|error variant: color of the toast - - Spawns a toast (those bottom right notifications, like "Game Saved!" ). - - Example: - - .. code-block:: javascript - - toast("Reached $1b"); - toast("Failed to hack home", "error"); diff --git a/doc/source/netscript/basicfunctions/tprintf.rst b/doc/source/netscript/basicfunctions/tprintf.rst deleted file mode 100644 index 1b24d937b..000000000 --- a/doc/source/netscript/basicfunctions/tprintf.rst +++ /dev/null @@ -1,17 +0,0 @@ -tprint() Netscript Function -=========================== - -.. js:function:: tprintf(format, args...) - - :RAM cost: 0 GB - :param format: Format of the string to be printed. - :param args: Values to be formatted - - Prints a raw formatted string to the terminal. - - Example: - - .. code-block:: javascript - - tprintf("Hello world!"); // Prints "Hello world!" to the terminal. - tprintf("Hello %s", "world!"); // Prints "Hello world!" to the terminal. diff --git a/doc/source/netscript/basicfunctions/tryWrite.rst b/doc/source/netscript/basicfunctions/tryWrite.rst deleted file mode 100644 index ec37c351a..000000000 --- a/doc/source/netscript/basicfunctions/tryWrite.rst +++ /dev/null @@ -1,14 +0,0 @@ -tryWrite() Netscript Function -============================= - -.. js:function:: tryWrite(port, data="") - - :RAM cost: 1 GB - :param number port: Port to be written to - :param string data: Data to try to write - :returns: ``true`` if the data is successfully written to the port. - - Attempts to write data to the specified Netscript Port. If the port is full, - the data will not be written. Otherwise, the data will be written normally. - - See :ref:`netscript_ports` for more details. diff --git a/doc/source/netscript/basicfunctions/vsprintf.rst b/doc/source/netscript/basicfunctions/vsprintf.rst deleted file mode 100644 index 1b7431de0..000000000 --- a/doc/source/netscript/basicfunctions/vsprintf.rst +++ /dev/null @@ -1,8 +0,0 @@ -vsprintf() Netscript Function -============================= - -.. js:function:: vsprintf() - - :RAM cost: 0 GB - - See `this link `_ for details. diff --git a/doc/source/netscript/basicfunctions/wget.rst b/doc/source/netscript/basicfunctions/wget.rst deleted file mode 100644 index 423387a78..000000000 --- a/doc/source/netscript/basicfunctions/wget.rst +++ /dev/null @@ -1,31 +0,0 @@ -wget() Netscript Function -========================= - -.. js:function:: wget(url, target[, hostname=current hostname]) - - :RAM cost: 0 GB - :param string url: URL to pull data from - :param string target: Filename to write data to. Must be script or text file - :param string ip: Optional hostname of server for target file. - - Retrieves data from a URL and downloads it to a file on the specified server. The data can only - be downloaded to a script (.script, .ns, .js) or a text file (.txt). If the file already exists, - it will be overwritten by this command. - - Note that it will not be possible to download data from many websites because they do not allow - cross-origin resource sharing (CORS). Example:: - - wget("https://raw.githubusercontent.com/danielyxie/bitburner/master/README.md", "game_readme.txt"); - - **IMPORTANT:** This is an asynchronous function that returns a Promise. The Promise's resolved - value will be a boolean indicating whether or not the data was successfully - retrieved from the URL. Because the function is async and returns a Promise, - it is recommended you use ``wget`` in :ref:`netscriptjs`. - - In NetscriptJS, you must preface any call to - ``wget`` with the ``await`` keyword (like you would ``hack`` or ``sleep``). - - ``wget`` will still work in :ref:`netscript1`, but the functions execution will not - be synchronous (i.e. it may not execute when you expect/want it to). Furthermore, since Promises are not - supported in ES5, you will not be able to process the returned value of ``wget`` in - Netscript 1.0. diff --git a/doc/source/netscript/basicfunctions/write.rst b/doc/source/netscript/basicfunctions/write.rst deleted file mode 100644 index 656996632..000000000 --- a/doc/source/netscript/basicfunctions/write.rst +++ /dev/null @@ -1,26 +0,0 @@ -write() Netscript Function -=========================== - -.. js:function:: write(portOrFilename, data="", mode="a") - - :RAM cost: 1 GB - :param string/number portOrFilename: Port or text file/script that will be written to - :param string data: Data to write - :param string mode: Defines the write mode. Only valid when writing to text files or scripts. - - This function can be used to either write data to a port, a text file - (.txt), or a script (.script, .js, .ns) - - If the first argument is a number between 1 and 20, then it specifies a port - and this function will write ``data`` to that port. Read about how - :ref:`netscript_ports` work here. The third argument, ``mode``, is not used - when writing to a port. - - If the first argument is a string, then it specifies the name of a text file - or script and this function will write ``data`` to that text file/script. If - the specified text file/script does not exist, then it will be created. The - third argument ``mode``, defines how the data will be written. If ``mode`` - is set to "w", then the data is written in "write" mode which means that it - will overwrite all existing data on the text file/script. If ``mode`` is set - to any other value then the data will be written in "append" mode which - means that the data will be added at the end of the file. diff --git a/doc/source/netscript/bladeburnerapi/getActionAutolevel.rst b/doc/source/netscript/bladeburnerapi/getActionAutolevel.rst deleted file mode 100644 index b2dc609ec..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionAutolevel.rst +++ /dev/null @@ -1,15 +0,0 @@ -getActionAutolevel() Netscript Function -======================================= - -.. js:function:: getActionAutolevel(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: ``true`` if this action is set to auto level. - - Examples: - - .. code-block:: javascript - - bladeburner.getActionAutolevel("Contracts", "Tracking"); // returns: true \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getActionCountRemaining.rst b/doc/source/netscript/bladeburnerapi/getActionCountRemaining.rst deleted file mode 100644 index 1dbd514e1..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionCountRemaining.rst +++ /dev/null @@ -1,21 +0,0 @@ -getActionCountRemaining() Netscript Function -============================================ - -.. js:function:: getActionCountRemaining(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: Remaining action count. -1 for invalid actions. - - Note that this is meant to be used for 'Contracts' and 'Operations'. - This function will return 'Infinity' for actions such as 'Training' and - 'Field Analysis'. - This function will return 1 for BlackOps not yet completed regardless of - whether the player has the required rank to attempt the mission or not. - - Example: - - .. code-block:: javascript - - bladeburner.getActionCountRemaining("Contracts", "Tracking"); // returns: 124 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getActionCurrentLevel.rst b/doc/source/netscript/bladeburnerapi/getActionCurrentLevel.rst deleted file mode 100644 index 34d3aa37b..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionCurrentLevel.rst +++ /dev/null @@ -1,15 +0,0 @@ -getActionCurrentLevel() Netscript Function -========================================== - -.. js:function:: getActionCurrentLevel(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match. - :returns: Action current level, -1 for invalid actions. - - Example: - - .. code-block:: javascript - - bladeburner.getActionCurrentLevel("Contracts", "Tracking"); // returns: 9 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getActionEstimatedSuccessChance.rst b/doc/source/netscript/bladeburnerapi/getActionEstimatedSuccessChance.rst deleted file mode 100644 index e8015efdc..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionEstimatedSuccessChance.rst +++ /dev/null @@ -1,15 +0,0 @@ -getActionEstimatedSuccessChance() Netscript Function -==================================================== - -.. js:function:: getActionEstimatedSuccessChance(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: Array of 2 number, lower and upper bound of the action chance. - - Example: - - .. code-block:: javascript - - bladeburner.getActionEstimatedSuccessChance("Contracts", "Tracking"); // returns: [.3, .6] diff --git a/doc/source/netscript/bladeburnerapi/getActionMaxLevel.rst b/doc/source/netscript/bladeburnerapi/getActionMaxLevel.rst deleted file mode 100644 index 92b48f875..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionMaxLevel.rst +++ /dev/null @@ -1,15 +0,0 @@ -getActionMaxLevel() Netscript Function -====================================== - -.. js:function:: getActionMaxLevel(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: Action max level, -1 for invalid actions. - - Example: - - .. code-block:: javascript - - bladeburner.getActionMaxLevel("Contracts", "Tracking"); // returns: 15 diff --git a/doc/source/netscript/bladeburnerapi/getActionRepGain.rst b/doc/source/netscript/bladeburnerapi/getActionRepGain.rst deleted file mode 100644 index 5bfeda64d..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionRepGain.rst +++ /dev/null @@ -1,18 +0,0 @@ -getActionRepGain() Netscript Function -===================================== - -.. js:function:: getActionRepGain(type, name[, level=current level]) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :param number level: Optional action level at which to calculate the gain. - :returns: Average Bladeburner reputation gain for successfully completing - the specified action. Note that this value is an 'average' and the real - reputation gain may vary slightly from this value. - - Example: - - .. code-block:: javascript - - bladeburner.getActionRepGain("Contracts", "Tracking"); // returns: 341 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getActionTime.rst b/doc/source/netscript/bladeburnerapi/getActionTime.rst deleted file mode 100644 index e89f39c4f..000000000 --- a/doc/source/netscript/bladeburnerapi/getActionTime.rst +++ /dev/null @@ -1,16 +0,0 @@ -getActionTime() Netscript Function -================================== - -.. js:function:: getActionTime(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: Number of seconds it takes to complete the specified action. - - - Example: - - .. code-block:: javascript - - bladeburner.getActionTime("Contracts", "Tracking"); // returns: 4 diff --git a/doc/source/netscript/bladeburnerapi/getBlackOpNames.rst b/doc/source/netscript/bladeburnerapi/getBlackOpNames.rst deleted file mode 100644 index 310cdf681..000000000 --- a/doc/source/netscript/bladeburnerapi/getBlackOpNames.rst +++ /dev/null @@ -1,13 +0,0 @@ -getBlackOpNames() Netscript Function -==================================== - -.. js:function:: getBlackOpNames() - - :RAM cost: 0.4 GB - :returns: Array of strings containing the names of all Bladeburner Black Ops. - - Example: - - .. code-block:: javascript - - bladeburner.getBlackOpNames(); // returns: ["Operation Typhoon"] \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getBlackOpRank.rst b/doc/source/netscript/bladeburnerapi/getBlackOpRank.rst deleted file mode 100644 index 850cef76c..000000000 --- a/doc/source/netscript/bladeburnerapi/getBlackOpRank.rst +++ /dev/null @@ -1,14 +0,0 @@ -getBlackOpRank() Netscript Function -==================================== - -.. js:function:: getBlackOpRank(name) - - :RAM cost: 2 GB - :param string name: name of the BlackOp. Must be an exact match. - :returns: Rank required to complete this BlackOp. -1 for invalid BlackOp. - - Example: - - .. code-block:: javascript - - bladeburner.getBlackOpRank("Operation Typhoon"); // returns: 2500 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getBonusTime.rst b/doc/source/netscript/bladeburnerapi/getBonusTime.rst deleted file mode 100644 index fc693a68f..000000000 --- a/doc/source/netscript/bladeburnerapi/getBonusTime.rst +++ /dev/null @@ -1,21 +0,0 @@ -getBonusTime() Netscript Function -================================= - -.. js:function:: getBonusTime() - - :RAM cost: 0 GB - :returns: Amount of accumulated "bonus time" (seconds) for the Bladeburner mechanic. - - "Bonus time" is accumulated when the game is offline or if the game is - inactive in the browser. - - "Bonus time" makes the game progress faster, up to 5x the normal speed. - For example, if an action takes 30 seconds to complete but you've accumulated - over 30 seconds in bonus time, then the action will only take 6 seconds - in real life to complete. - - Example: - - .. code-block:: javascript - - bladeburner.getBonusTime(); // returns: 130 diff --git a/doc/source/netscript/bladeburnerapi/getCity.rst b/doc/source/netscript/bladeburnerapi/getCity.rst deleted file mode 100644 index 49a6bd1b9..000000000 --- a/doc/source/netscript/bladeburnerapi/getCity.rst +++ /dev/null @@ -1,13 +0,0 @@ -getCity() Netscript Function -============================ - -.. js:function:: getCity() - - :RAM cost: 4 GB - :returns: City that the player is currently in (for Bladeburner). - - Example: - - .. code-block:: javascript - - bladeburner.getCity(); // returns: "Sector-12" diff --git a/doc/source/netscript/bladeburnerapi/getCityChaos.rst b/doc/source/netscript/bladeburnerapi/getCityChaos.rst deleted file mode 100644 index e17fa7d8b..000000000 --- a/doc/source/netscript/bladeburnerapi/getCityChaos.rst +++ /dev/null @@ -1,14 +0,0 @@ -getCityChaos() Netscript Function -================================= - -.. js:function:: getCityChaos(cityName) - - :RAM cost: 4 GB - :param string cityName: Name of city. Case-sensitive - :returns: Chaos in the specified city, or -1 if an invalid city was specified. - - Example: - - .. code-block:: javascript - - bladeburner.getCityChaos("Sector-12"); // returns: 3800.1 diff --git a/doc/source/netscript/bladeburnerapi/getCityCommunities.rst b/doc/source/netscript/bladeburnerapi/getCityCommunities.rst deleted file mode 100644 index 297c2f9e2..000000000 --- a/doc/source/netscript/bladeburnerapi/getCityCommunities.rst +++ /dev/null @@ -1,15 +0,0 @@ -getCityCommunities() Netscript Function -================================================ - -.. js:function:: getCityCommunities(cityName) - - :RAM cost: 4 GB - :param string cityName: Name of city. Case-sensitive - :returns: Confirmed number of Synthoid communities in the specified city, - or -1 if an invalid city was specified. - - Example: - - .. code-block:: javascript - - bladeburner.getCityCommunities("Sector-12"); // returns: 76 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getCityEstimatedPopulation.rst b/doc/source/netscript/bladeburnerapi/getCityEstimatedPopulation.rst deleted file mode 100644 index bca2c69ed..000000000 --- a/doc/source/netscript/bladeburnerapi/getCityEstimatedPopulation.rst +++ /dev/null @@ -1,15 +0,0 @@ -getCityEstimatedPopulation() Netscript Function -=============================================== - -.. js:function:: getCityEstimatedPopulation(cityName) - - :RAM cost: 4 GB - :param string cityName: Name of city. Case-sensitive - :returns: Estimated number of Synthoids in the specified city, or -1 if an - invalid city was specified. - - Example: - - .. code-block:: javascript - - bladeburner.getCityEstimatedPopulation("Sector-12"); // returns: 1240000 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getContractNames.rst b/doc/source/netscript/bladeburnerapi/getContractNames.rst deleted file mode 100644 index 612d8e6a4..000000000 --- a/doc/source/netscript/bladeburnerapi/getContractNames.rst +++ /dev/null @@ -1,13 +0,0 @@ -getContractNames() Netscript Function -===================================== - -.. js:function:: getContractNames() - - :RAM cost: 0.4 GB - :returns: Array of strings containing the names of all Bladeburner contracts. - - Example: - - .. code-block:: javascript - - bladeburner.getContractNames(); // returns: ["Tracking"] \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getCurrentAction.rst b/doc/source/netscript/bladeburnerapi/getCurrentAction.rst deleted file mode 100644 index ef4821bbf..000000000 --- a/doc/source/netscript/bladeburnerapi/getCurrentAction.rst +++ /dev/null @@ -1,25 +0,0 @@ -getCurrentAction() Netscript Function -===================================== - -.. js:function:: getCurrentAction() - - :RAM cost: 1 GB - :returns: An object that represents the player's current Bladeburner action. - - Result:: - - { - type: Type of Action - name: Name of Action - } - - If the player is not performing an action, the function will return an object - with the 'type' property set to "Idle". - - Example: - - .. code-block:: javascript - - action = bladeburner.getCurrentAction(); - print(action.type); // "Contracts" - print(action.name); // "Tracking" diff --git a/doc/source/netscript/bladeburnerapi/getGeneralActionNames.rst b/doc/source/netscript/bladeburnerapi/getGeneralActionNames.rst deleted file mode 100644 index a853fbd38..000000000 --- a/doc/source/netscript/bladeburnerapi/getGeneralActionNames.rst +++ /dev/null @@ -1,13 +0,0 @@ -getGeneralActionNames() Netscript Function -========================================== - -.. js:function:: getGeneralActionNames() - - :RAM cost: 0.4 GB - :returns: Array of strings containing the names of all general Bladeburner actions. - - Example: - - .. code-block:: javascript - - bladeburner.getGeneralActionNames(); // returns: ["Training"] diff --git a/doc/source/netscript/bladeburnerapi/getOperationNames.rst b/doc/source/netscript/bladeburnerapi/getOperationNames.rst deleted file mode 100644 index dbb4497be..000000000 --- a/doc/source/netscript/bladeburnerapi/getOperationNames.rst +++ /dev/null @@ -1,13 +0,0 @@ -getOperationNames() Netscript Function -====================================== - -.. js:function:: getOperationNames() - - :RAM cost: 0.4 GB - :returns: Array of strings containing the names of all Bladeburner operations. - - Example: - - .. code-block:: javascript - - bladeburner.getOperationNames(); // returns: ["Investigation"] diff --git a/doc/source/netscript/bladeburnerapi/getRank.rst b/doc/source/netscript/bladeburnerapi/getRank.rst deleted file mode 100644 index fec20883c..000000000 --- a/doc/source/netscript/bladeburnerapi/getRank.rst +++ /dev/null @@ -1,13 +0,0 @@ -getRank() Netscript Function -============================ - -.. js:function:: getRank() - - :RAM cost: 4 GB - :returns: Player's Bladeburner Rank. - - Example: - - .. code-block:: javascript - - bladeburner.getRank(); // returns: 87135 diff --git a/doc/source/netscript/bladeburnerapi/getSkillLevel.rst b/doc/source/netscript/bladeburnerapi/getSkillLevel.rst deleted file mode 100644 index 0f116dae1..000000000 --- a/doc/source/netscript/bladeburnerapi/getSkillLevel.rst +++ /dev/null @@ -1,14 +0,0 @@ -getSkillLevel() Netscript Function -================================== - -.. js:function:: getSkillLevel(skillName) - - :RAM cost: 4 GB - :param string skillName: Name of skill. Case-sensitive. - :returns: Level of specified skill, -1 for invalid skills. - - Example: - - .. code-block:: javascript - - bladeburner.getSkillLevel("Overclock"); // returns: 90 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getSkillNames.rst b/doc/source/netscript/bladeburnerapi/getSkillNames.rst deleted file mode 100644 index 70a811fb6..000000000 --- a/doc/source/netscript/bladeburnerapi/getSkillNames.rst +++ /dev/null @@ -1,13 +0,0 @@ -getSkillNames() Netscript Function -================================== - -.. js:function:: getSkillNames() - - :RAM cost: 0.4 GB - :returns: Array of strings containing the names of all Bladeburner skills. - - Example: - - .. code-block:: javascript - - bladeburner.getSkillNames(); // returns: ["Overclock"] diff --git a/doc/source/netscript/bladeburnerapi/getSkillPoints.rst b/doc/source/netscript/bladeburnerapi/getSkillPoints.rst deleted file mode 100644 index 7323cfb07..000000000 --- a/doc/source/netscript/bladeburnerapi/getSkillPoints.rst +++ /dev/null @@ -1,13 +0,0 @@ -getSkillPoints() Netscript Function -=================================== - -.. js:function:: getSkillPoints() - - :RAM cost: 4 GB - :returns: Amount of Bladeburner skill points you have. - - Example: - - .. code-block:: javascript - - bladeburner.getSkillPoints(); // returns: 1630 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/getSkillUpgradeCost.rst b/doc/source/netscript/bladeburnerapi/getSkillUpgradeCost.rst deleted file mode 100644 index 27c509615..000000000 --- a/doc/source/netscript/bladeburnerapi/getSkillUpgradeCost.rst +++ /dev/null @@ -1,14 +0,0 @@ -getSkillUpgradeCost() Netscript Function -======================================== - -.. js:function:: getSkillUpgradeCost(skillName) - - :RAM cost: 4 GB - :param string skillName: Name of skill. Case-sensitive and must be an exact match - :returns: Amount of skill points needed to upgrade the specified skill. -1 for invalid skills. - - Example: - - .. code-block:: javascript - - bladeburner.getSkillUpgradeCost("Overclock"); // returns: 120 diff --git a/doc/source/netscript/bladeburnerapi/getStamina.rst b/doc/source/netscript/bladeburnerapi/getStamina.rst deleted file mode 100644 index 9fbc50ab1..000000000 --- a/doc/source/netscript/bladeburnerapi/getStamina.rst +++ /dev/null @@ -1,14 +0,0 @@ -getStamina() Netscript Function -=============================== - -.. js:function:: getStamina() - - :RAM cost: 4 GB - :returns: Array with two elements [Current stamina, Max stamina] - - Example: - - .. code-block:: javascript - - res = bladeburner.getStamina(); - percentage = res[0] / res[1]; diff --git a/doc/source/netscript/bladeburnerapi/getTeamSize.rst b/doc/source/netscript/bladeburnerapi/getTeamSize.rst deleted file mode 100644 index f0052768d..000000000 --- a/doc/source/netscript/bladeburnerapi/getTeamSize.rst +++ /dev/null @@ -1,19 +0,0 @@ -getTeamSize() Netscript Function -================================ - -.. js:function:: getTeamSize(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: Number of Bladeburner team members you have assigned to the - specified action. - - Setting a team is only applicable for Operations and BlackOps. This function - will return 0 for other action types. - - Example: - - .. code-block:: javascript - - bladeburner.getTeamSize("Operations", "Investigation"); // returns: 7 \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/joinBladeburnerDivision.rst b/doc/source/netscript/bladeburnerapi/joinBladeburnerDivision.rst deleted file mode 100644 index 5274c4e1f..000000000 --- a/doc/source/netscript/bladeburnerapi/joinBladeburnerDivision.rst +++ /dev/null @@ -1,16 +0,0 @@ -joinBladeburnerDivision() Netscript Function -============================================ - -.. js:function:: joinBladeburnerDivision() - - :RAM cost: 4 GB - :returns: ``true`` if you successfully join the Bladeburner division, or if you - are already a member. - - Attempts to join the Bladeburner division. - - Example: - - .. code-block:: javascript - - bladeburner.joinBladeburnerDivision(); // returns: true \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/joinBladeburnerFaction.rst b/doc/source/netscript/bladeburnerapi/joinBladeburnerFaction.rst deleted file mode 100644 index 26c4f40cc..000000000 --- a/doc/source/netscript/bladeburnerapi/joinBladeburnerFaction.rst +++ /dev/null @@ -1,16 +0,0 @@ -joinBladeburnerFaction() Netscript Function -=========================================== - -.. js:function:: joinBladeburnerFaction() - - :RAM cost: 4 GB - :returns: ``true`` if you successfully join the Bladeburner faction, or if - you are already a member. - - Attempts to join the Bladeburner faction. - - Example: - - .. code-block:: javascript - - bladeburner.joinBladeburnerFaction(); // returns: true \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/setActionAutolevel.rst b/doc/source/netscript/bladeburnerapi/setActionAutolevel.rst deleted file mode 100644 index aa42d7af5..000000000 --- a/doc/source/netscript/bladeburnerapi/setActionAutolevel.rst +++ /dev/null @@ -1,17 +0,0 @@ -setActionAutolevel() Netscript Function -======================================= - -.. js:function:: setActionAutolevel(type, name, autoLevel) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :param boolean autoLevel: Whether or not to autolevel this action - - Enable/disable autoleveling for the specified action. - - Example: - - .. code-block:: javascript - - bladeburner.setActionAutolevel("Contracts", "Tracking", true); diff --git a/doc/source/netscript/bladeburnerapi/setActionLevel.rst b/doc/source/netscript/bladeburnerapi/setActionLevel.rst deleted file mode 100644 index 23a274940..000000000 --- a/doc/source/netscript/bladeburnerapi/setActionLevel.rst +++ /dev/null @@ -1,17 +0,0 @@ -setActionLevel() Netscript Function -=================================== - -.. js:function:: setActionLevel(type, name, level) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :param level int: Level to set this action to - - Set the level for the specified action. - - Example: - - .. code-block:: javascript - - bladeburner.setActionLevel("Contracts", "Tracking", 10); diff --git a/doc/source/netscript/bladeburnerapi/setTeamSize.rst b/doc/source/netscript/bladeburnerapi/setTeamSize.rst deleted file mode 100644 index 630d71af0..000000000 --- a/doc/source/netscript/bladeburnerapi/setTeamSize.rst +++ /dev/null @@ -1,18 +0,0 @@ -setTeamSize() Netscript Function -================================ - -.. js:function:: setTeamSize(type, name, size) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :param int size: Number of team members to set. Will be converted using Math.round() - :returns: Team size or -1 for invalid actions. - - Set the team size for the specified Bladeburner action. - - Example: - - .. code-block:: javascript - - bladeburner.setTeamSize("Operations", "Investigation", 7); \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/startAction.rst b/doc/source/netscript/bladeburnerapi/startAction.rst deleted file mode 100644 index c2e7cfc7a..000000000 --- a/doc/source/netscript/bladeburnerapi/startAction.rst +++ /dev/null @@ -1,17 +0,0 @@ -startAction() Netscript Function -================================ - -.. js:function:: startAction(type, name) - - :RAM cost: 4 GB - :param string type: Type of action. See :ref:`bladeburner_action_types` - :param string name: Name of action. Must be an exact match - :returns: ``true`` if the action was started successfully. - - Attempts to start the specified Bladeburner action. - - Example: - - .. code-block:: javascript - - bladeburner.startAction("Contracts", "Tracking"); // returns: true \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/stopBladeburnerAction.rst b/doc/source/netscript/bladeburnerapi/stopBladeburnerAction.rst deleted file mode 100644 index abb86f97e..000000000 --- a/doc/source/netscript/bladeburnerapi/stopBladeburnerAction.rst +++ /dev/null @@ -1,14 +0,0 @@ -stopBladeburnerAction() Netscript Function -========================================== - -.. js:function:: stopBladeburnerAction() - - :RAM cost: 2 GB - - Stops the current Bladeburner action - - Example: - - .. code-block:: javascript - - bladeburner.stopBladeburnerAction(); \ No newline at end of file diff --git a/doc/source/netscript/bladeburnerapi/switchCity.rst b/doc/source/netscript/bladeburnerapi/switchCity.rst deleted file mode 100644 index ead7399dc..000000000 --- a/doc/source/netscript/bladeburnerapi/switchCity.rst +++ /dev/null @@ -1,16 +0,0 @@ -switchCity() Netscript Function -=============================== - -.. js:function:: switchCity(cityName) - - :RAM cost: 4 GB - :param string cityName: Name of city - :returns: ``true`` if successful. - - Attempts to switch to the specified city (for Bladeburner only). - - Example: - - .. code-block:: javascript - - bladeburner.switchCity("Sector-12"); // returns: true diff --git a/doc/source/netscript/bladeburnerapi/upgradeSkill.rst b/doc/source/netscript/bladeburnerapi/upgradeSkill.rst deleted file mode 100644 index b5ceb43eb..000000000 --- a/doc/source/netscript/bladeburnerapi/upgradeSkill.rst +++ /dev/null @@ -1,16 +0,0 @@ -upgradeSkill() Netscript Function -================================= - -.. js:function:: upgradeSkill(skillName) - - :RAM cost: 4 GB - :param string skillName: Name of Skill to be upgraded. Case-sensitive and must be an exact match - :returns: ``true`` if the skill is successfully upgraded. - - Attempts to upgrade the specified Bladeburner skill. - - Example: - - .. code-block:: javascript - - bladeburner.upgradeSkill("Overclock"); // returns: true \ No newline at end of file diff --git a/doc/source/netscript/codingcontractapi/attempt.rst b/doc/source/netscript/codingcontractapi/attempt.rst deleted file mode 100644 index a0d569aec..000000000 --- a/doc/source/netscript/codingcontractapi/attempt.rst +++ /dev/null @@ -1,27 +0,0 @@ -attempt() Netscript Function -============================ - -.. js:function:: attempt(answer, filename[, hostname=current hostname[, opts={}]]) - - :RAM cost: 10 GB - :param answer: Solution for the contract - :param string filename: Filename of the contract - :param string hostname: Hostname of the server containing the contract. - Optional. Defaults to current server if not provided - :param object opts: Optional parameters for configuring function behavior. Properties: - - * returnReward (*boolean*) If truthy, then the function will return a string - that states the contract's reward when it is successfully solved. - :returns: ``true`` if the solution was correct. If the :code:`returnReward` - option is configured, then the function will instead return a - string. If the contract is successfully solved, the string will - contain a description of the contract's reward. Otherwise, it will - be an empty string. - - Attempts to solve the Coding Contract with the provided solution. - - Example: - - .. code-block:: javascript - - codingcontract.attempt("myanswer!", "contract-123.cct", "home"); diff --git a/doc/source/netscript/codingcontractapi/getContractType.rst b/doc/source/netscript/codingcontractapi/getContractType.rst deleted file mode 100644 index 401a981e6..000000000 --- a/doc/source/netscript/codingcontractapi/getContractType.rst +++ /dev/null @@ -1,19 +0,0 @@ -getContractType() Netscript Function -==================================== - -.. js:function:: getContractType(filename[, hostname=current hostname]) - - :RAM cost: 5 GB - :param string filename: Filename of the contract - :param string hostname: Hostname of the server containing the contract. - Optional. Defaults to current server if not provided - :returns: A string with the contract's problem type - - Describes the type of problem posed by the Coding Contract. - (e.g. Find Largest Prime Factor, Total Ways to Sum, etc.) - - Example: - - .. code-block:: javascript - - codingcontract.getContractType("contract-123.cct", "home"); diff --git a/doc/source/netscript/codingcontractapi/getData.rst b/doc/source/netscript/codingcontractapi/getData.rst deleted file mode 100644 index f067674a5..000000000 --- a/doc/source/netscript/codingcontractapi/getData.rst +++ /dev/null @@ -1,23 +0,0 @@ -getData() Netscript Function -============================ - -.. js:function:: getData(filename[, hostname=current hostname]) - - :RAM cost: 5 GB - :param string filename: Filename of the contract - :param string hostname: Hostname of the server containing the contract. - Optional. Defaults to current server if not provided - :returns: The specified contract's data. Different data type depending on - contract type. - - Get the data associated with the specific Coding Contract. Note that this is - not the same as the contract's description; this is just the data that - the contract wants you to act on in order to solve. - - Example: - - .. code-block:: javascript - - data = codingcontract.getData("contract-123.cct", "home"); - answer = solve(data); - codingcontract.attempt(answer, "contract-123.cct", "home"); diff --git a/doc/source/netscript/codingcontractapi/getDescription.rst b/doc/source/netscript/codingcontractapi/getDescription.rst deleted file mode 100644 index c6dc50713..000000000 --- a/doc/source/netscript/codingcontractapi/getDescription.rst +++ /dev/null @@ -1,18 +0,0 @@ -getDescription() Netscript Function -=================================== - -.. js:function:: getDescription(filename[, hostname=current hostname]) - - :RAM cost: 5 GB - :param string filename: Filename of the contract - :param string hostname: Hostname of the server containing the contract. - Optional. Defaults to current server if not provided - :returns: A string with the contract's text description - - Get the full text description for the problem posed by the Coding Contract. - - Example: - - .. code-block:: javascript - - codingcontract.getDescription("contract-123.cct", "home"); diff --git a/doc/source/netscript/codingcontractapi/getNumTriesRemaining.rst b/doc/source/netscript/codingcontractapi/getNumTriesRemaining.rst deleted file mode 100644 index 9f0b469e3..000000000 --- a/doc/source/netscript/codingcontractapi/getNumTriesRemaining.rst +++ /dev/null @@ -1,19 +0,0 @@ -getNumTriesRemaining() Netscript Function -========================================= - -.. js:function:: getNumTriesRemaining(filename[, hostname=current hostname]) - - :RAM cost: 2 GB - :param string filename: Filename of the contract - :param string hostname: Hostname of the server containing the contract. - Optional. Defaults to current server if not provided - :returns: Number indicating how many attempts are remaining - - Get the number of tries remaining on the contract before it - self-destructs. - - Example: - - .. code-block:: javascript - - codingcontract.getNumTriesRemaining("contract-123.cct", "home"); // returns: 5 diff --git a/doc/source/netscript/formulasapi/basic/calculateExp.rst b/doc/source/netscript/formulasapi/basic/calculateExp.rst deleted file mode 100644 index 1c27027fb..000000000 --- a/doc/source/netscript/formulasapi/basic/calculateExp.rst +++ /dev/null @@ -1,25 +0,0 @@ -calculateExp() Netscript Function -================================= - -.. js:function:: calculateExp(skillLevel[, mult]) - - :RAM cost: 0 GB - :param number skillLevel: ``skillLevel`` to convert to exp. - :param number mult: Assume a specific skill multipler (not exp multiplier). - :returns: number of exp required to reach given ``skillLevel`` with that multiplier. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the amount of experience needed to reach the given - ``skillLevel``. - - Examples: - - .. code-block:: javascript - - var player = getPlayer(); - var nextHacking = player.hacking_skill+1; - var nextExp = formulas.basic.calculateExp(nextHacking); - var missingExp = nextExp - player.hacking_exp; - tprint("Missing " + missingExp + " to reach next hacking level"); diff --git a/doc/source/netscript/formulasapi/basic/calculateSkill.rst b/doc/source/netscript/formulasapi/basic/calculateSkill.rst deleted file mode 100644 index 48e157102..000000000 --- a/doc/source/netscript/formulasapi/basic/calculateSkill.rst +++ /dev/null @@ -1,21 +0,0 @@ -calculateSkill() Netscript Function -=================================== - -.. js:function:: calculateSkill(exp[, mult]) - - :RAM cost: 0 GB - :param number exp: ``exp`` to convert to skillLevel. - :param number mult: Assume a specific skill multipler (not exp multiplier). - :returns: skillLevel that ``exp`` would reach with that multiplier. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the skillLevel that the given amount of ``exp`` would reach. - - Examples: - - .. code-block:: javascript - - skillLevel = formulas.basic.calculateSkill(1000); - tprint("1000 exp would reach level " + skillLevel); diff --git a/doc/source/netscript/formulasapi/basic/growPercent.rst b/doc/source/netscript/formulasapi/basic/growPercent.rst deleted file mode 100644 index bbaa39bb1..000000000 --- a/doc/source/netscript/formulasapi/basic/growPercent.rst +++ /dev/null @@ -1,28 +0,0 @@ -growPercent() Netscript Function -================================= - -.. js:function:: growPercent(server, threads, player, cores) - - :RAM cost: 0 GB - :param server server: The server that receives the growth. - :param number threads: The number of thread that would be used. - :param player player: The player. - :param number cores: The amount of cores on the host computer. - :returns: The amount the server's money would be multiplied by with these - parameters. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the amount of growth, as a multiplier, a server - would receive with these parameters. Despite its name, it does not return - a percentage. - - Examples: - - .. code-block:: javascript - - tprint(formulas.basic.growPercent(getServer(), 50, getPlayer())) diff --git a/doc/source/netscript/formulasapi/basic/growTime.rst b/doc/source/netscript/formulasapi/basic/growTime.rst deleted file mode 100644 index ec04ec3c6..000000000 --- a/doc/source/netscript/formulasapi/basic/growTime.rst +++ /dev/null @@ -1,25 +0,0 @@ -growTime() Netscript Function -================================= - -.. js:function:: growTime(server, player) - - :RAM cost: 0 GB - :param server server: The server to grow. - :param player player: The player. - :returns: The time it takes to grow this server. In seconds. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the amount of time it takes to grow a server. - - Examples: - - .. code-block:: javascript - - server = getServer(); - server.hackDifficulty = server.minDifficulty; - tprint(formulas.basic.growTime(server, getPlayer())); diff --git a/doc/source/netscript/formulasapi/basic/hackChance.rst b/doc/source/netscript/formulasapi/basic/hackChance.rst deleted file mode 100644 index 04a617bad..000000000 --- a/doc/source/netscript/formulasapi/basic/hackChance.rst +++ /dev/null @@ -1,25 +0,0 @@ -hackChance() Netscript Function -================================= - -.. js:function:: hackChance(server, player) - - :RAM cost: 0 GB - :param server server: The server to hack. - :param player player: The player. - :returns: The chance to hack that server, between 0 and 1. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the probability to successfully hack a server. - - Examples: - - .. code-block:: javascript - - var server = getServer(); - server.hackDifficulty = server.minDifficulty; - tprint(formulas.basic.hackChance(server, getPlayer())); diff --git a/doc/source/netscript/formulasapi/basic/hackExp.rst b/doc/source/netscript/formulasapi/basic/hackExp.rst deleted file mode 100644 index 38d49b7df..000000000 --- a/doc/source/netscript/formulasapi/basic/hackExp.rst +++ /dev/null @@ -1,23 +0,0 @@ -hackExp() Netscript Function -================================= - -.. js:function:: hackExp(server, player) - - :RAM cost: 0 GB - :param server server: The server to hack. - :param player player: The player. - :returns: The amount of exp that would be acquired if this server were to be hacked. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the amount of exp obtained by hacking a server. - - Examples: - - .. code-block:: javascript - - tprint(formulas.basic.hackExp(getServer(), getPlayer())); diff --git a/doc/source/netscript/formulasapi/basic/hackPercent.rst b/doc/source/netscript/formulasapi/basic/hackPercent.rst deleted file mode 100644 index 2a447c21b..000000000 --- a/doc/source/netscript/formulasapi/basic/hackPercent.rst +++ /dev/null @@ -1,26 +0,0 @@ -hackPercent() Netscript Function -================================= - -.. js:function:: hackPercent(server, player) - - :RAM cost: 0 GB - :param server server: The server to hack. - :param player player: The player. - :returns: The percentage of money hacked from the server's money. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the percentage of money hacked from a server. - Multiply this by thread count to calculate the percentage for more than 1 thread. - - Examples: - - .. code-block:: javascript - - server = getServer(); - server.hackDifficulty = server.minDifficulty; - tprint(formulas.basic.hackPercent(server, getPlayer())); diff --git a/doc/source/netscript/formulasapi/basic/hackTime.rst b/doc/source/netscript/formulasapi/basic/hackTime.rst deleted file mode 100644 index 64e7fa8c1..000000000 --- a/doc/source/netscript/formulasapi/basic/hackTime.rst +++ /dev/null @@ -1,25 +0,0 @@ -hackTime() Netscript Function -================================= - -.. js:function:: hackTime(server, player) - - :RAM cost: 0 GB - :param server server: The server to hack. - :param player player: The player. - :returns: The time it takes to hack this server. In seconds. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the amount of time it takes to hack a server. - - Examples: - - .. code-block:: javascript - - server = getServer(); - server.hackDifficulty = server.minDifficulty; - tprint(formulas.basic.hackTime(server, getPlayer())); diff --git a/doc/source/netscript/formulasapi/basic/weakenTime.rst b/doc/source/netscript/formulasapi/basic/weakenTime.rst deleted file mode 100644 index 4e9f0276f..000000000 --- a/doc/source/netscript/formulasapi/basic/weakenTime.rst +++ /dev/null @@ -1,25 +0,0 @@ -weakenTime() Netscript Function -================================= - -.. js:function:: weakenTime(server, player) - - :RAM cost: 0 GB - :param server server: The server to weaken. - :param player player: The player. - :returns: The time it takes to weaken this server. In seconds. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Server can be acquired with the :doc:`getServer<../../advancedfunctions/getServer>` function. - Player can be acquired with the :doc:`getPlayer<../../basicfunctions/getPlayer>` function. - - This function calculates the amount of time it takes to weaken a server. - - Examples: - - .. code-block:: javascript - - server = getServer(); - server.hackDifficulty = server.minDifficulty; - tprint(formulas.basic.weakenTime(server, getPlayer())); diff --git a/doc/source/netscript/formulasapi/hacknetNodes/constants.rst b/doc/source/netscript/formulasapi/hacknetNodes/constants.rst deleted file mode 100644 index d13026f32..000000000 --- a/doc/source/netscript/formulasapi/hacknetNodes/constants.rst +++ /dev/null @@ -1,33 +0,0 @@ -constants() Netscript Function -============================== - -.. js:function:: constants() - - :RAM cost: 0 GB - :returns: A structure with various constants related to hacknet nodes. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - Returns an object with the following properties:: - - { - MoneyGainPerLevel: Multiplied by the node's level to get the node's base income - BaseCost: A multiplier used when buying new nodes or upgrading levels - LevelBaseCost: A multiplier used when upgrading levels - RamBaseCost: A multiplier used when upgrading RAM - CoreBaseCost: A multiplier used when buying additional cores - PurchaseNextMult: The root of an exponent used when buying new nodes - UpgradeLevelMult: The root of an exponent used when upgrading levels - UpgradeRamMult: The root of an exponent used when upgrading RAM - UpgradeCoreMult: The root of an exponent used when buying additional cores - MaxLevel: Maximum level a node can have - MaxRam: Maximum RAM a node can have - MaxCores: Maximum number of cores a node can have - } - - Examples: - - .. code-block:: javascript - - tprint("Maximum RAM a hacknet node can have: "+formulas.hacknetNodes.constants().MaxRam+" GB."); diff --git a/doc/source/netscript/formulasapi/hacknetNodes/coreUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetNodes/coreUpgradeCost.rst deleted file mode 100644 index 6f84eb794..000000000 --- a/doc/source/netscript/formulasapi/hacknetNodes/coreUpgradeCost.rst +++ /dev/null @@ -1,21 +0,0 @@ -coreUpgradeCost() Netscript Function -============================================= - -.. js:function:: coreUpgradeCost(startingCores[, extraCores[, costMult]]) - - :RAM cost: 0 GB - :param number startingCores: Number of core at the start the calculation. - :param number extraCores: Extra number of cores you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingCores`` to ``startingCores+extraCores``. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the cost of upgrading cores from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetNodes.coreUpgradeCost(1, 5); // returns: 6355000 diff --git a/doc/source/netscript/formulasapi/hacknetNodes/hacknetNodeCost.rst b/doc/source/netscript/formulasapi/hacknetNodes/hacknetNodeCost.rst deleted file mode 100644 index 71a9b9523..000000000 --- a/doc/source/netscript/formulasapi/hacknetNodes/hacknetNodeCost.rst +++ /dev/null @@ -1,20 +0,0 @@ -hacknetNodeCost() Netscript Function -============================================= - -.. js:function:: hacknetNodeCost(nodeN[, costMult]]) - - :RAM cost: 0 GB - :param number nodeN: Number of the new node. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to buy your ``nodeN`` th node. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the cost purchasing a hacknet node. - - Examples: - - .. code-block:: javascript - - formulas.hacknetNodes.hacknetNodeCost(2); // returns: 1800 diff --git a/doc/source/netscript/formulasapi/hacknetNodes/levelUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetNodes/levelUpgradeCost.rst deleted file mode 100644 index a700a00c3..000000000 --- a/doc/source/netscript/formulasapi/hacknetNodes/levelUpgradeCost.rst +++ /dev/null @@ -1,21 +0,0 @@ -levelUpgradeCost() Netscript Function -============================================== - -.. js:function:: levelUpgradeCost(startingLevel[, extraLevels[, costMult]]) - - :RAM cost: 0 GB - :param number startingLevel: Number of level at the start the calculation. - :param number extraLevels: Extra number of levels you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingLevel`` to ``startingLevel+extraLevels``. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the cost of upgrading levels from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetNodes.levelUpgradeCost(1, 5); // returns: 2816 diff --git a/doc/source/netscript/formulasapi/hacknetNodes/moneyGainRate.rst b/doc/source/netscript/formulasapi/hacknetNodes/moneyGainRate.rst deleted file mode 100644 index 05e5b390c..000000000 --- a/doc/source/netscript/formulasapi/hacknetNodes/moneyGainRate.rst +++ /dev/null @@ -1,25 +0,0 @@ -moneyGainRate() Netscript Function -=========================================== - -.. js:function:: moneyGainRate(level, ram, core[, mult]) - - :RAM cost: 0 GB - :param number level: level of the node. - :param number ram: ram of the node. - :param number core: cores of the node. - :returns: Money per second that a node with those stats would gain per second. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the money rate of a node with the given stats. - - Examples: - - .. code-block:: javascript - - node = hacknet.getNodeStats(1); - currentRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram, node.cores); - levelRate = formulas.hacknetNodes.moneyGainRate(node.level+1, node.ram, node.cores); - ramRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram*2, node.cores); - coresRate = formulas.hacknetNodes.moneyGainRate(node.level, node.ram, node.cores+1); diff --git a/doc/source/netscript/formulasapi/hacknetNodes/ramUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetNodes/ramUpgradeCost.rst deleted file mode 100644 index a7e517acf..000000000 --- a/doc/source/netscript/formulasapi/hacknetNodes/ramUpgradeCost.rst +++ /dev/null @@ -1,23 +0,0 @@ -ramUpgradeCost() Netscript Function -============================================ - -.. js:function:: ramUpgradeCost(startingRam[, extraRamLevels[, costMult]]) - - :RAM cost: 0 GB - :param number startingRam: Amount of RAM at the start the calculation. - :param number extraRamLevels: Extra number of levels you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingRam`` to ``startingRam+extraRamLevels``. - - ..note:: ``startingRam`` is the actual amount of ram, not the amount of levels of ram. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. - - This function calculates the cost of upgrading levels from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetNodes.ramUpgradeCost(1, 5); // returns: 2095000 diff --git a/doc/source/netscript/formulasapi/hacknetServers/cacheUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetServers/cacheUpgradeCost.rst deleted file mode 100644 index ebf124a3c..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/cacheUpgradeCost.rst +++ /dev/null @@ -1,22 +0,0 @@ -cacheUpgradeCost() Netscript Function -============================================== - -.. js:function:: cacheUpgradeCost(startingCache[, extraCacheLevels[, costMult]]) - - :RAM cost: 0 GB - :param number startingCache: Cache level at the start the calculation. - :param number extraCacheLevels: Extra number of cache level you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingLevel`` to ``startingLevel+extraLevels``. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates the cost of upgrading cache from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetServers.cacheUpgradeCost(1, 5); // returns: 243170000 diff --git a/doc/source/netscript/formulasapi/hacknetServers/constants.rst b/doc/source/netscript/formulasapi/hacknetServers/constants.rst deleted file mode 100644 index 490ce8041..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/constants.rst +++ /dev/null @@ -1,37 +0,0 @@ -constants() Netscript Function -============================================= - -.. js:function:: constants() - - :RAM cost: 0 GB - :returns: A structure with various constants related to hacknet servers. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - Returns an object with the following properties:: - - { - HashesPerLevel: Multiplied by the server's level to get the server's base income - BaseCost: A multiplier used when buying new nodes or upgrading levels - RamBaseCost: A multiplier used when upgrading RAM - CoreBaseCost: A multiplier used when buying additional cores - CacheBaseCost: A multiplier used when upgrading cache - PurchaseMult: The root of an exponent used when buying new servers - UpgradeLevelMult: The root of an exponent used when upgrading levels - UpgradeRamMult: The root of an exponent used when upgrading RAM - UpgradeCoreMult: The root of an exponent used when buying additional cores - UpgradeCacheMult: The root of an exponent used when upgrading cache - MaxServers: Maximum number of hacknet servers you can own - MaxLevel: Maximum level a server can have - MaxRam: Maximum RAM a server can have - MaxCores: Maximum number of cores a server can have - MaxCache: Maximum cache a server can have - } - - Examples: - - .. code-block:: javascript - - tprint("Maximum RAM a hacknet server can have: "+formulas.hacknetServers.constants().MaxRam+" GB"); diff --git a/doc/source/netscript/formulasapi/hacknetServers/coreUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetServers/coreUpgradeCost.rst deleted file mode 100644 index 26bc6ed2f..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/coreUpgradeCost.rst +++ /dev/null @@ -1,22 +0,0 @@ -coreUpgradeCost() Netscript Function -============================================= - -.. js:function:: coreUpgradeCost(startingCores[, extraCores[, costMult]]) - - :RAM cost: 0 GB - :param number startingCores: Number of core at the start the calculation. - :param number extraCores: Extra number of cores you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingCores`` to ``startingCores+extraCores``. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates the cost of upgrading cores from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetServers.coreUpgradeCost(1, 5); // returns: 12015000 diff --git a/doc/source/netscript/formulasapi/hacknetServers/hacknetServerCost.rst b/doc/source/netscript/formulasapi/hacknetServers/hacknetServerCost.rst deleted file mode 100644 index 223678b53..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/hacknetServerCost.rst +++ /dev/null @@ -1,21 +0,0 @@ -hacknetServerCost() Netscript Function -=============================================== - -.. js:function:: hacknetServerCost(serverN[, costMult]]) - - :RAM cost: 0 GB - :param number serverN: Number of the new node. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to buy your ``serverN`` th node. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates the cost purchasing a hacknet node. - - Examples: - - .. code-block:: javascript - - formulas.hacknetNodes.hacknetServerCost(2); // returns: 1800000 diff --git a/doc/source/netscript/formulasapi/hacknetServers/hashGainRate.rst b/doc/source/netscript/formulasapi/hacknetServers/hashGainRate.rst deleted file mode 100644 index 18fbe2254..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/hashGainRate.rst +++ /dev/null @@ -1,27 +0,0 @@ -hashGainRate() Netscript Function -========================================== - -.. js:function:: hashGainRate(level, ramUsed, maxRam, core[, mult]) - - :RAM cost: 0 GB - :param number level: level of the server. - :param number ramUsed: ram used on the server. - :param number maxRam: max ram of the server. - :param number core: cores of the server. - :returns: Hashes per second that a server with those stats would gain. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates the hash rate of a server with the given stats. - - Examples: - - .. code-block:: javascript - - server = hacknet.getNodeStats(1); - currentRate = formulas.hacknetServers.hashGainRate(server.level, 0, server.ram, server.cores); - levelRate = formulas.hacknetServers.hashGainRate(server.level+1, 0, server.ram, server.cores); - ramRate = formulas.hacknetServers.hashGainRate(server.level, 0, server.ram*2, server.cores); - coresRate = formulas.hacknetServers.hashGainRate(server.level, 0, server.ram, server.cores+1); diff --git a/doc/source/netscript/formulasapi/hacknetServers/hashUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetServers/hashUpgradeCost.rst deleted file mode 100644 index e7e0bcbf3..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/hashUpgradeCost.rst +++ /dev/null @@ -1,21 +0,0 @@ -hashUpgradeCost() Netscript Function -============================================= - -.. js:function:: hashUpgradeCost(upgName, level) - - :RAM cost: 0 GB - :param string upgName: Name of the Hash upgrade. - :param number level: Level of the upgrade. - :returns: Amount of Hash. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates amount of Hash require to buy level ``level`` of upgrade ``upgName``. - - Examples: - - .. code-block:: javascript - - formulas.hacknetServers.hashUpgradeCost("Increase Maximum Money", 5); // returns: 250 diff --git a/doc/source/netscript/formulasapi/hacknetServers/levelUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetServers/levelUpgradeCost.rst deleted file mode 100644 index 99893c3c1..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/levelUpgradeCost.rst +++ /dev/null @@ -1,22 +0,0 @@ -levelUpgradeCost() Netscript Function -============================================= - -.. js:function:: levelUpgradeCost(startingLevel[, extraLevels[, costMult]]) - - :RAM cost: 0 GB - :param number startingLevel: Number of level at the start the calculation. - :param number extraLevels: Extra number of levels you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingLevel`` to ``startingLevel+extraLevels``. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates the cost of upgrading levels from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetServers.levelUpgradeCost(1, 5); // returns: 2792000 diff --git a/doc/source/netscript/formulasapi/hacknetServers/ramUpgradeCost.rst b/doc/source/netscript/formulasapi/hacknetServers/ramUpgradeCost.rst deleted file mode 100644 index 0da238289..000000000 --- a/doc/source/netscript/formulasapi/hacknetServers/ramUpgradeCost.rst +++ /dev/null @@ -1,24 +0,0 @@ -ramUpgradeCost() Netscript Function -============================================= - -.. js:function:: ramUpgradeCost(startingRam[, extraRamLevels[, costMult]]) - - :RAM cost: 0 GB - :param number startingRam: Amount of RAM at the start the calculation. - :param number extraRamLevels: Extra number of levels you want to buy. Default to ``1``. - :param number costMult: Aug multiplier that reduces cost. Defaults to ``1``. - :returns: Money required to go from ``startingRam`` to ``startingRam+extraRamLevels``. - - ..note:: ``startingRam`` is the actual amount of ram, not the amount of levels of ram. - - If you are not in BitNode-5, then you must have Source-File 5-1 in order to - use this function. In addition, if you are not in BitNode-9, then you must - have Source-File 9-1 in order to use this function. - - This function calculates the cost of upgrading levels from any level to any level. - - Examples: - - .. code-block:: javascript - - formulas.hacknetServers.ramUpgradeCost(1, 5); // returns: 15810000 diff --git a/doc/source/netscript/gangapi/ascendMember.rst b/doc/source/netscript/gangapi/ascendMember.rst deleted file mode 100644 index d925c373c..000000000 --- a/doc/source/netscript/gangapi/ascendMember.rst +++ /dev/null @@ -1,22 +0,0 @@ -ascendMember() Netscript Function -================================= - -.. js:function:: ascendMember(name) - - :RAM cost: 4 GB - :param string name: Name of member to ascend - :returns: An object with info about the ascension results. - - The object has the following structure:: - - { - respect: Amount of respect lost from ascending - hack: Hacking multiplier gained from ascending. Decimal form - str: Strength multiplier gained from ascending. Decimal form - def: Defense multiplier gained from ascending. Decimal form - dex: Dexterity multiplier gained from ascending. Decimal form - agi: Agility multiplier gained from ascending. Decimal form - cha: Charisma multiplier gained from ascending. Decimal form - } - - Ascend the specified Gang Member. \ No newline at end of file diff --git a/doc/source/netscript/gangapi/canRecruitMember.rst b/doc/source/netscript/gangapi/canRecruitMember.rst deleted file mode 100644 index a4026ef3f..000000000 --- a/doc/source/netscript/gangapi/canRecruitMember.rst +++ /dev/null @@ -1,7 +0,0 @@ -canRecruitMember() Netscript Function -===================================== - -.. js:function:: canRecruitMember() - - :RAM cost: 1 GB - :returns: ``true`` if a member can be recruited. \ No newline at end of file diff --git a/doc/source/netscript/gangapi/createGang.rst b/doc/source/netscript/gangapi/createGang.rst deleted file mode 100644 index 2e0365484..000000000 --- a/doc/source/netscript/gangapi/createGang.rst +++ /dev/null @@ -1,12 +0,0 @@ -createGang() Netscript Function -====================================== - -.. js:function:: createGang(faction) - - :RAM cost: 1 GB - :param string faction: Name of faction - :returns: ``true`` if a Gang was created with that faction. - - Creates a Gang with that faction. You need to have access to Gangs, the - faction must be one of the approved gang factions, and you must be a member - of that faction for the creation to be successful. diff --git a/doc/source/netscript/gangapi/getBonusTime.rst b/doc/source/netscript/gangapi/getBonusTime.rst deleted file mode 100644 index 772b19845..000000000 --- a/doc/source/netscript/gangapi/getBonusTime.rst +++ /dev/null @@ -1,13 +0,0 @@ -getBonusTime() Netscript Function -================================= - -.. js:function:: getBonusTime() - - :RAM cost: 0 GB - :returns: Bonus time for the Gang mechanic in seconds - - "Bonus time" is accumulated when the game is offline or if the game is - inactive in the browser. - - "Bonus time" makes the game progress faster, up to 10x the normal speed. - diff --git a/doc/source/netscript/gangapi/getChanceToWinClash.rst b/doc/source/netscript/gangapi/getChanceToWinClash.rst deleted file mode 100644 index db3cae7b7..000000000 --- a/doc/source/netscript/gangapi/getChanceToWinClash.rst +++ /dev/null @@ -1,9 +0,0 @@ -getChanceToWinClash() Netscript Function -======================================== - -.. js:function:: getChanceToWinClash(gangName) - - :RAM cost: 4 GB - :param string gangName: Target gang - :returns: Chance you have to win a clash with the specified gang. The chance - is returned in decimal form. diff --git a/doc/source/netscript/gangapi/getEquipmentCost.rst b/doc/source/netscript/gangapi/getEquipmentCost.rst deleted file mode 100644 index 24f0aa237..000000000 --- a/doc/source/netscript/gangapi/getEquipmentCost.rst +++ /dev/null @@ -1,12 +0,0 @@ -getEquipmentCost() Netscript Function -===================================== - -.. js:function:: getEquipmentCost(equipName) - - :RAM cost: 2 GB - :param string equipName: Name of equipment - :returns: Cost to purchase the specified Equipment/Augmentation (number). - Infinity for invalid arguments. - - Get the amount of money it takes to purchase a piece of Equipment or an Augmentation. - If an invalid Equipment/Augmentation is specified, this function will return Infinity. \ No newline at end of file diff --git a/doc/source/netscript/gangapi/getEquipmentNames.rst b/doc/source/netscript/gangapi/getEquipmentNames.rst deleted file mode 100644 index 9a1ff8e2b..000000000 --- a/doc/source/netscript/gangapi/getEquipmentNames.rst +++ /dev/null @@ -1,11 +0,0 @@ -getEquipmentNames() Netscript Function -====================================== - -.. js:function:: getEquipmentNames() - - :RAM cost: 1 GB - :returns: Array of strings of the names of all Equpiment/Augmentations - - Get the name of all possible equipment/upgrades you can purchase for your - Gang Members. This includes Augmentations. - diff --git a/doc/source/netscript/gangapi/getEquipmentStats.rst b/doc/source/netscript/gangapi/getEquipmentStats.rst deleted file mode 100644 index 1b2c55339..000000000 --- a/doc/source/netscript/gangapi/getEquipmentStats.rst +++ /dev/null @@ -1,15 +0,0 @@ -getEquipmentStats() Netscript Function -====================================== - -.. js:function:: getEquipmentStats(equipName) - - :RAM cost: 2 GB - :param string equipName: Name of equipment - :returns: A dictionary containing the stats of the equipment. - - Get the specified equipment stats.:: - - { - "str":1.04, - "def":1.04 - } diff --git a/doc/source/netscript/gangapi/getEquipmentType.rst b/doc/source/netscript/gangapi/getEquipmentType.rst deleted file mode 100644 index bebd6bdb0..000000000 --- a/doc/source/netscript/gangapi/getEquipmentType.rst +++ /dev/null @@ -1,16 +0,0 @@ -getEquipmentType() Netscript Function -===================================== - -.. js:function:: getEquipmentType(equipName) - - :RAM cost: 2 GB - :param string equipName: Name of equipment - :returns: A string stating the type of the equipment - - Get the specified equipment type, which can be one of the following: - - * Weapon - * Armor - * Vehicle - * Rootkit - * Augmentation diff --git a/doc/source/netscript/gangapi/getGangInformation.rst b/doc/source/netscript/gangapi/getGangInformation.rst deleted file mode 100644 index 7cad54aad..000000000 --- a/doc/source/netscript/gangapi/getGangInformation.rst +++ /dev/null @@ -1,24 +0,0 @@ -getGangInformation() Netscript Function -======================================== - -.. js:function:: getGangInformation() - - :RAM cost: 2 GB - :returns: An object with the gang information. - - The object has the following structure:: - - { - faction: Name of faction that the gang belongs to ("Slum Snakes", etc.) - isHacking: Boolean indicating whether or not its a hacking gang - moneyGainRate: Money earned per second - power: Gang's power for territory warfare - respect: Gang's respect - respectGainRate: Respect earned per second - territory: Amount of territory held. Returned in decimal form, not percentage - territoryClashChance: Clash chance. Returned in decimal form, not percentage - wantedLevel: Gang's wanted level - wantedLevelGainRate: Wanted level gained/lost per second (negative for losses) - } - - Get general information about the gang \ No newline at end of file diff --git a/doc/source/netscript/gangapi/getMemberInformation.rst b/doc/source/netscript/gangapi/getMemberInformation.rst deleted file mode 100644 index 4743ef868..000000000 --- a/doc/source/netscript/gangapi/getMemberInformation.rst +++ /dev/null @@ -1,56 +0,0 @@ -getMemberInformation() Netscript Function -========================================= - -.. js:function:: getMemberInformation(name) - - :RAM cost: 2 GB - :param string name: Name of member - :returns: An object with the gang member information. - - The object has the following structure:: - - { - name: Name of this member. - task: Name of currently assigned task. - earnedRespect: Total amount of respect earned by this member. - - hack: Hacking stat - str: Strength stat - def: Defense stat - dex: Dexterity stat - agi: Agility stat - cha: Charisma stat - - hack_exp: Hacking experience - str_exp: Strength experience - def_exp: Defense experience - dex_exp: Dexterity experience - agi_exp: Agility experience - cha_exp: Charisma experience - - hack_mult: Hacking multiplier from equipment. Decimal form - str_mult: Strength multiplier from equipment. Decimal form - def_mult: Defense multiplier from equipment. Decimal form - dex_mult: Dexterity multiplier from equipment. Decimal form - agi_mult: Agility multiplier from equipment. Decimal form - cha_mult: Charisma multiplier from equipment. Decimal form - - hack_asc_mult: Hacking multiplier from ascension. Decimal form - str_asc_mult: Strength multiplier from ascension. Decimal form - def_asc_mult: Defense multiplier from ascension. Decimal form - dex_asc_mult: Dexterity multiplier from ascension. Decimal form - agi_asc_mult: Agility multiplier from ascension. Decimal form - cha_asc_mult: Charisma multiplier from ascension. Decimal form - - hack_asc_points: Hacking ascension points. - str_asc_points: Strength ascension points. - def_asc_points: Defense ascension points. - dex_asc_points: Dexterity ascension points. - agi_asc_points: Agility ascension points. - cha_asc_points: Charisma ascension points. - - upgrades: Array of names of all owned Non-Augmentation Equipment - augmentations: Array of names of all owned Augmentations - } - - Get stat and equipment-related information about a Gang Member \ No newline at end of file diff --git a/doc/source/netscript/gangapi/getMemberNames.rst b/doc/source/netscript/gangapi/getMemberNames.rst deleted file mode 100644 index ff7ac8d6d..000000000 --- a/doc/source/netscript/gangapi/getMemberNames.rst +++ /dev/null @@ -1,9 +0,0 @@ -getMemberNames() Netscript Function -=================================== - -.. js:function:: getMemberNames() - - :RAM cost: 1 GB - :returns: An array of the names of all Gang members as strings - - Get the names of all Gang members \ No newline at end of file diff --git a/doc/source/netscript/gangapi/getOtherGangInformation.rst b/doc/source/netscript/gangapi/getOtherGangInformation.rst deleted file mode 100644 index 55fb99605..000000000 --- a/doc/source/netscript/gangapi/getOtherGangInformation.rst +++ /dev/null @@ -1,27 +0,0 @@ -getOtherGangInformation() Netscript Function -============================================ - -.. js:function:: getOtherGangInformation() - - :RAM cost: 2 GB - :returns: An object with information about all gangs - - The object has the following structure:: - - { - "Slum Snakes" : { - power: Slum Snakes' power - territory: Slum Snakes' territory, in decimal form - }, - "Tetrads" : { - power: ... - territory: ... - }, - "The Syndicate" : { - power: ... - territory: ... - }, - ... (for all six gangs) - } - - Get territory and power information about all gangs \ No newline at end of file diff --git a/doc/source/netscript/gangapi/getTaskNames.rst b/doc/source/netscript/gangapi/getTaskNames.rst deleted file mode 100644 index 8749ea3e1..000000000 --- a/doc/source/netscript/gangapi/getTaskNames.rst +++ /dev/null @@ -1,9 +0,0 @@ -getTaskNames() Netscript Function -================================= - -.. js:function:: getTaskNames() - - :RAM cost: 1 GB - :returns: Array of strings of all task names - - Get the name of all valid tasks that Gang members can be assigned to \ No newline at end of file diff --git a/doc/source/netscript/gangapi/getTaskStats.rst b/doc/source/netscript/gangapi/getTaskStats.rst deleted file mode 100644 index 14eb71704..000000000 --- a/doc/source/netscript/gangapi/getTaskStats.rst +++ /dev/null @@ -1,39 +0,0 @@ -getTaskStats() Netscript Function -====================================== - -.. js:function:: getTaskStats(taskName) - - :RAM cost: 1 GB - :param string name: Name of the task. - :returns: Detailed stats of a task. - - Examples: - - .. code-block:: javascript - - { - name: Terrorism, - desc: "Assign this gang member to commit acts of terrorism - - Greatly increases respect - Greatly increases wanted level - Scales heavily with territory", - isHacking: false, - isCombat: true, - baseRespect: 0.01, - baseWanted: 6, - baseMoney: 0, - hackWeight: 20, - strWeight: 20, - defWeight: 20, - dexWeight: 20, - agiWeight: 0, - chaWeight: 20, - difficulty: 36, - territory: { - money: 1, - respect: 2, - wanted: 2 - } - } - - Get the stats of a gang task stats. This is typically used to evaluate - which action should be executed next. \ No newline at end of file diff --git a/doc/source/netscript/gangapi/inGang.rst b/doc/source/netscript/gangapi/inGang.rst deleted file mode 100644 index 7813b4d9f..000000000 --- a/doc/source/netscript/gangapi/inGang.rst +++ /dev/null @@ -1,7 +0,0 @@ -inGang() Netscript Function -====================================== - -.. js:function:: inGang() - - :RAM cost: 1 GB - :returns: ``true`` if the player is already in a gang. diff --git a/doc/source/netscript/gangapi/purchaseEquipment.rst b/doc/source/netscript/gangapi/purchaseEquipment.rst deleted file mode 100644 index cffec4fc6..000000000 --- a/doc/source/netscript/gangapi/purchaseEquipment.rst +++ /dev/null @@ -1,12 +0,0 @@ -purchaseEquipment() Netscript Function -====================================== - -.. js:function:: purchaseEquipment(memberName, equipName) - - :RAM cost: 4 GB - :param string memberName: Name of Gang member to purchase the equipment for - :param string equipName: Name of Equipment/Augmentation to purchase - :returns: ``true`` if the equipment was purchased. - - Attempt to purchase the specified Equipment/Augmentation for the specified - Gang member. diff --git a/doc/source/netscript/gangapi/recruitMember.rst b/doc/source/netscript/gangapi/recruitMember.rst deleted file mode 100644 index eb144364d..000000000 --- a/doc/source/netscript/gangapi/recruitMember.rst +++ /dev/null @@ -1,15 +0,0 @@ -recruitMember() Netscript Function -================================== - -.. js:function:: recruitMember(name) - - :RAM cost: 2 GB - :param string name: Name of member to recruit - :returns: True if the member was successfully recruited. False otherwise - - Attempt to recruit a new gang member. - - Possible reasons for failure: - - * Cannot currently recruit a new member - * There already exists a member with the specified name diff --git a/doc/source/netscript/gangapi/setMemberTask.rst b/doc/source/netscript/gangapi/setMemberTask.rst deleted file mode 100644 index 541431640..000000000 --- a/doc/source/netscript/gangapi/setMemberTask.rst +++ /dev/null @@ -1,13 +0,0 @@ -setMemberTask() Netscript Function -================================== - -.. js:function:: setMemberTask(memberName, taskName) - - :RAM cost: 2 GB - :param string memberName: Name of Gang member to assign - :param string taskName: Task to assign - :returns: True if the Gang Member was successfully assigned to the task. False otherwise - - Attempts to assign the specified Gang Member to the specified task. - If an invalid task is specified, the Gang member will be set to idle ("Unassigned") - diff --git a/doc/source/netscript/gangapi/setTerritoryWarfare.rst b/doc/source/netscript/gangapi/setTerritoryWarfare.rst deleted file mode 100644 index 573b06b85..000000000 --- a/doc/source/netscript/gangapi/setTerritoryWarfare.rst +++ /dev/null @@ -1,9 +0,0 @@ -setTerritoryWarfare() Netscript Function -======================================== - -.. js:function:: setTerritoryWarfare(engage) - - :RAM cost: 2 GB - :param bool engage: Whether or not to engage in territory warfare - - Set whether or not the gang should engage in territory warfare diff --git a/doc/source/netscript/hacknetnodeapi/getCacheUpgradeCost.rst b/doc/source/netscript/hacknetnodeapi/getCacheUpgradeCost.rst deleted file mode 100644 index aa6c3f6d8..000000000 --- a/doc/source/netscript/hacknetnodeapi/getCacheUpgradeCost.rst +++ /dev/null @@ -1,17 +0,0 @@ -getCacheUpgradeCost() Netscript Function -======================================== - -.. warning:: This page contains spoilers for the game - -.. js:function:: getCacheUpgradeCost(i, n) - - :RAM cost: 0 GB - :param number i: Index of Hacknet Node. :ref:`See here for details ` - :param number n: Number of times to upgrade cache. Must be positive. Rounded to nearest integer - :return: Cost of upgrading the cache level of the specified Hacknet Server by ``n``. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version of - a Hacknet Node). - - If an invalid value for ``n`` is provided, then this function returns ``0``. If the - specified Hacknet Server is already at the max cache level, then ``Infinity`` is returned. diff --git a/doc/source/netscript/hacknetnodeapi/getHashUpgradeLevel.rst b/doc/source/netscript/hacknetnodeapi/getHashUpgradeLevel.rst deleted file mode 100644 index 268492a35..000000000 --- a/doc/source/netscript/hacknetnodeapi/getHashUpgradeLevel.rst +++ /dev/null @@ -1,18 +0,0 @@ -getHashUpgradeLevel() Netscript Function -======================================== - -.. js:function:: getHashUpgradeLevel(upgName) - - :RAM cost: 0 GB - :param string upgName: Name of upgrade to spend hashes on. Must be an exact match. - :returns: level of the upgrade. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version - of a Hacknet Node). - - Example: - - .. code:: javascript - - hacknet.getHashUpgradeLevel("Sell for Money"); // returns: 5 - // "Sell for Money" was bought 5 times. diff --git a/doc/source/netscript/hacknetnodeapi/getStudyMult.rst b/doc/source/netscript/hacknetnodeapi/getStudyMult.rst deleted file mode 100644 index a2dbb0974..000000000 --- a/doc/source/netscript/hacknetnodeapi/getStudyMult.rst +++ /dev/null @@ -1,13 +0,0 @@ -getStudyMult() Netscript Function -================================= - -.. js:function:: getStudyMult() - - :RAM cost: 0 GB - :returns: The multiplier to studying that hash upgrades provide to the player. - - Example: - - .. code:: javascript - - hacknet.getStudyMult(); // return: 1.4 \ No newline at end of file diff --git a/doc/source/netscript/hacknetnodeapi/getTrainingMult.rst b/doc/source/netscript/hacknetnodeapi/getTrainingMult.rst deleted file mode 100644 index 643566cee..000000000 --- a/doc/source/netscript/hacknetnodeapi/getTrainingMult.rst +++ /dev/null @@ -1,13 +0,0 @@ -getTrainingMult() Netscript Function -=================================== - -.. js:function:: getTrainingMult() - - :RAM cost: 0 GB - :returns: The multiplier to training that hash upgrades provide to the player. - - Example: - - .. code:: javascript - - hacknet.getTrainingMult(); // return: 1.4 \ No newline at end of file diff --git a/doc/source/netscript/hacknetnodeapi/hashCapacity.rst b/doc/source/netscript/hacknetnodeapi/hashCapacity.rst deleted file mode 100644 index 956869b5b..000000000 --- a/doc/source/netscript/hacknetnodeapi/hashCapacity.rst +++ /dev/null @@ -1,12 +0,0 @@ -hashCapacity() Netscript Function -================================= - -.. warning:: This page contains spoilers for the game - -.. js:function:: hashCapacity() - - :RAM cost: 0 GB - :returns: The players maximum hash capacity. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version of - a Hacknet Node). diff --git a/doc/source/netscript/hacknetnodeapi/hashCost.rst b/doc/source/netscript/hacknetnodeapi/hashCost.rst deleted file mode 100644 index fc5f7b5d4..000000000 --- a/doc/source/netscript/hacknetnodeapi/hashCost.rst +++ /dev/null @@ -1,23 +0,0 @@ -hashCost() Netscript Function -============================= - -.. warning:: This page contains spoilers for the game - -.. js:function:: hashCost(upgName) - - :RAM cost: 0 GB - :param string upgName: Name of upgrade to get the cost of. Must be an exact match - :returns: Number of hashes required for the specified upgrade. The name of - the upgrade must be an exact match. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version - of a Hacknet Node). - - Example: - - .. code:: javascript - - upgradeName = "Sell for Corporation Funds"; - if (hacknet.numHashes() > hacknet.hashCost(upgradeName)) { - hacknet.spendHashes(upgName); - } diff --git a/doc/source/netscript/hacknetnodeapi/maxNumNodes.rst b/doc/source/netscript/hacknetnodeapi/maxNumNodes.rst deleted file mode 100644 index f9a565a61..000000000 --- a/doc/source/netscript/hacknetnodeapi/maxNumNodes.rst +++ /dev/null @@ -1,7 +0,0 @@ -maxNumNodes() Netscript Function -================================ - -.. js:function:: maxNumNodes() - - :RAM cost: 0 GB - :returns: Maximum number of Hacknet Nodes you can own, unless you have not unlocked HackNet servers. Then, it returns Infinity. diff --git a/doc/source/netscript/hacknetnodeapi/numHashes.rst b/doc/source/netscript/hacknetnodeapi/numHashes.rst deleted file mode 100644 index 62d54289a..000000000 --- a/doc/source/netscript/hacknetnodeapi/numHashes.rst +++ /dev/null @@ -1,13 +0,0 @@ -numHashes() Netscript Function -============================== - -.. warning:: This page contains spoilers for the game - -.. js:function:: numHashes() - - :RAM cost: 0 GB - :returns: Number of hashes you have. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version - of a Hacknet Node). - diff --git a/doc/source/netscript/hacknetnodeapi/spendHashes.rst b/doc/source/netscript/hacknetnodeapi/spendHashes.rst deleted file mode 100644 index b622b5044..000000000 --- a/doc/source/netscript/hacknetnodeapi/spendHashes.rst +++ /dev/null @@ -1,28 +0,0 @@ -spendHashes() Netscript Function -================================ - -.. warning:: This page contains spoilers for the game - -.. js:function:: spendHashes(upgName, upgTarget) - - :RAM cost: 0 GB - :param string upgName: Name of upgrade to spend hashes on. Must be an exact match - :param string upgTarget: Object to which upgrade applies. Required for certain upgrades - :returns: ``true`` if the purchase was successful. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version - of a Hacknet Node). - - Spend the hashes generated by your Hacknet Servers on an upgrade. - - The name of the upgrade must be an exact match. The ``upgTarget`` argument - is used for upgrades such as ``Reduce Minimum Security``, which applies to a - specific server. In this case, the ``upgTarget`` argument must be the - hostname of the server. - - Example: - - .. code:: javascript - - hacknet.spendHashes("Sell for Corporation Funds"); - hacknet.spendHashes("Increase Maximum Money", "foodnstuff"); diff --git a/doc/source/netscript/hacknetnodeapi/upgradeCache.rst b/doc/source/netscript/hacknetnodeapi/upgradeCache.rst deleted file mode 100644 index f670975ea..000000000 --- a/doc/source/netscript/hacknetnodeapi/upgradeCache.rst +++ /dev/null @@ -1,16 +0,0 @@ -upgradeCache() Netscript Function -================================= - -.. warning:: This page contains spoilers for the game - -.. js:function:: upgradeCache(i, n) - - :RAM cost: 0 GB - :param number i: Index of Hacknet Node. :ref:`See here for details ` - :param number n: Number of cache levels to purchase. Must be positive. Rounded to nearest integer - :returns: ``true`` if the upgrade was successful. - - .. note:: This function is only applicable for Hacknet Servers (the upgraded version of - a Hacknet Node). - - Tries to upgrade the specified Hacknet Server's cache ``n`` times. diff --git a/doc/source/netscript/netscript1.rst b/doc/source/netscript/netscript1.rst index 59e9a70a6..0ae07c5b5 100644 --- a/doc/source/netscript/netscript1.rst +++ b/doc/source/netscript/netscript1.rst @@ -21,16 +21,12 @@ Which ES6+ features are supported? Netscript 1.0 is a ES5 interpreter, but the following features from versions ES6 and above are supported as well. -If there is an additional ES6+ feature you would like to see implemented with a polyfill, -feel free to `open an issue `_ (and provide -the polyfill if possible). - * import - See :ref:`netscriptimporting` * `Array `_ - * `find() `_ - * `findIndex() `_ - * `includes() `_ +* `Array find() `_ +* `Array findIndex() `_ +* `Array includes() `_ * `String `_ - * `endsWith() `_ - * `includes() `_ - * `startsWith() `_ +* `String endsWith() `_ +* `String includes() `_ +* `String startsWith() `_ diff --git a/doc/source/netscript/netscriptadvancedfunctions.rst b/doc/source/netscript/netscriptadvancedfunctions.rst index 31454253e..0b32a5491 100644 --- a/doc/source/netscript/netscriptadvancedfunctions.rst +++ b/doc/source/netscript/netscriptadvancedfunctions.rst @@ -8,8 +8,5 @@ they contain spoilers for the game. .. toctree:: - getBitNodeMultipliers() - getServer() autocomplete() - atExit() Injecting HTML diff --git a/doc/source/netscript/netscriptbladeburnerapi.rst b/doc/source/netscript/netscriptbladeburnerapi.rst deleted file mode 100644 index 988fbfe12..000000000 --- a/doc/source/netscript/netscriptbladeburnerapi.rst +++ /dev/null @@ -1,260 +0,0 @@ -.. _netscript_bladeburnerapi: - -Netscript Bladeburner API -========================= -Netscript provides the following API for interacting with the game's Bladeburner mechanic. - -The Bladeburner API is **not** immediately available to the player and must be unlocked -later in the game. - -.. warning:: This page contains spoilers for the game - -The Bladeburner API is unlocked in BitNode-7. If you are in BitNode-7, you will -automatically gain access to this API. Otherwise, you must have Source-File 7 in -order to use this API in other BitNodes. - -**Bladeburner API functions must be accessed through the 'bladeburner' namespace** - -In :ref:`netscript1`:: - - bladeburner.getContractNames(); - bladeburner.startAction("general", "Training"); - -In :ref:`netscriptjs`:: - - ns.bladeburner.getContractNames(); - ns.bladeburner.startAction("general", "Training"); - -.. toctree:: - :caption: Functions: - - getContractNames() - getOperationNames() - getBlackOpNames() - getGeneralActionNames() - getSkillNames() - startAction() - stopBladeburnerAction() - getCurrentAction() - getActionTime() - getActionEstimatedSuccessChance() - getActionRepGain() - getActionCountRemaining() - getActionMaxLevel() - getActionCurrentLevel() - getActionAutolevel() - setActionAutolevel() - setActionLevel() - getRank() - getBlackOpRank() - getSkillPoints() - getSkillLevel() - getSkillUpgradeCost() - upgradeSkill() - getTeamSize() - setTeamSize() - getCityEstimatedPopulation() - getCityCommunities() - getCityChaos() - getCity() - switchCity() - getStamina() - joinBladeburnerFaction() - joinBladeburnerDivision() - getBonusTime() - - -.. _bladeburner_action_types: - -Bladeburner Action Types ------------------------- - -Several functions in the Bladeburner API require you to specify an action using -its type and name. The following are valid values when specifying the action's type: - -**Contracts** - * contract - * contracts - * contr - -**Operations** - * operation - * operations - * op - * ops - -**Black Ops** - * blackoperation - * black operation - * black operations - * black op - * black ops - * blackop - * blackops - -**General Actions (Training, Field Analysis, etc)** - * general - * general action - * gen - -Examples --------- - -**Basic example usage**:: - - tprint(bladeburner.getContractNames()); - tprint(bladeburner.getOperationNames()); - tprint(bladeburner.getBlackOpNames()); - tprint(bladeburner.getGeneralActionNames()); - tprint(bladeburner.getSkillNames()); - tprint(bladeburner.getActionTime("contract", "Tracking")); - tprint("Rank: " + bladeburner.getRank()); - tprint("Skill Points: " + bladeburner.getSkillPoints()); - tprint("Cloak Skill Level: " + bladeburner.getSkillLevel("Cloak")); - tprint("Trying to upgradeSkill: " + bladeburner.upgradeSkill("Cloak")); - tprint("Skill Points remaining: " + bladeburner.getSkillPoints()); - - tprint("Trying to switch to a nonexistent city: " + bladeburner.switchCity("lskgns")); - - var chongqing = "Chongqing"; - tprint("Trying to switch to Chongqing: " + bladeburner.switchCity(chongqing)); - tprint("Chongqing chaos: " + bladeburner.getCityChaos(chongqing)); - tprint("Chongqing estimated pop: " + bladeburner.getCityEstimatedPopulation(chongqing)); - tprint("Chonqging estimated communities: " + bladeburner.getCityEstimatedCommunities(chongqing)); - -**Bladeburner handler example**. Note that this avoids the need of using the *bladeburner* namespace -identifier by attaching the Bladeburner API functions to an object:: - - const FIELD_ANALYSIS_INTERVAL = 10; //Number of minutes between field analysis states - const FIELD_ANALYSIS_DURATION = 5; //Duration in minutes - - function BladeburnerHandler(ns, params) { - //Netscript environment becomes part of the instance - this.ns = ns; - - //Netscript bladeburner API becomes part of this instance - for (var bladeburnerFn in ns.bladeburner) { - this[bladeburnerFn] = ns.bladeburner[bladeburnerFn]; - } - - this.fieldAnalysis = { - inProgress: params.startFieldAnalysis ? true : false, - cyclesRemaining: params.startFieldAnalysis ? FIELD_ANALYSIS_DURATION : 0, - cyclesSince: params.startFieldAnalysis ? FIELD_ANALYSIS_INTERVAL : 0, - } - } - - - - BladeburnerHandler.prototype.getStaminaPercentage = function() { - var res = this.getStamina(); - return 100 * (res[0] / res[1]); - } - - BladeburnerHandler.prototype.hasSimulacrum = function() { - var augs = this.ns.getOwnedAugmentations(); - return augs.includes("The Blade's Simulacrum"); - } - - BladeburnerHandler.prototype.handle = function() { - //If we're doing something else manually (without Simulacrum), - //it overrides Bladeburner stuff - if (!this.hasSimulacrum() && this.ns.isBusy()) { - this.ns.print("Idling bc player is busy with some other action"); - return; - } - - if (this.fieldAnalysis.inProgress) { - --(this.fieldAnalysis.cyclesRemaining); - if (this.fieldAnalysis.cyclesRemaining < 0) { - this.fieldAnalysis.inProgress = false; - this.fieldAnalysis.cyclesSince = 0; - return this.handle(); - } else { - this.startAction("general", "Field Analysis"); - this.ns.print("handler is doing field analyis for " + - (this.fieldAnalysis.cyclesRemaining+1) + " more mins"); - return 31; //Field Analysis Time + 1 - } - } else { - ++(this.fieldAnalysis.cyclesSince); - if (this.fieldAnalysis.cyclesSince > FIELD_ANALYSIS_INTERVAL) { - this.fieldAnalysis.inProgress = true; - this.fieldAnalysis.cyclesRemaining = FIELD_ANALYSIS_DURATION; - return this.handle(); - } - } - - this.stopBladeburnerAction(); - - var staminaPerc = this.getStaminaPercentage(); - if (staminaPerc < 55) { - this.ns.print("handler is starting training due to low stamina percentage"); - this.startAction("general", "Training"); - return 31; //Training time + 1 - } else { - var action = this.chooseAction(); - this.ns.print("handler chose " + action.name + " " + action.type + " through chooseAction()"); - this.startAction(action.type, action.name); - return (this.getActionTime(action.type, action.name) + 1); - } - } - - BladeburnerHandler.prototype.chooseAction = function() { - //Array of all Operations - var ops = this.getOperationNames(); - - //Sort Operations in order of increasing success chance - ops.sort((a, b)=>{ - return this.getActionEstimatedSuccessChance("operation", a) - - this.getActionEstimatedSuccessChance("operation", b); - }); - - //Loop through until you find one with 99+% success chance - for (let i = 0; i < ops.length; ++i) { - let successChance = this.getActionEstimatedSuccessChance("operation", ops[i]); - let count = this.getActionCountRemaining("operation", ops[i]); - if (successChance >= 0.99 && count > 10) { - return {type: "operation", name: ops[i]}; - } - } - - //Repeat for Contracts - var contracts = this.getContractNames(); - contracts.sort((a, b)=>{ - return this.getActionEstimatedSuccessChance("contract", a) - - this.getActionEstimatedSuccessChance("contract", b); - }); - - for (let i = 0; i < contracts.length; ++i) { - let successChance = this.getActionEstimatedSuccessChance("contract", contracts[i]); - let count = this.getActionCountRemaining("contract", contracts[i]); - if (successChance >= 0.80 && count > 10) { - return {type: "contract", name: contracts[i]}; - } - } - - return {type:"general", name:"Training"}; - } - - - BladeburnerHandler.prototype.process = async function() { - await this.ns.sleep(this.handle() * 1000); - } - - export async function main(ns) { - //Check if Bladeburner is available. This'll throw a runtime error if it's not - ns.bladeburner.getContractNames(); - - var startFieldAnalysis = true; - if (ns.args.length >= 1 && ns.args[0] == "false") { - startFieldAnalysis = false; - } - - var handler = new BladeburnerHandler(ns, { - startFieldAnalysis: startFieldAnalysis - }); - while(true) { - await handler.process(); - } - } diff --git a/doc/source/netscript/netscriptcodingcontractapi.rst b/doc/source/netscript/netscriptcodingcontractapi.rst deleted file mode 100644 index 4b2e7ef3d..000000000 --- a/doc/source/netscript/netscriptcodingcontractapi.rst +++ /dev/null @@ -1,26 +0,0 @@ -.. _netscriptcodingcontractapi: - -Netscript Coding Contract API -============================= -Netscript provides the following API for interacting with -:ref:`codingcontracts`. - -**The Coding Contract API must be accessed through the 'codingcontract' namespace** - -In :ref:`netscript1`:: - - codingcontract.getDescription("foo.cct", "home"); - codingcontract.attempt(1, "foo.cct", "foodnstuff"); - -In :ref:`netscriptjs`:: - - ns.codingcontract.getDescription("foo.cct", "home"); - ns.codingcontract.attempt(1, "foo.cct", "foodnstuff"); - -.. toctree:: - - attempt() - getContractType() - getDescription() - getData() - getNumTriesRemaining() diff --git a/doc/source/netscript/netscriptformulasapi.rst b/doc/source/netscript/netscriptformulasapi.rst deleted file mode 100644 index 1e6a3ef55..000000000 --- a/doc/source/netscript/netscriptformulasapi.rst +++ /dev/null @@ -1,66 +0,0 @@ -.. _netscriptformulas: - -Netscript Formulas Functions -============================ - -.. warning:: This page contains spoilers for the game. - -The formulas API allow you to gain insight into the inner workings of the game. -These functions will allow you to make more informed decision. - -The formulas API is unlocked in BitNode-5. If you are in BitNode-5, you will -automatically gain access to this API. Otherwise, you must have Source-File 5-1 -in order to use this API in other BitNodes. Additionally, some functions need -another source file level 1 to use. - -All of these function cost 0 GB of ram to use. - - -basic formulas --------------- - -These functions are under the ``formulas.basic.`` name space and available as -soon as you enter BitNode-5 or acquire Source-File 5-1. - -.. toctree:: - calculateSkill() - calculateExp() - growTime() - hackTime() - weakenTime() - growPercent() - hackPercent() - hackChance() - hackExp() - - -hacknetNodes formulas ---------------------- - -These functions are under the ``formulas.hacknetNodes.`` namespace and available as -soon as you enter BitNode-5 or acquire Source-File 5-1. - -.. toctree:: - hacknetNodeCost() - moneyGainRate() - levelUpgradeCost() - ramUpgradeCost() - coreUpgradeCost() - constants() - -hacknetServers formulas ------------------------ - -These functions are under the ``formulas.hacknetServers.`` namespace. -These functions require either being in BitNode-5 or having Source-File 5-1, and -also require either being in BitNode-9 or having Source-File 9-1 to be invoked. - -.. toctree:: - hacknetServerCost() - hashGainRate() - levelUpgradeCost() - ramUpgradeCost() - coreUpgradeCost() - cacheUpgradeCost() - hashUpgradeCost() - constants() diff --git a/doc/source/netscript/netscriptfunctions.rst b/doc/source/netscript/netscriptfunctions.rst index ac2b98ef4..cc497caf7 100644 --- a/doc/source/netscript/netscriptfunctions.rst +++ b/doc/source/netscript/netscriptfunctions.rst @@ -12,20 +12,12 @@ This includes information such as function signatures, what they do, and their r hack() grow() weaken() - hackAnalyzeThreads() - hackAnalyzePercent() - hackChance() - growthAnalyze() sleep() print() tprint() - tprintf() - clearLog() disableLog() enableLog() isLogEnabled() - getScriptLogs() - tail() scan() nuke() brutessh() @@ -38,21 +30,16 @@ This includes information such as function signatures, what they do, and their r spawn() kill() killall() - exit() scp() ls() ps() hasRootAccess() - getHostname() getHackingLevel() getHackingMultipliers() getHacknetMultipliers() - getPlayer() getServerMoneyAvailable() getServerMaxMoney() - getServerGrowth() getServerSecurityLevel() - getServerBaseSecurityLevel() getServerMinSecurityLevel() getServerRequiredHackingLevel() getServerNumPortsRequired() @@ -67,37 +54,6 @@ This includes information such as function signatures, what they do, and their r getPurchasedServers() getPurchasedServerLimit() getPurchasedServerMaxRam() - write() - tryWrite() - read() - peek() - clear() - getPortHandle() - rm() scriptRunning() scriptKill() - getScriptName() - getScriptRam() - getRunningScript() - getHackTime() - getGrowTime() - getWeakenTime() - getScriptIncome() - getScriptExpGain() - getTimeSinceLastAug() - sprintf() - vsprintf() - nFormat() - tFormat() - prompt() - wget() - getFavorToDonate() - flags() - alert() - toast() - tprintf() - -.. toctree:: - :caption: Deprecated: - - getServerRam() \ No newline at end of file + getScriptRam() \ No newline at end of file diff --git a/doc/source/netscript/netscriptgangapi.rst b/doc/source/netscript/netscriptgangapi.rst deleted file mode 100644 index df26529c1..000000000 --- a/doc/source/netscript/netscriptgangapi.rst +++ /dev/null @@ -1,47 +0,0 @@ -Netscript Gang API -================== - -Netscript provides the following API for interacting with the game's Gang mechanic. - -The Gang API is **not** immediately available to the player and must be unlocked -later in the game - -.. warning:: This page contains spoilers for the game - -The Gang mechanic and the Gang API are unlocked in BitNode-2. - -**Gang API functions must be accessed through the 'gang' namespace** - -In :ref:`netscript1`:: - - gang.getMemberNames(); - gang.recruitMember("Fry"); - -In :ref:`netscriptjs`:: - - ns.gang.getMemberNames(); - ns.gang.recruitMember("Fry"); - -.. toctree:: - :caption: API Functions: - - createGang() - inGang() - getMemberNames() - getGangInformation() - getOtherGangInformation() - getMemberInformation() - canRecruitMember() - recruitMember() - getTaskNames() - setMemberTask() - getTaskStats() - getEquipmentNames() - getEquipmentCost() - getEquipmentType() - getEquipmentStats() - purchaseEquipment() - ascendMember() - setTerritoryWarfare() - getChanceToWinClash() - getBonusTime() diff --git a/doc/source/netscript/netscripthacknetnodeapi.rst b/doc/source/netscript/netscripthacknetnodeapi.rst index 25b09b4b7..a67975019 100644 --- a/doc/source/netscript/netscripthacknetnodeapi.rst +++ b/doc/source/netscript/netscripthacknetnodeapi.rst @@ -29,7 +29,6 @@ In :ref:`netscriptjs`:: :caption: Hacknet Nodes API Functions: numNodes() - maxNumNodes() purchaseNode() getPurchaseNodeCost() getNodeStats() @@ -40,19 +39,6 @@ In :ref:`netscriptjs`:: getRamUpgradeCost() getCoreUpgradeCost() -.. toctree:: - :caption: Hacknet Servers API Functions: - - upgradeCache() - getCacheUpgradeCost() - numHashes() - hashCapacity() - hashCost() - spendHashes() - getHashUpgradeLevel() - getTrainingMult() - getStudyMult() - .. _netscript_hacknetnodeapi_referencingahacknetnode: Referencing a Hacknet Node diff --git a/doc/source/netscript/netscriptixapi.rst b/doc/source/netscript/netscriptixapi.rst deleted file mode 100644 index 256dcae92..000000000 --- a/doc/source/netscript/netscriptixapi.rst +++ /dev/null @@ -1,39 +0,0 @@ -.. _netscript_tixapi: - -Netscript Trade Information eXchange (TIX) API -============================================== - -The Trade Information eXchange (TIX) is the communications protocol supported by the World Stock Exchange (WSE). -The WSE provides an API that allows you to automatically communicate with the -:ref:`Stock Market `. -This API lets you write code using Netscript -to build automated trading systems and create your own algorithmic trading strategies. Access to this -TIX API can be purchased by visiting the World Stock Exchange in-game. - -Access to the TIX API currently costs $5 billion. After you purchase it, you will retain this -access even after you 'reset' by installing Augmentations - -**TIX API functions must be accessed through the stock namespace** - -.. toctree:: - :caption: API Functions: - - getSymbols() - getPrice() - getAskPrice() - getBidPrice() - getPosition() - getMaxShares() - getPurchaseCost() - getSaleGain() - buy() - sell() - short() - sellShort() - placeOrder() - cancelOrder() - getOrders() - getVolatility() - getForecast() - purchase4SMarketData() - purchase4SMarketDataTixApi() diff --git a/doc/source/netscript/netscriptsingularityfunctions.rst b/doc/source/netscript/netscriptsingularityfunctions.rst deleted file mode 100644 index 44cb42218..000000000 --- a/doc/source/netscript/netscriptsingularityfunctions.rst +++ /dev/null @@ -1,73 +0,0 @@ -.. _netscript_singularityfunctions: - -Netscript Singularity Functions -=============================== - -.. warning:: This page contains spoilers for the game. - -The Singularity Functions are a special set of Netscript functions that allow the player to control additional aspects of the game such as working for factions/companies, purchasing/installing Augmentations, and creating programs. - -The Singularity Functions are **not** immediately available to the player and must be unlocked later in the game. - -The player has access to all of these functions while in BitNode-4. Completing BitNode-4 and gaining its source-file unlocks certain Singularity Functions for use in other BitNodes, with all functions accessible at level 3. - -.. toctree:: - :caption: Level 1 Functions - - universityCourse() - gymWorkout() - travelToCity() - purchaseTor() - purchaseProgram() - getCurrentServer() - connect() - manualHack() - installBackdoor() - hospitalize() - isBusy() - -.. toctree:: - :caption: Level 2 Functions - - stopAction() - upgradeHomeRam() - getUpgradeHomeRamCost() - workForCompany() - applyToCompany() - getCompanyRep() - getCompanyFavor() - getCompanyFavorGain() - checkFactionInvitations() - joinFaction() - workForFaction() - getFactionRep() - getFactionFavor() - getFactionFavorGain() - upgradeHomeCores() - -.. toctree:: - :caption: Level 3 Functions - - donateToFaction() - createProgram() - commitCrime() - getCrimeChance() - getCrimeStats() - getOwnedAugmentations() - getOwnedSourceFiles() - getAugmentationsFromFaction() - getAugmentationCost() - getAugmentationPrereq() - getAugmentationPrice() - getAugmentationRepReq() - getAugmentationStats() - purchaseAugmentation() - installAugmentations() - softReset() - - -.. toctree:: - :caption: Deprecated: - - getStats() - getCharacterInformation() diff --git a/doc/source/netscript/netscriptsleeveapi.rst b/doc/source/netscript/netscriptsleeveapi.rst deleted file mode 100644 index 6ddcff634..000000000 --- a/doc/source/netscript/netscriptsleeveapi.rst +++ /dev/null @@ -1,79 +0,0 @@ -.. _netscript_sleeveapi: - -Netscript Sleeve API -========================= -Netscript provides the following API for interacting with the game's -:ref:`Duplicate Sleeve ` mechanic. - -The Sleeve API is **not** immediately available to the player and must be unlocked -later in the game. - -.. warning:: This page contains spoilers for the game - -The Sleeve API is unlocked in BitNode-10. If you are in BitNode-10, you will -automatically gain access to this API. Otherwise, you must have Source-File 10 in -order to use this API in other BitNodes - -**Sleeve API functions must be accessed through the 'sleeve' namespace** - -In :ref:`netscript1`:: - - sleeve.synchronize(0); - sleeve.commitCrime(0, "shoplift"); - -In :ref:`netscriptjs`:: - - ns.sleeve.synchronize(0); - ns.sleeve.commitCrime(0, "shoplift"); - -.. toctree:: - :caption: API Functions: - - getNumSleeves() - getSleeveStats() - getInformation() - getTask() - setToShockRecovery() - setToSynchronize() - setToCommitCrime() - setToFactionWork() - setToCompanyWork() - setToUniversityCourse() - setToGymWorkout() - travel() - getSleeveAugmentations() - getSleevePurchasableAugs() - purchaseSleeveAug() - -.. _netscript_sleeveapi_referencingaduplicatesleeve: - -Referencing a Duplicate Sleeve ------------------------------- -Most of the functions in the Sleeve API perform an operation on a single Duplicate -Sleeve. In order to specify which Sleeve the operation should be performed on, -a numeric index is used as an identifier. The index should follow array-notation, such -that the first Duplicate Sleeve has an index of 0, the second Duplicate Sleeve has -an index of 1, and so on. - -The order of the Duplicate Sleeves matches the order on the UI page. - -Examples --------- - -**Basic example usage**:: - - for (var i = 0; i < sleeve.getNumSleeves(); i++) { - sleeve.setToShockRecovery(i); - } - - sleep(10 * 60 * 60); // wait 10h - - for (var i = 0; i < sleeve.getNumSleeves(); i++) { - sleeve.setToSynchronize(i); - } - - sleep(10*60*60); // wait 10h - - for (var i = 0; i < sleeve.getNumSleeves(); i++) { - sleeve.setToCommitCrime(i, 'shoplift'); - } diff --git a/doc/source/netscript/singularityfunctions/applyToCompany.rst b/doc/source/netscript/singularityfunctions/applyToCompany.rst deleted file mode 100644 index c8aee245e..000000000 --- a/doc/source/netscript/singularityfunctions/applyToCompany.rst +++ /dev/null @@ -1,30 +0,0 @@ -applyToCompany() Netscript Function -=================================== - -.. js:function:: applyToCompany(companyName, field) - - :RAM cost: 3 GB - :param string companyName: Name of company to apply to. CASE-SENSITIVE. - :param string field: - Field to which you want to apply. Not case-sensitive - - * software - * software consultant - * it - * security engineer - * network engineer - * business - * business consultant - * security - * agent - * employee - * part-time employee - * waiter - * part-time waiter - :returns: ``true`` if you got the job. - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will automatically try to apply to the specified company for a position in the specified - field. This function can also be used to apply for promotions by specifying the company and field you - are already employed at. \ No newline at end of file diff --git a/doc/source/netscript/singularityfunctions/checkFactionInvitations.rst b/doc/source/netscript/singularityfunctions/checkFactionInvitations.rst deleted file mode 100644 index 4edd9c53a..000000000 --- a/doc/source/netscript/singularityfunctions/checkFactionInvitations.rst +++ /dev/null @@ -1,10 +0,0 @@ -checkFactionInvitations() Netscript Function -============================================ - -.. js:function:: checkFactionInvitations() - - :RAM cost: 3 GB - :returns: Array with the name of all Factions with whom you have oustanding invitations. - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - diff --git a/doc/source/netscript/singularityfunctions/commitCrime.rst b/doc/source/netscript/singularityfunctions/commitCrime.rst deleted file mode 100644 index e60ee7df9..000000000 --- a/doc/source/netscript/singularityfunctions/commitCrime.rst +++ /dev/null @@ -1,35 +0,0 @@ -commitCrime() Netscript Function -================================ - -.. js:function:: commitCrime(crime) - - :RAM cost: 5 GB - :param string crime: - Name of crime to attempt. Not case-sensitive. This argument is fairly lenient in terms of what inputs it accepts. - Here is a list of valid inputs for all of the crimes: - - * shoplift - * rob store - * mug - * larceny - * deal drugs - * bond forgery - * traffick arms - * homicide - * grand theft auto - * kidnap - * assassinate - * heist - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function is used to automatically attempt to commit crimes. If you are already in the middle of some 'working' action - (such as working for a company or training at a gym), then running this function will automatically cancel that action and give you your earnings. - - This function returns the number of milliseconds it takes to attempt the specified crime (e.g It takes 60 seconds to attempt the 'Rob Store' crime, - so running ``commitCrime('rob store')`` will return 60000). - - Warning: I do not recommend using the time returned from this function to try and schedule your crime attempts. - Instead, I would use the :doc:`isBusy` Singularity function to check whether you have finished attempting a crime. - This is because although the game sets a certain crime to be X amount of seconds, there is no guarantee that your - browser will follow that time limit. diff --git a/doc/source/netscript/singularityfunctions/connect.rst b/doc/source/netscript/singularityfunctions/connect.rst deleted file mode 100644 index 974996363..000000000 --- a/doc/source/netscript/singularityfunctions/connect.rst +++ /dev/null @@ -1,20 +0,0 @@ -connect() Netscript Function -============================ - -.. js:function:: connect(hostname) - - :RAM cost: 2 GB - :param string hostname: hostname of the server to connect. - :returns: ``true`` if the connection was a success. - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function will connect you to the specified server if it's directly connected to the current server. - You can also pass in 'home' to return to your home server from anywhere. - - Examples: - - .. code-block:: javascript - - connect("joesguns"); - connect("CSEC"); diff --git a/doc/source/netscript/singularityfunctions/createProgram.rst b/doc/source/netscript/singularityfunctions/createProgram.rst deleted file mode 100644 index 7bfa657f7..000000000 --- a/doc/source/netscript/singularityfunctions/createProgram.rst +++ /dev/null @@ -1,30 +0,0 @@ -createProgram() Netscript Function -================================== - -.. js:function:: createProgram(programName) - - :RAM cost: 5 GB - :param string programName: Name of program to create. Not case-sensitive - :returns: ``true`` if you successfully start working on the specified program. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function will automatically set you to start working on creating the specified program. If you are - already in the middle of some "working" action (such as working for a company, training at a gym, or taking a course), - then running this function will automatically cancel that action and give you your earnings. - - Example: - - createProgram("relaysmtp.exe"); - - Note that creating a program using this function has the same hacking level requirements as it normally would. These level requirements are: - - * BruteSSH.exe: 50 - * FTPCrack.exe: 100 - * relaySMTP.exe: 250 - * HTTPWorm.exe: 500 - * SQLInject.exe: 750 - * DeepscanV1.exe: 75 - * DeepscanV2.exe: 400 - * ServerProfiler.exe: 75 - * AutoLink.exe: 25 diff --git a/doc/source/netscript/singularityfunctions/donateToFaction.rst b/doc/source/netscript/singularityfunctions/donateToFaction.rst deleted file mode 100644 index ef0da9ce1..000000000 --- a/doc/source/netscript/singularityfunctions/donateToFaction.rst +++ /dev/null @@ -1,13 +0,0 @@ -donateToFaction() Netscript Function -==================================== - -.. js:function:: donateToFaction(factionName, donateAmt) - - :RAM cost: 5 GB - :param string factionName: Name of faction to donate to. CASE-SENSITIVE - :param number donateAmt: Amount of money to donate - :returns: ``true`` if you successfully donate the money. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - Attempts to donate money to the specified faction in exchange for reputation. \ No newline at end of file diff --git a/doc/source/netscript/singularityfunctions/getAugmentationCost.rst b/doc/source/netscript/singularityfunctions/getAugmentationCost.rst deleted file mode 100644 index cc1e694f5..000000000 --- a/doc/source/netscript/singularityfunctions/getAugmentationCost.rst +++ /dev/null @@ -1,19 +0,0 @@ -getAugmentationCost() Netscript Function -======================================== - -.. js:function:: getAugmentationCost(augName) - - .. warning:: This function is deprecated. It still functions, but new - scripts should prefer :doc:`getAugmentationPrice` - and :doc:`getAugmentationRepReq` instead. - - :RAM cost: 5 GB - - :param string augName: Name of Augmentation. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function returns an array with two elements that gives the cost for the specified Augmentation. - The first element in the returned array is the reputation requirement of the Augmentation, and the second element is the money cost. - - If an invalid Augmentation name is passed in for the ``augName`` argument, this function will throw a runtime error. diff --git a/doc/source/netscript/singularityfunctions/getAugmentationPrereq.rst b/doc/source/netscript/singularityfunctions/getAugmentationPrereq.rst deleted file mode 100644 index 266544473..000000000 --- a/doc/source/netscript/singularityfunctions/getAugmentationPrereq.rst +++ /dev/null @@ -1,15 +0,0 @@ -getAugmentationPrereq() Netscript Function -========================================== - -.. js:function:: getAugmentationPrereq(augName) - - :RAM cost: 5 GB - - :param string augName: Name of Augmentation. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function returns an array with the names of the prerequisite Augmentation(s) for the specified Augmentation. - If there are no prerequisites, a blank array is returned. - - If an invalid Augmentation name is passed in for the *augName* argument, this function will throw a runtime error. diff --git a/doc/source/netscript/singularityfunctions/getAugmentationPrice.rst b/doc/source/netscript/singularityfunctions/getAugmentationPrice.rst deleted file mode 100644 index 87a9ad27d..000000000 --- a/doc/source/netscript/singularityfunctions/getAugmentationPrice.rst +++ /dev/null @@ -1,14 +0,0 @@ -getAugmentationPrice() Netscript Function -========================================== - -.. js:function:: getAugmentationPrice(augName) - - :RAM cost: 2.5 GB - - :param string augName: Name of Augmentation. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function returns the money cost for the specified Augmentation. - - If an invalid Augmentation name is passed in for the *augName* argument, this function will throw a runtime error. diff --git a/doc/source/netscript/singularityfunctions/getAugmentationRepReq.rst b/doc/source/netscript/singularityfunctions/getAugmentationRepReq.rst deleted file mode 100644 index 3f9a3c069..000000000 --- a/doc/source/netscript/singularityfunctions/getAugmentationRepReq.rst +++ /dev/null @@ -1,14 +0,0 @@ -getAugmentationRepReq() Netscript Function -========================================== - -.. js:function:: getAugmentationRepReq(augName) - - :RAM cost: 2.5 GB - - :param string augName: Name of Augmentation. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function returns the reputation requirement for the specified Augmentation. - - If an invalid Augmentation name is passed in for the *augName* argument, this function will throw a runtime error. diff --git a/doc/source/netscript/singularityfunctions/getAugmentationStats.rst b/doc/source/netscript/singularityfunctions/getAugmentationStats.rst deleted file mode 100644 index a73a073a4..000000000 --- a/doc/source/netscript/singularityfunctions/getAugmentationStats.rst +++ /dev/null @@ -1,20 +0,0 @@ -getAugmentationStats() Netscript Function -========================================= - -.. js:function:: getAugmentationStats(name) - - :RAM cost: 5 GB - - :param string name: Name of Augmentation. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - Examples: - - .. code-block:: javascript - - ns.getAugmentationStats("Synfibril Muscle") - { - strength_mult: 1.3, - defense_mult: 1.3, - } diff --git a/doc/source/netscript/singularityfunctions/getAugmentationsFromFaction.rst b/doc/source/netscript/singularityfunctions/getAugmentationsFromFaction.rst deleted file mode 100644 index 938611b8e..000000000 --- a/doc/source/netscript/singularityfunctions/getAugmentationsFromFaction.rst +++ /dev/null @@ -1,12 +0,0 @@ -getAugmentationsFromFaction() Netscript Function -================================================ - -.. js:function:: getAugmentationsFromFaction(facName) - - :RAM cost: 5 GB - - :param string facName: Name of faction. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - Returns an array containing the names (as strings) of all Augmentations that are available from the specified faction. diff --git a/doc/source/netscript/singularityfunctions/getCharacterInformation.rst b/doc/source/netscript/singularityfunctions/getCharacterInformation.rst deleted file mode 100644 index e94de8bee..000000000 --- a/doc/source/netscript/singularityfunctions/getCharacterInformation.rst +++ /dev/null @@ -1,60 +0,0 @@ -getCharacterInformation() Netscript Function -============================================ - -.. js:function:: getCharacterInformation() - - .. warning:: This function is deprecated. - - :RAM cost: 0.5 GB - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function. - - Returns an object with various information about your character. The object has the following properties:: - - { - bitnode: Current BitNode number - city: Name of city you are currently in - factions: Array of factions you are currently a member of - hp: Current health points - jobs: Array of all companies at which you have jobs - jobTitle: Array of job positions for all companies you are employed at. Same order as 'jobs' - maxHp: Maximum health points - tor: Boolean indicating whether or not you have a tor router - - // The following is an object with many of the player's multipliers from Augmentations/Source Files - mult: { - agility: Agility stat - agilityExp: Agility exp - companyRep: Company reputation - crimeMoney: Money earned from crimes - crimeSuccess: Crime success chance - defense: Defense stat - defenseExp: Defense exp - dexterity: Dexterity stat - dexterityExp: Dexterity exp - factionRep: Faction reputation - hacking: Hacking stat - hackingExp: Hacking exp - strength: Strength stat - strengthExp: Strength exp - workMoney: Money earned from jobs - }, - - // The following apply only to when the character is performing - // some type of working action, such as working for a company/faction - timeWorked: Timed worked in ms - workHackExpGain: Hacking experience earned so far from work - workStrExpGain: Str experience earned so far from work - workDefExpGain: Def experience earned so far from work - workDexExpGain: Dex experience earned so far from work - workAgiExpGain: Agi experience earned so far from work - workChaExpGain: Cha experience earned so far from work - workRepGain: Reputation earned so far from work, if applicable - workMoneyGain: Money earned so far from work, if applicable - hackingExp: Total hacking experience - strengthExp: Total strength experience - defenseExp: Total defense experience - dexterityExp: Total dexterity experience - agilityExp: Total agility experience - charismaExp: Total charisma experience - } diff --git a/doc/source/netscript/singularityfunctions/getCompanyFavor.rst b/doc/source/netscript/singularityfunctions/getCompanyFavor.rst deleted file mode 100644 index 2340d6e8f..000000000 --- a/doc/source/netscript/singularityfunctions/getCompanyFavor.rst +++ /dev/null @@ -1,13 +0,0 @@ -getCompanyFavor() Netscript Function -==================================== - -.. js:function:: getCompanyFavor(companyName) - - :RAM cost: 1 GB - - :param string companyName: Name of the company. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will return the amount of favor you have at the specified company. - If the company passed in as an argument is invalid, -1 will be returned. diff --git a/doc/source/netscript/singularityfunctions/getCompanyFavorGain.rst b/doc/source/netscript/singularityfunctions/getCompanyFavorGain.rst deleted file mode 100644 index e544967ba..000000000 --- a/doc/source/netscript/singularityfunctions/getCompanyFavorGain.rst +++ /dev/null @@ -1,13 +0,0 @@ -getCompanyFavorGain() Netscript Function -======================================== - -.. js:function:: getCompanyFavorGain(companyName) - - :RAM cost: 0.75 GB - - :param string companyName: Name of the company. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will return the amount of favor you will gain for the specified company - when you reset by installing Augmentations. diff --git a/doc/source/netscript/singularityfunctions/getCompanyRep.rst b/doc/source/netscript/singularityfunctions/getCompanyRep.rst deleted file mode 100644 index 8b5a4cab8..000000000 --- a/doc/source/netscript/singularityfunctions/getCompanyRep.rst +++ /dev/null @@ -1,13 +0,0 @@ -getCompanyRep() Netscript Function -================================== - -.. js:function:: getCompanyRep(companyName) - - :RAM cost: 1 GB - - :param string companyName: Name of the company. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will return the amount of reputation you have at the specified company. - If the company passed in as an argument is invalid, -1 will be returned. diff --git a/doc/source/netscript/singularityfunctions/getCrimeChance.rst b/doc/source/netscript/singularityfunctions/getCrimeChance.rst deleted file mode 100644 index 7cbfa67be..000000000 --- a/doc/source/netscript/singularityfunctions/getCrimeChance.rst +++ /dev/null @@ -1,14 +0,0 @@ -getCrimeChance() Netscript Function -=================================== - -.. js:function:: getCrimeChance(crime) - - :RAM cost: 5 GB - - :param string crime: - Name of crime. Not case-sensitive. This argument is fairlyn lenient in terms of what inputs it accepts. - Check the documentation for the *commitCrime()* function for a list of example inputs. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function returns your chance of success at commiting the specified crime. The chance is returned as a decimal (i.e. 60% would be returned as 0.6). diff --git a/doc/source/netscript/singularityfunctions/getCrimeStats.rst b/doc/source/netscript/singularityfunctions/getCrimeStats.rst deleted file mode 100644 index 46a22d4b6..000000000 --- a/doc/source/netscript/singularityfunctions/getCrimeStats.rst +++ /dev/null @@ -1,37 +0,0 @@ -getCrimeStats() Netscript Function -=================================== - -.. js:function:: getCrimeStats(crime) - - :RAM cost: 5 GB - - :param string crime: - Name of crime. Not case-sensitive. This argument is fairlyn lenient in terms of what inputs it accepts. - Check the documentation for the *commitCrime()* function for a list of example inputs. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - :return The stats of the crime - - { - "difficulty": 0.2, - "karma": 0.25, - "kills": 0, - "money": 36000, - "name": "Mug", - "time": 4000, - "type": "mug someone", - "hacking_success_weight": 0, - "strength_success_weight": 1.5, - "defense_success_weight": 0.5, - "dexterity_success_weight": 1.5, - "agility_success_weight": 0.5, - "charisma_success_weight": 0, - "hacking_exp": 0, - "strength_exp": 3, - "defense_exp": 3, - "dexterity_exp": 3, - "agility_exp": 3, - "charisma_exp": 0, - "intelligence_exp": 0 - } diff --git a/doc/source/netscript/singularityfunctions/getCurrentServer.rst b/doc/source/netscript/singularityfunctions/getCurrentServer.rst deleted file mode 100644 index 337aebc71..000000000 --- a/doc/source/netscript/singularityfunctions/getCurrentServer.rst +++ /dev/null @@ -1,10 +0,0 @@ -getCurrentServer() Netscript Function -===================================== - -.. js:function:: getCurrentServer() - - :RAM cost: 2 GB - :returns: The hostname of the server the player is currently connected to. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - diff --git a/doc/source/netscript/singularityfunctions/getFactionFavor.rst b/doc/source/netscript/singularityfunctions/getFactionFavor.rst deleted file mode 100644 index f368b941c..000000000 --- a/doc/source/netscript/singularityfunctions/getFactionFavor.rst +++ /dev/null @@ -1,12 +0,0 @@ -getFactionFavor() Netscript Function -==================================== - -.. js:function:: getFactionFavor(factionName) - - :RAM cost: 1 GB - - :param string factionName: Name of faction. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function returns the amount of favor you have for the specified faction. diff --git a/doc/source/netscript/singularityfunctions/getFactionFavorGain.rst b/doc/source/netscript/singularityfunctions/getFactionFavorGain.rst deleted file mode 100644 index b7677208c..000000000 --- a/doc/source/netscript/singularityfunctions/getFactionFavorGain.rst +++ /dev/null @@ -1,12 +0,0 @@ -getFactionFavorGain() Netscript Function -======================================== - -.. js:function:: getFactionFavorGain(factionName) - - :RAM cost: 0.75 GB - - :param string factionName: Name of faction. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function returns the amount of favor you will gain for the specified faction when you reset by installing Augmentations. diff --git a/doc/source/netscript/singularityfunctions/getFactionRep.rst b/doc/source/netscript/singularityfunctions/getFactionRep.rst deleted file mode 100644 index a256b09a3..000000000 --- a/doc/source/netscript/singularityfunctions/getFactionRep.rst +++ /dev/null @@ -1,12 +0,0 @@ -getFactionRep() Netscript Function -================================== - -.. js:function:: getFactionRep(factionName) - - :RAM cost: 1 GB - - :param string factionName: Name of faction. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function returns the amount of reputation you have for the specified faction. diff --git a/doc/source/netscript/singularityfunctions/getOwnedAugmentations.rst b/doc/source/netscript/singularityfunctions/getOwnedAugmentations.rst deleted file mode 100644 index ecd26f5d5..000000000 --- a/doc/source/netscript/singularityfunctions/getOwnedAugmentations.rst +++ /dev/null @@ -1,14 +0,0 @@ -getOwnedAugmentations() Netscript Function -========================================== - -.. js:function:: getOwnedAugmentations(purchased=false) - - :RAM cost: 5 GB - - :param boolean purchase: - Specifies whether the returned array should include Augmentations you have purchased but not yet installed. - By default, this argument is false which means that the return value will NOT have the purchased Augmentations. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function returns an array containing the names (as strings) of all Augmentations you have. diff --git a/doc/source/netscript/singularityfunctions/getOwnedSourceFiles.rst b/doc/source/netscript/singularityfunctions/getOwnedSourceFiles.rst deleted file mode 100644 index e5cbdeca8..000000000 --- a/doc/source/netscript/singularityfunctions/getOwnedSourceFiles.rst +++ /dev/null @@ -1,11 +0,0 @@ -getOwnedSourceFiles() Netscript Function -======================================== - -.. js:function:: getOwnedSourceFiles() - - :RAM cost: 5 GB - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - Returns an array of source files - [{n: 1, lvl: 3}, {n: 4, lvl: 3}] diff --git a/doc/source/netscript/singularityfunctions/getStats.rst b/doc/source/netscript/singularityfunctions/getStats.rst deleted file mode 100644 index 6bbb4b817..000000000 --- a/doc/source/netscript/singularityfunctions/getStats.rst +++ /dev/null @@ -1,29 +0,0 @@ -getStats() Netscript Function -============================= - -.. js:function:: getStats() - - .. warning:: This function is deprecated. - - :RAM cost: 0.5 GB - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function. - - Returns an object with the Player's stats. The object has the following properties:: - - { - hacking - strength - defense - dexterity - agility - charisma - intelligence - } - - Example:: - - res = getStats(); - print('My charisma level is: ' + res.charisma); - - :RAM cost: 0.5 GB diff --git a/doc/source/netscript/singularityfunctions/getUpgradeHomeRamCost.rst b/doc/source/netscript/singularityfunctions/getUpgradeHomeRamCost.rst deleted file mode 100644 index 102e1fcc2..000000000 --- a/doc/source/netscript/singularityfunctions/getUpgradeHomeRamCost.rst +++ /dev/null @@ -1,10 +0,0 @@ -getUpgradeHomeRamCost() Netscript Function -========================================== - -.. js:function:: getUpgradeHomeRamCost() - - :RAM cost: 1.5 GB - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - Returns the cost of upgrading the player's home computer RAM. diff --git a/doc/source/netscript/singularityfunctions/gymWorkout.rst b/doc/source/netscript/singularityfunctions/gymWorkout.rst deleted file mode 100644 index 2f50bbf19..000000000 --- a/doc/source/netscript/singularityfunctions/gymWorkout.rst +++ /dev/null @@ -1,32 +0,0 @@ -gymWorkout() Netscript Function -=============================== - -.. js:function:: gymWorkout(gymName, stat) - - :RAM cost: 2 GB - - :param string gymName: - Name of gym. Not case-sensitive. You must be in the correct city for whatever gym you specify. - - * Crush Fitness Gym - * Snap Fitness Gym - * Iron Gym - * Powerhouse Gym - * Millenium Fitness Gym - :param string stat: - The stat you want to train. Not case-sensitive. - - * strength OR str - * defense OR def - * dexterity OR dex - * agility OR agi - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function will automatically set you to start working out at a gym to train a particular stat. If you are - already in the middle of some "working" action (such as working at a company, for a faction, or on a program), - then running this function will automatically cancel that action and give you your earnings. - - The cost and experience gains for all of these gyms are the same as if you were to manually visit these gyms and train - - This function will return true if you successfully start working out at the gym, and false otherwise. diff --git a/doc/source/netscript/singularityfunctions/hospitalize.rst b/doc/source/netscript/singularityfunctions/hospitalize.rst deleted file mode 100644 index 391aa8b88..000000000 --- a/doc/source/netscript/singularityfunctions/hospitalize.rst +++ /dev/null @@ -1,11 +0,0 @@ -hospitalize() Netscript Function -=================================== - -.. js:function:: hospitalize() - - :RAM cost: 1 GB - :returns: The cost of your visit to the hospital. - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - Hospitalize yourself. Recovering all lost hp. \ No newline at end of file diff --git a/doc/source/netscript/singularityfunctions/installAugmentations.rst b/doc/source/netscript/singularityfunctions/installAugmentations.rst deleted file mode 100644 index 4938e82c5..000000000 --- a/doc/source/netscript/singularityfunctions/installAugmentations.rst +++ /dev/null @@ -1,19 +0,0 @@ -installAugmentations() Netscript Function -========================================= - -.. js:function:: installAugmentations(cbScript) - - :RAM cost: 5 GB - - :param string cbScript: - Optional callback script. This is a script that will automatically be run after Augmentations are installed (after the reset). - This script will be run with no arguments and 1 thread. It must be located on your home computer. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function will automatically install your Augmentations, resetting the game as usual. - - This function will return false if it was not able to install Augmentations. - - If this function successfully installs Augmentations, then it has no return value because - all scripts are immediately terminated. diff --git a/doc/source/netscript/singularityfunctions/installBackdoor.rst b/doc/source/netscript/singularityfunctions/installBackdoor.rst deleted file mode 100644 index e0d754721..000000000 --- a/doc/source/netscript/singularityfunctions/installBackdoor.rst +++ /dev/null @@ -1,22 +0,0 @@ -installBackdoor() Netscript Function -==================================== - -.. js:function:: installBackdoor() - - :RAM cost: 2 GB - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function will install a backdoor on the server you are currently connected to. - - Examples: - - .. code-block:: javascript - - connect("foodnstuff"); - installBackdoor(); - - .. warning:: - For NS2 users: - - This function is async. \ No newline at end of file diff --git a/doc/source/netscript/singularityfunctions/isBusy.rst b/doc/source/netscript/singularityfunctions/isBusy.rst deleted file mode 100644 index d661b3549..000000000 --- a/doc/source/netscript/singularityfunctions/isBusy.rst +++ /dev/null @@ -1,18 +0,0 @@ -isBusy() Netscript Function -=========================== - -.. js:function:: isBusy() - - :RAM cost: 0.5 GB - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function. - - Returns a boolean indicating whether or not the player is currently performing an 'action'. - These actions include: - - * Working for a company/faction - * Studying at a univeristy - * Working out at a gym - * Creating a program - * Committing a crime - * Carrying out a Hacking Mission diff --git a/doc/source/netscript/singularityfunctions/joinFaction.rst b/doc/source/netscript/singularityfunctions/joinFaction.rst deleted file mode 100644 index 71d547cac..000000000 --- a/doc/source/netscript/singularityfunctions/joinFaction.rst +++ /dev/null @@ -1,12 +0,0 @@ -joinFaction() Netscript Function -================================ - -.. js:function:: joinFaction(name) - - :RAM cost: 3 GB - - :param string name: Name of faction to join. CASE-SENSITIVE - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will automatically accept an invitation from a faction and join it. diff --git a/doc/source/netscript/singularityfunctions/manualHack.rst b/doc/source/netscript/singularityfunctions/manualHack.rst deleted file mode 100644 index f3fc43c66..000000000 --- a/doc/source/netscript/singularityfunctions/manualHack.rst +++ /dev/null @@ -1,23 +0,0 @@ -manualHack() Netscript Function -=============================== - -.. js:function:: manualHack() - - :RAM cost: 2 GB - :returns: The amount of money stolen if the hack is successful, and zero otherwise - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function will perform a manual hack on the server you are currently connected to. - - Examples: - - .. code-block:: javascript - - connect("foodnstuff"); - manualHack(); - - .. warning:: - For NS2 users: - - This function is async. \ No newline at end of file diff --git a/doc/source/netscript/singularityfunctions/purchaseAugmentation.rst b/doc/source/netscript/singularityfunctions/purchaseAugmentation.rst deleted file mode 100644 index 5291bd92c..000000000 --- a/doc/source/netscript/singularityfunctions/purchaseAugmentation.rst +++ /dev/null @@ -1,16 +0,0 @@ -purchaseAugmentation() Netscript Function -========================================= - -.. js:function:: purchaseAugmentation(factionName, augName) - - :RAM cost: 5 GB - - :param string factionName: Name of faction to purchase Augmentation from. CASE-SENSITIVE - :param string augName: Name of Augmentation to purchase. CASE-SENSITIVE - - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function will try to purchase the specified Augmentation through the given Faction. - - This function will return true if the Augmentation is successfully purchased, and false otherwise. diff --git a/doc/source/netscript/singularityfunctions/purchaseProgram.rst b/doc/source/netscript/singularityfunctions/purchaseProgram.rst deleted file mode 100644 index 59c70ad40..000000000 --- a/doc/source/netscript/singularityfunctions/purchaseProgram.rst +++ /dev/null @@ -1,22 +0,0 @@ -purchaseProgram() Netscript Function -==================================== - -.. js:function:: purchaseProgram(programName) - - :RAM cost: 2 GB - - :param string programName: Name of program to purchase. Must include '.exe' extension. Not case-sensitive. - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function allows you to automatically purchase programs. You MUST have a TOR router in order to use this function. - The cost of purchasing programs using this function is the same as if you were purchasing them through the Dark Web using the - Terminal *buy* command. - - Example:: - - purchaseProgram("brutessh.exe"); - - This function will return true if the specified program is purchased, and false otherwise. - - :RAM cost: 2 GB diff --git a/doc/source/netscript/singularityfunctions/purchaseTor.rst b/doc/source/netscript/singularityfunctions/purchaseTor.rst deleted file mode 100644 index d9076ae9d..000000000 --- a/doc/source/netscript/singularityfunctions/purchaseTor.rst +++ /dev/null @@ -1,15 +0,0 @@ -purchaseTor() Netscript Function -================================ - -.. js:function:: purchaseTor() - - :RAM cost: 2 GB - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function allows you to automatically purchase a TOR router. The cost for purchasing a TOR router using this - function is the same as if you were to manually purchase one. - - This function will return true if it successfully purchased a TOR router and false otherwise. - - :RAM cost: 2 GB diff --git a/doc/source/netscript/singularityfunctions/softReset.rst b/doc/source/netscript/singularityfunctions/softReset.rst deleted file mode 100644 index c027b1944..000000000 --- a/doc/source/netscript/singularityfunctions/softReset.rst +++ /dev/null @@ -1,14 +0,0 @@ -softReset() Netscript Function -=================================== - -.. js:function:: softReset([callbackScript]) - - :RAM cost: 5 GB - :param string cbScript: - Optional callback script. This is a script that will automatically be - run after the soft reset. This script will be run with no arguments and - 1 thread. It must be located on your home computer. - - If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function. - - This function will perform a reset even if you don't have any augmentation installed. diff --git a/doc/source/netscript/singularityfunctions/stopAction.rst b/doc/source/netscript/singularityfunctions/stopAction.rst deleted file mode 100644 index 7f5f10fa0..000000000 --- a/doc/source/netscript/singularityfunctions/stopAction.rst +++ /dev/null @@ -1,20 +0,0 @@ -stopAction() Netscript Function -=============================== - -.. js:function:: stopAction() - - :RAM cost: 1 GB - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to run this function. - This function is used to end whatever 'action' the player is currently performing. The player - will receive whatever money/experience/etc. he has earned from that action. - - The actions that can be stopped with this function are: - - * Studying at a university - * Working for a company/faction - * Creating a program - * Committing a Crime - - This function will return true if the player's action was ended. It will return false if the player was not - performing an action when this function was called. diff --git a/doc/source/netscript/singularityfunctions/travelToCity.rst b/doc/source/netscript/singularityfunctions/travelToCity.rst deleted file mode 100644 index 7b58eba33..000000000 --- a/doc/source/netscript/singularityfunctions/travelToCity.rst +++ /dev/null @@ -1,22 +0,0 @@ -travelToCity() Netscript Function -================================= - -.. js:function:: travelToCity(cityName) - - :RAM cost: 2 GB - - :param string cityName: - City to travel to. CASE-SENSITIVE. - - * Aevum - * Chongqing - * Sector-12 - * New Tokyo - * Ishima - * Volhaven - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function allows the player to travel to any city. The cost for using this function is the same as the cost for traveling through the Travel Agency. - - This function will return true if you successfully travel to the specified city and false otherwise. diff --git a/doc/source/netscript/singularityfunctions/universityCourse.rst b/doc/source/netscript/singularityfunctions/universityCourse.rst deleted file mode 100644 index d48ad152c..000000000 --- a/doc/source/netscript/singularityfunctions/universityCourse.rst +++ /dev/null @@ -1,32 +0,0 @@ -universityCourse() Netscript Function -===================================== - -.. js:function:: universityCourse(universityName, courseName) - - :RAM cost: 2 GB - - :param string universityName: - Name of university. Not case-sensitive. You must be in the correct city for whatever university you specify. - - * Summit University - * Rothman University - * ZB Institute Of Technology - :param string courseName: - Name of course. Not case-sensitive. - - * Study Computer Science - * Data Strucures - * Networks - * Algorithms - * Management - * Leadership - - If you are not in BitNode-4, then you must have Level 1 of Source-File 4 in order to use this function. - - This function will automatically set you to start taking a course at a university. If you are already in the middle of some - "working" action (such as working at a company, for a faction, or on a program), then running this function will automatically - cancel that action and give you your earnings. - - The cost and experience gains for all of these universities and classes are the same as if you were to manually visit and take these classes. - - This function will return true if you successfully start taking the course, and false otherwise. diff --git a/doc/source/netscript/singularityfunctions/upgradeHomeCores.rst b/doc/source/netscript/singularityfunctions/upgradeHomeCores.rst deleted file mode 100644 index eb1a76c81..000000000 --- a/doc/source/netscript/singularityfunctions/upgradeHomeCores.rst +++ /dev/null @@ -1,12 +0,0 @@ -upgradeHomeRam() Netscript Function -=================================== - -.. js:function:: upgradeHomeCores() - - :RAM cost: 3 GB - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will upgrade amount of CORES on the player's home computer. The cost is the same as if you were to do it manually. - - This function will return true if the player's home computer core count is successfully upgraded, and false otherwise. diff --git a/doc/source/netscript/singularityfunctions/upgradeHomeRam.rst b/doc/source/netscript/singularityfunctions/upgradeHomeRam.rst deleted file mode 100644 index 6088acdb0..000000000 --- a/doc/source/netscript/singularityfunctions/upgradeHomeRam.rst +++ /dev/null @@ -1,12 +0,0 @@ -upgradeHomeRam() Netscript Function -=================================== - -.. js:function:: upgradeHomeRam() - - :RAM cost: 3 GB - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will upgrade amount of RAM on the player's home computer. The cost is the same as if you were to do it manually. - - This function will return true if the player's home computer RAM is successfully upgraded, and false otherwise. diff --git a/doc/source/netscript/singularityfunctions/workForCompany.rst b/doc/source/netscript/singularityfunctions/workForCompany.rst deleted file mode 100644 index 40e5a8e26..000000000 --- a/doc/source/netscript/singularityfunctions/workForCompany.rst +++ /dev/null @@ -1,30 +0,0 @@ -workForCompany() Netscript Function -=================================== - -.. js:function:: workForCompany(companyName=lastCompany) - - :RAM cost: 3 GB - - :param string companyName: Name of company to work for. Must be an exact match. - Optional. If not specified, this argument defaults to - the last job that you worked - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will automatically set you to start working at the company at which you are employed. - If you are already in the middle of some "working" action (such as working for a faction, training at - a gym, or creating a program), then running this function will automatically cancel that action and give you your earnings. - - This function will return true if the player starts working, and false otherwise. - - Note that when you are working for a company, you will not actually receive your earnings - (reputation, money, experience) until you FINISH the action. This can be an issue if, for example, - you only want to work until you get 100,000 company reputation. One small hack to get around this is to - continuously restart the action to receive your earnings:: - - while (getCompanyRep(COMPANY HERE) < VALUE) { - workForCompany(); - sleep(60000); - } - - This way, your company reputation will be updated every minute. diff --git a/doc/source/netscript/singularityfunctions/workForFaction.rst b/doc/source/netscript/singularityfunctions/workForFaction.rst deleted file mode 100644 index b8d6dfd5b..000000000 --- a/doc/source/netscript/singularityfunctions/workForFaction.rst +++ /dev/null @@ -1,34 +0,0 @@ -workForFaction() Netscript Function -=================================== - -.. js:function:: workForFaction(factionName, workType) - - :RAM cost: 3 GB - - :param string factionName: Name of faction to work for. CASE-SENSITIVE - :param string workType: - Type of work to perform for the faction: - - * hacking/hacking contracts/hackingcontracts - * field/fieldwork/field work - * security/securitywork/security work - - If you are not in BitNode-4, then you must have Level 2 of Source-File 4 in order to use this function. - - This function will automatically set you to start working for the specified faction. - Obviously, you must be a member of the faction or else this function will fail. If you are already in - the middle of some "working" action (such as working for a company, training at a gym, or creating a program), - then running this function will automatically cancel that action and give you your earnings. - - This function will return true if you successfully start working for the specified faction, and false otherwise. - - Note that when you are working for a faction, you will not actually receive your earnings (reputation, experience) - until you FINISH the action. This can be an issue if, for example, you only want to work until you get 100,000 faction - reputation. One small hack to get around this is to continuously restart the action to receive your earnings:: - - while (getFactionRep(FACTION NAME) < VALUE) { - workForFaction(FACNAME, WORKTYPE); - sleep(60000); - } - - This way, your faction reputation will be updated every minute. diff --git a/doc/source/netscript/sleeveapi/getInformation.rst b/doc/source/netscript/sleeveapi/getInformation.rst deleted file mode 100644 index ca39034fb..000000000 --- a/doc/source/netscript/sleeveapi/getInformation.rst +++ /dev/null @@ -1,67 +0,0 @@ -getInformation() Netscript Function -======================================= - -.. js:function:: getInformation(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to retrieve information. See :ref:`here ` - - Return a struct containing tons of information about this sleeve - -.. code-block:: javascript - - { - city: location of the sleeve, - hp: current hp of the sleeve, - maxHp: max hp of the sleeve, - jobs: jobs available to the sleeve, - jobTitle: job titles available to the sleeve, - - mult: { - agility: agility multiplier, - agilityExp: agility exp multiplier, - companyRep: company reputation multiplier, - crimeMoney: crime money multiplier, - crimeSuccess: crime success chance multiplier, - defense: defense multiplier, - defenseExp: defense exp multiplier, - dexterity: dexterity multiplier, - dexterityExp: dexterity exp multiplier, - factionRep: faction reputation multiplier, - hacking: hacking skill multiplier, - hackingExp: hacking exp multiplier, - strength: strength multiplier, - strengthExp: strength exp multiplier, - workMoney: work money multiplier, - }, - timeWorked: time spent on the current task in milliseconds, - earningsForSleeves : { earnings synchronized to other sleeves - workHackExpGain: hacking exp gained from work, - workStrExpGain: strength exp gained from work, - workDefExpGain: defense exp gained from work, - workDexExpGain: dexterity exp gained from work, - workAgiExpGain: agility exp gained from work, - workChaExpGain: charisma exp gained from work, - workMoneyGain: money gained from work, - }, - earningsForPlayer : { earnings synchronized to the player - workHackExpGain: hacking exp gained from work, - workStrExpGain: strength exp gained from work, - workDefExpGain: defense exp gained from work, - workDexExpGain: dexterity exp gained from work, - workAgiExpGain: agility exp gained from work, - workChaExpGain: charisma exp gained from work, - workMoneyGain: money gained from work, - }, - earningsForTask : { earnings for this sleeve - workHackExpGain: hacking exp gained from work, - workStrExpGain: strength exp gained from work, - workDefExpGain: defense exp gained from work, - workDexExpGain: dexterity exp gained from work, - workAgiExpGain: agility exp gained from work, - workChaExpGain: charisma exp gained from work, - workMoneyGain: money gained from work, - }, - workRepGain: Reputation gain rate when working for factions or companies - } diff --git a/doc/source/netscript/sleeveapi/getNumSleeves.rst b/doc/source/netscript/sleeveapi/getNumSleeves.rst deleted file mode 100644 index de9153b5c..000000000 --- a/doc/source/netscript/sleeveapi/getNumSleeves.rst +++ /dev/null @@ -1,8 +0,0 @@ -getNumSleeves() Netscript Function -======================================= - -.. js:function:: getNumSleeves() - - :RAM cost: 4 GB - - Return the number of duplicate sleeves the player has. diff --git a/doc/source/netscript/sleeveapi/getSleeveAugmentations.rst b/doc/source/netscript/sleeveapi/getSleeveAugmentations.rst deleted file mode 100644 index 1bb17d366..000000000 --- a/doc/source/netscript/sleeveapi/getSleeveAugmentations.rst +++ /dev/null @@ -1,10 +0,0 @@ -getSleeveAugmentations() Netscript Function -=========================================== - -.. js:function:: getSleeveAugmentations(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to retrieve augmentations from. See :ref:`here ` - - Return a list of augmentation names that this sleeve has installed. diff --git a/doc/source/netscript/sleeveapi/getSleevePurchasableAugs.rst b/doc/source/netscript/sleeveapi/getSleevePurchasableAugs.rst deleted file mode 100644 index 6a0773463..000000000 --- a/doc/source/netscript/sleeveapi/getSleevePurchasableAugs.rst +++ /dev/null @@ -1,19 +0,0 @@ -getSleevePurchasableAugs() Netscript Function -============================================= - -.. js:function:: getSleevePurchasableAugs(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to retrieve purchasable augmentations from. See :ref:`here ` - - Return a list of augmentations that the player can buy for this sleeve. - -.. code-block:: javascript - - [ - { - name: string, // augmentation name - cost: number, // augmentation cost - } - ] diff --git a/doc/source/netscript/sleeveapi/getSleeveStats.rst b/doc/source/netscript/sleeveapi/getSleeveStats.rst deleted file mode 100644 index f51f10846..000000000 --- a/doc/source/netscript/sleeveapi/getSleeveStats.rst +++ /dev/null @@ -1,23 +0,0 @@ -getSleeveStats() Netscript Function -=================================== - -.. js:function:: getSleeveStats(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to get stats of. See :ref:`here ` - - Return a structure containing the stats of the sleeve - -.. code-block:: javascript - - { - shock: current shock of the sleeve [0-100], - sync: current sync of the sleeve [0-100], - hacking_skill: current hacking skill of the sleeve, - strength: current strength of the sleeve, - defense: current defense of the sleeve, - dexterity: current dexterity of the sleeve, - agility: current agility of the sleeve, - charisma: current charisma of the sleeve, - } diff --git a/doc/source/netscript/sleeveapi/getTask.rst b/doc/source/netscript/sleeveapi/getTask.rst deleted file mode 100644 index 9c5171fd8..000000000 --- a/doc/source/netscript/sleeveapi/getTask.rst +++ /dev/null @@ -1,20 +0,0 @@ -getTask() Netscript Function -======================================= - -.. js:function:: getTask(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to retrieve task from. See :ref:`here ` - - Return the current task that the sleeve is performing. type is set to "Idle" if the sleeve isn't doing anything - -.. code-block:: javascript - - { - task: string, // task type - crime: string, // crime currently attempting, if any - location: string, // location of the task, if any - gymStatType: string, // stat being trained at the gym, if any - factionWorkType: string, // faction work type being performed, if any - } diff --git a/doc/source/netscript/sleeveapi/purchaseSleeveAug.rst b/doc/source/netscript/sleeveapi/purchaseSleeveAug.rst deleted file mode 100644 index b52651313..000000000 --- a/doc/source/netscript/sleeveapi/purchaseSleeveAug.rst +++ /dev/null @@ -1,11 +0,0 @@ -purchaseSleeveAug() Netscript Function -======================================= - -.. js:function:: purchaseSleeveAug(sleeveNumber, augName) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to buy an aug for. See :ref:`here ` - :param string augName: Name of the aug to buy. Must be an exact match - - Return true if the aug was purchased and installed on the sleeve. diff --git a/doc/source/netscript/sleeveapi/setToCommitCrime.rst b/doc/source/netscript/sleeveapi/setToCommitCrime.rst deleted file mode 100644 index 871ce2140..000000000 --- a/doc/source/netscript/sleeveapi/setToCommitCrime.rst +++ /dev/null @@ -1,13 +0,0 @@ -setToCommitCrime() Netscript Function -===================================== - -.. js:function:: setToCommitCrime(sleeveNumber, name) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to start commiting crime. See :ref:`here ` - :param string name: Name of the crime. Must be an exact match. - - Return a boolean indicating whether or not this action was set successfully. - - Returns false if an invalid action is specified. diff --git a/doc/source/netscript/sleeveapi/setToCompanyWork.rst b/doc/source/netscript/sleeveapi/setToCompanyWork.rst deleted file mode 100644 index a865ed765..000000000 --- a/doc/source/netscript/sleeveapi/setToCompanyWork.rst +++ /dev/null @@ -1,11 +0,0 @@ -setToCompanyWork() Netscript Function -===================================== - -.. js:function:: setToCompanyWork(sleeveNumber, companyName) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to work for the company. See :ref:`here ` - :param string companyName: Name of the company to work for. - - Return a boolean indicating whether or not the sleeve started working or this company. diff --git a/doc/source/netscript/sleeveapi/setToFactionWork.rst b/doc/source/netscript/sleeveapi/setToFactionWork.rst deleted file mode 100644 index 628b64a79..000000000 --- a/doc/source/netscript/sleeveapi/setToFactionWork.rst +++ /dev/null @@ -1,12 +0,0 @@ -setToFactionWork() Netscript Function -===================================== - -.. js:function:: setToFactionWork(sleeveNumber, factionName, factionWorkType) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to work for the faction. See :ref:`here ` - :param string factionName: Name of the faction to work for. - :param string factionWorkType: Name of the action to perform for this faction. - - Return a boolean indicating whether or not the sleeve started working or this faction. diff --git a/doc/source/netscript/sleeveapi/setToGymWorkout.rst b/doc/source/netscript/sleeveapi/setToGymWorkout.rst deleted file mode 100644 index 34ecf357f..000000000 --- a/doc/source/netscript/sleeveapi/setToGymWorkout.rst +++ /dev/null @@ -1,12 +0,0 @@ -setToGymWorkout() Netscript Function -==================================== - -.. js:function:: setToGymWorkout(sleeveNumber, gymName, stat) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to workout at the gym. See :ref:`here ` - :param string gymName: Name of the gym. - :param string stat: Name of the stat to train. - - Return a boolean indicating whether or not the sleeve started working out. diff --git a/doc/source/netscript/sleeveapi/setToShockRecovery.rst b/doc/source/netscript/sleeveapi/setToShockRecovery.rst deleted file mode 100644 index 56d06f5fe..000000000 --- a/doc/source/netscript/sleeveapi/setToShockRecovery.rst +++ /dev/null @@ -1,10 +0,0 @@ -setToShockRecovery() Netscript Function -======================================= - -.. js:function:: setToShockRecovery(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to start recovery. See :ref:`here ` - - Return a boolean indicating whether or not this action was set successfully. diff --git a/doc/source/netscript/sleeveapi/setToSynchronize.rst b/doc/source/netscript/sleeveapi/setToSynchronize.rst deleted file mode 100644 index 292c7b0f7..000000000 --- a/doc/source/netscript/sleeveapi/setToSynchronize.rst +++ /dev/null @@ -1,10 +0,0 @@ -setToSynchronize() Netscript Function -===================================== - -.. js:function:: setToSynchronize(sleeveNumber) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to start synchronizing. See :ref:`here ` - - Return a boolean indicating whether or not this action was set successfully. diff --git a/doc/source/netscript/sleeveapi/setToUniversityCourse.rst b/doc/source/netscript/sleeveapi/setToUniversityCourse.rst deleted file mode 100644 index 7820d735a..000000000 --- a/doc/source/netscript/sleeveapi/setToUniversityCourse.rst +++ /dev/null @@ -1,12 +0,0 @@ -setToUniversityCourse() Netscript Function -========================================== - -.. js:function:: setToUniversityCourse(sleeveNumber, university, className) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to start taking class. See :ref:`here ` - :param string university: Name of the university to attend. - :param string className: Name of the class to follow. - - Return a boolean indicating whether or not this action was set successfully. diff --git a/doc/source/netscript/sleeveapi/travel.rst b/doc/source/netscript/sleeveapi/travel.rst deleted file mode 100644 index 8d11754ff..000000000 --- a/doc/source/netscript/sleeveapi/travel.rst +++ /dev/null @@ -1,11 +0,0 @@ -travel() Netscript Function -======================================= - -.. js:function:: travel(sleeveNumber, cityName) - - :RAM cost: 4 GB - - :param int sleeveNumber: Index of the sleeve to travel. See :ref:`here ` - :param string cityName: Name of the destination city. - - Return a boolean indicating whether or not the sleeve reached destination. diff --git a/doc/source/netscript/tixapi/buy.rst b/doc/source/netscript/tixapi/buy.rst deleted file mode 100644 index eb3706181..000000000 --- a/doc/source/netscript/tixapi/buy.rst +++ /dev/null @@ -1,17 +0,0 @@ -buy() Netscript Function -============================= - -.. js:function:: buy(sym, shares) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock to purchase - :param number shares: Number of shares to purchased. Must be positive. Will be rounded to nearest integer - - - Attempts to purchase shares of a stock using a `Market Order `_. - - If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. Remember - that every transaction on the stock exchange costs a certain commission fee. - - If this function successfully purchases the shares, it will return the stock price at which each share was purchased. Otherwise, - it will return 0. diff --git a/doc/source/netscript/tixapi/cancelOrder.rst b/doc/source/netscript/tixapi/cancelOrder.rst deleted file mode 100644 index 2271fb7c7..000000000 --- a/doc/source/netscript/tixapi/cancelOrder.rst +++ /dev/null @@ -1,24 +0,0 @@ -cancelOrder() Netscript Function -================================ - -.. js:function:: cancelOrder(sym, shares, price, type, pos) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock to player order for - :param number shares: Number of shares for order. Must be positive. Will be rounded to nearest integer - :param number price: Execution price for the order - :param string type: Type of order. It must specify "limit" or "stop", and must also specify "buy" or "sell". This is NOT - case-sensitive. Here are four examples that will work: - - * limitbuy - * limitsell - * stopbuy - * stopsell - - :param string pos: - Specifies whether the order is a "Long" or "Short" position. The Values "L" or "S" can also be used. This is - NOT case-sensitive. - - Cancels an oustanding Limit or Stop order on the stock market. - - The ability to use limit and stop orders is **not** immediately available to the player and must be unlocked later on in the game. diff --git a/doc/source/netscript/tixapi/getAskPrice.rst b/doc/source/netscript/tixapi/getAskPrice.rst deleted file mode 100644 index 651e2cb61..000000000 --- a/doc/source/netscript/tixapi/getAskPrice.rst +++ /dev/null @@ -1,13 +0,0 @@ -getAskPrice() Netscript Function -===================================== - -.. js:function:: getAskPrice(sym) - - :RAM cost: 2 GB - :param string sym: Stock symbol - - - Given a stock's symbol, returns the ask price of that stock (the symbol is a sequence - of two to four capital letters, **not** the name of the company to which that stock belongs). - - See :ref:`gameplay_stock_market_spread` for details on what the ask price is. diff --git a/doc/source/netscript/tixapi/getBidPrice.rst b/doc/source/netscript/tixapi/getBidPrice.rst deleted file mode 100644 index 11bce4c15..000000000 --- a/doc/source/netscript/tixapi/getBidPrice.rst +++ /dev/null @@ -1,13 +0,0 @@ -getBidPrice() Netscript Function -===================================== - -.. js:function:: getBidPrice(sym) - - :RAM cost: 2 GB - :param string sym: Stock symbol - - - Given a stock's symbol, returns the bid price of that stock (the symbol is a sequence - of two to four capital letters, **not** the name of the company to which that stock belongs). - - See :ref:`gameplay_stock_market_spread` for details on what the bid price is. diff --git a/doc/source/netscript/tixapi/getForecast.rst b/doc/source/netscript/tixapi/getForecast.rst deleted file mode 100644 index ae39e3b29..000000000 --- a/doc/source/netscript/tixapi/getForecast.rst +++ /dev/null @@ -1,22 +0,0 @@ -getForecast() Netscript Function -===================================== - -.. js:function:: getForecast(sym) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock - - - Returns the probability that the specified stock's price will increase - (as opposed to decrease) during the next tick. - - The probability is returned as a decimal value, NOT a percentage (e.g. if a - stock has a 60% chance of increasing, then this function will return 0.6, - NOT 60). - - In other words, if this function returned 0.30 for a stock, then this means - that the stock's price has a 30% chance of increasing and a 70% chance of - decreasing during the next tick. - - In order to use this function, you must first purchase access to the Four Sigma (4S) - Market Data TIX API. diff --git a/doc/source/netscript/tixapi/getMaxShares.rst b/doc/source/netscript/tixapi/getMaxShares.rst deleted file mode 100644 index 3e29dd49f..000000000 --- a/doc/source/netscript/tixapi/getMaxShares.rst +++ /dev/null @@ -1,12 +0,0 @@ -getMaxShares() Netscript Function -====================================== - -.. js:function:: getMaxShares(sym) - - :RAM cost: 2 GB - :param string sym: Stock symbol - - - Returns the maximum number of shares that the stock has. This is the maximum - amount of the stock that can be purchased in both the Long and Short - positions combined diff --git a/doc/source/netscript/tixapi/getOrders.rst b/doc/source/netscript/tixapi/getOrders.rst deleted file mode 100644 index 46ffd2b60..000000000 --- a/doc/source/netscript/tixapi/getOrders.rst +++ /dev/null @@ -1,72 +0,0 @@ -getOrders() Netscript Function -============================== - -.. js:function:: getOrders() - - :RAM cost: 2.5 GB - - Returns your order book for the stock market. This is an object containing information - for all the :ref:`Limit and Stop Orders ` - you have in the stock market. - - .. note:: This function isn't accessible until you have unlocked the ability to use - Limit and Stop Orders. - - The object has the following structure:: - - { - StockSymbol1: [ // Array of orders for this stock - { - shares: Order quantity - price: Order price - type: Order type - position: Either "L" or "S" for Long or Short position - }, - { - ... - }, - ... - ], - StockSymbol2: [ // Array of orders for this stock - ... - ], - ... - } - - The "Order type" property can have one of the following four values: - - * "Limit Buy Order" - * "Limit Sell Order" - * "Stop Buy Order" - * "Stop Sell Order" - - **Note that the order book will only contain information for stocks that you actually - have orders in**. For example, if you do not have orders in Nova Medical (NVMD), then the returned - object will not have a "NVMD" property. - - Example:: - - { - ECP: [ - { - shares: 5, - price: 100,000 - type: "Stop Buy Order", - position: "S", - }, - { - shares: 25, - price: 125,000 - type: "Limit Sell Order", - position: "L", - }, - ], - SYSC: [ - { - shares: 100, - price: 10,000 - type: "Limit Buy Order", - position: "L", - }, - ], - } diff --git a/doc/source/netscript/tixapi/getPosition.rst b/doc/source/netscript/tixapi/getPosition.rst deleted file mode 100644 index e046536e3..000000000 --- a/doc/source/netscript/tixapi/getPosition.rst +++ /dev/null @@ -1,28 +0,0 @@ -getPosition() Netscript Function -===================================== - -.. js:function:: getPosition(sym) - - :RAM cost: 2 GB - :param string sym: Stock symbol - - - Returns an array of four elements that represents the player's position in a stock. - - The first element is the returned array is the number of shares the player owns of the stock in the - `Long position `_. The second - element in the array is the average price of the player's shares in the Long position. - - The third element in the array is the number of shares the player owns of the stock in the - `Short position `_. The fourth - element in the array is the average price of the player's Short position. - - All elements in the returned array are numeric. - - Example:: - - pos = getPosition("ECP"); - shares = pos[0]; - avgPx = pos[1]; - sharesShort = pos[2]; - avgPxShort = pos[3]; diff --git a/doc/source/netscript/tixapi/getPrice.rst b/doc/source/netscript/tixapi/getPrice.rst deleted file mode 100644 index 7121f46ec..000000000 --- a/doc/source/netscript/tixapi/getPrice.rst +++ /dev/null @@ -1,18 +0,0 @@ -getPrice() Netscript Function -================================== - -.. js:function:: getPrice(sym) - - :RAM cost: 2 GB - :param string sym: Stock symbol - - - Given a stock's symbol, returns the price of that stock (the symbol is a sequence - of two to four capital letters, **not** the name of the company to which that stock belongs). - - .. note:: The stock's price is the average of its bid and ask price. - See :ref:`gameplay_stock_market_spread` for details on what this means. - - Example:: - - getPrice("FSIG"); diff --git a/doc/source/netscript/tixapi/getPurchaseCost.rst b/doc/source/netscript/tixapi/getPurchaseCost.rst deleted file mode 100644 index 812061567..000000000 --- a/doc/source/netscript/tixapi/getPurchaseCost.rst +++ /dev/null @@ -1,15 +0,0 @@ -getPurchaseCost() Netscript Function -========================================= - -.. js:function:: getPurchaseCost(sym, shares, posType) - - :RAM cost: 2 GB - :param string sym: Stock symbol - :param number shares: Number of shares to purchase - :param string posType: Specifies whether the order is a "Long" or "Short" position. - The values "L" or "S" can also be used. - - - Calculates and returns how much it would cost to buy a given number of - shares of a stock. This takes into account :ref:`spread ` - and commission fees. diff --git a/doc/source/netscript/tixapi/getSaleGain.rst b/doc/source/netscript/tixapi/getSaleGain.rst deleted file mode 100644 index dcc8de8e0..000000000 --- a/doc/source/netscript/tixapi/getSaleGain.rst +++ /dev/null @@ -1,15 +0,0 @@ -getSaleGain() Netscript Function -===================================== - -.. js:function:: getSaleGain(sym, shares, posType) - - :RAM cost: 2 GB - :param string sym: Stock symbol - :param number shares: Number of shares to sell - :param string posType: Specifies whether the order is a "Long" or "Short" position. - The values "L" or "S" can also be used. - - - Calculates and returns how much you would gain from selling a given number of - shares of a stock. This takes into account :ref:`spread ` - and commission fees. diff --git a/doc/source/netscript/tixapi/getSymbols.rst b/doc/source/netscript/tixapi/getSymbols.rst deleted file mode 100644 index 635e21a21..000000000 --- a/doc/source/netscript/tixapi/getSymbols.rst +++ /dev/null @@ -1,8 +0,0 @@ -getSymbols() Netscript Function() -====================================== - -.. js:function:: getSymbols() - - :RAM cost: 2 GB - - Returns an array of the symbols of the tradable stocks diff --git a/doc/source/netscript/tixapi/getVolatility.rst b/doc/source/netscript/tixapi/getVolatility.rst deleted file mode 100644 index b15602126..000000000 --- a/doc/source/netscript/tixapi/getVolatility.rst +++ /dev/null @@ -1,18 +0,0 @@ -getStockVolatility() Netscript Function -======================================= - -.. js:function:: getStockVolatility(sym) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock - - - Returns the volatility of the specified stock. - - Volatility represents the maximum percentage by which a stock's price can - change every tick. The volatility is returned as a decimal value, NOT - a percentage (e.g. if a stock has a volatility of 3%, then this function will - return 0.03, NOT 3). - - In order to use this function, you must first purchase access to the Four Sigma (4S) - Market Data TIX API. diff --git a/doc/source/netscript/tixapi/placeOrder.rst b/doc/source/netscript/tixapi/placeOrder.rst deleted file mode 100644 index 7bcda6cfe..000000000 --- a/doc/source/netscript/tixapi/placeOrder.rst +++ /dev/null @@ -1,28 +0,0 @@ -placeOrder() Netscript Function -=============================== - -.. js:function:: placeOrder(sym, shares, price, type, pos) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock to player order for - :param number shares: Number of shares for order. Must be positive. Will be rounded to nearest integer - :param number price: Execution price for the order - :param string type: Type of order. It must specify "limit" or "stop", and must also specify "buy" or "sell". This is NOT - case-sensitive. Here are four examples that will work: - - * limitbuy - * limitsell - * stopbuy - * stopsell - - :param string pos: - Specifies whether the order is a "Long" or "Short" position. The Values "L" or "S" can also be used. This is - NOT case-sensitive. - - Places an order on the stock market. This function only works - for :ref:`Limit and Stop Orders `. - - Returns true if the order is successfully placed, and false otherwise. - - .. note:: The ability to place limit and stop orders is **not** immediately available to - the player and must be unlocked later on in the game. diff --git a/doc/source/netscript/tixapi/purchase4SMarketData.rst b/doc/source/netscript/tixapi/purchase4SMarketData.rst deleted file mode 100644 index 841cb4517..000000000 --- a/doc/source/netscript/tixapi/purchase4SMarketData.rst +++ /dev/null @@ -1,11 +0,0 @@ -purchase4SMarketData() Netscript Function -========================================= - -.. js:function:: purchase4SMarketData() - - :RAM cost: 2.5 GB - - Purchase 4S Market Data Access. - - Returns true if you successfully purchased it or if you already have access. - Returns false otherwise. diff --git a/doc/source/netscript/tixapi/purchase4SMarketDataTixApi.rst b/doc/source/netscript/tixapi/purchase4SMarketDataTixApi.rst deleted file mode 100644 index 119988f05..000000000 --- a/doc/source/netscript/tixapi/purchase4SMarketDataTixApi.rst +++ /dev/null @@ -1,11 +0,0 @@ -purchase4SMarketDataTixApi() Netscript Function -=============================================== - -.. js:function:: purchase4SMarketDataTixApi() - - :RAM cost: 2.5 GB - - Purchase 4S Market Data TIX API Access. - - Returns true if you successfully purchased it or if you already have access. - Returns false otherwise. diff --git a/doc/source/netscript/tixapi/sell.rst b/doc/source/netscript/tixapi/sell.rst deleted file mode 100644 index 5bace94d6..000000000 --- a/doc/source/netscript/tixapi/sell.rst +++ /dev/null @@ -1,21 +0,0 @@ -sell() Netscript Function -============================== - -.. js:function:: sell(sym, shares) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock to sell - :param number shares: Number of shares to sell. Must be positive. Will be rounded to nearest integer - - - Attempts to sell shares of a stock using a `Market Order `_. - - If the specified number of shares in the function exceeds the amount that the player actually owns, then this function will - sell all owned shares. Remember that every transaction on the stock exchange costs a certain commission fee. - - The net profit made from selling stocks with this function is reflected in the script's statistics. - This net profit is calculated as:: - - shares * (sell price - average price of purchased shares) - - If the sale is successful, this function will return the stock price at which each share was sold. Otherwise, it will return 0. diff --git a/doc/source/netscript/tixapi/sellShort.rst b/doc/source/netscript/tixapi/sellShort.rst deleted file mode 100644 index ca339f235..000000000 --- a/doc/source/netscript/tixapi/sellShort.rst +++ /dev/null @@ -1,19 +0,0 @@ -sellShort() Netscript Function -============================== - -.. js:function:: sellShort(sym, shares) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock to sell - :param number shares: Number of shares to sell. Must be positive. Will be rounded to nearest integer - - - Attempts to sell a `short `_ position of a stock - using a `Market Order `_. - - The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game. - - If the specified number of shares exceeds the amount that the player actually owns, then this function will sell all owned - shares. Remember that every transaction on the stock exchange costs a certain commission fee. - - If the sale is successful, this function will return the stock price at which each share was sold. Otherwise it will return 0. diff --git a/doc/source/netscript/tixapi/short.rst b/doc/source/netscript/tixapi/short.rst deleted file mode 100644 index fc5d72b86..000000000 --- a/doc/source/netscript/tixapi/short.rst +++ /dev/null @@ -1,19 +0,0 @@ -short() Netscript Function -=============================== - -.. js:function:: short(sym, shares) - - :RAM cost: 2.5 GB - :param string sym: Symbol of stock to short - :param number shares: Number of shares to short. Must be positive. Will be rounded to nearest integer - - - Attempts to purchase a `short `_ position of a stock - using a `Market Order `_. - - The ability to short a stock is **not** immediately available to the player and must be unlocked later on in the game. - - If the player does not have enough money to purchase the specified number of shares, then no shares will be purchased. - Remember that every transaction on the stock exchange costs a certain commission fee. - - If the purchase is successful, this function will return the stock price at which each share was purchased. Otherwise, it will return 0. diff --git a/doc/source/shortcuts.rst b/doc/source/shortcuts.rst index 80f690f5e..492f0d867 100644 --- a/doc/source/shortcuts.rst +++ b/doc/source/shortcuts.rst @@ -35,10 +35,6 @@ Alt + g Switch to 'Gang' page Alt + b Switch to 'Bladeburner' page ========== =========================================================================== -Script Editor -------------- -See the :ref:`Script Editor ` documentation for more details. - Terminal Shortcuts ------------------ These shortcuts are available only in the :ref:`terminal` diff --git a/main.bundle.js b/main.bundle.js index 1754af79d..99ab24982 100644 --- a/main.bundle.js +++ b/main.bundle.js @@ -1,4 +1,4 @@ -!function(e){function t(t){for(var n,o,s=t[0],l=t[1],c=t[2],m=0,h=[];mObject(o.a)({unbuyable:{color:e.palette.action.disabled},money:{color:e.colors.money}}));function l(e){const t=s();if(void 0!==e.player){if("number"!=typeof e.money)throw new Error("if player if provided, money should be number, contact dev");if(!e.player.canAfford(e.money))return n.createElement("span",{className:t.unbuyable},r.a.formatMoney(e.money))}return n.createElement("span",{className:t.money},"number"==typeof e.money?r.a.formatMoney(e.money):e.money)}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={}},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"e",(function(){return i})),a.d(t,"a",(function(){return o})),a.d(t,"c",(function(){return s})),a.d(t,"d",(function(){return l}));var n=a(115);function r(e,t=!1){e=Math.floor(e);const a=Math.floor(e/1e3),n=Math.floor(a/86400),r=a%86400,i=Math.floor(r/3600),o=r%3600,s=Math.floor(o/60),l=o%60,c=(()=>{let t=""+e%1e3;for(;t.length<3;)t="0"+t;return t})();let u="";return n>0&&(u+=n+" days "),i>0&&(u+=i+" hours "),s>0&&(u+=s+" minutes "),u+=(t?`${l}.${c}`:""+l)+" seconds",u}function i(e){if(!o(e))return"";if(0===e.length)return"";const t=e.concat().sort(),a=t[0],n=t[t.length-1],r=a.length;let i=0;for(;iObject(n.useContext)(i.Player),Router:()=>Object(n.useContext)(i.Router)}},function(e,t,a){"use strict";a.d(t,"d",(function(){return u})),a.d(t,"c",(function(){return m})),a.d(t,"b",(function(){return h})),a.d(t,"g",(function(){return p})),a.d(t,"e",(function(){return d})),a.d(t,"a",(function(){return f})),a.d(t,"f",(function(){return g})),a.d(t,"i",(function(){return y})),a.d(t,"h",(function(){return b})),a.d(t,"j",(function(){return E}));var n=a(47),r=a(496),i=a(282),o=a(31),s=a(22),l=a(756);let c={};function u(e){const t=c[e];if(t)return t;if(!Object(l.a)(e))return function(e){for(const t in c){const a=c[t];if(a.hostname==e)return a}return null}(e);const a=function(e){for(const t in c){const a=c[t];if(a.ip===e)return a}}(e);return void 0!==a?a:null}function m(){const e=[];for(const t in c)e.push(c[t]);return e}function h(e){for(const t in c){const a=c[t];if(a.ip===e||a.hostname===e){delete c[t];break}}}function p(e){return null!=c[e]}function d(){const e=Object(i.a)();return p(e)?Object(i.a)():e}function f(e){if(u(e.hostname))throw console.warn("Hostname of the server thats being added: "+e.hostname),console.warn("The server that already has this IP is: "+c[e.hostname].hostname),new Error("Error: Trying to add a server with an existing IP");c[e.hostname]=e}function g(e){const t=[];for(let e=0;e<15;e++)t.push([]);const a=["hackDifficulty","moneyAvailable","requiredHackingSkill","serverGrowth"],i=e=>{switch(typeof e){case"number":return e;case"object":return Object(o.a)(e.min,e.max);default:throw Error(`Do not know how to convert the type '${typeof e}' to a number`)}};for(const e of r.a){const r={hostname:e.hostname,ip:d(),numOpenPortsRequired:e.numOpenPortsRequired,organizationName:e.organizationName};void 0!==e.maxRamExponent&&(r.maxRam=Math.pow(2,i(e.maxRamExponent)));for(const t of a)void 0!==e[t]&&(r[t]=i(e[t]));const o=new n.a(r);for(const t of e.literature||[])o.messages.push(t);f(o),void 0!==e.networkLayer&&t[i(e.networkLayer)-1].push(o)}const s=(e,t)=>{for(const r of e)a=r,n=t(),a.serversOnNetwork.push(n.hostname),n.serversOnNetwork.push(a.hostname);var a,n};s(t[0],()=>e);for(let e=1;e{return(a=t[e-1])[Math.floor(Math.random()*a.length)];var a})}function y(){for(const e in c)delete c[e];c={}}function b(e){c=JSON.parse(e,s.c)}function E(){const e=JSON.parse(JSON.stringify(c),s.c);for(const t in e){const a=e[t];for(let e=0;ee===1.0777-1?"7.77%":e===1.777-1?"77.7%":o.a.formatPercentage(e,t);let i=n.createElement(n.Fragment,null,"Effects:");return e.hacking_mult&&e.hacking_mult==e.strength_mult&&e.hacking_mult==e.defense_mult&&e.hacking_mult==e.dexterity_mult&&e.hacking_mult==e.agility_mult&&e.hacking_mult==e.charisma_mult?i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_mult-1)," all skills"):(e.hacking_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_mult-1)," hacking skill")),e.strength_mult&&e.strength_mult==e.defense_mult&&e.strength_mult==e.dexterity_mult&&e.strength_mult==e.agility_mult?i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.strength_mult-1)," combat skills"):(e.strength_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.strength_mult-1)," strength skill")),e.defense_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.defense_mult-1)," defense skill")),e.dexterity_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.dexterity_mult-1)," dexterity skill")),e.agility_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.agility_mult-1)," agility skill"))),e.charisma_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.charisma_mult-1)," Charisma skill"))),e.hacking_exp_mult&&e.hacking_exp_mult===e.strength_exp_mult&&e.hacking_exp_mult===e.defense_exp_mult&&e.hacking_exp_mult===e.dexterity_exp_mult&&e.hacking_exp_mult===e.agility_exp_mult&&e.hacking_exp_mult===e.charisma_exp_mult?i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_exp_mult-1)," exp for all skills"):(e.hacking_exp_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_exp_mult-1)," hacking exp")),e.strength_exp_mult&&e.strength_exp_mult===e.defense_exp_mult&&e.strength_exp_mult===e.dexterity_exp_mult&&e.strength_exp_mult===e.agility_exp_mult?i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.strength_exp_mult-1)," combat exp"):(e.strength_exp_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.strength_exp_mult-1)," strength exp")),e.defense_exp_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.defense_exp_mult-1)," defense exp")),e.dexterity_exp_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.dexterity_exp_mult-1)," dexterity exp")),e.agility_exp_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.agility_exp_mult-1)," agility exp"))),e.charisma_exp_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.charisma_exp_mult-1)," charisma exp"))),e.hacking_speed_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_speed_mult-1)," faster hack(), grow(), and weaken()")),e.hacking_chance_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_chance_mult-1)," hack() success chance")),e.hacking_money_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_money_mult-1)," hack() power")),e.hacking_grow_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacking_grow_mult-1)," grow() power")),e.faction_rep_mult&&e.faction_rep_mult===e.company_rep_mult?i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.faction_rep_mult-1)," reputation from factions and companies"):(e.faction_rep_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.faction_rep_mult-1)," reputation from factions")),e.company_rep_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.company_rep_mult-1)," reputation from companies"))),e.crime_money_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.crime_money_mult-1)," crime money")),e.crime_success_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.crime_success_mult-1)," crime success rate")),e.work_money_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.work_money_mult-1)," work money")),e.hacknet_node_money_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.hacknet_node_money_mult-1)," hacknet production")),e.hacknet_node_purchase_cost_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"-",r(-(e.hacknet_node_purchase_cost_mult-1))," hacknet nodes cost")),e.hacknet_node_level_cost_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"-",r(-(e.hacknet_node_level_cost_mult-1))," hacknet nodes upgrade cost")),e.bladeburner_max_stamina_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.bladeburner_max_stamina_mult-1)," Bladeburner Max Stamina")),e.bladeburner_stamina_gain_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.bladeburner_stamina_gain_mult-1)," Bladeburner Stamina gain")),e.bladeburner_analysis_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.bladeburner_analysis_mult-1)," Bladeburner Field Analysis effectiveness")),e.bladeburner_success_chance_mult&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"+",r(e.bladeburner_success_chance_mult-1)," Bladeburner Contracts and Operations success chance")),a&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"Start with ",n.createElement(s.a,{money:a})," after installing Augmentations.")),t&&(i=n.createElement(n.Fragment,null,i,n.createElement("br",null),"Start with ",t.join(" and ")," after installing Augmentations.")),i}(this.mults,e.programs,e.startingMoney):this.stats=e.stats}addToFactions(e){for(let t=0;tn.Start&&(s.currStep-=1),o.a.emit()}function m(){s.isRunning=!1,s.currStep=n.Start,r.a.getHomeComputer().messages.push(i.a.HackersStartingHandbook),o.a.emit()}},function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));var n=a(0),r=a.n(n),i=a(121),o=a(149),s=a(642),l=a(1154),c=a(32);const u=Object(i.a)(e=>Object(o.a)({modal:{display:"flex",alignItems:"center",justifyContent:"center"},paper:{backgroundColor:e.palette.background.default,border:"2px solid "+e.palette.primary.main,boxShadow:`0px 3px 5px -1px ${e.palette.primary.dark},0px 5px 8px 0px ${e.palette.primary.dark},0px 1px 14px 0px ${e.palette.primary.dark}`,padding:2,maxWidth:"80%",maxHeight:"80%",overflow:"auto","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"}})),m=e=>{const t=u();return r.a.createElement(s.a,{disableRestoreFocus:!0,disableScrollLock:!0,disableEnforceFocus:!0,disableAutoFocus:!0,open:e.open,onClose:e.onClose,closeAfterTransition:!0,className:t.modal},r.a.createElement(l.a,{in:e.open},r.a.createElement("div",{className:t.paper},r.a.createElement(c.a,{sx:{m:2}},e.children))))}},function(e,t,a){"use strict";a.d(t,"b",(function(){return u})),a.d(t,"a",(function(){return m}));var n=a(0),r=a.n(n),i=a(50),o=a(225),s=a(121);function l(){return(l=Object.assign||function(e){for(var t=1;tr.a.createElement(i.a,l({},e,{classes:{root:c().root,...e.classes}})),m=e=>r.a.createElement(o.a,l({},e,{classes:{root:c().small,...e.classes}}))},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));const n=["START","PURCHASE","PRODUCTION","SALE","EXPORT"],r={INITIALSHARES:1e9,SHARESPERPRICEUPDATE:1e6,IssueNewSharesCooldown:216e3,SellSharesCooldown:18e3,CyclesPerMarketCycle:50,CyclesPerIndustryStateCycle:50/n.length,SecsPerMarketCycle:10,Cities:["Aevum","Chongqing","Sector-12","New Tokyo","Ishima","Volhaven"],WarehouseInitialCost:5e9,WarehouseInitialSize:100,WarehouseUpgradeBaseCost:1e9,OfficeInitialCost:4e9,OfficeInitialSize:3,OfficeUpgradeBaseCost:1e9,BribeThreshold:1e14,BribeToRepRatio:1e9,ProductProductionCostRatio:5,DividendMaxPercentage:.5,EmployeeSalaryMultiplier:3,CyclesPerEmployeeRaise:400,EmployeeRaiseAmount:50,BaseMaxProducts:3,AllCorporationStates:n,AllMaterials:["Water","Energy","Food","Plants","Metal","Hardware","Chemicals","Drugs","Robots","AI Cores","Real Estate"]}},function(e,t,a){"use strict";a.d(t,"ab",(function(){return Q})),a.d(t,"db",(function(){return Z})),a.d(t,"eb",(function(){return ee})),a.d(t,"mb",(function(){return te})),a.d(t,"o",(function(){return ae})),a.d(t,"Kb",(function(){return ne})),a.d(t,"pb",(function(){return re})),a.d(t,"Y",(function(){return ie})),a.d(t,"sb",(function(){return oe})),a.d(t,"I",(function(){return se})),a.d(t,"cb",(function(){return le})),a.d(t,"q",(function(){return ce})),a.d(t,"nb",(function(){return ue})),a.d(t,"G",(function(){return me})),a.d(t,"J",(function(){return he})),a.d(t,"E",(function(){return pe})),a.d(t,"F",(function(){return de})),a.d(t,"B",(function(){return fe})),a.d(t,"C",(function(){return ge})),a.d(t,"H",(function(){return ye})),a.d(t,"hb",(function(){return be})),a.d(t,"qb",(function(){return Ee})),a.d(t,"gb",(function(){return ke})),a.d(t,"Eb",(function(){return ve})),a.d(t,"fb",(function(){return _e})),a.d(t,"r",(function(){return we})),a.d(t,"Lb",(function(){return Se})),a.d(t,"z",(function(){return Ce})),a.d(t,"Fb",(function(){return xe})),a.d(t,"Nb",(function(){return Oe})),a.d(t,"A",(function(){return Me})),a.d(t,"Db",(function(){return Te})),a.d(t,"Gb",(function(){return Re})),a.d(t,"Cb",(function(){return Ae})),a.d(t,"Ab",(function(){return Pe})),a.d(t,"zb",(function(){return Ne})),a.d(t,"Bb",(function(){return Ie})),a.d(t,"Mb",(function(){return Fe})),a.d(t,"y",(function(){return je})),a.d(t,"T",(function(){return De})),a.d(t,"S",(function(){return Be})),a.d(t,"V",(function(){return Ge})),a.d(t,"Q",(function(){return Le})),a.d(t,"R",(function(){return We})),a.d(t,"O",(function(){return He})),a.d(t,"P",(function(){return Ue})),a.d(t,"U",(function(){return qe})),a.d(t,"xb",(function(){return Ke})),a.d(t,"u",(function(){return ze})),a.d(t,"w",(function(){return $e})),a.d(t,"wb",(function(){return Ve})),a.d(t,"Hb",(function(){return Ye})),a.d(t,"v",(function(){return Je})),a.d(t,"yb",(function(){return Xe})),a.d(t,"t",(function(){return Qe})),a.d(t,"x",(function(){return Ze})),a.d(t,"ub",(function(){return et})),a.d(t,"Ib",(function(){return tt})),a.d(t,"ob",(function(){return at})),a.d(t,"Z",(function(){return nt})),a.d(t,"f",(function(){return rt})),a.d(t,"N",(function(){return it})),a.d(t,"jb",(function(){return ot})),a.d(t,"m",(function(){return st})),a.d(t,"l",(function(){return lt})),a.d(t,"e",(function(){return ct})),a.d(t,"j",(function(){return ut})),a.d(t,"g",(function(){return mt})),a.d(t,"c",(function(){return ht})),a.d(t,"b",(function(){return pt})),a.d(t,"k",(function(){return dt})),a.d(t,"a",(function(){return ft})),a.d(t,"d",(function(){return gt})),a.d(t,"h",(function(){return yt})),a.d(t,"n",(function(){return bt})),a.d(t,"i",(function(){return Et})),a.d(t,"bb",(function(){return kt})),a.d(t,"kb",(function(){return vt})),a.d(t,"lb",(function(){return _t})),a.d(t,"s",(function(){return wt})),a.d(t,"rb",(function(){return St})),a.d(t,"ib",(function(){return Ct})),a.d(t,"D",(function(){return xt})),a.d(t,"Jb",(function(){return Ot})),a.d(t,"X",(function(){return Mt})),a.d(t,"p",(function(){return Tt})),a.d(t,"W",(function(){return Rt})),a.d(t,"L",(function(){return At})),a.d(t,"K",(function(){return Pt})),a.d(t,"M",(function(){return Nt})),a.d(t,"tb",(function(){return It})),a.d(t,"vb",(function(){return Ft}));var n=a(20),r=a(156),i=a(276),o=a(7),s=a(8),l=a(96),c=a(206),u=a(60),m=a(572),h=a(446),p=a(84),d=a(26),f=a(6),g=a(62),y=a(327),b=a(75),E=a(176),k=a(24),v=a(74),_=a(131),w=a(217),S=a(23),C=a(9),x=a(287),O=a(235),M=a(350),T=a(212),R=a(28),A=a(47),P=a(111),N=a(95),I=a(1103),F=a(1104),j=a(317),D=a(71),B=a(441),G=a(351),L=a(86),W=a(3),H=a(332),U=a(15),q=a(21),K=a(102),z=a(16),$=a(0),V=a.n($),Y=a(496),J=a(246),X=a(636);function Q(){const e=Object(P.f)({adminRights:!0,hostname:"home",ip:Object(R.e)(),isConnectedTo:!0,maxRam:8,organizationName:"Home PC",purchasedByPlayer:!0});this.currentServer=N.a.Home,Object(R.a)(e),this.getHomeComputer().programs.push(g.a.NukeProgram.name)}function Z(){this.currentServer=N.a.Home,this.numPeopleKilled=0,this.karma=0,this.hacking=1,this.strength=1,this.defense=1,this.dexterity=1,this.agility=1,this.charisma=1,this.hacking_exp=0,this.strength_exp=0,this.defense_exp=0,this.dexterity_exp=0,this.agility_exp=0,this.charisma_exp=0,this.money=1e3,this.city=S.a.Sector12,this.location=C.a.TravelAgency,this.companyName="",this.jobs={},this.purchasedServers=[],this.factions=[],this.factionInvitations=[],this.queuedAugmentations=[],this.resleeves=[];const e=Math.min(3,D.a[10]+(10===this.bitNodeN?1:0))+this.sleevesFromCovenant;this.sleeves.length>e&&(this.sleeves.length=e);for(let t=this.sleeves.length;t=100?this.sleeves[e].synchronize(this):this.sleeves[e].shockRecovery(this));this.isWorking=!1,this.currentWorkFactionName="",this.currentWorkFactionDescription="",this.createProgramName="",this.className="",this.crimeType="",this.workHackExpGainRate=0,this.workStrExpGainRate=0,this.workDefExpGainRate=0,this.workDexExpGainRate=0,this.workAgiExpGainRate=0,this.workChaExpGainRate=0,this.workRepGainRate=0,this.workMoneyGainRate=0,this.workHackExpGained=0,this.workStrExpGained=0,this.workDefExpGained=0,this.workDexExpGained=0,this.workAgiExpGained=0,this.workChaExpGained=0,this.workRepGained=0,this.workMoneyGained=0,this.timeWorked=0,this.lastUpdate=(new Date).getTime(),this.playtimeSinceLastAug=0,this.scriptProdSinceLastAug=0,this.moneySourceA.reset(),this.hacknetNodes.length=0,this.hashManager.prestige(),this.reapplyAllAugmentations(!0),this.hp=this.max_hp}function ee(){this.prestigeAugmentation();for(let e=0;e0?this.intelligence=Math.floor(this.calculateSkill(this.intelligence_exp)):this.intelligence=0;const e=this.hp/this.max_hp;this.max_hp=Math.floor(10+this.defense/10),this.hp=Math.round(this.max_hp*e)}function re(){this.hacking_chance_mult=1,this.hacking_speed_mult=1,this.hacking_money_mult=1,this.hacking_grow_mult=1,this.hacking_mult=1,this.strength_mult=1,this.defense_mult=1,this.dexterity_mult=1,this.agility_mult=1,this.charisma_mult=1,this.hacking_exp_mult=1,this.strength_exp_mult=1,this.defense_exp_mult=1,this.dexterity_exp_mult=1,this.agility_exp_mult=1,this.charisma_exp_mult=1,this.company_rep_mult=1,this.faction_rep_mult=1,this.crime_money_mult=1,this.crime_success_mult=1,this.hacknet_node_money_mult=1,this.hacknet_node_purchase_cost_mult=1,this.hacknet_node_ram_cost_mult=1,this.hacknet_node_core_cost_mult=1,this.hacknet_node_level_cost_mult=1,this.work_money_mult=1,this.bladeburner_max_stamina_mult=1,this.bladeburner_stamina_gain_mult=1,this.bladeburner_analysis_mult=1,this.bladeburner_success_chance_mult=1}function ie(e){const t=this.getHomeComputer();if(null==t)return!1;for(let a=0;a=e}function ue(e,t){this.moneySourceA instanceof H.a||(console.warn("Player.moneySourceA was not properly initialized. Resetting"),this.moneySourceA=new H.a),this.moneySourceB instanceof H.a||(console.warn("Player.moneySourceB was not properly initialized. Resetting"),this.moneySourceB=new H.a),this.moneySourceA.record(e,t),this.moneySourceB.record(e,t)}function me(e){isNaN(e)?console.error("ERR: NaN passed into Player.gainHackingExp()"):(this.hacking_exp+=e,this.hacking_exp<0&&(this.hacking_exp=0),this.hacking=Object(O.b)(this.hacking_exp,this.hacking_mult*s.a.HackingLevelMultiplier))}function he(e){isNaN(e)?console.error("ERR: NaN passed into Player.gainStrengthExp()"):(this.strength_exp+=e,this.strength_exp<0&&(this.strength_exp=0),this.strength=Object(O.b)(this.strength_exp,this.strength_mult*s.a.StrengthLevelMultiplier))}function pe(e){isNaN(e)?console.error("ERR: NaN passed into player.gainDefenseExp()"):(this.defense_exp+=e,this.defense_exp<0&&(this.defense_exp=0),this.defense=Object(O.b)(this.defense_exp,this.defense_mult*s.a.DefenseLevelMultiplier))}function de(e){isNaN(e)?console.error("ERR: NaN passed into Player.gainDexterityExp()"):(this.dexterity_exp+=e,this.dexterity_exp<0&&(this.dexterity_exp=0),this.dexterity=Object(O.b)(this.dexterity_exp,this.dexterity_mult*s.a.DexterityLevelMultiplier))}function fe(e){isNaN(e)?console.error("ERR: NaN passed into Player.gainAgilityExp()"):(this.agility_exp+=e,this.agility_exp<0&&(this.agility_exp=0),this.agility=Object(O.b)(this.agility_exp,this.agility_mult*s.a.AgilityLevelMultiplier))}function ge(e){isNaN(e)?console.error("ERR: NaN passed into Player.gainCharismaExp()"):(this.charisma_exp+=e,this.charisma_exp<0&&(this.charisma_exp=0),this.charisma=Object(O.b)(this.charisma_exp,this.charisma_mult*s.a.CharismaLevelMultiplier))}function ye(e){isNaN(e)?console.error("ERROR: NaN passed into Player.gainIntelligenceExp()"):(D.a[5]>0||this.intelligence>0)&&(this.intelligence_exp+=e,this.intelligence=Math.floor(this.calculateSkill(this.intelligence_exp)))}function be(e){const t=e.toLowerCase();return t.includes("hack")?this.hacking:t.includes("str")?this.strength:t.includes("def")?this.defense:t.includes("dex")?this.dexterity:t.includes("agi")?this.agility:t.includes("cha")?this.charisma:t.includes("int")?this.intelligence:0}function Ee(e,t,a){this.workType!==f.a.WorkTypeFaction&&e===this.workType&&t===this.companyName||e===this.workType&&t===this.currentWorkFactionName&&a===this.factionWorkType||(this.isWorking&&this.singularityStopWork(),this.workHackExpGainRate=0,this.workStrExpGainRate=0,this.workDefExpGainRate=0,this.workDexExpGainRate=0,this.workAgiExpGainRate=0,this.workChaExpGainRate=0,this.workRepGainRate=0,this.workMoneyGainRate=0,this.workMoneyLossRate=0,this.workHackExpGained=0,this.workStrExpGained=0,this.workDefExpGained=0,this.workDexExpGained=0,this.workAgiExpGained=0,this.workChaExpGained=0,this.workRepGained=0,this.workMoneyGained=0,this.timeWorked=0,this.timeWorkedCreateProgram=0,this.currentWorkFactionName="",this.currentWorkFactionDescription="",this.createProgramName="",this.className="",this.workType="")}function ke(e=1){let t=1;this.hasAugmentation(o.a.NeuroreceptorManager)||(t=this.focus?1:f.a.BaseFocusBonus);const a=t*this.workHackExpGainRate*e,n=t*this.workStrExpGainRate*e,r=t*this.workDefExpGainRate*e,i=t*this.workDexExpGainRate*e,s=t*this.workAgiExpGainRate*e,l=t*this.workChaExpGainRate*e,c=(this.workMoneyGainRate-this.workMoneyLossRate)*e;this.gainHackingExp(a),this.gainStrengthExp(n),this.gainDefenseExp(r),this.gainDexterityExp(i),this.gainAgilityExp(s),this.gainCharismaExp(l),this.gainMoney(c,this.className?"class":"work"),this.workHackExpGained+=a,this.workStrExpGained+=n,this.workDefExpGained+=r,this.workDexExpGained+=i,this.workAgiExpGained+=s,this.workChaExpGained+=l,this.workRepGained+=t*this.workRepGainRate*e,this.workMoneyGained+=t*this.workMoneyGainRate*e,this.workMoneyGained-=t*this.workMoneyLossRate*e}function ve(e,t){this.resetWorkStatus(f.a.WorkTypeCompany,t),this.isWorking=!0,this.focus=!0,this.companyName=t,this.workType=f.a.WorkTypeCompany,this.workHackExpGainRate=this.getWorkHackExpGain(),this.workStrExpGainRate=this.getWorkStrExpGain(),this.workDefExpGainRate=this.getWorkDefExpGain(),this.workDexExpGainRate=this.getWorkDexExpGain(),this.workAgiExpGainRate=this.getWorkAgiExpGain(),this.workChaExpGainRate=this.getWorkChaExpGain(),this.workRepGainRate=this.getWorkRepGain(),this.workMoneyGainRate=this.getWorkMoneyGain(),this.timeNeededToCompleteWork=f.a.MillisecondsPer8Hours,e.toWork()}function _e(e,t=1){this.isWorking&&(this.workType==f.a.WorkTypeFaction?this.workForFaction(t)&&e.toFaction():this.workType==f.a.WorkTypeCreateProgram?this.createProgramWork(t)&&e.toTerminal():this.workType==f.a.WorkTypeStudyClass?this.takeClass(t)&&e.toCity():this.workType==f.a.WorkTypeCrime?this.commitCrime(t)&&e.toLocation(w.a[C.a.Slums]):this.workType==f.a.WorkTypeCompanyPartTime?this.workPartTime(t)&&e.toCity():this.work(t)&&e.toCity())}function we(){const e=Y.a.find(e=>e.specialName===this.companyName);if(!e)return.5;const t=Object(R.d)(e.hostname);return t instanceof A.a&&t&&t.backdoorInstalled?.75:.5}function Se(e){let t=!1;this.timeWorked+f.a._idleSpeed*e>=f.a.MillisecondsPer8Hours&&(t=!0,e=Math.round((f.a.MillisecondsPer8Hours-this.timeWorked)/f.a._idleSpeed)),this.timeWorked+=f.a._idleSpeed*e,this.workRepGainRate=this.getWorkRepGain(),this.workMoneyGainRate=this.getWorkMoneyGain(),this.processWorkEarnings(e);const a=u.a[this.companyName];return Object(B.a)(a,this.workRepGainRate,e),!!(t||this.timeWorked>=f.a.MillisecondsPer8Hours)&&(this.finishWork(!1),!0)}function Ce(e,t=!1){e&&(this.workRepGained*=this.cancelationPenalty());u.a[this.companyName].playerReputation+=this.workRepGained,this.updateSkillLevels();let a=V.a.createElement(V.a.Fragment,null,"You earned a total of: ",V.a.createElement("br",null),V.a.createElement(z.a,{money:this.workMoneyGained}),V.a.createElement("br",null),V.a.createElement(K.a,{reputation:this.workRepGained})," reputation for the company ",V.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",V.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",V.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",V.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",V.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",V.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",V.a.createElement("br",null));if(a=e?V.a.createElement(V.a.Fragment,null,"You worked a short shift of ",Object(q.b)(this.timeWorked)," ",V.a.createElement("br",null),V.a.createElement("br",null),"Since you cancelled your work early, you only gained half of the reputation you earned. ",V.a.createElement("br",null),V.a.createElement("br",null),a):V.a.createElement(V.a.Fragment,null,"You worked a full shift of 8 hours! ",V.a.createElement("br",null),V.a.createElement("br",null),a),t||Object(U.a)(a),this.isWorking=!1,this.resetWorkStatus(),t){return"You worked a short shift of "+Object(q.b)(this.timeWorked)+" and earned $"+W.a.formatMoney(this.workMoneyGained)+", "+W.a.formatReputation(this.workRepGained)+" reputation, "+W.a.formatExp(this.workHackExpGained)+" hacking exp, "+W.a.formatExp(this.workStrExpGained)+" strength exp, "+W.a.formatExp(this.workDefExpGained)+" defense exp, "+W.a.formatExp(this.workDexExpGained)+" dexterity exp, "+W.a.formatExp(this.workAgiExpGained)+" agility exp, and "+W.a.formatExp(this.workChaExpGained)+" charisma exp."}return""}function xe(e,t){this.resetWorkStatus(f.a.WorkTypeCompanyPartTime,t),this.isWorking=!0,this.focus=!0,this.companyName=t,this.workType=f.a.WorkTypeCompanyPartTime,this.workHackExpGainRate=this.getWorkHackExpGain(),this.workStrExpGainRate=this.getWorkStrExpGain(),this.workDefExpGainRate=this.getWorkDefExpGain(),this.workDexExpGainRate=this.getWorkDexExpGain(),this.workAgiExpGainRate=this.getWorkAgiExpGain(),this.workChaExpGainRate=this.getWorkChaExpGain(),this.workRepGainRate=this.getWorkRepGain(),this.workMoneyGainRate=this.getWorkMoneyGain(),this.timeNeededToCompleteWork=f.a.MillisecondsPer8Hours,e.toWork()}function Oe(e){let t=!1;return this.timeWorked+f.a._idleSpeed*e>=f.a.MillisecondsPer8Hours&&(t=!0,e=Math.round((f.a.MillisecondsPer8Hours-this.timeWorked)/f.a._idleSpeed)),this.timeWorked+=f.a._idleSpeed*e,this.workRepGainRate=this.getWorkRepGain(),this.processWorkEarnings(e),!!(t||this.timeWorked>=f.a.MillisecondsPer8Hours)&&(this.finishWorkPartTime(),!0)}function Me(e=!1){u.a[this.companyName].playerReputation+=this.workRepGained,this.updateSkillLevels();const t=V.a.createElement(V.a.Fragment,null,"You worked for ",Object(q.b)(this.timeWorked),V.a.createElement("br",null),V.a.createElement("br",null),"You earned a total of: ",V.a.createElement("br",null),V.a.createElement(z.a,{money:this.workMoneyGained}),V.a.createElement("br",null),V.a.createElement(K.a,{reputation:this.workRepGained})," reputation for the company ",V.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",V.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",V.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",V.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",V.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",V.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",V.a.createElement("br",null));if(e||Object(U.a)(t),this.isWorking=!1,this.resetWorkStatus(),e){return"You worked for "+Object(q.b)(this.timeWorked)+" and earned a total of $"+W.a.formatMoney(this.workMoneyGained)+", "+W.a.formatReputation(this.workRepGained)+" reputation, "+W.a.formatExp(this.workHackExpGained)+" hacking exp, "+W.a.formatExp(this.workStrExpGained)+" strength exp, "+W.a.formatExp(this.workDefExpGained)+" defense exp, "+W.a.formatExp(this.workDexExpGained)+" dexterity exp, "+W.a.formatExp(this.workAgiExpGained)+" agility exp, and "+W.a.formatExp(this.workChaExpGained)+" charisma exp"}return""}function Te(){this.focus=!0}function Re(){this.focus=!1}function Ae(e,t){let a=1+t.favor/100;isNaN(a)&&(a=1),this.workRepGainRate*=a,this.workRepGainRate*=s.a.FactionWorkRepGain,this.isWorking=!0,this.focus=!0,this.workType=f.a.WorkTypeFaction,this.currentWorkFactionName=t.name,this.timeNeededToCompleteWork=f.a.MillisecondsPer20Hours,e.toWork()}function Pe(e,t){this.resetWorkStatus(f.a.WorkTypeFaction,t.name,f.a.FactionWorkHacking),this.workHackExpGainRate=.15*this.hacking_exp_mult*s.a.FactionWorkExpGain,this.workRepGainRate=Object(T.c)(this,t),this.factionWorkType=f.a.FactionWorkHacking,this.currentWorkFactionDescription="carrying out hacking contracts",this.startFactionWork(e,t)}function Ne(e,t){this.resetWorkStatus(f.a.WorkTypeFaction,t.name,f.a.FactionWorkField),this.workHackExpGainRate=.1*this.hacking_exp_mult*s.a.FactionWorkExpGain,this.workStrExpGainRate=.1*this.strength_exp_mult*s.a.FactionWorkExpGain,this.workDefExpGainRate=.1*this.defense_exp_mult*s.a.FactionWorkExpGain,this.workDexExpGainRate=.1*this.dexterity_exp_mult*s.a.FactionWorkExpGain,this.workAgiExpGainRate=.1*this.agility_exp_mult*s.a.FactionWorkExpGain,this.workChaExpGainRate=.1*this.charisma_exp_mult*s.a.FactionWorkExpGain,this.workRepGainRate=Object(T.a)(this,t),console.log(this.workRepGainRate),this.factionWorkType=f.a.FactionWorkField,this.currentWorkFactionDescription="carrying out field missions",this.startFactionWork(e,t)}function Ie(e,t){this.resetWorkStatus(f.a.WorkTypeFaction,t.name,f.a.FactionWorkSecurity),this.workHackExpGainRate=.05*this.hacking_exp_mult*s.a.FactionWorkExpGain,this.workStrExpGainRate=.15*this.strength_exp_mult*s.a.FactionWorkExpGain,this.workDefExpGainRate=.15*this.defense_exp_mult*s.a.FactionWorkExpGain,this.workDexExpGainRate=.15*this.dexterity_exp_mult*s.a.FactionWorkExpGain,this.workAgiExpGainRate=.15*this.agility_exp_mult*s.a.FactionWorkExpGain,this.workChaExpGainRate=0*this.charisma_exp_mult*s.a.FactionWorkExpGain,this.workRepGainRate=Object(T.b)(this,t),this.factionWorkType=f.a.FactionWorkSecurity,this.currentWorkFactionDescription="performing security detail",this.startFactionWork(e,t)}function Fe(e){const t=k.a[this.currentWorkFactionName];switch(this.factionWorkType){case f.a.FactionWorkHacking:this.workRepGainRate=Object(T.c)(this,t);break;case f.a.FactionWorkField:this.workRepGainRate=Object(T.a)(this,t),console.log(this.workRepGainRate);break;case f.a.FactionWorkSecurity:this.workRepGainRate=Object(T.b)(this,t)}let a=1+t.favor/100;isNaN(a)&&(a=1),this.workRepGainRate*=a,this.workRepGainRate*=s.a.FactionWorkRepGain;let n=!1;return this.timeWorked+f.a._idleSpeed*e>=f.a.MillisecondsPer20Hours&&(n=!0,e=Math.round((f.a.MillisecondsPer20Hours-this.timeWorked)/f.a._idleSpeed)),this.timeWorked+=f.a._idleSpeed*e,this.processWorkEarnings(e),!!(n||this.timeWorked>=f.a.MillisecondsPer20Hours)&&(this.finishFactionWork(!1),!0)}function je(e,t=!1){const a=k.a[this.currentWorkFactionName];if(a.playerReputation+=this.workRepGained,this.updateSkillLevels(),t||Object(U.a)(V.a.createElement(V.a.Fragment,null,"You worked for your faction ",a.name," for a total of ",Object(q.b)(this.timeWorked)," ",V.a.createElement("br",null),V.a.createElement("br",null),"You earned a total of: ",V.a.createElement("br",null),V.a.createElement(z.a,{money:this.workMoneyGained}),V.a.createElement("br",null),V.a.createElement(K.a,{reputation:this.workRepGained})," reputation for the faction ",V.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",V.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",V.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",V.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",V.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",V.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",V.a.createElement("br",null))),this.isWorking=!1,this.resetWorkStatus(),t){return"You worked for your faction "+a.name+" for a total of "+Object(q.b)(this.timeWorked)+". You earned "+W.a.formatReputation(this.workRepGained)+" rep, "+W.a.formatExp(this.workHackExpGained)+" hacking exp, "+W.a.formatExp(this.workStrExpGained)+" str exp, "+W.a.formatExp(this.workDefExpGained)+" def exp, "+W.a.formatExp(this.workDexExpGained)+" dex exp, "+W.a.formatExp(this.workAgiExpGained)+" agi exp, and "+W.a.formatExp(this.workChaExpGained)+" cha exp."}return""}function De(){let e=1;const t=u.a[this.companyName];D.a[11]>0&&(e=1+t.favor/100);const a=this.jobs[this.companyName],n=p.a[a];return null==n?(console.error(`Could not find CompanyPosition object for ${a}. Work salary will be 0`),0):n.baseSalary*t.salaryMultiplier*this.work_money_mult*s.a.CompanyWorkMoney*e}function Be(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];return null==e||null==a?(console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work hack exp gain will be 0"].join(" ")),0):a.hackingExpGain*e.expMultiplier*this.hacking_exp_mult*s.a.CompanyWorkExpGain}function Ge(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];return null==e||null==a?(console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work str exp gain will be 0"].join(" ")),0):a.strengthExpGain*e.expMultiplier*this.strength_exp_mult*s.a.CompanyWorkExpGain}function Le(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];return null==e||null==a?(console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work def exp gain will be 0"].join(" ")),0):a.defenseExpGain*e.expMultiplier*this.defense_exp_mult*s.a.CompanyWorkExpGain}function We(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];return null==e||null==a?(console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work dex exp gain will be 0"].join(" ")),0):a.dexterityExpGain*e.expMultiplier*this.dexterity_exp_mult*s.a.CompanyWorkExpGain}function He(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];return null==e||null==a?(console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work agi exp gain will be 0"].join(" ")),0):a.agilityExpGain*e.expMultiplier*this.agility_exp_mult*s.a.CompanyWorkExpGain}function Ue(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];return null==e||null==a?(console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work cha exp gain will be 0"].join(" ")),0):a.charismaExpGain*e.expMultiplier*this.charisma_exp_mult*s.a.CompanyWorkExpGain}function qe(){const e=u.a[this.companyName],t=this.jobs[this.companyName],a=p.a[t];if(null==e||null==a)return console.error(["Could not find Company object for "+this.companyName,`or CompanyPosition object for ${t}.`,"Work rep gain will be 0"].join(" ")),0;let n=a.calculateJobPerformance(this.hacking,this.strength,this.defense,this.dexterity,this.agility,this.charisma);n+=this.intelligence/f.a.MaxSkillLevel;let r=1+e.favor/100;return isNaN(r)&&(r=1),n*this.company_rep_mult*r}function Ke(e,t,a,n){this.resetWorkStatus(),this.isWorking=!0,this.focus=!0,this.workType=f.a.WorkTypeCreateProgram,this.createProgramReqLvl=n,this.timeNeededToCompleteWork=a;for(let e=0;e=100)break;this.timeWorkedCreateProgram=n/100*this.timeNeededToCompleteWork,this.getHomeComputer().programs.splice(e,1)}}this.createProgramName=t,e.toWork()}function ze(e){const t=this.createProgramReqLvl;let a=this.hacking/t*this.getIntelligenceBonus(3);return a=1+(a-1)/5,this.timeWorked+=f.a._idleSpeed*e,this.timeWorkedCreateProgram+=f.a._idleSpeed*e*a,this.timeWorkedCreateProgram>=this.timeNeededToCompleteWork&&(this.finishCreateProgramWork(!1),!0)}function $e(e){const t=this.createProgramName;if(!1===e)Object(U.a)("You've finished creating "+t+"!
The new program can be found on your home computer."),this.getHomeComputer().programs.push(t);else{const e=t+"-"+(Math.floor(this.timeWorkedCreateProgram/this.timeNeededToCompleteWork*1e4)/100).toString()+"%-INC";this.getHomeComputer().programs.push(e)}return e||this.gainIntelligenceExp(f.a.IntelligenceProgramBaseExpGain*this.timeWorked/1e3),this.isWorking=!1,this.resetWorkStatus(),"You've finished creating "+t+"! The new program can be found on your home computer."}function Ve(e,t,a,n){this.resetWorkStatus(),this.isWorking=!0,this.focus=!0,this.workType=f.a.WorkTypeStudyClass,this.workCostMult=t,this.workExpMult=a,this.className=n;const r=Object(X.a)(this);this.workMoneyLossRate=r.workMoneyLossRate,this.workHackExpGainRate=r.workHackExpGainRate,this.workStrExpGainRate=r.workStrExpGainRate,this.workDefExpGainRate=r.workDefExpGainRate,this.workDexExpGainRate=r.workDexExpGainRate,this.workAgiExpGainRate=r.workAgiExpGainRate,this.workChaExpGainRate=r.workChaExpGainRate,e.toWork()}function Ye(e){this.timeWorked+=f.a._idleSpeed*e;const t=Object(X.a)(this);return this.workMoneyLossRate=t.workMoneyLossRate,this.workHackExpGainRate=t.workHackExpGainRate,this.workStrExpGainRate=t.workStrExpGainRate,this.workDefExpGainRate=t.workDefExpGainRate,this.workDexExpGainRate=t.workDexExpGainRate,this.workAgiExpGainRate=t.workAgiExpGainRate,this.workChaExpGainRate=t.workChaExpGainRate,this.processWorkEarnings(e),!1}function Je(e=!1){if(this.gainIntelligenceExp(f.a.IntelligenceClassBaseExpGain*Math.round(this.timeWorked/1e3)),this.workMoneyGained>0)throw new Error("ERR: Somehow gained money while taking class");if(this.updateSkillLevels(),e||Object(U.a)(V.a.createElement(V.a.Fragment,null,"After ",this.className," for ",Object(q.b)(this.timeWorked),", ",V.a.createElement("br",null),"you spent a total of ",V.a.createElement(z.a,{money:-this.workMoneyGained}),". ",V.a.createElement("br",null),V.a.createElement("br",null),"You earned a total of: ",V.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",V.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",V.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",V.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",V.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",V.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",V.a.createElement("br",null))),this.isWorking=!1,e){const e="After "+this.className+" for "+Object(q.b)(this.timeWorked)+", you spent a total of "+W.a.formatMoney(-1*this.workMoneyGained)+". You earned a total of: "+W.a.formatExp(this.workHackExpGained)+" hacking exp, "+W.a.formatExp(this.workStrExpGained)+" strength exp, "+W.a.formatExp(this.workDefExpGained)+" defense exp, "+W.a.formatExp(this.workDexExpGained)+" dexterity exp, "+W.a.formatExp(this.workAgiExpGained)+" agility exp, and "+W.a.formatExp(this.workChaExpGained)+" charisma exp";return this.resetWorkStatus(),e}return this.resetWorkStatus(),""}function Xe(e,t,a,n,r,i,o,l,c,u,m=null){this.crimeType=t,this.resetWorkStatus(),this.isWorking=!0,this.focus=!0,this.workType=f.a.WorkTypeCrime,null!==m&&(this.committingCrimeThruSingFn=!0,this.singFnCrimeWorkerScript=m),this.workHackExpGained=a*this.hacking_exp_mult*s.a.CrimeExpGain,this.workStrExpGained=n*this.strength_exp_mult*s.a.CrimeExpGain,this.workDefExpGained=r*this.defense_exp_mult*s.a.CrimeExpGain,this.workDexExpGained=i*this.dexterity_exp_mult*s.a.CrimeExpGain,this.workAgiExpGained=o*this.agility_exp_mult*s.a.CrimeExpGain,this.workChaExpGained=l*this.charisma_exp_mult*s.a.CrimeExpGain,this.workMoneyGained=c*this.crime_money_mult*s.a.CrimeMoney,this.timeNeededToCompleteWork=u,e.toWork()}function Qe(e){return this.timeWorked+=f.a._idleSpeed*e,this.timeWorked>=this.timeNeededToCompleteWork&&(this.finishCrime(!1),!0)}function Ze(e){if(!e){if(Object(y.a)(this,this.crimeType)){let e=null;for(const t in b.a)if(b.a[t].type==this.crimeType){e=b.a[t];break}if(null==e)return Object(U.a)(`ERR: Unrecognized crime type (${this.crimeType}). This is probably a bug please contact the developer`),"";this.gainMoney(this.workMoneyGained,"crime"),this.karma-=e.karma,this.numPeopleKilled+=e.kills,e.intelligence_exp>0&&this.gainIntelligenceExp(e.intelligence_exp),this.workHackExpGained*=2,this.workStrExpGained*=2,this.workDefExpGained*=2,this.workDexExpGained*=2,this.workAgiExpGained*=2,this.workChaExpGained*=2;const t=this.singFnCrimeWorkerScript;this.committingCrimeThruSingFn&&null!==t?null==t.disableLogs.ALL&&null==t.disableLogs.commitCrime&&t.scriptRef.log("Crime successful! Gained "+W.a.formatMoney(this.workMoneyGained)+", "+W.a.formatExp(this.workHackExpGained)+" hack exp, "+W.a.formatExp(this.workStrExpGained)+" str exp, "+W.a.formatExp(this.workDefExpGained)+" def exp, "+W.a.formatExp(this.workDexExpGained)+" dex exp, "+W.a.formatExp(this.workAgiExpGained)+" agi exp, "+W.a.formatExp(this.workChaExpGained)+" cha exp."):Object(U.a)(V.a.createElement(V.a.Fragment,null,"Crime successful!",V.a.createElement("br",null),V.a.createElement("br",null),"You gained:",V.a.createElement("br",null),V.a.createElement(z.a,{money:this.workMoneyGained}),V.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking experience ",V.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength experience",V.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense experience",V.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity experience",V.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility experience",V.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma experience"))}else{this.workHackExpGained/=2,this.workStrExpGained/=2,this.workDefExpGained/=2,this.workDexExpGained/=2,this.workAgiExpGained/=2,this.workChaExpGained/=2;const e=this.singFnCrimeWorkerScript;this.committingCrimeThruSingFn&&null!==e?null==e.disableLogs.ALL&&null==e.disableLogs.commitCrime&&e.scriptRef.log("Crime failed! Gained "+W.a.formatExp(this.workHackExpGained)+" hack exp, "+W.a.formatExp(this.workStrExpGained)+" str exp, "+W.a.formatExp(this.workDefExpGained)+" def exp, "+W.a.formatExp(this.workDexExpGained)+" dex exp, "+W.a.formatExp(this.workAgiExpGained)+" agi exp, "+W.a.formatExp(this.workChaExpGained)+" cha exp."):Object(U.a)(V.a.createElement(V.a.Fragment,null,"Crime failed!",V.a.createElement("br",null),V.a.createElement("br",null),"You gained:",V.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking experience ",V.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength experience",V.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense experience",V.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity experience",V.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility experience",V.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma experience"))}this.gainHackingExp(this.workHackExpGained),this.gainStrengthExp(this.workStrExpGained),this.gainDefenseExp(this.workDefExpGained),this.gainDexterityExp(this.workDexExpGained),this.gainAgilityExp(this.workAgiExpGained),this.gainCharismaExp(this.workChaExpGained)}return this.committingCrimeThruSingFn=!1,this.singFnCrimeWorkerScript=null,this.isWorking=!1,this.crimeType="",this.resetWorkStatus(),""}function et(){if(!this.isWorking)return"";let e="";switch(this.workType){case f.a.WorkTypeStudyClass:e=this.finishClass(!0);break;case f.a.WorkTypeCompany:e=this.finishWork(!0,!0);break;case f.a.WorkTypeCompanyPartTime:e=this.finishWorkPartTime(!0);break;case f.a.WorkTypeFaction:e=this.finishFactionWork(!0,!0);break;case f.a.WorkTypeCreateProgram:e=this.finishCreateProgramWork(!0);break;case f.a.WorkTypeCrime:e=this.finishCrime(!0);break;default:return console.error(`Unrecognized work type (${this.workType})`),""}return e}function tt(e){return"number"!=typeof e?(console.warn("Player.takeDamage() called without a numeric argument: "+e),!1):(this.hp-=e,this.hp<=0&&(this.hospitalize(),!0))}function at(e){"number"==typeof e?(this.hp+=e,this.hp>this.max_hp&&(this.hp=this.max_hp)):console.warn("Player.regenerateHp() called without a numeric argument: "+e)}function nt(){const e=Object(G.b)(this);return J.b.emit("You've been Hospitalized for "+W.a.formatMoney(e),"warning"),this.loseMoney(e,"hospitalization"),this.hp=this.max_hp,e}function rt(e,t=!1){let a=null;""!==this.companyName&&(a=u.a[this.companyName]);const n=this.jobs[this.companyName],r=u.a[this.location];if(!(r instanceof c.a))return console.error(`Could not find company that matches the location: ${this.location}. Player.applyToCompany() failed`),!1;let i=e;if(!this.isQualified(r,i)){const e=Object(h.a)(r,i);return t||Object(U.a)("Unforunately, you do not qualify for this position
"+e),!1}for(;;){const e=Object(m.a)(i);if(null==e)break;if(!r.hasPosition(e))break;if(!this.isQualified(r,e))break;i=e}if(null!=a&&a.name==r.name&&i.name==n){const e=Object(m.a)(i);if(null==e)return t||Object(U.a)("You are already at the highest position for your field! No promotion available"),!1;if(r.hasPosition(e)){if(!t){const t=Object(h.a)(r,e);Object(U.a)("Unfortunately, you do not qualify for a promotion
"+t)}return!1}return t||Object(U.a)("You are already at the highest position for your field! No promotion available"),!1}return this.jobs[r.name]=i.name,!this.focus&&this.isWorking&&this.companyName!==this.location&&this.resetWorkStatus(),this.companyName=this.location,t||Object(U.a)("Congratulations! You were offered a new job at "+this.companyName+" as a "+i.name+"!"),!0}function it(e,t){let a=null;if(""!==this.companyName&&(a=u.a[this.companyName]),null==a||a.name!=e.name)return t;const n=this.jobs[this.companyName],r=p.a[n];return r.isSoftwareJob()&&t.isSoftwareJob()||r.isITJob()&&t.isITJob()||r.isBusinessJob()&&t.isBusinessJob()||r.isSecurityEngineerJob()&&t.isSecurityEngineerJob()||r.isNetworkEngineerJob()&&t.isNetworkEngineerJob()||r.isSecurityJob()&&t.isSecurityJob()||r.isAgentJob()&&t.isAgentJob()||r.isSoftwareConsultantJob()&&t.isSoftwareConsultantJob()||r.isBusinessConsultantJob()&&t.isBusinessConsultantJob()||r.isPartTimeJob()&&t.isPartTimeJob()?Object(m.a)(r):t}function ot(e){this.isWorking=!1,this.companyName="",delete this.jobs[e]}function st(e=!1){return this.applyForJob(p.a[d.j[0]],e)}function lt(e=!1){return this.applyForJob(p.a[d.k[0]],e)}function ct(e=!1){return this.applyForJob(p.a[d.d[0]],e)}function ut(e=!1){const t=u.a[this.location];return this.isQualified(t,p.a[d.i[0]])?this.applyForJob(p.a[d.i[0]],e):(e||Object(U.a)("Unforunately, you do not qualify for this position"),!1)}function mt(e=!1){const t=u.a[this.location];if(this.isQualified(t,p.a[d.f[0]])){const t=p.a[d.f[0]];return this.applyForJob(t,e)}return e||Object(U.a)("Unforunately, you do not qualify for this position"),!1}function ht(e=!1){return this.applyForJob(p.a[d.b[0]],e)}function pt(e=!1){return this.applyForJob(p.a[d.c[0]],e)}function dt(e=!1){return this.applyForJob(p.a[d.h[2]],e)}function ft(e=!1){const t=u.a[this.location];if(this.isQualified(t,p.a[d.a[0]])){const t=p.a[d.a[0]];return this.applyForJob(t,e)}return e||Object(U.a)("Unforunately, you do not qualify for this position"),!1}function gt(e=!1){const t=u.a[this.location];return this.isQualified(t,p.a[d.e[1]])?(this.companyName=t.name,this.jobs[t.name]=d.e[1],e||Object(U.a)("Congratulations, you are now employed at "+this.companyName),!0):(e||Object(U.a)("Unforunately, you do not qualify for this position"),!1)}function yt(e=!1){const t=u.a[this.location];return this.isQualified(t,p.a[d.g[1]])?(this.jobs[t.name]=d.g[1],e||Object(U.a)("Congratulations, you are now employed part-time at "+this.companyName),!0):(e||Object(U.a)("Unforunately, you do not qualify for this position"),!1)}function bt(e=!1){const t=u.a[this.location];return this.isQualified(t,p.a[d.e[0]])?(this.companyName=t.name,this.jobs[t.name]=d.e[0],e||Object(U.a)("Congratulations, you are now employed as a waiter at "+this.companyName),!0):(e||Object(U.a)("Unforunately, you do not qualify for this position"),!1)}function Et(e=!1){const t=u.a[this.location];return this.isQualified(t,p.a[d.g[0]])?(this.companyName=t.name,this.jobs[t.name]=d.g[0],e||Object(U.a)("Congratulations, you are now employed as a part-time waiter at "+this.companyName),!0):(e||Object(U.a)("Unforunately, you do not qualify for this position"),!1)}function kt(e,t){const a=e.jobStatReqOffset,n=t.requiredHacking>0?t.requiredHacking+a:0,r=t.requiredStrength>0?t.requiredStrength+a:0,i=t.requiredDefense>0?t.requiredDefense+a:0,o=t.requiredDexterity>0?t.requiredDexterity+a:0,s=t.requiredDexterity>0?t.requiredDexterity+a:0,l=t.requiredCharisma>0?t.requiredCharisma+a:0;return this.hacking>=n&&this.strength>=r&&this.defense>=i&&this.dexterity>=o&&this.agility>=s&&this.charisma>=l&&e.playerReputation>=t.requiredReputation}function vt(e=!0){e&&this.resetMultipliers();for(let e=0;et}const i=k.a.Illuminati;!i.isBanned&&!i.isMember&&!i.alreadyInvited&&t>=30&&this.money>=15e10&&this.hacking>=1500&&this.strength>=1200&&this.defense>=1200&&this.dexterity>=1200&&this.agility>=1200&&e.push(i);const o=k.a.Daedalus;!o.isBanned&&!o.isMember&&!o.alreadyInvited&&t>=Math.round(30*s.a.DaedalusAugsRequirement)&&this.money>=1e11&&(this.hacking>=2500||this.strength>=1500&&this.defense>=1500&&this.dexterity>=1500&&this.agility>=1500)&&e.push(o);const l=k.a["The Covenant"];!l.isBanned&&!l.isMember&&!l.alreadyInvited&&t>=20&&this.money>=75e9&&this.hacking>=850&&this.strength>=850&&this.defense>=850&&this.dexterity>=850&&this.agility>=850&&e.push(l);const c=k.a.ECorp;c.isBanned||c.isMember||c.alreadyInvited||!r(C.a.AevumECorp)||e.push(c);const m=k.a.MegaCorp;m.isBanned||m.isMember||m.alreadyInvited||!r(C.a.Sector12MegaCorp)||e.push(m);const h=k.a["Bachman & Associates"];h.isBanned||h.isMember||h.alreadyInvited||!r(C.a.AevumBachmanAndAssociates)||e.push(h);const p=k.a["Blade Industries"];p.isBanned||p.isMember||p.alreadyInvited||!r(C.a.Sector12BladeIndustries)||e.push(p);const d=k.a.NWO;d.isBanned||d.isMember||d.alreadyInvited||!r(C.a.VolhavenNWO)||e.push(d);const g=k.a["Clarke Incorporated"];g.isBanned||g.isMember||g.alreadyInvited||!r(C.a.AevumClarkeIncorporated)||e.push(g);const y=k.a["OmniTek Incorporated"];y.isBanned||y.isMember||y.alreadyInvited||!r(C.a.VolhavenOmniTekIncorporated)||e.push(y);const b=k.a["Four Sigma"];b.isBanned||b.isMember||b.alreadyInvited||!r(C.a.Sector12FourSigma)||e.push(b);const E=k.a["KuaiGong International"];E.isBanned||E.isMember||E.alreadyInvited||!r(C.a.ChongqingKuaiGongInternational)||e.push(E);const v=k.a["Fulcrum Secret Technologies"],_=Object(R.d)(N.a.FulcrumSecretTechnologies);if(!(_ instanceof A.a))throw new Error("Fulcrum Secret Technologies should be normal server");null==_?console.error("Could not find Fulcrum Secret Technologies Server"):v.isBanned||v.isMember||v.alreadyInvited||!_.backdoorInstalled||!r(C.a.AevumFulcrumTechnologies,25e4)||e.push(v);const w=k.a.BitRunners,x=Object(R.d)(N.a.BitRunnersServer);if(!(x instanceof A.a))throw new Error("BitRunners should be normal server");null==x?console.error("Could not find BitRunners Server"):w.isBanned||w.isMember||!x.backdoorInstalled||w.alreadyInvited||e.push(w);const O=k.a["The Black Hand"],M=Object(R.d)(N.a.TheBlackHandServer);if(!(M instanceof A.a))throw new Error("TheBlackHand should be normal server");null==M?console.error("Could not find The Black Hand Server"):O.isBanned||O.isMember||!M.backdoorInstalled||O.alreadyInvited||e.push(O);const T=k.a.NiteSec,P=Object(R.d)(N.a.NiteSecServer);if(!(P instanceof A.a))throw new Error("NiteSec should be normal server");null==P?console.error("Could not find NiteSec Server"):T.isBanned||T.isMember||!P.backdoorInstalled||T.alreadyInvited||e.push(T);const I=k.a.Chongqing;!I.isBanned&&!I.isMember&&!I.alreadyInvited&&this.money>=2e7&&this.city==S.a.Chongqing&&e.push(I);const F=k.a["Sector-12"];!F.isBanned&&!F.isMember&&!F.alreadyInvited&&this.money>=15e6&&this.city==S.a.Sector12&&e.push(F);const j=k.a["New Tokyo"];!j.isBanned&&!j.isMember&&!j.alreadyInvited&&this.money>=2e7&&this.city==S.a.NewTokyo&&e.push(j);const D=k.a.Aevum;!D.isBanned&&!D.isMember&&!D.alreadyInvited&&this.money>=4e7&&this.city==S.a.Aevum&&e.push(D);const B=k.a.Ishima;!B.isBanned&&!B.isMember&&!B.alreadyInvited&&this.money>=3e7&&this.city==S.a.Ishima&&e.push(B);const G=k.a.Volhaven;!G.isBanned&&!G.isMember&&!G.alreadyInvited&&this.money>=5e7&&this.city==S.a.Volhaven&&e.push(G);const W=k.a["Speakers for the Dead"];!W.isBanned&&!W.isMember&&!W.alreadyInvited&&this.hacking>=100&&this.strength>=300&&this.defense>=300&&this.dexterity>=300&&this.agility>=300&&this.numPeopleKilled>=30&&this.karma<=-45&&!a.includes(C.a.Sector12CIA)&&!a.includes(C.a.Sector12NSA)&&e.push(W);const H=k.a["The Dark Army"];!H.isBanned&&!H.isMember&&!H.alreadyInvited&&this.hacking>=300&&this.strength>=300&&this.defense>=300&&this.dexterity>=300&&this.agility>=300&&this.city==S.a.Chongqing&&this.numPeopleKilled>=5&&this.karma<=-45&&!a.includes(C.a.Sector12CIA)&&!a.includes(C.a.Sector12NSA)&&e.push(H);const U=k.a["The Syndicate"];!U.isBanned&&!U.isMember&&!U.alreadyInvited&&this.hacking>=200&&this.strength>=200&&this.defense>=200&&this.dexterity>=200&&this.agility>=200&&(this.city==S.a.Aevum||this.city==S.a.Sector12)&&this.money>=1e7&&this.karma<=-90&&!a.includes(C.a.Sector12CIA)&&!a.includes(C.a.Sector12NSA)&&e.push(U);const q=k.a.Silhouette;!q.isBanned&&!q.isMember&&!q.alreadyInvited&&(n.includes("Chief Technology Officer")||n.includes("Chief Financial Officer")||n.includes("Chief Executive Officer"))&&this.money>=15e6&&this.karma<=-22&&e.push(q);const K=k.a.Tetrads;!K.isBanned&&!K.isMember&&!K.alreadyInvited&&(this.city==S.a.Chongqing||this.city==S.a.NewTokyo||this.city==S.a.Ishima)&&this.strength>=75&&this.defense>=75&&this.dexterity>=75&&this.agility>=75&&this.karma<=-18&&e.push(K);const z=k.a["Slum Snakes"];!z.isBanned&&!z.isMember&&!z.alreadyInvited&&this.strength>=30&&this.defense>=30&&this.dexterity>=30&&this.agility>=30&&this.karma<=-9&&this.money>=1e6&&e.push(z);const $=k.a.Netburners;let V=0,Y=0,J=0;for(let e=0;e=80&&V>=8&&Y>=4&&J>=100&&e.push($);const X=k.a["Tian Di Hui"];!X.isBanned&&!X.isMember&&!X.alreadyInvited&&this.money>=1e6&&this.hacking>=50&&(this.city==S.a.Chongqing||this.city==S.a.NewTokyo||this.city==S.a.Ishima)&&e.push(X);const Q=k.a.CyberSec,Z=Object(R.d)(N.a.CyberSecServer);if(!(Z instanceof A.a))throw new Error("cybersec should be normal server");return null==Z?console.error("Could not find CyberSec Server"):Q.isBanned||Q.isMember||!Z.backdoorInstalled||Q.alreadyInvited||e.push(Q),e}function St(e){this.bitNodeN=e}function Ct(e){for(const t in this.queuedAugmentations)if(this.queuedAugmentations[t].name==e)return void console.warn(`tried to queue ${e} twice, this may be a bug`);for(const t in this.augmentations)if(this.augmentations[t].name==e)return void console.warn(`tried to queue ${e} twice, this may be a bug`);this.queuedAugmentations.push(new i.a(e))}function xt(e,t=1){if(null==e||null==e.type||null==e)return"No reward for this contract";switch(e.type){case l.c.FactionReputation:if(null==e.name||!(k.a[e.name]instanceof E.a))return e.type=l.c.FactionReputationAll,this.gainCodingContractReward(e);const a=f.a.CodingContractBaseFactionRepGain*t;return k.a[e.name].playerReputation+=a,`Gained ${a} faction reputation for ${e.name}`;case l.c.FactionReputationAll:const n=f.a.CodingContractBaseFactionRepGain*t,r=["Bladeburners"],i=this.factions.slice().filter(e=>!r.includes(e));if(0==i.length)return e.type=l.c.Money,this.gainCodingContractReward(e,t);const o=Math.floor(n/i.length);for(const e of i)k.a[e]instanceof E.a&&(k.a[e].playerReputation+=o);return`Gained ${o} reputation for each of the following factions: ${i.toString()}`;case l.c.CompanyReputation:{if(null==e.name||!(u.a[e.name]instanceof c.a))return e.type=l.c.FactionReputationAll,this.gainCodingContractReward(e);const a=f.a.CodingContractBaseCompanyRepGain*t;return u.a[e.name].playerReputation+=a,`Gained ${a} company reputation for ${e.name}`}case l.c.Money:default:{const e=f.a.CodingContractBaseMoneyGain*t*s.a.CodingContractMoney;return this.gainMoney(e,"codingcontract"),"Gained "+W.a.formatMoney(e)}}}function Ot(e){return null==_.a[e]?(console.warn("Player.travel() called with invalid city: "+e),!1):(this.city=e,!0)}function Mt(e){return null==w.a[e]?(console.warn("Player.gotoLocation() called with invalid location: "+e),!1):(this.location=e,!0)}function Tt(){return 10===this.bitNodeN||D.a[10]>0}function Rt(e){this.exploits.includes(e)||(this.exploits.push(e),J.b.emit("SF -1 acquired!","success"))}function At(e){return Object(M.a)(this.intelligence,e)}function Pt(){return this.moneySourceA.casino}function Nt(e){return this.hasOwnProperty(e)?this[e]:1}function It(e,t){this.hasOwnProperty(e)&&(this[e]=t)}function Ft(e){const t=this.sourceFiles.find(t=>t.n===e);return t?t.lvl:0}},function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return s}));var n=a(0),r=a.n(n);const i={Corporation:r.a.createContext({}),Division:r.a.createContext({})},o=()=>Object(n.useContext)(i.Corporation),s=()=>Object(n.useContext)(i.Division)},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(481),r=a(8),i=a(753),o=a(282),s=a(22);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class c extends n.a{constructor(e={hostname:"",ip:Object(o.a)()}){super(e),l(this,"backdoorInstalled",!1),l(this,"baseDifficulty",1),l(this,"hackDifficulty",1),l(this,"minDifficulty",1),l(this,"moneyAvailable",0),l(this,"moneyMax",0),l(this,"numOpenPortsRequired",5),l(this,"openPortCount",0),l(this,"requiredHackingSkill",1),l(this,"serverGrowth",1),this.hostname.startsWith("hacknet-node-")&&(this.hostname=Object(i.a)(10)),this.purchasedByPlayer=null!=e.purchasedByPlayer&&e.purchasedByPlayer,this.maxRam=null!=e.maxRam?e.maxRam:0,this.requiredHackingSkill=null!=e.requiredHackingSkill?e.requiredHackingSkill:1,this.moneyAvailable=null!=e.moneyAvailable?e.moneyAvailable*r.a.ServerStartingMoney:0,this.moneyMax=25*this.moneyAvailable*r.a.ServerMaxMoney,this.hackDifficulty=null!=e.hackDifficulty?e.hackDifficulty*r.a.ServerStartingSecurity:1,this.baseDifficulty=this.hackDifficulty,this.minDifficulty=Math.max(1,Math.round(this.hackDifficulty/3)),this.serverGrowth=null!=e.serverGrowth?e.serverGrowth:1,this.numOpenPortsRequired=null!=e.numOpenPortsRequired?e.numOpenPortsRequired:5}capDifficulty(){this.hackDifficulty100&&(this.hackDifficulty=100)}changeMinimumSecurity(e,t=!1){t?this.minDifficulty*=e:this.minDifficulty+=e,this.minDifficulty=Math.max(1,this.minDifficulty)}changeMaximumMoney(e){if(this.moneyMax>1e13){const t=this.moneyMax-1e13;e=1+(e-1)/Math.log(t)/Math.log(8)}this.moneyMax*=e}fortify(e){this.hackDifficulty+=e,this.capDifficulty()}weaken(e){this.hackDifficulty-=e*r.a.ServerWeakenRate,this.capDifficulty()}toJSON(){return Object(s.b)("Server",this)}static fromJSON(e){return Object(s.a)(c,e.data)}}s.c.constructors.Server=c},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={Operations:"Operations",Engineer:"Engineer",Business:"Business",Management:"Management",RandD:"Research & Development",Training:"Training",Unassigned:"Unassigned"}},function(e,t,a){"use strict";let n;a.d(t,"a",(function(){return n})),function(e){e[e.Company=0]="Company",e[e.Gym=1]="Gym",e[e.Hospital=2]="Hospital",e[e.Slums=3]="Slums",e[e.Special=4]="Special",e[e.StockMarket=5]="StockMarket",e[e.TechVendor=6]="TechVendor",e[e.TravelAgency=7]="TravelAgency",e[e.University=8]="University",e[e.Casino=9]="Casino"}(n||(n={}))},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"d",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return u})),a.d(t,"e",(function(){return m}));var n=a(0),r=a.n(n),i=a(109),o=a(120);const s={Energy:"Energy",Utilities:"Water Utilities",Agriculture:"Agriculture",Fishing:"Fishing",Mining:"Mining",Food:"Food",Tobacco:"Tobacco",Chemical:"Chemical",Pharmaceutical:"Pharmaceutical",Computer:"Computer Hardware",Robotics:"Robotics",Software:"Software",Healthcare:"Healthcare",RealEstate:"RealEstate"},l={Energy:225e9,Utilities:15e10,Agriculture:4e10,Fishing:8e10,Mining:3e11,Food:1e10,Tobacco:2e10,Chemical:7e10,Pharmaceutical:2e11,Computer:5e11,Robotics:1e12,Software:25e9,Healthcare:75e10,RealEstate:6e11},c={Energy:e=>r.a.createElement(r.a.Fragment,null,"Engage in the production and distribution of energy.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Energy,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Utilities:e=>r.a.createElement(r.a.Fragment,null,"Distribute water and provide wastewater services.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Utilities,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Agriculture:e=>r.a.createElement(r.a.Fragment,null,"Cultivate crops and breed livestock to produce food.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Agriculture,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: YES"),Fishing:e=>r.a.createElement(r.a.Fragment,null,"Produce food through the breeding and processing of fish and fish products.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Fishing,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Mining:e=>r.a.createElement(r.a.Fragment,null,"Extract and process metals from the earth.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Mining,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Food:e=>r.a.createElement(r.a.Fragment,null,"Create your own restaurants all around the world.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Food,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: YES"),Tobacco:e=>r.a.createElement(r.a.Fragment,null,"Create and distribute tobacco and tobacco-related products.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Tobacco,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: YES"),Chemical:e=>r.a.createElement(r.a.Fragment,null,"Produce industrial chemicals.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Chemical,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Pharmaceutical:e=>r.a.createElement(r.a.Fragment,null,"Discover, develop, and create new pharmaceutical drugs.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Pharmaceutical,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Computer:e=>r.a.createElement(r.a.Fragment,null,"Develop and manufacture new computer hardware and networking infrastructures.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Computer,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Robotics:e=>r.a.createElement(r.a.Fragment,null,"Develop and create robots.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Robotics,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),Software:e=>r.a.createElement(r.a.Fragment,null,"Develop computer software and create AI Cores.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Software,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: YES"),Healthcare:e=>r.a.createElement(r.a.Fragment,null,"Create and manage hospitals.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.Healthcare,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO"),RealEstate:e=>r.a.createElement(r.a.Fragment,null,"Develop and manage real estate properties.",r.a.createElement("br",null),r.a.createElement("br",null),"Starting cost: ",r.a.createElement(o.a,{money:l.RealEstate,corp:e}),r.a.createElement("br",null),"Recommended starting Industry: NO")},u={Energy:Object(i.a)(),Utilities:Object(i.a)(),Agriculture:Object(i.a)(),Fishing:Object(i.a)(),Mining:Object(i.a)(),Food:Object(i.b)(),Tobacco:Object(i.b)(),Chemical:Object(i.a)(),Pharmaceutical:Object(i.b)(),Computer:Object(i.b)(),Robotics:Object(i.b)(),Software:Object(i.b)(),Healthcare:Object(i.b)(),RealEstate:Object(i.b)()};function m(){u.Energy=Object(i.a)(),u.Utilities=Object(i.a)(),u.Agriculture=Object(i.a)(),u.Fishing=Object(i.a)(),u.Mining=Object(i.a)(),u.Food=Object(i.a)(),u.Tobacco=Object(i.a)(),u.Chemical=Object(i.a)(),u.Pharmaceutical=Object(i.a)(),u.Computer=Object(i.a)(),u.Robotics=Object(i.a)(),u.Software=Object(i.a)(),u.Healthcare=Object(i.a)(),u.RealEstate=Object(i.a)()}},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={CityNames:["Aevum","Chongqing","Sector-12","New Tokyo","Ishima","Volhaven"],CyclesPerSecond:5,StaminaGainPerSecond:.0085,BaseStaminaLoss:.285,MaxStaminaToGainFactor:7e4,DifficultyToTimeFactor:10,DiffMultExponentialFactor:.28,DiffMultLinearFactor:650,EffAgiLinearFactor:1e4,EffDexLinearFactor:1e4,EffAgiExponentialFactor:.04,EffDexExponentialFactor:.035,BaseRecruitmentTimeNeeded:300,PopulationThreshold:1e9,PopulationExponent:.7,ChaosThreshold:50,BaseStatGain:1,BaseIntGain:.003,ActionCountGrowthPeriod:480,RankToFactionRepFactor:2,RankNeededForFaction:25,ContractSuccessesPerLevel:3,OperationSuccessesPerLevel:2.5,RanksPerSkillPoint:3,ContractBaseMoneyGain:25e4,HrcHpGain:2,HrcStaminaGain:1}},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={HackersStartingHandbook:"hackers-starting-handbook.lit",CorporationManagementHandbook:"corporation-management-handbook.lit",HistoryOfSynthoids:"history-of-synthoids.lit",AGreenTomorrow:"A-Green-Tomorrow.lit",AlphaOmega:"alpha-omega.lit",SimulatedReality:"simulated-reality.lit",BeyondMan:"beyond-man.lit",BrighterThanTheSun:"brighter-than-the-sun.lit",DemocracyIsDead:"democracy-is-dead.lit",Sector12Crime:"sector-12-crime.lit",ManAndMachine:"man-and-machine.lit",SecretSocieties:"secret-societies.lit",TheFailedFrontier:"the-failed-frontier.lit",CodedIntelligence:"coded-intelligence.lit",SyntheticMuscles:"synthetic-muscles.lit",TensionsInTechRace:"tensions-in-tech-race.lit",CostOfImmortality:"cost-of-immortality.lit",TheHiddenWorld:"the-hidden-world.lit",TheNewGod:"the-new-god.lit",NewTriads:"new-triads.lit",TheSecretWar:"the-secret-war.lit"}},function(e,t,a){"use strict";a.d(t,"g",(function(){return f})),a.d(t,"l",(function(){return g})),a.d(t,"h",(function(){return y})),a.d(t,"a",(function(){return b})),a.d(t,"b",(function(){return E})),a.d(t,"e",(function(){return k})),a.d(t,"f",(function(){return v})),a.d(t,"d",(function(){return _})),a.d(t,"c",(function(){return w})),a.d(t,"n",(function(){return S})),a.d(t,"o",(function(){return C})),a.d(t,"k",(function(){return x})),a.d(t,"j",(function(){return O})),a.d(t,"i",(function(){return M})),a.d(t,"p",(function(){return R})),a.d(t,"m",(function(){return A}));var n=a(249),r=a(179),i=a(162),o=a(38),s=a(86),l=a(324),c=a(250),u=a(325),m=a(39),h=a(28),p=a(47),d=a(71);function f(e){return 9===e.bitNodeN||d.a[9]>0}function g(e){if(m.a.isRunning){if(m.a.currStep!==m.f.HacknetNodesIntroduction)return-1;Object(m.c)()}const t=e.hacknetNodes.length;if(f(e)){const a=E(e);if(isNaN(a))throw new Error("Calculated cost of purchasing HacknetServer is NaN");return e.canAfford(a)?(e.loseMoney(a,"hacknet_expenses"),e.createHacknetServer(),R(e),t):-1}{const a=b(e);if(isNaN(a))throw new Error("Calculated cost of purchasing HacknetNode is NaN");if(!e.canAfford(a))return-1;const r="hacknet-node-"+t,i=new n.a(r,e.hacknet_node_money_mult);return e.loseMoney(a,"hacknet_expenses"),e.hacknetNodes.push(i),t}}function y(e){return f(e)&&e.hacknetNodes.length>=o.b.MaxServers}function b(e){return Object(r.d)(e.hacknetNodes.length+1,e.hacknet_node_purchase_cost_mult)}function E(e){return Object(i.f)(e.hacknetNodes.length+1,e.hacknet_node_purchase_cost_mult)}function k(e,t,a){if(null==a)throw new Error("getMaxNumberLevelUpgrades() called without maxLevel arg");if(e.moneyt.calculateLevelUpgradeCost(i,e.hacknet_node_level_cost_mult))return i;for(;n<=r;){const o=(n+r)/2|0;if(o!==a&&e.money>t.calculateLevelUpgradeCost(o,e.hacknet_node_level_cost_mult)&&e.moneyt.calculateLevelUpgradeCost(o,e.hacknet_node_level_cost_mult)))return Math.min(i,o);n=o+1}}return 0}function v(e,t,a){if(null==a)throw new Error("getMaxNumberRamUpgrades() called without maxLevel arg");if(e.moneyt.calculateRamUpgradeCost(n,e.hacknet_node_ram_cost_mult))return n;for(let a=n-1;a>=0;--a)if(e.money>t.calculateRamUpgradeCost(a,e.hacknet_node_ram_cost_mult))return a;return 0}function _(e,t,a){if(null==a)throw new Error("getMaxNumberCoreUpgrades() called without maxLevel arg");if(e.moneyt.calculateCoreUpgradeCost(i,e.hacknet_node_core_cost_mult))return i;for(;n<=r;){const o=(n+r)/2|0;if(o!=a&&e.money>t.calculateCoreUpgradeCost(o,e.hacknet_node_core_cost_mult)&&e.moneyt.calculateCoreUpgradeCost(o,e.hacknet_node_core_cost_mult)))return Math.min(i,o);n=o+1}}return 0}function w(e,t,a){if(null==a)throw new Error("getMaxNumberCacheUpgrades() called without maxLevel arg");if(!e.canAfford(t.calculateCacheUpgradeCost(1)))return 0;let n=1,r=a-1;const i=a-t.cache;if(e.canAfford(t.calculateCacheUpgradeCost(i)))return i;for(;n<=r;){const o=(n+r)/2|0;if(o!=a&&e.canAfford(t.calculateCacheUpgradeCost(o))&&!e.canAfford(t.calculateCacheUpgradeCost(o+1)))return Math.min(i,o);if(e.canAfford(t.calculateCacheUpgradeCost(o))){if(!e.canAfford(t.calculateCacheUpgradeCost(o)))return Math.min(i,o);n=o+1}else r=o-1}return 0}function S(e,t,a=1){const n=Math.round(a),r=t.calculateLevelUpgradeCost(n,e.hacknet_node_level_cost_mult);if(isNaN(r)||r<=0||n<0)return!1;const i=t instanceof s.a;if(t.level>=(i?o.b.MaxLevel:o.a.MaxLevel))return!1;if(t.level+n>(i?o.b.MaxLevel:o.a.MaxLevel)){return S(e,t,Math.max(0,(i?o.b.MaxLevel:o.a.MaxLevel)-t.level))}return!!e.canAfford(r)&&(e.loseMoney(r,"hacknet_expenses"),t.upgradeLevel(n,e.hacknet_node_money_mult),!0)}function C(e,t,a=1){const r=Math.round(a),i=t.calculateRamUpgradeCost(r,e.hacknet_node_ram_cost_mult);if(isNaN(i)||i<=0||r<0)return!1;if(t instanceof s.a&&t.maxRam>=o.b.MaxRam)return!1;if(t instanceof n.a&&t.ram>=o.a.MaxRam)return!1;if(t instanceof s.a){if(t.maxRam*Math.pow(2,r)>o.b.MaxRam){return C(e,t,Math.max(0,Math.log2(Math.round(o.b.MaxRam/t.maxRam))))}}else if(t instanceof n.a&&t.ram*Math.pow(2,r)>o.a.MaxRam){return C(e,t,Math.max(0,Math.log2(Math.round(o.a.MaxRam/t.ram))))}return!!e.canAfford(i)&&(e.loseMoney(i,"hacknet_expenses"),t.upgradeRam(r,e.hacknet_node_money_mult),!0)}function x(e,t,a=1){const n=Math.round(a),r=t.calculateCoreUpgradeCost(n,e.hacknet_node_core_cost_mult);if(isNaN(r)||r<=0||n<0)return!1;const i=t instanceof s.a;if(t.cores>=(i?o.b.MaxCores:o.a.MaxCores))return!1;if(t.cores+n>(i?o.b.MaxCores:o.a.MaxCores)){return x(e,t,Math.max(0,(i?o.b.MaxCores:o.a.MaxCores)-t.cores))}return!!e.canAfford(r)&&(e.loseMoney(r,"hacknet_expenses"),t.upgradeCore(n,e.hacknet_node_money_mult),!0)}function O(e,t,a=1){const n=Math.round(a),r=t.calculateCacheUpgradeCost(n);if(isNaN(r)||r<=0||n<0)return!1;if(!(t instanceof s.a))return console.warn("purchaseCacheUpgrade() called for a non-HacknetNode"),!1;if(t.cache+n>o.b.MaxCache){return O(e,t,Math.max(0,o.b.MaxCache-t.cache))}return!!e.canAfford(r)&&(e.loseMoney(r,"hacknet_expenses"),t.upgradeCache(n),!0)}function M(e,t){return 0===e.hacknetNodes.length?0:f(e)?function(e,t){if(!(e.hashManager instanceof l.a))throw new Error("Player does not have a HashManager (should be in 'hashManager' prop)");let a=0;for(let r=0;r{var t;null!=o[(t=e).name]&&console.warn("Duplicate Company Position being defined: "+t.name),o[t.name]=new r.a(t)});for(const t in o){const a=o[t];e[t]instanceof r.a?(a.favor=e[t].favor,isNaN(a.favor)&&(a.favor=0)):a.favor=0}}function l(e){o=JSON.parse(e,i.c)}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(754),r=a(755);const i={};for(const e of r.a)i[e.key]=new n.a(e.name,e.create,e.run)},,,,function(e,t,a){"use strict";let n;a.d(t,"a",(function(){return n})),function(e){e.Long="L",e.Short="S"}(n||(n={}))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"l",(function(){return NewIndustry})),__webpack_require__.d(__webpack_exports__,"k",(function(){return NewCity})),__webpack_require__.d(__webpack_exports__,"x",(function(){return UnlockUpgrade})),__webpack_require__.d(__webpack_exports__,"h",(function(){return LevelUpgrade})),__webpack_require__.d(__webpack_exports__,"g",(function(){return IssueDividends})),__webpack_require__.d(__webpack_exports__,"o",(function(){return SellMaterial})),__webpack_require__.d(__webpack_exports__,"p",(function(){return SellProduct})),__webpack_require__.d(__webpack_exports__,"u",(function(){return SetSmartSupply})),__webpack_require__.d(__webpack_exports__,"v",(function(){return SetSmartSupplyUseLeftovers})),__webpack_require__.d(__webpack_exports__,"c",(function(){return BuyMaterial})),__webpack_require__.d(__webpack_exports__,"a",(function(){return AssignJob})),__webpack_require__.d(__webpack_exports__,"y",(function(){return UpgradeOfficeSize})),__webpack_require__.d(__webpack_exports__,"w",(function(){return ThrowParty})),__webpack_require__.d(__webpack_exports__,"m",(function(){return PurchaseWarehouse})),__webpack_require__.d(__webpack_exports__,"z",(function(){return UpgradeWarehouse})),__webpack_require__.d(__webpack_exports__,"b",(function(){return BuyCoffee})),__webpack_require__.d(__webpack_exports__,"f",(function(){return HireAdVert})),__webpack_require__.d(__webpack_exports__,"j",(function(){return MakeProduct})),__webpack_require__.d(__webpack_exports__,"n",(function(){return Research})),__webpack_require__.d(__webpack_exports__,"e",(function(){return ExportMaterial})),__webpack_require__.d(__webpack_exports__,"d",(function(){return CancelExportMaterial})),__webpack_require__.d(__webpack_exports__,"i",(function(){return LimitProductProduction})),__webpack_require__.d(__webpack_exports__,"q",(function(){return SetMaterialMarketTA1})),__webpack_require__.d(__webpack_exports__,"r",(function(){return SetMaterialMarketTA2})),__webpack_require__.d(__webpack_exports__,"s",(function(){return SetProductMarketTA1})),__webpack_require__.d(__webpack_exports__,"t",(function(){return SetProductMarketTA2}));var _IndustryData__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(52),_Industry__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(783),_data_Constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(42),_OfficeSpace__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(328),_Product__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(352),_Warehouse__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(210),_Locations_Cities__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(131),_EmployeePositions__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(48),_IndustryUpgrades__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(329),_ResearchMap__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(284);function NewIndustry(e,t,a){for(let t=0;t_data_Constants__WEBPACK_IMPORTED_MODULE_2__.a.DividendMaxPercentage)throw new Error("Invalid value. Must be an integer between 0 and "+_data_Constants__WEBPACK_IMPORTED_MODULE_2__.a.DividendMaxPercentage);e.dividendPercentage=100*t}function SellMaterial(mat,amt,price){""===price&&(price="0"),""===amt&&(amt="0");let cost=price.replace(/\s+/g,"");cost=cost.replace(/[^-()\d/*+.MPe]/g,"");let temp=cost.replace(/MP/g,mat.bCost+"");try{temp=eval(temp)}catch(e){throw new Error("Invalid value or expression for sell price field: "+e)}if(null==temp||isNaN(parseFloat(temp)))throw new Error("Invalid value or expression for sell price field");if(cost.includes("MP")?mat.sCost=cost:mat.sCost=temp,amt=amt.toUpperCase(),amt.includes("MAX")||amt.includes("PROD")){let q=amt.replace(/\s+/g,"");q=q.replace(/[^-()\d/*+.MAXPROD]/g,"");let tempQty=q.replace(/MAX/g,"1");tempQty=tempQty.replace(/PROD/g,"1");try{tempQty=eval(tempQty)}catch(e){throw new Error("Invalid value or expression for sell price field: "+e)}if(null==tempQty||isNaN(parseFloat(tempQty)))throw new Error("Invalid value or expression for sell price field");mat.sllman[0]=!0,mat.sllman[1]=q}else{if(isNaN(parseFloat(amt)))throw new Error("Invalid value for sell quantity field! Must be numeric or 'MAX'");{let e=parseFloat(amt);isNaN(e)&&(e=0),0===e?(mat.sllman[0]=!1,mat.sllman[1]=0):(mat.sllman[0]=!0,mat.sllman[1]=e)}}}function SellProduct(product,city,amt,price,all){if(price.includes("MP")){price=price.replace(/\s+/g,""),price=price.replace(/[^-()\d/*+.MP]/g,"");let temp=price.replace(/MP/g,"1");try{temp=eval(temp)}catch(e){throw new Error("Invalid value or expression for sell quantity field: "+e)}if(null==temp||isNaN(parseFloat(temp)))throw new Error("Invalid value or expression for sell quantity field.");product.sCost=price}else{const e=parseFloat(price);if(isNaN(e))throw new Error("Invalid value for sell price field");product.sCost=e}const cities=Object.keys(_Locations_Cities__WEBPACK_IMPORTED_MODULE_6__.a);if(amt=amt.toUpperCase(),amt.includes("MAX")||amt.includes("PROD")){let qty=amt.replace(/\s+/g,"");qty=qty.replace(/[^-()\d/*+.MAXPROD]/g,"");let temp=qty.replace(/MAX/g,"1");temp=temp.replace(/PROD/g,"1");try{temp=eval(temp)}catch(e){throw new Error("Invalid value or expression for sell price field: "+e)}if(null==temp||isNaN(parseFloat(temp)))throw new Error("Invalid value or expression for sell price field");if(all)for(let e=0;e]/g,""),createCity:a,designCost:r,advCost:i});if(t.products[o.name]instanceof _Product__WEBPACK_IMPORTED_MODULE_4__.a)throw new Error("You already have a product with this name!");e.funds=e.funds-(r+i),t.products[o.name]=o}function Research(e,t){const a=_IndustryData__WEBPACK_IMPORTED_MODULE_0__.c[e.type];if(void 0===a)throw new Error(`No research tree for industry '${e.type}'`);if(!a.getAllNodes().includes(t))throw new Error(`No research named '${t}'`);const n=_ResearchMap__WEBPACK_IMPORTED_MODULE_9__.a[t];if(e.sciResearch.qty{var t;null!=i[(t=e).name]&&console.warn("Duplicate Company Position being defined: "+t.name),i[t.name]=new r.a(t)})},,function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));var n=a(6),r=a(481),i=a(38),o=a(162),s=a(282),l=a(22);function c(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class u extends r.a{constructor(e={hostname:"",ip:Object(s.a)()}){super(e),c(this,"cache",1),c(this,"cores",1),c(this,"hashCapacity",0),c(this,"hashRate",0),c(this,"level",1),c(this,"onlineTimeSeconds",0),c(this,"totalHashesGenerated",0),c(this,"purchasedByPlayer",!0),this.maxRam=1,this.updateHashCapacity()}calculateCacheUpgradeCost(e){return Object(o.a)(this.cache,e)}calculateCoreUpgradeCost(e,t){return Object(o.b)(this.cores,e,t)}calculateLevelUpgradeCost(e,t){return Object(o.d)(this.level,e,t)}calculateRamUpgradeCost(e,t){return Object(o.e)(this.maxRam,e,t)}process(e=1){const t=e*n.a.MilliPerCycle/1e3;this.onlineTimeSeconds+=t;const a=this.hashRate*t;return this.totalHashesGenerated+=a,a}upgradeCache(e){this.cache=Math.min(i.b.MaxCache,Math.round(this.cache+e)),this.updateHashCapacity()}upgradeCore(e,t){this.cores=Math.min(i.b.MaxCores,Math.round(this.cores+e)),this.updateHashRate(t),this.cpuCores=this.cores}upgradeLevel(e,t){this.level=Math.min(i.b.MaxLevel,Math.round(this.level+e)),this.updateHashRate(t)}upgradeRam(e,t){for(let t=0;t1?1:i<0?0:i}function o(e,t){null==e.baseDifficulty&&(e.baseDifficulty=e.hackDifficulty);let a=3;return a+=e.baseDifficulty*t.hacking_exp_mult*.3,a*n.a.HackExpGain}function s(e,t){const a=(100-e.hackDifficulty)/100*((t.hacking-(e.requiredHackingSkill-1))/t.hacking)*t.hacking_money_mult/240;return a<0?0:a>1?1:a*n.a.ScriptHackMoney}function l(e,t){let a=2.5*(e.requiredHackingSkill*e.hackDifficulty)+500;a/=t.hacking+50;return 5*a/(t.hacking_speed_mult*Object(r.a)(t.intelligence,1))}function c(e,t){return 3.2*l(e,t)}function u(e,t){return 4*l(e,t)}},,function(e,t,a){"use strict";function n(e){return e.endsWith(".js")||e.endsWith(".script")||e.endsWith(".ns")}a.d(t,"a",(function(){return n}))},,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(0),r=a.n(n),i=a(3),o=a(16);function s({money:e}){return r.a.createElement(o.a,{money:i.a.formatMoney(e)+" / sec"})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"b",(function(){return y})),a.d(t,"j",(function(){return b})),a.d(t,"c",(function(){return E})),a.d(t,"i",(function(){return k})),a.d(t,"d",(function(){return v})),a.d(t,"f",(function(){return _})),a.d(t,"h",(function(){return w})),a.d(t,"k",(function(){return C})),a.d(t,"g",(function(){return x})),a.d(t,"e",(function(){return O}));var n=a(614),r=a(293),i=a(130),o=a(553),s=a(773),l=a(97),c=a(66),u=a(87),m=a(6),h=a(124),p=a(3),d=a(15),f=a(22);let g={lastUpdate:0,Orders:{},storedCycles:0,ticksUntilCycle:0};const y={};function b(e,t,a,o,s,l=null){if(!(e instanceof i.a))return l?l.log("placeOrder",`Invalid stock: '${e}'`):Object(d.a)("ERROR: Invalid stock passed to placeOrder() function"),!1;if("number"!=typeof t||"number"!=typeof a)return l?l.log("placeOrder",`Invalid arguments: shares='${t}' price='${a}'`):Object(d.a)("ERROR: Invalid numeric value provided for either 'shares' or 'price' argument"),!1;const c=new n.a(e.symbol,t,a,o,s);if(null==g.Orders){const e={};for(const t in g){const a=g[t];a instanceof i.a&&(e[a.symbol]=[])}g.Orders=e}g.Orders[e.symbol].push(c);const u={stockMarket:g,symbolToStockMap:y};return Object(r.a)(e,c.type,c.pos,u),!0}function E(e,t=null){if(null==g.Orders)return!1;if(e.order&&e.order instanceof n.a){const t=e.order,a=g.Orders[t.stockSymbol];for(let e=0;e=t.cap&&(o=.1,t.b=!1),isNaN(o)&&(o=.5);const s=Math.random(),u={stockMarket:g,symbolToStockMap:y};s{const t={c:this,onClose:()=>{e(c.Cancelled)},onAttempt:t=>{this.isSolution(t)?e(c.Success):e(c.Failure)}};i.a.emit(t)})}toJSON(){return Object(r.b)("CodingContract",this)}static fromJSON(e){return Object(r.a)(u,e.data)}}r.c.constructors.CodingContract=u},function(e,t,a){"use strict";let n;a.d(t,"a",(function(){return n})),function(e){e.LimitBuy="Limit Buy Order",e.LimitSell="Limit Sell Order",e.StopBuy="Stop Buy Order",e.StopSell="Stop Sell Order"}(n||(n={}))},,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a(0),r=a(3),i=a(121),o=a(149);const s=Object(i.a)(e=>Object(o.a)({reputation:{color:e.colors.rep}}));function l({reputation:e}){const t=s();return n.createElement("span",{className:t.reputation},"number"==typeof e?r.a.formatReputation(e):e)}},,,,,function(e,t,a){"use strict";function n(e){return e.startsWith("/")?e.slice(1):e}function r(e){return e.endsWith("/")?e.slice(0,-1):e}function i(e){return null!=e.match(/^[.a-zA-Z0-9_-]+[.][a-zA-Z0-9]+(?:-\d+(?:\.\d*)?%-INC)?$/)}function o(e){let t=e;if(0===t.length)return!1;if(1===t.length)return"/"===t;if(!t.startsWith("/"))return!1;t=t.slice(1),t=r(t);const a=t.split("/");for(const e of a)if("."!==e&&".."!==e&&null==e.match(/^.?[a-zA-Z0-9_-]+$/))return!1;return!0}function s(e){if(null==e||"string"!=typeof e)return!1;const t=e;if(t.length<3)return!1;if(t.endsWith("/"))return!1;const a=t.lastIndexOf("/");if(-1===a)return i(t);const n=t.slice(a+1);return o(t.slice(0,a+1))&&i(n)}function l(e){let t=e;if(t=n(t),t=r(t),-1===t.lastIndexOf("/"))return"/";const a=t.split("/");return 0===a.length?"/":a[0]+"/"}function c(e){const t=e,a=t.lastIndexOf("/");return-1===a?"":t.slice(0,a+1)}function u(e){return!!s(e)&&(null!=e&&0!==e.length&&e.lastIndexOf("/")<=0)}function m(e,t){let a=e;if(a.startsWith("/")||null==t||(a=t+(t.endsWith("/")?"":"/")+a),!o(a))return null;a=n(a),a=r(a);const i=a.split("/"),s=[];for(const e of i)if("."!==e)if(".."===e){if(null==s.pop())return null}else s.push(e);return"/"+s.join("/")}function h(e,t){let a=e;if(a.startsWith("/")||null==t||(a=t+(t.endsWith("/")?"":"/")+a),!s(a))return null;a=n(a);const r=a.split("/"),i=[];for(const e of r)if("."!==e)if(".."===e){if(null==i.pop())return null}else i.push(e);return"/"+i.join("/")}function p(e,t){return e.startsWith("/")||(e="/"+e),t.startsWith("/")||(t="/"+t),e===t}a.d(t,"i",(function(){return n})),a.d(t,"j",(function(){return r})),a.d(t,"g",(function(){return o})),a.d(t,"h",(function(){return s})),a.d(t,"e",(function(){return l})),a.d(t,"d",(function(){return c})),a.d(t,"f",(function(){return u})),a.d(t,"b",(function(){return m})),a.d(t,"c",(function(){return h})),a.d(t,"a",(function(){return p}))},function(e,t,a){"use strict";a.d(t,"b",(function(){return pe})),a.d(t,"a",(function(){return de}));var n=a(0),r=a.n(n),i=a(156),o=a(177),s=a(330),l=a(9),c=a(217),u=a(39),m=a(798),h=a(326),p=a(315),d=a(15),f=a(28),g=a(24),y=a(213),b=a(93),E=a(121),k=a(149),v=a(32),_=a(1),w=a(29),S=a(801),C=a(804),x=a(824),O=a(832),M=a(850),T=a(882),R=a(897),A=a(933),P=a(947),N=a(950),I=a(951),F=a(990),j=a(999),D=a(625),B=a(1031),G=a(353),L=a(536),W=a(1049),H=a(1050),U=a(1056),q=a(1057),K=a(354),z=a(1070),$=a(1080),V=a(535),Y=a(1082),J=a(1091),X=a(1094),Q=a(1098),Z=a(160),ee=a(1099),te=a(246),ae=a(216),ne=a(349),re=a(506),ie=a(499),oe=a(262),se=a(27),le=a(450);const ce=location,ue=Object(E.a)(e=>Object(k.a)({root:{"-ms-overflow-style":"none","scrollbar-width":"none",margin:e.spacing(0)}}));let me="",he="",pe={page:()=>{throw new Error("Router called before initialization")},toActiveScripts:()=>{throw new Error("Router called before initialization")},toAugmentations:()=>{throw new Error("Router called before initialization")},toBitVerse:()=>{throw new Error("Router called before initialization")},toBladeburner:()=>{throw new Error("Router called before initialization")},toStats:()=>{throw new Error("Router called before initialization")},toCity:()=>{throw new Error("Router called before initialization")},toCorporation:()=>{throw new Error("Router called before initialization")},toCreateProgram:()=>{throw new Error("Router called before initialization")},toDevMenu:()=>{throw new Error("Router called before initialization")},toFaction:()=>{throw new Error("Router called before initialization")},toFactions:()=>{throw new Error("Router called before initialization")},toGameOptions:()=>{throw new Error("Router called before initialization")},toGang:()=>{throw new Error("Router called before initialization")},toHacknetNodes:()=>{throw new Error("Router called before initialization")},toInfiltration:()=>{throw new Error("Router called before initialization")},toJob:()=>{throw new Error("Router called before initialization")},toMilestones:()=>{throw new Error("Router called before initialization")},toResleeves:()=>{throw new Error("Router called before initialization")},toScriptEditor:()=>{throw new Error("Router called before initialization")},toSleeves:()=>{throw new Error("Router called before initialization")},toStockMarket:()=>{throw new Error("Router called before initialization")},toTerminal:()=>{throw new Error("Router called before initialization")},toTravel:()=>{throw new Error("Router called before initialization")},toTutorial:()=>{throw new Error("Router called before initialization")},toWork:()=>{throw new Error("Router called before initialization")},toBladeburnerCinematic:()=>{throw new Error("Router called before initialization")},toLocation:()=>{throw new Error("Router called before initialization")}};function de({player:e,engine:t,terminal:a}){const E=ue(),[k,de]=Object(n.useState)(function(e){return le.b?w.a.Recovery:e.isWorking?w.a.Work:w.a.Terminal}(e)),fe=Object(n.useState)(0)[1],[ge,ye]=Object(n.useState)(e.currentWorkFactionName?g.a[e.currentWorkFactionName]:void 0);if(void 0===ge&&k===w.a.Faction)throw new Error("Trying to go to a page without the proper setup");const[be,Ee]=Object(n.useState)(!1),[ke,ve]=Object(n.useState)(!1),[_e,we]=Object(n.useState)(void 0);if(void 0===_e&&(k===w.a.Infiltration||k===w.a.Location||k===w.a.Job))throw new Error("Trying to go to a page without the proper setup");const[Se,Ce]=Object(n.useState)("");function xe(){fe(e=>e+1)}function Oe(){for(const e of Object(f.c)())e.runningScripts=[];o.c.saveGame(),setTimeout(()=>ce.reload(),2e3)}return Object(n.useEffect)(()=>h.a.subscribe(xe),[]),pe={page:()=>k,toActiveScripts:()=>de(w.a.ActiveScripts),toAugmentations:()=>de(w.a.Augmentations),toBladeburner:()=>de(w.a.Bladeburner),toStats:()=>de(w.a.Stats),toCorporation:()=>de(w.a.Corporation),toCreateProgram:()=>de(w.a.CreateProgram),toDevMenu:()=>de(w.a.DevMenu),toFaction:e=>{de(w.a.Faction),e&&ye(e)},toFactions:()=>de(w.a.Factions),toGameOptions:()=>de(w.a.Options),toGang:()=>de(w.a.Gang),toHacknetNodes:()=>de(w.a.Hacknet),toMilestones:()=>de(w.a.Milestones),toResleeves:()=>de(w.a.Resleeves),toScriptEditor:(e,t)=>{me=e,he=t,de(w.a.ScriptEditor)},toSleeves:()=>de(w.a.Sleeves),toStockMarket:()=>de(w.a.StockMarket),toTerminal:()=>de(w.a.Terminal),toTutorial:()=>de(w.a.Tutorial),toJob:()=>{we(c.a[e.companyName]),de(w.a.Job)},toCity:()=>{de(w.a.City)},toTravel:()=>{e.gotoLocation(l.a.TravelAgency),de(w.a.Travel)},toBitVerse:(e,t)=>{Ee(e),ve(t),de(w.a.BitVerse)},toInfiltration:e=>{we(e),de(w.a.Infiltration)},toWork:()=>de(w.a.Work),toBladeburnerCinematic:()=>{de(w.a.BladeburnerCinematic),Ce(Se)},toLocation:e=>{we(e),de(w.a.Location)}},Object(n.useEffect)(()=>{me="",he="",k!==w.a.Terminal&&window.scrollTo(0,0)}),r.a.createElement(se.a.Player.Provider,{value:e},r.a.createElement(se.a.Router.Provider,{value:pe},r.a.createElement(te.c,null,r.a.createElement(S.a,null,u.a.isRunning?r.a.createElement(m.a,null):r.a.createElement(X.a,{save:()=>o.c.saveGame(),killScripts:Oe})),k===w.a.Recovery?r.a.createElement(le.c,{router:pe}):k===w.a.BitVerse?r.a.createElement(J.a,{flume:be,enter:oe.a,quick:ke}):k===w.a.Infiltration?r.a.createElement(A.a,{location:_e}):k===w.a.BladeburnerCinematic?r.a.createElement(Q.a,null):k===w.a.Work?r.a.createElement(N.a,null):r.a.createElement(v.a,{display:"flex",flexDirection:"row",width:"100%"},r.a.createElement(C.a,{player:e,router:pe,page:k}),r.a.createElement(v.a,{className:E.root,flexGrow:1,display:"block",px:1,height:"100vh"},k===w.a.Terminal?r.a.createElement(H.a,{terminal:a,router:pe,player:e}):k===w.a.Sleeves?r.a.createElement(F.a,null):k===w.a.Stats?r.a.createElement($.a,null):k===w.a.ScriptEditor?r.a.createElement(L.a,{filename:me,code:he,hostname:e.getCurrentServer().hostname,player:e,router:pe}):k===w.a.ActiveScripts?r.a.createElement(q.a,{workerScripts:Z.a}):k===w.a.Hacknet?r.a.createElement(j.a,{player:e}):k===w.a.CreateProgram?r.a.createElement(G.a,null):k===w.a.Factions?r.a.createElement(K.a,{player:e,router:pe}):k===w.a.Faction?r.a.createElement(z.a,{faction:ge}):k===w.a.Milestones?r.a.createElement(W.a,{player:e}):k===w.a.Tutorial?r.a.createElement(U.a,null):k===w.a.DevMenu?r.a.createElement(O.a,{player:e,engine:t,router:pe}):k===w.a.Gang?r.a.createElement(T.a,null):k===w.a.Corporation?r.a.createElement(R.a,null):k===w.a.Bladeburner?r.a.createElement(M.a,null):k===w.a.Resleeves?r.a.createElement(P.a,null):k===w.a.Travel?r.a.createElement(V.a,{p:e,router:pe}):k===w.a.StockMarket?r.a.createElement(Y.a,{buyStockLong:y.a,buyStockShort:y.d,cancelOrder:b.c,eventEmitterForReset:b.e,initStockMarket:b.g,p:e,placeOrder:b.j,sellStockLong:y.c,sellStockShort:y.b,stockMarket:b.a}):k===w.a.City?r.a.createElement(B.a,null):k===w.a.Job||k===w.a.Location?r.a.createElement(D.a,{loc:_e}):k===w.a.Options?r.a.createElement(I.a,{player:e,save:()=>o.c.saveGame(),export:()=>o.c.exportGame(),forceKill:Oe,softReset:()=>{Object(d.a)("Soft Reset!"),Object(p.a)(),pe.toTerminal()}}):k===w.a.Augmentations?r.a.createElement(x.a,{exportGameFn:()=>{o.c.exportGame(),Object(s.c)(e)},installAugmentationsFn:()=>{Object(i.d)(),pe.toTerminal()}}):r.a.createElement(r.a.Fragment,null,r.a.createElement(_.a,null,"Cannot load")))),r.a.createElement(ee.a,null),r.a.createElement(ae.b,null),r.a.createElement(ne.b,null),r.a.createElement(re.b,null),r.a.createElement(ie.b,null),r.a.createElement(te.a,null))))}},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return l}));var n=a(284),r=a(552);function i(e){const t=n.a[e];if(null==t)throw new Error("Invalid research name: "+e);return new r.a({text:t.name,cost:t.cost})}function o(){const e=i("Hi-Tech R&D Laboratory"),t=i("AutoBrew"),a=i("AutoPartyManager"),n=i("Automatic Drug Administration"),r=i("Bulk Purchasing"),o=i("CPH4 Injections"),s=i("Drones"),l=i("Drones - Assembly"),c=i("Drones - Transport"),u=i("Go-Juice"),m=i("HRBuddy-Recruitment"),h=i("HRBuddy-Training"),p=i("JoyWire"),d=i("Market-TA.I"),f=i("Market-TA.II"),g=i("Overclock"),y=i("Self-Correcting Assemblers"),b=i("Sti.mu");return n.addChild(u),n.addChild(o),s.addChild(l),s.addChild(c),m.addChild(h),d.addChild(f),g.addChild(b),e.addChild(t),e.addChild(a),e.addChild(n),e.addChild(r),e.addChild(s),e.addChild(m),e.addChild(p),e.addChild(d),e.addChild(g),e.addChild(y),e}function s(){const e=new r.b;return e.setRoot(o()),e}function l(){const e=new r.b,t=o(),a=i("uPgrade: Fulcrum"),n=i("uPgrade: Capacity.I"),s=i("uPgrade: Capacity.II"),l=i("uPgrade: Dashboard");return n.addChild(s),a.addChild(n),a.addChild(l),t.addChild(a),e.setRoot(t),e}},,function(e,t,a){"use strict";a.d(t,"f",(function(){return m})),a.d(t,"c",(function(){return h})),a.d(t,"e",(function(){return p})),a.d(t,"d",(function(){return d})),a.d(t,"a",(function(){return f})),a.d(t,"b",(function(){return g}));var n=a(28),r=a(47),i=a(505),o=a(8),s=a(6),l=a(62),c=a(58),u=a(613);function m(e){if(null!=e.ip&&Object(n.g)(e.ip)&&(e.ip=Object(n.e)()),null!=Object(n.d)(e.hostname)){let t=e.hostname;for(let a=0;a<200&&(t=`${e.hostname}-${a}`,null!=Object(n.d)(t));++a);e.hostname=t}return new r.a(e)}function h(e,t,a,n=1){let r=1+(s.a.ServerBaseGrowthRate-1)/e.hackDifficulty;r>s.a.ServerMaxGrowthRate&&(r=s.a.ServerMaxGrowthRate);const i=e.serverGrowth/100,l=1+(n-1)/16;return Math.log(t)/(Math.log(r)*a.hacking_grow_mult*i*o.a.ServerGrowthRate*l)}function p(e,t,a,n=1){let r=Object(i.a)(e,t,a,n);r<1&&(console.warn("serverGrowth calculated to be less than 1"),r=1);const o=e.moneyAvailable;if(e.moneyAvailable+=1*t,e.moneyAvailable*=r,Object(u.a)(e.moneyMax)&&isNaN(e.moneyAvailable)&&(e.moneyAvailable=e.moneyMax),Object(u.a)(e.moneyMax)&&e.moneyAvailable>e.moneyMax&&(e.moneyAvailable=e.moneyMax),o!==e.moneyAvailable){let r=h(e,e.moneyAvailable/o,a,n);r=Math.min(Math.max(0,Math.ceil(r)),t),e.fortify(2*s.a.ServerFortifyAmount*r)}return e.moneyAvailable/o}function d(e){const t=e.programs.includes(l.a.BitFlume.name);e.programs.length=0,e.runningScripts=[],e.serversOnNetwork=[],e.isConnectedTo=!0,e.ramUsed=0,e.programs.push(l.a.NukeProgram.name),t&&e.programs.push(l.a.BitFlume.name),e.scripts.forEach((function(t){t.updateRamUsage(e.scripts)})),e.messages.length=0,e.messages.push(c.a.HackersStartingHandbook)}function f(e,t){return t>e.serversOnNetwork.length?(console.error("Tried to get server on network that was out of range"),null):Object(n.d)(e.serversOnNetwork[t])}function g(e){return e instanceof r.a&&e.backdoorInstalled}},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n=new(a(685).a)},,,function(e,t,a){"use strict";function n(e){return"string"==typeof e||e instanceof String}a.d(t,"a",(function(){return n}))},function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));var n=a(0),r=a.n(n),i=a(41),o=a(183),s=a(225),l=a(56),c=a(1);function u({rows:e,title:t,wide:a}){const n=a?s.a:i.a;return r.a.createElement(r.a.Fragment,null,t&&r.a.createElement(c.a,null,t),r.a.createElement(n,{size:"small",padding:"none"},r.a.createElement(o.a,null,e.map((e,t)=>r.a.createElement(l.a,{key:t},e.map((e,t)=>r.a.createElement(i.b,{key:t,align:0!==t?"right":"left"},r.a.createElement(c.a,{noWrap:!0},e))))))))}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(308),r=a(22);class i extends n.a{constructor(e=null){super(e),this.count=1}getActionTimePenalty(){return 1.5}getChaosCompetencePenalty(){return 1}getChaosDifficultyBonus(){return 1}toJSON(){return Object(r.b)("BlackOperation",this)}static fromJSON(e){return Object(r.a)(i,e.data)}}r.c.constructors.BlackOperation=i},function(e,t,a){"use strict";a.d(t,"c",(function(){return g})),a.d(t,"d",(function(){return y})),a.d(t,"b",(function(){return b})),a.d(t,"f",(function(){return E})),a.d(t,"a",(function(){return k})),a.d(t,"e",(function(){return v}));var n=a(20),r=a(276),i=a(7),o=a(8),s=a(6),l=a(176),c=a(24),u=a(4),m=a(13),h=a(212),p=a(71),d=a(15),f=a(499);function g(e){u.a.factionInvitations.push(e.name),e.alreadyInvited=!0,m.a.SuppressFactionInvites||f.a.emit(e)}function y(e){if(e.isMember)return;e.isMember=!0,u.a.factions.push(e.name);const t=e.getInfo();for(const e in t.enemies){const a=t.enemies[e];c.a[a]instanceof l.a&&(c.a[a].isBanned=!0)}for(let t=0;t0)for(let a=0;a=e.baseCost*l.augmentationPriceMult){const t=new r.a(e.name);if(e.name==i.a.NeuroFluxGovernor&&(t.level=k()),u.a.queuedAugmentations.push(t),u.a.loseMoney(e.baseCost*l.augmentationPriceMult,"augmentations"),e.name==i.a.NeuroFluxGovernor){let t=k();--t;const a=Math.pow(s.a.NeuroFluxGovernorLevelMult,t);e.baseRepRequirement=500*a*o.a.AugmentationRepCost,e.baseCost=75e4*a*o.a.AugmentationMoneyCost;for(let t=0;tObject(o.a)({unbuyable:{color:e.palette.action.disabled},money:{color:e.colors.money}}));function l(e){const t=s();return e.corp.funds>e.money?n.createElement("span",{className:t.money},r.a.formatMoney(e.money)):n.createElement("span",{className:t.unbuyable},r.a.formatMoney(e.money))}},,,,function(e,t,a){"use strict";function n(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}a.d(t,"a",(function(){return r}));class r{constructor(){var e,t,a;a={},(t="subscribers")in(e=this)?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a}subscribe(e){let t=n();for(;void 0!==this.subscribers[t];)t=n();return this.subscribers[t]=e,()=>{delete this.subscribers[t]}}emit(...e){for(const t in this.subscribers){const a=this.subscribers[t];void 0!==a&&a(...e)}}}},function(e,t,a){"use strict";a.d(t,"a",(function(){return h}));var n=a(289),r=a(160),i=a(259),o=a(318),s=a(28),l=a(283),c=a(15),u=a(503),m=a(4);function h(e,t,a){if(null!=a&&"boolean"==typeof a||(a=!0),e instanceof n.a)return d(e),!0;if(e instanceof o.a&&"string"==typeof t){const n=p(e.pid,a);if(n)return n;for(const n of r.a.values())if(n.name==e.filename&&n.hostname==t&&Object(l.a)(n.args,e.args))return d(n,a),!0;return!1}return"number"==typeof e?p(e,a):(console.error("killWorkerScript() called with invalid argument:"),console.error(e),!1)}function p(e,t=!0){const a=r.a.get(e);return a instanceof n.a&&(d(a,t),!0)}function d(e,t=!0){if("function"==typeof e.atExit){try{e.atExit()}catch(t){Object(c.a)(`Error trying to call atExit for script ${e.name} on ${e.hostname} ${e.scriptRef.args} ${t}`)}e.atExit=void 0}e.env.stopFlag=!0,function(e){e instanceof n.a&&e.delay&&(clearTimeout(e.delay),e.delayResolve&&e.delayResolve())}(e),function(e,t=!0){const a=e.hostname,n=e.name,o=Object(s.d)(a);if(null==o)return void console.error("Could not find server on which this script is running: "+a);for(let t=0;t{t.delay=null,a()},e),t.delayResolve=a}))}function o(e,t){const a=Object(r.d)(e.hostname);if(null==a)throw new Error("WorkerScript constructed with invalid server ip: "+e.hostname);return"|DELIMITER|"+a.hostname+"|DELIMITER|"+e.name+"|DELIMITER|"+t}function s(e,t,a){const n=e.scriptRef.threads;if(!a)return isNaN(n)||n<1?1:n;const r=0|a;if(isNaN(a)||r<1)throw o(e,`Invalid thread count passed to ${t}: ${a}. Threads must be a positive number.`);if(a>n)throw o(e,`Too many threads requested by ${t}. Requested: ${a}. Has: ${n}.`);return r}function l(e){if(!Object(n.a)(e))return!1;return 4==e.split("|DELIMITER|").length}},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={BladesIntuition:"Blade's Intuition",Cloak:"Cloak",Marksman:"Marksman",WeaponProficiency:"Weapon Proficiency",ShortCircuit:"Short-Circuit",DigitalObserver:"Digital Observer",Tracer:"Tracer",Overclock:"Overclock",Reaper:"Reaper",EvasiveSystem:"Evasive System",Datamancer:"Datamancer",CybersEdge:"Cyber's Edge",HandsOfMidas:"Hands of Midas",Hyperdrive:"Hyperdrive"}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return i}));var n=a(0);const r={Gang:a.n(n).a.createContext({})},i=()=>Object(n.useContext)(r.Gang)},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(22),r=a(31);const i={b:!0,initPrice:1e4,marketCap:1e12,mv:1,name:"",otlkMag:0,spreadPerc:0,shareTxForMovement:1e6,symbol:""};function o(e){let t;switch(typeof e){case"number":return e;case"object":{const a=e;t=Object(r.a)(a.min,a.max);break}default:throw Error(`Do not know how to convert the type '${typeof e}' to a number`)}return"object"==typeof e&&"number"==typeof e.divisor?t/e.divisor:t}class s{constructor(e=i){this.name=e.name,this.symbol=e.symbol,this.price=o(e.initPrice),this.lastPrice=this.price,this.playerShares=0,this.playerAvgPx=0,this.playerShortShares=0,this.playerAvgShortPx=0,this.mv=o(e.mv),this.b=e.b,this.otlkMag=e.otlkMag,this.otlkMagForecast=this.getAbsoluteForecast(),this.cap=Object(r.a)(1e3*this.price,25e3*this.price),this.spreadPerc=o(e.spreadPerc),this.shareTxForMovement=o(e.shareTxForMovement),this.shareTxUntilMovement=this.shareTxForMovement;const t=e.marketCap/this.price;this.totalShares=1e5*Math.round(t/1e5);this.maxShares=1e5*Math.round(.2*this.totalShares/1e5)}changeForecastForecast(e){this.otlkMagForecast=e,this.otlkMagForecast>100?this.otlkMagForecast=100:this.otlkMagForecast<0&&(this.otlkMagForecast=0)}changePrice(e){this.lastPrice=this.price,this.price=e}cycleForecast(e=.1){const t=this.getForecastIncreaseChance();Math.random()5&&(this.otlkMag=Math.max(5,this.otlkMag-e))}influenceForecastForecast(e){this.otlkMagForecast>50?(this.otlkMagForecast-=e,this.otlkMagForecast=Math.max(50,this.otlkMagForecast)):this.otlkMagForecast<50&&(this.otlkMagForecast+=e,this.otlkMagForecast=Math.min(50,this.otlkMagForecast))}toJSON(){return Object(n.b)("Stock",this)}static fromJSON(e){return Object(n.a)(s,e.data)}}n.c.constructors.Stock=s},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"d",(function(){return s})),a.d(t,"f",(function(){return l})),a.d(t,"e",(function(){return c})),a.d(t,"g",(function(){return m})),a.d(t,"h",(function(){return h}));var n=a(112);let r={},i={};function o(e){r=""===e?{}:JSON.parse(e)}function s(e){i=""===e?{}:JSON.parse(e)}function l(){for(const e in r)r.hasOwnProperty(e)&&n.a.print("alias "+e+"="+r[e]);for(const e in i)i.hasOwnProperty(e)&&n.a.print("global alias "+e+"="+i[e])}function c(e,t=!1){const a=e.match(/^([_|\w|!|%|,|@]+)="(.+)"$/);return null!=a&&3==a.length&&(t?function(e,t){e in r&&delete r[e];i[e]=t.trim()}(a[1],a[2]):function(e,t){e in i&&delete i[e];r[e]=t.trim()}(a[1],a[2]),!0)}function u(e){return i.hasOwnProperty(e)?i[e]:null}function m(e){return r.hasOwnProperty(e)?(delete r[e],!0):!!i.hasOwnProperty(e)&&(delete i[e],!0)}function h(e){const t=e.split(" ");if(t.length>0){if("unalias"===t[0]||"alias"===t[0])return t.join(" ");let e=!0,o=0;for(;e&&o<10;){var a;o++,e=!1;const s=null===(i=t[0],a=r.hasOwnProperty(i)?r[i]:null)||void 0===a?void 0:a.split(" ");null!=s&&(e=!0,t.splice(0,1,...s));for(let a=0;a{i=!0;let t=e.source.value;t.startsWith("./")&&(t=t.slice(2));const a=function(e){for(let t=0;t{a.push(e.id.name),n.push(e)}}),r+="var "+t+";\n(function (namespace) {\n",n.forEach(e=>{r+=Object(E.generate)(e),r+="\n"}),a.forEach(e=>{r+="namespace."+e+" = "+e,r+="\n"}),r+="})("+t+" || ("+t+" = {}));\n"}else{const t=[];e.specifiers.forEach(e=>{t.push(e.local.name)});const a=[];Object(x.b)(o,{FunctionDeclaration:e=>{t.includes(e.id.name)&&a.push(e)}}),a.forEach(e=>{r+=Object(E.generate)(e),r+="\n"})}}}),!i)return{code:e,lineOffset:0};let o=0;if("Program"!==a.type||null==a.body)throw new Error("Code could not be properly parsed");for(let e=a.body.length-1;e>=0;--e)"ImportDeclaration"===a.body[e].type&&(a.body.splice(e,1),++o);const s=(r.match(/\n/g)||[]).length-o;e=Object(E.generate)(a);return{code:e=r+e,lineOffset:s}}(t,e);a=n.code,i=n.lineOffset}catch(t){return Object(k.a)("Error processing Imports in "+e.name+":
"+t),e.env.stopFlag=!0,e.running=!1,Object(n.a)(e),Promise.resolve(e)}const o=function(t,a){const n=Object(m.a)(e);for(const e in n){const i=n[e];if("function"==typeof i)if(["hack","grow","weaken","sleep","prompt","manualHack","scp","write"].includes(e)){const n=function(...e){const a=[];for(let n=0;n"+t),e.env.stopFlag=!0,e.running=!1,Object(n.a)(e),Promise.resolve(e)}return new Promise((function(t,a){try{!function n(){try{if(e.env.stopFlag)return a(e);let r=!0,i=0;for(;i<3&&r;)r=r&&s.step(),i++;r?setTimeout(n,b.a.CodeInstructionRunTime):t(e)}catch(t){return t=t.toString(),Object(u.a)(t)||(t=Object(u.b)(e,t)),e.errorMessage=t,a(e)}}()}catch(t){return Object(w.a)(t)?(e.errorMessage=t,a(e)):t instanceof r.a?a(t):a(e)}}))}function P(e,t,a){return N(e,t,a)?(t.runScript(e),e.pid):0}function N(e,t,a){let l=1;e.threads&&!isNaN(e.threads)?l=e.threads:e.threads=1;const c=Object(f.a)(e),p=Object(_.a)(c*l);if(p>t.maxRam-t.ramUsed)return Object(k.a)(`Not enough RAM to run script ${e.filename} with args `+Object(v.a)(e.args)+". This likely occurred because you re-loaded the game and the script's RAM usage increased (either because of an update to the game or your changes to the script.)"),!1;t.updateRamUsed(Object(_.a)(t.ramUsed+p),M.a);const d=Object(s.a)();if(-1===d)throw new Error("Failed to start script because could not find available PID. This is most because you have too many scripts running.");const g=new r.a(e,d,m.a);g.ramUsage=c,i.a.set(d,g),o.a.emit();let y=null;if(g.name.endsWith(".js")||g.name.endsWith(".ns"))y=function(e){e.running=!0;let t=null;function a(a,n){return function(...r){if(e.env.stopFlag)throw e;if("asleep"===a)return n(...r);if(t)throw e.errorMessage=Object(u.b)(e,Object(S.sprintf)("Concurrent calls to Netscript functions not allowed! Did you forget to await hack(), grow(), or some other promise-returning function? (Currently running: %s tried to run: %s)",t,a)),e;let i;t=a;try{i=n(...r)}catch(e){throw t=null,e}return i&&void 0!==i.finally?i.finally((function(){t=null})):(t=null,i)}}for(const t in e.env.vars)"function"==typeof e.env.vars[t]&&(e.env.vars[t]=a(t,e.env.vars[t]));return new Promise((t,a)=>{Object(h.b)(e.getServer().scripts,e).then(()=>{t(e)}).catch(e=>a(e))}).catch(t=>{if(t instanceof Error)throw t instanceof SyntaxError?e.errorMessage=Object(u.b)(e,t.message+" (sorry we can't be more helpful)"):e.errorMessage=Object(u.b)(e,t.message+(t.stack&&"\nstack:\n"+t.stack.toString()||"")),e;if(Object(u.a)(t))throw e.errorMessage=t,e;throw t})}(g);else if(y=A(g),!(y instanceof Promise))return!1;return y.then((function(t){void 0!==a&&a.running&&(a.scriptRef.onlineExpGained+=e.onlineExpGained,a.scriptRef.onlineMoneyMade+=e.onlineMoneyMade),Object(n.a)(g),t.log("","Script finished running")})).catch((function(e){if(e instanceof Error)return Object(k.a)("Script runtime unknown error. This is a bug please contact game developer"),void console.error("Evaluating workerscript returns an Error. THIS SHOULDN'T HAPPEN: "+e.toString());if(e instanceof r.a){if(!Object(u.a)(e.errorMessage))return void e.log("","Script killed");{const t=e.errorMessage.split("|DELIMITER|");if(4!=t.length)return console.error("ERROR: Something wrong with Error text in evaluator..."),void console.error("Error text: "+e.errorMessage);const a=t[1],n=t[2],r=t[3];let i=`RUNTIME ERROR
${n}@${a}
`;e.args.length>0&&(i+=`Args: ${Object(v.a)(e.args)}
`),i+="
",i+=r,Object(k.a)(i),e.log("","Script crashed with runtime error")}e.running=!1,e.env.stopFlag=!0}else{if(Object(u.a)(e))return Object(k.a)("Script runtime unknown error. This is a bug please contact game developer"),void console.error("ERROR: Evaluating workerscript returns only error message rather than WorkerScript object. THIS SHOULDN'T HAPPEN: "+e.toString());Object(k.a)("An unknown script died for an unknown reason. This is a bug please contact game dev"),console.error(e)}Object(n.a)(g)})),!0}function I(e=1){const t=e*l.a._idleSpeed/1e3;for(const e of i.a.values())e.scriptRef.onlineRunningTime+=t}function F(){const e=-1!==window.location.href.toLowerCase().indexOf("?noscripts");e&&console.info("Skipping the load of any scripts during startup");for(const t of Object(y.c)()){t.ramUsed=0;for(let e=0;e{if("string"!=typeof e&&"number"!=typeof e)throw new Error("Only strings and numbers can be passed as arguments to otherscripts.")});if(null!=t.getRunningScript(a,n))return i.log(e,`'${a}' is already running on '${t.hostname}'`),0;for(let t=0;tc)return i.log(e,`Cannot run script '${a}' (t=${o}) on '${t.hostname}' because there is not enough available RAM!`),0;{i.log(e,`'${a}' on '${t.hostname}' with ${o} threads and args: ${Object(v.a)(n)}.`);const r=new d.a(s,n);return r.threads=o,P(r,t,i)}}return i.log(e,`Could not find script '${a}' on '${t.hostname}'`),0}},function(e,t,a){"use strict";a.d(t,"a",(function(){return g}));var n=a(0),r=a.n(n),i=a(517),o=a.n(i),s=a(836),l=a.n(s),c=a(91),u=a(518),m=a.n(u),h=a(513),p=a.n(h),d=a(81),f=a(25);function g(e){const[t,a]=Object(n.useState)("");const{label:i,placeholder:s,add:u,subtract:h,reset:g,tons:y}=e;return r.a.createElement(r.a.Fragment,null,r.a.createElement(d.a,{label:i,value:t,onChange:function(e){""===e.target.value?a(""):a(parseFloat(e.target.value))},placeholder:s,type:"number",InputProps:{startAdornment:r.a.createElement(r.a.Fragment,null,r.a.createElement(f.a,{title:"Add a lot"},r.a.createElement(c.a,{onClick:y,size:"large"},r.a.createElement(p.a,{style:{transform:"rotate(-90deg)"}}))),r.a.createElement(f.a,{title:"Add"},r.a.createElement(c.a,{onClick:()=>u("string"!=typeof t?t:0),size:"large"},r.a.createElement(o.a,null)))),endAdornment:r.a.createElement(r.a.Fragment,null,r.a.createElement(f.a,{title:"Remove"},r.a.createElement(c.a,{onClick:()=>h("string"!=typeof t?t:0),size:"large"},r.a.createElement(l.a,null))),r.a.createElement(f.a,{title:"Reset"},r.a.createElement(c.a,{onClick:g,size:"large"},r.a.createElement(m.a,null))))}}))}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{constructor(e,t,a){this.title=e,this.fn=t,this.txt=a}}},,,,,,,,,,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(0),r=a.n(n),i=a(1),o=a(25);function s(e){const[t,a]=Object(n.useState)(!1);return r.a.createElement(o.a,{open:t,title:r.a.createElement(i.a,null,"Copied!")},r.a.createElement(i.a,{variant:e.variant,color:e.color,onClick:function(){const t=document.createElement("textarea");t.value=e.value,document.body.appendChild(t),t.select(),t.setSelectionRange(0,1e10),document.execCommand("copy"),document.body.removeChild(t),a(!0),setTimeout(()=>a(!1),1e3)}},e.value))}},function(e,t,a){"use strict";let n;a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),function(e){e.Bypass="Bypass",e.PrototypeTampering="PrototypeTampering",e.Unclickable="Unclickable",e.UndocumentedFunctionCall="UndocumentedFunctionCall",e.TimeCompression="TimeCompression",e.RealityAlteration="RealityAlteration",e.N00dles="N00dles",e.EditSaveFile="EditSaveFile"}(n||(n={}));const r={Bypass:"by circumventing the ram cost of document.",EditSaveFile:"by editing your save file.",PrototypeTampering:"by tampering with Numbers prototype.",TimeCompression:"by compressing time",Unclickable:"by clicking the unclickable.",UndocumentedFunctionCall:"by looking beyond the documentation.",RealityAlteration:"by altering reality to suit your whims.",N00dles:"by harnessing the power of the n00dles."};function i(e){return r[e]}function o(e){return e=e.filter(e=>Object.keys(n).includes(e)),[...new Set(e)]}},function(e,t,a){"use strict";a.d(t,"e",(function(){return C})),a.d(t,"d",(function(){return w})),a.d(t,"c",(function(){return k})),a.d(t,"a",(function(){return _})),a.d(t,"b",(function(){return S}));var n=a(36),r=a(20),i=a(276),o=a(7),s=a(8),l=a(6),c=a(24),u=a(4),m=a(315),h=a(62),p=a(71),d=a(15),f=a(1102),g=a(322),y=a(0),b=a.n(y);function E(e){const t=e.name;r.a[t]=e}function k(){for(const e in c.a)c.a.hasOwnProperty(e)&&(c.a[e].augmentations=[]);Object(f.a)(r.a);const e=function(){const e=[{bonuses:{hacking_chance_mult:1.25,hacking_speed_mult:1.1,hacking_money_mult:1.25,hacking_grow_mult:1.1},description:"Increases the player's hacking chance by 25%.
Increases the player's hacking speed by 10%.
Increases the amount of money the player's gains from hacking by 25%.
Improves grow() by 10%."},{bonuses:{hacking_mult:1.15,hacking_exp_mult:2},description:"Increases the player's hacking skill by 15%.
Increases the player's hacking experience gain rate by 100%."},{bonuses:{strength_mult:1.25,strength_exp_mult:2,defense_mult:1.25,defense_exp_mult:2,dexterity_mult:1.25,dexterity_exp_mult:2,agility_mult:1.25,agility_exp_mult:2},description:"Increases all of the player's combat stats by 25%.
Increases all of the player's combat stat experience gain rate by 100%."},{bonuses:{charisma_mult:1.5,charisma_exp_mult:2},description:"This augmentation increases the player's charisma by 50%.
Increases the player's charisma experience gain rate by 100%."},{bonuses:{hacknet_node_money_mult:1.2,hacknet_node_purchase_cost_mult:.85,hacknet_node_ram_cost_mult:.85,hacknet_node_core_cost_mult:.85,hacknet_node_level_cost_mult:.85},description:"Increases the amount of money produced by Hacknet Nodes by 20%.
Decreases all costs related to Hacknet Node by 15%."},{bonuses:{company_rep_mult:1.25,faction_rep_mult:1.15,work_money_mult:1.7},description:"Increases the amount of money the player gains from working by 70%.
Increases the amount of reputation the player gains when working for a company by 25%.
Increases the amount of reputation the player gains for a faction by 15%."},{bonuses:{crime_success_mult:2,crime_money_mult:2},description:"Increases the player's crime success rate by 100%.
Increases the amount of money the player gains from crimes by 100%."}],t=new g.b(Math.floor(u.a.lastUpdate/36e5));for(let e=0;e<5;e++)t.step();return e[Math.floor(e.length*t.random())]}(),t={name:o.a.UnstableCircadianModulator,moneyCost:5e9,repCost:362500,info:"An experimental nanobot injection. Its unstable nature leads to unpredictable results based on your circadian rhythm."};Object.keys(e.bonuses).forEach(a=>t[a]=e.bonuses[a]);const a=new n.a(t);a.addToFactions(["Speakers for the Dead"]),S(o.a.UnstableCircadianModulator)&&delete r.a[o.a.UnstableCircadianModulator],E(a);const i=new n.a({name:o.a.HemoRecirculator,moneyCost:45e6,repCost:1e4,info:"A heart implant that greatly increases the body's ability to effectively use and pump blood.",strength_mult:1.08,defense_mult:1.08,agility_mult:1.08,dexterity_mult:1.08});i.addToFactions(["Tetrads","The Dark Army","The Syndicate"]),S(o.a.HemoRecirculator)&&delete r.a[o.a.HemoRecirculator],E(i);const m=new n.a({name:o.a.Targeting1,moneyCost:15e6,repCost:5e3,info:"A cranial implant that is embedded within the inner ear structures and optic nerves. It regulates and enhances balance and hand-eye coordination.",dexterity_mult:1.1});m.addToFactions(["Slum Snakes","The Dark Army","The Syndicate","Sector-12","Ishima","OmniTek Incorporated","KuaiGong International","Blade Industries"]),S(o.a.Targeting1)&&delete r.a[o.a.Targeting1],E(m);const d=new n.a({name:o.a.Targeting2,moneyCost:425e5,repCost:8750,info:"This upgraded version of the 'Augmented Targeting' implant is capable of augmenting reality by digitally displaying weaknesses and vital signs of threats.",prereqs:[o.a.Targeting1],dexterity_mult:1.2});d.addToFactions(["The Dark Army","The Syndicate","Sector-12","OmniTek Incorporated","KuaiGong International","Blade Industries"]),S(o.a.Targeting2)&&delete r.a[o.a.Targeting2],E(d);const y=new n.a({name:o.a.Targeting3,moneyCost:115e6,repCost:27500,info:"The latest version of the 'Augmented Targeting' implant adds the ability to lock-on and track threats.",prereqs:[o.a.Targeting2],dexterity_mult:1.3});y.addToFactions(["The Dark Army","The Syndicate","OmniTek Incorporated","KuaiGong International","Blade Industries","The Covenant"]),S(o.a.Targeting3)&&delete r.a[o.a.Targeting3],E(y);const k=new n.a({name:o.a.SyntheticHeart,moneyCost:2875e6,repCost:75e4,info:"This advanced artificial heart, created from plasteel and graphene, is capable of pumping blood more efficiently than an organic heart.",agility_mult:1.5,strength_mult:1.5});k.addToFactions(["KuaiGong International","Fulcrum Secret Technologies","Speakers for the Dead","NWO","The Covenant","Daedalus","Illuminati"]),S(o.a.SyntheticHeart)&&delete r.a[o.a.SyntheticHeart],E(k);const _=new n.a({name:o.a.SynfibrilMuscle,repCost:437500,moneyCost:1125e6,info:"The myofibrils in human muscles are injected with special chemicals that react with the proteins inside the myofibrils, altering their underlying structure. The end result is muscles that are stronger and more elastic. Scientists have named these artificially enhanced units 'synfibrils'.",strength_mult:1.3,defense_mult:1.3});_.addToFactions(["KuaiGong International","Fulcrum Secret Technologies","Speakers for the Dead","NWO","The Covenant","Daedalus","Illuminati","Blade Industries"]),S(o.a.SynfibrilMuscle)&&delete r.a[o.a.SynfibrilMuscle],E(_);const w=new n.a({name:o.a.CombatRib1,repCost:7500,moneyCost:2375e4,info:"The rib cage is augmented to continuously release boosters into the bloodstream which increase the oxygen-carrying capacity of blood.",strength_mult:1.1,defense_mult:1.1});w.addToFactions(["Slum Snakes","The Dark Army","The Syndicate","Volhaven","Ishima","OmniTek Incorporated","KuaiGong International","Blade Industries"]),S(o.a.CombatRib1)&&delete r.a[o.a.CombatRib1],E(w);const C=new n.a({name:o.a.CombatRib2,repCost:18750,moneyCost:65e6,info:"An upgraded version of the 'Combat Rib' augmentation that adds potent stimulants which improve focus and endurance while decreasing reaction time and fatigue.",prereqs:[o.a.CombatRib1],strength_mult:1.14,defense_mult:1.14});C.addToFactions(["The Dark Army","The Syndicate","Volhaven","OmniTek Incorporated","KuaiGong International","Blade Industries"]),S(o.a.CombatRib2)&&delete r.a[o.a.CombatRib2],E(C);const x=new n.a({name:o.a.CombatRib3,repCost:35e3,moneyCost:12e7,info:"The latest version of the 'Combat Rib' augmentation releases advanced anabolic steroids that improve muscle mass and physical performance while being safe and free of side effects.",prereqs:[o.a.CombatRib2],strength_mult:1.18,defense_mult:1.18});x.addToFactions(["The Dark Army","The Syndicate","OmniTek Incorporated","KuaiGong International","Blade Industries","The Covenant"]),S(o.a.CombatRib3)&&delete r.a[o.a.CombatRib3],E(x);const O=new n.a({name:o.a.NanofiberWeave,repCost:37500,moneyCost:125e6,info:"Synthetic nanofibers are woven into the skin's extracellular matrix using electrospinning, which improves its regenerative and extracellular homeostasis abilities.",strength_mult:1.2,defense_mult:1.2});O.addToFactions(["Tian Di Hui","The Syndicate","The Dark Army","Speakers for the Dead","Blade Industries","Fulcrum Secret Technologies","OmniTek Incorporated"]),S(o.a.NanofiberWeave)&&delete r.a[o.a.NanofiberWeave],E(O);const M=new n.a({name:o.a.SubdermalArmor,repCost:875e3,moneyCost:325e7,info:"The NEMEAN Subdermal Weave is a thin, light-weight, graphene plating that houses a dilatant fluid. The material is implanted underneath the skin, and is the most advanced form of defensive enhancement that has ever been created. The dilatant fluid, despite being thin and light, is extremely effective at stopping piercing blows and reducing blunt trauma. The properties of graphene allow the plating to mitigate damage from any fire or electrical traumas.",defense_mult:2.2});M.addToFactions(["The Syndicate","Fulcrum Secret Technologies","Illuminati","Daedalus","The Covenant"]),S(o.a.SubdermalArmor)&&delete r.a[o.a.SubdermalArmor],E(M);const T=new n.a({name:o.a.WiredReflexes,repCost:1250,moneyCost:25e5,info:"Synthetic nerve-enhancements are injected into all major parts of the somatic nervous system, supercharging the spread of neural signals and increasing reflex speed.",agility_mult:1.05,dexterity_mult:1.05});T.addToFactions(["Tian Di Hui","Slum Snakes","Sector-12","Volhaven","Aevum","Ishima","The Syndicate","The Dark Army","Speakers for the Dead"]),S(o.a.WiredReflexes)&&delete r.a[o.a.WiredReflexes],E(T);const R=new n.a({name:o.a.GrapheneBoneLacings,repCost:1125e3,moneyCost:425e7,info:"Graphene is grafted and fused into the skeletal structure, enhancing bone density and tensile strength.",strength_mult:1.7,defense_mult:1.7});R.addToFactions(["Fulcrum Secret Technologies","The Covenant"]),S(o.a.GrapheneBoneLacings)&&delete r.a[o.a.GrapheneBoneLacings],E(R);const A=new n.a({name:o.a.BionicSpine,repCost:45e3,moneyCost:125e6,info:"The spine is reconstructed using plasteel and carbon fibers. It is now capable of stimulating and regulating neural signals passing through the spinal cord, improving senses and reaction speed. The 'Bionic Spine' also interfaces with all other 'Bionic' implants.",strength_mult:1.15,defense_mult:1.15,agility_mult:1.15,dexterity_mult:1.15});A.addToFactions(["Speakers for the Dead","The Syndicate","KuaiGong International","OmniTek Incorporated","Blade Industries"]),S(o.a.BionicSpine)&&delete r.a[o.a.BionicSpine],E(A);const P=new n.a({name:o.a.GrapheneBionicSpine,repCost:1625e3,moneyCost:6e9,info:"An upgrade to the 'Bionic Spine' augmentation. The spine is fused with graphene which enhances durability and supercharges all body functions.",prereqs:[o.a.BionicSpine],strength_mult:1.6,defense_mult:1.6,agility_mult:1.6,dexterity_mult:1.6});P.addToFactions(["Fulcrum Secret Technologies","ECorp"]),S(o.a.GrapheneBionicSpine)&&delete r.a[o.a.GrapheneBionicSpine],E(P);const N=new n.a({name:o.a.BionicLegs,repCost:15e4,moneyCost:375e6,info:"Cybernetic legs, created from plasteel and carbon fibers, enhance running speed.",agility_mult:1.6});N.addToFactions(["Speakers for the Dead","The Syndicate","KuaiGong International","OmniTek Incorporated","Blade Industries"]),S(o.a.BionicLegs)&&delete r.a[o.a.BionicLegs],E(N);const I=new n.a({name:o.a.GrapheneBionicLegs,repCost:75e4,moneyCost:45e8,info:"An upgrade to the 'Bionic Legs' augmentation. The legs are fused with graphene, greatly enhancing jumping ability.",prereqs:[o.a.BionicLegs],agility_mult:2.5});I.addToFactions(["MegaCorp","ECorp","Fulcrum Secret Technologies"]),S(o.a.GrapheneBionicLegs)&&delete r.a[o.a.GrapheneBionicLegs],E(I);const F=new n.a({name:o.a.SpeechProcessor,repCost:7500,moneyCost:5e7,info:"A cochlear implant with an embedded computer that analyzes incoming speech. The embedded computer processes characteristics of incoming speech, such as tone and inflection, to pick up on subtle cues and aid in social interactions.",charisma_mult:1.2});F.addToFactions(["Tian Di Hui","Chongqing","Sector-12","New Tokyo","Aevum","Ishima","Volhaven","Silhouette"]),S(o.a.SpeechProcessor)&&delete r.a[o.a.SpeechProcessor],E(F);const j=new n.a({name:o.a.TITN41Injection,repCost:25e3,moneyCost:19e7,info:"TITN is a series of viruses that targets and alters the sequences of human DNA in genes that control personality. The TITN-41 strain alters these genes so that the subject becomes more outgoing and socialable.",charisma_mult:1.15,charisma_exp_mult:1.15});j.addToFactions(["Silhouette"]),S(o.a.TITN41Injection)&&delete r.a[o.a.TITN41Injection],E(j);const D=new n.a({name:o.a.EnhancedSocialInteractionImplant,repCost:375e3,moneyCost:1375e6,info:"A cranial implant that greatly assists in the user's ability to analyze social situations and interactions. The system uses a wide variety of factors such as facial expressions, body language, and the voice tone, and inflection to determine the best course of action during socialsituations. The implant also uses deep learning software to continuously learn new behaviorpatterns and how to best respond.",charisma_mult:1.6,charisma_exp_mult:1.6});D.addToFactions(["Bachman & Associates","NWO","Clarke Incorporated","OmniTek Incorporated","Four Sigma"]),S(o.a.EnhancedSocialInteractionImplant)&&delete r.a[o.a.EnhancedSocialInteractionImplant],E(D);const B=new n.a({name:o.a.BitWire,repCost:3750,moneyCost:1e7,info:"A small brain implant embedded in the cerebrum. This regulates and improves the brain's computing capabilities.",hacking_mult:1.05});B.addToFactions(["CyberSec","NiteSec"]),S(o.a.BitWire)&&delete r.a[o.a.BitWire],E(B);const G=new n.a({name:o.a.ArtificialBioNeuralNetwork,repCost:275e3,moneyCost:3e9,info:"A network consisting of millions of nanoprocessors is embedded into the brain. The network is meant to mimic the way a biological brain solves a problem, with each nanoprocessor acting similar to the way a neuron would in a neural network. However, these nanoprocessors are programmed to perform computations much faster than organic neurons, allowing the user to solve much more complex problems at a much faster rate.",hacking_speed_mult:1.03,hacking_money_mult:1.15,hacking_mult:1.12});G.addToFactions(["BitRunners","Fulcrum Secret Technologies"]),S(o.a.ArtificialBioNeuralNetwork)&&delete r.a[o.a.ArtificialBioNeuralNetwork],E(G);const L=new n.a({name:o.a.ArtificialSynapticPotentiation,repCost:6250,moneyCost:8e7,info:"The body is injected with a chemical that artificially induces synaptic potentiation, otherwise known as the strengthening of synapses. This results in enhanced cognitive abilities.",hacking_speed_mult:1.02,hacking_chance_mult:1.05,hacking_exp_mult:1.05});L.addToFactions(["The Black Hand","NiteSec"]),S(o.a.ArtificialSynapticPotentiation)&&delete r.a[o.a.ArtificialSynapticPotentiation],E(L);const W=new n.a({name:o.a.EnhancedMyelinSheathing,repCost:1e5,moneyCost:1375e6,info:"Electrical signals are used to induce a new, artificial form of myelinogenesis in the human body. This process results in the proliferation of new, synthetic myelin sheaths in the nervous system. These myelin sheaths can propogate neuro-signals much faster than their organic counterparts, leading to greater processing speeds and better brain function.",hacking_speed_mult:1.03,hacking_exp_mult:1.1,hacking_mult:1.08});W.addToFactions(["Fulcrum Secret Technologies","BitRunners","The Black Hand"]),S(o.a.EnhancedMyelinSheathing)&&delete r.a[o.a.EnhancedMyelinSheathing],E(W);const H=new n.a({name:o.a.SynapticEnhancement,repCost:2e3,moneyCost:75e5,info:"A small cranial implant that continuously uses weak electrical signals to stimulate the brain and induce stronger synaptic activity. This improves the user's cognitive abilities.",hacking_speed_mult:1.03});H.addToFactions(["CyberSec","Aevum"]),S(o.a.SynapticEnhancement)&&delete r.a[o.a.SynapticEnhancement],E(H);const U=new n.a({name:o.a.NeuralRetentionEnhancement,repCost:2e4,moneyCost:25e7,info:"Chemical injections are used to permanently alter and strengthen the brain's neuronal circuits, strengthening the ability to retain information.",hacking_exp_mult:1.25});U.addToFactions(["NiteSec"]),S(o.a.NeuralRetentionEnhancement)&&delete r.a[o.a.NeuralRetentionEnhancement],E(U);const q=new n.a({name:o.a.DataJack,repCost:112500,moneyCost:45e7,info:"A brain implant that provides an interface for direct, wireless communication between a computer's main memory and the mind. This implant allows the user to not only access a computer's memory, but also alter and delete it.",hacking_money_mult:1.25});q.addToFactions(["BitRunners","The Black Hand","NiteSec","Chongqing","New Tokyo"]),S(o.a.DataJack)&&delete r.a[o.a.DataJack],E(q);const K=new n.a({name:o.a.ENM,repCost:15e3,moneyCost:25e7,info:"A thin device embedded inside the arm containing a wireless module capable of connecting to nearby networks. Once connected, the Netburner Module is capable of capturing and processing all of the traffic on that network. By itself, the Embedded Netburner Module does not do much, but a variety of very powerful upgrades can be installed that allow you to fully control the traffic on a network.",hacking_mult:1.08});K.addToFactions(["BitRunners","The Black Hand","NiteSec","ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Blade Industries"]),S(o.a.ENM)&&delete r.a[o.a.ENM],E(K);const z=new n.a({name:o.a.ENMCore,repCost:175e3,moneyCost:25e8,info:"The Core library is an implant that upgrades the firmware of the Embedded Netburner Module. This upgrade allows the Embedded Netburner Module to generate its own data on a network.",prereqs:[o.a.ENM],hacking_speed_mult:1.03,hacking_money_mult:1.1,hacking_chance_mult:1.03,hacking_exp_mult:1.07,hacking_mult:1.07});z.addToFactions(["BitRunners","The Black Hand","ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Blade Industries"]),S(o.a.ENMCore)&&delete r.a[o.a.ENMCore],E(z);const $=new n.a({name:o.a.ENMCoreV2,repCost:1e6,moneyCost:45e8,info:"The Core V2 library is an implant that upgrades the firmware of the Embedded Netburner Module. This upgraded firmware allows the Embedded Netburner Module to control information on a network by re-routing traffic, spoofing IP addresses, and altering the data inside network packets.",prereqs:[o.a.ENMCore],hacking_speed_mult:1.05,hacking_money_mult:1.3,hacking_chance_mult:1.05,hacking_exp_mult:1.15,hacking_mult:1.08});$.addToFactions(["BitRunners","ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Blade Industries","OmniTek Incorporated","KuaiGong International"]),S(o.a.ENMCoreV2)&&delete r.a[o.a.ENMCoreV2],E($);const V=new n.a({name:o.a.ENMCoreV3,repCost:175e4,moneyCost:75e8,info:"The Core V3 library is an implant that upgrades the firmware of the Embedded Netburner Module. This upgraded firmware allows the Embedded Netburner Module to seamlessly inject code into any device on a network.",prereqs:[o.a.ENMCoreV2],hacking_speed_mult:1.05,hacking_money_mult:1.4,hacking_chance_mult:1.1,hacking_exp_mult:1.25,hacking_mult:1.1});V.addToFactions(["ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Daedalus","The Covenant","Illuminati"]),S(o.a.ENMCoreV3)&&delete r.a[o.a.ENMCoreV3],E(V);const Y=new n.a({name:o.a.ENMAnalyzeEngine,repCost:625e3,moneyCost:6e9,info:"Installs the Analyze Engine for the Embedded Netburner Module, which is a CPU cluster that vastly outperforms the Netburner Module's native single-core processor.",prereqs:[o.a.ENM],hacking_speed_mult:1.1});Y.addToFactions(["ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Daedalus","The Covenant","Illuminati"]),S(o.a.ENMAnalyzeEngine)&&delete r.a[o.a.ENMAnalyzeEngine],E(Y);const J=new n.a({name:o.a.ENMDMA,repCost:1e6,moneyCost:7e9,info:"This implant installs a Direct Memory Access (DMA) controller into the Embedded Netburner Module. This allows the Module to send and receive data directly to and from the main memory of devices on a network.",prereqs:[o.a.ENM],hacking_money_mult:1.4,hacking_chance_mult:1.2});J.addToFactions(["ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Daedalus","The Covenant","Illuminati"]),S(o.a.ENMDMA)&&delete r.a[o.a.ENMDMA],E(J);const X=new n.a({name:o.a.Neuralstimulator,repCost:5e4,moneyCost:3e9,info:"A cranial implant that intelligently stimulates certain areas of the brain in order to improve cognitive functions.",hacking_speed_mult:1.02,hacking_chance_mult:1.1,hacking_exp_mult:1.12});X.addToFactions(["The Black Hand","Chongqing","Sector-12","New Tokyo","Aevum","Ishima","Volhaven","Bachman & Associates","Clarke Incorporated","Four Sigma"]),S(o.a.Neuralstimulator)&&delete r.a[o.a.Neuralstimulator],E(X);const Q=new n.a({name:o.a.NeuralAccelerator,repCost:2e5,moneyCost:175e7,info:"A microprocessor that accelerates the processing speed of biological neural networks. This is a cranial implant that is embedded inside the brain.",hacking_mult:1.1,hacking_exp_mult:1.15,hacking_money_mult:1.2});Q.addToFactions(["BitRunners"]),S(o.a.NeuralAccelerator)&&delete r.a[o.a.NeuralAccelerator],E(Q);const Z=new n.a({name:o.a.CranialSignalProcessorsG1,repCost:1e4,moneyCost:7e7,info:"The first generation of Cranial Signal Processors. Cranial Signal Processors are a set of specialized microprocessors that are attached to neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations so that the brain doesn't have to.",hacking_speed_mult:1.01,hacking_mult:1.05});Z.addToFactions(["CyberSec"]),S(o.a.CranialSignalProcessorsG1)&&delete r.a[o.a.CranialSignalProcessorsG1],E(Z);const ee=new n.a({name:o.a.CranialSignalProcessorsG2,repCost:18750,moneyCost:125e6,info:"The second generation of Cranial Signal Processors. Cranial Signal Processors are a set of specialized microprocessors that are attached to neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations so that the brain doesn't have to.",prereqs:[o.a.CranialSignalProcessorsG1],hacking_speed_mult:1.02,hacking_chance_mult:1.05,hacking_mult:1.07});ee.addToFactions(["CyberSec","NiteSec"]),S(o.a.CranialSignalProcessorsG2)&&delete r.a[o.a.CranialSignalProcessorsG2],E(ee);const te=new n.a({name:o.a.CranialSignalProcessorsG3,repCost:5e4,moneyCost:55e7,info:"The third generation of Cranial Signal Processors. Cranial Signal Processors are a set of specialized microprocessors that are attached to neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations so that the brain doesn't have to.",prereqs:[o.a.CranialSignalProcessorsG2],hacking_speed_mult:1.02,hacking_money_mult:1.15,hacking_mult:1.09});te.addToFactions(["NiteSec","The Black Hand","BitRunners"]),S(o.a.CranialSignalProcessorsG3)&&delete r.a[o.a.CranialSignalProcessorsG3],E(te);const ae=new n.a({name:o.a.CranialSignalProcessorsG4,repCost:125e3,moneyCost:11e8,info:"The fourth generation of Cranial Signal Processors. Cranial Signal Processors are a set of specialized microprocessors that are attached to neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations so that the brain doesn't have to.",prereqs:[o.a.CranialSignalProcessorsG3],hacking_speed_mult:1.02,hacking_money_mult:1.2,hacking_grow_mult:1.25});ae.addToFactions(["The Black Hand","BitRunners"]),S(o.a.CranialSignalProcessorsG4)&&delete r.a[o.a.CranialSignalProcessorsG4],E(ae);const ne=new n.a({name:o.a.CranialSignalProcessorsG5,repCost:25e4,moneyCost:225e7,info:"The fifth generation of Cranial Signal Processors. Cranial Signal Processors are a set of specialized microprocessors that are attached to neurons in the brain. These chips process neural signals to quickly and automatically perform specific computations so that the brain doesn't have to.",prereqs:[o.a.CranialSignalProcessorsG4],hacking_mult:1.3,hacking_money_mult:1.25,hacking_grow_mult:1.75});ne.addToFactions(["BitRunners"]),S(o.a.CranialSignalProcessorsG5)&&delete r.a[o.a.CranialSignalProcessorsG5],E(ne);const re=new n.a({name:o.a.NeuronalDensification,repCost:187500,moneyCost:1375e6,info:"The brain is surgically re-engineered to have increased neuronal density by decreasing the neuron gap junction. Then, the body is genetically modified to enhance the production and capabilities of its neural stem cells.",hacking_mult:1.15,hacking_exp_mult:1.1,hacking_speed_mult:1.03});re.addToFactions(["Clarke Incorporated"]),S(o.a.NeuronalDensification)&&delete r.a[o.a.NeuronalDensification],E(re);const ie=new n.a({name:o.a.NuoptimalInjectorImplant,repCost:5e3,moneyCost:2e7,info:"This torso implant automatically injects nootropic supplements into the bloodstream to improve memory, increase focus, and provide other cognitive enhancements.",company_rep_mult:1.2});ie.addToFactions(["Tian Di Hui","Volhaven","New Tokyo","Chongqing","Clarke Incorporated","Four Sigma","Bachman & Associates"]),S(o.a.NuoptimalInjectorImplant)&&delete r.a[o.a.NuoptimalInjectorImplant],E(ie);const oe=new n.a({name:o.a.SpeechEnhancement,repCost:2500,moneyCost:125e5,info:"An advanced neural implant that improves your speaking abilities, making you more convincing and likable in conversations and overall improving your social interactions.",company_rep_mult:1.1,charisma_mult:1.1});oe.addToFactions(["Tian Di Hui","Speakers for the Dead","Four Sigma","KuaiGong International","Clarke Incorporated","Bachman & Associates"]),S(o.a.SpeechEnhancement)&&delete r.a[o.a.SpeechEnhancement],E(oe);const se=new n.a({name:o.a.FocusWire,repCost:75e3,moneyCost:9e8,info:"A cranial implant that stops procrastination by blocking specific neural pathways in the brain.",hacking_exp_mult:1.05,strength_exp_mult:1.05,defense_exp_mult:1.05,dexterity_exp_mult:1.05,agility_exp_mult:1.05,charisma_exp_mult:1.05,company_rep_mult:1.1,work_money_mult:1.2});se.addToFactions(["Bachman & Associates","Clarke Incorporated","Four Sigma","KuaiGong International"]),S(o.a.FocusWire)&&delete r.a[o.a.FocusWire],E(se);const le=new n.a({name:o.a.PCDNI,repCost:375e3,moneyCost:375e7,info:"Installs a Direct-Neural Interface jack into your arm that is compatible with most computers. Connecting to a computer through this jack allows you to interface with it using the brain's electrochemical signals.",company_rep_mult:1.3,hacking_mult:1.08});le.addToFactions(["Four Sigma","OmniTek Incorporated","ECorp","Blade Industries"]),S(o.a.PCDNI)&&delete r.a[o.a.PCDNI],E(le);const ce=new n.a({name:o.a.PCDNIOptimizer,repCost:5e5,moneyCost:45e8,info:"This is a submodule upgrade to the PC Direct-Neural Interface augmentation. It improves the performance of the interface and gives the user more control options to a connected computer.",prereqs:[o.a.PCDNI],company_rep_mult:1.75,hacking_mult:1.1});ce.addToFactions(["Fulcrum Secret Technologies","ECorp","Blade Industries"]),S(o.a.PCDNIOptimizer)&&delete r.a[o.a.PCDNIOptimizer],E(ce);const ue=new n.a({name:o.a.PCDNINeuralNetwork,repCost:15e5,moneyCost:75e8,info:"This is an additional installation that upgrades the functionality of the PC Direct-Neural Interface augmentation. When connected to a computer, The Neural Network upgrade allows the user to use their own brain's processing power to aid the computer in computational tasks.",prereqs:[o.a.PCDNI],company_rep_mult:2,hacking_mult:1.1,hacking_speed_mult:1.05});ue.addToFactions(["Fulcrum Secret Technologies"]),S(o.a.PCDNINeuralNetwork)&&delete r.a[o.a.PCDNINeuralNetwork],E(ue);const me=new n.a({name:o.a.ADRPheromone1,repCost:3750,moneyCost:175e5,info:"The body is genetically re-engineered so that it produces the ADR-V1 pheromone, an artificial pheromone discovered by scientists. The ADR-V1 pheromone, when excreted, triggers feelings of admiration and approval in other people.",company_rep_mult:1.1,faction_rep_mult:1.1});me.addToFactions(["Tian Di Hui","The Syndicate","NWO","MegaCorp","Four Sigma"]),S(o.a.ADRPheromone1)&&delete r.a[o.a.ADRPheromone1],E(me);const he=new n.a({name:o.a.ADRPheromone2,repCost:62500,moneyCost:55e7,info:"The body is genetically re-engineered so that it produces the ADR-V2 pheromone, which is similar to but more potent than ADR-V1. This pheromone, when excreted, triggers feelings of admiration, approval, and respect in others.",company_rep_mult:1.2,faction_rep_mult:1.2});he.addToFactions(["Silhouette","Four Sigma","Bachman & Associates","Clarke Incorporated"]),S(o.a.ADRPheromone2)&&delete r.a[o.a.ADRPheromone2],E(he);const pe=new n.a({name:o.a.ShadowsSimulacrum,repCost:37500,moneyCost:4e8,info:"A crude but functional matter phase-shifter module that is embedded in the brainstem and cerebellum. This augmentation was developed by criminal organizations and allows the user to project and control holographic simulacrums within a large radius. These simulacrums are commonly used for espionage and surveillance work.",company_rep_mult:1.15,faction_rep_mult:1.15});pe.addToFactions(["The Syndicate","The Dark Army","Speakers for the Dead"]),S(o.a.ShadowsSimulacrum)&&delete r.a[o.a.ShadowsSimulacrum],E(pe);const de=new n.a({name:o.a.HacknetNodeCPUUpload,repCost:3750,moneyCost:11e6,info:"Uploads the architecture and design details of a Hacknet Node's CPU into the brain. This allows the user to engineer custom hardware and software for the Hacknet Node that provides better performance.",hacknet_node_money_mult:1.15,hacknet_node_purchase_cost_mult:.85});de.addToFactions(["Netburners"]),S(o.a.HacknetNodeCPUUpload)&&delete r.a[o.a.HacknetNodeCPUUpload],E(de);const fe=new n.a({name:o.a.HacknetNodeCacheUpload,repCost:2500,moneyCost:55e5,info:"Uploads the architecture and design details of a Hacknet Node's main-memory cache into the brain. This allows the user to engineer custom cache hardware for the Hacknet Node that offers better performance.",hacknet_node_money_mult:1.1,hacknet_node_level_cost_mult:.85});fe.addToFactions(["Netburners"]),S(o.a.HacknetNodeCacheUpload)&&delete r.a[o.a.HacknetNodeCacheUpload],E(fe);const ge=new n.a({name:o.a.HacknetNodeNICUpload,repCost:1875,moneyCost:45e5,info:"Uploads the architecture and design details of a Hacknet Node's Network Interface Card (NIC) into the brain. This allows the user to engineer a custom NIC for the Hacknet Node that offers better performance.",hacknet_node_money_mult:1.1,hacknet_node_purchase_cost_mult:.9});ge.addToFactions(["Netburners"]),S(o.a.HacknetNodeNICUpload)&&delete r.a[o.a.HacknetNodeNICUpload],E(ge);const ye=new n.a({name:o.a.HacknetNodeKernelDNI,repCost:7500,moneyCost:4e7,info:"Installs a Direct-Neural Interface jack into the arm that is capable of connecting to a Hacknet Node. This lets the user access and manipulate the Node's kernel using electrochemical signals.",hacknet_node_money_mult:1.25});ye.addToFactions(["Netburners"]),S(o.a.HacknetNodeKernelDNI)&&delete r.a[o.a.HacknetNodeKernelDNI],E(ye);const be=new n.a({name:o.a.HacknetNodeCoreDNI,repCost:12500,moneyCost:6e7,info:"Installs a Direct-Neural Interface jack into the arm that is capable of connecting to a Hacknet Node. This lets the user access and manipulate the Node's processing logic using electrochemical signals.",hacknet_node_money_mult:1.45});be.addToFactions(["Netburners"]),S(o.a.HacknetNodeCoreDNI)&&delete r.a[o.a.HacknetNodeCoreDNI],E(be);const Ee=new n.a({name:o.a.NeuroFluxGovernor,repCost:1250,moneyCost:375e4,info:"A device that is embedded in the back of the neck. The NeuroFlux Governor monitors and regulates nervous impulses coming to and from the spinal column, essentially 'governing' the body. By doing so, it improves the functionality of the body's nervous system.",stats:b.a.createElement(b.a.Fragment,null,"This special augmentation can be leveled up infinitely. Each level of this augmentation increases ALL multipliers by 1%, stacking multiplicatively."),hacking_chance_mult:1.01,hacking_speed_mult:1.01,hacking_money_mult:1.01,hacking_grow_mult:1.01,hacking_mult:1.01,strength_mult:1.01,defense_mult:1.01,dexterity_mult:1.01,agility_mult:1.01,charisma_mult:1.01,hacking_exp_mult:1.01,strength_exp_mult:1.01,defense_exp_mult:1.01,dexterity_exp_mult:1.01,agility_exp_mult:1.01,charisma_exp_mult:1.01,company_rep_mult:1.01,faction_rep_mult:1.01,crime_money_mult:1.01,crime_success_mult:1.01,hacknet_node_money_mult:1.01,hacknet_node_purchase_cost_mult:.99,hacknet_node_ram_cost_mult:.99,hacknet_node_core_cost_mult:.99,hacknet_node_level_cost_mult:.99,work_money_mult:1.01});let ke=0;for(let e=0;e=0;e--)if(u.a.queuedAugmentations[e].name===o.a.NeuroFluxGovernor){t=e;break}for(let a=0;a"}return u.a.queuedAugmentations=[],Object(d.a)("You slowly drift to sleep as scientists put you under in order to install the following Augmentations:
"+e+"
You wake up in your home...you feel different..."),Object(m.a)(),!0}function S(e){return r.a.hasOwnProperty(e)}function C(e){return(e instanceof n.a?e.name:e)===o.a.NeuroFluxGovernor}},,function(e,t,a){"use strict";let n;a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return r})),function(e){e.Weapon="w",e.Armor="a",e.Vehicle="v",e.Rootkit="r",e.Augmentation="g"}(n||(n={}));const r=[{cost:1e6,mults:{str:1.04,def:1.04},name:"Baseball Bat",upgType:n.Weapon},{cost:12e6,mults:{str:1.08,def:1.08,dex:1.08},name:"Katana",upgType:n.Weapon},{cost:25e6,mults:{str:1.1,def:1.1,dex:1.1,agi:1.1},name:"Glock 18C",upgType:n.Weapon},{cost:5e7,mults:{str:1.12,def:1.1,agi:1.1},name:"P90C",upgType:n.Weapon},{cost:6e7,mults:{str:1.2,def:1.15},name:"Steyr AUG",upgType:n.Weapon},{cost:1e8,mults:{str:1.25,def:1.2},name:"AK-47",upgType:n.Weapon},{cost:15e7,mults:{str:1.3,def:1.25},name:"M15A10 Assault Rifle",upgType:n.Weapon},{cost:225e6,mults:{str:1.3,dex:1.25,agi:1.3},name:"AWM Sniper Rifle",upgType:n.Weapon},{cost:2e6,mults:{def:1.04},name:"Bulletproof Vest",upgType:n.Armor},{cost:5e6,mults:{def:1.08},name:"Full Body Armor",upgType:n.Armor},{cost:25e6,mults:{def:1.15,agi:1.15},name:"Liquid Body Armor",upgType:n.Armor},{cost:4e7,mults:{def:1.2},name:"Graphene Plating Armor",upgType:n.Armor},{cost:3e6,mults:{agi:1.04,cha:1.04},name:"Ford Flex V20",upgType:n.Vehicle},{cost:9e6,mults:{agi:1.08,cha:1.08},name:"ATX1070 Superbike",upgType:n.Vehicle},{cost:18e6,mults:{agi:1.12,cha:1.12},name:"Mercedes-Benz S9001",upgType:n.Vehicle},{cost:3e7,mults:{agi:1.16,cha:1.16},name:"White Ferrari",upgType:n.Vehicle},{cost:5e6,mults:{hack:1.05},name:"NUKE Rootkit",upgType:n.Rootkit},{cost:25e6,mults:{hack:1.1},name:"Soulstealer Rootkit",upgType:n.Rootkit},{cost:75e6,mults:{hack:1.15},name:"Demon Rootkit",upgType:n.Rootkit},{cost:4e7,mults:{hack:1.12},name:"Hmap Node",upgType:n.Rootkit},{cost:75e6,mults:{hack:1.15},name:"Jack the Ripper",upgType:n.Rootkit},{cost:1e10,mults:{str:1.3,dex:1.3},name:"Bionic Arms",upgType:n.Augmentation},{cost:1e10,mults:{agi:1.6},name:"Bionic Legs",upgType:n.Augmentation},{cost:15e9,mults:{str:1.15,def:1.15,dex:1.15,agi:1.15},name:"Bionic Spine",upgType:n.Augmentation},{cost:2e10,mults:{str:1.4,def:1.4},name:"BrachiBlades",upgType:n.Augmentation},{cost:12e9,mults:{str:1.2,def:1.2},name:"Nanofiber Weave",upgType:n.Augmentation},{cost:25e9,mults:{str:1.5,agi:1.5},name:"Synthetic Heart",upgType:n.Augmentation},{cost:15e9,mults:{str:1.3,def:1.3},name:"Synfibril Muscle",upgType:n.Augmentation},{cost:5e9,mults:{hack:1.05},name:"BitWire",upgType:n.Augmentation},{cost:1e10,mults:{hack:1.15},name:"Neuralstimulator",upgType:n.Augmentation},{cost:75e8,mults:{hack:1.1},name:"DataJack",upgType:n.Augmentation},{cost:5e10,mults:{str:1.7,def:1.7},name:"Graphene Bone Lacings",upgType:n.Augmentation}]},,function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n=new Map},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));const n={Water:.05,Energy:.01,Food:.03,Plants:.05,Metal:.1,Hardware:.06,Chemicals:.05,Drugs:.02,Robots:.5,AICores:.1,RealEstate:.005,"Real Estate":.005,"AI Cores":.1}},function(e,t,a){"use strict";a.d(t,"c",(function(){return i})),a.d(t,"d",(function(){return o})),a.d(t,"e",(function(){return s})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return c})),a.d(t,"f",(function(){return u}));var n=a(8),r=a(38);function i(e,t,a,i,o){return r.b.HashesPerLevel*e*Math.pow(1.07,Math.log2(a))*(1+(i-1)/5)*(1-t/a)*o*n.a.HacknetNodeMoney}function o(e,t=1,a=1){const n=Math.round(t);if(isNaN(n)||n<1)return 0;if(e>=r.b.MaxLevel)return 1/0;const i=r.b.UpgradeLevelMult;let o=0,s=e;for(let e=0;e=r.b.MaxRam)return 1/0;let i=0,o=Math.round(Math.log2(e)),s=e;for(let e=0;e=r.b.MaxCores)return 1/0;const i=r.b.UpgradeCoreMult;let o=0,s=e;for(let e=0;e=r.b.MaxCache)return 1/0;const n=r.b.UpgradeCacheMult;let i=0,o=e;for(let e=0;e=r.b.MaxServers?1/0:r.b.BaseCost*Math.pow(r.b.PurchaseMult,e-1)*t}},function(e,t,a){"use strict";let n;a.d(t,"a",(function(){return n})),function(e){e[e.Field=0]="Field",e[e.Hacking=1]="Hacking",e[e.None=2]="None",e[e.Security=3]="Security"}(n||(n={}))},,,function(e,t,a){"use strict";function n(e){const t=Object.assign({},{progress:0,totalTicks:20},e);t.progress=Math.max(Math.min(t.progress,1),0);const a=Math.max(Math.floor(t.progress/(1/t.totalTicks)),1),n=Math.max(t.totalTicks-a,0);return`[${"|".repeat(a)}${"-".repeat(n)}]`}a.d(t,"a",(function(){return n}))},,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(22);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class i{constructor(e={}){r(this,"name","InitName"),r(this,"qty",0),r(this,"qlt",0),r(this,"dmd",0),r(this,"dmdR",[0,0]),r(this,"cmp",0),r(this,"cmpR",[0,0]),r(this,"mv",0),r(this,"mku",0),r(this,"buy",0),r(this,"sll",0),r(this,"prd",0),r(this,"imp",0),r(this,"exp",[]),r(this,"totalExp",0),r(this,"bCost",0),r(this,"sCost",0),r(this,"prdman",[!1,0]),r(this,"sllman",[!1,0]),r(this,"marketTa1",!1),r(this,"marketTa2",!1),r(this,"marketTa2Price",0),e.name&&(this.name=e.name),this.init()}getMarkupLimit(){return this.qlt/this.mku}init(){switch(this.name){case"Water":this.dmd=75,this.dmdR=[65,85],this.cmp=50,this.cmpR=[40,60],this.bCost=1500,this.mv=.2,this.mku=6;break;case"Energy":this.dmd=90,this.dmdR=[80,99],this.cmp=80,this.cmpR=[65,95],this.bCost=2e3,this.mv=.2,this.mku=6;break;case"Food":this.dmd=80,this.dmdR=[70,90],this.cmp=60,this.cmpR=[35,85],this.bCost=5e3,this.mv=1,this.mku=3;break;case"Plants":this.dmd=70,this.dmdR=[20,90],this.cmp=50,this.cmpR=[30,70],this.bCost=3e3,this.mv=.6,this.mku=3.75;break;case"Metal":this.dmd=80,this.dmdR=[75,85],this.cmp=70,this.cmpR=[60,80],this.bCost=2650,this.mv=1,this.mku=6;break;case"Hardware":this.dmd=85,this.dmdR=[80,90],this.cmp=80,this.cmpR=[65,95],this.bCost=8e3,this.mv=.5,this.mku=1;break;case"Chemicals":this.dmd=55,this.dmdR=[40,70],this.cmp=60,this.cmpR=[40,80],this.bCost=9e3,this.mv=1.2,this.mku=2;break;case"Real Estate":this.dmd=50,this.dmdR=[5,99],this.cmp=50,this.cmpR=[25,75],this.bCost=8e4,this.mv=1.5,this.mku=1.5;break;case"Drugs":this.dmd=60,this.dmdR=[45,75],this.cmp=70,this.cmpR=[40,99],this.bCost=4e4,this.mv=1.6,this.mku=1;break;case"Robots":this.dmd=90,this.dmdR=[80,9],this.cmp=90,this.cmpR=[80,9],this.bCost=75e3,this.mv=.5,this.mku=1;break;case"AI Cores":this.dmd=90,this.dmdR=[80,99],this.cmp=90,this.cmpR=[80,9],this.bCost=15e3,this.mv=.8,this.mku=.5;break;case"Scientific Research":case"InitName":break;default:console.error("Invalid material type in init(): "+this.name)}}processMarket(){const e=1+Math.random()*this.mv/300,t=1+Math.random()*this.mv/100;Math.random()<.5?(this.cmp*=t,this.cmp>this.cmpR[1]&&(this.cmp=this.cmpR[1]),this.bCost*=1/e):(this.cmp*=1/t,this.cmpthis.dmdR[1]&&(this.dmd=this.dmdR[1]),this.bCost*=e):(this.dmd*=1/a,this.dmd({ind:e.ind,city:e.city,amt:e.amt})),e}toJSON(){return Object(n.b)("Material",this)}static fromJSON(e){return Object(n.a)(i,e.data)}}n.c.constructors.Material=i},,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(498),r=a(612),i=a(22);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class s{constructor(e=""){o(this,"alreadyInvited",!1),o(this,"augmentations",[]),o(this,"favor",0),o(this,"isBanned",!1),o(this,"isMember",!1),o(this,"name",""),o(this,"playerReputation",0),this.name=e}getInfo(){const e=n.a[this.name];if(null==e)throw new Error(`Missing faction from FactionInfos: ${this.name} this probably means the faction got corrupted somehow`);return e}gainFavor(){null==this.favor&&(this.favor=0),this.favor+=this.getFavorGain()}getFavorGain(){null==this.favor&&(this.favor=0);const e=Math.max(0,Object(r.a)(this.favor))+this.playerReputation;return Object(r.b)(e)-this.favor}toJSON(){return Object(i.b)("Faction",this)}static fromJSON(e){return Object(i.a)(s,e.data)}}i.c.constructors.Faction=s},function(e,t,a){"use strict";a.d(t,"c",(function(){return O})),a.d(t,"b",(function(){return S})),a.d(t,"a",(function(){return x}));var n=a(135),r=a(60),i=a(6),o=a(24),s=a(74),l=a(234),c=a(4),u=a(28),m=a(13),h=a(71),p=a(93),d=a(246),f=a(330),g=a(15),y=a(22),b=a(304),E=a(796),k=a(7),v=a(276);function _(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class w{constructor(){_(this,"PlayerSave",""),_(this,"AllServersSave",""),_(this,"CompaniesSave",""),_(this,"FactionsSave",""),_(this,"AliasesSave",""),_(this,"GlobalAliasesSave",""),_(this,"MessagesSave",""),_(this,"StockMarketSave",""),_(this,"SettingsSave",""),_(this,"VersionSave",""),_(this,"AllGangsSave",""),_(this,"LastExportBonus","")}getSaveString(){this.PlayerSave=JSON.stringify(c.a),this.AllServersSave=Object(u.j)(),this.CompaniesSave=JSON.stringify(r.a),this.FactionsSave=JSON.stringify(o.a),this.AliasesSave=JSON.stringify(n.a),this.GlobalAliasesSave=JSON.stringify(n.b),this.MessagesSave=JSON.stringify(l.a),this.StockMarketSave=JSON.stringify(p.a),this.SettingsSave=JSON.stringify(m.a),this.VersionSave=JSON.stringify(i.a.VersionNumber),this.LastExportBonus=JSON.stringify(f.a),c.a.inGang()&&(this.AllGangsSave=JSON.stringify(s.a));return btoa(unescape(encodeURIComponent(JSON.stringify(this))))}saveGame(){const e=this.getSaveString();Object(b.c)(e).then(()=>d.b.emit("Game Saved!","info")).catch(e=>console.error(e))}exportGame(){const e=this.getSaveString(),t=Math.round(Date.now()/1e3),a=c.a.bitNodeN;x(`bitburnerSave_BN${a}x${h.a[a]}_${t}.json`,e)}toJSON(){return Object(y.b)("BitburnerSaveObject",this)}static fromJSON(e){return Object(y.a)(w,e.data)}}function S(e){if(!e)return!1;e=decodeURIComponent(escape(atob(e)));const t=JSON.parse(e,y.c);if(Object(c.b)(t.PlayerSave),Object(u.h)(t.AllServersSave),Object(r.c)(t.CompaniesSave),Object(o.d)(t.FactionsSave),t.hasOwnProperty("AliasesSave"))try{Object(n.c)(t.AliasesSave)}catch(e){console.warn("Could not load Aliases from save"),Object(n.c)("")}else console.warn("Save file did not contain an Aliases property"),Object(n.c)("");if(t.hasOwnProperty("GlobalAliasesSave"))try{Object(n.d)(t.GlobalAliasesSave)}catch(e){console.warn("Could not load GlobalAliases from save"),Object(n.d)("")}else console.warn("Save file did not contain a GlobalAliases property"),Object(n.d)("");if(t.hasOwnProperty("MessagesSave"))try{Object(l.d)(t.MessagesSave)}catch(e){console.warn("Could not load Messages from save"),Object(l.c)()}else console.warn("Save file did not contain a Messages property"),Object(l.c)();if(t.hasOwnProperty("StockMarketSave"))try{Object(p.i)(t.StockMarketSave)}catch(e){Object(p.i)("")}else Object(p.i)("");if(t.hasOwnProperty("SettingsSave"))try{m.a.load(t.SettingsSave)}catch(e){console.error("ERROR: Failed to parse Settings. Re-initing default values"),m.a.init()}else m.a.init();if(t.hasOwnProperty("LastExportBonus"))try{f.d(JSON.parse(t.LastExportBonus))}catch(e){f.d((new Date).getTime()),console.error("ERROR: Failed to parse last export bonus Settings "+e)}if(c.a.inGang()&&t.hasOwnProperty("AllGangsSave"))try{Object(s.b)(t.AllGangsSave)}catch(e){console.error("ERROR: Failed to parse AllGangsSave: "+e)}if(t.hasOwnProperty("VersionSave"))try{const e=JSON.parse(t.VersionSave,y.c);!function(e){const t=c.a;if("string"==typeof e){if(e<="0.41.2"){null!=t.companyPosition&&"string"!=typeof t.companyPosition&&(t.companyPosition=t.companyPosition.data.positionName,null==t.companyPosition&&(t.companyPosition=""));for(const e in r.a){const t=r.a[e];if(0==t.name&&null!=t.companyName&&(t.name=t.companyName),t.companyPositions instanceof Array){const e={};for(let a=0;ae.name===k.a.NeuroFluxGovernor);if(e)e.level+=10;else{const e=new v.a(k.a.NeuroFluxGovernor);e.level=10,c.a.augmentations.push(e)}c.a.reapplyAllAugmentations(!0),c.a.reapplyAllSourceFiles()}if(e<3&&(t.money=parseFloat(t.money),t.corporation)){t.corporation.funds=parseFloat(t.corporation.funds),t.corporation.revenue=parseFloat(t.corporation.revenue),t.corporation.expenses=parseFloat(t.corporation.expenses);for(let e=0;ePlease report any bugs/issues through the github repository (https://github.com/danielyxie/bitburner/issues) or the Bitburner subreddit (reddit.com/r/bitburner).

"+i.a.LatestUpdate):e!==i.a.VersionNumber&&(C(),C(),C())}catch(e){C()}else C();return C(),C(),C(),!0}function C(){setTimeout(()=>Object(g.a)("New update!
Please report any bugs/issues through the github repository or the Bitburner subreddit (reddit.com/r/bitburner).

"+i.a.LatestUpdate),1e3)}function x(e,t){const a=new Blob([t],{type:"text/plain"}),n=window.navigator;if(n.msSaveOrOpenBlob)n.msSaveOrOpenBlob(a,e);else{const t=document.createElement("a"),n=URL.createObjectURL(a);t.href=n,t.download=e,document.body.appendChild(t),t.click(),setTimeout((function(){document.body.removeChild(t),window.URL.revokeObjectURL(n)}),0)}}y.c.constructors.BitburnerSaveObject=w;const O=new w},function(e,t,a){"use strict";let n,r;a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return r})),function(e){e[e.Cost=0]="Cost",e[e.Default=1]="Default",e[e.Reputation=2]="Reputation",e[e.Purchasable=3]="Purchasable"}(n||(n={})),function(e){e[e.Alphabetically=0]="Alphabetically",e[e.AcquirementTime=1]="AcquirementTime"}(r||(r={}))},function(e,t,a){"use strict";a.d(t,"c",(function(){return i})),a.d(t,"b",(function(){return o})),a.d(t,"e",(function(){return s})),a.d(t,"a",(function(){return l})),a.d(t,"d",(function(){return c}));var n=a(8),r=a(38);function i(e,t,a,i){return e*r.a.MoneyGainPerLevel*Math.pow(1.035,t-1)*((a+5)/6)*i*n.a.HacknetNodeMoney}function o(e,t=1,a=1){const n=Math.round(t);if(isNaN(n)||n<1)return 0;if(e>=r.a.MaxLevel)return 1/0;const i=r.a.UpgradeLevelMult;let o=0,s=e;for(let e=0;e=r.a.MaxRam)return 1/0;let i=0,o=Math.round(Math.log2(e)),s=e;for(let e=0;e=r.a.MaxCores)return 1/0;const i=r.a.CoreBaseCost,o=r.a.UpgradeCoreMult;let s=0,l=e;for(let e=0;e{function t(t){if(!t.isTrusted)return;e.onKeyDown.bind(this)(t)}return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)}),r.a.createElement(r.a.Fragment,null)}},function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(1299),r=a(0),i=a.n(r),o=a(1297),s=a(45);const l=Object(o.a)(e=>({root:{backgroundColor:e.palette.background.paper},bar:{transition:"none",backgroundColor:e.palette.primary.main}}))(n.a);function c(e){const[t,a]=Object(r.useState)(100);return Object(r.useEffect)(()=>{const t=setInterval(()=>{a(t=>(t<=0&&e.onExpire(),t-200/e.millis*100))},200);return()=>{clearInterval(t)}},[]),i.a.createElement(s.a,{item:!0,xs:12},i.a.createElement(l,{variant:"determinate",value:t,color:"primary"}))}},function(e,t,a){"use strict";function n(e,t,a){function n(e,t,n){function r(e,t,a){return(1-a)*e+a*t}for(const i of Object.keys(e))a[i]=r(e[i],t[i],n);return e}return t<0?n(e.Trivial,e.Trivial,0):t>=0&&t<1?n(e.Trivial,e.Normal,t):t>=1&&t<2?n(e.Normal,e.Hard,t-1):t>=2&&t<3?n(e.Hard,e.Impossible,t-2):n(e.Impossible,e.Impossible,0)}a.d(t,"a",(function(){return n}))},function(e,t,a){"use strict";a.d(t,"c",(function(){return i})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return s}));var n=a(0),r=a(15);function i(e,t){e.gainMoney(t,"casino")}function o(e){const t=e.getCasinoWinnings()>1e10;return t&&Object(r.a)(n.createElement(n.Fragment,null,"Alright cheater get out of here. You're not allowed here anymore.")),t}class s extends n.Component{win(e,t){e.gainMoney(t,"casino")}reachedLimit(e){const t=e.getCasinoWinnings()>1e10;return t&&Object(r.a)(n.createElement(n.Fragment,null,"Alright cheater get out of here. You're not allowed here anymore.")),t}}},function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(158),r=a(764);const i={};n.b.forEach(e=>{i[e.name]=new r.a(e.name,e.cost,e.upgType,e.mults)})},function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return s})),a.d(t,"d",(function(){return l})),a.d(t,"a",(function(){return c}));var n=a(130),r=a(66),i=a(6);function o(e,t,a){if(isNaN(t)||t<=0||!(e instanceof n.a))return null;t=Math.min(t,e.maxShares);return a===r.a.Long?t*e.getAskPrice()+i.a.StockMarketCommission:t*e.getBidPrice()+i.a.StockMarketCommission}function s(e,t,a){if(isNaN(t)||t<=0||!(e instanceof n.a))return null;t=Math.min(t,e.maxShares);if(a===r.a.Long)return t*e.getBidPrice()-i.a.StockMarketCommission;return t*e.playerAvgShortPx+((e.playerAvgShortPx-e.getAskPrice())*t-i.a.StockMarketCommission)}function l(e,t){if(isNaN(t)||t<=0||!(e instanceof n.a))return;t=Math.min(t,e.maxShares);const a=e.shareTxUntilMovement;if(t<=a)return e.shareTxUntilMovement-=t,void(e.shareTxUntilMovement<=0&&(e.shareTxUntilMovement=e.shareTxForMovement,e.influenceForecast(.006),e.influenceForecastForecast(e.mv/100*.006)));const r=t-a;let i=1+Math.ceil(r/e.shareTxForMovement);e.shareTxUntilMovement=e.shareTxForMovement-(t-e.shareTxUntilMovement)%e.shareTxForMovement,(e.shareTxUntilMovement===e.shareTxForMovement||e.shareTxUntilMovement<=0)&&(++i,e.shareTxUntilMovement=e.shareTxForMovement);const o=.006*(i-1),s=o*(e.mv/100);e.influenceForecast(o),e.influenceForecastForecast(s)}function c(e,t,a){if(!(e instanceof n.a))return 0;const o=t===r.a.Long,s=a-i.a.StockMarketCommission,l=o?e.getAskPrice():e.getBidPrice();return Math.floor(s/l)}},function(e,t,a){"use strict";a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return u}));var n=a(8),r=a(23),i=a(6),o=a(235),s=a(350);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function c(){return{hack:0,str:0,def:0,dex:0,agi:0,cha:0,money:0}}class u{constructor(){l(this,"hacking",1),l(this,"strength",1),l(this,"defense",1),l(this,"dexterity",1),l(this,"agility",1),l(this,"charisma",1),l(this,"intelligence",1),l(this,"hp",10),l(this,"max_hp",10),l(this,"hacking_exp",0),l(this,"strength_exp",0),l(this,"defense_exp",0),l(this,"dexterity_exp",0),l(this,"agility_exp",0),l(this,"charisma_exp",0),l(this,"intelligence_exp",0),l(this,"hacking_mult",1),l(this,"strength_mult",1),l(this,"defense_mult",1),l(this,"dexterity_mult",1),l(this,"agility_mult",1),l(this,"charisma_mult",1),l(this,"hacking_exp_mult",1),l(this,"strength_exp_mult",1),l(this,"defense_exp_mult",1),l(this,"dexterity_exp_mult",1),l(this,"agility_exp_mult",1),l(this,"charisma_exp_mult",1),l(this,"hacking_chance_mult",1),l(this,"hacking_speed_mult",1),l(this,"hacking_money_mult",1),l(this,"hacking_grow_mult",1),l(this,"company_rep_mult",1),l(this,"faction_rep_mult",1),l(this,"crime_money_mult",1),l(this,"crime_success_mult",1),l(this,"work_money_mult",1),l(this,"hacknet_node_money_mult",1),l(this,"hacknet_node_purchase_cost_mult",1),l(this,"hacknet_node_ram_cost_mult",1),l(this,"hacknet_node_core_cost_mult",1),l(this,"hacknet_node_level_cost_mult",1),l(this,"bladeburner_max_stamina_mult",1),l(this,"bladeburner_stamina_gain_mult",1),l(this,"bladeburner_analysis_mult",1),l(this,"bladeburner_success_chance_mult",1),l(this,"augmentations",[]),l(this,"queuedAugmentations",[]),l(this,"city",r.a.Sector12)}applyAugmentation(e){for(const t in e.mults)null==this[t]?console.warn("Augmentation has unrecognized multiplier property: "+t):this[t]*=e.mults[t]}calculateStat(e,t=1){return Object(o.b)(e,t)}getFactionFieldWorkRepGain(){return.9*(this.hacking/i.a.MaxSkillLevel+this.strength/i.a.MaxSkillLevel+this.defense/i.a.MaxSkillLevel+this.dexterity/i.a.MaxSkillLevel+this.agility/i.a.MaxSkillLevel+this.charisma/i.a.MaxSkillLevel)/5.5*this.faction_rep_mult}getFactionHackingWorkRepGain(){return this.hacking/i.a.MaxSkillLevel*this.faction_rep_mult}getFactionSecurityWorkRepGain(){return.9*(this.hacking/i.a.MaxSkillLevel+this.strength/i.a.MaxSkillLevel+this.defense/i.a.MaxSkillLevel+this.dexterity/i.a.MaxSkillLevel+this.agility/i.a.MaxSkillLevel)/4.5*this.faction_rep_mult}resetMultipliers(){this.hacking_mult=1,this.strength_mult=1,this.defense_mult=1,this.dexterity_mult=1,this.agility_mult=1,this.charisma_mult=1,this.hacking_exp_mult=1,this.strength_exp_mult=1,this.defense_exp_mult=1,this.dexterity_exp_mult=1,this.agility_exp_mult=1,this.charisma_exp_mult=1,this.company_rep_mult=1,this.faction_rep_mult=1,this.crime_money_mult=1,this.crime_success_mult=1,this.work_money_mult=1}updateStatLevels(){this.hacking=Math.max(1,Math.floor(this.calculateStat(this.hacking_exp,this.hacking_mult*n.a.HackingLevelMultiplier))),this.strength=Math.max(1,Math.floor(this.calculateStat(this.strength_exp,this.strength_mult*n.a.StrengthLevelMultiplier))),this.defense=Math.max(1,Math.floor(this.calculateStat(this.defense_exp,this.defense_mult*n.a.DefenseLevelMultiplier))),this.dexterity=Math.max(1,Math.floor(this.calculateStat(this.dexterity_exp,this.dexterity_mult*n.a.DexterityLevelMultiplier))),this.agility=Math.max(1,Math.floor(this.calculateStat(this.agility_exp,this.agility_mult*n.a.AgilityLevelMultiplier))),this.charisma=Math.max(1,Math.floor(this.calculateStat(this.charisma_exp,this.charisma_mult*n.a.CharismaLevelMultiplier)));const e=this.hp/this.max_hp;this.max_hp=Math.floor(10+this.defense/10),this.hp=Math.round(this.max_hp*e)}getIntelligenceBonus(e){return Object(s.a)(this.intelligence,e)}}},,,,,,,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return l}));var n=a(0),r=a.n(n),i=a(8);class o{constructor(e,t,a,n="",i=r.a.createElement(r.a.Fragment,null)){this.number=e,this.difficulty=t,this.name=a,this.desc=n,this.info=i}}const s={};function l(e){null==e.bitNodeN&&(e.bitNodeN=1);for(const e in i.a)i.a.hasOwnProperty(e)&&(i.a[e]=1);switch(e.bitNodeN){case 1:break;case 2:i.a.HackingLevelMultiplier=.8,i.a.ServerGrowthRate=.8,i.a.ServerMaxMoney=.2,i.a.ServerStartingMoney=.4,i.a.CrimeMoney=3,i.a.InfiltrationMoney=3,i.a.FactionWorkRepGain=.5,i.a.FactionPassiveRepGain=0,i.a.PurchasedServerSoftcap=1.3,i.a.CorporationSoftCap=.9;break;case 3:i.a.HackingLevelMultiplier=.8,i.a.RepToDonateToFaction=.5,i.a.AugmentationRepCost=3,i.a.AugmentationMoneyCost=3,i.a.ServerMaxMoney=.2,i.a.ServerStartingMoney=.2,i.a.ServerGrowthRate=.2,i.a.ScriptHackMoney=.2,i.a.CompanyWorkMoney=.25,i.a.CrimeMoney=.25,i.a.HacknetNodeMoney=.25,i.a.HomeComputerRamCost=1.5,i.a.PurchasedServerCost=2,i.a.PurchasedServerSoftcap=1.3,i.a.GangSoftcap=.9;break;case 4:i.a.ServerMaxMoney=.15,i.a.ServerStartingMoney=.75,i.a.ScriptHackMoney=.2,i.a.CompanyWorkMoney=.1,i.a.CrimeMoney=.2,i.a.HacknetNodeMoney=.05,i.a.CompanyWorkExpGain=.5,i.a.ClassGymExpGain=.5,i.a.FactionWorkExpGain=.5,i.a.HackExpGain=.4,i.a.CrimeExpGain=.5,i.a.FactionWorkRepGain=.75,i.a.PurchasedServerSoftcap=1.2;break;case 5:i.a.ServerMaxMoney=2,i.a.ServerStartingSecurity=2,i.a.ServerStartingMoney=.5,i.a.ScriptHackMoney=.15,i.a.HacknetNodeMoney=.2,i.a.CrimeMoney=.5,i.a.InfiltrationRep=1.5,i.a.InfiltrationMoney=1.5,i.a.AugmentationMoneyCost=2,i.a.HackExpGain=.5,i.a.CorporationValuation=.5,i.a.PurchasedServerSoftcap=1.2;break;case 6:i.a.HackingLevelMultiplier=.35,i.a.ServerMaxMoney=.4,i.a.ServerStartingMoney=.5,i.a.ServerStartingSecurity=1.5,i.a.ScriptHackMoney=.75,i.a.CompanyWorkMoney=.5,i.a.CrimeMoney=.75,i.a.InfiltrationMoney=.75,i.a.CorporationValuation=.2,i.a.HacknetNodeMoney=.2,i.a.FactionPassiveRepGain=0,i.a.HackExpGain=.25,i.a.DaedalusAugsRequirement=1.166,i.a.PurchasedServerSoftcap=2,i.a.GangSoftcap=.7,i.a.CorporationSoftCap=.9;break;case 7:i.a.BladeburnerRank=.6,i.a.BladeburnerSkillCost=2,i.a.AugmentationMoneyCost=3,i.a.HackingLevelMultiplier=.35,i.a.ServerMaxMoney=.4,i.a.ServerStartingMoney=.5,i.a.ServerStartingSecurity=1.5,i.a.ScriptHackMoney=.5,i.a.CompanyWorkMoney=.5,i.a.CrimeMoney=.75,i.a.InfiltrationMoney=.75,i.a.CorporationValuation=.2,i.a.HacknetNodeMoney=.2,i.a.FactionPassiveRepGain=0,i.a.HackExpGain=.25,i.a.FourSigmaMarketDataCost=2,i.a.FourSigmaMarketDataApiCost=2,i.a.DaedalusAugsRequirement=1.166,i.a.PurchasedServerSoftcap=2,i.a.GangSoftcap=.7,i.a.CorporationSoftCap=.9;break;case 8:i.a.ScriptHackMoney=.3,i.a.ScriptHackMoneyGain=0,i.a.ManualHackMoney=0,i.a.CompanyWorkMoney=0,i.a.CrimeMoney=0,i.a.HacknetNodeMoney=0,i.a.InfiltrationMoney=0,i.a.RepToDonateToFaction=0,i.a.CorporationValuation=0,i.a.CodingContractMoney=0,i.a.PurchasedServerSoftcap=4,i.a.GangSoftcap=0,i.a.CorporationSoftCap=0;break;case 9:i.a.HackingLevelMultiplier=.4,i.a.StrengthLevelMultiplier=.45,i.a.DefenseLevelMultiplier=.45,i.a.DexterityLevelMultiplier=.45,i.a.AgilityLevelMultiplier=.45,i.a.CharismaLevelMultiplier=.45,i.a.PurchasedServerLimit=0,i.a.HomeComputerRamCost=5,i.a.CrimeMoney=.5,i.a.ScriptHackMoney=.1,i.a.HackExpGain=.05,i.a.ServerStartingMoney=.1,i.a.ServerMaxMoney=.1,i.a.ServerStartingSecurity=2.5,i.a.CorporationValuation=.5,i.a.FourSigmaMarketDataCost=5,i.a.FourSigmaMarketDataApiCost=4,i.a.BladeburnerRank=.9,i.a.BladeburnerSkillCost=1.2,i.a.GangSoftcap=.8,i.a.CorporationSoftCap=.9;break;case 10:i.a.HackingLevelMultiplier=.2,i.a.StrengthLevelMultiplier=.4,i.a.DefenseLevelMultiplier=.4,i.a.DexterityLevelMultiplier=.4,i.a.AgilityLevelMultiplier=.4,i.a.CharismaLevelMultiplier=.4,i.a.CompanyWorkMoney=.5,i.a.CrimeMoney=.5,i.a.HacknetNodeMoney=.5,i.a.ManualHackMoney=.5,i.a.ScriptHackMoney=.5,i.a.CodingContractMoney=.5,i.a.InfiltrationMoney=.5,i.a.CorporationValuation=.5,i.a.AugmentationMoneyCost=5,i.a.AugmentationRepCost=2,i.a.HomeComputerRamCost=1.5,i.a.PurchasedServerCost=5,i.a.PurchasedServerLimit=.6,i.a.PurchasedServerMaxRam=.5,i.a.BladeburnerRank=.8,i.a.PurchasedServerSoftcap=1.1,i.a.GangSoftcap=.9,i.a.CorporationSoftCap=.9;break;case 11:i.a.HackingLevelMultiplier=.5,i.a.HackExpGain=.5,i.a.ServerMaxMoney=.1,i.a.ServerStartingMoney=.1,i.a.ServerGrowthRate=.2,i.a.ServerWeakenRate=2,i.a.CrimeMoney=3,i.a.CompanyWorkMoney=.5,i.a.HacknetNodeMoney=.1,i.a.AugmentationMoneyCost=2,i.a.InfiltrationMoney=2.5,i.a.InfiltrationRep=2.5,i.a.CorporationValuation=.1,i.a.CodingContractMoney=.25,i.a.FourSigmaMarketDataCost=4,i.a.FourSigmaMarketDataApiCost=4,i.a.PurchasedServerSoftcap=2,i.a.CorporationSoftCap=.9;break;case 12:{let t=0;for(let a=0;a