"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2337],{48289:function(f,c,a){var g=a(26831),h=a(28193),d=a(2784),i=a(6277),j=a(77597),k=a(47591),b=a(65992),l=a(43853),m=a(24215),n=a(52322);let o=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],p=d=>{let{absolute:e,children:b,classes:f,flexItem:g,light:h,orientation:a,textAlign:c,variant:i}=d;return(0,j.Z)({root:["root",e&&"absolute",i,h&&"light","vertical"===a&&"vertical",g&&"flexItem",b&&"withChildren",b&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},m.V,f)},q=(0,b.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver(c,b){let{ownerState:a}=c;return[b.root,a.absolute&&b.absolute,b[a.variant],a.light&&b.light,"vertical"===a.orientation&&b.vertical,a.flexItem&&b.flexItem,a.children&&b.withChildren,a.children&&"vertical"===a.orientation&&b.withChildrenVertical,"right"===a.textAlign&&"vertical"!==a.orientation&&b.textAlignRight,"left"===a.textAlign&&"vertical"!==a.orientation&&b.textAlignLeft]}})(({theme:b,ownerState:a})=>(0,h.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:b.palette.divider,borderBottomWidth:"thin"},a.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},a.light&&{borderColor:(0,k.Fq)(b.palette.divider,.08)},"inset"===a.variant&&{marginLeft:72},"middle"===a.variant&&"horizontal"===a.orientation&&{marginLeft:b.spacing(2),marginRight:b.spacing(2)},"middle"===a.variant&&"vertical"===a.orientation&&{marginTop:b.spacing(1),marginBottom:b.spacing(1)},"vertical"===a.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},a.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:a,ownerState:b})=>(0,h.Z)({},b.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${a.palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:b,ownerState:a})=>(0,h.Z)({},a.children&&"vertical"===a.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${b.palette.divider}`,transform:"translateX(0%)"}}),({ownerState:a})=>(0,h.Z)({},"right"===a.textAlign&&"vertical"!==a.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===a.textAlign&&"vertical"!==a.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),r=(0,b.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver(b,a){let{ownerState:c}=b;return[a.wrapper,"vertical"===c.orientation&&a.wrapperVertical]}})(({theme:a,ownerState:b})=>(0,h.Z)({display:"inline-block",paddingLeft:`calc(${a.spacing(1)} * 1.2)`,paddingRight:`calc(${a.spacing(1)} * 1.2)`},"vertical"===b.orientation&&{paddingTop:`calc(${a.spacing(1)} * 1.2)`,paddingBottom:`calc(${a.spacing(1)} * 1.2)`})),e=d.forwardRef(function(j,k){let a=(0,l.Z)({props:j,name:"MuiDivider"}),{absolute:m=!1,children:b,className:s,component:c=b?"div":"hr",flexItem:t=!1,light:u=!1,orientation:v="horizontal",role:e="hr"!==c?"separator":void 0,textAlign:w="center",variant:x="fullWidth"}=a,y=(0,g.Z)(a,o),d=(0,h.Z)({},a,{absolute:m,component:c,flexItem:t,light:u,orientation:v,role:e,textAlign:w,variant:x}),f=p(d);return(0,n.jsx)(q,(0,h.Z)({as:c,className:(0,i.default)(f.root,s),role:e,ref:k,ownerState:d},y,{children:b?(0,n.jsx)(r,{className:f.wrapper,ownerState:d,children:b}):null}))});c.Z=e},24215:function(e,b,a){a.d(b,{V:function(){return g}});var f=a(72606),c=a(98922);function g(a){return(0,f.Z)("MuiDivider",a)}let d=(0,c.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);b.Z=d},6693:function(f,c,a){var g=a(28193),h=a(26831),d=a(2784),i=a(37198),j=a(47746),k=a(13331),l=a(98659),m=a(52322);let n=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function e(a){return`scale(${a}, ${a**2})`}let o={entering:{opacity:1,transform:e(1)},entered:{opacity:1,transform:"none"}},b=d.forwardRef(function(b,p){let{addEndListener:G,appear:q=!0,children:r,easing:H,in:s,onEnter:I,onEntered:t,onEntering:u,onExit:J,onExited:v,onExiting:w,style:K,timeout:c="auto",TransitionComponent:x=i.ZP}=b,y=(0,h.Z)(b,n),L=d.useRef(),M=d.useRef(),N=(0,j.Z)(),f=d.useRef(null),z=(0,l.Z)(r.ref,p),O=(0,l.Z)(f,z),a=a=>b=>{if(a){let c=f.current;void 0===b?a(c):a(c,b)}},A=a(u),B=a((b,e)=>{(0,k.n)(b);let{duration:f,delay:d,easing:g}=(0,k.C)({style:K,timeout:c,easing:H},{mode:"enter"}),a;"auto"===c?(a=N.transitions.getAutoHeightDuration(b.clientHeight),M.current=a):a=f,b.style.transition=[N.transitions.create("opacity",{duration:a,delay:d}),N.transitions.create("transform",{duration:.666*a,delay:d,easing:g})].join(","),I&&I(b,e)}),C=a(t),D=a(w),E=a(b=>{let{duration:f,delay:d,easing:g}=(0,k.C)({style:K,timeout:c,easing:H},{mode:"exit"}),a;"auto"===c?(a=N.transitions.getAutoHeightDuration(b.clientHeight),M.current=a):a=f,b.style.transition=[N.transitions.create("opacity",{duration:a,delay:d}),N.transitions.create("transform",{duration:.666*a,delay:d||.333*a,easing:g})].join(","),b.style.opacity="0",b.style.transform=e(.75),J&&J(b)}),F=a(v);return d.useEffect(()=>()=>{clearTimeout(L.current)},[]),(0,m.jsx)(x,(0,g.Z)({appear:q,in:s,nodeRef:f,onEnter:B,onEntered:C,onEntering:A,onExit:E,onExited:F,onExiting:D,addEndListener(a){"auto"===c&&(L.current=setTimeout(a,M.current||0)),G&&G(f.current,a)},timeout:"auto"===c?null:c},y,{children:(a,b)=>d.cloneElement(r,(0,g.Z)({style:(0,g.Z)({opacity:0,transform:e(.75),visibility:"exited"!==a||s?void 0:"hidden"},o[a],K,r.props.style),ref:O},b))}))});b.muiSupportAuto=!0,c.Z=b},56101:function(s,g,a){a.d(g,{Z:function(){return aE}});var t=a(28193),b=a(2784),u=a(29172),v=a(93918),w=a(84501),x=a(21399),y=a(36855);function z(a){if(null==a)return window;if("[object Window]"!==a.toString()){var b=a.ownerDocument;return b?b.defaultView||window:window}return a}function A(a){var b=z(a).Element;return a instanceof b||a instanceof Element}function B(a){var b=z(a).HTMLElement;return a instanceof b||a instanceof HTMLElement}function C(a){if("undefined"==typeof ShadowRoot)return!1;var b=z(a).ShadowRoot;return a instanceof b||a instanceof ShadowRoot}var D=Math.max,E=Math.min,F=Math.round;function G(d,e){void 0===e&&(e=!1);var a=d.getBoundingClientRect(),b=1,c=1;if(B(d)&&e){var f=d.offsetHeight,g=d.offsetWidth;g>0&&(b=F(a.width)/g||1),f>0&&(c=F(a.height)/f||1)}return{width:a.width/b,height:a.height/c,top:a.top/c,right:a.right/b,bottom:a.bottom/c,left:a.left/b,x:a.left/b,y:a.top/c}}function H(b){var a=z(b),c=a.pageXOffset,d=a.pageYOffset;return{scrollLeft:c,scrollTop:d}}function I(a){return a?(a.nodeName||"").toLowerCase():null}function J(a){return((A(a)?a.ownerDocument:a.document)||window.document).documentElement}function K(a){return G(J(a)).left+H(a).scrollLeft}function L(a){return z(a).getComputedStyle(a)}function M(b){var a=L(b),c=a.overflow,d=a.overflowX,e=a.overflowY;return/auto|scroll|overlay|hidden/.test(c+e+d)}function N(a){var b=G(a),c=a.offsetWidth,d=a.offsetHeight;return 1>=Math.abs(b.width-c)&&(c=b.width),1>=Math.abs(b.height-d)&&(d=b.height),{x:a.offsetLeft,y:a.offsetTop,width:c,height:d}}function O(a){return"html"===I(a)?a:a.assignedSlot||a.parentNode||(C(a)?a.host:null)||J(a)}function P(a){return["html","body","#document"].indexOf(I(a))>=0?a.ownerDocument.body:B(a)&&M(a)?a:P(O(a))}function Q(c,b){void 0===b&&(b=[]);var d,a=P(c),e=a===(null==(d=c.ownerDocument)?void 0:d.body),f=z(a),g=e?[f].concat(f.visualViewport||[],M(a)?a:[]):a,h=b.concat(g);return e?h:h.concat(Q(O(g)))}function R(a){return["table","td","th"].indexOf(I(a))>=0}function S(a){return B(a)&&"fixed"!==L(a).position?a.offsetParent:null}function T(b){for(var c=z(b),a=S(b);a&&R(a)&&"static"===L(a).position;)a=S(a);return a&&("html"===I(a)||"body"===I(a)&&"static"===L(a).position)?c:a||function(c){var d=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&B(c)&&"fixed"===L(c).position)return null;for(var b=O(c);B(b)&&0>["html","body"].indexOf(I(b));){var a=L(b);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain|| -1!==["transform","perspective"].indexOf(a.willChange)||d&&"filter"===a.willChange||d&&a.filter&&"none"!==a.filter)return b;b=b.parentNode}return null}(b)||c}var h="top",i="bottom",j="right",k="left",l="auto",d=[h,i,j,k],U="start",V="viewport",W="popper",X=d.reduce(function(b,a){return b.concat([a+"-"+U,a+"-end"])},[]),Y=[].concat(d,[l]).reduce(function(b,a){return b.concat([a,a+"-"+U,a+"-end"])},[]),Z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],m={placement:"bottom",modifiers:[],strategy:"absolute"};function $(){for(var b=arguments.length,c=new Array(b),a=0;a=0?"x":"y"}function ad(g){var b,a=g.reference,c=g.element,e=g.placement,l=e?aa(e):null,o=e?ab(e):null,m=a.x+a.width/2-c.width/2,n=a.y+a.height/2-c.height/2;switch(l){case h:b={x:m,y:a.y-c.height};break;case i:b={x:m,y:a.y+a.height};break;case j:b={x:a.x+a.width,y:n};break;case k:b={x:a.x-c.width,y:n};break;default:b={x:a.x,y:a.y}}var d=l?ac(l):null;if(null!=d){var f="y"===d?"height":"width";switch(o){case U:b[d]=b[d]-(a[f]/2-c[f]/2);break;case"end":b[d]=b[d]+(a[f]/2-c[f]/2)}}return b}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function af(c){var g,l,o=c.popper,t=c.popperRect,d=c.placement,u=c.variation,m=c.offsets,v=c.position,p=c.gpuAcceleration,w=c.adaptive,q=c.roundOffsets,x=c.isFixed,y=m.x,a=void 0===y?0:y,A=m.y,b=void 0===A?0:A,B="function"==typeof q?q({x:a,y:b}):{x:a,y:b};a=B.x,b=B.y;var C=m.hasOwnProperty("x"),D=m.hasOwnProperty("y"),r=k,s=h,e=window;if(w){var n=T(o),E="clientHeight",G="clientWidth";n===z(o)&&"static"!==L(n=J(o)).position&&"absolute"===v&&(E="scrollHeight",G="scrollWidth"),(d===h||(d===k||d===j)&&"end"===u)&&(s=i,b-=(x&&e.visualViewport?e.visualViewport.height:n[E])-t.height,b*=p?1:-1),(d===k||(d===h||d===i)&&"end"===u)&&(r=j,a-=(x&&e.visualViewport?e.visualViewport.width:n[G])-t.width,a*=p?1:-1)}var H,I,K,f,M=Object.assign({position:v},w&&ae),N=!0===q?(I=(H={x:a,y:b}).x,K=H.y,f=window.devicePixelRatio||1,{x:F(I*f)/f||0,y:F(K*f)/f||0}):{x:a,y:b};return(a=N.x,b=N.y,p)?Object.assign({},M,((l={})[s]=D?"0":"",l[r]=C?"0":"",l.transform=1>=(e.devicePixelRatio||1)?"translate("+a+"px, "+b+"px)":"translate3d("+a+"px, "+b+"px, 0)",l)):Object.assign({},M,((g={})[s]=D?b+"px":"",g[r]=C?a+"px":"",g.transform="",g))}var ag={left:"right",right:"left",bottom:"top",top:"bottom"};function ah(a){return a.replace(/left|right|bottom|top/g,function(a){return ag[a]})}var ai={start:"end",end:"start"};function aj(a){return a.replace(/start|end/g,function(a){return ai[a]})}function ak(c,b){var d=b.getRootNode&&b.getRootNode();if(c.contains(b))return!0;if(d&&C(d)){var a=b;do{if(a&&c.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function al(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function am(q,g){var h,r,i,e,j,k,l,m,c,a,f,s,d,n,b,o,t,p,u;return g===V?al((r=z(h=q),i=J(h),e=r.visualViewport,j=i.clientWidth,k=i.clientHeight,l=0,m=0,e&&(j=e.width,k=e.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=e.offsetLeft,m=e.offsetTop)),{width:j,height:k,x:l+K(h),y:m})):A(g)?((a=G(c=g)).top=a.top+c.clientTop,a.left=a.left+c.clientLeft,a.bottom=a.top+c.clientHeight,a.right=a.left+c.clientWidth,a.width=c.clientWidth,a.height=c.clientHeight,a.x=a.left,a.y=a.top,a):al((f=J(q),d=J(f),n=H(f),b=null==(s=f.ownerDocument)?void 0:s.body,o=D(d.scrollWidth,d.clientWidth,b?b.scrollWidth:0,b?b.clientWidth:0),t=D(d.scrollHeight,d.clientHeight,b?b.scrollHeight:0,b?b.clientHeight:0),p=-n.scrollLeft+K(f),u=-n.scrollTop,"rtl"===L(b||d).direction&&(p+=D(d.clientWidth,b?b.clientWidth:0)-o),{width:o,height:t,x:p,y:u}))}function an(){return{top:0,right:0,bottom:0,left:0}}function ao(a){return Object.assign({},an(),a)}function ap(b,a){return a.reduce(function(a,c){return a[c]=b,a},{})}function aq(b,m){void 0===m&&(m={});var n,o,r,e,s,R,t,u,v,a,c=m,w=c.placement,x=void 0===w?b.placement:w,y=c.boundary,z=c.rootBoundary,C=c.elementContext,f=void 0===C?W:C,F=c.altBoundary,H=c.padding,p=void 0===H?0:H,g=ao("number"!=typeof p?p:ap(p,d)),K=b.rects.popper,q=b.elements[void 0!==F&&F?f===W?"reference":W:f],k=(n=A(q)?q:q.contextElement||J(b.elements.popper),o=void 0===y?"clippingParents":y,r=void 0===z?V:z,t="clippingParents"===o?(s=Q(O(e=n)),A(R=["absolute","fixed"].indexOf(L(e).position)>=0&&B(e)?T(e):e)?s.filter(function(a){return A(a)&&ak(a,R)&&"body"!==I(a)}):[]):[].concat(o),v=(u=[].concat(t,[r]))[0],a=u.reduce(function(a,c){var b=am(n,c);return a.top=D(b.top,a.top),a.right=E(b.right,a.right),a.bottom=E(b.bottom,a.bottom),a.left=D(b.left,a.left),a},am(n,v)),a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a),M=G(b.elements.reference),S=ad({reference:M,element:K,strategy:"absolute",placement:x}),U=al(Object.assign({},K,S)),l=f===W?U:M,N={top:k.top-l.top+g.top,bottom:l.bottom-k.bottom+g.bottom,left:k.left-l.left+g.left,right:l.right-k.right+g.right},P=b.modifiersData.offset;if(f===W&&P){var X=P[x];Object.keys(N).forEach(function(a){var b=[j,i].indexOf(a)>=0?1:-1,c=[h,i].indexOf(a)>=0?"y":"x";N[a]+=X[c]*b})}return N}function ar(a,b,c){return D(a,E(b,c))}function as(b,c,a){return void 0===a&&(a={x:0,y:0}),{top:b.top-c.height-a.y,right:b.right-c.width+a.x,bottom:b.bottom-c.height+a.y,left:b.left-c.width-a.x}}function at(a){return[h,j,i,k].some(function(b){return a[b]>=0})}var n,e,f,o,c,p,au=(o=void 0===(f=(e=n={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(a){var b=a.state,f=a.instance,c=a.options,d=c.scroll,g=void 0===d||d,e=c.resize,h=void 0===e||e,i=z(b.elements.popper),j=[].concat(b.scrollParents.reference,b.scrollParents.popper);return g&&j.forEach(function(a){a.addEventListener("scroll",f.update,_)}),h&&i.addEventListener("resize",f.update,_),function(){g&&j.forEach(function(a){a.removeEventListener("scroll",f.update,_)}),h&&i.removeEventListener("resize",f.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(b){var a=b.state,c=b.name;a.modifiersData[c]=ad({reference:a.rects.reference,element:a.rects.popper,strategy:"absolute",placement:a.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(c){var a=c.state,b=c.options,d=b.gpuAcceleration,e=b.adaptive,f=b.roundOffsets,g=void 0===f||f,h={placement:aa(a.placement),variation:ab(a.placement),popper:a.elements.popper,popperRect:a.rects.popper,gpuAcceleration:void 0===d||d,isFixed:"fixed"===a.options.strategy};null!=a.modifiersData.popperOffsets&&(a.styles.popper=Object.assign({},a.styles.popper,af(Object.assign({},h,{offsets:a.modifiersData.popperOffsets,position:a.options.strategy,adaptive:void 0===e||e,roundOffsets:g})))),null!=a.modifiersData.arrow&&(a.styles.arrow=Object.assign({},a.styles.arrow,af(Object.assign({},h,{offsets:a.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-placement":a.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(a){var b=a.state;Object.keys(b.elements).forEach(function(a){var d=b.styles[a]||{},e=b.attributes[a]||{},c=b.elements[a];B(c)&&I(c)&&(Object.assign(c.style,d),Object.keys(e).forEach(function(a){var b=e[a];!1===b?c.removeAttribute(a):c.setAttribute(a,!0===b?"":b)}))})},effect:function(c){var a=c.state,b={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(a.elements.popper.style,b.popper),a.styles=b,a.elements.arrow&&Object.assign(a.elements.arrow.style,b.arrow),function(){Object.keys(a.elements).forEach(function(c){var d=a.elements[c],e=a.attributes[c]||{},f=Object.keys(a.styles.hasOwnProperty(c)?a.styles[c]:b[c]).reduce(function(a,b){return a[b]="",a},{});B(d)&&I(d)&&(Object.assign(d.style,f),Object.keys(e).forEach(function(a){d.removeAttribute(a)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(b){var a=b.state,f=b.options,g=b.name,c=f.offset,m=void 0===c?[0,0]:c,d=Y.reduce(function(g,i){var e,l,d,f,n,o,b,c;return g[i]=(e=i,l=a.rects,d=m,f=aa(e),n=[k,h].indexOf(f)>=0?-1:1,b=(o="function"==typeof d?d(Object.assign({},l,{placement:e})):d)[0],c=o[1],b=b||0,c=(c||0)*n,[k,j].indexOf(f)>=0?{x:c,y:b}:{x:b,y:c}),g},{}),e=d[a.placement],i=e.x,l=e.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=l),a.modifiersData[g]=d}},{name:"flip",enabled:!0,phase:"main",fn:function(m){var a=m.state,b=m.options,s=m.name;if(!a.modifiersData[s]._skip){for(var t=b.mainAxis,C=void 0===t||t,u=b.altAxis,D=void 0===u||u,E=b.fallbackPlacements,F=b.padding,G=b.boundary,H=b.rootBoundary,I=b.altBoundary,v=b.flipVariations,w=void 0===v||v,R=b.allowedAutoPlacements,c=a.options.placement,J=aa(c),K=E||(J!==c&&w?function(a){if(aa(a)===l)return[];var b=ah(a);return[aj(a),b,aj(b)]}(c):[ah(c)]),n=[c].concat(K).reduce(function(m,e){var n,o,b,h,p,q,r,i,f,s,j,g,c,k;return m.concat(aa(e)===l?(n=a,h=(b=o={placement:e,boundary:G,rootBoundary:H,padding:F,flipVariations:w,allowedAutoPlacements:R}).placement,p=b.boundary,q=b.rootBoundary,r=b.padding,i=b.flipVariations,f=b.allowedAutoPlacements,s=void 0===f?Y:f,j=ab(h),g=j?i?X:X.filter(function(a){return ab(a)===j}):d,c=g.filter(function(a){return s.indexOf(a)>=0}),0===c.length&&(c=g),k=c.reduce(function(b,a){return b[a]=aq(n,{placement:a,boundary:p,rootBoundary:q,padding:r})[aa(a)],b},{}),Object.keys(k).sort(function(a,b){return k[a]-k[b]})):e)},[]),L=a.rects.reference,M=a.rects.popper,N=new Map,x=!0,o=n[0],p=0;p=0,B=A?"width":"height",q=aq(a,{placement:e,boundary:G,rootBoundary:H,altBoundary:I,padding:F}),f=A?z?j:k:z?i:h;L[B]>M[B]&&(f=ah(f));var O=ah(f),g=[];if(C&&g.push(q[y]<=0),D&&g.push(q[f]<=0,q[O]<=0),g.every(function(a){return a})){o=e,x=!1;break}N.set(e,g)}if(x)for(var P=w?3:1,Q=function(b){var a=n.find(function(c){var a=N.get(c);if(a)return a.slice(0,b).every(function(a){return a})});if(a)return o=a,"break"},r=P;r>0&&"break"!==Q(r);r--);a.placement!==o&&(a.modifiersData[s]._skip=!0,a.placement=o,a.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(v){var aC,a=v.state,d=v.options,aj=v.name,C=d.mainAxis,F=d.altAxis,ak=d.boundary,al=d.rootBoundary,am=d.altBoundary,ao=d.padding,G=d.tether,e=void 0===G||G,H=d.tetherOffset,w=void 0===H?0:H,q=aq(a,{boundary:ak,rootBoundary:al,padding:ao,altBoundary:am}),I=aa(a.placement),x=ab(a.placement),J=!x,b=ac(I),n="x"===b?"y":"x",o=a.modifiersData.popperOffsets,f=a.rects.reference,p=a.rects.popper,r="function"==typeof w?w(Object.assign({},a.rects,{placement:a.placement})):w,l="number"==typeof r?{mainAxis:r,altAxis:r}:Object.assign({mainAxis:0,altAxis:0},r),s=a.modifiersData.offset?a.modifiersData.offset[a.placement]:null,y={x:0,y:0};if(o){if(void 0===C||C){var K,L="y"===b?h:k,M="y"===b?i:j,c="y"===b?"height":"width",m=o[b],O=m+q[L],P=m-q[M],Q=e?-p[c]/2:0,ap=x===U?f[c]:p[c],as=x===U?-p[c]:-f[c],R=a.elements.arrow,at=e&&R?N(R):{width:0,height:0},S=a.modifiersData["arrow#persistent"]?a.modifiersData["arrow#persistent"].padding:an(),V=S[L],W=S[M],t=ar(0,f[c],at[c]),au=J?f[c]/2-Q-t-V-l.mainAxis:ap-t-V-l.mainAxis,av=J?-f[c]/2+Q+t+W+l.mainAxis:as+t+W+l.mainAxis,z=a.elements.arrow&&T(a.elements.arrow),aw=z?"y"===b?z.clientTop||0:z.clientLeft||0:0,X=null!=(K=null==s?void 0:s[b])?K:0,ax=m+au-X-aw,ay=m+av-X,Y=ar(e?E(O,ax):O,m,e?D(P,ay):P);o[b]=Y,y[b]=Y-m}if(void 0!==F&&F){var Z,$,az,A,_,aA="x"===b?h:k,aB="x"===b?i:j,g=o[n],u="y"===n?"height":"width",ad=g+q[aA],ae=g-q[aB],B=-1!==[h,k].indexOf(I),af=null!=(Z=null==s?void 0:s[n])?Z:0,ag=B?ad:g-f[u]-p[u]-af+l.altAxis,ah=B?g+f[u]+p[u]-af-l.altAxis:ae,ai=e&&B?($=ag,(_=ar($,az=g,A=ah))>A?A:_):ar(e?ag:ad,g,e?ah:ae);o[n]=ai,y[n]=ai-g}a.modifiersData[aj]=y}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(f){var g,a=f.state,v=f.name,w=f.options,l=a.elements.arrow,m=a.modifiersData.popperOffsets,p=aa(a.placement),b=ac(p),x=[k,j].indexOf(p)>=0,e=x?"height":"width";if(l&&m){var c,n,q=(c=w.padding,n=a,ao("number"!=typeof(c="function"==typeof c?c(Object.assign({},n.rects,{placement:n.placement})):c)?c:ap(c,d))),r=N(l),y=a.rects.reference[e]+a.rects.reference[b]-m[b]-a.rects.popper[e],z=m[b]-a.rects.reference[b],o=T(l),s=o?"y"===b?o.clientHeight||0:o.clientWidth||0:0,A=q["y"===b?h:k],B=s-r[e]-q["y"===b?i:j],t=s/2-r[e]/2+(y/2-z/2),u=ar(A,t,B),C=b;a.modifiersData[v]=((g={})[C]=u,g.centerOffset=u-t,g)}},effect:function(c){var b=c.state,d=c.options.element,a=void 0===d?"[data-popper-arrow]":d;if(null!=a)("string"!=typeof a||(a=b.elements.popper.querySelector(a)))&&ak(b.elements.popper,a)&&(b.elements.arrow=a)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(b){var a=b.state,g=b.name,h=a.rects.reference,i=a.rects.popper,j=a.modifiersData.preventOverflow,k=aq(a,{elementContext:"reference"}),l=aq(a,{altBoundary:!0}),c=as(k,h),d=as(l,i,j),e=at(c),f=at(d);a.modifiersData[g]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:e,hasPopperEscaped:f},a.attributes.popper=Object.assign({},a.attributes.popper,{"data-popper-reference-hidden":e,"data-popper-escaped":f})}}]}).defaultModifiers)?[]:f,c=e.defaultOptions,p=void 0===c?m:c,function(c,d,a){void 0===a&&(a=p);var e={placement:"bottom",orderedModifiers:[],options:Object.assign({},m,p),modifiersData:{},elements:{reference:c,popper:d},attributes:{},styles:{}},f=[],g=!1,b={state:e,setOptions:function(a){var l,f,m,g,j="function"==typeof a?a(e.options):a;i(),e.options=Object.assign({},p,e.options,j),e.scrollParents={reference:A(c)?Q(c):c.contextElement?Q(c.contextElement):[],popper:Q(d)};var k=(g=function(a){var c=new Map,d=new Set,b=[];function e(a){d.add(a.name),[].concat(a.requires||[],a.requiresIfExists||[]).forEach(function(a){if(!d.has(a)){var b=c.get(a);b&&e(b)}}),b.push(a)}return a.forEach(function(a){c.set(a.name,a)}),a.forEach(function(a){d.has(a.name)||e(a)}),b}((f=[].concat(o,e.options.modifiers).reduce(function(c,a){var b=c[a.name];return c[a.name]=b?Object.assign({},b,a,{options:Object.assign({},b.options,a.options),data:Object.assign({},b.data,a.data)}):a,c},{}),Object.keys(f).map(function(a){return f[a]}))),Z.reduce(function(a,b){return a.concat(g.filter(function(a){return a.phase===b}))},[]));return e.orderedModifiers=k.filter(function(a){return a.enabled}),h(),b.update()},forceUpdate:function(){if(!g){var d,o,p,a,q,k,l,r,s,t,u,h,f,i,c,v=e.elements,w=v.reference,m=v.popper;if($(w,m)){e.rects={reference:(p=w,a=T(m),q="fixed"===e.options.strategy,k=B(a),u=B(a)&&(s=F((r=(l=a).getBoundingClientRect()).width)/l.offsetWidth||1,t=F(r.height)/l.offsetHeight||1,1!==s||1!==t),h=J(a),f=G(p,u),i={scrollLeft:0,scrollTop:0},c={x:0,y:0},(k|| !k&&!q)&&(("body"!==I(a)||M(h))&&(i=(d=a)!==z(d)&&B(d)?{scrollLeft:(o=d).scrollLeft,scrollTop:o.scrollTop}:H(d)),B(a)?(c=G(a,!0),c.x+=a.clientLeft,c.y+=a.clientTop):h&&(c.x=K(h))),{x:f.left+i.scrollLeft-c.x,y:f.top+i.scrollTop-c.y,width:f.width,height:f.height}),popper:N(m)},e.reset=!1,e.placement=e.options.placement,e.orderedModifiers.forEach(function(a){return e.modifiersData[a.name]=Object.assign({},a.data)});for(var j=0;j{z.current=f},[f]),b.useImperativeHandle(d,()=>t.current,[]);let g=function(a,b){if("ltr"===b)return a;switch(a){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 a}}(o,k),[y,A]=b.useState(g);b.useEffect(()=>{t.current&&t.current.forceUpdate()}),(0,x.Z)(()=>{if(!j||!n)return;let c=a=>{A(a.placement)};az(j);let a=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn({state:a}){c(a)}}];null!=m&&(a=a.concat(m)),p&&null!=p.modifiers&&(a=a.concat(p.modifiers));let b=au(az(j),r.current,(0,u.Z)({placement:g},p,{modifiers:a}));return z.current(b),()=>{b.destroy(),z.current(null)}},[j,l,m,n,p,g]);let h={placement:y};return null!==e&&(h.TransitionProps=e),(0,aw.jsx)("div",(0,u.Z)({ref:s,role:"tooltip"},q,{children:"function"==typeof a?a(h):a}))}),q=b.forwardRef(function(f,i){let{anchorEl:d,children:j,container:k,direction:l="ltr",disablePortal:g=!1,keepMounted:h=!1,modifiers:m,open:a,placement:n="bottom",popperOptions:o=aA,popperRef:p,style:q,transition:c=!1}=f,r=(0,v.Z)(f,ay),[e,t]=b.useState(!0);if(!h&&!a&&(!c||e))return null;let s=k||(d?(0,y.Z)(az(d)).body:void 0);return(0,aw.jsx)(av.Z,{disablePortal:g,container:s,children:(0,aw.jsx)(aB,(0,u.Z)({anchorEl:d,direction:l,disablePortal:g,modifiers:m,ref:i,open:c?!e:a,placement:n,popperOptions:o,popperRef:p},r,{style:(0,u.Z)({position:"fixed",top:0,left:0,display:!a&&h&&(!c||e)?"none":null},q),TransitionProps:c?{in:a,onEnter(){t(!1)},onExited(){t(!0)}}:null,children:j}))})});var aC=q,aD=a(38457);let r=b.forwardRef(function(b,c){let a=(0,aD.Z)();return(0,aw.jsx)(aC,(0,t.Z)({direction:null==a?void 0:a.direction},b,{ref:c}))});var aE=r},37717:function(d,a,b){var c=b(50053);a.Z=c.Z},25691:function(d,a,b){var c=b(21399);a.Z=c.Z}}]) //# sourceMappingURL=2337.c3a1a21afe7bcc53.js.map