1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1824],{19114:(e,t,n)=>{n.d(t,{N:()=>g});var r=n(95155),i=n(12115),l=n(90869),o=n(82885),s=n(97494),u=n(80845),c=n(27351),a=n(51508);function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,c.s)(e)&&e.offsetWidth||0,r=this.props.sizeRef.current;r.height=t.offsetHeight||0,r.width=t.offsetWidth||0,r.top=t.offsetTop,r.left=t.offsetLeft,r.right=n-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p(e){let{children:t,isPresent:n,anchorX:l,root:o}=e,s=(0,i.useId)(),u=(0,i.useRef)(null),c=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:p}=(0,i.useContext)(a.Q),h=function(...e){return i.useCallback(function(...e){return t=>{let n=!1,r=e.map(e=>{let r=f(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():f(e[t],null)}}}}(...e),e)}(u,null==t?void 0:t.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:i,right:a}=c.current;if(n||!u.current||!e||!t)return;u.current.dataset.motionPopId=s;let f=document.createElement("style");p&&(f.nonce=p);let d=null!=o?o:document.head;return d.appendChild(f),f.sheet&&f.sheet.insertRule('\n [data-motion-pop-id="'.concat(s,'"] {\n position: absolute !important;\n width: ').concat(e,"px !important;\n height: ").concat(t,"px !important;\n ").concat("left"===l?"left: ".concat(i):"right: ".concat(a),"px !important;\n top: ").concat(r,"px !important;\n }\n ")),()=>{d.contains(f)&&d.removeChild(f)}},[n]),(0,r.jsx)(d,{isPresent:n,childRef:u,sizeRef:c,children:i.cloneElement(t,{ref:h})})}let h=e=>{let{children:t,initial:n,isPresent:l,onExitComplete:s,custom:c,presenceAffectsLayout:a,mode:f,anchorX:d,root:h}=e,x=(0,o.M)(m),w=(0,i.useId)(),v=!0,g=(0,i.useMemo)(()=>(v=!1,{id:w,initial:n,isPresent:l,custom:c,onExitComplete:e=>{for(let t of(x.set(e,!0),x.values()))if(!t)return;s&&s()},register:e=>(x.set(e,!1),()=>x.delete(e))}),[l,x,s]);return a&&v&&(g={...g}),(0,i.useMemo)(()=>{x.forEach((e,t)=>x.set(t,!1))},[l]),i.useEffect(()=>{l||x.size||!s||s()},[l]),"popLayout"===f&&(t=(0,r.jsx)(p,{isPresent:l,anchorX:d,root:h,children:t})),(0,r.jsx)(u.t.Provider,{value:g,children:t})};function m(){return new Map}var x=n(32082);let w=e=>e.key||"";function v(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let g=e=>{let{children:t,custom:n,initial:u=!0,onExitComplete:c,presenceAffectsLayout:a=!0,mode:f="sync",propagate:d=!1,anchorX:p="left",root:m}=e,[g,y]=(0,x.xQ)(d),E=(0,i.useMemo)(()=>v(t),[t]),j=d&&!g?[]:E.map(w),k=(0,i.useRef)(!0),C=(0,i.useRef)(E),P=(0,o.M)(()=>new Map),[R,b]=(0,i.useState)(E),[L,M]=(0,i.useState)(E);(0,s.E)(()=>{k.current=!1,C.current=E;for(let e=0;e<L.length;e++){let t=w(L[e]);j.includes(t)?P.delete(t):!0!==P.get(t)&&P.set(t,!1)}},[L,j.length,j.join("-")]);let N=[];if(E!==R){let e=[...E];for(let t=0;t<L.length;t++){let n=L[t],r=w(n);j.includes(r)||(e.splice(t,0,n),N.push(n))}return"wait"===f&&N.length&&(e=N),M(v(e)),b(E),null}let{forceRender:S}=(0,i.useContext)(l.L);return(0,r.jsx)(r.Fragment,{children:L.map(e=>{let t=w(e),i=(!d||!!g)&&(E===L||j.includes(t));return(0,r.jsx)(h,{isPresent:i,initial:(!k.current||!!u)&&void 0,custom:n,presenceAffectsLayout:a,mode:f,root:m,onExitComplete:i?void 0:()=>{if(!P.has(t))return;P.set(t,!0);let e=!0;P.forEach(t=>{t||(e=!1)}),e&&(null==S||S(),M(C.current),d&&(null==y||y()),c&&c())},anchorX:p,children:e},t)})})}},41824:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var r=n(95155),i=n(12115),l=n(19114),o=n(60465);let s=()=>{let[e,t]=(0,i.useState)(null),[n,s]=(0,i.useState)(null),[u,c]=(0,i.useState)({x:0,y:0});return(0,i.useEffect)(()=>{let n=n=>{c({x:n.clientX,y:n.clientY}),null!==e&&(n.clientY<e?s("up"):n.clientY>e&&s("down")),t(n.clientY)};return window.addEventListener("mousemove",n),()=>{window.removeEventListener("mousemove",n)}},[e]),(0,r.jsx)("div",{className:"fixed top-0 left-0 w-full h-full pointer-events-none z-50",children:(0,r.jsx)(l.N,{children:n&&(0,r.jsx)(o.P.div,{style:{position:"fixed",top:u.y-25,left:u.x+15},initial:"initial",animate:"animate",exit:"exit",variants:{initial:{opacity:0,scale:.5,rotate:180*("up"!==n)}
1,animate:{opacity:1,scale:1,rotate:180*("up"!==n)},exit:{opacity:0,scale:.5}},children:(0,r.jsx)("div",{className:"w-[50px] h-[50px] bg-black dark:bg-white rounded-full flex items-center justify-center",children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"text-white dark:text-black",children:[(0,r.jsx)("line",{x1:"12",y1:"19",x2:"12",y2:"5"}),(0,r.jsx)("polyline",{points:"5 12 12 5 19 12"})]})})},"".concat(n,"-arrow"))})})}}}]);
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.