"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2795],{706585:function(n,t,e){var r=e(487462),o=e(263366),i=e(667294),s=e(708662),a=e(202734),c=e(330577),u=e(251705),f=e(785893);const d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],l={entering:{transform:"none"},entered:{transform:"none"}},E=i.forwardRef((function(n,t){const e=(0,a.Z)(),E={enter:e.transitions.duration.enteringScreen,exit:e.transitions.duration.leavingScreen},{addEndListener:p,appear:m=!0,children:y,easing:Z,in:x,onEnter:g,onEntered:v,onEntering:b,onExit:h,onExited:_,onExiting:C,style:k,timeout:w=E,TransitionComponent:O=s.ZP}=n,j=(0,o.Z)(n,d),T=i.useRef(null),L=(0,u.Z)(T,y.ref,t),P=n=>t=>{if(n){const e=T.current;void 0===t?n(e):n(e,t)}},R=P(b),N=P(((n,t)=>{(0,c.n)(n);const r=(0,c.C)({style:k,timeout:w,easing:Z},{mode:"enter"});n.style.webkitTransition=e.transitions.create("transform",r),n.style.transition=e.transitions.create("transform",r),g&&g(n,t)})),S=P(v),M=P(C),q=P((n=>{const t=(0,c.C)({style:k,timeout:w,easing:Z},{mode:"exit"});n.style.webkitTransition=e.transitions.create("transform",t),n.style.transition=e.transitions.create("transform",t),h&&h(n)})),z=P(_);return(0,f.jsx)(O,(0,r.Z)({appear:m,in:x,nodeRef:T,onEnter:N,onEntered:S,onEntering:R,onExit:q,onExited:z,onExiting:M,addEndListener:n=>{p&&p(T.current,n)},timeout:w},j,{children:(n,t)=>i.cloneElement(y,(0,r.Z)({style:(0,r.Z)({transform:"scale(0)",visibility:"exited"!==n||x?void 0:"hidden"},l[n],k,y.props.style),ref:L},t))}))}));t.Z=E},795526:function(n,t,e){e.r(t),e.d(t,{default:function(){return r.Z}});var r=e(706585)},251705:function(n,t,e){var r=e(33703);t.Z=r.Z},407960:function(n,t,e){function r(n,t){"function"===typeof n?n(t):n&&(n.current=t)}e.d(t,{Z:function(){return r}})},33703:function(n,t,e){e.d(t,{Z:function(){return i}});var r=e(667294),o=e(407960);function i(...n){return r.useMemo((()=>n.every((n=>null==n))?null:t=>{n.forEach((n=>{(0,o.Z)(n,t)}))}),n)}},500220:function(n,t,e){var r=e(667294);t.Z=r.createContext(null)},875068:function(n,t,e){function r(n,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},r(n,t)}function o(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,r(n,t)}e.d(t,{Z:function(){return o}})}}]);