(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87526],{175955:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});let r={"heading-4xl":{fontSize:"heading-4xl",lineHeight:"heading-4xl",letterSpacing:"heading-4xl",fontFamily:"heading",fontWeight:"medium"},"heading-3xl":{fontSize:"heading-3xl",lineHeight:"heading-3xl",letterSpacing:"heading-3xl",fontFamily:"heading",fontWeight:"medium"},"heading-2xl":{fontSize:"heading-2xl",lineHeight:"heading-2xl",letterSpacing:"heading-2xl",fontFamily:"heading",fontWeight:"medium"},"heading-xl":{fontSize:"heading-xl",lineHeight:"heading-xl",letterSpacing:"heading-xl",fontFamily:"heading",fontWeight:"medium"},"heading-lg":{fontSize:"heading-lg",lineHeight:"heading-lg",letterSpacing:"heading-lg",fontFamily:"heading",fontWeight:"medium"},"heading-md":{fontSize:"heading-md",lineHeight:"heading-md",letterSpacing:"heading-md",fontFamily:"heading",fontWeight:"medium"},"heading-sm":{fontSize:"heading-sm",lineHeight:"heading-sm",letterSpacing:"heading-sm",fontFamily:"heading",fontWeight:"medium"},"heading-xs":{fontSize:"heading-xs",lineHeight:"heading-xs",letterSpacing:"heading-xs",fontFamily:"heading",fontWeight:"medium"},"heading-2xs":{fontSize:"heading-2xs",lineHeight:"heading-2xs",letterSpacing:"heading-2xs",fontFamily:"heading",fontWeight:"medium"},"body-xl":{fontSize:"body-xl",lineHeight:"body-xl",letterSpacing:"body-xl",fontFamily:"body",fontWeight:"regular"},"body-lg":{fontSize:"body-lg",lineHeight:"body-lg",letterSpacing:"body-lg",fontFamily:"body",fontWeight:"regular"},"body-md":{fontSize:"body-md",lineHeight:"body-md",letterSpacing:"body-md",fontFamily:"body",fontWeight:"regular"},"body-sm":{fontSize:"body-sm",lineHeight:"body-sm",letterSpacing:"body-sm",fontFamily:"body",fontWeight:"regular"},"body-xs":{fontSize:"body-xs",lineHeight:"body-xs",letterSpacing:"body-xs",fontFamily:"body",fontWeight:"regular"}}},192550:function(e,t,n){"use strict";n.d(t,{CH:function(){return i},Rq:function(){return l},le:function(){return a},tO:function(){return r},vC:function(){return o}});let r={"heading-4xl":1,"heading-3xl":1,"heading-2xl":1,"heading-xl":1.2,"heading-lg":1.2,"heading-md":1.4,"heading-sm":1.4,"heading-xs":1.4,"heading-2xs":1.4,"body-xl":1.4,"body-lg":1.4,"body-md":1.4,"body-sm":1.2,"body-xs":1.2},i={"heading-4xl":"4.5rem","heading-3xl":"3.75rem","heading-2xl":"3rem","heading-xl":"2.25rem","heading-lg":"1.875rem","heading-md":"1.25rem","heading-sm":"1rem","heading-xs":"0.875rem","heading-2xs":"0.75rem","body-xl":"1.125rem","body-lg":"1rem","body-md":"0.875rem","body-sm":"0.75rem","body-xs":"0.625rem"},o={regular:"350",medium:"500",bold:"700"},a={"heading-4xl":"-0.225rem","heading-3xl":"-0.1875rem","heading-2xl":"-0.15rem","heading-xl":"-0.09rem","heading-lg":"-0.075rem","heading-md":"-0.05rem","heading-sm":"-0.03rem","heading-xs":"-0.02625rem","heading-2xs":"-0.0225rem","body-xl":"-0.03375rem","body-lg":"-0.03rem","body-md":"-0.02625rem","body-sm":"-0.015rem","body-xs":"-0.0125rem"},l={heading:"'ABCRepro-Medium', sans-serif",body:"'ABCRepro-Regular', sans-serif"}},788217:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r={none:"0rem",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"20px","2xl":"28px","3xl":"36px",full:"999px"}},891397:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});let r={hr:{borderTopWidth:"1px",boxSizing:"content-box",height:0,overflow:"visible",margin:0},a:{backgroundColor:"transparent",color:"inherit",textDecoration:"inherit"},":where(b, strong)":{fontWeight:"bold"},":where(ol, ul)":{padding:0},":where(img, video, canvas, audio, iframe, embed, object)":{display:"block"},":where(pre, code, kbd, samp)":{fontFamily:"SFMono-Regular, Menlo, Monaco, Consolas, monospace",fontSize:"1em"},":where(*, *::before, *::after)":{borderWidth:0,borderStyle:"solid",boxSizing:"border-box",wordWrap:"break-word"},":where(blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre, ol, ul)":{margin:0},":where(button, input, optgroup, select, textarea)":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",margin:0,color:"inherit"},":where(button, input)":{overflow:"visible"},":where(button, select)":{textTransform:"none"},':where(button, [role="button"])':{cursor:"pointer"},":where(h1, h2, h3, h4, h5, h6)":{fontSize:"inherit",fontWeight:"inherit"},table:{borderCollapse:"collapse"},template:{display:"none"},summary:{display:"list-item"},details:{display:"block"},legend:{boxSizing:"border-box",color:"inherit",display:"table",maxWidth:"100%",padding:0,whiteSpace:"normal"},fieldset:{padding:"0.35em 0.75em 0.625em"},"[hidden]":{display:"none !important"},"[data-js-focus-visible]:focus:not([data-focus-visible-added]):not([data-focus-visible-disabled])":{outline:"none",boxShadow:"none"}}},848812:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});let r=(e,t=16)=>1/t*(parseInt(`${e}`.replace("px",""))||0)+"rem"},423291:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(867932),i=n(397458),o=n(450032),a=n(93766);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}let s=(0,o.G)((e,t)=>(0,i.jsx)(a.h,function(e){for(var t=1;t{let{icon:n,children:i,isRound:l,"aria-label":s,...c}=e,u=n||i,d=(0,o.isValidElement)(u)?(0,o.cloneElement)(u,{"aria-hidden":!0,focusable:!1}):null;return(0,a.jsx)(r.z,{padding:"0",borderRadius:l?"full":void 0,ref:t,"aria-label":s,...c,children:d})});l.displayName="IconButton"},899631:function(e,t,n){"use strict";n.d(t,{D:function(){return r},i:function(){return i}});var[r,i]=(0,n(396248).k)({strict:!1,name:"ButtonGroupContext"})},590862:function(e,t,n){"use strict";n.d(t,{z:function(){return m}});var r=n(652983),i=n(899631),o=n(712626),a=n(919938),l=n(397458);function s(e){let{children:t,className:n,...i}=e,s=(0,r.isValidElement)(t)?(0,r.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,c=(0,a.cx)("chakra-button__icon",n);return(0,l.jsx)(o.m.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:c,children:s})}s.displayName="ButtonIcon";var c=n(901301);function u(e){let{label:t,placement:n,spacing:i="0.5rem",children:s=(0,l.jsx)(c.$,{color:"currentColor",width:"1em",height:"1em"}),className:u,__css:d,...f}=e,p=(0,a.cx)("chakra-button__spinner",u),h="start"===n?"marginEnd":"marginStart",m=(0,r.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[h]:t?i:0,fontSize:"1em",lineHeight:"normal",...d}),[d,t,h,i]);return(0,l.jsx)(o.m.div,{className:p,...f,__css:m,children:s})}u.displayName="ButtonSpinner";var d=n(916227),f=n(450032),p=n(408232),h=n(93141),m=(0,f.G)((e,t)=>{let n=(0,i.i)(),s=(0,p.mq)("Button",{...n,...e}),{isDisabled:c=null==n?void 0:n.isDisabled,isLoading:f,isActive:m,children:b,leftIcon:x,rightIcon:y,loadingText:v,iconSpacing:j="0.5rem",type:O,spinner:w,spinnerPlacement:S="start",className:P,as:k,...C}=(0,h.Lr)(e),E=(0,r.useMemo)(()=>{let e={...null==s?void 0:s._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...s,...!!n&&{_focus:e}}},[s,n]),{ref:_,type:z}=function(e){let[t,n]=(0,r.useState)(!e);return{ref:(0,r.useCallback)(e=>{e&&n("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(k),D={rightIcon:y,leftIcon:x,iconSpacing:j,children:b};return(0,l.jsxs)(o.m.button,{ref:(0,d.qq)(t,_),as:k,type:null!=O?O:z,"data-active":(0,a.PB)(m),"data-loading":(0,a.PB)(f),__css:E,className:(0,a.cx)("chakra-button",P),...C,disabled:c||f,children:[f&&"start"===S&&(0,l.jsx)(u,{className:"chakra-button__spinner--start",label:v,placement:"start",spacing:j,children:w}),f?v||(0,l.jsx)(o.m.span,{opacity:0,children:(0,l.jsx)(g,{...D})}):(0,l.jsx)(g,{...D}),f&&"end"===S&&(0,l.jsx)(u,{className:"chakra-button__spinner--end",label:v,placement:"end",spacing:j,children:w})]})});function g(e){let{leftIcon:t,rightIcon:n,children:r,iconSpacing:i}=e;return(0,l.jsxs)(l.Fragment,{children:[t&&(0,l.jsx)(s,{marginEnd:i,children:t}),r,n&&(0,l.jsx)(s,{marginStart:i,children:n})]})}m.displayName="Button"},394580:function(e,t,n){"use strict";n.d(t,{k:function(){return a}});var r=n(450032),i=n(712626),o=n(397458),a=(0,r.G)(function(e,t){let{direction:n,align:r,justify:a,wrap:l,basis:s,grow:c,shrink:u,...d}=e;return(0,o.jsx)(i.m.div,{ref:t,__css:{display:"flex",flexDirection:n,alignItems:r,justifyContent:a,flexWrap:l,flexBasis:s,flexGrow:c,flexShrink:u},...d})});a.displayName="Flex"},496751:function(e,t,n){"use strict";n.d(t,{C:function(){return c}});var r=n(450032),i=n(408232),o=n(93141),a=n(712626),l=n(919938),s=n(397458),c=(0,r.G)(function(e,t){let n=(0,i.mq)("Badge",e),{className:r,...c}=(0,o.Lr)(e);return(0,s.jsx)(a.m.span,{ref:t,className:(0,l.cx)("chakra-badge",e.className),...c,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...n}})});c.displayName="Badge"},310124:function(e,t,n){"use strict";n.d(t,{h:function(){return m}});var r=n(265146),i=n(400414),o=n(396248),a=n(63730),l=n(652983),s=n(397458),[c,u]=(0,o.k)({strict:!1,name:"PortalContext"}),d="chakra-portal",f=e=>(0,s.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),p=e=>{let{appendToParentPortal:t,children:n}=e,[o,p]=(0,l.useState)(null),h=(0,l.useRef)(null),[,m]=(0,l.useState)({});(0,l.useEffect)(()=>m({}),[]);let g=u(),b=(0,r.L)();(0,i.G)(()=>{if(!o)return;let e=o.ownerDocument,n=t&&null!=g?g:e.body;if(!n)return;h.current=e.createElement("div"),h.current.className=d,n.appendChild(h.current),m({});let r=h.current;return()=>{n.contains(r)&&n.removeChild(r)}},[o]);let x=(null==b?void 0:b.zIndex)?(0,s.jsx)(f,{zIndex:null==b?void 0:b.zIndex,children:n}):n;return h.current?(0,a.createPortal)((0,s.jsx)(c,{value:h.current,children:x}),h.current):(0,s.jsx)("span",{ref:e=>{e&&p(e)}})},h=e=>{let{children:t,containerRef:n,appendToParentPortal:r}=e,o=n.current,u=null!=o?o:"undefined"!=typeof window?document.body:void 0,f=(0,l.useMemo)(()=>{let e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=d),e},[o]),[,p]=(0,l.useState)({});return((0,i.G)(()=>p({}),[]),(0,i.G)(()=>{if(f&&u)return u.appendChild(f),()=>{u.removeChild(f)}},[f,u]),u&&f)?(0,a.createPortal)((0,s.jsx)(c,{value:r?f:null,children:t}),f):null};function m(e){let{containerRef:t,...n}={appendToParentPortal:!0,...e};return t?(0,s.jsx)(h,{containerRef:t,...n}):(0,s.jsx)(p,{...n})}m.className=d,m.selector=".chakra-portal",m.displayName="Portal"},265146:function(e,t,n){"use strict";n.d(t,{L:function(){return a},h:function(){return l}});var r=n(396248),i=n(397458),[o,a]=(0,r.k)({strict:!1,name:"PortalManagerContext"});function l(e){let{children:t,zIndex:n}=e;return(0,i.jsx)(o,{value:{zIndex:n},children:t})}l.displayName="PortalManager"},903431:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(652983);function i(e,t=[]){let n=(0,r.useRef)(e);return(0,r.useEffect)(()=>{n.current=e}),(0,r.useCallback)((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)},t)}},901301:function(e,t,n){"use strict";n.d(t,{$:function(){return d}});var r=n(725065),i=n(450032),o=n(408232),a=n(93141),l=n(712626),s=n(919938),c=n(397458),u=(0,r.F4)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,i.G)((e,t)=>{let n=(0,o.mq)("Spinner",e),{label:r="Loading...",thickness:i="2px",speed:d="0.45s",emptyColor:f="transparent",className:p,...h}=(0,a.Lr)(e),m=(0,s.cx)("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:f,borderLeftColor:f,animation:`${u} ${d} linear infinite`,...n};return(0,c.jsx)(l.m.div,{ref:t,__css:g,className:m,...h,children:r&&(0,c.jsx)(l.m.span,{srOnly:!0,children:r})})});d.displayName="Spinner"},969158:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(511495),i=n(652983);function o(){let e=(0,i.useContext)(r.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}},670296:function(e,t,n){"use strict";n.d(t,{u:function(){return P}});var r={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},i=n(592119),o=n(81862),a=n(444047),l=n(322542),s=n(574868),c=n(916227),u=n(919938),d=n(652983),f=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},p=e=>{var t,n;return(null==(n=null==(t=e.current)?void 0:t.ownerDocument)?void 0:n.defaultView)||window},h="chakra-ui:close-tooltip",m=n(310124),g=n(712626),b=n(450032),x=n(408232),y=n(93141),v=n(969158),j=n(29607),O=n(692584),w=n(397458),S=(0,g.m)(j.E.div),P=(0,b.G)((e,t)=>{var n,b;let j;let P=(0,x.mq)("Tooltip",e),k=(0,y.Lr)(e),C=(0,v.F)(),{children:E,label:_,shouldWrapChildren:z,"aria-label":D,hasArrow:N,bg:R,portalProps:T,background:F,backgroundColor:W,bgColor:I,motionProps:B,...H}=k,L=null!=(b=null!=(n=null!=F?F:W)?n:R)?b:I;if(L){P.bg=L;let e=(0,y.K1)(C,"colors",L);P[a.Dq.arrowBg.var]=e}let M=function(e={}){let{openDelay:t=0,closeDelay:n=0,closeOnClick:r=!0,closeOnMouseDown:m,closeOnScroll:g,closeOnPointerDown:b=m,closeOnEsc:x=!0,onOpen:y,onClose:v,placement:j,id:O,isOpen:w,defaultIsOpen:S,arrowSize:P=10,arrowShadowColor:k,arrowPadding:C,modifiers:E,isDisabled:_,gutter:z,offset:D,direction:N,...R}=e,{isOpen:T,onOpen:F,onClose:W}=(0,l.q)({isOpen:w,defaultIsOpen:S,onOpen:y,onClose:v}),{referenceRef:I,getPopperProps:B,getArrowInnerProps:H,getArrowProps:L}=(0,o.D)({enabled:T,placement:j,arrowPadding:C,modifiers:E,gutter:z,offset:D,direction:N}),M=(0,d.useId)(),Z=`tooltip-${null!=O?O:M}`,q=(0,d.useRef)(null),G=(0,d.useRef)(),$=(0,d.useCallback)(()=>{G.current&&(clearTimeout(G.current),G.current=void 0)},[]),A=(0,d.useRef)(),V=(0,d.useCallback)(()=>{A.current&&(clearTimeout(A.current),A.current=void 0)},[]),U=(0,d.useCallback)(()=>{V(),W()},[W,V]),J=((0,d.useEffect)(()=>{let e=f(q);return e.addEventListener(h,U),()=>e.removeEventListener(h,U)},[U,q]),()=>{let e=f(q),t=p(q);e.dispatchEvent(new t.CustomEvent(h))}),K=(0,d.useCallback)(()=>{if(!_&&!G.current){T&&J();let e=p(q);G.current=e.setTimeout(F,t)}},[J,_,T,F,t]),Y=(0,d.useCallback)(()=>{$();let e=p(q);A.current=e.setTimeout(U,n)},[n,U,$]),Q=(0,d.useCallback)(()=>{T&&r&&Y()},[r,Y,T]),X=(0,d.useCallback)(()=>{T&&b&&Y()},[b,Y,T]),ee=(0,d.useCallback)(e=>{T&&"Escape"===e.key&&Y()},[T,Y]);(0,s.O)(()=>f(q),"keydown",x?ee:void 0),(0,s.O)(()=>{let e=q.current;if(!e)return null;let t=function e(t){return["html","body","#document"].includes(t.localName)?t.ownerDocument.body:(0,i.Re)(t)&&function(e){let{overflow:t,overflowX:n,overflowY:r}=(e.ownerDocument.defaultView||window).getComputedStyle(e);return/auto|scroll|overlay|hidden/.test(t+r+n)}(t)?t:e("html"===t.localName?t:t.assignedSlot||t.parentElement||t.ownerDocument.documentElement)}(e);return"body"===t.localName?p(q):t},"scroll",()=>{T&&g&&U()},{passive:!0,capture:!0}),(0,d.useEffect)(()=>{_&&($(),T&&W())},[_,T,W,$]),(0,d.useEffect)(()=>()=>{$(),V()},[$,V]),(0,s.O)(()=>q.current,"pointerleave",Y);let et=(0,d.useCallback)((e={},t=null)=>({...e,ref:(0,c.lq)(q,t,I),onPointerEnter:(0,u.v0)(e.onPointerEnter,e=>{"touch"!==e.pointerType&&K()}),onClick:(0,u.v0)(e.onClick,Q),onPointerDown:(0,u.v0)(e.onPointerDown,X),onFocus:(0,u.v0)(e.onFocus,K),onBlur:(0,u.v0)(e.onBlur,Y),"aria-describedby":T?Z:void 0}),[K,Y,X,T,Z,Q,I]),en=(0,d.useCallback)((e={},t=null)=>B({...e,style:{...e.style,[a.Dq.arrowSize.var]:P?`${P}px`:void 0,[a.Dq.arrowShadowColor.var]:k}},t),[B,P,k]);return{isOpen:T,show:K,hide:Y,getTriggerProps:et,getTooltipProps:(0,d.useCallback)((e={},t=null)=>{let n={...e.style,position:"relative",transformOrigin:a.Dq.transformOrigin.varRef};return{ref:t,...R,...e,id:Z,role:"tooltip",style:n}},[R,Z]),getTooltipPositionerProps:en,getArrowProps:L,getArrowInnerProps:H}}({...H,direction:C.direction});if("string"==typeof E||z)j=(0,w.jsx)(g.m.span,{display:"inline-block",tabIndex:0,...M.getTriggerProps(),children:E});else{let e=d.Children.only(E);j=(0,d.cloneElement)(e,M.getTriggerProps(e.props,e.ref))}let Z=!!D,q=M.getTooltipProps({},t),G=Z?function(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}(q,["role","id"]):q,$=function(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}(q,["role","id"]);return _?(0,w.jsxs)(w.Fragment,{children:[j,(0,w.jsx)(O.M,{children:M.isOpen&&(0,w.jsx)(m.h,{...T,children:(0,w.jsx)(g.m.div,{...M.getTooltipPositionerProps(),__css:{zIndex:P.zIndex,pointerEvents:"none"},children:(0,w.jsxs)(S,{variants:r,initial:"exit",animate:"enter",exit:"exit",...B,...G,__css:P,children:[_,Z&&(0,w.jsx)(g.m.span,{srOnly:!0,...$,children:D}),N&&(0,w.jsx)(g.m.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,w.jsx)(g.m.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:P.bg}})})]})})})})]}):(0,w.jsx)(w.Fragment,{children:E})});P.displayName="Tooltip"},692584:function(e,t,n){"use strict";n.d(t,{M:function(){return x}});var r=n(397458),i=n(652983),o=n(920262),a=n(46106),l=n(216566),s=n(678853),c=n(194798);class u extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t}){let n=(0,i.useId)(),o=(0,i.useRef)(null),a=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:l}=(0,i.useContext)(c._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:s}=a.current;if(t||!o.current||!e||!r)return;o.current.dataset.motionPopId=n;let c=document.createElement("style");return l&&(c.nonce=l),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` [data-motion-pop-id="${n}"] { position: absolute !important; width: ${e}px !important; height: ${r}px !important; top: ${i}px !important; left: ${s}px !important; } `),()=>{document.head.removeChild(c)}},[t]),(0,r.jsx)(u,{isPresent:t,childRef:o,sizeRef:a,children:i.cloneElement(e,{ref:o})})}let f=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:c,mode:u})=>{let f=(0,s.h)(p),h=(0,i.useId)(),m=(0,i.useMemo)(()=>({id:h,initial:t,isPresent:n,custom:a,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;o&&o()},register:e=>(f.set(e,!1),()=>f.delete(e))}),c?[Math.random()]:[n]);return(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[n]),i.useEffect(()=>{n||f.size||!o||o()},[n]),"popLayout"===u&&(e=(0,r.jsx)(d,{isPresent:n,children:e})),(0,r.jsx)(l.O.Provider,{value:m,children:e})};function p(){return new Map}var h=n(399867),m=n(424092),g=n(308823);let b=e=>e.key||"",x=({children:e,custom:t,initial:n=!0,onExitComplete:l,exitBeforeEnter:s,presenceAffectsLayout:c=!0,mode:u="sync"})=>{var d;(0,g.k)(!s,"Replace exitBeforeEnter with mode='wait'");let p=(0,i.useContext)(h.p).forceRender||(0,o.N)()[0],x=(0,a.t)(),y=function(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}(e),v=y,j=(0,i.useRef)(new Map).current,O=(0,i.useRef)(v),w=(0,i.useRef)(new Map).current,S=(0,i.useRef)(!0);if((0,m.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let n=b(e);t.set(n,e)})}(y,w),O.current=v}),d=()=>{S.current=!0,w.clear(),j.clear()},(0,i.useEffect)(()=>()=>d(),[]),S.current)return(0,r.jsx)(r.Fragment,{children:v.map(e=>(0,r.jsx)(f,{isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:c,mode:u,children:e},b(e)))});v=[...v];let P=O.current.map(b),k=y.map(b),C=P.length;for(let e=0;e{if(-1!==k.indexOf(n))return;let i=w.get(n);if(!i)return;let o=P.indexOf(n),a=e;a||(a=(0,r.jsx)(f,{isPresent:!1,onExitComplete:()=>{j.delete(n);let e=Array.from(w.keys()).filter(e=>!k.includes(e));if(e.forEach(e=>w.delete(e)),O.current=y.filter(t=>{let r=b(t);return r===n||e.includes(r)}),!j.size){if(!1===x.current)return;p(),l&&l()}},custom:t,presenceAffectsLayout:c,mode:u,children:i},b(i)),j.set(n,a)),v.splice(o,0,a)}),v=v.map(e=>{let t=e.key;return j.has(t)?e:(0,r.jsx)(f,{isPresent:!0,presenceAffectsLayout:c,mode:u,children:e},b(e))}),(0,r.jsx)(r.Fragment,{children:j.size?v:v.map(e=>(0,i.cloneElement)(e))})}},920262:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var r=n(652983),i=n(46106),o=n(717882);function a(){let e=(0,i.t)(),[t,n]=(0,r.useState)(0),a=(0,r.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,r.useCallback)(()=>o.Wi.postRender(a),[a]),t]}},46106:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(652983),i=n(424092);function o(){let e=(0,r.useRef)(!1);return(0,i.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},368105:function(e,t,n){"use strict";n.d(t,{o:function(){return s}});var r=n(867932),i=n(397458),o=n(754514);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t(0,i.jsx)(o.J,l(l({viewBox:"0 0 24 24"},e),{},{fill:"none",children:(0,i.jsx)("path",{d:"M13 15H9a1 1 0 0 0 0 2h4a1 1 0 0 0 0-2Zm4-11h-1.18A3 3 0 0 0 13 2h-2a3 3 0 0 0-2.82 2H7a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm-7 1a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4V5Zm8 14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h1v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V6h1a1 1 0 0 1 1 1v12Zm-3-8H9a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2Z",fill:"currentColor"})}))},99892:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(867932),i=n(397458),o=n(754514);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t(0,i.jsx)(o.J,l(l({viewBox:"0 0 24 24"},e),{},{fill:"none",children:(0,i.jsx)("path",{d:"m13.41 12 6.3-6.29a1.004 1.004 0 0 0-1.42-1.42L12 10.59l-6.29-6.3a1.004 1.004 0 1 0-1.42 1.42l6.3 6.29-6.3 6.29a.999.999 0 0 0 0 1.42 1 1 0 0 0 1.42 0l6.29-6.3 6.29 6.3a1.001 1.001 0 0 0 1.639-.325 1 1 0 0 0-.22-1.095L13.41 12Z",fill:"currentColor"})}))},513899:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(867932),i=n(397458),o=n(754514);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t(0,i.jsx)(o.J,l(l({viewBox:"0 0 24 24"},e),{},{fill:"none",children:(0,i.jsx)("path",{d:"M8.5 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm7-10a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm-7-4a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm7 14a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0-7a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z",fill:"currentColor"})}))}}]); //# sourceMappingURL=87526.a7685ab5519ba8d4.js.map