1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e665c39e-a649-4b94-9faf-1e04889ec6ab",e._sentryDebugIdIdentifier="sentry-dbid-e665c39e-a649-4b94-9faf-1e04889ec6ab")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9717],{19717:(e,t,i)=>{i.r(t),i.d(t,{SmoothCursorDemoDisplayer:()=>k,clickSpring:()=>C});var n=i(73365),r=i(78889);let s={ibeamstroke:{src:"/_next/static/media/ibeamstroke.ecc5c469.svg",height:35,width:35,blurWidth:0,blurHeight:0},openhand:{src:"/_next/static/media/openhand.ebdf5995.svg",height:35,width:36,blurWidth:0,blurHeight:0},pointinghand:{src:"/_next/static/media/pointinghand.8fc00afc.svg",height:35,width:36,blurWidth:0,blurHeight:0},pointer:{src:"/_next/static/media/pointer.4df84e61.svg",height:35,width:36,blurWidth:0,blurHeight:0}},o=Object.keys(s),l={x:.5,y:.5},a={pointer:{x:.34285714285714286,y:.24000000000000002},pointinghand:{x:.38571428571428573,y:.2571428571428571},ibeamstroke:l,openhand:l};var c=i(12427),d=i(1521),u=i(63972),p=i(20549),f=i(86005),h=i(85997),g=i(58263),y=i(27647),x=i(24211),b=i(81910);let m=(0,p.l_)({x:0,y:0,isPressed:!1,scrollPosition:0});window.addEventListener("scroll",(0,p.XI)(()=>{m.scrollPosition=window.scrollY}),{passive:!0}),window.addEventListener("mousemove",(0,p.XI)(e=>{m.x=e.clientX,m.y=e.clientY})),window.addEventListener("mousedown",(0,p.XI)(()=>{m.isPressed=!0})),window.addEventListener("mouseup",(0,p.XI)(()=>{m.isPressed=!1}));var w=i(2188),v=i(21428),I=i(74014);let C={stiffness:350,damping:40,mass:1},_={x:140,y:60},k=(0,w.PA)(function(e){let{isVisible:t,demoConfig:i,mode:l}=e,{isEnabled:f,movementSpringConfig:b,cursorSize:w,hideAfter:v,isLoopEnabled:I,isCustomTypeEnabled:k}=i,[z,X]=(0,d.useState)(!1),[H,W]=(0,d.useState)(null),[L,O]=(0,d.useState)(null);return(0,d.useEffect)(()=>{if(X(!1),"auto-hide"!==l||!f)return;let e=(0,g.r)();return e.next=(0,h.kg)(()=>(m.x,X(!1),(0,c.AH)(()=>{X(!0)},v))),e},[v,l,f]),(0,d.useEffect)((0,p.XI)(()=>{"loop"===l&&(i.isLoopEnabled=!0),"size"===l?i.cursorSize=5:i.cursorSize=3,i.movementSpringConfig=y._m,"custom-type"!==l&&(i.cursor="pointer"),"custom-type"===l&&(i.isCustomTypeEnabled=!0,i.cursorSize=5)}),[l]),(0,d.useEffect)((0,p.XI)(()=>{if("custom-type"===l){if(!k){i.cursor="pointer";return}return e(),(0,c.WW)(e,1e3)}function e(){let e=o.indexOf(i.cursor);i.cursor=o[(e+1)%o.length]}}),[l,k]),(0,d.useEffect)(()=>{if(W(null),"loop"!==l)return void O(null);if(!I)return;let e=null!=L?L:{x:m.x,y:m.y};O(e);let t=(0,g.r)();return t.next=(0,h.kg)(()=>(m.x,W(null),(0,c.AH)(()=>{W(e)},500))),W(e),t.next=()=>{W(null)},t},[v,l,I]),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(u.D,{isomorphic:!0,children:(0,n.jsxs)(E,{style:{opacity:+!!t},children:[(0,n.jsx)(S,{isPaused:!t,style:{get x(){var T;let{x:e,scrollPosition:t}=m,i=null!=(T=null==H?void 0:H.x)?T:e;return(0,r.C)(i+_.x,b)+(0,r.C)(t,b,(e,t)=>t.currentVelocity/120/5)},get y(){var V;let{y:e,scrollPosition:t}=m,i=null!=(V=null==H?void 0:H.y)?V:e;return(0,r.C)(i+_.y,b)+(0,r.C)(t,b,(e,t)=>t.currentVelocity/120)},get scale(){let e=m.isPressed?.8:1;return z&&(e=.6),(0,r.C)(e*w/P,C)},get rotateZ(){let{x:e}=m;return(0,r.C)(_.x+e,b,(e,t)=>(0,x.n4)(t.currentVelocity/120/2,-20,20))},get opacity(){return(0,r.C)(+!z,C)}},children:o.map(e=>{let t=a[e],r=s[e],o=i.cursor===e,l={x:t.x*r.width,y:t.y*r.height};return(0,n.jsx)(A,{src:r.src,$cursor:r,style:{left:-l.x*P,top:-l.y*P,opacity:+!!o,transform:"scale(".concat(o?1:.6,")")}},e)})}),L&&(0,n.jsx)(D,{style:{left:L.x+_.x-j/2,top:L.y+_.y-j/2}})]})})})}),E=(0,v.Ay)(b.P.div).withConfig({componentId:"sc-f6d80ba7-0"})(["position:fixed;inset:0;z-index:999999;pointer-events:none;will-change:opacity;transition:0.2s all;"]),P=5,S=(0,v.Ay)(r.l.div).withConfig({componentId:"sc-f6d80ba7-1"})(["position:absolute;top:-3px;left:-2px;transform-origin:top left;z-index:2;will-change:opacity,transform;",";"],I.w.animations.fadeIn.slow),A=v.Ay.img.withConfig({componentId:"sc-f6d80ba7-2"})(["width:","px;height:","px;position:absolute;max-width:1000px;transition:0.2s all;transition-timing-function:",";will-change:opacity,transform;"],e=>e.$cursor.width*P,e=>e.$cursor.height*P,"cubic-bezier(0.44, 0.22, 0.26, 0.99)"),j=48,z=f.l.props({scale:[1,1.2,1],x:[-j/2]}
1).infinite.duration(1.5).ease("easeInOut"),D=(0,v.Ay)(b.P.div).withConfig({componentId:"sc-f6d80ba7-3"})(["position:absolute;height:","px;width:","px;border-radius:100px;transform:translate(-50%,-50%);margin-top:-2px;margin-left:-2px;",";border:1px solid ",";",";opacity:0.5;"],j,j,I.w.colors.backgroundAccent.asBg,I.w.colors.primary.opacity(1),z)}}]);
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.