(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2979],{42293:function(e,t,r){"use strict";r.d(t,{Z:function(){return b}});var n=r(63366),o=r(87462),a=r(67294),i=r(63961),s=r(94780),l=r(90948),c=r(28628),u=r(98216),p=r(90629),d=r(1588),f=r(34867);function h(e){return(0,f.ZP)("MuiAppBar",e)}(0,d.Z)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);var v=r(85893);const m=["className","color","enableColorOnDark","position"],g=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,y=(0,l.ZP)(p.Z,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${(0,u.Z)(r.position)}`],t[`color${(0,u.Z)(r.color)}`]]}})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,o.Z)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,o.Z)({},"default"===t.color&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,o.Z)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,o.Z)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:g(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:g(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:g(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:g(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}));var b=a.forwardRef((function(e,t){const r=(0,c.i)({props:e,name:"MuiAppBar"}),{className:a,color:l="primary",enableColorOnDark:p=!1,position:d="fixed"}=r,f=(0,n.Z)(r,m),g=(0,o.Z)({},r,{color:l,position:d,enableColorOnDark:p}),b=(e=>{const{color:t,position:r,classes:n}=e,o={root:["root",`color${(0,u.Z)(t)}`,`position${(0,u.Z)(r)}`]};return(0,s.Z)(o,h,n)})(g);return(0,v.jsx)(y,(0,o.Z)({square:!0,component:"header",ownerState:g,elevation:4,className:(0,i.Z)(b.root,a,"fixed"===d&&"mui-fixed"),ref:t},f))}))},80822:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(61354),o=r(37078),a=r(21265),i=r(10606);var s=(0,r(1588).Z)("MuiBox",["root"]);const l=(0,a.Z)();var c=(0,n.Z)({themeId:i.Z,defaultTheme:l,defaultClassName:s.root,generateClassName:o.Z.generate})},15739:function(e,t,r){"use strict";r.d(t,{Z:function(){return re}});var n=r(87462),o=r(63366),a=r(67294),i=r(73935),s=r(73546),l=r(85893);var c=function(e){const{children:t,defer:r=!1,fallback:n=null}=e,[o,i]=a.useState(!1);return(0,s.Z)((()=>{r||i(!0)}),[r]),a.useEffect((()=>{r&&i(!0)}),[r]),(0,l.jsx)(a.Fragment,{children:o?t:n})},u=r(28628),p=r(63961),d=r(94780),f=r(82056),h=r(39043),v=r(98885),m=r(57907),g=r(57144),y=r(51705),b=r(2734),x=r(30577),Z=r(5340);const k=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function w(e,t,r){var n;const o=function(e,t,r){const n=t.getBoundingClientRect(),o=r&&r.getBoundingClientRect(),a=(0,Z.Z)(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const e=a.getComputedStyle(t);i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(i&&"none"!==i&&"string"===typeof i){const e=i.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-n.left}px)`:`translateX(${a.innerWidth+s-n.left}px)`:"right"===e?o?`translateX(-${n.right-o.left-s}px)`:`translateX(-${n.left+n.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-n.top}px)`:`translateY(${a.innerHeight+l-n.top}px)`:o?`translateY(-${n.top-o.top+n.height-l}px)`:`translateY(-${n.top+n.height-l}px)`}(e,t,"function"===typeof(n=r)?n():n);o&&(t.style.webkitTransform=o,t.style.transform=o)}var C=a.forwardRef((function(e,t){const r=(0,b.Z)(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:c,appear:u=!0,children:p,container:d,direction:f="down",easing:h=i,in:C,onEnter:P,onEntered:S,onEntering:T,onExit:M,onExited:E,onExiting:B,style:R,timeout:D=s,TransitionComponent:A=v.ZP}=e,j=(0,o.Z)(e,k),L=a.useRef(null),_=(0,y.Z)((0,m.Z)(p),L,t),O=e=>t=>{e&&(void 0===t?e(L.current):e(L.current,t))},I=O(((e,t)=>{w(f,e,d),(0,x.n)(e),P&&P(e,t)})),$=O(((e,t)=>{const o=(0,x.C)({timeout:D,style:R,easing:h},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",(0,n.Z)({},o)),e.style.transition=r.transitions.create("transform",(0,n.Z)({},o)),e.style.webkitTransform="none",e.style.transform="none",T&&T(e,t)})),N=O(S),H=O(B),z=O((e=>{const t=(0,x.C)({timeout:D,style:R,easing:h},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),w(f,e,d),M&&M(e)})),Y=O((e=>{e.style.webkitTransition="",e.style.transition="",E&&E(e)})),X=a.useCallback((()=>{L.current&&w(f,L.current,d)}),[f,d]);return a.useEffect((()=>{if(C||"down"===f||"right"===f)return;const e=(0,g.Z)((()=>{L.current&&w(f,L.current,d)})),t=(0,Z.Z)(L.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[f,C,d]),a.useEffect((()=>{C||X()}),[C,X]),(0,l.jsx)(A,(0,n.Z)({nodeRef:L,onEnter:I,onEntered:N,onEntering:$,onExit:z,onExited:Y,onExiting:H,addEndListener:e=>{c&&c(L.current,e)},appear:u,in:C,timeout:D},j,{children:(e,t)=>a.cloneElement(p,(0,n.Z)({ref:_,style:(0,n.Z)({visibility:"exited"!==e||C?void 0:"hidden"},R,p.props.style)},t))}))})),P=r(90629),S=r(98216),T=r(90948),M=r(14136),E=r(1588),B=r(34867);function R(e){return(0,B.ZP)("MuiDrawer",e)}(0,E.Z)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const D=["BackdropProps"],A=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],j=(e,t)=>{const{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,t.modal]},L=(0,T.ZP)(h.Z,{name:"MuiDrawer",slot:"Root",overridesResolver:j})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),_=(0,T.ZP)("div",{shouldForwardProp:M.Z,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:j})({flex:"0 0 auto"}),O=(0,T.ZP)(P.Z,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`paperAnchor${(0,S.Z)(r.anchor)}`],"temporary"!==r.variant&&t[`paperAnchorDocked${(0,S.Z)(r.anchor)}`]]}})((({theme:e,ownerState:t})=>(0,n.Z)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),I={left:"right",right:"left",top:"down",bottom:"up"};function $(e){return-1!==["left","right"].indexOf(e)}function N({direction:e},t){return"rtl"===e&&$(t)?I[t]:t}var H=a.forwardRef((function(e,t){const r=(0,u.i)({props:e,name:"MuiDrawer"}),i=(0,b.Z)(),s=(0,f.V)(),c={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:h="left",BackdropProps:v,children:m,className:g,elevation:y=16,hideBackdrop:x=!1,ModalProps:{BackdropProps:Z}={},onClose:k,open:w=!1,PaperProps:P={},SlideProps:T,TransitionComponent:M=C,transitionDuration:E=c,variant:B="temporary"}=r,j=(0,o.Z)(r.ModalProps,D),$=(0,o.Z)(r,A),H=a.useRef(!1);a.useEffect((()=>{H.current=!0}),[]);const z=N({direction:s?"rtl":"ltr"},h),Y=h,X=(0,n.Z)({},r,{anchor:Y,elevation:y,open:w,variant:B},$),W=(e=>{const{classes:t,anchor:r,variant:n}=e,o={root:["root"],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,S.Z)(r)}`,"temporary"!==n&&`paperAnchorDocked${(0,S.Z)(r)}`]};return(0,d.Z)(o,R,t)})(X),G=(0,l.jsx)(O,(0,n.Z)({elevation:"temporary"===B?y:0,square:!0},P,{className:(0,p.Z)(W.paper,P.className),ownerState:X,children:m}));if("permanent"===B)return(0,l.jsx)(_,(0,n.Z)({className:(0,p.Z)(W.root,W.docked,g),ownerState:X,ref:t},$,{children:G}));const V=(0,l.jsx)(M,(0,n.Z)({in:w,direction:I[z],timeout:E,appear:H.current},T,{children:G}));return"persistent"===B?(0,l.jsx)(_,(0,n.Z)({className:(0,p.Z)(W.root,W.docked,g),ownerState:X,ref:t},$,{children:V})):(0,l.jsx)(L,(0,n.Z)({BackdropProps:(0,n.Z)({},v,Z,{transitionDuration:E}),className:(0,p.Z)(W.root,W.modal,g),open:w,ownerState:X,onClose:k,hideBackdrop:x,ref:t},$,j,{children:V}))})),z=r(8038),Y=r(2068),X=r(58974);const W=["anchor","classes","className","width","style"],G=(0,T.ZP)("div",{shouldForwardProp:M.Z})((({theme:e,ownerState:t})=>(0,n.Z)({position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},"left"===t.anchor&&{right:"auto"},"right"===t.anchor&&{left:"auto",right:0},"top"===t.anchor&&{bottom:"auto",right:0},"bottom"===t.anchor&&{top:"auto",bottom:0,right:0})));var V=a.forwardRef((function(e,t){const{anchor:r,classes:a={},className:i,width:s,style:c}=e,u=(0,o.Z)(e,W),d=e;return(0,l.jsx)(G,(0,n.Z)({className:(0,p.Z)("PrivateSwipeArea-root",a.root,a[`anchor${(0,S.Z)(r)}`],i),ref:t,style:(0,n.Z)({[$(r)?"width":"height"]:s},c),ownerState:d},u))}));const F=["BackdropProps"],U=["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","allowSwipeInChildren","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"];let K=null;function q(e,t,r){return"right"===e?r.body.offsetWidth-t[0].pageX:t[0].pageX}function J(e,t,r){return"bottom"===e?r.innerHeight-t[0].clientY:t[0].clientY}function Q(e,t){return e?t.clientWidth:t.clientHeight}function ee(e,t,r,n){return Math.min(Math.max(r?t-e:n+t-e,0),n)}const te="undefined"!==typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent);var re=a.forwardRef((function(e,t){const r=(0,u.i)({name:"MuiSwipeableDrawer",props:e}),s=(0,b.Z)(),p={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:d="left",disableBackdropTransition:f=!1,disableDiscovery:h=!1,disableSwipeToOpen:v=te,hideBackdrop:m,hysteresis:g=.52,allowSwipeInChildren:k=!1,minFlingVelocity:w=450,ModalProps:{BackdropProps:C}={},onClose:P,onOpen:S,open:T=!1,PaperProps:M={},SwipeAreaProps:E,swipeAreaWidth:B=20,transitionDuration:R=p,variant:D="temporary"}=r,A=(0,o.Z)(r.ModalProps,F),j=(0,o.Z)(r,U),[L,_]=a.useState(!1),O=a.useRef({isSwiping:null}),I=a.useRef(),W=a.useRef(),G=a.useRef(),re=(0,y.Z)(M.ref,G),ne=a.useRef(!1),oe=a.useRef();(0,X.Z)((()=>{oe.current=null}),[T]);const ae=a.useCallback(((e,t={})=>{const{mode:r=null,changeTransition:n=!0}=t,o=N(s,d),a=-1!==["right","bottom"].indexOf(o)?1:-1,i=$(d),l=i?`translate(${a*e}px, 0)`:`translate(0, ${a*e}px)`,c=G.current.style;c.webkitTransform=l,c.transform=l;let u="";if(r&&(u=s.transitions.create("all",(0,x.C)({easing:void 0,style:void 0,timeout:R},{mode:r}))),n&&(c.webkitTransition=u,c.transition=u),!f&&!m){const t=W.current.style;t.opacity=1-e/Q(i,G.current),n&&(t.webkitTransition=u,t.transition=u)}}),[d,f,m,s,R]),ie=(0,Y.Z)((e=>{if(!ne.current)return;if(K=null,ne.current=!1,i.flushSync((()=>{_(!1)})),!O.current.isSwiping)return void(O.current.isSwiping=null);O.current.isSwiping=null;const t=N(s,d),r=$(d);let n;n=r?q(t,e.changedTouches,(0,z.Z)(e.currentTarget)):J(t,e.changedTouches,(0,Z.Z)(e.currentTarget));const o=r?O.current.startX:O.current.startY,a=Q(r,G.current),l=ee(n,o,T,a),c=l/a;Math.abs(O.current.velocity)>w&&(oe.current=1e3*Math.abs((a-l)/O.current.velocity)),T?O.current.velocity>w||c>g?P():ae(0,{mode:"exit"}):O.current.velocity<-w||1-c>g?S():ae(Q(r,G.current),{mode:"enter"})})),se=(e=!1)=>{if(!L){!e&&h&&k||i.flushSync((()=>{_(!0)}));const t=$(d);!T&&G.current&&ae(Q(t,G.current)+(h?15:-20),{changeTransition:!1}),O.current.velocity=0,O.current.lastTime=null,O.current.lastTranslate=null,O.current.paperHit=!1,ne.current=!0}},le=(0,Y.Z)((e=>{if(!G.current||!ne.current)return;if(null!==K&&K!==O.current)return;se(!0);const t=N(s,d),r=$(d),n=q(t,e.touches,(0,z.Z)(e.currentTarget)),o=J(t,e.touches,(0,Z.Z)(e.currentTarget));if(T&&G.current.contains(e.target)&&null===K){const t=function({domTreeShapes:e,start:t,current:r,anchor:n}){const o={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},i={x:"clientWidth",y:"clientHeight"};return e.some((e=>{let s=r>=t;"top"!==n&&"left"!==n||(s=!s);const l="left"===n||"right"===n?"x":"y",c=Math.round(e[o[l]]),u=c>0,p=c+e[i[l]]0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&r.push(e),e=e.parentElement}return r}(e.target,G.current),start:r?O.current.startX:O.current.startY,current:r?n:o,anchor:d});if(t)return void(K=!0);K=O.current}if(null==O.current.isSwiping){const t=Math.abs(n-O.current.startX),a=Math.abs(o-O.current.startY),i=r?t>a&&t>3:a>t&&a>3;if(i&&e.cancelable&&e.preventDefault(),!0===i||(r?a>3:t>3)){if(O.current.isSwiping=i,!i)return void ie(e);O.current.startX=n,O.current.startY=o,h||T||(r?O.current.startX-=20:O.current.startY-=20)}}if(!O.current.isSwiping)return;const a=Q(r,G.current);let i=r?O.current.startX:O.current.startY;T&&!O.current.paperHit&&(i=Math.min(i,a));const l=ee(r?n:o,i,T,a);if(T)if(O.current.paperHit)0===l&&(O.current.startX=n,O.current.startY=o);else{if(!(r?n{if(e.defaultPrevented)return;if(e.defaultMuiPrevented)return;if(T&&(m||!W.current.contains(e.target))&&!G.current.contains(e.target))return;const t=N(s,d),r=$(d),n=q(t,e.touches,(0,z.Z)(e.currentTarget)),o=J(t,e.touches,(0,Z.Z)(e.currentTarget));if(!T){var a;if(v||!(e.target===I.current||null!=(a=G.current)&&a.contains(e.target)&&("function"===typeof k?k(e,I.current,G.current):k)))return;if(r){if(n>B)return}else if(o>B)return}e.defaultMuiPrevented=!0,K=null,O.current.startX=n,O.current.startY=o,se()}));return a.useEffect((()=>{if("temporary"===D){const e=(0,z.Z)(G.current);return e.addEventListener("touchstart",ce),e.addEventListener("touchmove",le,{passive:!T}),e.addEventListener("touchend",ie),()=>{e.removeEventListener("touchstart",ce),e.removeEventListener("touchmove",le,{passive:!T}),e.removeEventListener("touchend",ie)}}}),[D,T,ce,le,ie]),a.useEffect((()=>()=>{K===O.current&&(K=null)}),[]),a.useEffect((()=>{T||_(!1)}),[T]),(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(H,(0,n.Z)({open:!("temporary"!==D||!L)||T,variant:D,ModalProps:(0,n.Z)({BackdropProps:(0,n.Z)({},C,{ref:W})},"temporary"===D&&{keepMounted:!0},A),hideBackdrop:m,PaperProps:(0,n.Z)({},M,{style:(0,n.Z)({pointerEvents:"temporary"!==D||T||k?"":"none"},M.style),ref:re}),anchor:d,transitionDuration:oe.current||R,onClose:P,ref:t},j)),!v&&"temporary"===D&&(0,l.jsx)(c,{children:(0,l.jsx)(V,(0,n.Z)({anchor:d,ref:I,width:B},E))})]})}))},10155:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(63366),o=r(87462),a=r(67294),i=r(63961),s=r(94780),l=r(28628),c=r(90948),u=r(1588),p=r(34867);function d(e){return(0,p.ZP)("MuiToolbar",e)}(0,u.Z)("MuiToolbar",["root","gutters","regular","dense"]);var f=r(85893);const h=["className","component","disableGutters","variant"],v=(0,c.ZP)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((({theme:e,ownerState:t})=>(0,o.Z)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar));var m=a.forwardRef((function(e,t){const r=(0,l.i)({props:e,name:"MuiToolbar"}),{className:a,component:c="div",disableGutters:u=!1,variant:p="regular"}=r,m=(0,n.Z)(r,h),g=(0,o.Z)({},r,{component:c,disableGutters:u,variant:p}),y=(e=>{const{classes:t,disableGutters:r,variant:n}=e,o={root:["root",!r&&"gutters",n]};return(0,s.Z)(o,d,t)})(g);return(0,f.jsx)(v,(0,o.Z)({as:c,className:(0,i.Z)(y.root,a),ref:t,ownerState:g},m))}))},24036:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(87462),o=r(67294);var a=o.createContext(null);function i(){return o.useContext(a)}var s="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",l=r(85893);var c=function(e){const{children:t,theme:r}=e,c=i(),u=o.useMemo((()=>{const e=null===c?r:function(e,t){if("function"===typeof t)return t(e);return(0,n.Z)({},e,t)}(c,r);return null!=e&&(e[s]=null!==c),e}),[r,c]);return(0,l.jsx)(a.Provider,{value:u,children:t})},u=r(87685),p=r(34168),d=r(82056),f=r(32842);const h={};function v(e,t,r,a=!1){return o.useMemo((()=>{const o=e&&t[e]||t;if("function"===typeof r){const i=r(o),s=e?(0,n.Z)({},t,{[e]:i}):i;return a?()=>s:s}return e?(0,n.Z)({},t,{[e]:r}):(0,n.Z)({},t,r)}),[e,t,r,a])}var m=function(e){const{children:t,theme:r,themeId:n}=e,o=(0,p.Z)(h),a=i()||h,s=v(n,o,r),m=v(n,a,r,!0),g="rtl"===s.direction;return(0,l.jsx)(c,{theme:m,children:(0,l.jsx)(u.T.Provider,{value:s,children:(0,l.jsx)(d.Z,{value:g,children:(0,l.jsx)(f.Z,{value:null==s?void 0:s.components,children:t})})})})}},71210:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,r,n){return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48418:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(94941).Z;r(45753).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(92648).Z,a=r(17273).Z,i=o(r(67294)),s=r(76273),l=r(22725),c=r(63462),u=r(21018),p=r(57190),d=r(71210),f=r(98684),h={};function v(e,t,r,n){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,r,n)).catch((function(e){0}));var o=n&&"undefined"!==typeof n.locale?n.locale:e&&e.locale;h[t+"%"+r+(o?"%"+o:"")]=!0}}var m=i.default.forwardRef((function(e,t){var r,o=e.href,m=e.as,g=e.children,y=e.prefetch,b=e.passHref,x=e.replace,Z=e.shallow,k=e.scroll,w=e.locale,C=e.onClick,P=e.onMouseEnter,S=e.onTouchStart,T=e.legacyBehavior,M=void 0===T?!0!==Boolean(!1):T,E=a(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);r=g,!M||"string"!==typeof r&&"number"!==typeof r||(r=i.default.createElement("a",null,r));var B=!1!==y,R=i.default.useContext(c.RouterContext),D=i.default.useContext(u.AppRouterContext);D&&(R=D);var A,j=i.default.useMemo((function(){var e=n(s.resolveHref(R,o,!0),2),t=e[0],r=e[1];return{href:t,as:m?s.resolveHref(R,m):r||t}}),[R,o,m]),L=j.href,_=j.as,O=i.default.useRef(L),I=i.default.useRef(_);M&&(A=i.default.Children.only(r));var $=M?A&&"object"===typeof A&&A.ref:t,N=n(p.useIntersection({rootMargin:"200px"}),3),H=N[0],z=N[1],Y=N[2],X=i.default.useCallback((function(e){I.current===_&&O.current===L||(Y(),I.current=_,O.current=L),H(e),$&&("function"===typeof $?$(e):"object"===typeof $&&($.current=e))}),[_,$,L,Y,H]);i.default.useEffect((function(){var e=z&&B&&s.isLocalURL(L),t="undefined"!==typeof w?w:R&&R.locale,r=h[L+"%"+_+(t?"%"+t:"")];e&&!r&&v(R,L,_,{locale:t})}),[_,L,z,w,B,R]);var W={ref:X,onClick:function(e){M||"function"!==typeof C||C(e),M&&A.props&&"function"===typeof A.props.onClick&&A.props.onClick(e),e.defaultPrevented||function(e,t,r,n,o,a,l,c,u,p){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&s.isLocalURL(r)){e.preventDefault();var d=function(){"beforePopState"in t?t[o?"replace":"push"](r,n,{shallow:a,locale:c,scroll:l}):t[o?"replace":"push"](r,{forceOptimisticNavigation:!p})};u?i.default.startTransition(d):d()}}(e,R,L,_,x,Z,k,w,Boolean(D),B)},onMouseEnter:function(e){M||"function"!==typeof P||P(e),M&&A.props&&"function"===typeof A.props.onMouseEnter&&A.props.onMouseEnter(e),!B&&D||s.isLocalURL(L)&&v(R,L,_,{priority:!0})},onTouchStart:function(e){M||"function"!==typeof S||S(e),M&&A.props&&"function"===typeof A.props.onTouchStart&&A.props.onTouchStart(e),!B&&D||s.isLocalURL(L)&&v(R,L,_,{priority:!0})}};if(!M||b||"a"===A.type&&!("href"in A.props)){var G="undefined"!==typeof w?w:R&&R.locale,V=R&&R.isLocaleDomain&&d.getDomainLocale(_,G,R.locales,R.domainLocales);W.href=V||f.addBasePath(l.addLocale(_,G,R&&R.defaultLocale))}return M?i.default.cloneElement(A,W):i.default.createElement("a",Object.assign({},E,W),r)}));t.default=m,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},57190:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(94941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,r=e.rootMargin,c=e.disabled||!i,u=n(o.useState(!1),2),p=u[0],d=u[1],f=n(o.useState(null),2),h=f[0],v=f[1];o.useEffect((function(){if(i){if(c||p)return;if(h&&h.tagName){var e=function(e,t,r){var n=function(e){var t,r={root:e.root||null,margin:e.rootMargin||""},n=l.find((function(e){return e.root===r.root&&e.margin===r.margin}));if(n&&(t=s.get(n)))return t;var o=new Map,a=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)}))}),e);return t={id:r,observer:a,elements:o},l.push(r),s.set(r,t),t}(r),o=n.id,a=n.observer,i=n.elements;return i.set(e,t),a.observe(e),function(){if(i.delete(e),a.unobserve(e),0===i.size){a.disconnect(),s.delete(o);var t=l.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&l.splice(t,1)}}}(h,(function(e){return e&&d(e)}),{root:null==t?void 0:t.current,rootMargin:r});return e}}else if(!p){var n=a.requestIdleCallback((function(){return d(!0)}));return function(){return a.cancelIdleCallback(n)}}}),[h,c,r,t,p]);var m=o.useCallback((function(){d(!1)}),[]);return[v,p,m]};var o=r(67294),a=r(9311),i="function"===typeof IntersectionObserver,s=new Map,l=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21018:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var n=(0,r(92648).Z)(r(67294)),o=n.default.createContext(null);t.AppRouterContext=o;var a=n.default.createContext(null);t.LayoutRouterContext=a;var i=n.default.createContext(null);t.GlobalLayoutRouterContext=i;var s=n.default.createContext(null);t.TemplateContext=s},41664:function(e,t,r){e.exports=r(48418)}}]);