1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4965],{37582:(e,t,n)=>{n.d(t,{Bk:()=>h,Mz:()=>A,UC:()=>M,bL:()=>k,i3:()=>S});var r=n(24252),o=n(349),i=n(38906),l=n(725),a=n(29864),s=n(80580),u=n(71802),d=n(35079),c=n(48081),p=n(47147),f=n(65392),v="Popper",[m,h]=(0,s.A)(v),[y,g]=m(v),x=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,f.jsx)(y,{scope:t,anchor:o,onAnchorChange:i,children:n})};x.displayName=v;var w="PopperAnchor",b=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=g(w,n),s=r.useRef(null),d=(0,a.s)(t,s);return r.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||s.current)}),o?null:(0,f.jsx)(u.sG.div,{...i,ref:d})});b.displayName=w;var E="PopperContent",[C,T]=m(E),N=r.forwardRef((e,t)=>{var n,l,s,v,m,h,y,x;let{__scopePopper:w,side:b="bottom",sideOffset:T=0,align:N="center",alignOffset:L=0,arrowPadding:O=0,avoidCollisions:P=!0,collisionBoundary:k=[],collisionPadding:A=0,sticky:M="partial",hideWhenDetached:S=!1,updatePositionStrategy:I="optimized",onPlaced:_,...U}=e,B=g(E,w),[W,F]=r.useState(null),z=(0,a.s)(t,e=>F(e)),[H,Y]=r.useState(null),X=(0,p.X)(H),G=null!=(y=null==X?void 0:X.width)?y:0,q=null!=(x=null==X?void 0:X.height)?x:0,Z="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},K=Array.isArray(k)?k:[k],V=K.length>0,J={padding:Z,boundary:K.filter(R),altBoundary:V},{refs:Q,floatingStyles:$,placement:ee,isPositioned:et,middlewareData:en}=(0,o.we)({strategy:"fixed",placement:b+("center"!==N?"-"+N:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.ll)(...t,{animationFrame:"always"===I})},elements:{reference:B.anchor},middleware:[(0,o.cY)({mainAxis:T+q,alignmentAxis:L}),P&&(0,o.BN)({mainAxis:!0,crossAxis:!1,limiter:"partial"===M?(0,o.ER)():void 0,...J}),P&&(0,o.UU)({...J}),(0,o.Ej)({...J,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),H&&(0,o.UE)({element:H,padding:O}),j({arrowWidth:G,arrowHeight:q}),S&&(0,o.jD)({strategy:"referenceHidden",...J})]}),[er,eo]=D(ee),ei=(0,d.c)(_);(0,c.N)(()=>{et&&(null==ei||ei())},[et,ei]);let el=null==(n=en.arrow)?void 0:n.x,ea=null==(l=en.arrow)?void 0:l.y,es=(null==(s=en.arrow)?void 0:s.centerOffset)!==0,[eu,ed]=r.useState();return(0,c.N)(()=>{W&&ed(window.getComputedStyle(W).zIndex)},[W]),(0,f.jsx)("div",{ref:Q.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:et?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eu,"--radix-popper-transform-origin":[null==(v=en.transformOrigin)?void 0:v.x,null==(m=en.transformOrigin)?void 0:m.y].join(" "),...(null==(h=en.hide)?void 0:h.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(C,{scope:w,placedSide:er,onArrowChange:Y,arrowX:el,arrowY:ea,shouldHideArrow:es,children:(0,f.jsx)(u.sG.div,{"data-side":er,"data-align":eo,...U,ref:z,style:{...U.style,animation:et?void 0:"none"}})})})});N.displayName=E;var L="PopperArrow",O={top:"bottom",right:"left",bottom:"top",left:"right"},P=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=T(L,n),i=O[o.placedSide];return(0,f.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)(l.b,{...r,ref:t,style:{...r.style,display:"block"}})})});function R(e){return null!==e}P.displayName=L;var j=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:s,middlewareData:u}=t,d=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,c=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[f,v]=D(a),m={start:"0%",center:"50%",end:"100%"}[v],h=(null!=(i=null==(r=u.arrow)?void 0:r.x)?i:0)+c/2,y=(null!=(l=null==(o=u.arrow)?void 0:o.y)?l:0)+p/2,g="",x="";return"bottom"===f?(g=d?m:"".concat(h,"px"),x="".concat(-p,"px")):"top"===f?(g=d?m:"".concat(h,"px"),x="".concat(s.floating.height+p,"px")):"right"===f?(g="".concat(-p,"px"),x=d?m:"".concat(y,"px")):"left"===f&&(g="".concat(s.floating.width+p,"px"),x=d?m:"".concat(y,"px")),{data:{x:g,y:x}}}});function D(e){let[t,n="center"]=e.split("-");return[t,n]}var k=x,A=b,M=N,S=P},44073:(e,t,n)=>{n.d(t,{qW:()=>f});var r,o=n(24252),i=n(45915),l=n(71802),a=n(29864),s=n(35079),u=n(51683),d=n(65392),c="dismissableLayer.update",p=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>
1{var n,f;let{disableOutsidePointerEvents:h=!1,onEscapeKeyDown:y,onPointerDownOutside:g,onFocusOutside:x,onInteractOutside:w,onDismiss:b,...E}=e,C=o.useContext(p),[T,N]=o.useState(null),L=null!=(f=null==T?void 0:T.ownerDocument)?f:null==(n=globalThis)?void 0:n.document,[,O]=o.useState({}),P=(0,a.s)(t,e=>N(e)),R=Array.from(C.layers),[j]=[...C.layersWithOutsidePointerEventsDisabled].slice(-1),D=R.indexOf(j),k=T?R.indexOf(T):-1,A=C.layersWithOutsidePointerEventsDisabled.size>0,M=k>=D,S=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,s.c)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...C.branches].some(e=>e.contains(t));M&&!n&&(null==g||g(e),null==w||w(e),e.defaultPrevented||null==b||b())},L),I=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,s.c)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...C.branches].some(e=>e.contains(t))&&(null==x||x(e),null==w||w(e),e.defaultPrevented||null==b||b())},L);return(0,u.U)(e=>{k===C.layers.size-1&&(null==y||y(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},L),o.useEffect(()=>{if(T)return h&&(0===C.layersWithOutsidePointerEventsDisabled.size&&(r=L.body.style.pointerEvents,L.body.style.pointerEvents="none"),C.layersWithOutsidePointerEventsDisabled.add(T)),C.layers.add(T),v(),()=>{h&&1===C.layersWithOutsidePointerEventsDisabled.size&&(L.body.style.pointerEvents=r)}},[T,L,h,C]),o.useEffect(()=>()=>{T&&(C.layers.delete(T),C.layersWithOutsidePointerEventsDisabled.delete(T),v())},[T,C]),o.useEffect(()=>{let e=()=>O({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,d.jsx)(l.sG.div,{...E,ref:P,style:{pointerEvents:A?M?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.m)(e.onFocusCapture,I.onFocusCapture),onBlurCapture:(0,i.m)(e.onBlurCapture,I.onBlurCapture),onPointerDownCapture:(0,i.m)(e.onPointerDownCapture,S.onPointerDownCapture)})});function v(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.hO)(i,a):i.dispatchEvent(a)}f.displayName="DismissableLayer",o.forwardRef((e,t)=>{let n=o.useContext(p),r=o.useRef(null),i=(0,a.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,d.jsx)(l.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch"},45915:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},64965:(e,t,n)=>{n.d(t,{Kq:()=>Y,UC:()=>Z,ZL:()=>q,bL:()=>X,i3:()=>K,l9:()=>G});var r=n(24252),o=n(45915),i=n(29864),l=n(80580),a=n(44073),s=n(31551),u=n(37582),d=n(11692),c=n(75335),p=n(71802),f=n(85004),v=n(6655),m=n(1680),h=n(65392),[y,g]=(0,l.A)("Tooltip",[u.Bk]),x=(0,u.Bk)(),w="TooltipProvider",b="tooltip.open",[E,C]=y(w),T=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,a=r.useRef(!0),s=r.useRef(!1),u=r.useRef(0);return r.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,h.jsx)(E,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(u.current),a.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:s,onPointerInTransitChange:r.useCallback(e=>{s.current=e}
1,[]),disableHoverableContent:i,children:l})};T.displayName=w;var N="Tooltip",[L,O]=y(N),P=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i,onOpenChange:l,disableHoverableContent:a,delayDuration:d}=e,c=C(N,e.__scopeTooltip),p=x(t),[f,m]=r.useState(null),y=(0,s.B)(),g=r.useRef(0),w=null!=a?a:c.disableHoverableContent,E=null!=d?d:c.delayDuration,T=r.useRef(!1),[O,P]=(0,v.i)({prop:o,defaultProp:null!=i&&i,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(b))):c.onClose(),null==l||l(e)},caller:N}),R=r.useMemo(()=>O?T.current?"delayed-open":"instant-open":"closed",[O]),j=r.useCallback(()=>{window.clearTimeout(g.current),g.current=0,T.current=!1,P(!0)},[P]),D=r.useCallback(()=>{window.clearTimeout(g.current),g.current=0,P(!1)},[P]),k=r.useCallback(()=>{window.clearTimeout(g.current),g.current=window.setTimeout(()=>{T.current=!0,P(!0),g.current=0},E)},[E,P]);return r.useEffect(()=>()=>{g.current&&(window.clearTimeout(g.current),g.current=0)},[]),(0,h.jsx)(u.bL,{...p,children:(0,h.jsx)(L,{scope:t,contentId:y,open:O,stateAttribute:R,trigger:f,onTriggerChange:m,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?k():j()},[c.isOpenDelayedRef,k,j]),onTriggerLeave:r.useCallback(()=>{w?D():(window.clearTimeout(g.current),g.current=0)},[D,w]),onOpen:j,onClose:D,disableHoverableContent:w,children:n})})};P.displayName=N;var R="TooltipTrigger",j=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...l}=e,a=O(R,n),s=C(R,n),d=x(n),c=r.useRef(null),f=(0,i.s)(t,c,a.onTriggerChange),v=r.useRef(!1),m=r.useRef(!1),y=r.useCallback(()=>v.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),(0,h.jsx)(u.Mz,{asChild:!0,...d,children:(0,h.jsx)(p.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.m)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,o.m)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,o.m)(e.onPointerDown,()=>{a.open&&a.onClose(),v.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:(0,o.m)(e.onFocus,()=>{v.current||a.onOpen()}),onBlur:(0,o.m)(e.onBlur,a.onClose),onClick:(0,o.m)(e.onClick,a.onClose)})})});j.displayName=R;var D="TooltipPortal",[k,A]=y(D,{forceMount:void 0}),M=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=O(D,t);return(0,h.jsx)(k,{scope:t,forceMount:n,children:(0,h.jsx)(c.C,{present:n||i.open,children:(0,h.jsx)(d.Z,{asChild:!0,container:o,children:r})})})};M.displayName=D;var S="TooltipContent",I=r.forwardRef((e,t)=>{let n=A(S,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=O(S,e.__scopeTooltip);return(0,h.jsx)(c.C,{present:r||l.open,children:l.disableHoverableContent?(0,h.jsx)(F,{side:o,...i,ref:t}):(0,h.jsx)(_,{side:o,...i,ref:t})})}),_=r.forwardRef((e,t)=>{let n=O(S,e.__scopeTooltip),o=C(S,e.__scopeTooltip),l=r.useRef(null),a=(0,i.s)(t,l),[s,u]=r.useState(null),{trigger:d,onClose:c}=n,p=l.current,{onPointerInTransitChange:f}=o,v=r.useCallback(()=>{u(null),f(!1)},[f]),m=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),f(!0)},[f]);return r.useEffect(()=>()=>v(),[v]),r.useEffect(()=>{if(d&&p){let e=e=>m(e,p),t=e=>m(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,m,v]),r.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==d?void 0:d.contains(t))||(null==p?void 0:p.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let l=t[e],a=t[i],s=l.x,u=l.y,d=a.x,c=a.y;u>r!=c>r&&n<(d-s)*(r-u)/(c-u)+s&&(o=!o)}return o}(n,s);r?v():o&&(v(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,s,c,v]),(0,h.jsx)(F,{...e,ref:a})}),[U,B]=y(N,{isInside:!1}),W=(0,f.Dc)("TooltipContent"),F=r.forwardRef((e,t)=>
1{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:s,...d}=e,c=O(S,n),p=x(n),{onClose:f}=c;return r.useEffect(()=>(document.addEventListener(b,f),()=>document.removeEventListener(b,f)),[f]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,f]),(0,h.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,h.jsxs)(u.UC,{"data-state":c.stateAttribute,...p,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,h.jsx)(W,{children:o}),(0,h.jsx)(U,{scope:n,isInside:!0,children:(0,h.jsx)(m.bL,{id:c.contentId,role:"tooltip",children:i||o})})]})})});I.displayName=S;var z="TooltipArrow",H=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=x(n);return B(z,n).isInside?null:(0,h.jsx)(u.i3,{...o,...r,ref:t})});H.displayName=z;var Y=T,X=P,G=j,q=M,Z=I,K=H},75335:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(24252),o=n(29864),i=n(48081),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[o,l]=r.useState(),s=r.useRef(null),u=r.useRef(e),d=r.useRef("none"),[c,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(s.current);d.current="mounted"===c?e:"none"},[c]),(0,i.N)(()=>{let t=s.current,n=u.current;if(n!==e){let r=d.current,o=a(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,i.N)(()=>{if(o){var e;let t,n=null!=(e=o.ownerDocument.defaultView)?e:window,r=e=>{let r=a(s.current).includes(e.animationName);if(e.target===o&&r&&(p("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(d.current=a(s.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}p("ANIMATION_END")},[o,p]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(t),s="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),u=(0,o.s)(l.ref,function(e){var t,n;let r=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null==(n=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof n||l.isPresent?r.cloneElement(s,{ref:u}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.