1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88653,e=>{"use strict";e.i(47167);var t=e.i(43476),n=e.i(71645),r=e.i(31178),o=e.i(47414),i=e.i(74008),s=e.i(21476),l=e.i(72846),u=n,p=e.i(37806);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,l.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,r=(0,l.isHTMLElement)(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=n-i.width-i.left,i.bottom=r-i.height-i.top}return null}componentDidUpdate(){}render(){return this.props.children}}function a({children:e,isPresent:r,anchorX:o,anchorY:i,root:s,pop:l}){let h=(0,u.useId)(),d=(0,u.useRef)(null),m=(0,u.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:g}=(0,u.useContext)(p.MotionConfigContext),x=function(...e){return n.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=c(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():c(e[t],null)}}}}(...e),e)}(d,e.props?.ref??e?.ref);return(0,u.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:u,right:p,bottom:c}=m.current;if(r||!1===l||!d.current||!e||!t)return;let f="left"===o?`left: ${u}`:`right: ${p}`,a="bottom"===i?`bottom: ${c}`:`top: ${n}`;d.current.dataset.motionPopId=h;let x=document.createElement("style");g&&(x.nonce=g);let C=s??document.head;return C.appendChild(x),x.sheet&&x.sheet.insertRule(` 2 [data-motion-pop-id="${h}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${f}px !important; 7 ${a}px !important; 8 } 9 `),()=>{d.current?.removeAttribute("data-motion-pop-id"),C.contains(x)&&C.removeChild(x)}},[r]),(0,t.jsx)(f,{isPresent:r,childRef:d,sizeRef:m,pop:l,children:!1===l?e:u.cloneElement(e,{ref:x})})}let h=({children:e,initial:r,isPresent:i,onExitComplete:l,custom:u,presenceAffectsLayout:p,mode:c,anchorX:f,anchorY:h,root:m})=>{let g=(0,o.useConstant)(d),x=(0,n.useId)(),C=!0,E=(0,n.useMemo)(()=>(C=!1,{id:x,initial:r,isPresent:i,custom:u,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;l&&l()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[i,g,l]);return p&&C&&(E={...E}),(0,n.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[i]),n.useEffect(()=>{i||g.size||!l||l()},[i]),e=(0,t.jsx)(a,{pop:"popLayout"===c,isPresent:i,anchorX:f,anchorY:h,root:m,children:e}),(0,t.jsx)(s.PresenceContext.Provider,{value:E,children:e})};function d(){return new Map}var m=e.i(64978);let g=e=>e.key||"";function x(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:s,initial:l=!0,onExitComplete:u,presenceAffectsLayout:p=!0,mode:c="sync",propagate:f=!1,anchorX:a="left",anchorY:d="top",root:C})=>{let[E,P]=(0,m.usePresence)(f),y=(0,n.useMemo)(()=>x(e),[e]),R=f&&!E?[]:y.map(g),b=(0,n.useRef)(!0),v=(0,n.useRef)(y),w=(0,o.useConstant)(()=>new Map),M=(0,n.useRef)(new Set),[$,L]=(0,n.useState)(y),[T,j]=(0,n.useState)(y);(0,i.useIsomorphicLayoutEffect)(()=>{b.current=!1,v.current=y;for(let e=0;e<T.length;e++){let t=g(T[e]);R.includes(t)?(w.delete(t),M.current.delete(t)):!0!==w.get(t)&&w.set(t,!1)}},[T,R.length,R.join("-")]);let S=[];if(y!==$){let e=[...y];for(let t=0;t<T.length;t++){let n=T[t],r=g(n);R.includes(r)||(e.splice(t,0,n),S.push(n))}return"wait"===c&&S.length&&(e=S),j(x(e)),L(y),null}let{forceRender:A}=(0,n.useContext)(r.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:T.map(e=>{let n=g(e),r=(!f||!!E)&&(y===T||R.includes(n));return(0,t.jsx)(h,{isPresent:r,initial:(!b.current||!!l)&&void 0,custom:s,presenceAffectsLayout:p,mode:c,root:C,onExitComplete:r?void 0:()=>{if(M.current.has(n)||!w.has(n))return;M.current.add(n),w.set(n,!0);let e=!0;
9w.forEach(t=>{t||(e=!1)}),e&&(A?.(),j(v.current),f&&P?.(),u&&u())},anchorX:a,anchorY:d,children:e},n)})})}],88653)},18566,(e,t,n)=>{t.exports=e.r(76562)}]);
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.