From 1cca819f875785b6fef3f833392afdd8a8c15cc2 Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Thu, 16 Dec 2021 15:46:26 -0500 Subject: [PATCH] disable browser throttling --- dist/vendor.bundle.js | 2 +- electron/main.js | 1 + main.bundle.js | 4 ++-- main.bundle.js.map | 2 +- package.json | 3 ++- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/vendor.bundle.js b/dist/vendor.bundle.js index e276ad534..edfc20d74 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(1232)},function(e,t,n){"use strict";var r=n(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(651),u=n(65),c=n(17),l=n(35),d=n(30),f=n(742),p=n(7);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(1236)()},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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(583),c=n(81),l=n(17),d=n(117),f=n(35),p=n(30),h=n(650),m=n(1168),b=n(211),g=n(85),v=n(349),y=n(317),x=n(277),w=n(296),O=n(7);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:H=0,enterTouchDelay:U=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&&H?he.current=setTimeout(()=>{je(e)},k?H: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)},U)},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}),He=a.useRef(),Ue={},qe="string"==typeof te;N?(Ue.title=ye||!qe||L?null:te,Ue["aria-describedby"]=ye?xe:null):(Ue["aria-label"]=qe?te:null,Ue["aria-labelledby"]=ye&&!qe?xe:null);const $e=Object(i.a)({},Ue,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},He.current&&He.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:He,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(274);t.a=r.a},,function(e,t,n){"use strict";var r=n(1298),i=n(551);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(1288),i=n(318);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(3),a=n(0),o=(n(11),n(12)),s=n(152),u=n(651),c=n(65),l=n(17),d=n(35),f=n(631),p=n(468),h=n(7);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(30),l=n(520),d=n(326),f=n(35),p=n(17),h=n(628),m=n(7);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(274),i=n(152);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(3),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(326),l=n(35),d=n(17),f=n(564),p=n(7);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(229),i=n(536);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(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(124),c=n(81),l=n(17),d=n(35),f=n(301),p=n(321),h=n(178),m=n(85),b=n(173),g=n(342),v=n(343),y=n(1312),x=n(7);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),H={dense:R||V.dense||!1,alignItems:c,disableGutters:P},U=a.useRef(null);Object(h.a)(()=>{l&&U.current&&U.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:H.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)(U,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:H,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:H,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(79);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(80)),a=n(7),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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(17),l=n(35),d=n(758),f=n(7);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(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(17),l=n(35),d=n(173),f=n(301),p=n(178),h=n(85),m=n(566),b=n(565),g=n(423),v=n(380),y=n(7);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,n){"use strict";var r=n(3),i=n(1324),a=n(328);t.a=function(e,t){return Object(i.a)(e,Object(r.a)({defaultTheme:a.a},t))}},,,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(483)},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(340);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(3),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(35),l=n(1176),d=n(1177),f=n(1178),p=n(1180),h=n(1179),m=n(1306),b=n(116),g=n(749),v=n(7);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:H,select:U=!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:U,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&&" *"]})}U&&(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:H,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})),U?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(427);t.a=r.a},,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(17),l=n(35),d=n(301),f=n(30),p=n(626),h=n(7);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(1),c=n(173),l=n(35),d=n(17),f=n(423),p=n(7);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(255);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(1233)},,,,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(157);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(429);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";var r,i,a=n(3),o=n(18),s=n(0),u=(n(11),n(12)),c=n(235),l=n(65),d=n(754),f=n(279),p=n(209),h=n(752),m=n(1176),b=n(443),g=n(1177),v=n(1178),y=n(35),x=n(85),w=n(366),O=n(7);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:H,variant:U="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||U,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},H)},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";n.d(t,"a",(function(){return a}));n(0);var r=n(351),i=n(318);function a(){return Object(r.a)(i.a)}},,,,,,,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(3),a=n(0),o=n(149),s=n(1172),u=n(375),c=n(582),l=n(1292),d=n(743),f=n(1290),p=n(598);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(54),c=n(81),l=n(30),d=n(17),f=n(35),p=n(317),h=n(85),m=n(1),b=n(629),g=n(7);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(35),l=n(565),d=n(173),f=n(7);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";var r=n(79);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(80)),a=n(7),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(429);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";n.d(t,"a",(function(){return s}));var r=n(3),i=n(0),a=n(428),o=n(7);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";var r=n(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(30),l=n(882),d=n(35),f=n(17),p=n(189),h=n(7);const m=["className","color","edge","size","sx"],b=Object(f.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t["edge"+Object(c.a)(n.edge)],t["size"+Object(c.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,["& ."+p.a.thumb]:{width:16,height:16},["& ."+p.a.switchBase]:{padding:4,["&."+p.a.checked]:{transform:"translateX(16px)"}}})),g=Object(f.a)(l.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{["& ."+p.a.input]:t.input},"default"!==n.color&&t["color"+Object(c.a)(n.color)]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),["&."+p.a.checked]:{transform:"translateX(20px)"},["&."+p.a.disabled]:{color:"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]},[`&.${p.a.checked} + .${p.a.track}`]:{opacity:.5},[`&.${p.a.disabled} + .${p.a.track}`]:{opacity:"light"===e.palette.mode?.12:.2},["& ."+p.a.input]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>Object(i.a)({"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{["&."+p.a.checked]:{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"}},["&."+p.a.disabled]:{color:"light"===e.palette.mode?Object(u.e)(e.palette[t.color].main,.62):Object(u.b)(e.palette[t.color].main,.55)}},[`&.${p.a.checked} + .${p.a.track}`]:{backgroundColor:e.palette[t.color].main}})),v=Object(f.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3})),y=Object(f.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),x=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiSwitch"}),{className:a,color:u="primary",edge:l=!1,size:f="medium",sx:x}=n,w=Object(r.a)(n,m),O=Object(i.a)({},n,{color:u,edge:l,size:f}),j=(e=>{const{classes:t,edge:n,size:r,color:a,checked:o,disabled:u}=e,l={root:["root",n&&"edge"+Object(c.a)(n),"size"+Object(c.a)(r)],switchBase:["switchBase","color"+Object(c.a)(a),o&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Object(s.a)(l,p.b,t);return Object(i.a)({},t,d)})(O),C=Object(h.jsx)(y,{className:j.thumb,ownerState:O});return Object(h.jsxs)(b,{className:Object(o.default)(j.root,a),sx:x,ownerState:O,children:[Object(h.jsx)(g,Object(i.a)({type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:O},w,{classes:Object(i.a)({},j,{root:j.switchBase})})),Object(h.jsx)(v,{className:j.track,ownerState:O})]})}));t.a=x},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(435),a=(n(3),n(436),n(595),n(267)),o=n(309),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(3),i=n(365),a=(n(439),n(409)),o=n(354),s=n(441),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(1236)()},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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(583),c=n(81),l=n(17),d=n(117),f=n(35),p=n(30),h=n(650),m=n(1168),b=n(211),g=n(85),v=n(349),y=n(317),x=n(277),w=n(296),O=n(7);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:H=0,enterTouchDelay:U=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&&H?he.current=setTimeout(()=>{je(e)},k?H: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)},U)},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}),He=a.useRef(),Ue={},qe="string"==typeof te;N?(Ue.title=ye||!qe||L?null:te,Ue["aria-describedby"]=ye?xe:null):(Ue["aria-label"]=qe?te:null,Ue["aria-labelledby"]=ye&&!qe?xe:null);const $e=Object(i.a)({},Ue,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},He.current&&He.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:He,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(274);t.a=r.a},,function(e,t,n){"use strict";var r=n(1298),i=n(551);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(1288),i=n(318);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(3),a=n(0),o=(n(11),n(12)),s=n(152),u=n(651),c=n(65),l=n(17),d=n(35),f=n(631),p=n(468),h=n(7);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(30),l=n(520),d=n(326),f=n(35),p=n(17),h=n(628),m=n(7);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(274),i=n(152);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(3),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(326),l=n(35),d=n(17),f=n(564),p=n(7);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(229),i=n(536);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(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(124),c=n(81),l=n(17),d=n(35),f=n(301),p=n(321),h=n(178),m=n(85),b=n(173),g=n(342),v=n(343),y=n(1312),x=n(7);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),H={dense:R||V.dense||!1,alignItems:c,disableGutters:P},U=a.useRef(null);Object(h.a)(()=>{l&&U.current&&U.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:H.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)(U,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:H,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:H,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(79);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(80)),a=n(7),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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(17),l=n(35),d=n(758),f=n(7);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(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(17),l=n(35),d=n(173),f=n(301),p=n(178),h=n(85),m=n(566),b=n(565),g=n(423),v=n(380),y=n(7);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,n){"use strict";var r=n(3),i=n(1324),a=n(328);t.a=function(e,t){return Object(i.a)(e,Object(r.a)({defaultTheme:a.a},t))}},,,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(483)},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(340);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(3),i=n(18),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(35),l=n(1176),d=n(1177),f=n(1178),p=n(1180),h=n(1179),m=n(1306),b=n(116),g=n(749),v=n(7);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:H,select:U=!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:U,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&&" *"]})}U&&(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:H,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})),U?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(427);t.a=r.a},,,,,,,,,,function(e,t,n){"use strict";var r=n(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(17),l=n(35),d=n(301),f=n(30),p=n(626),h=n(7);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(1),c=n(173),l=n(35),d=n(17),f=n(423),p=n(7);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(255);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(1233)},,,,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(157);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(429);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";var r,i,a=n(3),o=n(18),s=n(0),u=(n(11),n(12)),c=n(235),l=n(65),d=n(754),f=n(279),p=n(209),h=n(752),m=n(1176),b=n(443),g=n(1177),v=n(1178),y=n(35),x=n(85),w=n(366),O=n(7);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:H,variant:U="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||U,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},H)},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";n.d(t,"a",(function(){return a}));n(0);var r=n(351),i=n(318);function a(){return Object(r.a)(i.a)}},,,,,,,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(3),a=n(0),o=n(149),s=n(1172),u=n(375),c=n(582),l=n(1292),d=n(743),f=n(1290),p=n(598);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(54),c=n(81),l=n(30),d=n(17),f=n(35),p=n(317),h=n(85),m=n(1),b=n(629),g=n(7);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(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(17),c=n(35),l=n(565),d=n(173),f=n(7);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";var r=n(79);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(80)),a=n(7),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(429);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";n.d(t,"a",(function(){return s}));var r=n(3),i=n(0),a=n(428),o=n(7);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";var r=n(18),i=n(3),a=n(0),o=(n(11),n(12)),s=n(65),u=n(81),c=n(30),l=n(882),d=n(35),f=n(17),p=n(189),h=n(7);const m=["className","color","edge","size","sx"],b=Object(f.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t["edge"+Object(c.a)(n.edge)],t["size"+Object(c.a)(n.size)]]}})(({ownerState:e})=>Object(i.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===e.edge&&{marginLeft:-8},"end"===e.edge&&{marginRight:-8},"small"===e.size&&{width:40,height:24,padding:7,["& ."+p.a.thumb]:{width:16,height:16},["& ."+p.a.switchBase]:{padding:4,["&."+p.a.checked]:{transform:"translateX(16px)"}}})),g=Object(f.a)(l.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{["& ."+p.a.input]:t.input},"default"!==n.color&&t["color"+Object(c.a)(n.color)]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),["&."+p.a.checked]:{transform:"translateX(20px)"},["&."+p.a.disabled]:{color:"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]},[`&.${p.a.checked} + .${p.a.track}`]:{opacity:.5},[`&.${p.a.disabled} + .${p.a.track}`]:{opacity:"light"===e.palette.mode?.12:.2},["& ."+p.a.input]:{left:"-100%",width:"300%"}}),({theme:e,ownerState:t})=>Object(i.a)({"&:hover":{backgroundColor:Object(u.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{["&."+p.a.checked]:{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"}},["&."+p.a.disabled]:{color:"light"===e.palette.mode?Object(u.e)(e.palette[t.color].main,.62):Object(u.b)(e.palette[t.color].main,.55)}},[`&.${p.a.checked} + .${p.a.track}`]:{backgroundColor:e.palette[t.color].main}})),v=Object(f.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.mode?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.mode?.38:.3})),y=Object(f.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),x=a.forwardRef((function(e,t){const n=Object(d.a)({props:e,name:"MuiSwitch"}),{className:a,color:u="primary",edge:l=!1,size:f="medium",sx:x}=n,w=Object(r.a)(n,m),O=Object(i.a)({},n,{color:u,edge:l,size:f}),j=(e=>{const{classes:t,edge:n,size:r,color:a,checked:o,disabled:u}=e,l={root:["root",n&&"edge"+Object(c.a)(n),"size"+Object(c.a)(r)],switchBase:["switchBase","color"+Object(c.a)(a),o&&"checked",u&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Object(s.a)(l,p.b,t);return Object(i.a)({},t,d)})(O),C=Object(h.jsx)(y,{className:j.thumb,ownerState:O});return Object(h.jsxs)(b,{className:Object(o.default)(j.root,a),sx:x,ownerState:O,children:[Object(h.jsx)(g,Object(i.a)({type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:O},w,{classes:Object(i.a)({},j,{root:j.switchBase})})),Object(h.jsx)(v,{className:j.track,ownerState:O})]})}));t.a=x},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(435),a=(n(3),n(436),n(595),n(267)),o=n(309),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(3),i=n(365),a=(n(439),n(409)),o=n(354),s=n(441),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;nObject(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";function n(e,t){if(null==t)return null;if("object"==typeof t&&"string"==typeof t.ctor&&void 0!==t.data){if("AllServersMap"===t.ctor)return console.warn("Converting AllServersMap for v0.43.1"),t.data;const e=n.constructors[t.ctor];if("function"==typeof e&&"function"==typeof e.fromJSON)return e.fromJSON(t)}return t}function r(e,t,a){a||(a=Object.keys(t));const n={};for(let e=0;e{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(;i{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:g(),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);o.hostname===c.a.WorldDaemon&&(o.requiredHackingSkill*=u.a.WorldDaemonDifficulty),y(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 E(){for(const e in m)delete m[e];m={}}function k(e){m=JSON.parse(e,s.c)}function v(){const e=JSON.parse(JSON.stringify(m),s.c);for(const t in e){const a=e[t];for(let e=0;eObject(n.useContext)(i.Player),Router:()=>Object(n.useContext)(i.Router)}},,function(e,t,a){"use strict";function n(e,t){const a=Math.min(e,t),n=Math.max(e,t);return Math.floor(Math.random()*(n-a+1))+a}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(5),i=a(24),o=a(4),s=a(16),l=a(21);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{constructor(e={info:"",moneyCost:0,name:"",repCost:0}){c(this,"baseCost",0),c(this,"baseRepRequirement",0),c(this,"isSpecial",!1),c(this,"level",0),c(this,"name",""),c(this,"owned",!1),c(this,"prereqs",[]),c(this,"mults",{}),c(this,"startingCost",0),this.name=e.name,this.info=e.info,this.prereqs=e.prereqs?e.prereqs:[],this.baseRepRequirement=e.repCost*r.a.AugmentationRepCost,this.baseCost=e.moneyCost*r.a.AugmentationMoneyCost,this.startingCost=this.baseCost,e.isSpecial&&(this.isSpecial=!0),this.level=0,e.hacking_mult&&(this.mults.hacking_mult=e.hacking_mult),e.strength_mult&&(this.mults.strength_mult=e.strength_mult),e.defense_mult&&(this.mults.defense_mult=e.defense_mult),e.dexterity_mult&&(this.mults.dexterity_mult=e.dexterity_mult),e.agility_mult&&(this.mults.agility_mult=e.agility_mult),e.charisma_mult&&(this.mults.charisma_mult=e.charisma_mult),e.hacking_exp_mult&&(this.mults.hacking_exp_mult=e.hacking_exp_mult),e.strength_exp_mult&&(this.mults.strength_exp_mult=e.strength_exp_mult),e.defense_exp_mult&&(this.mults.defense_exp_mult=e.defense_exp_mult),e.dexterity_exp_mult&&(this.mults.dexterity_exp_mult=e.dexterity_exp_mult),e.agility_exp_mult&&(this.mults.agility_exp_mult=e.agility_exp_mult),e.charisma_exp_mult&&(this.mults.charisma_exp_mult=e.charisma_exp_mult),e.hacking_chance_mult&&(this.mults.hacking_chance_mult=e.hacking_chance_mult),e.hacking_speed_mult&&(this.mults.hacking_speed_mult=e.hacking_speed_mult),e.hacking_money_mult&&(this.mults.hacking_money_mult=e.hacking_money_mult),e.hacking_grow_mult&&(this.mults.hacking_grow_mult=e.hacking_grow_mult),e.company_rep_mult&&(this.mults.company_rep_mult=e.company_rep_mult),e.faction_rep_mult&&(this.mults.faction_rep_mult=e.faction_rep_mult),e.crime_money_mult&&(this.mults.crime_money_mult=e.crime_money_mult),e.crime_success_mult&&(this.mults.crime_success_mult=e.crime_success_mult),e.work_money_mult&&(this.mults.work_money_mult=e.work_money_mult),e.hacknet_node_money_mult&&(this.mults.hacknet_node_money_mult=e.hacknet_node_money_mult),e.hacknet_node_purchase_cost_mult&&(this.mults.hacknet_node_purchase_cost_mult=e.hacknet_node_purchase_cost_mult),e.hacknet_node_ram_cost_mult&&(this.mults.hacknet_node_ram_cost_mult=e.hacknet_node_ram_cost_mult),e.hacknet_node_core_cost_mult&&(this.mults.hacknet_node_core_cost_mult=e.hacknet_node_core_cost_mult),e.hacknet_node_level_cost_mult&&(this.mults.hacknet_node_level_cost_mult=e.hacknet_node_level_cost_mult),e.bladeburner_max_stamina_mult&&(this.mults.bladeburner_max_stamina_mult=e.bladeburner_max_stamina_mult),e.bladeburner_stamina_gain_mult&&(this.mults.bladeburner_stamina_gain_mult=e.bladeburner_stamina_gain_mult),e.bladeburner_analysis_mult&&(this.mults.bladeburner_analysis_mult=e.bladeburner_analysis_mult),e.bladeburner_success_chance_mult&&(this.mults.bladeburner_success_chance_mult=e.bladeburner_success_chance_mult),void 0===e.stats?this.stats=function(e,t,a){const r=(e,t=0)=>e===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,"b",(function(){return u})),a.d(t,"a",(function(){return m}));var n=a(0),r=a.n(n),i=a(49),o=a(236),s=a(126);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 m}));var n=a(0),r=a.n(n),i=a(126),o=a(154),s=a(652),l=a(1174),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,"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:1,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,"bb",(function(){return Q})),a.d(t,"eb",(function(){return Z})),a.d(t,"fb",(function(){return ee})),a.d(t,"nb",(function(){return te})),a.d(t,"o",(function(){return ae})),a.d(t,"Lb",(function(){return ne})),a.d(t,"qb",(function(){return re})),a.d(t,"Z",(function(){return ie})),a.d(t,"tb",(function(){return oe})),a.d(t,"J",(function(){return se})),a.d(t,"db",(function(){return le})),a.d(t,"r",(function(){return ce})),a.d(t,"ob",(function(){return ue})),a.d(t,"H",(function(){return me})),a.d(t,"K",(function(){return he})),a.d(t,"F",(function(){return pe})),a.d(t,"G",(function(){return de})),a.d(t,"C",(function(){return fe})),a.d(t,"D",(function(){return ge})),a.d(t,"I",(function(){return ye})),a.d(t,"ib",(function(){return be})),a.d(t,"rb",(function(){return Ee})),a.d(t,"hb",(function(){return ke})),a.d(t,"Fb",(function(){return ve})),a.d(t,"gb",(function(){return _e})),a.d(t,"s",(function(){return we})),a.d(t,"Mb",(function(){return Se})),a.d(t,"A",(function(){return Ce})),a.d(t,"Gb",(function(){return xe})),a.d(t,"Ob",(function(){return Oe})),a.d(t,"B",(function(){return Me})),a.d(t,"Eb",(function(){return Te})),a.d(t,"Hb",(function(){return Re})),a.d(t,"Db",(function(){return Ae})),a.d(t,"Bb",(function(){return Pe})),a.d(t,"Ab",(function(){return Ne})),a.d(t,"Cb",(function(){return Ie})),a.d(t,"Nb",(function(){return Fe})),a.d(t,"z",(function(){return De})),a.d(t,"U",(function(){return je})),a.d(t,"T",(function(){return Be})),a.d(t,"W",(function(){return Ge})),a.d(t,"R",(function(){return Le})),a.d(t,"S",(function(){return We})),a.d(t,"P",(function(){return He})),a.d(t,"Q",(function(){return Ue})),a.d(t,"V",(function(){return qe})),a.d(t,"yb",(function(){return Ke})),a.d(t,"v",(function(){return ze})),a.d(t,"x",(function(){return $e})),a.d(t,"xb",(function(){return Ye})),a.d(t,"Ib",(function(){return Ve})),a.d(t,"w",(function(){return Je})),a.d(t,"zb",(function(){return Xe})),a.d(t,"u",(function(){return Qe})),a.d(t,"y",(function(){return Ze})),a.d(t,"vb",(function(){return et})),a.d(t,"Jb",(function(){return tt})),a.d(t,"pb",(function(){return at})),a.d(t,"ab",(function(){return nt})),a.d(t,"f",(function(){return rt})),a.d(t,"O",(function(){return it})),a.d(t,"kb",(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,"cb",(function(){return kt})),a.d(t,"lb",(function(){return vt})),a.d(t,"mb",(function(){return _t})),a.d(t,"t",(function(){return wt})),a.d(t,"sb",(function(){return St})),a.d(t,"jb",(function(){return Ct})),a.d(t,"E",(function(){return xt})),a.d(t,"Kb",(function(){return Ot})),a.d(t,"Y",(function(){return Mt})),a.d(t,"q",(function(){return Tt})),a.d(t,"X",(function(){return Rt})),a.d(t,"M",(function(){return At})),a.d(t,"L",(function(){return Pt})),a.d(t,"N",(function(){return Nt})),a.d(t,"ub",(function(){return It})),a.d(t,"p",(function(){return Ft})),a.d(t,"wb",(function(){return Dt}));var n=a(20),r=a(140),i=a(280),o=a(6),s=a(5),l=a(100),c=a(216),u=a(61),m=a(580),h=a(455),p=a(86),d=a(28),f=a(8),g=a(60),y=a(334),b=a(77),E=a(181),k=a(24),v=a(67),_=a(137),w=a(228),S=a(23),C=a(9),x=a(294),O=a(167),M=a(288),T=a(223),R=a(25),A=a(45),P=a(119),N=a(93),I=a(1122),F=a(1123),D=a(324),j=a(74),B=a(450),G=a(357),L=a(82),W=a(4),H=a(339),U=a(15),q=a(22),K=a(105),z=a(16),$=a(0),Y=a.n($),V=a(322),J=a(254),X=a(646);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,j.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()"):(j.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){this.resetWorkStatus(f.a.WorkTypeCompany,e),this.isWorking=!0,this.companyName=e,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}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=V.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=Y.a.createElement(Y.a.Fragment,null,"You earned a total of: ",Y.a.createElement("br",null),Y.a.createElement(z.a,{money:this.workMoneyGained}),Y.a.createElement("br",null),Y.a.createElement(K.a,{reputation:this.workRepGained})," reputation for the company ",Y.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",Y.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",Y.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",Y.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",Y.a.createElement("br",null));if(a=e?Y.a.createElement(Y.a.Fragment,null,"You worked a short shift of ",Object(q.b)(this.timeWorked)," ",Y.a.createElement("br",null),Y.a.createElement("br",null),"Since you cancelled your work early, you only gained half of the reputation you earned. ",Y.a.createElement("br",null),Y.a.createElement("br",null),a):Y.a.createElement(Y.a.Fragment,null,"You worked a full shift of 8 hours! ",Y.a.createElement("br",null),Y.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){this.resetWorkStatus(f.a.WorkTypeCompanyPartTime,e),this.isWorking=!0,this.companyName=e,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}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=Y.a.createElement(Y.a.Fragment,null,"You worked for ",Object(q.b)(this.timeWorked),Y.a.createElement("br",null),Y.a.createElement("br",null),"You earned a total of: ",Y.a.createElement("br",null),Y.a.createElement(z.a,{money:this.workMoneyGained}),Y.a.createElement("br",null),Y.a.createElement(K.a,{reputation:this.workRepGained})," reputation for the company ",Y.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",Y.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",Y.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",Y.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",Y.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){let t=1+e.favor/100;isNaN(t)&&(t=1),this.workRepGainRate*=t,this.workRepGainRate*=s.a.FactionWorkRepGain,this.isWorking=!0,this.workType=f.a.WorkTypeFaction,this.currentWorkFactionName=e.name,this.timeNeededToCompleteWork=f.a.MillisecondsPer20Hours}function Pe(e){this.resetWorkStatus(f.a.WorkTypeFaction,e.name,f.a.FactionWorkHacking),this.workHackExpGainRate=.15*this.hacking_exp_mult*s.a.FactionWorkExpGain,this.workRepGainRate=Object(T.c)(this,e),this.factionWorkType=f.a.FactionWorkHacking,this.currentWorkFactionDescription="carrying out hacking contracts",this.startFactionWork(e)}function Ne(e){this.resetWorkStatus(f.a.WorkTypeFaction,e.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,e),this.factionWorkType=f.a.FactionWorkField,this.currentWorkFactionDescription="carrying out field missions",this.startFactionWork(e)}function Ie(e){this.resetWorkStatus(f.a.WorkTypeFaction,e.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,e),this.factionWorkType=f.a.FactionWorkSecurity,this.currentWorkFactionDescription="performing security detail",this.startFactionWork(e)}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);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 De(e,t=!1){const a=k.a[this.currentWorkFactionName];if(a.playerReputation+=this.workRepGained,this.updateSkillLevels(),t||Object(U.a)(Y.a.createElement(Y.a.Fragment,null,"You worked for your faction ",a.name," for a total of ",Object(q.b)(this.timeWorked)," ",Y.a.createElement("br",null),Y.a.createElement("br",null),"You earned a total of: ",Y.a.createElement("br",null),Y.a.createElement(z.a,{money:this.workMoneyGained}),Y.a.createElement("br",null),Y.a.createElement(K.a,{reputation:this.workRepGained})," reputation for the faction ",Y.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",Y.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",Y.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",Y.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",Y.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 je(){let e=1;const t=u.a[this.companyName];j.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 Ye(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 Ve(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)(Y.a.createElement(Y.a.Fragment,null,"After ",this.className," for ",Object(q.b)(this.timeWorked),", ",Y.a.createElement("br",null),"you spent a total of ",Y.a.createElement(z.a,{money:-this.workMoneyGained}),". ",Y.a.createElement("br",null),Y.a.createElement("br",null),"You earned a total of: ",Y.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking exp ",Y.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense exp ",Y.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity exp ",Y.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility exp ",Y.a.createElement("br",null),W.a.formatExp(this.workChaExpGained)," charisma exp",Y.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("SUCCESS: 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)(Y.a.createElement(Y.a.Fragment,null,"Crime successful!",Y.a.createElement("br",null),Y.a.createElement("br",null),"You gained:",Y.a.createElement("br",null),Y.a.createElement(z.a,{money:this.workMoneyGained}),Y.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking experience ",Y.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength experience",Y.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense experience",Y.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity experience",Y.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility experience",Y.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("FAIL: 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)(Y.a.createElement(Y.a.Fragment,null,"Crime failed!",Y.a.createElement("br",null),Y.a.createElement("br",null),"You gained:",Y.a.createElement("br",null),W.a.formatExp(this.workHackExpGained)," hacking experience ",Y.a.createElement("br",null),W.a.formatExp(this.workStrExpGained)," strength experience",Y.a.createElement("br",null),W.a.formatExp(this.workDefExpGained)," defense experience",Y.a.createElement("br",null),W.a.formatExp(this.workDexExpGained)," dexterity experience",Y.a.createElement("br",null),W.a.formatExp(this.workAgiExpGained)," agility experience",Y.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.location),!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.location),!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.location),!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.location),!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 D=k.a["New Tokyo"];!D.isBanned&&!D.isMember&&!D.alreadyInvited&&this.money>=2e7&&this.city==S.a.NewTokyo&&e.push(D);const j=k.a.Aevum;!j.isBanned&&!j.isMember&&!j.alreadyInvited&&this.money>=4e7&&this.city==S.a.Aevum&&e.push(j);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 Y=0,V=0,J=0;for(let e=0;e=80&&Y>=8&&V>=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||j.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(){return 13===this.bitNodeN||j.a[13]>0}function Dt(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(489),r=a(5),i=a(763),o=a(286),s=a(21);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";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(115),o=a(129);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={Operations:"Operations",Engineer:"Engineer",Business:"Business",Management:"Management",RandD:"Research & Development",Training:"Training",Unassigned:"Unassigned"}},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(202),r=a(185),i=a(165),o=a(36),s=a(82),l=a(331),c=a(257),u=a(332),m=a(39),h=a(25),p=a(45),d=a(74);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)||t>=o.b.MaxServers?-1:(e.loseMoney(a,"hacknet_expenses"),e.createHacknetServer(),R(e),t)}{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 r})),a.d(t,"c",(function(){return i})),a.d(t,"b",(function(){return o}));var n=a(21);let r={"Slum Snakes":{power:1,territory:1/7},Tetrads:{power:1,territory:1/7},"The Syndicate":{power:1,territory:1/7},"The Dark Army":{power:1,territory:1/7},"Speakers for the Dead":{power:1,territory:1/7},NiteSec:{power:1,territory:1/7},"The Black Hand":{power:1,territory:1/7}};function i(){r={"Slum Snakes":{power:1,territory:1/7},Tetrads:{power:1,territory:1/7},"The Syndicate":{power:1,territory:1/7},"The Dark Army":{power:1,territory:1/7},"Speakers for the Dead":{power:1,territory:1/7},NiteSec:{power:1,territory:1/7},"The Black Hand":{power:1,territory:1/7}}}function o(e){r=JSON.parse(e,n.c)}},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(e,t,a){"use strict";let n;function r(e){switch(e){case n.HackingChance:return"+x% hack() success chance";case n.HackingSpeed:return"+x% faster hack(), grow(), and weaken()";case n.HackingMoney:return"+x% hack() power";case n.HackingGrow:return"+x% grow() power";case n.Hacking:return"+x% hacking skill";case n.Strength:return"+x% strength skill";case n.Defense:return"+x% defense skill";case n.Dexterity:return"+x% dexterity skill";case n.Agility:return"+x% agility skill";case n.Charisma:return"+x% charisma skill";case n.HacknetMoney:return"+x% hacknet production";case n.HacknetCost:return"-x% all hacknet cost";case n.Rep:return"+x% reputation from factions and companies";case n.WorkMoney:return"+x% work money";case n.Crime:return"+x% crime money";case n.Bladeburner:return"+x% all bladeburner stats"}throw new Error("Calling effect for fragment type that doesn't have an effect "+e)}a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return r})),function(e){e[e.None=0]="None",e[e.Delete=1]="Delete",e[e.HackingChance=2]="HackingChance",e[e.HackingSpeed=3]="HackingSpeed",e[e.HackingMoney=4]="HackingMoney",e[e.HackingGrow=5]="HackingGrow",e[e.Hacking=6]="Hacking",e[e.Strength=7]="Strength",e[e.Defense=8]="Defense",e[e.Dexterity=9]="Dexterity",e[e.Agility=10]="Agility",e[e.Charisma=11]="Charisma",e[e.HacknetMoney=12]="HacknetMoney",e[e.HacknetCost=13]="HacknetCost",e[e.Rep=14]="Rep",e[e.WorkMoney=15]="WorkMoney",e[e.Crime=16]="Crime",e[e.Bladeburner=17]="Bladeburner",e[e.Booster=18]="Booster"}(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__(51),_Industry__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(797),_data_Constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(42),_OfficeSpace__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(335),_Product__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(359),_Warehouse__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(220),_Locations_Cities__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(137),_EmployeePositions__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(52),_IndustryUpgrades__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(336),_ResearchMap__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(289);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 r}));var n=a(9);const r={};r[n.a.AevumECorp]="ECP",r[n.a.Sector12MegaCorp]="MGCP",r[n.a.Sector12BladeIndustries]="BLD",r[n.a.AevumClarkeIncorporated]="CLRK",r[n.a.VolhavenOmniTekIncorporated]="OMTK",r[n.a.Sector12FourSigma]="FSIG",r[n.a.ChongqingKuaiGongInternational]="KGI",r[n.a.AevumFulcrumTechnologies]="FLCM",r[n.a.IshimaStormTechnologies]="STM",r[n.a.NewTokyoDefComm]="DCOMM",r[n.a.VolhavenHeliosLabs]="HLS",r[n.a.NewTokyoVitaLife]="VITA",r[n.a.Sector12IcarusMicrosystems]="ICRS",r[n.a.Sector12UniversalEnergy]="UNV",r[n.a.AevumAeroCorp]="AERO",r[n.a.VolhavenOmniaCybersystems]="OMN",r[n.a.ChongqingSolarisSpaceSystems]="SLRS",r[n.a.NewTokyoGlobalPharmaceuticals]="GPH",r[n.a.IshimaNovaMedical]="NVMD",r[n.a.AevumWatchdogSecurity]="WDS",r[n.a.VolhavenLexoCorp]="LXO",r[n.a.AevumRhoConstruction]="RHOC",r[n.a.Sector12AlphaEnterprises]="APHE",r[n.a.VolhavenSysCoreSecurities]="SYSC",r[n.a.VolhavenCompuTek]="CTK",r[n.a.AevumNetLinkTechnologies]="NTLK",r[n.a.IshimaOmegaSoftware]="OMGA",r[n.a.Sector12FoodNStuff]="FNS",r["Sigma Cosmetics"]="SGC",r["Joes Guns"]="JGN",r["Catalyst Ventures"]="CTYS",r["Microdyne Technologies"]="MDYN",r["Titan Laboratories"]="TITN"},function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"e",(function(){return s})),a.d(t,"d",(function(){return l})),a.d(t,"a",(function(){return c})),a.d(t,"f",(function(){return u}));var n=a(5),r=a(288);function i(e,t){const a=(100-e.hackDifficulty)/100,n=1.75*t.hacking,i=(n-e.requiredHackingSkill)/n*a*t.hacking_chance_mult*Object(r.a)(t.intelligence,1);return i>1?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";a.d(t,"a",(function(){return n}));const n=new(a(695).a)},,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 n}));const n={Home:"home",FulcrumSecretTechnologies:"fulcrumassets",CyberSecServer:"CSEC",NiteSecServer:"avmnite-02h",TheBlackHandServer:"I.I.I.I",BitRunnersServer:"run4theh111z",TheDarkArmyServer:".",DaedalusServer:"The-Cave",WorldDaemon:"w0r1d_d43m0n",DarkWeb:"darkweb"}},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,t,a){const n=h(e,a);if(null===n)return e;{let e=r(n);const a=function(e){const t=e,a=t.lastIndexOf("/");if(-1===a)return t;return t.slice(a+1)}(t);return e+"/"+a}}function m(e){return!!s(e)&&(null!=e&&0!==e.length&&e.lastIndexOf("/")<=0)}function h(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 p(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 d(e,t){return e.startsWith("/")||(e="/"+e),t.startsWith("/")||(t="/"+t),e===t}a.d(t,"j",(function(){return n})),a.d(t,"k",(function(){return r})),a.d(t,"h",(function(){return o})),a.d(t,"i",(function(){return s})),a.d(t,"f",(function(){return l})),a.d(t,"d",(function(){return c})),a.d(t,"e",(function(){return u})),a.d(t,"g",(function(){return m})),a.d(t,"b",(function(){return h})),a.d(t,"c",(function(){return p})),a.d(t,"a",(function(){return d}))},,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(622),r=a(299),i=a(136),o=a(561),s=a(784),l=a(101),c=a(68),u=a(88),m=a(8),h=a(118),p=a(4),d=a(15),f=a(21);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("stock.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("stock.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(4),i=a(126),o=a(154);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";a.d(t,"c",(function(){return s})),a.d(t,"b",(function(){return l})),a.d(t,"d",(function(){return c})),a.d(t,"a",(function(){return u}));var n=a(122),r=a(25),i=a(244),o=a(358);function s(e,t){return new Promise((function(a){t.delay=window.setTimeout(()=>{t.delay=null,a()},e),t.delayResolve=a}))}function l(e,t){t instanceof i.a&&console.error("HERE");const a=Object(r.d)(e.hostname);if(null==a)throw new Error("WorkerScript constructed with invalid server ip: "+e.hostname);for(const e in o.a)t=t.replace(new RegExp(e,"g"),o.a[e]);return"|DELIMITER|"+a.hostname+"|DELIMITER|"+e.name+"|DELIMITER|"+t}function c(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 l(e,`Invalid thread count passed to ${t}: ${a}. Threads must be a positive number.`);if(a>n)throw l(e,`Too many threads requested by ${t}. Requested: ${a}. Has: ${n}.`);return r}function u(e){if(!Object(n.a)(e))return!1;return 4==e.split("|DELIMITER|").length}},function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"a",(function(){return o}));var n=a(21),r=a(623);let i=new r.a;function o(e){i=e?JSON.parse(e,n.c):new r.a}},,,,,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(280),i=a(6),o=a(5),s=a(8),l=a(181),c=a(24),u=a(2),m=a(13),h=a(223),p=a(74),d=a(15),f=a(506);function g(e){u.a.receiveInvite(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.keys(n).includes(e)),[...new Set(e)]}},function(e,t,a){"use strict";a.d(t,"b",(function(){return fe})),a.d(t,"a",(function(){return ge}));var n=a(0),r=a.n(n),i=a(140),o=a(183),s=a(337),l=a(9),c=a(228),u=a(39),m=a(813),h=a(333),p=a(310),d=a(15),f=a(25),g=a(24),y=a(224),b=a(96),E=a(126),k=a(154),v=a(32),_=a(1),w=a(26),S=a(816),C=a(819),x=a(840),O=a(848),M=a(867),T=a(899),R=a(914),A=a(950),P=a(964),N=a(967),I=a(968),F=a(1007),D=a(1016),j=a(635),B=a(1047),G=a(360),L=a(545),W=a(1065),H=a(1066),U=a(1071),q=a(1072),K=a(361),z=a(1085),$=a(1095),Y=a(544),V=a(1097),J=a(1106),X=a(1109),Q=a(107),Z=a(1114),ee=a(1118),te=a(163),ae=a(1119),ne=a(254),re=a(182),ie=a(356),oe=a(513),se=a(506),le=a(268),ce=a(29),ue=a(459);const me=location,he=Object(E.a)(e=>Object(k.a)({root:{"-ms-overflow-style":"none","scrollbar-width":"none",margin:e.spacing(0)}}));let pe="",de="",fe={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")},toStaneksGift:()=>{throw new Error("Router called before initialization")}};function ge({player:e,engine:t,terminal:a}){const E=he(),[k,ge]=Object(n.useState)(function(e){return ue.b?w.a.Recovery:e.isWorking?w.a.Work:w.a.Terminal}(e)),ye=Object(n.useState)(0)[1],[be,Ee]=Object(n.useState)(e.currentWorkFactionName?g.a[e.currentWorkFactionName]:void 0);if(void 0===be&&k===w.a.Faction)throw new Error("Trying to go to a page without the proper setup");const[ke,ve]=Object(n.useState)(!1),[_e,we]=Object(n.useState)(!1),[Se,Ce]=Object(n.useState)(void 0);if(void 0===Se&&(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[xe,Oe]=Object(n.useState)("");function Me(){ye(e=>e+1)}function Te(){for(const e of Object(f.c)())e.runningScripts=[];o.c.saveGame(),setTimeout(()=>me.reload(),2e3)}return Object(n.useEffect)(()=>h.a.subscribe(Me),[]),fe={page:()=>k,toActiveScripts:()=>ge(w.a.ActiveScripts),toAugmentations:()=>ge(w.a.Augmentations),toBladeburner:()=>ge(w.a.Bladeburner),toStats:()=>ge(w.a.Stats),toCorporation:()=>ge(w.a.Corporation),toCreateProgram:()=>ge(w.a.CreateProgram),toDevMenu:()=>ge(w.a.DevMenu),toFaction:e=>{ge(w.a.Faction),e&&Ee(e)},toFactions:()=>ge(w.a.Factions),toGameOptions:()=>ge(w.a.Options),toGang:()=>ge(w.a.Gang),toHacknetNodes:()=>ge(w.a.Hacknet),toMilestones:()=>ge(w.a.Milestones),toResleeves:()=>ge(w.a.Resleeves),toScriptEditor:(e,t)=>{pe=e,de=t,ge(w.a.ScriptEditor)},toSleeves:()=>ge(w.a.Sleeves),toStockMarket:()=>ge(w.a.StockMarket),toTerminal:()=>ge(w.a.Terminal),toTutorial:()=>ge(w.a.Tutorial),toJob:()=>{Ce(c.a[e.companyName]),ge(w.a.Job)},toCity:()=>{ge(w.a.City)},toTravel:()=>{e.gotoLocation(l.a.TravelAgency),ge(w.a.Travel)},toBitVerse:(e,t)=>{ve(e),we(t),ge(w.a.BitVerse)},toInfiltration:e=>{Ce(e),ge(w.a.Infiltration)},toWork:()=>ge(w.a.Work),toBladeburnerCinematic:()=>{ge(w.a.BladeburnerCinematic),Oe(xe)},toLocation:e=>{Ce(e),ge(w.a.Location)},toStaneksGift:()=>{ge(w.a.StaneksGift)}},Object(n.useEffect)(()=>{pe="",de="",k!==w.a.Terminal&&window.scrollTo(0,0)}),r.a.createElement(ce.a.Player.Provider,{value:e},r.a.createElement(ce.a.Router.Provider,{value:fe},r.a.createElement(ne.c,null,r.a.createElement(S.a,null,u.a.isRunning?r.a.createElement(m.a,null):r.a.createElement(Z.a,{save:()=>o.c.saveGame(),killScripts:Te})),k===w.a.Recovery?r.a.createElement(ue.c,{router:fe}):k===w.a.BitVerse?r.a.createElement(J.a,{flume:ke,enter:le.a,quick:_e}):k===w.a.Infiltration?r.a.createElement(A.a,{location:Se}):k===w.a.BladeburnerCinematic?r.a.createElement(ee.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:fe,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:fe,player:e}):k===w.a.Sleeves?r.a.createElement(F.a,null):k===w.a.StaneksGift?r.a.createElement(X.a,{staneksGift:Q.b}):k===w.a.Stats?r.a.createElement($.a,null):k===w.a.ScriptEditor?r.a.createElement(L.a,{filename:pe,code:de,hostname:e.getCurrentServer().hostname,player:e,router:fe}):k===w.a.ActiveScripts?r.a.createElement(q.a,{workerScripts:te.a}):k===w.a.Hacknet?r.a.createElement(D.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:fe}):k===w.a.Faction?r.a.createElement(z.a,{faction:be}):k===w.a.Milestones?r.a.createElement(W.a,{player:e}):k===w.a.Tutorial?r.a.createElement(U.a,{reactivateTutorial:()=>{Object(p.a)(),fe.toTerminal(),Object(u.e)()}}):k===w.a.DevMenu?r.a.createElement(O.a,{player:e,engine:t,router:fe}):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(Y.a,{p:e,router:fe}):k===w.a.StockMarket?r.a.createElement(V.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(j.a,{loc:Se}):k===w.a.Options?r.a.createElement(I.a,{player:e,save:()=>o.c.saveGame(),export:()=>o.c.exportGame(),forceKill:Te,softReset:()=>{Object(d.a)("Soft Reset!"),Object(p.a)(),fe.toTerminal()}}):k===w.a.Augmentations?r.a.createElement(x.a,{exportGameFn:()=>{o.c.exportGame(),Object(s.c)(e)},installAugmentationsFn:()=>{Object(i.d)(),fe.toTerminal()}}):r.a.createElement(r.a.Fragment,null,r.a.createElement(_.a,null,"Cannot load")))),r.a.createElement(ae.a,null),r.a.createElement(re.c,null),r.a.createElement(ie.b,null),r.a.createElement(oe.b,null),r.a.createElement(se.b,null),r.a.createElement(ne.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(289),r=a(560);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";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,"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(25),r=a(45),i=a(512),o=a(5),s=a(8),l=a(60),c=a(59),u=a(621);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={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";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(40),o=a(169),s=a(236),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(315),r=a(21);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,"a",(function(){return l}));var n=a(0),r=a(4),i=a(126),o=a(154);const s=Object(i.a)(e=>Object(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";a.d(t,"a",(function(){return h}));var n=a(244),r=a(163),i=a(265),o=a(325),s=a(25),l=a(287),c=a(15),u=a(510),m=a(2);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;tu("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 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(21),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,"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(34),r=a(20),i=a(280),o=a(6),s=a(5),l=a(8),c=a(24),u=a(2),m=a(310),h=a(60),p=a(74),d=a(15),f=a(1121),g=a(329),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 D=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});D.addToFactions(["Silhouette"]),S(o.a.TITN41Injection)&&delete r.a[o.a.TITN41Injection],E(D);const j=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});j.addToFactions(["Bachman & Associates","NWO","Clarke Incorporated","OmniTek Incorporated","Four Sigma"]),S(o.a.EnhancedSocialInteractionImplant)&&delete r.a[o.a.EnhancedSocialInteractionImplant],E(j);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 Y=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});Y.addToFactions(["ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Daedalus","The Covenant","Illuminati"]),S(o.a.ENMCoreV3)&&delete r.a[o.a.ENMCoreV3],E(Y);const V=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});V.addToFactions(["ECorp","MegaCorp","Fulcrum Secret Technologies","NWO","Daedalus","The Covenant","Illuminati"]),S(o.a.ENMAnalyzeEngine)&&delete r.a[o.a.ENMAnalyzeEngine],E(V);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";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(90);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 e.env.vars.stanek.charge=a("stanek.prop",e.env.vars.stanek.charge),new Promise((t,a)=>{Object(h.c)(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;if(t instanceof r.a)throw t;throw e.errorMessage=Object(u.b)(e,t),e})}(g);else if(y=A(g),!(y instanceof Promise))return!1;return y.then((function(t){t.running=!1,t.env.stopFlag=!0,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")}}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`Invalid arguments: scriptname='${a} args='${n}'`),console.error("runScriptFromScript() failed due to invalid arguments"),0;n.forEach((e,t)=>{if("string"!=typeof e&&"number"!=typeof e&&"boolean"!=typeof e)throw new Error(`Only strings, numbers, and booleans can be passed as arguments to other scripts.\n${a} argument index ${t} is of type ${typeof e} and value ${JSON.stringify(e)}`)});if(null!=t.getRunningScript(a,n))return i.log(e,()=>`'${a}' is already running on '${t.hostname}'`),0;for(let t=0;t"Cannot execute a script with null/undefined as an argument"),0;for(let r=0;r`You do not have root access on '${t.hostname}'`),0;if(l>c)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,r.server=t.hostname,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 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(27);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 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(5),r=a(36);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,t=1){return Math.max(Math.floor(t*(32*Math.log(e+534.5)-200)),1)}function r(e,t=1){return Math.exp((e/t+200)/32)-534.6}a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return r}))},,,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(21);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!e)}return Object(n.useEffect)(()=>_.subscribe(e=>{const a=e.server+"-"+e.filename+e.args.map(e=>""+e).join("-");S.find(e=>e.id===a)||(S.push({id:a,script:e}),t())}),[]),Object(n.useEffect)(()=>w.subscribe(()=>{S=[],t()})),r.a.createElement(r.a.Fragment,null,S.map(e=>r.a.createElement(O,{key:e.id,script:e.script,id:e.id,onClose:()=>{return a=e.id,S=S.filter(e=>e.id!==a),void t();var a}})))}const x=Object(d.a)(e=>Object(f.a)({logs:{overflowY:"scroll",overflowX:"hidden",scrollbarWidth:"auto",display:"flex",flexDirection:"column-reverse"},success:{color:e.colors.success},error:{color:e.palette.error.main},primary:{color:e.palette.primary.main},info:{color:e.palette.info.main},warning:{color:e.palette.warning.main}}));function O(e){const t=x(),a=Object(n.useRef)(null),i=Object(n.useState)(!1)[1];function m(){i(e=>!e)}function d(){const e=a.current;null!==e&&(e.style.zIndex=1500+v+"",v++,m())}return Object(n.useEffect)(()=>{d();const e=setInterval(m,1e3);return()=>clearInterval(e)},[]),r.a.createElement(h.a,{handle:".drag"},r.a.createElement(u.a,{style:{display:"flex",flexFlow:"column",position:"fixed",left:"40%",top:"30%",zIndex:1400},ref:a},r.a.createElement("div",{onMouseDown:d},r.a.createElement(u.a,{style:{cursor:"grab"}},r.a.createElement(l.a,{className:"drag",display:"flex",alignItems:"center"},r.a.createElement(s.a,{color:"primary",variant:"h6"},function(){const t=`${e.script.filename} ${e.script.args.map(e=>""+e).join(" ")}`;return t.length<=30?t:t.slice(0,27)+"..."}()),r.a.createElement(l.a,{position:"absolute",right:0},!b.a.has(e.script.pid)&&r.a.createElement(c.a,{onClick:function(){const t=Object(k.d)(e.script.server);null!==t&&Object(E.e)(e.script,t)}},"Run"),b.a.has(e.script.pid)&&r.a.createElement(c.a,{onClick:function(){Object(o.a)(e.script,e.script.server,!0)}},"Kill"),r.a.createElement(c.a,{onClick:e.onClose},"Close")))),r.a.createElement(u.a,{sx:{overflow:"scroll",overflowWrap:"break-word",whiteSpace:"pre-wrap"}},r.a.createElement(p.ResizableBox,{className:t.logs,height:500,width:500,handle:r.a.createElement("span",{style:{position:"absolute",right:"-10px",bottom:"-13px",cursor:"nw-resize"}},r.a.createElement(y.a,{color:"primary",style:{transform:"rotate(45deg)"}}))},r.a.createElement(l.a,null,e.script.logs.map((e,a)=>{return r.a.createElement(s.a,{key:a,className:(n=e,n.match(/(^\[[^\]]+\] )?ERROR/)||n.match(/(^\[[^\]]+\] )?FAIL/)?t.error:n.match(/(^\[[^\]]+\] )?SUCCESS/)?t.success:n.match(/(^\[[^\]]+\] )?WARN/)?t.warning:n.match(/(^\[[^\]]+\] )?INFO/)?t.info:t.primary)},e,r.a.createElement("br",null));var n})))))))}},function(e,t,a){"use strict";a.d(t,"c",(function(){return M})),a.d(t,"b",(function(){return C})),a.d(t,"a",(function(){return O}));var n=a(141),r=a(61),i=a(8),o=a(24),s=a(67),l=a(243),c=a(2),u=a(25),m=a(13),h=a(74),p=a(96),d=a(107),f=a(254),g=a(337),y=a(15),b=a(21),E=a(311),k=a(811),v=a(6),_=a(280);function w(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(){w(this,"PlayerSave",""),w(this,"AllServersSave",""),w(this,"CompaniesSave",""),w(this,"FactionsSave",""),w(this,"AliasesSave",""),w(this,"GlobalAliasesSave",""),w(this,"MessagesSave",""),w(this,"StockMarketSave",""),w(this,"SettingsSave",""),w(this,"VersionSave",""),w(this,"AllGangsSave",""),w(this,"LastExportBonus",""),w(this,"StaneksGiftSave","")}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(g.a),this.StaneksGiftSave=JSON.stringify(d.b),c.a.inGang()&&(this.AllGangsSave=JSON.stringify(s.a));return btoa(unescape(encodeURIComponent(JSON.stringify(this))))}saveGame(){const e=this.getSaveString();Object(E.c)(e).then(()=>f.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;O(`bitburnerSave_${t}_BN${a}x${h.a[a]}.json`,e)}toJSON(){return Object(b.b)("BitburnerSaveObject",this)}static fromJSON(e){return Object(b.a)(S,e.data)}}function C(e){if(!e)return!1;e=decodeURIComponent(escape(atob(e)));const t=JSON.parse(e,b.c);if(Object(c.b)(t.PlayerSave),Object(u.h)(t.AllServersSave),Object(r.c)(t.CompaniesSave),Object(o.d)(t.FactionsSave),t.hasOwnProperty("StaneksGiftSave")?Object(d.a)(t.StaneksGiftSave):(console.warn("Could not load Staneks Gift from save"),Object(d.a)("")),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{g.d(JSON.parse(t.LastExportBonus))}catch(e){g.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,b.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===v.a.NeuroFluxGovernor);if(e)e.level+=10;else{const e=new _.a(v.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&&x()}catch(e){x()}else x();return!0}function x(){setTimeout(()=>Object(y.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 O(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)}}b.c.constructors.BitburnerSaveObject=S;const M=new S},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(5),r=a(36);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;e1e10;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}));const n=!1,r=!0,i={O:[[r,r],[r,r]],I:[[r,r,r,r]],L:[[n,n,r],[r,r,r]],J:[[r,n,n],[r,r,r]],S:[[n,r,r],[r,r,n]],Z:[[r,r,n],[n,r,r]],T:[[r,r,r],[n,r,n]]}},,,,,,,,,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a(0),r=a.n(n);function i(e){return Object(n.useEffect)(()=>{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(1319),r=a(0),i=a.n(r),o=a(1317),s=a(46);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,"a",(function(){return c}));var n=a(8),r=a(185),i=a(36),o=a(15),s=a(21);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{constructor(e="",t=1){l(this,"cores",1),l(this,"level",1),l(this,"moneyGainRatePerSecond",0),l(this,"onlineTimeSeconds",0),l(this,"ram",1),l(this,"totalMoneyGenerated",0),this.name=e,this.updateMoneyGainRate(t)}calculateCoreUpgradeCost(e=1,t){return Object(r.a)(this.cores,e,t)}calculateLevelUpgradeCost(e=1,t){return Object(r.b)(this.level,e,t)}calculateRamUpgradeCost(e=1,t){return Object(r.e)(this.ram,e,t)}process(e=1){const t=e*n.a.MilliPerCycle/1e3;let a=this.moneyGainRatePerSecond*t;return isNaN(a)&&(console.error(`Hacknet Node ${this.name} calculated earnings of NaN`),a=0),this.totalMoneyGenerated+=a,this.onlineTimeSeconds+=t,a}upgradeCore(e=1,t){this.cores=Math.min(i.a.MaxCores,Math.round(this.cores+e)),this.updateMoneyGainRate(t)}upgradeLevel(e=1,t){this.level=Math.min(i.a.MaxLevel,Math.round(this.level+e)),this.updateMoneyGainRate(t)}upgradeRam(e=1,t){for(let t=0;t{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(136),r=a(68),i=a(8);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(5),r=a(23),i=a(8),o=a(167),s=a(288);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(5);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(i.a.StaneksGiftExtraSize=0,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.StaneksGiftPowerMultiplier=2,i.a.StaneksGiftExtraSize=-6,i.a.PurchasedServerSoftcap=1.3,i.a.CorporationSoftCap=.9,i.a.WorldDaemonDifficulty=5;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.StaneksGiftPowerMultiplier=.75,i.a.StaneksGiftExtraSize=-2,i.a.PurchasedServerSoftcap=1.3,i.a.GangSoftcap=.9,i.a.WorldDaemonDifficulty=2;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.StaneksGiftPowerMultiplier=1.5,i.a.StaneksGiftExtraSize=0,i.a.PurchasedServerSoftcap=1.2,i.a.WorldDaemonDifficulty=3;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.StaneksGiftPowerMultiplier=1.3,i.a.StaneksGiftExtraSize=0,i.a.PurchasedServerSoftcap=1.2,i.a.WorldDaemonDifficulty=1.5;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.StaneksGiftPowerMultiplier=.5,i.a.StaneksGiftExtraSize=2,i.a.GangSoftcap=.7,i.a.CorporationSoftCap=.9,i.a.WorldDaemonDifficulty=2;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.StaneksGiftPowerMultiplier=.9,i.a.StaneksGiftExtraSize=-1,i.a.GangSoftcap=.7,i.a.CorporationSoftCap=.9,i.a.WorldDaemonDifficulty=2;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.StaneksGiftExtraSize=-7,i.a.PurchasedServerSoftcap=4,i.a.GangSoftcap=0,i.a.CorporationSoftCap=0;break;case 9:i.a.HackingLevelMultiplier=.5,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.StaneksGiftPowerMultiplier=.5,i.a.StaneksGiftExtraSize=2,i.a.GangSoftcap=.8,i.a.CorporationSoftCap=.9,i.a.WorldDaemonDifficulty=2;break;case 10:i.a.HackingLevelMultiplier=.35,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.StaneksGiftPowerMultiplier=.75,i.a.StaneksGiftExtraSize=-3,i.a.PurchasedServerSoftcap=1.1,i.a.GangSoftcap=.9,i.a.CorporationSoftCap=.9,i.a.WorldDaemonDifficulty=2;break;case 11:i.a.HackingLevelMultiplier=.6,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,i.a.WorldDaemonDifficulty=1.5;break;case 12:{let t=0;for(let a=0;a