back-testing-react 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -120,4 +120,4 @@ function Zr(e,t){const r=yr(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
120
120
|
animation-delay: 200ms;
|
|
121
121
|
}
|
|
122
122
|
`,ta=r.forwardRef((function(t,i){const n=gs({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:a,...l}=n,[c,u]=r.useState([]),h=r.useRef(0),d=r.useRef(null);r.useEffect((()=>{d.current&&(d.current(),d.current=null)}),[c]);const p=r.useRef(!1),f=fo(),m=r.useRef(null),_=r.useRef(null),g=r.useCallback((t=>{const{pulsate:r,rippleX:i,rippleY:n,rippleSize:o,cb:a}=t;u((t=>[...t,e(ea,{classes:{ripple:dn(s.ripple,Xs.ripple),rippleVisible:dn(s.rippleVisible,Xs.rippleVisible),ripplePulsate:dn(s.ripplePulsate,Xs.ripplePulsate),child:dn(s.child,Xs.child),childLeaving:dn(s.childLeaving,Xs.childLeaving),childPulsate:dn(s.childPulsate,Xs.childPulsate)},timeout:550,pulsate:r,rippleX:i,rippleY:n,rippleSize:o},h.current)])),h.current+=1,d.current=a}),[s]),y=r.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:i=!1,center:n=o||t.pulsate,fakeElement:s=!1}=t;if("mousedown"===e?.type&&p.current)return void(p.current=!1);"touchstart"===e?.type&&(p.current=!0);const a=s?null:_.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,h;if(n||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(n)h=Math.sqrt((2*l.width**2+l.height**2)/3),h%2==0&&(h+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;h=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{g({pulsate:i,rippleX:c,rippleY:u,rippleSize:h,cb:r})},f.start(80,(()=>{m.current&&(m.current(),m.current=null)}))):g({pulsate:i,rippleX:c,rippleY:u,rippleSize:h,cb:r})}),[o,g,f]),x=r.useCallback((()=>{y({},{pulsate:!0})}),[y]),v=r.useCallback(((e,t)=>{if(f.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void f.start(0,(()=>{v(e,t)}));m.current=null,u((e=>e.length>0?e.slice(1):e)),d.current=t}),[f]);return r.useImperativeHandle(i,(()=>({pulsate:x,start:y,stop:v})),[x,y,v]),e(Qs,{className:dn(Xs.root,s.root,a),ref:_,...l,children:e(Us,{component:null,exit:!0,children:c})})}));function ra(e){return fn("MuiButtonBase",e)}"production"!==process.env.NODE_ENV&&(ta.propTypes={center:Wr.bool,classes:Wr.object,className:Wr.string});const ia=mn("MuiButtonBase",["root","disabled","focusVisible"]),na=ms("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${ia.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),oa=r.forwardRef((function(i,n){const o=gs({props:i,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:c,component:u="button",disabled:h=!1,disableRipple:d=!1,disableTouchRipple:p=!1,focusRipple:f=!1,focusVisibleClassName:m,LinkComponent:_="a",onBlur:g,onClick:y,onContextMenu:x,onDragLeave:v,onFocus:b,onFocusVisible:w,onKeyDown:T,onKeyUp:S,onMouseDown:E,onMouseLeave:M,onMouseUp:A,onTouchEnd:C,onTouchMove:I,onTouchStart:P,tabIndex:R=0,TouchRippleProps:z,touchRippleRef:D,type:L,...k}=o,O=r.useRef(null),B=Ws.use(),F=lo(B.ref,D),[N,V]=r.useState(!1);h&&N&&V(!1),r.useImperativeHandle(s,(()=>({focusVisible:()=>{V(!0),O.current.focus()}})),[]);const j=B.shouldMount&&!d&&!h;function U(e,t,r=p){return ao((i=>{t&&t(i);return r||B[e](i),!0}))}r.useEffect((()=>{N&&f&&!d&&B.pulsate()}),[d,f,N,B]);const $=U("start",E),G=U("stop",x),q=U("stop",v),H=U("stop",A),W=U("stop",(e=>{N&&e.preventDefault(),M&&M(e)})),Z=U("start",P),X=U("stop",C),Y=U("stop",I),J=U("stop",(e=>{mo(e.target)||V(!1),g&&g(e)}),!1),K=ao((e=>{O.current||(O.current=e.currentTarget),mo(e.target)&&(V(!0),w&&w(e)),b&&b(e)})),Q=()=>{const e=O.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},ee=ao((e=>{f&&!e.repeat&&N&&" "===e.key&&B.stop(e,(()=>{B.start(e)})),e.target===e.currentTarget&&Q()&&" "===e.key&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&Q()&&"Enter"===e.key&&!h&&(e.preventDefault(),y&&y(e))})),te=ao((e=>{f&&" "===e.key&&N&&!e.defaultPrevented&&B.stop(e,(()=>{B.pulsate(e)})),S&&S(e),y&&e.target===e.currentTarget&&Q()&&" "===e.key&&!e.defaultPrevented&&y(e)}));let re=u;"button"===re&&(k.href||k.to)&&(re=_);const ie={};"button"===re?(ie.type=void 0===L?"button":L,ie.disabled=h):(k.href||k.to||(ie.role="button"),h&&(ie["aria-disabled"]=h));const ne=lo(n,O),oe={...o,centerRipple:a,component:u,disabled:h,disableRipple:d,disableTouchRipple:p,focusRipple:f,tabIndex:R,focusVisible:N},se=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:i,classes:n}=e,o=vo({root:["root",t&&"disabled",r&&"focusVisible"]},ra,n);return r&&i&&(o.root+=` ${i}`),o})(oe);return t(na,{as:re,className:dn(se.root,c),ownerState:oe,onBlur:J,onClick:y,onContextMenu:G,onFocus:K,onKeyDown:ee,onKeyUp:te,onMouseDown:$,onMouseLeave:W,onMouseUp:H,onDragLeave:q,onTouchEnd:X,onTouchMove:Y,onTouchStart:Z,ref:ne,tabIndex:h?-1:R,type:L,...ie,...k,children:[l,j?e(ta,{ref:F,center:a,...z}):null]})}));function sa(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}function aa(e){return fn("MuiTypography",e)}"production"!==process.env.NODE_ENV&&(oa.propTypes={action:to,centerRipple:Wr.bool,children:Wr.node,classes:Wr.object,className:Wr.string,component:Kn,disabled:Wr.bool,disableRipple:Wr.bool,disableTouchRipple:Wr.bool,focusRipple:Wr.bool,focusVisibleClassName:Wr.string,href:Wr.any,LinkComponent:Wr.elementType,onBlur:Wr.func,onClick:Wr.func,onContextMenu:Wr.func,onDragLeave:Wr.func,onFocus:Wr.func,onFocusVisible:Wr.func,onKeyDown:Wr.func,onKeyUp:Wr.func,onMouseDown:Wr.func,onMouseLeave:Wr.func,onMouseUp:Wr.func,onTouchEnd:Wr.func,onTouchMove:Wr.func,onTouchStart:Wr.func,sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object]),tabIndex:Wr.number,TouchRippleProps:Wr.object,touchRippleRef:Wr.oneOfType([Wr.func,Wr.shape({current:Wr.shape({pulsate:Wr.func.isRequired,start:Wr.func.isRequired,stop:Wr.func.isRequired})})]),type:Wr.oneOfType([Wr.oneOf(["button","reset","submit"]),Wr.string])}),mn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const la={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},ca=ln,ua=ms("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${li(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(_s((({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter((([e,t])=>"inherit"!==e&&t&&"object"==typeof t)).map((([e,t])=>({props:{variant:e},style:t}))),...Object.entries(e.palette).filter(sa()).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette?.text||{}).filter((([,e])=>"string"==typeof e)).map((([t])=>({props:{color:`text${li(t)}`},style:{color:(e.vars||e).palette.text[t]}}))),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]})))),ha={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},da=r.forwardRef((function(t,r){const{color:i,...n}=gs({props:t,name:"MuiTypography"}),o=ca({...n,...!la[i]&&{color:i}}),{align:s="inherit",className:a,component:l,gutterBottom:c=!1,noWrap:u=!1,paragraph:h=!1,variant:d="body1",variantMapping:p=ha,...f}=o,m={...o,align:s,color:i,className:a,component:l,gutterBottom:c,noWrap:u,paragraph:h,variant:d,variantMapping:p},_=l||(h?"p":p[d]||ha[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:i,paragraph:n,variant:o,classes:s}=e;return vo({root:["root",o,"inherit"!==e.align&&`align${li(t)}`,r&&"gutterBottom",i&&"noWrap",n&&"paragraph"]},aa,s)})(m);return e(ua,{as:_,ref:r,className:dn(g.root,a),...f,ownerState:m,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...f.style}})}));"production"!==process.env.NODE_ENV&&(da.propTypes={align:Wr.oneOf(["center","inherit","justify","left","right"]),children:Wr.node,classes:Wr.object,className:Wr.string,color:Wr.oneOfType([Wr.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),Wr.string]),component:Wr.elementType,gutterBottom:Wr.bool,noWrap:Wr.bool,paragraph:Wr.bool,style:Wr.object,sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object]),variant:Wr.oneOfType([Wr.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),Wr.string]),variantMapping:Wr.object});var pa="top",fa="bottom",ma="right",_a="left",ga="auto",ya=[pa,fa,ma,_a],xa="start",va="end",ba="viewport",wa="popper",Ta=ya.reduce((function(e,t){return e.concat([t+"-"+xa,t+"-"+va])}),[]),Sa=[].concat(ya,[ga]).reduce((function(e,t){return e.concat([t,t+"-"+xa,t+"-"+va])}),[]),Ea=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ma(e){return e?(e.nodeName||"").toLowerCase():null}function Aa(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ca(e){return e instanceof Aa(e).Element||e instanceof Element}function Ia(e){return e instanceof Aa(e).HTMLElement||e instanceof HTMLElement}function Pa(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Aa(e).ShadowRoot||e instanceof ShadowRoot)}var Ra={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},i=t.attributes[e]||{},n=t.elements[e];Ia(n)&&Ma(n)&&(Object.assign(n.style,r),Object.keys(i).forEach((function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],n=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});Ia(i)&&Ma(i)&&(Object.assign(i.style,o),Object.keys(n).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function za(e){return e.split("-")[0]}var Da=Math.max,La=Math.min,ka=Math.round;function Oa(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ba(){return!/^((?!chrome|android).)*safari/i.test(Oa())}function Fa(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var i=e.getBoundingClientRect(),n=1,o=1;t&&Ia(e)&&(n=e.offsetWidth>0&&ka(i.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ka(i.height)/e.offsetHeight||1);var s=(Ca(e)?Aa(e):window).visualViewport,a=!Ba()&&r,l=(i.left+(a&&s?s.offsetLeft:0))/n,c=(i.top+(a&&s?s.offsetTop:0))/o,u=i.width/n,h=i.height/o;return{width:u,height:h,top:c,right:l+u,bottom:c+h,left:l,x:l,y:c}}function Na(e){var t=Fa(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function Va(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Pa(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ja(e){return Aa(e).getComputedStyle(e)}function Ua(e){return["table","td","th"].indexOf(Ma(e))>=0}function $a(e){return((Ca(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ga(e){return"html"===Ma(e)?e:e.assignedSlot||e.parentNode||(Pa(e)?e.host:null)||$a(e)}function qa(e){return Ia(e)&&"fixed"!==ja(e).position?e.offsetParent:null}function Ha(e){for(var t=Aa(e),r=qa(e);r&&Ua(r)&&"static"===ja(r).position;)r=qa(r);return r&&("html"===Ma(r)||"body"===Ma(r)&&"static"===ja(r).position)?t:r||function(e){var t=/firefox/i.test(Oa());if(/Trident/i.test(Oa())&&Ia(e)&&"fixed"===ja(e).position)return null;var r=Ga(e);for(Pa(r)&&(r=r.host);Ia(r)&&["html","body"].indexOf(Ma(r))<0;){var i=ja(r);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return r;r=r.parentNode}return null}(e)||t}function Wa(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Za(e,t,r){return Da(e,La(t,r))}function Xa(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ya(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}var Ja={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,i=e.name,n=e.options,o=r.elements.arrow,s=r.modifiersData.popperOffsets,a=za(r.placement),l=Wa(a),c=[_a,ma].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return Xa("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ya(e,ya))}(n.padding,r),h=Na(o),d="y"===l?pa:_a,p="y"===l?fa:ma,f=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],m=s[l]-r.rects.reference[l],_=Ha(o),g=_?"y"===l?_.clientHeight||0:_.clientWidth||0:0,y=f/2-m/2,x=u[d],v=g-h[c]-u[p],b=g/2-h[c]/2+y,w=Za(x,b,v),T=l;r.modifiersData[i]=((t={})[T]=w,t.centerOffset=w-b,t)}},effect:function(e){var t=e.state,r=e.options.element,i=void 0===r?"[data-popper-arrow]":r;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Va(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ka(e){return e.split("-")[1]}var Qa={top:"auto",right:"auto",bottom:"auto",left:"auto"};function el(e){var t,r=e.popper,i=e.popperRect,n=e.placement,o=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,h=e.isFixed,d=s.x,p=void 0===d?0:d,f=s.y,m=void 0===f?0:f,_="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=_.x,m=_.y;var g=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),x=_a,v=pa,b=window;if(c){var w=Ha(r),T="clientHeight",S="clientWidth";if(w===Aa(r)&&"static"!==ja(w=$a(r)).position&&"absolute"===a&&(T="scrollHeight",S="scrollWidth"),n===pa||(n===_a||n===ma)&&o===va)v=fa,m-=(h&&w===b&&b.visualViewport?b.visualViewport.height:w[T])-i.height,m*=l?1:-1;if(n===_a||(n===pa||n===fa)&&o===va)x=ma,p-=(h&&w===b&&b.visualViewport?b.visualViewport.width:w[S])-i.width,p*=l?1:-1}var E,M=Object.assign({position:a},c&&Qa),A=!0===u?function(e,t){var r=e.x,i=e.y,n=t.devicePixelRatio||1;return{x:ka(r*n)/n||0,y:ka(i*n)/n||0}}({x:p,y:m},Aa(r)):{x:p,y:m};return p=A.x,m=A.y,l?Object.assign({},M,((E={})[v]=y?"0":"",E[x]=g?"0":"",E.transform=(b.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",E)):Object.assign({},M,((t={})[v]=y?m+"px":"",t[x]=g?p+"px":"",t.transform="",t))}var tl={passive:!0};var rl={left:"right",right:"left",bottom:"top",top:"bottom"};function il(e){return e.replace(/left|right|bottom|top/g,(function(e){return rl[e]}))}var nl={start:"end",end:"start"};function ol(e){return e.replace(/start|end/g,(function(e){return nl[e]}))}function sl(e){var t=Aa(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function al(e){return Fa($a(e)).left+sl(e).scrollLeft}function ll(e){var t=ja(e),r=t.overflow,i=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+i)}function cl(e){return["html","body","#document"].indexOf(Ma(e))>=0?e.ownerDocument.body:Ia(e)&&ll(e)?e:cl(Ga(e))}function ul(e,t){var r;void 0===t&&(t=[]);var i=cl(e),n=i===(null==(r=e.ownerDocument)?void 0:r.body),o=Aa(i),s=n?[o].concat(o.visualViewport||[],ll(i)?i:[]):i,a=t.concat(s);return n?a:a.concat(ul(Ga(s)))}function hl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function dl(e,t,r){return t===ba?hl(function(e,t){var r=Aa(e),i=$a(e),n=r.visualViewport,o=i.clientWidth,s=i.clientHeight,a=0,l=0;if(n){o=n.width,s=n.height;var c=Ba();(c||!c&&"fixed"===t)&&(a=n.offsetLeft,l=n.offsetTop)}return{width:o,height:s,x:a+al(e),y:l}}(e,r)):Ca(t)?function(e,t){var r=Fa(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):hl(function(e){var t,r=$a(e),i=sl(e),n=null==(t=e.ownerDocument)?void 0:t.body,o=Da(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=Da(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-i.scrollLeft+al(e),l=-i.scrollTop;return"rtl"===ja(n||r).direction&&(a+=Da(r.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}($a(e)))}function pl(e,t,r,i){var n="clippingParents"===t?function(e){var t=ul(Ga(e)),r=["absolute","fixed"].indexOf(ja(e).position)>=0&&Ia(e)?Ha(e):e;return Ca(r)?t.filter((function(e){return Ca(e)&&Va(e,r)&&"body"!==Ma(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),s=o[0],a=o.reduce((function(t,r){var n=dl(e,r,i);return t.top=Da(n.top,t.top),t.right=La(n.right,t.right),t.bottom=La(n.bottom,t.bottom),t.left=Da(n.left,t.left),t}),dl(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function fl(e){var t,r=e.reference,i=e.element,n=e.placement,o=n?za(n):null,s=n?Ka(n):null,a=r.x+r.width/2-i.width/2,l=r.y+r.height/2-i.height/2;switch(o){case pa:t={x:a,y:r.y-i.height};break;case fa:t={x:a,y:r.y+r.height};break;case ma:t={x:r.x+r.width,y:l};break;case _a:t={x:r.x-i.width,y:l};break;default:t={x:r.x,y:r.y}}var c=o?Wa(o):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case xa:t[c]=t[c]-(r[u]/2-i[u]/2);break;case va:t[c]=t[c]+(r[u]/2-i[u]/2)}}return t}function ml(e,t){void 0===t&&(t={});var r=t,i=r.placement,n=void 0===i?e.placement:i,o=r.strategy,s=void 0===o?e.strategy:o,a=r.boundary,l=void 0===a?"clippingParents":a,c=r.rootBoundary,u=void 0===c?ba:c,h=r.elementContext,d=void 0===h?wa:h,p=r.altBoundary,f=void 0!==p&&p,m=r.padding,_=void 0===m?0:m,g=Xa("number"!=typeof _?_:Ya(_,ya)),y=d===wa?"reference":wa,x=e.rects.popper,v=e.elements[f?y:d],b=pl(Ca(v)?v:v.contextElement||$a(e.elements.popper),l,u,s),w=Fa(e.elements.reference),T=fl({reference:w,element:x,strategy:"absolute",placement:n}),S=hl(Object.assign({},x,T)),E=d===wa?S:w,M={top:b.top-E.top+g.top,bottom:E.bottom-b.bottom+g.bottom,left:b.left-E.left+g.left,right:E.right-b.right+g.right},A=e.modifiersData.offset;if(d===wa&&A){var C=A[n];Object.keys(M).forEach((function(e){var t=[ma,fa].indexOf(e)>=0?1:-1,r=[pa,fa].indexOf(e)>=0?"y":"x";M[e]+=C[r]*t}))}return M}function _l(e,t){void 0===t&&(t={});var r=t,i=r.placement,n=r.boundary,o=r.rootBoundary,s=r.padding,a=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?Sa:l,u=Ka(i),h=u?a?Ta:Ta.filter((function(e){return Ka(e)===u})):ya,d=h.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=h);var p=d.reduce((function(t,r){return t[r]=ml(e,{placement:r,boundary:n,rootBoundary:o,padding:s})[za(r)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var gl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var n=r.mainAxis,o=void 0===n||n,s=r.altAxis,a=void 0===s||s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,h=r.rootBoundary,d=r.altBoundary,p=r.flipVariations,f=void 0===p||p,m=r.allowedAutoPlacements,_=t.options.placement,g=za(_),y=l||(g===_||!f?[il(_)]:function(e){if(za(e)===ga)return[];var t=il(e);return[ol(e),t,ol(t)]}(_)),x=[_].concat(y).reduce((function(e,r){return e.concat(za(r)===ga?_l(t,{placement:r,boundary:u,rootBoundary:h,padding:c,flipVariations:f,allowedAutoPlacements:m}):r)}),[]),v=t.rects.reference,b=t.rects.popper,w=new Map,T=!0,S=x[0],E=0;E<x.length;E++){var M=x[E],A=za(M),C=Ka(M)===xa,I=[pa,fa].indexOf(A)>=0,P=I?"width":"height",R=ml(t,{placement:M,boundary:u,rootBoundary:h,altBoundary:d,padding:c}),z=I?C?ma:_a:C?fa:pa;v[P]>b[P]&&(z=il(z));var D=il(z),L=[];if(o&&L.push(R[A]<=0),a&&L.push(R[z]<=0,R[D]<=0),L.every((function(e){return e}))){S=M,T=!1;break}w.set(M,L)}if(T)for(var k=function(e){var t=x.find((function(t){var r=w.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},O=f?3:1;O>0;O--){if("break"===k(O))break}t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function yl(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function xl(e){return[pa,ma,fa,_a].some((function(t){return e[t]>=0}))}var vl={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,i=e.name,n=r.offset,o=void 0===n?[0,0]:n,s=Sa.reduce((function(e,r){return e[r]=function(e,t,r){var i=za(e),n=[_a,pa].indexOf(i)>=0?-1:1,o="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=o[0],a=o[1];return s=s||0,a=(a||0)*n,[_a,ma].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(r,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var bl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,i=e.name,n=r.mainAxis,o=void 0===n||n,s=r.altAxis,a=void 0!==s&&s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,h=r.padding,d=r.tether,p=void 0===d||d,f=r.tetherOffset,m=void 0===f?0:f,_=ml(t,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),g=za(t.placement),y=Ka(t.placement),x=!y,v=Wa(g),b="x"===v?"y":"x",w=t.modifiersData.popperOffsets,T=t.rects.reference,S=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,M="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(w){if(o){var I,P="y"===v?pa:_a,R="y"===v?fa:ma,z="y"===v?"height":"width",D=w[v],L=D+_[P],k=D-_[R],O=p?-S[z]/2:0,B=y===xa?T[z]:S[z],F=y===xa?-S[z]:-T[z],N=t.elements.arrow,V=p&&N?Na(N):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=j[P],$=j[R],G=Za(0,T[z],V[z]),q=x?T[z]/2-O-G-U-M.mainAxis:B-G-U-M.mainAxis,H=x?-T[z]/2+O+G+$+M.mainAxis:F+G+$+M.mainAxis,W=t.elements.arrow&&Ha(t.elements.arrow),Z=W?"y"===v?W.clientTop||0:W.clientLeft||0:0,X=null!=(I=null==A?void 0:A[v])?I:0,Y=D+H-X,J=Za(p?La(L,D+q-X-Z):L,D,p?Da(k,Y):k);w[v]=J,C[v]=J-D}if(a){var K,Q="x"===v?pa:_a,ee="x"===v?fa:ma,te=w[b],re="y"===b?"height":"width",ie=te+_[Q],ne=te-_[ee],oe=-1!==[pa,_a].indexOf(g),se=null!=(K=null==A?void 0:A[b])?K:0,ae=oe?ie:te-T[re]-S[re]-se+M.altAxis,le=oe?te+T[re]+S[re]-se-M.altAxis:ne,ce=p&&oe?function(e,t,r){var i=Za(e,t,r);return i>r?r:i}(ae,te,le):Za(p?ae:ie,te,p?le:ne);w[b]=ce,C[b]=ce-te}t.modifiersData[i]=C}},requiresIfExists:["offset"]};function wl(e,t,r){void 0===r&&(r=!1);var i=Ia(t),n=Ia(t)&&function(e){var t=e.getBoundingClientRect(),r=ka(t.width)/e.offsetWidth||1,i=ka(t.height)/e.offsetHeight||1;return 1!==r||1!==i}(t),o=$a(t),s=Fa(e,n,r),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!r)&&(("body"!==Ma(t)||ll(o))&&(a=function(e){return e!==Aa(e)&&Ia(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:sl(e);var t}(t)),Ia(t)?((l=Fa(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):o&&(l.x=al(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Tl(e){var t=new Map,r=new Set,i=[];function n(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var i=t.get(e);i&&n(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||n(e)})),i}var Sl={placement:"bottom",modifiers:[],strategy:"absolute"};function El(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ml(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,i=void 0===r?[]:r,n=t.defaultOptions,o=void 0===n?Sl:n;return function(e,t,r){void 0===r&&(r=o);var n,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Sl,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(r){var n="function"==typeof r?r(a.options):r;h(),a.options=Object.assign({},o,a.options,n),a.scrollParents={reference:Ca(e)?ul(e):e.contextElement?ul(e.contextElement):[],popper:ul(t)};var s,c,d=function(e){var t=Tl(e);return Ea.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((s=[].concat(i,a.options.modifiers),c=s.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=d.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,i=void 0===r?{}:r,n=e.effect;if("function"==typeof n){var o=n({state:a,name:t,instance:u,options:i}),s=function(){};l.push(o||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,r=e.popper;if(El(t,r)){a.rects={reference:wl(t,Ha(r),"fixed"===a.options.strategy),popper:Na(r)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var n=a.orderedModifiers[i],o=n.fn,s=n.options,l=void 0===s?{}:s,h=n.name;"function"==typeof o&&(a=o({state:a,options:l,name:h,instance:u})||a)}else a.reset=!1,i=-1}}},update:(n=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(n())}))}))),s}),destroy:function(){h(),c=!0}};if(!El(e,t))return u;function h(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var Al=Ml({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,i=e.options,n=i.scroll,o=void 0===n||n,s=i.resize,a=void 0===s||s,l=Aa(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",r.update,tl)})),a&&l.addEventListener("resize",r.update,tl),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",r.update,tl)})),a&&l.removeEventListener("resize",r.update,tl)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=fl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,i=r.gpuAcceleration,n=void 0===i||i,o=r.adaptive,s=void 0===o||o,a=r.roundOffsets,l=void 0===a||a,c={placement:za(t.placement),variation:Ka(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,el(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,el(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ra,vl,gl,bl,Ja,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,i=t.rects.reference,n=t.rects.popper,o=t.modifiersData.preventOverflow,s=ml(t,{elementContext:"reference"}),a=ml(t,{altBoundary:!0}),l=yl(s,i),c=yl(a,n,o),u=xl(l),h=xl(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}}]});const Cl=r.forwardRef((function(t,i){const{children:n,container:o,disablePortal:s=!1}=t,[a,l]=r.useState(null),c=lo(r.isValidElement(n)?So(n):null,i);if(Ln((()=>{s||l(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,s]),Ln((()=>{if(a&&!s)return io(i,a),()=>{io(i,null)}}),[i,a,s]),s){if(r.isValidElement(n)){const e={ref:c};return r.cloneElement(n,e)}return e(r.Fragment,{children:n})}return e(r.Fragment,{children:a?p.createPortal(n,a):a})}));function Il(e){return fn("MuiPopper",e)}function Pl(e){return"function"==typeof e?e():e}function Rl(e){return void 0!==e.nodeType}"production"!==process.env.NODE_ENV&&(Cl.propTypes={children:Wr.node,container:Wr.oneOfType([eo,Wr.func]),disablePortal:Wr.bool}),"production"!==process.env.NODE_ENV&&(Cl.propTypes=function(e){return"production"===process.env.NODE_ENV?e:{...e,[Qn]:t=>{const r=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return r.length>0?new Error(`The following props are not supported: ${r.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}}}(Cl.propTypes)),mn("MuiPopper",["root"]);const zl={},Dl=r.forwardRef((function(t,i){const{anchorEl:n,children:o,direction:s,disablePortal:a,modifiers:l,open:c,placement:u,popperOptions:h,popperRef:d,slotProps:p={},slots:f={},TransitionProps:m,ownerState:_,...g}=t,y=r.useRef(null),x=lo(y,i),v=r.useRef(null),b=lo(v,d),w=r.useRef(b);Ln((()=>{w.current=b}),[b]),r.useImperativeHandle(d,(()=>v.current),[]);const T=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,s),[S,E]=r.useState(T),[M,A]=r.useState(Pl(n));r.useEffect((()=>{v.current&&v.current.forceUpdate()})),r.useEffect((()=>{n&&A(Pl(n))}),[n]),Ln((()=>{if(!M||!c)return;if("production"!==process.env.NODE_ENV&&M&&Rl(M)&&1===M.nodeType){const e=M.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{E(e.placement)}}];null!=l&&(e=e.concat(l)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=Al(M,y.current,{placement:T,...h,modifiers:e});return w.current(t),()=>{t.destroy(),w.current(null)}}),[M,a,l,c,h,T]);const C={placement:S};null!==m&&(C.TransitionProps=m);const I=(e=>{const{classes:t}=e;return vo({root:["root"]},Il,t)})(t),P=f.root??"div",R=function(e){const{elementType:t,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:n=!1,...o}=e,s=n?{}:function(e,t){return"function"==typeof e?e(t,void 0):e}(r,i),{props:a,internalRef:l}=To({...o,externalSlotProps:s});return bo(t,{...a,ref:lo(l,s?.ref,e.additionalProps?.ref)},i)}({elementType:P,externalSlotProps:p.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:x},ownerState:t,className:I.root});return e(P,{...R,children:"function"==typeof o?o(C):o})})),Ll=r.forwardRef((function(t,i){const{anchorEl:n,children:o,container:s,direction:a="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:h,placement:d="bottom",popperOptions:p=zl,popperRef:f,style:m,transition:_=!1,slotProps:g={},slots:y={},...x}=t,[v,b]=r.useState(!0);if(!c&&!h&&(!_||v))return null;let w;if(s)w=s;else if(n){const e=Pl(n);w=e&&Rl(e)?ro(e).body:ro(null).body}return e(Cl,{disablePortal:l,container:w,children:e(Dl,{anchorEl:n,direction:a,disablePortal:l,modifiers:u,ref:i,open:_?!v:h,placement:d,popperOptions:p,popperRef:f,slotProps:g,slots:y,...x,style:{position:"fixed",top:0,left:0,display:h||!c||_&&!v?void 0:"none",...m},TransitionProps:_?{in:h,onEnter:()=>{b(!1)},onExited:()=>{b(!0)}}:void 0,children:o})})}));"production"!==process.env.NODE_ENV&&(Ll.propTypes={anchorEl:Xn(Wr.oneOfType([eo,Wr.object,Wr.func]),(e=>{if(e.open){const t=Pl(e.anchorEl);if(t&&Rl(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!Rl(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:Wr.oneOfType([Wr.node,Wr.func]),container:Wr.oneOfType([eo,Wr.func]),direction:Wr.oneOf(["ltr","rtl"]),disablePortal:Wr.bool,keepMounted:Wr.bool,modifiers:Wr.arrayOf(Wr.shape({data:Wr.object,effect:Wr.func,enabled:Wr.bool,fn:Wr.func,name:Wr.any,options:Wr.object,phase:Wr.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Wr.arrayOf(Wr.string),requiresIfExists:Wr.arrayOf(Wr.string)})),open:Wr.bool.isRequired,placement:Wr.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:Wr.shape({modifiers:Wr.array,onFirstUpdate:Wr.func,placement:Wr.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:Wr.oneOf(["absolute","fixed"])}),popperRef:to,slotProps:Wr.shape({root:Wr.oneOfType([Wr.func,Wr.object])}),slots:Wr.shape({root:Wr.elementType}),transition:Wr.bool});const kl=ms(Ll,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ol=r.forwardRef((function(t,r){const i=Mo(),n=gs({props:t,name:"MuiPopper"}),{anchorEl:o,component:s,components:a,componentsProps:l,container:c,disablePortal:u,keepMounted:h,modifiers:d,open:p,placement:f,popperOptions:m,popperRef:_,transition:g,slots:y,slotProps:x,...v}=n,b={anchorEl:o,container:c,disablePortal:u,keepMounted:h,modifiers:d,open:p,placement:f,popperOptions:m,popperRef:_,transition:g,...v};return e(kl,{as:s,direction:i?"rtl":"ltr",slots:{root:y?.root??a?.Root},slotProps:x??l,...b,ref:r})}));"production"!==process.env.NODE_ENV&&(Ol.propTypes={anchorEl:Wr.oneOfType([eo,Wr.object,Wr.func]),children:Wr.oneOfType([Wr.node,Wr.func]),component:Wr.elementType,components:Wr.shape({Root:Wr.elementType}),componentsProps:Wr.shape({root:Wr.oneOfType([Wr.func,Wr.object])}),container:Wr.oneOfType([eo,Wr.func]),disablePortal:Wr.bool,keepMounted:Wr.bool,modifiers:Wr.arrayOf(Wr.shape({data:Wr.object,effect:Wr.func,enabled:Wr.bool,fn:Wr.func,name:Wr.any,options:Wr.object,phase:Wr.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:Wr.arrayOf(Wr.string),requiresIfExists:Wr.arrayOf(Wr.string)})),open:Wr.bool.isRequired,placement:Wr.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:Wr.shape({modifiers:Wr.array,onFirstUpdate:Wr.func,placement:Wr.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:Wr.oneOf(["absolute","fixed"])}),popperRef:to,slotProps:Wr.shape({root:Wr.oneOfType([Wr.func,Wr.object])}),slots:Wr.shape({root:Wr.elementType}),sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object]),transition:Wr.bool});const Bl=mn("MuiBox",["root"]),Fl=ds(),Nl=function(t={}){const{themeId:i,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:s}=t,a=Zr("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(tn);return r.forwardRef((function(t,r){const l=an(n),{className:c,component:u="div",...h}=ln(t);return e(a,{as:u,ref:r,className:dn(c,s?s(o):o),theme:i&&l[i]||l,...h})}))}({themeId:we,defaultTheme:Fl,defaultClassName:Bl.root,generateClassName:un.generate});function Vl(e){return fn("MuiCard",e)}"production"!==process.env.NODE_ENV&&(Nl.propTypes={children:Wr.node,component:Wr.elementType,sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object])}),mn("MuiCard",["root"]);const jl=ms(Hs,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),Ul=r.forwardRef((function(t,r){const i=gs({props:t,name:"MuiCard"}),{className:n,raised:o=!1,...s}=i,a={...i,raised:o},l=(e=>{const{classes:t}=e;return vo({root:["root"]},Vl,t)})(a);return e(jl,{className:dn(l.root,n),elevation:o?8:void 0,ref:r,ownerState:a,...s})}));function $l(e){return fn("MuiCardContent",e)}"production"!==process.env.NODE_ENV&&(Ul.propTypes={children:Wr.node,classes:Wr.object,className:Wr.string,raised:Xn(Wr.bool,(e=>e.raised&&"outlined"===e.variant?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null)),sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object])}),mn("MuiCardContent",["root"]);const Gl=ms("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),ql=r.forwardRef((function(t,r){const i=gs({props:t,name:"MuiCardContent"}),{className:n,component:o="div",...s}=i,a={...i,component:o},l=(e=>{const{classes:t}=e;return vo({root:["root"]},$l,t)})(a);return e(Gl,{as:o,className:dn(l.root,n),ownerState:a,ref:r,...s})}));function Hl(e){return`scale(${e}, ${e**2})`}"production"!==process.env.NODE_ENV&&(ql.propTypes={children:Wr.node,classes:Wr.object,className:Wr.string,component:Wr.elementType,sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object])});const Wl={entering:{opacity:1,transform:Hl(1)},entered:{opacity:1,transform:"none"}},Zl="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Xl=r.forwardRef((function(t,i){const{addEndListener:n,appear:o=!0,children:s,easing:a,in:l,onEnter:c,onEntered:u,onEntering:h,onExit:d,onExited:p,onExiting:f,style:m,timeout:_="auto",TransitionComponent:g=Os,...y}=t,x=fo(),v=r.useRef(),b=fs(),w=r.useRef(null),T=lo(w,So(s),i),S=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},E=S(h),M=S(((e,t)=>{(e=>{e.scrollTop})(e);const{duration:r,delay:i,easing:n}=$s({style:m,timeout:_,easing:a},{mode:"enter"});let o;"auto"===_?(o=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=r,e.style.transition=[b.transitions.create("opacity",{duration:o,delay:i}),b.transitions.create("transform",{duration:Zl?o:.666*o,delay:i,easing:n})].join(","),c&&c(e,t)})),A=S(u),C=S(f),I=S((e=>{const{duration:t,delay:r,easing:i}=$s({style:m,timeout:_,easing:a},{mode:"exit"});let n;"auto"===_?(n=b.transitions.getAutoHeightDuration(e.clientHeight),v.current=n):n=t,e.style.transition=[b.transitions.create("opacity",{duration:n,delay:r}),b.transitions.create("transform",{duration:Zl?n:.666*n,delay:Zl?r:r||.333*n,easing:i})].join(","),e.style.opacity=0,e.style.transform=Hl(.75),d&&d(e)})),P=S(p);return e(g,{appear:o,in:l,nodeRef:w,onEnter:M,onEntered:A,onEntering:E,onExit:I,onExited:P,onExiting:C,addEndListener:e=>{"auto"===_&&x.start(v.current||0,e),n&&n(w.current,e)},timeout:"auto"===_?null:_,...y,children:(e,t)=>r.cloneElement(s,{style:{opacity:0,transform:Hl(.75),visibility:"exited"!==e||l?void 0:"hidden",...Wl[e],...m,...s.props.style},ref:T,...t})})}));function Yl(e){return fn("MuiTooltip",e)}"production"!==process.env.NODE_ENV&&(Xl.propTypes={addEndListener:Wr.func,appear:Wr.bool,children:Jn.isRequired,easing:Wr.oneOfType([Wr.shape({enter:Wr.string,exit:Wr.string}),Wr.string]),in:Wr.bool,onEnter:Wr.func,onEntered:Wr.func,onEntering:Wr.func,onExit:Wr.func,onExited:Wr.func,onExiting:Wr.func,style:Wr.object,timeout:Wr.oneOfType([Wr.oneOf(["auto"]),Wr.number,Wr.shape({appear:Wr.number,enter:Wr.number,exit:Wr.number})])}),Xl&&(Xl.muiSupportAuto=!0);const Jl=mn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const Kl=ms(Ol,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(_s((({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Jl.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Jl.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Jl.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Jl.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Jl.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Jl.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Jl.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Jl.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]})))),Ql=ms("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${li(r.placement.split("-")[0])}`]]}})(_s((({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Un(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||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,[`.${Jl.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Jl.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Jl.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Jl.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5)+"em",fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Jl.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Jl.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Jl.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Jl.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Jl.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Jl.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Jl.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Jl.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Jl.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Jl.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t}))),ec=ms("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(_s((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Un(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))));let tc=!1;const rc=new po;let ic={x:0,y:0};function nc(e,t){return(r,...i)=>{t&&t(r,...i),e(r,...i)}}const oc=r.forwardRef((function(i,n){const o=gs({props:i,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:c={},componentsProps:u={},describeChild:h=!1,disableFocusListener:d=!1,disableHoverListener:p=!1,disableInteractive:f=!1,disableTouchListener:m=!1,enterDelay:_=100,enterNextDelay:g=0,enterTouchDelay:y=700,followCursor:x=!1,id:v,leaveDelay:b=0,leaveTouchDelay:w=1500,onClose:T,onOpen:S,open:E,placement:M="bottom",PopperComponent:A,PopperProps:C={},slotProps:I={},slots:P={},title:R,TransitionComponent:z=Xl,TransitionProps:D,...L}=o,k=r.isValidElement(a)?a:e("span",{children:a}),O=fs(),B=Mo(),[F,N]=r.useState(),[V,j]=r.useState(null),U=r.useRef(!1),$=f||x,G=fo(),q=fo(),H=fo(),W=fo(),[Z,X]=function({controlled:e,default:t,name:i,state:n="value"}){const{current:o}=r.useRef(void 0!==e),[s,a]=r.useState(t),l=o?e:s;if("production"!==process.env.NODE_ENV){r.useEffect((()=>{o!==(void 0!==e)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${i} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${i} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[n,i,e]);const{current:s}=r.useRef(t);r.useEffect((()=>{o||Object.is(s,t)||console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${i} after being initialized. To suppress this warning opt to use a controlled ${i}.`].join("\n"))}),[JSON.stringify(t)])}return[l,r.useCallback((e=>{o||a(e)}),[])]}({controlled:E,default:!1,name:"Tooltip",state:"open"});let Y=Z;if("production"!==process.env.NODE_ENV){const{current:e}=r.useRef(void 0!==E);r.useEffect((()=>{F&&F.disabled&&!e&&""!==R&&"button"===F.tagName.toLowerCase()&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join("\n"))}),[R,F,e])}const J=so(v),K=r.useRef(),Q=ao((()=>{void 0!==K.current&&(document.body.style.WebkitUserSelect=K.current,K.current=void 0),W.clear()}));r.useEffect((()=>Q),[Q]);const ee=e=>{rc.clear(),tc=!0,X(!0),S&&!Y&&S(e)},te=ao((e=>{rc.start(800+b,(()=>{tc=!1})),X(!1),T&&Y&&T(e),G.start(O.transitions.duration.shortest,(()=>{U.current=!1}))})),re=e=>{U.current&&"touchstart"!==e.type||(F&&F.removeAttribute("title"),q.clear(),H.clear(),_||tc&&g?q.start(tc?g:_,(()=>{ee(e)})):ee(e))},ie=e=>{q.clear(),H.start(b,(()=>{te(e)}))},[,ne]=r.useState(!1),oe=e=>{mo(e.target)||(ne(!1),ie(e))},se=e=>{F||N(e.currentTarget),mo(e.target)&&(ne(!0),re(e))},ae=e=>{U.current=!0;const t=k.props;t.onTouchStart&&t.onTouchStart(e)},le=e=>{ae(e),H.clear(),G.clear(),Q(),K.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",W.start(y,(()=>{document.body.style.WebkitUserSelect=K.current,re(e)}))},ce=e=>{k.props.onTouchEnd&&k.props.onTouchEnd(e),Q(),H.start(w,(()=>{te(e)}))};r.useEffect((()=>{if(Y)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&te(e)}}),[te,Y]);const ue=lo(So(k),N,n);R||0===R||(Y=!1);const he=r.useRef(),de={},pe="string"==typeof R;h?(de.title=Y||!pe||p?null:R,de["aria-describedby"]=Y?J:null):(de["aria-label"]=pe?R:null,de["aria-labelledby"]=Y&&!pe?J:null);const fe={...de,...L,...k.props,className:dn(L.className,k.props.className),onTouchStart:ae,ref:ue,...x?{onMouseMove:e=>{const t=k.props;t.onMouseMove&&t.onMouseMove(e),ic={x:e.clientX,y:e.clientY},he.current&&he.current.update()}}:{}};"production"!==process.env.NODE_ENV&&(fe["data-mui-internal-clone-element"]=!0,r.useEffect((()=>{F&&!F.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join("\n"))}),[F]));const me={};m||(fe.onTouchStart=le,fe.onTouchEnd=ce),p||(fe.onMouseOver=nc(re,fe.onMouseOver),fe.onMouseLeave=nc(ie,fe.onMouseLeave),$||(me.onMouseOver=re,me.onMouseLeave=ie)),d||(fe.onFocus=nc(se,fe.onFocus),fe.onBlur=nc(oe,fe.onBlur),$||(me.onFocus=se,me.onBlur=oe)),"production"!==process.env.NODE_ENV&&k.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${k.props.title}\` or the Tooltip component.`].join("\n"));const _e=r.useMemo((()=>{let e=[{name:"arrow",enabled:Boolean(V),options:{element:V,padding:4}}];return C.popperOptions?.modifiers&&(e=e.concat(C.popperOptions.modifiers)),{...C.popperOptions,modifiers:e}}),[V,C]),ge={...o,isRtl:B,arrow:s,disableInteractive:$,placement:M,PopperComponentProp:A,touch:U.current},ye=(e=>{const{classes:t,disableInteractive:r,arrow:i,touch:n,placement:o}=e;return vo({popper:["popper",!r&&"popperInteractive",i&&"popperArrow"],tooltip:["tooltip",i&&"tooltipArrow",n&&"touch",`tooltipPlacement${li(o.split("-")[0])}`],arrow:["arrow"]},Yl,t)})(ge),xe=P.popper??c.Popper??Kl,ve=P.transition??c.Transition??z??Xl,be=P.tooltip??c.Tooltip??Ql,we=P.arrow??c.Arrow??ec,Te=bo(xe,{...C,...I.popper??u.popper,className:dn(ye.popper,C?.className,(I.popper??u.popper)?.className)},ge),Se=bo(ve,{...D,...I.transition??u.transition},ge),Ee=bo(be,{...I.tooltip??u.tooltip,className:dn(ye.tooltip,(I.tooltip??u.tooltip)?.className)},ge),Me=bo(we,{...I.arrow??u.arrow,className:dn(ye.arrow,(I.arrow??u.arrow)?.className)},ge);return t(r.Fragment,{children:[r.cloneElement(k,fe),e(xe,{as:A??Ol,placement:M,anchorEl:x?{getBoundingClientRect:()=>({top:ic.y,left:ic.x,right:ic.x,bottom:ic.y,width:0,height:0})}:F,popperRef:he,open:!!F&&Y,id:J,transition:!0,...me,...Te,popperOptions:_e,children:({TransitionProps:r})=>e(ve,{timeout:O.transitions.duration.shorter,...r,...Se,children:t(be,{...Ee,children:[R,s?e(we,{...Me,ref:j}):null]})})})]})}));function sc(e){return fn("MuiToggleButton",e)}"production"!==process.env.NODE_ENV&&(oc.propTypes={arrow:Wr.bool,children:Jn.isRequired,classes:Wr.object,className:Wr.string,components:Wr.shape({Arrow:Wr.elementType,Popper:Wr.elementType,Tooltip:Wr.elementType,Transition:Wr.elementType}),componentsProps:Wr.shape({arrow:Wr.object,popper:Wr.object,tooltip:Wr.object,transition:Wr.object}),describeChild:Wr.bool,disableFocusListener:Wr.bool,disableHoverListener:Wr.bool,disableInteractive:Wr.bool,disableTouchListener:Wr.bool,enterDelay:Wr.number,enterNextDelay:Wr.number,enterTouchDelay:Wr.number,followCursor:Wr.bool,id:Wr.string,leaveDelay:Wr.number,leaveTouchDelay:Wr.number,onClose:Wr.func,onOpen:Wr.func,open:Wr.bool,placement:Wr.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:Wr.elementType,PopperProps:Wr.object,slotProps:Wr.shape({arrow:Wr.object,popper:Wr.object,tooltip:Wr.object,transition:Wr.object}),slots:Wr.shape({arrow:Wr.elementType,popper:Wr.elementType,tooltip:Wr.elementType,transition:Wr.elementType}),sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object]),title:Wr.node,TransitionComponent:Wr.elementType,TransitionProps:Wr.object});const ac=mn("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),lc=r.createContext({});"production"!==process.env.NODE_ENV&&(lc.displayName="ToggleButtonGroupContext");const cc=r.createContext(void 0);function uc(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.includes(e):e===t)}"production"!==process.env.NODE_ENV&&(cc.displayName="ToggleButtonGroupButtonContext");const hc=ms(oa,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`size${li(r.size)}`]]}})(_s((({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${ac.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Un(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${ac.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:Un(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Un(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:Un(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(sa()).map((([t])=>({props:{color:t},style:{[`&.${ac.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Un(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Un(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Un(e.palette[t].main,e.palette.action.selectedOpacity)}}}}}))),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]})))),dc=r.forwardRef((function(t,i){const{value:n,...o}=r.useContext(lc),s=r.useContext(cc),a=gs({props:Dn({...o,selected:uc(t.value,n)},t),name:"MuiToggleButton"}),{children:l,className:c,color:u="standard",disabled:h=!1,disableFocusRipple:d=!1,fullWidth:p=!1,onChange:f,onClick:m,selected:_,size:g="medium",value:y,...x}=a,v={...a,color:u,disabled:h,disableFocusRipple:d,fullWidth:p,size:g},b=(e=>{const{classes:t,fullWidth:r,selected:i,disabled:n,size:o,color:s}=e;return vo({root:["root",i&&"selected",n&&"disabled",r&&"fullWidth",`size${li(o)}`,s]},sc,t)})(v),w=s||"";return e(hc,{className:dn(o.className,b.root,c,w),disabled:h,focusRipple:!d,ref:i,onClick:e=>{m&&(m(e,y),e.defaultPrevented)||f&&f(e,y)},onChange:f,value:y,ownerState:v,"aria-pressed":_,...x,children:l})}));function pc(e){return fn("MuiToggleButtonGroup",e)}"production"!==process.env.NODE_ENV&&(dc.propTypes={children:Wr.node,classes:Wr.object,className:Wr.string,color:Wr.oneOfType([Wr.oneOf(["standard","primary","secondary","error","info","success","warning"]),Wr.string]),disabled:Wr.bool,disableFocusRipple:Wr.bool,disableRipple:Wr.bool,fullWidth:Wr.bool,onChange:Wr.func,onClick:Wr.func,selected:Wr.bool,size:Wr.oneOfType([Wr.oneOf(["small","medium","large"]),Wr.string]),sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object]),value:Wr.any.isRequired});const fc=mn("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),mc=ms("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${fc.grouped}`]:t.grouped},{[`& .${fc.grouped}`]:t[`grouped${li(r.orientation)}`]},{[`& .${fc.firstButton}`]:t.firstButton},{[`& .${fc.lastButton}`]:t.lastButton},{[`& .${fc.middleButton}`]:t.middleButton},t.root,"vertical"===r.orientation&&t.vertical,r.fullWidth&&t.fullWidth]}})(_s((({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${fc.grouped}`]:{[`&.${fc.selected} + .${fc.grouped}.${fc.selected}`]:{borderTop:0,marginTop:0}},[`& .${fc.firstButton},& .${fc.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${fc.lastButton},& .${fc.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${fc.lastButton}.${ac.disabled},& .${fc.middleButton}.${ac.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${fc.grouped}`]:{[`&.${fc.selected} + .${fc.grouped}.${fc.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${fc.firstButton},& .${fc.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${fc.lastButton},& .${fc.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${fc.lastButton}.${ac.disabled},& .${fc.middleButton}.${ac.disabled}`]:{borderLeft:"1px solid transparent"}}}]})))),_c=r.forwardRef((function(t,i){const n=gs({props:t,name:"MuiToggleButtonGroup"}),{children:o,className:s,color:a="standard",disabled:l=!1,exclusive:c=!1,fullWidth:u=!1,onChange:h,orientation:d="horizontal",size:p="medium",value:f,...m}=n,_={...n,disabled:l,fullWidth:u,orientation:d,size:p},g=(e=>{const{classes:t,orientation:r,fullWidth:i,disabled:n}=e;return vo({root:["root",r,i&&"fullWidth"],grouped:["grouped",`grouped${li(r)}`,n&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]},pc,t)})(_),y=r.useCallback(((e,t)=>{if(!h)return;const r=f&&f.indexOf(t);let i;f&&r>=0?(i=f.slice(),i.splice(r,1)):i=f?f.concat(t):[t],h(e,i)}),[h,f]),x=r.useCallback(((e,t)=>{h&&h(e,f===t?null:t)}),[h,f]),v=r.useMemo((()=>({className:g.grouped,onChange:c?x:y,value:f,size:p,fullWidth:u,color:a,disabled:l})),[g.grouped,c,x,y,f,p,u,a,l]),b=function(e){return r.Children.toArray(e).filter((e=>r.isValidElement(e)))}(o),w=b.length,T=e=>{const t=0===e,r=e===w-1;return t&&r?"":t?g.firstButton:r?g.lastButton:g.middleButton};return e(mc,{role:"group",className:dn(g.root,s),ref:i,ownerState:_,...m,children:e(lc.Provider,{value:v,children:b.map(((t,r)=>("production"!==process.env.NODE_ENV&&Ss.isFragment(t)&&console.error(["MUI: The ToggleButtonGroup component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),e(cc.Provider,{value:T(r),children:t},r))))})})}));"production"!==process.env.NODE_ENV&&(_c.propTypes={children:Wr.node,classes:Wr.object,className:Wr.string,color:Wr.oneOfType([Wr.oneOf(["standard","primary","secondary","error","info","success","warning"]),Wr.string]),disabled:Wr.bool,exclusive:Wr.bool,fullWidth:Wr.bool,onChange:Wr.func,orientation:Wr.oneOf(["horizontal","vertical"]),size:Wr.oneOfType([Wr.oneOf(["small","medium","large"]),Wr.string]),sx:Wr.oneOfType([Wr.arrayOf(Wr.oneOfType([Wr.func,Wr.object,Wr.bool])),Wr.func,Wr.object]),value:Wr.any});S(".legend{\r\n --legend-font-size: 10px;\r\n --legend-padding: 5px;\r\n width: 250px;\r\n height: 20px;\r\n position:absolute;\r\n z-index:10;\r\n background-color: white;\r\n padding: 0;\r\n display:inline-flex;\r\n border-radius:3px;\r\n box-shadow: 2px 2px 6px gray;\r\n}\r\n\r\n.legend > .item-container {\r\n display:inline-flex;\r\n padding:0;\r\n position:absolute;\r\n top: 5px;\r\n left: 5px;\r\n}\r\n\r\n.legend > .item-container:hover > item {\r\n opacity: 0.2;\r\n}\r\n\r\n.legend > .item-container > .item {\r\n height: var(--legend-font-size);\r\n width:30px;\r\n display:inline-flex;\r\n padding:0;\r\n}\r\n\r\n.legend > .item-container > .item:hover {\r\n opacity: 1 !important;\r\n}");var gc=function(r){return e("div",{className:r.className+" legend",children:t("div",{className:"item-container",children:[e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Category 5"}),children:e("span",{className:"item",style:{backgroundColor:w(5)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Category 4"}),children:e("span",{className:"item",style:{backgroundColor:w(4)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Category 3"}),children:e("span",{className:"item",style:{backgroundColor:w(3)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Category 2"}),children:e("span",{className:"item",style:{backgroundColor:w(2)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Category 1"}),children:e("span",{className:"item",style:{backgroundColor:w(1)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Tropical Storm"}),children:e("span",{className:"item",style:{backgroundColor:w(0)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Tropical Depression"}),children:e("span",{className:"item",style:{backgroundColor:w(-1)}})}),e(oc,{title:e("span",{style:{fontSize:"1.25em",padding:"2px"},children:"Tropical Expression"}),children:e("span",{className:"item",style:{backgroundColor:w(-2)}})})]})})};S(".storm-legend{\r\n top: 80px;\r\n}");var yc=function(r){return e("div",{children:e(Ul,{className:r.className+" storm-legend",variant:"outlined",sx:{overflow:"auto",position:"absolute",zIndex:10,right:20,backgroundColor:"rgba(255,255,255,0.6)",maxHeight:"calc(calc(100% - 80px) / 2)"},children:t(ql,{children:[e(da,{gutterBottom:!0,sx:{color:"text.secondary",fontSize:16,fontWeight:700,pb:1},children:"Storm Legend"}),e(Nl,{children:r.stormTracks&&r.stormTracks.map((function(r){return t(da,{variant:"body2",children:[e("span",{style:{width:"20px",height:"20px",backgroundColor:r.color,display:"inline-block",marginRight:"10px",marginLeft:"10px"}}),e("span",{style:{position:"relative",height:"25px",top:-5,display:"inline-block"},children:r.name})]},r.name+r.year)}))})]})})})},xc=n((function(r,i){var n=c(void 0),o=c(void 0),s=u(!1),a=s[0],l=s[1],p=u(new I.Marker),f=p[0],S=p[1],E=u(void 0),M=E[0],A=E[1],C=u(m.CAT_INTENSITY),P=C[0],R=C[1],z=u([]),D=z[0],L=z[1];function k(e,t,i,n,o,s,a){if(null!=r.ciacRadius&&null!=r.ciacRadius&&null!=r.location&&null!=r.location){var l=[r.location.longitude,r.location.latitude],c=function(e,t,r){var i=e;return{radius:t,latitude:i[1],longitude:i[0],payouts:r}}(l,1e3,e),u=function(e,t,r){var i=e;return{code:t,latitude:i[1],longitude:i[0],payouts:r}}(l,t,i),h=function(e,t,r,i){var n=e;return{shapes:[{type:"__circle",latitude:n[1],longitude:n[0],radius:t}],includeNotNamedStorms:r,payouts:i}}(l,r.ciacRadius,o,n);(function(e,t){return F(void 0,void 0,void 0,(function(){var r;return N(this,(function(i){switch(i.label){case 0:return r="https://api-uat.nms3939.com"+V.endpoints.backTesting.payouts,[4,fetch(r,{method:"POST",headers:{"Content-Type":"application/json","x-api-key":t},body:JSON.stringify(e)})];case 1:return[4,i.sent().json()];case 2:return[2,i.sent()]}}))}))})({includeZeroPayouts:s,limit:a,latitude:r.location.latitude,longitude:r.location.longitude,proxy:c,anemometer:u,ciac:h},r.apiAccessToken).then((function(e){var t=e.payouts.map((function(e,t){return e.color=T(t),e}));L(t),null!=r.onCalculatePayouts&&r.onCalculatePayouts(t)}),(function(e){throw console.error(e),Error(e)}))}}h(i,(function(){return{calculatePayouts:function(e,t,r,i,n,o,s){k(e,t,r,i,n,o,s)}}}));var O=function(e){if(n&&n.current){var t=n.current.getSource(x);if(t){var r=t._data.features.map((function(t){var r,i,n,o,s,a,l,c,u,h,d;return{type:t.type,geometry:t.geometry,properties:{view:e,muted:null===(r=t.properties)||void 0===r?void 0:r.muted,name:null===(i=t.properties)||void 0===i?void 0:i.name,year:null===(n=t.properties)||void 0===n?void 0:n.year,windspeed:null===(o=t.properties)||void 0===o?void 0:o.windspeed,category:null===(s=t.properties)||void 0===s?void 0:s.category,time:null===(a=t.properties)||void 0===a?void 0:a.time,latitude:null===(l=t.properties)||void 0===l?void 0:l.latitude,longitude:null===(c=t.properties)||void 0===c?void 0:c.longitude,location:null===(u=t.properties)||void 0===u?void 0:u.location,checked:null===(h=t.properties)||void 0===h?void 0:h.checked,color:null===(d=t.properties)||void 0===d?void 0:d.color}}}));t.setData({type:"FeatureCollection",features:r})}var i=n.current.getSource(v);if(i){r=i._data.features.map((function(t){var r,i,n,o,s,a;return{type:t.type,geometry:t.geometry,properties:{view:e,muted:null===(r=t.properties)||void 0===r?void 0:r.muted,name:null===(i=t.properties)||void 0===i?void 0:i.name,year:null===(n=t.properties)||void 0===n?void 0:n.year,category:null===(o=t.properties)||void 0===o?void 0:o.category,checked:null===(s=t.properties)||void 0===s?void 0:s.checked,color:null===(a=t.properties)||void 0===a?void 0:a.color}}}));i.setData({type:"FeatureCollection",features:r})}}};function j(e,t){if(n&&n.current){var r=0,i=e.map((function(e){var i=T(r);return r+=1,e.stormTrack.map((function(e){return{type:"Feature",geometry:e.LOCATION,properties:{view:t,muted:!1,checked:!0,name:e.NAME,year:e.SEASON,windspeed:e.USA_WIND,category:e.USA_SSHS,time:e.ISO_TIME,latitude:e.LOCATION.coordinates.at(1),longitude:e.LOCATION.coordinates.at(0),location:e.LOCATION,color:i}}}))})),o=i.map((function(e){return function(e){for(var t,r,i,n,o,s,a,l=[],c=1;c<e.length;c++){var u=((null===(t=e[c].properties)||void 0===t?void 0:t.category)+(null===(r=e[c-1].properties)||void 0===r?void 0:r.category))/2,h=e[c-1].geometry.coordinates,d=e[c].geometry.coordinates;if(h[0]<0||d[0]<0){var p=U(h[0],360),f=U(d[0],360);h[0]=p,d[0]=f}l.push({type:"Feature",geometry:{type:"LineString",coordinates:[h,d]},properties:{name:null===(i=e[c].properties)||void 0===i?void 0:i.name,year:null===(n=e[c].properties)||void 0===n?void 0:n.year,category:u,muted:null===(o=e[c].properties)||void 0===o?void 0:o.muted,checked:!0,view:null===(s=e[c].properties)||void 0===s?void 0:s.view,color:null===(a=e[c].properties)||void 0===a?void 0:a.color}})}return l}(e)})),s=n.current.getSource(x);s&&s.setData({type:"FeatureCollection",features:i.flat()});var a=n.current.getSource(v);a&&a.setData({type:"FeatureCollection",features:o.flat()})}}function U(e,t){return(e%t+t)%t}return d((function(){return I.accessToken=r.mapAccessToken,n.current=new I.Map({container:o.current,style:"mapbox://styles/adubu001/cm23vizjd00gk01qk59q062mj",pitchWithRotate:!1,dragRotate:!1,touchZoomRotate:!1,center:r.location?[r.location.longitude,r.location.latitude]:g,zoom:8}),n.current.on("load",(function(){var e,t,r,i,o,s,a,c,u;l(!0),null===(e=n.current)||void 0===e||e.addSource(y,{type:"geojson",data:{type:"FeatureCollection",features:[]}}),null===(t=n.current)||void 0===t||t.addSource(x,{type:"geojson",data:{type:"FeatureCollection",features:[]}}),null===(r=n.current)||void 0===r||r.addSource(v,{type:"geojson",data:{type:"FeatureCollection",features:[]}}),null===(i=n.current)||void 0===i||i.addLayer({id:"__ciac_layer",type:"fill",source:y,paint:{"fill-color":"#105397","fill-opacity":.35}}),null===(o=n.current)||void 0===o||o.addLayer({id:"outline",type:"line",source:y,paint:{"line-color":"#105397","line-width":2}}),null===(s=n.current)||void 0===s||s.addLayer({id:"__tropical_storm_tracks_layer",type:"line",source:v,paint:{"line-color":["match",["concat",["get","view"],["get","muted"]],m.CAT_INTENSITY+"false",["interpolate",["linear"],["get","category"],-5,_.COLOR_TROPICAL_EXPRESSION,-4,_.COLOR_TROPICAL_EXPRESSION,-3,_.COLOR_TROPICAL_EXPRESSION,-2,_.COLOR_TROPICAL_EXPRESSION,-1,_.COLOR_TROPICAL_DEPRESSION,0,_.COLOR_TROPICAL_STORM,1,_.COLOR_CAT_1,2,_.COLOR_CAT_2,3,_.COLOR_CAT_3,4,_.COLOR_CAT_4,5,_.COLOR_CAT_5],m.STORMS+"false",["get","color"],"rgba(255,255,255,0.2)"],"line-width":4}}),null===(a=n.current)||void 0===a||a.addLayer({id:b,type:"circle",source:x,paint:{"circle-stroke-color":["match",["concat","",["get","muted"]],"false","#000","rgba(0,0,0,0.2)"],"circle-stroke-width":1,"circle-color":["match",["concat",["get","view"],["get","category"],["get","muted"]],m.CAT_INTENSITY+"-5false",_.COLOR_TROPICAL_EXPRESSION,m.CAT_INTENSITY+"-4false",_.COLOR_TROPICAL_EXPRESSION,m.CAT_INTENSITY+"-3false",_.COLOR_TROPICAL_EXPRESSION,m.CAT_INTENSITY+"-2false",_.COLOR_TROPICAL_EXPRESSION,m.CAT_INTENSITY+"-1false",_.COLOR_TROPICAL_DEPRESSION,m.CAT_INTENSITY+"0false",_.COLOR_TROPICAL_STORM,m.CAT_INTENSITY+"1false",_.COLOR_CAT_1,m.CAT_INTENSITY+"2false",_.COLOR_CAT_2,m.CAT_INTENSITY+"3false",_.COLOR_CAT_3,m.CAT_INTENSITY+"4false",_.COLOR_CAT_4,m.CAT_INTENSITY+"5false",_.COLOR_CAT_5,m.STORMS+"-5false",["get","color"],m.STORMS+"-4false",["get","color"],m.STORMS+"-3false",["get","color"],m.STORMS+"-2false",["get","color"],m.STORMS+"-1false",["get","color"],m.STORMS+"0false",["get","color"],m.STORMS+"1false",["get","color"],m.STORMS+"2false",["get","color"],m.STORMS+"3false",["get","color"],m.STORMS+"4false",["get","color"],m.STORMS+"5false",["get","color"],_.COLOR_MUTED],"circle-radius":5}});var h=new I.Popup({closeButton:!1,closeOnClick:!0,closeOnMove:!0});null===(c=n.current)||void 0===c||c.on("mouseenter",b,(function(e){if(n.current){n.current.getCanvas().style.cursor="pointer";var t=e.features[0].geometry.coordinates.slice(),r=e.features[0].properties,i="";for(i+="<strong>".concat(r.name," ").concat(r.year,"</strong>"),i+='<span style="border-radius:3px;margin-left:5px;padding:3px 10px;color:white;background-color:'.concat(w(r.category),'">').concat(function(e){switch(e){case 5:case 4:case 3:case 2:case 1:return"Category ".concat(e);case 0:return"Tropical Storm";case-1:return"Tropical Depression";case-2:case-3:case-4:case-5:return"Tropical Expression";case-10:return"N/A";default:return""}}(r.category),"</span>"),i+='<div style="width:150px">'.concat((o=r.time,new Date(Date.parse(o)).toLocaleDateString("en-us",{day:"numeric",year:"numeric",month:"short",hour:"numeric",minute:"numeric",timeZone:"UTC"})),"</div><p>"),i+='<div><strong>Windspeed: </strong><span">'.concat(r.windspeed," MPH</span></div>"),i+='<div><strong>LatLng: </strong><span">('.concat(r.latitude,"°, ").concat(r.longitude,"°)</span></div>"),i+="</p>";Math.abs(e.lngLat.lng-t[0])>180;)t[0]+=e.lngLat.lng>t[0]?360:-360;h.setLngLat(t).setHTML(i).addTo(n.current),h.on("mouseleave",(function(){n.current&&(n.current.getCanvas().style.cursor=""),h.remove()}))}var o})),null===(u=n.current)||void 0===u||u.on("mouseleave",b,(function(){n.current&&(n.current.getCanvas().style.cursor=""),h.remove()}))})),function(){var e;return null===(e=n.current)||void 0===e?void 0:e.remove()}}),[]),d((function(){if(a)if(null!=r.location&&null!=r.location){if(null==n?void 0:n.current){var e=[r.location.longitude,r.location.latitude];S(f.remove().setLngLat(e).addTo(n.current)),n.current.flyTo({center:e,essential:!0})}}else S(f.remove())}),[r.location,n,a]),d((function(){if(a)if(null!=r.ciacRadius&&null!=r.ciacRadius&&null!=r.location&&null!=r.location){if(null==n?void 0:n.current){var e,t=B([r.location.longitude,r.location.latitude],r.ciacRadius,{steps:200,units:"miles"});A(M),(e=n.current.getSource(y))&&(console.log("draw circle"),e.setData({type:"FeatureCollection",features:[t]}))}}else console.log("skip circle"),(null==n?void 0:n.current)&&(A(void 0),(e=n.current.getSource(y))&&e.setData({type:"FeatureCollection",features:[]}))}),[r.ciacRadius,r.location,n,a]),d((function(){a&&j(D,P)}),[a,D,P]),d((function(){a&&r.location&&r.limit&&r.proxyPayouts&&r.anemometerCode&&r.anemometerPayouts&&r.ciacRadius&&r.ciacRadius&&n&&k(r.proxyPayouts,r.anemometerCode,r.anemometerPayouts,r.ciacPayouts,!1,!1,r.limit)}),[r.location,r.limit,r.proxyPayouts,r.anemometerCode,r.anemometerPayouts,r.ciacRadius,r.ciacRadius,n,a]),t("div",{className:"map__wrapper",children:[P==m.CAT_INTENSITY&&e(gc,{className:"cat__legend"}),t(_c,{className:"map__views",color:"primary",value:P,exclusive:!0,onChange:function(e,t){null!==t&&R(t),O(t),null!=r.onViewChange&&r.onViewChange(t)},"aria-label":"Platform",sx:{backgroundColor:"white",zIndex:10},children:[e(dc,{value:m.CAT_INTENSITY,children:"CAT Strength View"}),e(dc,{value:m.STORMS,children:"Storms View"})]}),P==m.STORMS&&e(yc,{stormTracks:D}),e("div",{ref:o,className:"map__container"})]})}));export{gc as BackTestingCatLegend,xc as BackTestingMap,yc as BackTestingStormLegend};
|
|
123
|
-
//# sourceMappingURL=index.
|
|
123
|
+
//# sourceMappingURL=index.map
|